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



/* --------------------------------------------------------------
	Structure
-------------------------------------------------------------- */

#JHBC {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    font-size: 1rem;
    color: #333;
    text-align: justify;
}



/* -----------------------------------------------
   Special for JHBC
----------------------------------------------- */

div.vol-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-inline: auto;
}

h2.vol-number {
    margin: 0.5rem 1rem;
    width: calc(100%/5 - 2rem);
    font-size: 1.2rem;
    font-weight: 400;
    font-family: Palatino, 'Times New Roman', serif;
    text-align: center;
}

h2.vol-number a {
    color: #72a8e0;
}

ul.list-box-disc li,
ul.list-box-decimal li {
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

ul.list-box-disc li {
    list-style: disc;
}

ul.list-box-decimal li {
    list-style: decimal;
}

ul.list-box-disc li:first-child,
ul.list-box-decimal li:first-child {
    margin-top: 1.7rem;
}

ul.list-box-disc li:last-child,
ul.list-box-decimal li:last-child {
    margin-bottom: 0;
}


/* JHBC-list
----------------------------------------------- */

hr.art-header-upper-line {
    margin: 2.5rem 0 1.8rem 0;
    line-height: 1;
    color: #ccc;
    background-color: #ccc;
    height: 1px;
    border: none;
}

div.art-box-wrap {
    margin-top: 2.5rem;
}

div.art-box {
    margin: 0 0 2rem;
}

p.art-title {
    margin: 0 0 0.6rem;
    line-height: 1.4;
    font-weight: 500;
    font-size: 1.1rem;
    font-family: 'Roboto Slab', 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    text-align: left;
}

p.art-authors {
    margin: 0 0 0.4rem;
    line-height: 1.4;
    padding-left: 4%;
    font-family: Optima, Marcellus, 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1rem;
}

p.art-tools {
    margin: 0 0 0.8rem;
    line-height: 1.4;
    padding-left: 4%;
    font-size: 1rem;
}

span.vol-art {
    padding-right: 30px;
}

span.html-link {
    padding-right: 30px;
}

.note-section {
    margin: 0 0 2rem 0;
    text-align: left;
    font-size: 1.2rem;
    font-family: Palatino, 'Times New Roman', serif;
    font-weight: 600;
}


/* JHBC-paper
----------------------------------------------- */

#jhbc-title {
    font-family: Palatino, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 3.5rem auto 1.5rem;
    text-align: center;
}

#jhbc-vol-art-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 2.5rem auto 3rem;
}

#jhbc-vol-art-no {
    font-family: Palatino, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin: auto;
    text-align: center;
}

#pdf-link {
    width: 15%;
    text-align: right;
    font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

h1.art-title {
    margin: 3.5rem 0 2.5rem;
    font-family: 'Roboto Slab', 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1.6rem;
    line-height: 1.4;
    font-weight: 500;
    color: #444;
    text-align: center;
}

div.art-author {
    width: 100%;
    margin: 0rem auto 1rem;
    display: inline-block;
    font-family: Optima, Marcellus, 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    text-align: center;
    line-height: 1.6;
    font-size: 1.2rem;
}

h2.art-heading-2,
h2.art-heading-2-sub,
h3.art-heading-3,
h3.art-heading-3-first,
h3.art-heading-3-L1,
h3.art-heading-3-L2 {
    font-weight: 600;
    color: #444;
    text-align: left;
}

h2.art-heading-2 {
    margin: 3rem auto 1.3rem;
    font-family: 'Roboto Slab', 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1.25rem;
}

h2.art-heading-2-sub {
    margin: 3rem auto 1.3rem;
    font-size: 1.15rem;
    font-style: italic;
}

h3.art-heading-3 {
    margin: 2rem auto -1rem;
    font-size: 1.05rem;
    line-height: 1.2;
}

h3.art-heading-3-first {
    margin: 1.3rem auto -1rem;
    font-size: 1.05rem;
    line-height: 1.2;
}

h3.art-heading-3-L1 {
    margin: 2rem auto 0.8rem;
    font-size: 1.05rem;
    line-height: 1.2;
}

h3.art-heading-3-L2 {
    margin: 0.8rem auto -1rem;
    font-size: 1.05rem;
    line-height: 1.2;
}

p.art-note {
    font-size: 0.9rem;
}

figure.img-pack {
    display: inline-flex;
    width: 100%;
    min-height: 100px;
    margin: 0.8rem auto;
    border: 1px solid #999;
    align-items: stretch;
}

div.img-box {
    display: flex;
    width: 120px;
    justify-content: center;
    align-items: center;
    flex: none;
}

figure.img-pack img.img-h {
    width: 120px;
    height: auto;
    max-height: 120px;
}

