.ccnt2-tswitch .switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
    top: 1px;
}

/* Hide default HTML checkbox */
.ccnt2-tswitch .switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: relative;
    bottom: 5px;
}

/* The slider */
.ccnt2-tswitch .slider {
    position: absolute;
    cursor: pointer;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 34px;
}

.ccnt2-tswitch .slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 2.5px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

.ccnt2-tswitch input:checked + .slider {
  background-color: var(--primary-color);
}

.ccnt2-tswitch input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

.ccnt2-tswitch input:checked + .slider:before {
  -webkit-transform: translateX(12.5px);
  -ms-transform:     translateX(12.5px);
  transform:         translateX(12.5px);
}

