/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {
    body.contact-page .page-slider-section .image-aligner img {
        /* min-height: auto; */
    }
}


/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1440px) {
    #masthead .stom-button a {
        min-width: auto;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > h1 {
        font-size: var(--h1);
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: 18px;
    }

    .home .page-slider-section .slider-text {
        align-items: flex-end;
        padding-bottom: var(--gap-l);
    }
}

@media only screen and (max-width: 1300px) {
    .style-header-03 .section-wrap {
        display: none;
    }

    .style-header-03 #site-navigation {
        justify-content: flex-end;
    }
}

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h1: 43px;
        --h2: 28px;
        --h3: 22px;
        --h4: 19px;
        --h5: 15px;
        --h6: 13px;
        --p: 16px;
        /* Gaps */
        --gap-l: 60px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;
    }

    .help-section .section .grid-elements .grid-element .overlay > .stom-custom-svg {
        font-size: 55px;
    }
}


/****** 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;
    }

    #secondary.sidebar-setup-after-content {
        margin-top: var(--gap-m);
    }

    #colophon.footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: 1fr;
        gap: var(--gap-m);
    }

    .footer-setting-02 .footer-widget-area .section {
        /* padding-bottom: 0; */
    }

    .home .page-slider-section .slider-text {
        padding-bottom: calc(var(--gap-l) * 1.25);
    }

    .home .page-slider-section .image-aligner img,
    body:not(.home):not(.contact-page) .page-slider-section .image-aligner img {
        min-height: 55vh;
    }

    .help-section .section .grid-elements {
        column-gap: 0;
    }

    .help-section .section .grid-elements .grid-element .overlay > .stom-custom-svg {
        font-size: var(--h1);
    }

    .stom-grid-section .grid-element-slider-wrap .slick-track {
        margin-left: 0;
    }

    body.contact-page .page-slider-section .image-aligner img {
        min-height: calc(100vh - var(--header-height));
        max-height: calc(100vh - 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: 35px;
        --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-cols-6 {
        margin-bottom: var(--gap-l) !important;
    }

    .stom-billede-sektion .stom-picture {
        padding-inline: var(--gap-m);
    }
}

@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;
    }

    .stom-button a,
    .gform_wrapper form .gform_footer .gform_button {
        font-size: 14px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: 17px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button.inline a {
        min-width: 200px;
    }

    .help-section .section .grid-elements {
        row-gap: var(--gap-m)
    }

    .help-section .section .grid-elements .grid-element.heading {
        margin-bottom: var(--gap-l);
    }
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    header .main-navigation ul.menu a {
        font-size: 14px;
    }

    .site-branding #logo, .style-header-02 .site-branding #logo {
        padding: 12px 0;
    }

    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
        max-height: 50px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button.inline {
        display: block;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button.inline:not(:last-of-type) {
        margin-right: 0;
        margin-bottom: var(--gap-s);
    }
    
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button.inline a {
        min-width: auto;
        width: 100%;
    }

    .section-wrap.clear.help-section .section {
        padding-block: 70px;
    }

    .help-section .section .grid-elements .grid-element.heading {
        margin-bottom: var(--gap-m);
    }

    .stom-billede-sektion .stom-cols-6 {
        margin-bottom: var(--gap-m) !important;
    }

    #number-three-sticky-mobile-cta .cta-container .stom-button a {
        font-size: 14px;
    }

    .stom-gallery .gallery {
        grid-gap: 1em;
    }

    .stom-gallery .gallery .gallery-item .gallery-icon > a img {
        height: 100px;
    }

    #colophon.footer-setting-02 {
        font-size: 14px;
    }

    .widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border) {
        font-size: 14px;
    }

    .home .page-slider-section .image-aligner img,
    body:not(.home):not(.contact-page) .page-slider-section .image-aligner img {
        min-height: 65vh;
    }

    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > textarea {
        height: 95px;
    }
}

@media only screen and (max-width: 410px) {
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: 16px;
    }
}