/* Stile per il contenitore principale */
#container {
	display: flex;
	height: 700px; /* Imposta l'altezza desiderata */
}

/* Stile per la barra dei dealers */
#dealers {
	width: 100%; /* Larghezza della barra dei dealers */
	background-color: #FFFFFF; /* Colore di sfondo della barra */
	overflow-y: auto; /* Aggiungi lo scroll se il contenuto supera l'altezza */
}

/* Stile per la mappa */
#map {
	flex: 1;/* Occupa il restante spazio disponibile */
	height: 700px;
}

/* Stile per l'intestazione della lista dealers */
h2 {
	text-align: center;
	margin: 0;
}

.dealer-search-frame {
	background-color: #f8f8f8;
}
.dealer-categories {
	background-color: #e3e3e3;
}

.dealer-search-background {
	height: 46px;
	margin-top: 22px;
	margin-bottom: 22px;
	width: 90%;
	background-color: #FFFFFF;
	margin-right: auto;
	margin-left: auto;
}
.dealers-search {
	border-radius: 4px;
	border: 2px solid #A0A0A0;
	background-size: 24px 24px !important;
	background-repeat: no-repeat !important;
	background-position: 98% !important;
	padding: 10px;
	height: 45px;
	width: 100%;
}
.dealers-search::placeholder{ color: #A0A0A0; }
.dealers-search::-ms-input-placeholder{ color: #A0A0A0; }

.info-card {
	border-bottom: 1px solid #ededed;
	padding: 20px 20px;
	position: relative;
}
.info-card .details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-left: 15px;
	cursor: pointer;
}
.info-card .main-info {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
}
.info-card .icons {
	display: flex;
	gap: 10px;
	margin-top: 15px;
	margin-left: 45px;
}
.info-card .icons img {
	width: 30px;
	height: 30px;
}
.info-card .dealer-name {
	font-size: 1.125em !important;
	font-weight: bold !important;
}
.info-card .dealer-info {
	margin-bottom: 4px;
}
.btn-details {
	border: 1px solid #000;
	font-size: 14px;
	padding: 4px 16px;
	border-radius: 0px;
	background-color: white;
	margin-left: auto;
	margin-top: 10px;
    position: absolute;
    right: 14px;
	z-index:999;
}
.btn-details:hover{
	background-color: #000;
	color: white;
}
#btn-details:hover {
	background-color: black;
	color: white;
}

/* WebKit Browsers (Chrome, Safari, Edge) */
#dealers::-webkit-scrollbar {
width: 8px; /* Larghezza della scrollbar */
}

#dealers::-webkit-scrollbar-thumb {
background-color: #DDDDDD; /* Colore della scrollbar attiva */
border-radius: 10px; /* Arrotondamento */
}

#dealers::-webkit-scrollbar-track {
background-color: #FFFFFF; /* Colore di sfondo del track */
border: none; /* Rimuove i bordi */
}

/* Firefox */
#dealers {
scrollbar-width: thin; /* Imposta una scrollbar sottile */
scrollbar-color: #DDDDDD #FFFFFF; /* Colore della scrollbar attiva e del track */
}

