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

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


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

@media only screen and (max-width: 1440px) {
    :root body {
        --h1: 60px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > h1, 
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text .stom-print-title > h1 {
        font-size: var(--h1);
    }

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

    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);
    }

    .section-wrap.clear.contact-page-section .section .grid-elements .grid-element .overlay > h2, 
    .section-wrap.clear.contact-page-section .section .grid-elements .grid-element .overlay > h3 {
        font-size: 28px;
    }

    #primary-menu li.custom-menu:hover > .sub-menu {
        left: 100%;
    }
}

@media only screen and (max-width: 1240px) {
    :root body {
        /* Font sizes */
        --h1: 50px;
        --h2: 40px;
        --h3: 35px;
        --h4: 16px;
        --h5: 15px;
        --h6: 13px;
        --p: 16px;
        /* Gaps */
        --gap-l: 60px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;
    }

    h4 {

    }

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

    .site-branding #logo img, 
    .site-branding #logo svg {
        max-width: 140px;
        max-height: 140px;
    }

    .section-wrap.clear.review-section .section > h2, 
    .section-wrap.clear.review-section .section > h3 {
        font-size: var(--h2);
    }

    .section-wrap.clear.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > h3 {
        font-size: 24px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text>span.adresse {
        font-size: 21px;
    }

    #colophon.footer-setting-02 {
        font-size: 14px;
        margin-top: var(--gap-l);
    }

    .section-wrap.clear.contact-section .section .stom-cols-6 {
        padding-right: var(--gap-m);
    }

    .footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: repeat(4, 1fr);
    }

    #colophon .widget-title {
        font-size: 21px;
    }

    .section-wrap.clear.usp-section .section {
        padding-inline: var(--gap-m);
    }

    .section-wrap.clear.treatment-section .section .grid-elements .grid-element .overlay > span.letter {
        font-size: var(--h3);
        width: 70px;
        height: 70px;
    }

    body:not(.home):not(.no-sidebar) #primary {
        width: calc(100% - var(--sidebar-width) - var(--sidebar-gap));
    }

    body.employee-page .stom-medarbejdere {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 40px 20px;
    }

    .stom_medarbejder-detaljer tbody tr.stom-medarbejder-title td {
        font-size: 21px;
    }

    .stom_medarbejder-detaljer tbody tr.stom-medarbejder-stilling td, 
    .stom_medarbejder-detaljer tbody tr.stom-medarbejder-stilling_fortsat td, 
    .stom_medarbejder-detaljer tbody tr.stom-medarbejder-customfield td {
        font-size: var(--p);
    }

    .accordion .accordion-item .accordion-header {
        font-size: 18px;
    }

    #primary-menu li.custom-menu > .sub-menu {
        column-count: 4;
    }
}


