/*img, div { behavior: url(iepngfix.htc) }*/

.pngfix {
behavior: url(css/iepngfix.htc);
}

body {
	margin: 0px;
	background-color: #2F3E51;
	padding: 0px;
}

#wrapper {
	width: 100%;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	background-image: url(../images/home/home_repeat.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	background-color: #FFFFFF;
}

#wrapper_home {
	width: 100%;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	background-image: url(../images/home/home_repeat.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	background-color: #FFFFFF;
}

.main {
	width: 774px;
	height:auto;
	margin-right: auto;
	margin-left: auto;
}

#header {
	float: left;
	height: 127px;
	width: 774px;
}

#logo {
	float: left;
	height: auto;
	width: 205px;
}

#menu_section {
	float: right;
	height: auto;
	width: 569px;
	padding-top: 75px;
}

#ms_bloc1 {
	float: left;
	height: auto;
	width: auto;
	padding-right: 20px;
}

#home_content {
	float: left;
	min-height:285px;
	height:auto!important;
	height: 285px;
	width: 671px;
	padding-left: 103px;
/*	padding-top: 20px;
	padding-left: 84px;*/
}

#gallery_content {
	float: left;
	min-height:430px;
	height:auto!important;
	height: 430px;
	width: 774px;
	padding-top: 10px;
	position: relative;
}

#contact_content {
	float: left;
	min-height:390px;
	height:auto!important;
	height: 390px;
	width: 774px;
	padding-top: 10px;
	position: relative;
}

/*#about_placement {
	float: left;
	height: 10px;
	width: 848px;
}

.about_cover
{
	position:absolute;
	z-index:1;
	margin-top: 237px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 7px;
	width:836px;
	height:128px;
	background-image: url(../images/home/about_cover.png);
	background-repeat: no-repeat;
	background-position: left bottom;
}*/


#footer {
	width: 100%;
	height:auto;
	background-image: url(../images/home/foot_repeat.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 12px;
	line-height: 24px;
	font-weight: normal;
	color: #FFFFFF;
	text-decoration: none;
	padding-top: 25px;
	text-align: center;
	background-color: #2f3e51;
}

.centered_content {
	margin-right: auto;
	margin-left: auto;
}
.clear {
	clear: both;
}

.width {
	width: 774px;
}

a.menu_link:link, a.menu_link:visited, a.menu_link:active {
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 14px;
	line-height: normal;
	font-weight: normal;
	text-decoration: none;
	color: #606472;
}

a.menu_link:hover {
	color: #22273C;
	text-decoration: underline;
}

a.menu_link_on:link, a.menu_link_on:visited, a.menu_link_on:active {
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 14px;
	line-height: normal;
	font-weight: bold;
	text-decoration: none;
	color: #434e77;
}

a.menu_link_on:hover {
	color: #434e77;
	text-decoration: underline;
}

a.foot_link:link, a.foot_link:visited, a.foot_link:active {
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 12px;
	line-height: 24px;
	font-weight: normal;
	color: #FFFFFF;
	text-decoration: underline;
}

a.foot_link:hover {
	color: #87a9d1;
	text-decoration: underline;
}

a.dudley_link:link, a.dudley_link:visited, a.dudley_link:active {
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 10px;
	line-height: 24px;
	font-weight: normal;
	color: #000000;
	text-decoration: underline;
}

a.dudley_link:hover {
	color: #87a9d1;
	text-decoration: underline;
}

.gallery_bloc a:link, .gallery_bloc a:visited, .gallery_bloc a:active {
	display:block;
	height: auto;
	background:#FFFFFF;
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 11px;
	line-height: normal;
	font-weight: normal;
	text-decoration: none;
	color: #335178;
	text-align: center;
	width: auto;
	border: 1px solid #CCCCCC;
	float: left;
	padding-top: 5px;
	padding-right: 18px;
	padding-bottom: 5px;
	padding-left: 18px;
	margin-right: 4px;
}

.gallery_bloc a:hover {
	text-decoration: none;
	color:#003366;
	background-color: #FFFFFF;
	border: 1px solid #A8A8A8;
}

.gallery_bloc_on a:link, .gallery_bloc_on a:visited, .gallery_bloc_on a:active {
	display:block;
	height: auto;
	background:#FFFFFF;
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 11px;
	line-height: normal;
	font-weight: normal;
	text-decoration: none;
	color: #335178;
	text-align: center;
	width: auto;
	border: 1px solid #A8A8A8;
	float: left;
	padding-top: 5px;
	padding-right: 18px;
	padding-bottom: 5px;
	padding-left: 18px;
	margin-right: 4px;
}

.gallery_bloc5 a:link, .gallery_bloc5 a:visited, .gallery_bloc5 a:active {
	display:block;
	height: auto;
	background:#FFFFFF;
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 11px;
	line-height: normal;
	font-weight: normal;
	text-decoration: none;
	color: #335178;
	text-align: center;
	width: auto;
	border: 1px solid #CCCCCC;
	float: left;
	padding: 5px 13px;
	margin-right: 4px;
}

