/*
 Theme Name:   WpResidence child theme
 Theme URI:    https://themeforest.net/item/wp-residence-real-estate-wordpress-theme/7896392
 Description:  WpResidence child theme
 Author:       WpEstate
 Author URI:   http://wpestate.org
 Template:     wpresidence
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*=print invoice
--------------------------------------------------------------------------------*/
@font-face {
  font-family: 'Lora';
  src: url('https://marbella-exklusiv.de/wp-content/themes/wpresidence-child/fonts/Lora-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Lora';
  src: url('https://marbella-exklusiv.de/wp-content/themes/wpresidence-child/fonts/Lora-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}


/* blog Page */ 
#carousel-example-generic {
  display: none;
}
.meta-element, .prop_social_single {
  display: none;
}


.text-container {
  width: 100%;
  margin: 20px;
}

#mehrText {
  display: none; /* Standardmäßig ausgeblendet */
}

#toggleButton {
  margin-top: 10px;
  cursor: pointer;
  background: #18b5ab;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
}

.contact-box.islive, .backtop.islive{
  display: none !important;
}
#menu-item-198227 .fa-heart {
  position: relative;
}
#menu-item-198227 .fa-heart::after {
  content: attr(data-favorites-count);
  color: #18b5ab;
  position: absolute;
  top: -10px;
  right: -7px;
  display: inline-block;
  font-size: 10px;
  font-weight: bolder;
}
#favorites-icon {
  position: relative;
}

#favorites-count {
  background-color: #fff;
  padding: 10px;
  border: 1px solid #ccc;
  z-index: 1000;
}

#gmap_wrapper.with_open_street {
  z-index: 1;
  display: none;
}
#propertyid_display, .listing_detail.col-md-6.garage, .listing_detail.col-md-6.toilet, .listing_detail.col-md-6.terrace, .listing_detail.col-md-6.floors, .listing_detail.col-md-6.ibi, .listing_detail.col-md-6.property_default_lot_size, .listing_detail.col-md-6.suite, .listing_detail.col-md-6.community, .listing_detail.col-md-6.garbage {
  display: none !important;
}
.agent_unit_widget_sidebar_wrapper_unit {
  display: none;
}
.header_phone {
  display: none !important;
}
.dropdown.listing_filter_select.order_filter.order_filter_single {
  display: none;
}
h2 {
  color: #18b5ab !important;
}
@media only screen and (max-width: 770px) {
  h2 {
    font-size: larger;
  }
  .tm {
    margin-top: -50px;
  }
  }
#property_categories-1 {
  display: none !important;
}
.single_property_labels {
  opacity: 0;
}
.title_share.share_list.single_property_action, #print_page {
  display: none;
}
.page-template-contact_page .agent_detail {
  display: block;
  width: 100%;
}
.logo img {
  max-height: 68px;
  max-width: 200px;
}
.wabtn {
  background-color: #25D366;
  padding: 8px;
  color: white;
  border-radius: 5px;
  margin-left: -55px;
}
.wabtn2{
  background-color: #25D366;
  padding: 15px;
  color: white;
  border-radius: 5px;
  margin-left: 29px;
  max-width: 129px;
}
.wabtn3{
  background-color: #25D366;
  padding: 8px;
  color: white;
  border-radius: 5px;
  max-width: 129px;
}
.wabtn a, .wabtn2 a, .wabtn3 a  {
  color: white;
}
.wabtn a:hover, .wabtn2 a:hover, .wabtn3 a:hover {
  color: white;
}
.wabtn2 a {
  top: 0px;
  position: relative;
  left: 6px;
}
.header_wrapper.navbar-fixed-top.customnav::before, .master_header::before{
  content: url("/wp-content/themes/wpresidence-child/img/stilelement.svg");
  position: absolute;
  left: 40%;
  width: 1170px;
  height: 90px;
  right: 100px;
  position: absolute;
  top: 0px;
  z-index: -1;
}
.master_header.header_transparent::before {
  content: "" !important;
  position: absolute;
  left: 40%;
  width: 1170px;
  height: 90px;
  right: 100px;
  position: absolute;
  top: 0px;
  z-index: -1;
}
#access a, #access ul ul a, #user_menu_u {
  font-family: Poppins;
  text-transform: uppercase;
  letter-spacing: .75px;
}
/* Read more */
/* CSS für den "mehr lesen" Button */
.read-more-toggle {
  max-height: 100px; /* Maximale Höhe des Textes, der standardmäßig angezeigt wird */
  overflow: hidden; /* Text, der über die maximale Höhe hinausgeht, wird ausgeblendet */
  position: relative;
}

