/* Reset
----------------------------------*/
a, p, h1, h2, h3, h4, body, div, ul, ol, img { border: 0; margin: 0; padding: 0; }
body { background: white; font-family: Arial, sans-serif; }
a {  }
a:hover {  }
h1 {  }
h2 {  }
/*p { margin: 0 0 15px 0; }
ol, ul { margin: 0 0 15px 30px; }*/

a.flag { clear: both; float: right; font-size: 75%; margin-top: 5px; background: red; }

div.notice { background: yellow; }
div.error { background: red; }

small { font-size: 75%; }

/*
#tooltip { position:absolute; border:0; background: transparent url(../images/tooltip_slice.gif) top right repeat-y; padding:0; display:none; color:#000; width: 188px; z-index: 5000000; }
	#tooltip .top { background: url(../images/tooltip_vertical.gif) top right no-repeat; float: left; width: 100%; }
	#tooltip .bottom { background: url(../images/tooltip_vertical.gif) bottom right no-repeat; float: left; width: 100%; }
	#tooltip .arrow { background: url(../images/tooltip_arrow.png) top left no-repeat; padding:6px 10px 6px 24px; float: left; width: auto; }
*/

#wrapper { /* width: 990px; margin: 0 auto; */ }
	#container { width: 100%; float: left; }
#header { float: left; width: 100%; background: #65A014; padding: 20px 0; }

#sidebar { float: left; width: 250px;  padding: 20px 0; }

#content { float: left; width: 740px; padding: 20px 0; }
	#content.full_width { float: left; width: 100%; }

/*#restricted_width { float: left; width: 68%; margin-right: 2%; }*/
#slot_sidebar { float: left; width: 30%; }
.slot { float: left; width: 100%; margin: 0 0 15px 0; }
.slot .distance { float: right; width: auto; text-align: right; }
.slot .detail { float: left; width: 100%; }
	.slot .price { float: left; width: 50%; font-size: 125%; font-weight: bold; }
	.slot .delivery { float: right; width: 50%; text-align: right; font-size: 75%; line-height: 280%;}