figure.img-pack img.img-v {
    height: 100px;
    width: auto;
    max-width: 120px;
}

figure.img-pack figcaption {
    display: inline;
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: justify;
    line-height: 1.4;
    color: #444;
    font-size: 0.9rem;
    border-left: 1px solid #999;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

figure.img-pack figcaption span {
    font-weight: 500;
}

figure.img-pack figcaption span.tt-ref {
    font-weight: 400;
}

.contact-note {
    margin-top: 0.3rem;
    font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    text-align: right;
}

.lit-cited p {
    margin: 1rem 0;
}

.lit-cited p:first-child {
    margin: 1.7rem 0 1rem;
}

.lit-cited p:last-child {
    margin: 1rem 0 1.7rem;
}


/* Special for 400-word paper
----------------------------------------------- */

#v3a5-special .art-title {
    margin-bottom: 1.3rem;
    font-size: 1.4rem;
}

#v3a5-special .art-heading-2 {
    margin-top: 1.2rem;
    margin-bottom: 0.7rem;
    font-size: 1.2rem;
}

#v3a5-special .art-author {
    margin-bottom: 1.7rem;
    font-size: 1.3rem;
}

#v3a5-special hr {
    margin: 3rem auto;
    color: #666;
    width: 100%;
}

#v3a5-special .region {
    margin: 5rem auto 3rem;
    padding: 1rem 0.5rem;
    border-top: 1px #666 solid;
    border-bottom: 1px #666 solid;
    font-size: 1.5rem;
    font-weight: bold;
    color: #444;
    font-family: Verdana, 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    text-align: center;
}


/* JHBC-paper tooltip-for-authors
----------------------------------------------- */

div.tt-aut {
    margin: 0;
    color: #333;
    font-family: Optima, Marcellus, 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    display: inline-block;
    padding-bottom: 0.1rem;
    border-bottom: dotted 1px #999;
}

div.ttp {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    display: inline-block;
    border-bottom: none;
}

div.tt-aut span.tt {
    display: none;
    font-weight: 400;
}

div.tt-aut:hover {
    position: relative;
    color: #000;
    border-bottom: dotted 1px #fff;
}

div.tt-aut:hover span.tt {
    display: block;
    position: absolute;
    top: 32px;
    left: -50px;
    font-size: 0.8rem;
    font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    color: #333;
    line-height: 1.4;
    background-color: #fff;
    border: 1px solid #bbb;
    box-shadow: 0 1px 6px #aaa;
    width: 400px;
    padding: 14px 24px;
    z-index: 101;
    text-align: left;
}

div.tt-aut:hover span.tt a {
    font-size: 0.8rem;
}

div.tt-aut span.tt:before {
    content: '';
    display: block;
    position: absolute;
    height: 0;
    width: 0;
    top: -11px;
    left: 95px;
    border: 7px transparent solid;
    border-right-width: 0;
    border-left-color: #bbb;
    transform: rotate(270deg);
    z-index: 100;
}

span.break:before {
    content: "\A";
    white-space: pre;
}


/* JHBC-paper tooltip-for-references
----------------------------------------------- */

span.tt-ref {
    position: relative;
}

span.tt-ref span.tt {
    display: none;
    position: absolute;
    top: 25px;
    left: -90px;
    font-size: 0.8rem;
    font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Open Sans', Roboto, 'Helvetica Neue', sans-serif;
    color: #333;
    background-color: #fff;
    border: 1px solid #bbb !important;
    box-shadow: 0 1px 7px #bbb;
    width: 400px;
    padding: 12px 18px;
    z-index: 1001;
    text-align: left;
}

span.tt-ref span.tt a {
    font-size: 0.8rem;
}

span.tt-ref span.tt:before {
    content: '';
    display: inline-block;
    position: absolute;
    height: 0;
    width: 0;
    top: -11px;
    left: 110px;
    border: 7px transparent solid;
    border-right-width: 0;
    border-left-color: #bbb;
    transform: rotate(270deg);
    z-index: 1000;
}

span.tt-ref span.tt:after {
    content: '';
    display: inline-block;
    position: absolute;
    height: 11px;
    width: 100%;
    top: -11px;
    left: 0;
    z-index: 2000;
}

span.tt-ref:hover>span.tt {
    display: inline;
}


/* JHBC-paper tooltip-for-symbol
----------------------------------------------- */

span.tt-ref span.symbol {
    top: 30px;
    left: -110px;
}


/* JHBC Instructions to Authors
----------------------------------------------- */

span.ita {
    font-weight: 600;
    padding-right: 1.2rem;
}



/* --------------------------------------------------------------
	Media Query (+ Navigation for mobile)
-------------------------------------------------------------- */