.read-more-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9); /* Hintergrundfarbe des ausgeblendeten Textbereichs */
  padding: 10px;
  transition: max-height 0.5s ease; /* Übergangseffekt für ein sanftes Ein- und Ausblenden des Textes */
}

.read-more-toggle .read-more-content.collapsed {
  max-height: 0;
  overflow: hidden;
}

.read-more-toggle .read-more-button {
  display: block;
  text-align: center;
  margin-top: 10px;
  cursor: pointer;
}


/* Search */
#advanced_submit_2 {

}
#advanced_submit_2 {
  min-height: 90px;
}
#search_wrapper {
  top: 90% !important;
}
#adv_extended_options_text_adv, #adv-search-header-1 {
  display: none !important;
}
.adv1-holder{
  padding: 13px 5px 4px 13px;
}
#advanced_submit_2 {
  font-size: 16px;
  width: 163px;
  height: 60%;
  top: 12px;
  right: 16px;
}
#search_wrapper.with_search_form_float #search_wrapper_color {
  background-color: #fff !important;
}
.invoice_print_title {
    font-size: 25px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    margin-bottom: 5px;
}
#rev_slider_3_1_forcefullwidth {
  z-index: 1 !important;
}
.m-top {
  margin-top: -51%;
  z-index: 999;
  position: relative;
}
.wpestate_invoice_date{
  font-size: 13px;
}

.wpestate_print_invoice_to_section,
.wpestate_print_invoice_from_whom_section{
  width: 50%;
  float: left;
  margin-top: 45px;
  font-size: 14px;
  margin-bottom: 45px;
  line-height: 1.5em;
}

.wpestate_print_invoice_details_wrapper{
  width: 100%;
  text-align: right;
}

.wpestate_print_invoice_details_detail{
  width: 100%;
  float: left;
  border-bottom: 1px solid #f1f1f1;
  padding: 15px 0px;
  font-size: 13px;
  margin-bottom:0px;
}

.wpestate_print_invoice_details_detail label{
  float:left;
  font-weight: 700;
}

.wpestate_print_invoice_details_wrapper{

}

.wpestate_print_invoice_details_wrapperex_details{
  width: 100%;
  float: left;
  text-align: left;
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.5em;
}

.wpestate_print_invoice_end{
  width: 100%;
  float: left;
  text-align: left;
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.5em;
}

/* Search Page */
#geolocation_search, .label_radius, #wpestate_slider_radius, .col-md-3.slider_radius_wrap, .col-md-9.slider_radius_wrap {
  display: none;
}
#results_no::after {
  content: '+';
}
/* Teaser */
.bs {
  border-radius: 10px;
}
.ts_bg {
box-shadow: 0 2px 9px rgba(0, 0, 0, 0.16);
border-radius: 7px;
overflow: hidden;
border: 1px solid #d5d5d5;
}
.teaser-link{
  width: 100%;
  padding: 20px;
  text-align: center;
  background: #fff;
  display: block;
  font-size: 22px;
  text-transform: uppercase;
  font-weight: bolder;
  color: #525353 !important;
  border-radius: 5px;
  overflow: hidden;
}
/* Property Page */
.wpestate_control_media_buttons_wrapper {
  display: none;
}
  .img-responsive.lightbox_trigger {
  width: 100% !important;
}
/* Property Cards  Typ 5*/
.property_unit_type5_content_details {
  color: #fff;
  position: absolute;
  bottom: 15px;
  z-index: 9;
  padding: 10px 15px;
  background: #0000003b;
}
.property_unit_type5_content_details_second_row {
  background: #FFF;
}
.property_unit_type5_content_details {
  color: #acafb1;
}
.status-wrapper {
  display: none;
}
/* Property Cards  Typ 3*/ /*
.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 380px;
}
.carousel-inner > .item > a > img, .carousel-inner > .item > img {
  display: block;
  max-width: 100%;
  height: auto;
  min-height: 380px;
}  */