.gallery_bloc_on5 a:link, .gallery_bloc_on5 a:visited, .gallery_bloc_on5 a:active {
	display:block;
	height: auto;
	background:#FFFFFF;
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 11px;
	line-height: normal;
	font-weight: normal;
	text-decoration: none;
	color: #335178;
	text-align: center;
	width: auto;
	border: 1px solid #A8A8A8;
	float: left;
	padding: 5px 13px;
	margin-right: 4px;
}

#foot_text {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	line-height: normal;
	font-weight: normal;
	color: #FFFFFF;
	text-decoration: none;
}

h1 {
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 18px;
	line-height: normal;
	font-weight: bold;
	text-decoration: none;
	color: #FFFFFF;
	margin: 0px;
}

h2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: normal;
	font-weight: normal;
	text-decoration: none;
	color: #FFFFFF;
	margin: 0px;
}

a:link, a:visited, a:active {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: normal;
	font-weight: bold;
	text-decoration: none;
	color: #FFFFFF;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}
#controls_holder {
	float: left;
	height: auto;
	width: 480px;
	padding-right: 40px;
	padding-left: 40px;
	behavior: url(css/iepngfix.htc);
}

#ch_left {
	float: left;
	height: 49px;
	width: 37px;
	behavior: url(css/iepngfix.htc);
}

#ch_right {
	float: right;
	height: 49px;
	width: 37px;
	behavior: url(css/iepngfix.htc);
}
   
#section_links {
	float: left;
	height: auto;
	width: 199px;
	text-align: center;
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 24px;
	line-height: normal;
	font-weight: normal;
	text-decoration: none;
	color: #192636;
	padding-top: 3px;
	padding-left: 1px;
}

#thumbnails_holder {
	float: left;
	height: auto;
	width: 200px;
}

#galleryMainImage{
	height:auto;
	width:560px;
	float: left;
	text-align: center;
	height:370px;
}

#galleryMainImage img{
	background-color: #FFFFFF;
	/*margin-bottom:30px;*/
	height: auto;
	width: auto;
	padding: 4px;
	border: 1px solid #c4c4c4;
}

.gallery_demo li:a{
	border: 1px solid #c4c4c4;
}

.gallery_demo li:hover{
	border: 1px solid #677889;
}

.gallery_demo li{
	width:81px;
	height:auto;
	margin-top: 0;
	margin-bottom: 8px;
	padding: 4px;
	border: 1px solid #c4c4c4;
	background-color: #FFFFFF;
	margin-right: 8px;
	text-align: center;
}

/*.caption{
	color:#3e4e62;
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 12px;
	width: 580px;
	height:auto;

}*/

.caption{
	color:#3e4e62;
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 12px;
	width: 430px;
	height:auto;
	position: absolute;
	top: 389px;
	left: 65px;
	text-align: center;
}

/* menu styling 
* { padding: 0em; margin: 0em; }*/

/* -------------------- start #nav -------------------- 
#nav img { border: none; }
#nav li { display: inline; list-style:none; }
#nav li a { float: right; display:block; width: auto; height: auto; }
#nav li a img {  border:none; vertical-align:bottom;}
#nav li a:hover { visibility:visible; }
#nav li a:hover img { visibility:visible; }
#nav li a:hover img { visibility:hidden;}*/


/* -------------------- start #nav ids -------------------- 
#one { background:url(../images/menu/home_on.jpg) no-repeat left bottom; }
#two { background:url(../images/menu/british_on.jpg) no-repeat left bottom; }
#three { background:url(../images/menu/motor_on.jpg) no-repeat left bottom; }
#four { background:url(../images/menu/contact_on.jpg) no-repeat left bottom; }*/


#nav {padding:0; margin:0; list-style:none; height:25px; position:relative; z-index:200; float:right; xwidth:608px;}
#nav li.top {display:block; float:left;}
#nav li a {display:block; float:left; height:25px; width:150px; text-indent:-99999px; text-decoration:none; padding:0; cursor:pointer;}
#nav li a b {margin-left:-999px;}

#nav li a.home {background:url(../images/menu/home2.jpg) 0 0 no-repeat; width:61px;}
#nav li a.onine {background:url(../images/menu/motor9.jpg) 0 0 no-repeat; width:146px;}
#nav li a.motor {background:url(../images/menu/motor2.jpg) 0 0 no-repeat; width:110px;}
#nav li a.features {background:url(../images/menu/features.jpg) 0 0 no-repeat; width:90px;}
#nav li a.contact {background:url(../images/menu/contact2.jpg) 0 0 no-repeat; width:90px;}
#nav li a.lemans {background:url(../images/menu/lemans2.jpg) 50% 0 no-repeat; width:102px;}
#nav li a.macau {background:url(../images/menu/macau.jpg) 50% 0 no-repeat; width:102px;}

#nav li a.home:hover {background-position: -61px;}
#nav li a.onine:hover {background-position: -145px;}
#nav li a.motor:hover {background-position: -110px;}
#nav li a.features:hover {background-position: -90px;}
#nav li a.contact:hover {background-position: -90px;}
#nav li a.lemans:hover {background-position: 50% -62px;}
#nav li a.macau:hover {background-position: 50% -62px;}

