/*
	Font Styles for John Benjamins Publishing.
*/
@import url(//fonts.googleapis.com/css?family=Noto+Sans:400,400italic,700,700italic&display=swap);
@import "assignments.css";

:root {
  --references__item-title : var(--jb-blauw);
  --orcid-main-color: #a6ce39;
  --ror-main-color: #53BAA1;
  --refauth-color: #7c2529;
  font-display: swap;
  --font-size:10.5pt;
}
body, td, button { 
  font-family: "Noto Sans", "Noto Sans SC", sans-serif; 
  font-size: var(--font-size);
	line-height: 1.65em;
}
.booktext ul {
  padding-inline-start:1em;
}
ul li {
	list-style: outside;
	list-style-type:"\2013\2002"; 
	margin-left: 0em;
	margin-bottom: 0.25em;
}

li li {
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	_margin-left: 1em;
}

ol li, ul li{
	max-width: 45em;
}
ul.articles .heading-label {
  font-weight:bold;
}

/* styles for static pages */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3em;
    margin-top: .75em;
    margin-bottom: .25em;
}
h1 + h2 {
  margin-top:0;
  padding-top:0;
}

h1	{
	font-size: 1.5em;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: .5em;
}

h2, .parent-subject	{
	font-size: 1.2em;
	font-weight: bold;
	color: #666633;
	line-height:1.75em;
}

h3 {
	font-size: 1.1em;
	font-weight: bold;
}
footer h3 {
    padding-top:0;
    margin-top:0;
}

h4 {
	font-size: 1.1em;
	font-weight:normal;
	font-style:italic;
}

h5 {
	font-size:1em;
	font-weight: bold;
}

h6 {
	font-size:0.85em;
	font-weight: bold;
}

p {
    line-height: 1.65em;
    margin-bottom: 0.6em;
    margin-top: 0;
    max-width:45em;
}
p.wide {
  max-width:initial;
}

.email {
	color: #003c83;
}

.news_date{
	color:#696969;
}

.hi {
	background-color:yellow;
}

/*  reference styling */
details.toc .ref-list {
  margin-top:.66em;
  margin-bottom:.33em;
}
details.toc > section.ref-list > span.toc-title {
  font-size:1.2em;
  font-weight:bold;
}
details.toc > section > div > span.toc-title {
  font-size:1.1em;
  font-style:italic;
}
.reference {
	display: block;
	text-indent: -6.6em;
	margin:0em;
	margin-left: 6.6em;
	line-height: 1.65em;
	margin-top: .25em;
/*	max-width: 45em;*/
}
.reference .doi-image-logo-container {
  display: inline-block;
  text-indent: 0;
  position: relative;
  top: .45em;
}
.reference.labelref {
    margin-left:0;
}
.sourcefirst .refrole {
    min-width:0;
    padding-left:0;
}
.sourcefirst {
    text-indent:-6.6em;
    margin-left:0em;
}
.refauth {
	font-weight:bold;
	color:var(--refauth-color);
}
.refline .refauth {
    color:#555;
}

#cited-by {
  display:inline-block;
}
.sort-box {
  background-color:#def;
  padding:.5em;
  border-radius:.25em;
  clear:both;
  position:sticky;
  top:100px;
}
.sort-box .collapse {
  width: 2em;
  display:inline-block;
  float:right;
  opacity:.5;
}
.sort-box:hover .collapse {
  opacity:1;
}
.sort-box[data-state=closed] .collapse svg {
  transition: all .5s;
  rotate: 0deg;
}
.sort-box[data-state=open] .collapse svg {
  transition: all .5s;
  rotate: 180deg;
}
.cited-by .refauth {
  margin-top:.7em;
}
.hidden {
	display:none;
}

