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

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

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

:root{
    --STOM-maincolor: #218c9e;
    --STOM-maincolor-accent: #966e4d;
    --STOM-secondarycolor: #89CFF0;
    --STOM-secondarycolor-accent: #6bb3d5;
    --STOM-text-color: #404040;
    --STOM-backdrop-color: #f2e3d5;
    --STOM-wrapper-width: var(--stom-content-width);
    --STOM-space: 90px;
    --STOM-transition: .175s ease-in-out;
    --STOM-half-width: 1320px;
    --STOM-quarter-width: 750px;
    --STOM-half-space: 40px;

    /*var resets*/
    --stom-header-height: 0;
    --STOM-section-text-color: var(--STOM-text-color);
    --STOM-element-text-color: inherit;
    --STOM-header-color: var(--STOM-text-color);
    --STOM-font-size: inherit;
    --STOM-header-font: sans-serif;
    --STOM-body-font: sans-serif;
    --STOM-h1-font-size: initial;
    --STOM-h2-font-size: initial;
    --STOM-h3-font-size: initial;
    --STOM-h4-font-size: initial;
    --STOM-h5-font-size: initial;
    --STOM-h6-font-size: initial;
    --STOM-section-bg-color: transparent;
    --STOM-element-bg-color: transparent;
    --STOM-section-bg-image: none;
    --STOM-element-bg-image: none;
}

/* overwrites til størrelser når vi kommer under 1280px*/
@media screen and (max-width: 1280px){
    :root body{
        --STOM-wrapper-width: 100%;
        --STOM-space: 40px;
        --STOM-font-size: 16px;
        --STOM-h1-font-size: 40px;
        --STOM-h2-font-size: 30px;
        --STOM-h3-font-size: 25px;
        --STOM-h4-font-size: 25px;
        --STOM-h5-font-size: 16px;
        --STOM-h6-font-size: 20px;
        --STOM-half-width: calc(var(--STOM-wrapper-width) / 2);
        --STOM-half-space: 30px;
    }
}

/* overwrites til størrelser når vi kommer under 768px*/
@media screen and (max-width: 768px){
    :root body{
        --STOM-space: 20px;
        --STOM-font-size: 15px;
        --STOM-h1-font-size: 43px;
        --STOM-h2-font-size: 32px;
        --STOM-h3-font-size: 21px;
        --STOM-h4-font-size: 25px;
        --STOM-h5-font-size: 16px;
        --STOM-h6-font-size: 18px;
        --STOM-half-width: var(--STOM-wrapper-width);
        --STOM-half-space: 20px;
    }
}
/*properties som bliver applied til * efter media quiries */


@media screen and (min-width: 768px) {
    .custom-overflow-wrapper {
        position: sticky;
        top: var(--stom-header-height);
    }
}


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/*----------------------------------------------------------------------//
//  hovedtema resets                                                    //
//----------------------------------------------------------------------*/

html, body, button, .stom-button a, input, select, optgroup, textarea{
    color: initial;
    line-height: 1.25em;
}

p, li {
    line-height: 1.25em;
    color: var(--STOM-text-color);
    font-size: var(--STOM-font-size);
}

a, a:visited, a:focus, a:active {
    color: var(--STOM-maincolor-accent);
    text-decoration: none;
    font-weight: 700;
}

a:hover {
    color: var(--STOM-maincolor-accent);
    text-decoration: underline;
}

.section-wrap .section,
.section-wrap.section-fullpage{
    padding: 0;
}

.section-wrap:not(.stom-grid-section) .section:after{
    content: none;
    display: none;
}

.section-wrap.section-fullpage .section{
    max-width: 100%;
}

body.admin-bar {
    overflow-x: initial;
}

/*----------------------------------------------------------------------//
//  Fonte                                                            //
//----------------------------------------------------------------------*/

body {
    font-family: var(--STOM-body-font);
    color: var(--STOM-text-color);
}

html,
body,
input,
select,
optgroup,
textarea {
    font-size: var(--STOM-font-size);
}

h1,h2,h3,h4,h5,h6{
    font-family: var(--STOM-header-font);
    color: var(--STOM-header-color);
    font-weight: 400;
    line-height: 1.1em;
}

h1, .page-slider-section h2 {
    font-size: var(--STOM-h1-font-size);
}
h2, .page-slider-section h3 {
    font-size: var(--STOM-h2-font-size);
}
h3, .page-slider-section h4 {
    font-size: var(--STOM-h3-font-size);
}
h4, .page-slider-section h5 {
    font-size: var(--STOM-h4-font-size);
}
h5, .page-slider-section h6 {
    font-size: var(--STOM-h5-font-size);
}
h6, .page-slider-section h6 {
    font-size: var(--STOM-h6-font-size);
}

/*----------------------------------------------------------------------//
//  Fonte - afsluttet                                                   //
//======================================================================//
//  Generelt                                                            //
//----------------------------------------------------------------------*/

::selection {
    color: #fff;
    background: var(--STOM-maincolor);
}

.header-wrapper,
#content,
.section,
footer.site-footer .site-info {
    width: var(--STOM-wrapper-width);
    margin: 0 auto;
    max-width: 100%;
}

section.half-width{
    --STOM-wrapper-width: var(--STOM-half-width);
}

