/* Basic toggle styles */
section.toggle, /* Just for more specificity. */
.toggle {
  margin: 0;
  padding: 0;
}

/* When content is visible, some space looks better */
section.toggle-visible,
.toggle-visible {
  padding-bottom: 12px;
}

/* Hide all children in a toggle element ... */
.toggle > * {
  display: none;
}

/**
 * Show children in a toggle-visible element (as well as always show the
 * control element).
 */
.toggle-visible > * {
  display: block;
}

/* The toggle controller element styles */
.toggle > .toggle-control {
  cursor: pointer;
  display: block;
  padding: 0 0 2px 32px;
  position: relative;
  z-index: 1;
}

/* Add the '+' symbol in front of the control element */
.toggle > .toggle-control:before {
  border: 1px solid #000;
  content: '+';
  display: block;
  font-family: monospace;
  left: 0;
  position: absolute;
  text-align: center;
  top: 0;
  width: 1em;
}

/* Switch to a '-' symbol when toggle is open */
.toggle-visible > .toggle-control:before {
  content: '-';
}
