/**
Theme Name: Custom Theme
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-theme
Template: astra
*/
.single .post-navigation {
    margin: 0;
    padding: 2em 0 0;
    border-top: 1px solid var(--ast-single-post-border, var(--ast-border-color));
    border-bottom: 1px solid var(--ast-single-post-border, var(--ast-border-color))!important;
}

div[id^="mappa"] {
	height: 690px;
	width: 100%;
}

div[id^="mappa"] {
	@media (min-width: $bp-desktop) {
        height: 100%;
      }
}

div[id^="mappa"] .gm-style-iw-d {
	margin-top: -17px !important;
}

/* Le due colonne nella riga (lista sx 50%, mappa dx 50%) */
.map-row-wrapper > [class*="elementor-element-"] {
	width: 50% !important;
	max-width: 50% !important;
	flex: 0 0 50% !important;
}

.card-map-container {
	width: 50% !important;
	max-width: 50% !important;
	flex: 0 0 50% !important;
}

.card-map-container-cards {
	height: calc(642px - 50px);
	padding: 0 20px 30px 20px;
	overflow-y: scroll !important;
	-webkit-overflow-scrolling: touch;
	flex-wrap: wrap !important;
	gap: 10px 20px;
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
}

/* Forza la scrollbar sempre visibile */
.card-map-container-cards::-webkit-scrollbar {
	width: 12px;
	-webkit-appearance: none;
}

.card-map-container-cards::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.card-map-container-cards::-webkit-scrollbar-thumb {
	background: #8caa2e;
	border-radius: 10px;
}

.card-map-container-cards::-webkit-scrollbar-thumb:hover {
	background: #6d8a23;
}

.card-map-container-filter {
	margin-bottom: 20px;
	margin-left: 20px;
	//width: 100%; /* calc(100% - 20px); */
}

.card-map-container-filter .select2 {
	width:100% !important;
	margin-top: 15px;
}

/* Stile generale per la card */
.marker-item {
    width: 100%; /* La card occupa il 100% della larghezza del container */
    background-color: #f9f9f9; /* Colore di sfondo leggero per la card */
    border-radius: 8px; /* Bordi arrotondati */
    margin-bottom: 20px; /* Spaziatura tra una card e quella sottostante */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Leggera ombra per la card */
    display: flex; /* Usato per allineare immagine e testo */
	flex-direction: column;
    align-items: flex-start; /* Allineamento verticale degli elementi */
	justify-column: left;
    box-sizing: border-box; /* Include padding e bordi nella larghezza */
	gap: 15px;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	height: auto;
	/* overflow: hidden; */
}

/* Stile per l'immagine nella card */
.marker-item .thumbnail {
    width: 100%; /* Larghezza dell'immagine */
    height: 150px; /* Altezza dell'immagine */
    object-fit: cover; /* Adatta l'immagine all'interno del contenitore */
	border-radius: 8px 8px 0 0;
	transition: all 0.2s ease-in-out;
}

/* Stile per il titolo della card */
.marker-item .marker-title {
    font-size: 1.2em; /* Dimensione del carattere per il titolo */
    margin: 0; /* Rimuove il margine di default */
    font-weight: bold; /* Testo in grassetto */
    color: #333; /* Colore del testo */
	padding: 0 15px;
}

/* Stile per l'indirizzo nella card */
.marker-item .marker-address {
    font-size: 0.9em; /* Dimensione del carattere per l'indirizzo */
    color: #777; /* Colore del testo più chiaro */
	padding: 0 15px;
}

.marker-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Ombra più intensa durante l'hover */
}

.marker-item:hover .thumbnail {
    transform: scale(1.02); /* Leggero ingrandimento della card */
}

.gm-ui-hover-effect {
	margin-top: -7px !important;
	margin-right: -7px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	display: none !important;
}


.bs-actionsbox .btn-group.btn-group-sm{
	display: flex !important;
}

/* ========================================
   FIX: PMPro Checkout Display
   ======================================== */
/* PMPro nasconde le sezioni checkout via JS inline style="display:none"
   ma a volte il JS non parte. Questo forza la visualizzazione. */
#pmpro_level-3.pmpro_section,
.pmpro_section.pmpro_checkout_gateway-stripe {
	display: block !important;
}

/* ========================================
   FIX: Menu Links Sovrapposizione
   ======================================== */
/* Fix sovrapposizione link "Esci" e "Adotta una struttura" nel menu */
.main-header-menu .menu-item.logout,
.main-header-menu .menu-item-5099,
.main-header-menu .menu-item-5100 {
	display: inline-block;
	margin-left: 15px;
}

.main-header-menu .menu-item.logout a,
.main-header-menu .menu-item-5099 a,
.main-header-menu .menu-item-5100 a {
	padding: 0 10px;
	white-space: nowrap;
}

/* Fix per mobile */
@media (max-width: 768px) {
	.main-header-menu .menu-item.logout,
	.main-header-menu .menu-item-5099,
	.main-header-menu .menu-item-5100 {
		display: block;
		margin-left: 0;
		margin-top: 10px;
	}
}




/* Mod Menu */

li.logout.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-5099 {
    top: 0;
}


/* Pagine registrazione */
/* Layout a 2 colonne (50% ciascuno) per i pulsanti ACF Gallery */
.acf-gallery ul.acf-hl {
    list-style: none !important;
    margin: 10px 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); /* 2 colonne uguali */
    gap: 12px !important;
}

/* Elimina bullet e padding */
.acf-gallery ul.acf-hl li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Assicura che i bottoni prendano tutta la cella */
.acf-gallery .acf-button {
    width: 100% !important;
    display: block !important;
    text-align: center;
}


.menu-iscriviti-fa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Icona */
.menu-iscriviti-fa i {
    color: #39C4E6;
    position: relative;
    top: -1px; /* perfetto allineamento con il testo */
}

/* Testo */
.menu-iscriviti-fa span {
    color: #39C4E6 !important;
    font-weight: 600;
    text-transform: uppercase;
}

/* Effetto hover leggero */
.menu-iscriviti-fa:hover i,
.menu-iscriviti-fa:hover span {
    color: #2fb1cf !important;
}

.content-half-part.sale-price { display:none !important

}


