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


/* MIN WIDTH */

@media only screen and (min-width: 1920px) {
    .slider_side.section-wrap.section-fullpage .section {
        max-width: 1920px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .slider_side .stom-cols-5:not(.last) {
        padding-left: 95px;
    }

    .slider_side .stom-cols-5.last {
        padding-right: 95px;
    }
}

@media only screen and (max-width: 1919px) {
    .slider_side .stom-cols-5:not(.last) {
        padding-left: clamp(0px, calc(1820px - 98%), 40px);
    }

    .slider_side .stom-cols-5.last {
        padding-right: clamp(0px, calc(1820px - 98%), 40px);
    }

    .stom_medarbejdere-template-default.single #main-content #content::after {
        right: calc((100% - 100vw) / 2);
    }
}

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

    section.new-kolonner-design.stom-grid-section .grid-elements .grid-element:not(.fullwidth) .overlay .readmore {
        font-size: 22px;
    }

    section.new-kolonner-design.stom-grid-section .grid-elements .grid-element:not(.fullwidth) .overlay>p {
        margin-bottom: var(--gap-m);
    }

}

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

    body:not(.home) .header-wrapper,
    body:not(.home) #content,
    /* .section, */
    body:not(.home) .reference_grid_sektion .section,
    body:not(.home) .three_box_slider_sektion .section,
    body:not(.home) #colophon .section,

    body:not(.home) footer.site-footer .site-info {
        max-width: 1800px;
        margin: 0 40px;
    }

    /* .section {
        margin: 0 40px;
    } */
    section.new-kolonner-design.stom-grid-section .grid-elements .grid-element:not(.fullwidth) .overlay .readmore {
        font-size: 20px;
    }

    section.page-custom-slider-section.section-wrap.style-custom .section,
    section.page-custom-slider-section.section-wrap.style-custom-single .section {
        max-width: calc(100% - 80px);
    }

    .page-custom-slider-section.style-custom .slick-slider .slick-track .slide-element {
        max-width: 100%;
    }

    .page-custom-slider-section.style-default .slider-inner .slick-slider .slide-element {
        max-width: calc(100% - 80px);
    }

    .page-custom-slider-section.style-default .slider-inner .slick-slider .slider-text,
    .page-custom-slider-section.style-default-single .slider-text {
        max-width: calc(100% - 80px);
    }

}

@media only screen and (max-width: 1740px) {
    .header-wrapper {
        border-bottom: 1px solid black;
        padding: 21px 0 0 0;
    }

    .stom-grid-section.new-kolonner-design .section.columns-3 .grid-elements {
        gap: var(--gap-s) var(--gap-m);
    }

    /*     .slider_side h2 {
        font-size: 50px;
    } */
    /*     .stom-reference-grid {
        padding: 0 20px !important;
    } */
    .hero_section .stom-center-box {
        padding: 0;
    }

    .page-custom-slider-section .slider-inner .slider-text .slider-text-inner {
        padding: 0 !important;
    }

    /* #colophon .section {
        padding-right: 20px;
        padding-left: 20px;
    } */
    .section-wrap.stom-grid-section.hover-col-boxes .section .overlay p {
        font-size: 19px;
    }

    section.new-kolonner-design.stom-grid-section .grid-elements .grid-element:not(.fullwidth) .overlay {
        padding: var(--gap-s);
    }
}

@media only screen and (max-width: 1540px) {
    .section-wrap.stom-grid-section.hover-col-boxes .section .overlay p {
        font-size: 18px;
    }

    body #colophon .section-wrap.footer-widget-area .section .footer-widgets .widget-title {
        font-size: var(--h3);
    }

    .stom-grid-section.new-kolonner-design .section.columns-6 .grid-elements {
        grid-template-columns: repeat(var(--grid-3-cols), minmax(0, 1fr));
    }

    section.reference_grid_sektion.nyt-forside-design .individual_post .post_data .type {
        font-size: 16px;
    }

    section.reference_grid_sektion.nyt-forside-design .individual_post .post_data .excerpt {
        font-size: 16px;
    }

    h5,
    .page-slider-section h6 {
        font-size: 22px;
    }

    .hero_section strong {
        font-size: 20px;
    }

    .hero_section .stom-button a {
        font-size: 17px;
    }

    .site-branding #logo {
        padding: 15px 30px 15px 0;
    }

    .hero_section.stom-billede-sektion .stom-cols-6,
    .hero_section.stom-billede-sektion .stom-picture {
        max-height: calc(100vh - 170px);
        min-height: 370px;
    }

    body:not(.stom-gform-legacy) .gform_wrapper .ginput_container textarea,
    body:not(.stom-gform-legacy) .gform_wrapper input,
    body:not(.stom-gform-legacy) .gform_wrapper .ginput_container input,
    #colophon {
        font-size: 14px;
    }

    h6,
    .page-slider-section h6 {
        font-size: 17px;
    }

    .footer-widgets.widgets-1 .stom-cols-6 {
        margin-right: 6%;
        width: 47%;
    }

    .reference_grid_sektion .h2_container {
        margin: 2em 0;
    }

    .reference_grid_sektion .button_container {
        margin: 3em 0 0;
    }
}

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

    .style-header-1 .main-navigation li a,
    body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.burger-menu) .header-sticky-active.scrolled header #primary-menu>li>a {
        font-size: 14px;
        padding: 5px 10px;
    }

    section.reference_grid_sektion.nyt-forside-design .individual_post .post_data h5 {
        font-size: 22px;
    }

    .style-header-1 .main-navigation li a,
    body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.burger-menu) .header-sticky-active.scrolled header #primary-menu>li>a {
        padding: 5px 7px;
    }

    #contact_header {
        font-size: 12px;
        font-weight: 500;
        padding-left: 1.2em;
    }

    section.section-wrap.clear.reference_grid_sektion.udvalgte_slider {
        padding-top: 0;
    }

    /*     h1, .page-slider-section h2 {
        font-size: 40px !important;
    } */
    .hero_section strong {
        font-size: 19px;
    }

    /*     h2,
    .page-slider-section h3,
    .slider_side h2 {
        font-size: 30px !important;
    } */
    .slider_side .wp-caption-text h4 {
        /* font-size: 23px; */
    }

    .slider_side .wp-caption-text {
        padding: 1em 2.5em 0 0;
    }

    .reference_grid_sektion .individual_post {
        flex: 1 1 340px;
    }

    html,
    body,
    input,
    select,
    optgroup,
    textarea {
        font-size: 14px !important;
    }

    .stom-grid-section .section .grid-element .overlay {
        padding: 20px 0;
    }

    .slider_side .slick-slide img {
        height: 400px;
    }

    .quote_section .section {
        /* padding: 45px 0; */
        font-size: 25px;
    }

    .quote_section .section p {
        padding: 0 40px;
    }

    /*     #colophon h2 {
        font-size: 40px !important;
    } */
    #colophon .widgets-1 {
        margin-right: 3%;
    }

    #colophon .widgets-1,
    #colophon .widgets-2 {
        width: 48.5%;
    }

    body:not(.home) .salg_leje_slider.page-slider-section .slider-text-inner {
        min-height: 223px !important;
    }

    body:not(.home) .page-slider-section .slide-element,
    body:not(.home) .page-slider-section .slides.slick-slider,
    body:not(.home) .page-slider-section .slick-slider .slick-list {
        height: 223px !important;
    }

    .hvem-er-vi-grid.stom-grid-section .section .grid-element .overlay {
        padding: 20px;
    }

    body.home section.page-slider-section.new-slider-design .slider-text {
        min-height: 440px;
    }

    /* hover-col-boxes */
    .stom-grid-section.hover-col-boxes .section .grid-elements {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;

    }

    .section-wrap.stom-grid-section.hover-col-boxes .section h2 {
        margin-inline: 40px;
    }

    .section-wrap.stom-grid-section.hover-col-boxes .section .grid-elements {
        margin-inline: 40px;
    }

    .stom-grid-section.hover-col-boxes .section .grid-elements .grid-element {
        width: 100%;
    }

    .nyheder_slider.nyt-forside-design.three_box_slider_sektion .slick-slide {
        margin: 0 20px !important;
    }

    .nyheder_slider.nyt-forside-design.three_box_slider_sektion .slick-list {
        margin-left: -20px;
    }
}

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

    h4,
    .page-slider-section h5 {
        font-size: 25px;
    }

    h5,
    .page-slider-section h6 {
        font-size: 20px !important;
    }

    /*     .stom-reference-grid {
        gap: 3em;
    } */

    .stom_medarbejder-detaljer {
        font-size: 14px;
    }

    .stom-medarbejdere .stom-medarbejder-stilling,
    .stom-medarbejdere .stom-medarbejder-stilling_fortsat {
        font-size: 13px;
    }

    .ejendomstyper.stom-grid-section .section .grid-element {
        height: 220px;
    }

    .soegeopslag_liste .post-thumbnail {
        /* min-height: 300px; */
    }
}


