/* Globals ------------------------------------------------------------------------------------------------- */
* {
	margin: 0;
	padding: 0;
}
html, body {
	height: 100%;
}
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #666666;
	font-size: 62.5%;
	line-height: 1.8em;
	background: #d8d8d8;
}
img {
	display: block;
	border: none;
}
h1 {
	color: white;
	font-size: 1.5em;
	text-align: center;
	background: url(../images/heading1_bg.gif) top left repeat-x;
	padding: 10px;
	width: 940px;
	margin-top: 2em;
	margin-bottom: 1em;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-weight: normal;
}
	h1 span {
		float: right;
	}
h2 {
	color: white;
	background: url(../images/heading2_bg.gif) top left repeat-x;
	font-size: 1.4em;
	font-weight: normal;
	padding: 5px;
	margin: 2em 0 1em;
}
h3 {
	font-size: 1.4em;
	margin: 1em 0 0.5em;
}
p {
	font-size: 1.1em;
	margin-bottom: 1em;
}
a:focus, input:focus {
	outline: none;
}
a:link {
	text-decoration: underline;
	color: #666;
}
a:visited {
	color: #666;
}
a:hover {
	color: black !important;
}
ul {
	list-style-type: none;
}
img {
	display: block;
	border: none;
}
input {
	background: #cacaca;
	border: 1px solid white;
	color: #494949;
	padding: 3px;
	width: 185px;
}
	#container .checkbox input {
		width: auto;
		border: inherit;
		background: inherit;
	}
	.checkbox label {
		float: none;
	}
.warn {
	border-color: red;
}
.floatLeft {
	float: left;
}
.floatRight {
	float: right;
}
.alignLeft {
	text-align: left;
}
.alignRight {
	text-align: right;
}
.alignCenter {
	text-align: center;
}
.noMargin {
	margin: 0px !important;
}
.noMarginTop {
	margin-top: 0px !important;
}
.noMarginRight {
	margin-right: 0px !important;
}
.leftMargin {
	margin-left: 10px;
}
.rightMargin {
	margin-right: 30px;
}
.noPaddingRight {
	padding-right: 0px !important;
}
.noResults {
	margin: 20px 0 1em 10px;
	font-size: 1.4em;
	font-weight: bold;
	text-align: center;
}
label {
	float: left;
	width: 180px;
	font-size: 1.2em;
}

/* Clear fix ----------------------------------------------------------------------------------------------- */
#content:after, .search:after, .catalogue:after, .checkbox:after, #car_info ul:after, .pages ul:after, #car_info:after, #car_photos:after, .houses ul:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
#content, .search, .catalogue, .checkbox, #car_info ul, .pages ul, #car_info, #car_photos, .more div, .houses ul {
	min-height: 1%;
	_height: 1%;
}

/* IE7/IE6 hover -------------------------------------------------------------------------------------------------- */
.catalogue a:hover img, #car_photos a:hover img {
	filter: alpha(opacity=70);
}

/* Container ------------------------------------------------------------------------------------------------*/
#container {
	width: 960px;
	margin: auto;
	background: url(../images/container_bg.gif) top left repeat-y;
	padding: 1px 20px 1px 21px;
}
	h1#print_heading {
		display: none;
	}

/* Header ---------------------------------------------------------------------------------------------------*/
#header {
	background: url(../images/header_bg.gif) top left no-repeat;
	height: 99px;
	margin: auto;
	position: relative;
}
	#logo img {
		position: absolute;
		top: 3px;
		left: 23px;
	}
	#header ul {
		list-style-type: none;
		position: absolute;
		top: 66px;
		right: 11px;
	}
	#header ul li img, #header ul li {
		float: left;
		
	}
	.bag {
		position: absolute;
		top: 72px;
		right: 9px;
		font-weight: bold;
		z-index: 80;
		color: white;
		width: 30px;
		text-align: center;
	}
	
