/* ————————————————————————*/
/* Stylesheet for the record
/* ————————————————————————*/

/* ————————————————————————*/
/* Fonts
/* ————————————————————————*/

@font-face {
	font-family: 'monument-mono';
	src: url(../fonts/ABCMonumentGroteskMono-Regular.otf) format('opentype'),
	url(../fonts/ABCMonumentGroteskMono-Regular.woff) format('woff'),
	url(../fonts/ABCMonumentGroteskMono-Regular.woff2) format('woff2');
	font-style: normal;
	font-weight: normal;
}

@font-face {
	font-family: 'monument-mono';
	src: url(../fonts/ABCMonumentGroteskMono-RegularItalic.otf) format('opentype'),
	url(../fonts/ABCMonumentGroteskMono-RegularItalic.woff) format('woff'),
	url(../fonts/ABCMonumentGroteskMono-RegularItalic.woff2) format('woff2');
	font-style: italic;
	font-weight: normal;
}

@font-face {
	font-family: 'monument-semi';
	src: url(../fonts/ABCMonumentGroteskSemi-Mono-Regular.otf) format('opentype'),
		url(../fonts/ABCMonumentGroteskSemi-Mono-Regular.woff) format('woff'),
		url(../fonts/ABCMonumentGroteskSemi-Mono-Regular.woff2) format('woff2');
	font-style: normal;
	font-weight: normal;
}
@font-face {
	font-family: 'monument-semi';
	src: url(../fonts/ABCMonumentGroteskSemi-Mono-RegularItalic.otf) format('opentype'),
		url(../fonts/ABCMonumentGroteskSemi-Mono-RegularItalic.woff) format('woff'),
		url(../fonts/ABCMonumentGroteskSemi-Mono-RegularItalic.woff2) format('woff2');
	font-style: italic;
	font-weight: normal;
}



/* ————————————————————————*/
/* Basic stuff
/* ————————————————————————*/

* {
	margin: 0;
	padding: 0;
	/*box-sizing: border-box;*/
	font-family: 'monument-mono';
	line-height: 1.4;
	scroll-behavior: smooth;

	/*background-color: red;*/
}

*::selection {
	background-color: var(--green);
	color: var(--black);
}

body {
	background-color: var(--black);
	color: white;
	padding: 5px;
	width: 100%;
	position: relative;

	float: left;
	height: auto;
	/*overflow-x: hidden;*/
	box-sizing: border-box;
	scroll-behavior: smooth;

}

img {
	position: relative;
	width: 100%;
	height: auto;
	display: block;
}

/* ————————————————————————*/
/* Basic typography
/* ————————————————————————*/

a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.mono {
	font-family: 'monument-mono';
	font-size: calc(10px + 0.6vw);
	line-height: 1.4;
}

 .semi {
 	font-family: 'monument-semi';

 }
 .introduction {
 	font-family: 'monument-mono';
 	font-size: calc(10px + 0.6vw);
 	line-height: 1.4;

 }
h1, h2, h3, h4, h5, h6 {
	font-family: 'monument-semi';
	font-size: 20px;
	line-height: 1.4;
	font-weight: normal;
}

.text-long h2 {
	font-family: 'monument-mono';
	text-transform: uppercase;
	text-align: center;
	font-size: 18px;
	line-height: 1.4;
	
}
.text-long h2 {
	font-family: 'monument-semi';
	text-transform: uppercase;
	text-align: center;
	font-size: 18px;
	line-height: 1.4;
	
}

.long {
	font-size: calc(10px + 0.4vw);
	line-height: 1.4;
	/*word-break: break-all;
	word-wrap: break-word;*/
	-webkit-hyphens: auto;
	 -moz-hyphens: auto;
	 -ms-hyphens: auto;
	 hyphens: auto;
}
.long p {
	margin-bottom: 1.4em;
	font-family: inherit;
}
.semi p {
	font-family: 'monument-semi';
}
.medium, .medium p {
	/*font-size: calc(10px + 0.4vw);*/

}

p a {
	color:  var(--gray);
	transition: color 0.3s;
	display: inline;
}

p a:hover {
	color:var(--green);
}


