/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h1: 43px;
        --h2: 28px;
        --h3: 22px;
        --h4: 19px;
        --h5: 15px;
        --h6: 13px;
        --p: 15px;
        /* Gaps */
        --gap-l: 60px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;
    }
    .home .page-slider-section .white-text{
        max-width: 700px !important;
    }
    .home.page-slider-section .white-text p{
        font-size: 25px;
    }
    /* NY KODE - HJÆLPE ANDRÈ - Emirhan er her ikke i dag 31-01-2025*/
    .stom-medarbejdere{
        grid-template-columns: repeat(3, 1fr);
        padding-inline: var(--gap-m);
    }

    .section-wrap.stom-grid-section.contact-section {
        margin-inline: var(--gap-m);
        padding-inline: 5px;
    }
}


/****** 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;
    }
    .slider-text-inner{
        display: flex;
        justify-content: center;
    }
    .slider-text-inner .slider-text-inner-wrapper .white-text{
        text-align: center;
    }
    .home .page-slider-section .slider-text{
        padding-bottom: var(--gap-l);
    }
    .page-slider-section~main,
    .section-wrap.stom-billede-sektion.picture-right,
    .section-wrap.clear.banner-section,
    .section-wrap.clear.contact-section 
    {
        margin-top: var(--gap-l);
    }
    .services-section .section.columns-3 .grid-elements {
        grid-template-columns: 1fr; 
        gap: var(--gap-l); 
    }
    .services.section .section.columns-3 .grid-element{
        display: flex;
        justify-content: center;
    }
    .section-wrap.clear.stom-grid-section.services-section .section{
        display: flex !important;
        justify-content: center;
    }
   
    
    .section-wrap.banner-section .section{
        padding: var(--gap-l);
    }
    .contact-section .section .grid-elements .grid-element:last-of-type{
        display: none;
    }
    .contact-section .section .grid-elements .grid-element {
        display: flex;
        justify-content: center;    
    }
    .stom-grid-section.contact-section .grid-elements .grid-element:first-of-type .overlay ul{
        list-style-type: none;
    }
    .contact-section .section .grid-elements .grid-element .overlay {
        width: 60vw;
        text-align: center;
    }
    .contact-section .gform-footer.gform_footer.top_label{
        justify-content: center;
    }
    .contact-page h2{
        font-size: var(--h3);
        color: white;
        margin: 0;
    }

    /* NY KODE - HJÆLPE ANDRÈ - Emirhan er her ikke i dag 31-01-2025*/
    .section-wrap.stom-grid-section.contact-section {
        margin-inline: 0;
        padding-inline: 0;
    }
    .section-wrap.footer-topbar.has-background {
        margin-top: 0;
    }
}
@media only screen and (max-width: 850px) {
    .footer-topbar .section{
        display: flex;
        justify-content: center;
    }
    .section-wrap.footer-widget-area.stom-grid-section .grid-elements {
        display: grid;
        grid-template-columns: repeat(1, 4fr); 
        grid-template-rows: 1fr; 
    }
    .section-wrap.footer-widget-area.stom-grid-section .section{
        display: flex;
        justify-content: center;
    }
    
    .site-footer .footer-widget-area .section .grid-elements {
        gap: var(--gap-l, 1rem); 
    }

    /* NY KODE - HJÆLPE ANDRÈ - Emirhan er her ikke i dag 31-01-2025*/
    .stom-medarbejdere{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 810px) {
    .home .page-slider-section .white-text{
        max-width: 500px !important;
    }
}


/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 782px) {
    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead{
        top: 0;
    }
}
    

@media only screen and (max-width: 767px) {
     :root body {
        /* Font sizes */
        --h1: 30px;
        --h2: 25px;
        --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;
    }
    .section-wrap.stom-billede-sektion{
        text-align: center;
    }
    .section-wrap.stom-billede-sektion .stom-picture img{
        max-width: 60%;
    }
    .gform_wrapper.gravity-theme .gform_footer input{
        line-height: 1 !important;
        min-height: none;
    }
    
}

@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;
    }
    .home .page-slider-section .white-text{
        max-width: 300px !important;
    }
    
}
@media only screen and (max-width: 590px) {
    .contact-page .section .grid-elements{
        display: grid;
        grid-template-columns: 1fr!important; 
        padding: var(--gap-m)
    }
    .contact-page .grid-elements .grid-element .overlay{
        display: flex;
        align-items: center;
    }
    .stom-grid-section.contact-page .section .grid-elements{
        gap: var(--gap-s);
    }
    .contact-page h2{
        font-size: 30px;
    }
    
    .underline-form .gform_wrapper.gravity-theme .gform_footer{
        justify-content: center;
    }
    /* NY KODE - HJÆLPE ANDRÈ - Emirhan er her ikke i dag 31-01-2025*/
    .stom-medarbejdere{
        grid-template-columns: repeat(1, 1fr);
    }
}



/****** MOBILER ******/


@media only screen and (max-width: 400px) {}