/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */


#top-menu>li:last-child {
    padding-right: 0;
    margin-right: 0!important;
	border-right:0px!important;
}


.swiper-pagination-bullet-active {
    background-color: #3f76d3!important;
}

.sptp_member .sptp-member-profession .sptp-jop-title{
	text-align:left;
}

/* Rendi i figli di .sptp-member ordinabili */
.sptp-member {
  display: flex;
  flex-direction: column;  /* impila in colonna */
}

/* Ordine desiderato: avatar → desc → name → profession */
.sptp-member .sptp-member-avatar     { order: 0; }
.sptp-member .sptp-member-desc       { order: 1; } /* <— PRIMA del name */
.sptp-member .sptp-member-name       { order: 2; }
.sptp-member .sptp-member-profession { order: 3; }


.sptp-member .sptp-member-desc {
    margin-top: 16px;
    margin-bottom: 0;
}

.sptp-member-name .sptp-member-name-title{
	margin-top:8px!important;
}


.sptp-member-desc {
    color: #333333;
    background-color: #f5f5f5 !important;
    border-radius: 100px !important;
    padding-bottom: 5px;
font-style: italic;
}


.sptp-member-name-title{
	font-size:26px!important;
	line-height:36px!important;
}

.sptp-member-profession .sptp-jop-title{
	text-align:center;
}

.sptp-jop-title{
	font-size:16px!important;
	line-height:26px!important;
	text-transform:uppercase!important;
	color:#3f76d3!important;
	font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
	text-align:center;
}

.sptp_member-template-default .sptp_member{
	padding-top:50px;
	padding-bottom:50px;
}

.sptp-info{
	max-width:100%!important;
	width:100%!important;
}

.sptp_member img {
    max-width: 250px;
}

/* Solo nella pagina singolo membro */
.sptp-single-post .sptp-list-style{
  display:flex;
  flex-direction: column;   /* impila in colonna */
  gap:14px;
}

/* Assicurati che l'immagine occupi tutta la larghezza disponibile */
.sptp-single-post .sptp-member-avatar-area,
.sptp-single-post .sptp-member-avatar-area img{
  width:100%;
  height:auto;
  display:block;
}

/* Spaziature fini */
.sptp-single-post .sptp-info{ margin-top:4px; }


/* Nascondi il checkbox nativo */
.wpcf7 input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #fff !important;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  margin-right: 10px;
  transition: background-color 0.2s ease;
}

/* Stato selezionato (quando è spuntato) */
.wpcf7 input[type="checkbox"]:checked {
  background-color: #3f76d3 !important;
}

/* Cerchio bianco dentro quando selezionato */
.wpcf7 input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
}

.page-id-14 .wpcf7 .wpcf7-submit:disabled, .page-id-14 .wpcf7 .wpcf7-submit{
	border: 2px solid #ffffff !important;
    background-color: transparent !important;
    color: #fff ! Important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 30px ! Important;
    border-radius: 100px;
	font-size:16px!Important;
}


.page-id-14 .wpcf7 .wpcf7-submit:disabled:hover, .page-id-14 .wpcf7 .wpcf7-submit:hover{
    background-color: #fff !important;
	color:#3f76d3!important;
}



.mappa-home .wpgmp_listing_container .fc-item-fano .fc-item-title a {
    color: #000000!important;
}

.mappa-home .fc-item-content {
	color:#000000!important;
}

.mappa-home .fc-item-meta{
	background-color:#3f76d3!important;
	color:#ffffff!important;
}

.mappa-home .wpgmp_pagination span.current{
	background-color:#3f76d3!important;
	color:#ffffff!Important;
}

.mappa-home .wpgmp_pagination a:hover{
	background-color:#3f76d3!important;
	color:#ffffff!Important;
}

.mappa-home div.categories_filter select{
	background-color: #3f76d3 !important;
	width:100%!important;
	font-size:12px!important;
	line-height:22px!Important;
}

div.categories_filter select{
	max-width:49%!important;
	float:left;
}


div.wpgmp_search_form input.wpgmp_search_input{
	background-color:#DBDBDB!important;
}

div.wpgmp_search_form:after{
	background:transparent!important;
}

.mappa-home .map_div{
	display:none;
}

.mappa-home .list_div{
	width:100%!important;
	overflow:hidden!Important;
}


.filtro-mappa .map-listing-container{
	display:none!Important;
}

.elenco-mappa .search-form-container{
	display:none!important;
}

.mappa-home .span_grid, .mappa-home .wpgmp_list{
	display:none!important;
}

.map-listing-container .location_pagination1 {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  padding-left: 0;
  padding-right: 0;
  margin-top: 20px;
}

.map-listing-container .list_div {
  position: relative;
}


/*filtri mappa home*/

.custom-filter-buttons {
  margin-top: 20px;
  padding-top:20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  width:100%;
}

.wpgmp-map-1 .fc-item-meta.fc-item-secondary-text-color.fc-css{
	padding-left:15px!important;
	text-align:left!important;
}

.fc-item-address{
	font-size:13px!important;
	line-height:23px!Important;
}

.fc-item-address::before {
  font-family: "Font Awesome 6 Free"; /* o "Font Awesome 5 Free" a seconda della versione */
  content: "\f3c5"; /* Unicode per fa-location-dot */
  font-weight: 900;
  margin-right: 6px;
  display: inline-block;
}

.location_listing1,
.location_listing1 * {
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  /*word-break: break-word;*/
  white-space: normal !important;
}

/*.filter-btn {
  padding: 30px 10px;
  border:none!Important;
  border-bottom: 1px solid #333!important;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: #000;
  width:100%;
  text-align:left;
  text-transform:uppercase;
}*/


.filter-btn {
	padding: 10px 10px;
    border: none ! Important;
    border: 1px solid #000000 !important;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    color: #000000 !important;
    width: 19%;
    text-align: center;
    text-transform: uppercase;
    float: left;
    font-weight: 700;
    margin-right: 1.25%;
    border-radius: 10px;
}

.custom-filter-buttons button:nth-of-type(5) {
    margin-right: 0%;  
}


.active-filter-btn {
  background-color: #DBDBDB;
}
  
.wpgmp_filter_wrappers {
  background-color:#fff!important;
  }
  
  .wpgmp_before_listing{
    display:none;
  }
  
.wpgmp_filter_wrappers {
    padding: 0!important;
  }
  
.wpgmp_search_form input{
  background-color:#DBDBDB;
  }
  
  .filter-btn:hover{
    font-weight:700;
  }



/* Tablet */

@media (min-width: 577px) and (max-width: 1024px) {
	


.filter-btn {
    padding: 10px 10px;	
}
	
.custom-filter-buttons {
    padding-top: 30px;
}
	
.custom-filter-buttons button:nth-of-type(1) {
    border-top: 1px solid #000000!important;
  }
	
.map-listing-container,
  .location_listing1,
  .wpgmp_listing_container {
    overflow-x: hidden;
    max-width: 100%;
  }
	
.wpgmp_map_parent {
    display: none!important;
}
	
.filter-btn {
    font-size: 10px;
}
	
}


/* Mobile */

@media (max-width: 576px) {
	

	
.mappa-home div.categories_filter select{
	width:46%!important;
}
	
.filter-btn {
    width: 48%;
    margin-right: 2%;
	margin-bottom:10px;
}
	
.filter-btn {
    padding: 10px 10px;	
}
	
.custom-filter-buttons {
    padding-top: 30px;
}
	
/*.custom-filter-buttons button:nth-of-type(1) {
    border-top: 1px solid #000000!important;
  }*/
	
.wpgmp_map_parent {
    display: none!important;
}


}
