/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1440px) {
    .usp-section .section .grid-elements .grid-element:not(.heading) .overlay > h3 {
        font-size: var(--h3);
    }
}

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h1: 43px;
        --h2: 32px;
        --h3: 22px;
        --h4: 19px;
        --h5: 15px;
        --h6: 13px;
        --p: 15px;
        /* Gaps */
        --gap-l: 60px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;

        --content-margin: calc(1 * var(--gap-m));
    }

    body:not(.home) .entry-content > h2 {
        font-size: var(--h2);
    }

    .page-slider-section {
        padding-inline: var(--gap-m);
    }

    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: calc(var(--p) + 5px);
    }

    header .main-navigation ul.menu a, body header .main-navigation ul.menu .tilbud_button a {
        font-size:calc( var(--p) + 2px);
    }
.site-branding #logo img, .site-branding #logo svg {
    max-width: 220px;
}
header .main-navigation ul.menu a {
        padding: 0.7em 0.2em;
}
	body header .main-navigation ul.menu .tilbud_button a {
		margin-left:4px;
	}
    .cards-section .section .grid-elements .grid-element:not(.heading) .overlay > h3 {
        font-size: calc(var(--h2) - 5px);
    }

    .cleaning-section .section .stom-cols-6 .stom-center-box > h3 {
        font-size: var(--h2);
    }

    .formular-section .section .grid-elements .grid-element.content .overlay > h2, 
    .formular-section .section .grid-elements .grid-element.content .overlay > h3 {
        font-size: var(--h2);
    }

    .gallery-section .section > h2, 
    .gallery-section .section > h3 {
        font-size: var(--h2);
    }

    .gallery-section .section .stom-gallery-slider .gallery {
        padding-inline: 0;
        margin-left: -10px;
        margin-right: -10px;
    }

    #colophon .section-wrap {
        padding-inline: 0;
    }

    #colophon .widget-title {
        font-size: var(--h3);
    }

    #colophon .footer-widget-area-site-info .section {
        padding-inline: var(--gap-s);
    }

    body.contact-page .contact-form > h3 {
        font-size: var(--h2);
    }
}


/****** IPADS - VERTIKALT ******/

@media only screen and (max-width: 1999px) {
    .stom-grid-section .grid-element-slider-wrap .slick-track {
        margin-left: inherit;
    }
}

@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;
    }
    
    .stom-button a {
        font-size: calc(var(--p) + 5px);
    }

    .about-section .stom-cols-6 {
        min-height: 500px;
    }

    .stom-billede-sektion.picture-left .stom-cols-6 {
        padding-left: var(--gap-m);
    }

    .stom-billede-sektion.picture-right .stom-cols-6 {
        padding-right: var(--gap-m);
    }

    .usp-section .section .grid-elements {
        grid-template-columns: 1fr !important;
    }

    .usp-section .section .grid-elements .grid-element:not(.heading) {

    }

    .footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: 1fr;
        gap: var(--gap-m);
    }

    .footer-setting-02 .footer-widget-area .section .grid-elements .grid-element:not(:last-of-type) {
        
    }
    
    .footer-setting-02 .footer-widget-area .section .grid-elements .grid-element:not(:last-of-type):after {
        display: none;
    }

    body:not(.home) #main-content #content {
        border-bottom: none;
    }

    .ifmobile{
        display: block;
    }
}

@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;
    }

    body:not(.home) {
        font-size: var(--p);
    }

    .style-header-02 .site-branding #logo {
        padding: 20px 0;
    }

    .stom-billede-sektion .stom-picture {
        padding-inline: var(--gap-m);
        margin-top: var(--gap-m);
    }

    #colophon.footer-setting-02 {
        font-size: var(--p);
    }

    .footer-setting-02 .footer-widget-area .section {
        padding: 70px var(--gap-m);
    }

    .stom-checkmark-list ul {
        grid-template-columns: 1fr;
    }
}

@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) {
    :root body {
        --p: 14px;
    }

    body:not(.home) {
        font-size: var(--p);
    }
    
    main .section-wrap~.section-wrap, 
    main+.section-wrap, 
    main+#colophon, 
    .section-wrap~.page-slider-section, 
    .page-slider-section~.page-slider-section, 
    .page-slider-section~.section-wrap, 
    .page-slider-section~main, 
    #content+.page-slider-section, 
    #content+.stomFEE-edit-cta+.page-slider-section, 
    #content+.section-wrap, 
    #content+.stomFEE-edit-cta+.section-wrap {
        margin-top: calc(var(--gap-l) * 1);
    }

    header .top-bar {
        font-size: 12px;
    }

    .style-header-02 .site-branding #logo {
        /* padding: 0 0; */
    }

    .site-branding #logo img {
        max-width: 300px;
        max-height: 100px;
        height: 30px;
    }

    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {

    }

    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > h1 {
        font-size: calc(var(--h2) + 5px);
    }

    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: var(--p);
    }
    
    .stom-button a {
        font-size: var(--p);
    }

    .gform_wrapper form .gform_footer .gform_button {
        font-size: var(--p);
    }

    #colophon .copyright .section .footer-widgets .widget .textwidget {
        flex-direction: column;
        align-items: center;
        gap: var(--gap-s);
    }

    .footer-setting-02 .website-designed-by,
    #colophon .copyright {
        font-size: 12px;
    }
}

@media only screen and (max-width: 400px) {}