@media only screen and (max-width: 1300px) {
    .hero_section .stom-button.boxed_arrow {
        margin-right: 1em;
        margin-bottom: 1em;
        min-width: 120px;
    }

    .stom-reference-grid,
    .stom-medarbejdere {
        gap: 40px 4%;
    }

    .three_box_slider_sektion .slick-slide {
        margin: 0 15px !important;
    }

    .three_box_slider_sektion .slick-list {
        margin: 0 -15px;
    }

    .site-branding #logo {
        padding: 15px 15px 15px 0;
    }

    body.home .stom-billede-sektion.picture-right .stom-cols-6 {
        padding-right: var(--gap-m);
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper.stom-medarbejder-wrapper-quotes {
        font-size: 30px;
    }
}

@media only screen and (max-width: 1300px) and (min-width: 1140px) {
    /* html, body, input, select, optgroup, textarea {
		font-size: calc(16px * .66) !important;
	}
	h1, .page-slider-section h2 {
		font-size: calc(40px * .66) !important;
	}
	.hero_section strong {
		font-size: calc(20px * .66) !important;
	}

	.header-wrapper,
	.stom-billede-sektion.hero_section .section {
		max-width: calc(1720px * .66);
    	margin: 0 auto;
	}
	.header-wrapper {
		padding: calc(21px * .66) 0 0 0;
	}

	.style-header-1 .main-navigation li a, body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.burger-menu) .header-sticky-active.scrolled header #primary-menu>li>a {
		font-size: calc(16px * .66);
	}
	.site-branding #logo img {
		max-width: calc(230px * .66);
	}
	#contact_header {
		font-size: calc(14px * .66);
		font-weight: bold;
		padding-left: calc(30px * .66);
	}

	.site-branding #logo {
		padding: calc(20px * .66) calc(30px * .66) calc(20px * .66) 0;
	}

	.stom-button.boxed_arrow,
	.slider_side .slick-prev, .slider_side .slick-next, .slider_side .slider_side .slick-prev:hover, .slider_side .slick-next:hover, .slider_side .slick-prev:focus, .slider_side .slick-next:focus,
	.slider_side .slick-dots {
		zoom: .66;
	}

	.slider_side .wp-caption-text h4 {
		font-size: calc(22px * .66);
	}

	.slider_side .slick-slide img {
		height: calc(520px * .66);
	}
	.slider_side .wp-caption-text {
		min-height: calc(87.8px * .66);
	} */
}

