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

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



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

@media only screen and (max-width: 1200px) {
    .header-sticky-active header #primary-menu > li > a{
        font-size: 15px;
        padding: 0 10px;
    }
    .fp_kasser h2{
        font-size: 30px;
        line-height: .9em;    
    }
    .fp_kasser p{
        font-size: 14px;
    }
    .fp_kasser.section-wrap .section, .section-wrap.section-fullpage .section {
        padding: 0;
    }
    .fp_kasser.section-wrap.stom-grid-section.section-fullpage .section .grid-element{
        margin: 0;
    }
    .slider_bottom.section-wrap {
        position: relative;
        width: unset;
        margin: unset;
        padding-bottom: 10px;
    }
    .slider_bottom.stom-grid-section .section .grid-element .overlay {
        padding: 20px 10px;
    }
    .slider_bottom.section-wrap h4 {
        font-size: 16px;
    }
    .slider_bottom.section-wrap p {
        font-size: 14px;
    }
    .page-slider-section .slider-text{
        padding: 40px 0;
    }
    .slider_contact {
        padding: 30px;
    }
	
	.section-wrap.clear.reference-section .section .content {
		width: 100%;
	}
}



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

@media only screen and (max-width: 959px) {
    .fp_kasser.section-wrap.stom-grid-section.section-fullpage .section.columns-3 .grid-elements {
        justify-content: space-around;
        gap: var(--grid-gap);
    }
    .fp_kasser.section-wrap.stom-grid-section.section-fullpage .section.columns-3 .grid-element {
        width: calc((100% - (20px * 1)) / 2);
   }
   .fp_kasser.section-wrap.stom-grid-section.section-fullpage .section.columns-3 .grid-element:last-of-type {
        width: 100%;
        max-height: 45vw;
    }
		.cm-repop-element .repop-consent-wrapper {
		bottom: 75px !important;
	}
}



@media only screen and (max-width: 810px) {
    .slider_bottom.section-wrap .section .overlay {
        flex-direction: column;
        text-align: center;
    }
    .page-slider-section .slider-text-inner {
        flex-direction: column;
    }
    .slider_contact {
        width: 100% !important;
        height: 100%;
        border-radius: 0;
/*         background-color: rgba(13, 21, 27, 0);
 */    }
    .page-slider-section .stom-cols-6 {
        width: 75%;
        text-align: center;
    }
    .page-slider-section .slider-text {
        align-items: end !important;
    }
    .page-slider-section .slider-text {
        padding: 40px 0 0;
    }
    .page-slider-section .stom-cols-6:not(.slider_contact) {
        padding-bottom: 10%;
    }
    .page-slider-section .stom-cols-6.slider_contact {
        margin-bottom: 0 !important; 
    }
    h1 {
        font-size: 40px !important;
        line-height: 40px;
    }
    .page-slider-section .slides.slick-initialized .slide-element{
        max-height: 900px;
        min-height: 900px;
    }
	
	.home .page-slider-section .slides.slick-initialized .slide-element {
		max-height: 400px;
        min-height: 400px;
	}
	
	.home .page-slider-section .slider-text {
		padding: 40px;
	}
	
	.home .page-slider-section .slider-text-inner p {
		margin-inline: 0;
		margin-bottom: 1.5em;
	}
}



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

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

}



@media only screen and (max-width: 767px) {
    section.section-wrap.clear.top-bar{
        display: none;
    }
    .tekst_billede_sektion.picture-left .stom-picture {
        margin-left: unset;
    }
    .section, .section-wrap .section {
        padding: 20px 20px;
    }
    .tekst_billede_sektion.section-wrap .section {
        padding-bottom: 0;
        padding-top: 0;
    }
    .stom-billede-sektion {
        padding: 0;
    }
    .slider_bottom.section-wrap.stom-grid-section .section .grid-element{
        margin: 0 0 10px;
    }
    .slider_bottom.section-wrap .section{
        padding: 0;
    }
    .faq .stom-cols-6{
        margin-bottom: 0 !important;
    }
    .faq h2{
        margin-bottom: 0 !important;
    }
    .faq .mere-tekst-wrapper > button{
        font-size: 20px;
    }
    .faq.section-wrap {
        padding: 50px 0;
    }

    .page-slider-section p{
        margin: 0 25px 10px;
    }
	
	.section-wrap.clear.gallery-section .section {
		padding-inline: 20px;
	}
	
	.section-wrap.clear.gallery-section .section .gallery {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.section-wrap.clear.reference-section .section {
		grid-template-columns: 1fr;
		gap: 40px;
		padding-block: 50px;
	}
	
	.section-wrap.clear.reference-section .section .content {
		order: 1;
		padding-left: 0;
	}
	
	.section-wrap.clear.reference-section .section .slider {
		order: 2;
	}
	
	.section-wrap.clear.gallery-section .section {
		padding-block: 50px;
	}
	
	.section-wrap.clear.reference-section .section {
		padding-inline: 20px;
	}
}



@media only screen and (max-width: 639px) {
    .fp_kasser.section-wrap.stom-grid-section.section-fullpage .section.columns-3 .grid-element:last-of-type {
        max-height: unset;
    }
    .page-slider-section p{
        font-size: 16px !important;    
    }
    .page-slider-section span.company-info {
        font-size: 16px !important;
    }
    .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        line-height: 1 !important;
    }
	
	.section-wrap.clear.intro-split-section .section .grid-elements {
		flex-direction: column;
		gap: 40px;
	}
	
	.section-wrap.clear.intro-split-section .section .grid-elements .grid-element {
		width: 100%;
	}
	
	.section-wrap.clear.intro-split-section .section .grid-elements .grid-element.content .overlay {
		padding-inline: 0;
	}
	
	.section-wrap.clear.intro-split-section .section .grid-elements .grid-element.content .overlay > h2 {
		font-size: 32px;
	}
	
	.stom_popup_overlay .stom_popup_wrapper .stom_popup.custom-popup {
		width: auto !important;
	}
}



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

@media only screen and (max-width: 479px) {
    .footer-widget-area .stom-cols-3{
        width: 96% !important;
        margin: 0 2% !important;
    }
    .slider_bottom.stom-grid-section .section .grid-element .overlay {
        padding: 0;
    }
    .slider_bottom.section-wrap .section .overlay {
        flex-direction: row;
        text-align: start;
        justify-content: center;
    }

    .slider_bottom .stom-cols-2 {
        width: 15% !important; 
    }
    .slider_bottom .stom-cols-10 {
        width: max-content !important; 
        max-width: 80%;
    }
    .site-branding #logo img,
    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img{
        max-width: 140px;
        max-height: 50px;
        width: auto !important;
    }
    .site-branding #logo {
        padding: 0;
    }
    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header:not(.style-header-4) .site-branding #logo{
        padding: 0;
    }
	
	h2 {
		font-size: 35px;
	}
	
	.home .page-slider-section .slider-text {
		padding: 40px 20px;
	}
	
	header .nav-wrap .wrapper .stom-button a {
		font-size: 12px;
		padding-inline: 10px;
	}
	
	.page-slider-section .slider-text-inner .stom-button.inline a {
		font-size: 16px;
	}
}



@media only screen and (max-width: 400px) {
    .fp_kasser h2{
        font-size: 25px;
        line-height: .8em;
    }
    .fp_kasser p{
        font-size: 14px;
        line-height: 14px;
    }
    .page-slider-section .stom-cols-6:not(.slider_contact) {
        padding-bottom: 0;
    }
    h1{
        font-size: 30px !important;
        line-height: 30px;
    }
}
