#page {
	padding: 0;
}

#rew .lt {
	border-top: 1px solid #383d52;
}

nav.section a,
nav.category a,
nav.catalog a {
	color: #dadada;
	text-decoration: none;
}
nav.section a:hover,
nav.category a:hover,
nav.catalog a:hover {
	color: #fff;
	background-color: #272727;
}
nav.section a {
	display: block;
	float: left;
	height: 38px;
	line-height: 38px;
	padding: 0 16px;
}
nav.section a.active {
	color: #fff;
	background-color: #1a1a1a;
}

table.category {
	/*table-layout: fixed;*/
}
table.category.ready td a {
	display: block;
}
#category a {
	white-space: nowrap;
	color: #dadada;
	font-size: 14px;
	text-transform: uppercase;
	text-decoration: none;
	height: 40px;
	line-height: 40px;
	padding: 0 10px;
}
#category a:hover {
	color: #fff;
	background-color: #272727;
}
#category a.active {
	color: #fff;
	background-color: #1a1a1a;
}
#category td.more {
	width: 50px;
}
#rew .more_wrap {
	visibility: hidden;
	overflow: hidden;
	height: 0px;
		 -o-transition:all .5s ease;
	   -moz-transition:all .5s ease;
	-webkit-transition:all .5s ease;
			transition:all .5s ease;
}
#rew .more_wrap.show {
	height: 80px;
	visibility: visible;
}
#rew .more_wrap .item a {
	display: block;
}


#rew .wrap_items > .message {
	padding: 50px 20px;
	font-size: 90%;
	color: #ccc;
}
#rew .wrap_items > .message .like {
	background: url(pic/rew1.png) -18px 0px no-repeat;
	height: 17px;
	width: 18px;
}


#rew .items {
	display: block;
	position: relative;
}
#rew .items .item {
	position: relative;
	float: left;
	width: 25%;
	height: 258px;
}
#rew .items .wrap {
	position: absolute;
	width: 100%;
	height: auto;
	z-index: 1;
}
#rew .items .wrap.hover {
	z-index: 2;
}
#rew .items .wrap > i {
	display: block;
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	padding: 0px;
	top: 0px;
	left: 0px;
	background-color: #2b2f40;
	border-left: 1px solid #222635;
	border-bottom: 1px solid #222635;
	-o-transition:padding .5s ease, background-color .8s ease, left .5s ease, top .5s ease;
	-moz-transition:padding .5s ease, background-color .8s ease, left .5s ease, top .5s ease;
	-webkit-transition:padding .5s ease, background-color .8s ease, left .5s ease, top .5s ease;
	transition:padding .5s ease, background-color .8s ease, left .5s ease, top .5s ease;
}
#rew .items .item:first-child .wrap > i {
	border-left: none;
}
#rew .items .item .hover > i {
	background-color: #393939;
	/*border: 1px solid #222 !important;*/
	border: 1px solid #393939;
	padding: 4px;
	top: -5px;
	left: -5px;
			box-shadow: 0px 2px 15px #222;
	   -moz-box-shadow: 0px 2px 15px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0px 2px 15px rgba(0,0,0,0.4);
}
#rew .items .layer {
	position: relative;
	padding: 11px;
	z-index: 3;
}
#rew .items .image {
	position: relative;
	line-height: 0;
	overflow: hidden;
}
#rew .items .image img {
	display: block;
	position: relative;
	width: 100%;
	opacity: 0;
	filter: alpha(opacity=0);
}
#rew .items .image img.show {
	opacity: 1;
	filter: alpha(opacity=100);
		 -o-transition:opacity .3s ease;
	   -moz-transition:opacity .3s ease;
	-webkit-transition:opacity .3s ease;
			transition:opacity .3s ease;
}
#rew .items .image img.invert {
	width: initial;
	height: 100%;
}
#rew .items .image span {
	display: block;
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 10;
	padding: 0 6px 0 0;
	height: 22px;
	line-height: 22px;
	margin-top: -22px;
	background-color: #ddd;
	background-color: rgba(0,0,0,0.5);
	color: #fff;
}
#rew .items .image a {
	display: block;
	position: relative;
	height: 208px;
	font-size: 0;
}
#rew .items .cart {
	width: 26px;
	height: 22px;
	margin-right: 6px;
	cursor: pointer;
	background: url(pic/cart_small.png) center center no-repeat;
}
#rew .items .cart:hover {
	background-color: #000;
}
#rew .items .info {
	position: relative;
	padding: 10px 0 0 0;
}
#rew .items .info i {
	background: url(pic/rew1.png) no-repeat;
	height: 17px;
	width: 18px;
}
#rew .items .info a span { margin-left: 3px; color: #e3e3e3; }
#rew .items .info a:hover span { color: #fff; }
#rew .items .info a.active span { color: #87e212; }
#rew .items .info i,
#rew .items .info span {
	display: block;
	float: left;
	font-size: 12px;
	line-height: 17px;
}
#rew .items .like {
	margin-right: 10px;
}
#rew .items .comm i { background-position: 0px 0px; }
#rew .items .comm:hover i { background-position: 0px -17px; }
#rew .items .comm.active i { background-position: 0px -34px; }
#rew .items .like i { background-position: -18px 0px; }
#rew .items .like:hover i { background-position: -18px -17px; }
#rew .items .like.active i { background-position: -18px -34px; }
#rew .items .dislike i { background-position: -37px 0px; }
#rew .items .dislike:hover i { background-position: -37px -17px; }
#rew .items .dislike.active i { background-position: -37px -34px; }

