/**
   * This is the default (main) style sheet for all of the Transit New Zealand subsites.
   *
   * @package Transit New Zealand
   * @author Jeremy Porter <www.jrmyprtr.com>
   * @author Francis Saul <francis@clicksuite.co.nz>
   * @project manager Alan Doak <alan@clicksuite.co.nz>
   * @version 2006-08-07
   
   * @change log
     2007-19-01
	 .galleryPage .end - added font-size:1.35em;
   */

body{
  margin: 0;
  padding: 0;
  font-family: Arial, Verdana, sans-serif;
  font-size: 62.5%; /* Resets 1em to 10px */
  color: black;
  background: url(../img/header_bak.gif) repeat-x;
  text-align: center; /* IE5 centering - modern browsers use the wrapper auto margin */
  line-height: 1.3em;
}


/**************************************************************
  Base Rules
**************************************************************/
div{
  margin: 0;
  padding: 0;
  text-align: left;
}
form{
  margin: 0;
  padding: 0;
}
p{
  padding: 0;
  margin: 1.2em 0;
}
ul, ol {
  padding: 0;
  margin: 0;
  text-indent: 0;
}
img{
  display: block;
  border: 0;
  background: #333;
}

/**************************************************************
  Primary Layout
**************************************************************/
#shell{
  width: 760px;
  position: relative;
  margin: 0 auto;
}
#header{
  margin: 0px;
  width: 750px;
  height: 122px;
}
#byline{

}
#contentCont{
  background: url(../img/bak.gif) repeat-y;
  margin-top: 10px;
}
#fullSidePanel{
  float: left;
  width: 147px;
  margin: 0 0 60px 0;  
}
#primaryNav{
  line-height: 1.6em;
  background: #ecebeb;
}
#contentHome{
  float: left;
  width: 375px;
  margin: 0 10px 30px 10px;
}
#contentPageCont{
  float: left;
  width: 590px;
  margin: 0 0 30px 10px;
}
#contentPageText{
  border: solid #D2D2D2;
  padding: 10px;
  border-width: 0 1px;
  line-height: 1.3em;  /* Jeremy's hack for Francis's (chaos) IE border chaos */
  background: #fff;  /* Francis's hack for IE border chaos */
}
#contentPageText_sg{
  border: solid #D2D2D2;
  padding: 10px;
  border-width: 0 1px;
  line-height: 1.3em;  /* Jeremy's hack for Francis's (chaos) IE border chaos */
  background: #fff;  /* Francis's hack for IE border chaos */
}
#thirdPanel{
  float: left;
  width: 203px;
}
#footer{
  clear: both;
  width: 760px;
  font-size: 1em;
  line-height: 22px;
  height: 22px;
  background: url(../img/footer.gif) no-repeat;
  color: #fff;
}

/**************************************************************
  Common Inner Elements
**************************************************************/
#contentHeader{
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #d2d2d2;
}
#contentHeader h4{
  margin-bottom: 0;
}
#contentTxt p{
  padding: 0;
  margin-top: 10px;
}
div#tools{
  position: relative;
  top: 20px;
  left: 10px;
}
div.hr{
   color: #000;
  background-color: #000;
  height: 1px;
}
div.hr hr {
  display: none;
}
.clr {
  clear: both;
}
.hidden{
  display: none;
}
div.hide{
  height: 1px;
  background: #fff;
}
div#breadcrumb{
  color: #123CC2;
  font-size: 1em;
  border-bottom: 1px dotted #707070;
  padding: 5px 0;
}
.galleryHeader{
  font-size: 1em;
  color: #000;
  width: 566px;
}
.galleryFooter{
  font-size: 1em;
  color: #000;
  width: 566px;
}
.galleryTotalPages{
  width: 47%; /* needed to display full background */
  float: left;
  background: #e7e7e7;
  padding: 4px 8px;
}
.galleryPage{
  width: 47%; /* needed to display full background */
  float: left;
  text-align: right;
  background: #e7e7e7;
  padding: 4px 8px;
}
.galleryPage .end{
  font-size:1.35em;
}
.tabActive{
  width: 113px;
  padding: 0 14px;
  float: left;
  line-height: 26px;
  font-size: 1.3em;
  font-weight: bold;
  color: #515151;
  background: url(../img/gallery_active_tab.gif) no-repeat;
}
.tabInactive{
  width: 113px;
  padding: 0 14px;
  float: left;
  line-height: 26px;
  font-size: 1.3em;
  font-weight: bold;
  color: #123cc2;
  background: url(../img/gallery_inactive_tab.gif) no-repeat;
}
.tabActive a, .tabInactive a {
  display: block;
  width: 113px;
}
a.right{
  float: right;
}
a.left{
  float: left;
}

