body
{
    font-size: 14pt;
    font-family: 'Montserrat', sans-serif;
}
/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'),
       url('/static/fonts/montserrat-v12-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/static/fonts/montserrat-v12-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-italic - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: local('Montserrat Italic'), local('Montserrat-Italic'),
       url('/static/fonts/montserrat-v12-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/static/fonts/montserrat-v12-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* montserrat-600 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'),
       url('/static/fonts/montserrat-v12-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/static/fonts/montserrat-v12-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}



@media screen and (min-width: 1024px)
{
    body
    {
        font-size: 20px;
    }
}

#theme-base
{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: auto;
}

#top-banner
{
    font-size: 14pt;
    text-align: center;
    padding: 0.25em;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 5;
    height: 42px;
    white-space: nowrap;
    line-height: 34px;
}
#menu-icon
{
    height: 33px;
    float: left;
    font-size: 27px;
    cursor: pointer;
    border-radius: 4px;
    padding: 2px;
}

#main-content
{
    padding: 10px;
    position: absolute;
    left: 0;
    right: 0;
    top: 42px;
    bottom: 0;
    overflow: auto;
}
#main-content-limiter
{
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

.btn
{
    font-size: inherit;
}
.btn:active
{
    box-shadow: none;
}
button.btn:focus
{
    outline:0;
}

h4
{
    font-weight: bold;
    margin-top: 30px;
}



/* Menu */
#side-menu
{
    position: fixed;
    top: 42px;
    left: 0;
    width: 0;
    height: 0;
    z-index: 10;
    box-shadow: 0 7px 5px #000;
    transition: width 0.25s;
    overflow: hidden;
}

#side-menu.open
{
    width: 280px;
    border-right: 1px solid #333;
    height: 100%;
}
@media screen and (max-width: 500px)
{
    #side-menu.open
    {
        width: 100%;
        border-right: 0;
        transition: height 0.25s;
    }
}
.side-menu-item
{
    font-size: 14pt;
    padding: 0.5em 0.5em;
    border-bottom: 1px solid #555;
    white-space: nowrap;
}

.side-menu-item.active
{
    cursor: pointer;
    width: 100%;
}



#progress-bar
{
    margin: -10px;
    margin-bottom: 0;
    height: 4px;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 10;
    transition: width 250ms ease-in-out;
}

#new-version-notify
{
    position: fixed;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: orange;
    color: #444;
    padding: 0.5em;
    font-weight: bold;
    cursor: pointer;
}

/* ************************** Home ************** */

/* Progress */
.progress-table
{
    width: 100%;
    max-width: 550px;
}
.progress-table TD
{
    padding: 0.25em 0;
}

.progress-cell
{
    min-width: 145px;
    padding-left: 10px;
}
.lesson-progress
{
    width: calc(100% / 11);
    max-width: 30px;

    display: inline-block;
    margin: 0 2px;
    border-radius: calc(100%);
    padding: 1px;
    box-sizing: border-box;
}

.lesson-progress-filler
{
    margin-top: 100%;
}


/* ************************** Table of Contents ************** */

.lesson-wrapper
{
    padding-left: 1em;
}

.lesson-link
{
    font-size: 16pt;
}

.lesson-link.available.undone
{
    font-weight: bold;
}

/* ************************** Lesson ************** */

pre
{
    display: block;
    padding: unset;
    margin: unset;
    font-size: unset;
    line-height: unset;
    color: unset;
    word-break: unset;
    word-wrap: unset;
    background-color: unset;
    border: unset;
    border-radius: unset;
}

code
{
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-size: unset;
    background-color: unset;
    border-radius: unset;
    padding: 0.5em;
    overflow: hidden;
    color: unset;
}

pre code
{
    font-style: italic;
    display: block;
    padding-left: 1em;
}

.rendered-passage code
{
    font-style: unset;
    padding: unset;
}


.lesson-content
{
    padding-top: 10px;
    font-size: 16px;
}

div.paragraph
{
    margin: 1em 0;
}

.toggle-btn
{
    font-weight: bold;
}

.transcript-button
{
    margin: 2em 0;
}

/************ Videos ***********/
IFRAME[xisvideo]
{
    width: 100%;
    border: 0;
    max-width: 1000px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


#back-link
{
    float: left;
}
#back-link,
#next-link
{
    margin: 5px;
    margin-bottom: 13px;
}
#next-link
{
    float: right;
}

/************ Questions ***********/

.prompt
{
    font-size: 14pt;
    font-weight: bold;
    margin-top: 1em;
}

LI.answer
{
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    display: block;
    width: 90%;
    padding: 0.5em;
    font-size: 14pt;
    cursor: pointer !important;
    margin-top: 0.5em;
    border-radius: 6px;
    position: relative;
    padding-right: 30px;
}

LI.answer:last-child
{
}

LI.answer:after
{
    content: "\2610";
    position: absolute;
    font-size: 20pt;
    line-height: 20pt;
    right: 5px;
    top: calc((100% / 2) - 14px);
}
LI.answer.correct.clicked
{
    font-weight: bold;
}
LI.answer.correct.clicked:after
{
    content: "\2611";
}
LI.answer.incorrect.clicked
{
    font-weight: bold;
}
LI.answer.incorrect.clicked:after
{
    content: "\2612";
}


/************ Passages ***********/
.passage-toggle
{
    border-radius: 20px;
    display: inline-block;
    text-align: center;
    position: relative;
    margin-bottom: 1em;
}
.passage-toggle::after
{
    width: 50%;
    border-radius: 20px;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    transition: all 250ms ease-in-out;
}
.passage-toggle.first-selected::after
{
    left: 0;
}
.passage-toggle.second-selected::after
{
    left: 50%;
}
.passage-toggle .btn
{
    border-radius: 20px;
    transition: color 250ms ease-in-out;
    width: 9em;
    z-index: 2;
    position: relative;
}