@media only screen and (max-width: 1230px) {
    #contact_header {
        display: none;
    }

    .three_box_slider_sektion .individual_post .post_data {
        max-width: 100%;
        width: 100%;
        /* padding: 1em 1em 0 0; */
        position: unset;
    }

    .three_box_slider_sektion .individual_post img {
        max-width: unset;
    }

    .three_box_slider_sektion .individual_post .post_data {
        /* min-height: unset; */
    }

    section.stom-off-market-section .stom-off-market-section-click-overlay p {
        font-size: 20px;
    }

    .stom-off-market-section-overlay .stom-off-market-section-overlay-form {
        overflow: auto;
        height: 100%;
    }
}


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

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

    :root body {
        /* Font sizes */
        --h1: 40px;
        --h2: 32px;
        --h3: 22px;
        /* Gaps */
        --gap-l: 60px;
        --gap-m: 30px;
    }

    section.section-wrap.stom-grid-section.double-billed-kolonner .overlay h2 {
        margin-top: -10px;
    }

    body #colophon .section-wrap.footer-widget-area .section .footer-widgets.widgets-4 .textwidget .footer-icons img {
        height: 40px;
    }

    .footer-formular-sektion.contact-form.stom-billede-sektion .gform_footer {
        margin-bottom: var(--gap-m);
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design.cols_4 {
        grid-template-columns: repeat(var(--grid-3-cols), minmax(0, 1fr));
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper.stom-medarbejder-wrapper-quotes {
        font-size: 30px;
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper.stom-medarbejder-wrapper-quotes .stom-custom-svg {
        font-size: 70px;
    }

    section.reference_grid_sektion.nyt-forside-design .individual_post .post_data h5 {
        font-size: 20px !important;
    }

    body.home h1 {
        font-size: var(--h1) !important;
    }

    body.home h2 {
        font-size: var(--h2) !important;
    }

    body.home .three_box_slider_sektion .individual_post img,
    body.home .reference_grid_sektion .individual_post img {
        height: 250px;
    }

    .section-wrap.new-kolonner-design.stom-grid-section .section.columns-5 .grid-element,
    .section-wrap.new-kolonner-design.stom-grid-section .section.columns-6 .grid-element,
    .section-wrap.new-kolonner-design.stom-grid-section .section.columns-7 .grid-element,
    .section-wrap.new-kolonner-design.stom-grid-section .section.columns-8 .grid-element,
    .section-wrap.new-kolonner-design.stom-grid-section .section.columns-9 .grid-element,
    .section-wrap.new-kolonner-design.stom-grid-section .section.columns-10 .grid-element,
    .section-wrap.new-kolonner-design.stom-grid-section .section.columns-11 .grid-element,
    .section-wrap.new-kolonner-design.stom-grid-section .section.columns-12 .grid-element {
        width: 100%;
    }

    .section-wrap.stom-grid-section.section-fullpage .section .grid-element {
        margin: 0;
    }

    section.page-slider-section.new-slider-design .slider-text .slider-text-inner p {
        font-size: 20px;
    }

    .soegeopslag_liste article {
        max-width: calc(100% / 2 - 3%) !important;
    }

    section.page-slider-section.new-slider-design {
        margin-top: var(--gap-m);
    }

    section.page-slider-section.new-slider-design .slick-track .slide-element.slide-image {
        grid-template-columns: 550px 1fr;
    }

    section.page-slider-section.new-slider-design .slider-text {
        padding-right: var(--gap-m);
    }

    .page-custom-slider-section.single_image_pos_left .slider-inner .slider-text .slider-text-inner {
        margin-left: 20px;
    }

    .page-custom-slider-section.single_image_pos_right .slider-inner .slider-text .slider-text-inner {
        margin-right: 20px;
    }

    .soegeopslag_liste .post-content-wrapper {
        /* position: relative; */
        /* padding: .5em 0; */
        /* max-width: unset; */
    }

    .hero_section.section-wrap .section {
        padding: 0;
    }

    .stom-billede-sektion:not(.hero_section).picture-right .stom-cols-6 {
        padding: 0 20px 0 0;
    }

    .stom-billede-sektion:not(.hero_section).picture-left .stom-cols-6 {
        padding: 0 0 0 20px;
    }

    .reference_grid_sektion .individual_post {
        flex: 1 1 280px;
    }

    .reference_grid_sektion .individual_post .post_data {
        padding: 2em 2.5em 0 0;
    }

    body:not(.home) #content,
    body:not(.home) .section-wrap .section,
    body:not(.home) .section-wrap.section-fullpage .section {
        padding: 30px 0;
    }

    h1,
    .page-slider-section h2 {
        font-size: 32px !important;
    }

    h2,
    .page-slider-section h3,
    .slider_side h2 {
        font-size: 25px !important;
    }

    h3,
    .page-slider-section h4 {
        font-size: 22px !important;
    }

    h4,
    .page-slider-section h5 {
        font-size: 20px !important;
    }

    h5,
    .page-slider-section h6 {
        font-size: 18px !important;
    }

    .prospekt_arc article h2 {
        font-size: 16px !important;
    }

    .prospekt_arc .entry-header {
        /* min-height: 80px; */
    }

    #colophon .widgets-1,
    #colophon .widgets-2 {
        width: 100% !important;
        margin: 0 !important;
    }

    #contact_header {
        display: none;
    }

    .propsectimage {
        display: flex;
    }

    .single .post-thumbnail {
        width: unset;
        display: inline-block;
        flex-grow: 1;
    }

    .propsectimage .prospektinfo {
        bottom: unset;
        background: #FFFFFF;
        right: unset;
        width: unset;
        padding: 2em 0 0 2em;
        display: inline-block;
        position: relative;
        flex-grow: 1;
        margin-top: auto;
        margin-bottom: auto;
    }

    .prospekt-template-default .post-thumbnail img {
        height: 100% !important;
    }

    .propsectimage .tableinfobuttons {
        white-space: nowrap;
    }

    .ejendomstyper.stom-grid-section .section.columns-3 .grid-element {
        width: calc((100% - (20px * 1)) / 2);
    }

    .cols_4 .stom-medarbejder-wrapper {
        margin-bottom: 15px;
    }

    .three_box_slider_sektion .h2_container,
    .three_box_slider_sektion .button_container {
        margin: 1em 25px 2em 0;
    }

    .quote_section .section {
        font-size: 25px;
        padding: 6.9em 0;
    }

    #colophon h2 {
        /* font-size: 35px !important; */
        margin-top: 1.5em;
    }

    .hero_section .stom-button:not(:last-of-type) a {
        margin-right: 1em;
    }

    body:not(.home) .header-wrapper,
    body:not(.home) #content,
    body:not(.home) .section,
    body:not(.home) .section-wrap .section,
    body:not(.home) footer.site-footer .site-info {
        width: unset;
    }

    .nyheder_slider.nyt-forside-design.three_box_slider_sektion .individual_post .post_data .excerpt {
        font-size: 16px;
    }

    .nyheder_slider.nyt-forside-design.three_box_slider_sektion .individual_post .post_data .date {
        font-size: 16px
    }

    body:not(.home) .three_box_slider_sektion.section-wrap .section {
        padding: 30px 0 !important;
    }


    .prospektinfo tr {
        margin-bottom: .5em;
    }

    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header .site-branding #logo img {
        max-height: 25px;
    }

    body:not(.home) .section {
        margin: 0 40px;
    }

    .stom-medarbejdere {
        gap: 50px 4%;
    }

    .cols_4 .stom-medarbejder-wrapper {
        width: calc((100% - (4% * 3)) / 4);
        margin: 0;
    }

    body.home #content,
    body.home .section-wrap .section,
    body.home .section-wrap.section-fullpage .section {
        padding: var(--gap-l);
    }

    .stom-grid-section.ejendomstyper h2 {
        margin-bottom: 15px;
    }

    .home .hero_section {
        margin: 40px 0 150px;
    }

    .home .slider_side h2 {
        margin-top: -5px;
    }

    #frontpage_overlay_section .section {
        padding-bottom: 80px;
    }

    /* hover-col-boxes */

    .section-wrap.stom-grid-section.hover-col-boxes .section h2 {
        margin-inline: 0px;
    }

    .section-wrap.stom-grid-section.hover-col-boxes .section .grid-elements {
        margin-inline: 0px;
    }
}

@media only screen and (max-width: 1024px) {
    .quote_section .section {
        padding: 6.1em 0;
    }
}

@media only screen and (max-width: 1020px) {
    .reference_grid_sektion .individual_post:nth-of-type(4) .post_data {
        background: white;
    }

    section.reference_grid_sektion.nyt-forside-design .stom-reference-grid {
        grid-template-columns: repeat(var(--grid-2-cols), minmax(0, 1fr));
    }

    section.reference_grid_sektion.nyt-forside-design .individual_post .post_data {
        padding: var(--gap-s) 0 0;
    }

    .stom-grid-section.new-kolonner-design .section.columns-3 .grid-elements {
        grid-template-columns: repeat(var(--grid-1-cols), minmax(0, 1fr));
    }

    body #colophon .section-wrap.footer-widget-area .section {
        grid-template-columns: auto;
    }

    body #colophon .section-wrap.footer-widget-area .section .footer-widgets.widgets-4 {
        grid-column: span 1;
    }

    #colophon .widgets-1 img {
        max-width: 400px;
        margin-bottom: 0 !important;
    }
}


