/*
Theme Name: Number Three One - Child
Theme URI: https://standoutmedia.dk/
Author: Standoutmedia A/S
Author URI: https://standoutmedia.dk/
Description: Et helt specielt Standoutmedia Tema
Template: number-three-one
Text Domain: number-three-child
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* ===== CSS Variables ===== */

:root {
    /* Font sizes */
    --h1: 60px;
    --h2: 60px;
    --h2-second: 40px;
    --h3: 18px;
    --h4: 30px;
    --h5: 16px;
    --h6: 14px;
    --p: 18px;

    /* Gaps */
    --gap-l: 90px;
    --gap-m: 40px;
    --gap-s: 20px;

    /* font families */
    --h-fam: work-sans, sans-serif;
    --p-fam: work-sans, sans-serif;
    --btn-fam: var(--p-fam);

    /* colors */
    --color-1: #DA433E;
    --color-2: #b31e18;
    --color-bg: #f6f6f6;
    --color-text: #222;
    --color-dark: #222;
    --color-overlay: rgb(0 0 0 / 40%);
    --color-white: #fff;

    /* transitions */
    --transition: .175s ease-out;

    /* Margin on the right and left of the main content sections (change 0 to 1 to match template distances)*/
    --content-margin: calc(0 * var(--gap-m));
    --slider-text-width: 800px;

    /* Theme defined variables from PHP */
    --content-width: initial;
    --sidebar-width: initial;
    /* END Theme defined variables from PHP */
}

h1 {
    font-weight: 400;
}

h2 {
    font-weight: 400;
}

p {
    font-weight: 400;
}

h1, h2 {
	letter-spacing: -1.2px;
}

h3, h4, h5, p {
	letter-spacing: -.6px;
}

/* ===== END CSS Variables ===== */
.header-sticky-active.scrolled header .site-branding #logo img.logo-landscape {
    max-height: 45px;
}

.site-branding #logo img,
.site-branding #logo svg {
    /*max-width: 144px;*/
	max-width: 100%;
    max-height: 65px;
}

/* Menu btn */
.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-1064 {
    margin-block: var(--gap-s);
}

.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-1064 a {
    background-color: var(--color-1);
    color: var(--color-white);
    border-radius: 8px;
}

.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-1064 a:hover {
    background-color: var(--color-2);
}

.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-1064 a:before {
    display: none;
}

/* optimering af top slider tekst */
body:not(.home) .page-slider-section .slider-inner {
    position: relative;
    height: 100%;
}

body:not(.home) .page-slider-section .slider-inner .slides {
    position: absolute;
    width: 100%;
    height: 100%;
}

body:not(.home) .page-slider-section .slider-inner .slides .image-aligner img {
    height: 100%;
}

body:not(.home) .page-slider-section .slider-inner .slider-text {
    min-height: 400px;
    padding: calc(var(--header-height) + var(--gap-m)) var(--gap-s) var(--gap-m);
}

/* top-slider undersider */
body:not(.home) .page-slider-section .image-aligner img {
    width: 100%;
    height: auto;
    max-height: calc(60vh - var(--header-height));
    min-height: 100%;
    object-fit: cover;
    /*object-position: 80% 20%;*/
}

body.single-post .page-slider-section .slider-inner .slides .image-aligner img,
body.single-referencer .page-slider-section .slider-inner .slides .image-aligner img {
    object-position: center;
}

body.single-post #main-content,
body.single-referencer #main-content {
    margin-top: var(--gap-m);
}

body.single-post .posted-on,
body.single-referencer .posted-on {
    display: none;
}

section.section-wrap.banner-image.has-background {
    background-size: cover;
    max-width: var(--content-width);
    margin-inline: auto;
}

/* rettelser */
.page-slider-section:not(.different-text) .slide-element .video-aligner {
    padding-top: 0 !important;
}

body.home .page-slider-section .slider-text {
    margin-bottom: 7px;
    border-radius: 20px;
}

.page-slider-section.main-slider-section {
    margin-inline: 10px;
    margin-top: 10px;
}

.page-slider-section.image-pos-center-center .video-aligner video,
.page-slider-section.image-pos-center-center .image-aligner img {
    border-radius: 20px;
}

.page-slider-section .slider-text {
    border-radius: 20px;
}

