body {
	font-family: monospace;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	margin: 0;
}

#document-page {
	display: none;
}
#api-page {
	display: none;
}
#about-page {
	display: none;
}

/* ################################################################################ */

nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 7.4074vh;

	text-align: right;

	z-index: 100;
}

nav a {
	margin-top: 3.7037vh;
	margin-right: 2vw;
	padding-left: 0.5vw;
	padding-right: 0.5vw;

	display: inline-block;
	height: calc(3.7037vh - 10px);
	line-height: calc(3.7037vh - 7.5px);

	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	font-size: 2vh;

	color: #4a4d1c;
	border-style: solid;
	border-width: 5px;
	border-color: #00ced9;
	background-color: white;

	cursor: pointer;
}

/* ################################################################################ */

#background-container, #document-background-container {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

#background-container, #document-background-container {
	width: 100%;
	height: 100%;
	z-index: -1;
}

#background, #document-background {
	display: block;
	width: 100%;
	height: 100%;
}

/* ################################################################################ */

.container {
	width: 100vw;
	height: 100vh;
	margin-top: 0;
}

/* ################################################################################ */

#title-canvas-container {
	z-index: -10;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

#title {
	display: block;

	width: 64vw;
	height: 18.8356vw;
	margin-top: 27vh;
	margin-left: auto;
	margin-right: auto;

	text-align: center;
	line-height: 18.3vw;
	font-size: 4vw;
	font-weight: normal;

	color: white;
	background: url("../images/title_bg.png");
	background-size: cover;

	cursor: pointer;
}

#title:hover {
	background: url("../images/title_bg_hover.png");
	background-size: cover;
	color: #34606f;
}

#intro {
	display: block;

	width: 54vw;
	height: calc(3.7037vh - 10px);
	margin-top: 7vh;
	margin-left: 38vw;

	font-size: min(1.25vw, 2vh);
	line-height: calc(3.7037vh - 7.5px);
	text-align: center;

	color: #4a4d1c;
	border-style: solid;
	border-width: 5px;
	border-color: #00ced9;
	background-color: white;
}

#author {
	display: block;

	width: 12.5vw;
	height: calc(3.7037vh - 10px);
	margin-top: 15vh;
	margin-left: 8vw;

	font-size: min(1.25vw, 2vh);
	line-height: calc(3.7037vh - 7.5px);
	text-align: center;

	color: #4a4d1c;
	border-style: solid;
	border-width: 5px;
	border-color: #00ced9;
	background-color: white;
}

/* ################################################################################ API */

#api-main {
	margin-left: 5vw;
	width: 64vw;
	height: 64vh;

}

#api-main iframe {
	border: none;
	width: 100%;
	height: 100%;
}

#api-link {
	margin-top: 3.6vh;
	margin-left: 5vw;
	width: 48vw;
	height: 8vh;
}

/* ################################################################################ about page */

.about-element {
	color: #4a4d1c;
	border-style: solid;
	border-width: 5px;
	border-color: #00ced9;
	background-color: white;
}

.about-element p {
	margin: 25px;
	width: calc(100% - 50px);
	/* height: 100%; */
	text-align: justify;
}

#about-title {
	display: block;

	width: 36vw;
	height: 8vh;
	margin-top: 5vh;
	margin-bottom: 3.6vh;
	margin-left: 5vw;
	color: #387488;
}

#about-title p {
	margin: 0;
	width: 100%;
	height: 100%;
	font-size: 3.6vh;
	line-height: 8vh;
	text-align: center;

}

#about-main {
	display: inline-block;
	width: 60vw;
	height: 36vh;
	margin-left: 5vw;
	margin-bottom: 3.6vh;
	vertical-align: text-top;
}

#about-main p {
	font-size: 1.6vh;
	line-height: 3.3vh;
}

#about-credit {
	display: inline-block;
	width: 23vw;
	height: 36vh;
	margin-left: 5vw;
	vertical-align: text-top;
	text-align: start;
}

#about-credittitle {
	font-size: 2vh;
	line-height: 3vh;
	font-weight: bold;
	color: #387488;
}

#about-credittext {
	font-size: 1.6vh;
	line-height: 3vh;
	text-align: start;
}

#about-lexicon {
	display: inline-block;
	width: 48vw;
	height: 36vh;
	margin-left: 5vw;
	vertical-align: text-top;
	overflow-y: auto;
}

#about-tech {
	display: inline-block;
	width: 35vw;
	height: 36vh;
	margin-left: 5vw;
	vertical-align: text-top;
	overflow-y: auto;

}

