/* CSS Document */

body {
	background-color: #227BD3;
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
	font-size: 14px;
	margin: 0px;
	padding: 0px;
	background-image: url(/img/background_body.jpg);
	background-repeat: repeat;
}

a, a:visited {
	color: #900;
	text-decoration: none;
}

a:hover, a.active {
	color: black;
}

a img {
	border: 0px;
}

form, fieldset {
	border: 0px;
	margin: 0px;
	padding: 0px;
}

#wrapper {
	background-image: url(/img/background_wrapper.jpg);
	background-repeat: repeat-y;
	background-position: center;
}

#main {
	width: 950px;
	margin: 0 auto;
	clear: both;
	padding: 10px 0px;
}

#header {
	margin: 0px 0px 10px 0px;
}

.nav {
	font-size: 13px;
	margin-left: 15px;
	height: 25px;
}

.nav a {
	float: left;
	display: block;
	width: 110px;
	height: 20px;
	border-bottom: 1px solid white;
	background-color: #227BD3;
	color: white;
	text-align: center;
	font-style: italic;
}

.nav a:hover, .nav a.active {
	background-color: #F5EA73;
	color: black;
	border-bottom: 1px solid black;
}

.nav .marginleft6 {
	margin-left: 6px;
}


/***** NEW CAR ROTATOR *****/

#new_car_rotator {
	width: 620px;
	height: 250px;
	overflow: hidden;
	margin: 0 auto;
	clear: both;
}

.car_rotator {
	width: 588px;
	height: 218px;
	padding: 15px;
	border: 1px solid black;
	background-repeat: no-repeat;
}

.car_rotator .view_link {
	color: #227BD3;
	text-decoration: none;
	text-align: right;
	padding-top: 200px;
	display: block;
}	

.car_rotator .infobox {
	width: 240px;
	height: 220px;
	overflow: auto;
	border: 1px solid #333;
	font-size: 12px;
}




/***** USED INVENTORY CODE *****/

.inventory_view td {
	border-bottom: 1px solid #00C;
	vertical-align: top;
	width: 100%;
}

.inventory_view th {
	border-bottom: 1px solid #00C;
	background-color: #BCD7F2;
	text-align: left;
	vertical-align: top;
}

.colorblock {
	float: right;
	height: 16px;
	width: 16px;
	border: 1px solid #333;
	margin-right: 5px;
}


/***** 680 CHAMFERED RECTANGLE CODE *****/

.background680 {
	background-image: url(/img/background_680_background.jpg);
	background-repeat: repeat-y;
}

.header680 {
	background-image: url(/img/background_680_top.jpg);
	background-repeat: no-repeat;
	background-position: top;
}

.footer680 {
	background-image: url(/img/background_680_bottom.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	padding: 12px 20px 20px 20px;
}



/***** 950 CHAMFERED RECTANGLE CODE *****/

.background950 {
	background-image: url(/img/background_950_background.jpg);
	background-repeat: repeat-y;
}

.header950 {
	background-image: url(/img/background_950_top.jpg);
	background-repeat: no-repeat;
	background-position: top;
}

.footer950 {
	background-image: url(/img/background_950_bottom.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	padding: 12px 2px 20px 2px;
}


/***** USED INVENTORY QUICK VIEW CODE *****/

.usedbackground {
	background-image: url(/img/usedinventory_background.jpg);
	background-repeat: repeat-y;
}

.usedfooter {
	background-image: url(/img/usedinventory_footer.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	padding-bottom: 20px;
}

.usedheader {
	background-image: url(/img/usedinventory_header_plain.jpg);
	background-repeat: no-repeat;
	background-position: top;
}

.quickinventoryimage {
	width: 178px;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
	border: 1px solid white;
}

.quickinventorydesc {
	border-bottom: 1px solid white;
	padding: 2px 0px;
}

.quickinventorydesc a, .quickinventorydesc a:visited {
	color: white;
}


/***** MAP CODE *****/

#map_canvas {
	height: 350px;
	margin-bottom: 5px;
}

#routecontainer {
	display: none;
	font-size: 12px;
	background-color: white;
	padding: 5px;
	border: 1px solid #666;
	margin-bottom: 5px;
}

#route {
}

.directions .address_input {
	width: 375px;
}


/***** COMMON CODE *****/

.col680 {
	width: 680px;
}

.col330 {
	width: 330px;
}

.col251 {
	width: 251px;
}

.col220 {
	width: 220px;
}

.col180 {
	width: 180px;
}

.gillespieblue {
	color: #227BD3;
}

.bg_gillespieblue {
	background-color: #227BD3;
}

.bg_stripedgrey {
	background-image: url(/img/usedinventory_background_grey.jpg);
	background-repeat: repeat;
}

.cutoff {
	height: 600px;
	overflow: auto;
}

.bg_ltblue {
	background-color: #BCD7F2;
}

/***** QUERY DEBUG CODE *****/

table.cake-sql-log {
	width: 940px;
	font-size: 10px;
	border: 1px solid #333;
	background-color: #CCC;
	margin: 10px auto;
	clear: both;
}

table.cake-sql-log td, table.cake-sql-log th {
	border-bottom: 1px solid #666;
	padding: 3px;
}

table.cake-sql-log caption {
	color: #CCC;
	border: 1px solid #333;
	background-color: #660000;
}

table.cake-sql-log caption:before {
	content: "DATABASE DEBUG: ";
}