.property_location_image, .property_agent_wrapper, .compare-action { display: none;}
/* property Page */
.property-detail strong {
  display: none;
}
.first_overview {
  text-align: center !important;
}
.see_my_list_featured {
  display: none;
}
@media (max-width: 768px) {
  .page-overview-details-wrapper {
    justify-content: normal;
  }
}
/* Teaser Vers. 2 */
.teaser-2-container {
  width: 100%;
  height: auto;
  border-radius: 10px !important; /* Ecken abrunden */
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.teaser-2-img {
  width: 100%;
  height: auto;
  position: relative;
  border-radius: 10px !important; /* Ecken abrunden */
}

.teaser-2-img img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.teaser-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1); /* Transparentes schwarzes Overlay */
  transition: background-color 0.3s; /* Übergangseffekt für die Hintergrundfarbe */
  border-radius: 10px 10px 10px 10px; /* Ecken abrunden */
}

.teaser-2-txt {
  width: 100%;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  position: absolute;
  top: 20%;
  word-spacing: 13px;
  transform: translateY(-50%);
  z-index: 1; /* Text über dem Overlay positionieren */
  color: white; /* Textfarbe auf weiß setzen */
  font-family: Poppins;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .75px;
}

.teaser-2-container:hover .teaser-overlay {
  background-color: rgba(0, 0, 0, 0.4); /* Dunkleres Overlay beim Hover */
}

.border-shadow {
  border-radius: 10px 10px 10px 10px; 
} 

/* Quadratische Ansicht für Desktop */
.quadratisch-desktop {
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* Erzeugt ein quadratisches Container */
  position: relative;
  display: block; /* Sicherstellen, dass der Container sichtbar ist */
}

.quadratisch-desktop .teaser-2-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.quadratisch-desktop .teaser-2-img img {
  object-fit: cover; /* Sorgt dafür, dass das Bild den Container vollständig ausfüllt */
  width: 100%;
  height: 100%;
}

/* Rechteckige Ansicht */
.rechteckig {
  width: 100%;
  height: auto;
  position: relative;
  display: block; /* Sicherstellen, dass der Container sichtbar ist */
}

/* Medienabfrage für mobile Geräte */
@media (max-width: 768px) {
  .quadratisch-desktop {
    width: 100%;
    height: auto;
    padding-bottom: 0;
    display: block; /* Sicherstellen, dass der Container sichtbar ist */
  }
  .quadratisch-desktop .teaser-2-img {
    position: relative;
  }
  .quadratisch-desktop .teaser-2-img img {
    object-fit: contain; /* Beibehaltung des Seitenverhältnisses */
    width: 100%;
    height: auto;
  }
}



.border-shadow {
  border-radius: 10px 10px 10px 10px; /* Ecken abrunden */
}

/* Social Buttons */
.social-buttons {
  display: flex;
  gap: 10px;
}

.social-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  color: white;
  font-size: 24px;
  transition: background-color 0.3s ease;
}

.social-buttons a.facebook {
  background-color: #3b5998;
}

.social-buttons a.facebook:hover {
  background-color: #2d4373;
}

.social-buttons a.youtube {
  background-color: #ff0000;
}

.social-buttons a.youtube:hover {
  background-color: #cc0000;
}

.social-buttons a.linkedin {
  background-color: #0077b5;
}

.social-buttons a.linkedin:hover {
  background-color: #005582;
}
/*  Sitebar */
.expose-btn {
  background: rgb(235,235,235);
  background: linear-gradient(0deg, rgba(235,235,235,1) 100%, rgba(255,255,255,1) 100%);
  border: 1px solid #18b5ab;
  border-radius: 5px;
  padding: 10px 20px;
  display: block;
  text-align: center;
  color: #18b5ab;
}
.expose-btn:hover {
  color: white;
  background: #18b5ab;
}
/* Contact Teaser */
.contactor {
  position: fixed;
  right: 20px;
  bottom: 7%;
  z-index: 99;
  transition: 1s;
}

