/* Modified by Earthling Technology from: 
/**************************************************************
   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%;
  line-height: 150%;
  text-align: left;
}

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

#content[id],
#footer_content[id],
#footer_floater_content[id] {
  width: 94%;
  height: auto;
}

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

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

/* Holds the site title and subtitle */
#header #title {
  position: absolute;
  z-index: 3;
  top: 70px;
  left: 390px;

  padding: 5px;
  text-align: right;
}

#header h2 {

  margin: 0;
  padding: 0;

  font: 700 1em "trebuchet ms", serif;
  letter-spacing: 2px;
  color: #FFF;
}

/* 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;
}

#header img.g_logo {
  position: absolute;
  z-index: 2;

  top: 5px;
  left: 119px;
}

#header img.balloons {
  position: absolute;
  z-index: 2;

  top: 33px;
  right: 275px;
}


/**************************************************************
   #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: 0 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;
  border-bottom: 5px solid #444;
}

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


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

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

/**************************************************************
   #main-content: Holds the main (non-sideMenu) content.
 **************************************************************/
 
#main-content {
   background: #444;
   padding: 10px 10px 10px 20px;
}

/* Dialog Content 
----------------------------------*/
.dialog-content { 
  margin: 10px 20px 10px 20px;
  font-size: 12px;
  line-height: 150%;
}
.footer-dialog-content {
  width: 235px;
  margin: 10px 20px 10px 20px;
  font-size: 12px;
  line-height: 150%;
}

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

#footer {
  float: left;
  width: 100%;
  height: 2px;
  clear: both;
  
  margin-top: -28px;
  background: #000 url(images/footer.jpg) repeat-x top left;
}
#footer #footer_content {
  position: relative;
  width: 100%;
  z-index: 3;
  font-size: 0.85em;
  padding-top: 4px;
  padding-left: 2px;
}
.footerTextAlignCenter {
  padding-top: 3px;
}

#footer_floater {
  float: left;
  width: 100%;
  clear: both;
  
  margin-top: -52px;
}
#footer_floater #footer_floater_content {
  position: relative;
  width: 100%;
  z-index: 3;
  font-size: 0.85em;
  padding-top: 3px;
  padding-left: 2px;
}

/**************************************************************
  Logo padding, width, etc.
 **************************************************************/
.et_logo {
  padding: 10px 0 10px 15px;
}
.dev_mode_panel {
  width: 300px;
}
/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width99 {
  width: 99%;
}

.width90 {
  width: 90%;
}

.width75 {
  width: 70%;
}

.width66 {
  width: 66.7%;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 25.7%;
}
.width20 {
  width: 20%;
}

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

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.alignCenter {
  text-align: center;
}

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

.clear {
  clear: both;
}

.block {
  display: block;
}

.small {
  font-size: 0.8em;
}

.green {
  color: #A1FF45;
}

.red {
  color: #EA1B00;
}

.grey {
  color: #666;
}

.grey a {
  color: #999;
}

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

.lightblue {
  color: #9FF3FF;
}

.bg-darkgrey {
   background: #444;
}

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

.rewardText {
  font: 400 1.5em "trebuchet ms", serif;
  color: #9FF3FF;
}