:root {
    --ua-blue: #005bbb;
    --ua-yellow: #f9dd17;
}
/* The switch - the box around the slider */
#cookies-modal .switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

#cookies-modal .switch-label {
    margin-left: 5px;
}
/* Hide default HTML checkbox */
#cookies-modal .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
#cookies-modal .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

#cookies-modal .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

#cookies-modal input:checked + .slider {
    background-color: var(--ua-blue);
}

#cookies-modal input:focus + .slider {
    box-shadow: 0 0 1px var(--ua-blue);
}

#cookies-modal input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
#cookies-modal .slider.round {
    border-radius: 16px;
}

#cookies-modal .slider.round:before {
    border-radius: 50%;
}