/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1740px) {
    header .main-navigation ul.menu a {
        font-size: 16px;
    }

    header .nav-wrap .header-buttons ul li a {
        font-size: 16px;
    }

    .faq-accordion .faq-icon {
        width: 35px;
        height: 35px;
    }

    .faq-accordion .faq-question {
        font-size: 20px;
    }

    .footer-setting-02 .footer-widget-area .section .footer-header > h3 {
        font-size: 40px;
    }

    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper p {
        font-size: 20px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button a {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1640px) {
    .section-wrap.clear.faq-video-section .section {
        padding-inline: var(--gap-m);
        max-width: 100%;
    }

    .new-stom-posts .new-stom-post-wrapper .new-stom-post-date {
        font-size: 16px;
    }

    .new-stom-posts .new-stom-post-wrapper .new-stom-post-title > h4 {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1440px) {
    :root body {
        /* Font sizes */
        --h1: 36px;
        --h2: 38px;
        --h3: 24px;

        --p: 16px;
    }

    header .top-bar {
        font-size: 14px;
    }

    .page-slider-section .slide-element .video-aligner video {
        max-height: 75vh;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper h1 {
        font-size: var(--h1);
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper p {
        font-size: 20px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button a {
        font-size: 18px;
    }

    .section-wrap.clear.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > h2, 
    .section-wrap.clear.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > h3 {
        font-size: 20px;
    }

    .section-wrap.clear.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > .stom-custom-svg {
        font-size: 34px;
    }

    .new-stom-posts .new-stom-post-wrapper .new-stom-post-thumb > img {
        height: 180px;
    }

    .stom-billede-sektion .stom-cols-6 {
        min-height: 495px;
    }

    .faq-accordion .faq-question {
        font-size: 18px;
    }

    .section-wrap.clear.quote-section .section > blockquote {
        font-size: 24px;
    }

    .section-wrap.clear.quote-section .section > .stom-custom-svg {
        font-size: 65px;
    }

    #colophon.footer-setting-02 {
        font-size: 16px;
    }

    #colophon .widget-title {
        font-size: 22px;
    }

    .footer-setting-02 .footer-widget-area .section .footer-header > h3 {
        font-size: var(--h3);
    }

    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper p {
        font-size: var(--p);
    }
}

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h1: 34px;
        --h2: 28px;
        --h3: 22px;
        --h4: 19px;
        --h5: 15px;
        --h6: 13px;
        --p: 16px;
        /* Gaps */
        --gap-l: 60px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper h1 {
        font-size: var(--h1);
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper p {
        font-size: 18px;
    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button a {
        font-size: 16px;
    }

    .section-wrap.clear.has-graphic {
        margin-top: calc(var(--gap-l) * 5);
    }

    .footer-setting-02 .footer-widget-area .section .footer-header > .stom-button a {
        min-width: 400px;
    }

    #colophon .widget-title {
        font-size: 20px;
    }

    .section-wrap.clear.faq-video-section .section {
        padding-inline: 0;
    }
}


/****** 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;
    }

    #page .open-button {
        font-weight: 400;
        font-size: 16px;
    }

    #secondary .close-button {
        font-size: 1em;
    }

    #page .open-button .stom-custom-svg {

    }

    body.woocommerce #secondary .custom-overflow-wrapper .widget_product_categories {
        background-color: #fff !important;
        padding: 20px !important;
    }

    #secondary:not(.sidebar-setup-after-content) {
        background-color: var(--color-bg);
    }

    #secondary:not(.sidebar-setup-after-content) {
        width: 500px;
    }
    
    /* Move this rule if you change the the grid columns */
    .last-on-mobile {
        order: 66;
    }

    .section-wrap.clear.fixed-sidebar {
        display: none;
    }

    .new-stom-posts .new-stom-post-wrapper .new-stom-post-thumb > img {
        height: 220px;
    }

    .faq-accordion .faq-question {
        font-size: 16px;
    }

    .footer-setting-02 .footer-widget-area .section .grid-elements {
        grid-template-columns: 1fr;
        gap: var(--gap-l);
    }

    .footer-setting-02 .footer-widget-area .section .footer-header {
        flex-direction: column;
        gap: var(--gap-m);
    }

    .footer-setting-02 .footer-widget-area .section .footer-header > h3 {
        text-align: center;
    }

    .footer-setting-02 .footer-widget-area .section .footer-header > .stom-button {
        display: block;
        width: 100%;
    }
    
    .footer-setting-02 .footer-widget-area .section .footer-header > .stom-button a {
        min-width: auto;
        width: 100%;
    }

    #colophon.footer-setting-02 {
        font-size: 14px;
    }

    #colophon .some-widget .textwidget {
        flex-direction: row;
        gap: 20px;
    }

    #colophon .some-widget .textwidget .element img {
        max-width: 20px;
    }

    .page-slider-section .slider-text {
        align-items: flex-end;
    }

    .page-slider-section .slide-element .video-aligner video {
        min-height: 60vh;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper p {
        font-size: 16px;
        font-weight: 400;
    }

    .section-wrap.clear.quote-section .section {
        padding-inline: var(--gap-m);
    }

    .section-wrap.clear.quote-section .section > .stom-custom-svg {
        font-size: 40px;
    }

    .section-wrap.clear.quote-section .section > blockquote {
        font-size: var(--h3);
    }

    .section-wrap.clear.quote-section::after {
        display: none;
    }

    .section-wrap.clear.cards-section .section .grid-elements {
        grid-template-columns: 1fr;
    }

    .section-wrap.clear.cards-section .section .grid-elements .grid-element:not(.heading) > img {
        max-height: 400px;
    }

    .section-wrap.clear.split-section .section .grid-elements .grid-element .overlay .container {
        grid-template-columns: 1fr;
    }
    
    body:not(.home) .section-wrap.clear.has-graphic {
        margin-top: calc(var(--gap-l) * 4);
    }

    .section-wrap.clear.member-section .section .grid-elements .grid-element:not(.heading):not(.donation) .overlay .content {
        min-height: auto;
    }

    .section-wrap.clear.member-section .section .grid-elements .grid-element:not(.heading):not(.donation) .overlay .content > h3 {
        font-size: var(--h3);
    }

    body:not(.home) .section-wrap.clear.stom-billede-sektion.faq-section {
        margin-top: calc(var(--gap-l) * 4);
    }

    .section-wrap.clear.contact-section .section .grid-elements .grid-element.form {
        grid-column: inherit;
    }
}

@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: 16px;
        /* Gaps */
        --gap-l: 50px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }

    header .top-bar .top-bar-right {
        display: none;
    }

    .stom-button a {
        font-size: 14px;
    }

    .stom-billede-sektion .stom-picture {
        padding-inline: var(--gap-m);
        margin-top: var(--gap-l);
    }

    .stom-billede-sektion.has-background {
        padding-inline: 0;
    }

    .footer-setting-02 .footer-widget-area-site-info .section .footer-widgets .widget .textwidget {
        flex-direction: column;
        gap: var(--gap-s);
    }

    .footer-setting-02 .footer-widget-area-site-info .section .footer-widgets .widget .textwidget p {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.25;
    }

    header .nav-wrap .header-buttons ul li:last-of-type {
        display: none;
    }

    .site-branding #logo img, .site-branding #logo svg {
        max-height: 70px;
    }

    .header-sticky-active.scrolled header .site-branding #logo img:not(.logo-landscape), .header-sticky-active.scrolled header .site-branding #logo svg {
        max-height: 70px;
    }

    .section-wrap.clear.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > h2, 
    .section-wrap.clear.cards-section .section .grid-elements .grid-element:not(.heading) .overlay > h3 {
        font-size: 18px;
    }

    .faq-accordion .faq-answer {
        font-size: var(--p);
    }

    .section-wrap.clear.faq-video-section .section .stom-picture video {
        height: 100% !important;
    }

    .section-wrap.clear.quote-section .section > blockquote {
        font-size: 18px;
    }

    .section-wrap.clear.news-section {
        margin-top: calc(var(--gap-l) * 1);
    }

    .section-wrap.clear.stom-billede-sektion {
        margin-top: calc(var(--gap-l) * 1);
    }

    .section-wrap.clear.news-section .section .grid-elements .grid-element.heading .overlay {
        flex-direction: column;
        align-items: flex-start;
    }

    .new-stom-posts .new-stom-post-wrapper .new-stom-post-title > h4 {
        font-size: 18px;
    }

    .section-wrap.clear.faq-video-section .section .stom-cols-6 {
        min-height: auto;
        padding-top: 0;
    }

    .section-wrap.clear.donation-section .section .product-container .woocommerce ul.products li.product {
        width: 100%;
        margin: 0;
    }

    .section-wrap.clear.contact-section .section .grid-elements {
        grid-template-columns: 1fr;
    }

    .section-wrap.clear.contact-section .section .grid-elements .grid-element .overlay {
        padding: var(--gap-l) var(--gap-m);
    }

    body.stom-terms-page.no-sidebar .entry-content {
        font-size: var(--p);
    }

    body.stom-terms-page.no-sidebar .entry-content > h3 {
        font-size: var(--h3);
    }
    
    .section-wrap.clear.employee-section .section .grid-elements .grid-element:not(.heading) .overlay > p {
        font-size: 14px;
    }

    .single-product-fullwidth #primary .product_title {
        font-size: var(--h2);
    }

    .section-wrap.clear.logo-section .section .logo-container {
	    grid-template-columns: repeat(4, 1fr);
    }
}

