/**************************************************************
   AUTHOR:  Pat Heard (fullahead.org)
   DATE:    2006.03.19
   PURPOSE: Controls the layout of the site and styles
            the menus
 **************************************************************/



/**************************************************************
   #content: Sets the width of the site.  Make changes here
             to convert to a fixed width site.
 **************************************************************/

#content {  
  height: 100%;
  min-height: 100%;
  text-align: left;
}

#content,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 1000 ? "950px" : "95%");  
  max-width: 950px;
  margin: 0 auto;
}

#content[id],
#width[id] {
  width: 95%;
  height: auto;
}

/**************************************************************
   #header: Holds the site title and header images
 **************************************************************/

#header {
  position: relative;
  height: 85px;
}

/* Holds the site title and subtitle */

#header #title {
  position: absolute;
  z-index: 3;
  top: 5px;
  left: 70px;
  padding: 5px;
  text-align: right;
}

#header h1 {
  margin: 0;
  padding: 0;
  font: 700 4em "trebuchet ms", serif;
  letter-spacing: -3px;
  text-transform: lowercase;
  color: #FFF;
}

#header h2 {
  position: absolute;
  top: 55px;
  right: 5px;
  margin: 0;
  padding: 0;
  font: 700 1em "trebuchet ms", serif;
  text-transform: lowercase;
  color: #00F0EC;
}

/* Sets where the header images will go */
#header img.left {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

#header img.right {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
}

/**************************************************************
   #mainMenu: The top level site menu
 **************************************************************/

#mainMenu { 
  float: left;
  width: 100%;
  clear: both;  
}

#mainMenu ul {
  margin: 0;
  padding: 0;
}

#mainMenu li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainMenu li a {
  float: left;
  margin: 0 2px;
  padding: 5px 0.5em;
  font: 400 1.6em "trebuchet ms", serif;
  text-decoration: none;
  text-transform: lowercase;
  color: #FFF;
}

#mainMenu li a:hover,
#mainMenu li a.here {
  color: #65EBFF;
  border-top: 5px solid #000;
}

#mainMenu li a.last {
  margin-right: 0;
}

/**************************************************************
   .sideMenu: The side bar menu
 **************************************************************/

ul.sideMenu {
  margin: 0;
  padding: 0;
}

.sideMenu li {
  display: inline;  
  /* Needed since IE fails when you give it list-style: none; */  
  list-style-image: url(foo.gif);
  font: 400 1.3em "trebuchet ms", serif;
}

.sideMenu li a {
  display: block;
  margin: 0.2em 0;
  padding: 3px 0px;  
  text-decoration: none;
  color: #FFF;
} 

.sideMenu li a:hover {
  color: #65EBFF;
  background: #5F5F5F;
}

/* Active menu item */
.sideMenu li.here, .sideMenu li.info {
  display: block;  
  padding: 5px;
  color: #65EBFF;
  background: #555;
}

/* Submenu of active menu item */
.sideMenu li.here ul, .sideMenu li.info ul {
  margin: 0;
  padding: 0;
}

.sideMenu li.here ul li a {
  padding-left: 35px;
  font: 400 0.55em verdana, arial, sans-serif; 
  color: #FFF;  
  background: url(../images/bg/bullet.gif) no-repeat 10px 0px;
}

.sideMenu li.here ul li a:hover {
  color: #9FF3FF;
  background: #5F5F5F url(../images/bg/bullet.gif) no-repeat 10px 0px;
}

.sideMenu li.info ul li a {
  padding-left: 35px;
  font: 400 0.55em verdana, arial, sans-serif; 
  color: #FFF;  
  background: url(../images/icons/ok.gif) no-repeat 10px 0px;
}

.sideMenu li.info ul li a:hover {
  color: #9FF3FF;
  background: #5F5F5F url(../images/icons/ok.gif) no-repeat 10px 0px;
}

/**************************************************************
   .anylink: Dynamic menu container
 **************************************************************/