.caps {
	text-transform: uppercase;
}
.footnotes {
	max-width: 90%;
	color: var(--gray);
	box-sizing: border-box;
	padding-left: 2rem;
	padding-right: -2rem;
}
.footnotes p {
	display: inline;
}
.footnotes a {
	display: inline;
	color: var(--purple);
}
.purple {
	color: var(--purple);
}

.subtitle {
	text-transform: uppercase;
	text-align: center;
}

.description {
	text-align: center;
	color: var(--gray);
	font-size: 14px;
	margin-top: 10px;
}
.reference {
	color: var(--green);
	vertical-align: super;
	font-size: 12px;
}
.flex-center {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 3em 0 !important;
}
.flex-center a {
	display: inline-block;
	cursor: pointer;
}

/*—————————————————*/
/* Column system 
/*—————————————————*/

.col {
	position: relative;
	float: left;
	clear: none;
	box-sizing: border-box;
	margin: 5px;
}
.col-1 {
	box-sizing: border-box;
	width: calc(100% / 4 - 10px);
}
.col-2 {
	box-sizing: border-box;
	width: calc(100% / 3 - 10px);
}
.col-3 {
	box-sizing: border-box;
	width: calc(100% / 2 - 10px);
}
.col-4 {
	box-sizing: border-box;
	width: calc(100% / 6 * 4 - 10px);
}
.col-6 {
	box-sizing: border-box;
	width: calc(100% - 10px);
}

/*—————————————————*/
/* Content layout 
/*—————————————————*/

.block {
	position: relative;
	display: block;
	clear: both;
	float: left;
	/*background-color: red;*/
	box-sizing: border-box;
	color: white;
	/*background-color: red;*/
	/*width: 1200px;*/
	width: 100%;
	padding: 60px 0 0 0;
}

.block:last-of-type {
	padding-bottom: 60px;
}

.row {
	width: 100%;
	position: relative;
	display: block;
	float: left;
	clear: both;
	margin-bottom: 1.5em;
}
.row:last-of-type {
	margin-bottom: 0;
}

.text {
	width: 1200px;
	position: relative;
	float: none;
	margin: 0 auto;
	max-width: calc(100% - 20px);
}

.entry-preview .text p {
	font-family: 'monument-mono';
}

.text-long {
	font-family: inherit;
    box-sizing: border-box;
    column-count: 1;
    column-gap: 30px;
    word-break: break-word;
    position: relative;
    max-width: 50%;
    display: block;
    float: right;
    clear: both;
    width: 100%;
    padding: 0px 5px 0 5px;
}

.text-long figure {
	width: 100vw;
	margin-left: -50vw;
	padding: 60px 0;
}
.text-long figcaption {
	color: var(--gray);
	text-align: center;
	font-size: 14px;
	margin-top: 10px;
}
.paragraph {
	font-family: 'monument-semi';
	text-align: left;
	/*font-size: 20px;*/
	/*line-height: 28px;*/
	word-break: break-word;
	/*overflow: hidden;*/
	-webkit-hyphens: auto;
	 -moz-hyphens: auto;
	 -ms-hyphens: auto;
	 hyphens: auto;
}
.paragraph:not(:last-of-type) {
	padding-right: 20px;

}

/* ————————————————————————*/
/* Menu stuff
/* ————————————————————————*/


.header {
	display: block;
	float: left;
	position: fixed;
	/*position: relative;*/
	top: 0;
	width: calc(100% - 10px);
	height: auto;
}

#header {
	transition: 0.5s ease-in-out;
	z-index: 999;
}
#header + * {
	margin-top: 240px;
}
.nav-up {
	top: 0;
}

.nav-down {
	top: -240px;
}


.index .header {
	/*margin-bottom: 60px;*/
}

#tags {
	width: 100%;
	height: auto;
}

#showtags {
	width: 100%;
	height: auto;
	max-height: 59.5vh;
	overflow-y: scroll;
}

