@charset "utf-8";

/* ////////////////////////////////////////////////////////////////////// */
/* Variables */

:root {
	--maincolour: #2a90b5;
	--accentcolour: #007aa6;
	
	/* map colours */
	--mapcolourA: var(--maincolour);
	--mapcolourB: #3e9abc;
	--mapcolourC: #459ebe;	
	--mapcolourD: #55a7c4;
	--mapcolourE: #5facc8;
}

/* ////////////////////////////////////////////////////////////////////// */
/* General */

html {
	height: 100%;
	background-color: #f2f2f2;
	scroll-behavior: smooth;
}

/* make text unselectable */
.noselect {
	-webkit-touch-callout: none; 	/* iOS Safari */
	-webkit-user-select: none; 		/* Safari */
	-khtml-user-select: none; 		/* Konqueror HTML */
	-moz-user-select: none; 		/* Firefox */
	-ms-user-select: none; 			/* Internet Explorer and Edge */
	user-select: none; 				/* Chrome, Opera, Android */
}

/* ////////////////////////////////////////////////////////////////////// */
/* Fonts */

* {
	font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 12px;
	color: #555551;
	box-sizing: border-box;
	text-rendering: optimizeLegibility;
}

strong {
	font-weight: 700;
}

em, .iso {
	/* font-style: italic; */
	font-size: 95%;
}

strong, em, a {
	font-size: 100%;
}

/* ////////////////////////////////////////////////////////////////////// */
/* Body */

body {
	width: 100%;
	margin: auto;
}

/* ////////////////////////////////////////////////////////////////////// */
/* Links */

a {
	outline: none;
	font-family: inherit;
	text-decoration: none;
	color: var(--maincolour);
}

a:hover,
a:focus {
	text-decoration: underline;
	color: var(--maincolour);
}

a.ref {
	color: #8a8a87;
}

a.ref:hover ,
a.ref:focus{
	text-decoration: underline;
	color: #a1a19e;
}

/* ////////////////////////////////////////////////////////////////////// */
/* Headings */

/* section heading */
h1 {
	min-width: 1012px;
	height: 32px;
	
	font-size: 175%;
	font-style: italic;
	font-weight: 700;
	
	color: #f2f2f2;
	background-color: black;	/* IE fallback */
	background-color: var(--maincolour);

	padding: 5px 0 0 76px;
	margin-bottom: 16px;
}

/* corpus identifier */
h1 span {
	font-size: 75%;
	color: #f2f2f2;
	font-style: normal;
	
	margin: 0 0 0 12px;
}

/* subsection heading */
h2 {
	min-width: 860px;

	font-size: 155%;
	font-weight: 700;
	color: var(--maincolour);
	
	margin-bottom: 8px;
}

h2 em {
	font-weight: 700;
	color: var(--maincolour);
}

/* link list heading */
h3 {
	background-color: var(--maincolour);
	line-height: 2px;
	
	margin: auto 10px 12px 10px;
}

h3 span {
	color: var(--maincolour);
	background-color: #ffffff;
	font-size: 145%;
	font-style: italic;
	padding-right: 12px;
}

/* corpus authors */
h4 {
	min-width: 860px;
	
	font-size: 1.3em;
	font-style: italic;
	
	margin: 4px 0 21px 0;
}

/* list of publications subheading */
h4.pubversion {
	font-size: 1.25em;
	font-style: normal;
	font-weight: 700;
	
	margin: 18px 0 2px 0;
	padding: 0 0 0 10px;
}

/* ////////////////////////////////////////////////////////////////////// */
/* Header */

header {
	width: 100%;
	max-width: 1000px;
	min-width: 1000px;
	height: 311px;
	
	background-color: #ffffff;
	border-top: 2px solid #555551aa;
	margin: 0 auto 0 auto;
	
	position: relative;
}

#banner {
	overflow: visible;
	position: absolute;
	
	padding: 81px 150px 0 150px;
}

#banner text tspan {
	font-size: 100%;
}

/* ////////////////////////////////////////////////////////////////////// */
/* Horizontal navigation */

