@import url("fonts/libertinus.css");

body, a {
	text-decoration: none;
}

header div {
	min-height: 10px;
	background-color: var(--bs-primary);
}

main.container {
	min-height: calc(100vh - 18.15rem);
}

nav a.nav-link.active {
	font-weight: bold;
}

/* START - toc (table of content on a page) */
nav.toc>ul.toc-list>li.toc-list-item {
	margin-bottom: .5rem;
	line-height: 1.2em;
	text-indent: -1.25rem;
	padding-left: 1.75rem;
}

nav.toc li.toc-list-item:not(:last) {
	margin-bottom: 5px;
}

ul.toc-list:not(.is-collapsed) {
	list-style: none;
}

.toc > ul {
	font-weight: bold;
	font-size: 118%;
}

.toc > ul  ul {
	font-weight: bold;
	font-size: 85%;
}

.toc > ul  ul ul {
	font-weight: normal;
	font-size: 100%;
}

.toc .toc-list {
	background-color: var(--bs-white);
	padding-left: 0;
}

.toc .toc-list-item {
	background-color: var(--bs-white);
	padding-left: 0.5rem;
}

.toc .is-active-link::before {
	background-color: var(--ir-nav-main-background-color) !important;
}

.toc .is-active-li {
	background-color: var(--ir-nav-main-background-color);
	color: white !important;
}

.toc-list .is-active-li ul {
	color: black;
}

.toc .is-active-link {
	font-weight: unset !important;
	color: white !important;
}

.toc .toc-link {
	text-decoration: none;
	color: black;
}
/* ENDE - toc */

div.wsrb-xmlsource > pre {
	height: max(calc(100vh - 12rem), 32rem);
	resize: both;
	overflow: scroll;
	font-size: 85%
}

span.unicode-symbol {
	font-family: "Segoe UI Symbol, monospace"
}

button.wsrb-btn-te-info {
	float: left;
	padding: 0px 6px;
	height: 1.75em;
}

button.wsrb-btn-te-info span {
	color: #D59423;
}

a.wsrb-btn-outline-tertiary, button.wsrb-btn-outline-tertiary {
	color: #994A00;
	border: 1px solid #994A00;;
}

a.wsrb-btn-outline-tertiary:hover, button.wsrb-btn-outline-tertiary:hover
	{
	color: #004A99;
	border: 1px solid #004A99;
}

.wsrb-highlight {
	background-color: #FFFFCC;
}

div.wsrb-search-highlight {
	margin-bottom: .5rem;
	padding: 0.25rem 1rem;
	background: #fcf3cf;
	font-size: .85rem;
}

div.wsrb-search-highlight>span em {
	background: #f7dc6f;
	padding: 0 .25rem;
	margin: 0 .25rem;
}

.wsrb-icon-flip-x {
	display: inline-block;
	transform: scaleX(-1);
}

div.wsrb-spruch table tr td.wsrb-num {
	font-family: Open Sans;
	font-size: 0.65rem;
	color: var(--bs-gray);
	vertical-align: top;
}

table.wsrb-spruch-text-translation, table.wsrb-spruch-verweise, table.wsrb-spruch-apparat,
	table.wsrb-spruch-texteinheit {
	width: 100%;
	table-layout: fixed;
}

table.wsrb-spruch-text-translation col:nth-child(1), table.wsrb-spruch-text-translation col:nth-child(4),
	table.wsrb-spruch-texteinheit col:nth-child(1) {
	width: 1.5rem;
}

table.wsrb-spruch-text-translation col:nth-child(2), table.wsrb-spruch-text-translation col:nth-child(5),
	table.wsrb-spruch-texteinheit col:nth-child(2) {
	width: auto;
}

table.wsrb-spruch-text-translation col:nth-child(3), table.wsrb-spruch-texteinheit col:nth-child(3)
	{
	width: 3.0rem;
}

table.wsrb-spruch-text-translation td {
	vertical-align: top;
}

table.wsrb-spruch-text-translation td:nth-child(2) {
	font-family: Libertinus Serif;
	font-size: 1.1rem;
}

table.wsrb-spruch-text-translation td:nth-child(5) {
	font-family: Libertinus Sans;
	font-size: 1.1rem;
}

