/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
iframe {

z-index: 99999999;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*https://www.heropatterns.com/*/
h1, h2, h3 {
	line-height: 20px;
}
.postLoadHide {
	z-index: -100;
	position: absolute;
}
body {
   height: 100%;
   overflow: hidden;
   width: 100%;
}
#available-contracts {
	top: 0 !important;
	right: 0 !important;
}
.html-ui, .html-ui *{
	/*cursor: default !Important;*/
}
#pawn-info {
    font-style: normal;
    width: 500px;
    top: 40px;
    height: 90%;
    right: 40px;
    position: absolute;
    display: none;
    background-color: #04113F;
    z-index: 101;
    padding: 15px;
}
#debug, #debug * {
	background-color: #cccccc30;
	color: black !important;
	font-size: 16px;

}


#debug-container * {
	color: white !important;
}

#debug-container td {
	
	width: 50%;
	overflow-x: auto;
	overflow-y: hidden;
	
}
#help-guide {
	display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 99999;
    background-color: #2C2F33;

}
.help-img {
    float: left;
    clear: both;
    margin-right: 10px;
    max-width: 200px;
    background-color: #23272A;
    border-radius: 14px;
}
.help-section {
    margin: 10px;
    border: 1px solid;
    padding: 10px;
	background-color: #36393f;
}
#help-contents {
	height: 100%;
overflow-y: scroll;	
}

.help-section h1 {
    margin-bottom: 10px;
}
#debug-tools {
display: none;
}
#toggleDebug {
	
	z-index: 99999;
	right: 10px;
	bottom: 10px;
	height: 40px;
	width: 30px;
	position: absolute;
	display: none;
	background-color: white;
	color: black;
}

#debugString {
	width: 100%;
	margin-bottom: 20px;
}

#debug-container {
	z-index: 99999;
	right: 10px;
	width: 500px;
	position: absolute;
	height: 90%;
	overflow-y: auto;
	border: 1px solid red;
	background-color: black;
}
#debugString {
	color: black !important;
}
#debug-buttons{
	z-index: 99999;
	position: absolute;
	right: 510px;
	width: 100px;
	height: 100px;
	border: 1px solid green;
}

#overall-inputs > div{
	position:absolute;
	z-index: 999999;
	background-color: hsla(134, 87%, 31%, 0.33);
	height:100%;
	width: 0;
	display: none;
}


#overall-inputs .inputContainer {
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	height: 500px;
}

#keyboard-input-title {
	margin-top: 50%;
	margin-bottom: 10px;
	font-size: 18px;
	font-family:Verdana, Geneva, Tahoma, sans-serif;
}
#keyboard-input-component {
	width:100%;
	height: 80px;
	font-size: 47px;
	
}

#keyboard-input-button-save, #keyboard-input-button-cancel {
	border: 1px solid black;
	background-color: black;
	color: white;	
	font-family:Verdana, Geneva, Tahoma, sans-serif;
	margin-top: 10px;
	padding: 20px;
}

#keyboard-input-button-save:active, #keyboard-input-button-cancel:active {
	
}

#keyboard-input-button-save {

}

#keyboard-input-button-cancel {

}

.btnDebug {
    display: block;
    border: 1px solid red;
    margin-bottom: 10px;
    margin: 10px;
    padding: 10px;
    background-color: black;
}
}

#btnExitSettings:hover {
	cursor: pointer;
}
#settings-menu {
    z-index: 99999999;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #23272A;
	display: none;
	padding-left: 10px;
    padding-top: 10px;
	
}

#settings-contents {
	
	
    height: 100%;
	overflow-y: scroll;
}



#settings-menu h2 {
	margin-bottom: 25px;
}
#settings-container {
	padding: 20px;
}
#settings-menu h3 {
	margin-top: 25px;
	margin-bottom: 25px;
}

#esc-menu {
    z-index: 9999999;
   
    position: absolute;
    left: 50%;
    margin-left: -200px;
    top: 50%;
    margin-top: -300px;


	background-color: #23272A;
	width: 400px;
	height: 600px;
    padding: 20px;
	display: none;
}

#esc-menu *{
	text-align: center;
	
}

#esc-menu li {
	background-color: #36393f;
	width: 100%;
	margin-top: 25px;
	text-align: center;
	height: 55px;
	line-height: 55px;
	font-family: "Bungee";
}
#esc-menu li:hover {
	cursor: pointer;
}


#debug-info {
    font-style: normal;
    width: 200px;
	top: 0;
    height: 10px;

    position: absolute;
    background-color: #04113F;
    z-index: 1;
    padding: 15px;
right: 200px;
margin-left: -100px;
}
#game-log-contents p {
	padding: 5px;
}
#game-log-contents p.green {
	background-color: #164a17b0;
}
.hide-parent, #close-game-log {

    top: 10px;
    position: absolute;
    right: 10px;
}

#game-log {
    height: 400px;
    font-style: normal;
    width: 500px;
    top: 55px;

    right: 130px;
    position: absolute;
    display: none;
    background-color: #041113;
    z-index: 100001;
    padding: 15px;
}

