/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1750px) {
    .section-wrap.clear.stom-billede-sektion:not(.not-fullwidth) .section {
        /* max-width: var(--content-width); */
        padding-inline: var(--gap-m);
    }
}

@media only screen and (max-width: 1440px) {
    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .description {
        font-size: var(--h1);
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper p {
        font-size: 24px;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button a {
        font-size: 18px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper h1 {
        font-size: 20px;
    }

    #colophon .widget-title {
        font-size: var(--h3);
    }

    .mere-tekst-wrapper > button {
        font-size: 18px;
    }
}


@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;
    }

    #colophon.footer-setting-02 {
        font-size: 14px;
    }

    .footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: repeat(2, 1fr);
        row-gap: var(--gap-m);
    }

    header .main-navigation ul.menu li.menu-phone > a .hidden-menu-item {
        font-size: 0;
    }

    .section-wrap.clear.stom-billede-sektion:not(.not-fullwidth) .section .stom-cols-6 {
        padding-block: var(--gap-l);
    }

    body:not(.home) .entry-content > h2 {
        font-size: var(--h2);
    }
}


/****** 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-wrap.clear.intro-section .section .grid-elements {
        grid-template-columns: 1fr;
    }

    .section-wrap.clear.intro-section .section .grid-elements .grid-element.form,
    body:not(.home) .section-wrap.clear.intro-section .section .grid-elements .grid-element.form {
        transform: none;
        margin-top: 0;
    }

    .section-wrap.clear.area-section .section .grid-elements {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .section-wrap.clear.area-section .grid-element.area-intro {
        grid-column: 1 / -1;
        grid-row: auto;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .section-wrap.clear.cards-section .section .grid-elements {
        column-gap: var(--gap-m);
    }

    .footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-wrap.clear.contact-section .section .grid-elements .grid-element .overlay {
        padding: var(--gap-l) var(--gap-m);
    }

    /* Forside: ydelser – intro under overskriften */
    .section-wrap.clear.cards-section {
        padding-block: 60px;
    }

    .section-wrap.clear.cards-section .grid-element.cards-header .overlay {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-wrap.clear.cards-section .grid-element.cards-header .overlay > p:last-child {
        grid-column: 1;
        grid-row: auto;
        max-width: 560px;
        margin-top: 12px;
    }

    /* Kontaktside: kortene under hinanden */
    .contact-page .section-wrap.clear.contact-section {
        background: linear-gradient(var(--color-bg) 0 200px, #fff 200px 100%);
    }

    .contact-page .section-wrap.clear.contact-section .section .grid-elements {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-page .section-wrap.clear.contact-section .grid-element.info .overlay > p:first-child img {
        max-height: 320px;
    }

    /* FAQ: tekst over billede i stedet for 50/50 på tablet */
    .section-wrap.clear.faq-section .section .stom-cols-6 {
        width: 100%;
        padding: 0 0 var(--gap-l);
    }

    .section-wrap.clear.faq-section .section .stom-picture {
        position: static;
        width: 100%;
    }

    .section-wrap.clear.faq-section .section .stom-picture > img {
        width: 100%;
        max-height: 420px;
        object-fit: cover;
    }

    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > *,
    .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > *::placeholder {
        font-size: 14px;
    }
}

@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: 30px;
        --h2: 25px;
        --h3: 20px;
        --h4: 18px;
        --h5: 14px;
        --h6: 12px;
        --p: 15px;
        /* Gaps */
        --gap-l: 50px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }

    .stom-button a {
        font-size: var(--p);
    }

    .section-wrap.clear.stom-billede-sektion:not(.not-fullwidth) .section {
        padding-inline: 0;
    }

    /* FAQ: tekst og spørgsmål må ikke gå helt ud til kanten */
    .section-wrap.clear.stom-billede-sektion.faq-section:not(.not-fullwidth) .section {
        padding-inline: var(--gap-m);
    }

    #colophon .copyright .section .footer-widgets .widget .textwidget ul {
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    #colophon .copyright .section .footer-widgets .widget .textwidget > ul {
        margin-bottom: var(--gap-s);
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .sub-heading {
        font-size: 16px;
    }

    header .top-bar .top-bar-right {
        display: none;
    }

    .site-branding #logo img, .site-branding #logo svg {
        max-height: 56px;
    }

    .header-sticky-active.scrolled header .site-branding #logo img.logo-landscape {
        max-height: 56px;
    }

    .header-sticky-active.scrolled header .site-branding #logo {
        padding: 10px 0;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper p {
        font-size: 20px;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper h1 {
        font-size: 16px;
    }

    .mere-tekst-wrapper > button {
        font-size: var(--p);
    }

    /* Forside: ydelseskort */
    .section-wrap.clear.cards-section {
        padding-block: var(--gap-l);
    }

    .section-wrap.clear.cards-section .section .grid-elements {
        gap: 24px;
    }

    .section-wrap.clear.cards-section .section .grid-elements .grid-element.service-card .overlay {
        padding: 24px;
    }

    .section-wrap.clear.cards-section .section .grid-elements .grid-element.service-card .overlay > h3 {
        font-size: 22px;
    }

    /* Landingssider: lavere billeder og tættere kort på mobil */
    .section-wrap.clear.image-text-section .stom-picture > img {
        width: 100%;
        max-height: 420px;
        object-fit: cover;
    }

    .section-wrap.clear.icon-cards-section .section .grid-elements,
    .section-wrap.clear.type-cards-section .section .grid-elements,
    .section-wrap.clear.photo-section .section .grid-elements,
    .section-wrap.clear.area-section .section .grid-elements {
        gap: 15px;
    }

    .section-wrap.clear.icon-cards-section .grid-element.heading,
    .section-wrap.clear.type-cards-section .grid-element.heading,
    .section-wrap.clear.photo-section .grid-element.heading-row {
        margin-bottom: 10px;
    }

    .section-wrap.clear.icon-cards-section .grid-element.buttons,
    .section-wrap.clear.type-cards-section .grid-element.buttons {
        margin-top: 10px;
    }
}

