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

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



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

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

    h1,
    .page-slider-section h2 {
        font-size: 45px !important;
    }

    h2,
    .page-slider-section h3 {
        font-size: 35px !important;
    }

    h3,
    .page-slider-section h4 {
        font-size: 26px !important;
    }

    h4,
    .page-slider-section h5 {
        font-size: 22px !important;
    }

    h5,
    .page-slider-section h6 {
        font-size: 17px !important;
    }

    h6,
    html,
    body,
    input,
    select,
    optgroup,
    textarea {
        font-size: 15px !important;
    }

    header .main-navigation a {
        font-size: 1rem;
    }

    .site-branding #logo img {
        max-height: 75px;
    }

    .main-slider-section.page-slider-section,
    .stom-billede-sektion.not-fullwidth {
        padding-left: 30px;
        padding-right: 30px;
    }

    .products_section.stom-grid-section .section.columns-3 .grid-element {
        margin: 0 !important;
    }

    .products_section.stom-grid-section.section-fullpage .grid-element .overlay {
        padding: 15px;
    }

}



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

@media only screen and (max-width: 959px) {
    #secondary .custom-overflow-wrapper {
        padding: 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) {

    h1,
    .page-slider-section h2 {
        font-size: 35px !important;
    }

    h2,
    .page-slider-section h3 {
        font-size: 27px !important;
    }

    h3,
    .page-slider-section h4 {
        font-size: 22px !important;
    }

    h4,
    .page-slider-section h5 {
        font-size: 18px !important;
    }

    h5,
    .page-slider-section h6 {
        font-size: 16px !important;
    }

    h6,
    html,
    body,
    input,
    select,
    optgroup,
    textarea {
        font-size: 14px !important;
    }

    .custom_hero_contact_section.stom-grid-section .section .grid-elements {
        flex-wrap: wrap;
    }

    .custom_hero_contact_section.stom-grid-section .section.columns-2 .grid-element:first-of-type {
        min-height: 300px;
    }

    .custom_hero_contact_section.stom-grid-section .section.columns-2 .grid-element:first-of-type .overlay {
        padding-bottom: 20px;
    }

    .custom_hero_contact_section.stom-grid-section .section.columns-2 .grid-element:first-of-type,
    .custom_hero_contact_section.stom-grid-section .section.columns-2 .grid-element:last-of-type {
        width: 100% !important;
    }

    .stom-billede-sektion.not-fullwidth .stom-cols-6 .stom-center-box,
    .custom_hero_contact_section.stom-grid-section .section.columns-2 .grid-element:last-of-type .overlay,
    .custom_hero_contact_section.stom-grid-section .section.columns-2 .grid-element:last-of-type .overlay .gform_wrapper {
        max-width: unset;
    }

    .custom_hero_contact_section.stom-grid-section .section.columns-2 .grid-element .overlay {
        padding: 30px !important;
    }

    .gform_wrapper.gravity-theme .gfield textarea.medium {
        max-height: 100px;
    }

    .stom-billede-sektion .stom-cols-6 {
        margin-bottom: 20px;
    }

    .main-slider-section.page-slider-section,
    .stom-billede-sektion.not-fullwidth {
        padding-left: 20px;
        padding-right: 20px;
    }

    .products_section.stom-grid-section .section.columns-3 .grid-element {
        margin-bottom: 20px !important;
    }

    #colophon .widgets-1>div {
        max-width: unset;
    }

    #colophon .section>div.stom-cols-4,
    #colophon .section>div {
        width: 100% !important;
        padding: 20px !important;
        padding-right: 20px !important;
        text-align: center;
    }

    .site-branding #logo,
    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header:not(.style-header-4) .site-branding #logo {
        padding: 0;
    }

    .site-branding #logo img {
        max-height: 55px;
    }

    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
        max-height: 48px;
    }
}



@media only screen and (max-width: 639px) {
	
	.gallery {
    	grid-template-columns: repeat(2,1fr);
	}
}



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

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

    h1,
    .page-slider-section h2 {
        font-size: 28px !important;
    }

    h2,
    .page-slider-section h3 {
        font-size: 23px !important;
    }

    h3,
    .page-slider-section h4 {
        font-size: 19px !important;
    }

    h4,
    .page-slider-section h5 {
        font-size: 17px !important;
    }

    h5,
    .page-slider-section h6 {
        font-size: 15px !important;
    }

    h6,
    html,
    body,
    input,
    select,
    optgroup,
    textarea {
        font-size: 14px !important;
    }

    .stom-button a {
        min-width: unset !important;
    }
	header .three {
		display: none;
	}

    .custom_hero_contact_section.stom-grid-section .section.columns-2 .grid-element .overlay {
        padding: 20px !important;
    }
}



@media only screen and (max-width: 400px) {
	
	.gallery .gallery-item img {
		height: 150px;
	}
	
}