
.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}
.form-signin .checkbox {
  font-weight: 400;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


/* ---------------------------------------------------- */
 /* The switch - the box around the slider */
 .switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 0;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition-property:  background;
  transition-property:  background;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: -4px;
	bottom: 4px;
  background-color: #efefef;
  -webkit-transition-property: transform, background;
  transition-property: transform, background;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
	box-shadow: 0 1px 3px 1px #9a9a9a;
}

input:checked + .slider { /*all .slider elements that are placed immediately after checked elements*/
  background-color: #a5d1f5;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/*-------------------------------------------- (.small): small size -*/
.switch.small {
	width: 36px;
    height: 18px;
    margin-right: 4px;
}

.switch.small .slider:before {
    height: 24px;
    width: 24px;
    bottom: -2px;
}

.switch.small input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
	transform: translateX(20px);
	background-color: #589bcc;
}