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

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  /*border: 1px solid #a0a0a0;*/
  
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px; /* 26 */
  width: 20px; /* 26 */
  left: 4px;
  bottom: 3px;
  background-color: white;
  /*border: 1px solid #a0a0a0;*/
  
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #009947;
}

input:focus + .slider {
  box-shadow: 0 0 1px #009947;
}

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

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

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



/******* RESPONSIVE PARA DISPOSITIVOS MÓVILES *******/
@media screen and (max-width:1050px)
{
	/* The switch - the box around the slider */
	.switch {
	  position: relative;
	  display: inline-block;
	  width: 11.5vh; /* 180 */
	  height: 6.8vh; /* 100 */
	  
	  user-select: none; 
	}
	
	/* Hide default HTML checkbox */
	.switch input {
	  opacity: 0;
	  width: 0;
	  height: 0;
	  
	  
	}
	
	/* The slider */
	.slider {
	  position: absolute;
	  cursor: pointer;
	  top: 0;
	  left: 0;
	  right: 0;
	  bottom: 0;
	  background-color: #ccc;
	  /*border: 1px solid #a0a0a0;*/
	  
	  -webkit-transition: .4s;
	  transition: .4s;
	  
	}
	
	.slider:before {
	  position: absolute;
	  content: "";
	  height: 5vh; /* 78 */
	  width: 5vh; /* 78 */
	  left: 1vh; /* 12 */
	  bottom: 1vh; /* 9 */
	  background-color: white;
	  /*border: 1px solid #a0a0a0;*/
	  
	  -webkit-transition: .4s;
	  transition: .4s;
	  
	}
	
	input:checked + .slider {
	  background-color: #009947;
	}
	
	input:focus + .slider {
	  box-shadow: 0 0 3px #009947;
	}
	
	input:checked + .slider:before {
	  -webkit-transform: translateX(5vh);  /* 78 */
	  -ms-transform: translateX(5vh);  /* 78 */
	  transform: translateX(4vh);  /* 78 */
	
	}
	
	/* Rounded sliders */
	.slider.round {
	  border-radius: 6vh; /* 100 */
	  
	}
	
	.slider.round:before {
	  border-radius: 50%;
	}
}