.tag {
	display: block;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	text-align: left;
	background-color: var(--gray);
	color: var(--black);
	text-transform: none;
	cursor: pointer;
	line-height: 1;
	transition: background-color 0.5s;
	padding: 5px 10px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.tag:after {
	background-color: var(--gray);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 10px;
	content: ' ';
	/*background-color: yellow;*/
	transition: background-color 0.5s;
	/*mix-blend-mode: multiply;*/
	/*background: linear-gradient(270deg, var(--gray), var(--gray-t));*/
}

.tag:hover {
	background-color: var(--green);
}

.tag:hover:after {
	background-color: var(--green);

}

.tag.active {
	background-color: var(--green) !important;
}
.tag.active:after {
	background-color: var(--green) !important;
}



.tag-description  {
	text-align: center;
}

/*.tag-description:not(.hidden):last-of-type {
	margin-bottom: 60px;
	background-color: red;
}*/

.tag-title {
	color: var(--green);
}

/* ————————————————————————*/
/* Elements
/* ————————————————————————*/

.button {
	height: 111px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-color: var(--gray);
	color: var(--black);
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.5s;
}

.button:hover {
	background-color: var(--green);
}
.button.current {
	background-color: var(--green);
}

.corners, input, textarea, button[type=submit] {
	clip-path: polygon(3px 3px, 0 3px, 0 calc(100% - 3px), 3px  calc(100% - 3px), 3px 100%,  calc(100% - 3px) 100%, calc(100% - 3px)  calc(100% - 3px), 100%  calc(100% - 3px), 100% 3px,  calc(100% - 3px) 3px,  calc(100% - 3px) 0, 3px 0);
}



/* ————————————————————————*/
/* Entry styling
/* ————————————————————————*/

.entry-preview {
	cursor: pointer;
	color: white;
	border-color: white;
	background-color: var(--black);
	transition: color 0.5s, background-color 0.5s, border-color 0.5s;
}
.entry-preview * {
	line-height: 1.1;
}
.entry-preview a {
	display: inline;
}
.entry-preview:hover {
	color: var(--green);
	border-color: var(--green);
}

.entry-preview:hover .entry-text {
	border-color: var(--green);
}

.entry-page .entry-preview:hover {
	color: white;
	border-color: white;
}

.entry-page .entry-preview:hover .entry-text {
	border-color: white;
}

.entry-thumbnail-preview {
	position: relative;
	display: block;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	max-width: 300%;
	max-height: 300%;
}

.entry-video {
	width: 100%;
	height: 18vw;
	margin-bottom: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	/*background-color: var(--green);*/
}

.entry-text {
	height: 111px;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-transform: uppercase;
	background-color: inherit;
	color: inherit;
	border: 3px solid white;
	padding: 10px;
	
}

.home-item.entry-text::before {
	height: 200px;
	width: calc(100% - 60px);
	position: absolute;
	display: block;
	left: 30px;
	top: calc(18vw - 10px);
	content: " ";
	z-index: 0;
	background-color: inherit;
}

.home-item.entry-text::after {
	height: calc(111px - 60px);
	width: calc(100%  + 20px);
	position: absolute;
	display: block;
	left: -10px;
	top: calc(18vw + 40px);
	content: " ";
	z-index: 0;
	background-color: inherit;
}

.entry-text.index-item {
	padding: 0;
	flex-direction: row;
	text-align: left;
	justify-content: flex-start;
}
.entry-text.index-item .col-2 {
	width: calc(100% / 3);
	margin-right: 0px;
}
.entry-text-title {
	padding: 0 30px;
	width: calc(100% / 3 - 80px);
}

.index-item.entry-text::before {
	height: 151px;
	width: calc(100% - 60px);
	position: absolute;
	display: block;
	left: 30px;
	top: -5px;
	top: calc( - 10px);
	content: " ";
	z-index: 0;
	background-color: inherit;
}

.index-item.entry-text::after {
	height: calc(111px - 60px);
	width: calc(100%  + 20px);
	position: absolute;
	display: block;
	left: -10px;
	top: calc(30px);
	content: " ";
	z-index: 0;
	background-color: inherit;
}

.entry-text-content {
	z-index: 999;
	/*background-color: red;*/
	max-height: 4em;
	line-height: 1;
	overflow: hidden;
	-webkit-hyphens: auto;
	 -moz-hyphens: auto;
	 -ms-hyphens: auto;
	 hyphens: auto;

/*	text-overflow: ellipsis;
	white-space: nowrap;*/

	/*line-height: 24px;*/
}

.entry-type {
	color: var(--green);
}

.entry-type.external {
	color: var(--purple);
}

.external::after {
	content: "";
	width: 18px;
	height: 18px;
	/*background-color: red;*/
	display: inline-block;
	position: relative;

	background-image: url('/site/templates/images/icon_external_link.png');
	background-repeat: no-repeat;
	background-size: 100%;
}

.entry-writer {
	text-transform: none;
	color: var(--gray);
	padding-left: 5px;
}
.entry-preview-text {
	position: relative;
	display: none;
	float: left;
	width: 100%;
	transition: all 0.5s;
	margin-top: -10px;
	padding-top: calc(10px + 3em);
	padding-bottom: 3em;
	/*height: 0px;*/
}
.entry-preview-text p,
.entry-preview-text a {
	display: inline;
}

.entry-preview:hover + .entry-preview-text,
.entry-link:hover + .entry-preview-text,
.entry-preview-text:hover {
	animation: 0.3s hoverPreview linear forwards;
	display: block !important;

	/*height: auto;*/
	/*background-color: red;*/
}

@keyframes hoverPreview {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
.pointer {
	display: inline-block;
	color: var(--green);
}

/*—————————————————*/
/* Annotations 
/*—————————————————*/

.annotation-video {
	width: 100%;
	height: 684px;
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
}

.video-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}
.annotations-info {
	margin-top: 1em;
	/*font-size: 18px;*/
	width: 100%;
	float: left;
}

.show-popup {
	float: right;
}
.annotations {
	margin-top: 1em;
	font-size: 18px;
	width: 100%;
	float: left;
	min-height: auto;
	height: auto;
	transition: height 0.5s;

}
.annotation-link {
	color: var(--green);
	float: right;
	cursor: pointer;
	user-select: none;
}
.introduction { 
	/*margin: 0px 10px;*/
	text-align: center;
	line-height: 1.4;
	color: white;
 }
 .about .introduction {
 	margin-bottom: 3em;
 }

 .annotation {
 	font-size: 18px;
 	text-align: left;
 	margin: 0 0 1em 0;
 	transition: height 0.5s linear;
 }

 .annotation-hidden {
 	height: 0;
 	opacity: 0;
 }

.annotation-time {
	color: var(--green);	
}

.annotation-author {
	color: var(--gray);	
}

.annotation-text p {
	display: inline;
}

.annotation-text p a,
.annotation-text a {
	color: var(--purple);
	display: inline;
}

/*—————————————————*/
/* Author 
/*—————————————————*/

.about {
	display: block;
	position: relative;
	float: left;
	width: 100%;
	height: auto;
	scroll-behavior: smooth;
}
.authors {
	float: left;
	display: block;
	position: relative;
	clear: both;
	margin-bottom: 50px;
}

.author {
	color: var(--gray);
}

.about img {
	max-height: 90vh;
	margin: 0 auto;
	position: relative;
	float: none;
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
}
/*.author-name {
	text-transform: uppercase;
	text-align: center;
}
.author-bio {
	text-align: justify;
	font-family: 'monument-semi';

}
*/

.author-bio a {
	text-align: center;
	color: var(--purple);
}

/*—————————————————*/
/* Popup 
/*—————————————————*/
.popup-overlay {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 999;
}
.popup-bg {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(0, 255, 0, 0.1);

}
.popup {
	position: relative;
	width: 60%;
	height: auto;
	max-height: 90vh;
	overflow-y: auto;
	background-color: var(--gray);
	padding: 15px 10px;
}
.InputfieldHeader {
	text-align: center;
	margin: 15px 0;
	font-weight: normal;
	text-transform: uppercase;
}
.FormBuilder.InputfieldForm fieldset.InputfieldFieldset {
	border: none;
}

.FormBuilder.InputfieldForm .InputfieldStateRequired > .InputfieldHeader:first-child:after {
	color: var(--purple);
}
.FormBuilder.InputfieldForm fieldset.InputfieldFieldset legend {
	font-weight: normal;
	font-size: inherit;
	text-align: center;
	text-transform: uppercase;
}
#wrap_Inputfield_annotation_start, #wrap_Inputfield_annotation_end {
	display: none;
}