div.half-width {
    width: var(--STOM-half-width);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

section.quarter-width{
    --STOM-wrapper-width: var(--STOM-quarter-width);
}

div.quarter-width {
    width: var(--STOM-quarter-width);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        Knapper
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    .stom-button{
        display: inline-block;
    }

    button,
    input[type="submit"],
    .gform_wrapper .gform_footer input[type="submit"],
    .stom-button a,
    header.site-header .top-bar .stom-button a,
    #number-three-sticky-mobile-cta .cta-container a{
        display: inline-flex;
        align-items: baseline;
        background-color: var(--STOM-maincolor);
        color: #fff;
        line-height: calc(7em / 3);
        font-family: var(--STOM-body-font);
        font-size: inherit;
        font-weight: 400;
        padding: 0 30px;
        gap: 10px;
        border-radius: 5px;
        transition: background-color var(--STOM-transition);
        appearance: none;
        border: none;
        text-decoration: none;
        text-transform: none;
        outline: none;
        user-select: none;
    }

    button:hover,
    button:focus,
    input[type="submit"]:hover,
    input[type="submit"]:focus,
    .gform_wrapper .gform_footer input[type="submit"]:hover,
    .gform_wrapper .gform_footer input[type="submit"]:focus,
    .stom-button a:hover,
    .stom-button a:focus,
    header.site-header .top-bar .stom-button a:hover,
    header.site-header .top-bar .stom-button a:focus,
    #number-three-sticky-mobile-cta .cta-container a:hover,
    #number-three-sticky-mobile-cta .cta-container a:focus{
        background-color: var(--STOM-maincolor-accent);
        border-color: transparent;
        color: #fff;
    }

    button.bigger,
    .stom-button.bigger a{
        font-size: var(--STOM-h4-font-size);
        font-weight: 700;
        line-height: 2em;
    }

    button.small,
    .stom-button.small a,
    header.site-header .top-bar .stom-button a{
        padding: 0 20px;
        gap: 8px;
    }

    .stom-button a svg {
        font-size: 0.9em;
        transform: translateY(0.1em);
    }

    .hero-buttons{
        display: flex;
        gap: 20px;
    }

    .stom-button.underside-header-btn a{
        font-size: 25px;
        font-weight: bold;
        line-height: 48px;
    }

    .stom-button.gradiant a,
    header.site-header .top-bar .stom-button.gradiant a{
        --STOM-gradiant-dark: #d95323;
        --STOM-gradiant-light: #f27d17;
        --STOM-gradiant-hover: var(--STOM-maincolor-accent);
        background-image: linear-gradient(180deg,var(--STOM-gradiant-dark) 50%,var(--STOM-gradiant-light) 100%, var(--STOM-gradiant-hover) 200%);
        background-size: 1px 200%;
        background-position: bottom;
        transition: background-position var(--STOM-transition);
    }

    .stom-button.gradiant a:hover,
    .stom-button.gradiant a:focus,
    header.site-header .top-bar .stom-button.gradiant a:hover,
    header.site-header .top-bar .stom-button.gradiant a:focus{
        background-position: top;
    }

/*----------------------------------------------------------------------//
//  Generelt - afsluttet                                                //
//======================================================================//
//  Header
//----------------------------------------------------------------------*/

header.site-header{
    width: 100%;
}

header.site-header .top-bar{
    padding-left: var(--STOM-space);
    padding-right: var(--STOM-space);
    --STOM-font-size: 16px;
    font-size: 16px;
}

header.site-header .top-bar .section{
    padding-top: 10px;
    padding-bottom: 10px;
    /* border-color: #c9c9c9; */
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    border-bottom: 1px solid #c9c9c9;
}

header .main-navigation a {
    text-decoration: none;
    font-weight: 400;
}

/* header.site-header .top-bar .section{
    padding-top: 10px;
    padding-bottom: 0px;
    border-color: transparent;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
} */

header.site-header .top-bar.top-bar-right .section{
    justify-content: flex-end;
}

header.site-header .top-bar.top-bar-split .section{
    justify-content: space-between;
}

header .top-bar .section > *{
    flex-grow: initial;
}

header.site-header .top-bar a{
    font-weight: 400;
    transition: color var(--STOM-transition);
    outline: none;
    margin: 0;
}
header.site-header .top-bar p > a{
    display: flex;
    gap: 15px;
    align-items: center;
}

header.site-header .top-bar p > a svg{
    font-size: 0.9em;
    transform: translateY(1px);
}

header.site-header .top-bar svg,
header.site-header .top-bar svg *{
    fill: var(--STOM-maincolor)
}

header.site-header .top-bar .stom-button svg * {
    fill: currentColor;
}

header.site-header .top-bar a:hover,
header.site-header .top-bar a:focus{
    color: var(--STOM-maincolor);
}

header.site-header .header-wrapper{
    width: calc(var(--STOM-wrapper-width) + (var(--STOM-space) * 2));
    margin: 0 auto;
    max-width: 100%;
    padding: 2px var(--STOM-space);
}

/*bruger custom properties i stedet for placeholders*/
.header-placeholder{
    display: none;
    height: auto!important;
}

.header-sticky-active .main-slider-section {
    padding-top: var(--stom-header-height);
}


header.site-header .top-bar.top-bar-split .section{
    justify-content: space-between;
}

@media screen and (max-width: 960px){
    header.site-header .top-bar{
        display: none;
    }

    body:not(.home) #main-content #content #primary article .entry-header h1, 
    body:not(.home) #main-content #content #primary article .entry-content h1 {
        font-size: 40px !important;
    }
}