/* Content --------------------------------------------------------------------------------------------------*/
#content {}
	
	/* Search bar */
		.search {
			background:url(../images/search_bg_small.gif) top left no-repeat;
			position: relative;
			padding-bottom: 30px;
			margin-bottom: 1px;
		}
		.more {
			background:url(../images/search_bg_big.gif) top left no-repeat;
			padding-bottom: 0px;
		}
			.more #advanced_search {
				background:url(../images/search_bg_big_tile.gif) top left repeat-y;
				clear: both;
			}
			.more #advanced_search ul {
				background:url(../images/search_bg_big_bottom.gif) bottom left no-repeat;
				padding-bottom: 33px;
			}
			
			/* Advanced search */
			.advanced_search_row {
				padding: 20px;
				clear: left;
			}
			.advanced_search_row div, .quicksearch div {
				float: left;
			}
			
			/* Quick search */
			.quicksearch {
				padding: 35px 0px 0px 20px;
			}
			.quicksearch span, .advanced_search_row span {
				position: absolute;
				background: url(../images/select_bg.gif) top left no-repeat;
				width: 185px;
				height: 22px;
				padding: 4px 0 0 10px;
				font-size: 1.1em;
				color: #464646;
			}
				.quicksearch span.small, .advanced_search_row span.small {
					background: url(../images/select_bg_small.gif) top left no-repeat;
					width: 148px;
				}
				.quicksearch span.warn, .advanced_search_row span.warn {
					color: red;
				}
				.textbox {
					background: url(../images/textbox_bg.gif) top left no-repeat;
				}
			
			/* Global search items */
			select {
				filter: alpha(opacity=0);
				opacity: 0;
				position: relative;
				width: 190px;
				z-index: 5;
				margin: 2px 0 0 2px;
				background: #D9D9D9;
				margin-right: 89px;
			}			
				.small {
					width: 148px;
				}
				#container .select_up {
					background: url(../images/select_bg_up.gif) top left no-repeat;
				}
				#container .select_up_small {
					background: url(../images/select_bg_small_up.gif) top left no-repeat;
				}
			option {
				padding: 3px 10px;
				font-size: 0.9em;
				color: #464646;
			}
			.submit {
				background: url(../images/submit_bg.gif) top left no-repeat;
				width: 120px;
				height: 26px;
				border: none;
				color: white;
				margin-left: 90px;
				padding-top: 0px;
			}
			.submit:hover {
				cursor: pointer;
				background: url(../images/submit_bg_up.gif) top left no-repeat;
			}
			.search_more {
				background: url(../images/search_more_bg.gif) top left no-repeat;
				width: 192px;
				padding: 3px 0px 9px 10px;
				font-size: 1.2em;
				color: gray;
				float: right;
				text-decoration: none !important;
				color: #666;
			}
				.search_more:hover {
					background: url(../images/search_more_bg_up.gif) top left no-repeat;
					color: #666 !important;
				}
			.checkbox {
				list-style-type: none;
				clear: left;
				padding: 38px 0 0px 24px;
				font-size: 1.1em;
			}
			.checkbox li {
				float: left;
				width: 285px;
				margin-bottom: 5px;
				padding: 0;
			}
		
	/* Catalogue list */
		.catalogue {
			list-style-type: none;
			padding: 8px;
			clear: left;
		}	
			.catalogue li {
				width: 162px;
				height: 200px;
				background: url(../images/catalogue_bg.gif) top left no-repeat;
				float: left;
				margin: 0 8px 8px 0;
				padding: 5px 10px 10px;
				text-align: center;
				position: relative;
			}
			.top li {
				background: url(../images/catalogue_top.gif) top left no-repeat;
			}
			.catalogue p {
				margin-bottom: 0;
			}
			.catalogue img {
				margin: auto;
				border: 1px solid gray;
			}
			.catalogue a:hover img {
				opacity: 0.7;
			}
			.catalogue .price {
				background: url(../images/price_bg.gif) center center no-repeat;
				width: 139px;
				height: 24px;
				margin: 0 auto;
				padding: 5px 0 0 0;
				font-weight: bold;
				font-size: 1.2em;
			}
			.catalogue h3 {
				margin-top: 0.5em;
				margin-bottom: 0;
				font-size: 1.2em;
				line-height: 1.2em;
			}
			.catalogue h3 a {
				text-decoration: none;
			}
		
		/* Brand list table */
			.brand_list {
				clear: left;
				width: 940px;
				margin: 10px 0 10px 10px;
			}
			.brand_list td {
				padding: 2px 8px;
				margin: 5px;
				background: #e3e3e3;
				font-size: 1.1em;
			}
			.brand_list th {
				background: #8a8a8a;
				padding: 10px;
				font-size: 1.4em;
				color: white;
			}
			.brand_list .th2 td {
				background: #c2c2c2;
				font-weight: bold;
				color: white;
			}
			.brand_list td a {
				color: #666;
			}
			.brand_list td span {
			float: right;
		}
		/* Pages */
			.pages {
				border: 1px solid #d1d1d1;
				width: 940px;
				margin-left: 10px;
				text-align: center;
				padding: 15px 0;
			}
			.pages ul {
				
			}
			.pages li {
				display: inline;
				
			}
			.pages li a:hover {
				background: url(../images/pages_bg.gif) top left repeat-x;
			}
			.pages li a {
				text-decoration: none;
				border: 1px solid silver;
				padding: 1px 7px 2px;
				margin-right: 2px;
				font-size: 1.1em;
				position: relative;
			}
			.pages li a.in {
				border: 1px solid #efefef;
			}
			.pages li a.in:hover {
				border: 1px solid silver;
			}