input, textarea {
	font-family: 'monument-semi' !important; 
	border: 3px solid white!important;

}
input:focus, textarea:focus {
	outline: 0px solid var(--purple) !important;
	border: 3px solid var(--purple) !important;

}
button[type="submit"] {
	outline: none;
	border: none !important;
	background-color: transparent !important;
	font-family: 'monument-mono' !important;
	color: var(--purple);
	text-transform: uppercase;
	margin: 0 auto;
	color: black;
	position: relative;
	display: block;
	font-size: inherit;
}

button[type="submit"]:focus, button[type="submit"]:hover {
	color: var(--green);
	outline: none;
	border: none !important;

}
form .description {
	color: white;
}

.uk-button {
	width: 100%;
    font-family:  'monument-mono' !important;
    background: var(--black);
    border-radius: 0px;
    text-transform: uppercase;
}
.alert {
	display: none;
}

/* ————————————————————————*/
/* Search
/* ————————————————————————*/

.col h2 {
	font-weight: normal;
 	color: var(--gray);
 	float: left;
 	position: relative;
 	display: block;
}

.margins {
	margin: 0px 0 calc(60px - 33px ) 0;	
}
.margin-top {
	margin-top: 60px;
}

.cross {
	float: left;
	margin-left: 10px;
	position: relative;
	display: block;
	color: var(--gray);
}
.search-block {
	background-color: var(--green);
}
#search {
	width: auto;
	height: 100%;
	display: flex;
	flex-direction: row;
	text-align: center;
	align-items: center;
	justify-content: center;
	color: black;

	background-color: transparent;
	border: none;
	border: 0px solid transparent !important;
	border-width: 0px !important;

}
#search::placeholder {
	color: var(--black;)
}
#search:focus {
	/*background-color: var(--green);*/
	border: 0px solid transparent !important;
	/*display: none;*/
}
#search:focus::selection {
	background-color: var(--purple);
	/*display: none;*/
}
#search_form {
	display: flex;
	flex-direction: row;
}

