/*-- GRID STRUCTURE --*/
body#home div#main {
  top: 15px;
  display: inline;
  width: 930px;
}

body#home div#trip-planner {
  width: 271px;
  float: left;
  display: inline;
  overflow-x: hidden;
}

body#home form.trip-planner fieldset div.button {
  float: left;
  height: 25px;
}

body#home div#contents {
  width: 629px;
  float: left;
  background:transparent url(../images/home/main-content-gradient.png) no-repeat top left;
  margin-left: 30px;
  display: inline;
}

body#home div#contents div#featured {
  position: relative;
  left: 0;
  padding-left: 0;
  height: 665px;
  width: 414px;
  float: left;
  display: inline;
}

body#home div#bart-information {
  width: 215px;
  float: left;
  background:transparent url( ../images/home/rt-module-top-v2.png ) no-repeat top left;
  position: relative;
  top: 15px;
  display: inline;
}

body#home form select {
 width: 100%;
}

/*--QUICK PLANNER FORM --*/
body#home form#quick-planner {
  border-left: 1px solid #CCDBE0;
  border-right: 1px solid #A3B3B9;
  background-color: #F2F7F8;
  padding-top: 70px;
}

body#home form#quick-planner fieldset,
body#home div.advisories,
body#home div.advisories-on,
body#home div.arrivals {
  width: 219px;
  position: relative;
  padding: 0 25px;
  overflow-x: hidden;
  border: none;
}

body#home div.advisories-on p a.rss,
body#home div.advisories p a.rss {
  position: absolute;
  right: 0;
}

body#home form#quick-planner div.legend {
  font-size: 1.5em;
  position: relative;
  margin-bottom: 10px;
}

body#home table.panel-tabs tr td.panel-label,
body#home table.panel-tabs tr td.panel-label-selected {
  font-size: 0.9em;
  vertical-align: top;
}

body#home form#quick-planner div.legend a.open-dialog {
  background:transparent url(../images/home/icon-popup-dialog.gif) no-repeat top left;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.67em;
  padding-left: 15px
}

body#home form#quick-planner div#departure-address,
body#home form#quick-planner div#departure-station,
body#home form#quick-planner div#arrival-address
{
  top: -4px;
  position: relative;
  height: 26px;
}

body#home form#quick-planner div#arrival-station 
{
  top: -4px;
  position: relative;
  z-index: 3;
  height: 20px;
}


body#home form#quick-planner fieldset div.times label {
  position: relative;
  bottom: 5px;
  *bottom: 2px; /*IE7 & IE6 hack for label alignment*/
}

body#home form#quick-planner fieldset {
  /*padding: 0 15px;*/
  width: 220px;
  margin: 0 auto;
}

body#home form#quick-planner div {
  width: 220px;
}

body#home form#quick-planner div.tab-panel-divider {
  width: auto;
  margin: 0;
}

body#home form#quick-planner fieldset div.button {
  clear:both;
  margin: 15px auto 0 auto;
  width: 220px;
}

body#home form#quick-planner fieldset select,
body#home form#quick-planner fieldset input {
  margin-left: 0;
  height: 18px;
  padding: 4px 0 0 4px;
  font-size: 1.2em;
}

body#home form#quick-planner fieldset select {
  height: 22px;
  padding: 2px 2px 2px 4px;
  width: 220px;
}


body#home form#quick-planner fieldset div#arrival-address input,
body#home form#quick-planner fieldset div#departure-address input,
body#home form#quick-planner fieldset div#arrival-station input,
body#home form#quick-planner fieldset div#departure-station input {
  position: relative;
  top: 1px;
  *top: 0px;
  width: 214px;
}

body#home form#quick-planner fieldset div#arrival-station select,
body#home form#quick-planner fieldset div#departure-station select {
  height: 24px;
  padding: 4px 2px 3px 4px;
  margin-bottom: 2px;
  width: 220px;
}

body#home form#quick-planner fieldset input.date,
body#home form#quick-planner fieldset select.time {
  width: 100px;
  margin-bottom: 0;
  *height: 12px;
  *padding-bottom: 4px; *//* IE6 & IE7 HACK *//**/
  overflow: hidden;
}

body#home form#quick-planner fieldset input.date {
  height: 18px;
  padding: 2px 0 2px 4px;
}
body#home form#quick-planner fieldset select.time {
  margin-left: 0;
  padding: 2px;
  height: 22px;
/*  *font-size: 1.27em;*/
}

body#home form#quick-planner fieldset div.times {
  margin-bottom: 0;
}