div.wsrb-spruch-transkription table td:nth-child(2), table.wsrb-spruch-verweise td:nth-child(1),
	table.wsrb-spruch-apparat td, div.wsrb-card-apparat .card-body
	{
	font-family: Libertinus Sans;
	font-size: .85rem;
}

table.wsrb-spruch-texteinheit td:nth-child(3) {
	font-size: var(--bs-body-font-size);
}

table.wsrb-spruch-apparat p {
	margin-bottom: 0.5rem;
}

table.wsrb-spruch-apparat p:LAST-CHILD {
	margin-bottom: 0;
}

div.wsrb-spruch span.wsrb-corr {
	font-style: italic;
	display:inline-block;
	padding: 0 .075em;
}

span.wsrb-bibl-abbr {
	font-weight: bold;
}

div.wsrb-zitierlink td:nth-child(2), .wsrb-metadata, .wsrb-facetlist {
	font-family: Open Sans;
	font-size: .85rem;
}

div.wsrb-jumbotron {
	font-family: Libertinus Sans;
	font-size: 1.1rem !important;
	border-bottom: 2px solid var(--bs-primary);
	padding-bottom: 2rem;
}

span.wsrb-font {
	font-family: Libertinus Sans;
	font-size: 115%;
	line-height: 1em;
}

/* für 'WS'  und 'RB' sowie IDs 'e123_abc-def' */
span.wsrb-label {
	font-family: Libertinus Sans;
	font-size: 115%;
	line-height: 1em;
	white-space: nowrap;
}

div.wsrb-docs div {
	margin-bottom: 1rem;
}

div.wsrb-docs p {
	margin-bottom: 0.5rem;
	text-align: justify;
}

div.wsrb-docs ol.wsrb-ol-parentheses {
	counter-reset: list;
}

div.wsrb-docs ol.wsrb-ol-parentheses>li {
	list-style: none;
	text-indent: -1.95em;
	padding-bottom: 0.5rem;
}

div.wsrb-docs ol.wsrb-ol-parentheses>li:before {
	content: "(" counter(list) ")\00a0\00a0\00a0";
	counter-increment: list;
}

div.wsrb-docs ul>li {
	padding-bottom: 0.5rem;
}

div.wsrb-footnotes {
	margin-top:3rem;
}

div.wsrb-footnotes hr {
	width: 10rem;
	margin-bottom: 0.25rem;
}

div.wsrb-footnotes table tr>*:first-child {
	min-width: 1rem;
	vertical-align: baseline;
}

div.wsrb-footnotes table tr>*:not(:first-child) {
	font-size: .85rem;
}

a.wsrb-orcid {
	padding-left: 1.5rem;
	position: relative;
}

a.wsrb-orcid::before {
	content: url(../images/orcid_icon.svg);
	transform: scale(0.5);
	position: absolute;
	top: -.4rem;
	left: -0.5rem;
}

span.wsrb-app-lem,
span.wsrb-biblref {
	color: var(--bs-exposed);
	cursor: pointer;
}

div.wsrb-popover > div.popover-body {
	padding: 0;
}

div.wsrb-popover .card-header strong,
div.wsrb-spruch table tr th,
div.wsrb-zitierlink table tr th {
	font-family: Open Sans;
	font-size: .85rem;
	color: var(--bs-gray);
}

div.wsrb-popover .card-body table tr td {
	vertical-align:baseline;
}

div.wsrb-popover-texteinheit {
	min-width: 12rem;
}

div.wsrb-popover-apparat {
	min-width: 20rem;
}

span.wsrb-sic-rotated_180 {
	display: inline-block;
	transform: rotate(180deg) translate(0, -.15em);
	padding: 0 .05em;
}

span.wsrb-sic-mirrored_vertically {
	display: inline-block;
	transform: scaleX(-1);
	padding: 0 .05em;
}

span.wsrb-italic {
  font-style:italic;	
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

h3, .h3 {
  font-size: 1.4rem;
  font-weight:inherit;
}

h4, .h4 {
  font-size: 1.2rem;
  font-weight:inherit;
}

h5, .h5 {
  font-size: 1rem;
  font-weight:600;
}

h6, .h6 {
  color: var(--bs-body-color);
  font-weight:600;
}
