
/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {
	
}

@media only screen and (max-width: 1440px) {
    body {
        padding-left: 30px;
        padding-right: 30px;
    }

    .home .page-slider-section .slide-element {
        min-height: 550px;
        max-height: 550px;
    }
}

/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1200px) {
    body:not(.home) #main-content #content {
        padding-left: 0;
        padding-right: 0;
    }

    .page-slider-section .slider-text-inner .template-slidertext {
        padding-left: 0;
        padding-right: 0;
    }

    .page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm:not(.last) {
        width: 66.66%;
    }

    .page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm.last {
        width: 33.33%;
    }
    
    .page-slider-section .slider-text {
        padding-left: 0;
        padding-right: 0;
    }

    .page-slider-section .slider-text-inner {
        padding-left: 30px;
        padding-right: 30px;
    }

    .page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm h1 {
        font-size: 32px;
    }

    .stom-billede-sektion .stom-cols-6 {
        width: 45%;
        padding: 20px 0;
    }

    header .main-navigation a {
        padding: 5px 25px;
    }

    body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.burger-menu) .header-sticky-active.scrolled header #primary-menu > li > a {
        padding: 5px 25px;
    }

    .cards-section .section {
        padding: 0 0;
    }

    .cards-section .section .grid-elements .grid-element {
        width: calc((100% - (20px * 3))  / 4) !important;
    }

    .cards-section .section .grid-elements .grid-element .overlay h3 {
        font-size: 21px;
    }

    .employee-section {
        margin-bottom: 40px;
    }

    .employee-section .section {
        padding: 0 0;
    }
    
    .employee-section .section .grid-elements {
        grid-gap: inherit;
    }
    
    .employee-section .section .grid-elements .grid-element {
        width: calc((100% - (20px * 3))  / 4) !important;
        margin-bottom: 40px;
    }

    .contact-section .section .grid-elements .form .overlay {
        padding: 90px 30px 60px;
    }

    body.tandbehandling-page #main-content {
        margin-top: 40px;
    }

    .tandbehandling-section .section {
        padding-left: 0;
        padding-right: 0;
    }

    .tandbehandling-section .section .grid-elements .grid-element {
        background-position: center;
    }

    .tandbehandling-section .section .grid-elements .grid-element .overlay h3 {
        font-size: 18px;
    }

    #colophon {
        margin-bottom: 40px;
    }
}


@media only screen and (max-width: 1000px) {
    body:not(.home) #main-content #content {
        padding-top: 50px;
    }
}


/****** IPADS - VERTIKALT ******/

@media only screen and (max-width: 959px) {
    aside#secondary {
        position: fixed;
        top: 0;
    }

    /* header .nav-wrap {
        margin: 15px auto !important;
    } */
    
    .cards-section .section .grid-elements .grid-element .overlay p img {
        max-height: 100px;
        width: auto;
    }

    .cards-section .section .grid-elements .grid-element .overlay {
        padding: 50px 10px;
    }
    
    .cards-section .section .grid-elements .grid-element .overlay p {
        font-size: 14px;
    }

    .cards-section .section .grid-elements .grid-element .overlay h3 {
        font-size: 19px;
    }

    .contact-form-sidebar .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container .gfield_checkbox .gchoice label {
        font-size: 12px;
    }

    #colophon .section-wrap .section .footer-widgets {
        width: calc((100% - (60px * 2))  / 3) !important;
    }
}



@media only screen and (max-width: 810px) {
    .home .page-slider-section .slide-element {
        min-height: 400px;
        max-height: 400px;
    }
    
    .cards-section .section .grid-elements {
        grid-gap: 20px;
    }
    
    .cards-section .section .grid-elements .grid-element {
        width: calc((100% - (20px * 1))  / 2) !important;
    }

    .cards-section .section .grid-elements .grid-element .overlay h3 {
        font-size: 21px;
    }

    .contact-section .section .grid-elements {
        grid-gap: 40px;
    }
    
    .contact-section .section .grid-elements .grid-element {
        width: 100%;
    }

    .employee-section .section .grid-elements {
        justify-content: inherit;
        grid-gap: 20px;
    }
    
    .employee-section .section .grid-elements .grid-element {
        width: calc((100% - (20px * 2))  / 3) !important;
    }
}