@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;
    }

    /* Forside: ydelseskort under hinanden */
    .section-wrap.clear.cards-section .section .grid-elements {
        grid-template-columns: minmax(0, 1fr);
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button a {
        font-size: var(--p);
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button.inline {
        display: block;
    }

    .stom-button.inline + .stom-button.inline {
        margin-left: 0;
        margin-top: 10px;
    }

    .section-wrap.clear.area-section .section .grid-elements,
    .section-wrap.clear.benefits-section .stom-checkmark-list ul,
    .footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: 1fr;
    }

    .section-wrap.clear.photo-section .grid-element.photo > img {
        height: 240px;
    }

    .landing-page .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button.inline {
        display: block;
    }

    .landing-page .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button.inline a {
        width: 100%;
        text-align: center;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button.inline a {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
        max-height: 56px;
    }
    
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper p {
        font-size: 20px;
        line-height: 1.25;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper h1 {
        line-height: 1.25;
    }

    .mere-tekst-wrapper .mere-tekst {
        font-size: 14px;
    }

    .section-wrap.clear.intro-section .section .grid-elements .grid-element.form .overlay {
        padding: 30px;
    }

    /* Kontaktside */
    .contact-page #main-content > .section-wrap.clear.contact-intro {
        padding-top: 40px;
    }

    .contact-page .section-wrap.clear.contact-section .section .grid-elements .grid-element.info .overlay {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 0 24px 28px;
    }

    .contact-page .section-wrap.clear.contact-section .grid-element.info .overlay > p:first-child {
        margin: 0 -24px 4px;
    }

    .contact-page .section-wrap.clear.contact-section .section .grid-elements .grid-element.form .overlay {
        padding: 30px 24px;
    }

    .contact-page .section-wrap.clear.contact-section .grid-element.form .overlay > h2 {
        font-size: 24px;
    }

    .contact-page .section-wrap.clear.section-map .section {
        align-items: flex-end;
        padding-block: var(--gap-s);
    }
}

@media only screen and (max-width: 400px) {}