/* #content */

#content {
	height: 100%;
	min-height: 100%;
	text-align: left;
}
#wrap {
	height: 85%;
	width: 100%;
	background-image: url(../images/squares.png);
	background-repeat: repeat;
	background-position: center top;
}
#wrap2 {
	height: 315px;
	width: 100%;
}

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

#content[id],
#width[id] {
  width: 900px;
  height: auto;
}




/* #header
*/

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

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

  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: 10px;
	right: 5px;
	margin: 0;
	padding: 0;
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	font-weight: 700;
	text-decoration: none;
	float: right;
}


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

#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;
	margin-bottom: 10px;
	margin-top: 35px;
}

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

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

#mainMenu li a {
	float: left;
	text-decoration: none;
	color: #4F9700;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	font-weight: 200;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #4D9603;
	margin-top: 0;
	margin-right: 2px;
	margin-bottom: 0;
	margin-left: 2px;
	padding-top: 0px;
	padding-right: 0.5em;
	padding-bottom: 0px;
	padding-left: 0.5em;
	line-height: 1em;
	height: auto;
}

#mainMenu li a:hover,
#mainMenu li a.here {
  color: #033868;
}

#mainMenu li a.last {
	margin-right: 0;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}


#titleline {
	float: left;
	width: 100%;
	clear: both;
	padding-top: 15px;
	margin-bottom: 5px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	font-weight: 200;
	color: #FFFFFF;
	padding-bottom: 5px;
	margin-top: 12px;
	line-height: 1.25em;
	text-transform: uppercase;
	padding-left: 20px;
}
#titleline2 {
	float: right;
	width: 100%;
	clear: both;
	background-color: #4F9700;
	padding-top: 5px;
	margin-bottom: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
	background-image: url(../images/topbg.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	height: 25px;
}

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

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

.sideMenu li {
	display: inline;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	font-weight: 400;
	text-transform: uppercase;
	margin-top: 40px;
}

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

.sideMenu li a:hover {
	color: #FFFFFF;
	background-color: #509701;
}

/* Active menu item */
.sideMenu li.here {
  display: block;  
  padding: 5px;
  color: #FFFFFF;
}

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

.sideMenu li.here ul li a {
	padding-left: 35px;
	color: #FFF;
	font-family: Arial, Helvetica, sans-serif;
}

.sideMenu li.here ul li a:hover {
	background-color: #509701;
}



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

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




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

#footer {
	float: left;
	width: 100%;
	clear: both;
	margin-top: -3.8em;
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
}

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



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

.width100 {
  width: 100%;
}

.width75 {
	width: 60%;
	background-color: #509701;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 39%;
}



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

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}



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

.gradient {
	margin-bottom: 2em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	line-height: 115%;
	color: #FFFFFF;
	padding: 20px;
}
#header img.left a {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
#titleline2 a {
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	line-height: 100%;
}
#titleline2 h2 {
	position: absolute;
	top: 5px;
	right: 5px;
	margin: 0;
	padding: 0;
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	font-weight: 700;
	text-decoration: none;
	float: right;
}

