/* The switch - the box around the slider */
.pfw-switch {
    position: relative;
    display: inline-block;
    max-width: 100%;
    height: 30px;
    margin-bottom: 0px;
}

/* Hide default HTML checkbox */
.pfw-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.pfw-slider {
    position: absolute;
    cursor: pointer;
    top: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    width: 45px;
    height: 26px;
}
.pfw-slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .pfw-slider {
    background-color: #2196F3;
}
input:disabled + .pfw-slider {
    cursor: not-allowed;
}
input:checked:disabled + .pfw-slider {
    background-color: #9bc5e6;
}

input:focus + .pfw-slider {
    border-color: rgba(82,168,236,.8);
    -webkit-box-shadow: 0 0 8px rgba(82,168,236,.6);
    box-shadow: 0 0 8px rgba(82,168,236,.6);
}

input:checked + .pfw-slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}
.pfw-switch-label {
    position: absolute;
    top: 8px;
    left: 54px;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* Rounded sliders */
.pfw-slider.pfw-round {
    border-radius: 18px;
}

.pfw-slider.pfw-round:before {
    border-radius: 50%;
}