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

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


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

@media only screen and (max-width: 1500px) {
    .home .page-slider-section .slider-text{
        padding-bottom: var(--gap-m);
    }
}

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h1: 40px;
        --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 .slider-text{
        padding-bottom: var(--gap-l);
    }
    .page-slider-section .slider-text-inner{
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .home .page-slider-section .slider-text .white-text h1{
    width: auto;
    }
    .home .page-slider-section .slider-text .white-text p{
        font-size: var(--p);
    }

    .stom-billede-sektion .stom-picture img {
        max-width: 400px;
        max-height: 400px;
    }
    .reviews-section .stom-anmeldelse-tekst{
        font-size: var(--p)
    }
    .section-wrap.contact-section .section{
        padding-top: var(--gap-l);
        padding-bottom: var(--gap-l);
    }
    .contact-section .white-text h2{
        font-size: 30px;
    }
    .contact-section .white-text p{
        font-size: 15px
    }
      .gform_wrapper.gravity-theme input[type=text],
   .gform_wrapper.gravity-theme input[type=email],
   .gform_wrapper.gravity-theme input[type=tel]{
    max-height: 50px;
   }
   body .gform_wrapper.gravity-theme .gfield textarea.large{
    max-height: 200px !important;
    min-height: 100px;
   }
}
@media only screen and (max-width: 1200px) {
    .number-three-burger-menu-content.active .burger-menu-content-inner .menu.stom-inline-menu.nav-menu{
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
    .number-three-burger-menu-content.active .burger-menu-content-inner ul.menu li:nth-child(7){
        margin-top: var(--gap-m);
        border: none;
        width: 50% !important;
    }
    .number-three-burger-menu-content.active .burger-menu-content-inner ul.menu li:nth-child(7) a{
        color: white;
        background-color: var(--color-1);
        border: none;
    }
    .number-three-burger-menu-content.active .burger-menu-content-inner ul.menu li:last-child{
        margin-top: var(--gap-m);
        border: none;
        width: 50% !important;
    }
    .number-three-burger-menu-content.active .burger-menu-content-inner ul.menu li:last-child{
        border: 2px solid var(--color-1);
        border-bottom: 2px solid var(--color-1);
    }
    #site-navigation ul.menu li:last-child{
        border-bottom: 2px solid var(--color-1);
    }
    
}


/****** 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;
    }
    .stom-billede-sektion .stom-picture img {
        max-width: 300px;
        max-height: 300px;
    }
    .footer-top-bar{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .footer-widget-area.stom-grid-section .grid-element .overlay{
        text-align: left;
    }
}

@media (max-width: 819px) {
    .stom-info table {
        width: 100%;
    }

    .stom-info tr {
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px; 
        justify-content: center;
    }

    .stom-info td {
        text-align: center; 
        padding: 5px 0;
    }
}

@media only screen and (max-width: 810px) {
    .home .page-slider-section .slider-text .white-text{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .home .page-slider-section .slider-text .stom-button:first-of-type{
        padding-right: 0;
        padding-bottom: 15px;
    }
    .section-wrap.stom-billede-sektion .section{
        flex-direction: column-reverse;
        gap: var(--gap-l);
    }
    .stom-billede-sektion .stom-cols-6 h2,
    .stom-billede-sektion .stom-picture
    {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .list-section .stom-cols-6{
        text-align: start !important;
    }
    .stom-billede-sektion.picture-left .stom-picture{
        margin-top: 0;
        margin-bottom: 0;
    }
    .stom-billede-sektion {
        padding: 0; 
}


/****** MINDRE END IPADS VERTIKALT ******/

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

@media only screen and (max-width: 767px) {
     :root body {
        /* Font sizes */
        --h1: 27px;
        --h2: 23px;
        --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;
    }
    .icon-column-section h2 {
        max-width: 400px;
    }
    .stom-billede-sektion .stom-cols-6 p{
        font-size: calc(var(--p) + 3px)
    }
    .stom-billede-sektion .stom-cols-6 h2{
        font-size: var(--h2);
    }
    .stom-billede-sektion.has-background .stom-picture{
        padding: 0;
        padding-bottom: 0 !important;
    }
    .stom-billede-sektion:not(.has-background) .stom-picture{
        padding-bottom: 0;
    }
    .reviews-section .stom-anmeldelse-heading{
        font-size: 18px;
    }
    .reviews-section .stom-anmeldelse-tekst-content{
        font-size: 15px;
    }
    
}

