/* 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;
}
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;
}
/*= General styles (post-reset)
------------------------------------------------------------------------------*/
html, body {
	height: 100%;
}
body {
	font-size: 62.5%;
	font-family: Arial, Verdana, Tahoma, sans-serif;
}
#shell {
	height: 100%;
}
#skin {
	height: 100%;
}
#map_shell {
	clear: both;
	height: 100%;
}
#map {
	min-height: 100%;
}
#header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	float: left;
	width: 100%;
	background-color: #cc9;
	border-bottom: 1px solid #B3B3B2;
}
nav, nav ul {
	float: left;
	width: 100%;
}
nav li {
	float :right;
}
nav li:first-child {
	float: left;
}
nav a {
	display: inline-block;
	width: 25px;
	height: 25px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 4px;
	padding-bottom: 4px;
	text-decoration: none;
	text-indent: -9000px;
	background-position: center center, left top;
	background-color: transparent;
	background-repeat: no-repeat, repeat-y;
	outline: 0;
}
nav li:first-child a {
	width: 98px; /*87px;*/
	height: 37px; /*25px;*/
	
	border-left: none;
	background: transparent url(../i/umoiq_dark.svg) center center no-repeat;
}
nav li:nth-child(2) a {
	background-image: url(../i/menu-icon.png), url(../i/button-border.png);
}
nav li a.checked {
	background-color: #BFBFAA;
}
body.am li:nth-child(n+4) a {
	display: inline-block;
}
/*footer#footer {
	position: absolute;
	bottom: 0;
	left: 0;
	clear: both;
	width: 100%;
	background: #cc9;
	border-top: 1px solid #B3B3B2;
}
#footer p {
	padding: 10px 0;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
}*/
#overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background-color: rgba(204, 204, 153, 0.4);
}
section.overlay {
	display: none;
	position: absolute;
	top: 36px;
	left: 50%;
	width: 76%;
	margin-left: -38%;
	z-index: 3;
}

.overlay h2 {
	position: relative;
	background-color: #996633;
	background: transparent url(../i/overlay-grad.png) left bottom repeat-x;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	padding: 8px 0;
	color: #fff;
}
.overlay h2 span {
	position: absolute;
	right: 10px;
	top: 5px;
	display: inline-block;
	width: 20px;
	height: 20px;
	cursor: pointer;
	background: transparent url(../i/overlay-close.png) center center no-repeat;
}
.overlay a {
	text-decoration: none;
}
.overlay ul {
	background-color: #fff;
}
.overlay li {
	padding: 10px 0 10px 10px;
	font-size: 14px;
	border-bottom: 1px solid #ccc;
	cursor: pointer;
}
.overlay li:last-child {
	border-bottom: none;
}
#menu li:nth-child(n+3) {
	display: none;
	padding-left: 40px;
	background: transparent url(../i/checkbox.png) 10px 7px no-repeat;
}
#menu li.checked {
	background: transparent url(../i/checkbox.png) 10px -41px no-repeat;
}
body.am #menu li:nth-child(n+3) {
	display: block;
}
#route-list section {
	height: 75%;
}
#route-list {
	height: 75%;
}
#route-list #canvas-wrap {
	position: relative;
	height: 100%;
	overflow-y: scroll;
}

#stats {
	position: absolute;
	z-index: 5;
	left: 175px;
	top: 10px;
	font-size: 15px;
}
#route-list li {
  background: transparent url(../i/checkbox.png) 10px 7px no-repeat;
	padding: 10px 0 10px 40px;
}
#route-list li.checked {
	background: #fff url(../i/checkbox.png) 10px -41px no-repeat;
}
#help .wrap {
	background-color: #fff;
	padding: 10px;
}
.figure {
	margin: 0;
	padding: 10px;
	background-color: #fff;
	border: 1px solid #000;
	width: 240px;
	float: left;
	margin-right: 10px;
}
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
	.overlay section {
		top: 5px;
	}
	.figure {
		float: none;
		margin-right: 0;
		margin-bottom: 10px;
	}
	.figure:last-child {
		margin-bottom: 0;
	}
	#help section {
		width: 90%;
		margin-left: -45%;
	}
}
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px)
and (orientation : landscape) {
	.overlay section {
		
	}
}
figure:last-child {
	margin-right: 0;
}
.figure figcaption {
	margin: 0;
	background-color: #cc9;
	padding: 5px;
	font-size: 13px;
}
.prediction {
	font-size: 14px !important;
	width: 360px !important;
	overflow: visible !important;
}
.prediction table {
	font-size: 14px !important;
	overflow: visible !important;
}
.prediction td {
	padding: 3px 0 !important;
}
.prediction .lc {
	padding-right: 6px !important;
}
.prediction b {
	font-weight: bold;
}
/*= legacy
------------------------------------------------------------------------------*/
.vehicleStyle { 
	border-width:1px;
  border-style:solid;
  padding: 2px;
  font-family:Arial;
  font-size:14px;
  font-weight:bold;
}
.vehicleStyle span {
	position: relative;
	top: -1px;
	left: 0;
}
.vehDirImg { padding-top: 0px; vertical-align: bottom;}