nav {
	overflow: visible;
	width: 100%;
	min-height: 32px;
	z-index: 9999;

	position: sticky;
	top: 0;
	align-self: flex-start;
	
	background-color: black; 	/* IE fallback */
	background-color: var(--maincolour);
}

nav ul {
	width: 1012px;
	
	margin: 0 auto 0 auto;
}

nav ul li {
	display: block;
	float: left;
	width: 125px;
	height: 32px;
	
	transition: 0.2s linear;
}

nav > ul > li:first-child {
	width: 131px;
	padding-left: 6px;
}

nav > ul > li:last-child {
	width: 131px;
	padding-right: 6px;
}

nav ul li a {
	display: block;

	font-size: 110%;
	text-align: center;
	font-style: italic;
	text-decoration: none;
	color: #f2f2f2;
	
	padding: 10px 10px 0 10px;
	height: 32px;

	transition: 0.2s linear;	
	cursor: pointer;
}

nav > ul > li:first-child a {
	font-weight: 700;
	font-style: normal;
}

nav ul li:hover {
	background-color: var(--accentcolour);
	transition: 0.1s linear;
}

nav ul li a:hover,
nav ul li a:focus {
	color: #f2f2f2;
	text-decoration: none;
}

/* Dropdown */
nav ul li {
	position: relative;
}

nav ul li ul {
	width: 125px;
	position: absolute;
	z-index: 9999;
	visibility: hidden;
	display: none;
}

nav ul li:hover > ul,
nav ul li:focus-within > ul,
nav ul li ul:hover {
	visibility: visible;
	display: block;
}

nav ul li > ul li {
	position: relative;
	
	width: 125px;
	height: 26px;

	line-height: 26px;
	font-weight: normal;
}

nav ul li ul li a {
	width: 125px;
	height: 26px;
	font-size: 100%;
	position: absolute;
	padding: 0;
	
	background-color: black;	/* IE fallback */
	background-color: var(--maincolour);
}

nav ul li > ul li a:hover,
nav ul li > ul li a:focus {
	text-decoration: none;
	color: #f2f2f2;
	background-color: var(--accentcolour);
}

/* Theme switches */
#colourswitches {
	background-color: var(--maincolour);
}

#colourswitches:hover {
	background-color: var(--accentcolour);
}

#colourswitches svg {
	overflow: hidden;
	display: inline-block;
	padding: 0;
	margin: 0;
}

/* Shift page anchors so they're not hidden by the navbar */
.anchor:target {
	padding-top: calc(56px + 15px);
	margin-top: calc(-56px - 15px);
}

/* ////////////////////////////////////////////////////////////////////// */
/* Boxes */

.container {
	width: 1000px;
	margin: 0 auto 0 auto;
}

.container > section {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	
	background-color: #ffffff;
}

.container > section {
	position: relative;
	padding: 24px 60px 56px 60px;
}

/* section separator */
.container > section {
	border-bottom: 1px solid var(--maincolour);
	margin-bottom: 36px;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Top links */

.top {
	right: 0px;	
}

.tomap {
	right: 21px;	
}

.top,
.tomap {
	position: absolute;
	z-index: 9998;
	bottom: -1px;

	width: 21px;
	height: 21px;
	
	transition: 0.3s linear;	
	fill: var(--mapcolourC);
}

.top:hover,
.tomap:hover {
	fill: #f2f2f2;
	background-color: var(--mapcolourC);
	transition: 0.15s linear;
}

/* ////////////////////////////////////////////////////////////////////// */
/* Paragraphs */

.block {
	position: relative;
}

.block > p {
	width: 420px;

	font-size: 125%;
	line-height: 1.35;
	text-align: justify;
	
	padding: 4px 0 6px 0;
	margin: 0 10px 0 10px;
}

.wideblock,
.wideblock > p {
	width: 880px;
}

.narrowblock {
	width: 440px;
}

.fileblock {
	width: 880px;
	margin-top: 24px;
}

.smallextraskip {
	margin-top: 12px;
}

.extraskip {
	margin-top: 24px;
}

.superextraskip {
	margin-top: 42px;
}

ul.lessskip {
	margin-bottom: 0px;
}

/* Epigram */
#epigram {
	width: 880px;
	font-size: 175%;
	line-height: 1.3;
	text-align: center;
	padding: 0 100px 0 100px;
}

