/*-- 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;
  text-align: centre;
}

body#home div.trip-planner div.button {
  float: left;
  height: 25px;
}

body#home div#contents {
  width: 629px;
  float: left;
  /*background:transparent url(../images/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: 545px;
  width: 414px;
  float: left;
  display: inline;
}

body#home div#contents div#homedet {
  position: relative;
  left: 0;
  padding-top: 20px;
  padding-left: 0;
  float: left;
  display: inline;
}

body#home div#contents div#homedet h3{
  font-size:1.5em;
  font-weight:bold;
}

body#home div#bart-information {
  width: 215px;
  float: left;
  background:transparent url(../images/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 div#quick-planner {
  border-left: 1px solid #CCDBE0;
  border-right: 1px solid #A3B3B9;
  background-color: #F2F7F8;
  padding-top: 70px;
  text-align: center;
}

.login
{
  width: auto;
  position: relative;
  padding: 10px;
  margin: 15px;
  border: 1px solid #cccccc;
  text-align: center;
  background: transparent;
}

body#home div.advisories,
body#home div.advisories-on,
body#home div.arrivals {
  width: 245px;
  position: relative;
  padding: 0 10px;
  overflow-x: hidden;
  border: none;
}

body#home div.advisories-on p a.rss,
body#home div.advisories p a.rss {
  position: absolute;
  right: 0;
}

div#widgetzone h4
{
	font-weight: bold;
	margin-top:10px;
	background: url(../images/headerbg.jpg) repeat-x left bottom;
	vertical-align: middle;
	padding: 5px;
	position: relative;
	border: 1px solid #002277;
	color: #FFFFFF;
}

body#home div#quick-planner div.legend {
  font-size: 1.5em;
  margin-bottom: 10px;
  padding: 7px;
  margin: auto;
}

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 table.panel-tabs tr td.panel-label {
  background: url(../images/tab-sm-home-l.gif) 0 0 no-repeat;
}

body#home table.panel-tabs tr td.separator {
  background: url(../images/tab-sm-home-r.gif) 0 0 no-repeat;
  /*padding: 0 11px 0 0;*/
}

body#home div#quick-planner div.legend a.open-dialog {
  background:transparent url(../images/icon-popup-dialog.gif) no-repeat top left;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.67em;
  padding-left: 15px
}


body#home div#quick-planner fieldset {
  /*padding: 0 15px;*/
  width: 220px;
  margin: 0 auto;
}

body#home div#quick-planner div {
  width: 220px;
}

body#home div#quick-planner div.tab-panel-divider {
  width: 220px;
  margin: auto;
}



/* 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/trip-planner-modules-new.png) no-repeat top left;
  height: 55px;
  overflow: visible;
}

body#home div.station-locator a {
  background:transparent url(../images/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: #E3F7F8;
}

body#home div.notices div.module-header-blue 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-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-brown div.inner span {
  position: absolute;
  left: 165px;
}

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: 210px;
  margin-top: 5px;
}

body#home div.notices div.arrivals div.real-time {
	width: 235px;
	overflow: auto;
	height: 110px;
}

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/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: 300px;
  color: #ffffff;
  margin-right: 50px;
  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: 50px;
  position: relative;
  margin: 0 4px 0 0;
  padding: 0;
  height: 50px;
  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/thumbnail-matte.png) no-repeat top left;
  position: relative;
  z-index: 3;
  height: 50px;
  width: 50px;
  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/thumbnail-matte-sel.png) no-repeat top left;
  position: relative;
  z-index: 3;
  height: 50px;
  width: 50px;
  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/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: -50px;
  left: -0px;
}

body#home div#contents div#featured div.intro .yui-content div {
    display:none;
}


body#home div#bart-information div.rider-guide {
  background-color: #665a32;
  text-align: left;
  padding-left: 15px;
  margin-top: 24px;
  width: 168px;
  color: #ffffff;
  position: relative;
  _overflow-x: hidden;
}

body#home div#bart-information div.rider-guide ul li {
  background: transparent url(../images/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/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 a {
	border-bottom:2px solid #FFFFFF;
	border-top:2px solid #FFFFFF;
	display:inline;
	font-weight:bold;
	height:3.5em;
	padding:0;
}


body#home div.news table tr td p {
  height: 3.5em;
  padding: 0 15px 1em 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;
}

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/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: 3px 0 0 0;
  background: none;
  border: none;
}
body#home div#bart-information div.news div.footer div.advisory-links span {
  display: block;
}

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: 67%;
}

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%;
  border-top: 1px solid #333333;
  padding-top: 2px;
  margin-bottom: 10px;
}

#spContent { 
	font-size: 1em;
	padding-top: 10px;
	text-align: justify;
}