/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 782px) {
    .page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm h1 {
        font-size: 28px;
    }

    .page-slider-section .slider-text-inner .template-slidertext p {
        font-size: 18px;
    }
    
    .tandbehandling-section .section .grid-elements .grid-element {
        width: calc((100% - (20px * 1))  / 2);
    }

    .employee-header-section {
        margin-top: 50px;
    }

    #colophon .section-wrap .section {
        display: block;

    }
    
    #colophon .section-wrap .section .footer-widgets {
        width: 100% !important;
    }

    #colophon .section-wrap .section .footer-widgets:not(.last) {
        margin-bottom: 40px;
        padding-bottom: 40px;
    }
    
    #colophon .section-wrap .section .footer-widgets:not(.last):not(.widgets-3) {
        border-right: none;
        border-bottom: 1px solid #d4dfdf;
    }

    #colophon .section-wrap .section .footer-widgets .widget .textwidget .socials-wrapper {
        flex-direction: row;
    }

    #colophon .section-wrap .section .footer-widgets.last .widget {
        border-right: none;
    }
}



@media only screen and (max-width: 767px) {
    body {
        padding-left: 20px;
        padding-right: 20px;
    }

    header .nav-wrap {
        padding-right: 20px;
        padding-left: 20px;
    }

    header .header-wrapper {
        padding-top: 0;
        padding-bottom: 0;
    }


    .stom-billede-sektion .stom-cols-6 {
        width: 100%;
    }

    .stom-billede-sektion .section {
        padding: 0 0 !important;
    }

    .stom-billede-sektion .stom-picture {
        margin-top: 40px;
    }

    .contact-section .section {
        padding: 90px 20px !important;
    }

    .contact-section .section .grid-elements .form .overlay {
        padding: 60px 20px;
    }

    .page-slider-section .slider-text-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-slider-section .slider-text-inner .template-slidertext {
        flex-direction: column;
    }

    .page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm {
        width: 100% !important;
    }
    
    .page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm.last {
        align-items: center;
        flex-direction: row;
        margin-bottom: 0;
    }

    .page-slider-section .slider-text-inner .template-slidertext p {
        max-width: none;
    }
}



@media only screen and (max-width: 639px) {
    body:not(.home) #main-content #content #primary article .entry-content h1,
    body:not(.home) #main-content #content #primary article .entry-header .entry-title {
        font-size: 32px;
    }

    body:not(.home) #main-content #content #primary article .entry-content h2 {
        font-size: 24px;
    }

    .tandbehandling-section .section h1 {
        font-size: 32px;
    }

    .employee-section .section .grid-elements .grid-element {
        width: calc((100% - (20px * 1))  / 2) !important;
    }
}



/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
        max-height: 40px;
    }

    .page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm h1 {
        font-size: 24px;
    }

    .page-slider-section .slider-text-inner .template-slidertext p {
        font-size: 16px;
    }
    
    #secondary .custom-overflow-wrapper {
        width: auto;
    }

    #number-three-sticky-mobile-cta .cta-container .stom-button a {
        font-size: 14px;
    }

    .employee {
        flex-direction: column;
        grid-gap: 0;
    }

    .employee:not(:last-of-type) {
        margin-bottom: 40px;
        padding-bottom: 40px;
    }

    .tandbehandling-section .section .grid-elements .grid-element {
        margin-bottom: 0;
        height: 125px;
    }

    .contact-section {
        margin-top: 50px;
    }

    #colophon {
        margin-bottom: 0;
    }

    .cards-header-section {
        margin-top: 0;
    }
	
	.tandbehandling-section .section .grid-elements .grid-element .overlay>h2 {
		font-size: 18px;
	}
}



@media only screen and (max-width: 410px) {
    .tandbehandling-section .section .grid-elements .grid-element {
        width: 100%;
        height: 150px;
    }

    .cards-section .section .grid-elements .grid-element {
        width: 100% !important;
        margin-bottom: 0;
    }

    .page-slider-section .slider-text-inner .template-slidertext .stom-cols-elm.last .stom-button a {
        font-size: 14px;
        min-width: 130px;
    }
}
