/*
 Theme Name:   P&B Child  
 * Theme URI: https://yootheme.com
 Description:  This is a child theme for P&B
 Author:       P&B
 Author URI:   https://pb.com
 Template:     peb
 Version:      1.0
 Tags:         two-columns, three-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, theme-options, editor-style, featured-images, microformats, post-formats,  sticky-post, threaded-comments, translation-ready
 Text Domain:  peb-child
*/
/* settato a mano*/
:root {
      --agim-primary-color: #03A4D2;
      --agim-secondary-color: #03A4D2;
      --agim-text-color: #3c3c3c;
      --agim-primary-font: unset !important;
      --agim-title-font: Arial;
    }
/*  Stile per header */

.logo img {
  top: -3px;
  height: 100%;
}
.ricerca-round .elementor-motion-effects-container {
  border-radius: 8px !important;
}
/* Stile per il widget immobile */
#elenco-immo .item,
.vetrina-tab .item {
  margin: 0px;
}
.houzez-gdpr-agreement {
  margin-top: -30px;
}
.footer-top-wrap {
  padding: 80px 0 0px !important;
}
.save_property .add {
  display: block;
}

.save_property .remove {
  display: none;
}

.save_property.saved .remove {
  display: block;

}

.save_property.saved .remove i {
  color: #03A4D2;
}

.save_property.saved .add {
  display: none;
}

.houzez-listing-carousel .item.slick-slide img {
  height: 255px;
  object-fit: cover;
  object-position: center;
}

.item-amenities {
  justify-content: space-between;
}


#elenco-immo .item-listing-wrap .btn-primary-outlined,
.vetrina-tab .item-listing-wrap .btn-primary-outlined {
  color: #636363;
  background-color: #fff;
  border-color: #dce0e0;
}

#elenco-immo .item-listing-wrap .btn-primary-outlined:hover,
.vetrina-tab .item-listing-wrap .btn-primary-outlined:hover {
  color: #03A4D2;
  background-color: #fff;
  border-color: #03A4D2;
}
#show-advanced-search {
  color: #fff;
  font-size: 17px;
}

body:not(.home) #show-advanced-search {
  color: var(--agim-secondary-color);
}
.switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}
.switch-label {
  margin: 0 10px;
  font-weight: bold;
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s;
}
body:not(.home) .switch-label {
  color: #54595F
}
.switch-label.active {
  opacity: 1;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}
.switch input { display: none; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #bfc8b2;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--agim-primary-color);
}
input:checked + .slider:before {
  transform: translateX(22px);
}
.paged ul li {
  background: #fff;
  color: #03A4D2;
  border: 1px solid #03A4D2;
  font-family: var(--agim-primary-font);
  outline: 0px;
  padding: 2px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 18px;
  border-radius: 3px;
  margin: 10px;
  cursor: pointer;
  width: 34px;
  height: 34px;
  text-align: center;
}

.paged ul li a {
  color: #03A4D2;
  font-weight: 400;
}

.paged ul li:hover {
  background-color: #03A4D2;
  color: #ffffff;
  border: 1px solid #03A4D2;
}

.paged ul li:hover a {
  color: #ffffff;
}
.paged ul li.current {
  background: #03A4D2 !important;
  color: #fff !important;
  font-family: var(--agim-primary-font);
  outline: 0;
  padding: 2px 10px;
  font-weight: 700;
  font-size: 18px;
  border-radius: 3px;
  margin: 10px;
}

#elencoImmobili #header-properties {
  padding-bottom: 30px;
  padding-top: 0;
  box-sizing: border-box;
  margin: 0;
}

#header-properties .property-listing-header {
  display: flex;
  width: 50%;
  max-width: 270px;
}

/* Stile per il widget ricerca immobili */
body:not(.home) .search-area {
  background: #fff;
  box-shadow: 0 1px 14px -4px #ccc;
  border-radius: 30px;
  padding: 20px;
}

#ricerca-form .row {
  row-gap: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

select.search-fields,
input.search-fields,
.bootstrap-select>.dropdown-toggle,
.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
  color: #636363 !important;
  border: 1px solid #dce0e0;
  border-radius: 4px;
  background: #fff;
  height: 45px;
  width: 210px; 
}

#ricerca-form .form-group {
  margin-bottom: 0rem;
  width: 210px;
  height: 50px;
}
.pref-icon{
  background: #03A4D2 !important;
  border: 1px solid #03A4D2 !important;
  padding: 10px;
  color: #fff !important;
  width: 35px !important;
  border-radius: 5px;
}
.pref-icon:hover {
  background: #ffffff !important;
  border: 1px solid #03A4D2 !important;
  padding: 10px;
  color: #03A4D2 !important;
  border-radius: 5px;
}
.header-main-wrap .main-nav .navbar-nav {
  margin-right: -15px;
}
.search-button.btn-md.btn-color {
  background: #03A4D2;
  color: #fff;
  border: 1px solid #03A4D2;
  border-radius: 4px;
  height: 45px;
  width: 210px;
  font-family: Quicksand, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}
