@charset "utf-8";
/* switch */
.custom-control.custom-switch.switch-md {
  padding-left: calc(calc(calc(1.9375rem * .92) * 2) + 2px);
}
.custom-switch.switch-md input {
  position: absolute;
  height: 1px;
  width: 1px;
  background: none;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  padding: 0;
}
.custom-switch.switch-md input + label {
  display: inline-block;
}
.custom-switch.switch-md input + .custom-control-label {
  min-width: calc(calc(1.9375rem * .92) * 2);
  height: calc(1.9375rem * .8);
  line-height: calc(1.9375rem * .8);
  /*text-indent: calc(calc(calc(0.5rem * .8) * 2) + .5rem);*/
}
.custom-switch.switch-md input + .custom-control-label::before {
  top: 0px;
  left: calc(calc(calc(-1.9375rem * .92) * 2) - 2px);
  width: calc(calc(1.9375rem * .8) * 2);
  height: calc(1.9375rem * .8);
  border-radius: 1.9rem;
}
.custom-switch.switch-md input + .custom-control-label::after {
  top: 2px;
  left: calc(calc(-1.9375rem * .92) * 2);
  width: calc(calc(1.9375rem * .8) - calc(2px * 2));
  height: calc(calc(1.9375rem * .8) - calc(2px * 2));
  border-radius: 50%;
}
.custom-switch.switch-md .custom-control-input:checked ~ .custom-control-label::after {
  -webkit-transform: translateX(1.58rem);
  transform: translateX(1.58rem);
}

.custom-control.custom-control-inline.custom-switch {
  justify-content: flex-start;
  /*padding-left: 0;*/
}
.custom-control.custom-control-inline.custom-switch > .custom-control-label {
  /*padding-left: calc(calc(1.9375rem * .9) * 2);*/
  /*width: calc(100% - calc(calc(1.9375rem * .9) * 2));*/
}
.sw-primary.custom-control-input ~ .custom-control-label::before {
    border-color: #007bff;
}
.sw-secondary.custom-control-input ~ .custom-control-label::before {
    border-color: #6c757d;
}
.sw-success.custom-control-input ~ .custom-control-label::before {
    border-color: #28a745;
}
.sw-info.custom-control-input ~ .custom-control-label::before {
    border-color: #17a2b8;
}
.sw-warning.custom-control-input ~ .custom-control-label::before {
    border-color: #ffc107;
}
.sw-danger.custom-control-input ~ .custom-control-label::before {
    border-color: #dc3545;
}

.sw-primary.custom-control-input:checked~.custom-control-label::before {

}
.sw-secondary.custom-control-input:checked~.custom-control-label::before {
    background-color: #6c757d;
}
.sw-success.custom-control-input:checked~.custom-control-label::before {
    background-color: #28a745;
}
.sw-info.custom-control-input:checked~.custom-control-label::before {
    background-color: #17a2b8;
}
.sw-warning.custom-control-input:checked~.custom-control-label::before {
    background-color: #ffc107;
}
.sw-danger.custom-control-input:checked~.custom-control-label::before {
    background-color: #dc3545;
}


