/****** STORE SKRÆME ******/
@media only screen and (min-width:1920px) {
}

/****** Når primary width er 1720 skal den ændres her ******/
@media only screen and (max-width:1800px) {
	.section-wrap.section-fullpage {
		padding-left: 0;
		padding-right: 0;
	}
	.page-slider-section .slider-text .slider-text-inner .fluid .container #content{
		max-width: 100%;
		padding: 0 0 var(--secondary-padding);
	}
}

/****** BÆRBAR / Mellem SKÆRME ******/
@media only screen and (max-width:1600px) {
	:root {
		--primary-site-width: calc(100% - 200px);
	}
	.section-wrap.billed-indgangsvinkler .grid-elements .grid-element {
		margin-bottom: 25px;
	}
}

@media only screen and (max-width:1485px) {
	header .header-wrapper, header .top-bar .section {
		padding-inline: 0;
		margin-inline: 20px;
	}
}

/****** BÆRBAR / Mellem SKÆRME ******/
@media only screen and (max-width:1400px) {
	:root {
		--primary-site-width: calc(100% - 100px);
		--secondary-site-width: 1120px;
	}
	.stom-grid-section .section .grid-elements .grid-element.full-width-element {
		margin-bottom: 0;
	}
	body .page-slider-section .slick-next {
		right: 20px;
	}
	body .page-slider-section .slick-prev {
		left: 20px;
	}
}

/****** BÆRBAR / MINDRE SKÆRME ******/
@media only screen and (max-width: 1240px){
	body .page-slider-section .slider-text{
		min-height: unset;
	}
}

@media only screen and (max-width:1200px) {
	:root {
		--secondary-site-width: calc(100% - 100px);
		--primary-padding: 50px;
		--secondary-padding: 25px;
		--primary-button-text-size: 16px;
		--primary-text-size: 16px;
		--primary-button-font-weight: 400;
		--primary-text-font-weight: 300;
		--primary-text-font-bold: 700;
		--primary-menu-font-weight: 400;
		--primary-transition-style: all 0.25s;
		--standard-text-line-height: 1.2;
		--headline-text-line-height: 1;
	}
	body.page-id-1316 .page-slider-section .reference-side-tekst {
		position: relative;
		width: 100%;
		right: unset;
		top: unset;
		transform: unset;
	}
	body .page-slider-section .slick-next, body .page-slider-section .slick-prev {
		font-size: 28px;
		color: var(--secondary-text-color);
	}
	body .page-slider-section .slide-element .element-spacer {
		background-color: rgba(0, 0, 0, 0.0);
	}


	body header .section-wrap.top-bar > .section, body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .section-wrap .section {
		padding: 10px 0 8px;
	}
	body .page-slider-section .slide-element iframe {
		aspect-ratio: 1918/550;
	}

	#content, .section-wrap .section, .section-wrap.section-fullpage .section {
		padding: var(--primary-padding) 0;
	}

	#content, .section-wrap .section, footer.site-footer .site-info {
		max-width: var(--primary-site-width);
		margin: 0 auto;
		padding: var(--primary-padding) 0;
	}

	header .header-wrapper, header .section-wrap.top-bar > .section {
		padding: 0;
	}

	.section-wrap.stom-grid-section.section-fullpage .section .grid-element {
		margin: 0 0 25px;
	}

	.section-wrap.stom-grid-section.section-fullpage .section.columns-2 .grid-element, .section-wrap.stom-grid-section .section.columns-3 .grid-element, .section-wrap.stom-grid-section .section.columns-4 .grid-element, .section-wrap.stom-grid-section .section.columns-5 .grid-element {
		width: 100%
	}

	/* button classes styles */
	.primary-button a, .secondary-button a, .gform_wrapper.gravity-theme .gform_footer input.gform_button {
		min-width: unset;
		padding: 13px 15px 10px;
	}

	/* button classes end  */

	#colophon.site-footer .footer-widget-area .section .footer-widgets .widget-title {
		font-size: 20px;
	}
	.gallery-columns-5, .gallery-columns-4, .gallery-columns-3 {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	.text-button a {
		font-size: 28px;
	}
	.top-bar-right {
		display: none;
	}
	header .main-navigation .burger-menu-content-inner .stom-inline-menu a {
		padding: 10px 15px;
	}
	header .main-navigation .burger-menu-content-inner .stom-inline-menu ul.sub-menu li a{
		width: 100%;
	}
	#colophon .site-info {
		display: none ;
	}
	#number-three-sticky-mobile-cta .cta-container .stom-button a {
		padding: 10px 5px;
		font-size: 20px;
	}
	
	.style-header-1 .nav-wrap {
		padding-right: 20px;
	}
	
	#site-navigation .menu-toggle {
		padding-inline: 20px;
	}
}


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

}


