/****** 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: 24px;
        --h2: 24px;
        --h3: 24px;
        --h4: 18px;
        --h5: 16px;
        --h6: 14px;
        --p: 14px;
        /* Gaps */
        --gap-l: 90px;
    --gap-m: 40px;
    --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 325px;
    }

    header .main-navigation ul.menu a {
        font-size: 14px;
        padding: .7em 1em;
    }

    .usp-section .section .grid-elements .grid-element .overlay > h2 {
        font-size: 21px;
    }

    .usp-section .section .grid-elements .grid-element .overlay > p:first-of-type img {
        width: 200px;
        height: 200px;
    }
}


/****** 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;
    }

    header .top-bar {
        font-size: 12px;
    }

    body:not(.home) #main-content {
        margin-top: var(--gap-l);
    }

    #secondary.sidebar-setup-after-content {
        margin-top: calc(var(--gap-l) * 2);
    }

    #colophon.footer-setting-02 {
        font-size: calc(var(--p) - 2px);
    }

    .footer-setting-02 .footer-widget-area .section {
        padding: 40px 0;
    }

    .footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border).aabningstider-sidebar .textwidget .button-wrapper {
        flex-direction: row;
    }

    .usp-section .section .grid-elements {
        grid-template-columns: 1fr !important;
        gap: var(--gap-l);
    }
}

@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: 21px;
        --h2: 21px;
        --h3: 21px;
        --h4: 18px;
        --h5: 16px;
        --h6: 14px;
        --p: 14px;
        /* Gaps */
        --gap-l: 50px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }

    .gform_wrapper form,
    .gform_wrapper .gform_heading {
        padding: var(--gap-m);
    }

    .gform_wrapper form .gform_footer .gform_button {
        font-size: var(--h4);
    }

    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container textarea {
        height: 125px;
    }
    
    #secondary.sidebar-setup-after-content {
        margin-top: calc(var(--gap-l) * 3);
    }

    .widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border) {
        padding: var(--gap-l);
    }

    .widget-area .widget-title {
        margin-bottom: var(--gap-m);
    }

    header .top-bar ul li:last-of-type a {
        padding-right: 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;
    }

    .widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border).aabningstider-sidebar .textwidget .button-wrapper {
        flex-direction: column;
    }
}

@media only screen and (max-width: 539px) {
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper > .stom-button.inline {
        display: block;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper > .stom-button.inline:not(:last-of-type) {
        margin-bottom: 10px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper > .stom-button.inline a {
        min-width: 100%;
    }
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) { 
    :root body {
        /* Font sizes */
        --h1: 21px;
        --h2: 18px;
        --h3: 18px;
        --h4: 18px;
        --h5: 16px;
        --h6: 14px;
    }

    .style-header-02 .header-wrapper {
        margin-block: 8px;
    }

    header .top-bar {
        font-size: 10px;
    }

    .widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border) {
        padding: var(--gap-l) 30px;
    }

    .about-section .section .grid-elements {
        gap: var(--gap-l);
    }
}

@media only screen and (max-width: 400px) {}