.search-button.btn-md.btn-color:hover {
  background-color: #fff;
  color: #03A4D2;
  border: 1px solid #03A4D2;
}

.bootstrap-select .dropdown-toggle::after {
  content: "\f107"; /* Unicode di fa-angle-down */
  font-family: 'Font Awesome 5 Free'; /* O Font Awesome 4 se usi quella */
  font-weight: 900; /* Necessario per solid */
  color: #bbb;
  font-size: 17px;
}
input[name="code_like"] {
  color: #636363 !important;
  border: 1px solid #dce0e0 !important;
  font-weight: 500;
}

.dropdown-header .text {
  font-weight: 600;
}

.no-result-text {
  font-size: 15px
}
.no-result-text b {
  font-size: 14px;
}

/* Stile per il widget vetrina immobili */

.custom-tabs {
  display: flex;
  justify-content: center;
  border: none;
  margin-bottom: 30px;
  border-bottom: 1px solid #f4debb;
}

.custom-tabs .nav-item {
  margin: 0 20px;
}

.custom-tabs .nav-link {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  text-transform: uppercase;
  transition: all 0.3s ease;  letter-spacing: 1px;
}
.nav-link i fal fa-home{
  color: #03A4D2 !important; /*COLORE MANUALE*/
}

.nav-link i far fa-heart {
  color: var(--agim-primary-color);
  border: 1px solid var(--agim-primary-color);
  border-radius: 4px;
  padding: 5px 5px;
}

.custom-tabs .nav-link:hover {
  color: var(--agim-secondary-color);
  border-bottom: 2px solid var(--agim-secondary-color);
}

.custom-tabs .nav-link.active {
  color: #000;
  border-bottom: 2px solid var(--agim-secondary-color);
  background: none;
  letter-spacing: 1px;
  font-weight: 600;
}

.tab-content > .tab-pane {
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.tab-content > .active {
  opacity: 1;
}

.widget_archive a,
.widget_categories a{
  color: var(--agim-primary-color) !important;
}

/* Stile per il dettaglio immobile */
.titoli-dettaglio-immo {
  font-size: 17px;
  font-family: Quicksand, sans-serif;
  text-transform: none;
  color: black;
  font-weight: 600;
}

  .top-detail,
  .property-gallery-grid {
      max-width: 1310px;
      width: 100%;
      padding: 0;
  }


.labels.second-data {
  margin-top: 5px;
  display: flex;

}
.labels.info-contratto {
  margin-top: 5px;
  display: flex;
  gap: 5px;
  flex-direction: row;
  width: 100%;
  padding-top: 10px;
}
.info-contratto-label {
  font-family: Quicksand, sans-serif;
  font-size: 10px;
  line-height: 11px;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
  padding: 5px 10px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 4px;
}

.riferimento {
  font-size: 27px;
  font-weight: 600;
  background: var(--agim-secondary-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 4px;
}
  #breadcrumbs{

      padding-top: 40px;
      padding-bottom: 10px;
      font-family: Quicksand, sans-serif !important;
      font-size: 12px;
      font-weight: 400;
      color: #333333;


  }


  #breadcrumbs span,
  #breadcrumbs a,
  #breadcrumbs i {
    font-size: 14px;
    line-height: 14px;
}
#breadcrumbs i {
  margin-right: 5px;
  margin-top: -2px;
}
#breadcrumbs a {
  color: #03A4D2;
}
#breadcrumbs a:hover {
  font-weight: 500;
}
.breadcrumb a, .breadcrumb {
  color: #03A4D2;
  font-size: 13px !important;
  font-style: normal !important;
}

#breadcrumbs a:after {
  content: "";
  color: var(--agim-text-color);
  font-family: houzez-iconfont;
  font-size: 10px;
}
/*
#breadcrumbs a:before {
  content: "\f015"; /* Questo è l'unicode di fa-house light
  font-family: "Font Awesome 6 Pro"; /* o il nome esatto caricato sul sito
  font-weight: 300; /* light
  color: var(--agim-text-color);
  font-size: 10px;
  margin-right: 4px;
}*/


.top-detail .price {
  font-family: Quicksand, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 26px;
}

.top-detail .titolo-immobile {
  margin: 0;
  font-family: Cormorant, Serif;
  font-size: 50px;
  color: #333333;
  font-weight: 300 !important;
  line-height: 59px;
}

.dettaglio_share_property {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 8px;
  column-gap: 10px;
  padding-top: 15px;
}