.img-responsive.retina_ready {
  width: 160px !important;
}
/* Agent Details */
.agent_detail {
  color: grey !important;
}
.agent_featured_details {
  opacity: 1;
  position: absolute;
  line-height: 1.65em;
}
/* benefit list */
.benefit-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0px;
}
.benefit-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.benefit-list li::before {
  content: '\2713'; /* Unicode for checkmark */
  position: absolute;
  left: 0;
  color: turquoise;
  font-weight: bold;
  font-size: 16px;
}
/* Arrows */
.arrow-box {
  padding: 20px;
  border: 1px solid #18b5ab;
  border-radius: 8px;
}
.arrow-list::before {
  content: '\2713';
  position: absolute;
  left: 14px;
  color: turquoise;
  font-weight: bold;
  font-size: 26px;
}
.arrow-list {
  margin-left: 20px;
}
.arrow-content {
  margin-left: 30px;
}
/* Form */
.wpcf7-form label {
  width: 100%;
}
/* Property Contact Buttons */
/* Property Contact Buttons */
/* Property Contact Buttons */
/* Property Contact Buttons */
#ct-buttons {
  position: fixed;
  bottom: 20px; /* Abstand vom unteren Rand */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex !important;
  gap: 30px !important; /* Abstand zwischen den Buttons */
  flex-wrap: nowrap !important; /* Verhindert Umbruch der Buttons */
  opacity: 0;
  visibility: hidden; /* Unsichtbar, aber immer im DOM */
  transition: opacity 0.3s ease, visibility 0.3s ease;
  font-family: 'Roboto';
}

/* Sichtbare Buttons */
#ct-buttons.show {
  opacity: 1;
  visibility: visible;
}

/* Container für jeden Button */
.ct-button-container {
  flex: none;
  position: relative; /* Wichtig für die absolute Positionierung des Icons */
}

/* Button Styling */
.ct-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  padding: 20px 20px;
  background: black;
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  box-sizing: border-box;
  font-size: 18px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: visible;
  font-weight: normal;
}

/* Hover-Effekt */
.ct-button:hover {
  background: #333;
  transform: scale(1.05);
}

/* Kleinere Schrift für Untertitel */
.ct-subtitle {
  color: white;
  font-size: 14px;
  font-weight: 300;
  display: none;
}

/* --------- ICON-KREISE MIT UNTERSCHIEDLICHEN POSITIONEN --------- */

/* Gemeinsame Stile für die Kreise */
.ct-button::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px; /* Größe des Kreises */
  height: 80px;
  background-color: white;
  border-radius: 50%;
  border: 4px solid black; /* Kräftige Border */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Schatten für besseren Kontrast */
}

/* Exposé-Button (Kreis links) */
.email-button::before {
  left: -50px; /* Positioniert den Kreis links außerhalb */
  background-image: url('/wp-content/themes/wpresidence-child/img/file-pdf-regular(1).svg'); /* Dein PDF-Icon */
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

/* WhatsApp-Button (Kreis rechts) */
.whatsapp-button::before {
  right: -50px; /* Positioniert den Kreis rechts außerhalb */
  background-image: url('/wp-content/themes/wpresidence-child/img/whatsapp-brands-solid.svg'); /* Dein WhatsApp-Icon */
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}


/* PopUp */
.modal {
  display: none; /* Versteckt das Modal standardmäßig */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5); /* Halbdurchsichtiger Hintergrund */
}

/* Inhalt des Modals */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* Schließen-Button */
.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* Team */
/* Haupt-Styles der Team-Kachel */
.team-teaser {
  border-radius: 10px; /* Abrundung der Ecken */
  overflow: hidden; /* Damit der Randradius auch für das Bild greift */
  text-align: center; /* Textzentrierung */
  padding-bottom: 16px;
}

.team-teaser img {
  width: 80%; /* Bild nimmt die gesamte Kachelbreite ein */
  height: auto; /* Beibehaltung des Seitenverhältnisses */
  border-radius: 10px;
  box-shadow: 1px 13px 26px #00000029;
}

.team-info {
  padding: 16px; /* Innenabstand für die Textsektion */
}

/* Stile für den Namen */
.team-info h3 {
  margin: 8px 0; /* Abstand über und unter dem Namen */
  font-size: 1.5em; /* Schriftgröße des Namens */
}