/****** IPADS - VERTIKALT ******/

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

    /* .three_box_slider_sektion .slick-slide {
        margin: 0 .5em !important;
    }

    .three_box_slider_sektion .slick-list {
        margin: 0 -1.5em;
    } */

    .footer-formular-sektion.contact-form.stom-billede-sektion .stom-picture {
        width: 100%;
    }

    section.section-wrap.stom-grid-section.double-billed-kolonner .section .grid-elements {
        grid-template-columns: 50% 50%;
    }

    .site-branding {
        border-right: none;
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design.cols_4 {
        grid-template-columns: repeat(var(--grid-2-cols), minmax(0, 1fr));
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper.stom-medarbejder-wrapper-quotes {
        font-size: 22px;
        line-height: 1.3;
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper.stom-medarbejder-wrapper-quotes .stom-custom-svg {
        font-size: 60px;
    }

    body.home .stom-billede-sektion .section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    body.home .stom-billede-sektion.picture-right .stom-cols-6,
    body.home .stom-billede-sektion.picture-left .stom-cols-6 {
        padding-right: 0;
    }

    body #colophon .section-wrap.footer-widget-area .section .footer-widgets.widgets-4 .textwidget .footer-icons img {
        height: 30px;
    }

    body.home .stom-billede-sektion .stom-cols-6 {
        grid-column: 1;
        grid-row: 1;
    }

    body.home .stom-billede-sektion .stom-picture {
        grid-column: 1;
        grid-row: 2;
        max-height: 350px;
        background-size: cover;
        background-position: center;
    }

    body.home .stom-billede-sektion .stom-center-box {
        padding-bottom: var(--gap-m);
    }

    section.page-slider-section.new-slider-design button.slick-arrow.slick-next {
        transform: unset;
        bottom: calc(300px / 2 - 30px);
        top: unset;
    }

    section.page-slider-section.new-slider-design .slider-text .slider-text-inner br {
        display: none;
    }

    section.page-slider-section.new-slider-design .slider-text .slider-text-inner {
        margin-top: var(--gap-l);
        background-color: white;
    }

    section.page-slider-section.new-slider-design .slider-text .slider-text-inner>p {
        max-width: 500px;
    }

    section.page-slider-section.new-slider-design .image-aligner {
        min-height: 300px;
    }

    body.home section.page-slider-section.new-slider-design .slider-text {
        min-height: unset;
        padding-bottom: var(--gap-m);
        padding-right: var(--gap-l);
        width: 100%;
    }

    body.home section.page-slider-section.new-slider-design .slider-text .slider-text-inner *:last-child {
        margin-bottom: 0;
    }

    section.page-slider-section.new-slider-design .slick-track .slide-element.slide-image {
        grid-template-columns: 1fr;
    }

    .section-wrap.slider_side .section {
        display: unset;
    }

    .slider_side .stom-cols-7,
    .slider_side .stom-cols-5 {
        width: 100%;
    }

    .slider_side .stom-cols-5 {
        padding: 0 35px;
        margin-bottom: 50px;
    }

    .maegler_sektion {
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    body:not(.single-prospekt) .maegler_sektion {
        max-width: calc(100% - (40px * 2));
    }

    .maegler_sektion .maegler_billede {
        width: 35%;
    }

    .maegler_sektion>div {
        width: 60%;
    }

    .maegler_information h2,
    .medarbejdere-excerpt {
        max-width: unset;
    }

    .maegler_billede img {
        max-height: 300px;
    }

    section.section-wrap.clear.reference_grid_sektion.udvalgte_slider {
        padding-top: 0;
    }

    .page-custom-slider-section.style-custom-single .slider-inner,
    .page-custom-slider-section.style-custom .slick-slider .slick-track .slide-element {
        display: block;
    }

    .page-custom-slider-section .slider-text-inner .slider-text-inner-wrapper {
        max-width: 100%;
    }

    section.section-wrap.page-custom-slider-section.style-site .slider-inner .slick-slider .slider-text .slider-text-inner,
    section.section-wrap.page-custom-slider-section.style-site-single .slider-text .slider-text-inner,
    body .page-custom-slider-section.style-custom .slider-inner .slider-text .slider-text-inner,
    body .page-custom-slider-section.page-custom-slider-section.style-custom-single .slider-inner .slider-text .slider-text-inner {
        width: 100%;
    }

    body .page-custom-slider-section.style-custom-single .image-aligner img,
    body .page-custom-slider-section.style-custom-single .slide-element video,
    body .page-custom-slider-section.style-custom-single .slide-element iframe,
    body .page-custom-slider-section.style-custom .image-aligner img,
    body .page-custom-slider-section.style-custom .slide-element video,
    body .page-custom-slider-section.style-custom .slide-element iframe {
        position: relative;
        max-height: 400px;
    }

    .page-custom-slider-section.style-custom .slick-slider .slick-track .slide-element {
        margin: 0 auto !important;
    }

    .page-custom-slider-section .slider-text-inner .slider-text-inner-wrapper,
    .page-custom-slider-section.style-default .slider-text-inner .slider-text-inner-wrapper.needs_padding_on_box,
    .page-custom-slider-section.style-site .slider-text-inner .slider-text-inner-wrapper.needs_padding_on_box {
        padding: 25px;
    }

    .page-custom-slider-section .slider-text-inner .slider-text-inner-wrapper.needs_padding_on_box {
        padding: 25px;
    }

    .page-custom-slider-section.single_image_pos_left .slider-inner .slider-text .slider-text-inner {
        margin-left: 0;

    }

    .page-custom-slider-section.style-default .slider-inner .slick-slider .slider-text,
    .page-custom-slider-section.style-default-single .slider-text {
        padding: 30px 0;
        min-height: unset;
    }

    .page-custom-slider-section.style-custom .slider-inner .slider-text,
    .page-custom-slider-section.page-custom-slider-section.style-custom-single .slider-inner .slider-text {
        min-height: unset;
    }

    body .page-custom-slider-section.style-custom .slider-inner .slider-text .slider-text-inner,
    body .page-custom-slider-section.page-custom-slider-section.style-custom-single .slider-inner .slider-text .slider-text-inner {
        padding: 0 !important;
    }

    .page-custom-slider-section.single_image_pos_right .slider-inner .slider-text .slider-text-inner {
        margin-right: 0;

    }

    /*     html, body, input, select, optgroup, textarea {
        font-size: 13px !important;
    } */
    .prospekt_arc .entry-header {
        padding: 15px 30px 0;
    }

    .prospekt_arc .entry-content {
        padding: 25px 30px 25px 30px;
    }

    .prospekt_arc .entry-header {
        right: 30px;
    }

    .prospekt_address {
        /* font-size: 13px; */
    }

    select.boxselect,
    .minmax_selector,
    a.openfilters,
    #fritekst {
        width: 48.5%;
        margin-right: 1.5%;
        margin-top: .9em;
    }

    .prospekt_sorterings_form {
        padding: 0 1.7% 0 3%;
    }

    .prospekt_arc article h2 {
        font-size: 14px !important;
    }

    .hvem-er-vi-grid .grid-element {
        width: 100% !important;
        margin-bottom: 1em;
    }

    .isotopesortering {
        flex-wrap: wrap;
    }

    .isotopesortering a {
        width: 49%;
    }

    .isotopesortering .divider.two {
        display: none;
    }

    .reference_grid a {
        min-height: 185px;
    }

    #colophon .widgets-1 img {
        margin-bottom: 40px;
        margin-top: 0;
    }

    .quote_section .section {
        font-size: 19px;
    }

    #frontpage_overlay_section .section {
        padding-bottom: 6px;
    }

    .home .hero_section {
        margin: 40px 0 85px;
    }

    body:not(.home) .section-wrap:not(.hero_section) .section {
        padding: 50px 0;
    }

    body:not(.home) .hero_section {
        margin: 40px 0 50px;
    }

    #main-content .section-wrap:last-of-type .section {
        padding-bottom: 100px;
    }

    section.stom-billede-sektion.footer-formular-sektion.contact-form {
        padding-bottom: var(--gap-l);
    }

}