@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;
    }

    header .top-bar {
        font-size: 13px;
    }
    
    header .top-bar .top-bar-left ul li .stom-custom-svg {
        display: none;
    }

    header .top-bar ul li strong {
        display: block;
    }


    .section-wrap.clear.cards-section .section .grid-elements .grid-element:not(.heading) > img {
        max-height: 400px;
    }

    .stom-center-box .stom-button.inline:not(:last-of-type) {
        margin-bottom: 10px;
    }

    #secondary:not(.sidebar-setup-after-content) {
        /* width: 100%; */
        width: 300px;
    }

    body.woocommerce #secondary .custom-overflow-wrapper .widget_product_categories ul.product-categories li.cat-item {
        font-size: 14px;
    }

    .woocommerce-page .stom-product-count-sorting-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .woocommerce .stom-product-count-sorting-wrap .woocommerce-result-count, .woocommerce-page .stom-product-count-sorting-wrap .woocommerce-result-count, .woocommerce .stom-product-count-sorting-wrap .woocommerce-ordering, .woocommerce-page .stom-product-count-sorting-wrap .woocommerce-ordering {
        width: 100%;
    }

    .woocommerce .woocommerce-ordering select,
    .woocommerce-result-count {
        font-size: 14px;
    }
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    :root body {
        --p: 15px;
    }

    header .nav-wrap .header-buttons ul li a {
        font-size: 14px;
    }
    
    .page-slider-section .slider-text-inner .slider-text-inner-wrapper h1 {
        font-size: 24px;
    }
    
    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
        max-height: 70px;
    }

    .header-sticky-active.scrolled header .site-branding #logo {
        padding: 10px 0;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper h1 {
        font-size: 24px;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button.inline {
        display: block;
        width: 100%;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button.inline:not(:last-of-type) {
        margin-bottom: 10px;
    }

    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button.inline a {
        width: 100%;
        text-align: center;
    }
    
    .home .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button a {

    }

    .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button a {
        font-size: 14px;
    }

    .section-wrap.clear.cards-section .section .grid-elements .grid-element:not(.heading) > img {
        max-height: 350px;
    }

    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button.inline {
        display: block;
        width: 100%;
    }

    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button.inline:not(:last-of-type) {
        margin-bottom: 10px;
    }

    body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper .stom-button.inline a {
        width: 100%;
        text-align: center;
    }

    .section-wrap.clear.accordion-section .section .accordion-container .accordion-item .accordion-content {
        max-height: 38px;
    }
    
    #secondary:not(.sidebar-setup-after-content) .custom-overflow-wrapper {
        width: 100%;
    }

    .woocommerce div.product form.cart .button.single_add_to_cart_button {
        font-size: var(--p);
    }

    .woocommerce div.product .woocommerce-tabs .panel > p {
        font-size: var(--p);
    }

    .woocommerce-cart h1, .woocommerce-cart h2 {
        font-size: var(--h2);
    }

    .woocommerce-cart .cart-collaterals .cart_totals table th, .woocommerce-cart .cart-collaterals .cart_totals table td {
        font-size: var(--p);
    }

    .woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout .checkout-button {
        font-size: var(--p);
    }

    .section-wrap.clear.logo-section .section .logo-container {
	    grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 410px) {
    .woocommerce div.product form.cart .button.single_add_to_cart_button:not(.disabled) {
        min-width: auto;
    }
}
