/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}

@media only screen and (max-width: 1620px) {
    .page-slider-section~main .section-wrap:first-of-type ul li {
        font-size: var(--h6);
    }
}

@media only screen and (max-width: 1447px) {
    .page-slider-section~main .section-wrap:first-of-type ul { 
        justify-content: center;
    }
}



/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1420px) {
    header .main-navigation ul.menu a {
        padding-inline: var(--gap-s);
        font-size: var(--h6);
    }

    .site-branding #logo img, .site-branding #logo svg {
        max-height: 60px;
    }

    .mere-tekst-wrapper button {
        font-size: var(--h3);
    }
}

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h1: 43px;
        --h2: 28px;
        --h3: 22px;
        --h4: 17px;
        --h5: 15px;
        --h6: 15px;
        --p: 15px;
        /* Gaps */
        --gap-2xl: 120px;
        --gap-xl: 50px;
        --gap-l: 30px;
        --gap-m: 24px;
        --gap-s: 18px;
        --gap-xs: 6px;
        /* Sidebar */
        --sidebar-width: 280px;
    }

    .stom-billede-sektion.picture-right .stom-cols-6 {
        padding-left: 0;
    }

    .stom-billede-sektion.picture-left .stom-cols-6 {
        padding-right: 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;
    }

    section.section-wrap.clear.top-bar.has-background {
        display: none;
    }

    .stom-billede-sektion.picture-right .stom-cols-6 {
        padding-right: var(--gap-m);
    }

    .stom-billede-sektion.picture-left .stom-cols-6 {
        padding-left: var(--gap-m);
    }

    .mere-tekst-wrapper button {
        padding-right: var(--gap-xs);
    }

    body:not(.home) .page-slider-section .image-aligner img {
        height: 250px;
    }

    /* forskellige typer skader */

    .stom-grid-section .grid-element>img {
        height: 200px;
    }

    .stom-grid-section .vandskader {
        grid-row: 3;
    }
    .stom-grid-section .skimmel {
        grid-row: 7;
    }
    .stom-grid-section .indbrud {
        grid-row: 11;
    }
}

@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: 28px;
        --h2: 25px;
        --h3: 18px;
        --h4: 15px;
        --h5: 14px;
        --h6: 12px;
        --p: 14px;
        /* Gaps */
        --gap-2xl: 90px;
        --gap-xl: 45px;
        --gap-l: 24px;
        /* Outer margin */
        --content-margin: 0;
    }

    .section-wrap.stom-billede-sektion img {
        max-height: 350px;
    }

    .stom-billede-sektion.picture-left .stom-cols-6 {
        padding-left: 0;
    }

    #kontakt img {
        display: none;
    }

    body .gform_wrapper.gravity-theme .gfield textarea.large {
        height: var(--gap-2xl);
    }

    body .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        line-height: 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;
    }
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    main .section-wrap:not(.skadeliste) li:not(.menu-item) {
        padding-left: 0;
    }
}

@media only screen and (max-width: 400px) {}