@media screen and (max-width: 640px){
    header.site-header .header-wrapper{
        padding: var(--STOM-space);
    }
}


    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        Site Branding
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    .style-header-1 .header-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .site-branding {
        flex-grow: initial;
        display: block;
    }

    .site-branding #logo{
        padding: 0;
        line-height: initial;
    }
    .site-branding #logo a{
        display: block;
    }

    .site-branding #logo img{
        display: block;
        /* max-width: 100%; */
        max-width: 106px;
        max-height: 97px;
        width: auto;
        height: auto;
    }

    @media screen and (max-width: 640px){
        .site-branding #logo img{
            max-height: 70px;
        }

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

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        Main Nav
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    .main-navigation ul{
        display: flex;
        gap: 55px;
    }

    .main-navigation li a {
        color: var(--STOM-text-color);
        padding: 0;
    }

    .main-navigation .hover-active:not(.hover-style-bold) ul.menu a:before {
        bottom: 50%;
        transform: translateY(calc(-50% + 20px));
    }

    .hover-entry-none.hover-style-center ul.menu li:hover>a:before,
    .hover-entry-none.hover-style-center ul.menu li.focus>a:before,
    .hover-entry-none.hover-style-center ul.menu .current-menu-item > a:before,
    .hover-entry-none.hover-style-center ul.menu .current-menu-ancestor > a:before{
        width: 20px;
        height: 3px;
        background-color: var(--STOM-maincolor-accent);
    }

    body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.burger-menu) .header-sticky-active.scrolled header #primary-menu > li > a,
    body:not(.woocommerce-cart):not(.woocommerce-checkout) .header-sticky-active.scrolled header:not(.style-header-4) .site-branding #logo{
        padding: 0;
    }

    /*justerer mellemrummet mellem menupunkter når vi når under 1280, inden burger menu*/
    @media screen and (max-width: 1280px){
        .main-navigation ul{
            gap: 35px;
        }
    }

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        burger button
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    header #site-navigation .menu-toggle.burger-button {
        width: 34px;
        height: 15px;
        position: relative;
        display: var(--STOM-burger-menu-display);
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        padding: 0;
        top: auto;
        gap: unset;
    }

    .burger-bar{
        height: 3px;
        border-radius: 4px;
        width: 100%;
        background-color: var(--STOM-text-color);
    }

    .burger-bar:nth-child(2){
        height: 3px;
        border-radius: 3px;
        width: 75%;
        background-color: var(--STOM-text-color);
    }

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        burger Nav
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
      
    @media only screen and (max-width: 1140px) {

        body header .stom_theme_logo a {
            display: inline-block;
            padding: 0;
        }

        body header .main-navigation ul.menu,
        body header .main-navigation.toggled ul.menu {
            height: auto;
        }

        body header .burger-menu-content-inner{
            width: 100%;
        }

        .burger-menu-content-inner .aabningstider-list{
            margin-top: auto;
            padding: 0 var(--STOM-space) var(--STOM-space);
        }  

        body header #site-navigation ul.menu li{
            padding: 5px 10px;
        }

        body header #site-navigation.main-navigation .current-menu-item{
            background-color: transparent;
            color: var(--STOM-text-color);
        }
        body header #site-navigation ul.menu li a{
            padding: 5px 10px;
        }
        body header #site-navigation.main-navigation .current-menu-item a{
            background-color: var(--STOM-maincolor);
            color: #fff;
            border-radius: 5px;
        }
    }

/*----------------------------------------------------------------------//
//  Header - afsluttet                                                  //
//======================================================================//
//  Top Slider
//----------------------------------------------------------------------*/

.main-slider-section{
    --STOM-text-color: #fff;
    --STOM-header-color: #fff;

    margin-bottom: var(--STOM-space);
    padding-left: var(--STOM-space);
    padding-right: var(--STOM-space);
}

.main-slider-section .slider-inner{
    width: 100%;
    max-width: var(--STOM-wrapper-width);
    margin: 0 auto;
}

.main-slider-section p{
    /* line-height: calc(var(--STOM-h6-font-size) * 1.1); */
    line-height: 1.25em;
    /* font-size: var(--STOM-h6-font-size); */
    font-size: 24px;
}

.main-slider-section .slider-text {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: calc(var(--STOM-wrapper-width) + (var(--STOM-space) * 2));
    height: 100%;
    margin: 0 auto;
}

.main-slider-section .slider-text-inner{
    max-width: 58%;
    padding-left: var(--STOM-space);
    padding-right: var(--STOM-space);
}

.main-slider-section .slide-element{
    height: calc(var(--STOM-main-slider-height) * 1px);
    min-height: 300px;
}

.page-slider-section .slide-element {
    position: relative;
}

.page-slider-section .slide-element:before {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, .14);
}

.page-slider-section .slide-element img{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: unset;
    height: 100%;
    max-height: unset;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

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

.main-slider-section .slider-text-inner > *{
    margin-bottom: 0px;
}
.main-slider-section .slider-text-inner > *:not(:last-child){
    margin-bottom: 10px;
}
.main-slider-section .slider-text-inner > p:not(:last-child){
    margin-bottom: 40px;
}

/*når der er tilføjet .main-slider-center på body, så centreres main sliderens tekstboks.*/
body.main-slider-center .main-slider-section .slider-text {
    justify-content: center;
}

/*vi giver lidt mere plads til tekst i headeren når vi kommer under 1540px i bredden*/
@media screen and (max-width: 1540px){
    .main-slider-section .slider-text-inner{
        max-width: 100%;
    }

    .cards-section .section .grid-elements .grid-element .overlay h3 {
        font-size: var(--STOM-h4-font-size);
        margin-bottom: 20px;
    }
}

/*på 1280 bliver skriftstørrelsen mindre, så nu begrænser vi pladsen igen*/
@media screen and (max-width: 1280px){
    .main-slider-section .slider-text-inner{
        max-width: 50%;
    }

    /* Juster slider højde på mindre devices */
    .main-slider-section .slide-element{
        height: calc((100vw - (var(--STOM-space) * 2)) / (var(--STOM-main-slider-width) / var(--STOM-main-slider-height)));
    }
}

/*på mobiler skal vi igen have fuld bredde på slider-text-inner*/
@media screen and (max-width: 640px){
    .main-slider-section .slider-text-inner{
        max-width: 100%;
    }

    .main-slider-section .slider-text-inner{
        text-align: center;
    }

    .main-slider-section .slider-text-inner > p:not(:last-child){
        margin-bottom: 16px;
    }
}

/*----------------------------------------------------------------------//
//  Top Slider - afsluttet                                                  //
//======================================================================//
//  Artikler
//----------------------------------------------------------------------*/

#content {
    padding: 0 var(--STOM-space) var(--STOM-space);
    display: grid;
    grid-template-columns: 1fr var(--stom-sidebar-width);
    gap: var(--STOM-space);
}

#content .clear{
    display: none;
}

body:not(.no-sidebar) #primary,
body:not(.no-sidebar) #secondary{
    width: auto;
    float: none;
}

