.switch--vertical {
  height: 35px;
  margin-top: 5px;
  margin-right: 0;
}
@media (min-width: 768px) {
  .switch--vertical {
    height: 40px;
    margin-right: 10px;
    margin-top: 20px;
  }
}
/* main styles */
.switch {
  position: relative;
}
.switch input {
  position: absolute;
  top: 0;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}
.switch input:checked {
  z-index: 1;
}
.switch input:checked + label {
  opacity: 1;
  color: rgba(1,190,98,0.7);
  cursor: default;
}
.switch input:not(:checked) + label:hover {
  opacity: 0.7;
}
.switch label {
  color: #86827e;
  opacity: 0.5;
  transition: opacity 0.25s ease;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
.switch .toggle-outside {
  height: 100%;
  border-radius: 1rem;
  padding: 0.2rem;
  overflow: hidden;
  transition: 0.25s ease all;
}
.switch .toggle-inside {
  border-radius: 2rem;
  position: absolute;
  transition: 0.25s ease all;
}
.switch input {
  height: 50%;
  width: 1rem;
  left: 0;
  margin: 0;
}
.switch label {
  display: block;
  height: 50%;
  margin: 0 0 0 15px;
  padding: 0 5px;
  text-align: left;
}
.switch .toggle-outside {
  background: rgba(134,130,126,0.2);
  position: absolute;
  width: 17px;
  height: 100%;
  left: 0;
  top: 0;
}
.switch .toggle-inside {
/*background color rgba(1, 190, 98, 0.7)*/
  height: 15px;
  width: 15px;
  left: 1px;
  top: 0;
}
.switch input:checked ~ .toggle-outside .toggle-inside {
  top: 1px;
  background: rgba(1,190,98,0.5);
/*background rgba(0,0,0,.2)*/
}
.switch input ~ input:checked ~ .toggle-outside .toggle-inside {
  top: 20px;
}
@media (min-width: 768px) {
  .switch input ~ input:checked ~ .toggle-outside .toggle-inside {
    top: 23px;
  }
}

