
/* toggle-pill-color */
.toggle-pill-color input[type="checkbox"] {
  position:fixed;
  display: none;
  right: 0px;
  height: auto;
}

.toggle-pill-color input[type="checkbox"] + label {
  display: block;
  position: relative;
  width: 4em;
  height: 2.3em;
  /* margin-bottom: 20px; */
  border-radius: 2em;
  background: #0c0808;
  background-color: #ebebeb;
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-transition: background 0.1s ease-in-out;
  transition: background 0.1s ease-in-out;
}
.toggle-pill-color input[type="checkbox"] + label:before {
  content: "";
  display: block;
  width: 1.8em;
  height: 1.8em;
  border-radius: 1em;
  background: #fff;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 0.2em;
  top: 0.2em;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.toggle-pill-color input[type="checkbox"]:checked + label {
  background: #ebebeb;
  background-color: #8ee180;
}
.toggle-pill-color input[type="checkbox"]:checked + label:before {
  box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
  left: 2em;
}
/* toggle-pill-color end */


.right{
  right: 10px;
}

.bottom{
  bottom: 10px;
}


input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 1px solid black;
  border-radius: 5px;
}

input[type="checkbox"]:checked {
  background-color: black;

}

input[type="checkbox"]:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  margin: 2px;
  background-color: white;
  transform: scale(0);
  transition: transform 200ms ease-in-out;
}

input[type="checkbox"]:checked:after {
  transform: scale(1);
}