/* The switch - the box around the slider */
.switch {
    position: relative;
    /* display: inline-block; */
    width: 60px;
    height: 34px;
    float: left;
    margin: 1em;
    cursor: pointer;
    
    background-color: #661ed1;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

/* Hide default HTML checkbox */
input {
    opacity: 0;
    width: 0;
    height: 0;
}


.switch:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .switch {
background-color: #f3214b;
}

input:focus + .switch {
box-shadow: 0 0 1px #f3214b;
}

input:checked + .switch:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}


input:checked ~ a .diagram.dbcc {
    display: none;
}

input:not(:checked) ~ a .diagram.denc {
    display: none;
}