#modules-select input[type="checkbox"] {
  visibility: hidden;
}

#modules-select label {
  position: relative;
}

#modules-select label:before {
  position: absolute;
  top: -2px;
  left: -26px;  
  content: "";
  font-family: 'Font Awesome 5 Pro';
  font-weight: 900;
  font-size: 16px;
  color: #6D6D87;
  text-align: center;
  width: 20px;  
  height: 20px;
  line-height: 20px;
  border: 1px solid #B8B8C7;
  -moz-border-radius: 3px;  
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-color: white;
  -moz-box-shadow: 0 0px 2px 0px #C0C0C0 inset;  
  -webkit-box-shadow: 0 0px 2px 0px #C0C0C0 inset;
  box-shadow: 0 0px 2px 0px #C0C0C0 inset;
}

#modules-select input[type="checkbox"]:checked + label:before {
  content: "\f00c";
}

#modules-select input[type="checkbox"]:disabled + label:before {
  background-color: #DDDDDD;
  color: #808080;
}