body {
	margin: 0;
}

p {
	margin: 0;
}

.tdhop {
	
	bottom: 0%;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.tdhop>div {
    z-index: 100;
}

#bottom_wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: end;
    pointer-events: none;
}

#respects {
	display: flex;
	flex-direction: column;
	pointer-events: auto;
}

#copyright { 
	display: flex;
	flex-direction: row;
	margin-bottom: 4%;
	margin-left: 1%;
	font-size: 1.5vh;
	font-family: sans-serif;
	color: #808080;
}

#copyright_caption {
	color:#A6A7A6; 
	margin-left: 3px;
	text-decoration:none; 	
}

#tdhlg_wrapper {
	height: 30px;
}

#title {
	margin-bottom: 0; 
	margin-right: 0; 
    min-height: 18vh;
	background-color: #000000;
	box-shadow: 
	0px 4px 4px 4px rgba(0,0,0,0.25),
	inset 4px 4px 16px -1px rgba(255,255,255,0.5);
	border-top-left-radius: 40px;
	padding: 2%;
}

#title2 {
	display: flex;
	flex-direction: column;
	align-items: end;
    pointer-events: auto;
}

#title2 > div {
	margin-bottom: 1%;
	line-height: 1.5;
	text-align: right;
	font-size: 1.2vh;
	font-family: sans-serif;
	color: #ffffff;
}

#name {
	font-size: 1.7vh !important;
}

#geo {
	display: inline;
}

#details {
	/*position: relative;*/
	bottom: 3vh;
	display: flex;
	flex-direction: column-reverse;
	align-items: end;
}

.details_content {
	position: absolute;
	overflow: hidden;
	width:  60vw;
	min-height: 15vh;
	box-sizing: border-box;
	transition: transform 0.4s ease-in-out;
	transform: scale(1);
	transform-origin: right bottom;
	border-radius: 40px;
	box-shadow: 
	0px 4px 4px 4px rgba(0,0,0,0.25),
	inset 4px 4px 16px -1px rgba(255,255,255,0.5),
	inset -4px -4px 16px -1px rgba(255,255,255,0.5);
	background-color: #000000;
	padding: 137px 97px;
	text-align: justify;
	color: #ffffff;
	font-family: sans-serif;
	font-size: 20px;
}

.details_content.hidden {
	transform: scale(0);
	padding: 0;
}

.close_details {
	display: none;
	position: absolute;
	right: 21px;
	bottom: 29px;
	width: 33px;
	height: 33px;
	font-size: 33px;
}

.more {
	width: 29vw;
	margin-top: 1em;
	color: #aaaaaa;
	text-decoration: underline;
	text-align: right;
	font-family: sans-serif;
	font-size: 1.2vh;
}

#toolbar {
	margin-top: 2%;
	margin-left: 1%;
    width: 120px;
}

#toolbar .button_wrapper {
	display: flex;
}

#toolbar img {
	margin-bottom: 8px; 
	margin-right: 8px; 
	width: 50px; 
	height: 50px; 
	opacity: 0.5; 
	cursor: pointer; 
	-webkit-user-select: none; 
	-webkit-touch-callout: none; 
	-khtml-user-select: none; 
	-moz-user-select: none; 
	-ms-user-select: none; 
	user-select: none; 
	touch-action: none; 
	-ms-touch-action: none; 
	-webkit-tap-highlight-color: rgba(0,0,0,0); 
	-webkit-tap-highlight-color: transparent; 
}

#spot_text {
	position: absolute;
	box-sizing: content-box;
    padding: 5px 10px;
    height: auto;
}

#draw-canvas {
     position: absolute;
}

.output-box { 
	display:none; 
	border-radius:5px; 
	margin:0; 
	height:48px; 
	padding:0px 5px 2px 5px;
	cursor:default; 
	background-color:rgba(125,125,125,0.5); 
	color:#f8f8f8; 
	text-decoration:none; 
	text-align:center; 
	font-family:verdana; 
	font-style:italic; 
	font-size:12px; 
	line-height:20px; 
	-webkit-user-select:none; 
	-webkit-touch-callout:none; 
	-khtml-user-select:none; 
	-moz-user-select:none; 
	-ms-user-select:none; 
	user-select:none; 
	touch-action:none; 
	-ms-touch-action:none; 
	-webkit-tap-highlight-color: rgba(0,0,0,0); 
	-webkit-tap-highlight-color: transparent; 
}


@media screen and (max-width: 63.94em){
	#respects {
		flex-grow: 1;
	}
	#title {
		flex-grow: 3;
		min-height: 18vh;
	}
	#title2 > div {
		font-size: 1.25vh;
	}
	.details_content {
		width: 85vw;
		text-align: left;
		font-size: 1.2vh;
	}
	#name {
		font-size: 1.7vh !important;
	}
	.close_details {
		bottom: 35px;
		width: 3vh;
		height: 3vh;
		font-size: 3vh;
	}
	.more {
		font-size: 1.15vh;
	}
	#toolbar img {
		width: 5vh;
		height: 5vh;
	}
	#copyright {
		bottom: 1.5%;
		font-size: 0.9vh;
	}
	#tdhlg_wrapper {
		font-size: 0.7vh;
	}
    .output-box { 
        font-size: 1.2vh;
    }
    #spot_text {
        padding: 1vh 1vw;
    }
}