/* Note paragraphs */
p.noteparagraph {
	font-style: italic;
	font-size: 105%;
}

/* ////////////////////////////////////////////////////////////////////// */
/* Generic lists */

.genericlist {
	width: 420px;

	list-style-image: url('../images/bull.svg');
	list-style-position: outside;
	
	padding: 4px 10px 0 21px;
	margin: 0 0 10px 10px;
}

p + .genericlist {
	margin-top: 4px;
}

.genericlist li {
	font-size: 120%;
	line-height: 1.35;
	text-align: justify;
	
	padding-left: 3px;
	margin-bottom: 5px;
}

.acknowledgements {		/* remove when length of columns is balanced */
	font-size: 90%;
}

/* ////////////////////////////////////////////////////////////////////// */
/* Fancy */

.fancy,
.sectionbreak,
.footerbreak {
	display: block;
	fill: var(--maincolour);
}

.fancy {
	width: 244px;
	height: 16px;
	margin: 21px 308px 29px 308px;
}

.sectionbreak {
	width: 940px;
	height: 2px;
	margin: 12px auto 36px auto;
}

.footerbreak {
	width: 940px;
	height: 2px;
	margin: 16px auto 7px auto;
	fill: #555551aa;
}


/* ////////////////////////////////////////////////////////////////////// */
/* List boxes */

.linklist {
	width: 440px;
	padding: 0 0 6px 0;
}

.bottomfloat {
	position: absolute;
	bottom: 0px;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Introduction list */

.introlist {
	width: 420px;

	list-style-image: url('../images/bull.svg');
	list-style-position: outside;
	
	padding: 4px 10px 0 21px;
	margin: 0 0 0px 10px;
}

p + .introlist {
	margin-top: 4px;
}

.introlist li {
	font-size: 125%;
	line-height: 1.35;
	text-align: left;
	
	padding-left: 3px;
	margin-bottom: 5px;
}

.introlist + .linklist {
	padding-bottom: 16px;
}

.introlist li:last-child {
	margin-bottom: 10px;
}

#introcitation {
	width: 440px;
	margin-bottom: 10px;
}

#overviewlist {
	margin-top: 12px;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Document list */
.doclist {
	list-style: none;
	margin: 14px 0 0 10px;
	padding-top: 4px;
}

.doclist li ul {
	display: grid;
	grid-auto-flow: row;
	grid-column-gap: 0px;	
	grid-template-columns: 1fr 50px 45px 45px 62px 53px;
	
	width: 420px;
	padding: 0 8px 0 10px;
}

.doclist li ul li {
	text-align: right;
	font-size: 95%;
	
	display: inline-block;
	line-height: 15px;
	height: 21px;
}

.doclist li ul li:nth-child(6n+1) {
	font-style: italic;
	font-size: 110%;
	text-align: left;
}

.doclist li ul li:last-child {
	font-style: italic;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Download buttons */

.doclist li svg,
.filelist li svg {
	width: 50px;
	height: 16px;
	overflow: hidden;
}

.filebutton > text {
	text-align: center;
	text-anchor: middle;
	fill: #f2f2f2;
}

.filebutton > text tspan {
	font-size: 100%;
	font-style: italic;
}

.zip > text tspan {
	font-size: 95%;
}

use.dl {
	fill: var(--mapcolourB);
	transition: fill 0.3s linear;
}

use.dl:hover {
	fill: var(--accentcolour);
	transition: fill 0.15s linear;
}

.filebutton > rect {
	fill: inherit;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Linguistic example */

#lingexample {
	margin-top: 42px;
}

#lingexample table {
	display: inline-block;
	margin: 3px 10px 0 0;
	
	padding: 2px 0 2px 0;
}

#lingexample table + table {
	padding-left: 12px;
	border-left: 1px solid #55555177;
}

