/*
===============================================================================
 Project Wulfila
 ------------------------------------------------------------------------------
 
 CSS file for the word analysis page in the digital edition.
 
 Extends and overrides main.css and browse.css.
 
 ------------------------------------------------------------------------------
 tdh.20050324, 20260616
===============================================================================
*/


/* https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@40,100..700,1,0&icon_names=expand_all,keyboard_arrow_left,keyboard_arrow_right,keyboard_arrow_up,list,toc */

@font-face {
	font-family: 'Material Symbols Rounded';
	font-style: normal;
	font-weight: 100 700;
	src: url(../fonts/icons.woff2) format('woff2');
}

.material-symbols-rounded {
	font-family: 'Material Symbols Rounded';
	font-weight: 300;
	font-style: normal;
	font-size: 25px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	font-feature-settings: 'liga';
	-moz-font-feature-settings: 'liga';
	-webkit-font-feature-settings: 'liga';
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;

	/* custom: */
	vertical-align: middle;
	margin-left: 0em;
	padding: 0.15em;
}

@media(hover: hover) and (pointer: fine) {
	.material-symbols-rounded:hover {
		background-color: #edd;
		border-radius: 0.2em;
	}
}

.material-symbols-rounded:active {
	background-color: #dee;
	border-radius: 0.2em;
	color: darkorange;
}

html {
	scroll-behavior: smooth;
}

h2 {
	font-size: 13pt;
}

.POS, .tag {
	text-transform: lowercase;
}

.lemma {
	font-weight: bold;
}

.ambiguous {
	color: #FF5B01;
}

/* token being viewed */
a.selected {
	font-weight: bold !important;
}

#note {
	border-top: 3px solid #FFEDDD;
	margin-top: 2em;
}

strong.current {
	color: #640000;
} /* current token in context */

/*
strong.diff a, strong.diff {
	color: olive;
	font-weight: normal;
}
*/

div.token {
	border-radius: 0.65em;
	border-top: 1px solid #F6F6F6;
	border-right: 1px solid #DFDFDF;
	border-bottom: 1px solid #DFDFDF;
	border-left: 1px solid #F6F6F6;
	background-color: #F6F6F6;
	margin-top: 1em;
	padding: 0 1em 1em 1em;
	max-width: 80ch;
	position: relative;
}

div.context {
	margin-bottom: 1.5em;
}

a.unknown {
	color: orange;
}

/*
i:lang(got) {
	color: olive;
}
*/

.gothic {
	color: #7D634B;
}

i:lang(grc) {
	font-style: normal;
}

#token-navigation, #verse-navigation {
	position: absolute;
	top: 0.6em;
	right: 0.6em;
}
p.manuscript, p.status {
	font-size: 11pt;
}

dt {
	font-size: 13pt;
	margin-bottom: 0.5em;
	margin-top: 0;
	padding: 0;
}

dl {
	margin-bottom: 0em;
}

span.subtoken {
	padding: 0;
	margin-left: 0;
	margin-right: 0;
}

span.subtoken span {
	border: 0.05em solid #ccc;
	padding: 0.2em 0.35em;
}

span.subtoken span.subtoken-index {
	background-color: #f9f9f9;
	border-radius: 0.25em 0 0 0.25em;
	color: gray;
}

span.subtoken span.subtoken-form {
	border-radius: 0 0.25em 0.25em 0;
	border-left: none;
	background-color: white;
}

.notes::before {
	display: block;
	content: 'Notes';
	margin-top: 1.5em;
	font-size: 13pt;
}

.status-ok {
	font-style: normal;
	color: green;
}

.status-ambiguous {
	font-style: normal;
	color: #FF5B01;
}

.lemmas {
	list-style-type: circle;
	margin-left: 1em;
	padding-left: 0;
	margin-top: 0;
}

.lemmas.with-subtokens {
	margin-top: 1em;
	list-style-type: none;
}

.lemmas li {
	margin-bottom: 1em;
}

li.tag {
	list-style-type: square;
	margin-bottom: 0;
}


html.js-loading #tokens {
	visibility: hidden;
}

#tokens.show-all .token {
	display: block;
}
#tokens.show-all .token .tokenlink {
	display: inline;
}
#tokens.show-all #token-navigation {
	display: none;
}

#tokens.show-single .token {
	display: none;
}
#tokens.show-single .token .tokenlink {
	display: none;
}
#tokens.show-single #token-navigation {
	display: block;
}
#tokens.show-single .token.active {
	display: block;
}

@media print {
	main,
	#body {
		margin: 0 0 0 0.5cm;
		padding: 10px 10px 10px 10px;
	}
	main div,
	#body div {
		background-color: white;
		border: 0;
		padding: 0;
	}
	footer {
		font-size: 8pt;
		margin: 0 0 0 0.5cm;
		padding: 10px 10px 10px 10px;
	}
}