/****** 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;
    }


    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: 19px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a {
        font-size: var(--p);
        min-width: 200px;
    }

    .cards-section.teams .section .grid-elements .grid-element:not(.heading) .overlay > .button-container .stom-button a {
        min-width: 135px;
    }
}

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --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;
    }

    .section-wrap.section-fullpage .section {
        padding-left: var(--gap-m);
        padding-right: var(--gap-m);
    }

    .stom-billede-sektion.picture-left .stom-cols-6 {
        padding-left: var(--gap-m);
    }

    .stom-billede-sektion.picture-right .stom-cols-6 {
        padding-right: var(--gap-m);
    }

    header .main-navigation ul.menu a {
        font-size: var(--p);
        padding: .7em 1em;
    }

    .calendar-section .section .grid-elements .grid-element.content .overlay {
        padding-left: var(--gap-m);
    }

    .new-stom-post-wrapper .new-stom-post-title > h4 {
        font-size: var(--h3);
    }

    #colophon.footer-setting-02 {
        font-size: 14px;
    }

    #colophon .widget-title {
        font-size: 21px;
    }

    body:not(.home) .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 > .stom-button a {
        font-size: 16px;
    }

    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a .stom-custom-svg {
        font-size: 14px;
    }

    .posts-archive-layout-1.posts-archive article .entry-title {
        font-size: var(--h3);
    }

    .cards-section.teams .section .grid-elements .grid-element:not(.heading) .overlay > .button-container .stom-button a {
        min-width: auto;
    }

    .stom-medarbejdere .stom-medarbejder-wrapper {
        width: calc(100% / 3);
    }
}


/****** 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;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: 18px;
    }

    .style-header-02 .top-bar .top-bar-right>*:not(:last-child) {
        display: inline-flex;
    }

    header .top-bar .stom-button a {
        display: block;
    }

    .new-stom-posts {
        grid-template-columns: 1fr !important;
        gap: var(--gap-l);
    }

    .calendar-section .section .grid-elements {
        gap: var(--gap-l);
    }

    .calendar-section .section .grid-elements .grid-element.content .overlay {
        padding-left: 0;
        max-width: 100%;
    }

    #colophon .widget-title {
        border-bottom: 1px solid #fff;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: 1fr;
        gap: var(--gap-l);
    }

    #colophon .copyright {
        font-size: 12px;
    }

    .sidebar-new #secondary {
        padding-top: 0;
        padding-bottom: 0;
    }

    .stom-gallery .gallery {
        grid-template-columns: repeat(5, 1fr);
    }
}

@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: 15px;
        /* Gaps */
        --gap-l: 50px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }

    .question-section .section .container {
        flex-direction: column;
        gap: var(--gap-m);
    }

    .question-section .section .container > h2, 
    .question-section .section .container > h3 {
        text-align: center;
    }

    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: var(--p);
    }

    body:not(.home) .entry-content > p, 
    body:not(.home) .entry-content > ul li, 
    body:not(.home) .entry-content > ol li {
        font-size: var(--p);
    }

    .posts-archive-layout-1.posts-archive article .entry-title {
        font-size: var(--h3);
    }

    body:not(.home) .stom-billede-sektion .stom-cols-6 {
        padding-bottom: var(--gap-l);
    }

    .stom-billede-sektion .stom-cols-6 {
        padding-bottom: var(--gap-l) !important;
    }

    body:not(.home) .stom-billede-sektion .stom-cols-6 .stom-center-box > p {
        font-size: var(--p);
    }

    .about-section, 
    .news-section {
        margin-top: calc(var(--gap-l) * 1) !important;
    }

    .stom-gallery .gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .stom-medarbejdere .stom-medarbejder-wrapper {
        width: calc(100% / 2);
    }

    .stom_medarbejdere-template-default.single .single_medarbejder_image {
        margin-bottom: 20px;
    }

    body.single-stom_medarbejdere .single_medarbejder_text {
        font-size: var(--p);
    }

    .stom-billede-sektion .stom-picture {
        padding-inline: var(--gap-m);
    }
}

@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;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button.inline:not(:last-of-type) {
        margin-right: 20px;
    }

    .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 .white-text > .stom-button a {
        min-width: auto;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a .stom-custom-svg {
        font-size: 14px;
    }

    .cards-section .section .grid-elements .grid-element.has-background:not(.heading) .overlay {
        padding: 30px 30px 30px;
    }

    .cards-section .section .grid-elements .grid-element:not(.heading) .overlay > p {
        min-height: auto;
    }

    #colophon .copyright .section .footer-widgets .widget .textwidget ul {
        flex-direction: column;
        gap: 5px;
    }

    #colophon .copyright .section .footer-widgets .widget .textwidget ul li:not(:last-of-type):after {
        display: none;
    }

    .cards-section.teams .section .grid-elements .grid-element:not(.heading) .overlay > .button-container .stom-button a {
        min-width: 145px;
    }

    #masthead .stom-button {
        display: none;
    }

    header .top-bar ul li a {
        font-size: 12px;
    }

    .style-header-02 .top-bar .top-bar-right>*:not(:last-child) {
        margin-right: 0;
    }

    header .top-bar .top-bar-right .stom-button.white a {
        font-size: 12px;
    }
}


/****** 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: 50px;
    }

    .header-sticky-active.scrolled header .site-branding #logo {
        padding: 10px 0;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > p {
        font-size: 16px;
    }

    .cards-section .section .grid-elements .grid-element.has-background:not(.heading) .overlay {
        padding: 30px 20px 30px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button.inline:not(:last-of-type) {
        margin-right: 10px;
    }

    .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 .white-text > .stom-button a {
        font-size: 14px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a .stom-custom-svg,
    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .white-text > .stom-button a .stom-custom-svg {
        font-size: 12px;
    }

    .cards-section.teams .section .grid-elements .grid-element:not(.heading) .overlay > .button-container .stom-button a {
        min-width: 125px;
        font-size: 13px;
    }

    .stom-gallery .gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .single .navigation.post-navigation {
        margin-top: var(--gap-l)
    }

    .single .navigation.post-navigation a {
        font-size: 12px;
    }

    .post-password-form p label>input[type="password"] {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    .post-password-form p > input[type="submit"] {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    .stom-medarbejdere .stom-medarbejder-wrapper {
        width: calc(100% / 1);
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper h1 {
        font-size: 24px;
    }

    .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.inline:not(:last-of-type) {
        margin-bottom: 10px;
    }

    .section-wrap.clear.contact-form-section {
        padding-inline: 0;
    }

    .section-wrap.clear.contact-form-section .section {
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 400px) {}