/* General styles */
body {
    /** change family to Georgia, Times, serif */
    /*font-family: Georgia, Times, serif;*/
    font-family: Georgia, Times, 'Times New Roman', TimesNR, 'DejaVu Serif', 'Liberation Serif', FreeSerif, serif;
    /*font-family: "Times New Roman", Times, serif;*/

    /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;*/

    /*background-color: #f4f4f4;*/
    /*color: #333;*/
    padding: 18px;
    box-sizing: border-box;
    max-width: 1404px;
    margin: 0 auto;
}


a {
    color: #0077cc;
    text-decoration: none;
}

a:hover {
    color: #005fa3;
    text-decoration: underline;
}

h1, h2, h3 {
    font-size: 27px;
    font-weight: bold;
    margin-top: 3em;
    margin-bottom: 1em;
}

h3 {
    font-size: 18px;
}

h1 a, h2 a, h3 a {
    color: black;
}

/*#content h1::after,*/
/*#content h2::after,*/
/*#content h3::after {*/
/*  content: "↩︎";*/
/*  display: inline-block;*/
/*  font-size: 0.5em;*/
/*  margin-left: 18px;*/
/*  vertical-align: middle;*/
/*  text-decoration: none;*/
/*}*/

/*h1::before:hover {*/
/*  text-decoration: underline;*/
/*}*/

#header-navigation {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#footer-navigation {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
}

#header-navigation .font-size-update {
    display: inline;
    float: right;
}

#header-navigation .font-size-update #font-smaller {
    margin-right: 18px;
}

/* Add new CSS rule for the book-navigation-arrow class */
#header-navigation .book-navigation-arrow {
    display: flex;
    align-items: center;
    gap: 18px;
}

#header-navigation .font-size-update .button img {
    transition: 0.3s;
}

#header-navigation .font-size-update .button:hover img {
    opacity: 0.7;
    cursor: pointer;
}

#title-container div.jwTitle {
    color: rgb(0, 0, 255);
    font-family: Times, "Times New Roman", Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    padding-top: 81px;
}

#title-container div.jwTitleSmall {
    color: rgb(0, 0, 255);
    font-family: Times, "Times New Roman", Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    padding-top: 81px;
}

#title-container div.jwVersionInformation {
    color: #008080;
    text-align: center;
    padding-top: 81px;
    padding-bottom: 81px;
}

#title-container h1 {
    text-align: center;
}


ul {
    list-style: none;
    padding-left: 0;
}

/* Table of contents styles */
#toc-container {
    /*background-color: lightyellow;*/
    border-radius: 5px;
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);*/
    padding: 27px;
    max-width: 100%;
    margin: 0 auto;
    display: inline-block;
}

#toc-container li {
    padding: 13px 9px;
}

.toc-level-1 a {
    font-size: 21px;
    font-weight: bold;
    display: inline-block;
    padding-left: 0;
    padding-top: 18px;
}

.toc-level--2 a {
    font-size: 18px;
    font-weight: normal;
    display: inline-block;
    padding-left: 28px;
}

.toc-level---3 a {
    font-size: 16px;
    font-weight: normal;
    display: inline-block;
    padding-left: 54px;
}


#content {
    /** text is justified */
    text-align: justify;
    font-size: 18px;
    line-height: 1.8;
    padding-top: 1.8em;
}

#content p {
    margin-top: 1em;
    margin-bottom: 1em;
    /** indent paragraphs */
    text-indent: 3em;
    font-size: 21px;
}


#content p.author,
#content ol li p {
    padding-top: 1em;
    text-indent: 0;
}

#content .footnotes p {
    text-indent: 0;
    padding: 0;
    margin: 0;
}

@media (max-width: 767px) {
    #toc-container {
        max-width: 100%;
    }
}


ul.jwTextFootnote {
    padding: 0;
}

ul.jwTextFootnote li {
    line-height: 1.3em;
    padding-left: 0;
    padding-bottom: 0.9em;
    list-style-type: none;
}

ul.jwTextFootnote li a {
    float: left;
    width: 3em;
    padding-right: 0.3em;
    text-align: right;
}
ul .footnote-value {
    display: block;
    padding-left: 3.3em;
}