/****** 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;
    }

    .footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: repeat(1, 1fr);
        gap: var(--gap-l);
    }

    .section-wrap.clear.usp-section .section {
        column-gap: var(--gap-m);
    }

    body:not(.home):not(.no-sidebar) #primary {
        width: 100%;
    }

    .section-wrap.clear.price-section .section .grid-elements .grid-element > img {
        width: 230px;
    }

    .section-wrap.clear.contact-page-section .section .grid-elements .grid-element.grid-span-2 {
        grid-column: inherit;
    }

    #stom_popups_wrapper .stom_popup.custom-popup {
        width: 95% !important;
    } 
	
	.section-wrap.clear.price-section .section .grid-elements .grid-element .overlay .content.grid {
		grid-template-columns: repeat(1, 1fr);
		gap: 40px;
	}
	
	.section-wrap.clear.price-section .section .grid-elements .grid-element .overlay .content.grid .price h3 {
		font-size: 18px;
	}
}

@media only screen and (max-width: 900px) {
    .stom_medarbejdere-template-default.single .single_medarbejder_image {
        margin-bottom: var(--gap-m);
    }

    .stom_medarbejdere-template-default.single .single_medarbejder_text > h1 {
        font-size: var(--h2);
    }
}

@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: 40px;
        --h2: 30px;
        --h3: 30px;
        --h4: 18px;
        --h5: 14px;
        --h6: 12px;
        --p: 15px;
        /* Gaps */
        --gap-l: 50px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }

    .section-wrap.clear.stom-billede-sektion {
        margin-top: calc(var(--gap-l) * 1);
    }

    .section-wrap.clear.insurance-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    .section-wrap.clear.contact-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    .section-wrap.clear.review-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    body:not(.home) .section-wrap.clear.review-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    .slick-dots li button {
        width: 14px;
        height: 14px;
    }

    .stom-billede-sektion .stom-picture {
        padding-inline: var(--gap-m);
        margin-top: var(--gap-m);
    }

    .section-wrap.clear.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > h3 {
        font-size: 20px;
    }

    .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 .white-text > p {
        font-size: var(--p);
    }

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

    .section-wrap.clear.usp-section .section {
        grid-template-columns: 1fr;
    }

    .section-wrap.clear.usp-section .section .usp .content {
        max-width: 100%;
    }

    .section-wrap.clear.usp-section .section .usp .content > p {
        font-size: 14px;
    }

    div.infobox {
        padding: 40px 30px;
    }
    
    div.infobox > p {
        font-size: var(--p);
    }

    body:not(.home) .entry-content > h2, 
    body:not(.home) .entry-content > h3 {
        font-size: var(--h3);
    }

    body:not(.home) .entry-content > p, 
    body:not(.home) .entry-content > ol li, 
    body:not(.home) .entry-content > ul li {
        font-size: var(--p);
    }

    .section-wrap.clear.price-section .section .grid-elements .grid-element > img {
        width: 170px;
    }

    body.employee-page .stom-medarbejdere {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text>span.adresse {
        font-size: 18px;
    }

    .section-wrap.clear.information .section .stom-cols-6 {
        flex-direction: inherit;
        min-height: auto;
    }

    .stom-medarbejdere.slick-slider .slick-dots {
        text-align: center;
        margin-inline: 0;
    }

    .section-wrap.clear.contact-section .section .stom-picture {
        margin-top: var(--gap-l);
    }

    .footer-setting-02 .footer-widget-area .section {
        padding: 50px 0;
    }

    .stom_medarbejdere-template-default.single .single_medarbejder_text .main_text-content > p {
        font-size: var(--p);
    }

    .section-wrap.clear.contact-page-section .section .grid-elements .grid-element.info .overlay > p {
        font-size: var(--p);
    }

    #stom_popups_wrapper .stom_popup.custom-popup .stom_popup_content_wrapper .stom_popup_content {
        grid-template-columns: 230px 1fr;
    }

    #stom_popups_wrapper .stom_popup.custom-popup .stom_popup_content_wrapper .stom_popup_content .content h2, 
    #stom_popups_wrapper .stom_popup.custom-popup .stom_popup_content_wrapper .stom_popup_content .content h3 {
        font-size: 26px;
    }
	
	body.confirmation-page .page-slider-section .slider-text-inner p {
		font-size: var(--p) !important;
	}

}

@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;
    }

    .stom-anmeldelse-wrapper .slick-dots {
        position: static;
        margin-top: var(--gap-m);
        text-align: center;
    }

    .gform_wrapper form .gform_footer .gform_button {
        line-height: 1 !important;
    }

    .style-header-02 .header-inner > .stom-button.booking {
        display: none;
    }

    .style-header-02 .header-inner > .stom-button.instantsearch a {
        min-width: 150px;
    }

    .section-wrap.clear.price-section .section .grid-elements {
        gap: var(--gap-l);
    }
    
    .section-wrap.clear.price-section .section .grid-elements .grid-element {
        flex-direction: column;
    }

    .section-wrap.clear.price-section .section .grid-elements .grid-element .overlay {
        padding: 40px 20px;
    }

    .section-wrap.clear.price-section .section .grid-elements .grid-element .overlay > h3 {
        font-size: 21px;
    }

    .section-wrap.clear.price-section .section .grid-elements .grid-element .overlay .content > ul li {
        font-size: 14px;
    }

    #stom_popups_wrapper .stom_popup.custom-popup .stom_popup_content_wrapper .stom_popup_content {
        grid-template-columns: 1fr;
    }

    #stom_popups_wrapper .stom_popup.custom-popup .stom_popup_content_wrapper .stom_popup_content .image {
        display: none;
    }

    #stom_popups_wrapper .stom_popup.custom-popup .stom_popup_content_wrapper .stom_popup_content .content {
        padding: 40px 20px;
    }
}


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

