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

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

@media only screen and (max-width: 1320px) {
    .behandlinger-section .section .grid-elements .grid-element .overlay > h3 {
        font-size: 20px;
    }

    .klinik-logo-section .section p img {
        max-height: 80px;
        width: auto;
    }
}


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

@media only screen and (max-width: 1200px) {
    body:not(.no-sidebar) #primary, 
    .single #single-post-content-sidebar+.entry-content {
        width: calc(100% - 260px - 30px);
    }
    
    #secondary, 
    .single #single-post-content-sidebar {
        width: 260px;
    }

    .main-navigation a {
        font-size: 16px;
    }

    #primary-menu li.btn-booking a {
        font-size: 14px;
    }

    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .section-wrap .section {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    h1 {
        font-size: 38px !important;
    }

    h2 {
        font-size: 38px !important;
    }

    .home .page-slider-section .slider-text {
        bottom: -175px;
    }

    .stom-billede-sektion .stom-cols-6 {
        padding: 0 30px;
    }

    .behandlinger-section .section .grid-elements .grid-element {
        margin: 0 0 0 0 !important;
        width: calc((100% - (20px * 3))  / 4) !important;
    }

    span.heading {
        font-size: 16px;
    }

    .klinik-logo-section .section {
        text-align: center;
    }
}



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

@media only screen and (max-width: 959px) {
    aside#secondary {
        position: fixed;
        top: 0;
    }

    body:not(.no-sidebar) #primary, 
    .single #single-post-content-sidebar+.entry-content {
        width: 100%;
    }
}



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

}



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

@media only screen and (max-width: 782px) {
    #colophon .section-wrap .section .footer-widgets {
        width: 100% !important;
        margin-right: 0 !important;
    }

    #colophon .section-wrap .section .footer-widgets:not(.last) {
        margin-bottom: 40px;
    }

    #colophon .section-wrap .section .footer-widgets.last .widget {
        margin-bottom: 0;
    }
    
    #colophon .section-wrap .section .footer-widgets.last .widget > img {
        max-height: 200px;
        width: auto;
    }

    #colophon .section-wrap .section .footer-widgets .widget .textwidget table tbody tr td:first-of-type {
        width: 10% !important;
    }

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

    .home .page-slider-section .slider-text-inner > p {
        font-size: 18px;
    }

    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 30px !important;
    }

    span.heading {
        font-size: 14px;
    }

    .stom-button a {
        font-size: 14px;
    }

    .stom-billede-sektion .stom-center-box-inner {
        padding: 50px 30px;
    }

    .behandlinger-section .section .grid-elements {
        grid-row-gap: 20px;
    }
    
    .behandlinger-section .section .grid-elements .grid-element {
        width: calc((100% - (20px * 1))  / 2) !important
    }

    .klinik-logo-section {
        height: 250px;
    }
    
    .klinik-logo-section .section p img {
        max-height: 60px;
    }

    .site-branding #logo img {
        max-width: 239px;
        max-height: 58px;
    }

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

    body:not(.home) .page-slider-section .slide-element {
        min-height: 200px;
        max-height: 200px;
    }

    body:not(.home) #main-content #content #primary article .entry-content > h2 {
        font-size: 24px !important;
    }
	
	body:not(.home) #main-content #content {
		margin-top: 0px;
	}
}



@media only screen and (max-width: 767px) {
    header .header-wrapper {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 5px;
    }

    header .top-bar .section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .stom-billede-sektion .stom-picture {
        position: static !important;
    }

    .stom-billede-sektion .section {
        padding: 50px 20px !important;
    }

    .stom-billede-sektion .stom-cols-6 {
        padding: 0 0;
    }

    .home .page-slider-section .slider-text {
        /* bottom: -245px; */
    }
	
	.overlay-fade.logo .section .stom-picture:after {
		top: 53%;
		left: 50%;
		transform: translate(-50%, 50%);
		width: 118px;
		height: 150px;
	}
}



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

}



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

@media only screen and (max-width: 479px) {
    .site-branding #logo img {
        max-width: 175px;
        max-height: 48px;
    }

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

    h2 {
        font-size: 26px !important;
    }

    .klinik-logo-section .section p img {
        max-height: 38px;
    }

    .home .page-slider-section .slider-text-inner > p {
        font-size: 16px;
    }

    .behandlinger-section .section > h2 {
        margin-bottom: 20px;
    }

    #colophon .section-wrap .section .footer-widgets.last .widget > img {
        max-width: 150px !important;
        height: auto;
    }

    #colophon {
        padding: 0 0;
    }

    #colophon .section-wrap .section .footer-widgets .widget .textwidget p, 
    #colophon .section-wrap .section .footer-widgets .widget .textwidget p a, 
    #colophon .section-wrap .section .footer-widgets .widget div ul.menu li.menu-item a, 
    #colophon .section-wrap .section .footer-widgets .widget .textwidget table tbody tr td {
        font-size: 12px;
    }

    body:not(.home) h1 {
        font-size: 28px !important;
    }

    body:not(.home) #main-content #content #primary article .entry-content > h2 {
        font-size: 22px !important;
    }

    .home .page-slider-section {
        margin-bottom: 200px;
    }

    .home .page-slider-section .slider-text {
        bottom: -265px;
    }

    .home .page-slider-section .slide-element {
        min-height: 300px;
        max-height: 300px;
    }
	
	.overlay-fade.logo .section .stom-picture:after {
		top: 63%;
	}
}



@media only screen and (max-width: 400px) {
	body.price-page #main-content #content #primary article .entry-content>table tbody tr td {
        font-size: 12px;
    }

    header .top-bar .top-bar-right .stom-custom-svg {
        font-size: 10px;
    }

    header .top-bar a {
        font-size: 11px;
    }

    .klinik-logo-section {
        height: 180px;
    }
    
    .klinik-logo-section .section p img {
        max-height: 32px;
    }
}
