/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h1: 43px;
        --h2: 28px;
        --h3: 22px;
        --h4: 19px;
        --h5: 15px;
        --h6: 13px;
        --p: 15px;
        /* Gaps */
        --gap-xl: var(--gap-l);
        --gap-l: 60px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;
    }
    body:not(.home) section.section-wrap.object-contain-images .section .grid-elements{
        --grid-4-cols: 3;
    }
    section.section-wrap .section .grid-elements .grid-element .overlay h2{
        width: unset;
    }
    main section.section-wrap.box-knowledge-section{
        margin-top: calc(var(--gap-l) * 1.2);
    }
}


@media only screen and (max-width: 1180px) {
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper div#countdown-timer{
        bottom: -60px;
    }
}
/****** IPADS - VERTIKALT ******/

@media only screen and (max-width: 959px) {
     :root body {
        /* Grid columns */
        --grid-2-cols: 1;
        --grid-3-cols: 2;
        --grid-4-cols: 2;
        --grid-5-cols: 3;
        --grid-6-cols: 3;
        --grid-7-cols: 4;
        --grid-8-cols: 4;
        --grid-9-cols: 5;
        --grid-10-cols: 5;
        --grid-11-cols: 6;
        --grid-12-cols: 6;
    }
    /* Move this rule if you change the the grid columns */
    .last-on-mobile {
        order: 66;
    }
    div#countdown-timer{
        --grid-4-cols: 4;
        grid-template-columns: repeat(var(--grid-4-cols), minmax(0, 1fr));
    }
    div#countdown-timer div {
        padding: 12px 15px;
    }
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .slider-info-wrapper{
        gap: var(--gap-s);
    }
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper div#countdown-timer{
        bottom: -45px;
    }
    section .section .grid-elements .grid-element.text-right .overlay p:has(img){
        text-align: unset;
    }
    section .section .grid-elements .grid-element.max-width .overlay img{
        max-width: 100%;
    }
    #colophon.footer-setting-03 {
        font-size: calc(var(--p) - 1px);
    }
    #colophon.footer-setting-03 .textwidget div.custom-socials-wrapper a{
        font-size: calc(var(--p) - 1px);
    }
}


@media only screen and (max-width: 876px) {
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper{
        margin-top: 0;
    }
 
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .slider-info-wrapper{
        font-size: var(--h4);
    }
}
@media only screen and (max-width: 810px) {
}


/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 782px) {
    :root body {
    --h4: 18px;
    --h1: 30px;
    }
    
}

@media only screen and (max-width: 767px) {
     :root body {
        /* Font sizes */
        --h1: 30px;
        --h2: 25px;
        --h3: 20px;
        --h4: 18px;
        --h5: 14px;
        --h6: 12px;
        --p: 14px;
        /* Gaps */
        --gap-l: 50px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }
    body:not(.home) section.section-wrap.object-contain-images .section .grid-elements{
        --grid-4-cols: 3;
    }
    body:not(.home) section.section-wrap.object-contain-images .section .grid-elements .grid-element .overlay img{
        max-width: 160px;
    }
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper h1{
        --h1: 30px;   
    }
    .site-branding #logo,
    .header-sticky-active.scrolled header .site-branding #logo{
        padding: 15px 0;
    }
}

@media only screen and (max-width: 639px) {
     :root body {
        /* Grid columns */
        --grid-2-cols: 1;
        --grid-3-cols: 1;
        --grid-4-cols: 1;
        --grid-5-cols: 1;
        --grid-6-cols: 1;
        --grid-7-cols: 1;
        --grid-8-cols: 1;
        --grid-9-cols: 1;
        --grid-10-cols: 1;
        --grid-11-cols: 1;
        --grid-12-cols: 1;
    }
    div#countdown-timer div {
        padding: 10px 12px;
    }
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper div#countdown-timer{
        bottom: -87px;
    }
    .page-slider-section .slider-text{
        padding: var(--gap-l);
    }
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .slider-info-wrapper span.stom-custom-svg{
        font-size: calc(var(--h4) + 4px);
    }
    .site-branding #logo img
    {
        max-width: 200px;
    }
}

@media only screen and (max-width: 576px) {
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .slider-info-wrapper{
        font-size: calc(var(--p) + 2px);
    }
}



/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    body:not(.home) section.section-wrap.object-contain-images .section .grid-elements{
        grid-template-columns: 1fr 1fr;
    }
    body:not(.home) section.section-wrap.object-contain-images .section .grid-elements .grid-element .overlay img{
        max-width: 160px;
    }
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .slider-info-wrapper span.stom-custom-svg{
        font-size: calc(var(--p) + 2px);
    }
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .slider-info-wrapper{
        font-size: calc(var(--p) + 2px);
        text-align: center;
    }
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .slider-info-wrapper{
        flex-direction: column;
        width: 100%;
        padding-left: var(--gap-s);
    }
    body.home .page-slider-section .slider-text-inner .slider-text-inner-wrapper{
        padding-bottom: var(--gap-m);
        gap: var(--gap-s);
    }
    .site-branding #logo img
    {
        max-width: 175px;
    }
    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img{
        max-height: 50px;
    }
    .page-slider-section .slide-element .image-aligner{
        height: 55vh;
    }
}

@media only screen and (max-width: 400px) {}