@media screen and (max-width:1580px) {
    div.tt-aut:hover span.tt {
        width: 350px;
    }

    span.tt-ref:hover span.tt {
        width: 350px;
    }
}

@media screen and (max-width:1490px) {
    span.tt-ref:hover span.tt {
        width: 300px;
    }
}

@media screen and (max-width:1390px) {
    div.tt-aut:hover span.tt {
        width: 300px;
    }

    span.tt-ref:hover>span.tt {
        display: none;
    }
}

@media screen and (max-width:1200px) {
    div.tt-aut:hover span.tt {
        width: 260px;
    }
}

@media screen and (max-width:1120px) {
    div.tt-aut:hover span.tt {
        width: 240px;
        left: -20px;
    }

    div.tt-aut span.tt:before {
        left: 50px;
    }
}

@media screen and (max-width:1024px) {
    #JHBC {
        width: 94%;
    }

    h1.journal-name {
        font-size: 2rem;
        padding: 1.5rem 0 1rem;
        margin: 2rem auto;
    }

    h1.art-title {
        margin-top: 0.5rem;
    }

    hr.art-header-upper-line {
        margin: 2.5rem 0 1.8rem 0;
    }

    hr.art-header-lower-line {
        margin: 1.8rem 0 2.5rem 0;
    }

    h2.vol-number {
        font-size: 1.2rem;
        width: calc(100% / 5 - 1.4rem);
    }

    #jhbc-title {
        font-size: 2.0rem;
        margin: 3.5rem auto 2rem;
    }

    #jhbc-vol-art-header {
        margin: 2rem auto 2.5rem;
    }

    #jhbc-vol-art-no {
        font-size: 1.4rem;
        margin: 0 auto;
    }

    h1.art-title {
        margin: 1.6rem 0 0.5rem;
        font-size: 1.4rem;
        line-height: 1.4;
    }

    div.art-author {
        margin: 0 auto 0.7rem;
        font-size: 1.2rem;
        line-height: 1.5;
    }

    div.tt-aut {
        font-size: 1.2rem;
    }

    h2.art-heading-2 {
        font-size: 1.15rem;
    }
}

@media screen and (max-width:898px) {
    h1.journal-name {
        font-size: 1.7rem;
        margin: 1.7rem auto 1.3rem;
    }

    h1.art-title {
        margin-bottom: 0.5rem;
    }

    div.art-author {
        margin: 0 0 0.5rem;
    }

    hr.art-header-upper-line {
        margin: 2.5rem 0 1.9rem 0;
    }

    hr.art-header-lower-line {
        margin: 1.9rem 0 2.5rem 0;
    }

    h2.vol-number {
        font-size: 1.1rem;
    }

    #jhbc-title {
        font-size: 1.7rem;
        margin: 3.2rem auto 1.5rem;
    }

    #jhbc-vol-art-header {
        margin: 1.5rem auto 2.7rem;
    }
}


@media screen and (max-width:823px) {
    h1.art-title {
        margin: 1rem 0 0.5rem;
    }

    div.art-author {
        margin: 0.5rem auto 0;
    }

    #jhbc-title {
        font-size: 1.7rem;
        margin: 2.3rem auto 1.7rem;
    }

    #jhbc-vol-art-header {
        margin: 1.7rem auto 1.8rem;
    }

    #jhbc-vol-art-no {
        font-size: 1.3rem;
        margin: 0 auto;
    }

    h1.art-title {
        margin: 1.7rem 0 0.8rem;
        padding: 0;
        font-size: 1.3rem;
        line-height: 1.4;
    }

    div.art-author {
        margin: 0.8rem auto 0;
        font-size: 1.2rem;
        line-height: 1.5;
    }

    div.tt-aut {
        font-size: 1.2rem;
    }
}


@media screen and (max-width:768px) {
    #JHBC {
        width: 92%;
    }

    figure.img-pack figcaption {
        margin-bottom: 0;
        font-size: 0.8rem;
        padding: 0.8rem 1.2rem;
    }

    #jhbc-title {
        font-size: 1.7rem;
        margin: 3.2rem auto 1.5rem;
    }

    #jhbc-vol-art-header {
        margin: 1.5rem auto 2.7rem;
    }

    #jhbc-vol-art-no {
        font-size: 1.3rem;
        margin: 0 auto;
    }

    h1.art-title {
        margin: 2rem 0 0.5rem;
        font-size: 1.3rem;
        line-height: 1.4;
    }

    div.art-author {
        margin: 0.5rem auto 0;
        font-size: 1.2rem;
        line-height: 1.5;
    }

    div.tt-aut {
        font-size: 1.2rem;
    }
}


