/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.2.2
*/




/* for all templates and grids */
body{text-align:center;}
#ft{clear:both;}
#backgroundpic{width:100%;height:100%; background-color:#FFFFFF;}
/**/
/* 750 centered, and backward compatibility */
#doc,#doc2,#doc3,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7 {
	margin:auto;text-align:left;
	width:750px; min-width:750px;
	background:#ffffff;}
/* 950 centered */ 
#doc2 {
	width:950px;min-width:950px;}
/* 100% with 10px viewport side matting */ 
#doc3 {
	margin:auto 10px; /* not for structure, but so content doesn't bleed to edge */
	width:auto;}
	
/* below required for all fluid grids; adjust widths and margins above accordingly */

	/* to preserve source-order independence for Gecko */
	.yui-b{position:relative;}
	.yui-b{_position:static;} /* for IE < 7 */
	#yui-main .yui-b{position:static;} 


#yui-main {width:100%;}
.yui-t1 #yui-main,
.yui-t2 #yui-main,
.yui-t3 #yui-main{float:right;margin-left:-25em;/* IE: preserve layout at narrow widths */}

.yui-t4 #yui-main,
.yui-t5 #yui-main,
.yui-t6 #yui-main{float:left;margin-right:-25em;/* IE: preserve layout at narrow widths */}

.yui-t1 .yui-b {
	float:left;
    width:12.3207em;*width:12.0106em;}
.yui-t1 #yui-main .yui-b{
    margin-left:13.3207em;*margin-left:13.0106em;
}

.yui-t2 .yui-b {
	float:left;
    width:13.8456em;*width:13.512em;}
.yui-t2 #yui-main .yui-b {
    margin-left:14.8456em;*margin-left:14.512em;
}

.yui-t3 .yui-b {
	float:left;
    width:23.0759em;*width:22.52em;}
.yui-t3 #yui-main .yui-b {
    margin-left:24.0759em;*margin-left:23.52em;
}

.yui-t4 .yui-b {
	float:right;
    width:13.8456em;*width:13.512em;}
.yui-t4 #yui-main .yui-b {
    margin-right:14.8456em;*margin-right:14.512em;
}

.yui-t5 .yui-b {
	float:right;
    width:18.4608em;*width:18.016em;}
.yui-t5 #yui-main .yui-b {
    margin-right:19.4608em;*margin-right:19.016em;
}

.yui-t6 .yui-b {
	float:right;
    width:950px;*width:950px;}
.yui-t6 .yui-2 {
	float:left;
    width:191px;*width:191px;}	
.yui-t6 .yui-3 {
	float:left;
    width:191px;*width:191px;}	
.yui-t6 #yui-main .yui-b {
    margin-right:24.0759em;*margin-right:23.52em;
}

.yui-t7 #yui-main .yui-b {
	display:block;margin:0 0 1em 0;
}
#yui-main .yui-b {float:none;width:auto;}
/* GRIDS (not TEMPLATES) */
.yui-g .yui-u{float:left;display:inline;}
.yui-g div.first{float:left;}
.yui-g .yui-u {width:250px; font:Arial, Helvetica, sans-serif; font-size:10px; color:#000000; margin-left:15px; margin-top:10px;}
.yui-g .yui-v {width:100px; font:Arial, Helvetica, sans-serif; font-size:10px; color:#000000; margin-left:200px; margin-top:10px;}

#bd:after,
.yui-g:after{content:".";display:block;height:0;clear:both;visibility:hidden;}

#bd,
.yui-g, 
.yui-gb, 
.yui-gc, 
.yui-gd, 
.yui-ge, 
.yui-gf{zoom:1;}

html>body #bd{margin-top:25px;}

#masthead{height:66px;*height:90px; background-color:#FFFFFF; margin:0px; padding:0px;}

#titletext{font-size:18px; font:Arial, Helvetica, sans-serif;}

#secondary2{height:41px; background-color:#FFFFFF; background: url(rclubtop.jpg) no-repeat top center;margin:0px; padding:0px;}
#text1{margin-left:20px; margin-top:10px; width:500px;}
#text2{margin-top:55px; width:300px; float:left;}
#text3{margin-left:187px; margin-top:10px; width:125px; float:left;}
#text4{margin-top:10px; width:150px; float:left; display:inline;}

#secondary3{height:203px; background-color:#FFFFFF; background: url(rclubmid.jpg) no-repeat top center;margin-top:50px; padding:0px;}
#secondary4{height:433px; background-color:#FFFFFF; background: url(rclubbottom.jpg) no-repeat top center;margin:0px; padding:0px;}

#footer{height:75px; background: url(footer.jpg) no-repeat top center; margin-top:0px; padding:0px;}


.yui-b{padding-top:25px;*padding-top:0px;}



/*Everything below is related to menu*/
#menu{height:66px; margin-top:0px;}

#container {
	position: relative;
	margin:auto;
	width: 950px;
	height: 50px;
	padding: 0;
	margin-top:0px;*margin-top: 0px;
	background: #FFFFFF;	
	}
html>body #container {
	position: relative;
	margin:auto;
	width: 950px;
	height: 50px;
	padding: 0;
	margin-top:0px;
	background: #FFFFFF;	
	}
#nav {
	position: absolute;
	left:17px;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 50px;
	display: inline;
	overflow: hidden;
	width: 916px;
	}
	
#nav li {
	margin: 0; 
	padding: 0;
	display: inline;
	list-style-type: none;
	}

#nav a {
	float: left;
	padding: 46px 0 0 0;
	overflow: hidden;
	height: 0px !important; 
	height /**/:50px; /* for IE5/Win */
	}
	
#nav a:hover {
	background-position: 0 -50px;
	}

#nav a:active, #nav a.selected {
	background-position: 0 -100px;
	}
	
#news a  {
	width: 81px;
	background: url(1.gif) top left no-repeat;
	}

#team a  {
	width: 99px;
	background: url(2.gif) top left no-repeat;
	}

#season a  {
	width: 118px;
	background: url(3.gif) top left no-repeat;
	}

#sponsers a  {
	width: 139px;
	background: url(4.gif) top left no-repeat;
	}
	
#partners a  {
	width: 164px;
	background: url(6.gif) top left no-repeat;
	}
	
#gallery a {
	width:92px;
	background: url(8.gif) top left no-repeat;
	}

#contact a {
	width:112px;
	background: url(5.gif) top left no-repeat;
	}

#racingclub a {
	width:111px;
	background: url(7.gif) top left no-repeat;
	}

