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

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

@media only screen and (max-width: 1700px) {
	.home .page-slider-section .slider-text h1 {
		font-size: 70px !important;
	}
	.home .page-slider-section .slider-text .slider-text-inner {
    padding: 2em;
}
	.home .page-slider-section .slider-text {
    max-width: 620px;
}
	.page-slider-section .stom-button a {
    font-size: 22px;
}
}

@media only screen and (max-width: 1451px) {
    :root {
        --grid-4-cols: 4;
    }
    #primary-menu > li > a {
        font-size: 15px;
        padding: 5px 8px;
    }
		.home .page-slider-section .slider-text h1 {
		font-size: 60px !important;
	}
	.home .page-slider-section .slider-text {
    max-width: 500px;
}
		.page-slider-section .stom-button a {
    font-size: 18px;
			margin: 0.4em 0.4em 0 0;
}
	
		.page-slider-section .stom-button a {
    font-size: 22px;
}
	.home .main-slider-section .slick-list {
    height: 550px !important;
}

    h2:not(.woocommerce-loop-product__title){
        font-size: 50px !important;
    }
    body.stom-admin .stom-grid-section.indgangsvinkler-sektion .section .grid-elements {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    body.stom-admin .stom-grid-section.indgangsvinkler-sektion .section .grid-elements .grid-element .overlay .indgangsvinkler-sektion-ikon {
        padding: auto;
    }
}
@media only screen and (max-width: 1324px) {
    header .top-bar .top-bar-left{
        display: none;
        
    }
}

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

@media only screen and (max-width: 1200px) {
    .style-header-1 .nav-wrap{
        justify-content: flex-end;
    }
    .home .page-slider-section .slider-text h1,
    body:not(.home) h1{
        font-size: 60px;
    }
    .page-slider-section .stom-button a {
        font-size: 18px;
    }
    h2:not(.woocommerce-loop-product__title){
        font-size: 40px !important;
    }
    h3{
        font-size: 35px !important;
    }

    html, body, input, select, optgroup, textarea{
        font-size: 16px !important;
    }
    .section-wrap.stom-grid-section.section-fullpage .section.columns-2  .grid-element {
        width: calc((100% - (20px * 1))  / 2);
    }
    .section-wrap.stom-grid-section.section-fullpage .section .grid-element{
        margin: 0 0 20px 0;
    }
    .image_grid.stom-grid-section .section.columns-4  .grid-element:nth-of-type(1),
    .image_grid.stom-grid-section .section.columns-4  .grid-element:nth-of-type(4) {
        width: calc(32% - 3px);
    }
    .image_grid.stom-grid-section .section.columns-4  .grid-element:nth-of-type(2),
    .image_grid.stom-grid-section .section.columns-4  .grid-element:nth-of-type(3) {
        width: calc(18% - 3px);
    }
    #colophon .widget-title{
        font-size: 19px;
    }
/*     #colophon .textwidget:nth-of-type(1) .stom-cols-6:not(.last){
        min-width: unset;
    } */
    #colophon .textwidget:nth-of-type(1) .stom-cols-6.last{
        max-width: unset;
    }
    #colophon .footer_telefon{
        font-size: 25px;
    }
	.home .main-slider-section .slick-list {
    height: 400px !important;
}
	.home .page-slider-section .slider-text h1 {
    font-size: 45px !important;
}
	.home .page-slider-section .slider-text {
    max-width: 450px;
}
    /* indgangsvinkler */
    .section-wrap.stom-grid-section.indgangsvinkler-sektion .section.columns-7 .grid-element {
        width: calc((100% - (72px * 4)) / 4);
        gap: 0 20px ;
    }
    
}



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

