:root {
    --white: #ffffff;
    --light: #f0eff3;
    --black: #000000;
    --dark-blue: #1f2029;
    --dark-light: #353746;
    --red: #da2c4d;
    --yellow: #f8ab37;
    --grey: #ecedf3;
}

::selection {
    color: var(--white);
    background-color: var(--white);
}
::-moz-selection {
    color: var(--white);
    background-color: var(--black);
}
mark{
    color: var(--white);
    background-color: var(--black);
}

#intervention {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-top: 15px;
    padding-right: 1em;
    margin: 0;
}



.sect {
    position: relative;
    width: 100%;
    display: block;
    padding: 1em 0 0;
}
.over-hide {
    overflow: hidden;
}
.z-bigger {
    z-index: 100 !important;
}


[type="checkbox"]:checked,
[type="checkbox"]:not(:checked),
[type="radio"]:checked,
[type="radio"]:not(:checked){
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    visibility: hidden;
}
.checkbox:checked + label,
.checkbox:not(:checked) + label{
    position: relative;
    width: 70px;
    display: inline-block;
    padding: 0;
    text-align: center;
    margin: 100px 0 17px;
    height: 6px;
    border-radius: 4px;
    background-image: linear-gradient(298deg, var(--green), var(--primary-color));
    z-index: 100 !important;
}
.checkbox:checked + label:before,
.checkbox:not(:checked) + label:before {
    position: absolute;
    font-family: 'unicons', serif;
    cursor: pointer;
    top: -17px;
    z-index: 2;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}
.checkbox:not(:checked) + label:before {
    content: '\eac1';
    left: 0;
    color: var(--grey);
    background-color: var(--dark-light);
    box-shadow: 0 4px 4px rgba(0,0,0,0.15), 0 0 0 1px rgba(26,53,71,0.07);
}
.checkbox:checked + label:before {
    content: '\eb8f';
    left: 30px;
    color: var(--white);
    background-color: var(--primary-color);
    box-shadow: 0 4px 4px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
}

.checkbox:checked ~ .sect .container .row .col-12 p {
    color: var(--white);
}


.checkbox-interventions:checked + label,
.checkbox-interventions:not(:checked) + label {
    position: relative;
    display: inline-block;
    padding: 7px;
    xwidth: 177px;
    xheight: 80px;
    font-size: 10px;
    /*line-height: 20px;*/
    /*letter-spacing: 1px;*/
    margin: 0 5px 10px;
    text-align: center;
    /*border-radius: 4px;*/
    overflow: visible;
    cursor: pointer;
    text-transform: uppercase;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}



.checkbox-interventions:not(:checked) + label {
    color: #b9bbbb;
}
.checkbox-interventions:checked + label {
    color: var(--white);
}

.checkbox-interventions:not(:checked) + label{
    background-color: var(--white);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}
.checkbox-interventions:checked + label{
    background-color: #b9bbbb;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
.checkbox-interventions:not(:checked) + label:hover{
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
.checkbox-interventions:checked + label::before,
.checkbox-interventions:not(:checked) + label::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background-image: linear-gradient(298deg, var(--green), var(--primary-color));
    z-index: -1;
}
.checkbox-interventions:checked + label .uil,
.checkbox-interventions:not(:checked) + label .uil{
    font-size: 24px;
    line-height: 24px;
    display: block;
    padding-bottom: 10px;
}