:root {
	--color1: #202225;  /* darkest gray */
	--color2: #2f3136; /* mid gray */
	--color3: #36393f; /* lightest gray */
	
	/* Negative colors */
	--neg-color1: #f04747; /* red */
	
	/* Positive colors  */
	
	/* Lights */
	--light-color1: #f0f0f1; /* var(--light-color1) */
	
}

#intro-menu {
	padding-top: 50px;
	padding-left: 100px;
}

#top-tagline {
	padding: 25px;
}

.big-button {
	color: var(--light-color1);
	font-size: 25px;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	width: 300px;
	height: 50px;
	line-height: 50px;
	border : 1px solid var(--light-color1);
	display: block;
	margin-bottom: 10px;
	background-color: var(--color2);	
}

.disabled{
	color: gray !important;
}
.disabled:hover {
	cursor: not-allowed !important;
}


#body {
	margin: 0;
	padding: 0;
	color: #15a18e;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

body {
	color: var(--light-color1);
	display: block;
	font-family: Handlee;
}

.clickableFurni {
	width: 50px;
	float: left;
}

.centered {
	padding: 15px;
	font-size: 10px;
}


#viewport {
	padding-bottom:1px;
padding: 1px;
	position: absolute;
	height: 100%;
	left: 0;
	width: 100%;
	top:0;
	z-index: 10000;
	overflow-y: auto;
	background-color: black;
}

.right #viewport {
	left: 240px !important;
}

#viewport canvas {
	position: absolute;
	image-rendering: -moz-crisp-edges;
	image-rendering: -webkit-crisp-edges;
	image-rendering: pixelated;

}

.spacer {
	height: 1px;
}

canvas {
	background-color: transparent;
	border: 0px solid black;
}

#adunit {
	position: absolute;
	width: 250px;
	height: 250px;
	margin-left: auto;
	margin-right: auto;
	bottom: -250px;
}

#debugger {
	position: absolute;
	width: 250px;
	display: block;
	z-index: 50;
}

div#game-container {
	background: url(sample.jpg);
	width: 978px;
	height: 676px;
}

.ui-window * {
	font-family: "Ubuntu Condensed", "Trebuchet MS", "Lucida Grande",
		"Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
}

.ui-window {
	position: absolute;
	/* border: 5px solid #E1A6A5; */
	width: 500px;
	left: 100px;
	top: 100px;
	background-color: #52B3D9;
	/* border-radius: 20px; */
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border: 3px solid #DADFE1;
	box-shadow: 1px 1px 3px #000000;
}

.ui-window-top-bar h4 {
	background-color: #3498DB;
	padding: 10px;
	cursor: all-scroll;
	width: 100% -10px;
	border: 4px solid #52B3D9;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	color: #E4F1FE;
	font-weight: bold;
	text-transform: uppercase;
	margin-top: 0;
	text-shadow: 1px 1px #000000;
}

.ui-window-container {
	margin-top: -20px;
	background-color: #C5EFF7;
	border: 10px solid #52B3D9;
	border-radius: 10px;
}

.ui-window-content {
	border: 1px solid var(--light-color1);
	width: 100%;
	min-height: 100%;
}

.ui-window-content h4 {
	text-shadow: 1px 1px #E4F1FE;
	color: #22313F;
}

i.x:hover {
	cursor: pointer;
	background-color: #af1212;
}

i.x {
	float: right;
	border: 2.px solid var(--light-color1);
	width: 21px;
	height: 21px;
	text-align: center;
	line-height: 21px;
	/* background-color: var(--light-color1); */
	font-style: normal;
	border-radius: 18px;
	box-shadow: inset 1px 1px 6px #af1212;
	/* box-shadow: -2px -2px 8px #52B3D9; */
	margin-top: -2px;
	margin-right: -1px;
	background-color: red;
}



#top-menu {
	display: block;
	background-color: var(--light-color1);
	position: absolute;
	bottom: 0;
	top: 0;
	width: 100%;
	border-top: 5px solid #2c2f33;
	background-color: #23272a;
	height: 45px;
}

#bottom-menu {
	display: block;
	background-color: var(--light-color1);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	border-top: 5px solid #2c2f33;
	background-color: #23272a;
}

#furni-menu, #contracts-menu {
	display: block;
	background-color: var(--light-color1);
	position: absolute;
	bottom: 65px;
	left: 25px;
	width: 300px;
	height: 150px;
	border: 5px solid #2c2f33;
	border-top: 35px solid #2c2f33;
	background-color: #23272a;
	padding: 10px;
	overflow-y: scroll;
}

#furni-menu::-webkit-scrollbar {
	width: 12px;
}

#furni-menu::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
}

#furni-menu::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
.container .menu-left{
	height: 100%;
}

.scrolls {
	width: 100%;
	height: 100%;
	overflow-y: scroll;
}

.scrolls::-webkit-scrollbar {
	width: 10px;
	margin: 10px;
	padding: 10px;
}

