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

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

@media only screen and (max-width: 1440px) {
    header .main-navigation ul.menu a {
        font-size: 16px;
    }
}


@media only screen and (max-width: 1260px) {
body .style-header-03 .section-wrap.top-bar {
    justify-content: flex-start;
}

header .top-bar .top-bar-left {
    margin-inline: 30px;
}
}

@media only screen and (max-width: 1254px) {
    #site-navigation.main-navigation .current-menu-item {
        background-color: var(--color-1);
/*         color: var(--color-text); */
    }

    #site-navigation.main-navigation .current-menu-ancestor>a {
        background-color: var(--color-2);
    }
}

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

@media only screen and (max-width: 1240px) {
     :root body {
        /* Font sizes */
        --h1: 50px;
        --h2: 35px;
        --h3: 22px;
        --h4: 19px;
        --h5: 15px;
        --h6: 13px;
        --p: 15px;
        --button: 18px;
        /* Gaps */
        --gap-xxl: 140px;
        --gap-xl: 100px;
        --gap-l: 60px;
        --gap-ml: 30px;
        --gap-m: 25px;
        --gap-s: 20px;
        /* Sidebar */
        --sidebar-width: 280px;
    }

    header .main-navigation ul.menu a {
        font-size: var(--p);
    }

    h1 {
        line-height: 55px;
    }

    .home .page-slider-section.main-slider-section p {
        font-size: 20px;
    }

    .section-wrap.hero-bar .item-wrapper  {
        font-size: var(--button);
    }

    .stom-grid-section.first-section h2 {
        max-width: 375px;
    }

    .stom-billede-sektion.second-section .stom-picture img,.stom-billede-sektion.fourth-section .stom-picture img {
        padding-block: 20px;
    }

    .stom-grid-section.third-section .big-text {
        font-size: 90px;
    }

    .sidebar-new #secondary:before {
        width: 100%;
    }

    #content {
        margin-inline: 0px;
    }

    #primary {
        padding-inline: var(--gap-m);
    }

    #primary.content-area {
        padding-bottom: var(--gap-m);
    }

    #secondary {
        padding-block: var(--gap-l);
    }

    .sidebar-pris {
        margin-bottom: var(--gap-l);
    }

    .stom-billede-sektion.om-second-section .stom-picture img {
        padding-block: 40px;
    }
/*     body:not(.no-sidebar) #primary, body.sidebar-new:not(.no-sidebar) #primary {
        width: 100%;
        float: none;
    }

    #secondary.sidebar-setup-after-content {
        width: 100%;
        margin-top: var(--gap-l);
        margin-left: 0;
        float: none;
    } */
}


/****** 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;
    }
    #secondary.sidebar-setup-after-content {
        background-color: var(--color-2);
    }

    body div#content:after {
        width: 100%;
    }
    .home h1 {
        margin-top: 0;
    }

    .stom-grid-section.third-section .grid-padding {
        padding-left: 0;
    }

    #colophon p, #colophon a {
        font-size: 16px;
    }

    body:not(.no-sidebar).sidebar-new .main-slider-section+#main-content #content {
        padding-top: 40px;
    }

    .slide-element.slide-image {
        position: relative;
    }

    .slide-element.slide-image::before {
        content: '';
        position: absolute;
        background: var(--color-hero-overlay);
        z-index: 1;
        height: 100%;
        width: 100%;
        display: block;
        left: 0;
        right: 0;
        top: 0;
    }

    .page-slider-section .slider-inner .slider-text {
        z-index: 10;
    }
}

@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: 28px;
        --h3: 20px;
        --h4: 18px;
        --h5: 14px;
        --h6: 12px;
        --p: 14px;
        --button: 16px;
        /* Gaps */
        --gap-xxl: 100px;
        --gap-xl: 80px;
        --gap-l: 40px;
        --gap-ml: 25px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }
.stom-grid-section.first-section.small-headlines .grid-element h3{
	        font-size: var(--h3);
}
    .home .page-slider-section.main-slider-section p {
        font-size: 18px;
    }

    .section-wrap.stom-billede-sektion .stom-picture img {
        max-height: 670px;
    }

    .stom-grid-section.third-section .big-text {
        font-size: 70px;
    }

    .section-wrap.top-bar {
        display: none;
    }

    body .style-header-03 .header-inner {
        margin-top: 0;
    }

    .section-wrap.stom-billede-sektion.om-first-section .stom-picture {
        padding-inline: var(--gap-m);
    }

    .textwidget .flexbox .stom-custom-svg svg {
        width: 30px;
        height: 30px;
    }
	
	.slider-text-inner-wrapper .stom-button {
		margin-bottom: var(--gap-s);
	}
}

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

    .section-wrap.stom-billede-sektion .stom-picture img {
        max-height: 510px;
    }
    
    .home h1 {
        max-width: 400px;
    }

    #colophon .widget-title {
        margin-top: 10px;
    }
}


@media only screen and (max-width: 530px) { 
    .slider-text-inner-wrapper .stom-button {
        margin-bottom: 0;
    }

    .section-wrap.stom-billede-sektion .stom-picture img {
        max-height: 500px;
    }
}

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

@media only screen and (max-width: 479px) {
    #number-three-sticky-mobile-cta .cta-container .stom-button a {
        font-size: var(--p);
    }

    .tandeftersyn .page-slider-section.image-pos-center-center .image-aligner img {
        object-position: -1000px center;
    }

    .kosmetiskfortandsplast .page-slider-section.image-pos-center-center .image-aligner img {
        object-position: -760px center;
    }

    .kronerogbroer .page-slider-section.image-pos-center-center .image-aligner img {
        object-position: -906px center;
    }

}

@media only screen and (max-width: 456px) {
    .kosmetiskfortandsplast .page-slider-section.image-pos-center-center .image-aligner img {
        object-position: -1077px center;
    }

    .kronerogbroer .page-slider-section.image-pos-center-center .image-aligner img {
        object-position: -1084px center;
    }
}

@media only screen and (max-width: 400px) {}