@font-face {
	font-family: 'Suisse';
	src: url(../fonts/SuisseIntl.ttf) format('truetype'),
		url(../fonts/SuisseIntl.woff) format('woff'),
		url(../fonts/SuisseIntl.woff2) format('woff2');
}

@font-face {
	font-family: 'Suisse-Mono';
	src: url(../fonts/suisseintlmono-regular-webfont.woff) format('woff'),
		url(../fonts/suisseintlmono-regular-webfont.woff2) format('woff2');
}

* {
	margin: 0;
	padding: 0;
	font-family: 'Suisse', sans-serif;
	font-size: 18px;
	user-select: none;

}
body { 
	width: 100vw;
	height: 100vh;

}


*::selection {
	background-color: rgba(125, 0, 255, 0.99);
	color: black;

}

a {
	color: black;
}
/*——————————————————*/
/* Fonts
/*——————————————————*/

.regular {
	font-family: 'Suisse', sans-serif;

}
.mono {
	font-family: 'Suisse-Mono', monospace;
}
.mini {
	font-size: 12px;
}
.long-text {
	counter-reset: paragraph;
}
.long-text img {
	width: 100%;
	height: auto;
}
.long-text p  {
	margin-bottom: 1.3em;
	width: 100%;
	height: auto;
}
.long-text p:before {
	margin-left: -20px;
	width: 20px;
	position: relative;
	display: inline-block;
	/*background-color: red;*/
	font-family: 'Suisse-Mono';
	font-size: 12px;
	content: counter(paragraph);
	counter-increment: paragraph;

}


/*——————————————————*/
/* Map
/*——————————————————*/



#map {
	position: absolute !important;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw,
	height: 100vh;
}

#bg {
	line-height: 1;
	font-family: system-ui, sans-serif;
	position: fixed;
	display: flex;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 88;
	font-size: 8vw;
	line-height: 1;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	background-color: transparent;
	pointer-events: none;
	text-align: center;
	color: white;
	mix-blend-mode: exclusion;
	overflow: hidden;
}

#bg .number {
	line-height: 8vw;
	font-size: 4vw;
	margin-left: 0.2em;
}

.overlay {
	position: fixed;
	border-radius: 10px;
	z-index: 9999;
	margin: 10px;
	background: #ddd;
}
.padded {
	padding: 10px;

}

#legend {
	width: 250px;
	max-width: 100%;
	bottom: 0;
	color: black;
}
.options {
	width: 100%;
	position: relative;
	float: left;
	clear: both;
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
}
.option {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 10px 0 0 0;
}
.ball {
	border-radius: 50%;
	background-color: rgb(125, 0, 255);
}
.size-1 {
	width: 5px;
	height: 5px;
}

.size-10 {
	width: 10px;
	height: 10px;
}
.size-100 {
	width: 20px;
	height: 20px;
}

.size-500 {
	width: 45px;
	height: 45px;
}
.size-1000 {
	width: 70px;
	height: 70px;
}


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

.col {
	display: block;
	position: relative;
	float: left;
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
}
.col-6 {
	width: 100%;
	/*height: 100%;*/
	box-sizing: border-box;

}

.col-4 {
	width: calc(100% / 6 * 4);
	height: 100%;
	box-sizing: border-box;

}
.col-3 {
	box-sizing: border-box;
	width: 50%;
	height: 100%;
	display: block;
	position: relative;
	float: left;
}
.col-2 {
	width: calc(100% / 6 * 2);
	height: 100%;
	box-sizing: border-box;

}
.col-1 {
	width: calc(100% / 6 );
	height: 100%;
	box-sizing: border-box;

}

/*——————————————————*/
/* Header
/*——————————————————*/

.dropbtn {
  background-color: transparent;
  border: none;
  width: 100%;
  text-align: left;
  text-transform: uppercase;

}