.dettaglio_share_property a i,
.dettaglio_share_property .specific-action {
  color:#03A4D2 !important;
  border: 1px solid #03A4D2;
  background-color: #fff;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 16px;
  border-radius: 4px;
}
.dettaglio_share_property .specific-action:hover,
.dettaglio_share_property a i:hover{
  background-color: #03A4D2 !important;
  border: 1px solid #03A4D2;
  color: #ffffff !important;
  /*background-color: #fff;*/
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 16px;
  border-radius: 4px;
}

.labels .address {
  color: #000;
  font-size: 16px;
  font-weight: 300;
  padding-top: 10px;
}

.dettaglio_share_property .save_property.saved:hover .remove i {
  color: #fff;
}

#immobile-dettaglio .block-wrap {
  padding: 40px;
  background-color: #fff;
  margin-bottom: 30px;
  margin-top: 0px;
  border: 1px solid #dce0e0;
}
#immobile-dettaglio .block-title-wrap h2 {
  font-size: 18px;
  color: #000;
}
.block-title-wrap {
  border: 0px;
  margin-bottom: 15px;
  margin-top: 0px;
  padding-bottom: 0;
}

.description-content p {
  font-size: 15px;
  line-height: 23px;
  color: #000;
  font-weight: 400;
}


.block-title-wrap h3{
  color: #000;
}
.detail-wrap span,
.detail-wrap strong,
.list-unstyled span,
.list-unstyled strong {
  font-size: 13px;
  color: #000;
}

.property-detail-wrap .block-content-wrap .block-title-wrap {
  margin-bottom: 0px !important;
}
.presence i {
  color: var(--agim-primary-color);
}
.detail-wrap {
  border-color: #03A4D2 !important;
  background-color: rgba(0, 174, 255, 0.1) !important;
}

#similar-listings-wrap .item-listing-wrap {
  border: 1px solid rgba(0, 0, 0, .125) !important;
}
/* Stile per il dettaglio immobile - Galllery */

.property-gallery-grid {
  display: flex;
  gap: 22px;
  margin-bottom: 7px;
  padding: 0 !important;
  border-radius: 6px;
}

.property-gallery-grid img {
  max-width: 100%;
  height: auto;
  display: block;
}

.main-image {
  width: 50%;
  position: relative;
}
.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}
.side-images {
  width: 50%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.side-images img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  height: calc(34vh - 2px);

}
.remaining-photos-container {
 display: flex;
 justify-content: flex-end;
 width: 100%;
 max-width: 1310px;
 margin: auto;
 margin-top: -75px;
 margin-bottom: 45px;
 padding: 10px 25px;
}
.remaining-photos {
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 14px;
}
.remaining-photos.desktop {
  display: block;
}
.remaining-photos.mobile {
  display: none;
}
.list-view .item-amenities {
  color: #000 !important; 
}

#similar-listings-wrap .btn-primary-outlined {
  color: var(--agim-primary-color);
  background-color: transparent;
  border-color: var(--agim-primary-color);
  font-family: var(--agim-secondary-font) !important;
  text-transform: uppercase;
  font-size: 12px;
}

#similar-listings-wrap .item-amenities {
justify-content: flex-start;
}

.agent-link  a {
  color: #03A4D2 !important;
}
.agent-link  a:hover {
  text-decoration: underline;
}
.agent-name {
  font-weight: 200;
}
.info-box .name{
    font-size: 20px;
    color: var(--agim-primary-color);
}

.contact-list li {
  margin-bottom: 6px;
}
/*
.elementor-kit-6 h3 {
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  padding: 0px;
  margin: 10px 0px 20px;
  width: 100%;
  text-transform: none;
  color: var(--agim-primary-color);
  font-family: var(--agim-secondary-font);
}
h3.richiedi {
  font-size: 14px;
  line-height: 21px;
  text-align: left;
  padding: 0px;
  margin: 10px 0px 20px;
  width: 100%;
  text-transform: none;
  color: var(--agim-primary-color);
  font-family: var(--agim-secondary-font);
}
.elementor-kit-6 h3 {
  color: var( --agim-primary-color);
}*/

.property-form-wrap {
  border: 1px solid #dce0e0;
}
.property-form {
  margin-top: 0px;
}
.property-form-wrap .form-group {
  margin-bottom: 1rem;
  width: 100%;
}

.form-group input {
  border-radius: 4px;
}

.form-group-modulo {
  margin-bottom: 8px;
}

.form-group-modulo input {
  border-radius: 22px;
}

.form-group textarea {
  border-radius: 10px;
}
.form-group .control input {
  position: static;
  z-index: 1;
  opacity: 1;
}

