body{
	background:#9b5e31 url('../img/bg.jpg') repeat;
	font-family:Verdana, Helvetica, Arial, sans-serif;
	margin:0;
	padding:0;
}

.wrap {
	margin-top: 80px;
}

#commentForm fieldset{
	margin-bottom: 12px;
}

#commentForm label {
	color: #fffaeb;
}

.thumb-pad {
	width: 22%;
	margin-left: 1%;
	margin-right: 1%;
	float: left;
	
}

.thumbnail {
	/*background:#d59d6a url('../img/thumbnail.jpg') repeat;*/
	background: #f1f1f1;
	/*overflow: hidden;*/
	min-height: 250px;
	border: 1px solid #af703b;
	box-shadow: 0 0 2px #3b1b01;
}
.thumbnail:hover {
	box-shadow: 0 0 8px #3b1b01;
}

.thumbnail .caption {
	padding: 4px;
}

.results .thumbnail img {
	height: 100px;
	float: left;
}

.results .thumbnail h5 {
	clear: both;
	display: block;
	margin: 0;
}

.results .thumbnail .manufacturer {
	font-size: 12px;
}

.results .thumbnail .percent {
	font-size: 12px;
	margin-top: 30px;
}


.percent {
	position: absolute;
	padding: 2px 8px;
	bottom: 0;
	left: 90%;
	background: #af703b;
	color: #fffaeb;
}

.img-tumb {
	position: relative;
	display: inline-block;
	float: left;
	/*width: 100px;
	height: 100px;*/
	margin: 10px;
	/*overflow: hidden;*/
	border: 1px solid #af703b;
	background: #af703b;
}

.thumbnail .caption {
	position: relative;
}

.ratind-container {
	position: absolute;
	width: 120px;
	height: 20px;
	top: 0;
	right: 0;
	background: transparent url('../img/rating.png') right -20px no-repeat;
}

.rating {
	position: absolute;
	height: 20px;
	top: 0;
	right: 0;
	background: transparent url('../img/rating.png') right top no-repeat;
}


.rating[data-rating="5p"] {
	width: 120px;
}
.rating[data-rating="5"] {
	width: 100px;
}
.rating[data-rating="5m"] {
	width: 90px;
}
.rating[data-rating="4p"] {
	width: 90px;
}
.rating[data-rating="4"] {
	width: 80px;
}
.rating[data-rating="4m"] {
	width: 70px;
}
.rating[data-rating="3p"] {
	width: 70px;
}
.rating[data-rating="3"] {
	width: 60px;
}
.rating[data-rating="3m"] {
	width: 50px;
}
.rating[data-rating="2p"] {
	width: 50px;
}
.rating[data-rating="2"] {
	width: 40px;
}
.rating[data-rating="2m"] {
	width: 30px;
}
.rating[data-rating="1p"] {
	width: 30px;
}
.rating[data-rating="1"] {
	width: 20px;
}
.rating[data-rating="1m"] {
	width: 10px;
}
.rating[data-rating="0"] {
	width: 0;
}