/* Versteckt alle <br> Tags direkt nach der .team-info */
.team-info br {
  display: none; /* Versteckt alle <br> in team-info */
}
.tel-space {
  margin-right: 20px !important;
}
/* Stile für den Bereich */
.team-info i {
  color: #666; /* Leicht graue Schriftfarbe für den Bereich */
  font-style: normal; /* Normale Schriftart */
  display: block; /* Auf separater Zeile */
  margin-bottom: 8px; /* Abstand zum nächsten Element */
}

/* Stile für die Kontaktinformationen */
.team-info a {
  color: #007bff; /* Blaue Schriftfarbe für die Links */
  text-decoration: none; /* Keine Unterstreichung der Links */
  display: inline-flex; /* Setzt das a-Tag auf eine Zeile mit flexibler Anordnung */
  align-items: center; /* Vertikale Ausrichtung der Icons und des Textes */
  margin: 4px 0; /* Abstand zwischen den Links */
}

.team-info a i {
  margin-right: 8px; /* Abstand zwischen Icon und Text */
  color: #0c8c84; /* Optionale Farbe für das Icon */
}

.team-info a:hover {
  text-decoration: underline; /* Unterstreichung beim Hover */
}



/* mobile ansicht wechseln */
@media (min-width: 770px) {
  .contact-box.islive, .backtop.islive { margin-bottom: 75px;}
}

@media only screen and (max-width: 770px) {
  .half_map_controllers_wrapper {
    display: none !important;
  }
}
/* HF – Heidi Fischer Marbella Exclusive Properties */
  .n-width {
    width: 30% !important;
    position: absolute !important;
    top: 0 !important;
    left: 60%;
  }
  .featured_article_type2_title_wrapper {
    padding: 35px;
  }
  .featured_article_type2_title_wrapper h2 {
    font-size: 24px;
    max-width: 250px;
  }
@media only screen and (max-width: 1700px) {
.n-width {
  width: 40% !important;
  left: 63%;
}
}
@media only screen and (max-width: 1300px) {
  .n-width {
    width: 35% !important;
    left: 68%;
  }
  }
  @media only screen and (max-width: 1024px) {
    .n-width {
      left: 65%;
    }
    }
    @media only screen and (max-width: 770px) {
      .single-estate_property .wpresidence_button.realtor_call, .single-estate_property .wpresidence_button.realtor_whatsapp {
        display: block !important;
      }
    }
    @media only screen and (max-width: 767px) {
      .n-width {
        position: relative !important;
        width: 100% !important;
        left: 0; 
      }
      #menu-item-22201 {
        margin-top: 50px !important;
      }
      .mobile_agent_area_wrapper {
        display: none !important;
      }
      }

      @media only screen and (max-width: 1023px) {
       
      }
      /* mobile Slider */
@media only screen and (max-width: 500px) {
  .owl-carousel .owl-item {
    position: relative;
    overflow: hidden;
    height: 500px; /* Höhe des Containers */
  }

  .owl-carousel .owl-item img {
    display: block;
    width: auto;
    height: 100%;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    margin-top: 228px !important;
    height: 500px;
  }
  .master_header::before {
    content: url("/wp-content/themes/wpresidence-child/img/stilelement.svg");
    position: absolute;
    left: 40%;
    width: 800px;
    height: 58px;
    right: 100px;
    position: absolute;
    top: 0px;
    z-index: -9;
  }
}

/* Custom Blog Template */
.custom-blog-title-img {
  position: relative; /* Wichtig, um das ::before Pseudoelement zu positionieren */
  max-height: 450px;
  border-radius: 20px;
  overflow: hidden;
  margin-left: 3%;
  margin-right: 3%;
  margin-top: 32px;
}

/* Hier wird das Bild auf volle Breite und max. Höhe eingestellt */
.custom-full-width-thumbnail.wp-post-image {
  width: 100%; /* Bild auf volle Breite des Containers setzen */
  max-height: 450px; /* Maximale Höhe auf 450px begrenzen */
  height: auto; /* Höhe automatisch anpassen, um das Seitenverhältnis zu wahren */
  object-fit: cover; /* Das Bild wird zugeschnitten, um die volle Breite und max. Höhe zu füllen */
}

