/****************************
 * Layout
 ****************************/

#teaching-header {
  text-align: center;
}

/****************************
 * Typography
 ****************************/

#teaching-header {
  color: var(--evergreen);
}

#teaching-header .passage {
  /* font-size: 1.125rem; */
  text-transform: uppercase;
}

#teaching-header .teaching-title {
  /* font-size: 3.75rem; */
  /* font-size: 2.25rem; */
  font-weight: 800;
}

#teaching-header .series-title {
  /* font-size: 1.375rem; */
  font-weight: 800;
}

/* Reset series link (departure from Mindstream spec) */
#teaching-header .series-title a {
  color: var(--emerald-green); /* Reset series link (departure from Mindstream spec) */
}
#teaching-header .series-title a:hover {
  color: var(--evergreen);
  text-decoration: underline;
}

.section-header {
  /* font-size: 1.375rem; */
  font-weight: 800;
  text-transform: uppercase;
}

#action-links {
  /* font-size: 1.125rem; */
  font-weight: bold;
  text-transform: uppercase;
}

/* Messages */
#teaching-notices {
  border-radius: 10px;
  display: inline-block;
  padding: 1rem 2rem;
  text-align: left;
  width: 75%;
}

/**
 * Teaching metadata
 */

#teaching-content-header {
  border-bottom: 2px solid var(--horizontal-rule-light);
  margin: 1rem 0;
  padding-bottom: 1.0rem;
}

/**
 * Share buttons
 */

#share-toggle {
}
#share-dropdown {
  padding: 0.5rem;
  width: auto;
}
.rrssb-buttons li {
  margin: 0 5px;
  max-width: 30%;
}

/**
 * Teaching player (slideshow, audio, or video)
 */

#teaching-player {
  margin: 2rem 0;
}

.xplayer {
  box-shadow: 5px 5px 10px var(--medium-gray);
  margin: 1em auto;
}

.teaching-audio audio,
.teaching-audio .mejs__container,
.teaching-video video,
.teaching-video iframe {
  display: block;
  margin: auto;
}
.teaching-audio .mejs__container {
  max-width: 600px;
}


/**
 * Download links
 */

 #download ul {
  /* list-style: none; */
  margin-left: 0;
}

#download li {
  display: inline-block;
  margin-right: 2rem;
  text-transform: uppercase;
}


/**
 * Outline
 */

/* #outline-content h1,
#outline-content h2,
#outline-content h3 {
  font-size: 1.5rem;
} */

#outline-content blockquote,
#outline-content blockquote p {
  color: var(--dark-gray);
  border: none;
}

/* Footnote links */
#outline-content a[name^="_ftnref"] {
  /* background-color: var(--toxic-green); */
  color: var(--emerald-green);
  font-size: 75%;
  font-weight: bold;
  vertical-align: super;
}

/* Footnotes */
#outline-content a[href^="#_ftnref"] {
  color: var(--emerald-green);
  font-weight: bold;
}

/**
 * Keywords
 */

 #content section {
  margin-bottom: 1rem;
}

section#keywords {
  /* background-color: var(--light-gray);
  padding: 2rem; */
  margin-left: 3rem;
}

section#keywords ul {
  margin-left: 0;
}

section#keywords li {
  display: inline-block;
  /* font-size: 1.125rem; */
  font-weight: bold;
  text-transform: uppercase;
}

section#keywords li:not(:last-child)::after {
  color: var(--emerald-green);
  content: "â€¢";
  margin: 0 0.5rem;
}


/**
 * Suggested teachings (NOT YET IMPLEMENTED)
 */

#suggested {
  background-color: var(--evergreen);
  color: var(--white);
  padding: 5rem;
}

#suggested .card {
  background-color: var(--evergreen);
  border: none;
  color: var(--white);
}

#suggested .card a {
  color: var(--toxic-green);
}

#suggested .card a:hover {
  text-decoration: underline;
}


/**
 * Other teachings in series
 */

.series-teachings li.current-teaching {
  background-color: #EEE;
  border: solid 1px #DDD;
  list-style-type: disclosure-closed;
}

/**
 * XPlayer overrides
 */

/* Add space around slider - esp when audio only */
.xplayer .smilControlsContainer {
  padding: 15px 15px 0 15px !important;
}

.xplayer .smil-button.back,
.xplayer .smil-button.forward,
.xplayer .slider-volume-position,
.xplayer .current-time,
.xplayer .playback-speed-position {
  display: none !important;
}

.xplayer.playing .smil-button.back,
.xplayer.playing .smil-button.forward,
.xplayer.playing .slider-volume-position,
.xplayer.playing .current-time,
.xplayer.playing .playback-speed-position {
  display: inline-block !important;
}



/****************************
 * Responsiveness
 ****************************/


/*** Small & smaller ***/
@media screen {

  #teaching-header,
  #teaching-content {
    margin-left: 0;
    margin-right: 0;
  }

  /* Hide summary */
  section#summary {
    /* display: none; */
    padding: 0px 10px 0px 10px;
  }

  .xplayer {
    margin: auto !important;
    width: 100% !important;
  }
}

/*** Medium & larger ***/
@media screen and (min-width: 40em) {

  #teaching-header,
  #teaching-content {
    margin-left: var(--side-margin);
    margin-right: var(--side-margin);
  }

  /* Show summary */
  section#summary {
    display: block;
  }

  .xplayer {
    margin: auto !important;
    width: 75% !important;
  }
}