#nav li #home-active {background-position: -61px;}
#nav li #onine-active {background-position: -145px;}
#nav li #motor-active {background-position: -110px;}
#nav li #features-active {background-position: -90px;}
#nav li #contact-active {background-position: -90px;}
#nav li #lemans-active {background-position: -90px;}
#nav li #macau-active {background-position: -90px;}

#nav table {position:absolute; top:0; left:0; border-collapse:collapse; padding:0; width:0; height:0; margin:-1px;}

#nav .sub {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none; border:1px solid #ccc; border-bottom:none;}

#nav li:hover {position:relative; z-index:200;}
#nav a:hover {position:relative; white-space:normal; z-index:200;}

#nav :hover ul.sub {left:-5px; top:25px; width:102px; height:auto; z-index:300; background:#fff;}
#nav :hover ul.sub li {display:block; height:auto; position:relative; float:left; width:102px; font-weight:normal; border-bottom:1px solid #ccc;}
#nav :hover ul.sub li a {display:block; height:25px; width:102px; text-decoration:none; padding:0; cursor:pointer;}

#nav :hover ul.sub li a.macau {display:block; height:41px; position:relative; float:left; width:102px; font-weight:normal;}

#nav :hover ul.sub li a:hover  {position:relative;}


#about_placement {
	float: left;
	height: 10px;
	width: 632px;
}

/*.about_cover
{
	position:absolute;
	z-index:1;
	margin-top: 105px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 7px;
	width:595px;
	height:145px;
	background-image: url(../images/home/about_cover.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	behavior: url(css/iepngfix.htc);
}*/
.about_cover
{
	position:absolute;
	z-index:1;
	margin-top: 165px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 7px;
	width:595px;
	height:85px;
	background-image: url(../images/home/about_cover.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	behavior: url(css/iepngfix.htc);
}


#about_bloc {
	float: left;
	height: auto;
	width: 560px; padding: 15px 20px 15px 20px;
}

#flash_content {
	height: auto;
	width: 608px;
	float: left;
	border: 1px solid #b9b9b9;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: #FFFFFF;
}

#flash_gradient {
	background-image: url(../images/home/flash_gradient.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	float: left;
	height: 31px;
	width: 610px;
	margin-top: 1px;
}

#contact_gradient {
	background-image: url(../images/home/flash_gradient.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	float: left;
	height: 51px;
	width: 522px;
	margin-top: 1px;
}

#base_section {
	width: 100%;
	min-height:112px;
	height:auto!important;
	height: 112px;
/*	background-image: url(../images/home/base_repeat.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	padding-top: 35px;*/
	padding-bottom: 0px;
	/*padding-left: 94px;*/
}

.basewidth {
	width: 670px;
	padding-left: 104px;
}
#thumb_hold1 {
	background-image: url(../images/home/t1g.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 105px;
	width: 210px;
	float: left;
}

#thumb_hold2 {
	background-image: url(../images/home/t2g.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 105px;
	width: 210px;
	float: left;
}

#thumb_hold3 {
	background-image: url(../images/home/t3g.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 105px;
	width: 210px;
	float: left;
}

.borderit img{
	border: 1px solid #b6c1dc;
}

.borderit:hover img{
	border: 1px solid #677889;
}

.borderit:hover{
color: red; /* irrelevant definition to overcome IE bug */
}

#ci_holder {
	float: left;
	height: auto;
	width: 520px;
	padding-left: 30px;
}

#contact_image {
	width: 520px;
	height:auto;
	float: left;
	border: 1px solid #b9b9b9;
	text-align: center;
	padding-top: 5px;
	background-color: #FFFFFF;
	font-size: 1px;
	line-height: 1px;
	padding-bottom: 5px;
}

#ci_content {
	float: left;
	height: auto;
	width: 198px;
	padding-top: 10px;
	padding-left: 20px;
}

a.mail_link:link, a.mail_link:visited, a.mail_link:active {
	font-family: "Century Gothic", Verdana, Arial, Helvetica-Normal, sans-serif;
	font-size: 12px;
	line-height: normal;
	font-weight: normal;
	color: #3C4468;
	text-decoration: none;
}

a.mail_link:hover {
	color: #001122;
	text-decoration: none;
}

#contact_text {
	font-family: "Century Gothic", Verdana, Arial;
	font-size: 12px;
	line-height: normal;
	font-weight: normal;
	color: #434F77;
	text-decoration: none;
}

#holding_text {
	font-family: "Century Gothic", Verdana, Arial;
	font-size: 18px;
	line-height: normal;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
}

#white_text {
	font-family: "Century Gothic", Verdana, Arial;
	font-size: 11px;
	line-height: normal;
	font-weight: normal;
	color: #FFFFFF;
	text-decoration: none;
}

#slideshow { position:relative;}
#next img, #prev img { border:none; position:absolute; right:-3px; bottom:-10px; }