/****** STORE SKRÆME ******/

@media only screen and (min-width: 1920px) {}


/****** BÆRBAR / MINDRE SKÆRME ******/



@media only screen and (max-width: 1800px) {
    .page-slider-section .slider-text img.wp-image-1257,
	.page-slider-section .slider-text img.wp-image-1256,
	.page-slider-section .slider-text img.wp-image-788 {
        top: var(--gap-l);
        right: var(--gap-m);
        width: 150px;
    }
}

@media only screen and (max-width: 1600px) {
    header .main-navigation ul.menu a {
        font-size: var(--p);
    }

    header .top-bar p a,
    header .top-bar p {
        font-size: 14px;
    }

    .video-container {
        margin-left: var(--gap-m) !important;
        margin-right: var(--gap-m) !important;
    }

    .video-container h2 {
        max-width: 70%;
    }
}

@media only screen and (max-width: 1400px) {
	.page-slider-section .slider-text img.wp-image-1257,
    .page-slider-section .slider-text img.wp-image-1256,
	.page-slider-section .slider-text img.wp-image-788 {
        width: 100px;
    }

    header .main-navigation ul.menu a {
        font-size: 14px;
        padding-bottom: .7em;
    }

    .site-branding #logo img,
    .site-branding #logo svg {
        max-width: 300px;
        max-height: 80px;
    }

    header .main-navigation ul.menu .reserver-nu-item {
        padding-bottom: 0;
    }

    .page-slider-section.main-slider-section {
        margin-top: 80px;
    }

    .video-container h2 {
        max-width: 80%;
    }
}

@media only screen and (max-width: 1240px) {
    :root body {
        /* Font sizes */
        --h1: 34px;
        --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;

        --border-radius-s: 10px;
        --border-radius-m: 20px;
        --border-radius-l: 28px;
        --border-radius-xl: 50px;
    }

    #content {
        margin-bottom: var(--gap-l);
    }

    .video-container svg {
        width: 50px;
        height: 50px;
    }

    .section-four.section-wrap.has-background .section {
        padding-top: var(--gap-l);
    }

    body:not(.stom-gform-legacy) .gform_wrapper .gform_footer {
        margin-top: var(--gap-m);
    }

    #gform_submit_button_1 {
        font-size: var(--p);
    }

    .sidebar-new #secondary:before {
        width: 100%;
    }

    .widget-area .widget:not(.widget_search):not(.widget_instagram-feed-widget):not(.widget-no-border) {
        padding: 0;
        padding-bottom: var(--gap-m);
    }

    .section-two.stom-billede-sektion .stom-cols-6 {
        padding-left: 0;
    }

    .section-six.stom-billede-sektion.picture-right .stom-cols-6 {
        padding-left: 0 !important;
        padding-bottom: var(--gap-m);
    }

    .section-two {
        margin-left: var(--gap-s) !important;
        margin-right: var(--gap-s) !important;
    }
	.page-slider-section .slider-text img.wp-image-1257,
	.page-slider-section .slider-text img.wp-image-1256,
    .page-slider-section .slider-text img.wp-image-788 {
        top: 90px;
    }

    .style-header-02 .top-bar .top-bar-right>*:not(:last-child) {
        margin: 0 var(--gap-s) 0 0;
    }

    header .top-bar p a+a {
        margin-left: var(--gap-s);
    }

    .top-bar.section-wrap.has-background {
        padding-inline: var(--gap-m);
    }

    .section-one.stom-grid-section .grid-element .overlay p:not(:first-of-type),
    .section-one.stom-grid-section .grid-element span,
    .section-one.stom-grid-section .grid-element .overlay h3,
    .section-one.stom-grid-section .grid-element ul {
        padding: var(--gap-s);
    }

    .section-one.stom-grid-section .section .grid-elements {
        gap: var(--gap-m);
    }

    .section-two h2 {
        font-size: var(--h3);
    }

    header .main-navigation ul.menu a {
        /* font-size: var(--p); */
        padding-bottom: .7em;
    }

    main .section-wrap~.section-wrap,
    main+.section-wrap,
    main+#colophon,
    .section-wrap~.page-slider-section,
    .page-slider-section~.page-slider-section,
    .page-slider-section~.section-wrap,
    .page-slider-section~main,
    #content+.page-slider-section,
    #content+.stomFEE-edit-cta+.page-slider-section,
    #content+.section-wrap,
    #content+.stomFEE-edit-cta+.section-wrap {
        margin-top: var(--gap-l);
    }

    header .main-navigation ul.menu .reserver-nu-item {
        padding-bottom: 0;

    }

    .custom-menu-nav {
        padding: var(--gap-m) var(--gap-l) var(--gap-m) var(--gap-l);
    }

    .custom-menu-nav .custom-nav-item:not(:last-of-type) {
        padding-right: var(--gap-l);
    }

    .section-one.stom-grid-section .grid-element .overlay p:not(:first-of-type),
    .section-one.stom-grid-section .grid-element span,
    .section-one.stom-grid-section .grid-element .overlay h3,
    .section-one.stom-grid-section .grid-element ul {
        padding: 0 var(--gap-m);
    }

    .section-one.stom-grid-section .grid-element ul li {
        /* padding-left: var(--gap-m); */
    }

    .section-one.stom-grid-section .section .grid-elements {
        gap: var(--gap-m);
    }

    .section-one .hours p {
        font-size: 14px;
    }

    .section-two p,
    .section-two span.highlight-text,
    .section-two .stom-button a {
        font-size: var(--p);
    }

    .section-two .stom-button a,
    .entry-content .stom-button a {
        margin-top: var(--gap-m);
    }

    .section-four.section-wrap.has-background .section {
        padding-block: var(--gap-l);
    }

    .section-four.stom-grid-section .grid-element .overlay p {
        font-size: var(--p);
    }

    .section-five ul {
        margin-top: var(--gap-m);
    }

    .section-five ul li {
        font-size: var(--p);
    }

    .section-six p,
    .underline-form .gform_wrapper.gravity-theme .gfield:not(#field_submit) input,
    .underline-form .gform_wrapper.gravity-theme .gfield select,
    .underline-form .gform_wrapper.gravity-theme .gfield textarea,
    .section-six .gform_wrapper .gform_footer input[type=submit] {
        font-size: var(--p);
    }

    #black-studio-tinymce-171 img:first-of-type {
        margin-bottom: var(--gap-s);
    }

    body:not(.home) main .section-wrap~.section-five.section-wrap,
    body:not(.home) main .section-five.section-wrap {
        margin-bottom: var(--gap-l);
    }

    .custom-menu-nav {
        position: relative;
        bottom: 0;
    }

    .page-slider-section .white-text {
        margin-top: 120px;
    }

    .section-one.stom-grid-section .grid-element .overlay p:last-of-type {
        padding-bottom: var(--gap-s);
    }

    .section-one .hours {
        padding: 12px;
    }
}