div.brand { float: left; width: 100%; margin: 0 0 30px 0; padding: 0 0 20px 0; border-bottom: 1px solid #000; }
	div.brand ul { float: left; width: 516px; margin: 10px -13px 0 0; display: inline; }
		div.brand ul li { list-style-type: none; float: left; width: 159px; margin: 0 13px 13px 0; }
		div.brand ul li a { float: left; width: 100%; }
			div.brand ul li a img { float: left; width: auto; }
/*
ul.listings { float: left; width: 100%; margin: 0 0 0 0; }
	ul.listings { float: left; width: 100%; margin: 10px -13px 0 0; }
		ul.listings li { list-style-type: none; float: left; width: 100%; border-bottom: 1px solid #000; padding: 0 0 20px 0; margin: 0 0 20px 0; }
		ul.listings li div.listing_details { float: left; width: 100%; }
		ul.listings.photos_on li div.listing_details { float: left; width: 334px; }
		ul.listings li h2 { float: left; width: 100%; }
		ul.listings li a.model_photo { float: left; width: 159px; margin-right: 10px; min-height: 159px; background: #fff url(../images/loader.gif) center center no-repeat; display: block; }
			ul.listings li a img { float: left; width: auto; }

		ul.listings li div.listing_meta { float: right; width: 100px; font-size: 75%; }
			ul.listings li div.listing_meta div { float: left; width: 100%; margin-bottom: 10px; }
			*/
ul.manage_listings { float: left; width: 100%; margin: 0; }
	ul.manage_listings li { float: left; width: 100%; list-style-type: none; border-bottom: 1px solid #000; margin: 0 0 15px 0; padding: 0 0 14px 0; }
	ul.manage_listings li.title { font-weight: bold; font-size: 115%; margin-top: 20px; }
	ul.manage_listings li.action { float: left; width: 100%; background: red; border-bottom: 0; }
	ul.manage_listings li a.model_photo { float: left; width: 20%; }

	ul.manage_listings li div.listing_details { float: left; width: 80%; }

div#tabs a {  }
	div#tabs a.active { background: blue; color: #fff; }

#tab_container { float: left; width: 100%; margin: 0 0 20px 0; }
	ul#tabs { float: right; width: auto; clear: both; margin: 0; }
	ul#tabs li { float: left; width: auto; list-style-type: none; margin-left: 10px; padding: 5px 10px; background: #F8FFEF; }
		ul#tabs li.active { background: #65A014; }

	#tab_container h1 { float: left; width: 100%; margin: 0 0 10px 0; font-size: 130%; }

	#tab_container .tab_content { float: left; width: 96%; padding: 2%; background: #65A014; }

	ul#sub_tabs { float: left; width: 100%; list-style-type: none; margin: 0 0 0 -15px; } /* @todo: Needs a negative margin on the right to remove last li's border, can't do it until I know the final width */
		ul#sub_tabs li { float: left; width: auto; padding: 0 15px; border-right: 1px solid #fff; }


#show_photos { float: left; width: auto; background: url(../images/toggle_button.jpg) left 0 no-repeat; padding-left: 20px; font-size: 90%; height: 16px; overflow: hidden; }
	/*#show_photos:hover, */#show_photos.active { background-position: 0 -16px; }

/* - Breadcrumb -------------------------------------------------------------------------------------*/
#breadcrumb { float: left; width: 980px; background: #EBFFCF; padding: 5px; margin: 10px 0 0 0; color: #65A014; font-size: 70%; }
	#breadcrumb a { color: #65A014; text-decoration: none; }
	#breadcrumb a:hover { text-decoration: underline; }

.favourite { background: url(../images/emblem-favourite.jpg) 0 -16px no-repeat; padding: 0 0 0 20px; }
	.favourite.active { background-position: 0 0; }

#model_image { float: left; width: 220px; }
#brand_logo { float: right; width: 100px; }

#model_detail { float: left; width: 273px; margin-left: 10px; }
	#model_detail ul { margin-left: 0; list-style-type: none; }

#new_advert_list { float: left; width: 100%; border-top: 1px solid #000; padding: 15px 0 0 0; margin: 15px 0 0 0; }
	#new_advert_list #sortby_form { float: left; width: 100%; margin: 0 0 15px 0; }
	#new_advert_list ul { margin: 0; list-style-type: none; }
		#new_advert_list ul li { float: left; width: 100%; margin: 0 0 10px 0; padding: 0 0 9px 0; border-bottom: 1px solid #000; }
		#new_advert_list ul li div.price_container { float: right; width: auto; font-weight: bold; font-size: 120%; text-align: right; }
			#new_advert_list ul li div.price_container .delivery { font-size: 55%; font-weight: normal; }

	#news .article.hero h1 { float: left; width: 100%; margin: 0 0 20px 0; }
	#news .article.hero .text { float: left; width: 503px; margin: 0 0 0 0; }

	#news .article { float: left; width: 100%; margin: 0 0 30px 0; }
	#news .article .image { float: left; width: 150px; text-align: center; margin: 0 20px 0 0; }
	#news .article .text { float: left; width: 333px; }
	#news .article .no_image { width: 503px; }
	#news .article .date { clear: both; }

	div.paginationControl { float: left; width: 100%; }

#footer { float: left; width: 100%; background: gray; padding: 20px 0; }

.cse .gsc-control-cse, .gsc-control-cse {
    padding: 2% 0 !important;
    width: 100% !important;
}

input.gsc-input {
    width: 96% !important;
}

.cse input.gsc-search-button, input.gsc-search-button {
    color: #fff !important;
}

#headerSearchBox {
    position: absolute;
    right: 0;
    top: -1px;
    width: auto;
}

#headerSearchBox input {
    border: 1px solid #b0cd59;
    width: 174px;
    height: 22px;
    padding: 2px 0 0 10px;
}

#headerSearchBox input#googleSubmit {
    width: auto;
    border: 0;
    height: auto;
    padding: 0;
    top: 0;
    position: relative;
    height: 26px;
    width: 26px;
}

#headerSearchBox label {
    position: relative;
    top: 5px;
}

.noTabs {
    padding-top: 25px;
}

.subscription {
	float: right;
	width: 320px;
	font-size: 14px;
	color: #1c3e23;
}

	.subscription li {
		float: left;
		width: 98px;
		margin-right: 6px;
		text-align: center;
		font-weight: bold;
	}

	.subscription li .title {
		margin-bottom: 16px;
		float: left;
		width: 100%;
	}

	.subscription.std li.std .title,
	.subscription.upgrade li.upgrade .title,
	.subscription.premium li.premium .title {
		color: #930829;
	}

	.subscription li .choose a {
		float: left;
		text-indent: -999em;
		width: 90px;
		height: 29px;
		display: block;
		background: url(../images/advertising/select.jpg);
	}

	.subscription li .price {
		margin: 0 0 14px 0;
		float: left;
		width: 100%;
	}

	.subscription li .select {
		float: left;
		width: 90px;
		padding: 15px 4px;
	}

	.subscription.std li.std .select,
	.subscription.upgrade li.upgrade .select,
	.subscription.premium li.premium .select {
		background: #e5f4d7;
		border: 1px solid #90cc52;
	}

		.subscription.std li.std .select .choose a,
		.subscription.upgrade li.upgrade .select .choose a,
		.subscription.premium li.premium .select .choose a {
			width: 88px;
			background: url(../images/advertising/current.jpg);
		}