/* ----------------------------------------------

	Theme Name : C-Speed
	Version : 1.0   
	Author : stressdesign
	Author URL : http://www.stressdesign.com/	

 ------------------------------------------------ */

 

/* ----------------------------------------------
   HTML ELEMENTS
------------------------------------------------- */ 

body {
	margin:0;
	padding:0;
	background-color:#fff;
}




/* ------------------------------------------
   LAYOUT
------------------------------------------- */ 

#page {
	background:url(http://cspeed.com/packages/theme_cspeed/themes/cspeed/images/page-bg.png) no-repeat center 78px;
	width: 1000px;
	margin: 0 auto;
}


/* Header */

#header {
	background:url(http://cspeed.com/packages/theme_cspeed/themes/cspeed/images/header-bg.png) no-repeat center top;
	width:950px;
	height: 80px;
	margin:0 auto;
	position: relative;
	*z-index:2;
}
#logo {
	position: absolute;
	top: 40px;
	left: 25px;
}




/*  Main Navigation  */

#nav {
	float: right;
	overflow:hidden;
	margin-top: 44px;
}
#nav ul {	
	margin:0 20px;
	padding:0;
}
#nav ul li {
	margin: 0 8px;
	list-style:none;
	float:left;
	text-transform:uppercase;
	padding:0;
}
#nav ul li a {
	color:#fff;
	display:block;
	padding:5px 10px 6px;
	font-size:1.2em;
	font-weight:bold;
	text-decoration:none;
}

#nav ul li:hover {
	background: url(http://cspeed.com/packages/theme_cspeed/themes/cspeed/images/nav-selected-bg.png) no-repeat right center;
}
#nav ul li a:hover,
#nav ul li a:active,
#nav ul li.nav-selected a {
	background: url(http://cspeed.com/packages/theme_cspeed/themes/cspeed/images/nav-selected-bg.png) no-repeat right center;
}

/* Dropdown Menus */		
#nav li ul {
	background: #fff;
	position: absolute;
	left: -999em;
	height: auto;
	width: 160px;
	margin:0;
	padding:12px 0;
	border: 1px solid #C82027;
    z-index: 999;
    -moz-border-radius:15px;
	-webkit-border-radius:15px;
}

#nav li li {
    line-height: 0.8em;
	float:none;
	margin:0;
	padding:0;
	text-transform:none;
}
#nav li li:hover, #nav ul li.nav-selected li a {
	background: none !important;
}
#nav li li a {
}
#nav li li a, #nav li li a:visited {
	padding: 2px 20px;
	display: block;
	color: #000;
	font-size: 10px;
	font-weight:normal;
	letter-spacing:normal;
}
#nav li li a:hover, #nav li li a:active, #nav li li.nav-selected a {
	background:none;
	color: #C82027;
}	
		
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
}
	


/* Feature */

#feature {
	background: #fff;
	margin: 0 40px 40px 0;
	padding: 3px 3px 3px 0;
	overflow:hidden;
	*position:relative;
}
#feature .left {
	width: 340px;
	overflow: hidden;
}
#feature .right {
	width: 415px;
	margin: 20px;
}
#home #feature {
	background: #999;
	margin:0 20px 20px;
	padding: 3px;
	text-align:center;
}
#home #feature #content {
	margin: 0 40px;
}
#feature img {
	vertical-align:bottom;
}
#feature .slideImgWrap div {
	position:relative;
}



/* Wrapper */

#wrapper-top {
	background: url(http://cspeed.com/packages/theme_cspeed/themes/cspeed/images/wrapper-top-bg.png) no-repeat center top;
	width: 980px;
	height: 30px;
	margin: 0 auto;
}
#home #wrapper-top {
	display: none;
}
#wrapper {
	background: url(http://cspeed.com/packages/theme_cspeed/themes/cspeed/images/wrapper-bg.png) repeat-y center;
	width: 845px;
	margin: 0 auto;
	padding: 25px 0 40px;
	overflow: hidden;
	min-height:570px;
}
#home #wrapper {
	background: url(http://cspeed.com/packages/theme_cspeed/themes/cspeed/images/wrapper-home-bg.png) repeat-x bottom;
	padding-top: 35px;
}
#wrapper-bottom {
	background: url(http://cspeed.com/packages/theme_cspeed/themes/cspeed/images/wrapper-bottom-bg.png) no-repeat center top;
	width: 980px;
	height: 60px;
	margin: 0 auto;
}



/* Content */

#home #content {
	margin: 0 180px;
}
#home #content h1 {
	margin-left: -140px;
}
#home #content img {
	background:#999;
	margin:0 -160px 20px;
	padding:3px;
	vertical-align:bottom;
}
#content {
	margin: 0 25px;
}
#content .left, #content .right {
	width: 380px;
}



/* Sub Navigation */
#sub-nav {
	width: 840px;
	margin: 0 auto;
	padding: 10px 0;
}
#sub-nav ul {
	margin:0;
	padding: 0;
	list-style: none;
	font-size: 10px;
}
#sub-nav ul li {
	margin: 0;
	padding: 0;
	line-height: 1.3em;
}
#sub-nav ul li a {
	color: #000;
	text-decoration:none;
}
#sub-nav ul li.nav-selected a, #sub-nav ul li a:hover {
	color: #C82027;
}
#sub-nav h3 {
	text-transform: uppercase;
	font-size: 14px;
	margin: 0;
}




/* Footer */

#footer {
	clear:both;
	width:740px;
	margin:0 auto;
	padding: 10px 15px 50px;
	overflow: hidden;
	font-size: 10px;
}
#footer a {
	color: #000;
	font-size: 10px;
}
#footer a:hover {
	color:#C82027;
}
#footer #site-tools {
	margin-top:5px;
	width:445px;
}
#footer #site-tools ul {
	margin: 0;
	padding: 0;
	list-style: none;
	float:left;
}
#footer #site-tools ul li {
	margin: 0 40px 0 0;
	padding: 0;
	float: left;
}
#search {
	background: url(http://cspeed.com/packages/theme_cspeed/themes/cspeed/images/search-box-bg.gif) no-repeat right top;
}
#search #tb {
	border: 0;
	background: none;
	width: 120px;
	margin: 4px 8px 4px 9px;
}
#search #sb {
	display: none;
}
#search h3 {
	float:left;
	text-transform:uppercase;
	margin:6px 5px 0 0;
}


/* Form */

form {
	margin-bottom: 1.5em;
}
form table {
	margin-bottom: 0;
}
form table td {
	border: 0;
}
form input.formBlockSubmitButton { 
	height: 30px;
	font-weight: bold;
	margin: 0;
	padding: 2px 3px; 
	color: #FFF;
	background:#3887A6;
	border-width: 1px;
  	border-style: solid;
  	border-color: #409abd #015B7E #015B7E #409abd;
}


/* alignment classes & additional classes*/

.left  { float: left; }

.right { float: right; }



/* Clearing */

.clearboth { clear: both; }

.clear { display:inline-block; }

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