:root {
    --rh-color: #B4346E;
    --vr-color: #db8ca5;
    --gyn-color: #92b909;
    --phl-color: #321f7c;
    --neu-color: #3b5eae;
    --mca-color: #8c5e93;
    --psy-color: #5495e0;
    --au-color: #386537;
    --ad-color: #e5d300;
    --tde-color: #d8a600;
    --der-color: #ce6701;
    --amb-color: #c02305;
    --dark-green: #32887d;
    --dark-blue: #003580;
    --dark-blue-gradient: linear-gradient(165deg,#003580,#1364d8);
    --active-blue: #5490E8;
    --light-blue: #E1EFFF;
    --dark-yellow: #e8a700;
    --yellow: #FFB800;
    --light-yellow: #FFF9E8;
    --dark-grey: #2F2F33;
    --grey: #9E9FA8;
    --light-grey: #a6a6aa;
    --ultra-light-grey: #ebebf1;
    --maxi-ultra-light-grey: #f8f9fa;
    --light-green: #E1F9F9;
    --dark-green: #04777D;
    --grey-bg: #EFEFF2;
    --radius: 6px;
  }
  
  :root .page_spa {
    --dark-blue: #00555a;
    --active-blue: #48a0ae;
    --light-blue: #eefbfd;
  }

#window-price-filter {
    position: absolute;
    top: 50px;
    left: 0;
    display: none;
}

.price-range > span > i {
    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}

.price-range > span {
    position: relative;
}

#window-price-filter {
    min-height: 300px;
    width: 500px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#window-price-filter .price-field {
    position: relative;
    overflow: hidden;
}

#window-price-filter .price_diagram {
    height: 160px;
    margin-left: 1.2em;
    margin-right: 1.2em;
}

#window-price-filter .price_column {
    position: relative;
    background-color: var(--dark-blue);
    margin: 0 1px;

    transition: background-color .2s linear;
}

#window-price-filter .price_column.lighter_column {
    background-color: grey;
}

#window-price-filter .ui-widget-content {
    height: 50px;
    width: 50px;
    border: 1px solid black;
    border-radius: 50%;
}


.wrapper {
    height: 500px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.filter-price {
    position: relative;
    border: 0;
    padding: 2%;
    border-radius: 5px;
    background-color: white;
    z-index: 100;

    box-shadow: 1px 1px 19px -6px rgba(0,0,0,0.5);
    -webkit-box-shadow: 1px 1px 19px -6px rgba(0,0,0,0.5);
    -moz-box-shadow: 1px 1px 19px -6px rgba(0,0,0,0.5);
}

#price_overlay {

    /* On voit large */
    width: 100vw;
    height: 400vh;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    #window-price-filter {
        z-index: 2;
    }
}

#price_overlay.open {
    display: inherit
}

.price-title {
    position: relative;
    color: #fff;
    font-size: 14px;
    line-height: 1.2em;
    font-weight: 400;
    background: #d58e32;
    padding: 10px;
}

.price-container {
    display: flex;
    border: 1px solid #ccc;
    padding: 5px;
    margin-left: 57px;
    width: 100px;
}

.price-field {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding-top: 15px;
    padding-left: 0px;
    min-height: 200px;
}

/* Reset style for input range */

.price-field input[type=range] {
    position: absolute;
    width: 100%;
    outline: 0;
    box-sizing: border-box;
    pointer-events: none;
    -webkit-appearance: none;
}

.price-field input[type=range]::-webkit-slider-thumb {
    width: 1.5em !important;
    height: 1.5em !important;
    bottom: 0.45em;
    padding: 0.25em;                          
    border: 1px solid var(--light-grey);
    border-radius: 50%;
    margin-bottom: 0.75em;
    background-color: var(--active-blue);
}


.price-field input[type=range]:active,
.price-field input[type=range]:focus {
    outline: 0;
}

.price-field input[type=range]::-ms-track {
    width: 188px;
    height: 2px;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    border-radius: 5px;
    pointer-events: none;
    background: transparent;
    border-color: transparent;
    color: red;
    border-radius: 5px;
}

