:root {
	--section_container-width: 30vw;
	--section_title-height: 10vh;
	--progContainer-width: 3vw;
	--cdp_color: #ffff00;
	--toggleToc-time: 0.7s;
}


@font-face {
  font-family: Inter;
  src: url(../public/fonts/Inter/Inter-Medium.woff);
}

@font-face {
  font-family: Hack;
  src: url(../public/fonts/Hack/Hack-Regular.ttf);
}


body {
  margin: 0;
  padding:0;
  background: #000;
  font-family: Hack, monospace;
	overscroll-behavior: none;
}



::-webkit-scrollbar {
    display: none;
}
/* ============================ SPLASH PAGE ================================ */


#guide{
	display: flex;
	flex-direction:row;
	z-index: 50;
	background: rgba(255,255,255,0.79);
	width: 100vw;
	height: 100vh;
	position: fixed;
}
#guide_panel{
	width: 100vw;
	border-right: 2px solid white;
	display:flex;
	flex-direction: column;
	justify-content:center
}

#guide img{
	width:20vw;
	margin:0 auto;
}

#guide_close{
	position: fixed;
	right:0;
	top:0;
	z-index:51;
	width: 2.9vw;
	height: 2.9vw;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.85);
	border:2px solid black;
}
#guide_close img{
	box-sizing:border-box;
	padding:15%;
	width:100%;
	height:100%;

}
#guide_close:hover{
	filter: invert(1);
}



.splash {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #838383;
  z-index: 100;
  align-items: center;
  justify-content: center;
	/* opacity: 1; */
	/* transition: opacity 0.;5s; */
}
#splash_content {
 	top:45%;
 	height:55%;
	display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 1rem;
	width:65vw;
	align-items: flex-start;
}

.splash video {

/*#landing_video{*/
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  min-height: 100vh;
  min-width: 100vw;
  z-index: -100;
}
#splash_text{
	width:100%;

}
#splash_text *{
	border: 2px solid black;
	background:rgba(255,255,255,0.79);
	padding:0.75vw;
}

.splash h1 {
  font-family: Hack, monospace;
  font-size: 2.7vw;
	color:#121212;
	text-align:justify;
	white-space:nowrap;
}

.splash p {
  font-size: 1vw;
  font-family: Inter, sans-serif;
  line-height: 1.5vw;
  margin-top: 1vh;
	text-align: justify;
}
#video_credit{
	padding:0;
	background:#ffffff00;

}

#enter{
	padding: 0.5vw 0.75vw;
	border: 2px solid black;
	text-decoration: none;
	font-size:1.25vw;
  font-family: Hack, monospace;
	color:#000000;
  z-index: 10;
  margin-top: 1vh;
  align-self: flex-start;
	cursor: pointer;
}

#enter:hover{
	background: #ffff00;
}

#enter:active{
	background: #999900;
}

p#video_credit {
  position: absolute;
  width: initial;
  top: initial;
  left: initial;
  bottom: 2.5px;
  right: 10px;
  font-size: .75rem;
  color: white;
}

#loader_bar {
	margin-top: 1vh;
	width:100%;
	height:1vh;
	background: rgba(255,255,255,0.79);
	overflow:hidden;
}
#loader_bar div{
	background: #ffff00;
	height:100%;
	width:25%;
	animation: translate 1s alternate infinite linear;
}
@keyframes translate {
  to {
		transform: translateX(1000px);
	}
}

/* ============================   PLATFORM   ================================ */

#map {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding:0;
  background: #dbdbdb;
  max-width: 100%;
}

.mapboxgl-ctrl{
	visibility: hidden;
}

.hover{
	background:rgba(50,50,50,0.7);
	color:white;
	position: 'absolute';
	z-index: 5;
	pointer-events: none;
	font-size:1.25vh;
	border-radius: 5px;
  overflow: hidden;
  width: 10vw;
}

.hover :first-child{
	background:rgba(200,200,200,0.7);
	color:black;
}

.hover div{
	padding:0.5vh 1vw;
}

#panel {
	position:fixed;
	left:var(--progContainer-width);
	width:30vw;
	height:100vh;
	z-index: 1;
	margin:0;
	padding:0;
	overflow-y: scroll;
	background:#00000020;
	pointer-events:none;
}


#toc-0{
	color:#ffff00;
}

.fade {
   opacity: 1 !important;
}
.section_container {
	opacity:0;
	width:var(--section_container-width);
	height:100%;
	background: rgba(255,255,255,0);
	padding: 1vw;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: start;
	margin-bottom: 215vh;
	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;
}

.section_container div {
	padding: 0.5vw;
	box-sizing: border-box;

}

.section_container .title {
	padding:0px;
	box-shadow: rgba(0,0,0,0.2) 0px 2px 3px, inset rgba(0,0,0,0.2) 0px -1px 2px;
	border-radius: 2px;
	overflow:hidden;
	margin-bottom:2vh;
	opacity: 0.9;
}

.section_container .progressBar, .section_container .innerProgressBar {
	padding: 0px;
	box-sizing: border-box;
}

.section_container .progressBar {
	background:rgba(185,185,185,.75);
	width: 100%;
	height: 1.5vh;
	border: 2px solid black;
	border-bottom: none;
}

.section_container .innerProgressBar{
	background:rgba(255,255,255,1);
	width: 0%;
	height: calc(1.5vh - 2px);
}

