/* 
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
*/

/* Add your custom styles here */
/*.elementor-widget-text-editor p { margin-bottom: 0;} */

#elementor-popup-modal-947 { z-index: 9997; }
.gr-boxed { width: 560px !important; }

@keyframes gr-slideDown {from {margin-top: -200px; margin-bottom: 200px; } to {margin-top: 0px; margin-bottom: 0px; } }
#gr-hero>.elementor-container { margin-top: -200px; margin-bottom: 200px; animation: gr-slideDown 1.5s 0.5s both; }
#gr-hero:after { content: ""; position: absolute; bottom: 0%; z-index: 99; width: 100%; height: 100%; background: #ffffff; }
@keyframes gr-reveal {from {height: 100%; } to {height: 0%; } }
#gr-hero:after { height: 100%; animation: gr-reveal 1.5s 0.5s both; }

/* Logo sticky fixed */
@media screen and (min-width: 1480px) {
	#gri-site-logo {
		position: fixed;
	}
}

/*
 * Immobiliensuche + Partner Seite - Justimmo Grid Results
 * */

.jig-realty {
    background-color: #ffffff;
}
.jig-realty a, .jig-realty a:hover {
    color: var(--e-global-color-text);;
}

.jig-realty .jig-realty-title h3 {
    font-size: 1.25rem;
    font-weight: 700;
}
.jig-realty a header, .jig-realty a section {
    padding-left: 20px;
    padding-right: 20px;
}

.jig-realty a .jig-realty-location::before {
    content: '\ea6e'; 
    font-family: 'zwi-con-2021';
    font-size: 25px;
    transform: translateY(-50%);
    margin-left: -6px;

}
.jig-realty a .jig-realty-location {
    margin-bottom: 15px;
}
.jig-realty a .jig-realty-details .jig-info {
    border-bottom: 0;
}
.jig-realty-details ul {
    display: flex;
    flex-wrap: wrap; /* Erlaubt Umbruch für Zeilen */
    list-style: none;
    padding: 0;
    gap: 10px; /* Abstand zwischen den <li> */
}

.jig-realty-details li {
    display: flex;
    width: 100%; /* Erste zwei <li> nehmen volle Breite */
}

.jig-realty-details li:nth-child(1), .jig-realty-details li:nth-child(2) {
    flex: 0 0 100%; /* Erste und zweite <li> in eigener Zeile */
    align-items: center; /* Label und Span nebeneinander zentriert */
    gap: 10px; /* Abstand zwischen Label und Span */
}

 .jig-realty-details li:nth-child(n+3) {
    flex-direction: column; /* Ab dem dritten <li>: vertikal */
    align-items: flex-start; /* Links ausrichten */
    flex: 0 0 calc(33.33% - 13.33px); /* Drei <li> nebeneinander */
}

.jig-realty-details li:nth-child(n+3) span {
    margin-top: 5px; /* Abstand zwischen Label und Span */
}

.jig-realty-details label, .jig-realty-details span {
    display: block; /* Sicherstellen, dass sie wie Block-Elemente behandelt werden */
}
.jig-realty-details li:nth-child(1) label, 
.jig-realty-details li:nth-child(1) span,
.jig-realty-details li:nth-child(2) label, 
.jig-realty-details li:nth-child(2) span {
    display: inline-block; /* Nebeneinander für die ersten zwei <li> */
}
@media (max-width: 600px) {
    .jig-realty-details ul {
        flex-direction: column;
    }
    .jig-realty-details li:nth-child(n+3) {
        width: auto;
    }
}
li.jig-info-realty-type, 
li.jig-info-marketing-type {
    display: none;
}

.jig-realty-container.jig-realty-grid {
	gap: 30px;
}

.jig-realty-container.jig-realty-grid.jig-realty-grid-col-2 article.jig-realty {
    width: calc(50% - 15px); /* 50% minus halber Abstand (30px/2) */
    box-sizing: border-box; /* Verhindert Breitenüberschreitung durch Padding/Margin */
}

.partner-estates .jig-realty-container.jig-realty-grid.jig-realty-grid-col-3 article.jig-realty {
	width: calc(33.33% - 20px); /* 33,33% minus 2/3 des Abstands (30px * 2/3) */
    box-sizing: border-box; /* Verhindert Breitenüberschreitung */
}


