.toggle-switch {
  position: relative;
  height: 50px;
  background: rgba(213, 213, 213, 0.25);
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.3); }

.toggle-switch.toggle-shadow-inset1 {
  border: 0px;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1); }

.toggle-switch .switch-label {
  position: relative;
  float: left;
  line-height: 26px;
  font-size: 18px;
  text-align: center;
  color: rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  /*color:rgba(255, 255, 255, 0.35); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);*/
  padding: 10px 0;
  margin: auto;
  cursor: pointer;
  z-index: 2; }

.toggle-switch .switch-label:active {
  font-weight: 600; }

.toggle-switch .switch-label-off {
  padding-left: 0px; }

.toggle-switch .switch-label-on {
  padding-right: 0px; }

.toggle-switch .switch-input {
  display: none; }

.toggle-switch .switch-input:checked + .switch-label {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
  text-shadow: 0 1px rgba(255, 255, 255, 0.25);
  -webkit-transition: 0.15s ease-out;
  -moz-transition: 0.15s ease-out;
  -ms-transition: 0.15s ease-out;
  -o-transition: 0.15s ease-out;
  transition: 0.15s ease-out;
  -webkit-transition-property: color, text-shadow;
  -moz-transition-property: color, text-shadow;
  -ms-transition-property: color, text-shadow;
  -o-transition-property: color, text-shadow;
  transition-property: color, text-shadow; }

.toggle-switch .switch-input:checked + .switch-label-on ~ .switch-selection {
  left: 60px; }

.toggle-switch .switch-selection {
  display: block;
  position: absolute;
  height: 100%;
  top: 0px;
  left: 0px;
  border-radius: 3px;
  background-color: #65bd63;
  z-index: 1;
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.5), 0 0 2px rgba(0, 0, 0, 0.2);
  -webkit-transition: left 0.15s ease-out;
  -moz-transition: left 0.15s ease-out;
  -ms-transition: left 0.15s ease-out;
  -o-transition: left 0.15s ease-out;
  transition: left 0.15s ease-out; }

.toggle-switch.toggle-shadow-inset1 .switch-selection {
  height: 91%;
  top: 2px;
  left: 2px; }

.toggle-switch.switch-blue .switch-selection {
  background-color: #75BAE5; }

.toggle-switch.switch-blue .switch-input:checked + .switch-label {
  /*color:white !important;*/ }

.toggle-switch.switch-white .switch-selection {
  background-color: #ffffff; }

.toggle-switch.switch-yellow .switch-selection {
  background-color: #c4bb61; }

.toggle-switch.switch-green .switch-selection {
  background-color: #A1ECD8; }

.toggle-switch.width-200px {
  width: 200px; }

.toggle-switch.width-200px .switch-label, .toggle-switch.width-200px .switch-selection {
  width: 100px; }

.toggle-switch.toggle-shadow-inset1.width-200px .switch-label, .toggle-switch.toggle-shadow-inset1.width-200px .switch-selection {
  width: 98px; }

.toggle-switch.width-200px .switch-input:checked + .switch-label-on ~ .switch-selection {
  left: 100px; }

.toggle-switch.width-300px {
  width: 300px; }

.toggle-switch.width-300px .switch-label, .toggle-switch.width-300px .switch-selection {
  width: 150px; }

.toggle-switch.toggle-shadow-inset1.width-300px .switch-label, .toggle-switch.toggle-shadow-inset1.width-300px .switch-selection {
  width: 148px; }

.toggle-switch.width-300px .switch-input:checked + .switch-label-on ~ .switch-selection {
  left: 150px; }

.toggle-switch.width-500px {
  width: 500px; }

.toggle-switch.width-500px .switch-label, .toggle-switch.width-500px .switch-selection {
  width: 250px; }

.toggle-switch.toggle-shadow-inset1.width-500px .switch-label, .toggle-switch.toggle-shadow-inset1.width-500px .switch-selection {
  width: 248px; }

.toggle-switch.width-500px .switch-input:checked + .switch-label-on ~ .switch-selection {
  left: 250px; }

.toggle-switch.height-50px {
  height: 48px; }

.toggle-switch.height-50px .switch-label {
  padding: 10px 0;
  line-height: 26px; }

.toggle-switch.height-35px {
  height: 35px; }

.toggle-switch.height-35px .switch-label {
  padding: 7px 0;
  line-height: 20px; }

.GVui_toggleswitch {
  --switch_width: 70px;
  --switch_height: 34px;
  --pearl-px: calc(var(--switch_height) - 8px);
  --pearl_margin-px: 0.49em;
  --active_bg-color: #2196F3;
  font-size: calc(var(--switch_height) / 1.8);
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: var(--switch_width);
  height: var(--switch_height); }
  .GVui_toggleswitch[data-maxval="2"] {
    --switch_width: 75px; }
  .GVui_toggleswitch input {
    opacity: 0;
    width: 0;
    height: 0; }
  .GVui_toggleswitch .slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    cursor: pointer;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    background-color: #ccc; }
    .GVui_toggleswitch .slider .ts-txt {
      margin-top: 0.195em;
      font-weight: 500; }
      .GVui_toggleswitch .slider .ts-txt.on {
        display: none;
        margin-left: var(--pearl_margin-px); }
      .GVui_toggleswitch .slider .ts-txt.off {
        float: right;
        margin-right: var(--pearl_margin-px); }
    .GVui_toggleswitch .slider:before {
      position: absolute;
      content: "";
      left: 4px;
      bottom: 4px;
      height: var(--pearl-px);
      width: var(--pearl-px);
      background-color: white;
      -webkit-transition: 0.4s;
      transition: 0.4s; }
  .GVui_toggleswitch input[value="1"] + .slider:before, .GVui_toggleswitch input[value="2"] + .slider:before {
    -webkit-transform: translateX(var(--translate));
    -ms-transform: translateX(var(--translate));
    transform: translateX(var(--translate)); }
.GVui_toggleswitch[data-maxval="1"] input[value="1"] + .slider {
  --translate: calc((var(--switch_width) - var(--pearl-px) - 8px));
  background-color: var(--active_bg-color);
  color: white; }
  .GVui_toggleswitch[data-maxval="1"] input[value="1"] + .slider .ts-txt.on {
    display: block; }
  .GVui_toggleswitch[data-maxval="1"] input[value="1"] + .slider .ts-txt.off {
    display: none; }
.GVui_toggleswitch[data-maxval="2"] input[value="1"] + .slider {
  --translate: calc((var(--switch_width) - var(--pearl-px) - 8px) / 2);
  background-color: var(--active_bg-color);
  color: white; }
.GVui_toggleswitch[data-maxval="2"] input[value="2"] + .slider {
  --translate: calc((var(--switch_width) - var(--pearl-px) - 8px));
  background-color: var(--active_bg-color);
  color: white; }
.GVui_toggleswitch input:focus + .slider {
  box-shadow: 0 0 1px var(--active_bg-color); }
.GVui_toggleswitch .slider.round {
  --pearl_margin-px: 0.53em;
  border-radius: var(--switch_height); }
  .GVui_toggleswitch .slider.round:before {
    border-radius: 50%; }
