.checkbox-row input {
  display: none;
}

.checkbox-row input ~ label:before {
  background: #F5F5F5;
  border: 1px solid #CCC;
  border-radius: 7px;
  display: inline-block;
  margin-right: 8px;
  padding-left: 3px;
  padding-top: 3px;
  width: 20px;
}

.checkbox-row input:checked ~ label:before {
  color: green;
  content: "✔";
}

.checkbox-row input:not(:checked) ~ label:before {
  color: red;
  content: "✘";
}

.radiolist input {
  display: none;
}

.radiolist input:checked ~ label {
  background: #609ab6;
  color: white;
  font-weight: bold;
}

.radiolist label {
  background: #EEE;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 7px;
  min-width: auto;
  padding: 4px 8px;
  width: auto;
}

.reorderable + div .ui-sortable-handle {
  background-image: radial-gradient(#aaa 1px, transparent 0);
  background-size: 4px 4px;
  border-bottom: 5px solid white;
  cursor: pointer;
  text-align: center;
}

.reorderable + div .ui-sortable-handle b {
  background: white;
  border-radius: 7px;
  border: 2px solid #777;
  color: #777;
  display: inline-block;
  font-size: large;
  padding: 4px 7px 2px;
}

.reorderable.stacked + div h3, .reorderable + div .ui-sortable-handle label {
  display: none;
}


.vCheckboxLabel {
  cursor: pointer;
}

.vCheckboxLabel:before {
  cursor: pointer;
  font-size: 20px;
  margin-right: 5px;
  position: relative;

}

/* For the MonoTextarea widget, uses a black background with white, monospace text to give the appearance of a
 * terminal display used for coding.
 */
.dg-mono-text {
  background: #333;
  border-radius: 3px;
  color: white;
  font-family: monospace!important;
  height: 300px;
  max-width: 100%;
  width: calc(100% - 200px);
}

/* For the JSONTextarea widget, provides a means of attaching a keyup script to the field, which displays a green
 * border for valid JSON and a red border for invalid JSON. The display updates as one types.
 */
.dg-json {
  border: 5px solid green;
}

.dg-json.error {
  border-color: red;
}