/**************************************************************
  Inner Elements
**************************************************************/
#newsletter{
  width: 127px;
  margin: 0 10px 10px 10px;
  font-size: 1em;
  border-top: 1px dotted #737172;
}
#contentShell{
  margin-top: 12px;
}
#contentTxt{
  padding: 22px 18px;
  border: solid #d3d3d3;
  border-width:0 1px;
}
#introTxt{
  padding: 12px 15px;
  background: #fff1b2;
  border: 2px solid #fed201;
}
table{
  margin-bottom: 20px;
  font-size: 1em;
}
table th{
  height: 20px;
  padding: 4px 16px 16px 4px;
  background: #E7E7E7;
  font-size: 1.1em;
  font-weight: bold;
  color: #000;
}
table tr.dark{
  background: #ECF8FD;
}
table tr.light{
  background: #fff;
}
table td{
  padding: 2px;
}
table td.dark{
  font-weight: bold;
}

/**************************************************************
  Primary Navigation
**************************************************************/
#primaryNav ul{
  padding: 10px;
  text-indent: 0;
  list-style: none;
}
#primaryNav ul li.active{
  background: url(../img/menu_active.gif) no-repeat;
  margin: 0 -10px;
  padding: 4px 10px 0 10px;
}
#primaryNav ul li.active ul{
  background: url(../img/menu_active_bot.gif) bottom left no-repeat;
  margin: 0 -10px;
}
#primaryNav ul li.active ul li{
  background: #f5f8f6;
  padding: 2px 10px 8px 10px;
  border-right: 1px solid #d2d2d2;
  border-left: 1px solid #d2d2d2;
  margin: -6px -10px;
  font-size: 1em;
}
ul#menu{
  margin-bottom: 50px;
  padding-top: 4px;
}

/**************************************************************
  Secondary navigation
**************************************************************/

/**************************************************************
  Third Panel
**************************************************************/

div.extras{
  background: url(../img/extra_bot.gif) bottom no-repeat;
  padding-bottom: 3px;
}

div.extras form{
  font-size: 1.1em;
  border: solid #d2d2d2;
  border-width: 0 1px;
  margin: 0;
  padding: 8px 11px;
  position: relative;
}

/**************************************************************
  Footer
**************************************************************/
#footertop{
  float: left;
  width: 10%;
  margin-left: 8px;
}
#links{
  float: left;
  width: 80%;
  text-align: center;
}
#copyright{
  clear: left; 
  text-align: center;
  margin-top: 5px;
  color: #a8a8a8;
  font-size: 1em;
}
#footer ul{
  list-style: none;
  font-size: 0.9em;
}
#footer ul li{
  display: inline;
}

/**************************************************************
  Typography
**************************************************************/
#byline span#byline_1{
  color: #fff;
  font-size: 2.2em;
  line-height: 0.9em;
}
#byline span#byline_2{
  color: #d4d4d4;
  font-size: 1.3em;
  font-weight: bold;
}
#byline span#byline_3{
  color: #d4d4d4;
  font-size: 1.1em;
  font-style: italic;
}
#contentHome h1{
  margin: 0 0 10px 0;
  font-size: 1.3em;
}
h1{
  margin: 6px 0;
  font-size: 1.9em;
  font-weight: normal;
}
h2 {
  font-size: 1.6em;
  line-height: 1.4em;
  color: #000;
  margin: 6px 0;
}
.highlightBox h2, .highlightBoxImage h2, .highlight_floated h2{
  font-size: 1.6em;
  color: #000;
  margin: 0;
}
h2.images{
  font-size: 1.6em;
  border-bottom: 1px solid #404040;
  color: #000;
  margin-bottom: 0;
  padding-bottom: 3px;
}
div#primaryNav h2{
  font-size: 1.1em;
  color: #5a5859;
  padding: 0;
  margin-bottom: 0;
}
div.extras h2{
  background: url(../img/section_top.gif) no-repeat;
  font-size: 1.1em;
  color: #1840b2;
  padding: 8px 12px;
  margin-bottom: 0;
}
h3 {
  font-size: 1.2em;
  color: #000;
  margin-bottom: 0;
}