.dropdown {

  left: 40px;
  position: relative;
  display: inline-block;
  width: 250px; 
  float: left;
  clear: both;
  display: block;
  z-index: 300;
  /*border-bottom-left-radius: 0px;*/
  /*border-bottom-right-radius: 0px;*/
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(255,255,255,0.9);
  min-width: 160px;
  width: 100%;
  z-index: 1;
  text-transform: uppercase;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.dropdown-content a {
  color: black;
  padding: 10px 12px 10px 10px;
  text-decoration: none;
  display: block;
}
.dropdown:hover .dropdown-content {
	display: block
}

.dropdown-content::after { /* mt */

}

.dropdown-content a {
	color: black;
}
.dropdown-content a:hover {
	background-color: rgb(125,125,125);
	color: white;
}
.dropdown:hover .dropbtn {
	background-color: transparent;
	color: black;
}


/*——————————————————*/
/* Timeline
/*——————————————————*/

.timeline-container {
	position: absolute;
	bottom: 0;
	padding: 0 30px 30px 30px;
}
#timeline {
	margin-bottom: 15px;

}
#timeline::before {
	left: 0px;
	/*top: -4px;*/
	position: absolute;
	height: 10px;
	width: 10px;
	/*content: " ";*/
	border-radius: 50%;
	background-color: black;
}
#timeline::after {
	right: 0px;
	/*top: -4px;*/
	position: absolute;
	height: 10px;
	width: 10px;
	/*content: " ";*/
	border-radius: 50%;
	background-color: black;
}

.ui-slider-horizontal {
	height: 22px;
	border-radius: 22px;
	background-color: #ddd;
}
.ui-widget.ui-widget-content {
	border: none;
}
.ui-slider-handle {
	border-radius: 50%;
	height: 18px !important;
	width: 18px !important;
	top: 2px !important;
	/*margin-top: -8px;*/
	border: none !important;
	outline: none;
	cursor: grab;
	background: black !important;
	/*border: 2px solid #555555 !important;*/
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
	border: 2px solid white;
	background: rgb(125, 0, 255);
}
.ui-slider-handle:focus {
	border: none;
	cursor: grabbing;

	outline: none !important;
}
#currentDate {
	position: absolute;
	bottom: 20px;
}

.date {
	position: absolute;
	display: block;
	left: 30px;
	float: left;
	user-select: none;
}
.date_end {
	left: auto;
	float: right;
	right: 30px;
}

.legend-overlay .date {
	position: relative;
	left: 0;
	right: 0;
}
.slider-time {
	user-select: none;
	overflow: hidden;
	white-space: pre-line;
}

/*——————————————————*/
/* Timeline
/*——————————————————*/
.prison-container {
	position: absolute;
	width: calc(100vh - 60px);
	height: calc(100vh - 60px);
	top: 50%;
	left: 50%;
	right: 20px;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	align-content: center;
	justify-content: center;

	flex-wrap: wrap;
	/*background-color: rgba(255, 0, 0, 0.2)*/
}

#floorplan {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0.2;
	/*filter: invert(1);*/

}
.prisoner {
	background: rgb(125, 0, 255);
	padding: 3px;
	border-radius: 50%;
	position: relative;
	float: left;
	/*margin: 5px;*/
	/*width: 5px;*/
	/*height: 5px;*/
	/*box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.25);*/
	animation: appear 0.3s linear forwards;
	font-size: inherit;
	font-family: inherit;
	cursor: pointer;
	margin-top: -2px;
	margin-left: -2px;
	margin-bottom: 4px;
	margin-right: 4px;

	transition: all 0.1s linear;
	border: 0.1px solid transparent;


}
.prisoner.active {
	border: 5px solid transparent;
	margin: -7px;
	/*animation: fullyVisible 0.1s linear forwards;*/
	/*filter: grayscale(0);*/

}