.scrolls::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
}

.scrolls::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.menu-left {
	width: 50%;
	float: left;
	display: block;
}

.menu-right {
	width: 40%;
	float: right;
	display: block;
}

.menu-right i {
	float: right;
	display: block;
	margin-right: 5px;
}

.fButton {
	background-color: var(--color2);
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	font-size: 15px;
	padding: 6px 13px;
	text-decoration: none;
	text-shadow: 0px 1px 0px #263666;
}

.fButton:hover {
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #415989
		), color-stop(1, #2e466e));
	background: -moz-linear-gradient(top, #415989 5%, #2e466e 100%);
	background: -webkit-linear-gradient(top, #415989 5%, #2e466e 100%);
	background: -o-linear-gradient(top, #415989 5%, #2e466e 100%);
	background: -ms-linear-gradient(top, #415989 5%, #2e466e 100%);
	background: linear-gradient(to bottom, #415989 5%, #2e466e 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#415989',
		endColorstr='#2e466e', GradientType=0);
	background-color: #415989;
}

#top-info-window {
	width: 100px;
	top: 100px;
	right: 100px;
	position: absolute;
	display: block;
}

.invis-table {
	border: 0px;
	width: 100%;
}

#furni-info-menu-top {
	text-align: right;
	background-color: #2c2f33;
	padding: 5px;
	border-top: 1px solid #2c2f33;
}

#furni-info-menu {
	display: block;
	background-color: var(--light-color1);
	position: absolute;
	bottom: 65px;
	right: 15px;
	min-width: 250px;
	border: 5px solid #2c2f33;
	background-color: #23272a;
	padding: 0px;
}

.top-bar {
	
	
	height: 50px;
	background-color: var(--color1);
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	line-height: 50px;
	
		
}

.top-bar .menu-left {
	text-align: left;
	padding-left: 25px;
	line-height: 55px;
	
}
.title {
	border-left: 1px solid var(--color3);
	padding-left: 5px;
	color: var(--light-color1);
	font-size: 18px;
}
#available-contracts .top-bar .menu-left {
	padding-left: 11px;
}

.btn-close {
	background-color: var(--color3);
	width: 26px;
	height: 26px;
	display: block;
	
	border-radius: 25px;
	text-align: center;
	line-height: 25px;
	margin-top: 13px;
	margin-right: 13px !important;
	 font-size: 16px;
    font-family: Lucida //console!important;
    font-style: normal;
}

.btn-close:hover {
	background-color: var(--neg-color1);
	cursor: pointer;
}


.container {
	width: 100%;
	height: 100%;
	background-color: var(--color2);
	display: block;
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

#zoomin {font-size: 20px;}
#zoomnormal {font-size: 15px;}
#zoomout {font-size: 10px;}


#available-contracts {
	
	position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 1000px;
    height: 300px;
    z-index:1000;
	
}

#available-contracts .container {
	
}

.container.scrolls {
	margin-top: -10px;
}

.contract-name {
	border-bottom: 1px solid var(--light-color1);
}
.available-contract-tools {
	text-align: right;
}

.available-contract-tools *{
	margin-right: 0;
}


#available-contracts .container > .menu-right {
	text-align: left;
	width: 460px;
	margin-right: 10px;
	background-color: var(--color3);
	border-radius: 5px;
	padding: 10px;
	padding-top: 5px;
	margin-top: 7px;
}


.listed-contract {
	padding: 10px;
	margin: 10px;
	width: 90%;
	text-align: left;
	background-color: var(--color3);
}
.listed-contract.selected {
	background-color: var(--color1);
}


#main-menu {
	
	position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 350px;
    height: 300px;
    z-index:1000;
	text-align: center;
}
#main-menu .container * {
	margin: auto;
	margin-bottom: 10px;
}



.alert {
	background-color: #ea4335;
}

.good {
	background-color: #34a853;
}


#help-menu {
	width: 700px;
	height: 600px;
	top: 100px;
	right: 10px;
	left: auto;
	
	display: block;
	
	position: absolute;
	
	
	background-color: #23272a;
	border-radius: 5px;
	
}
#help-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#help-list .menu-right {
	height: 100%;
	border-left: 1px solid red;
}

#help-list a {
	margin-bottom: 10px;
	padding: 10px;
	display: block;
	color: var(--light-color1);
	text-decoration: none;
	height: 20px;
	width: 240px;
	background-color: var(--color3);
}

#help-iframe {
	display: block;
	height: 100%;
	width: 100%;
	border: none;
	background-color: var(--color3);
	margin-left: 10px;
	border-radius: 5px;
}
#help-menu .menu-left {
	width: 390px
}
#help-menu .menu-right {
	height: 100%;
}

#help-body {
	background:none !Important;
	
}


i[data-title]:hover:after {
  content: attr(data-title);
  position: absolute;
  top: -35px;
  text-align: left;
	color:white;
	border: 1px solid white;
	padding: 5px;
	margin-left: -75px;
}

#loader {
	position: absolute;
	left: 0;
	top: 0;
}