/*------------------------------------------------------GENERAL---------------------------------------------------------------------------------*/
body {
	background:url(../images/bg.jpg);
	margin: 0 auto;
}
#container {
	width: 1000px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
}
/*----------------------------------------------------------HEADER-------------------------------------------------------------------------------*/
#header {
	height:54px;
	width:1000px;
	clear:both;
}
#header #carlogo {
	width:58px;
	height:54px;
	float:left;
}
#header #menu {
	width:800px;
	float:left;
	margin:37px 16px 0 16px;
}
#header #logo {
	width:55px;
	float:right;
}
/*----------------------------------------------------------CONTENT-------------------------------------------------------------------------------*/
#mainContent {
	/*padding: 0;  remember that padding is the space inside the div box and margin is the space outside the div box */
	margin-top:5px;
	width:1000px;
	clear:both;
}
#btmContent {
	/*padding: 0;  remember that padding is the space inside the div box and margin is the space outside the div box */
	margin-top:2px;
	width:1000px;
	clear:both;
}
#btm {
	margin:55px 32px 0 32px;
}
/*----------------------------------------------------------INSIDE---------------------------------------------------------------------------*/
#homepage {
	width:1000px;
	height:425px;
	background:url(../images/main_image.jpg) no-repeat;
}

#performance {
	width:1000px;
	height:425px;
	background:url(../images/performance/bg.jpg) no-repeat;
}
#safety {
	width:1000px;
	height:425px;
	background:url(../images/safety/bg.jpg) no-repeat;
}
#imagegal {
	width:1000px;
	height:425px;
}
/*-----------------------------------------------------------GALLERY-----------------------------------------------------------------------------*/
/* begin gallery styling */
#jgal { 
	list-style: none;
	width: 440px;
	margin:0;
	padding:0;
}
#jgal li {
	opacity: .4;
	float: left;
	display: block;
	width: 60px;
	height: 60px;
	background-position: 50% 50%;
	cursor: pointer;
	border: 4px solid #fff;
	margin: 0 19px 16px 0;
	padding:0;
}
#jgal li img {
	display: none;
	border:0;
	margin:0;
	padding:0;
}
#jgal li.active img {
	display: none;
	margin:0;
	padding:0;
}
#jgal li.active, #jgal li:hover {
	outline:none;
	opacity: .99; /* safari bug */
	margin: 0 19px 16px 0;
	padding:0;
}
/* styling without javascript */
#gallery {
	list-style: none;
	display: block;
	margin:0px;
	padding:0px;
}
#gallery li {
	float: left;
	margin: 0 19px 16px 0;
	padding:0;
}
/*----------------------------------------------------------FOOTER-------------------------------------------------------------------------------*/
#footer {
	padding:0;
}
#horiline {
	background:#141f40;
	width:1000px;
	height:1px;
}
#footertext {
	padding:10px;
}