@media screen and (max-width:702px) {
    h1.journal-name {
        font-size: 1.3rem;
        margin: 1.7rem auto 1.3rem;
    }

    h1.art-title {
        margin-top: 0.1rem;
        font-size: 1.3rem;
    }

    div.tt-aut,
    div.ttp {
        font-size: 1.15rem;
    }

    h2.art-heading-2,
    h2.art-heading-2-sub {
        font-size: 1.1rem;
    }

    h3.art-heading-3,
    h3.art-heading-3-first,
    h3.art-heading-3-L1,
    h3.art-heading-3-L2 {
        font-size: 1rem;
    }

    hr.art-header-upper-line {
        margin: 2.5rem 0 1.7rem 0;
    }

    hr.art-header-lower-line {
        margin: 1.7rem 0 2.5rem 0;
    }

    .contact-note {
        font-size: 0.9rem;
    }
}

@media screen and (max-width:644px) {
    h1.journal-name {
        font-size: 1.2rem;
        margin: 1.5rem auto 0.5rem;
    }

    .img-box img {
        width: 85%;
        height: auto;
    }

    figure.img-pack {
        text-align: center;
    }

    figure.img-pack figcaption {
        font-size: 0.9rem;
    }

    #jhbc-title {
        font-size: 1.6rem;
        margin: 2rem auto 1.2rem;
    }

    #jhbc-vol-art-header {
        margin: 1.2rem auto 1.2rem;
    }
}

@media screen and (max-width:624px) {
    figure.img-pack figcaption {
        font-size: 0.8rem;
    }

    hr.art-header-upper-line {
        margin: 2.5rem 0 1.5rem 0;
    }

    hr.art-header-lower-line {
        margin: 1.5rem 0 2.5rem 0;
    }

    h2.vol-number {
        font-size: 1rem;
    }
}

@media screen and (max-width:544px) {
    #jhbc-title {
        font-size: 1.5rem;
    }
}

@media screen and (max-width:526px) {
    #JHBC p {
        text-align: left;
    }

    h1.art-title {
        margin-top: 0;
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
    }

    div.art-author {
        margin: 0;
    }

    div.tt-aut,
    div.ttp {
        font-size: 1.1rem;
    }

    h2.art-heading-2,
    h2.art-heading-2-sub {
        font-size: 1.05rem;
    }

    div.tt-aut:hover span.tt {
        width: 135px;
        left: -15px;
        padding: 7px 12px;
    }

    div.tt-aut span.tt:before {
        left: 30px;
    }

    #jhbc-title {
        margin: 2rem auto 0.7rem;
    }

    #jhbc-vol-art-header {
        margin: 0.7rem auto 0.5rem;
    }

    #jhbc-vol-art-no {
        font-size: 1.1rem;
    }
}

@media screen and (max-width:500px) {
    #jhbc-title {
        font-size: 1.3rem;
    }
}

@media screen and (max-width:480px) {
    #jhbc-vol-art-no {
        font-size: 1rem;
    }
}

@media screen and (max-width:466px) {
    h1.journal-name {
        font-size: 1.2rem;
        margin: 1.2rem auto 1rem;
        padding: 1.2rem 0 1rem;
    }

    hr.art-header-lower-line {
        margin: 2rem 0 1.5rem 0;
    }

    h1.art-title {
        margin-top: 0;
        margin-bottom: 1.5rem;
        font-size: 1.15rem;
    }

    div.tt-aut,
    div.ttp {
        font-size: 1.05rem;
    }

    h2.art-heading-2,
    h2.art-heading-2-sub,
    h3.art-heading-3,
    h3.art-heading-3-first,
    h3.art-heading-3-L1,
    h3.art-heading-3-L2 {
        font-size: 1rem;
        margin: 2.5rem 0 0;
    }

    h3.art-heading-3,
    h3.art-heading-3-first {
        margin: 2rem 0 0;
    }

    h3.art-heading-3-L1 {
        margin: 2rem auto 0.8rem;
    }

    h3.art-heading-3-L2 {
        margin: 0.6rem auto 0;
    }

    figure.img-pack img {
        width: 80px;
    }

    figure.img-pack figcaption {
        padding: 0.5rem 0.9rem;
        text-align: left;
    }

    h2.vol-number span {
        display: none;
    }
}

@media screen and (max-width:380px) {
    h1.journal-name {
        font-size: 1.1rem;
        margin: 1rem auto 0;
        padding: 1.2rem 0 0.4rem;
    }
}

@media screen and (max-width:346px) {
    hr.art-header-upper-line {
        margin: 2.5rem 0 1.5rem 0;
    }

    hr.art-header-lower-line {
        margin: 1.5rem 0 2.5rem 0;
    }

    h2.vol-number {
        margin: 0 3%;
    }
}