@keyframes appear {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes fullyVisible {
	from {
		opacity: 0.5;

	}
	to {
		opacity: 1;

	}
}








/*——————————————————*/
/* Extra information
/*——————————————————*/

.prisoner-info {
	position: relative;
	display: block;
	float: left;
	width: calc(100% - 2em);
	height: auto;
	animation: appear 0.3s linear forwards;
	font-size: inherit;
	font-family: inherit;
	text-indent: -1em;
	padding: 5px;
	margin-left: calc(2em - 5px);
	/*padding-left: 2em;*/
	line-height: 1.4;
	user-select: none;
	cursor: pointer;
	transition: all 0.3s;
}
.prisoner-info.active {
	background: #ddd;
	border-radius: 5px;
	/*animation: fullyVisible 0.1s linear forwards;*/

}

.prisoner-ball {
	background: rgb(125, 0, 255);
	/*padding: 5px;*/
	width: 10px;
	height: 10px;
	position: sticky;
	top: 0;
	border-radius: 50%;
	display: inline-block;
	margin-right: 15px;
    margin-left: -10px;
}

.prisoner-details {
	display: none;
	width: 100%;
	box-sizing: border-box;
	font-size: inherit;
	font-family:  inherit;
	clear: both;
	position: relative;
	float: left;
	text-indent: 0em;
	padding: 5px;
}
.prisoner-details span {
	font-size: inherit;
	font-family: inherit;
}
.prisoner-details .line {
	border-bottom: 1px solid black;
    display: inline-block;
    width: 100%;
    float: left;
    padding: 3px 0;
    display: flex;
    flex-direction: row;
}
.others {
	display: block;
	display: inline-flex;

}

.prisoner-details .line:first-of-type {
	border-top: 1px solid black;
}

.prisoner-details .line:last-of-type {
	border-top: 1px solid black;
}

.prisoner-info.active .prisoner-details {
	display: block;	
}
.scan {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	height: auto;
	float: left;
	border-radius: 5px;
}

.infocol {
	width: 25%;
	position: relative;
	float: left;
	display: block;
	clear: both;
	max-height: calc(100vh - 180px);
	overflow-y: scroll;
	padding-top: 50px;
	padding-bottom: 50px;
}
.infocol::after {
	content: " ";
	display: block;
	position: fixed;
	bottom: 116px;
	left: 0;
	width: 25%;
	height: 50px;
	pointer-events: none;
	background: linear-gradient(0deg, rgb(255,255,255,1),  rgb(255,255,255,0));
}
.infocol::before {
	content: " ";
	display: block;
	position: fixed;
	top: 64px;
	left: 0;
	width: 25%;
	height: 50px;
	z-index: 200;
	pointer-events: none;
	background: linear-gradient(180deg, rgb(255,255,255,1),  rgb(255,255,255,0));
}

.infocol-title {
	position: relative;
	float: left;
	clear: both;
	width: 25%;
	/*margin-bottom: 1em;*/
}
.story {
	border-radius: 5px;
	background-color: rgb(125, 0, 255);
	padding: 10px;
	width: auto;
	display: block;
	float: left;
	/*margin-top: 0.5em;*/
	/*margin-left: -1em;*/
	
	margin-top: 10px;
	box-sizing: border-box;
	width: 100%;

	animation: colorChange 5s infinite alternate-reverse; 
}
.serif {
	font-family: 'Times New Roman', serif;
	font-size: 24px;
	line-height: 1.25;
}

.caption {
	text-transform: uppercase;
	display: inline-block;
	width: 100px;
	height: 100%;
	font-size: 12px !important;
	font-family: 'Suisse-Mono' !important;
	flex-shrink: 0;
	font-weight: 500;
	float: left;
	position: relative;
}
.story .caption {
	width: 100%;
	position: relative;
	clear: both;
	float: left;
}


.story-button {
	animation: colorChange 0.3s infinite alternate-reverse; 
}
.story-img {
	margin-bottom: 5px;
	position: relative;
	width: 100%;
	height: auto;
	display: block;
	float: left;
	clear: both;
	border-radius: 5px;
}
.legend-button {
	margin-left: 0;
}

#timeline-overlay {
    position: absolute;
    width: calc(100%);
    height: 20px;
}
.story-date {
	position: absolute;
	min-width: 2px;
	height: 22px;
	/*border-radius: 5px;*/
	display: block;
	background-color: rgba(125, 0, 255, 0.2);
	transition: background-color 0.2s;
}

