/*CSS Reset*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}

html, body {
	width: 100vw;
	height: 100vh;
}

hr {
	margin: 0;
	padding: 0;
}

*:focus {
    outline: none;
}

::-webkit-scrollbar {
    width: 0px;
	height: 0px;
}

/* Game */

#game {
	width: 100%;
	height: 100%;
}

#topbar {
	width: 100%;
	height: 35px;
	line-height: 35px;
	background-color: darkgrey;
	top: 0;
	position: fixed;
}

#sidebar {
	height: calc(100vh - 35px);
	width: 80px;
	background-color: lightgrey;
	transition: width 0.5s;
	float: left;
	text-align: center;
	bottom: 0;
	position: fixed;
	z-index: 100;
}

#sidebar.expanded {
	width: 300px;
}

#main {
	height: calc(100vh - 35px);
	width: calc(100vw - 80px);
	background-color: grey;
	transition: width 0.5s;
	margin-top: 35px;
	float: right;
}

#sidebar.expanded + #main {
	width: calc(100vw - 300px);
}

#toggleSB {
	font-size: 20px;
}

#layerswrapper {
	min-width: 100%;
	width: max-content;
	height: 100%;
	max-height: 100%;
	white-space: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
}

#autodiv {
	min-width: 100%;
	width: max-content;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
}

.mt {
	font-size: 25px;
}

.maintab {
	height: 100%;
	width: 100%;
	text-align: center;
}

.p {
	height: 100%;
	width: 200px;
	background-color: silver;
	float: left;
	text-align: center;
	overflow-y: auto;
	position: relative;
}

.r {
	height: 80px;
	width: 100%;
	background-color: #A3A3A3;
	white-space: normal;
	position: sticky;
	top: 0;
}

.g {
	height: auto;
	width: 100%;
	background-color: silver;
	float: left;
}

.pb {
	font-size: 11px;
}

.auto {
	width: 200px;
	height: 100%;
	background-color: silver;
	float: left;
}

.ama {
	height: 80px;
}

.ap {
	height: 80px;
}