#content .entry-content{
    --STOM-h1-font-size: 40px;
    --STOM-h2-font-size: 40px;
    --STOM-h3-font-size: 40px;
}

@media screen and (min-width: 1280px){
    #content {
        --STOM-wrapper-width: var(--STOM-half-width);
    }
}

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

}

@media screen and (max-width: 768px){
    #content {
        grid-template-columns: 1fr;
    }

    .home .page-slider-section .slide-element {
        min-height: 500px;
    }

    .stom-billede-sektion .stom-center-box {
        padding: 40px 20px !important;
    }

    #secondary.widget-area {
        width: 100% !important;
        max-width: none !important;
    }

    .stom-grid-section .section.more-than-two-children .grid-elements {
        grid-template-columns: 1fr !important; 
    }
}

@media screen and (max-width: 479px){
    .page-slider-section .slider-text-inner h1 {
        font-size: var(--STOM-h2-font-size);
    }

    .main-slider-section p {
        font-size: 18px;
    }

    section.section-wrap .section > h2 {
        font-size: var(--STOM-h2-font-size) !important;
    }

    .usp-section .section .grid-elements .grid-element .overlay .stom-custom-svg {
        font-size: 30px !important;
    }

    body:not(.home) #main-content #content #primary article .entry-header h1, 
    body:not(.home) #main-content #content #primary article .entry-content h1 {
        font-size: 30px !important;
    }
}

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        Sidebar widgets
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    #secondary.widget-area{
        --STOM-font-size: 16px;
    }

    #secondary.widget-area .custom-overflow-wrapper{
        /* background-color: var(--STOM-backdrop-color); */
        background-color: #e7e2de;
        padding: var(--STOM-half-space) calc(var(--STOM-half-space) / 2);
        border-radius: 10px;
    }
    #secondary.widget-area .widget{
        background-color: transparent;
        border: none;
        padding: 0
    }

    #secondary.widget-area .widget a{
        text-decoration: none;
        transition: color var(--STOM-transition);
    }
    
    #secondary.widget-area .widget a:hover{
        color: var(--STOM-maincolor);
    }

    #secondary.widget-area .widget:not(:last-child){
        margin-bottom: var(--STOM-half-space);
    }

    #secondary.widget-area .widget h2.widget-title {
        font-size: 18px;
        font-weight: 400;
        color: #fff;
        background: var(--STOM-maincolor-accent);
        border-radius: 10px;
        padding: 12px 10px 9px;
        margin-bottom: calc(var(--STOM-half-space) / 2);
    }

    h2.widget-title .stom-custom-svg{
        display: inline-block;
        margin-right: 9px;
    }

    @media screen and (max-width: 768px){
        #secondary.widget-area{
            --STOM-font-size: 14px;
            max-width: var(--stom-sidebar-width);
            margin-left: auto;
            margin-right: auto;
        }
    }

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        Åbningstider
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    .widget.number-three-default-widget .aabningstider-list p{
        margin-bottom: 0;
        line-height: calc(var(--STOM-font-size) + 10px);
    }

    .aabningstider-list-row{
        display: flex;
        justify-content: space-between;
    }


/*----------------------------------------------------------------------//
//  Artikler - afsluttet                                                  //
//======================================================================//
//  Sektioner
//----------------------------------------------------------------------*/

div.section-wrap,
section.section-wrap{
    padding-left: var(--STOM-space);
    padding-right: var(--STOM-space);
}

section.section-wrap, .grid-element{
    background-color: var(--STOM-section-bg-color);
    background-image: var(--STOM-section-bg-image);
}

.grid-element{
    background-color: var(--STOM-element-bg-color);
    background-image: var(--STOM-element-bg-image);
}

.section-wrap.section-fullpage {
    padding-left: var(--STOM-space);
    padding-right: var(--STOM-space);
}

main > section.section-wrap .section{
    padding: 0;
}

main > section.section-wrap .section{
    margin-bottom: var(--STOM-space);
}

main > section.section-wrap.no-space-bottom .section{
    margin-bottom: 0;
}

main > section.section-wrap.double-space-bottom .section{
    margin-bottom: calc(var(--STOM-space) * 2);
}

main > section.section-wrap.double-space-top .section{
    margin-top: calc(var(--STOM-space) * 2);
}

