
.bs-switch, .bs-switch-xs, .bs-switch-sm, .bs-switch-md, .bs-switch-lg {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.bs-switch-xs {
	width: 20px;
	height: 12px;
}

.bs-switch-sm {
	width: 40px;
	height: 22px;
}

.bs-switch-lg {
	width: 80px;
	height: 44px;
}

.bs-switch input,
.bs-switch-xs input,
.bs-switch-sm input,
.bs-switch-md input,
.bs-switch-lg input {
	display: none;
 }
 
.bs-switch input:checked + .slider,
.bs-switch-xs input:checked + .slider,
.bs-switch-sm input:checked + .slider,
.bs-switch-md input:checked + .slider,
.bs-switch-lg input:checked + .slider {
	background-color: #2196F3;
}

.bs-switch input:checked + .slider:before,
.bs-switch-xs input:checked + .slider:before,
.bs-switch-sm input:checked + .slider:before,
.bs-switch-md input:checked + .slider:before,
.bs-switch-lg input:checked + .slider:before {
	-webkit-transform: translateX(100%);
	-ms-transform: translateX(100%);
	transform: translateX(100%);
}

.bs-switch input:focus + .slider,
.bs-switch-xs input:focus + .slider,
.bs-switch-sm input:focus + .slider,
.bs-switch-md input:focus + .slider,
.bs-switch-lg input:focus + .slider {
	-webkit-box-shadow: 0 0 1px #2196F3;
	box-shadow: 0 0 1px #2196F3;
}

.bs-switch .slider,
.bs-switch-xs .slider,
.bs-switch-sm .slider,
.bs-switch-md .slider,
.bs-switch-lg .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	-o-transition: .4s;
	transition: .4s;
}

.bs-switch .slider:before,
.bs-switch-xs .slider:before,
.bs-switch-sm .slider:before,
.bs-switch-md .slider:before,
.bs-switch-lg .slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	-o-transition: .4s;
	transition: .4s;
}


.bs-switch-xs .slider:before {
	height: 8px;
	width: 8px;
	left: 2px;
	bottom: 2px;
}
.bs-switch-sm .slider:before {
	height: 18px;
	width: 18px;
	left: 2px;
	bottom: 2px;
}
.bs-switch-lg .slider:before {
	height: 36px;
	width: 36px;
	left: 4px;
	bottom: 4px;
}


.bs-switch .slider.round,
.bs-switch-md .slider.round {
	-webkit-border-radius: 34px;
	border-radius: 34px;
}
.bs-switch-xs .slider.round {
	-webkit-border-radius: 34px;
	border-radius: 34px;
}
.bs-switch-sm .slider.round {
	-webkit-border-radius: 34px;
	border-radius: 34px;
}
.bs-switch-lg .slider.round {
	-webkit-border-radius: 34px;
	border-radius: 34px;
}

.bs-switch .slider.round:before,
.bs-switch-xs .slider.round:before,
.bs-switch-sm .slider.round:before,
.bs-switch-md .slider.round:before,
.bs-switch-lg .slider.round:before {
	-webkit-border-radius: 50%;
	border-radius: 50%;
}


th > .bs-switch:last-child,
td > .bs-switch:last-child,
th > .bs-switch-xs:last-child,
td > .bs-switch-xs:last-child,
th > .bs-switch-sm:last-child,
td > .bs-switch-sm:last-child,
th > .bs-switch-md:last-child,
td > .bs-switch-md:last-child,
th > .bs-switch-lg:last-child,
td > .bs-switch-lg:last-child {
	margin-bottom: 0;
}