html {
	font-size: 100%;
	transition-delay:0;
	touch-action:manipulation;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

	text-decoration: none;
}
body, p, h2, h3, h4, h5, h6 {
    font-size: 16px;
	line-height: 1.2em;    
}
h1 {
	margin:0;
	padding:0;
	font-size: 24px;
	line-height:1.6em;
	color: lightgray;
}
button, input {
	cursor: pointer;
}
button {
	border: none;
	font-size: 0.7em;
	position: relative;
	background: none;
}
button:hover {
	color: black;
}
img, svg {
	pointer-events: none;
}
::-webkit-scrollbar {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background: rgba(0,0,0,0.5);
}
::-webkit-scrollbar:hover {
	background: orange;
}
#constantMenu, #constantGame {
	position: absolute;
	top:0;
	left:0;
	pointer-events: none;
	width: 100%;
	height: 100%;
}
#constantGame, #uiGCContainer {
	perspective-origin: top;
	-webkit-perspective: 100vw;
	perspective: 100vw;
	width: inherit;
	height: 100%;
}
#guiContainer, #genSystemMessage, #genNetControls {
	position: absolute;
	top:0;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto; 
	width: inherit;
	height:inherit;
	display: flex;
	overflow: hidden;
	pointer-events: none;
}

#guiContainer {
    z-index: 1;
}
#guiTable {
	height:100%;
	width:100%;
	min-width:100%;
	pointer-events: none;
}
ul li {
	list-style-position: inside;
	font-size: 0.5em;
	line-height: 1.1em;
}
p {
	margin: 0;
	font-size: 0.55em;
}
article {
	position: relative;
	padding: 0 0.5%;
	width: 100%;
	height: 100%;
}
.tBold {
	color: white;
	font-weight: bold;
	text-shadow: 0px 1px 2px rgba(0,0,0,0.5);
}
.titleHeading {
    font-weight: normal;
	font-size: 0.7em;
    padding: 0em;
	width: 100%;
	border-radius: inherit;
}
.titleHeadingTop {
	font-weight: bold;
	font-size: 0.6em!important;
	line-height: 1.75em!important;
	color:white;
	background: rgba(0,0,0,0.5);
	border-radius: 4px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	justify-self: stretch;
	align-self: stretch;
	min-height: 1.75em;
	width: 100%;
	margin:0.01em;
	padding:0em 0.5em;
}
.fullWidthMin {
	min-width:100%!important;
	width:100%!important;
}
.halfWidthMin {
	min-width:50%!important;
	width:50%!important;
}
.quartWidthMin {
	min-width:25%!important;
	width:25%!important;
}
.eighthWidthMin {
	min-width:12.5%!important;
	width:12.5%!important;
}
.fullWidth {
	width:100%;
}
.halfWidth {
	width:50%;
}
.thirdWidth {
	width:31.3%;
}
.twothirdWidth {
	width:64.6%;
}
.halfHeight {
	height:48%;
	margin:0% 1% 1%;
}
.thirdHeight {
	height:33.3%;
}
.genUI-halfDark-right {
	position: absolute;
	width:100%;
	top:0;
	left:0;
	height:100%;

	background: rgba(0, 0, 0, 0.5);
	background: -moz-linear-gradient(bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
	background: -webkit-linear-gradient(bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
	background: linear-gradient(bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=0 );

	pointer-events: all;
}
.btnDisabled {
	pointer-events: none!important;
	cursor: none!important;
	opacity:0.5!important;
}
.btn-rounded {
	border-radius: 4px;
}
.btn-rounded-tight {
	border-radius: 2px;
}
/* override jquery button styling */
button:focus, button:active, input:focus, select:focus, textarea:focus {
	outline: none;
}
hr {
    padding: 0;
    width: 100%;
	margin: 0.1em 0em;
	height: 0.1em;
	display: inline-block;
	border-color: #AFADAB;
}

/* DEBUG PANEL */
#debugButtonBar {
	position: absolute;
    bottom: 10%;
    width: 30%;
    left: 2em;
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    flex-flow: wrap;
    z-index: 1300;
    padding: 0%;
    background-color: rgb(62, 72, 79);
	border: 1px solid rgb(111, 128, 141);

	transition: transform 0.5s ease-in-out;
    -webkit-transition: transform 0.5s ease-in-out;
    -moz-transition: transform 0.5s ease-in-out;
    -o-transition: transform 0.5s ease-in-out;

	transform: translate(-200%,0%);
    -webkit-transform: translate(-200%,0%);
    -o-transform: translate(-200%,0%);
    -moz-transform: translate(-200%,0%);
}
.debugButton {
	min-height: 2.25em;
    min-width: 2.25em;
    max-width: 2.25em;
    max-height: 2.25em;
	
	margin: 0 1.25%;
    
	font-size: 0.45em;
	line-height: 1em;
	
	background: rgba(17, 17, 17, 0.5);

	border: 1px #888888 solid;
	color: #bbbbbb;
	
	display:flex;
	align-content: center;
	justify-content: center;
	
	pointer-events: all;
	cursor: pointer;

    z-index: 102;
}
.debugButtonFull {
	min-width: 100%;
	margin-left: 0%;
	margin-right: 0%;
}
.debugButton:hover {
	color: black;
	border: 1px #444444 solid;
	background: #888888;
}
.debugButton:active, .debugButtonActive {
	color: white;
	border: 1px #444444 solid;
	background: #aaffaa;
}
#debugButtonBar-btn {
	position: absolute;
    right: -23%;
    bottom: 43%;
    -ms-transform: rotateX(90deg);
    -webkit-transform: rotateX(90deg);
    transform: rotatez(90deg);
    pointer-events: all;
    cursor: pointer;
    background: rgba(255,0,0,1);
    font-size: 0.5em;
    width: 40%;
    text-align: center;
}
#debugButtonBar-btn:hover {
	background: rgba(0,0,0,1);
	color: orange;
}
.genBoxTitle {
	font-size:0.5em;
	line-height: 1em;
	padding:0.15em;
	text-align:left;
	color:#ccc;
	position: absolute;
}
.genBoxData {
    padding: 0% 2.5%;
    text-align: right;
	font-size: 0.5em;
	font-weight: bold;
	line-height: 1.4em;
    text-transform: uppercase;
	width: 100%;
}
.genBoxData span {
	font-size: 0.6em;
	line-height: 1em;
	color: darkgrey;
}

#leanderInfoBarSetRCParams .LIB-button {
	line-height:normal;
}