/*
Theme Name: HC-conserving-herons
Author: Katsutoshi Matsunaga
Author URI: https://www.greyheron.org/
Description: A theme for HeronConservation.
Version: 1.0
License: GNU General Public License
*/



#conserving-herons #header {
    background-color: #eee;
    margin: 3.5rem auto 2rem;
    padding: 2rem;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #bbb;
}

#conserving-herons div#pdf-link-box {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4rem;
}

#conserving-herons h1 {
    margin: 0 auto 1rem;
    font-family: Palatino, 'Times New Roman', serif;
    font-weight: 400;
    color: #444;
    font-size: 2.3rem;
    text-align: center;
}

#conserving-herons div.sub-title {
    font-family: Palatino, 'Times New Roman', serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 1.5rem auto 1rem;
    text-align: center;
}

#conserving-herons div.author-name {
    font-family: Palatino, 'Times New Roman', serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 2rem auto 0;
    text-align: center;
}

#conserving-herons div.note {
    font-family: Palatino, 'Times New Roman', serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    width: 70%;
    margin: 2rem auto 0;
    text-align: center;
}

#conserving-herons div.clearbox {
    overflow: hidden;
}

#conserving-herons div#content-box::before,
#conserving-herons h2::before,
#conserving-herons h3::before,
#conserving-herons h4::before {
    display: block;
    height: 5rem;
    margin-top: -5rem;
    content: "";
}

#conserving-herons h2 {
    font-family: 'Roboto Slab', 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin: 6rem auto 1.5rem;
    text-align: left;
}

#conserving-herons h2#h2-content {
    margin: 0.5rem 0 3rem 71%;
}

#conserving-herons div#dedication-note {
    font-size: 110%;
    margin-top: 5.5rem;
    text-align: right;
    line-height: 1.4;
}

#conserving-herons h3 {
    font-family: 'Roboto Slab', 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 5rem auto 1rem;
    text-align: left;
}

#conserving-herons h4 {
    font-family: 'Roboto Slab', 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin: 3.5rem auto 0.5rem;
    text-align: left;
}

#conserving-herons ul {
    line-height: 1.3;
}

#conserving-herons ul li a:link,
#conserving-herons ul li a:visited {
    color: #444;
}

#conserving-herons ul li.chapter {
    font-size: 120%;
    text-indent: 5rem;
}

#conserving-herons ul li.section {
    font-size: 100%;
    text-indent: 8rem;
}

#conserving-herons ul.list {
    margin-top: 2rem;
}

#conserving-herons ul li.items {
    font-size: 100%;
    text-indent: 8rem;
}

#conserving-herons strong {
    font-weight: 600;
    color: #444;
}

#conserving-herons figure.vertical-right {
    float: right;
    margin: 0.6rem 0 2rem 5%;
}

#conserving-herons figure.vertical-left {
    float: left;
    margin: 0.6rem 5% 2rem 0;
}

#conserving-herons figure.horizontal-right {
    float: right;
    margin: 0.6rem 0 2rem 5%;
}

#conserving-herons figure.horizontal-left {
    float: left;
    margin: 0.6rem 5% 2rem 0;
}

#conserving-herons figure.width-525 {
    width: 52.5%;
}

#conserving-herons figure.width-475 {
    width: 47.5%;
}

#conserving-herons figure.width-190 {
    width: 19.0%;
}

#conserving-herons figure.width-265 {
    width: 26.5%;
}

#conserving-herons figure.width-425 {
    width: 42.5%;
}

#conserving-herons figcaption {
    margin-top: 0.5rem;
    font-size: 80%;
    line-height: 1.3;
}

#conserving-herons section::after {
    content: "";
    display: block;
    clear: both;
}

#conserving-herons .section-margin {
    margin: 0 2rem;
}

#conserving-herons div#table-header {
    background-color: #eee;
    margin: 3.5rem auto 2rem;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #bbb;
    width: 1200px;
    padding: 2rem 0;
}

#conserving-herons h1 a.table-h1-color:link,
#conserving-herons h1 a.table-h1-color:visited {
    color: #444
}

#conserving-herons figure.table-figure-width {
    width: 1200px;
    margin: 4rem 0;
}

#conserving-herons table tr th:first-child,
#conserving-herons table tr td:first-child {
    width: 15%;
}

#conserving-herons table tr th:nth-child(2),
#conserving-herons table tr td:nth-child(2) {
    width: 15%;
}

#conserving-herons table tr th:nth-child(3),
#conserving-herons table tr td:nth-child(3) {
    width: 5%;
}

#conserving-herons table tr th:nth-child(4),
#conserving-herons table tr td:nth-child(4) {
    width: 13%;
}

#conserving-herons table tr th:nth-child(5),
#conserving-herons table tr td:nth-child(5) {
    width: 30%;
}

#conserving-herons table tr th:nth-child(6),
#conserving-herons table tr td:nth-child(6) {
    width: 5%;
}

#conserving-herons table tr th:nth-child(7),
#conserving-herons table tr td:nth-child(7) {
    width: 5%;
}

#conserving-herons table tr th:nth-child(8),
#conserving-herons table tr td:nth-child(8) {
    width: 12%;
}

#conserving-herons table tr td:nth-child(2),
#conserving-herons table tr td:nth-child(4) {
    font-style: italic;
}

@media screen and (max-width:898px) {
    #conserving-herons div#header {
        margin: 2.5rem auto 2rem;
        padding: 1rem 2rem;
    }

    #conserving-herons h1 {
        font-size: 1.9rem;
        margin: 0rem auto 0.5rem;
    }

    #conserving-herons div.sub-title {
        font-size: 1.2rem;
        margin: 0rem auto 1.5rem;
    }

    #conserving-herons div.author-name {
        font-size: 1.4rem;
        margin: 0rem auto 1rem;
    }

    #conserving-herons h2#h2-content {
        margin: 2rem auto;
        text-align: center;
    }

    #conserving-herons h3 {
        margin-top: 3.5rem;
    }

    #conserving-herons figure.width-525,
    #conserving-herons figure.width-475,
    #conserving-herons figure.width-265,
    #conserving-herons figure.width-425,
    #conserving-herons figure.width-190 {
        width: 100%;
        margin: 0rem auto 1rem;
    }

    #conserving-herons figure.vertical-right,
    #conserving-herons figure.vertical-left,
    #conserving-herons figure.horizontal-right,
    #conserving-herons figure.horizontal-left {
        float: none;
        margin: 0.6rem auto;
    }
}

@media screen and (max-width:640px) {
    #conserving-herons ul li.chapter {
        text-indent: 10%;
        margin: 0.5rem 0;
    }

    #conserving-herons ul li.section {
        text-indent: 25%;
        margin: 0.5rem 0;
    }

    #conserving-herons ul li.items {
        text-indent: 0;
        margin: 0.5rem 0;
    }
}