/* Find Closest Station form */
body#home form#findclosest fieldset input {
  font-size:1.2em;
  height:18px;
  margin-left:0pt;
  padding:4px 0pt 0pt 4px;
}

body#home form#findclosest fieldset input#address {
  position: relative;
  top: 0;
  width: 155px;
  font-weight: normal;
}

body#home div.station-locator {
  background:transparent url(../images/home/trip-planner-modules-new.png) no-repeat top left;
  height: 55px;
  overflow: visible;
}

body#home div.station-locator a {
  background:transparent url(../images/home/locate-station-button.gif) no-repeat top left;
  height: 24px;
  overflow: visible;
  text-align:center;
  position: relative;
  top: 33px;
  width: 150px;
  display: block;
  margin: 0 auto;
  color: #ffffff;
  padding-top: 4px;
  font-weight: bold;
  font-size: 1.2em;
}

/*-- NOTICES MODULE --*/
body#home div.notices {
  border-left: 1px solid #E2E7E7;
  border-right: 1px solid #BABFBF;
  background-color: #E3e7e8;
}

body#home div.notices div.module-header-blue div.inner,
body#home div.notices div.module-header-red div.inner,
body#home div.notices div.module-header-brown div.inner {
  margin-bottom: 10px;
}

body#home div.notices div.module-header-blue div.inner,
body#home div.notices div.module-header-red div.inner,
body#home div.notices div.module-header-brown div.inner {
  font-weight: bold;
  font-size: 1.2em;
  position: relative;
}

body#home div.notices div.module-header-blue div.inner span,
body#home div.notices div.module-header-red div.inner span,
body#home div.notices div.module-header-brown div.inner span {
  position: absolute;
  left: 165px;
}

body#home div.notices div.module-header-blue div.inner span#real-time-time {
  position: absolute;
  left: 159px;
}

body#home div.advisories p {
  position: relative;
}

body#home div.advisories-on p {
  position: relative;
  color: #714839;
  font-weight: normal;
}

body#home div.news div.news-lead p {
	margin-bottom: 0;
}

body#home div.news div.news-lead a.more-details,
body#home div.advisories div.rss-image-link a.more-details {
  padding-top: 0;
  background-position: right 3px;
  font-size: 1.1em;
}

body#home div.news div.news-lead p {
	margin-bottom: 0px;
}

body#home div.news div.news-lead a.more-details {
  margin-right: 3px;
}

body#home div.notices div.arrivals table {
  width: 190px;
  margin-top: 5px;
}

body#home div.notices div.arrivals div.real-time {
  width: 215px;
  overflow: auto;
  height: 110px;
  margin-top:5px;
}

body#home div.notices div.arrivals table tr.last td {
  border-bottom: none;
}

body#home div.notices div.arrivals table tr td {
  vertical-align: top;
  padding: 4px 8px 4px 0;
  border-bottom: 1px solid #c3c6c0;
}

body#home div.notices div.arrivals table col#train-lines {
  width: 50px;
  padding-right: 5px;
}

body#home div.notices div.arrivals table col#upcoming-arrivals {
  width: 145px;
}

body#home div.notices div.arrivals table tr td a {
  display: block;
}

body#home div.left-footer {
  background:transparent url(../images/home/trip-planner-bottom-new.png) no-repeat left top;
  height: 30px;
}

/*-- MAIN CONTENT AREA --*/




body#home div#contents div#main-image {
  position: relative;
  left: -15px;
  width: 414px;
  top: 9px;
}

body#home div#contents div#main-image div#tagline {
  position: absolute;
  right: 0;
  bottom: 0px;
  width: 232px;
  color: #ffffff;
  margin-right: 22px;
  height: 102px;
  overflow: hidden;
}

body#home div#contents div#main-image div#tagline a:link,
body#home div#contents div#main-image div#tagline a:visited,
body#home div#contents div#main-image div#tagline a:hover,
body#home div#contents div#main-image div#tagline a:active {
  color: #fff;
}

body#home div#contents div#featured div.intro {
  margin: 20px 0 0 30px;
  width: 350px;
}

body#home div#contents div#featured div.intro ul li,
body#home div#contents div#featured div.intro ul.yui-nav li {
  float: left;
  width: 70px;
  position: relative;
  margin: 0 4px 0 0;
  padding: 0;
  height: 58px;
  overflow: hidden;
}

body#home div#contents div#featured div.intro ul li a.matte,
body#home div#contents div#featured div.intro ul.yui-nav li a.matte {
  background:transparent url(../images/home/thumbnail-matte.png) no-repeat top left;
  position: relative;
  z-index: 3;
  height: 58px;
  width: 70px;
  display: block;
}