.clear-icon {
    position: absolute;
    right: 10px; /* Spazio dalla destra */
    cursor: pointer;
    font-size: 20px; /* Dimensione dell'icona */
    color: #888; /* Colore dell'icona */
}
.icon-container {
    display: flex;                  
    gap: 35px;                     
    padding: 10px 24px;            
    background: #E3E3E3;
	height: 90px;
	align-items: center;
}
.icon-container a{
	display: inline-block;
	text-align: center;
}
.icon-container a img{
	width: 40px;
	height: 40px;
}
.search-container{
	height: 90px;
	align-items: center;
	display: flex;
	background: #F8F8F8;
	padding: 10px 24px; 
}
.search-container input{
	border-radius: 0px;
	background-color: white;
}
.gm-style-iw.gm-style-iw-c{ min-width: 200px !important; text-align: left; }
.gm-style-iw-ch{ display: none; }
.gm-style-iw-d{ padding-bottom: 20px !important; }
.gm-style-iw-chr{ display: block; }
.gm-style-iw-chr button{
	padding: 12px 0px !important;
	margin-left: auto !important;
	width: 36px !important;
	height: 36px !important;	
}
.gm-style-iw-chr button span{
	width: 24px !important;
	height: 24px !important;
	margin: 0px 0px !important;
}
.gm-style-iw-d h3{ font-size: 1.75em; line-height: 36px; margin-bottom: 12px; text-align: left; }
.text-box{ 
	font-size: 1em;
    line-height: 10px;
    text-align: left;
	margin-bottom: 12px;
}
.link-box:hover{ 
	background-color: #000;
    border: 1px solid #000;
    color: white;
}
.link-box{ 
	color: #292929;
	border:1px solid #292929;
	margin-top: 4px;
	padding: 4px 10px;
	display: inline-block;
	font-weight: 500;
	transition: all 0.3s ease;
}
.label-icon-types{
	display: block;
	color: rgba(0,0,0,0.7);
	font-size: 0.875em;
	margin-top: 5px;
}
.data-type-cat.active .label-icon-types{ color: rgba(0,0,0,1); }
#geolocate_me, #clear-selection{
	position: absolute;
	right: 35px;
	z-index: 999;
}
#geolocate_me img, #clear-selection img{
	width: 25px;
	height: 25px;
}

#geolocate_me.has-value, #clear-selection{ display: none; }
#clear-selection.has-value{ display: block; }
.btn-config-form{
    padding: 10px 10px 10px 0px !important;
    text-align: center;
    max-width: 120px;
    height: 46px;
}
.wrapper-text .content-text .description p:not(.text-box){
	font-family: 'avenir';
    font-weight: 500;
    line-height: 22px;
    font-size: 0.875em;
}
@media (max-width: 1200px) {
	.info-card {
		padding: 20px 7px;
	}
	.btn-details{ margin-top: 0px; }
	.wrapper-text .content-text .description p{
		max-width: 80%; text-align: left;
	}
}
@media (max-width: 991px) {
	body{ background-color: #f8f8f8; }
	.btn-details {
		right: 26px;
	}
	#container {
		display: flex;
		height: 600px; /* Imposta l'altezza desiderata */
	}
	/* Stile per la mappa */
	#map {
		height: 450px;
	}
	.wrapper-text .content-text .description p{
		max-width: 100%;
	}
	.info-card{ padding: 20px 24px; }
}
@media (max-width: 768px) {
	.icon-container {
		padding: 8px 14px;
		height: 100%;
		display: block;
	}
	.icon-container a{
		margin-right: 24px;
	}
	.icon-container a:last-child{
		margin-right: 0px;
	}
	.search-container{
		height: 70px;
		padding: 10px 24px;
	}
	#dealers{
		background: #F8F8F8;
	}
	.dealers-search {
		padding-right: 36px;
	}
	.btn-details {
		right: 18px;
	}	
}
@media (max-width: 576px) {
	/* Stile per la mappa */
	#map {
		height: 280px !important;
	}	
	#container {
		display: flex;
		height: 450px;
	}
	.info-card{ padding: 10px 12px 12px 12px; }
	.icon-container a{
		margin-right: 12px;
	}	
	.icon-container a span{
		font-size: 0.75em;
	}
	.icon-container a img{
		width: 30px;
		height: 30px;
	}
	.icon-container {
		padding: 14px 14px;
	}
	.info-card .dealer-name {
		font-size: 1em !important;
	}
	.info-card .icons {
		margin-top: 7px;
	}
	.dealers-search::placeholder{ font-size: 0.875em; }
	.dealers-search::-ms-input-placeholder{ font-size: 0.875em; }
	.btn-details {
		right: 14px;
	}
    .search-container {
        padding: 10px 14px;
    }	
}
.custom-padding-lg{ padding-left: 0; padding-right: 0; }
@media (min-width: 992px) {
    .custom-padding-lg {
        padding-right: 0.75rem;
		padding-left: 0.75rem;
    }
}
@media (min-width: 992px) and (max-width: 1500px) {
	.info-card .btn-select{ max-width: 115px; text-align: center; padding-left: inherit;  }
	.info-card .btn-select::after{
		display: none;
	}
}