body:not(.home) .page-slider-section .slider-text-inner .slider-text-inner-wrapper h1 {
    color: var(--color-white);
}

/*======================================================================//
// Generic classes                                                      //
//======================================================================*/
header .main-navigation ul.menu#primary-menu .sub-menu a {
    background-color: var(--color-white);
    justify-content: space-between;
    width: 300px;
    color: var(--color-dark)
}

.hover-active:not(.hover-style-bold) ul.menu .sub-menu a:before {
    background-color: var(--color-1);
}

header .main-navigation ul.menu .sub-menu a {
    justify-content: start;
}

.page-slider-section.mobile-slider.stom-lazyload-excluded.image-pos-center-center {
    display: none;
}

p {
    line-height: 1.3;
}

.page-slider-section .slider-text-inner .slider-text-inner-wrapper p {
    max-width: 650px;
    line-height: 1.3;
}

header .top-bar a {
    font-weight: 400;
}

/* btns */
.slider-btn .stom-custom-svg {
    line-height: 0;
    padding: 15px;
    background-color: var(--color-1);
    border-radius: 4px;
}

.slider-btn .stom-custom-svg svg {
    font-size: 14px;
}

.slider-btn .stom-custom-svg svg * {
    fill: var(--color-white);
}

.stom-button.slider-btn a {
    margin-top: var(--gap-m);
    font-size: 23px;
    font-weight: 400;
    padding: 1px 20px 1px 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    background-color: var(--color-white);
    border: 2px solid var(--color-white);
    color: var(--color-dark);
    border-radius: 3px;
}

.stom-button.slider-btn a:hover {
    background-color: var(--color-1);
    border: 2px solid var(--color-1);
    color: var(--color-white);
}

.stom-button.primary-btn a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    text-align: center;
    background-color: transparent;
    position: relative;
    font-size: 18px;
    color: var(--color-dark);
    height: 46px;
    font-weight: 400;
    padding-left: var(--gap-s);
    padding-right: 4px;
    border-radius: 50px;
    border: 1px solid var(--color-1);
    gap: 40px;
}

.stom-button.primary-btn a:hover {
    background-color: var(--color-1);
    color: var(--color-white);

}

.stom-button.primary-btn a span {
    background-color: var(--color-1);
    border-radius: 50px;
    padding: 11px;
}

.primary-btn a .stom-custom-svg,
.secondary-button a .stom-custom-svg {
    font-size: 14px;
    padding: 10px;
    transition: var(--transition);
}

.stom-button.primary-btn a .stom-custom-svg svg * {
    fill: white;
}

body:not(.stom-gform-legacy) .gform_wrapper .gform_footer button {
    margin: 0;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    padding: 0;
    align-items: center;
    transition: var(--transition);
    text-align: center;
    font-size: 18px;
    height: 49px;
    font-weight: 400;
    padding-left: var(--gap-s);
    padding-right: 4px;
    border-radius: 50px;
    gap: 40px;
}

body:not(.stom-gform-legacy) .gform_wrapper .gform_footer button:hover {
    background-color: var(--color-1);

}

body:not(.stom-gform-legacy) .gform_wrapper .gform_footer button a {
    color: var(--color-dark);
    background-color: transparent;
    border: none;
}

body:not(.stom-gform-legacy) .gform_wrapper .gform_footer button a:hover {
    color: var(--color-white);
}

body:not(.stom-gform-legacy) .gform_wrapper .gform_footer button span {
    background-color: var(--color-1);
    border-radius: 50px;
    padding: 11px;
}

/* zoom */
.zoom p {
    overflow: hidden
}

.zoom.grid-element {
    transition: transform .5s ease
}

.zoom.grid-element:hover {
    transform: scale(1.050)
}

.aabningstider-list {
    font-size: calc(var(--p) - 2px);
}

/*======================================================================//
// END Generic classes                                                  //
//======================================================================*/

/*======================================================================//
// header styling                                                       //
//======================================================================*/
body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-placeholder {
    display: none;
}

header#masthead {
    background-color: transparent;
    color: var(--color-dark);
    padding-inline: var(--gap-s);
}

header#masthead .header-wrapper {
    background-color: var(--color-white);
    transition: var(--transition);
    max-width: var(--content-width);
    padding-inline: var(--gap-m);
    border-radius: 10px;
}

