/*Basic module styles*/
div.module {
  position:relative;
  width: 100%;
  margin: 15px 0;
}

div.top {
  position:relative;
  width: 100%;
  margin: 0;
}

div.trip-results div.module {
  z-index: 1;
}

div.module .hd {
  margin:0 9px;
  border:none;
  background-color: #ffffff;
  color:#000; height:9px;
  text-align:center;
  overflow:hidden;
}

div.module .hd .tl {
  width:9px;
  height:9px;
  top:0;
  left:0;
  background:transparent url(../images/modules/basic-tl.gif) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module .hd .tr {
  width:9px;
  height:9px;
  top:0;
  right:0;
  background:transparent url(../images/modules/basic-tr.gif) no-repeat top right;
  position:absolute;
  overflow:hidden;
}

div.module .bd {
  padding:4px;
  background-color:#ffffff;
  text-align: center;
}

div.module .ft {
  margin:0 9px;
  border:none;
  background-color: #ffffff;
  color:#000;
  height:9px;
  text-align:center;
  overflow:hidden;
}

div.module .ft .bl {
  width:9px;
  height:9px;
  bottom:0;
  left:0;
  background:transparent url(../images/modules/basic-bl.gif) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module .ft .br {
  width:9px;
  height:9px;
  bottom:0;
  right:0;
  background:transparent url(../images/modules/basic-br.gif) no-repeat top right;
  position:absolute;
  overflow:hidden;
}

/* Module styles for specific pages:
Schedule Results Page */

/* module border blue */

div.module-blue {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

div.module-blue .hd {
  margin:0 9px;
  border-top: 1px solid #a7cfdf;
  background-color: #ffffff;
  color:#000;
  height:8px;
  text-align:center;
  overflow:hidden;
}

div.module-blue .hd .tl {
  width: 9px;
  height: 9px;
  top: 0;
  left: 0;
  background: transparent url(../images/modules/blue-tl.png) no-repeat top left;
  position: absolute;
}

div.module-blue .hd .tr {
  width: 9px;
  height: 9px;
  top: 0;
  right: 0;
  background: transparent url(../images/modules/blue-tr.png) no-repeat top right;
  position: absolute; 
}

div.module-blue .bd {
  padding: 0;
  background-color: #ffffff;
  text-align: center;
  border-left: 1px solid #a7cfdf;
  border-right: 1px solid #a7cfdf;  
}

div.module-blue .ft {
  margin: 0 9px;
  border-bottom: 1px solid #a7cfdf;
  background-color: #ffffff;
  color: #000;
  height: 8px;
  text-align: center;
  overflow: hidden;
}

div.module-blue .ft .bl {
  width:9px;
  height:9px;
  bottom:0;
  left:0;
  background:transparent url(../images/modules/blue-bl.png) no-repeat top left;
  position:absolute;
}

div.module-blue .ft .br {
  width: 9px;
  height: 9px;
  bottom: 0;
  right: 0;
  background:transparent url(../images/modules/blue-br.png) no-repeat top right;
  position: absolute;
}

/* module border gray */

div.module-gray {
  position: relative;
  width: 100%;
  margin: 15px 0;}

div.module-gray .hd {
  margin:0 9px;
  border-top: 1px solid #c3c6c0;
  background-color: #ffffff;
  color:#000;
  height:8px;
  text-align:center;
  overflow:hidden;
}

div.module-gray .hd .tl {
  width: 9px;
  height: 9px;
  top: 0;
  left: 0;
  background: transparent url(../images/modules/gray-tl.png) no-repeat top left;
  position: absolute;
}

div.module-gray .hd .tr {
  width: 9px;
  height: 9px;
  top: 0;
  right: 0;
  background: transparent url(../images/modules/gray-tr.png) no-repeat top right;
  position: absolute;
}

div.module-gray .bd {
  padding: 4px;
  background-color: #ffffff;
  text-align: center;
  border-left: 1px solid #c3c6c0;
  border-right: 1px solid #c3c6c0;
}

div.module-gray .ft {
  margin: 0 9px;
  border-bottom: 1px solid #c3c6c0;
  background-color: #ffffff;
  color: #000;
  height: 8px;
  text-align: center;
  overflow: hidden;
}

div.module-gray .ft .bl {
  width:9px;
  height:9px;
  bottom:0;
  left:0;
  background:transparent url(../images/modules/gray-bl.png) no-repeat top left;
  position:absolute;
}

div.module-gray .ft .br {
  width: 10px;
  height: 10px;
  bottom: 0;
  right: 0;
  background:transparent url(../images/modules/gray-br.png) no-repeat top right;
  position: absolute;
}


/* module light blue (about section) */

div.module-lt-blue {
  position: relative;
  width: 100%;
  margin: 15px 0;}

div.module-lt-blue .hd {
  margin: 0 9px;
  background-color: #ebf0f1;
  height: 9px;
  overflow: hidden;
}

div.module-lt-blue .hd .tl {
  width: 9px;
  height: 9px;
  top: 0;
  left: 0;
  background: transparent url(../images/modules/lt-blue-tl.gif) no-repeat top left;
  position: absolute;
}

div.module-lt-blue .hd .tr {
  width: 9px;
  height: 9px;
  top: 0;
  right: 0;
  background: transparent url(../images/modules/lt-blue-tr.gif) no-repeat top right;
  position: absolute;
}

div.module-lt-blue .bd {
  padding: 15px;
  background-color: #ebf0f1;
  color: #000;
}

div.module-lt-blue .ft {
  margin: 0 9px;
  background-color: #ebf0f1;
  height: 9px;
  overflow: hidden;
}

div.module-lt-blue .ft .bl {
  width: 9px;
  height: 9px;
  bottom:0;
  left:0;
  background:transparent url(../images/modules/lt-blue-bl.gif) no-repeat top left;
  position:absolute;
}

div.module-lt-blue .ft .br {
  width: 9px;
  height: 9px;
  bottom: 0;
  right: 0;
  background:transparent url(../images/modules/lt-blue-br.gif) no-repeat top right;
  position: absolute;
}

/* STYLES FOR TAB MODULE */

div.tab-container,
div.direction-tab-container,
div.schedule-tab-container {
  position: relative;
  left: 7px;
  top: 0px;
  z-index: 2;
  overflow: hidden;
}

form.trip-planner div.map-tab-container,
form.trip-planner div.map-tab-container table.panel-tabs tr td,
div.map-tab-container,
div.map-tab-container table.panel-tabs tr td {
  left: 0;
  height: 18px;
  padding-bottom: 0;
  margin: 0;
}

/*general tab styles*/
table.panel-tabs tr td {
  padding: 0 0 0 10px;
  vertical-align: middle;
  height: 30px;
}

table.panel-tabs tr td a {
  color: #000000;
  font-size: 1.2em;
  padding: 6px 0;
}

div.tab-panel-divider {
  background: url(../images/tabs/shadow.png) no-repeat top right;
  position: relative;
  width: 100%;
  height: 4px;
  margin: 0;
  top: -2px;
  overflow: hidden;
}

/*styles for directions results tabs*/
div.direction-tab-container {
  height: 43px;
}

div#results div.module-panel-blue {
  top: -5px;
}
div#results div.tab-panel-divider {
  top: -4px;
  width: 495px;
  margin-left: 10px;
}

div.direction-tab-container table {
  width: 495px;
}

div.direction-tab-container table.panel-tabs tr td {
  padding: 0;
}

div.direction-tab-container table.panel-tabs tr td a {
  display: block;
  padding: 6px 0 5px 10px;
  white-space: nowrap;
}

div.direction-tab-container table.panel-tabs tr td.center a,
div.direction-tab-container table.panel-tabs tr td.panel-label-selected a {
  padding: 6px 0 5px 15px;
}

div.direction-tab-container table.panel-tabs tr td.panel-label,
div.direction-tab-container table.panel-tabs tr td.panel-label-selected {
  background: url(../images/tabs/tab-lrg-l.gif) 0 0 no-repeat;
  width: 180px;
  padding: 0;
}

div.direction-tab-container table.panel-tabs tr td.separator,
div.direction-tab-container table.panel-tabs tr td.separator-selected {
  background: url(../images/tabs/tab-lrg-r.gif) 0 0 no-repeat;
  padding: 0;
  margin:0;
  width: 15px;
}

div.direction-tab-container table.panel-tabs tr td.center {
  width: 80px;
}

div.direction-tab-container table.panel-tabs tr td.panel-label-selected {
  background: url(../images/tabs/tab-lrg-l-on.gif) 0 0 no-repeat;
}

div.direction-tab-container table.panel-tabs tr td.separator-selected {
  background: url(../images/tabs/tab-lrg-r-on.gif) 0 0 no-repeat;
}

/*styles for small tabs used on form selectors and maps*/
div.map-tab-container tr td {
  padding: 3px 0 3px 8px;
}

div.map-tab-container table.panel-tabs {
  position: relative;
  z-index: 1;
  top: 1px;
}

div.map-tab-container table.panel-tabs tr td a {
  color: #000000;
  font-size: 1em;
}

div.map-tab-container table.panel-tabs tr td.panel-label {
  background: url(../images/tabs/tab-sm-l.gif) 0 0 no-repeat;
}

div.map-tab-container table.panel-tabs tr td.separator {
  background: url(../images/tabs/tab-sm-r.gif) 0 0 no-repeat;
  padding: 0;
  width: 11px;
}

div.map-tab-container table.panel-tabs tr td.panel-label-selected {
  background: url(../images/tabs/tab-sm-l-on.gif) 0 0 no-repeat;
}

div.map-tab-container table.panel-tabs tr td.separator-selected {
  background: url(../images/tabs/tab-sm-r-on.gif) 0 0 no-repeat;
  padding: 0;
  width: 11px;
}

/*medium tabs used in schedules section*/
div.schedule-tab-container table.panel-tabs tr td.panel-label {
  background: url(../images/tabs/tab-med-l.gif) no-repeat 0 0;
}

div.schedule-tab-container table.panel-tabs tr td.separator {
  background: url(../images/tabs/tab-med-r.gif) 0 0 no-repeat;
  padding: 0 9px 0 1px;
}

div.schedule-tab-container table.panel-tabs tr td.panel-label-selected {
  background: url(../images/tabs/tab-med-l-on.gif) 0 0 no-repeat;
}
div.schedule-tab-container table.panel-tabs tr td.panel-label-selected span.nolink {
  font-size: 1.2em;
  padding: 6px 0;
}

div.schedule-tab-container table.panel-tabs tr td.separator-selected {
  background: url(../images/tabs/tab-med-r-on.gif) 0 0 no-repeat;
  padding: 0 9px 0 2px;
}

div.map {
  font-size: 0.9em;
  margin-left: -2px;
}

div.map a span {
  padding-top: 3px;
}

/*Module styles for:
 curved module with a blue border and a blue background
 curved module with a blue border, blue background, and a drop shadow on right
*/

div.module-panel-blue {
  position:relative;
  top: -1px;
  width: 100%;
  clear: both;
  text-align: center;
  z-index: 1;
}

div.module-panel-blue div.module-gray-ds {
  position: relative;
}

div.module-panel-blue .hd {
  margin:0 10px;
  border:none;
  background-color: #e5f5fb;
  color:#000;
  height:9px;
  text-align:center;
  overflow:hidden;
  border-top: 1px solid #89cbe5;
}

div.module-panel-blue .hd .tl
{
  width:10px;
  height:10px;
  top:0;
  left:0;
  background:transparent url(../images/modules/blue-overlay-tl.png) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module-panel-blue .hd .tr {
  width:10px;
  height:10px;
  top:0;
  right:0;
  background:transparent url(../images/modules/blue-overlay-tr.png) no-repeat top right;
  position:absolute;
  overflow:hidden;
}

div.module-panel-blue .bd {
  padding: 0 4px;
  background-color: #e5f5fb;
  text-align: left;
  border-left: 1px solid #89cbe5;
  border-right: 1px solid #89cbe5;
}

div.module-panel-blue .ft {
  margin:0 10px;
  border:none;
  color:#000;
  height:9px;
  text-align:center;
  overflow:hidden;
  background-color: #e5f5fb;
  border-bottom: 1px solid #89cbe5;
}

div.module-panel-blue .ft .bl {
  width:10px;
  height:10px;
  bottom:0;
  left:0;
  background:transparent url(../images/modules/blue-overlay-bl.png) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module-panel-blue .ft .br {
  width:10px;
  height:10px;
  bottom:0;
  right:0;
  background:transparent url(../images/modules/blue-overlay-br.png) no-repeat top right;
  position:absolute;
  overflow:hidden;
}

/*Module styles for:
 curved module with a gray border and a drop shadow
 left curve, right corner gray border with drop shadow
*/

div.module-gray-ds {
  position:relative;
  width: 100%;
  margin: 0;
}

div.module-gray-ds .hd {
  margin:0 10px;
  border:none;
  background-color: #ffffff;
  color:#000;
  height:9px;
  text-align:center;
  overflow:hidden;
  border-top: 1px solid #e8e8e8;
}

div.module-gray-ds .hd-list {
  margin:0 10px;
  border:none;
  background-color: #ffffff;
  color:#000;
  height:9px;
  text-align:center;
  overflow:hidden;
  border-top: 1px solid #d0dfe4;
}

/*color for different background on results*/
div.station-to-station div.module-gray-ds .hd-list {
  border-top: 1px solid #c9d1d3;
}

div.module-gray-ds .hd .tl,
div.module-gray-ds .hd-list .tl
{
  width:10px;
  height:10px;
  top:0;
  left:0;
  background:transparent url(../images/modules/gray-ds-tl.png) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module-gray-ds .hd .tr,
div.module-gray-ds .hd-list .tr{
  width:10px;
  height:10px;
  top:0;
  right:0;
  background:transparent url(../images/modules/gray-ds-tr.png) no-repeat top right;
  position:absolute;
  overflow:hidden;
}

div.module-gray-ds .hd-list .tr-list {
  width:10px;
  height:10px;
  top:0;
  right:0;
  background:transparent url(../images/modules/gray-ds-list-tr.png) no-repeat top right;
  position:absolute;
  overflow:hidden;
}

div.module-gray-ds .bd,
div.module-gray-ds .bd-list {
  padding-right: 2px;
  background: transparent url(../images/modules/gray-ds-bd-bg.png) no-repeat top right;
  text-align: left;
  border-left: 1px solid #d0dfe4;
  border-right: none;
  padding-left: 0;
}

/* commented out by RCF 03/12/08, causes issues with MapQuest overlays */
div.module-gray-ds .bd-list div,
div.module-gray-ds .bd div {
  background-color: #ffffff;
}

div.module-gray-ds .bd-list div.mapwindow,
div.module-gray-ds .bd div.mapwindow {
  background-color: none;
}

div.module-gray-ds .ft {
  margin:0 10px;
  border:none;
  color:#000;
  height:10px;
  text-align:center;
  overflow:hidden;
  background: transparent url(../images/modules/gray-ds-ft-bg.png) repeat-x left top;
}

div.module-gray-ds .ft .bl {
  width:10px;
  height:10px;
  bottom:0;
  left:0;
  background:transparent url(../images/modules/gray-ds-bl.png) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module-gray-ds .ft .br {
  width:10px;
  height:10px;
  bottom:0;
  right:0;
  background:transparent url(../images/modules/gray-ds-br.png) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module-gray-ds .ft .br-list {
  width:10px;
  height:10px;
  bottom:0;
  right:0;
  background:transparent url(../images/modules/gray-ds-list-br.png) no-repeat top right;
  position:absolute;
  overflow:hidden;
}

/*DEFAULT MODULE HEADER STYLES -LIGHT*/
.module-header-light {
	text-align: left;
	white-space: nowrap;
  top: 0;
  padding: 0;
  margin: 0;
  height: 28px;
}

.module-header-light div {
	background: url(../images/modules/header-light-r.gif) 100% 0 no-repeat;
	vertical-align: middle;
	padding: 0 4px 0 0;
}


.module-header-light div.inner {
	background: url(../images/modules/header-light-l.gif) 0 0 no-repeat;
  margin: 0 0 1px 0;
	vertical-align: middle;
	text-align: left;
  text-align: -moz-left;
	padding: 6px 5px 1px 10px;
}

.module-header-light div.inner span {
  font-weight: normal;
  font-size: 0.9em;
  padding-left: 10px;
}

/*BLUE MODULE HEADER STYLES*/
.module-header-blue {
	text-align: left;
	white-space: nowrap;
  top: 0;
  padding: 0;
  margin: 0;
}

.module-header-blue div {
  background: url(../images/modules/header-blue-r.gif) 100% 0 no-repeat;
  vertical-align: middle;
	padding: 0 2px 0 0;
  position: relative;
}

.module-header-blue div.inner {
  background: url(../images/modules/header-blue-l.gif) 0 0 no-repeat;
	margin: 0 0 1px 0;
	vertical-align: middle;
	text-align: left;
  padding: 6px 5px 6px 10px;
  color: #ffffff;
  font-weight: bold;
  position: relative;
  height: 16px;
}

/*BROWN MODULE HEADER STYLES */
.module-header-brown {
	text-align: left;
	white-space: nowrap;
  top: 0;
  padding: 0;
  margin: 0;
}

.module-header-brown div {
  background: url(../images/modules/header-brown-r.gif) 100% 0 no-repeat;
  vertical-align: middle;
  padding: 0 3px 0 0;
}

.module-header-brown div.inner {
  background: url(../images/modules/header-brown-l.gif) 0 0 no-repeat;
	margin: 0 0 1px 0;
	vertical-align: middle;
	text-align: left;
	text-align: -moz-left;
  padding: 6px 5px 6px 10px;
  color: #ffffff;
  font-weight: bold;
  height: 16px;
}

/*RED MODULE HEADER STYLES */
.module-header-red {
  text-align: left;
  white-space: nowrap;
  top: 0;
  padding: 0;
  margin: 0;
}

.module-header-red div {
  background: url(../images/modules/header-red-r.gif) 100% 0 no-repeat;
  vertical-align: middle;
  padding: 0 2px 0 0;
  position: relative;
}

.module-header-red div.inner {
  background: url(../images/modules/header-red-l.gif) 0 0 no-repeat;
  margin: 0 0 1px 0;
  vertical-align: middle;
  text-align: left;
  padding: 6px 5px 6px 10px;
  color: #ffffff;
  font-weight: bold;
  position: relative;
  height: 16px;
}

/*GRAY MODULE HEADER STYLES */
.module-header-gray {
	text-align: left;
	white-space: nowrap;
}

.module-header-gray div {
  background: url(../images/modules/header-gray-r.gif) 100% 0 no-repeat;
  vertical-align: middle;
	padding: 0 4px 0 0;
  position: relative;
}

.module-header-gray div.inner {
  background: url(../images/modules/header-gray-l.gif) 0 0 no-repeat;
	margin: 0 0 1px 0;
	vertical-align: middle;
	text-align: left;
	text-align: -moz-left;
  padding: 6px 5px 6px 10px;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  position: relative;
}

/*ITINERARY MODULE FOR DIRECTION RESULTS PAGE*/

div#itinerary-nav {
  position: relative;
}

div#itinerary-nav div.module {
  margin-top: 0;
}

div.module .itinerary {
  height: 100%;
  padding: 0 4px;
}

div#itinerary-nav div.full-directions {
  width: 512px;
  margin: 0 auto;
  left: -7px;
  position: relative;
}

div#itinerary-nav div.partial-directions {
  width: 384px;
  margin: 0 auto;
  left: -3px;
  position: relative;
}

div.itinerary table tr td {
  width: 128px;
  text-align:center;
  padding-bottom: 15px;
  background: transparent url(../images/modules/itinerary-stop-indicator.gif) no-repeat 55px bottom;
}

div.itinerary table tr td.stop {
  background-position: -68px bottom;
}

div.itinerary table tr td.arrival {
  background-position: -175px bottom;
}

div.itinerary table tr td a {
  color: #000000;
  text-decoration: none;
}

span.station-name {
  display: block;
}

div.itinerary div div,
div.itinerary a,
div.itinerary a span
{
  z-index: 2;
  position: relative;
  display: block;
}

div.itinerary a,
div.itinerary a:hover {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
}

div.itinerary div#itinerary-slider-on,
div.itinerary div#itinerary-slider-hover {
  position: absolute;
  top: -14px;
  width: 256px;
  height: 77px;
  z-index: 2;
}

div.itinerary div#itinerary-slider-hover {
  background: transparent url(../images/modules/itinerary-hover.png) no-repeat top left;
}