.refauth.hidden+ *::before {
  content:"\2014\2014\2014";
  display:inline;
  color:var(--refauth-color);
  font-weight:bold;
  letter-spacing:-.1em;
}
.refline {
	margin-top: .1em;
	margin-bottom:.5em;
    position:relative;
}
.refyear {
	color:#811;
}
/* make the main title bold */
.chapter-title
, .reference .article-title
, .refyear + .refsource
, .refrole + .chapter-title {
  font-weight:bold;
  font-style:normal;
  color:var(--references__item-title);
}
.refsource, .transliteratedsource {
	font-style:italic;
}
.refsource[lang=zh-hant],
.refsource[lang=zh-hans],
.refsource[lang=zh]
{
    font-style:normal;
}
.refseries
, a.refseries:link
, a.refseries:visited {
	color:#118;
}
.space {
	display:inline-block;
	width:.3em;
}
.singleref {
	margin-bottom:.5em;
	}
.refrole {
    min-width:3em;
    padding-left:.75em;
    text-indent:0;
    display:inline-block;
}

.labelref .refrole {
    position:static;
    float:none;
    min-width:initial;
    padding-left:0;
}

.firstref {
	margin-bottom:0;
	}
.nextref {
	margin-top: 0;
	margin-bottom:0;
}
.lastref {
	margin-top: 0;
}
.otherref{
	text-indent: -2.75em;
	margin-left:0;
}
.labelref {
    text-indent:0;
    margin-left:2.5em;
}
.labelfirst {
    text-indent:-2.5em;
    margin-left:2.5em;
}
.edited {
	text-indent: -6em;
}
.samedash {
	letter-spacing:-.15em;
	font-stretch: expanded;
}
.stars {
	margin-top:1em;
	text-align: center;
}

.sc, sc {
    font-variant: small-caps;
}
.italic {
	font-style:italic;
}
.refsource .italic {
    font-style:normal;
}
.roman {
	font-style:roman;
}

.tabLabel {
	color:white;
	font-size:.95em;
}

.welcome {
	color:#003399;
}

.first {
   margin-top: .75em;
}
.ebpb {
    font-style: italic;
}
.ebpbnote {
    color: #9d0000;
    font-weight:bold;
}

a:link,a:visited {
	text-decoration:none;
	color:var(--oranje);
	font-weight:bold;
}
/* use bold for all 'internal' links when classified as 'catalog' */
a.catalog {
  font-weight:bold;
}
a.series:link, a.series:visited {
	text-decoration:none;
	color:#253776;
}
a.rorlink:link, a.rorlink:visited {
  font-weight:normal;
  color:inherit;
}
a:hover, a:active, a:focus-visible {
	text-decoration:underline;
	text-decoration-color:#9ccef3;
	text-decoration-thickness:.3em;
	text-decoration-skip-ink:none;
	color:var(--oranje);
}

/* details font! */
.bbr td {
	vertical-align:top
}

.bbr p {
	margin-top:0;
}
.bbrlink {
	font-weight: bold;
	font-size: .8em;
	font-family: Verdana, sans serif;
	background-color: #f0f0f0;
	padding-top: 0;
	padding-bottom: .05em;
	padding-left: .3em;
	padding-right: .15em;
	letter-spacing: .1em;
	border:1px solid;
	border-radius:.35em;
	border-color: #ccc;
	vertical-align:.1em;
}

/* ORCiD styles, from the ORCiD site */
.id-wrapper.orcid-id {
    border: 1px solid var(--orcid-main-color);
}
.id-wrapper.ror-id {
    border: 1px solid var(--ror-main-color);
}
.id-wrapper {
    margin-bottom: 10px;
    width: 100%;
    max-width:18em;
    box-sizing: border-box;
}
h2 + .id-wrapper {
  margin-top: 1em;
}
.full-name {
    font-family: 'Gill Sans W02', 'Helvetica', sans-serif;
    font-weight: bold;
    font-style: normal;
    margin: 10px 0 0 !important;
    line-height: 1;
    word-break: break-word;
    padding-bottom: 10px;
}
.id-wrapper .id-container {
    padding: 5px;
}
.id-banner-header abbr{
      text-decoration:none;
}
.orcid-id .id-banner-header > * {
      background: var(--orcid-main-color);
}
.ror-id .id-banner-header > * {
      background: var(--ror-main-color);
}
.id-wrapper .id-banner-header > * {
    height: 21px;
    font-size: 16px;
    font-weight: 800;
    padding: 0 5px;
    color: #FFF;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.ror-id .id-container svg {
  display:inline-block;
  width:4.5em;
  height:1.5em;
  margin-right:.5em;
}

