/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


.elementor-location-footer .elementor-nav-menu {
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.elementor-location-footer .elementor-nav-menu:after {
    display: none;
}

@media (min-width: 768px) {
    .elementor-location-header .menu-item-cta a {
        color: var(--e-global-color-primary) !important;
        font-weight: bold;
    }   

    .elementor-location-footer .elementor-nav-menu {
        flex-direction: row;
        justify-content: space-between;
    }

    .elementor-location-footer .elementor-nav-menu li {
        flex-grow: 0 !important;
    }
}

.elementor-location-footer .menu-item-cta a {
    color: #ffffff !important;
    font-weight: bold;
}   

.hero-container {
    padding: 0;
}

.hero-overlay {
    background-color: var(--e-global-color-primary);
    padding: 20px;
}

@media (min-width: 992px) {
    .hero-container {
        padding: 0 120px 0 0;
    }

    .hero-overlay {
        position: absolute;
        right: 75px;
        bottom: -45px;
        padding: 45px;
        aspect-ratio: 1;
        width: auto;
    }

    .hero-gallery {
        padding: 60px;
    }
}

.elementor-widget-text-editor ul {
    margin-bottom: 1rem;
    padding-left: 1.1rem;
}

.single-object .object-details-table {
    font-weight: bold;
}

.object-details-table .ec-object-details .ec-object-details-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0 8px 0;
    border-bottom: 1px solid black;
}

@media (min-width: 768px) {
    .object-details-table .ec-object-details .ec-object-details-item {
        justify-content: start;
    }

    .object-details-table .ec-object-details .ec-object-details-item > *:nth-child(1) {
        width: 50%;
    }
}

.object-card {
    color: #707070 !important;
}

.object-card .ec-object-details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

.elementor-widget-ec-object-details .ec-object-details .ec-object-details-item {
    font-size: 1rem;
}

.elementor-mark-required .elementor-field-label:after {
    color: var(--e-global-color-primary);
}

.object-status-badge {
    padding: 6px 10px;
    background-color: var(--e-global-color-primary);
    color: white;
    text-transform: uppercase;
}

.object_status-verfuegbar .object-status-badge {
    display: none;
}

@media (min-width: 768px) {
    body {
        padding-top: 120px;
    }
    
    body:not(.elementor-editor-active) .elementor-location-header {
        height: 120px;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        transition: background-color 300ms ease, top 600ms ease;
    }

    body.admin-bar:not(.elementor-editor-active) .elementor-location-header {
        top: 32px;
    }

    body:not(.elementor-editor-active) .elementor-location-header.hidden {
        top: -200px;
    }
}


















.object-gallery .e-gallery-container {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(6, 1fr);
}

.object-gallery .elementor-gallery-item:nth-child(1),
.object-gallery .elementor-gallery-item:nth-child(2) {
    grid-column: span 3;
}

.object-gallery .elementor-gallery-item:nth-child(3),
.object-gallery .elementor-gallery-item:nth-child(4),
.object-gallery .elementor-gallery-item:nth-child(5) {
    grid-column: span 2;
}

.object-gallery .elementor-gallery-item:nth-child(n+6) {
    display: none;
}

.object-gallery .elementor-gallery-item:nth-child(5):after {
    content: 'Mehr Bilder';
    text-transform: uppercase;
    display: flex;
    color: white;
    font-size: .75rem;
    background-color: rgba(0,0,0,.2);
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

@media (min-width: 768px) {
    .object-gallery .elementor-gallery-item:nth-child(5):after {
        font-size: 2rem;
    }
}







.object-gallery .gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(6, 1fr);
}

.object-gallery .gallery-item img {
    object-fit: cover;
    aspect-ratio: 4/3;
}

.object-gallery .gallery-item {
    position: relative;
}

.object-gallery .gallery-item:nth-child(1),
.object-gallery .gallery-item:nth-child(2) {
    grid-column: span 3;
}

.object-gallery .gallery-item:nth-child(3),
.object-gallery .gallery-item:nth-child(4),
.object-gallery .gallery-item:nth-child(5) {
    grid-column: span 2;
}

.object-gallery .gallery-item:nth-child(n+6) {
    display: none;
}

.object-gallery .gallery-item:nth-child(5):after {
    content: 'Mehr Bilder';
    text-transform: uppercase;
    display: flex;
    color: white;
    font-size: .75rem;
    background-color: rgba(0,0,0,.2);
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    pointer-events: none;
}

@media (min-width: 768px) {
    .object-gallery .gallery-item:nth-child(5):after {
        font-size: 2rem;
    }
}







.project-gallery .gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(6, 1fr);
}

.project-gallery .gallery-item img {
    object-fit: cover;
    aspect-ratio: 4/3;
}

.project-gallery .gallery-item:nth-child(1),
.project-gallery .gallery-item:nth-child(2) {
    grid-column: span 3;
}

.project-gallery .gallery-item:nth-child(3),
.project-gallery .gallery-item:nth-child(4),
.project-gallery .gallery-item:nth-child(5) {
    grid-column: span 2;
}

.project-gallery .gallery-item:nth-child(6),
.project-gallery .gallery-item:nth-child(7) {
    grid-column: span 3;
}

.project-gallery .gallery-item:nth-child(n+8) {
    display: none;
}





.project-preview .gallery {
    display: grid;
    grid-template-columns: 3fr 1fr; 
    grid-template-rows: auto auto; 
    gap: 10px ; 
}

.project-preview .gallery-item img {
    object-fit: cover;
    aspect-ratio: 4/3;
}


.project-preview .gallery-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}


.project-preview .gallery-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    aspect-ratio: 1;
}


.project-preview .gallery-item:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    aspect-ratio: 1;
}


.project-preview .gallery-item {
    height: 100%;
}

.project-preview .gallery-item * {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-preview .gallery-item:nth-child(n+4) {
    display: none;
}



.showcase-gallery .gallery-item:nth-of-type(2) img {
    /* height: 250px; */
    object-fit: cover;
    margin-top: 1rem;
}

@media (max-width: 767px) {
    .showcase-gallery .gallery-item:nth-of-type(2) img {
        display: none;
    }
}

.showcase-gallery .gallery-item:nth-of-type(n+3) {
    display: none;
}

.object-status-referenz:not(.elementor-editor-active) .section-expose,
.object-status-referenz:not(.elementor-editor-active) .section-cta {
    display: none;
}

.brlbs-cmpnt-content-blocker {
    width: 100% !important;
}