.property-form .control.control--checkbox {
  padding-left: 0px;
  font-size: 13px;
}
.gdpr-text-wrap {
  display: flex;
  align-items: flex-start;
  line-height: 25px;
  font-size: 12px;;
}
.houzez_agent_property_form {
background: #fff !important;
color: var(--agim-secondary-color) !important;
border: 1px solid var(--agim-secondary-color) !important;
border-radius: 50px !important; 
}
.houzez_agent_property_form:hover {
  background: var(--agim-secondary-color) !important;
  color: #fff !important;
  border: 1px solid var(--agim-secondary-color) !important;
}
.top-bar-wrap .justify-content-between {
  width: 100%;
  padding-top: 10px;
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-bottom: 10px;
}


.top-bar-wrap .container-fluid {
  max-width: 1310px;
  margin: 0 auto;
  padding-left: 0px;
  padding-right: 0px;
}
/*media query per intestazione */
@media (max-width: 1325px) and (min-width: 767px) {
  .top-bar-wrap .justify-content-between {
    width: 100%;
    padding: 0 4%;
    margin-bottom: 10px;
  }

  .top-bar-wrap .container-fluid {
    padding-left: 4%;
    padding-right: 4%;
    width: 100%;
  }
}

.container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
  width: 1310px;
  padding-right: 0px;
  padding-left: 0px;
  margin-right: auto;
  margin-left: auto;
}
/*
.header-desktop .header-v4 .container{
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
}/*non funziona*/


.top-bar-wrap {
  font-family: Quicksand, sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 35px;
  text-align: left;
  text-transform: none;
  left: 100px;
  border-bottom: 1px solid #DBDBDB;
}

.top-bar-left-wrap .top-bar-contact-info {
  margin-right: 15px;
}
.list-inline-item:not(:last-child) {
  margin-right: 15px;
}

.header-v4 .header-inner-wrap, .header-v4 .navbar-logged-in-wrap {
  line-height: 90px;
  height: 90px;
  padding-top: 10px;
}

.privacy-font-size {
  font-size: 13px;
  color: #626262;
}
.privacy-font-size a {
  font-size: 13px;
  color: #03A4D2 !important;
}
.privacy-font-size a:hover {
  text-decoration: underline;
}
.top-bar-wrap a {
  color: #000 !important;
  font-size: 14px;
}
.top-bar-wrap a i {
  color: var(--agim-primary-color);
}
.top-bar-wrap .header-social-icons .btn-square {
  background: #03A4D2 !important;
  font-size: 15px;
  padding: 5px;
  height: 25px;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  border: 1px solid var(--agim-primary-color);
  border-radius: 3px;
}
.top-bar-wrap .header-social-icons .btn-square:hover {
  color: #03A4D2;
  background: #fff !important;
  border: 1px solid #03A4D2;
}
.top-bar-wrap .header-social-icons .btn-square i {
  color: #fff !important;
}
.top-bar-wrap .header-social-icons .btn-square:hover i {
  color: #03A4D2 !important;
}
.top-bar-right-wrap {
  margin-top: 7px;
}

#navi-user {
  display: none;
}

/*new */
.houzez-theme .houzez-icon, .houzez-icon {
  font-family: 'houzez-iconfont' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #03A4D2 !important;
}


/* fine new*/
.featured-property-item-widget .item-wrap-v3 .item-address {
  color: #fff;
  left: 20px;
  bottom: 15px;
  z-index: 1;
  max-width: calc(100% - 40px);
}
.featured-property-item-widget .item-wrap-v3 .item-price-wrap {
  left: 20px;
  bottom: 35px;
}
.widget-body.widget {
  color: #000;

}
.widget-body.widget ul.children li a{
  font-size: 14px !important;
  color: var(--agim-primary-color) !important; 
}
.widget-body.widget a {
  color: #000;
  font-size: 16px
}

.widget-body.widget a:hover {
  color: var(--agim-primary-color); 
}

.normal .contract-btn {
  border-radius: 50px;
  font-weight: 400;
  transition: background 0.2s, color 0.2s;
  width: 49%;
  border: 1px solid var(--agim-primary-color);
  color: var(--agim-primary-color);
  background: #fff;
  height: 45px;
}

.normal .contract-btn.active {
  background: var(--agim-primary-color);
  color: #fff;
}
#row-advanced {
  margin-top: 10px;
}