div.itinerary div.itinerary-departure {
  left: 6px;
}

div.itinerary div.itinerary-stop {
  left:120px;
}

div.itinerary div.itinerary-arrival {
  right: 3px;
}

div#itinerary-nav div.module div.ft div.bl,
div#itinerary-nav div.module div.ft div.br {
  z-index: -1;
}

/*SPECIAL SCHEDULES MODULES*/

div.module-special-schedule {
  position:relative;
  width: 100%;
  margin: 0 0 15px 0;
}

div.module-special-schedule .hd {
  margin:0 10px;
  border:none;
  background-color: #dae0e1;
  color:#000;
  height:9px;
  text-align:center;
  overflow:hidden;
  border-top: 1px solid #eaedee;
}
/*safari sees corners as #d0dadb and thus would require matching background color here to display evenly.*/

div.module-special-schedule .hd .tl
{
  width:10px;
  height:10px;
  top:0;
  left:0;
  background:transparent url(../images/modules/advisory-tl-new.png) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module-special-schedule .hd .tr {
  width:10px;
  height:10px;
  top:0;
  right:0;
  background:transparent url(../images/modules/advisory-tr-new.png) no-repeat top right;
  position:absolute;
  overflow:hidden;
}

div.module-special-schedule .bd {
  padding-right: 2px;
  background-color: #dae0e1;
  text-align: left;
  border-left: 1px solid #e2e7e7;
  border-right: 1px solid #babfbf;
  padding-left: 0;
  color: #663333;
}

div.module-special-schedule .ft {
  margin:0 10px;
  background-color: #dae0e1;
  border-bottom: 1px solid #a8acad;
  color:#000;
  height:9px;
  text-align:center;
  overflow:hidden;
}

div.module-special-schedule .ft .bl {
  width:10px;
  height:10px;
  bottom:0;
  left:0;
  background:transparent url(../images/modules/advisory-bl-new.png) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module-special-schedule .ft .br {
  width:10px;
  height:10px;
  bottom:0;
  right:0;
  background:transparent url(../images/modules/advisory-br-new.png) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module-special-schedule div.special-schedules h3 {
  display: inline;
  font-weight: bold;
}

div.module-special-schedule div.special-schedules {
  padding: 0 10px;
  font-weight: bold;
  color: #000;
}

/*ADVISORY MODULES*/

div.module-advisory {
  position:relative;
  width: 100%;
  margin: 0 0 15px 0;
}

div.module-advisory .hd {
  margin:0 10px;
  border:none;
  background-color: #dae0e1;
  color:#000;
  height:9px;
  text-align:center;
  overflow:hidden;
  border-top: 1px solid #eaedee;
}
/*safari sees corners as #d0dadb and thus would require matching background color here to display evenly.*/

div.module-advisory .hd .tl
{
  width:10px;
  height:10px;
  top:0;
  left:0;
  background:transparent url(../images/modules/advisory-tl-new.png) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module-advisory .hd .tr {
  width:10px;
  height:10px;
  top:0;
  right:0;
  background:transparent url(../images/modules/advisory-tr-new.png) no-repeat top right;
  position:absolute;
  overflow:hidden;
}

div.module-advisory .bd {
  padding-right: 2px;
  background-color: #dae0e1;
  text-align: left;
  border-left: 1px solid #e2e7e7;
  border-right: 1px solid #babfbf;
  padding-left: 0;
  color: #663333;
}

div.module-advisory .ft {
  margin:0 10px;
  background-color: #dae0e1;
  border-bottom: 1px solid #a8acad;
  color:#000;
  height:9px;
  text-align:center;
  overflow:hidden;
}

div.module-advisory .ft .bl {
  width:10px;
  height:10px;
  bottom:0;
  left:0;
  background:transparent url(../images/modules/advisory-bl-new.png) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.module-advisory .ft .br {
  width:10px;
  height:10px;
  bottom:0;
  right:0;
  background:transparent url(../images/modules/advisory-br-new.png) no-repeat top left;
  position:absolute;
  overflow:hidden;
}

div.service span.on-time {
  color: #000;
  padding-left: 10px;
}

div.service-on h4.strong,
div.service h4.strong {
  color: #fff;
}

div.service-on p {
  color: #663333;
  border-bottom: 1px solid #C3C6C0;
  margin: 10px;
  padding-bottom: 10px;
  padding-left: 0;
}

div.service div.rss {
  left: 410px;
  position: absolute;
  bottom: 20px;
}

div.module-advisory img.rss {
  position: relative;
  top: 2px;
  padding-left: 10px;
  text-decoration: none;
}

div.module-advisory div.station-advisories h3 {
  display: inline;
  font-weight: bold;
  color: #663333;
}

div.module-advisory div.station-advisories {
  padding: 0 10px;
  font-weight: bold;
  color: #663333;
}

div.advisories,
div.advisories-on {
  font-weight: bold;
  border-bottom: 1px solid #c6c3c0;
  padding-bottom: 8px;
}

div.advisories-on h5,
div.advisories h5 {
  display: inline;
}

/*StationSpecificDirections IE6 & IE7 Hack*/
div.station-directions div.advisories {
  *margin-bottom: 30px;
}
/* STATION DETAIL TAB STYLES*/

.station-tabs {
	margin: 0 0 -2px 2px;
  white-space: nowrap;
  position: relative;
  top: 19px;
}

div.station-tabs div
{
  width: 30%;
  background-color: #f9f4e4;
  float: left;
  display: inline;
  height: 50px;
}

.station-tabs a {
	background: url(../images/tabs/station-tab-r.gif) 100% 0 no-repeat;
	vertical-align: middle;
	display: -moz-inline-block;
	display: -moz-inline-box;
	display: inline-block;
	padding: 0 8px 0 0;
  text-decoration: none;
  color: #fff;
  font-size: 1.2em;
  margin: 0 2px 0 -2px;
}

.station-tabs a.selected {
	background-image: url(../images/tabs/station-tab-r-on.gif);
}

.station-tabs a.selected span {
	background-image:url(../images/tabs/station-tab-l-on.gif);
  padding-left: 10px;
}

.station-tabs a span {
	cursor: pointer;
	background: url(../images/tabs/station-tab-l.gif) 0 0 no-repeat;
	margin: 0 0 0 0;
	vertical-align: middle;
	display: -moz-inline-block;
	display: -moz-inline-box;
	display: block;
	*display: inline-block;
	padding: 2px 6px 5px 14px;
}

.station-tabs a:hover {
	background-image: url(../images/tabs/station-tab-r-on.gif);
}

.station-tabs a:hover span {
	background-image:url(../images/tabs/station-tab-l-on.gif);
}

.station-tabs a.first {
  margin-left: 0;
}

/*Module styles for:
 square module with a 4px blue border and a drop shadow
*/

table.module-square-ds {
  position: absolute;
  margin-top: 15px;
  border-collapse: collapse;
  z-index:11;
}

table.module-square-ds div.yui-calcontainer {
  width: 195px;
  height: 160px;
}

table#change-calendar-widget,
table#reverse-calendar-widget {
  position: absolute;
}

table.module-square-ds tr td,
form#station-trip-planner table.module-square-ds tr td {
  padding-right: 0;
}

table.module-square-ds .hd .tl {
  width: 8px;
  height: 8px;
  background: transparent url(../images/modules/square-ds-tl.png) no-repeat top left;
}

table.module-square-ds .hd .tc {
  border: none;
  height: 8px;
  background: transparent url(../images/modules/square-ds-hd-bg.png) no-repeat left top;
}

table.module-square-ds .hd .tr {
  height: 8px;
  width: 8px;
  background: transparent url(../images/modules/square-ds-tr.png) no-repeat top right;
}

table.module-square-ds .bd .bl {
  background: transparent url(../images/modules/square-ds-bd-l.png) no-repeat top left;
}

table.module-square-ds .bd .contents {
  background-color: #fff;
}

table.module-square-ds .bd .br {
  background: transparent url(../images/modules/square-ds-bd-r.png) no-repeat top left;
}

table.module-square-ds .ft .bl {
  background: transparent url(../images/modules/square-ds-bl.png) no-repeat top left;
  height: 8px;
}

table.module-square-ds .ft .bc {
  background: transparent url(../images/modules/square-ds-ft-bg.png) no-repeat left top;
}

table.module-square-ds .ft .br {
  background: transparent url(../images/modules/square-ds-br.png) no-repeat top left;
}

/*
table#change-trip-module,
table#reverse-trip-module {
  width: 254px;
  position: absolute;
  z-index: 5;
  top: 70px;
  left: 0;
}
*/

table#overlay-change-trip-module {
  width: 320px;
  position: absolute;
  z-index: 5;
  top: 70px;
  left: 0;
}

table#overlay-reverse-trip-module {
  width: 255px;
  position: absolute;
  z-index: 5;
  top: 70px;
  left: 0;
}


/* STYLES FOR GRAY DROP SHADOW MODULE AND SCHEUDLES MODULE */
div.directions-to div.module-gray-ds div.bd {
  padding: 0 10px;
}

div.module-directions {
  padding: 3px 13px;
  z-index: 1;
}

div.module-directions table {
  width: 100%;
  margin: 4px 0;
  *margin-bottom: 10px; /*IE6 and IE7 Hack */
}

div.no-transfers table th {
  width: 100%;
}

div.one-transfer table th {
  width: 50%;
}

div.two-transfer table th {
  width: 33%;
}

div.no-transfers table.station-stops td {
  width: 50%;
}

div.one-transfer table.station-stops td {
  width: 33%;
}

div.two-transfer table.station-stops td {
  width: 19%;
  padding-right: 2%;
}

div.two-transfer table.station-stops td.station-transfer-one {
  padding-right: 7%;
  width: 18%;
}

div.two-transfer table.station-stops td.station-transfer-two {
  padding-left: 4%;
  padding-right: 0;
  width: 18%;
}


div.two-transfer table.station-stops td.station-end {
  padding-right: 0;
}

div.module-directions table th div,
div.module-directions table td {
  text-align: center;
}

div.module-directions table th {
  font-weight: bold;
}

div.module-directions table td.station-start {
  text-align: left;
}

div.module-directions table td.station-end {
  text-align: right;
}

div.module-directions table td strong {
  display: block;
  font-size: 1.55em;
  font-weight: bold;
  margin-top: 5px;
}

div.module-directions table td div,
div.more-results {
  text-align: center;
}

div.module-directions table th.line div {
  position: relative;
  padding-bottom: 12px;
  background-position: right bottom;
  margin-left: 10px;
  height: 18px;
}

div.module-directions table th.line div.transfer {
  background: #ffffff url(../images/icons/transfer.gif) no-repeat center 0;
  height: 5px;
  width: 20px;
  position: absolute;
  z-index: 6;
  right: -10px;
  bottom: -3px;
  overflow: hidden;
}
div.line-special-schedule {
  padding-top:10px;
  color: #663333;
}

div.line-special-schedule a {
  text-decoration: underline;
  color: #663333;
}
