.rt-switch-field, .rt-switch-disabled {
  position: relative;
  display: block;
  height: 2.4rem;
  margin-bottom: 1.5rem;
  white-space: nowrap;
  vertical-align: middle; }

.rt-switch-text {
  display: inline-block;
  padding-left: 1rem;
  font-size: 1.4rem;
  line-height: 2.4rem;
  color: black;
  white-space: nowrap;
  vertical-align: top; }

.rt-switch-on, .rt-switch-off {
  position: relative;
  display: inline-block;
  width: 3.6rem;
  height: 1.4rem;
  margin-top: 0.5rem;
  vertical-align: top;
  cursor: pointer;
  border-radius: 1.4rem; }

.rt-switch-thumb {
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition-duration: 0.28s;
  transition-duration: 0.28s;
  position: absolute;
  top: -0.3rem;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  border-radius: 50%;
  -webkit-transition-property: left;
  transition-property: left; }

.rt-switch-ripple {
  background-color: #3f51b5;
  opacity: .3;
  -webkit-transition-duration: 650ms;
  transition-duration: 650ms; }

.rt-switch-on {
  background: rgba(63, 81, 181, 0.5); }
  .rt-switch-on .rt-switch-thumb {
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 3px 3px -2px rgba(0, 0, 0, 0.2), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
    left: 1.6rem;
    background: #3f51b5; }

.rt-switch-off {
  background: rgba(0, 0, 0, 0.26); }
  .rt-switch-off .rt-switch-thumb {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    left: 0;
    background: #fafafa; }
  .rt-switch-off .rt-switch-ripple {
    background: rgba(0, 0, 0, 0.4); }

.rt-switch-input:focus:not(:active) + .rt-switch-switch-on > .rt-switch-thumb:before, .rt-switch-input:focus:not(:active) + .rt-switch-switch-off > .rt-switch-thumb:before {
  position: absolute;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  content: "";
  background-color: transparent;
  border-radius: 50%;
  -webkit-transform: translate(-0.4rem, -0.4rem);
  transform: translate(-0.4rem, -0.4rem); }

.rt-switch-input {
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0; }
  .rt-switch-input:focus:not(:active) + .rt-switch-switch-on > .rt-switch-thumb:before {
    background-color: rgba(63, 81, 181, 0.26);
    box-shadow: 0 0 0 2rem rgba(63, 81, 181, 0.26); }
  .rt-switch-input:focus:not(:active) + .rt-switch-switch-off > .rt-switch-thumb:before {
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 0 2rem rgba(0, 0, 0, 0.1); }

.rt-switch-disabled .rt-switch-text {
  color: rgba(0, 0, 0, 0.26); }

.rt-switch-disabled .rt-switch-on, .rt-switch-disabled .rt-switch-off {
  cursor: auto;
  background: rgba(0, 0, 0, 0.12); }

.rt-switch-disabled .rt-switch-thumb {
  cursor: auto;
  background-color: #bdbdbd;
  border-color: transparent; }
