/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1440px) {
	 :root body {
        /* Font sizes */
        --h1: 40px;
        --h2: 40px;
        --h3: 24px;
    }
	
	header .top-bar,
	header .top-bar a {
		font-size: 14px;
	}
	
	body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper > h1, 
	body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > h1, 
	body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text .stom-print-title > h1 {
		font-size: var(--h1);
	}
	
	#stom-referencer .reference .reference-meta > span {
		font-size: 14px;
	}
	
	#stom-referencer .reference .reference-title {
		font-size: var(--h2);
	}
}

@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;
    }
	
	header .main-navigation ul.menu a {
		padding: .7em 1em;
	}
	
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper > p, 
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
		font-size: 18px;
	}
	
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper > .stom-button a, 
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a {
		font-size: 18px;
	}
	
	.cards-section .section .grid-elements .grid-element:not(.heading) .overlay .content > p {
		font-size: 14px;
	}
	
	.contact-footer-section {
		margin-inline: 0;
	}
	
	.contact-footer-section.picture-left .stom-cols-6 {
		padding-left: calc(var(--gap-m) * 1);
	}
	
	#colophon .widget-title {
		font-size: var(--h3);
	}
}


/****** 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;
    }
	
	.cards-section .section .grid-elements {
		grid-row-gap: var(--gap-l);
	}
	
	.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > p:first-of-type img {
		width: 100%;
	}
	
	.footer-setting-02 .footer-widget-area .section .grid-elements {
		grid-template-columns: 1fr;
		gap: var(--gap-l);
	}
	
	#stom-referencer .slick-list {
		margin-left: -40px;
		margin-right: -40px;
	}
	
	#stom-referencer .reference {
		margin: 0 10px;
	}
	
	#stom-referencer .reference .reference-thumbnail img {
		height: 300px;
	}
	
	#stom-referencer .reference .reference-meta {
		margin-bottom: 0;
	}
	
	#stom-referencer .reference .reference-meta > span {
		
	}
	
	#stom-referencer .reference .reference-title {
		font-size: var(--h3);
	}
	
	#stom-referencer .slick-dots {
		text-align: center;
		left: 0;
	}
}

@media only screen and (max-width: 810px) {}


/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 782px) {}

@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;
    }
	
	body:not(.home) .entry-content > p, 
	body:not(.home) .entry-content > ul li, 
	body:not(.home) .entry-content > ol li {
		font-size: var(--p);
	}
	
	.section-wrap.clear.double-margin-top {
		margin-top: calc(var(--gap-l) * 1);
	}
	
	.stom-billede-sektion .stom-picture {
		padding-inline: var(--gap-m);
		margin-top: var(--gap-m);
	}
	
	.stom-billede-sektion.picture-left .stom-picture img,
	.stom-billede-sektion.picture-right .stom-picture img {
		border-radius: 20px;
	}
	
	.site-branding #logo, 
	.style-header-02 .site-branding #logo {
		padding: 20px 0;
	}
	
	.header-sticky-active.scrolled header .site-branding #logo {
		padding: 20px 0;
	}
	
	header .top-bar, header .top-bar a {
		font-size: 12px;
	}
	
	header .top-bar .top-bar-left .stom-custom-svg {
		font-size: 14px;
	}
	
	header .top-bar .top-bar-left .stom-custom-svg.stom-fa-envelope {
		font-size: 14px;
	}
	
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper > p, 
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p,
	body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper > p, 
	body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p	{
		font-size: var(--p);
	}
	
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper > .stom-button a, 
	.page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a,
	body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper > .stom-button a, 
	body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a	{
		font-size: var(--p);
	}
	
	#colophon.footer-setting-02 {
		margin-top: var(--gap-m);
	}
	
	#colophon .copyright .section .footer-widgets .widget .textwidget {
		flex-direction: column;
		gap: 5px;
	}
	
	.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > *,
	.gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > *::placeholder {
		font-size: var(--p);
	}
	
	#stom-referencer .slick-dots li button {
		width: 10px;
		height: 10px;
	}
}

@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;
    }
	
	header .top-bar .top-bar-left p a + a {
		margin-left: 10px;
	}
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {
	.site-branding #logo a {
		
	}
	
	.site-branding #logo img, 
	.site-branding #logo svg {
		
	}
}

@media only screen and (max-width: 410px) {
	header .top-bar, 
	header .top-bar a {
		font-size: 10px;
	}
	
	header .top-bar .top-bar-left .stom-custom-svg {
		font-size: 12px;
	}
	
	header .top-bar .top-bar-left .stom-custom-svg.stom-fa-envelope {
		font-size: 12px;
	}
}