body#home div#contents div#featured div.intro ul li.selected a.matte,
body#home div#contents div#featured div.intro ul.yui-nav li.selected a.matte {
  background:transparent url(../images/home/thumbnail-matte-sel.png) no-repeat top left;
  position: relative;
  z-index: 3;
  height: 58px;
  width: 70px;
  display: block;
}

body#home div#contents div#featured div.intro ul li a.matte:hover,
body#home div#contents div#featured div.intro ul.yui-nav li a.matte:hover {
  text-decoration: none;
  cursor: pointer;
  background:transparent url(../images/home/thumbnail-matte-sel.png) no-repeat top left;
}

body#home div#contents div#featured div.intro ul li.selected a.matte:hover,
body#home div#contents div#featured div.intro ul.yui-nav li.selected a.matte:hover {
  text-decoration: none;
  cursor: default;
}

body#home div#contents div#featured div.intro ul li img,
body#home div#contents div#featured div.intro ul.yui-nav li img {
  position: relative;
  z-index: 2;
  top: -70px;
  left: -5px;
}

/* 11/04/10 - Replaced for new YUI 2.8.2r1 compatibility */
/*
body#home div#contents div#featured div.intro div.yui-content div {
    display:none;
}
*/
.yui-navset .yui-content, .yui-navset .yui-content div {
}
.yui-navset .yui-content .yui-hidden {
  border:0 none;
  height:0;
  left:-999999px;
  overflow:hidden;
  padding:0;
  position:absolute;
  visibility:hidden;
  width:0;
}

body#home div#bart-information div.rider-guide {
  background-color: #665a32;
  text-align: left;
  padding: 0 15px;
  margin-top: 24px;
  width: 153px;
  color: #ffffff;
  position: relative;
  _overflow-x: hidden;
}

body#home div#bart-information div.rider-guide ul li {
  background: transparent url(../images/icons/white-bullet.png) no-repeat left 6px;
  padding-left: 7px;
}

body#home div#bart-information div.rider-guide ul li a,
body#home div#bart-information div.rider-guide h3 {
  color: #ffffff;
}

body#home div#bart-information div.news {
  background:transparent url(../images/home/rt-module-bottom.png ) no-repeat top left;
  overflow: visible;
  position: relative;
  width: 215px;
  padding-top: 70px;
}

body#home div#bart-information div.news div,
body#home div#bart-information div.news table {
  position: relative;
  left: 1px;
  margin-right: 1px;
  background-color: #ffffff;
  border-right: 1px solid #aab9be;
}

body#home div#bart-information div.news div {
  padding: 0 12px 12px 14px;
  position: relative;
}

body#home div#bart-information div.news table {
  border-top: 1px solid #c3c6c0;
  padding-bottom: 15px;
}

body#home div#bart-information div.news table tr td {
  border-bottom: 1px solid #c3c6c0;
  /** height: 4em; */
}

body#home div#bart-information div.news table tr td.news-title {
    border-bottom: none;
}

body#home div#bart-information div.news table tr td.news-link {
}

body#home div#bart-information div.news table tr td a {
  /** height: 3.5em; */
  padding: 0;
  /** border-top: 2px solid #ffffff; */
  /** border-bottom: 2px solid #ffffff; */
  /** display: block; */
  vertical-align: middle;
}

body#home div#bart-information div.news table tr td a.video-also {
  background: transparent url(../images/icons/link-arrow.gif) no-repeat scroll right 2px;
  cursor: pointer;
  font-size: 1em;
  padding: 0 8px 0 0;
}


body#home div.news table tr td p {
  /** height: 3.5em; */
  padding: 10px 15px 8px 15px;
  margin-bottom: 0;
  /** border-top: 2px solid #ffffff; */
  /** border-bottom: 2px solid #ffffff; */
  display: block;
  vertical-align: middle;
  font-size: 1.0em;
}

body#home div#bart-information div.news table tr td span.links {
  display: block;
  padding-left: 15px;
  margin-bottom: 7px;
  margin-top: -3px;
}

body#home div#bart-information div.news table tr td p span.links a {
  display: inline;
  border: none;
  height: auto;
  padding: 0 8px 0 1px;
  margin: 0 4px 0 0;
}

body#home div#bart-information div.news table tr td.even {
  background-color: #f5f9fa;
}

body#home div#bart-information div.footer div.advisory-links img.rss {
  padding: 0 4px 0 0;
  position: relative;
  top: 2px;
}

body#home div#bart-information div.news div.footer {
  background:transparent url(../images/home/news-module-bottom.png) no-repeat top left;
  height: 33px;
  margin-right: 0;
  border: none;
  top: 0;
  position: relative;
  left: 0;
  padding-top:0;
}