@media only screen and (max-width: 956px) {
    .style-header-1 .nav-wrap {
        justify-content: flex-end;
    }
}

@media only screen and (max-width: 900px) {
    .stom_medarbejdere-template-default.single .entry-content {
        flex-direction: column-reverse;
    }

    h1,
    .page-slider-section h2 {
        font-size: 28px !important;
    }

    body:not(.home) .cols_4 .stom-medarbejder-wrapper,
    body:not(.home) .cols_4 .stom-medarbejder-wrapper:nth-of-type(4n) {
        width: calc((100% - (4%)) / 2) !important;
        margin: 0 !important;
    }

    body.home .cols_4 .stom-medarbejder-wrapper,
    body.home .cols_4 .stom-medarbejder-wrapper:nth-of-type(4n) {
        width: 100% !important;
        margin: 0 !important;
    }

    /* hover-col-boxes */
    .stom-grid-section.hover-col-boxes .section .grid-elements {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media only screen and (max-width: 810px) {
    .propsectimage {
        flex-direction: column;
        margin-bottom: 3em;
    }

    .propsectimage .prospektinfo {
        padding: 1.5em 0 0;
    }

    .propsectimage .tableinfobuttons {
        white-space: unset;
    }

    .propsectimage .prospektinfo::after {
        background-size: contain;
    }

    .kolonner2 .columns {
        column-count: 1;
    }

    .reference_grid a {
        --ref-per-row: 3;
    }

    .reference_grid a:nth-of-type(4n+1) {
        border-left: 1px solid black;
    }

    .reference_grid a:nth-of-type(3n+1) {
        border-left: 1px solid white;
    }

    .reference_grid a:nth-of-type(4) {
        border-top: 1px solid black;
    }

    .quote_section .section {
        font-size: 18px;
    }

    tr.stom-medarbejder-title td {
        height: 2.6em;
        font-size: .9em;
    }

    .stom-medarbejdere .stom-medarbejder-stilling,
    .stom-medarbejdere .stom-medarbejder-stilling_fortsat {
        font-family: var(--f1-tie);
        font-size: 13px;
        color: #565656;
    }

    h3,
    .page-slider-section h4 {
        font-size: 20px !important;
    }

    #colophon .footer-widget-area .section::before {
        background-size: 260px;
        height: calc(47.5px + 3em);
    }


}


/****** MINDRE END IPADS VERTIKALT ******/

@media only screen and (max-width: 782px) {
    .prospekt_arc article {
        width: 100%;
    }

    .stom-grid-section.new-kolonner-design .section.columns-6 .grid-elements {
        grid-template-columns: repeat(var(--grid-2-cols), minmax(0, 1fr));
    }

    .prospekt_address {
        min-height: unset;
    }

    .prospekt_arc article h2 {
        min-height: unset;
    }

    .prospekt_arc article h2 {
        font-size: 18px !important;
    }

    body .page-custom-slider-section.style-custom-single .image-aligner img,
    body .page-custom-slider-section.style-custom-single .slide-element video,
    body .page-custom-slider-section.style-custom-single .slide-element iframe,
    body .page-custom-slider-section.style-custom .image-aligner img,
    body .page-custom-slider-section.style-custom .slide-element video,
    body .page-custom-slider-section.style-custom .slide-element iframe {
        max-height: 300px;
    }
}

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

    :root body {

        --h1: 32px;
        --gap-l: 40px;
        --gap-m: 20px;
    }

    .footer-formular-sektion.contact-form.stom-billede-sektion .gform_footer {
        margin-top: var(--gap-s);
    }

    section.reference_grid_sektion.nyt-forside-design.reference_grid_sektion.udvalgte_slider .h2_container,
    .section-wrap.three_box_slider_sektion.nyheder_slider.nyt-forside-design .h2_container {
        margin-bottom: var(--gap-s);
    }

    section.reference_grid_sektion.nyt-forside-design .stom-reference-grid {
        grid-template-columns: repeat(var(--grid-1-cols), minmax(0, 1fr));
    }

    .stom-billede-sektion:not(.hero_section).picture-left .stom-cols-6 {
        padding: 0;
    }

    .footer-widget-area .stom-cols-3 {
        width: 100% !important;
        margin-right: unset !important;
    }

    .section-fullpage .section {
        margin: 0 !important;
        padding: 40px !important;
    }

    .three_box_slider_sektion .h2_container,
    .three_box_slider_sektion .button_container {
        margin: 1em 25px 0 0;
    }

    #frontpage_overlay_section h2 {
        margin-bottom: 15px;
    }

    .stom-medarbejdere {
        margin-top: 0;
    }

    .ejendomstyper.stom-grid-section .section .grid-element {
        height: 165px;
    }

    .prospekt_sorterings_form label,
    .prospekt_sorterings_form select,
    .prospekt_sorterings_form input,
    .prospekt_sorterings_form .openfilters {
        font-size: 14px !important;
    }

    .section,
    .section-wrap .section {
        padding: 20px 0px;
    }

    .reference_grid_sektion .h2_container,
    .reference_grid_sektion .button_container {
        margin: 0;
    }

    .reference_grid_sektion .button_container {
        margin-top: 2em;
    }

    .site-branding #logo {
        padding: 10px 20px 10px 0;
    }

    .hero_section {
        margin-top: 0;
    }

    .hero_section.stom-billede-sektion {
        height: min-content !important;
        position: relative;
    }

    section.section-wrap.stom-grid-section.double-billed-kolonner .section .grid-elements {
        grid-template-columns: 1fr;
    }

    section.section-wrap.stom-grid-section.double-billed-kolonner .section .grid-element>img {
        visibility: visible !important;
        position: relative;
        object-fit: cover;
        padding-right: 0;
        max-height: 350px;
        object-position: center;
        margin-bottom: var(--gap-m);
    }

    .hero_section.stom-billede-sektion .stom-picture {
        position: absolute !important;
        top: 0px;
        bottom: 0px;
        right: 0 !important;
        left: 0 !important;
        /* right: 40px !important;
        left: 40px !important;
        max-width: calc(100% - 80px);
        max-height: calc(100% - 40px); */
        z-index: 1;
    }

    section.section-wrap.stom-grid-section.double-billed-kolonner .overlay h2 {
        margin-top: unset;
    }

    .page-custom-slider-section.style-default .slider-inner .slick-slider .slider-text,
    .page-custom-slider-section.style-default-single .slider-text {
        justify-content: center !important;
    }

    .page-custom-slider-section.style-default .slider-inner .slick-slider .slider-text .slider-text-inner,
    .page-custom-slider-section.style-default-single .slider-text .slider-text-inner {
        width: 100%;
    }

    .hero_section.stom-billede-sektion .stom-cols-6,
    .hero_section.stom-billede-sektion .stom-picture {
        min-height: unset;
    }

    .hero_section.stom-billede-sektion .stom-cols-6 {
        position: relative;
        background: #00000099;
        z-index: 5;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0 !important;
        padding: 50px 0;
        min-height: 350px;
        color: white;
    }

    .hero_section .stom-button.boxed_arrow a {
        color: white;
        border: 1px solid white;
    }

    .hero_section .stom-button a:hover {
        background-color: white;
        color: black;
    }

    .hero_section .stom-button.boxed_arrow a::before {
        filter: invert(1);
    }

    .hero_section.stom-billede-sektion .stom-cols-6 .stom-center-box {
        padding: 0 50px;
    }

    .hero_section strong {
        font-weight: 500;
        color: white;
    }

    #colophon .stom-cols-6 {
        width: 49% !important;
        margin: 0 2% 0 0 !important;
    }

    #colophon .stom-cols-6:last-of-type {
        margin-right: 0 !important;
    }

    .stom-billede-sektion.hero_section .section {
        /* position: unset; */
        padding: 0;
    }

    .ejendomstyper.stom-grid-section .section.columns-3 .grid-element {
        width: 100%;
    }

    .home .hero_section {
        margin: 25px 0 100px;
        padding: 0;
    }

    .stom-billede-sektion:not(.hero_section) .stom-picture {
        width: 100%;
        max-height: 50vh;
    }

    .stom-billede-sektion:not(.hero_section) .section {
        padding: 50px 0;
    }

    .soegeopslag_liste article,
    .archive article.category-nyheder,
    .archive article.soegeoplag {
        width: 100%;
        max-width: unset;
    }

    .cols_4 .stom-medarbejder-wrapper {
        margin-top: 20px;
    }

    .hero_section {
        margin: 40px 0 0;
    }

    .stom-billede-sektion {
        padding: 0;
    }

    .section-wrap.stom-grid-section .section .grid-element,
    .section-wrap.stom-grid-section.section-fullpage .section .grid-element {
        width: 100% !important;
        margin: 0 !important;
    }

    .download_map_section .stom-cols-6.map-container.last {
        bottom: 0;
    }

    .download_map_section,
    .download_map_section div#download {
        height: unset;
    }

    .download_map_section .stom-cols-6.map-container.last {
        height: 600px;
    }

    .download_map_section,
    .download_map_section .section {
        padding-bottom: 590px;
    }

    .download_map_section iframe {
        height: 620px;
    }

    .bottom_contact .size_container {
        margin-right: auto;
    }

    .section,
    .section-wrap .section {
        padding: 50px 0px;
    }

    .soegeopslag_liste .post-thumbnail,
    .archive article.category-nyheder .post-thumbnail,
    .archive article.soegeoplag .post-thumbnail {
        height: 235px;
    }

    .soegeopslag_liste .post-thumbnail img,
    .archive article.category-nyheder .post-thumbnail img,
    .archive article.soegeoplag .post-thumbnail img {
        height: 235px;
    }

    .soegeopslag_liste .post-content-wrapper,
    .archive article.category-nyheder .post-content-wrapper,
    /* .three_box_slider_sektion .individual_post .post_data, */
    .home .reference_grid_sektion .individual_post .post_data {
        min-height: unset;
    }

    .archive article.category-nyheder .entry-header h3 {
        min-height: unset;
    }



    .crm-login-form form {
        flex-wrap: wrap;
    }

    .crm-login-form form p:not(.login-submit) {
        width: 100%;
        margin: 0 0 30px;
    }

    .stom-reference-grid,
    .stom-medarbejdere {
        gap: 30px 4%;
    }

    body:not(.home) .three_box_slider_sektion.section-wrap .section {
        padding: 50px 0 !important;
    }

    .stom-billede-sektion:not(.hero_section).picture-right .stom-cols-6 {
        padding: 0 20px 30px 0;
    }

    .ejendomstyper .grid-elements .grid-element:last-child {
        margin-bottom: 0 !important;
    }

    .soegeopslag_liste,
    .archive.category-nyheder #primary,
    .post-type-archive-soegeoplag #primary {
        gap: 25px 4%;
    }

    .prospekt_arc article {
        margin-bottom: 25px;
    }

    .contact-page .section,
    .contact-page .section .overlay,
    .contact-page .section .grid-elements .grid-element:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    #main-content .section-wrap:not(.quote_section) .section ul:not(.slick-dots) {
        padding-left: 18px;
    }

    .quote_section .section {
        padding: 4.2em 0;
    }

    body:not(.home) .hero_section {
        margin: 25px 0 0;
    }

    section.page-slider-section.new-slider-design .slider-text .slider-text-inner p {
        font-size: 18px;
    }
}

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

    section.reference_grid_sektion.nyt-forside-design.reference_grid_sektion.udvalgte_slider .h2_container,
    .section-wrap.three_box_slider_sektion.nyheder_slider.nyt-forside-design .h2_container,
    body .opdelt-overskrift-sektion {
        display: block;
        text-align: left;
    }

    section.reference_grid_sektion.nyt-forside-design.reference_grid_sektion.udvalgte_slider .h2_container a,
    .section-wrap.three_box_slider_sektion.nyheder_slider.nyt-forside-design .h2_container a,
    body .opdelt-overskrift-sektion a {
        padding-top: 15px;
        display: block;
    }

    section.stom-off-market-section .section.columns-2 .grid-elements {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    section.stom-off-market-section .stom-off-market-section-star {
        width: var(--gap-l);
    }

    .stom-off-market-section-overlay .stom-off-market-section-overlay-form {
        padding: var(--gap-l);
    }

    section.stom-off-market-section .section .grid-elements .grid-element {
        padding: var(--gap-m) var(--gap-m) var(--gap-m) calc(var(--gap-l) + 20px);
    }
}