/* Das Overlay mit transparentem Schwarz wird über dem Bild platziert */
.custom-blog-title-img::before {
  content: ''; /* Erzeugt ein leeres Pseudoelement */
  position: absolute; /* Positioniert das Overlay relativ zum Elternelement */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Transparentes Schwarz */
  border-radius: 20px; /* Gleiche Abrundung wie das Bild */
  z-index: 1; /* Das Overlay liegt über dem Bild */
}

/* Das Bild selbst bleibt hinter dem Overlay */
.custom-full-width-thumbnail.wp-post-image {
  position: relative;
  z-index: 0; /* Das Bild bleibt hinter dem Overlay */
}

.custom-template-wrapper {
  max-width: 1276px;
  padding-bottom: 0;
  margin-bottom: 0;
  padding: 0 15px 30px 15px;
  box-sizing: border-box;
  margin: 0 auto;
}
.custom-date {
  margin-top: 1rem;
  margin-bottom: 50px;
  font-size: 18px;
}
.custom-content {
  margin-top: 32px;
}
.custom-blog-title {
  font-family: 'Lora', serif;  /* Verwende 'Lora' statt 'Lora-Regular' */
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 47px;
  letter-spacing: 1px;
  margin-top: 50px;
  margin-bottom: 20px;
  width: 60%;
}
.custom-content p {
  font-size: 16px;
  line-height: 26px;
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 400;
}
/* Für die benutzerdefinierte Blog-Bildstruktur */
.custom-blog-title-img {
  position: relative; /* Erforderlich, um das Overlay und Text über dem Bild zu positionieren */
  max-height: 450px;
  border-radius: 20px;
  overflow: hidden;

  margin-top: 32px;
}

/* Das Bild auf die volle Breite setzen und das Seitenverhältnis beibehalten */
.custom-full-width-thumbnail {
  width: 100%; /* Das Bild nimmt 100% der Breite des Containers ein */
  height: auto; /* Das Bild bleibt proportional */
  object-fit: cover; /* Bild wird zugeschnitten, um die Breite und max. Höhe zu füllen */
  max-height: 450px; /* Maximalhöhe auf 450px begrenzen */
}

/* Overlay über dem Bild */
.custom-blog-title-img .overlay {
  position: absolute; /* Overlay wird über das Bild gelegt */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.02); /* Transparentes schwarzes Overlay */
  display: flex;
  justify-content: center; /* Zentriert den Text horizontal */
  align-items: center; /* Zentriert den Text vertikal */
  text-align: center;
  z-index: 1; /* Das Overlay ist über dem Bild */
}

/* Blog-Titel und Kategorie */
.blog-header-text {
  color: white; /* Weißer Text */
  font-family: 'Lora', serif; /* Schriftart */
}

.blog-title {
  font-size: 36px; /* Größe des "Blog" Textes */
  margin: 0;
  color: white !important;
  font-family: 'Lora', serif; /* Schriftart */

}

.post-category {
  font-size: 18px; /* Größe der Kategorie */
  margin-top: 10px;
  text-transform: uppercase; /* Alle Buchstaben groß */
  font-weight: bold;
  colo: white !important;
  font-weight: 300;
}
.post-category a { color: white !important; }

@media only screen and (max-width: 770px) {
  .custom-blog-title-img {
    border-radius: 0px;
    overflow: hidden;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 32px;
  }
  .custom-blog-title-img::before {
    border-radius: 0px;
  }
  .custom-blog-title {
    font-size: 36px;
    line-height: 37px;
    width: 100%;
  }
}
.Newsletter-Area {
  font-family: 'Lora', serif;
  background: #2d2a26;
  padding: 60px 0;
  text-align: center;
  colo: #eeebea;
}
.Newsletter-Area h3 {
  font-family: 'Lora', serif;
  text-transform: uppercase;
  color: white;
  font-size: 36px;
  line-height: 1.3em;
  margin-bottom: 15px;
  font-weight: 300;
}

.Newsletter-Area p {
  font-family: 'Lora', serif;
  color: white;
  font-size: 21px;
  line-height: 1.3em;
  margin-bottom: 15px;
  font-weight: 500;
}