@media only screen and (max-width: 479px) {
    :root body {
        /* Font sizes */
        --h1: 30px;
        --h2: 30px;
        --h3: 24px;
        --h4: 16px;
    }
    
    header .top-bar-right ul li:nth-child(3),
    header .top-bar-right ul li:nth-child(4) {
        display: none;
    }

    header .top-bar ul li:not(:last-child) a:after {
        display: none;
    }

    header.site-header .section-wrap .section,
    .header-sticky-active.scrolled .style-header-02 .section-wrap .section {
        padding-inline: var(--gap-s);
    }

    #colophon .footer-widget-area-site-info .section {
        padding: 15px 0;
    }

    #colophon .copyright .section .footer-widgets .widget .textwidget > ul {
        flex-direction: column;
        gap: 5px;
    }

    #colophon .copyright .section .footer-widgets .widget .textwidget > ul li:after {
        display: none;
    }

    #colophon .copyright .section .footer-widgets .widget .textwidget > ul li a {
        padding: 0;
    }

    .site-branding #logo img, .site-branding #logo svg {
        max-width: 125px;
        max-height: 125px;
    }

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

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

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button {
        display: block;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button:not(:last-of-type) {
        margin-bottom: 10px;
    }

    .section-wrap.clear.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > h3 {
        font-size: var(--h3);
    }

    .section-wrap.clear.treatment-section .section .grid-elements .grid-element .overlay > span.letter {
        font-size: 20px;
        width: 50px;
        height: 50px;
    }

    .section-wrap.clear.treatment-section .section .grid-elements .grid-element .overlay > ul li {
        font-size: 14px;
    }

    .gform_wrapper form .gform_footer .gform_button {
        font-size: var(--p);
    }

    .stom-button.inline {
        display: block;
    }
    
    .stom-button.inline:not(:last-of-type) {
        margin-bottom: 10px;
    }

    .stom_medarbejder-detaljer tbody tr.stom-medarbejder-title td {
        font-size: 18px;   
    }

    .stom_medarbejder-detaljer tbody tr.stom-medarbejder-stilling td, 
    .stom_medarbejder-detaljer tbody tr.stom-medarbejder-stilling_fortsat td, 
    .stom_medarbejder-detaljer tbody tr.stom-medarbejder-customfield td {
        font-size: 13px;
    }

    .accordion .accordion-item .accordion-header {
        font-size: 16px;
    }

    .section-wrap.clear.banner-section .section .grid-elements {
        gap: var(--gap-l);
    }

    #secondary:not(.sidebar-setup-after-content) .custom-overflow-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .is-form-style label {
        text-align: right;
    }

    .is-form-style input.is-search-input {
        width: 75%;
    }

    #stom_popups_wrapper .stom_popup.custom-popup .stom_popup_content_wrapper .stom_popup_content .content .gform_wrapper form .gform_body .gform_fields .gfield .ginput_container > input {
        height: 40px;
    }

    #stom_popups_wrapper .stom_popup.custom-popup .stom_popup_content_wrapper .stom_popup_content .content h2, 
    #stom_popups_wrapper .stom_popup.custom-popup .stom_popup_content_wrapper .stom_popup_content .content h3 {
        font-size: 24px;
    }
}

@media only screen and (max-width: 410px) {
    .site-branding #logo img, .site-branding #logo svg {
        max-width: 100px;
        max-height: 100px;
    }

}

@media screen and (max-width: 700px) {
  .section-wrap.clear.price-section .section .grid-elements .grid-element>img {
    height: auto!important;
  }
}