/**
* html5doctor.com Reset Stylesheet v1.6.1 (http: //html5doctor.com/html-5-reset-stylesheet/)
* Richard Clark (http: //richclarkdesign.com)
* http: //cssreset.com
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: middle;
	background: transparent;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
	display: block;
}

ul {
	list-style-type: none;
	list-style-position:  inside;
}

blockquote, q {
	quotes: none;
}

blockquote: before, blockquote: after,
q: before, q: after {
	content: '';
	content: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

/* change colours to suit your needs */
ins {
	background-color: #FFF;
	color: #000;
	text-decoration: none;
}

/* change colours to suit your needs */
mark {
	background-color: #FFF;
	color: #000;
	font-style: italic;
	font-weight: bold;
}

del {
	text-decoration:  line-through;
}

abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #cccccc;
	margin: 1em 0;
	padding: 0;
}

input, select {
	vertical-align: middle;
}


/* Common elements styles */

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #f0f0f0;
}

p {
	margin-bottom: 10px;
	line-height: 135%;
}

a {
	color: #86c236;
}

h1, h2, h3, h4, h5, h6
{
	margin-bottom: 10px;
} 

h2 {
	margin-top: 20px;
	font-size: 18px;
}

h3 {
	font-size: 16px;
}


/* Layout styles */