@media screen and (max-width: 768px){
    /* Dobbelt størrelse skal være x3 på mobil */
    main > section.section-wrap.double-space-bottom .section{
        margin-bottom: calc(var(--STOM-space) * 3);
    }

    main > section.section-wrap.double-space-top .section{
        margin-top: calc(var(--STOM-space) * 3);
    }    
    
    main > section.section-wrap.mobile-extra-space-bottom .section{
        margin-bottom: calc(var(--STOM-space) * 1.5);
    }

    main > section.section-wrap.mobile-extra-space-top .section{
        margin-top: calc(var(--STOM-space) * 1.5);
    }
}


    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        stom-billede-sektion 
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    section.stom-billede-sektion .section {
        display: flex;
        flex: 1 1 100%;
    }

    section.stom-billede-sektion.picture-left .section {
        flex-direction: row-reverse;
    }

    section.stom-billede-sektion.picture-left .stom-billede-sektion-text {
        justify-content: start;
    }



    .stom-billede-sektion .stom-picture {
        position: relative;
    }

    .stom-billede-sektion .stom-picture img {
        visibility: visible;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .stom-billede-sektion .stom-billede-sektion-text {
        display: grid;
        align-items: center;
        justify-content: end;
        width: 100%;
    }

    .stom-billede-sektion .stom-picture,
    .stom-billede-sektion.not-fullwidth .stom-picture{
        position: relative;
        min-height: var(--STOM-section-min-height);
        width: 100%;
    }

    .stom-billede-sektion .stom-center-box {
        display: block;
        width: 100%;
        padding: 0 var(--STOM-space);
    }

    .stom-billede-sektion.picture-left .stom-center-box {
        padding-right: 0;
    }

    .stom-billede-sektion.picture-right .stom-center-box {
        padding-left: 0;
    }

    .stom-billede-sektion.picture-right.bg-color .stom-billede-sektion-text {
        background-color: #e7e2de;
    }

    .stom-billede-sektion.picture-right.bg-color .stom-center-box {
        padding-left: var(--STOM-space);
        /* padding-right: 0; */
    }

    .stom-billede-sektion.fullwidth .section {
        width: calc(100% + (var(--STOM-space) * 2));
        margin-left: calc(var(--STOM-space) * -1);
        margin-right: calc(var(--STOM-space) * -1);
        max-width: calc(100% + (var(--STOM-space) * 2));
    }

    .stom-billede-sektion.fullwidth .stom-center-box {
        max-width: calc(var(--STOM-wrapper-width) / 2);
    }

    /*når vi kommer under wrapperbreden, giver vi teksten i sektionerne lidt mere plads*/
    @media screen and (max-width: 1740px){
        .section-wrap.stom-billede-sektion.picture-left .stom-center-box{
            padding-right: 0;
        }
        .section-wrap.stom-billede-sektion.picture-right .stom-center-box{
            padding-left: var(--STOM-space);
        }
    }

    /*når vi når under 1280 skal billederne ikke være så høje*/
    @media screen and (max-width: 1280px){
        .stom-billede-sektion .stom-picture,
        .stom-billede-sektion.not-fullwidth .stom-picture{
            min-height: unset;
        }

        .stom-billede-sektion .stom-center-box{
            padding: var(--STOM-space);
        }

        .main-slider-section .slider-text-inner {
            max-width: none;
        }

        .stom-grid-section.form-panel .section .grid-elements {
            align-items: center;
        }

        .stom-grid-section.form-panel .grid-element .overlay h1, 
        .stom-grid-section.form-panel .grid-element .overlay h2, 
        .stom-grid-section.form-panel .grid-element .overlay h3, 
        .stom-grid-section.form-panel .grid-element .overlay h4, 
        .stom-grid-section.form-panel .grid-element .overlay h5, 
        .stom-grid-section.form-panel .grid-element .overlay h6 {
            /* font-size: 50px !important; */
            font-size: var(--STOM-h1-font-size) !important;
        }

        .usp-section .section .grid-elements {
            grid-template-columns: 1fr 1fr !important;
            /* grid-template-columns: repeat( var(--STOM-grid-section-repeat), minmax(0, 1fr) ); */
        }


    }

    /*Billedesektion skal stå vertikalt når vi når ned under 640px*/
    @media screen and (max-width: 640px){
        section.stom-billede-sektion .section,
        section.stom-billede-sektion[class*="picture-"] .section{
            /*vi går fra flex til grid, for at lave billedet lige så høj som teksten*/
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: 1fr 1fr;
            gap: var(--STOM-space);
        }
        
        section.stom-billede-sektion .section .stom-center-box,
        section.stom-billede-sektion[class*="picture-"] .section .stom-center-box{
            padding: 0;
        }
    }

    
    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        stom-grid-section
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    :root{
        --STOM-grid-section-repeat: auto-fit;
        --STOM-grid-gap: 60px;
    }

    section.section-wrap .section > h2{
        font-size: var(--STOM-h1-font-size);
        text-align: center;
        margin-bottom: 25px;
    }

    .stom-grid-section .section .grid-elements {
        position: relative;
        display: grid;
        gap: var(--STOM-grid-gap);
        grid-template-columns: repeat( var(--STOM-grid-section-repeat), minmax(0, 1fr) );
    }

    .section-wrap.stom-grid-section .section .grid-element {
        display: flex;
        flex-wrap: nowrap;
        background-size: cover;
        flex-direction: column;
        justify-content: flex-end;
        width: 100%;
    
        /* Sætter en maksimalbredde på hver enkelt element, så den ikke overskrider designet, uafhængig af hvor bred den omliggende kasse er*/
        max-width: calc((var(--stom-content-width) - (var(--STOM-grid-gap) * (var(--STOM-grid-section-repeat) - 1))) / var(--STOM-grid-section-repeat) );
        margin-left: auto;
        margin-right: auto;
    }

    .stom-grid-section .section .grid-element .overlay{
        padding: 40px;
        flex-grow: initial;
    }

    .stom-grid-section .section .grid-element .overlay h1,
    .stom-grid-section .section .grid-element .overlay h2,
    .stom-grid-section .section .grid-element .overlay h3,
    .stom-grid-section .section .grid-element .overlay h4,
    .stom-grid-section .section .grid-element .overlay h5,
    .stom-grid-section .section .grid-element .overlay h6{
        margin: 0 0 5px;
    }

    .stom-grid-section .section .grid-element .overlay p{
        margin: 0 0 1.4em;
    }

    @media screen and (max-width: 1280px){
        /*reducerer padding i overlay for at imødekomme mindre spaceing under 1280px*/
        .stom-grid-section .section .grid-element .overlay{
            padding: 20px;
        }
    }

    @media screen and (max-width: 980px){
        :root{
            --STOM-grid-gap: 40px;
        }

        /*når vi kommer ned på tablet skal grids med mere en 2 elementer ligge sig vertikalt*/
        .stom-grid-section .section.more-than-two-children .grid-elements {
            grid-template-columns: 1fr;
        }
    }
    
    @media screen and (max-width: 768px){
        :root{
            --STOM-grid-gap: 20px;
        }

        /*når vi kommer ned på 768px skal grids ligge sig vertikalt*/
        .stom-grid-section .section .grid-elements {
            grid-template-columns: 1fr;
        }

        footer#colophon.site-footer {
            padding: 40px 20px !important;
        }
    }
    
    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        BASIS
        simple_slider_headline
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    .simple_slider_headline {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        padding-bottom: 5px;
        margin-bottom: 60px;
        border-bottom: 1px solid #c9c9c9;
    }

    .simple_slider_headline h1,
    .simple_slider_headline h2,
    .simple_slider_headline h3,
    .simple_slider_headline h4,
    .simple_slider_headline h5,
    .simple_slider_headline h6{
        margin-bottom: 0;
    }

    .simple_slider_headline h2{
        font-size: var(--STOM-h1-font-size);
    }

    .simple_slider_headline a{
        text-decoration: none;
        color: var(--STOM-maincolor);
        transition: color var(--STOM-transition);
        white-space: nowrap;
    }

    .simple_slider_headline a svg{
        display: inline-block;
        margin-left: 10px;
        fill: var(--STOM-maincolor);
    }
    .simple_slider_headline a:hover{
        color: var(--STOM-maincolor-accent);
    }

    .simple_slider_headline a:hover svg{
        fill: var(--STOM-maincolor-accent);
    }

    .stom-simple-slider.slick-slider{
        padding-left: 40px;
        padding-right: 40px;
    }

    .stom-simple-slider.slick-slider button .stom-custom-svg svg * {
        transition: fill var(--STOM-transition);
        fill: var(--STOM-maincolor);
    }

    .stom-simple-slider.slick-slider button:hover .stom-custom-svg svg * {
        fill: var(--STOM-maincolor-accent);
    }

    .stom-simple-slider.slick-slider button {
        position: absolute;
        top: 50%;
        padding: 0;
        margin: 0;
        transform: translateY(-50%);
    }

    .stom-simple-slider.slick-slider button,
    .stom-simple-slider.slick-slider button svg{
        background-color: transparent;
        display: block;
        width: 12px;
        height: 12px;
    }

    .stom-simple-slider .slick-slide img{
        margin: 0 auto;
    }

    /* Sliderens overskrift skal ikke være h1 størrelse på mobil */
    @media screen and (max-width: 640px){
        .simple_slider_headline h2{
            font-size: var(--STOM-h2-font-size);
        }

        .simple_slider_headline{
            margin-bottom: var(--STOM-space);
        }

        .stom-simple-slider.slick-slider{
            padding-left: 0;
            padding-right: 0;
        }

        .slick-prev{
            left: -12px;
        }

        .slick-next{
            right: -12px;
        }

        .slick-list{
            margin: 0 -10px;
        }

        .slick-track:before,
        .slick-track:after{
            display: none;
        }

        .stom-simple-slider.slick-slider button,
        .stom-simple-slider.slick-slider button svg{
            width: 8px;
            height: 8px; 
        }

        .slick-slide{
            margin: 0 calc(var(--STOM-space) / 2);
        }
    }

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        BASIS
        Giant-image-panel
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    .section-wrap.giant-image-panel p:first-child{
        display: block;
        margin-bottom: var(--STOM-space);
    }

    .section-wrap.giant-image-panel img{
        display: block;
    }

    @media screen and (max-width: 768px){
        .section-wrap.giant-image-panel img {
            display: block;
            height: 400px;
            object-fit: cover;
        }
    }
    
    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        form-panel
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    .section-wrap.form-panel .section {
        padding: var(--STOM-space);
    }

    .stom-grid-section.form-panel .grid-element .overlay{
        padding: 0;
    }

    .stom-grid-section.form-panel .grid-element .overlay h1,
    .stom-grid-section.form-panel .grid-element .overlay h2,
    .stom-grid-section.form-panel .grid-element .overlay h3,
    .stom-grid-section.form-panel .grid-element .overlay h4,
    .stom-grid-section.form-panel .grid-element .overlay h5,
    .stom-grid-section.form-panel .grid-element .overlay h6{
        margin-bottom: 10px;
        font-size: 60px;
    }

    .stom-grid-section.form-panel .grid-element .overlay *:last-child{
        margin-bottom: 0;
    }

    .stom-grid-section.form-panel .section .grid-elements{
        padding: var(--STOM-space) 0;
        gap: var(--STOM-space);
    }

    /*Streg mellem kolonner*/
    .form-panel.section-wrap.stom-grid-section .section .grid-element:not(:last-child):after {
        content: "";
        position: absolute;
        right: calc((var(--STOM-space) / 2) * -1);
        width: 1px;
        height: calc(100% * (var(--STOM-space) * 2));
        background: var(--STOM-maincolor-accent);
        top: calc(var(--STOM-space) * -1);
        bottom: calc(var(--STOM-space) * -1);
    }

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

        /*slår ekstra padding fra når skærmen er mindre end wrapper bredden*/
        .section-wrap.form-panel .section{
            padding-left: 0;
            padding-right: 0;
        }
    }
    
    @media screen and (max-width: 768px){
        /*stregen mellem kolonner skal skiftes til bunden.*/
        .form-panel.section-wrap.stom-grid-section .section .grid-element:not(:last-child):after {
            content: "";
            position: absolute;
            right: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: var(--STOM-maincolor);
            top: auto;
            bottom: calc(var(--STOM-space) * -1);
        }
    }

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        form-panel
        - Gravity Forms
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    .form-panel .gform_wrapper{
        max-width: unset;
    }
    .form-panel .gform_wrapper.gravity-theme .gform_fields{
        gap: 20px;
    }

    .form-panel .gform_wrapper.gravity-theme .gfield input:not([type="submit"]),
    .form-panel .gform_wrapper.gravity-theme .gfield textarea {
        position: relative;
        background: transparent;
        border: none;
        border-bottom: 1px solid var(--STOM-text-color);
        padding: 0 0 10px;
        outline: none;
        font-family: var(--STOM-body-font);
        font-size: var(--STOM-font-size);
    }

    .form-panel .gform_wrapper.gravity-theme .gfield input:not([type="submit"])::placeholder,
    .form-panel .gform_wrapper.gravity-theme .gfield textarea::placeholder {
        color: var(--STOM-text-color);
    }

    /*Focus styling på input og textarea*/
    .form-panel .gform_wrapper.gravity-theme .gfield .ginput_container{
        position: relative;
    }

    .form-panel .gform_wrapper.gravity-theme .gfield .ginput_container:after {
        content: "";
        position: absolute;
        display: block;
        bottom: 1px;
        left: 0;
        right: 0;
        width: 100%;
        height: 1px;
        background-color: var(--STOM-maincolor);
        opacity: 0;
        transform: scale(0, 1);
        transition: opacity var(--STOM-transition), transform var(--STOM-transition);
    }

    .form-panel .gform_wrapper.gravity-theme .gfield .ginput_container:focus-within:after {
        opacity: 1;
        transform: scale(1);
    }

    /*Textarea styling*/
    .form-panel .gform_wrapper.gravity-theme .gfield textarea.medium {
        height: 110px;
        margin-top: 10px;
        resize: vertical;
    }

    /*submit knap*/
    .form-panel .gform_wrapper.gravity-theme .gform_footer{
        margin-top: 30px;
        justify-content: flex-end;
    }

    /*submit knap pil*/
    .form-panel .gform_wrapper.gravity-theme .gform_footer input[type="submit"]{
        background-image: url("images/arrow-right.png");
        background-repeat: no-repeat;
        background-position: center right 30px;
        padding-right: 52px; /*padding + ikonbredde + gap*/
    }

    @media screen and (max-width: 768px){
        .form-panel .gform_wrapper.gravity-theme .gfield input:not([type="submit"]),
        .form-panel .gform_wrapper.gravity-theme .gfield textarea{
            padding: 0;
        }

        .form-panel .gform_wrapper.gravity-theme .gfield textarea.medium{
            margin-top: 0;
            height: 60px;
        }
    }