#lingexample table tr td {
	font-size: 110%;
	padding: 4px 14px 5px 0;
}

#lingexample table tr:first-child td a {
	font-size: 115%;
	font-weight: 700;
	color: var(--accentcolour);
}

#lingexample table tr:first-child td span {
	color: var(--accentcolour);
	margin-left: 10px;
}

#lingexample table tr td strong {
	display: block;
	text-align: right;
	padding-left: 4px;
}

#lingexample table tr:nth-child(2) td {
	font-style: italic;
}

#lingexample table tr:nth-child(3) td span {
	font-variant: small-caps;
}

#lingexample table tr:nth-child(4) td,
#lingexample table tr:nth-child(5) td,
#lingexample table tr:nth-child(6) td {
	color: var(--maincolour);
}

#lingexample table tr:nth-child(1),
#lingexample table tr:nth-child(3),
#lingexample table tr:nth-child(6) {
	border-bottom: 1px solid #55555177;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Locator map */

#map-container {
	position: relative;
	
	min-width: 875px;
	min-height: 606px;
	
	margin: 24px 0 12px 0;
}

#map-base {
	position: absolute;
	overflow: visible;
}

#map-labels {
	position: absolute;	
}

/* ////////////////////////////////////////////////////////////////////// */
/* Versioning */

.versionlist {
	list-style: none;
	line-height: 1;
	text-align: center;
	
	margin: 12px 10px 0 10px;
	width: 420px;
}

.versionlist li:first-child {
	font-size: 125%;
	font-style: italic;
}

.versionlist li:nth-child(2) span {
	font-size: 240%;
	font-weight: 700;
	line-height: 2.1;
	
	color: #f2f2f2;
	background-color: #555551;
	
	padding: 3px 12px 3px 12px;
	
	pointer-events: none;
}

.olderversionlist {
	list-style: none;
	line-height: 1.3;
	text-align: center;
	margin-top: 25px;
}

.olderversionlist + .olderversionlist {
	margin-top: 1px;
}

.olderversionlist > li {
	font-size: 110%;
	font-style: italic;
	margin-bottom: 6px;
}

.olderversionlist li {
	display: inline-block;
}

.olderversionlist li:first-child {
	display: block;
}

.olderversionlist li ul li a {
	font-size: 130%;
	font-style: italic;
	color: #f2f2f2;
	background-color: var(--mapcolourB);
	
	padding: 2px 8px 2px 8px;
	margin: 0 1px 0 1px;
	
	transition: 0.15s linear;
}

