#body {
  font-size: 1.2em !important;
}

#body-inner h4 {
    margin-top: 2em;
}

#body-inner h5 {
    margin-top: 1.5em;
    font-size: 1.2em;
}

#body-inner h6 {
    margin-top: 1.5em;
    font-size: 1.05em;
}

#body-inner hr {
    margin-bottom: -1rem;
}


ul.children-h5 {
  padding-left: 0;
}

ul.children-h5 h5 {
  margin-top: 1rem !important;
  font-size: 1.1rem;

  margin-top: 0px;
  padding-top: 0px;
  margin-bottom:  0px;
  padding-bottom: 0px;
}

.children-h5 p {
    font-size: small;
    font-style: italic;
}

/* Course Unit Tweaks */
h4#course-units {
  margin-bottom: 0;
}
ul.children.children-h5 {
  margin-top: 0;
}

/* Sidebar Tweaks */
#sidebar b {
  opacity: 0.5;
}

/* Table Tweaks */
section#body table {
  display: inline-block;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 20em;
  border: 0;
}
section#body tr:nth-child(even) {
  background-color: inherit;
}
section#body tr:nth-child(odd) {
  background-color: inherit;
}
section#body tbody td.halign-right {
  text-align: right;
}

/* Disable the link highlighting because it creates weird breaks */
#body a.highlight {
    display: inline;
}
#body a.highlight:after {
    display: inline;
}

/* Audio Player */
div.audio-player-wrapper {
  text-align: center;
}

div.audio-player-title {
  display: inline;
  vertical-align: middle;
}

div.audio-player-controls {
  display: inline-flex;
  vertical-align: middle;
  background-color: #F6F6F6;
  padding: 1.2em;
  max-width: 100%;
  -webkit-border-top-right-radius: 2em;
  -moz-border-radius-topright: 2em;
  border-top-right-radius: 2em;
  -webkit-border-bottom-right-radius: 2em;
  -moz-border-radius-bottomright: 2em;
  border-bottom-right-radius: 2em;
  -webkit-border-bottom-left-radius: 2em;
  -moz-border-radius-bottomleft: 2em;
  border-bottom-left-radius: 2em;
  -webkit-border-top-left-radius: 2em;
  -moz-border-radius-topleft: 2em;
  border-top-left-radius: 2em;
}

.audio-player-control {
  width: 1.8em;
  padding-right: .5em;
  min-width: 24px;
}

.audio-player-volume {
  width: 4em;
}

.audio-player-progress {
  width: 10em;
  margin-right: 1em;
}

/* Disable volume controls on iOS because it only responds to physical volume changes */
@supports (-webkit-touch-callout: none) {
  #mute_button {
    display: none;
  }
  #unmute_button {
    display: none;
  }
  #volume_slider {
    display: none;
  }
}
