/* The switch - the box around the slider */
.settings-toggle-switch {
    position: relative;
    display: inline-block;
    /*width: 30px;*/
    /*height: 17px;*/
    width: 44px;
    height: 24px;

}

/* Hide default HTML checkbox */
.settings-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.settings-toggle-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(120, 120, 128, 0.16);
    -webkit-transition: .4s;
    transition: .4s;
}

.settings-toggle-switch-slider:before {
    position: absolute;
    content: "";
    /*height: 15px;*/
    /*width: 15px;*/
    height: 24px;
    width: 24px;
    left: 1px;
    bottom: 1px;
    background-color: #ffffff;
    -webkit-transition: .4s;
    transition: .4s;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.08), 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 4px 12px rgba(0, 0, 0, 0.16);
}

input:checked+.settings-toggle-switch-slider {
    /*background-color: #34C759;*/
    background-color: #35D1D1;
}

/* input:focus+.settings-toggle-switch-slider {
    box-shadow: 0 0 1px #34C759;
} */

input:checked+.settings-toggle-switch-slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* Rounded settings-toggle-switch-sliders */
.settings-toggle-switch-slider.settings-toggle-switch-round {
    border-radius: 34px;
}

.settings-toggle-switch-slider.settings-toggle-switch-round:before {
    border-radius: 50%;
}


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

.card-type-button {
    position: relative;
    top: 50%;
    width: 96px;
    height: 24px;
    overflow: hidden;
}

.card-type-button.r,
.card-type-button.r .layer {
    border-radius: 100px;
}

.card-type-button.b2 {
    border-radius: 2px;
}

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

.knobs {
    z-index: 2;
}

.layer {
    width: 100%;
    background-color: #fff;
    transition: 0.3s ease all;
    z-index: 1;
    border: 1px solid #999999;
    border-radius: 5px;
}

/* card-type-switch */

#card-type-switch .knobs:before,
#card-type-switch .knobs:after,
#card-type-switch .knobs span {
    position: absolute;

    width: 48px;
    height: 24px;


    font-size: 14px;
    line-height: 18px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    border-radius: 5px;
    transition: 0.3s ease all;
}

#card-type-switch .knobs:before {
    content: "";
    left: 0px;
    background-color: #00B5E2;
}

#card-type-switch .knobs:after {
    content: "후불";
    right: 0px;
    color: #4e4e4e;
}

#card-type-switch .knobs span {
    display: inline-block;
    left: 0px;
    color: #fff;
    z-index: 1;
}

#card-type-switch .checkbox:checked+.knobs span {
    color: #4e4e4e;
}

#card-type-switch .checkbox:checked+.knobs:before {
    left: 48px;
    background-color: #00B5E2;
}

#card-type-switch .checkbox:checked+.knobs:after {
    color: #fff;
}

#card-type-switch .checkbox:checked~.layer {
    background-color: #fff;
}
