/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: Arial, Helvetica, clean, sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #F9A21A; color: #fff; text-shadow: none; }
::selection { background: #F9A21A; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #666666; }
a:visited { color: #666666; }
a:hover { color: #85AD3A; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 80%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { /*background-color: #f0dddd;*/ }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   ==========================================================================
   Author: Mak Advertising
   ==========================================================================
   ========================================================================== */

body{
	/*background:url("../img/bg.png") repeat-x scroll 0 0px  #EBFAF4 !important;*/
}

header, footer, .content, nav {
	margin: 20px auto 20px;
    width: 1000px;
}
header{
	margin-top:50px;
}
.content p, .content ul{
	font-size:12px;
}
#sitelogo{
	float:left;
}

.main-banner {
    border: 1px solid #DADADA;
    height: 90px;
    margin: 10px auto 20px;
    width: 978px;
	border-radius:5px;
}

#top-banner{
	border:1px solid #DADADA;
	border-radius:5px;
	width:728px;
	float:right;
	height:80px;
	margin-right:10px;
}
#top-banner img{
	border-radius:5px;
}

.logout {
  float: right;
  margin-top: -30px;
}

.search-form{
	width: 750px;
	border: 3px solid #85AD3A;
	float:left;
	border-radius:5px 5px 5px 5px;
}
.search-left{
	width: 500px;
	border-right:1px solid #B8C1C9;
	padding-left:23px;
	padding-top:15px;
	float:left;
	height:236px;
}
.search-right{
	float:left;
	width:226px;
}

.search-form h1{
	margin-left:10px;
	margin-top:0px;
    font-size: 20px;
    line-height: 13px;
    margin-bottom: 30px;
    padding: 0;
    position: relative;
}

.search-form h2 {
    margin-top:0px;
    font-size: 16px;
    font-weight: bold;
    line-height: 17px;
}
.form-fields{
	margin-top:10px;	
}

label{
	font-size:0.7em;	
}

#car-search th, #car-search td {
    padding: 0 0 20px 10px;
}


select{
	width:120px;
}

#car-search button, #car-search ul {
    font-size: 11px;
}

#car-search button{
	height:30px;	
}


footer p {
    font-size: 0.7em;
}

.ads-box{
	float:right;
	border: 1px solid #DADADA;
	border-radius: 5px 5px 5px 5px;
	margin:0px 10px;
	width:220px;
	height:255px;
}
.ad {
	width:200px;
	border: 1px solid #DADADA;
	height:235px;
	margin:10px;
	display:none; /* Hide all banners when page is loading */
}

.news{
	background: url("../img/background.png") repeat scroll 0 0 #FFFFFF;
	border: 1px solid #DADADA;
	border-radius: 5px 5px 5px 5px;
	clear: both;
	float: left;
	margin-top: 15px;
	padding: 15px;
	width: 960px;
}



.build-a-new-car {
    height: 191px;
    padding: 15px 15px 10px 20px;
}

.build-a-new-car .body-type-list {
    margin: 10px 0 5px;
    overflow: hidden;
	list-style-type:none;
	padding:0;
}



.build-a-new-car .body-type-list li {
    float: left;
    margin-bottom: 3px;
	width: 95px;
}

.build-a-new-car .body-type-list li a {
  background:url("../img/make-category-sprite.png") no-repeat scroll 0 0 transparent;
  color: #666666;
  display: block;
  font-size: 11px;
  line-height: 32px;
  padding-left: 55px;
  text-decoration: none;
}

#hatch a {
  background-position: 0 -554px;
}

#sedan a {
  background-position: 0 -58px;
}
#wagon a {
  background-position: 0 -680px;
}
#suv a {
  background-position: 0 -303px;
}
#ute a {
  background-position: 0 -428px;
}
#coupe a {
  background-position: 0 -619px;
}

.manufacturer-list{
	list-style-type:inherit;
	padding:0;
	margin: 10px 14px 5px;
	overflow:inherit;
	width:178px;
	color:#F9A21A;
}


.manufacturer-list a {
  color: #666666;
  font-size: 11px;
  text-decoration: none;
}

.manufacturer-list a:hover {
	color:#85AD3A;
}
.build-a-new-car .manufacturer-list li {
  float: left;
  margin: 0;
  width: 59px;
}
footer{
	border-top:1px solid #CCCCCC;
}
footer ul{
	list-style-type:none;
	float:left;
	margin:0;
	padding:0;
}
footer ul li{
	font-size:11px;
	
	padding:0px 10px;
	display:inline;
	list-style-type:none;
	border-right:1px solid #DADADA;
	
}
footer ul li:last-child{
	border:none;
}
footer ul li a{
	color:#000;
	text-decoration:none;
}
footer .copyright{
	float:right;
}
footer .support{
	float:left;
}
#search-results, #sidebar, #car-details{
	float:left;
	border:1px solid #DADADA;
	border-radius:5px;
}
#search-results, #car-details{
	width:70%;
	padding:5px;	
	margin:0 15px 0 0;	
}
#search-results h2, #car-details h2 {
	font-size: 14px;
	border-bottom: 2px solid #86AD3B;
}

#sidebar{
	width:26%;	
}

#search-results article{
	width:98%;
	margin:10px auto;
	clear:both;
}

#search-results article h2 {
  font-size: 14px;
  background: none repeat scroll 0 0 #EFF4E3;
  line-height: 20px;
  padding: 7px 20px 7px 10px;
  border-top: 2px solid #86AD3B;
  border-bottom:0 !important;
}
#search-results article h2 a, #search-results article h2 a:hover{
	text-decoration:none;
	color:#000 !important;
}

.car-info .main-info .comments {
	font-size: 11px;
	float:none;
	clear:both;
	width:100%
}
.car-result .car-info .main-info {
	float: left;
	width:80%;
}
.car-info .additional-info {
	float: right;
}