/****** IPADS - VERTIKALT ******/
@media only screen and (max-width:959px) {
	.section-wrap.stom-billede-sektion .stom-cols-6 {
		padding: var(--primary-padding) 0;
	}
	body .page-slider-section .slide-element .element-spacer {
		background-color: rgba(0, 0, 0, 0.4);
	}
	.page-slider-section .slider-text .slider-text-inner {
		max-width: 679px;
		width: auto;
	}
	.section-wrap.stom-billede-sektion .stom-picture img {
		max-height: 450px;
	}
	.section-wrap.stom-grid-section.section-fullpage .section.columns-2 .grid-element, .stom-grid-section .section.columns-3 .grid-element, .stom-grid-section .section.columns-4 .grid-element, .stom-grid-section .section.columns-5 .grid-element, .stom-grid-section .section.columns-6 .grid-element {
		width: 100%;
	}
	.section-wrap.stom-billede-sektion .stom-picture, .section-wrap.stom-billede-sektion .stom-cols-6 {
		width: 100%;
	}
	.stom-grid-section .section.columns-4 .grid-elementsm, .stom-grid-section .section.columns-3 .grid-elements {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.section-wrap.stom-billede-sektion .stom-picture {
		position: relative;
	}
	#content, .section-wrap .section, footer.site-footer .site-info {}
	.section-wrap.stom-billede-sektion .section {
		max-width: 100%;
	}

	/* font changes save */
	.site-main .section h1 {
		font-size: 32px;
	}
	.site-main .section h2, .site-main .section h3 {
		font-size: 24px;
	}
	.site-main .section h4, .site-main .section h5 {
		font-size: 20px;
	}
	.stom-grid-section .section.columns-2 .grid-elements {
		grid-template-columns: repeat(1,minmax(0,1fr));
	}
	.section-wrap.stom-grid-section.footer-contact .section .grid-elements {
		gap: var(--secondary-padding);
	}
	.site-main .section p {
		font-size: 16px;
	}
	/* font changes end */
	.standard-indgangsvinkler .grid-element:not(.full-width-element) .overlay strong {
		font-size: 20px;
	}
}

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

	body header .section-wrap.top-bar > .section, body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .section-wrap .section {
		padding: 6px 0 6px;
	}

	body .page-slider-section .slider-text {
		min-height: 350px;
	}

	.text-button-orange a{
		font-size: 15px;
	}
}

/****** MINDRE END IPADS VERTIKALT ******/
@media only screen and (max-width:782px) {

	.stom-grid-section .section.columns-4 .grid-elements{
		grid-template-columns: repeat(1,minmax(0,1fr));
	}

}

@media only screen and (max-width:767px) {
	body .page-slider-section .slider-text {
		position: relative;
		display: block;
		top: unset;
		right: unset;
		left: unset;
		padding: var(--secondary-padding) 0;
	}
	body .page-slider-section .slick-slider {
		position: absolute;
		height: 100%;
		display: block;
		width: 100%;
	}
	body .page-slider-section .slick-slider .slick-list, body .page-slider-section .slick-slider .slick-list .slick-track{
		height: 100% !important;
	}
	body .page-slider-section .slider-inner {
		position: relative;
		height: auto;
		overflow: hidden;
	}

	body .page-slider-section .slides .slide-element {
		height: 100% !important;
	}
	#colophon .section-wrap.footer-widget-area .section {
		grid-template-columns: repeat(1,minmax(0,1fr));
	}
	
	.section-wrap.stom-grid-section.footer-contact h2,
	.section-wrap.stom-grid-section.footer-contact h3 {
		font-size: 30px;
	}
}


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

	.page-slider-section .slider-text .slider-text-inner span {
		padding-bottom: 10px;
		display: inline-block;
	}
	.page-slider-section .slider-text .slider-text-inner span a {
		font-weight: 400;
		font-size: 18px;
	}
}


@media only screen and (max-width:639px) {
	:root {
		--primary-site-width: calc(100% - 50px);
	}
	.section-wrap.stom-grid-section.slider_nyhedsbanner-section .slider_nyhedsbanner .slider_nyhedsbanner_link p {
		font-size: 16px;
		max-width: 80%;
		margin: auto;
	}
	body .page-slider-section .slider-text {
		padding: var(--secondary-padding);
	}
	/* font changes save */
	.site-main .section h1 {
		font-size: 30px;
	}
	.site-main .section h2, .site-main .section h3 {
		font-size: 24px;
	}
	.site-main .section h4, .site-main .section h5 {
		font-size: 20px;
	}
	.site-main .section p {
		font-size: 14px;
	}
	/* font changes end */
	.gallery-columns-5, .stom-grid-section .section.columns-4 .grid-elements, .stom-grid-section .section.columns-3 .grid-elements, .gallery-columns-2, .gallery-columns-3, .gallery-columns-4 {
		grid-template-columns: repeat(1,minmax(0,1fr));
	}
	body .site-branding #logo, body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header:not(.style-header-4) .site-branding #logo {
		padding: 10px 0;
	}
	body .site-branding #logo img, body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
		width: auto;
		height: auto;
		max-width: 290px;
		max-height: 40px;
	}
	html h1, html .page-slider-section h2 {
		font-size: 32px;
	}
}

/****** MOBILER ******/
@media only screen and (max-width:479px) {
	.site-main .section h1 {
		font-size: 28px;
	}
	html h1, html .page-slider-section h2 {
		font-size: 28px;
	}
	.site-main .section h2, .site-main .section h3 {
		font-size: 22px;
	}
	body .site-branding #logo img, body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
		width: auto;
		height: auto;
		max-width: 240px;
	}
}

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

}
