
/****************************************************************

HTML, BODY, GENERAL CANVAS

 *****************************************************************/

 html{
	height: 100%;
	width: 100%;
 }
 
body {
	font: 12px "Open Sans", Helvetica, sans-serif;
	font-weight: 400;
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
}

#gpsdemo{
	position: relative;
	width: 100%;
	height: 100%;
}

.row, .col { overflow: hidden; position: absolute;}
.row { left: 0; right: 0; }
.col { top: 0; bottom: 0; }
.scroll-x { overflow-x: auto; }
.scroll-y { overflow-y: auto; }
.left.col { width: 50ex; }
.right.col { left: 50ex; right: 0; }
.bottom.row{ top: 2em; bottom: 0; }
.top.row{height: 2em;}


#grey-overlay{
    position:fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: grey;
	background-color: rgba(255,255,255,0.5);
    z-index:1233;
}

#dock-title{
	width: 100%;
	text-align: center;
}

#title-node{
	float:left;
	width: 50%;
	background-color: #006C67;
	border-bottom-style: none;
	color: white;
}

#title-gateway{
	float:left;
	width: 48%;
	background-color: white;
	border-bottom-style: none;
	color: black;
	
}
div.tab{
	height: 100%;
	border-width: 1px;
	border-style:solid;
	border-bottom-style: none;
	border-radius: 10px 10px 0px 0px;
	font: 14px "Open Sans", Helvetica, sans-serif;
}

div.dock{
	border-top-style:solid;
	border-width: 1px;
}

#dock-node, #dock-gateway{
	height:100%;
	width: 100%;
	overflow-y: auto;
}

#dock-gateway{
	display:none;
}

div.gateway{
	float:left;
	width:100%;
	height: auto;
	text-align: left;
	border-bottom-style: solid ;
	border-top-style: solid ;
	border-width: 1px;
	margin-top: 2px;
}

canvas.led-canvas-sent{
	border-style: solid;
	border-width: 1px;
	border-radius: 10px;
}

div.overlay-label{
	color: white;
	background-color: #006C67;
	border-color: white;
	border-style: solid;
	border-width: 1px;
	max-height: 2em;
	padding: 2px 2px 2px 2px;
	border-radius: 5px 5px 5px 5px;
}

.custom-button{
	color: white;
	background-color: #006C67;
	font: 14px "Open Sans", Helvetica, sans-serif;
	border-radius: 10px 10px 10px 10px;
	height: 2.5em;
}
a:link {
	color:#006C67;
	text-decoration:none;
	}
a:visited {
	color:#008780;
	text-decoration:none;
	}
a:hover {
	color:#006C67;
	text-decoration:underline;
	}
a:active {
	color:#006C67;
	text-decoration:underline;
	}

/****************************************************************

NOT EXPANDED NODES

 *****************************************************************/

div.node{
	float:left;
	width:100%;
	height: auto;
	text-align: left;
	border-bottom-style: solid ;
	border-top-style: solid ;
	border-width: 1px;
	margin-top: 2px;
}

div.node-title{
	display:inline-block;
	 
	font: 16px "Open Sans", Helvetica, sans-serif;
	width: 100%;
	height: 3em;
	text-align:center;
	border-bottom-style:solid;
	border-width:1px;
	background-color: #006C67;
	color: white;
}

div.node-title-text{
	margin-left: 0.2em;
}

div.gateway-title-text, div.node-info-title-text{
	width:100%;
}

div.node-title-text, div.gateway-title-text, div.node-info-title-text, div.node-title-text-exp{
	margin-top:0.5em;
	float:left;
}

div.node-content{
	background-color: white;
	width: 100%;
}

div.node-content-left{
	float:left;
	width: 49%;
	margin-left:1%;
}

div.node-content-right{
	float:left;
	width: 50%;
}

div.node-gateways-list{
	max-height:9ex;
	overflow-y: auto;
}

div.node-foot{
	clear:both;
	text-align: center;
	width: 100%;
	height: auto;
}

div.node-title-img{
	float:right;
}

div.led-state{
	margin-left: 3ex;
}

div.node-info-outer {
	width: 50ex;
}

div.gateway-info-outer{
	width: 40ex;
}

/****************************************************************

IMAGES, DRAWINGS

 *****************************************************************/

div.title-drawings{
	margin-top:0.5em;
	margin-right: 0.2em;
	float:right;
}

div.battery, div.signal{
	float:left;
	margin-left: 20px;
}


div.adr-true, div.adr-false{
	float: left;
}

div.adr-true{
	color: white;
	font-weight: bold;
}

div.adr-false{
	color: #888888;
	font-weight: normal;
}

div.node-img-arrow{
	float:right;
	margin-left:3px;
	border-top-style: solid;
	border-left-style: solid;
	border-width: 1px;
	
	border-radius: 10px 0px 0px 0px;
	height: auto;
	width: 75px;
}

div.node-distance-img{
	float:left;
	margin-left:10px;
}
 
/****************************************************************

EXPANDED NODES

 *****************************************************************/
 
 div.node-exp{
	float:right;
	width:100%;
	height: auto;
	text-align: left;
	border-bottom-style: solid ;
	border-top-style: solid ;
	border-width: 1px;
	margin-top: 2px;
}

div.node-title-exp{
	display:inline-block;
	font: 16px "Open Sans", Helvetica, sans-serif;
	width: 100%;
	height: 3em;
	text-align:center;
	border-bottom-style:solid;
	border-width:1px;
	background-color: #008780;
	color: white;
}

div.node-title-text-exp{
	margin-top: 1.3ex;
	width:55%;
	font: 14px "Open Sans", Helvetica, sans-serif;
}

div.node-expand{
	width:95%;
	float:right;
}