/* Car info page ------------------------------------------------------------------------------------------- */
/* Car photos */
	#car_photos {
		width: 440px;
		margin: 10px 0 0 10px;
		position: relative;
		padding-top: 32px;
	}
		#car_photos .pcompare {
			font-size: 1.2em;
			float: left;
			padding-left: 20px;
		}
		#car_photos li {
			min-height: 100px;
			float: left;
		}
		#car_photos img {
			float: left;
			margin: 10px 12px 0 0;
			border: 1px solid gray;
		}
		#car_photos a:hover img {
			opacity: 0.7;
		}
		#car_photos div {
			width: 436px;
			height: 31px;
			background: url(../images/car_photos_div.gif) top left no-repeat;
			position: absolute;
			top: 1px;
			left: 0;
			border: 1px solid gray;
			border-bottom: none;
		}
		#car_photos div img {
			margin: 0;
			border: none;
		}
		#car_photos div p {
			float: right;
			font-size: 1.5em;
			font-weight: normal;
			padding: 5px 20px 0 0;
			
		}
		#car_photos div a.addc {
			background: url(../images/compare_button.gif) top left no-repeat;
			width: 160px;
			padding: 5px 20px;
			display: block;
			text-decoration: none;
			font-size: 1.2em
		}
			#container #car_photos div p {
				color: white;
			}
/* Car info */
	#car_info {
		width: 460px;
		float: right;
		padding: 10px 10px 0 0;
	}
		#car_info .submit {
			margin-left: 180px;
		}
		#car_info li {
			padding: 2px 2px 2px 15px;
			border: 1px solid silver;
			margin-bottom: 13px;
			border-bottom: 2px solid silver;
			background: #f8f8f8;
		}
		#car_info h2 {
			margin-left: -13px;
			padding-left: 13px;
			margin-top: 0px;
		}
		#car_info h2 a {
			background: url(../images/link.gif) left center no-repeat;
			padding-left: 35px;
			color: black;
			text-decoration: none;
		}
		#car_info h2 a:hover {
			text-decoration: underline;
		}
		#car_info ul {
			margin-bottom: 1em;
			list-style-type: circle;
			list-style-position: inside;
		}
		#car_info ul li {
			width: 220px;
			float: left;
			font-size: 1.1em;
			margin: 0;
			border: none;
			padding: 0px;				
		}
		#car_info li form {
			margin-bottom: 1em;
		}
