#canvasOuter {
	width: 100%;
	height: 100vh;
	/*margin-top: 17px;*/
	position: relative;
	overflow: hidden;
}

/*#canvasOuter:after {
	content: '';
	display: block;
	padding-top: 75%;
}*/

#canvas {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	border: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-color: #ffffff;
}

#minimap {
	pointer-events: none;
	box-sizing: content-box;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.5);
	border: 2px solid rgba(0, 0, 0, 0.5);
	background-color: rgba(0, 0, 0, 0.2);
	position: absolute;
	right: 20px;
	bottom: 20px;
	width: 200px;
	height: 200px;
}

#loader {
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.5);
	z-index: 1000;
	position: absolute;
	text-align: center;
}
#loader:before {
	content: ' ';
	display: inline-block;
	height: 100%;
	width: 0;
	overflow: hidden;
	vertical-align: middle;
}
#loader > div {
	text-align: left;
	display: inline-block;
	vertical-align: middle;
	background-color: #FFFFFF;
	width: 300px;
	padding: 10px;
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	border-radius: 0.5em;
	text-align: center;
}
#loader > div > img#loadingPreview {
	max-width: 280px;
	display: block;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	border: 1px solid #555555;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
#loadingIndicator {
	margin-top: 10px;
}
#loader > div > img#loadingAnim {
	margin-top: 10px;
}
#loadButtonDiv {
	margin: 20px 0 10px 0;
}
#loadButton {
	font-size: 24px;
	paddig: 10px;
	text-transform: uppercase;
	background: #FFFFFF;
	color: #49B6DD;
	border: 2px solid #49B6DD;
	border-radius: 10px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s, transform 0.25s;
	outline: none;
}
#loadButton:hover {
	background: #49B6DD;
	color: #FFFFFF;
}
#loadButton:active {
	transform: scale(0.95, 0.95);
}
#progress {
	border: 1px solid #000000;
	width: 275px;
	height: 15px;
	margin: 10px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
#progress2 {
	width: 0%;
	height: 100%;
	background-color: #49B6DD;
}
.btn {
	width: 50px;
	height: 50px;
	position: absolute;
	border-radius: 15px;
	border: 2px solid #FFFFFF;
	background-color: rgba(0, 0, 0, 0.5);
	color: rgba(0, 0, 0, 0);
	font-weight: bold;
	font-size: 16pt;
	text-align: center;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-size: 1px;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
#btnUp {
	left: 70px;
	bottom: 110px;
	display: none;
	background-image: url('arrow_u.png');
}
#btnDown {
	left: 70px;
	bottom: 10px;
	display: none;
	background-image: url('arrow_d.png');
}
#btnLeft {
	left: 20px;
	bottom: 60px;
	display: none;
	background-image: url('arrow_l.png');
}
#btnRight {
	left: 120px;
	bottom: 60px;
	display: none;
	background-image: url('arrow_r.png');
}
#btnPlus {
	right: 20px;
	bottom: 80px;
	display: none;
	background-image: url('plus.png');
}
#btnMinus {
	right: 20px;
	bottom: 10px;
	display: none;
	background-image: url('minus.png');
}
#btnMenu {
	right: 6px;
	bottom: 10px;
	background-image: url('menu.png');
	display: none;
}
#btnHome {
	right: 230px;
	bottom: 10px;
	display: none;
	background-image: url('house.png');
}
#btnAuto {
	right: 160px;
	bottom: 10px;
	display: none;
	background-image: url('auto.png');
}
#infoPanel {
	position: absolute;
	max-width: 350px;
	right: -10px;
	bottom: 10px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border-radius: 5px;
	border: 2px solid #FFFFFF;
	background-color: rgba(0, 0, 0, 0.5);
	font-size: 9pt;
	color: #FFFFFF;
	opacity: 0;
}
#infoPanel a {
	color: #FFFFFF;
}
#infoPanel > div {
	margin-left: 6px;
	margin-right: 6px;
	margin-top: 6px;
}
#infoPanel > div:last-child {
	margin-bottom: 6px;
}
span.bold {
	font-weight: bold;
}
#createdBy {
	position: absolute;
	right: 10px;
	top: 5px;
	text-align: right;
	width: 250px;
	pointer-events: none;
	color: #FFFFFF;
	text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.75);
	font-size: 8pt;
}
body.noFrameBody {
	background-color: #FFFFFF;
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	background: none;
	overflow: hidden;
}
body.noFrameBody div#canvasOuter {
	margin: 0px;
	padding: 0px;
	height: 100%;
}

#poiPanel {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	
	background-color: rgba(0, 0, 0, 0.75);
	max-width: 300px;
	width: 100%;
	max-height: calc(100% - 40px);
	position: absolute;
	top: 20px;
	left: 20px;
	box-sizing: border-box;
	padding: 10px;
	border-radius: 10px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
	transition: top 0.25s, left 0.25s;
	overflow: hidden;
}

#poiPanelCloseButton {
	float: right;
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
	margin-top: -5px;
	font-size: 20px;
	cursor: pointer;
	transition: transform 0.25s, text-shadow 0.25s;
}

#poiPanelCloseButton:hover {
	transform: scale(1.2, 1.2);
	text-shadow: 0 0 3px rgba(255, 255, 255, 0.75);
}

#poiPanelCloseButton:active {
	transform: scale(0.9, 0.9);
}

#poiPanelTitle {
	color: #FFFFFF;
	font-size: 16px;
	margin-right: 15px;
}

#poiPanelDescription {
	color: #FFFFFF;
	font-size: 12px;
	overflow: auto;
	padding-right: 10px;
	text-overflow: ellipsis;
	max-height: 75%;
	margin: 5px 0 10px 0;
	text-align: justify;
}

@media (max-height: 400px) {
	#poiPanelDescription {
		display: none !important;
	}
}

@media (max-height: 300px) {
	#poiPanel {
		top: 0;
	}
}

@media (max-width: 500px) {
	#poiPanel {
		left: 0;
	}
}

@media (max-height: 260px) {
	#poiPanelPicture {
		display: none !important;
	}
}

#poiPanelButtons {
	text-align: right;
}

#poiPanelNextButton {
	text-align: center;
	border: 3px solid #CCCC00;
	background-color: #B7B700;
	font-size: 16px;
	color: #333333;
	cursor: pointer;
	box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
	text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
	transition: background-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

#poiPanelNextButton:hover {
	background-color: #CCCC00;
	box-shadow: none;
}

#poiPanelNextButton:active {
	transform: scale(0.95, 0.95);
}

#poiPanel.bigPoiPanel {
	width: auto;
	right: 20px;
	max-width: 400px;
}

#poiPanel.bigPoiPanel #poiPanelDescription {
	font-size: 12pt;
}