.ror-id .id-container {
  font-size: 1.1em;
  display:flex;
}

.mini-orcid-icon {
  margin: 0 .25em;
}
.mini-ror-icon {
  position:relative;
  top:0;
  left:-.15em;
  }
.mini-ror-icon svg {
  width:.95em;
  height:auto;
}
.mini-orcid-icon svg {
  width: 1.2em;
  height:1.2em;
  transform: scale(1.25) translateY(.2em);
  
}
.member, .name {
    position:relative;
    line-height:1.8em;
}
.name_orcid {
    position:relative;
    display:inline-block;
}
.member .affiliation .city:before {
  content: ', ';
}

.contributors {
    display: table;
    line-height: 1.7em;
}
.contribgroup {
    font-weight: normal;
    font-size: 1.05em;
    display:table-row;
}
.contribgroup > * {
    margin-top: .5em;
    padding-bottom: .35em;
/* added to work with new .contribgroup_heading alignment below  - 20/5/22 jf */
    display:table-cell;
}
/*.contribgroup_heading {
    white-space: nowrap;
    display: table-cell;
    color: #253776;
    padding-right:2.5em;
    font-weight:bold;
} removed due to errors with extra_editorial content - 20/5/22 jf */
.contribgroup_heading {
    white-space: nowrap;
    color: #253776;
    padding-right: 2.5em;
    font-weight: bold;
/*    min-width: 40mm;*/
    vertical-align: top;
}
.articleinfo .contribgroup,
.articleinfo .contribgroup > * {
  display:block;
}

.articleinfo .contribgroup_heading {
  padding-right: .5em;
  padding-bottom:0;
}
.articleinfo .contribgroup_heading + .contribgroup_members {
  margin-top:0;
}


/* override for series with long roles, like KL */
.board.long-role .contribgroup_members {
  margin-top:0;
}
.board.long-role .contribgroup_heading {
  display:block;
  padding-bottom:0;
}

/* tbv Kudos */
.kudos-widget-article {
    background-color:#def;
}
.kudos-widget ul li {
    max-width:initial;
    list-style:none;
}
.kudos-widget .kudos-widget-article h1.kudos-article-title {
    display:none;
}
/* tbv subscriptions tab */
tr {
    vertical-align: top;
}
tr.subscriptions-backset td {
    padding: 0 .5em .5em 0;
}
.issue {
    line-height:2em;
/*    display: table-row; obsolete: stems from a previous layout */
}
.issue .label, .issue .title {
    display: table-cell;
}
.issue .label {
    min-width:4em;
}
.issue .title {
    padding-left: 1em;
    font-weight:bold;
}

/* this fixes an odd 'underline' when hovering over the JB logo in the header */
#header-content > div.logo-container > a {
    text-decoration:none;
}
@media screen and (min-width: 650px) { 
    .mini-orcid-icon.hanging {
        position:absolute;
        left:-2em;
        top:0;
    }
}
@media screen and (max-width: 650px) {
    .mini-orcid-icon.hanging {
        position:absolute;
        right:-.25em;
        top:0;
    }
    .mini-orcid-icon.hanging ~ b {
        margin-right:2em;
    }
    .member .name {
      line-height:initial;
    }
    /* suppress dividers when the affiliations are on their own line */
    .member .name + .pipe
    , .member .affiliation + .pipe
    {
      display:none;
    }
    .affiliation {
      display:block;
    }
    .member + .member {
      margin-top:.5em;
    }
    .contribgroup {
      display:block;
    }    
    .issue .label, .issue .title {
        display:inline;
        padding:0;
    }
    .issue .title:before {
        content: ". ";
        color: var(--oranje);
    }
    .contribgroup_heading {
	    display: block;
	}
	.contribgroup_members {
	    margin-top:0;
	}

}