.header-sticky-active.scrolled header .site-branding #logo {
    padding: var(--gap-s) 0;
}

header.site-header .section-wrap .section {
    padding: 5px 0;
    padding-top: 20px;
}

.site.header-sticky.header-sticky-active .header-wrapper {
    margin-top: 20px;
}

.site.header-sticky.header-sticky-active.scrolled .header-wrapper {
    margin-top: 10px;
    background-color: rgba(0, 0, 0, .6);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled #masthead {
    box-shadow: none;
}

.style-header-03 #site-navigation {
    justify-content: center;
}

header .main-navigation ul.menu a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: .7em 1.2em;
}

header .main-navigation ul.menu a svg {
    color: var(--color-1);
}

header .top-bar .top-bar-right {
    background-color: #303030;
    color: var(--color-white);
    transition: var(--transition);
    max-width: var(--content-width);
    padding-inline: 10px;
    border-radius: 10px;
}

header .top-bar .top-bar-right .stom-button a {
    margin-block: 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 400;
}

/*======================================================================//
// END header styling                                                   //
//======================================================================*/
.section-wrap.kompetencer-header.stom-lazyload-excluded p {
    max-width: 750px;
}

/*======================================================================//
//  box-section                                                         //
//======================================================================*/
body .stom-grid-section.box-section {
    margin-top: var(--gap-m);
}

.stom-grid-section.box-section .grid-element.has-background .overlay {
    padding: 15px;
    display: grid;
    grid-template-columns: 85% 1fr;
    align-items: end;
    gap: 10px;
}

.stom-grid-section.box-section .grid-element.has-background .overlay h3 {
    color: unset;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    background-color: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 10px 11px;
    border-radius: 5px;
}

.stom-grid-section.box-section .grid-element.has-background .overlay::after {
    display: none;
}

.stom-grid-section.box-section .grid-element.has-background .overlay span {
    background-color: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 13px;
    margin-bottom: 0px;

    border-radius: 5px;
    line-height: 0;
}

body .stom-grid-section.box-section .grid-element.has-background img {
    border-radius: 15px;
}

body .stom-grid-section.box-section .grid-element.has-background {
    border-radius: 15px;
}

/*======================================================================//
// END box-section                                                      //
//======================================================================*/

/*======================================================================//
// byggeplaner-section                                                  //
//======================================================================*/
body .stom-grid-section.byggeplaner-section {
    margin-top: calc(var(--gap-l) * 2);
}

.stom-grid-section.byggeplaner-section .section.columns-3 .grid-elements {
    grid-template-columns: 20% 30% 1fr;
}

.stom-grid-section.byggeplaner-section .section.columns-3 .grid-elements .grid-element img {
    border-radius: 15px;
}

.stom-grid-section.byggeplaner-section .section.columns-3 .grid-elements .grid-element.image-1 {
    /*margin-bottom: var(--gap-l);*/
}

.stom-grid-section.byggeplaner-section .section.columns-3 .grid-elements .grid-element.text-wrapper {
    margin-left: var(--gap-m);
}

.stom-grid-section.byggeplaner-section .section.columns-3 .grid-elements .grid-element.text-wrapper .overlay {
    justify-content: start;
}

.stom-grid-section.byggeplaner-section .section.columns-3 .grid-elements .grid-element.text-wrapper .overlay h2 {
    font-size: var(--h2-second);
}

.stom-grid-section.byggeplaner-section .section.columns-3 .grid-elements .grid-element.text-wrapper .overlay .stom-button.primary-btn {
    width: 82%;
}

/*======================================================================//
// END byggeplaner-section                                              //
//======================================================================*/

/*======================================================================//
// nyheder-section                                                      //
//======================================================================*/
body .section-wrap.nyheder-section-header {
    margin-top: calc(var(--gap-l) * 2);
}

body .section-wrap.nyheder-section {
    margin-top: 0;
}

body .section-wrap.nyheder-section .nyheder-btn-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--gap-s);
}

/*======================================================================//
// END nyheder-section                                                  //
//======================================================================*/

/*======================================================================//
// split-section                                                        //
//======================================================================*/
.section-wrap.stom-grid-section.split-section.has-background {
    margin-top: calc(var(--gap-l) * 2);
    background-size: cover;
    object-fit: cover;
    margin-inline: 10px;
    border-radius: 10px;
}