.newsletter-form {
  max-width: 1000px; /* Maximale Breite */
  margin: 0 auto;   /* Zentriert den Inhalt horizontal */
  width: 100%;      /* Sorgt dafür, dass der Container flexibel bleibt */
  padding: 0 15px;  /* Fügt etwas Abstand an den Seiten für kleinere Bildschirme hinzu */
}

.newsletter-form-container {
  display: flex;
  flex-wrap: wrap; /* Bricht Elemente bei kleinen Bildschirmen um */
  gap: 10px;       /* Abstand zwischen Eingabefeld und Button */
  align-items: center; /* Zentriert die Elemente vertikal */
}

.newsletter-label {
  flex: 1 1 auto;  /* Eingabefeld wächst mit dem verfügbaren Platz */
  min-width: 200px; /* Mindestbreite für das Eingabefeld */
  color: white;
}

.newsletter-input {
  width: 100%;         /* Eingabefeld füllt den verfügbaren Platz */
  padding: 10px;       /* Polsterung für bessere Lesbarkeit */
  font-size: 16px;     /* Angenehme Schriftgröße */
  box-sizing: border-box; /* Bezieht Polsterung in die Breite ein */
}

.newsletter-button {
  padding: 10px 20px;  /* Polsterung für den Button */
  font-size: 16px;     /* Einheitliche Schriftgröße */
  background-color: #40e0d0; /* Blaues Hintergrund für den Button */
  color: #fff;         /* Weiße Schrift */
  border: none;        /* Entfernt den Rahmen */
  cursor: pointer;     /* Zeigt den Klickstatus an */
  border-radius: 5px;  /* Leichte Rundung an den Ecken */
}

.newsletter-button:hover {
  background-color: #0056b3; /* Dunklerer Blauton bei Hover */
}

/* Resales Import CSS */
.listing_detail.col-md-6.garden {
  display: none !important;
}
/* CSS Solution: Hide items with park icon */
.property_listing_details_v2_item:has(img[src*="park"]) {
  display: none;
}

/* Alternative: Hide by content length if the amenities list is always the longest */
.property_listing_details_v2_item {
  display: flex;
  gap: 0.5rem;
}

/* Hide items that are significantly longer than others */
.property_listing_details_v2_item:has(> div.icon_label + *:not([class]):not(span)) {
  display: none;
}

/* Overlap Img */
/* Hauptcontainer (100% breit) */
.overlap-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Quadrat */
}

/* Gemeinsame Styles für die Bilder */
.overlapbox {
  position: absolute;
  width: 60%; /* Beide zusammen füllen 100% */
  aspect-ratio: 1 / 1; /* Quadrat */
  border-radius: 20px;
  overflow: hidden;
  -webkit-box-shadow: 0px -1px 42px 12px rgba(0, 0, 0, 0.096); 
box-shadow: 0px -1px 42px 12px rgba(0, 0, 0, 0.096); 
}

/* Erstes Bild (links oben) */
.overlapbox-1 {
  top: 0;
  left: 0;
  overflow: hidden;
}

/* Zweites Bild (rechts unten, überlappt) */
.overlapbox-2 {
  bottom: 15%;
  right: 15%;
  overflow: hidden;
}

/* Bilder skalieren */
.overlapbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsiv: Größere Quadrate bei kleineren Screens */
@media (max-width: 600px) {
  .overlapbox {
      width: 70%;
  }
}

/* Sales Icons + Text */
.sales-container {
  display: flex;
  align-items: center;
  gap: 15px; /* Abstand zwischen Icon und Text */
  max-width: 400px; /* Maximale Breite, damit es nicht zu breit wird */
}

/* Icon */
.sales-icon {
  width: 150px; /* Größe des Icons */
  height: auto;
  flex-shrink: 0; /* Verhindert, dass das Icon skaliert wird */
}

/* Text */
.sales-text {
  font-size: 16px;
  line-height: 1.4;
  color: #000;
}

/* Responsive für Mobilgeräte */
@media (max-width: 600px) {
  .sales-container {
      flex-direction: column; /* Stapelt Icon über den Text */
      align-items: center; /* Zentriert Icon und Text */
      text-align: center; /* Zentriert den Text */
  }
}
/* Rating Slider */
.rating-slider-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  background: #fff;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.rating-slider {
  display: flex;
  transition: transform 2.5s ease-in-out;
  width: 100%;
}

