/**
Theme Name: Astra child
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: astra-child
Template: astra
*/



/* **************************************** */

/* AST OVERRIDES */
.ast-grid-common-col{
	padding-left: 0;
	padding-right: 0;
}

.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single:not(.ast-related-post){
	background-color: transparent;
}

/* END AST OVERRIDES */
/* **************************************** */



/* STORE LOCATOR */
.wpsl-info-window{
	COLOR: #000;
}


/* Blocco scroll orizzontale globale (HTML e Body) */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
}





/* Regola per etichette Forminator tablet e Mobile */

@media (max-width: 1024px) {
    .forminator-ui#forminator-module-484.forminator-design--basic .forminator-label {
        font-size: 22px !important;
        line-height: 1.3em !important;
    }
}


@media (max-width: 767px) {
    .forminator-ui#forminator-module-484.forminator-design--basic .forminator-label {
        font-size: 20px !important;
        line-height: 1.3em !important;
    }
}


/* ==========================================================================
   WP STORE LOCATOR - FIX VISUALE DEFINITIVO
   ========================================================================== */

#wpsl-gmap *{
	color: #000000;	
}

 .wpsl-search{
    background-color: transparent !important;    
    padding: 0 !important;
} 

.wpsl-selected-item{
	color: white !important;
}

#content #wpsl-search-wrap #wpsl-search-btn, #wpsl-search-wrap input[type="submit"]{
	background-image: none;
	height: auto !important;
}

#content #wpsl-search-wrap label{
	display: flex !important;
}

#content #wpsl-checkbox-filter label{
	color: white !important;
}

#wpsl-wrap .wpsl-selected-item {
    padding-top: 12px !important;
}

#wpsl-wrap .wpsl-selected-item:after{
	border-top-color: white;
}
.wpsl-active .wpsl-selected-item:after{
	border-top-color: transparent !important;
}

/* 1. Sfondo del contenitore card */
#wpsl-search-wrap {
    background-color: #112a52 !important; /* Blu scuro */
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    padding: 28px !important;
    margin-bottom: 30px !important;
}

/* 2. FIX ETICHETTE: Rimuove i <br> nativi che spezzano il testo a metà */
#wpsl-search-wrap label {
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    white-space: nowrap !important;
    margin-bottom: 8px !important;
    display: block !important;
    text-align: left !important;
}

#wpsl-search-wrap label br {
    display: none !important; /* Niente più andata a capo nel testo della label */
}

/* 3. DISPOSIZIONE IN RIGA (Flexbox) */
#wpsl-search-wrap form {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 16px !important;
    width: 100% !important;
}

/* Reset float e margini nativi di WPSL */
#wpsl-search-wrap form > div,
#wpsl-search-wrap .wpsl-input,
#wpsl-search-wrap .wpsl-select-wrap,
#wpsl-search-wrap .wpsl-select-wrap > div,
#wpsl-search-wrap .wpsl-search-btn-wrap {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Campo indirizzo */
#wpsl-search-wrap .wpsl-input {
    flex: 1 1 200px !important;
}

/* Forza i dropdown a stare affiancati in orizzontale */
#wpsl-search-wrap .wpsl-select-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    flex: 2 1 280px !important;
}

#wpsl-search-wrap .wpsl-select-wrap > div {
    flex: 1 1 120px !important;
}

/* Container Bottone Cerca */
#wpsl-search-wrap .wpsl-search-btn-wrap {
    flex: 0 0 auto !important;
}

/* 4. FIX SFONDO BIANCO DEI DROPDOWN & INPUT (Capsule Scure) */
#wpsl-search-wrap input[type="text"],
#wpsl-search-wrap select,
#wpsl-search-wrap .wpsl-dropdown,
#wpsl-search-wrap .wpsl-select-wrap select {
    background-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.08) !important; /* Elimina il bianco nativo */
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50px !important;
    height: 48px !important;
    line-height: 48px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 100% !important;
}

/* Freccetta custom per i select */
#wpsl-search-wrap select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    padding-right: 40px !important;
}

/* Opzioni tendina aperta */
#wpsl-search-wrap select option {
    background-color: #0b1d3a !important;
    color: #ffffff !important;
}

/* 5. CHECKBOX CATEGORIE (Orizzontali in basso) */
#wpsl-search-wrap .wpsl-checkboxes,
#wpsl-category-checkboxes {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-top: 12px !important;
}

#wpsl-search-wrap .wpsl-checkboxes label,
#wpsl-category-checkboxes label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    cursor: pointer;
}

#wpsl-search-wrap .wpsl-checkboxes input[type="checkbox"],
#wpsl-category-checkboxes input[type="checkbox"] {
    accent-color: #4a82c5 !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
}

/* 6. PULSANTE SEARCH */
#wpsl-search-wrap #wpsl-search-btn,
#wpsl-search-wrap input[type="submit"] {
    height: 48px !important;
    line-height: 48px !important;
    padding: 0 32px !important;
    background-color: #4a82c5 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#wpsl-search-wrap #wpsl-search-btn:hover {
    background-color: #007bff !important;
}

/* END STORE LOCATOR */