/*----------------------------------------------------------------------//
//  Sektioner - afsluttet                                               //
//======================================================================//
//  Footer
//----------------------------------------------------------------------*/

footer#colophon.site-footer {

    --STOM-text-color: #fff;
    --STOM-section-bg-color: #282828;

    margin: 0;
    padding: var(--STOM-space);
    background-color: var(--STOM-section-bg-color);
    color: var(--STOM-text-color);
}

footer#colophon.site-footer p,
footer#colophon.site-footer ul li > a {
    font-size: 16px;
    line-height: 1.5;
}

footer#colophon.site-footer p a {
    color: #fff;
    font-weight: inherit;
}

footer#colophon.site-footer .some-wrapper {
    display: flex;
    align-items: center;
    grid-gap: 10px;
    margin-top: 70px;
}

footer#colophon.site-footer .some-wrapper p {
    margin-bottom: 0;
    line-height: 0;
}

    div.section-wrap.footer-widget-area{
        padding-left: 0;
        padding-right: 0;
    }

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        Footer grid omskrivning          //
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    footer#colophon.site-footer .section{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
        gap: 40px
    }

    
    footer#colophon.site-footer .section .footer-widgets[class*="stom-cols-"]{
        width: 100%;
        margin: 0;
        float: none;
    }

    footer#colophon.site-footer .section .footer-widgets .widget{
        margin: 0;
    }

    footer#colophon.site-footer .section .footer-widgets.last .logo-widget {
        margin-top: 40px;
    }

    /*fjerner after og clear, så grid ikke tror der er 6 children i stedet for 4*/
    footer#colophon.site-footer .section-wrap:not(.stom-grid-section) .clear{
        display: none;
    }

    /*Når der kommer burgermenu på skal vi deles i 2 kolonner, og reducerer det vertikale gap*/
    @media screen and (max-width: 960px){
        footer#colophon.site-footer .section{
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 40px 40px;
        }
    }

    @media screen and (max-width: 639px){
        footer#colophon.site-footer .section{
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
    }
    
    /*på små telefoner skal footeren være i 1 kolonne*/
    @media screen and (max-width: 420px){
        footer#colophon.site-footer .section{
            grid-template-columns: 1fr;
            gap: var(--STOM-space);
        }
    }

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        Footer overskrifter              //
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    footer#colophon.site-footer .widget-title{
        font-family: var(--STOM-header-font);
        font-size: var(--STOM-h4-font-size);
        font-weight: 400;
        display: block;
        border-bottom: 1px solid #fff;
        margin-bottom: 20px;
    }

    @media screen and (max-width: 1280px){
        footer#colophon.site-footer .widget-title{
            margin-bottom: 10px;
            padding-bottom: 10px;
        }
    }

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        Footer styling af lister         //
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    footer#colophon.site-footer ul{
        list-style: none;
        padding: 0;
    }
    footer#colophon.site-footer ul li > a{
        text-decoration: none;
        color: #fff;
        font-weight: 400;
    }
    footer#colophon.site-footer ul li > a:hover{
        /* color: var(--STOM-maincolor); */
        text-decoration: underline;
    }

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        Social media knapper i footeren  //
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    footer#colophon.site-footer .socials-wrapper a.stom-social-shortcode{
        color: var(--STOM-text-color);
    }

    /*Overskriver hovedtemaets socialmedia brand farver på hover.*/
    footer#colophon.site-footer .socials-wrapper a.stom-social-shortcode:hover,
    footer#colophon.site-footer .socials-wrapper a.stom-social-shortcode:hover span.fa-svg{
        color: var(--STOM-maincolor);
    }

    footer#colophon.site-footer .socials-wrapper{
        display: inline-flex;
        vertical-align: initial;
        gap: 15px;
    }

    footer#colophon.site-footer .socials-wrapper a{
        display: block;
        padding: 0;
        float: none;
        color: #000;
        text-decoration: none;
        line-height: 0;
        font-size: 34.29px;
    }

    footer#colophon.site-footer .socials-wrapper a .stom-custom-svg,
    footer#colophon.site-footer .socials-wrapper a .stom-custom-svg svg {
        display: block;
        line-height: 0;
        vertical-align: initial;
    }

    footer#colophon.site-footer .section .footer-widgets .logo-widget {
        text-align: center;
    }

    
    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        Mobile CTA
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    #number-three-sticky-mobile-cta{
        box-shadow: none;
        background-color: transparent;
    }

    #number-three-sticky-mobile-cta .cta-container {
        display: grid;
        align-items: initial;
        justify-content: initial;
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    }

    #number-three-sticky-mobile-cta .cta-container a{
        line-height: normal;
        height: 56px;
        padding: 0 5px;
        border-radius: 0;
        text-align: center;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
        white-space: nowrap;
    }

    #number-three-sticky-mobile-cta .cta-container a:first-child {
        border-radius: 14px 0 0 0;
    }

    #number-three-sticky-mobile-cta .cta-container a:last-child{
        border-radius: 0 14px 0 0;
    }
    
    #number-three-sticky-mobile-cta .cta-container a:nth-child(2n + 1) {
        /* Fikser skyggen over knapper med secondary colors */
        z-index: 1;
    }

    #number-three-sticky-mobile-cta .cta-container a:nth-child(2n){
        background-color: var(--STOM-maincolor-accent);
        color: #fff;
    }

    #number-three-sticky-mobile-cta .cta-container a:nth-child(2n):hover,
    #number-three-sticky-mobile-cta .cta-container a:nth-child(2n):focus{
        background-color: var(--STOM-maincolor);
        color: #fff;
    }

    @media screen and (max-width: 959px){
        #number-three-sticky-mobile-cta{
            display: block;
        }

        #number-three-sticky-mobile-cta-placeholder{
            background-color: var(--STOM-backdrop-color);
        }


    }