@media only screen and (max-width: 641px) {
    .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        line-height: 1 !important;
        min-height: unset !important;
    }

    body.home .stom-billede-sektion .stom-picture {
        max-height: 300px;
    }

    /* hover-col-boxes */
    .stom-grid-section.hover-col-boxes .section .grid-elements {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    section.page-slider-section.new-slider-design .image-aligner {
        min-height: 250px;
    }

    section.page-slider-section.new-slider-design button.slick-arrow.slick-next {
        bottom: calc(250px / 2 - 30px);
    }
}

@media only screen and (max-width: 639px) {
    .soegeopslag_liste .post-thumbnail {
        /* min-height: 200px; */
    }

    .nyheder_slider.nyt-forside-design.three_box_slider_sektion .slick-list {
        margin-right: -20px;
        padding-right: 0 !important;
    }

    section.section-wrap.page-custom-slider-section.style-site,
    section.section-wrap.page-custom-slider-section.style-site-single {
        width: 100%;
    }

    .salg_leje_slider.page-slider-section .slider-text-inner {
        min-height: 223px !important;
    }

    body:not(.home) .page-slider-section .slide-element,
    body:not(.home).page-slider-section .slides.slick-slider,
    body:not(.home) .page-slider-section .slick-slider .slick-list {
        height: 223px !important;
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper tr.stom-medarbejder-stilling td,
    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper tr.stom-medarbejder-stilling_fortsat td,
    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper tr.stom-medarbejder-email td,
    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper tr.stom-medarbejder-phone td {
        font-size: 16px;
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper tr.stom-medarbejder-title td {
        font-size: 20px;
    }

    .prospekt-single-slider-wrapper img {
        pointer-events: unset !important;
    }

    h1,
    .page-slider-section h2 {
        font-size: 25px !important;
    }

    h2 {
        font-size: 22px !important;
    }

    h3,
    .page-slider-section h4 {
        font-size: 14px !important;
    }

    h4,
    .page-slider-section h5 {
        font-size: 13px !important;
    }

    h5,
    .page-slider-section h6 {
        font-size: 13px !important;
    }

    .single-prospekt .prospektinfo h5 {
        font-size: 16px !important;
    }



    .hero_section strong {
        font-size: 15px;
    }

    .hero_section .stom-button a {
        font-size: 15px;
    }

    .slider_side .wp-caption-text h4 {
        font-size: 18px;
    }

    .prospekt-single-slider-wrapper img,
    .prospekt-single-slider-wrapper img.slick-active+img.slick-active {
        filter: unset !important;
        transform: unset !important;
    }

    .prospekt-single-slider-wrapper .slick-list {
        padding: 0;
    }

    .prospekt_text_content div {
        columns: 1;
    }

    .slider_side .slick-slide img {
        height: 320px;
    }

    #colophon .section-wrap.footer-widget-area .section::after {
        background-size: 100%;
    }

    select.boxselect,
    .minmax_selector,
    a.openfilters,
    #fritekst {
        width: 100%;
        margin-top: .5em;
    }

    select.boxselect,
    a.openfilters,
    #fritekst,
    .minmax_selector label {
        padding: .2em 0;
    }

    .minmax_selector label {
        padding-bottom: 0 !important;
    }

    .prospekt_sorterings_form {
        padding: .5em 1.5em 0;
    }

    .salg_leje_slider.page-slider-section .slide-element,
    .salg_leje_slider .slick-list {
        min-height: 500px !important;
    }

    .post-type-archive-referencesager article {
        width: 100% !important;
        padding-bottom: 0;
        margin-bottom: 25px;
    }

    .post-type-archive-referencesager .referencesager_arkiv.tall img {
        height: 213px !important;
    }

    .reference_grid a {
        min-height: 140px;
    }

    .single-prospekt h1.prospek_title {
        margin-bottom: 5px;
    }

    .single-prospekt .prospek_sub_title {
        font-weight: 500;
    }

    body #colophon .section-wrap.footer-widget-area .section .footer-widgets.widgets-4 {
        grid-column: span 1;
    }
}

