/* ************************************** LEGACY ************************************** */


.wpgb-facet > .wpgb-button.wpgb-load-more {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    padding: 16px 20px;
    border-radius: 50px;
    background: black;
    color: white;
    font-size: 15px;
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    line-height: 22px;
}

.wpgb-facet>fieldset:last-child {
    margin-bottom: 0px;
}









/*.cpt-formations-grid .wpgb-facet .wpgb-select-values {*/
/*    margin: 0;*/
/*}*/
/*.cpt-formations-grid .wpgb-facet .wpgb-select-values > .wpgb-select-value {*/
/*    font-size: 13px;*/
/*    line-height: 32px;*/
/*    background: rgba(83, 38, 124, 0.15);*/
/*    border-radius: 31px;*/
/*    display: flex;*/
/*    flex-flow: row-reverse;*/
/*    padding: 0px 10px;*/
/*    margin: 0px;*/
/*}*/

/*.cpt-formations-grid .wpgb-facet .wpgb-selection-facet .wpgb-button[aria-pressed="true"] */


/*.cpt-formations-grid .wpgb-facet .wpgb-button-label {*/
/*    padding: 0;*/
/*    font-size: 13px !important;*/
/*    line-height: 32px;*/
/*    color: var(--ftc--dark-purple);*/
/*}*/
/*.cpt-formations-grid .wpgb-facet .wpgb-selection-facet .wpgb-button-control {*/
/*    margin-right: 4px;*/
/*}*/
/*.cpt-formations-grid .wpgb-facet .wpgb-selection-facet .wpgb-button-control:before, */
/*.cpt-formations-grid .wpgb-facet .wpgb-selection-facet .wpgb-button-control:after {*/
/*    background: var(--ftc--dark-purple);*/
/*}*/

.wpgb-facet .wpgb-select-values > .wpgb-select-value > span {
    padding: 0;
}



.wpgb-facet.wpgb-facet-3 .wpgb-select .wpgb-select-controls .wpgb-select-separator,
.wpgb-facet.wpgb-facet-4 .wpgb-select .wpgb-select-controls .wpgb-select-separator,
.wpgb-facet.wpgb-facet-5 .wpgb-select .wpgb-select-controls .wpgb-select-separator,
.wpgb-facet.wpgb-facet-6 .wpgb-select .wpgb-select-controls .wpgb-select-separator,
.wpgb-facet.wpgb-facet-3 .wpgb-select .wpgb-select-controls button,
.wpgb-facet.wpgb-facet-4 .wpgb-select .wpgb-select-controls button,
.wpgb-facet.wpgb-facet-5 .wpgb-select .wpgb-select-controls button,
.wpgb-facet.wpgb-facet-6 .wpgb-select .wpgb-select-controls button,
.wpgb-facet.wpgb-facet-3 .wpgb-select-value,
.wpgb-facet.wpgb-facet-4 .wpgb-select-value,
.wpgb-facet.wpgb-facet-5 .wpgb-select-value,
.wpgb-facet.wpgb-facet-6 .wpgb-select-value {
    margin: 0;
}
.wpgb-facet.wpgb-facet-3 .wpgb-select-placeholder .wpgb-select-values>div.wpgb-select-value button:hover, 
.wpgb-facet.wpgb-facet-3 .wpgb-select-placeholder .wpgb-select-values>div.wpgb-select-value button:focus,
.wpgb-facet.wpgb-facet-4 .wpgb-select-placeholder .wpgb-select-values>div.wpgb-select-value button:hover, 
.wpgb-facet.wpgb-facet-4 .wpgb-select-placeholder .wpgb-select-values>div.wpgb-select-value button:focus,
.wpgb-facet.wpgb-facet-5 .wpgb-select-placeholder .wpgb-select-values>div.wpgb-select-value button:hover, 
.wpgb-facet.wpgb-facet-5 .wpgb-select-placeholder .wpgb-select-values>div.wpgb-select-value button:focus,
.wpgb-facet.wpgb-facet-6 .wpgb-select-placeholder .wpgb-select-values>div.wpgb-select-value button:hover, 
.wpgb-facet.wpgb-facet-6 .wpgb-select-placeholder .wpgb-select-values>div.wpgb-select-value button:focus {
    background: none;
}



/*.cpt-formations-grid .wpgb-facet .wpgb-select-values {*/
/*    flex-wrap: nowrap;*/
/*}*/
/*.cpt-formations-grid .wpgb-facet .wpgb-select-values > .wpgb-select-value {*/
    /*flex: none;*/
/*    display: none;*/
/*}*/
/*.cpt-formations-grid .wpgb-select-clear {*/
/*    display: none;*/
/*}*/
/*.cpt-formations-grid .wpgb-select-placeholder input[type="text"] {*/
/*    margin-left: 10px;*/
/*}*/


.wpgb-facet.wpgb-facet-3 .wpgb-select-search::before,
.wpgb-facet.wpgb-facet-4 .wpgb-select-search::before,
.wpgb-facet.wpgb-facet-5 .wpgb-select-search::before, 
.wpgb-facet.wpgb-facet-6 .wpgb-select-search::before {
    position: absolute;
    font-size: 1.23em;
}
/* *********************************** END LEGACY ************************************ */