h4 {
  font-size: 1.2em;
  color: #888;
  margin: 0;
  margin-bottom: 1em;
  line-height: 1.3em;
}

h5 {
  font-size: 1.1em;
  font-weight: 500;
  color: #888;
  font-style: italic;
  margin: 0;
}
p{
  font-size: 1.2em;
  line-height: 1.4em;
}
li{
  font-size: 1.2em;
}
li li, li li li {
  font-size: 1em;
}
label{
  font-size: 1.2em;
  display: block;
}
div.extras p{
  font-size: 1.1em;
  border: solid #d2d2d2;
  border-width: 0 1px;
  margin: 0;
  padding: 8px 11px;
}
div.extras p strong{
  display: block;
  margin-bottom: 0.25em;
}
div.extras p a.more{
  font-size: 1.1em;
  display: block;
  background-position: left 0.25em;
}
div.extras label{
  font-size: 1em;
  display: block;
  margin-bottom: 0.25em;
}
div.extras p#result{
  font-weight: bold;
}
div.extras p#result span{
  font-size: 1.2em;
  display: block;
  text-align: center;
  border: 1px solid #ecebeb;
  background: #fcfcfc;
  padding: 4px;
}
p.lead{
  font-weight: bold;
}
p.faq{
  margin: 0 0 10px 0;
}
p.news{
  margin: 0;
  font-size: 1.1em;
  padding-bottom: 10px; /* just to fix floating images when there's not enough copy */
}
p.partners{
  margin: 0;
  padding-bottom: 20px; /* just to fix floating images when there's not enough copy */
}
p.date{
  margin: 0;
  color: #878787;
  font-size: 1.1em;
}
.highlightBox p, .highlightBoxImage p, .highlight_floated p, #introText p{
	margin: 1em 0;
  font-size: 1.2em;
}

/**************************************************************
  Anchor Formatting
**************************************************************/
#byline a {
  padding: 15px 0 13px 0;
  text-decoration: none;
  display: block;
}

h2 a{
  color: #123CC2;
  font-weight: bold;
  text-decoration: none;
}
#primaryNav a{
  color: #1c41b4;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
}
#primaryNav a:hover{
  text-decoration: underline;
}
#tools .pdf, #tools .print, #tools {
  font-size: 1.05em;
}
a.pdf{
  padding-left: 20px;
  background: url(../img/icons/pdf.gif) left top no-repeat;
  line-height: 17px;
  font-size: 1em;
  color: #5a5a5a;
  text-decoration: none;
}
a.pdf:hover{
  text-decoration: underline;
}
a.print{
  padding-left: 20px;
  background: url(../img/icons/print.gif) left top no-repeat;
  line-height: 17px;
  font-size: 1em;
  color: #5a5a5a;
  text-decoration: none;
}
a.print:hover{
  text-decoration: underline;
}
a.download{
  padding-left: 12px;
  background: url(../img/icons/download.gif) left top no-repeat;
  line-height: 12px;
  font-size: 1.1em;
  font-weight: bold;
  color: #123CC2;
}
table a.download{
	font-weight: normal;
}
a.download:hover{
  text-decoration: underline;
}
a.more{
  padding-left: 8px;
  background: url(../img/icons/arrow.gif) left top no-repeat;
  line-height: 17px;
  text-decoration: none;
}
a.more:hover{
  text-decoration: underline;
}
a.footer{
  font-size: 0.9em;
  color: #fff;
  text-decoration: none;
}
a.footer:hover{
  text-decoration: underline;
}
a.top{
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
a.top:hover{
  text-decoration: underline;
}
div#breadcrumb a{
  color: #123CC2;
}
a.faq{
  font-weight: bold;
}
a.more{
  font-size: 1em;
}
.galleryHeader a, .galleryFooter a{
  text-decoration: none;
}

p.backtotop {
  text-align: right;
}

/**************************************************************
  Content Lists
**************************************************************/

ul#menu li{
  font-size: 1em;
}
#contentTxt ul, #contentTxt ol{
  padding: 0;
  margin: 0 14px 10px 14px;
  line-height: 1.7em;
}