body#home div#bart-information div.news div.footer div.advisory-links {
  padding: 12px 0 0 0;
  background: none;
  border: none;
}
body#home div#bart-information div.news div.footer div.advisory-links img {
  padding: 0 4px;
}

body#home div.arrivals div.module-header-blue div.inner {
  height: 15px;   /* IE 7 HACK - FORCED HEIGHT TO VERTICALLY ALIGN TEXT IN ARRIVALS HEADER */
}

body#home form select#station-selection {
  width: 180px;
  height: 24px;
  padding: 2px 0;
}

table#overlay-arriving-station,
table#overlay-departing-station {
  width: 586px;
}

table#overlay-arriving-station tr td.contents table,
table#overlay-departing-station tr td.contents table {
  width: 570px;
}

table#overlay-arriving-station table tr td,
table#overlay-departing-station table tr td {
  width: 190px;
  vertical-align: top;
}

/*-- Footer --*/
div#home-footer {
  /*margin-top: 15px;*/
  clear:both;
  position: relative;
  top: 30px;
  float: left;
  width: 100%;
}

body#home div.notices div.module-header-blue div.inner span#bsa-rss,
body#home div.notices div.module-header-red div.inner span#bsa-rss,
body#home div.notices div.module-header-brown div.inner span#bsa-rss {
  left: 190px;
}

/* Added for formatting of overlay text on hero image */
#tagline h3 {
  color: #ffffff;
  font-size: 1.5em;
  margin-bottom: 10px;
  text-align: left;
}

#tagline h4,
#tagline p.h4 {
  color: #ffffff;
  font-size: 1.2em;
  margin-bottom: 10px;
}

#tagline h4.strong,
#tagline p.h4.strong {
  color: #ffffff;
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: bold;
}

.yui-content p.h3 {
  color:#000000;
  font-size:1.5em;
  margin-bottom:10px;
  text-align:left;
}

body#home div#bart-information div.rider-guide p.h3 {
  color: #ffffff;
  font-size:1.5em;
  margin-bottom:10px;
  text-align:left;
}

body#home div.news div.news-lead p.h3 {
  color:#000000;
  font-size:1.5em;
  margin-bottom:10px;
  text-align:left;
}
body#home table.panel-tabs tr td.home-station {
  width: 70px;
  text-align: center;
}

body#home table.panel-tabs tr td.home-address {
  width: 70px;
  text-align: center;
}

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 {
  height:22px;
  left:0;
  margin:0;
  padding-bottom:0;
}

div.map-tab-container table.panel-tabs tr td.panel-label-selected {
  background:transparent url(../images/tabs/tab-med-home-l-on.gif) no-repeat scroll 0 0;
}

body#home table.panel-tabs tr td.panel-label {
  background:transparent url(../images/tabs/tab-med-home-l.gif) no-repeat scroll 0 0;
}

div.map-tab-container table.panel-tabs tr td.home-station a,
div.map-tab-container table.panel-tabs tr td.home-address a {
  color:#000000;
  font-size:1.1em;
 padding: 6px 0;
}

div.map-tab-container table.panel-tabs tr td.separator-selected {
  background: url(../images/tabs/tab-med-home-r-on.gif) 0 0 no-repeat;
}

body#home table.panel-tabs tr td.separator {
  background: url(../images/tabs/tab-med-home-r.gif) 0 0 no-repeat;
  /*padding: 0 11px 0 0;*/
}

#mobile a {
  color:red;
  font-size: 2.2em;
}

body#home form#quick-planner div.legend h2 {
  margin: 0;
  padding: 0;
  font-size: 1em;
}

div.inner h2 {
  margin: 0;
  padding: 0;
  font-size: 1em;
  color: #ffffff;
  font-weight: bold;
  display: inline;
}

body#home div#bart-information div.rider-guide h2 {
  color:#FFFFFF;
  margin-bottom:10px;
  text-align:left;
  padding: 0;
  font-size: 1.5em;
}

body#home div#bart-information div.rider-guide a {
  color: #ffffff;
}

body#home div#bart-information div.rider-guide a:active,
body#home div#bart-information div.rider-guide a:hover {
  color: #ffffff;
  text-decoration: underline;
}
#bsa-homepage {
  margin-left: 3px;
}
#real-time {
  margin-left: 3px;
}
a.more-details {
    background: url("../images/icons/link-arrow.gif") no-repeat scroll right 4px transparent;
}

form#arrivals div.buttonr {
  margin: 0;
}