@media only screen and (max-width: 700px) {
    .banner-section .stom-button:not(:first-of-type){
        margin-top: 20px;
    }
    .banner-section h2{
        margin: 0 0 30px;
    }

}






@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;
    }
   .icon-column-section p{
    max-width: 400px;
   }
   .icon-column-section .grid-element:not(.fullwidth) .overlay{
    align-items: center;
   }
   .contact-banner{
    margin-bottom: var(--gap-m);
   }
   .section-wrap.contact-banner .section{
    margin-top: var(--gap-m);
   }
   .footer-top-bar a:first-of-type{
    display: flex;
    align-items: center;
    justify-content: center;
   }
   .footer-top-bar img{
    max-width: 70%;
   }
   #colophon .footer-widgets.widgets-4 .widget-title:last-of-type{
    display: none;
   }
   .footer-widget-area.stom-grid-section .grid-elements{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   } 
   .footer-widget-area.stom-grid-section .grid-elements .grid-element{
    width: 239px !important;
   }
   .section-wrap.footer-widget-area.stom-grid-section .section .grid-elements > *:nth-last-child(2) {
    margin-bottom: calc(-1 * var(--gap-m));
  }
 
}

@media (max-width: 537px) {
    .stom-info tr {
        grid-template-columns: 1fr; 
    }
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    .full-height-video{
        height: calc(85vh - var(--header-height)) !important;
        display: flex;
        position: relative;
        overflow: hidden;
        align-items: center;
    }
    .page-slider-section .slider-text-inner{
        display: flex;
        align-items: flex-end;
        justify-content: center;
        text-align: left;
    }
    .home .page-slider-section .slider-text{
        padding-bottom: var(--gap-m);
    }
    .icon-column-section h2 {
        max-width: 300px;
    }
    .home .page-slider-section .slider-text .stom-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .home .page-slider-section .slider-text .white-text{
        align-items: flex-start;
    }
    .home .page-slider-section .slider-text .stom-button a{
        width: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .home .page-slider-section .slider-text .stom-button a{
        padding: 5px 10px;
    }
    .home .page-slider-section .slider-text .white-text p{
        margin: 0 0 10px;
    }
    
    .section-wrap.stom-billede-sektion .section{
        gap: 0px;
    }
    .stom-billede-sektion.has-background .stom-picture{
        padding: 0;
    }
    .section-wrap.reviews-section{
        margin-top: var(--gap-l) !important;
    }
    header .top-bar .top-bar-left{
        margin-right: 0;
    }
   
    body.home .page-slider-section .slide-element .image-aligner{
        height: 60vh;
    }

    .icon-column-section .grid-elements .grid-element span svg{
        width: 70px;
        height: 40px;
        margin-bottom: var(--gap-s) !important; 
    }
    .stom-grid-section.icon-column-section .section .grid-elements{
        gap: var(--gap-s);
    }
    .stom-billede-sektion .stom-cols-6 p{
        text-align: left;
    }
    
    body:not(.home) .image-aligner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        max-height: 100%;
        height: 100%;
        background: var(--color-overlay); 
        pointer-events: none; 
    }

    .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]):not([type=submit]){
        max-height: 40px;
    }
    .contact-section input[type=text],
    .contact-section input[type=email],
    .contact-section input[type=tel],
    .contact-section textarea.large{
        padding-left: 20px !important;
        box-sizing: border-box ;
        width: 100%;
        font-size: 14px !important;
    }

    .section-wrap.clear.contact-section p{
        margin: 0 0 10px;
    }
    .gform_wrapper.gravity-theme .gform_fields{
        grid-row-gap: 10px !important;
    }
    .contact-section .gform-footer.gform_footer.top_label input{
        padding: 0;
    }
    .top-bar-right p,
    .top-bar-left p{
        font-size: 12px
    }
    #footer-form {
        scroll-margin-top: 170px !important; 
    }
    .video-aligner::before {    
        max-height: calc(100vh - var(--header-height)) !important;
        height: calc(100vh - var(--header-height)) !important;
    }
    body:not(.home) .page-slider-section .video-aligner video {
        height: calc(100vh - var(--header-height)) !important;
        max-height: calc(100vh - var(--header-height)) !important;
    }

    .stom-billede-sektion.has-background .stom-picture {
        padding-bottom: 20px !important;
    }
	
	.gform_wrapper.gravity-theme .gfield_checkbox label, .gform_wrapper.gravity-theme .gfield_radio label,
	.gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]):not([type=submit]){
	font-size: 14px !important;
}
    
    
}

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