/* Auto houses page ---------------------------------------------------------------------------------------- */
.houses {
	width: 920px;
	margin: 10px;
	background: #e7e7e7;
	border: 1px solid #d2d2d2;
	border-bottom-width: 2px;
	padding: 5px 10px;
	margin: 5px 10px;
	margin-top: 10px;
}
	.houses h3 {
		border-bottom: 1px solid silver;
		padding-bottom: 5px;
		text-decoration: underline;
	}
		.houses h3 a {
			text-decoration: none;
		}
	.houses ul {
		margin: 20px 0;
	}
	.houses ul li {		
		padding: 0 60px 0 45px;
		width: 200px;
		float: left;
		min-height: 30px;
		_height: 1%;
	}
	.houses ul li.adress {
		background: url(../images/adress.gif) top left no-repeat;
	}
	.houses ul li.phone {
		background: url(../images/phone.gif) top left no-repeat;
	}
	.houses ul li.website {
		background: url(../images/website.gif) top left no-repeat;
	}


/* Compare page ---------------------------------------------------------------------------------------- */
.compare {
	width: 940px;
	margin-left: 10px;
	margin-top: 10px;
	border: 1px solid silver;
	border-bottom: none;
	border-right: none;
}
.compare td, .compare th {
	padding: 25px;
	border-bottom: 1px solid silver;
	border-right: 1px solid silver;
	font-size: 1.2em;
	vertical-align: top;
}
.compare th {
	background: #D8D8D8;
	text-align: left;
	border-right: 1px solid silver;
	padding: 15px;
}
.compare td ul li {
	list-style-type: circle;
	list-style-position: inside;
}
#price1, #price2 {
	font-size: 1.4em;
	font-weight: bold;
}
th span {
	position: absolute;
	background: url(../images/select_bg.gif) top left no-repeat;
	width: 185px;
	height: 22px;
	padding: 4px 0 0 10px;
	font-size: 1.1em;
	color: #464646;
	font-weight: normal;
}
th select {
	filter: alpha(opacity=0);
	opacity: 0;
	position: relative;
	width: 190px;
	z-index: 5;
	margin: 2px 0 0 2px;
	background: #D9D9D9;
	margin-right: 90px;
}
.delc {
	background: url(../images/del_bg.gif) left no-repeat;
	padding: 6px 10px 6px 15px;
	display: block;
	margin: 10px 0 10px 10px;
	width: 174px;
	text-decoration: none !important;
	color: white !important;
}

/* Contacts page ------------------------------------------------------------------------------------------- */
.contacts_content {
	padding: 15px;
}

/* Footer -------------------------------------------------------------------------------------------------- */
#footer {
	margin-top: 20px;
	padding-top: 40px;
	height: 100px;
	width: 960px;
	background: url(../images/footer_bg.gif) bottom left repeat-x;
	position: relative;
	clear: both;
}
#footer p {
	text-align: center;
	color: #6E6E6E;
	padding-top: 20px;
	margin-bottom: 0;
	font-size: 1em;
}
	#footer span {
		color: white;
	}
	#footer .contacts {
		background: url(../images/contacts_icon.gif) bottom left no-repeat;
		padding: 0 0 0 30px;
		width: 100px;
		position: absolute;
		top: 30px;
		left: 340px;
		font-size: 1.2em;
		height: 20px;
	}
	#footer .order {
		background: url(../images/order_icon.gif) bottom left no-repeat;
		padding: 0 0 0 30px;
		position: absolute;
		top: 30px;
		left: 540px;
		font-size: 1.2em;
		height: 20px;
	}
	#fmedia {
		position: absolute;
		left: 50%;
		width: 240px;
		margin-left: -120px;
		text-align: center;
		bottom: 20px;
	}
	#fmedia a img {
		display: inline;
		margin-top: -3px;		
	}
	#fmedia a {
		text-decoration: none;
	}
	