//@import "../../../abstracts/abstracts";

/*! ========================================================================
 * Bootstrap Toggle: bootstrap-toggle.css v2.2.0
 * http://www.bootstraptoggle.com
 * ========================================================================
 * Copyright 2014 Min Hur, The New York Times Company
 * Licensed under MIT
 * ======================================================================== */

.checkbox {
	label {
		.toggle {
			margin-left: -20px;
			margin-right: 5px;
		}
	}
}
.checkbox-inline {
	.toggle {
		margin-left: -20px;
		margin-right: 5px;
	}
	padding: 0 10px 0 19px;
	border: 0 !important;
	&:hover {
		background: #e5e7ec !important;
		border-color: #e5e7ec !important;
	}
}
.toggle {
	position: relative;
	overflow: hidden;
	input[type="checkbox"] {
		display: none;
	}
}
.toggle-group {
	position: absolute;
	width: 200%;
	top: 0;
	bottom: 0;
	left: 0;
	-moz-user-select: none;
	-webkit-user-select: none;
	span.toggle-handle {
		border-radius: 0 !important;
		background: #0054f0 !important;
		border: 0;
	}
	.btn-primary {
		background: $color-primary !important;
		border-color: $color-primary !important;
	}
	label.btn-default {
		background: #ffffff !important;
		color: #ffffff !important;
		box-shadow: none;
		&:hover {
			background: red;
			color: #000000;
		}
	}
}
.toggle.off {
	.toggle-group {
		left: -100%;
	}
}
.toggle-on {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 50%;
	margin: 0;
	border: 0;
	border-radius: 0;
}
.toggle-off {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	right: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
}
.toggle-handle {
	position: relative;
	margin: 0 auto;
	padding-top: 0;
	padding-bottom: 0;
	height: 100%;
	width: 0;
	border-width: 0 1px;
}
.toggle.btn {
	min-width: 59px;
	height: 30px !important;
	min-height: 30px !important;
	float: left;
	font-size: 12px;
	font-weight: 600;
	margin-right: 10px;
	background: #ffffff !important;
	border: 2px solid #e5e7ec !important;
	border-radius: 3px;
}
.toggle-on.btn {
	padding-right: 24px;
	padding: 7px 15px 8px 7px !important;
}
.toggle-off.btn {
	padding-left: 24px;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 5px 8px 10px !important;
}
.toggle.btn-lg {
	min-width: 79px;
	min-height: 45px;
}
.toggle-on.btn-lg {
	padding-right: 31px;
}
.toggle-off.btn-lg {
	padding-left: 31px;
}
.toggle-handle.btn-lg {
	width: 40px;
}
.toggle.btn-sm {
	min-width: 50px;
	min-height: 30px;
}
.toggle-on.btn-sm {
	padding-right: 20px;
}
.toggle-off.btn-sm {
	padding-left: 20px;
}
.toggle.btn-xs {
	min-width: 35px;
	min-height: 22px;
}
.toggle-on.btn-xs {
	padding-right: 12px;
}
.toggle-off.btn-xs {
	padding-left: 12px;
}