/****** MOBILER ******/
@media only screen and (max-width: 600px) {

    .cols_4 .stom-medarbejder-wrapper,
    .cols_4 .stom-medarbejder-wrapper:nth-of-type(3n),
    .cols_4 .stom-medarbejder-wrapper:nth-of-type(4n) {
        margin-right: 0 !important;
        width: calc((100% - (4%)) / 2) !important;
    }

    section.new-kolonner-design.stom-grid-section .grid-elements .grid-element:not(.fullwidth) .overlay .readmore {
        font-size: 18px;
    }

    section.new-kolonner-design.stom-grid-section .grid-elements .grid-element:not(.fullwidth) .overlay>p {
        font-size: 16px;
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper.stom-medarbejder-wrapper-quotes {
        font-size: 20px;
    }

    body #colophon .section-wrap.footer-widget-area .section .footer-widgets.widgets-4 .textwidget .footer-icons {
        display: inline-block;
        width: 100%;
    }

    body #colophon .section-wrap.footer-widget-area .section .footer-widgets.widgets-4 .textwidget .footer-icons .left-side {
        display: inline-block;
        margin-bottom: 10px;
    }

    body #colophon .section-wrap.footer-widget-area .section .footer-widgets.widgets-4 .textwidget .footer-icons .left-side img:last-child {
        margin-left: var(--gap-s);
    }

    .stom-off-market-section-overlay .stom-off-market-section-overlay-form {
        min-width: unset;
        width: calc(100% - (var(--gap-l) * 2));
    }

    body .stom-off-market-section-overlay-form h3 {
        font-size: 20px !important;
    }
}

