
.form-type-checkbox label.iec-custom-checkbox input[type=checkbox] {
  display: none;
}

.form-type-checkbox label.iec-custom-checkbox input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.form-type-checkbox label.iec-custom-checkbox {
  position: relative;
  padding-left: 25px;
  margin: 6px 0px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: 0 0;
  vertical-align: middle;
  cursor: pointer;
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  font-stretch: condensed;
  line-height: 20px;
  letter-spacing: normal;
  color: #473f3f;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.form-type-checkbox label.iec-custom-checkbox input[type=checkbox] + .iec-custom-checkbox-view {
  padding: 1px 2px;
  position: absolute;
  display: block;
  border-radius: 3px;
  width: 20px;
  height: 20px;
  left: 0px;
  top: -1px;
  box-shadow: inset 0 2px 1px 0 rgba(0, 0, 0, 0.06);
  background-color: #fff;
  border: solid 1px #b4c0c9;
}

.form-type-checkbox label.iec-custom-checkbox:hover input[type=checkbox] + .iec-custom-checkbox-view {
  background-color: #f5f5f5;
}

.form-type-checkbox label.iec-custom-checkbox input[type=checkbox] + .iec-custom-checkbox-view i {
  display: none;
}

.form-type-checkbox label.iec-custom-checkbox input[type=checkbox]:checked + .iec-custom-checkbox-view i {
  display: inline;
}
@media (max-width: 767px) {
  .form-type-checkbox label.iec-custom-checkbox {
    font-size: 16px;
  }
}

/* Smaller checkbox when displayed in a cell */
td .form-type-checkbox label.iec-custom-checkbox {
  padding-left: 20px;
  margin: 0px;
  font-size: 11px;
  line-height: 16px;
}

.form-type-checkbox label.iec-custom-checkbox input[type=checkbox] + .iec-custom-checkbox-view {
  padding: 1px 2px;
  border-radius: 3px;
  box-shadow: inset 0 2px 1px 0 rgba(0, 0, 0, 0.06);
  width: 16px;
  height: 16px;
}

[id^="edit-attributes-target"] {
  position: inherit !important;
  opacity: inherit !important;
}