.anylinkcss{
  background-color: #555;
  border:3px solid #666;
  padding: 0px;
  position:absolute;
  visibility: hidden;
  width: 235px;
  z-index: 100;
}

/**************************************************************
   #news: Holds the news page content.
 **************************************************************/

#news {
  background-color: #666;
}

/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page {
  float: left;
  width: 100%;
  clear: both;  
  height: 100%
  padding-bottom: 5em;
}

.centercol {
  margin-left: 1.5em;
}

/**************************************************************
   Holds the styles for tables and tabs
***************************************************************/

.tabtable {
  width: 100% ;
  align: center; 
  cellspacing: 0;
  border-collapse: collapse;
  border: 0px;
  border-top: 2px solid #444;
  clear: both;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  background: #444;
}

.activetab {
  background-color: #000;
  color: #EA2020;
/*  color: #FFF;
  background: #666 url(../images/bg/redgradient.jpg) repeat-x left top; */
  padding: .5em;
}

.inactivetab {
  background-color: #666;
  color: #8BE6FA;
  cursor: pointer;
  padding: .5em; 
}

table{
  color:#FFF; 
  background:#000; 
  border-collapse:collapse; 
  border:1px dotted #FFF;
  align:center;
  line-height: normal;
  width:100%;
  margin: 0;
}

table.holder {
  background: #444;
  border: 1px solid #444;
  font-size: 1.5em;
}

thead, thead tr, tfoot, tfoot tr{
}

thead th { 
  padding: .3em 0em; 
  font-size: .8em; 
  text-align: center;
  color: #EA2020;
/*  color: #FFF;
  background: #666 url(../images/bg/redgradient.jpg) repeat-x left top;  */ 
}

thead th.coltitle {
  padding: .3em 0em;
  font-size: .75em;
  border-bottom: 1px dotted #FFF;
}

td{ 
  font-size: .75em;
  padding: .25em;
}

tbody tr.hilite td{ 
  background:transparent url(../images/bg/tr_bg.png) repeat top left;
}

tbody tr.hilite td a{
  position: relative;
  z-index:500;
}

tbody tr.bolder td{
  font-weight: bold;
}

tbody tr.bolder td a{
  font-weight: bold;
}

tfoot th {
  padding: 2em;
  border-top: 1px dotted #FFF;
  background: #444;
  text-align: center;
  font-size: .75em;
}

* html tr.hilite td{
  background:#000;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bg/tr_bg.png', sizingMethod='scale');
}

/**************************************************************
   #footer: The page footer - will stick to the bottom if not
            enough content.
 **************************************************************/

#footer {
  float: left;
  width: 100%;
  clear: both;  
  margin-top: -3.8em;
  background: #000 url(../images/bg/footer.jpg) repeat-x top left;
}

/* Sets the width of the footer content */
#footer #width {
	position: relative;
	z-index: 3;
	font-size: 0.85em;
	padding-top: 27px;
	left: 1px;

}

/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 75%;
}

.width70 {
  width: 70%;
}

.width66 {
  width: 65%;
}

.width60 {
  width: 59%;
}

.width50 {
  width: 49%;
}

.width40 {
  width: 39%;
}

.width33 {
  width: 32%;
}

.width30 {
  width: 29.7%;
}

.width25 {
  width: 24.7%;
}

.width20 {
  width: 20%;
}

/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.middlediv {
	align: center;
}

/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}

.hide {
  display: none;
}

.small {
  font-size: 0.8em;
}

.green {
  color: #A1FF45;
}

.white {
  color: #FFFFFF;
}

.red {
  color: #EA1B00;
}

.black {
  color: #000000;
}

.grey {
  color: #666;
}

.grey a {
  color: #999;
}

.grey a:hover {
  color: #EEE;
}

.gradient {
  margin-bottom: 2em;
  background: #555 url(../images/bg/gradient.jpg) repeat-x bottom left; 
}

.darkbg {
  background-color: #444;
}