@media only screen and (max-width: 512px) {
    #colophon .stom-cols-6 {
        width: 100% !important;
        margin: 0 0 1em !important;
    }

    section.new-kolonner-design.stom-grid-section .grid-elements .grid-element.fullwidth:last-of-type .overlay .stom-button.boxed_arrow {
        width: 100%;
    }

    #colophon h2 {
        font-size: 25px !important;
        margin: 0 0 .5em;
    }

    .soegeopslag_liste article {
        max-width: 100% !important;
    }

    #colophon .footer-widget-area .section::before {
        background-size: 200px;
        height: calc(36.5px + 3em);
    }

    .soegeopslag_liste .post-content-wrapper {
        min-height: 0;
    }

    .soegeopslag_liste .entry-header h3 {
        min-height: unset;
    }

    section.page-slider-section.new-slider-design button.slick-arrow.slick-next {
        display: none !important;
    }

    .stom-grid-section.new-kolonner-design .section.columns-6 .grid-elements {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design.cols_4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper.stom-medarbejder-wrapper-quotes {
        grid-column: span 1;
    }

    body.home .stom-medarbejder-thumb {
        padding-top: 75% !important;
    }
}

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

    :root body {
        --gap-l: 30px;
        --gap-s: 15px;
        --h1: 30px;
        --h2: 28px;
    }

    .stom-off-market-section-overlay .stom-off-market-section-overlay-form {
        width: calc(100% - var(--gap-l));
    }


    #colophon .widgets-1 img {
        max-width: 300px;
    }

    body.home .stom-billede-sektion .stom-picture {
        max-height: 250px;
    }

    section.medarbejder-sektion div.stom-medarbejdere.nyt-forside-design .stom-medarbejder-wrapper.stom-medarbejder-wrapper-quotes {
        font-size: 18px;
    }

    section.page-slider-section.new-slider-design .slider-text .slider-text-inner p {
        font-size: 16px;
    }

    .soegeopslag_liste .post-thumbnail,
    .archive article.category-nyheder .post-thumbnail,
    .archive article.soegeoplag .post-thumbnail {
        height: 165px;
    }

    section.page-slider-section.new-slider-design .image-aligner {
        min-height: 200px;
    }

    section.section-wrap.page-custom-slider-section.style-site .slider-inner .slick-slider .slider-text .slider-text-inner,
    section.section-wrap.page-custom-slider-section.style-site-single .slider-text .slider-text-inner {
        margin: 0 25px;
    }

    section.page-custom-slider-section.section-wrap.style-custom .section,
    section.page-custom-slider-section.section-wrap.style-custom-single .section {
        max-width: calc(100% - 50px);
    }

    .page-custom-slider-section.style-default .slider-inner .slick-slider .slider-text,
    .page-custom-slider-section.style-default-single .slider-text {
        max-width: calc(100% - 50px);
    }

    .page-custom-slider-section .slider-inner .slider-text .slider-text-inner {
        padding: 25px 0 25px 0 !important;
    }

    body:not(.single-prospekt) .maegler_sektion {
        max-width: calc(100% - (25px * 2));
    }

    .soegeopslag_liste .post-thumbnail img,
    .archive article.category-nyheder .post-thumbnail img,
    .archive article.soegeoplag .post-thumbnail img {
        height: 165px;
    }

    .stom-billede-sektion .section,
    .kolonner2 .section,
    .basis_sektion .section {
        width: calc(100% - 50px) !important;
    }

    .prospekt-template-default .post-thumbnail img {
        min-height: 200px;
    }

    .prospekt-single-slider-wrapper .slick-next,
    .prospekt-single-slider-wrapper .slick-prev {
        padding-right: 2px;
        height: 32px;
        width: 32px;
    }

    .slider_side .wp-caption-text {
        position: unset;
    }

    .reference_grid a {
        --ref-per-row: 2;
    }

    .reference_grid a:nth-of-type(3n+1) {
        border-left: 1px solid black;
    }

    .reference_grid a:nth-of-type(2n+1) {
        border-left: 1px solid white;
    }

    .reference_grid a:nth-of-type(3) {
        border-top: 1px solid black;
    }

    #number-three-sticky-mobile-cta .cta-container .stom-button a {
        font-size: 13px;
    }

    h1,
    .page-slider-section h2 {
        font-size: 20px !important;
    }

    h2,
    .page-slider-section h3,
    .slider_side h2 {
        font-size: 18px !important;
    }

    .slider_side .wp-caption-text h4 {
        font-size: 17px;
    }

    .maegler_sektion {
        flex-direction: column-reverse;
    }

    .maegler_sektion>div,
    .maegler_sektion .maegler_billede {
        width: 100%;
        /* padding-left: 2em; */
        padding-right: 2em;
    }

    .maegler_information h2,
    .medarbejdere-excerpt {
        max-width: unset;
    }

    .maegler_billede img {
        max-height: unset;
    }

    .prospekt_arc article h2 {
        font-size: 14px !important;
    }

    .isotopesortering a {
        font-size: 13px;
    }

    .three_box_slider_sektion .individual_post img {
        min-height: 300px;
    }

    .slider_side .slick-slide img {
        height: 230px;
        width: 100%;
    }

    body:not(.home) .page-slider-section .slide-element,
    body:not(.home) .page-slider-section .slick-list {
        height: 25vh !important;
        min-height: unset;
    }

    .reference_grid_sektion .individual_post img {
        min-height: 300px;
    }

    .reference_grid_sektion .individual_post .post_data {
        max-width: 90%;
        padding: 1em 2em 0 0;
    }

    .stom-button.boxed_arrow a {
        padding: 4px 1em 4px calc(40px + 1em);
        line-height: 1.1;
        font-size: 14px;
    }

    .hero_section {
        margin: 40px 0 20px;
    }

    .soegeopslag_liste .entry-header,
    .archive article.category-nyheder .entry-header,
    .archive article.soegeoplag .entry-header {
        position: relative;
        transform: unset;
    }

    .home .hero_section {
        margin: 20px 0 100px;
        padding: 0;
    }

    .hero_section.stom-billede-sektion .stom-cols-6 .stom-center-box {
        padding: 0 25px;
    }

    .stom-button.boxed_arrow a {
        min-height: 35px;
    }

    .stom-button.boxed_arrow a::before {
        min-width: 35px;
    }

    .hero_section .stom-button:not(:last-of-type) a {
        margin-right: .5em;
        margin-bottom: .5em;
    }

    .hero_section.stom-billede-sektion .stom-cols-6 {
        padding: 20px 0;
        min-height: 340px;
    }

    body:not(.home) .header-wrapper,
    body:not(.home) #content,
    body:not(.home) .section,
    body:not(.home) footer.site-footer .site-info,
    body:not(.home) .reference_grid_sektion .section,
    body:not(.home) .three_box_slider_sektion .section,
    body:not(.home) #colophon .section {
        margin: 0 25px;
    }

    /* .slides.slick-slider,
    .slick-slider .slick-list {
        height: unset !important;
        max-height: unset;
    } */

    .cols_4 .stom-medarbejder-wrapper,
    .cols_4 .stom-medarbejder-wrapper:nth-of-type(3n),
    .cols_4 .stom-medarbejder-wrapper:nth-of-type(4n) {
        width: 100% !important;
        margin: 0 !important;
    }


    .section,
    .section-wrap .section {
        padding: 50px 0px;
    }

    .section-fullpage .section {
        padding: 0 !important;
        width: calc(100% - 50px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }


    .crm-login-form form p.login-submit {
        width: 100%;
    }

    #loginform #wp-submit {
        width: 100%;
        padding-right: calc(1.5em + 37px);
    }

    .slider_side .stom-cols-5:not(.last) {
        padding: 0 25px !important;
    }

    .slider_side .slick-slider {
        padding-left: 10px;
    }

    .home #main-content .slider_side .stom-cols-7.last::before {
        left: -821px;
    }

    .section-fullpage.hvem-er-vi-grid .section {
        padding: 25px !important;
    }

    #frontpage_overlay_section .section {
        padding-bottom: 10px;
    }

    .quote_section .section {
        padding: 2.7em 0;
    }

    .stom_medarbejder-detaljer {
        margin-bottom: 0;
    }

    .site-branding #logo a {
        display: block;
        height: 25px;
    }

    .style-header-1 .header-wrapper {
        min-height: 70px;
    }

    .nav-wrap {
        min-height: 47px
    }

    .first-jumbo-unit .stom-center-box p:first-of-type {
        min-height: 115px;
    }

    .slider_side .stom-center-box p:first-of-type {
        min-height: 108px;
    }

    .hero_section .stom-button.boxed_arrow,
    .slider_side .stom-button.boxed_arrow {
        min-height: 35px;
    }

    .home #main-content .slider_side .stom-cols-7.last::before {
        display: none;
    }

    .prospect-label,
    .prospekt_arc article>.thumbnail-container .prospect-label {
        font-size: 12px;
    }
}

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

    :root body {

        --h1: 28px;
        --h2: 26px;
        --h3: 20px;
    }


    .prospekt_arc .entry-header {
        /* position: relative; */
    }

    .prospekt_arc .entry-content {
        padding: 25px 20px 25px 20px;
        font-size: 13px;
    }

    .prospekt_arc .entry-header {
        padding: 15px 20px 0;
    }
}