.revealtags {
	background: var(--green);
}
.revealtags:after {
	background: var(--green);
}

.searchbutton {
	color: black !important;
}
#search_form:focus .searchbutton {
	color: black !important;
}

.hidden {
	display: none;
}

/* ————————————————————————*/
/* Playlist
/* ————————————————————————*/
.video-previews {
	max-height: 70vh;
	overflow-y: scroll;
}
.mini-video-preview {
	width: 100%;
	float: left;
	clear: both;
	position: relative;
	display: block;
	color: white;	
	height: 9vw;
	min-height: 150px;
	margin-bottom: 10px;
	cursor: pointer;
}
.mini-video-preview.current {
	color: var(--green);
}
.mini-video {
	width: calc(50% - 2px);
	height: calc(100% - 3px);
	position: relative;
	display: block;
	float: left;
	border: 1px solid transparent;

}
.mini-video-preview .mini-video {
	pointer-events: none !important;
}
.mini-video iframe {
	width: calc(100% - 2px);
	pointer-events: none;
}
.current .mini-video {
	width: calc(50% - 2px);
	border: 1px solid var(--green);
}
.mini-video-desc {
	width: calc(50% - 10px);
	margin-left: 10px;
	position: relative;
	display: block;
	float: left;
	height: 100%;
	cursor: pointer;
}

#main-video iframe {
	width: 100%;
	max-width: 100% !important;
	/*height: auto;*/
	/*min-height: 60vw;*/
}

.gray {
	color: var(--gray);
}

/*—————————————————*/
/* Footer 
/*—————————————————*/

.footer {
	display: block;
	float: left;
	position: relative;
	width: 100%;
}

.colophon {
	column-count: 3;
	color: var(--gray);
}
.contributions {
	column-count: 4;
	padding: 0 5px;
	color: var(--gray);
}
.partners {
	column-count: 2;
	padding: 0 5px;
	color: var(--gray);

}

.credits a {
	color: var(--purple);
}

.credits a:hover, .credits a:active {
	animation: 0.5s colorChange linear infinite;
}

@keyframes colorChange {
	0% {
		color:  var(--purple);
	}
	50% {
		color:var(--green);
	}
	100% {
		color:var(--green);
	}
}

.center {
	text-align: center;
	width: 100%;
	position: relative;;
	display: block;
	float: left;
}
.colophon-item {
	page-break-inside: avoid;
	display: block;
	float: left;
	width: 100%;
}
.contact-info {
	background: var(--gray);
    height: auto;
    padding: 3em 0;
    text-transform: none;
    margin-top: 3em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--gray);
    color: var(--black);    
}
/*.detail {
	color: white;
	padding: 20px 0;
}*/