/*----------------------------------------------------------------------//
//  Footer - afsluttet                                                  //
//======================================================================//
//  Andet                                             //
//----------------------------------------------------------------------*/

    /* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
        Cookie repop                     //
    /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

    /*når vi når ned på tablet, skal cookie repope elementet være mindre*/
    
    @media screen and (max-width: 1280px) {
        body .cm-repop-element .repop-consent-button {
            --repop-element-distance-side: 10px;
            --repop-element-distance-bottom: 10px;
            transform: translateY(var(--adjust-repop-poistion)) scale(0.7);
            transform-origin: bottom left;
            border: 1px solid #ccc;
            box-shadow: none;
        }
        body .cm-repop-element .repop-consent-button:hover {
            background-color: #f3f3f3;
        }
    }


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

/* woocommerce style goes here */

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

body:not(.home) .page-slider-section .slide-element {
    min-height: 250px;
    max-height: 250px;
}

body:not(.home) #main-content #content #primary article .entry-header {
    margin-bottom: 0;
}

body:not(.home) #main-content #content #primary article .entry-header h1,
body:not(.home) #main-content #content #primary article .entry-content h1 {
    font-size: 50px;
}

body:not(.home) #main-content #content #primary article .entry-content h2 {
    /* font-size: 32px; */
}