.wrapper {
	width: 980px;
	margin: 0 auto;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body > .wrapper {
	margin-top: 120px;
	margin-bottom: 60px;
	padding: 20px 20px 0 20px;
	background-color: #FFFFFF;
}



/* Form elements */

input[type="text"],
select,
.select
{
	display: inline-block;
	height: 34px;
	padding: 0 5px;
	border: 1px solid #dfdfdf;
	background: #FFFFFF;

	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

input[type="text"],
select
{
	line-height: 32px;
}

.select {
	position: relative;
	padding-right: 37px;
}

.select:after {
	content: "▼";
	position: absolute;
	top: 0;
	right: 0;
	height: 32px;
	width: 32px;
	line-height: 32px;
	text-align: center;
	vertical-align: middle;
	background-color: #EEEEEE;
	border-left: 1px solid #dfdfdf;
	color: #999999;
	cursor: pointer;

	-webkit-border-radius: 0px 4px 4px 0px;
	-moz-border-radius: 0px 4px 4px 0px;
	border-radius: 0px 4px 4px 0px; 
}

.select span {
	display: block;
	line-height: 32px;
	font-size: 13px;
	color: #666666;
}

.select .dropdown_list {
	display: none;
	position: absolute;
	top: 34px;
	left: -1px;
	width: 100%;
	border: 1px solid #dfdfdf;
	background: #FFFFFF;
	z-index: 100;
}

.select:hover .dropdown_list {
	display: block;
}

.select .dropdown_list li {
	margin: 10px;
}

.slider .slider_line {
	height: 10px;
	background: #EEEEEE;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;

	-webkit-box-shadow: inset 0px 2px 4px 0px #999999;
	-moz-box-shadow: inset 0px 2px 4px 0px #999999;
    box-shadow: inset 0px 2px 4px 0px #999999;	
}

input[type="button"],
input[type="button"]
{
	height: 34px;
	line-height: 34px;
	text-align: center;
	text-transform: uppercase;
	border: none;
	color: #FFFFFF;
	background-color: #86c236;
	cursor: pointer;
	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.form .form_item .input_label {
	display: block;
	margin-bottom: 10px;
	font-weight: bold;
}


/* Header */

header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #373737;
}

header .wrapper {
	content: "";
	display: block;
	clear: both;
}

header .company_logo {
	float: left;
	height: 95px;
	line-height: 95px;
}

header .company_logo img {
	vertical-align: middle;
}

header nav {
	float: right;
}

ul.main_menu:after {
	content: "";
	display: block;
	clear: both;
}

ul.main_menu li {
	float: left;
}

ul.main_menu li a {
	display: block;
	height: 95px;
	line-height: 95px;
	width: 180px;
	color: #FFFFFF;
	text-align: center;
	text-decoration: none;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

ul.main_menu li a:before {
	content: "";
	display: inline-block;
	width: 33px;
	height: 33px;
	margin-right: 5px;
	vertical-align: middle;
}

ul.main_menu li.buy a:before {
	background: url(img/icon_buy.png) center center no-repeat;
}

ul.main_menu li.about a:before {
	background: url(img/icon_info.png) center center no-repeat;
}

ul.main_menu li.active a {
	border-bottom: 5px solid #86c236;
	background: #2f2f2f url(img/main_menu_arrow.png) center bottom no-repeat;
}


/* Search form */
.form.search{
	display: block;
}

.form.search:after {
	content: "";
	display: block;
	clear: both;
}

.form.search .form_item {
	float: left;
	width: 32%;
	margin-bottom: 20px;
}

.form.search .form_item:nth-child(3n+1){
	margin-right: 1%;
}

.form.search .form_item:nth-child(3n+2){
	margin-right: 1%;
	margin-left: 1%;
}

.form.search .form_item:nth-child(3n+3){
	margin-left: 1%;
}

.form.search .form_item input[type="text"],
.form.search .form_item .input
{
	width: 100%;
}

.form.search .form_item.submit {
	text-align: center;
}

.form.search .form_item.submit input[type="button"] {
	display: block;
	width: 200px;
	margin: 0 auto 5px auto;
}


/* Auction */
.auction .image {
	overflow: hidden;
	position: relative;
	height: 200px;
}

.auction .image img {
	min-width: 100%;
	min-height: 100%;
}

.auction .image .ribbon {
	display: table;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 45px;
	text-align: center;
	
	-webkit-transform: rotate(45deg) translateX(90px) translateY(-20px);
	-moz-transform: rotate(45deg) translateX(90px) translateY(-20px);
	-ms-transform: rotate(45deg) translateX(90px) translateY(-20px);
	transform: rotate(45deg) translateX(90px) translateY(-20px);
}

.auction .image .ribbon .inner {
	display: table-cell;
	height: 45px;
	vertical-align: middle;
	font-size: 13px;
	font-weight: bold;
	color: #FFFFFF;
}

.auction .image .ribbon.second_auction {
	background-color: #86c236;
}

.auction .image .ribbon.canceled {
	background-color: #ee1d25;
}

.auction .image .description {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	line-height: 30px;
	text-indent: 10px;
	font-size: 13px;
	color: #FFFFFF;
	background: #373737;
}

.auction .image .description .label {
	font-weight: bold;
}

.auction .image .register {
	position: absolute;
	bottom: 7px;
	right: 10px;
	font-size: 13px;
	color: #FFFFFF;
}

.auction .text {
	padding-top: 10px;
}


/* Most seen */

.most_seen {
	background-color: #f0f0f0;
}

.most_seen:after {
	content: "";
	display: block;
	clear: both;
}

.most_seen .image {
	float: left;
	width: 66%;
}

.most_seen .text {
	float: left;
	width: 32%;
	margin-left: 2%;
}

/* Auctions list */

.auction_list:after {
	content: "";
	display: block;
	clear: both;
}

.auction_list .auction {
	float: left;
	width: 32%;
}

.auction_list .auction:nth-child(3n+1) {
	margin-right: 1%;
}

.auction_list .auction:nth-child(3n+2) {
	margin-right: 1%;
	margin-left: 1%;
}

.auction_list .auction:nth-child(3n+3) {
	margin-left: 1%;
}


/* Most seen */

.most_seen .image {
	width: 66%;
}


/* Promo block */

.promo_block {
	margin-top: 20px;	
}

.promo_block:after {
	content: "";
	display: block;
	clear: both;
}

.promo_block a {
	display: block;
	float: left;
	width: 32%;
	height: 70px;
	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.promo_block a.auctions_total,
.promo_block a.auctions_new
{
	line-height: 70px;
	text-align: center;
	font-size: 18px;
	color: #FFFFFF;
	border: 1px solid #84b840;
	background-color: #86c236;
}

.promo_block a.auctions_new {
	margin: 0 2%;
}

.promo_block a.promo {
	overflow: hidden;
	border: 1px solid #bdbdbd;
}


/* Footer */

footer {
	margin: 20px -20px 0 -20px;
	padding: 20px;
	color: #FFFFFF;
	
	background: #333333;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMzMzMzMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxNTE1MTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #333333 0%, #151515 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333333), color-stop(100%,#151515));
	background: -webkit-linear-gradient(top,  #333333 0%,#151515 100%);
	background: -ms-linear-gradient(top,  #333333 0%,#151515 100%);
	background: linear-gradient(to bottom,  #333333 0%,#151515 100%);
}

footer:after {
	content: "";
	display: block;
	clear: both;
}

footer section {
	float: left;
}

footer section.company_info {
	margin-right: 50px;
}

footer a.company_logo {
	float: right;
}

footer h2,
footer p
{
	margin: 0;
}