#rew .items .hover .messages {
	display: block;
}
#rew .items .messages {
	position: relative;
	display: none;
}
#rew .items .wrap_messages {
	position: relative;
	margin: 10px 0 0 0;
}
#rew .items .messages button {
	display: none;
	margin-top: 6px;
}
#rew .items .messages .comments {
	margin-top: 5px;
}
#rew .items .messages .comments td {
	/*padding: 2px 0;*/
	font-size: 90%;
	line-height: normal;
	vertical-align: middle;
}
#rew .items .messages .comments td:first-child {
	width: 30px;
	padding: 5px 0;
	padding-right: 5px;
	line-height: 0;
	vertical-align: top;
}
#rew .items .messages .comments td:first-child img {
	width: 100%;
			border-radius: 15px;
	   -moz-border-radius: 15px;
	-webkit-border-radius: 15px;
}
#rew .items .messages .more {
	display: block;
	text-align: center;
	font-size: 90%;
	padding: 3px 0;
	background-color: #333;
	color: #ccc;
}
#rew .items .messages .more:hover {
	color: #fcfcfc;
	background-color: #3F3F3F;
}
#rew .items .messages .arrow {
	display: block;
	position: absolute;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #fff;
	top: -4px;
	left: 15px;
	margin-left: 10px;
}
/* список "мне нравится" */
#rew .items .showbox {
	position: absolute;
	z-index: 100;
	top: 0px;
	left: 0%;
	width: 100%;
	background: #1c1c1c;
	visibility: hidden;
	margin-top: 10px;
	opacity: 0;
	filter: alpha(opacity=0);
		 -o-transition:opacity 300ms ease-in-out, visibility 300ms ease-in-out, margin 300ms ease-in-out;
	   -moz-transition:opacity 300ms ease-in-out, visibility 300ms ease-in-out, margin 300ms ease-in-out;
	-webkit-transition:opacity 300ms ease-in-out, visibility 300ms ease-in-out, margin 300ms ease-in-out;
			transition:opacity 300ms ease-in-out, visibility 300ms ease-in-out, margin 300ms ease-in-out;
}
#rew .items .showbox.show {
	visibility: visible;
	opacity: 1;
	filter: alpha(opacity=100);
	margin-top: 0;
}
#rew .items .showbox .arrow {
	position: absolute;
	display: block;
	content: '';
	top: 100%;
	margin-left: -6px;
	border-top: 6px solid #1c1c1c;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
}
#rew .items .viewport {
	height: 0;
	margin-right: 3px;
}
#rew .items .scrollbar {
	width: 3px;
}
#rew .items .thumb {
	background-color: #fff;
}
#rew .items .showbox ul {
	float: left;
	margin: 0px;
	padding-bottom: 6px;
}
#rew .items .showbox li {
	float: left;
	margin: 6px 0 0 6px;
	width: 30px;
	height: 30px;
	line-height: 0;
	/*
	overflow: hidden;
			border-radius: 15px;
	   -moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	*/
}
#rew .items .showbox li img {
	display: inline;
	width: 30px;
}

#rew .pages {
	padding: 18px 0;
	padding: 16px 0;
}
#rew .pages a {
	padding: 0;
	width: 28px;
	height: 28px;
	line-height: 28px;
	background-color: #272727;
			border-radius: 14px;
	   -moz-border-radius: 14px;
	-webkit-border-radius: 14px;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: top;
	*display: inline;
	zoom: 1;
}
#rew .pages a:hover {
	background-color: #1a1a1a;
}
#rew .pages a.active {
	color: #333;
	background-color: #dfdfdf;
}