.section-wrap.stom-grid-section.split-section.has-background .section {
    padding-top: 250px;
}

.section-wrap.stom-grid-section.split-section.has-background .section .grid-elements .grid-element .overlay h2 {
    color: unset;
}

/* btn */
.stom-grid-section.split-section .grid-element.split-btn-wrapper .overlay {
    align-items: end;
}

.stom-grid-section.split-section .grid-element.split-btn-wrapper .overlay .stom-button.primary-btn a {
    color: var(--color-white);
}

/*======================================================================//
// END split-section                                                    //
//======================================================================*/

/*======================================================================//
// kompetencer-section                                                  //
//======================================================================*/
.section-wrap.stom-grid-section.kompetencer-section {
    margin-top: calc(var(--gap-l) * 2);
}

.section-wrap.stom-grid-section.kompetencer-section .section .grid-elements {
    gap: var(--gap-l);
}

.section-wrap.stom-grid-section.kompetencer-section .section .grid-elements .grid-element .overlay {
    justify-content: start;
}

/* Original masonry */
/*
.masonry-image-wrapper p {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: repeat(2, auto);
    gap: var(--gap-m);
    align-items: start;
}
.masonry-image-wrapper .image-top-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.masonry-image-wrapper .image-bottom-left {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.masonry-image-wrapper .image-right {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
}
*/
/* New masonry */
.masonry-image-wrapper p {
    display: grid;
    grid-template-columns: 70%;
    gap: var(--gap-m);
    justify-content: center;
}

.masonry-image-wrapper img {
    border-radius: 15px;
}

/*======================================================================//
// END kompetencer-section                                              //
//======================================================================*/
/* posts */
.single .entry-header h1 {
    font-size: var(--h2-second);
}

.new-stom-post-wrapper .new-stom-post-thumb img {
    height: unset;
    border-radius: 12px;
}

.new-stom-post-wrapper .new-stom-post-category {
    text-transform: uppercase;
    font-size: var(--p);
}

.new-stom-post-title h4 {
    font-weight: 500;
}

.new-stom-post-wrapper a {
    text-decoration: none !important;
}

.section-wrap .section span.header-quote {
    margin-bottom: 0;
    color: var(--color-1);
    text-transform: uppercase;
}

body .new-stom-post-wrapper .new-stom-post-thumb {
    height: 380px;
    display: inline-block;
    width: 100%;
    position: relative;
}

body .new-stom-post-wrapper .new-stom-post-thumb img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body .filter-options {
    display: flex;
    gap: var(--gap-s);
    flex-wrap: wrap;
    margin-bottom: var(--gap-m);
}

body .filter-options .filter-options-item:hover a {
    background-color: var(--color-1);
}

body .filter-options .filter-options-item a {
    display: block;
    padding: 10px var(--gap-s);
    background: var(--color-2);
    text-decoration: none;
    color: var(--color-white);
    border-radius: 8px;
    font-size: var(--p);
    transition: var(--transition);
}

body .filter-options .filter-options-item.active a {
    background-color: var(--color-1);
}

/*======================================================================//
// underside-dropdown                                                   //
//======================================================================*/
.section-wrap.dropdown-section {
    margin-inline: var(--gap-l);
}

.mere-tekst-wrapper {
    padding: 5px 0;
}

body .mere-tekst-wrapper button {
    font-size: 20px;
    line-height: 30px;
    font-family: var(--h-fam);
    padding: 20px 0px;
    border: 0;
    color: var(--color-text);
    background-color: transparent;
    border-bottom: 1px solid rgb(202, 202, 202);
}

.mere-tekst-wrapper button span>svg {
    font-size: 12px;
    color: var(--color-1);
}

.mere-tekst-wrapper .mere-tekst p {
    padding: 10px;
    color: var(--color-text);
}

/*======================================================================//
// END underside-dropdown                                               //
//======================================================================*/
/* form */
.section-wrap.stom-grid-section.form-section.has-background {
    margin-top: calc(var(--gap-l) * 2);
    background-size: cover;
    object-fit: cover;
    margin-inline: 10px;
    border-radius: 10px;
}

.section-wrap.stom-grid-section.form-section.has-background .section.columns-2 .grid-elements {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: var(--gap-l);
}