.fixed-buttons-corner {
  position: fixed;
  left: 10px;
  bottom: 80px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fixed-buttons-corner a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #03A4D2;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s;
  text-decoration: none;
  animation: floatBtn 2.2s ease-in-out infinite;
}
.fixed-buttons-corner a:hover {
  background-color:#ffffff !important;
  color:  #03A4D2;
  font-size: 28px;
}
@keyframes floatBtn {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.fixed-buttons-corner a.chiamaci {
  background: #03A4D2;
}
.fixed-buttons-corner a:hover {
  filter: brightness(1.1);
}
/* MOBILE: bottoni larghi e fissi in basso, stile WhatsApp */
@media (max-width: 768px) {
  .fixed-buttons-corner {
      display: none;
  }
  #elenco-immo {
    margin: auto;
}


  #header-properties .property-listing-header {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}
  .mobile-bottom-buttons {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 9999;
      display: flex;
      width: 100vw;
      background: transparent;
      gap: 0;
      box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
  }
  .mobile-bottom-buttons a {
      flex: 1 1 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 12px 0;
      font-size: 16px;
      font-weight: 700;
      color: #fff;
      border: none;
      border-radius: 0;
      text-decoration: none;
      transition: filter 0.2s;
      box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  }
  .mobile-bottom-buttons a i {
      margin-right: 10px;
      font-size: 22px;
  }
  .mobile-bottom-buttons a.whatsapp {
      background: #03A4D2;
  }
  .mobile-bottom-buttons a.chiamaci {
      background: #03A4D2;
  }
  .mobile-bottom-buttons a:hover {
      filter: brightness(1.1);
      color: #fff !important;
  }
}
.spalla-elenco {
  height: fit-content !important;
  margin-bottom: 20px !important; 
}
#last-immo {
  box-sizing: border-box;
  padding: 0px 15px;
}
body.home  .elementor-background-slideshow {
  border-radius: 8px;
}
#select_contract {
  background: none;
  border: 0px;
  padding: 0px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.back-to-top-wrap {
  position: fixed;
  left: auto;
  right: 30px;
  bottom: 90px !important;
  z-index: 99;
}

.back-to-top-wrap a{
background-color: #03A4D2;
border-color: #03A4D2;
}
.back-to-top-wrap a:hover {
  opacity: 0.9;
  background-color: #03A4D2;
  border-color: #03A4D2;
}
#scroll-top i{
  color: #ffffff !important;
}
#scroll-top i:hover {
  color: #ffffff !important;
}







.l-5:before,
.l-5:after {
    left: 5%
}

.l-15:before,
.l-15:after {
    left: 15%
}

.l-25:before,
.l-25:after {
    left: 25%
}

.l-35:before,
.l-35:after {
    left: 35%
}

.l-45:before,
.l-45:after {
    left: 45%
}

.l-55:before,
.l-55:after {
    left: 55%
}

.l-65:before,
.l-65:after {
    left: 65%
}

.l-75:before,
.l-75:after {
    left: 75%
}

.l-85:before,
.l-85:after {
    left: 85%
}

.l-95:before,
.l-95:after {
    left: 95%
}

.l-none:before,
.l-none:after {
    display: none
}





@media (min-width: 1090px) {
  #elenco-immo {
    column-gap: 0px;
    margin: 0px;
  }
}

@media (max-width: 768px) {
    #ricerca-form .form-group,
    .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn),
    .search-button.btn-md.btn-color,
    select.search-fields, input.search-fields, .bootstrap-select>.dropdown-toggle, .bootstrap-select>.dropdown-toggle.bs-placeholder, .bootstrap-select>.dropdown-toggle.bs-placeholder:active, .bootstrap-select>.dropdown-toggle.bs-placeholder:focus, .bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
      width: 100%;
  } 
  .specific-action.save_property {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px; 
}
  .modulo-contenuto .elementor-field-group .elementor-field:not(.elementor-acceptance-field) {
    width: 100% !important;
  }
  .search-area .container {
    padding: 0px;
  }
  .grid-view .item-listing-wrap {
    width: 100%;
    float: none;
    padding: 0px;
}
  #row-advanced {
    margin-top: 10px;
  }
  .property-gallery-grid {
    flex-direction: column;
}
#property-top {
  margin-top: 20px;
}
.main-image {
    width: 100%;
}
.side-images {
    display: none;
}
.remaining-photos.desktop {
  display: none;
}
.remaining-photos.mobile {
  display: block;
}
}

.label-featured.label {
  position: absolute;
  top: 20px;
  left: -67px;
  background: #03A4D2;
  color: #fff;
  font-weight: bold;
  font-size: 1em;
  padding: 16px 60px;
  transform: rotate(-45deg);
  z-index: 30;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  letter-spacing: 2px;
  text-align: center;
  border-radius: 6px;
  border: 2px solid #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.15);
  pointer-events: none;
}
.item-header {
  position: relative;
}


/* card agenti immobiliari in home*/
@media (min-width: 1090px) {
  #elenco-immo {
    column-gap: 15px;
    margin: 0px;
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 !important;
}


