/* @override http://www.integratedbodywork.net.au/layout.css */

#content {  
  height: 100%;
  min-height: 100%;

  text-align: left;
}

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

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

/*
   #header -  holds the site title and header images
 */

#header {
	position: relative;
	height: 115px;
	background-image: url(images/header.jpg);
	float: left;
	right: 20px;
}

/* 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 "helvetica", serif;
  letter-spacing: -3px;
  text-transform: lowercase;
  color: #FFF;
}

#header h2 {
  position: absolute;
  top: 0px;
  right: 5px;

  margin: 0;
  padding: 0;

  font: 700 1em "helvetica", 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;
}

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

  top: 70px;
  right: 400px;
}
/*
   #mainMenu: The top level site menu
*/

#mainMenu { 

  width: 100%;
  clear: both;
	margin-right: 0;
}

#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: 12px 1em 12px 0;
	text-decoration: none;
	text-transform: lowercase;
	color: #CCCCCC;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	font-style: normal;
	font-weight: bold;
	line-height: 12px;
}

#mainMenu li a:hover,
#mainMenu li a.here {
  color: #FFFFFF;
 }
 
#mainMenu li.menunow a:hover,
#mainMenu li.menunow a {
  color: #ffffff;
 }
 
#mainMenu li a.last {
  margin-right: 0;
}



/*  side bar menu  */

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

.sideMenu li {
  display: inline;
  
  /* Needed since IE fails when you give it list-style: none; */  
 
  font: 400 1.3em "helvetica", serif;
}

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

.sideMenu li a:hover {
  color: #60c100;
  background: #5F5F5F;
}

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

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

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

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

/* Added for the side menu so when selected the NOW class cuts in */

.sideMenu li.here ul li.now {
  margin: 0;
}

.sideMenu li.here ul li.now a {
  padding-left: 35px;
  color:#FF9900;
  background-color: #666666;
}

.sideMenu li.here ul li.now a:hover {
}



/*   #page: Holds the main page and body stuff */


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




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

#footer {
	float: left;
	width: 100%;
	clear: both;
	background: #6666;
	background-image: url(images/footer.jpg);
	background-repeat: repeat-x;
	height: 30px;
	margin-top: -4.5em;
}

#footer a {
	text-decoration:none;
}

#footer a:hover {
	text-decoration:none;
}

/* Sets the width of the footer content */
#footer #width {
	position:  relative;
	z-index: 6;
	font-size: 0.85em;
	padding-top: 5px;
	text-align: center;
	background-image: url(images/footer.jpg);
	background-repeat: repeat-x;
}



/*
   Width classes used by the site columns
 */

.width100 {
  width: 100%;
}

.width85 {
  width: 80%;
}
.width75 {
  width: 72%;
  height:615px;
}

.width65 {
  width: 64.8%;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 26%;
}
.width15 {
  width: 20%;
  vertical-align:top;
}



/*
   Alignment classes
*/

.floatLeft {
  float: left;
}

.floatRight {
	float: left;
	margin-top: 15px;
	height: 100%;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.alignCentre {
  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: #FFFFFF;
}

.grey a {
  color: #666666;
}

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

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