html {
    width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
    font-family: Tahoma, Geneva, sans-serif;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}
hr {
    border: solid 1px;
}
body {
    width: 100%;
    margin: 0px;
    padding: 0px;
    background-color: #FFEFD5;
}
#content {
    margin: 0px 0px 40px 0px;
    width: calc(100vw - 16px);
    padding: 8px;
    background-color: white;
}
h1 { display:block; font-size: 150%; color: saddlebrown; margin-top: 2px;}
h2 { clear: both; font-size: 120%; color: saddlebrown; margin-top: 2px;}
button, a.button {
    background-color: #663300;
    color: white;
    border-radius: 8px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    padding: 5px;
    text-decoration: none;
    cursor: pointer;
    border: outset 2px;
}
button:hover, a.button:hover {
    opacity: 0.93;
    border: ridge 2px;
}

nav {
    cursor: pointer;
  background-color: #13598b;
  height: 60px;

    vertical-align: middle;
}

#menu a {
  text-decoration: none;
  color: #1E1E23;
  opacity:1;
  font-family: 'work sans', sans serif;
  font-size: 1.5em;
  font-weight: 400;
  transition: 200ms;
}
a:hover {
  opacity:0.5;
}
#location
{
    line-height: 60px;
    font-size: 25px;
    color: antiquewhite;
    font-weight: 400;
    margin-left: 10px;
}
#menu  {
  list-style-type: none;
}

#menuToggle {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 22px;
  left: calc(100vw - 65px);
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;

}

#menuToggle input
{
  display: flex;
  width: 40px;
  height: 32px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
        padding: 1em;
   margin: -1em; 
}

#menuToggle span
{
  display: flex;
  width: 29px;
  height: 2px;
  margin-bottom: 5px;
  position: relative;
  background: #ffffff;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 5px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-3px, -1px);
  background: #36383F;
}
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

#menu
{
  position: fixed;
  width: 320px;
  height: 100vh;
  box-shadow: 0 0 10px #85888C;
  margin: -50px 0 0 50px;
  padding: 50px;
  padding-top: 80px;
  background-color: #F5F6FA;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  overflow-y: auto;
  transform: translate(0, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    text-align: left;
    background: #f5f6fa; /* Old browsers */
background: -moz-linear-gradient(left, #f5f6fa 70%, #d6ebf9 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, #f5f6fa 70%,#d6ebf9 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, #f5f6fa 70%,#d6ebf9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

#menu li
{
  padding: 10px 0;
  transition-delay: 2s;
}

#menu li a {
    color: black;
}

#menu li a:hover {
    text-decoration: underline;
    text-decoration-color: #13598b;
    opacity: 0.8;
}

#menu li.sub {
    padding-left: 10px;
}

#menu li.sub a {
    color: #333;
}

#menuToggle input:checked ~ ul
{
  transform: translate(-300px, 0);;
}

.audiojs {
    width: 100%;
    height: 36px;
    background: saddlebrown;
    overflow: hidden;
    font-family: monospace;
    font-size: 11px;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, saddlebrown), color-stop(1, #720));
    background-image: -moz-linear-gradient(center top, saddlebrown 0%, #720 100%);
    /* -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3); */
    -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
    -o-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}
.audiojs .time {
    padding-left: 7px;
    padding-right: 7px;
}
.audiojs .play-pause {
    width: auto;
}
.audiojs .scrubber {
     width: calc(100% - 150px);
    margin-left: 5px;
    margin-right: 1px;
}
.audiojs .progress {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 14px;
    width: 0px;
    background: #13598b;
    z-index: 1;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #13598b), color-stop(0.5, #13598b), color-stop(1, #88a));
    background-image: -moz-linear-gradient(center top, #13598b 0%, #13598b 50%, #88a 100%);
}
.audiojs .loaded {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 14px;
    width: 0px;
    background: #eee;
    background-image: none;
}

.toggleFold {
    width: 100%;
    background-color: #bbc;
    color: saddlebrown;
    cursor: pointer;
    padding: 10px;
    border: none;
    text-align: left;
    outline: none;
    font-size: 120%;
    font-weight: bold;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    position: relative;
}
.toggleFold.active, .toggleFold:hover {
  background-color: #ccd;
    border: none;
}
.toggleFold:after {
    content: '\002B';
    color: saddlebrown;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}
.toggleFold.active:after {
    content: '\2212';
}


div.transcript {
    position: relative;
    overflow: hidden;
    background-color: #eee;
    padding: 5px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    max-height: 0;
    transition: max-height 0.2s ease-in-out;
}

@media screen and (min-width: 600px) {
    /*.audiojs {
        width: 460px;
    }*/
    nav { text-align: center; }
    location { margin-left: 0px; }
    #content { 
        margin: 0px 20px 40px 20px;
        padding-left: 20px; padding-right: 20px; 
        padding-top: 15px;
        width: calc(100vw - 60px);
    }
    h1 { font-size: 170%; }
}

.chapter {
    font-weight: bold;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}