.team-card {
  position: relative; /* add */
  background: #fff;
  border-radius: 10px;
  padding: 38px 20px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  text-align: left;
  /*max-width: 300px;*/
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 1 1 calc(25% - 15px);
  box-sizing: border-box;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.team-quote {
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 400;
}

.team-quote .quote-icon {
  color: var(--agim-primary-color);
  font-size: 26px;
  margin-bottom: 10px;
  display: block;
}

.team-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.name-role-wrapper {
  display: flex;
  flex-direction: column;
}


.team-info img {
  width: 70px;
  height: 70px;
  border-radius: 50% !important;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-info .name {
  font-weight: bold;
  color: #03A4D2;
  margin: 0;
  text-transform: uppercase;
  font-size: 15px;
}

.team-info .role {
  color: #333;
  font-size: 14px;
}

/* overlay */
/* Overlay principale */
.team-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 164, 210, 0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  overflow: visible; /* per contenere l'ombra che sborda */
}

/* Overlay chiaro (bagliore) */
.team-card .overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 30px); /* sborda 30px sotto */
  background: radial-gradient(
          ellipse at bottom,
          rgba(205, 243, 255, 0.6) 0%,
          rgba(205, 243, 255, 0) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover: mostra overlay e luce */
.team-card:hover .overlay {
  opacity: 1;
}

.team-card:hover .overlay-light {
  opacity: 1;
}

/* Link all'interno dell'overlay */
.team-card .overlay a {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}


/* fine card agenti immobiliari in home*/

.footer-top-wrap {
  background-color: lightblue !important;
  color: #333333 !important;
}

.item-wrap-v9 .item-body .item-amenities {
  margin-bottom: 5px;
  font-size: 12px;
}
/*dettaglio immobile spalla agenti*/

.agent-image{
  display: flex;
  align-items: center;
  gap: 10px;

}

.agent-image img{
    width: 70px;
    height: 70px;
    border-radius: 50% !important;
    object-fit: cover;
    object-position: top;
    margin-bottom: 10px;

}

/* file: immobile_dettaglio_video */
/*.next-arrow.slick-arrow,
.prev-arrow.slick-arrow {
  background-color: darkgrey;
}
.next-arrow.slick-arrow,
.prev-arrow.slick-arrow i {
  color: var(--agim-primary-color);
  align-content: space-between;
}*/




#arrows-vendita {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  left: 50%;
  pointer-events: none; /* le frecce non bloccano il clic sul video */
}

#arrows-vendita .prev-arrow,
#arrows-vendita .next-arrow {
  pointer-events: all; /* cliccabili */
  background: var(--agim-secondary-color);
  opacity: 0.5;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  font-size: 20px;
}

#arrows-vendita .prev-arrow:hover,
#arrows-vendita .next-arrow:hover {
  background: var(--agim-secondary-color);
  opacity: 0.8;
  transform: scale(1.2);
}

@media (max-width: 700px) {
  #arrows-vendita {
    top: 5px;
    gap: 10px;
  }

  #arrows-vendita .prev-arrow,
  #arrows-vendita .next-arrow {
    padding: 6px;
    font-size: 16px;
  }
}

/*vetrina*/
.esclusive-wrap {
  top: 17px;
  right: 20px;
  z-index: 1;
  position: absolute;
}
.esclusive-wrap label {
  font-size: 10px;
  line-height: 11px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 5px 10px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 4px;
}
.contract-wrap {
  top: 17px;
  left: 20px;
  z-index: 1;
  position: absolute;
}
.contract-wrap label {
  font-size: 10px;
  line-height: 11px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 5px 10px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 4px;
}

/*per elenco immobili */
@media (min-width: 1090px) {
  #elenco-immo {
    column-gap: 0px;
    margin: 0px;
  }
}
@media (min-width: 1090px) {
  .agenti-style {
    column-gap: 14px !important;
    margin: 0px;
  }
}

.item-wrap-v9 .item-body .item-title {
  /*margin-bottom: 7px;*/
  font-family: var(--agim-secondary-font);
  font-size: 16px;
  text-transform: none;
  font-weight: 600;
  line-height: 14px;
}
/*sovrascrivo*/
.item-wrap-v8 .item-body .item-price-wrap, .item-wrap-v9 .item-body .item-price-wrap {
  position: relative;
  bottom: auto;
  right: auto;
  left: auto;
  top: auto;
  margin-top: 0px;
}

/*ricerca interna*/

.extra-dropdown {
  position: relative;
  display: inline-block;
  width: 100%; /* o una larghezza fissa se lo desideri */
}

#extra-toggle {
  position: relative;
  width: 100%;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #dce0e0;
  height: 45px;
}
#extra-toggle::after {
  content: "\f107"; /* Unicode di fa-angle-down */
  font-family: 'Font Awesome 5 Free'; /* O Font Awesome 4 se usi quella */
  font-weight: 900; /* Necessario per solid */
  color: #bbb;
  font-size: 17px;
  position: absolute;
  right: 15px; /*dal bordo*/
}


