/*
Theme Name: Ditec®
Author: adsign ideutvikling as
Author URI: https://adsign.no/
Description: Theme developed for Ditec®
Text Domain: ditec
Requires at least: 6.0.3
Tested up to: 6.0.3
Requires PHP: 8.0
Version: 1.3.27
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

html {
    font-family: TT Norms Pro, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    background: var(--background);
    color: var(--text);
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    overflow-x: hidden;
}

.logo-fill {
    fill: var(--logo-fill);
}

.icon-fill {
    fill: var(--icon-fill-stroke);
}

.icon-stroke {
    stroke: var(--icon-fill-stroke);
}

:root {
    --ditec-yellow: #ffed00;
    --ditec-yellow-profile: #fee300;
    --ditec-orange: #ef7d00;
    --ditec-orange-profile: #f99608;
    --ditec-red: #e30413;
    --ditec-red-profile: #f2003a;
    --background: #151515;
    --card-background: #1A1A1A;
    --card-border: #2C2C2C;
    --border-radius-elements: 0px;
    --border-radius-small: 12px;
    --border-radius-large: 26px;
    --text: #fff;
    --headings: #fff;
    --grey-text: #999;
    --logo-fill: #fff;
    --icon-fill-stroke: #fff;
    --alert: #fc4e4e;
    --mobile-margin: 22px;
    --mobile-margin-minus: -22px;
}

b,
strong {
    font-weight: 600;
}

th {
    font-weight: 600;
}

em {
    color: unset;
}

:focus-visible {
    outline: 2px solid var(--text) !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}



/* Standard WordPress Styles */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}


/* -- Container sizes -- */

.uk-container {
    display: flow-root;
    box-sizing: content-box;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.uk-container {
    max-width: 1200px;
}

.uk-container-small {
    max-width: 800px;
}

.uk-container-medium {
    max-width: 1400px;
}

.uk-container-large {
    max-width: 1600px;
}

.uk-inside-container-medium {
    margin-left: -62px;
    margin-right: -62px;
    max-width: 100vw;
}

.uk-inside-container-large {
    margin-left: -124px;
    margin-right: -124px;
    max-width: 100vw;
}

.uk-inside-container-full {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    position: relative;
    right: 50%;
    width: 100vw;
}

.uk-padding-container {
    max-width: 1920px;
}

@media screen and (max-width: 1250px) {

    .uk-inside-container-medium {
        margin-left: auto;
        margin-right: auto;
        max-width: initial;
    }

    .uk-inside-container-large {
        margin-left: auto;
        margin-right: auto;
        max-width: initial;
    }

}

@media screen and (max-width: 1024px) {
    
    .uk-inside-container-full-small {
        left: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        max-width: 100vw;
        position: relative;
        right: 50%;
        width: 100vw;
    }

}

@media screen and (max-width: 640px) {
    
    .uk-inside-container-full-mobile-xsmall {
        left: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        max-width: 100vw;
        position: relative;
        right: 50%;
        width: 100vw !important;
    }

}

@media screen and (max-width: 640px) {

    .uk-container {
        padding-left: var(--mobile-margin);
        padding-right: var(--mobile-margin);
    }

}

@media (min-width: 960px) {

    .uk-container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .uk-padding-container {
        padding-left: 50px;
        padding-right: 50px;
    }

}




/* -- UIKit resets -- */

.uk-lightbox {
    z-index: 99999999999 !important;
    background: var(--background);
}

.uk-lightbox-toolbar {
    background: transparent;
}
.uk-transition-slide-bottom {
    --uk-translate-y: 166%;
}

.uk-lightbox-button {
    border-radius: 100px;
    width: 51px;
    height: 51px;
}

.uk-lightbox-button svg {
    width: 12px;
    height: 22px;
}

.uk-lightbox-toolbar-icon {
    padding: 15px;
    color: rgba(255,255,255,.7);
    margin: 8px;
    background: rgba(0,0,0,.3);
    border-radius: 100px;
}

.uk-lightbox-toolbar-icon svg {
    height: 15px;
    width: 15px;
}

.uk-lightbox-caption {
    color: rgba(255,255,255,1);
    padding: 5px 18px;
    font-size: 0.92rem;
    font-weight: 500;
    margin-left: auto;
    margin-right: auto;
    border-radius: 100px;
    bottom: 22px;
    max-width: fit-content;
    background: rgba(0,0,0,.3);
}

.uk-navbar {
    display: flex;
    position: relative;
}

.uk-navbar-nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.uk-navbar-center:not(:only-child) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: max-content;
    box-sizing: border-box;
    z-index: 990;
}

.uk-navbar-right {
    margin-left: auto;
}

.uk-navbar-item, .uk-navbar-nav>li>a, .uk-navbar-toggle {
    font-family: unset;
}



/* -- Font Sizes etc -- */

.uk-h1,
.uk-h2,
.uk-h3,
.uk-h4,
.uk-h5,
.uk-h6,
.uk-heading-2xlarge,
.uk-heading-large,
.uk-heading-medium,
.uk-heading-small,
.uk-heading-xlarge,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 20px 0;
    font-family: unset;
    font-weight: 400;
    color: var(--headings);
    text-transform: none;
}

h1 {
    font-weight: 600;
}

h2 {
    font-weight: 500;
    font-size: 2.3rem;
    font-size: 2.350rem;
}

@media screen and (max-width: 1024px) {
    
    h2 {
        font-size: 1.8rem;
    }

}


/* -- Fonts -- */

@font-face {
    font-family: TT Norms Pro;
    src: url('/wp-content/themes/ditec/fonts/TTNormsPro-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: block;
}


@font-face {
    font-family: TT Norms Pro;
    src: url('/wp-content/themes/ditec/fonts/TTNormsPro-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: block;
}


@font-face {
    font-family: TT Norms Pro;
    src: url('/wp-content/themes/ditec/fonts/TTNormsPro-DemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: block;
}


/* -- Accessibility -- */

.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
}

a {
    color: var(--link);
}

a:hover {
    color: var(--link);
    text-decoration: none;
}

a:focus {
    outline: 4px auto;
}

.skip-content {
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

.skip-content:focus,
.skip-content:active {
    font-size: 0.92rem;
    letter-spacing: 0.4px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background: #0067f4;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    overflow: auto;
    padding: 22px 36px;
    z-index: 99999999999999999999999;
    outline: #000 auto 0px !important;
}

/* -- Line Breaks -- */

@media screen and (min-width: 640px) {

    .br-mobile {
        display: none;
    }

}

@media screen and (max-width: 640px) {

    .br-desktop {
        display: none;
    }

}




/* -- WooCommerce -- */ 

.added_to_cart {
    display: none;
}


/* -- Checkout Page -- */

.woocommerce-billing-fields h3 {
    display: none;
}

.woocommerce form .form-row .required {
    visibility: visible;
    text-decoration: none;
}

.woocommerce-checkout .optional {
    display: none;
}

.woocommerce-additional-fields h3 {
    display: none;
}

#order_review_heading {
    display: none;
}