/* Style toddler input range */

.price-field input[type=range]::-webkit-slider-thumb {
    /* WebKit/Blink */
    position: relative;
    -webkit-appearance: none;
    margin: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    margin-top: -4px;
    background-color: var(--active-blue);
    cursor: pointer;
    cursor: pointer;
    pointer-events: all;
    z-index: 100;
}

.price-field input[type=range]::-moz-range-thumb {
    /* Firefox */
    position: relative;
    appearance: none;
    margin: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    margin-top: -5px;
    background-color: var(--active-blue);
    cursor: pointer;
    pointer-events: all;
    z-index: 100;
}

.price-field input[type=range]::-ms-thumb {
    /* IE */
    position: relative;
    appearance: none;
    margin: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    margin-top: -5px;
     background-color: var(--active-blue);
    cursor: pointer;
    cursor: pointer;
    pointer-events: all;
    z-index: 100;
}

/* Style track input range */

.price-field input[type=range]::-webkit-slider-runnable-track {
    /* WebKit/Blink */
    width: 188px;
    height: 2px;
    cursor: pointer;
    background: #555;
    border-radius: 5px;
}

.price-field input[type=range]::-moz-range-track {
    /* Firefox */
    width: 188px;
    height: 2px;
    cursor: pointer;
    background: #242424;
    border-radius: 5px;
}

.price-field input[type=range]::-ms-track {
    /* IE */
    width: 188px;
    height: 2px;
    cursor: pointer;
    background: #242424;
    border-radius: 5px;
}

/* Style for input value block */

.price-wrap {
    display: flex;
    color: #242424;
    font-size: 14px;
    line-height: 1.2em;
    font-weight: 400;
    margin-bottom: 0px;
}

.price-wrap-1,
.price-wrap-2 {
    display: flex;
    margin-left: 0px;
}

.price-title {
    margin-right: 5px;
}

.price-wrap_line {
    margin: 6px 0px 5px 5px;
}

#window-price-filter  input#one,
#window-price-filter  input#two {
    font-size: 16px;
    max-width: 100%;
    width: 60px;
    height: 30px;

}

.price-wrap label {
    text-align: right;
    margin-top: 6px;
    padding-left: 5px;
}

/* Style for active state input */

.price-field input[type=range]:hover::-webkit-slider-thumb {
    box-shadow: 0 0 0 1px white;
    transition-duration: 0.3s;
}

.price-field input[type=range]:active::-webkit-slider-thumb {
    box-shadow: 0 0 0 1px white;
    transition-duration: 0.3s;
}

#window-price-filter .close {
    cursor: pointer;
    font-size: 2em;
}

@media screen and (max-width: 768px) {
    #window-price-filter {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    .filter-price {
        left: 0;
    }
}

/* Quand le filtre est indisponible */

#overlay_price_filter_disabled {
    position: absolute; 
    left: 0; 
    top:  50px;
    width: 100%;
    height: 300px;
    z-index: 150;
    background-color: rgba(255, 255, 255, .7);
}

#filtre_prix_indisponible {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 40%;
    z-index: 200;
    width: 100%;

    transform: translate(-50%, -50%);
}

/* Apparition de l'attribut de prix au hover */

/* Fourchette */

.price_column > p {
    display: none;
    position: absolute;
    bottom: -60px;
    font-size: .7em;
    color: var(--dark-blue);
    font-weight: bold;
    height: 50px;
    width: 200px;
    background-color: transparent;
    z-index: 100;

    transform: translateX(-50%);
}

.price_column.left_margin > p {
    left: 10px;
}

.price_column.right_margin > p {
    left: -5px;
}

.price_column.show_data_price > p {
    display: flex;
}

.price_range {
    padding-bottom: 1.5rem;
}

/* Nombre d'éléments concernés */

.price_column > div {
    display: none;
    position: absolute;
    z-index: 100;
    left: 50%; 
    top: 50%; 
    font-size: .6em;
    color: white;

    transform: translate(-50%, -50%);
}

.price_column.show_data_price > div {
    display: inherit;
}