.rating-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 20px;
  background: #fff;
  overflow: hidden; /* Kein Überlaufen außerhalb des Containers */
  word-wrap: break-word;
}

.rating-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: bold;
  flex-wrap: wrap; /* Stellt sicher, dass das Datum auf kleine Bildschirme passt */
  gap: 10px;
}

.stars {
  color: #ffd900;
  font-size: 30px;
  flex-shrink: 0;
  margin-top: -10px;
}

.rating-title {
  flex-grow: 1;
  text-align: left;
  font-weight: bold;
  min-width: 50%;
}

.rating-date {
  text-align: right;
  font-size: 12px;
  color: #4640f7;
  white-space:nowrap;
  min-width: 30%;
}

/* Damit der Bewertungstext auf dem Smartphone umbricht */
.rating-text {
  margin: 10px 0;
  font-size: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Punkte (Slider-Dots) unterhalb des Containers */
.slider-dots {
  text-align: center;
  padding: 10px;
  margin-top: 10px; /* Abstand zum Container */
}

.slider-dots span {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.slider-dots .active {
  background-color: #ffd900;
}



/* Sidebar Formular Property */
/* Formular-Wrapper */
.Property-Formular {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Allgemeine Feld-Styles */
.Property-Formular label {
  font-weight: normal;
  margin-bottom: 5px;
  font-size: 17px;
  margin-bottom: 10px;
}

.Property-Formular input[type="text"],
.Property-Formular input[type="tel"],
.Property-Formular input[type="email"],
.Property-Formular textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  height: 42px;
}

/* Einheitliche Höhe für Textarea bei kleinem Platz */
.Property-Formular textarea {
  resize: vertical;
  height: auto;
  min-height: 100px;
}

/* Senden-Button */
.Property-Form-Senden {
  background-color: #18b5ab;
  color: white;
  font-size: 14px;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.Property-Form-Senden:hover {
  background-color: #7bdcb5;
}

/* Optional: Abstand nach dem Formular */
.Property-Formular p {
  margin-top: 10px;
  font-size: 14px;
}

.Property-Form-Datenschutz  label {
  font-size: 12px;
  line-height: 18px;
}
.Property-Form-Datenschutz a {
  color: #7bdcb5;
}



/* New Style */
#contact_widget-2 {
  margin-top: -25px;
}
h1 {
  color: black;
  font-family: 'Lora', serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 40px;
  margin-top: 60px;
  margin-bottom: 30px;
}
h2 {
  font-size: 32px;
  color: black !important;
  font-family: 'Lora', serif;
  font-weight: 500;
  margin-bottom: 30px;
}
h3 {
  font-family: 'Lora', serif !important;
  font-weight: 500;
  margin-bottom: 30px;
}
.teaser-2-txt {
  font-family: 'Lora', serif;
  font-weight: 500;
}
.property_card_default a {
  color: black !important;
  font-family: 'Lora', serif !important;
  font-weight: 500;
}
#advanced_submit_2 {
  background: #2d2a26 !important;
}
.wabtn, .wabtn3 {
  background-color: #2d2a26;
}
.wabtn:hover, .wabtn3:hover {
  background-color: #25D366;
}
.social-buttons a.facebook, .social-buttons a.youtube, .social-buttons a.instagram, .social-buttons a.instagram:hover, .social-buttons a.linkedin {
  background-color: #2d2a26 !important;
}
.custom-mg {
  margin-top: 32px;
  margin-bottom: 32px;
}
@media only screen and (max-width: 770px) {
  h2 {
    font-size: 2.8rem !important;
    line-height: 3.3rem !important;
  }
  .custom-mg {
    margin-top: 0px;
    margin-bottom: 0px;
  }
}


/* Ratgeber Form */
.ratgeber-form {
  width: 100%;
  background: #18b5ab;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
}
.ratgeber-e-mail-input {
  width: 100%;
}
.ratgeber-submit-button {
  color: white;
  padding: 20px;
  background: darkcyan;
  border-radius: 5px;
  border: none !important;
}