/* ==================================================================== */
/* CHECKBOX TYPE 8 ---------------------------------------------------- */
/* ==================================================================== */

.btnToggle-pLabel:hover {
  cursor: pointer;
}

.btnToggle-checkbox {
  display: none;
}

[class^="btnToggle-checkbox"] + label {
  background-color: #FFF;
  padding: 9px;
  border-radius: 50px;
  display: inline-block;
  position: relative;
  margin-right: 15px;
  /* width: 58px;
  height: 33px; */
  width: 41px;
  height: 21px;
  cursor: pointer;
}

[class^="btnToggle-checkbox"] + label:after {
  content: ' ';
  position: absolute;
  background: #E6332C;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

[class^="btnToggle-checkbox"] + label:before {
  content: ' ';
  position: absolute;
  background: white;
  top: 1px;
  left: 2px;
  z-index: 1;
  width: 19px;
  height: 19px;
  border-radius: 100px;
  box-shadow: 0 0 2px rgba(0,0,0,0.5), inset 0 -18px 15px -10px rgba(0,0,0,0.05);
}


[class^="btnToggle-checkbox"] + label:active {
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

[class^="btnToggle-checkbox"]:checked + label:before {
  content: ' ';
  position: absolute;
  left: 20px;
  border-radius: 100px;
}

/* .btnToggle-checkbox + label {
  overflow: hidden;
} */

[class^="btnToggle-checkbox"]:checked + label:after {
  content: ' ';
  font-size: 1.5em;
  position: absolute;
  background: #63C99C;
}

.btnToggle-checkbox + label:after, .btnToggle-checkbox + label:before, .btnToggle-checkbox label{
  -webkit-transition: all 0.1s ease-in;
  transition: all 0.1s ease-in;
}