@media (max-width: 767px) {
    .jig-realty-container.jig-realty-grid.jig-realty-grid-col-2 article.jig-realty {
        width: 100%; /* Volle Breite auf kleinen Bildschirmen */
    }
}

/* Tablet: 2 Spalten */
@media (max-width: 1024px) {
    .jig-realty-container .jig-realty {
        flex: 0 0 calc(50% - 10px); /* 2 Spalten */
    }
}

/* Mobil: 1 Spalte */
@media (max-width: 767px) {
    .jig-realty-container .jig-realty {
        flex: 0 0 100%; /* 1 Spalte */
    }
}
 

/*
 * Immobiliensuche Filter
 * */
.jig-search-form {
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
}
.jig-search-form input[type=date], 
.jig-search-form input[type=email], 
.jig-search-form input[type=number], 
.jig-search-form input[type=password], 
.jig-search-form input[type=search], 
.jig-search-form input[type=tel], 
.jig-search-form input[type=text], 
.jig-search-form input[type=url], 
.jig-search-form select, 
.jig-search-form textarea {
    padding: .3rem 1rem;	
}
.jig-search-form p {
	margin-bottom: 5px;
}
.jig-search-form input {
	border-radius: 0;
}
.jig-search-form .jig-input {
    border-color: transparent;
}

.jig-search-form .jig-input--submit {
    border-color: var(--e-global-color-accent);
}

.jig-search-form a.jig-input--form-reset {
    display: inline-flex; /* Flex für Icon und Text nebeneinander */
    align-items: center; /* Vertikale Zentrierung */
    gap: 8px; /* Abstand zwischen Icon und Text */
    position: relative; /* Für präzise Positionierung */
}

.jig-search-form a.jig-input--form-reset::before {
    content: '\e938'; /* Platzhalter-Unicode für zwi-icon-pin, anpassen! */
    font-family: 'zwi-con-2021'; /* Font-Name aus Eigene Symbole */
    font-size: 16px; /* Icon-Größe, anpassen */
    color: #333; /* Farbe, anpassen */
    line-height: 1; /* Verhindert zusätzliche Höhe */
}

.jig-search-form a.jig-input--form-reset:hover {
/*    text-decoration: underline;*/
    color: #7d7d7d;
	text-decoration: none; /* Verhindert Standard-Unterstreichung */
    border-bottom: 0.5px solid #7d7d7d; /* Unterstreichung mit Farbe und Dicke */
    padding-bottom: 1px; /* Abstand zwischen Text und Unterstreichung */
}

.jig-search-form #filter_price_from, .jig-search-form #filter_price_to,
.jig-search-form #filter_rooms_from, .jig-search-form #filter_rooms_to,
.jig-search-form #filter_surface_from, .jig-search-form #filter_surface_to {
	width: 41%;
}
.jig-search-form .jig-states-container select, .jig-search-form #filter_property_type {
	width: 91%;
}
.jig-search-form .jig-cities-container ul {
	list-style: none;
	padding-left: 0;
}
.jig-search-form label[for="filter_rent"], .jig-search-form label[for="filter_buy"] {
	margin-bottom: 5px;
	margin-right: 15px;
}
.jig-search-form label[for^="city_"], .jig-search-form label[for^="filter_"], .jig-search-form label[for^="filters_"] {
	margin-bottom: 5px;
}

.jig-search-form .jig-cities-container {
	margin-bottom: 15px;
}
.jig-search-form .js-get-cities {
	margin-top: -5px;
}
.jig-search-form input[type="submit"] {
	margin-top: 15px;
}

/*
 * Immobilien Detailseite
 * */

.post-188 {
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
	font-weight: var(--e-global-typography-text-font-weight);
	text-transform: var(--e-global-typography-text-text-transform);
	line-height: 1.5;
	font-size: 1.rem;
}
.post-188 .jig-photos-list__item.lslide.active {
	background-color: transparent;
}
.post-188 .jig-realty-property span, .post-188 .jig-info-section span {
	color: #000000 !important;
}
.post-188 .jig-info-list .jig-info {
	border-bottom: none;
}
/*
.post-188 h1.jig-realty-property {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    text-transform: var(--e-global-typography-primary-text-transform);
	font-size: 48px;
	line-height: 1;
}
*/