.additional-info .price {
	font-size: 18px;
	font-weight: bold;
}

.additional-info .location {
	font-size: 16px;
}

#quick-search, #recent{
	padding:5px;	
}

#quick-search h2, #recent h2 {
	font-size: 14px;
	border-bottom: 2px solid #86AD3B;
	
}

#preview-images{
	width:300px;
	float:left;
}

img.car-primary {
    width: 141px;
	float:left;
	margin: 0 4px 4px 0;
}
img.car-secondary {
    width: 66px;
	float:left;
	 margin: 0 4px 4px 0;
}

#search-results article .car-details{
	float:left;	
	margin: 0 0 0 35px;
}

#search-results article .car-details ul {
	list-style-type:none;
	margin:5px 0;
	padding:0;
}

#search-results article .car-details ul li {
    float: none;
    font-size: 11px;
    margin-bottom: 0;
    margin-right: 7px;
    padding-left: 22px;
	margin-bottom:10px;
	color:#666666;
	font-weight:bold;
}

.actions a {
    background: -moz-linear-gradient(center top , #86AD3B 0%, #85AD3A 100%) repeat scroll 0 0 transparent;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#86AD3B), color-stop(100%,#85AD3A));
    border-radius: 4px 4px 4px 4px;
    color: #FFFFFF;
    float: right;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 27px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.17);
    width: 62px;
	position:absolute;
	bottom:0;
	right:0;
}


#search-results article .car-details ul li  {
    background: url("../img/sprite-chrome.png") no-repeat scroll 0 0 transparent;
    display: block;
    height: 17px;
    left: 0;
    
    top: 0;
}

#search-results article .car-details ul li.kms {
    background-position: -98px -268px;
}

#search-results article .car-details ul li.transmission {
    background-position: -98px -124px;
}
#search-results article .car-details ul li.body-type {
    background-position: -98px -220px;
}

#search-results article .car-details ul li.turbo {
    background-position: -98px -171px;
}
.actions {
  float: inherit;
  margin-top: 90px;
  position:relative;
}
.additional-info > p {
    font-size: 13px;
    margin: 0;
}
.results-count {
    float: left;
	margin:4px 0 0 4px;
}
.pagination{
	float:right;
}
.pagination a{
	color:#000;
}

.search-pagination{
	margin-top:10px;
	border-top:1px solid #666;
	font-size:12px;
}

.search-title {
	display: block;
	font-size: 16px;
    line-height: 18px;
	margin: 5px;
}

#recent #info > a{
	font-size:12px;
	margin: 0 10px;
	text-decoration:none;	
}
.main-picture {
    float: left;
}
.main-picture img {
    border: 1px solid #666666;
    margin: 0 auto;
    max-height: 290px;
    max-width: 520px;
}

.small-pic {
	float:left;
	
}
.small-pic img{
	border: 1px solid #666666;
    margin: 0 2px 4px;
    max-height: 100px;
    max-width: 80px;
}

.car-details-complete  .table-detail {
	font-size:12px;
}
.car-details-complete  .table-detail tr:nth-child(2n){
	background-color:#F3F3F3;	
}
.table-detail td {
	padding:6px;	
}
.car-details-complete  p{
	font-size:12px;	
}

#recent > ul {
    margin-left: 0;
    padding: 0 16px;
}

/* Info is for the recent viewed cars*/
#info > li {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#info a {
    background-color: #EEEEEE;
    border: 1px solid #DADADA;
    color: black;
    display: inline-block;
    font-size: 12px;
    margin: 5px;
    padding: 6px 14px;
    text-decoration: none;
    width: 185px;
}
#info a:hover{
	background-color:#FFF;
}
#car-details h6{
    margin: 0 6px 10px;
    padding: 0;	
}
#car-details h6 a{
	text-decoration:none;
	color:#000;	
	font-size:12px;
}

#general-news .item {
    background-color: #FFFFFF;
    border: 1px solid #DADADA;
    border-radius: 7px 7px 7px 7px;
    float: left;
    font-size: 11px;
    height: 170px;
    margin: 5px;
    padding: 5px 4px;
    width: 300px;
}

#general-news .item h5 {
    font-size: 13px;
    margin: 8px 0 0 8px;
		height:37px;
}

#general-news .news-desc > img {
    float: left;
    margin: 0 7px 50px;
    width: 120px;
}

#general-news #description-news > a {
    color: #F9A21A;
    float: right;
    font-weight: bold;
    line-height: 0.1px;
    text-decoration: none;
	
}

#general-news #description-news > a:hover {
	color:#666;
}

#general-news h4 {
  border-bottom: 2px solid #85AD3A;
  margin: 0;
}

.news-desc {
  display: block;
  height: 86px;
  overflow: hidden;
}


#description-news > img {
  display: none;
}

.feedflare {
  display: none;
}

.top-menu{
	position:fixed;
	top:0;
	width:100%;
	height:30px;
	background:-moz-linear-gradient(center top , #5C5C5B 0%, #151513 100%) repeat scroll 0 0 transparent;
	box-shadow:0 1px 3px rgba(0, 0, 0, 0.5);
	background: -webkit-linear-gradient(top,  #5C5C5B 0%,#151513 100%); /* Chrome10+,Safari5.1+ */
}

nav{
	margin:0 auto;
}

nav > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
nav .top-navigation {
    float: left;
}

nav li{
	display:inline;
}

nav li a, nav li a:visited {
    color: #EEE;
    font-size: 12px;
    font-weight: bold;
    line-height: 30px;
    margin-right: 2px;
    padding: 0 22px 0 8px;
    position: relative;
    text-decoration: none;
}
nav li a:hover{
	color:#85AD3A;	
}




/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
