/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 */

::-moz-selection { background: #9d0020; color: #fff; text-shadow: none; }
::selection { background: #9d0020; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */

* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body
{
	font-family: Arial, Helvetica, Sans-Serif;
}

	
/* Header */
/* Single background image version */
/*
#banner
{
	width: 100%;
	height: 123px;
	background: #fff url(../images/banner.jpg) no-repeat;	
}
*/

/* Multiple background image version */
#header-container { overflow-x: hidden; }
#header { width: 960px; }
#header div { float: left; height: 123px; }

#logo
{
	width: 175px;
	background: #fff url(../images/logo.png) no-repeat left center;
}

#banner
{
	width: 785px;
	background: #fff url(../images/banner.jpg) no-repeat;
}

/*
  Menu background color: #2d3437 (Trapeze dark gray)
  Menu highlight color: #9d0020	(Trapeze red)
*/
  	
#nav
{
	position: relative;
	z-index: 100;
	border: 1px solid #222;
	background: #111 url(../images/menu_bg.png) repeat-x left top;
	-moz-box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
	-webkit-box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
	box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
}

#nav ul { white-space: nowrap; }
	
#nav li
{
	position: relative;
	display: inline-block;
	border-right: 1px solid #222;
	-moz-box-shadow: 1px 0 0 #444;
	-webkit-box-shadow: 1px 0 0 #444;
	box-shadow: 1px 0 0 #444;
}
	
#nav li a
{
	display: inline-block;
	padding: 12px 20px;
	color: #aaa;
	font: bold 12px Arial, Helvetica;
	text-decoration: none;
	text-shadow: 0 1px 0 #000;
}

#nav li a:active,
#nav li:hover > a
{
	color: #fafafa;
}

#nav span:after
{
	position: relative;
	display: inline-block;
	width: 0;
	height: 0;
	top: -2px;
	right: -5px;
	border: 4px solid transparent;
	border-bottom: none;
	border-top-color: #aaa;
	content: '';
}

/* Drop down */
#nav li ul
{
	visibility: hidden;
	position: absolute;
	top: 100%;
	left: 0;
	background: #2d3437;
	background: -moz-linear-gradient(#2d3437, #111);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#2d3437), to(#111));
	background: -webkit-linear-gradient(#2d3437, #111);    
	background: -o-linear-gradient(#2d3437, #111);	
	background: -ms-linear-gradient(#2d3437, #111);	
	background: linear-gradient(#2d3437, #111);
	-moz-box-shadow: 0 -1px rgba(255,255,255,.3);
	-webkit-box-shadow: 0 -1px 0 rgba(255,255,255,.3);
	box-shadow: 0 -1px 0 rgba(255,255,255,.3);	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

#nav.ios li ul { display: none; }

/* ios fixes for menuing */
html {-webkit-animation: safariSelectorFix infinite 1s;}

@-webkit-keyframes safariSelectorFix
{
	0% {zoom:1;} 
	100% {zoom:1;}
}

#nav img {position:absolute; left:0; top:0; width:100%; height:100%; display:none; cursor:pointer; z-index:100;}
#nav ul > li > a:focus ~ ul {display:block;}
#nav ul > li > a:focus + img {display:block;}
#nav ul ul:hover {display:block;}
	
#nav li:hover ul
{
	visibility: visible;
}

#nav li ul li
{
	display: block;
	border: 0;
	-moz-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
	-webkit-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
	box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}

#nav li ul li:last-child
{   
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;		
}

#nav li ul li a
{
	display: block;
	padding: 10px 15px;
}

#nav li ul li:first-child > a:after
{
	content: '';
	position: absolute;
	left: 30px;
	top: -6px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #2d3437;
}

#nav li ul li a:hover
{
	background-color: #9d0020;
	background-image: -moz-linear-gradient(#9d0020,  #3b000c);	
	background-image: -webkit-gradient(linear, left top, left bottom, from(#9d0020), to(#3b000c));
	background-image: -webkit-linear-gradient(#9d0020, #3b000c);
	background-image: -o-linear-gradient(#9d0020, #3b000c);
	background-image: -ms-linear-gradient(#9d0020, #3b000c);
	background-image: linear-gradient(#9d0020, #3b000c);
}

#nav li ul li:first-child a:hover:after
{
	border-bottom-color: #9d0020; 
}


#nav li ul li:first-child > a
{
	-moz-border-radius: 3px 3px 0 0;
	-webkit-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
}

#nav li ul li:last-child > a
{
	-moz-border-radius: 0 0 3px 3px;
	-webkit-border-radius: 0 0 3px 3px;
	border-radius: 0 0 3px 3px;
}


/* Content styling */

/* Margin for page content */
.content { margin: 20px 10px; }

/* Minimum width for route/direction/stop droplists */
.dropList { min-width: 300px; }

.box
{
	padding-left: 10px;
	padding-right: 10px;
	
	float: left; /* Shrink-to-fit */

	background-color: #eee;
	border: 1px solid #000;
	
	-webkit-border-radius: 12px;
	-moz-border-radius:	   12px;
	border-radius:		   12px;

	/* Add a fallback image? */
	background-image:	-webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));	/* Safari 4+, Chrome 1-9	*/
	background-image:	-webkit-linear-gradient(top, #fff, #ddd);								/* Safari 5+, Chrome 10+	*/
	background-image:	-moz-linear-gradient(top, #fff, #ddd);									/* Firefox 3.6+				*/
	background-image:	-ms-linear-gradient(top, #fff, #ddd);									/* IE 10+					*/
	background-image:	-o-linear-gradient(top, #fff, #ddd);									/* Opera 11.10+				*/
	background-image:	linear-gradient(top bottom, #fff, #ddd);								

	-webkit-box-shadow: 0px 0px 2px 1px #222;
	-moz-box-shadow:	0px 0px 2px 1px #222;
	box-shadow:			0px 0px 2px 1px #222; 
}

h1, h2
{
	margin-left: auto; margin-right: auto;
	text-align: center;
	color: #9d0020;
	border-bottom: 2px solid #2d3437;
	text-shadow: 1px 1px 1px #000;
}

h2 { text-shadow: 1px 1px 0px #000; }

table.routeBox { margin: 10px 10px 20px 10px; }
table.routeBox td { padding: 5px; vertical-align: middle; }
table.routeBox tr.closer td { padding-top: 0px; }

div.wait, img.wait { padding-bottom: 5px; width: 20px; height: 20px; }

td.boxLabel, td.boxlabel label { font-size: 14px; }

div.errorBox { opacity: 0; margin-bottom: 30px; }

.errorBox table { font-size: 16px; margin: 20px auto; color: #9d0020; }
.errorBox td { text-align: center; }

div.resultBox { opacity: 0; margin-bottom: 30px; }
.resultBox table { margin: 20px auto; }
.resultBox td { text-align: center; }

.resultBox td.stopTime
{
	color: #000;
	font-size: 1.5em;
	padding: 3px 10px;
}

.resultBox td.timeLabel
{
	color: #000;
	font-size: 12px;
	padding-top: 10px;
}

p.stopLabel, p.stopCancelledLabel
{
	color: #555;
	font-size: 12px;
	padding: 0;
	margin-top: -5px;
}

p.stopCancelledLabel
{
	color: #9f0020;
	font-size: 16px;
	font-weight: bold;
}

/* Schedule grid styling */
.scheduleButton { margin-top: 15px; }
div.center { text-align: center; }

.scheduleBox { margin-top: 20px; }

div.scheduleContainer
{
	margin: 10px 0;
	/* Limit size of schedule table here if desired (may want to disable sticky header) */
	overflow: auto;
}

.schedule { margin: 5px 0; }

.scheduleHeader
{
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #000000), color-stop(0.7, #212121), color-stop(0.71, #2E2E2E), color-stop(1, #3B3B3B));	
	background-image: -webkit-linear-gradient(bottom, #000000 0%, #212121 70%, #2E2E2E 71%, #3B3B3B 100%);
	background-image: -moz-linear-gradient(bottom, #000000 0%, #212121 70%, #2E2E2E 71%, #3B3B3B 100%);
	background-image: -ms-linear-gradient(bottom, #000000 0%, #212121 70%, #2E2E2E 71%, #3B3B3B 100%);
	background-image: -o-linear-gradient(bottom, #000000 0%, #212121 70%, #2E2E2E 71%, #3B3B3B 100%);
	background-image: linear-gradient(bottom, #000000 0%, #212121 70%, #2E2E2E 71%, #3B3B3B 100%);
	background-color: #222;
}

.scheduleHeader th
{
	padding: 10px;
	text-align: center;
	font-size: 14px;
	color: #fff;
	border-left: 1px solid #555;
	border-right: 1px solid #555;
	min-width: 60px;
}

.scheduleHeader th:first-child, .scheduleHeader th:last-child
{
	border: 0;
}

.schedule td
{
	padding: 5px;
	text-align: center;
	font-size: 12px;
	color: #000;
	background-color: #f0f0f0;
	border-top: 1px solid #e0e0e0;	
}

.scheduleRowAlt td { background-color: #f7f7f7; }

/* Map styling */
.mapBox { margin-top: 20px; }

.mapOptions { margin-top: 10px; }
.mapOptions td { font-size: 14px; text-align: center; padding-right: 20px; }

.mapContainer
{
	position: relative;
	width: 600px; height: 500px;
	margin: 10px 0px;
	border: 1px solid #000;
}

/* Google infowindow */
div.mapStopContainer { max-height: 400px; }

/* Stop infowindow styles */
.mapStopTable { margin: 0px auto; margin-bottom: 5px; }
.mapStopTable td { text-align: center; vertical-align: middle; line-height: 1em; padding: 3px; }
.mapStopName h3 { font-size: 16px; font-weight: bold; color: #9d0020; border-bottom: 1px solid #2d3437; margin: 0; padding: 0 0 2px 0; }
.mapStopError { font-size: 12px; color: #9d0020; }
.mapStopType { font-size: 12px; font-weight: bold; color: #2d3437; }
td.mapStopTime, td.mapStopInfo { font-size: 14px; font-weight: bold; color: #000; }
td.mapStopInfo { font-weight: normal; }
p.mapStopLabel { font-size: 10px; margin: -8px 0 0 0; color: #555; }
p.mapStopCancelled { font-size: 12px; font-weight: bold; margin: -8px 0 0 0; color: #ff0000; }
div.mapError { font-size: 12px; padding: 10px; color: #9d0020; text-align: center; }

/* Vehicle infowindow styles */
div.mapVehContainer { }
.mapVehTable { margin: 0px auto; }
.mapVehTable td { vertical-align: middle; }
td.mapVehNumber { text-align: center; }
td.mapVehNumber h3 { font-size: 16px; font-weight: bold; color: #9d0020; border-bottom: 1px solid #2d3437; margin: 0 0 10px 0; }
td.mapVehLabel { font-size: 14px; font-weight: bold; color: #2d3437; padding-right: 10px; }
td.mapVehValue { font-size: 14px; color: #000; }

.pushpin { cursor: pointer; }

/* Bing Infobox styles */
div.infobox
{
	width: 300px;
	background-color: #fff;
	border: 1px solid #2d3437;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;	
	padding: 10px;
	padding-top: 20px;
	cursor: default;
}

div.infoboxContent
{
	max-height: 400px;
	overflow-y: auto;
}

.infoboxClose
{
	cursor: pointer;
	position: absolute;
	right: 14px;
	top: 0px;
	border: none;
}

.infoboxPointer
{
	width: 33px;
	height: 38px;
	overflow: hidden;
	position: relative;
	z-index: 1;
	left: 20px;
	top: -1px;
}

.mapError
{
	font-size: 18px;
	font-weight: bold;
	color: #9d0020;
}

/* MultiRoute styles */
#content
{
    position: absolute;
    left: 0;
    top: 164px;
    right: 0;
    bottom: 0;
}

#showPanel
{
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;  
    display: none;
    z-index: 100;
    font-size: 0;
    cursor: pointer;
}

#hidePanel
{
	position: absolute;
	right: 0;
	top: 0;
	width: 20px;
	height: 20px;	
	cursor: pointer;
	margin: 5px 0px 0 0;
}

#panel
{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 250px;
	border: 1px solid #888;
	overflow: hidden;
	background: #ccc;	
}
		
#mapContainer
{
    position: absolute;
    left: 250px; 
    top: 0px;
    right: 0px;
    bottom: 0;
    border: 1px solid #888;
    overflow: auto;
}
		
#mapBorderTop
{
	position: absolute;
	left: 0;
	top: -5px;
	right: 0;
	height: 5px;
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 1);
	box-shadow: 0 0 5px #000;
}
		
#mapBorderLeft
{
	position: absolute;
    left: -5px;
	top: 0;
    bottom: 0;
    width: 5px;			
    -webkit-box-shadow: 0 0 5px #000;
	box-shadow: 0 0 5px #000;
}
		
#mr-map
{
    height: 100%;
    width: 100%;
    white-space: nowrap; /* Required for Firefox infowindow scroll bug */
}

#panelContent
{
    padding: 5px;
    margin: 0;
    color: #9d0020;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 1px 1px 1px rgba(000,000,000, .4);
    letter-spacing: 0.5px;
    overflow: hidden;
}

.routeFilter		
{
    width: 100%;
    height: 28px;
    margin: 0 0 5px 0;
    padding: 3px;
	font-size: 16px;
    border: 1px solid #888;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
	box-shadow: 0 0 2px #ddd;
}
		
.routeFilter:hover
{
    border: 1px solid #555;
}

.routeFilter:focus
{
    box-shadow: 0 0 3px #9d0020;
}

input[type=checkbox].routeCheckbox
{
	position: absolute; 
	overflow: hidden; 
	clip: rect(0 0 0 0); 
	height: 1px; 
	width: 1px; 
	margin: -1px; 
	padding: 0;
	border: 0;
}

input[type=checkbox].routeCheckbox + label.routeLabel
{
	margin: 3px 0px;
	padding-left: 20px;
	height: 15px; 
	display: inline-block;
	line-height: 15px;
	background-repeat: no-repeat;
	background-position: 0 0;
	font-size: 15px;
	vertical-align: middle;
	cursor: pointer;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	
}

input[type=checkbox].routeCheckbox:checked + label.routeLabel
{
	background-position: 0 -15px;
}
						
.routeLabel { background-image: url(../images/check.png); }

#buttonContainer
{
	position: absolute;
	left: 0;
	top: 138px;
	right: 0;
	bottom: 0;
	padding: 3px 3px 0 3px;
	border-top: 2px solid #888;
	overflow: auto;
}

.routeButton
{
	display: block;
	text-align: left;
	width: 100%;
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #fafafa;
	margin-bottom: 1px;	
	padding: 5px 10px;
	border: 3px solid #222;
	white-space: nowrap;
	cursor: pointer;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	
		
	background: #3b3b3b; /* Old browsers */
	background: -moz-linear-gradient(top, #939393 0%, #3b3b3b 50%, #242424 51%, #000 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#939393), color-stop(50%,#3b3b3b), color-stop(51%,#242424), color-stop(100%,#000000)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #939393 0%,#3b3b3b 50%,#242424 51%,#000 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #939393 0%, #3b3b3b 50%, #242424 51%, #000 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #939393 0%, #3b3b3b 50%, #242424 51%, #000 100%); /* IE10+ */
	background: linear-gradient(to bottom, #939393 0%, #3b3b3b 50%, #242424 51%, #000 100%); /* W3C */

	-webkit-border-radius: 5px;
	border-radius: 5px;

	-webkit-box-shadow: inset 0px 0px 1px rgba(255,255,255,0.6);
	box-shadow: inset 0px 0px 1px rgba(255,255,255,0.6);
		
	text-shadow: 0px -1px 0px rgba(000,000,000,1), 0px 1px 0px rgba(255,255,255,0.2);
}

.routeButton:focus { outline: none; }

.routeButton:hover
{
	background: #5b5b5b; /* Old browsers */
	background: -moz-linear-gradient(top, #b3b3b3 0%, #5b5b5b 50%, #333 51%, #111 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b3b3b3), color-stop(50%,#5b5b5b), color-stop(51%,#333), color-stop(100%,#111)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #b3b3b3 0%,#5b5b5b 50%,#333 51%,#111 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #b3b3b3 0%,#5b5b5b 50%,#333 51%,#111 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #b3b3b3 0%,#5b5b5b 50%,#333 51%,#111 100%); /* IE10+ */
	background: linear-gradient(to bottom, #b3b3b3 0%,#5b5b5b 50%,#333 51%,#111 100%); /* W3C */
}

.routeButton:active
{
	background: #7b7b7b; /* Old browsers */
	background: -moz-linear-gradient(top, #d3d3d3 0%, #7b7b7b 50%, #555 51%, #333 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d3d3d3), color-stop(50%,#7b7b7b), color-stop(51%,#555), color-stop(100%,#333)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #d3d3d3 0%,#7b7b7b 50%,#555 51%,#333 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #d3d3d3 0%,#7b7b7b 50%,#555 51%,#333 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #d3d3d3 0%,#7b7b7b 50%,#555 51%,#333 100%); /* IE10+ */
	background: linear-gradient(to bottom, #d3d3d3 0%,#7b7b7b 50%,#555 51%,#333 100%); /* W3C */		
}


.routeSelected
{
	border: 3px solid #9d0020;
	-webkit-box-shadow: 0px 0px 3px #9d0020;
	box-shadow: 0px 0px 5px #9d0020;	
	box-shadow: 0px 0px 5px #9d0020 inset;
}
	
.routeAbbr
{
    width: 50px;
    float: left;	
}

.routeName
{
	overflow: hidden;
}

/* Stop infowindow styles */
.mr-mapStopContainer { white-space: nowrap; overflow: hidden; }
.mr-mapStopTable { margin: 2px 0; }
.mr-mapStopTable td { margin: 0; padding: 0 0 0 10px; font-size: 12px; line-height: 16px; color: #444; vertical-align: middle; }
td.mr-mapRoute { padding: 0; font-weight: bold; font-size: 16px; line-height: 20px; color: #9d0020; }
td.mr-mapRouteNotFirst { padding-top: 10px; }
.mr-mapText td { font-size: 14px; font-weight: bold; line-height: 18px; color: #2d3437; border-bottom: 1px solid #2d3437; }
td.mr-mapStopHeader { padding: 0; }
.mr-mapStopBorder { border-top: 1px solid #fff; }
tr.mr-mapStopBackground { background-color: #eee; }
tr.mr-mapStopBackgroundAlt { background-color: #ddd; }
td.mr-mapStop { font-weight: bold; padding: 0 0 0 2px; }
td.mr-mapStopNumber { font-weight: normal; }
.mr-mapHCentered { text-align: center; }
td.mr-mapNoCrossings { text-align: center; color: #9d0020; }
td.mr-mapStopCancelled { font-weight: bold; color: #9d0020; }

/* Vehicle infowindow styles */
div.mr-mapVehContainer { white-space: nowrap; overflow: hidden; }
.mr-mapVehTable { margin: 2px 0; }
.mr-mapVehTable td { margin: 0; padding: 0; vertical-align: middle; }
td.mr-mapVehNumber { margin: 0 0 2px 0; font-size: 16px; font-weight: bold; color: #9d0020; border-bottom: 1px solid #2d3437; text-align: center; }
td.mr-mapVehLabel { font-size: 14px; font-weight: bold; color: #444; padding-right: 10px; }
td.mr-mapVehValue { font-size: 14px; color: #444; }

#toast-container
{
    position: absolute !important;
    white-space: normal !important;
    word-wrap: normal !important;
}

/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}

/* Ada pagestyling */
.ada { font-size: 16px; margin: -8px 0 0 0; color: #555; font-family: Arial,Helvetica,Sans-Serif; }

.adatime { font-size: 16px;  margin: -8px 0 0 0; color: #555; font-family: Arial,Helvetica,Sans-Serif; font-weight: bold; right:auto}
.adatext { font-size: 16px;  margin: -8px 0 0 0; color: #9d0020; font-family: Arial,Helvetica,Sans-Serif; font-weight:normal; left:auto}
.adatitle { font-size: 16px;  margin: -8px 0 0 0; color: #555; font-family: Arial,Helvetica,Sans-Serif; font-weight:bold; left:auto}
.adalink { font-size: 16px; margin: -8px 0 0 0;  font-family: Arial,Helvetica,Sans-Serif; }

.adabox
{
	padding-left: 10px;
	padding-right: 10px;
	
	float: left; /* Shrink-to-fit */

	background-color: #eee;
	border: 1px solid #000;
	
	-webkit-border-radius: 12px;
	-moz-border-radius:	   12px;
	border-radius:		   12px;

	/* Add a fallback image? */
	background-image:	-webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));	/* Safari 4+, Chrome 1-9	*/
	background-image:	-webkit-linear-gradient(top, #fff, #ddd);								/* Safari 5+, Chrome 10+	*/
	background-image:	-moz-linear-gradient(top, #fff, #ddd);									/* Firefox 3.6+				*/
	background-image:	-ms-linear-gradient(top, #fff, #ddd);									/* IE 10+					*/
	background-image:	-o-linear-gradient(top, #fff, #ddd);									/* Opera 11.10+				*/
	background-image:	linear-gradient(top bottom, #fff, #ddd);								

	-webkit-box-shadow: 0px 0px 2px 1px #222;
	-moz-box-shadow:	0px 0px 2px 1px #222;
	box-shadow:			0px 0px 2px 1px #222; 
}


/**************************************************************************************RTA Customizations***********************/


/****************Baseline**********************/
html{
	min-height:100%;
}
body,.body-form{
	height:100%;
}
h1{
	text-align:left;
	border-bottom:solid 3px #307fe2;
}
h1,h2,h3,h4{
	color:#CC0033;
	text-shadow:none;
}


/****************Header section****************/
#header-container{
	width:auto;
        background: #00468C;
}

#header {
	padding:10px;
	width:100%;
}
#header div { 
	height: auto; 
}
#logo{
	width:110px;
	height:auto;
	background: none;
	
}
.rta-main-logo {
	height:100px;
	max-height:100px;
	max-width:100px;
	width:auto;
}
.rta-full-text{
	font-weight:bold;
	color:white;
	width:100%;
}
.rta-nextconnect-logo{
	margin-top:5px;
}
#banner{	
	margin-top:3px;
	height:auto;
	width:375px;
	background:none /*removes background from trapeze*/
}



/*****************Navigation*********************/
#nav{
 	background: #2C7EEA;
	border:none;
}
#nav ul li {
	border-right:none;
}
#nav ul li a{
	color:white;
	text-shadow:none;
}
#nav ul li ul{
	background: #FBFBFB;
	border:1px solid black;
}
#nav ul li ul li{
	box-shadow: none;
}
#nav ul li ul li a:hover{
	background: #E8E8E8;
	color:black;
}
#nav ul li ul li a{
	color:black;
}

/*****************Footer***************************/
.footer{
	height:100%;
	width:100%;
	float:left;
	text-align:center;
	background: none;
	color:white;
	padding:15px;
	margin-top:20px;
}
.rta-contact-info{
	font-size:12px;
}

/*********Bounding boxes (box that surrounds H1)*****/
#contentBox, #container.box{
	border:none;
	border-radius:none;
	float:none;
	background-image:none;
	-webkit-box-shadow:none;
	background-color:white;
	box-shadow:none;
}
.transit-master-text{
	font-size:12px;
}



/*****************Google Map*************************/
#mapBox{
	margin:0;
	box-shadow:none;
	border:none;
}

/*Map dropdown menu*/
#contentBox .routeBox{
	margin:0;
}
.routeBox tbody tr td{
	font-weight:bold;
}

/*Map buttons*/
.mapOptions table tbody tr td{
	font-weight:bold;
}
.ui-state-active{
	border:1px solid #CC0033;
}

/******************Main Content on front page*****************/
.acc{
	padding: 0 10px;
}
.acc li{
	list-style-type:none;
}
.acc li:hover{
	cursor:pointer;
}
.acc li h3{
	border:1px solid #D8D8D8;
	border-radius:2px;
	margin:0;
	padding:7px;
}
.acc li h3:hover{
	background:#E8E8E8;
}
.acc-content{
	margin:10px 0 10px 8px
}




/**************************************RTA Responsive themes**************************************************/

/*ALL MOBILE DEVICES*/
@media screen and (max-width: 999px) {


}

/*TABLET Portrait*/

@media screen and (min-width: 761px) and (max-width: 999px) {


}

/*Smart Phone Landscape*/

@media screen and (min-width: 480px) and (max-width: 760px) {


/*Chosen dropdown boxes*/
.chzn-container-single{
	width:250px !important;
}


/*Login textboxes*/
.resultBox tbody tr td{
	text-align:left !important;
}

.resultBox tbody tr td input{
 	width: 250px !important;
}

/*Forgot password textbox*/
.inputBox tbody tr td{
	text-align:left;
}

.inputBox tbody tr td input{
	width: 250px !important;
}

.mapContainer{
	width:500px;
}


}

/*Smart Phone Portait (SAME AS ABOVE BUT KEPT SERPERATED IN CASE WE NEED TO CHANGE)*/
@media screen and (min-width: 0px) and (max-width: 479px) {

/*Chosen dropdown boxes*/
.chzn-container-single{
	width:250px !important;
}


/*Login textboxes*/
.resultBox tbody tr td{
	text-align:left !important;
}

.resultBox tbody tr td input{
 	width: 200px !important;
}

/*Forgot password textbox*/
.inputBox tbody tr td{
	text-align:left;
}

.inputBox tbody tr td input{
	width: 200px !important;
}

.mapContainer{
	width:auto;
}

}