.wpgb-select-placeholder .wpgb-select-values>.wpgb-select-search {
    margin: 0px;
}












/* Facet Title
   ========================================================================== */
.wpgb-facet .wpgb-facet-title {
    font-size: 12px;
    line-height: normal;
    margin-bottom: 9px;
    font-weight: 300;
    color:var(--pmn--pink);
}

/* Select dropdown Facet
   ========================================================================== */
.wpgb-facet .wpgb-select {
    --select-bgcolor: #FFF;
    --line-height: 22px;
    color: var(--pmn--blue);
    background-color: #F0F0F0;
    border: none;
    border-radius: 50px;
    height: auto;
    font-size: 14px;
    line-height: var(--line-height);
}
.wpgb-select-placeholder input[type="text"] {
    height: var(--line-height);
}

/* select dopdown "down" button arrow */
.wpgb-select .wpgb-select-controls button {
    padding-right: 20px;
}
.wpgb-select button svg {
    fill: var(--pmn--blue);
}

/* select dropdown placeholder */
.wpgb-facet .wpgb-select-placeholder {
    font-size: inherit;
    line-height: inherit;
    margin: 15px 0px 15px 20px;
}

/*.wpgb-facet .wpgb-select.wpgb-select-focused {*/
/*    border: 1px solid var(--dark-purple);*/
/*}*/

/*.wpgb-facet select.wpgb-select:not([multiple]) {*/
/*    padding: 14px 20px;*/
/*}*/

/* make the separator subtetly hide sentences */
.wpgb-select .wpgb-select-controls .wpgb-select-separator {
    background: none;
    position: relative;
}
.wpgb-select-separator::before {
    content: "";
    position: absolute;
    width: 2em;
    height: 100%;
    right: 0;
}

/* open dropdown */
.wpgb-select-dropdown > ul {
    padding: 12px !important;
    display: flex;
    flex-flow: column nowrap;
    row-gap: 8px;
}
.wpgb-select-dropdown > ul > .wpgb-select-item {
    background: white;
    color: var(--pmn--blue);
}
.wpgb-select-dropdown > ul > .wpgb-select-item[aria-selected="true"], /* selected item in dropdown */
.wpgb-select-dropdown > ul > .wpgb-select-item.wpgb-focused[aria-selected="true"] {  /* rollover over a selected item in dropdown */
    background: var(--pmn--blue);
    color: white;
}
.wpgb-select-dropdown > ul > .wpgb-select-item.wpgb-focused { /* rollover in dropdown */
    background: rgba(46,108,232,0.20);
    color: var(--pmn--blue);
}


/* Tags Output Facet ("Selection facet")
   ========================================================================== */
.wpgb-selection-facet .wpgb-inline-list .wpgb-button {
    border: none;
    background: var(--pmn--blue);
    border-radius: 31px;
    padding: 0px 10px;
}
.wpgb-selection-facet .wpgb-button-label {
    font-size: 12px;
}








/* Pagination Facet
   ========================================================================== */
.wpgb-facet .wpgb-pagination .wpgb-page {
    padding: 0;
    box-sizing: border-box;
}
.wpgb-facet .wpgb-pagination .wpgb-page a {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 12px;
    line-height: auto;
    color: var(--pmn--blue);
    border: 1px solid var(--pmn--blue);
    border-radius: 20px;
}
.wpgb-facet .wpgb-pagination .wpgb-page a[aria-current] {
    color: white;
    background-color: var(--pmn--blue);
    font-weight: 700;
}

.wpgb-facet .wpgb-pagination .wpgb-page a:hover {
    font-size: 12px;
    border: 1px solid var(--pmn--blue);
}

/* selected values tags, inside the dropdown */
.wpgb-select-placeholder .wpgb-select-values {
    visibility: hidden;
}

/* Remove useless margin around pagination items and replace it with gap property */
.wpgb-facet .wpgb-pagination .wpgb-page {
    margin: 0;
}
.wpgb-facet .wpgb-pagination {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    gap: 5px;
}
.wpgb-facet .wpgb-pagination .wpgb-page a[aria-current] {
    
}
/* previous and next buttons */
.wpgb-facet .wpgb-pagination .wpgb-page:last-child a:not([aria-current]),
.wpgb-facet .wpgb-pagination .wpgb-page:first-child a:not([aria-current]) {
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 1px solid white;
    background-image: var(--evo--icon--chevron--white);
}
.wpgb-facet .wpgb-pagination .wpgb-page:first-child a:not([aria-current]) {
    transform: rotateZ(90deg);
}
.wpgb-facet .wpgb-pagination .wpgb-page:last-child a:not([aria-current]) {
    transform: rotateZ(-90deg);
}




.wpgb-select input[readonly] {
    pointer-events: none; /*  */
}
.wpgb-select-placeholder .wpgb-select-values>div {
    margin: 0;
}
.wpgb-select-value {
    height: 20px; /* prevent select hidden values from growing fat */
}
.wpgb-select-value ~ .wpgb-select-value {
    width: 1px; /* prevent select hidden values from growing fat */
}
