body {
	background-color: #FFF;
	background-image: url(images/template_back.jpg);
	background-repeat: repeat-x;
	margin: 0px;
	padding: 0px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #444;
	text-align: center;
	/*line-height: 18px;*/
}
a {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #0088af;
	text-decoration: underline;
}
#wrapper {
	text-align: left;
	margin: 0 auto;
	padding: 0px;
	width: 990px;
}


/* === HEADER === */

#header {
	margin: 0px;
	padding: 0px;
	height: 225px;
}
#countdown {
	margin: 0px;
	padding: 0px;
	height: 24px;
}
#logo {
	background-image: url(images/glr_logo.jpg);
	background-repeat: no-repeat;
	margin: 0px;
	padding: 0px;
	height: 151px;
	position: relative;
}
#homeBut {
	height: 126px;
	width: 241px;
	margin-top: 0px;
	padding-top: 0px;
	position: absolute;
	left: 45px;
	top: 16px;
}
#homeBut a {
	text-indent: 241px;
	display: block;
	background-image: url(images/logo_button.jpg);
	background-repeat: no-repeat;
	height: 126px;
}
#signupButton  {
	position: absolute;
	left: 775px;
	right: 41px;
	top: 76px;
	bottom: 5px;
	width: 174px;
	height: 50px;
	margin-top: 0px;
	padding-top: 0px;
}
#signupButton a:link, #signupButton a:visited {
	text-indent: 174px;
	display: block;
	background-image: url(images/sign_up.png);
	background-repeat: no-repeat;
	background-position: left top;
	height: 50px;
}
#signupButton a:hover, #signupButton a:active {
	background-position: right top;
	border: none;
}
#forumButton  {
	position: relative;
	left: 535px;
	right: 41px;
	top: 76px;
	bottom: 25px;
	width: 174px;
        border: none;
}
#menuBar {
	margin: 0px;
	padding: 0px;
	position: relative;
	height: 50px;
}


#home {
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 495px;
	width: 75px;
}
#home a:link, #home a:visited {
	text-indent: 75px;
	display: block;
	background-image:url(images/menubut_home.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 50px;
}
#home a:hover, #home a:active {
	background-position: left top;
        height: 46px;
	border: none;
}
#about {
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 570px;
	width: 74px;
}
#about a:link, #about a:visited {
	text-indent: 74px;
	display: block;
	background-image:url(images/menbut_about.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 50px;
}
#about a:hover, #about a:active {
	background-position: left top;
	border: none;
}
#races {
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 644px;
	width: 76px;
}
#races a:link, #races a:visited {
	text-indent: 74px;
	display: block;
	background-image:url(images/menbut_races.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 50px;
}
#races a:hover, #races a:active {
	background-position: left top;
	border: none;
}
#registration {
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 718px;
	width: 125px;
}
#registration a:link, #registration a:visited {
	text-indent: 125px;
	display: block;
	background-image:url(images/menbut_registration.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 50px;
}
#registration a:hover, #registration a:active {
	background-position: left top;
	border: none;
}
#training {
	margin: 0px;
	padding: 0px;
	position:absolute;
	left: 840px;
	width: 85px;
}
#training a:link, #training a:visited {
	text-indent: 89px;
	display: block;
	background-image:url(images/menbut_training.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 50px;
}
#training a:hover, #training a:active {
	background-position: left top;
	border: none;
}
#contact {
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 925px;
	width: 92px;
}
#contact a:link, #contact a:visited {
	text-indent: 92px;
	display: block;
	background-image:url(images/menbut_contact.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 50px;
}
#contact a:hover, #contact a:active {
	background-position: left top;
	border: none;
}

/***
#about {
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 495px;
	width: 75px;
}
#about a:link, #about a:visited {
	text-indent: 75px;
	display: block;
	background-image:url(images/menubut_home.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 50px;
}
#about a:hover, #about a:active {
	background-position: left top;
	border: none;
}
#races {
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 570px;
	width: 74px;
}
#races a:link, #races a:visited {
	text-indent: 74px;
	display: block;
	background-image:url(images/menbut_races.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 50px;
}
#races a:hover, #races a:active {
	background-position: left top;
	border: none;
}
#registration {
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 644px;
	width: 125px;
}
#registration a:link, #registration a:visited {
	text-indent: 125px;
	display: block;
	background-image:url(images/menbut_registration.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 50px;
}
#registration a:hover, #registration a:active {
	background-position: left top;
	border: none;
}
#training {
	margin: 0px;
	padding: 0px;
	position:absolute;
	left: 769px;
	width: 89px;
}
#training a:link, #training a:visited {
	text-indent: 89px;
	display: block;
	background-image:url(images/menbut_training.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 50px;
}
#training a:hover, #training a:active {
	background-position: left top;
	border: none;
}
#contact {
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 858px;
	width: 92px;
}
#contact a:link, #contact a:visited {
	text-indent: 92px;
	display: block;
	background-image:url(images/menbut_contact.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 50px;
}
#contact a:hover, #contact a:active {
	background-position: left top;
	border: none;
}

**/

/* === MAIN CONTENT === */

#mainContent {
	width: 450px;
	margin-top: 40px;
        float: left;
	/*padding-right: 395px; */
	padding-left: 45px;
	padding-bottom: 50px;
}

#forumContent {
	width: 1050px;
	margin-top: 40px;
        float: left;
	/*padding-right: 395px; */
	padding-left: 5px;
	padding-bottom: 50px;
}

#mainContent h1 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: bold;
	color: #f7941d;
}
#mainContent h2 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: oblique;
	font-weight: bold;
	color: #0088af;
}
#mainContent h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #444;
}

#sideContent {
	width: 400px;
	margin-top: 40px;
        float: left;
	/*padding-right: 395px; */
	padding-left: 45px;
	padding-bottom: 50px;
}
#sideContent h1 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: bold;
	color: #f7941d;
}
#sideContent h2 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: oblique;
	font-weight: bold;
	color: #0088af;
}
#sideContent h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #444;
}


/* === SIDE BAR ===
The styles of the boxes and buttons are embebed in each document as they are different per each one of them.  */

#sideBar {
	width: 290px;
	margin-top: 30px;
	margin-right: 45px;
	padding-left: 12px;
	float: right;
	padding-bottom: 50px;
}


/* === FOOTER === */

#footer {
	width: 990px;
	border-top-width: 1px;
	border-top-color: #0088AF;
	clear: both;
	font-size: x-small;
	color: #0088af;
	text-align: center;
	border-top-style: dotted;
}


/* === LIGHTBOX === */

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Arial, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{
	padding:0 17px;
	color: #666;
}
#imageData #imageDetails{ width: 100%; float: left; text-align: left; }	
#imageData #caption{
	font-weight: normal;
	font-style: normal;
}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }

#flashcontent {
		/*border: solid 1px #000;*/
		width: 250px;
		height: 70px;
		/*float: left;
		margin: 15px 20px;*/
}