.toggle,
.toggler {
    display: inline-block;
    vertical-align: middle;
    margin: 2px;
}

.toggler {
    color: slategray;
    transition: .2s;
}

.toggler--is-noactive {
    background: url(../../../assets/images/off.png);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-size: 100%;
    background-repeat: no-repeat;
    width: 40px;
    height:25px;

}

.toggler--is-active {
    color: black;
    background: url(../../../assets/images/on.png);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-size: 100%;
    background-repeat: no-repeat;
    width: 40px;
    height: 25px;

}

.b {
    display: block;
}

.toggle {
     width: 45px;
    height: 25px;
    border-radius: 100px;
    background-color: #ccc;
    overflow: hidden;
    box-shadow: inset 0 0 2px 1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.cc {
    width: 45px;
    height: 25px;
    border-radius: 100px;
    background-color: #2ecc71;
    overflow: hidden;
    box-shadow: inset 0 0 2px 1px rgba(0, 0, 0, 0.05);
}

.check {
    position: absolute;
    display: block;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 6;
}

.check:checked~.switch {
    right: 2px;
    left: 37.5%;
    transition: 0.25s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition-property: left, right;
    transition-delay: .08s, 0s;
}

.switch {
    position: absolute;
    left: 2px;
    top: 2px;
    bottom: 2px;
    right: 37.5%;
    background-color: #fff;
    border-radius: 36px;
    z-index: 1;
    transition: 0.25s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition-property: left, right;
    transition-delay: 0s, .08s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}  

