@CHARSET "UTF-8";

* {
	box-sizing: border-box; /* include margin into width and height calculation */
}



meta, body {
	font-family: sans-serif;
	font-size: 16px;
	/* the following is about the ability to select text */
	/*-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;*/
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	overflow: hidden;
}

.loading-div {
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background: #303030;
	z-index: 100;
	text-align: center;
	opacity: 0.6;
}


.loading-span {
	height: 100vh;
	line-height: 36px;
	color: white;
	font-size: 32px;
}


/* class for links and buttons  */
.interactive {
	cursor: pointer;
}

.interactive:hover {
	background-color: lightgray;
	fill: gray;
	color: gray;
}

.interactive:active {
	fill: orangered;
	color: orangered;
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
/* HEADER (was main title bar) */
#main-panel-frame {
	height: 30px;
	z-index: 50;
	top: 4px;
	left: 4px;
	position: fixed;
	border: solid 2px #303030;
	background-color: dimgray;
	border-bottom-right-radius: 12px;
	padding: 1px 9px 1px 9px;
}

#main-panel {
	display: inline;
	cursor: pointer;
	/* position: fixed; */
	width: auto;
	height: 30px;
	vertical-align: top;
	line-height: 24px;
	white-space: nowrap;
}
#header {
	display: inline;
	font-size: 16px;
	color: white;
	/* display: inline; */
	cursor: pointer;
	/* position: fixed; */
	width: auto;
	transition: 0.6s;
	padding: 0px 0px 0px 6px;
}

#home-button {
	display: inline;
	cursor: pointer;
    height: 16px;
}

#home-icon {
	display: inline;
	transition: 0.4s;
	cursor: pointer;
	/*float: right;*/
	fill: white;
    height: 24px;
	vertical-align: top;
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
/* CENTER */
#center {
	height: 100%;
	width: 100%;
	display: block;
}

.grid-element {
	width: 100vw;
	height: 100vh;
	display: none;
	overflow: hidden;
	border: solid 4px dimgray;
}

/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
/* CLOSE CROSS */

#close-cross{
	z-index: 50;
	top: 9px;
	right: 12px;
	position: fixed;
	color: white;
	cursor: pointer;
}