@media only screen and (max-width: 1110px) {

    :root body {
        /* Font sizes */
        --h1: 30px;
        --h2: 25px;
        --h3: 20px;
        --h4: 18px;
        --h5: 14px;
        --h6: 12px;


    }

    header .top-bar .top-bar-right {
        justify-content: flex-end;
    }

    .page-slider-section.main-slider-section p {
        font-size: var(--p);
    }

    .custom-menu-nav {
        /* bottom: -50px; */
    }



}

@media only screen and (max-width: 1080px) {
    .stom-grid-section.section-one .section.columns-3 .grid-elements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/****** 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;
    }

    body:not(.no-sidebar).sidebar-new .main-slider-section+#main-content #content {
        padding-top: 0;
    }

    header#masthead {
        border-bottom-left-radius: var(--border-radius-l);
        border-bottom-right-radius: var(--border-radius-l);
    }

    .section-four.stom-grid-section .grid-element:first-of-type {
        margin-bottom: var(--gap-l);
    }

    #secondary.sidebar-setup-after-content {
        background-color: #fff;
        padding: var(--gap-m);
        border-radius: var(--border-radius-s);
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        margin-bottom: var(--gap-l);
    }

    .section-four {
        background-size: cover;
    }

    .section-four.stom-grid-section .grid-element:not(:first-of-type) {
        min-height: 500px;
        padding: var(--gap-s);
    }

    /* Move this rule if you change the the grid columns */
    .last-on-mobile {
        order: 66;
    }
	.page-slider-section .slider-text img.wp-image-1257,
	.page-slider-section .slider-text img.wp-image-1256,
    .page-slider-section .slider-text img.wp-image-788 {
        top: var(--gap-l);
    }

    .custom-menu-nav .custom-nav-item h2 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 810px) {
    .custom-menu-nav .custom-nav-item h2 {
        font-size: 15px;
    }

    .custom-menu-nav .custom-nav-item p {
        font-size: 12px;
    }

    .custom-menu-nav {
        padding: var(--gap-s);
        padding-left: 35px;
    }

    .custom-menu-nav .custom-nav-item:not(:last-of-type) {
        padding-right: var(--gap-s);
    }
}


/****** 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: 14px;
        /* Gaps */
        --gap-l: 50px;
        --gap-m: 20px;
        --gap-s: 15px;
        /* Outer margin */
        --content-margin: 0;
    }

    .section-five .section .stom-cols-6.last ul {
        margin-left: 0;
    }

    .section-five h2 {
        text-align: left;
    }

    .section-two .stom-picture img {
        max-width: 100%;
        max-height: 400px;
    }

    .page-slider-section.main-slider-section {
        margin-top: 70px;
    }
	.page-slider-section .slider-text img.wp-image-1257,
	.page-slider-section .slider-text img.wp-image-1256,
    .page-slider-section .slider-text img.wp-image-788 {
        top: 60px;
    }

    .section-six {
        margin-right: var(--gap-m) !important;
    }

    .section-six.stom-billede-sektion .stom-picture img {
        border-radius: var(--border-radius-xl);
        max-height: 400px;
    }

    .section-one.stom-grid-section .grid-element span.stom-custom-svg {
        padding: 0;
        padding-left: 10px;
    }
}

@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-grid-section.section-one .section.columns-3 .grid-elements {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .home .page-slider-section .slide-element iframe {
        /* min-height: 100vh; */
        min-height: 48vh;
    }

    .site-branding #logo img,
    .site-branding #logo svg {
        max-width: 200px;
        max-height: 80px;
    }

    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
        max-height: 40px;
    }

    .section-four.stom-grid-section .grid-element:not(:first-of-type) {
        min-height: unset;
    }

    .custom-menu-nav {
        flex-direction: column;
        gap: 10px;
    }

    .page-slider-section.main-slider-section {
        margin-top: 40px;
    }
	.page-slider-section .slider-text img.wp-image-1257,
	.page-slider-section .slider-text img.wp-image-1256,
    .page-slider-section .slider-text img.wp-image-788 {
        top: 68px;
    }
}


/****** MOBILER ******/

@media only screen and (max-width: 479px) {

    header .top-bar p a,
    header .top-bar p {
        font-size: 12px;
    }

    header#masthead {
        border-bottom-left-radius: var(--border-radius-m);
        border-bottom-right-radius: var(--border-radius-m);
    }
}

@media only screen and (max-width: 400px) {
    .home .page-slider-section .slide-element iframe {
        /* min-height: 100vh; */
        min-height: 58vh;
    }
}