body:not(.home) #main-content #content #primary article .entry-content ul li:not(:last-of-type) {
    margin-bottom: 20px;
}

.cards-section .section .grid-elements .grid-element:before {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .35);
    transition: var(--STOM-transition);
}

.cards-section .section .grid-elements .grid-element:hover:before {
    background-color: rgba(0, 0, 0, 0);
}

.cards-section .section .grid-elements .grid-element:hover .overlay .stom-button a {
    background-color: var(--STOM-maincolor-accent);
}

.instagram-section .section .grid-elements {
    align-items: flex-start;
    gap: 0;
}

.instagram-section .section .grid-elements .grid-element {
    max-width: none;
    /* align-items: flex-start; */
}

.instagram-section .section .grid-elements .cover .overlay {
    padding: 0;
}

.instagram-section .section .grid-elements .cover .overlay > p img {
    /* width: 100%; */
    height: 820px;
    object-fit: cover;
}

.instagram-section .section .grid-elements .feed .overlay {
    padding: 0 0 0 40px;
}

#sb_instagram #sbi_images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 66px;
}

#sb_instagram #sbi_images .sbi_item {
    width: 100% !important;
}

@media screen and (max-width: 959px) {
    .instagram-section .section .grid-elements {
        grid-template-columns: unset;
    }
    
    .instagram-section .section .grid-elements .grid-element {
        width: 100%;
    }

    .instagram-section .section .grid-elements .cover .overlay > p img {
        width: 100%;
        height: auto;
    }

    .instagram-section .section .grid-elements .feed .overlay {
        padding: 0;
    }

    #sb_instagram #sbi_images {
        gap: 25px;
    }
}

@media screen and (max-width: 767px) {
    #sb_instagram #sbi_images {
        /* grid-template-columns: 1fr 1fr 1fr 1fr; */
    }
}

div.stom-gallery {
    background-color: #e7e2de;
    padding: var(--STOM-half-space) calc(var(--STOM-half-space) / 2);
    border-radius: 10px;
}

div.stom-gallery .gallery {
    grid-gap: 1em;
    margin-bottom: 0;
}

div.stom-gallery .gallery .gallery-item {
    margin: 0;
    line-height: 0;
    transition: var(--STOM-transition);
}

div.stom-gallery .gallery .gallery-item:hover {
    opacity: .75;
}

.usp-section .section > h2 {
    text-align: left !important;
    border-bottom: 1px solid #c9c9c9;
    padding-bottom: 10px;
    color: #2e2d2d;
}

.usp-section .section .grid-elements {
    align-items: flex-start;
    margin-top: 50px;
}

.usp-section .section .grid-elements .grid-element .overlay {
    padding: 0;
    display: flex;
    grid-gap: 25px;
}

.usp-section .section .grid-elements .grid-element .overlay::after {
    display: none;
}

.usp-section .section .grid-elements .grid-element .overlay .stom-custom-svg {
    font-size: 40px;
}

.usp-section .section .grid-elements .grid-element .overlay h3 {
    font-size: 25px;
    color: #4d4d4d;
}

.usp-section .section .grid-elements .grid-element .overlay p {
    font-weight: 300;
    color: #4d4d4d;
}