/* One checkbox language across Headquarters. Page form styles must not turn these into text fields or circles. */
html body input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 0;
  padding: 0 !important;
  border: 2px solid #bbb8b6 !important;
  border-radius: 5px !important;
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  vertical-align: middle;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}

html body input[type="checkbox"]:checked {
  border-color: #b40101 !important;
  background-color: #b40101 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-9' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 15px 15px !important;
}

html body input[type="checkbox"]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(180, 1, 1, .14) !important;
}

html body input[type="checkbox"]:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* These controls intentionally use a separate sliding-switch presentation. */
html body .library-switch input[type="checkbox"] {
  position: absolute !important;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0 !important;
}
