
/* Copyright 2018 Jan Stutzmann, University of Bern, Bern Open Publishing */



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;
    }

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;
}

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: #E2D0E6;
	
}
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;
}

.abstract {
    font-size: 100%;
    line-height: 1.6;
    margin-bottom: 2em;
    padding-left: 2%;
    padding-right: 2%;
}
.contrib {
    font-size: 80%;
    font-style: italic;
    border-top: 1px solid #945DA1;
    border-bottom: 1px solid #945DA1;
    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: #945DA1;
}
.subtitle,
.trans-abstract--subline {
    margin-top: -0.5em;
    color: #555;
}
.subtitle {
    font-size: 2.0em;
    font-weight: 300;
}
.trans-abstract,
.trans-abstract--p {
    line-height: 1.6;
}
a.xref-bibr {
    padding: 1px 2px 3px 2px;
    color: #000;
    text-decoration: none;
    background-color: #E2D0E6;
}
a:hover.xref-bibr {
    background-color: #E2D0E6;
    background-color: #E2D0E6;
    text-decoration: underline;
}

a.xref-bibr {
    padding: 1px 2px 3px 2px;
    color: #000;
    text-decoration: none;
    background-color: #E2D0E6;
}
a:hover.xref-bibr {
    background-color: #E2D0E6;
    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: 1em;
}

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 #945DA1;*/
    /*	border-bottom: 1px solid #945DA1;*/
}


h2 {
    color: #945DA1;
    margin: 1.5em 0 0.6em 0;
}
h3 {
    font-weight: 600;
    color: #945DA1;
    margin: 1.5em 0 0.4em 0;
    font-size: 1.3em;
}

h4 {
    font-weight: 600;
    color: #945DA1;
    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;
    line-height: 1.5;
    font-weight: normal;
    font-style: normal;
    margin-left: 2em;
}

div.back {
    margin-top: 2.5em;
    border-top: 1px solid #945DA1;
    border-bottom: 1px solid #945DA1;
    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: #E2D0E6;
}

div:target {
    background-color: #E2D0E6;
}

li.fn:target {
    background-color: #E2D0E6;
}

ref:target {
    background-color: #E2D0E6;
}


.back h5 {

    color: #945DA1;
}

table.tbase {
    border-collapse: collapse;
    border-color: #945DA1;
    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: #945DA1;
    border-bottom-color: #945DA1;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: #945DA1;
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: #945DA1;
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: #945DA1;
    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 {}


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 = "dedication"],
div[content-type = "epigraph"]
{
    text-align: right;
    margin-left: 3em;
    font-style: italic;
}

div[content-type = "dedication"] + p,
div[content-type = "epigraph"] + p
{
    margin-top: 2em
}

ol,
ul {
    padding-left: 1em;
}


ol.numbers {
    list-style-type: decimal;
}

ol.alphabet {
    list-style-type: lower-latin;
}

li {
    padding-left: 0.3em;
}


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;
}

.affiliation {
    font-size: small;
}

.bio {
    font-size: small;
	font-style: italic;
}

.author-email {
    font-size: small;
}

div.ref-list p {
    padding-left: 1.5em;
    text-indent: -1.5em;
}

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;
    line-height: 1.6;
    margin: 0;
    margin-top: 2em;
    margin-bottom: 2em;
    padding-bottom: 1em;
    padding-top: 0.5em;
    border-top: 1px solid #945DA1;
    border-bottom: 1px solid #945DA1;
}

.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: #945DA1;
  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;
    line-height: 1.6;
    margin: 0;
    margin-top: 2em;
    margin-bottom: 2em;
    padding-bottom: 0.5em;
    padding-top: 1em;
    border-top: 1px solid #945DA1;
    border-bottom: 1px solid #945DA1;
}
 
  /* 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: #945DA1;
  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;
}

}