.onoffswitch
{
	position: relative;
	width: 88px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	box-sizing: content-box;
	height: 34px;
}

.onoffswitch-checkbox
{
	display: none;
}

.onoffswitch-label
{
	display: block;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid #2966A2;
	border-radius: 20px;
	width: 74px;
	background: #2966A2;
}

.onoffswitch-inner
{
	display: block;
	width: 140px;
	margin-left: -100%;
	transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after
{
	display: block;
	float: left;
	width: 50%;
	height: 30px;
	padding: 0;
	line-height: 30px;
	font-size: 12px;
	color: white;
	font-weight: 550;
	box-sizing: border-box;
}

.onoffswitch-inner:before
{
	content: "ON";
	padding-left: 14px;
	background-color: #2966A2;
	color: #FFFFFF;
	text-align: left;
}

.onoffswitch-inner:after
{
	content: "OFF";
	padding-right: 14px;
	background-color: #ffffff;
	color: #215384;
	text-align: right;
}

.themeswitch-inner
{
	display: block;
	width: 140px;
	margin-left: -100%;
	transition: margin 0.3s ease-in 0s;
}

.themeswitch-inner:before, .themeswitch-inner:after
{
	display: block;
	float: left;
	width: 50%;
	height: 30px;
	padding: 0;
	line-height: 30px;
	font-size: 12px;
	color: white;
	font-weight: 550;
	box-sizing: border-box;
}

.themeswitch-inner:before
{
	content: "Dark";
	padding-left: 9px;
	background-color: #2966A2;
	color: #FFFFFF;
	text-align: left;
}

.themeswitch-inner:after
{
	content: "Light";
	padding-right: 9px;
	background-color: #ffffff;
	color: #215384;
	text-align: right;
}

.onoffswitch-switch
{
	display: block;
	height: 22px;
	width: 22px;
	margin: 0;
	background: #FFFFFF;
	position: absolute;
	top: 4px;
	bottom: 0;
	right: 58px;
	box-sizing: content-box;
	border: 2px solid #2966A2;
	border-radius: 20px;
	transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner
{
	margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .themeswitch-inner
{
	margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch
{
	right: 18px;
	border: 2px solid #ffffff;
}
