/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1440px) {
    :root body {
        /* Font sizes */
        --h1: 50px;
        --h2: 40px;
        --h3: 24px;
        --p: 16px;
    }

    .home .page-slider-section .slider-text {
        align-items: flex-end;
        padding-bottom: calc(var(--gap-l) * 1.5);
    }

    header .main-navigation ul.menu a {
        font-size: 14px;
    }

    #masthead .stom-button a {
        font-size: 14px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: 18px;
    }

    body:not(.home) .entry-content .narrow-content > p {
        font-size: var(--p);
    }

    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a {
        font-size: 14px;
    }
}

@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-l: 60px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;
    }

    #colophon .copyright {
        font-size: 14px;
    }

    .home .page-slider-section .image-aligner img {
        min-height: calc(95vh - var(--header-height));
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: 16px;
    }

    body:not(.home) .entry-content .narrow-content > h3 {
        margin-top: var(--gap-l);
    }

    body:not(.home) .page-slider-section .image-aligner img {
        max-height: calc(65vh - var(--header-height));   
    }

    .section-wrap.clear.experience-section:after {
        height: 250px;
    }
}

@media only screen and (max-width: 1100px) {
    .style-header-03 .section-wrap {
        display: none;
    }
}


/****** 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;
    }

    .footer-setting-02 .footer-widget-area-site-info .section .footer-widgets .textwidget > ul {
        flex-direction: column;
        gap: 5px;
    }

    .footer-setting-02 .footer-widget-area-site-info .section .footer-widgets .textwidget > ul li:not(:last-of-type):after {
        display: none;
    }

    .footer-setting-02 .footer-widget-area .section .grid-elements .grid-element:first-of-type .overlay {
        padding-right: 0;
    }

    .home .page-slider-section .image-aligner img {
        min-height: calc(85vh - var(--header-height));
    }

    body:not(.home) .page-slider-section .image-aligner img {
        min-height: calc(65vh - var(--header-height));
    }
}

@media only screen and (max-width: 810px) {}


/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 782px) {}

@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;
    }
    
    .stom-billede-sektion .stom-picture {
        padding-inline: var(--gap-m);
        margin-top: var(--gap-m);
    }

    .section-wrap.clear.experience-section .section {
        padding-block: calc(var(--gap-l) * 1.5);
    }

    #colophon.footer-setting-02 {
        margin-top: calc(var(--gap-l) * 1);
    }

    .footer-setting-02 .footer-widget-area .section {
        padding: 90px 0;
    }

    #colophon .copyright {
        font-size: 12px;
    }

    .home .page-slider-section .image-aligner img {
        min-height: calc(75vh - var(--header-height));
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: var(--p);
    }

    body:not(.home) #main-content {
        margin-top: calc(var(--gap-l) * 1);
    }
}

@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;
    }

    .help-section .section .grid-elements {
        row-gap: var(--gap-l);
    }
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
        max-height: 40px;
    }

    .home .page-slider-section .slider-text {
       padding-bottom: calc(var(--gap-l) * 1); 
    }

    .section-wrap.clear.experience-section {
        background-position: right;
    }

    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > *,
    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > *::placeholder {
        font-size: 12px;
    }

    .gform_wrapper form .gform_body .gform_fields .stomGFAS-container-field .stomGFAS-label {
        font-size: 12px;
    }

    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > * {
        text-indent: inherit;
    }

    body:not(.home) .page-slider-section .image-aligner img {
        /* min-height: calc(55vh - var(--header-height)); */
        min-height: calc(45vh - var(--header-height));
    }

    .section-wrap.clear.experience-section:after {
        height: 160px;
    }
}

@media only screen and (max-width: 400px) {}