/* The container */
.w3-container-checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  padding-top:5px;

  margin-top:10px;
  margin-bottom: 10px;
  cursor: pointer;
  --font-size: 12px;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  
}


/* Hide the browser's default checkbox */
.w3-container-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  vertical-align: bottom;
}

/* Create a custom checkbox */
.w3-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 28px;
  width: 28px;
  background-color: white;
  border:2px solid #cccccc;
}

/* On mouse-over, add a grey background color */
.w3-container-checkbox:hover input ~ .w3-checkmark {
  background-color: white;
  border:2px solid orange;

}

/* When the checkbox is checked, add a blue background */
.w3-container-checkbox input:checked ~ .w3-checkmark {
  background-color: #2196F3;
  border:2px solid #1e82d4;

}

/* Create the checkmark/indicator (hidden when not checked) */
.w3-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.w3-container-checkbox input:checked ~ .w3-checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.w3-container-checkbox .w3-checkmark:after {
  left: 7px;
  top: 1px;
  width: 10px;
  height: 17px;
  border: solid white;
  border-width: 0 4px 4px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}