.olderversionlist li ul li a:hover,
.olderversionlist li ul li a:focus  {
	text-decoration: none;
	background-color: var(--accentcolour);
	
	transition: 0.15s linear;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Corpus list */

.corpuslist {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	
	width: 840px;
	margin: 21px 0 36px 0;
}

.corpuslist li {
	width: 240px; /* 140px; 190px; */
	height: 24px;
	
	font-size: 125%;
	text-align: center;
	border-left: 1px solid var(--maincolour);
	
	padding: 2px 0 2px 0;
}

.corpuslist li:nth-child(3n+1) {	/* 4n+1 6n+1 */
	border-left: 0;
}

.corpuslist li a {
	font-style: italic;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Corpus image */

.corpusimage {
	width: 420px;
	margin: 0 10px 42px 10px;
	padding-left: 10px;
}

.corpusimage img {
	display: block;
	background-color: #f2f2f2;
	
	padding: 6px 9px 6px 9px;
	margin: 0 auto 0 auto;
	
	transition: opacity 0.3s linear;
}

.corpusimage img:hover {
	opacity: 0.95;
	transition: opacity 0.15s linear;
}

.corpusimage span {
	display: block;
	width: 410px;
	text-align: right;	
	font-size: 80%;
	color: #8a8a87;
	background-color: #f2f2f2;
	margin: -1px auto 0 auto;
	padding: 0 9px 6px 0;
	
	opacity: 1;
}

/* ////////////////////////////////////////////////////////////////////// */
/* Corpus version */

.corpusversion {	
	list-style: none;
	margin: 14px 0 26px 10px;
	padding-left: 10px;
}

.corpusversion li ul li {
	display: inline-block;
	line-height: 15px;
	font-size: 110%;
	height: 20px;
}

.corpusversion li:first-child ul li:nth-child(2) {
	font-weight: 700;
	font-size: 125%;
	padding: 0 43px 0 7px;
}

.corpusversion li:first-child ul li:nth-child(n+4) {
	padding: 0 0 0 7px;
}

.corpusversion li:first-child ul li a {
	padding: 0 5px 0 0;
}

.corpusversion li:last-child ul li:nth-child(2n+1) {
	font-style: italic;
	padding: 0 7px 0 0;
}

.corpusversion li:last-child ul li:nth-child(2n) {
	font-weight: 700;
	padding: 0 21px 0 0;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Corpus citation */

p.citation {
	width: 415px;

	font-size: 110%;
	line-height: 1.45;
	text-indent: -15px;
	text-align: left;
	
	padding: 4px 6px 0 11px;
	margin-left: 15px;
}

/* ////////////////////////////////////////////////////////////////////// */
/* File list */
.filelist {
	list-style: none;
	margin: 14px 4px 0 10px;
	padding-top: 4px;
}

.filelist li ul {
	display: grid;
	grid-auto-flow: row;
	grid-column-gap: 0px;	
	grid-template-columns: 1fr 80px 43px 80px 43px 80px 43px 80px 43px 80px 43px 63px 52px;
	
	padding: 0 4px 0 10px;
	margin: 0 10px 0 0;
}

.filelist li ul li {
	text-align: right;
	font-size: 95%;
	
	display: inline-block;
	line-height: 15px;
	height: 21px;
}

.filelist li ul li:nth-child(13n+1) {
	font-style: italic;
	font-size: 110%;
	text-align: left;
}

.filelist li ul li:nth-child(12n),
.filelist li ul li:last-child {
	font-style: italic;
}

.filelist li ul li:nth-child(2),
.filelist li ul li:nth-child(4),
.filelist li ul li:nth-child(6),
.filelist li ul li:nth-child(8),
.filelist li ul li:nth-child(10) {
	width: 50px;
	margin-left: 30px;
}

/* Full corpus download */
.fullcorpus {
	margin-top: 4px;
}

li.fullcorpus ul li:first-child,
li.fullcorpus ul li:last-child  {
	font-style: normal;
}

li.fullcorpus ul li:first-child {
	font-weight: 700;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Bibliography */

.bib-column {
	width: 440px;
}

.bibentry {
	padding: 0px 4px 2px 10px;
}

.bibentry span {
	font-size: 95%;
	padding: 1px 2px 0px 2px;
	line-height: 1.35;
}

p.citation.bibentry:target {
	padding-top: 240px;
	margin-top: -240px;
}

.bibentry:target span {
	background-color: #d4d4d3;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Contributors */

#contributors {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;

	margin: 10px 0 0 0;
	
	line-height: 1.35;
}

#contributors li {
	font-size: 115%;
	width: 180px;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Institution logos */

.logos {
	width: 880px;
	font-size: 0;
	background-color: #ffffff;
}

.logos a:nth-child(5) {
	margin-left: 150px;
}

.logos a:nth-child(7) {
	margin-left: 150px;
}

.logo {
	width: 290px;
}

.logos span {
	display: block;
	font-style: italic;
	text-align: center;
	margin-bottom: 6px;
}

.logos a {
	display: inline-block;
	width: 290px;
	
	padding: 0 0 0 10px;
	margin-right: 3px;
}

.logos a:last-child {
	margin-right: 0px;
	transition: opacity 0.3s linear;
}

.logos a:hover {
	opacity: 0.9;
	transition: opacity 0.15s linear;
}


/* ////////////////////////////////////////////////////////////////////// */
/* Footer */

footer {
	color: #555551;
	font-size: 80%;
	text-align: center;
	opacity: 0.8;
	margin: 0 0 12px 0;
}

footer a,
footer a:hover {
	color: var(--maincolour);
}
