:root {
    --primary-color: #000;
    --secondary-color: #888;
    --checked-button-color: #007bff ;
    --disabled-button-color: #aaa;
    --unchecked-button-color: #aaa;
    --unchecked-button-before-color: #777;
}

.modal-backdrop { z-index: 7; }

#rgpd_modal{ z-index: 8; }

.cookie_banner {
    width: 95%;
    position: fixed;
    visibility: hidden;
    bottom: 0;
    background: rgba(59,58,58,0.9);
    color: #fff;
    transition: bottom 5s;
    z-index: 5;
    padding: 10px 40px;
    margin: 0 3%;}
.cookie_banner.active {
    visibility: visible;
}

.rgpd_actions{
    float: right;
    height: fit-content;
}

.close_rgpd_box {
    color: #fff;
    background: none;
    border: 0;
    position: absolute;
    right: 7px;
    top: 7px;
}

#rgpd_modal .rgpd-modal-text {
    color: var(--primary-color) !important;
}

#rgpd_modal .modal-body {
    font-size: 13px;
}
#rgpd_modal .modal-footer {
    border-top: 0;
}
#rgpd_modal .modal-header {
    padding: 2rem;
    justify-content: space-between;
    color: var(--primary-color) !important;
}
@media (min-width: 992px) {
    #rgpd_modal .modal-header {
        padding: 1rem;}
}
#rgpd_modal .modal-body {
    padding: 2rem;
}
@media (min-width: 992px) {
    #rgpd_modal .modal-body {
        padding: 1rem;
    }
}
#rgpd_modal .modal-body {
    font-size: 13px;
    padding: 2rem;
}
@media (min-width: 992px) {
    #rgpd_modal .modal-body {
        padding: 1rem;
    }
}
#rgpd_modal .modal-footer {
    border-top: 0;
    padding: 2rem;
}
@media (min-width: 992px) {
    #rgpd_modal .modal-footer {
        padding: 1rem 1rem 2rem 1rem;
    }
}
#rgpd_modal .modal-footer .row {
    margin-left: -15px;
    margin-right: -15px;
}
#rgpd_modal .close-button {
    transition: 400ms;
    cursor: pointer;
    margin-top: 5px;
}
@media (min-width: 767px) {
    #rgpd_modal .close-button {
        top: 20px;
        right: 15px;
    }
}
#rgpd_modal .close-button:hover {
    transform: rotate(180deg);
}

.rgpd_items .icon_item {
    font-size: 25px;
    flex-basis: 20%;
    text-align: center;
    color: var(--primary-color) !important;
}
.rgpd_items .description_item {
    padding: 0 15px;
    flex-basis: 60%;
    color: var(--primary-color) !important;
}
.rgpd_items .checkbox_item {
    flex-basis: 20%;
}
.rgpd_items .disabled .icon_item {
    color: var(--secondary-color) !important;
}
.rgpd_items .disabled .description_item {
    color: var(--secondary-color) !important;
}

.cookie_banner .btn-dark:hover, .modal .btn-dark:hover{
    background: #fff;
    color: var(--primary-color) !important;
}

.modal-footer a {
    color: var(--primary-color) !important;
    font-size: 14px;
}

/* =========== checkbox =========== */

/* The text--semi-bold - the box around the custom-radio__circle */
.text--semi-bold {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 20px;
}

/* Hide default HTML checkbox */
.text--semi-bold input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The custom-radio__circle */
.custom-radio__circle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--unchecked-button-color) !important;
    -webkit-transition: .4s;
    transition: .4s;
}

.custom-radio__circle:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 0;
    bottom: -3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border: solid 1px var(--unchecked-button-before-color) !important;
}

input:checked + .custom-radio__circle {
    background-color: var(--checked-button-color) !important;
    opacity: 0.6;
}

input:focus + .custom-radio__circle {
    box-shadow: 0 0 1px var(--unchecked-button-before-color) !important;
}

input:checked + .custom-radio__circle:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(29px);
    border: solid 1px #212529;
}

/* Rounded custom-radio__circles */
.custom-radio__circle.d-block {
    border-radius: 34px;
}

.custom-radio__circle.d-block:before {
    border-radius: 50%;
}

/*=========== Disabled checkbox ===========*/
.custom-radio input[type=checkbox]:checked:disabled+.custom-radio__circle.d-block {
    background: var(--disabled-button-color) !important;}
.custom-radio input[type=checkbox]:checked:disabled+.custom-radio__circle.d-block:before {
    border: 1px solid #e0e0e0;
}