/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


@media only screen and (max-width: 1440px) {
    :root body {
        /* Font sizes */
        --h1: 50px;
        --h3: 24px;
    }

    .stom-button a {
        font-size: 18px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a {
        min-width: 300px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-print-title > h1 {
        font-size: var(--h1);
    }

    .cards-section .section .grid-elements .grid-element.heading .overlay > h2 {
        font-size: 50px;
    }

    .nav-section .section .stom-small > h2 {
        font-size: 50px;
    }

    .stom-billede-sektion .stom-cols-6 .stom-center-box > h2,
    .cards-alt-section .section .grid-elements .grid-element.heading .overlay > h2 {
        font-size: 50px;
    }

    .stom-billede-sektion .stom-cols-6 .stom-center-box > p {
        font-size: 18px;
    }

    .full-width-background {
        min-height: 400px;
    }

    #colophon .widget-title {
        font-size: var(--h3);
    }

    #colophon.footer-setting-02 {
        font-size: 16px;
    }

    #colophon .copyright {
        font-size: 16px;
    }
}

/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h1: 40px;
        --h2: 34px;
        --h3: 21px;
        --h4: 19px;
        --h5: 15px;
        --h6: 13px;
        --p: 15px;
        /* Gaps */
        --gap-l: 60px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;
    }

    .stom-button a {
        font-size: var(--p);
    }

    .stom-billede-sektion.overlap-image {
        margin-inline: var(--gap-m);
    }

    header .main-navigation ul.menu a {
        font-size: var(--p);
    }

    #masthead .stom-button a {
        font-size: var(--p);
    }

    .cards-alt-section .section .grid-elements .grid-element.heading .overlay > p {
        font-size: 18px;
    }

    .stom-billede-sektion .stom-cols-6 .stom-center-box > p {
        font-size: var(--p);
    }

    .stom-billede-sektion .stom-cols-6 .stom-center-box > h2, 
    .cards-alt-section .section .grid-elements .grid-element.heading .overlay > h2 {
        font-size: var(--h2);
    }

    .full-width-background {
        min-height: 300px;
    }

    .cards-section .section .grid-elements {
        column-gap: var(--gap-m);
    }

    .section-wrap.some-footer-section {
        margin-inline: 0;
    }
}


/****** 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;
    }

    #colophon.footer-setting-02 {
        font-size: 14px;
    }

    .footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: 1fr;
        gap: var(--gap-l);
    }

    #colophon .widget-title {
        border-bottom: 1px solid #fff;
        padding-bottom: 5px;
        margin-bottom: 15px;
    }

    #colophon .copyright {
        font-size: 14px;
    }

    .menu-price-section .section .grid-elements,
    .catering-section .section .grid-elements {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > textarea {
        height: 150px;
    }

    .cards-section .section .grid-elements {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media only screen and (max-width: 925px) {
    .home .page-slider-section .image-aligner img {
        min-height: 65vh;
    }
}


/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 782px) {}

@media only screen and (max-width: 767px) {
     :root body {
        /* Font sizes */
        --h1: 40px;
        --h2: 28px;
        --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;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a {
        min-width: auto;
    }

    .stom-button a .stom-custom-svg {
        font-size: 30px;
        line-height: .5em;
    }

    .overlap-image.stom-billede-sektion .stom-cols-6 {
        padding-inline: 0 !important;
    }

    .overlap-image.stom-billede-sektion .stom-picture {
        margin-top: var(--gap-m);
    }

    .cards-section .section .grid-elements .grid-element.heading .overlay > h2 {
        font-size: var(--h2);
    }

    .nav-section .section .stom-small > h2 {
        font-size: var(--h2);
    }

    #colophon .copyright {
        font-size: 12px;
    }

    #colophon .copyright .section .footer-widgets .widget .textwidget {
        flex-direction: column;
        gap: 10px;
    }

    .section-wrap.clear.stom-billede-sektion {
        margin-top: calc(var(--gap-l) * 1);
    }

    .cards-alt-section .section .grid-elements .grid-element:not(.heading) .overlay > p:first-of-type img {
        max-height: 300px;
    }

    .section-wrap.full-width-background.has-background {
        margin-top: calc(var(--gap-l) * 1);
    }

    .section-wrap.clear.cards-alt-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    .cards-alt-section .section .grid-elements .grid-element.button {
        text-align: center;
    }

    .section-wrap.some-footer-section {
        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;
    }

    .sub-heading {
        font-size: 14px;
    }

    .cards-alt-section .section .grid-elements {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .cards-alt-section .section .grid-elements .grid-element:not(.heading) .overlay .content > h3 {
        font-size: 18px;
    }

    .menu-price-section .section .grid-elements,
    .catering-section .section .grid-elements,
    .cards-section .section .grid-elements {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        gap: var(--gap-l);
    }

    .contact-form-section .section .grid-elements .grid-element .overlay {
        /* padding: 30px; */
    }
    body:not(.home) .site-branding #logo {
        padding: 7px 0;
    }

    body:not(.home) .site-branding #logo img, 
    body:not(.home) .site-branding #logo svg {
        max-height: 40px;
        max-width: 40px;
    }

    #masthead .stom-button a {
        padding: 8px 20px 6px;
    }

    #masthead .stom-button a .stom-custom-svg {
        font-size: 16px;
    }

    /* .cards-section .section .grid-elements .grid-element:not(.heading) .overlay .content > h3 {
        font-size: 16px;
    }

    .cards-section .section .grid-elements .grid-element:not(.heading) .overlay .content > .stom-custom-svg {
        font-size: 30px;
    } */

    .contact-form-section .section .grid-elements .grid-element .overlay {
        padding: 40px var(--gap-m);
    }

}


/****** MOBILER ******/

@media only screen and (max-width: 550px) {
    .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-top: 0;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button.inline a {
        width: 100%;
    }

}

@media only screen and (max-width: 479px) {
    .style-header-03 .section-wrap {
        display: block;
        text-align: right;
    }
    
    .site-branding #logo img, 
    .site-branding #logo svg {
        max-height: 85px;
        max-width: 85px;
    }

    .header-sticky-active.scrolled header .site-branding #logo img:not(.logo-landscape), 
    .header-sticky-active.scrolled header .site-branding #logo svg {
        max-height: 40px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > h1,
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text .stom-print-title > h1 {
        font-size: 28px;
    }
    
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: 16px;
    }

    .cards-alt-section .section .grid-elements .grid-element.heading .overlay > p {
        font-size: 16px;
    }

    .full-width-background {
        min-height: 150px;
    }
    
    #colophon .footer-logo .stom-custom-svg {
        font-size: 100px;
    }

    .anchor-point-container ul {
        flex-direction: column;
    }

    .contact-form-section .section .grid-elements .grid-element.content .overlay > h2 {
        font-size: var(--h3);
    }
}

@media only screen and (max-width: 410px) {
    .style-header-03 .section-wrap {
        margin-right: 10px !important;
    }
    
    #colophon .copyright .section .footer-widgets .widget .textwidget ul {
        flex-direction: column;
    }

    #colophon .copyright .section .footer-widgets .widget .textwidget ul li:not(:last-of-type):after {
        display: none;
    }
}