.custom-switch-wrapper {
    border: 1px solid var(--primary);
    box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
    padding: 6px 10px 0 10px;
    border-radius: 6px;
}
.custom-switch-wrapper .custom-switch{

}
.custom-switch-wrapper label {
    display: inline-block;
    position: relative;
    bottom: 15px;
    margin-right: 10px;
    margin-bottom: 0;
    color: var(--primary);
    font-size: 16px !important;
}
.custom-switch-wrapper label span {
    display: inline-block;
    margin-right: 5px;
}
.custom-switch-wrapper:hover label span {
    color: #e99e00;
}
.custom-switch.toggle-button-cover
{
    display: inline-block;
    position: relative;
    width: 74px;
    height: 40px;
    box-sizing: border-box;
}

.custom-switch .button-cover
{
    height: 44px;
    /*margin: 20px;*/
    background-color: #fff;
    /*box-shadow: 0 10px 20px -8px #c5d6d6;*/
    border-radius: 4px;
}

/*.custom-switch .button-cover:before
{
    counter-increment: button-counter;
    content: counter(button-counter);
    position: absolute;
    right: 0;
    bottom: 0;
    color: #d7e3e3;
    font-size: 12px;
    line-height: 1;
    padding: 5px;
}*/

.custom-switch .button-cover,
.custom-switch .knobs,
.custom-switch .layer
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.custom-switch .button
{
    position: relative;
    top: 50%;
    width: 74px;
    height: 36px;
    margin: -20px auto 0 auto;
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.custom-switch .button.r,
.custom-switch .button.r .layer
{
    border-radius: 100px;
}

.custom-switch .button.b2
{
    border-radius: 2px;
}

.custom-switch .checkbox
{
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.custom-switch .knobs
{
    z-index: 2;
}

.custom-switch .layer
{
    width: 100%;
    background-color: #ebf7fc;
    transition: 0.3s ease all;
    z-index: 1;
}



/* Button 3 */
.custom-switch .custom-checkbox-btn .knobs:before
{
    content: 'YES';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 9px 4px;
    background-color: #03A9F4;
    border-radius: 50%;
    transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
}

.custom-switch .custom-checkbox-btn .checkbox:active + .knobs:before
{
    width: 46px;
    border-radius: 100px;
}

.custom-switch .custom-checkbox-btn .checkbox:checked:active + .knobs:before
{
    margin-left: -26px;
}

.custom-switch .custom-checkbox-btn .checkbox:checked + .knobs:before
{
    content: 'NO';
    left: 42px;
    background-color: #F44336;
}

.custom-switch .custom-checkbox-btn .checkbox:checked ~ .layer
{
    background-color: #fcebeb;
}