.section-wrap.stom-grid-section.form-section.has-background .section .grid-elements .overlay {
    justify-content: start;
}

.section-wrap.logo-footer-section {
    margin-top: 0;
}

/* underside */
body:not(.home) .section-wrap.logo-footer-section {
    margin-top: var(--gap-l);
}

.section-wrap.logo-footer-section .section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: var(--gap-s);
}

.section-wrap.logo-footer-section .section p {
    margin-bottom: 0;
}

.section-wrap.logo-footer-section .section::after {
    display: none;
}

/* socials */
.section-wrap.logo-footer-section .section .socials-footer {
    display: flex;
    gap: 10px;
}

.section-wrap.logo-footer-section .section .socials-footer a {
    font-size: 40px;
}

.section-wrap.logo-footer-section .section .socials-footer a .stom-custom-svg svg * {
    fill: var(--color-1);
    transition: var(--transition);
}

.section-wrap.logo-footer-section .section .socials-footer a:hover .stom-custom-svg svg * {
    fill: #0077b5;
}

/* Footer widgets */
#colophon .widget-title {
    display: block;
    margin-bottom: 10px;
    font-size: 25px;
    font-weight: 400;
}

#colophon.footer-setting-03 {
    padding: 0;
    background-color: #fff;
    border-top: none;
}

.section-wrap.logo-footer-section .section {
    border-bottom: 1px solid var(--color-text);
}

.footer-setting-03 .section-wrap {
    border-bottom: none;
    border-top: 0;
}

.section-wrap.footer-widget-area-extra .section {
    border-top: 1px solid var(--color-1);
}

.footer-setting-03 .footer-widget-area-extra .textwidget {
    justify-content: start;
}

/* CTA */
#number-three-sticky-mobile-cta .cta-container .stom-button a {
    display: flex;
    flex-direction: row;
    font-weight: 400;
    gap: 14px;
    border-radius: 0;
}

#number-three-sticky-mobile-cta .cta-container .stom-button:first-of-type a {
    background-color: var(--color-1);
    color: var(--color-white);
}

#number-three-sticky-mobile-cta .cta-container .stom-button:first-of-type a .stom-custom-svg {
    color: var(--color-white);
}

#number-three-sticky-mobile-cta .cta-container .stom-button:last-of-type a .stom-custom-svg {
    color: var(--color-white);
}

#number-three-sticky-mobile-cta .cta-container {
    background-color: var(--color-1);
}

#number-three-sticky-mobile-cta .cta-container .stom-button:last-of-type a {
    background-color: var(--color-dark);
    color: var(--color-white);
}

#number-three-sticky-mobile-cta .cta-container .stom-button a p:hover {
    border: none;
}

#number-three-sticky-mobile-cta .cta-container .stom-button a {
    color: var(--color-white);
}

#number-three-sticky-mobile-cta .cta-container .stom-button a:hover {
    border: none;
}

#number-three-sticky-mobile-cta .cta-container .stom-button:not(:last-child) a {
    border-right: none;
}

#number-three-sticky-mobile-cta .cta-container .stom-button a .stom-custom-svg {
    display: unset;
    background-color: unset;
    padding: unset;
    margin-left: unset;
    line-height: 0 !important;
}

/* top-slider undersider */
body:not(.home) .page-slider-section .image-aligner img {
    width: 100%;
    height: auto;
    max-height: calc(50vh - var(--header-height));
    min-height: 100%;
    object-fit: cover;
}

/* sidebar sticky and styling */
body:not(.home),
body:not(.home) #page {
    overflow: visible;
}

aside#secondary {
    position: sticky;
    top: 140px;
}

.widget-area .widget .widget-title {
    font-weight: 500;
}

#black-studio-tinymce-6 {
    margin-bottom: 0;
}

body.service-page h2,
body.service-page h3 {
    font-size: var(--h2-second);
    font-weight: 400;
}

body.home .section-wrap.underside-posts {
    display: none;
}