#contentPageText ul, #contentPageText ol{
  padding: 0;
  margin: 1.2em 1.3em;
  text-indent: 0;
  line-height: 1.7em;
}
#contentPageText ol{
  margin-left: 2.5em;
}
ol ol {
  list-style-type: lower-alpha;
  margin-bottom: 0;
}

ol ol ol {
  list-style-type: lower-roman;
  margin-bottom: 0;
}

ul ul, ul ul ul {
  margin-bottom: 0;
}
ol.faq{
  padding: 0;
  margin: 1.2em 1.3em;
  text-indent: 0;
}
ul.list li{
  border-bottom: 1px solid #E5E5E5;
  height: 16px;
  list-style: none;
  font-size: 1em;
}
ul.list li.heading{
  width: 100%;
  float: none;
  padding: 2px 0;
  font-weight: bold;
  font-size: 1.1em;
}
ul.list li.left{
  padding: 2px 0;
  width: 20%;
  float: left;
}
ul.list li.desc{
  padding: 2px 0;
  width: 80%;
  float: left;
}

/**************************************************************
  Form Control
**************************************************************/

#newsletter input{
  width: 115px;
  margin: 2px 0;
  font-size: 1.1em;
  color: #5b5b5b;
  padding: 4px 2px;
  border: 1px solid #595758;
}
#newsletter input.subscribe{
  width: 100px;
  margin: 2px 0;
  font-size: 1.1em;
  color: #5b5b5b;
  padding: 2px;
  border: 1px solid #595758;
}
input.inpText, select{
  margin: 1px 0 7px 0;
  width: 240px;
  border: 1px solid #000;
}
textarea{
  margin: 2px 0 5px 0;
  width: 240px;
  height: 80px;
  border: 1px solid #000;
}
.button{
  font-size: 1.1em;
  font-weight: bold;
  color: #123cc2;
  background: #ccc;
  border: 1px solid;
  border-color: white black black white;
  width: 100px;
  cursor: pointer;
  cursor: hand;
}
.button:hover{
  color: #000;
  border-color: black white white black;
}

.extras input.inpText, .extras select, .extras textarea {
  width: 175px;
}

/**************************************************************
  Image Treatment and Highlighted Boxes
**************************************************************/

.highlightBox{
  padding: 12px 15px;
  background: #fff1b2;
  border: 2px solid #fed201;
  margin: 10px 0;
}
.highlight_floated{
  width: 331px;
  height: 76px;
  float: left;
  padding: 12px 15px;
  background: #fff1b2;
  border: 2px solid #fed201;
  margin: 10px 0;
}
.highlight_img{
  float: left;
  width: 203px;
  margin: 10px 0;
}
a.floated_image{
  margin: 10px 0 10px 10px;
  background: #313131;
  padding: 1px;
  text-decoration: none;
}
a.floated_image:hover{
  background: #1E41B1;
}
.floated_image span{
  padding: 4px;
  display: block;
  color: white;
  font-size: 1em;
}
.teaser{
  margin: 10px 10px 0 0;
}
a.imageInter{
  width: 180px;
  margin: 10px 10px 10px 0;
  background: #313131;
  padding: 1px;
  text-decoration: none;
  display: block;
}
a.right{
margin-left: 10px;
}
a.left{
margin-right: 10px;
}
a.imageInter:hover{
  background: #1E41B1;
}
a.imageInter span, .imageInter_last span{
  padding: 4px;
  margin: 0;
  color: white;
  font-size: 1.1em;
  display: block;
}
a.imageInter_last{
  width: 180px;
  margin: 10px 0; /* note the difference in margin */
  background: #313131;
  padding: 1px;
  text-decoration: none;
  border: 0;
}
a.imageInter_last:hover{
  background: #1E41B1;
}
div.imageNon{
  width: 180px;
  margin: 10px 10px 10px 0;
   display: block;
  color: black;
  text-decoration: none;
}
div.imageNon span{
  padding: 4px;
  color: black;
  font-size: 1em;
  display: block;
}
img .nonInter{
  border: 1px solid #aaa;
}
img.left{
  float: left;
}
img.right{
  float: right;
}
div.left{
  float: left;
}
div.right{
  float: right;
  margin-left: 10px;
}