.section_container .section{
	font-size: 1vw;
	padding: 0.5vw;
	opacity:0.6;
	white-space:nowrap;
	border: 2px solid black;
}

.section_container .panel_title{
	width: 100%;
	padding: 0.5vw;
	font-size: 2em;
	background: rgba(255,255,255,1);
}

.panel_title {
	border: 2px solid black;
}

.section_container .description, .section_container .technical_description{
	width: 100%;
	text-align: justify;
	background: rgba(255,255,255,0.89);
	box-shadow: rgba(0,0,0,0.2) 0px 2px 3px, inset rgba(0,0,0,0.2) 0px -1px 2px;
  overflow:hidden;
  font-size: 1rem;
  padding: 1rem;
	margin-bottom: 2vh;
	white-space: pre-line;
	border: 2px solid black;
	font-family: Inter;
}


.section_container .langToggle{
	display: flex;
	float:right;
	transform:translateY(-0.4vh);
}

.section_container .langToggle div{
	padding:0;
	font-size:1vw;
}
.section_container .langToggle :nth-child(odd):hover{
	background:#454545;
	color:white;
}

.section_container .langToggle .activeLang{
	background:#aaaaaa;
	color:white;
}

.section_container .graphic, .section_container .navPane{
	width: 100%;
	background: rgba(255,255,255,0.89);
	box-shadow: rgba(0,0,0,0.2) 0px 2px 3px, inset rgba(0,0,0,0.2) 0px -1px 2px;
	overflow:hidden;
	display: flex;
	flex-direction:row;
	flex-wrap:wrap;
	margin-bottom: 2vh;
	border: 2px solid black;
	pointer-events:auto;
}

.section_container .legend{
	width: 100%;
	background: rgba(255,255,255,0.75);
	box-shadow: rgba(0,0,0,0.2) 0px 2px 3px, inset rgba(0,0,0,0.2) 0px -1px 2px;
  overflow:hidden;
  margin-bottom: 2vh;
	border: 2px solid black;
}

.navPane .viewButton {
	font-family: Inter, sans-serif;
	padding:0.5vw;
	width:30%;
	margin:0.5% auto;
	text-decoration: none;
	color:#000000;
	border: 1px solid black;
	cursor: pointer;
}

.navPane .viewButton:hover{
	background: #ffff00;
}
.navPane .viewButton.active{
	background: #ff0000;
	border:none;
}

.section_container .legend img{
	width: 100%;
}

.section_container .sources{
	width: 100%;
	background: rgba(255,255,255,0.75);
	box-shadow: rgba(0,0,0,0.2) 0px 2px 3px, inset rgba(0,0,0,0.2) 0px -1px 2px;
  overflow:hidden;
}

.section_container .scrollInd{
	position:fixed;
	bottom:0;
	width: calc(var(--section_container-width)*0.93);
	display:flex;
	flex-direction:row;
	justify-content:center;
	pointer-events:none;
	visibility:hidden;


	/*left: calc(var(--section_container-width)/2);*/
/*   transform: translateX(-50%); */
}

.section_container img{
	width:10%;
}
.chartTitle {
  margin-top: 1rem;
  text-align: center;
}


#menu{
	position:fixed;
	width:var(--section_container-width);
	height:10vh;
	z-index:100;
	display:none;
}


#sideBar{
	height:100vh;
	display:flex;
	flex-direction:row;
}
#progContainer, #tocContainer{
	width:var(--progContainer-width);
	height:100vh;
	background:#000000;
	position:relative;
	z-index:3;
	left:0;
	display:flex;
	flex-direction:column;
	/*justify-content: space-between;*/
	justify-content: flex-start;
	padding:0.5vw;
	box-sizing: border-box;
	transition: width var(--toggleToc-time) ease-in-out;
}
#progContainer.active{
	width: calc(var(--section_container-width) + var(--progContainer-width));
}
.situLogo{
	width:calc(var(--progContainer-width)*0.5);
	margin:0 0;
}
#toggleToc{
	filter:invert(1);
	width:calc(var(--progContainer-width)*0.6);
	margin-left:0.2vw;
	transition: transform var(--toggleToc-time) ease-in-out;
	cursor: pointer;
}
#chapMarkers, #toc{
	/*margin-bottom:15vh;*/
	margin-top:5vh;
}
.tocChapContainer{
	width:100%;
	height:3.5vh;
	margin-top:1vh;
	display: flex;
	flex-direction: row;
}


.tocMarker{
	width:calc(var(--progContainer-width)*2/3);
	height: 3.5vh;
	box-sizing: border-box;
	border-left: 0.75vw solid black;
	border-right: 0.75vw solid black;
	background: #ffffff;
	flex-shrink:0
}
.tocMarker.active{
	background: var(--cdp_color);
}
.tocTitle{
	font-size: 1vw;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content:center;
	opacity:0;
	transition: opacity 2.5s ease-in-out;
	white-space: nowrap;
	overflow: hidden;
}

.tocChapContainer:hover{
	cursor: pointer;
}

.tocChapContainer:hover > .tocTitle{
	color: var(--cdp_color);
}
.tocChapContainer:hover > .tocMarker{
	background: var(--cdp_color);
}
#tocContainer{
}








#cont{
	position:fixed;
	opacity:1;
}
