/*
 *
 * Main stylesheet for Switchery.
 * http://abpetkov.github.io/switchery/
 *
 */

/* Switchery defaults. */

.switchery {
  background-color: #fff;
  border: 1px solid #bbb;
  border-radius: 20px;
  cursor: pointer;
  display: inline-block;
  height: 30px;
  position: relative;
  vertical-align: middle;
  width: 50px;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  box-sizing: content-box;
  background-clip: content-box;
}
.switchery > small {
  background: #fff;
  border-radius: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  height: 30px;
  position: absolute;
  top: 0;
  width: 30px;
}
/* Switchery sizes. */
.switchery-small {
  border-radius: 20px;
  height: 20px;
  width: 33px;
}
.switchery-small > small {
  height: 20px;
  width: 20px;
}
.switchery-large {
  border-radius: 40px;
  height: 40px;
  width: 66px;
}
.switchery-large > small {
  height: 40px;
  width: 40px;
}
.switchery-on {	
	left: 13px;
  background-color:var(--btn-primary-color) !important;
  transition: background-color 0.4s, left 0.2s;
}
.switchery-off {
  left: 0;
  transition: background-color 0.4s, left 0.2s;
}
.switchery-off_background {
	background-color: rgb(255, 255, 255);
  border-color: rgb(223, 223, 223);
  box-shadow: rgb(223, 223, 223) 0 0 0 0 inset;
  transition: border 0.4s, box-shadow 0.4s;
}
.switchery-on_background {
  background-color: #aec9f5!important;
  transition: border 0.4s, box-shadow 0.4s, background-color 1.2s;
}
.ios-switch-label input[type="checkbox"]:focus + .switchery {
  -webkit-box-shadow: 0 0 0 0.05rem rgba(0, 123, 255, 0.25);
  -moz-box-shadow: 0 0 0 0.05rem rgba(0, 123, 255, 0.25);
  box-shadow: 0 0 0 0.05rem rgba(0, 123, 255, 0.25);
  border: 1px solid #80bdff;
}