
/* Copyright 2018 Jan Stutzmann, University of Bern, Bern Open Publishing */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@400&display=swap');

body {
    font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
    line-height: 1.4;
    margin: 0 auto;
    padding: 0 3em 1em 3em;
    max-width: 1400px;
}

:lang(he) {
    font-family:
        "Noto Sans Hebrew",
        "SBL Hebrew",
        "Segoe UI Symbol",
        "Noto Sans",
        sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.contrib,
.license,
.doi,
.kwd-group,
.abstract

table {
    font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
}

table-wrap {
    font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
}



.metadata p.kwd-group {
    margin-bottom: 1em;
}
.metadata p.pub-id__pub-id-type_doi,
.metadata {
    margin-top: 1em;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
}

p.thought-break-asterism{
	text-align: center;	
}

p.thought-break{
	text-align: center;	
	margin-top: 4ex;
}


div.front {
    text-align: center;
}


p {
    display: block;
    margin: 0;
    margin-top: 1ex;
}

p:first-of-type {
    margin: 0;
}

p .he {
    text-align: right;
}

h2.title {
    font-weight: 400;
}

a,
a:active,
a:visited {
    color: #007ab2;
    text-decoration: underline;
}
a:hover {
    color: #000;
    text-decoration: underline;
    background: #E7FBF4;

}
b,
.bold {
    font-weight: 600;
}
i,
.italic {
    font-style: italic;
}
italic {
    font-style: italic;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}
sup {
    vertical-align: 0.5em;
}
sub {
    vertical-align: -0.25em;
}

span.smallcaps {
  font-variant: small-caps;
}

/* CB:Textvars */
/* A =  underlined */
/* B =  grey background */
/* C =  text color red */

span.cb-textvarA,
span.cb-textvarAB,
span.cb-textvarAC,
span.cb-textvarABC { text-decoration: underline }

span.cb-textvarB,
span.cb-textvarAB,
span.cb-textvarBC,
span.cb-textvarABC { background-color: #eee }

span.cb-textvarC,
span.cb-textvarAC,
span.cb-textvarBC,
span.cb-textvarABC { color: red }


.righttoleft {
	direction: rtl;
}

/* p not strictly necessary; 
we're adding the style="direction: rtl; text-align:right;" on the the <p> itself */
p[content-type = "righttoleft"],
div[content-type = "righttoleft"] { 
 direction: rtl;
 text-align: right;
 }
  


.abstract {
    font-size: 100%;
    margin-bottom: 2em;
    padding-left: 2%;
    padding-right: 2%;
}
.contrib {
    font-size: 80%;
    font-style: italic;
    border-top: 1px solid #44bb91;
    border-bottom: 1px solid #44bb91;
    margin-top: 4em;
    margin-bottom: 2em;
    padding: 1.3em 2% 1.5em 2%;
}
.contrib p {
    margin: 0;
}
.contrib p + p {
    margin-top: 1em;
}


h1.article-title {
    font-size: 2em;
    line-height: 1.3;
    font-weight: 300;
    color: #44bb91;
    color: #44bb91;
}
.subtitle,
.trans-abstract--subline {
    margin-top: -0.5em;
    color: #555;
}
.subtitle {
    font-size: 2.0em;
    font-weight: 300;
}

div.contributor {
	margin-top: 2ex;
}

/* .trans-abstract, */
/* .trans-abstract--p { */
    /* line-height: 1.6; */
/* } */

a.xref-bibr {
    padding: 1px 2px 3px 2px;
    color: #000;
    text-decoration: none;
    background-color: #E7FBF4;
}
a:hover.xref-bibr {
    background-color: #E7FBF4;
    background-color: #E7FBF4;
    text-decoration: underline;
}

a.xref-bibr {
    padding: 1px 2px 3px 2px;
    color: #000;
    text-decoration: none;
    background-color: #E7FBF4;
}
a:hover.xref-bibr {
    background-color: #E7FBF4;
    text-decoration: underline;
}

.author-name {
    font-weight: 500;
    font-style: normal;
    color: #555;
}
.metadata p {
    font-size: 70%;
    font-style: normal;
    /* line-height: 1.6; */
    margin: 0;
}
div.metadata + h2 {
    margin-top: 2em;
}

div.metadata + p {
    margin-top: 2em;
}

div.metadata {
    font-size: 70%;
    font-style: normal;
    /* line-height: 1.6; */
    margin: 0;
    margin-top: 2ex;
}

div.frontmatter {
    margin-bottom: 1em;
}


div.table-wrap {
    margin-top: 2ex;
    margin-bottom: 2ex;
}


div.article-meta-notes {
    font-size: 90%;
    font-style: normal;
    /* line-height: 1.6; */
    margin: 0;
    /*	margin-top: 2em;*/
    /*	margin-bottom: 2em;*/
    /*	padding-bottom: 0.5em;*/
    /*	padding-top: 0.5em;*/
    /*	border-top: 1px solid #44bb91;*/
    /*	border-bottom: 1px solid #44bb91;*/
}


h2 {
    color: #44bb91;
    margin: 1.5em 0 0.6em 0;
}
h3 {
    font-weight: 600;
    color: #44bb91;
    margin: 1.5em 0 0.4em 0;
    font-size: 1.3em;
}

h4 {
    font-weight: 600;
    color: #44bb91;
    margin: 1.5em 0 0.2em 0;
    font-size: 1em;

}
.back h4 {
    color: #555;
}
.back h5.app-group--title {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

div.body p:first-child {
    margin-top: 2.75em;
}
.body p {
    margin: 0;
}
.body p.sec__specific-use_V1 {
    text-indent: 0;
    margin-top: 1.3em;
}

@media screen and (min-width : 200px) {
    .body p {
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }
}
@media screen and (min-width : 600px) {
    .body p,
    .body h1,
    .body h2,
    .body h3,
    .body h4 {
        -webkit-hyphens: none;
        -moz-hyphens: none;
        hyphens: none;
    }
}
.body div p,
.body p.abstract {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
}

blockquote {
    display: block;
    font-weight: normal;
    font-style: normal;
    margin-left: 2em;
}

div.verse-material, 
div.verse-material-centered {
	margin-top: 2ex;
}

div.verse-material {
	margin-left: 2em;
}

div.verse-material-centered {
	text-align: center;
}

div.verse-material + p {
	margin-top: 2ex;
}

p.stanza  span.attrib {
	display: inline-block;
	margin-top: .5ex;
}

div.back {
    margin-top: 2.5em;
    border-top: 1px solid #44bb91;
    border-bottom: 1px solid #44bb91;
    padding-bottom: 2.5em;
    margin-bottom: 2.5em;
}
.back h4 {
    margin-top: 2.5em;
    margin-bottom: 1.0em;
}
.back p {
    margin: 0;
}
.back p + p {
    text-indent: 0;
}
.back .bibr p {
    padding-left: 1.5em;
    text-indent: -1.5em;
}

.back .fn p {
    padding-left: 1.5em;
    text-indent: -1.5em;
}

p:target {
    background-color: #E7FBF4;
}

div:target {
    background-color: #E7FBF4;
}

li.fn:target {
    background-color: #E7FBF4;
}


.back h5 {
    color: #44bb91;
}

table.tbase {
    border-collapse: collapse;
    border-color: #44bb91;
    border-style: solid;
    border-width: 1px;
    margin-bottom: -4px;
    margin-top: 4px;
    text-indent: 0;

}
td.tbase {
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #000000;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #000000;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #000000;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #000000;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 4px;
    padding-right: 4px;
    vertical-align: top;
    text-indent: 0;
}
th.thead {
    background-color: #44bb91;
    border-bottom-color: #44bb91;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: #44bb91;
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: #44bb91;
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: #44bb91;
    border-top-style: solid;
    border-top-width: 1px;
    padding-bottom: 6px;
    padding-left: 6px;
    padding-right: 5px;
    padding-top: 5px;
    color: #ffffff;
    font-size: 80%;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    line-height: 1.589;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
}
p.table,
.table_right,
.table_centered {
    color: #000000;
    font-size: 80%;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1.589;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 1;
    page-break-after: auto;
    page-break-before: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 1;
    vertical-align: top;
}
.table_centered {
    text-align: center;
}
.table_right {
    text-align: right;
}

p.table_caption {
}

p.table_caption span.table_caption_label {
    font-style: italic;
}

p.table_caption span.table_caption_text {
}


div.fig-group div.row {
	column-count: 2;
	margin-bottom: -30px;
}

div.fig-group div.row figure {
	float: left;
	padding: 5px;
}

div.fig-group div.row::after {
	content: "";
	clear: both;
	display: table;
}

img {
    max-width: 100%;
    min-width: 50%;
    margin-top: 2ex;
    margin-left: auto;
    margin-right: auto;
    display: block;
}


p.pic {
    text-align: center;
    margin-top: 0;
    text-indent: 0em;
}

p.pic_label {

    font-style: italic;
    font-weight: bold;
    font-size: small;
    text-align: center;
    padding-bottom: 1em;
}

p.pic_caption {
    font-weight: normal;
    font-size: small;
    text-align: center;
    padding-bottom: 1em;
}

p.pic_caption span.pic_caption_label {
    font-style: italic;
}

p.pic_caption span.pic_caption_text {

}

p.pic_caption + p {
    text-indent: 0;
}

p.table_label {
    font-style: italic;
    font-weight: bold;
    font-size: small;
    text-align: left;
    padding-top: 1em;
}

div[content-type = "signature"] p:first-of-type {
	margin-top: 4ex;
}

div[content-type = "dedication"],
div[content-type = "epigraph"],
blockquote[content-type = "epigraph"]
{
    text-align: right;
    margin-left: 3em;
    font-style: italic;
}

div[content-type = "dedication"] + p,
div[content-type = "epigraph"] + p,
blockquote[content-type = "epigraph"] + p
{
    margin-top: 2em
}

pre.epigraph {
	font-family: inherit;
}

blockquote[content-type="epigraph"] p.attrib {
	font-style: normal;
}

ol,
ul {
    padding-left: 1em;
}


ol.numbers {
    list-style-type: decimal;
}

ol.alphabet {
    list-style-type: lower-latin;
}

li {
    padding-left: 0.3em;
}


div.parallel {
	display: block;
	margin-top: 2ex;
}

table[content-type = "parallel-r2l"] tr td:nth-child(1) {
    text-align: right;
    direction: rtl;
    vertical-align: top;
}

table[content-type = "parallel-r2l"] {
    border-collapse: separate;
    border-spacing: 15px 0px;
}

table[content-type = "parallel-r2l"] tr {
    vertical-align: top;
}

table[content-type = "parallel"] tr td:nth-child(1) {
    vertical-align: top;
}

table[content-type = "parallel"] {
    border-collapse: separate;
    border-spacing: 15px 0px;
}

table[content-type = "parallel"] tr {
    vertical-align: top;
}

div.parallel table tbody tr td:nth-of-type(1),
div.parallel table tbody tr td:nth-of-type(2) {
	width: 50%;
	vertical-align: top;
}

div.parallel table {
	border-collapse: separate;
    border-spacing: 15px 0px;
	margin: 0px -15px;
}

div.parallel p.table_caption {
	margin-bottom: 0.5ex;
}

table.left-rtl tbody tr td:nth-of-type(1),
table.right-rtl tbody tr td:nth-of-type(2) {
	direction: rtl;
    text-align: right;
}

div.parallel + p {
    margin-top: 2ex;
}

.affiliation {
    font-size: small;
}

.author-email {
    font-size: small;
}

div.ref-list p {
    padding-left: 1.5em;
    text-indent: -1.5em;
}

div.ref-list-shorthands table {
	border-collapse: separate;
    border-spacing: 15px 0px;
	margin: 0px -15px;
}

div.ref-list-shorthands table tr td:nth-of-type(1) {
    vertical-align: top;
}

ol[class = "fn-group"] li {
    margin-top: .5em;
    margin-bottom: .5em;
}

a.fn-back {
    display: inline;
}


@media screen and (min-width : 1000px) {

    div.abstract {
        font-style: normal;
        margin: 0;
        margin-top: 2em;
        margin-bottom: 2em;
        padding-bottom: 1em;
        padding-top: 0.5em;
        border-top: 1px solid #44bb91;
        border-bottom: 1px solid #44bb91;
    }

    .abstract h3 {
        margin-top: 0em;
    }


    .toc {
        position: fixed;
        z-index: 1; /* Stay on top */
        top: 0; /* Stay at the top */
        margin: 3em auto;
        background-color: #eee;
        overflow-x: hidden; /* Disable horizontal scroll */
        max-height: calc(100vh - 9rem);
        overflow-y: auto;
        padding-top: 1em;
        padding-bottom: 1.5em;
        padding-left: 1em;
        float: left;
        width: 15em;
        border-radius: 25px;
        border: 0px solid #eee;
    }

    /* The navigation menu links */
    .toc a {
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 0.5em;
        text-decoration: none;
        color: black;
        display: inline-block;
    }

    .toc a:hover {
        color: #44bb91;
        background-color: #eee;
    }


    .toc h2,
    .toc h3
    {
        display: none;
    }


    /* Style page content */
    .main {
        /*    margin-left: 280px; /* Same as the width of the sidebar *\/*/
        padding: 0px 10px;
        width: 60%;
        margin-left: 17em;
        margin-right: auto;
    }
}


@media screen and (max-width : 1000px) {
    .main,
    .toc {
        width: 100%;
        margin: 0;
    }

    div.abstract-and-toc {
        font-style: normal;
        margin: 0;
        margin-top: 2em;
        margin-bottom: 2em;
        padding-bottom: 0.5em;
        padding-top: 1em;
        border-top: 1px solid #44bb91;
        border-bottom: 1px solid #44bb91;
    }

    /* The TOC */

    .toc {
        top: 0; /* Stay at the top */
        margin: 0em;
        overflow-x: hidden; /* Disable horizontal scroll */
        padding-top: 1em;
        padding-bottom: 1em;
    }

    /* The navigation menu links */
    .toc a {
        padding-left: 2%;
        padding-right: 2%;
        padding-top: 0em;
        text-decoration: none;
        color: black;
        display: inline-block;
    }

    .toc a:first-of-type {
        padding-top: 0em;
    }

    .toc a:hover {
        color: #44bb91;
        background-color: transparent;
    }

    .toc h2,
    .toc h3 {
        margin-top: 0em;
        padding-left: 2%;
        padding-right: 2%;
    }

    div.abstract {
        margin-top: 0em;
        margin-bottom: 0em;
    }

    div.abstract h3 {
        margin-top: 0em;
    }
	
	div.fig-group div.row {
	column-count: 1;
	margin-bottom: -30px;
}

}

