/********************************************************************************************
 ELEMENTI
*********************************************************************************************
/


/******************************************
Blocchi widget
*******************************************/

.wpc-filters-section {
    --main-filter-color: #4e5562;
    --border-filter-color: #e1e6ec;
    --hover-filter-color: #363a45;
    --filter-radius: 8px;

    border: 1px solid var(--border-filter-color);
    padding: 24px;
    border-radius: var(--filter-radius);
    font-size: 14px;
    line-height: 21px;
    color: var(--main-filter-color);
}

/******************************************
Links
*******************************************/

.wpc-filters-section a {
    color: var(--main-filter-color);
}

.wpc-filters-section a:hover,
.wpc-filters-section a:active,
.wpc-filters-section a:focus {
    color: var(--hover-filter-color);
}

/******************************************
Title
*******************************************/
.widget-title.wpc-filter-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 22px;
}

/******************************************
Label tag filters
*******************************************/

.wpc-filter-label-wrapper .wpc-filter-link {
    font-weight: 500;
    transition: all 500ms ease-in-out;
}

/******************************************
Checkbox trick
*******************************************/
input[type=checkbox][data-wpc-link] {
    display: none;
}

.wpc-filters-checkboxes input[type=checkbox][data-wpc-link]:checked ~ label .wpc-filter-link {
    border-left: 3px solid var(--hover-filter-color);
    font-weight: 600;
    padding-inline: 8px;
}

.wpc-filters-checkboxes input[type=checkbox][data-wpc-link]:checked ~ label .wpc-filter-link + span.wpc-term-count {
    color: var(--hover-filter-color);
    font-weight: bold;

}


/******************************************
Prezzo a caselle
*******************************************/

.wpc-filters-range-column input {
    border-radius: var(--filter-radius)
}


/******************************************
Allinea il conteggio a dx
*******************************************/

.wpc-term-item-content-wrapper > label {
    width: 100%
}

.wpc-term-count {
    margin-left: auto;
}

/******************************************
Fixa i br per il tasto da mobile (Grazie FSE)
*******************************************/
span.wpc-icon-html-wrapper br {
    display: none;
}


/******************************************
Mobile della versione free
*******************************************/


body .wpc-filters-open-button-container a.wpc-open-close-filters-button {
    background: white !important;
    margin-bottom: 20px;
}

@media screen and (min-width: 769px) and (max-width: 1022px){
    .wpc_show_open_close_button .wpc-filters-open-button-container {
        display: block !important;
    }

}


@media screen and (max-width: 769px) {
    .filters-container-for-mob {
        position: fixed;
        bottom: 0;
        z-index: 99999;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .wpc-filters-widget-content.wpc-opened {
        max-height: 450px;
        overflow-y: auto;
        background: white;
        padding-block: 1rem;
        box-shadow: -1px 0 11px black;
        border-radius: 8px;


    }

    .wpc-filters-widget-wrapper {
        background: white;
        padding-inline: 8px;
    }
}


.wp-block-navigation-item__label{
    font-weight:300 !important;
}