html, body {
  height:99%;
  width:99%;
  background-image: url("res/else/bg.jpg");
  background-color: rgba(255,255,255,0.7);
  background-blend-mode: lighten;
}

#wrap{
	height:100%;
	width:100%;
}

.controls{
	height:auto;
	overflow:hidden;
	width:auto;
	padding-top:10px;
}

#timeDiv{
	position: relative;
    margin-left: 10px;
	width:220px;
	height:44px;
	float:left;
}

#timeWrap1,#timeWrap2,#typeWrap1,#typeWrap2{
	width:100%;
	position:relative;
	float:left;
	height:22px;
}


#typeDiv{
	position: relative;
	width:220px;
	height:44px;
	float:left;	
	margin-left:10px;
}

#t1,#t2{
	position:relative;
	float:right;
	width: 35px;
}

/*
#t1p, #t2p{
	position:relative;
	width:auto;
	height:auto;
	float:left;
}

#td1p,#td2p{
	height:auto;
}
*/

.orvControl{
	float:right;
}

.modeButton{
	position:relative;
	float:left;
	width:30%; #130px;
	height:40px;
	background-color:#3fd65a;
	border:none;
	padding:5px;
	font-family:Segoe Ui;
	font-size:14pt;
	margin:2px 5px;
	border-radius:10px;
	min-width:100px;
}

.modeButton:hover{
	background-color:#19b935;
	cursor:grab;
}

.modeButton:active{
	background-color:#079e22;	
}

.modeButton:disabled{
	opacity:0.5;
	pointer-events:none;
}

.modeText {
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none; 
	user-select: none;   
	font-weight:bold;
}

.canvasdiv{
	cursor:default;
	float:left;
	width:400px;
	height:400px;
	position:relative;
	margin-left:5px;
}

#memoDiv{
	width:400px;
	margin-right:50%;
	height:305px;
	position:relative;
	float:left;
	margin-left:10px;
	min-width:400px;
}

#memo{
	width:100%;
	height:99%;
	resize:none;
	opacity:0.9;
	background-color:#000000;
	color:#1cff02;
}

.canvas{
	cursor: auto;
#	width:100%;
#	height:100%;
	border:2px solid;
	border-color:red;
}

#counterDiv{
	position:absolute;
	bottom:0px;
	right:0px;
	width:40px;
	height:40px;
	font-size:16pt;
	font-weight:bold;
}

.answerdiv{
	height:auto;
	margin-left:5px;
	float:left;
	bottom:0;
	margin-top:10px;
	margin-bottom:20px;
}

.buttonDefaultNATO{
	background-color:#369cef;
	font-weight:bold;
	color:white;
	border:none;
	padding:3px;
	font-family:Segoe Ui;
	margin:2px 2px;
	border-radius:10px;
	width:19%;
	white-space: normal;
	vertical-align:middle;
	cursor:grab;
}

.buttonDefaultRUS{
	background-color:#ec6775;
	font-weight:bold;
	color:white;
	border:none;
	padding:3px;
	font-family:Segoe Ui;
	margin:2px 2px;
	border-radius:10px;
	width:19%;
	white-space: normal;
	vertical-align:middle;
	cursor:grab;
}


.buttonDefaultNATO:hover{
	background-color:#1e6eaf;
}

.buttonDefaultRUS:hover{
	background-color:#f54558;
}

.buttonDefaultNATO:active{
	background-color:blue;
}

.buttonDefaultRUS:active{
	background-color:red;
}

.buttonDefaultNATO:disabled{
	opacity: 0.6;
	cursor: not-allowed;
}

.buttonDefaultRUS:disabled{
	opacity: 0.6;
	cursor: not-allowed;
}