#about-techtext {
	font-size: 1.6vh;
	line-height: 3vh;
	text-align:justify;
}

#about-lexicon p {
	font-size: 2vh;
	line-height: 3vh;
}

#about-lexicon div {
	margin-left: 1.7vw;
}

.lexicon-term {
	font-size: 1.7vh;
	font-weight: bold;
}

.lexicon-meta {
	font-size: 1.5vh;
	font-style: italic;
}

.lexicon-field {
	font-size: 1.5vh;
}

.lexicon-definition {
	font-size: 1.3vh;
	line-height: 1.6vh;
}


/* ################################################################################ */

#document-background-container {
	z-index: -100;
}

#doc-canvas-container {
	z-index: -10;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

#pdf-close-button-container {
	position: absolute;
	top: 3.7037vh;
	right: 3.7037vh;
	width: 3.7037vh;
	height: 3.7037vh;
	cursor: pointer;
}

#pdf-close-button {
	display: block;
	width: 100%;
	height: 100%;
}

#pdf-container {

	width: 100vw;
	height: 100%;
	position: relative;

	background-color: #02213388;

	z-index: 1;
}

#originalPdfViewer, #highlightedPdfViewer {
	display: inline-block;
	position: absolute;

	width: 65vh;
	height: 80vh;
	top: 10vh;

	border: 10px solid #0094be;
	overflow: auto;

	-ms-overflow-style: none;
	scrollbar-width: none;

	z-index: 2;
}

#originalPdfViewer {
	left: calc((95vw - 130vh - 40px) / 2);
}

#highlightedPdfViewer {
	left: calc(52.5vw + 10px);
}

#originalPdfViewer::-webkit-scrollbar, #highlightedPdfViewer::-webkit-scrollbar {
	display: none;
}

.pdf-canvas {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	border: 1px solid #ddd;
}

.sentence-input {
	width: 100%;
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.sentences-container {
	margin-top: 10px;
}

.sentence-item {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

.sentence-item button {
	margin-left: 10px;
}

button {
	padding: 8px 15px;
	background-color: #4285f4;
	color: white;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}
button:hover {
	background-color: #3367d6;
}
.status {
	padding: 10px;
	margin-top: 10px;
	background-color: #e8f0fe;
	border-radius: 3px;
	display: none;
}
.loading {
	display: none;
	text-align: center;
	margin: 20px 0;
}
.loading:after {
	content: " ";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0 10px;
	border-radius: 50%;
	border: 5px solid #4285f4;
	border-color: #4285f4 transparent #4285f4 transparent;
	animation: loading 1.2s linear infinite;
}
@keyframes loading {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* ////////////////////////////////// */

.tab {
	display: inline-block;
	position: absolute;
	bottom: 90vh;

	height: 1.5vh;
}

.tab p {
	display: block;

	margin-top: 0;
	margin-bottom: 0;

	font-size: min(0.8vw, 1.5vh);
	line-height: 1.5vh;
	height: 1.5vh;
}

#name-tab {
	left: calc((95vw - 130vh - 40px) / 2);
	width: 10vw;
	background-color: #007eaa;
	border: 10px solid #007eaa;
	border-radius: 1.5vh 0 0 0;
}

#name-tab p {
	margin-left: 1vh;
}

#progrowth-tab {
	left: calc(52.5vw + 10px);
	width: 5vw;
	background-color: #0094be;
	border: 10px solid #0094be;
	border-radius: 0 1.5vh 0 0;
}

#progrowth-tab p {
	margin-left: 0;
}

#greenwash-tab {
	left: calc(57.5vw + 40px);
	width: 12vw;
	background-color: #0074ab;
	border: 10px solid #0074ab;
	border-radius: 0 1.5vh 0 0;
}

#greenwash-tab p {
	margin-left: 0;
	color: white;
}

.downArrow {
	position: absolute;
	width: 40px;
	height: 40px;
	z-index: 100;
	animation: flashing 1s infinite;
}
@keyframes flashing {
	0% { opacity: 0.5; }
	50% { opacity: 0; }
	100% { opacity: 0.5; }
}


.downArrow {
	bottom: calc(5vh - 20px);
}

.downArrowImg {
	display: block;
	width: 100%;
	height: 100%;
}

#originalArrow {
	left: calc(47.5vw - 30px - 31.5vh);
}

#highlightedArrow {
	left: calc(52.5vw + 10px + 31.5vh);
}