#extra-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%; /* la tendina prende la larghezza del contenitore */
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 10px;
  z-index: 1000;
  box-sizing: border-box;
}
#ricerca-form input::placeholder,
#ricerca-form input::-webkit-input-placeholder,
#ricerca-form input:-ms-input-placeholder,
#ricerca-form input::-moz-placeholder {
  color: #626262;
}


#input-code::placeholder {
  color: #636363; /* il colore che vuoi */
}

.invia-modulo-property {
  background-color: transparent;
  color: #03A4D2;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #03A4D2;
  font-family: Quicksand, sans-serif;
  border-radius: 4px;
  padding: 4px 14px;
  text-transform: uppercase;
}
.invia-modulo-property:hover {
  background-color:  #03A4D2;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #03A4D2;
  font-family: Quicksand, sans-serif;
  border-radius: 4px;
  padding: 4px 14px;
  text-transform: uppercase;
}

/* BOTTONI MENU SEZIONI DETTAGLIO IMMOBILE */
.section-buttons {
  display: flex;
  gap: 2%;
  margin: 0 0 30px 0;
  font-family: Quicksand, sans-serif;
}
.section-buttons .btn {
  border-color: #03A4D2;
  color: #03A4D2;
  font-size: 14px;
  padding: 2px 14px;
  border-radius: 6px;
}

.section-buttons .btn:hover {
  background-color: #03A4D2;
  color: #fff;
}


/*pagina contatti */
.st0 {
  fill: var(--agim-primary-color) !important;
  stroke: var(--agim-primary-color) !important;
  stroke-miterlimit: 10;
  stroke-width: 10px;
}

/* testimonianze */
/* testimonianze */
.ti-widget.ti-goog .ti-review-item > .ti-inner,
.ti-widget.ti-goog .ti-load-more-reviews-container .ti-load-more-reviews-button {
  border-width: 2px !important;
  border-style: solid !important;
  border-color: #E2E2E2 !important; /* bordo grigio chiaro */
  background-color: white !important;
  backdrop-filter: blur(0px);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1); /* ombra morbida */
  border-radius: 4px !important;
  padding: 20px !important;
  margin: 0 !important;
  display: block;
  position: relative;
}

/* in aggiunta */
.header-v4 a.nav-link:hover {
  color: #03A4D2 !important;
  background-color: rgba(255,255,255,0.7) !important;
}

.richiedi{
  font-family: Quicksand, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #03A4D2 !important;
}

.contattaci-dettaglio-immo {
  color: #03A4D2;
  background-color: #ffffff;
  font-size: 14px;
  align-content: center;
  border-radius: 6px;
  padding: 6px 30px;
  border: 1px solid #03A4D2;
  text-align: center;
  margin: 0;
  width: fit-content;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
}
.contattaci-dettaglio-immo:hover {
  border-color: #03A4D2;
  color: #ffffff;
  background-color: #03A4D2;
}

/* Stile base: 4 colonne */
.row.col4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2% !important;
}

/* Tablet: max-width 1024px → 2 colonne */
@media (max-width: 1024px) {
  .row.col4 {
    grid-template-columns: repeat(2, 1fr);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }
  .row.col4 .team-card {
    flex: 0 1 calc(45% - 10px);
    margin-top: 30px;
  }
}

/* Smartphone: max-width 768px → 1 colonna */
@media (max-width: 768px) {
  .row.col4 {
    grid-template-columns: 1fr;
    justify-content: center; /* i box vanno al centro */
    gap: 25px 0; /* spazio verticale tra le card */
  }
  .row.col4 .team-card {
    flex: 0 1 90%;
    margin-top: 30px;
  }
}

#header-section .container {
  padding: 0 !important;
}

.cantiere-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.cantiere-item:hover {
  transform: translateY(-5px);
  box-shadow: none !important;
}
.cantiere-item .foto {
border-radius: 4px 4px 0px 0px;
}

.cantiere-item .item-info {
border-radius: 0px 0px 4px 4px;
}


/* Personalizzazione AGENTS */

/* layout cards */
.wrapper-agent-card-top {
  display: flex;
  column-gap: 0px;
  align-items: center;
  justify-content: center;
}

.wrapper-agent-card-top .info-box {
  width: 100%;
  margin-top: 0;
  text-align: left;
  padding: 15px;
  border: solid 1px lightgrey;
}

.wrapper-agent-card-top .info-box a {
  /* color: #3bcbe0; */
  color: black;
}

.wrapper-agent-card-top .info-box a:hover {
  color: #979797;
}



.agent-description {
  margin-top: 10px;
  width: 100%;
  border: solid 1px lightgrey;
  border-radius: 5px;
}



.agent-description h4 {
  background-color: #f7f7f9;
  margin: 0;
  border-radius: 5px 5px 0 0;
  border-bottom: 1px solid lightgrey;
}

