/*
 *  Schakelaar privacy regels inlogscherm
 */
.switch {
	position: relative;
	display: block;
	vertical-align: top;
	width: 98%;
	height: 25px;
	padding: 3px;
	margin: 0 10px 10px 0;
	border-radius: 4px;
		cursor: pointer;
	box-sizing:content-box;	
	/*bootstrap*/
	color: #555;
	background-color: #fff;
	background-image: none;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.switch-input {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	box-sizing:content-box;
}
.switch-label {
	position: relative;
	display: block;
	height: inherit;
	font-family: Sans-serif;
	font-style: normal;
	font-weight: normal;
	line-height: 1.42857143;
    -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
	font-size: 14px;
	text-transform: uppercase;
	background:  #843534;
	border-radius: inherit;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
	box-sizing:content-box;
}
.switch-label:before, .switch-label:after {
	position: absolute;
	top: 50%;
	margin-top: -.5em;
	line-height: 1;
	-webkit-transition: inherit;
	-moz-transition: inherit;
	-o-transition: inherit;
	transition: inherit;
	box-sizing:content-box;
}
/*Label switch uit*/
.switch-label:before {
	content: attr(data-off);
	right: calc(30%);
	color: white;
	text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}
/*Label switch aan*/
.switch-label:after {
	content: attr(data-on);
	left: calc(17%);
	text-align:center;
	color: white;
	text-shadow: 0 1px rgba(0, 0, 0, 0.2);
	opacity: 0;
}
.switch-input:checked ~ .switch-label {
	background: #5cb85c;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}
.switch-input:checked ~ .switch-label:before {
	opacity: 0;
}
.switch-input:checked ~ .switch-label:after {
	opacity: 1;
}

/*Het knopje*/
.switch-handle {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 10px;
	height: 23px;
	color: #fff;
	background-color: #337ab7;
	border-radius: 4px;	
	/*background: linear-gradient(to bottom, blue 40%, #f0f0f0);
	background-image: -webkit-linear-gradient(top, #FFFFFF 40%, #f0f0f0);
	border-radius: 0%;
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);*/
}

/*Merkje op switch-handle
.switch-handle:before {
	content: "";
	position: absolute;
	top: 35%;
	left: 83%;
	margin: 1px 0 0 -6px;
	width: 5px;
	height: 5px;
	background: linear-gradient(to bottom, #eeeeee, #FFFFFF);
	background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF);
	border-radius: 10px;
	box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
}*/


.switch-input:checked ~ .switch-handle {
	left: 95%;
	box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}
 
/* Transition snelheid van handle
========================== */
.switch-label, .switch-handle {
	transition: All 1.8s ease;
	-webkit-transition: All 1.8s ease;
	-moz-transition: All 1.8s ease;
	-o-transition: All 1.8s ease;
}
