/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1240px) {
    :root {
        --p: 16px;
    }

    :root body {
        /* Font sizes */
        --h1: 45px;
        --h2: 40px;
        --h3: 30px;
        --h4: 25px;
        --h5: 16px;
        --h6: 14px;
        --p: 16px;
        /* Gaps */
        --gap-sections: 90px;
        --gap-grid: 40px;
        --gap-l: 60px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;

        /* Elements Heights and Widths */
        --main-slider-min-height: 700px;
        --normal-main-slider-min-height: 400px;
        --header-height: 125px;
        --klister-width: 175px;
    }
}


/****** IPADS - VERTIKALT ******/

@media only screen and (max-width: 960px) {
    #site-navigation.main-navigation .current-menu-item:not(.menu-item-type-custom) {
        background: #f5f5f5;
        color: #2C3F46;
    }

    #site-navigation.main-navigation .current-menu-item {
        background: unset;
        color: unset;
    }

    header .main-navigation ul.menu ul a {
        text-align: left;
    }
}

@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;

        /* Elements Heights and Widths */
        --main-slider-min-height: 650px;
        --normal-main-slider-min-height: 380px;
    }

    /* Move this rule if you change the the grid columns */
    .last-on-mobile {
        order: 66;
    }

    header .top-bar .top-bar-right {
        display: none;
    }
    
    .tour-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 810px) {
    :root body {
        /* Elements Heights and Widths */
        --klister-width: 100px;
    }
}


/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 782px) {}

@media only screen and (max-width: 767px) {
    :root {
        --p: 14px;
    }

    :root body {
        /* Font sizes */
        --h1: 30px;
        --h2: 25px;
        --h3: 20px;
        --h4: 18px;
        --h5: 14px;
        --h6: 12px;
        --p: 14px;
        /* Gaps */
        --gap-sections: 60px;
        --gap-grid: 20px;
        --gap-l: 50px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;

        /* Elements Heights and Widths */
        --main-slider-min-height: 550px;
        --normal-main-slider-min-height: 300px;
        --button-min-width: 160px;
    }

    #contact {
        margin-inline: 0;
        padding-bottom: 0;
    }
    
    #contact .stom-cols-6 {
        width: 100%;
        padding-inline: calc(2 * var(--gap-m));
    }
    
    #contact .stom-picture {
        width: 100%;
    }
    
    #contact .stom-picture img {
        border-radius: 50px 50px 0 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;

        /* Elements Heights and Widths */
        --klister-width: 75px;
        --header-height: 80px;
    }

    .tour-grid-3, .tour-grid-2 {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (max-width: 540px) {
    .page-slider-section .slider-text {
        background: linear-gradient(13deg,var(--overlay) 0%,var(--overlay) 60%,transparent 65%);
    }
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    :root body {
        /* Elements Heights and Widths */
        --blue-banner-height: 120px;
        --blue-banner-max-height: 120px;
        --blue-banner-img-max-height: 70px;
        --banner-max-height: 320px;
        --banner-img-max-height: 120px;
        --header-logo-active-max-height: 50px;
    }

    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
        max-height: var(--header-logo-active-max-height);
    }
}

@media only screen and (max-width: 400px) {}