body .nyheder-section .new-stom-posts .new-stom-post-title h4 {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

body .new-stom-posts .new-stom-post-title h4 {
    /*  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;*/
    font-size: 24px;
}

.reference-shortcode .new-stom-post-wrapper a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reference-shortcode .new-stom-post-wrapper .new-stom-post-thumb {
    margin-top: auto;
}

.section-wrap.clear.stom-grid-section.underside-box-section .section .grid-elements .grid-element .overlay {
    justify-content: center;
}

/* underside kontakt */
body.kontakt-side .page-slider-section .slider-inner .slider-text {
    min-height: 600px;
    padding: calc(var(--header-height) + var(--gap-m)) var(--gap-s) var(--gap-m);
}

body.img-center .page-slider-section .image-aligner img {
    object-position: 80% 20%;
}

.section-wrap.clear.stom-grid-section.kontakt-section .section .grid-elements .grid-element .overlay {
    justify-content: start;
}

/* underside img */
body:not(.home) .stom-billede-sektion .stom-picture img {
    border-radius: 10px;
}

/* social icons på undersider */
body:not(.home) .socials-wrapper a {
    color: var(--color-1) !important;
}

/*======================================================================//
// END undersider                                                       //
//======================================================================*/

/*======================================================================//
// referencer-wrapper                                                   //
//======================================================================*/

body.single-referencer {
    --h2: 40px;
    --h3: 28px;
}

body.single-referencer main#main-content.site-main {
    margin-top: var(--gap-l);
}

.single-referencer .referencer-wrapper {
    display: grid;
    grid-template-columns: auto 405px;
    gap: var(--gap-l);
    align-items: start;
    margin-bottom: calc(var(--gap-l) * 2);
}

.single-referencer .referencer-wrapper.no_sidebar_info {
    grid-template-columns: 1fr;
}

.single-referencer .referencer-wrapper .referencer-left .referencer-galleri .gallery {
    gap: calc(var(--gap-s) + 10px);
    padding-top: var(--gap-m);
}

.single-referencer .referencer-wrapper .referencer-left .referencer-galleri figure.gallery-item {
    margin: 0;
    position: relative;
    height: 100%;
    aspect-ratio: 1 / 1;
    width: 100%;
}

.single-referencer .referencer-wrapper .referencer-left .referencer-galleri figure.gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 10px;
}

.single-referencer .referencer-wrapper .referencer-right {
    background-color: #F0F0F0;
    padding: var(--gap-m);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.single-referencer .referencer-wrapper .referencer-right:after {
    content: url('images/gk_svg_logo.svg');
    position: absolute;
    right: -27px;
    bottom: -10px;
    opacity: .1;
}

.single-referencer .referencer-wrapper .referencer-right .referencer-details {
    padding-bottom: 8px;
    font-size: var(--p);
}

.single-referencer .referencer-wrapper .referencer-right .referencer-details:last-child {
    padding-bottom: 0;
}

.single-referencer .referencer-wrapper .referencer-right .referencer-details span {
    display: block;
}

.single-referencer .referencer-wrapper .referencer-right .referencer-details span:first-of-type {
    color: var(--color-1);
}

.single-referencer .referencer-visflere-sektion {
    position: relative;
    padding: var(--gap-l) 0;
}

.single-referencer .referencer-visflere-sektion .new-stom-posts {
    gap: var(--gap-s);

}

.single-referencer .referencer-visflere-sektion .new-stom-posts .new-stom-post-thumb {
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
}

.single-referencer .referencer-visflere-sektion h3 {
    font-size: var(--h2);
    text-align: center;
    font-weight: 400;
    margin-bottom: var(--gap-m);
}

.referencer-visflere-sektion-background {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100%;
    background-color: #F0F0F0;
    z-index: -1;
    left: calc((var(--content-width) - 100vw) / 2);
}


/*======================================================================//
// END referencer-wrapper                                               //
//======================================================================*/

/*======================================================================//
// END style.css                                                        //
//======================================================================*/


body .stom-medarbejder-thumb {
    height: 270px;
    overflow: hidden;
    padding-top: unset;
}
body .stom-medarbejder-thumb img {
    /*height: auto;*/
}

.reference-overskrift {
	margin-bottom: -70px;
}

.om-kaysen .text-shadow {
	    text-shadow: 2px 2px 17px #00000091;
}

.txt-left-pad.stom-billede-sektion .stom-cols-6 {
	justify-content: center;
}
/*======================================================================//
// woocommerce.css                                                      //
//======================================================================*/


/* woocommerce style goes here */


/*======================================================================//
// END woocommerce.css                                                  //
//======================================================================*/