/* ================================================================ **
** style.css
** ---------------------------------------------------------------- **
** Created: 05-05-08 (dd-mm-yy)
** Author: onedollartemplates.com
** Template: Granite Glass
** ================================================================ */


/* ---------------------------------------------------------------- **
** Generic
** ---------------------------------------------------------------- */
html { font-size: 76%; }
body {
	margin: 0px;
	background-color: #999999;
	font-family: "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	line-height: 1.5em;
	color: #333;
	text-align: center;
	margin: 0;
	padding: 0;
	}



/* links */
a { text-decoration: underline; color: #FDD017; outline: none; }
a:hover { text-decoration: none; }


/* classes */
.left { float: left; }
.right {float: right; }
.hide { display: none; }


/*------------------------------------------------------------*
**  Container
**------------------------------------------------------------*/
#container {
	margin: 0 auto;
	width: 850px;
	}

/*------------------------------------------------------------*
**  Header
**------------------------------------------------------------*/
#header { 
	padding: 0 20px; 
	background-color: #222; 
	height: 1%; 
	font-size: 0.9em;
	color: #ccc;
	margin-top: 20px;
	}

#header:after {
	content: ".";
	clear: both;
	visibility: hidden;
	display: block;
	height: 0;
	}

/*------------------------------------------------------------*
**  Body
**------------------------------------------------------------*/	
#body { padding: 20px; background: #222 url(../img/body_.png) repeat-x; }

/*------------------------------------------------------------*
**  Navigation
**------------------------------------------------------------*/
ul#nav {
	margin: 0 0 20px;
	padding: 0;
	list-style-type: none;
	border-top: 1px solid #535457;
	border-bottom: 1px solid #050A10;
	height: 1%;
	}
ul#nav:after {	
	content: ".";
	clear: both;
	display: block;
	visibility: hidden;
	height: 0;
	}
ul#nav li {
	/* this width needs changing 
	depending on the amount of links. 
	Divide 100% by the amount of links 
	and set the value here. 
	e.g. 5 links: 100/5 = 20% */ 	
	width: 20%;
	float: left; 
	margin: 0; 
	font-size: 1.1em;
	background: #3C3C3C url(../img/nav_over_.png) no-repeat 50% 100%;
	}	
ul#nav li a {
	display: block; 
	background: #3C3C3C url(../img/nav_.png) repeat-x 50% 100%;
	padding: 11px 0 14px;
	color: #fff;
	text-decoration: none;
	border-right: 1px solid #535457;
	border-left: 1px solid #050A10;
	position: relative;	
	} 	
ul#nav li.first a {	border-left-color: #535457; }
ul#nav li a:hover { background-color: transparent; background-image: none; }
ul#nav li.on a,
ul#nav li.on a:hover { background-image: url(../img/nav_on_.png); }



/*------------------------------------------------------------*
**  Footer
**------------------------------------------------------------*/
#footer { 
	padding: 0 20px; 
	background-color: #222; 
	height: 1%; 
	font-size: 0.9em;
	color: #ccc;
	margin-top: 20px;
	}	
#footer:after {
	content: ".";
	clear: both;
	visibility: hidden;
	display: block;
	height: 0;
	}
