/*
footerStickAlt technique used from:
  http://www.themaninblue.com/experiment/footerStickAlt
*/

*
{
  margin: 0;
  padding: 0;
}

html
{
  height: 100%;
}

body
{
  height: 100%;
  background-image: url(bg.gif);
  background-color: #CCCCCC;
  background-repeat: repeat-x;
  background-repeat: repeat;
  color: #555555;
  line-height: 1.5em;
  font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  text-align: center;
  /*border: 1px solid #00FF00; /* FOR DEBUG */
}

#page
{
  width: 700px;
  margin: 0 auto;
  min-height: 100%;
  text-align: left;
  background-color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

* html #page
{
  height: 100%;
}

/******************************************************************************/
/* Banner                                                                     */
/******************************************************************************/

#wrap-banner {
  font-size: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

img#banner-image {
  height: 185px;
  width: 700px;
  border: 0;
  margin: 0;
  padding: 0;
}

#banner-bottom {
  height: 10px;
  width: 700px;
  font-size: 10px;
  margin: 0;
  padding: 0;
  background-color: #888888;
  border-top: 2px solid #FFFFFF;
  margin-bottom: 10px;
}

/******************************************************************************/
/* Menu                                                                       */
/******************************************************************************/

#menu {
  display: inline;
  float: left;
  width: 160px;
  margin-right: 0px;
  /*border: 1px solid #00FF00; /* FOR DEBUG */
  /*background-color: #FF00FF;*/
}

#menu ul {
  list-style: none;
  text-align: left;
  margin: 0;
  padding: 0;
  padding-left: 10px;
  font-weight: bold;	
  text-decoration: none;
}

#menu ul ul {
  padding-top: 0px;
  padding-bottom: 0px;
}

#menu ul li {
  padding-top: 10px;
  padding-bottom: 0px;
}

#menu ul ul li {
  padding-top: 2px;
  padding-bottom: 2px;
}

#menu h1, #menu h2, #menu h3 {
  margin: 0;
  padding: 0;
  background: url(list-icon.png) no-repeat 0px 2px;
}

#menu h1 {
  font-size: 1.3em;
  text-transform: uppercase;
  padding-left: 20px;
}

#menu h2, #menu h3 {
  font-size: 0.9em;
  text-transform: none;
  font-family: Verdana, Trebuchet MS, Tahoma, Arial, sans-serif;
  padding-left: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid #DDDDDD;
}

#menu h3 {
  font-size: 0.8em;
  padding-bottom: 2px;
}

#menu a {
  color: #777777;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

#menu ul ul a { color: #EE6600; }

#menu a:hover { color: #CC3300; }

#menu li.current h2 a { color: #FF0000; }
#menu li.current h3 a { color: #FF0000; }

/******************************************************************************/
/* Content                                                                    */
/******************************************************************************/

#content {
  width: 460px;
  border-left: 1px solid #DDDDDD;
  margin: 0px;
  margin-left: 180px;
  padding: 0px;
  padding-top: 10px;
  padding-left: 30px;
  padding-bottom: 6em;
  background-color: #FFFFFF;
  /*border:1px solid #FFFF00; /* FOR DEBUG */
}

#content h1, #content h2, #content h3 {
  text-transform: uppercase;
  margin: 0px;
  margin-top: 14px;
  margin-bottom: 10px;
  padding: 0px;
  line-height: 1.3em;
}

#content h1 { font-size: 1.8em; }
#content h2 { font-size: 1.2em; border-bottom: 2px #BBBBBB solid; }
#content h3 { font-size: 1.0em; border-bottom: 1px #DDDDDD solid; }

#content p {
  margin-bottom: 10px;
}

* #content img {
  margin: 10px;
}

* #content img.no_margin {
  margin: 0px;
}

#content table {
  font-size: 1em;
  border: 0px #BBBBBB solid;
  border-spacing: 0;
  align: center;
}

#content table.small {
  font-size: 0.9em;
}

#content table.invisible td {
  border: 0px;
  padding: 0px;
}

#content table tr {
  /*border: 0px #BBBBBB solid;*/
}

#content table td {
  border-top: 1px #CCCCCC solid;
  border-left: 1px #CCCCCC solid;
  border-spacing: 0;
  padding-left: 4px;
  padding-right: 4px;
  padding-top: 2px;
  padding-bottom: 2px;
  text-align: left;
}

#content table td.center {
  text-align: center;
}

#content table.shadowedImageTable {
  /*border-spacing: 0;*/
  cellspacing: 0;
  cellpadding: 0;
  border: 0;
}

#content table.shadowedImageTable tr {
/*  border: 0px;*/
 /*line-height: 0;*/
 font-size: 0;
}

#content table.shadowedImageTable td {
  border: 1px #BB0000 solid;
  margin: 0px;
  padding: 0px;
}

#content table.shadowedImageTable img.mainImage {
  border: 1px #BBBBBB solid;
}

#content ul {
  margin-left: 15px;
}

#content ol {
  margin-left: 20px;
}

/******************************************************************************/
/* Footer (and nonFooter to place footer at the bottom of the page)           */
/******************************************************************************/

#nonFooter {
  position: relative;
  min-height: 100%;
}

* html #nonFooter {
  height: 100%;
}

#footer {
  clear: left;
  color: #FFFFFF;
  width:700px;
  position: relative;
  margin: -1.6em auto 0 auto;
  font-size: 0.9em;
  background-color: #888888;
}

/* A CSS hack that only applies to IE -- specifies a different height for the footer */

* html #footer {
  margin-top: -1.6em;
}

