/****** STORE SKRÆME ******/

@media only screen and (min-width: 1600px) {
    .header-wrapper .margin-wrap {
        margin-left: var(--gap-l);
    }
}

@media only screen and (max-width: 1600px) {
    .header-wrapper .margin-wrap {
        margin-left: var(--gap-s);
    }
    #content, .section-wrap, footer.site-footer .site-info {
        width: auto;
        max-width: 100%;
        margin-inline: var(--gap-m);
      }
      .stom-billede-sektion .stom-cols-6 {
        width: 50%;
        padding: 0 calc(var(--gap-m) - var(--content-margin));
      }
      .stom-billede-sektion.left-pad-only.picture-left .stom-cols-6 {
        padding: 0 calc(var(--gap-m) - var(--content-margin));
      }
}

/****** BÆRBAR / MINDRE SKÆRME ******/

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h2: 25px;
        --h3: 22px;
        --h4: 19px;
        --h5: 15px;
        --h6: 13px;
        /* Sidebar */
        --sidebar-width: 280px;
    }

    #site-navigation.main-navigation .current-menu-ancestor {
        background: #fff;
        color: var(--color-text);
    }

    #site-navigation.main-navigation .current-menu-ancestor > a, #site-navigation.main-navigation .current-menu-ancestor::after {
        color: var(--color-text);
    }

    #site-navigation.main-navigation .current-menu-ancestor > a:has(~ ul.sub-menu) {
        background: #f5f5f5;
    }

    section.section-wrap.box-justify-start-section .section .grid-elements .grid-element .overlay p img{
        max-height: 350px;
        min-height: 350px;
        width: 100%;
        object-fit: cover;
    }

    
/* footer */

.footer-setting-03 .footer-widget-area-site-info .textwidget {
    justify-content: flex-start;
}

#colophon .copyright .section .footer-widgets .widget .textwidget ul, .footer-setting-03 .footer-widget-area-site-info .textwidget {
    display: block;
}

#colophon .copyright .section .footer-widgets .widget .textwidget ul li:not(:last-of-type):after {
	display: none;
}

span.website-designed-by:before {
	display: none;
}

span.website-designed-by, #colophon .copyright .textwidget ul li {
	padding: 3px
}

}

/****** 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;
    }

    .workshops-grid {
        margin-left: 0;
    }

    .slick-dots {
        display: none!important;
    }

}

@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 */
        --h2: 22px;
        --h3: 20px;
        --h4: 18px;
        --h5: 14px;
        --h6: 12px;
        --content-margin: 0;
    }

    .split-billede-6.stom-billede-sektion .stom-picture img {
        position: unset;
        height: 100%;
        max-height: 360px;
      }

    .stom-billede-sektion.left-pad-only.picture-left .stom-cols-6 {
        padding: 0 var(--gap-m) var(--gap-m); 
    }

    .section-wrap.basis-text-leftctr .section {
        padding-inline: 0;
    }

    body:not(.home) main .section-wrap.anmeldelser {
        margin-top: 0;
    }


    .section-wrap.citat .section {
        padding-inline: 0;
      }

    .section-wrap.split-billede-4 .section .stom-picture img {
        padding-right: var(--gap-m);
    }

    #colophon .copyright, footer.site-footer .site-info, footer.site-footer .site-info .copyright {
        text-align: left;
    }

    .hide-phone {
        display: none;
    }

    .small-bottom-bar .stom-button a {
        padding: .3em 5em;
    }

    .split-billede-6.stom-billede-sektion .stom-picture img {
        position: unset;
        height: 100%;
      }

      .split-billede-6.section-wrap.has-background .section {
        padding-block: 0;
        padding-top: var(--gap-l);
      }

      .split-billede-6.stom-billede-sektion.section-wrap.has-background {
        padding: 0;
      }
      .section-wrap.has-background {
        padding-inline: 0;
      }

      .section-wrap.split-billede-5 .section {
        flex-direction: column-reverse;
      }

      .section-wrap.split-billede-5 .stom-picture {
        padding: 0 var(--gap-m) var(--gap-m);
      }

      .section-wrap.split-billede-5 .section .stom-picture {
        text-align: center;
      }

      .section-wrap.split-billede-5 .section .stom-picture img {
        max-height: 349px;
        padding-left: 0;
      }

      .section-wrap.split-billede-4 .section {
        flex-direction: column-reverse;
    }

    .section-wrap.split-billede-4 .stom-picture {
        padding-bottom: var(--gap-m);
    }

    .section-wrap.split-billede-4 .stom-picture {
        padding-bottom: var(--gap-m);
        width: 100%;
    }
    .section-wrap.split-billede-4 .section .stom-picture img {
        margin-left: 0
    }

    .stom-billede-sektion.split-billede-4.picture-left .stom-cols-6 {
        padding: var(--gap-m) var(--gap-m);
    }

    .section-wrap.show-overflow .section .stom-picture img {
        margin-bottom: calc(-1 * var(--gap-m));
    }

    main .section-wrap ~ .section-wrap, main + .section-wrap, .page-slider-section ~ main {
        margin-top: var(--gap-l)
    }

    .stom-billede-sektion.split-billede-4 .stom-picture {
        text-align: center;
    }

    .slick-prev, .anmeldelse-updated-design .slick-prev:hover, .anmeldelse-updated-design .slick-prev {
        right: unset;
        top: unset;
        left: 0;
        bottom: calc(-1* var(--gap-l) - 6px);
      }

    .slick-next.slick-arrow {
        display: none!important;
      }

    .stom-anmeldelse-wrapper.anmeldelse-updated-design {
        margin-bottom: 0;
    }

}

@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;
    }

    .style-header-03 .section-wrap {
        display: none;
      }
}

/****** MOBILER ******/

@media only screen and (max-width: 479px) {
    .site-header .header-wrapper {
        padding-inline: var(--gap-s);
      }

    .slider-text-inner-wrapper p {
        text-shadow: 2px -2px 5px rgba(0, 0, 0, .6);
        /*text-shadow: 1px 5px 5px rgba(0,0,0,.6);*/
    }

}

@media only screen and (max-width: 400px) {}