@media only screen and (max-width: 959px) {
    .intro_text .stom-cols-3:nth-of-type(1),
    .intro_text .stom-cols-3:nth-of-type(2){
        width: 48%;
    }
    .intro_text .stom-cols-6.last{
        width: 100%;
        margin-top: 2em;
    }
    .intro_text .stom-cols-3:nth-of-type(2) {
        gap: 0.5em;
    }
		.home .page-slider-section .slider-text h1 {
    font-size: 36px !important;
}
    .tekst_grid.section-wrap.stom-grid-section.section-fullpage .section.columns-3 .grid-element, .section-wrap.stom-grid-section.section-fullpage .section.columns-4 .grid-element, .section-wrap.stom-grid-section.section-fullpage .section.columns-5 .grid-element, .section-wrap.stom-grid-section.section-fullpage .section.columns-6 .grid-element {
        width: 100% !important;
        margin: 0 0 20px;
    }
    .stom-button a, 
    input[type="button"], 
    input[type="reset"], 
    input[type="submit"], 
    .gform_wrapper .gform_footer input[type=submit],
    #woo-icons .stom-off-canvas-wrapper .buttons a{
        font-size: 16px !important;
    }
    .image_grid.stom-grid-section .section.columns-4  .grid-element:nth-of-type(1),
    .image_grid.stom-grid-section .section.columns-4  .grid-element:nth-of-type(4) {
        width: calc(64% - 3px) !important;
        margin-bottom: 5px;
    }
    .image_grid.stom-grid-section .section.columns-4  .grid-element:nth-of-type(2),
    .image_grid.stom-grid-section .section.columns-4  .grid-element:nth-of-type(3) {
        width: calc(36% - 3px) !important;
        margin-bottom: 5px;
    }

    .new-stom-post-wrapper {
        width: 100%;
        margin-bottom: 2em;
    }
	.home .page-slider-section .slider-text .slider-text-inner {
    padding: 2em;
}
	.home .page-slider-section .slider-text .slider-text-inner {
    padding: 1em;
}
	.home .page-slider-section .slider-text {
		    align-items: flex-end;
		padding:0;
	}
	.home .page-slider-section .slider-text {
    max-width: 100%;
}
	.home .page-slider-section .slider-text .slider-text-inner {
		padding-bottom:0;
	}
		.home .page-slider-section .slider-text {
    max-width: 100%;
    display: block;
    height: auto;
    position: relative;
    bottom: 20px;
}
	.home .page-slider-section .slider-text {
    max-width: 100%;
    display: inline-block;
    height: auto;
    position: relative;
    bottom: 0;
}
	.page-slider-section .slide-element img, .page-slider-section .slide-element video, .page-slider-section .slide-element iframe {
		    left: 0;
    right: 0;
	}
    /* indgangsvinkler */
    .section-wrap.stom-grid-section.indgangsvinkler-sektion .section.columns-7 .grid-element {
        width: calc((100% - (20px * 4)) / 4);
    }
}



@media only screen and (max-width: 810px) {
    .section-wrap.stom-grid-section.section-fullpage .section.columns-2  .grid-element {
        width: 100%;
    }

}



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

@media only screen and (max-width: 782px) {
	footer.site-footer,
	.push {
		height: auto !important;
	}
	footer.site-footer .site-info div > span > span:after {
		content: " ";
	}
	footer.site-footer .site-info div > span > span {
		display: block;
	}
	.section-wrap.footer-widget-area {
		padding: 0;
	}
	.footer-widget-area .stom-cols-3 {
		width: 48% !important;
		margin-right: 4% !important;
	}
	.footer-widget-area .stom-cols-3:nth-child(2n+2) {
		margin-right: 0 !important;
	}
	
    /* indgangsvinkler */
    .section-wrap.stom-grid-section.indgangsvinkler-sektion .section.columns-7 .grid-element {
        width: calc((100% - (20px * 3)) / 4);
    }
}



@media only screen and (max-width: 767px) {
    header .top-bar{
        display: none;
    }
	
	header#masthead .header-wrapper {
		padding: 5px 20px !important;
	}
    #maerkninger {
        position: absolute;
        max-height: 50px;
        display: flex;
        gap: 15px;
        max-width: 500px;
    }
    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
        width: 100%;
        margin: 0 0 40px;
        padding: 0;
        float: none;
        border: none;
        margin-top: 60px;
    }
}



@media only screen and (max-width: 639px) {
.page-slider-section .slide-element img, .page-slider-section .slide-element video, .page-slider-section .slide-element iframe {
    left: -95px;
    right: 0;
}
	#stom_popups_wrapper .stom_popup {
		width:100% !important;
	}
    /* indgangsvinkler */
    .section-wrap.stom-grid-section.indgangsvinkler-sektion .section.columns-7 .grid-element {
        width: calc((100% - (15px * 3)) / 3);
    }
}



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

@media only screen and (max-width: 479px) {
    .page-slider-section .slider-text{
        padding: 0 !important;
    }
    .home .page-slider-section .slider-text .slider-text-inner{
        height: 100%;
        background: #FFFFFFCF;
        padding: 1.5em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    h2:not(.woocommerce-loop-product__title){
        font-size: 25px !important;
    }
    h3{
        font-size: 20px !important;
    }
    .stom-button a, 
    input[type="button"], 
    input[type="reset"], 
    input[type="submit"], 
    .gform_wrapper .gform_footer input[type=submit],
    #woo-icons .stom-off-canvas-wrapper .buttons a{
        font-size: 13px !important;
    }

    .image_grid.stom-grid-section .section.columns-4  .grid-element:nth-of-type(4) {
        width: calc(80% - 3px) !important;
        margin-bottom: 5px;
    }
    .image_grid.stom-grid-section .section.columns-4  .grid-element:nth-of-type(3) {
        width: calc(20% - 3px) !important;
        margin-bottom: 5px;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__title{
        font-size: 18px;
    }
    .footer-widget-area .stom-cols-3 {
		width: 100% !important;
		margin-right: 0% !important;
	}
    /* indgangsvinkler */
    .section-wrap.stom-grid-section.indgangsvinkler-sektion .section.columns-7 .grid-element {
        width: calc((100% - (15px * 2)) / 2) !important;
    }
}



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

}