/* Team Carousel Styles */
.team-carousel-wrapper {
  width: 100%;
  padding: 40px 0 60px 0;
  position: relative;
  background: #fff;
}

.team-carousel-container {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0 30px;
}
.team-carousel-container .slick-list {
  padding-top:  50px;
}

.team-carousel-container .slick-arrow {
margin-top: 25px;
}
.team-member-slide {
  padding: 0 10px;
}

.team-member-card {
  background: #fff;
    border: 1px solid #d5d5d5;
    padding: 0;
    border-radius: 7px;
    display: flex;
    gap: 0;
    height: 100%;
    min-height: 300px;
}
.team-carousel-arrow.slick-next:before, 
.team-carousel-arrow.slick-prev:before {  
  font-size: 20px;
  color: var(--agim-primary-color) !important;

}
.team-member-image-wrapper {
  flex-shrink: 0;
  width: 55%;
  overflow: hidden;
  background: none;
  display: flex;
  align-items: flex-end;
  margin-top: -50px;
  justify-content: center;
  padding-bottom: 0px;
}

.team-member-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  background: none;
}

.team-member-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 20px 20px 20px 0px;
  margin-left: -15px;
}

.team-member-quote-icon {
  margin-bottom: 15px;
  align-self: flex-start;
  display: block;
}

.team-member-quote-icon .quote-icon-image {
  width: auto;
  height: 35px;
  display: block;
}

.team-member-description {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  flex: 1;
  font-weight: normal;
}

.team-member-info {
  margin-top: 8%;
}

.team-member-name {
  color: var(--e-global-color-primary);
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0px;
  letter-spacing: 0.5px;
}

.team-member-role {
  color: #000;
  font-size: 13px;
  margin: 0 0 10px 0;
  font-weight: normal;
}

.team-member-contacts {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.team-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}
.team-contact-link i {
  color: var(--e-global-color-primary);
}
.team-contact-link:hover {
  color: var(--e-global-color-primary);
}

.team-contact-link i {
  font-size: 16px;
  width: 20px;
  flex-shrink: 0;
}

/* Slick Carousel Customization */
.team-carousel-container .slick-dots {
  bottom: -50px;
  left: 0px;
  text-align: center;
  position: absolute;
}

.team-carousel-container .slick-dots li {
  margin: 0 5px;
}

.team-carousel-container .slick-dots li button:before {
  color: #3bcbe0;
  font-size: 10px;
  opacity: 0.4;
  content: '●';
}

.team-carousel-container .slick-dots li.slick-active button:before {
  opacity: 1;
  color: var(--e-global-color-primary);
}

.team-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: transparent;
  border: none;
  color: var(--e-global-color-primary);
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s;
  width: auto;
  height: auto;
}

.team-carousel-arrow:hover {
  color: var(--agim-primary-color);
}

.team-carousel-arrow.slick-prev {
  left: 0;
}

.team-carousel-arrow.slick-next {
  right: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .team-carousel-container {
    padding: 0 20px;
  }
  
  .team-member-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .team-member-image-wrapper {
    width: 100%;
    min-height: 250px;
  }
  
  .team-member-image {
    min-height: 250px;
  }
  
  .team-member-content {
    padding: 20px;
  }
  
  .team-carousel-arrow.slick-prev {
    left: 10px;
  }
  
  .team-carousel-arrow.slick-next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .title-property {
    color: var(--agim-text-color);
    font-family: var(--agim-title-font);
    font-size: 25px !important;
    line-height: 30px !important;
    font-weight: 400;
}
  .team-carousel-wrapper {
    padding: 30px 0 50px 0;
  }
  
  .team-carousel-container {
    padding: 0 15px;
  }
  
  .team-member-slide {
    padding: 0 8px;
  }
  
  .team-member-card {
    min-height: auto;
  }
  
  .team-member-image-wrapper {
    width: 100%;
    min-height: 200px;
  }
  
  .team-member-image {
    min-height: 200px;
  }
  
  .team-member-content {
    padding: 20px 20px;
    width: 100%;
    margin-left: 0px;
  }
  
  .team-member-quote-icon .quote-icon-image {
    height: 48px;
  }
  
  .team-member-quote-icon {
    margin-bottom: 12px;
  }
  
  .team-member-description {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .team-member-name {
    font-size: 15px;
  }
  
  .team-member-role {
    font-size: 13px;
    margin-bottom: 15px;
  }
  
  .team-contact-link {
    font-size: 13px;
  }
  
  .team-carousel-arrow {
    font-size: 18px;
  }
  
  .team-carousel-arrow.slick-prev {
    left: 5px;
  }
  
  .team-carousel-arrow.slick-next {
    right: 5px;
  }
}

.advanced-search.advanced-search-nav {
  display: none !important;
} 