.story-date:hover {
	background-color: rgba(125, 0, 255, 1);
	/*z-index: 999;*/

}

@keyframes colorChange {
	from {
		background-color: rgb(125, 0, 255);
	}
	to {
		background-color: rgb(255, 255, 255);
	}
}

#info-container {
	width: 100%;
	height: auto;
	position: relative;
	float: left;
	display: block;
	scroll-behavior: smooth;
}

.filtered {
	pointer-events: none;
	z-index: 1;
	opacity: 0.3 !important;
}


/* Legend stuff */

.overlay-block {
	position: relative;
	width: 100%;
	display: block;
	float: left;
	height: auto;
	margin-bottom: 2.4em;
	clear: both;
	background: transparent;
}
.overlay-block:last-of-type {
	margin-bottom: 0;

}

.row {
	width: 100%;
	clear: both;
	display: block;
	position: relative;
}

.left {
	float: left;
}
.right {
	float: right;
}

.legend-overlay {
	position: absolute;
	top: 0px;
	right: 0px;
	height: auto;
	padding: 10px;
	min-width: 120px;
	max-width: 12.4%;
}

.legend-overlay .ui-slider	{
	position: relative;
	display: block;
	float: left;
	width: calc(100% - 20px);
	z-index: 999;
	margin-left: 10px;
	background-color: white;
	margin-bottom: 15px;
}
.ui-slider-range {
	border-radius: 10px;
	padding: 0 10px;
	margin-left: -10px;
}
.work-gradient {
	/*height: 20px;
	width: 100%;
	position: relative;
	display: block;
	margin-bottom: 15px;
	clear: both;
	border-radius: 10px;
	background: linear-gradient(90deg, rgb(0, 0, 255), rgb(255, 0, 0) )*/
}

#slider-duration .ui-slider-range {
	border-radius: 10px;

	background: linear-gradient(90deg, rgb(0, 0, 255), rgb(255, 0, 0) )
}
.blue {
	background-color: rgb(0, 0, 255);
}
.red {
	background-color: rgb(255, 0, 0);
}

.menu {
	z-index: 199;
}

.menu-overlay {
	z-index: 999999;
	position: fixed;
	display: flex;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	/*overflow: hidden;*/
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	background-color: white;
}
.menu-overlay a {
	text-decoration: none;
	color: black;
	cursor: pointer;
	transition: all 0.3s;
}
.menu-overlay .mono a {
	font-family: inherit;
	font-size: inherit;
}
.menu-overlay a:hover {
	color: rgb(125, 0, 255);
}
.menu-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	opacity: 0.5;
	cursor: pointer;
}
.menu-item {
	z-index: 999;
}
.logo {
	max-width: 60px;
	filter: grayscale(1);
	mix-blend-mode: multiply;
	padding: 10px 10px 0 10px;
}
.credits {
	padding: 100px 0 0 0 ;
}

.hidden {
	display: none;
}
.sticky-container {
	position: absolute;
	top: 0;
		width: calc(100% / 6 * 2);
	right: 0;
	bottom: 0;
	/*background-color: red;*/
}
.sticky {
	position: sticky;
	top: 20px;
}

@media (max-width: 1023px) {
	.prison-container, .infocol, .timeline-container, .legend-overlay {
		display: none;
	}
	.small-screen {
		display: flex !important;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: #ddd;
		justify-content: center;
		align-items: center;
		text-align: center;
	}
}

