html {
	overflow-y: scroll;
}

html,
body {
	padding: 0;
	margin: 0;
	font: 12px Verdana, Geneva, sans-serif;
}
html {
	background: #272816 url(../images/background.html.png) center top repeat-y;
}
body {
	background: url(../images/background.body.png) center top no-repeat;
	min-height: 500px;
	min-width: 1200px;
}

a {
	color: #3a3b23;
	outline: none;
	text-decoration: underline;
}

a:hover,
a.active {
	text-decoration: none;
}

a img {
	border: 1px solid #c0bf8f;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	text-decoration: none;
}

h1 {
	font-size: 20px;
	margin: 0;
	padding: 8px;
}

h2 {
	font-size: 17px;
}

.products_items_block h2 {
	font-weight: normal;
	font-size: 15px;
	padding-top: 0;
	margin-top: 0;
}

.products_items_block h2:hover {
	text-decoration: underline;
}

input[type=text],
input[type=password],
textarea,
select {
	border: 1px solid #c0bf8f;
	padding: 1px;
}

input[type=text]:hover,
input[type=password]:hover,
textarea:hover,
select:hover {
	border-color: #3a3b23;
}

input[type=text][disabled]:hover,
input[type=password][disabled]:hover {
	border: 1px solid #c0bf8f;
}

input[type=submit],
input[type=button],
input[type=reset] {
	border-top: none;
	border-right: 1px solid #3a3b23;
	border-bottom: 1px solid #3a3b23;
	border-left: none;
}

input[type=submit]:hover,
input[type=button]:hover,
input[type=reset]:hover {
	border-right-color: #c0bf8f;
	border-bottom-color: #c0bf8f;
}

input[disabled] {
	color: #000;
	padding: 1px;
}

select {
	width: 150px;
}

#user_form input[type=text],
#user_form input[type=password],
#user_form textarea {
	width: 350px;
}

#user_form select {
	width: 354px;
}

#user_form select.small {
	width: 100px;
}

#login_form input[type=text],
#login_form input[type=password] {
	width: 80px;
}

#login_form table {
	width: 100%;
}

#login_form div a:last-child {
	float: right;
}

.stretch {
	min-width: 960px;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

#body {
	padding: 0 10px;
}

#main {
	border-collapse: collapse;
	border-spacing: 0px;
	width: 1200px;
	margin: 0 auto 10px auto;
}

#main td.cell {
	padding: 0;
	height: 177px;
	vertical-align: top;
}

a#anchor {
	margin: 27px 15px;
	display: block;
	width: 250px;
	height: 61px;
	float: left;
}

#menu {
	float: left;
	width: 630px;
	padding: 27px 0 0 265px;
}

#menu a {
	text-decoration: none;
	font-weight: bold;
	font-size: 14px;
	color: #c0bf8f;
	background: #3a3b23 url(../images/background.menu.png) center top no-repeat;
	height: 27px;
	line-height: 27px;
	width: 161px;
	display: block;
	padding: 2px 10px;
	float: left;
	text-align: right;
	margin: 0 0 29px 29px;
}

#menu a:hover,
#menu a.active {
	color: #f0efcb;
	background-image: url(../images/background.menu.active.png);
}

#left,
#right,
#center {
	vertical-align: top;
}

#left,
#right {
	width: 250px;
}

#main td#left.cell,
#main td#center.cell,
#main td#right.cell {
	padding-top: 55px;
}

#main td#center.cell {
	width: 700px;
}

#copyright,
#studio {
	color: #c0bf8f;
	font-size: 10px;
}

#copyright a,
#studio a {
	color: #c0bf8f;
}

#studio {
	text-align: right;
}

.alert {
	color: #f00;
}

.products_groups_block {
	padding: 0 5px;
	width: auto;
}

.block,
.card,
.page,
.products,
.publications,
.message,
.news_list,
.news_items,
.products_items_block,
#page_selector {
	border: 1px dotted #3a3b23;
	margin: 0 5px 10px 5px;
	padding: 5px;
}

.product_path {
	border: 1px dotted #d5d4b4;
	margin: 0 5px 10px 5px;
	padding: 5px;
	color: #c0bf8f;
	font-size: 120%;
}

.product_path a {
	font-size: 14px;
	font-weight: bold;
	color: #d5d4b4;
	white-space: nowrap;
	line-height: 21px;
}

.products_items_block {
	margin: 0 5px 10px 5px;
}

.block h1 {
	margin-bottom: 5px;
}

.block h5 {
	margin: -5px -5px 5px -5px;
	padding: 5px;
	font-size: 14px;
	line-height: 22px;
}

.block h5,
.block h5 a {
	color: #d5d4b4;
}

.block h5 a:hover {
	color: #f0efcb;
}

.clear {
	clear: both;
}

/* Grid */

table.grid {
	margin: 10px auto;
	border-collapse: collapse;
	border-spacing: 0px;
}

table.grid caption {
	font-size: 16px;
	font-weight: bold;
}

table.grid th,
table.grid td {
	border: 1px dotted #3a3b23;
	padding: 2px 4px;
}

table.grid label {
	margin: 0 5px;
}

table.grid label.size {
	font-weight: bold;
}

/* Line */

ul.line,
ol.line {
	border-bottom: 1px dotted #3a3b23;
	padding-bottom: 10px;
}

/* Catalogue */

#catalogue {
	padding: 0;
}

#catalogue h5 {
	margin: 0;
}

#catalogue h5 a:last-child {
	float: right;
}

#catalogue a.level1,
#catalogue a.level1_active {
	padding-left: 10px;
}

#catalogue a.level2,
#catalogue a.level2_active {
	padding-left: 30px;
}

#catalogue a.level3,
#catalogue a.level3_active {
	padding-left: 50px;
}

#catalogue a.level4,
#catalogue a.level4_active {
	padding-left: 70px;
}

#catalogue a.level1,
#catalogue a.level2,
#catalogue a.level3,
#catalogue a.level4 {
	display: block;
	text-decoration: none;
	line-height: 22px;
	border-top: 1px dotted transparent;
	border-bottom: 1px dotted #c0bf8f;
}

#catalogue a.level1_active,
#catalogue a.level1:hover,
#catalogue a.level2_active,
#catalogue a.level2:hover,
#catalogue a.level3_active,
#catalogue a.level3:hover,
#catalogue a.level4_active,
#catalogue a.level4:hover {
	display: block;
	text-decoration: none;
	line-height: 22px;
	color: #000;
	border-top: 1px dotted #3a3b23;
	border-bottom: 1px dotted #3a3b23;
}

#catalogue a:last-child {
	border-bottom: 1px dotted transparent;
}

/* Products */

.products_groups_block,
.products_items_block {
	clear: both;
}

.products_list_group,
.products_list_small {
	width: 140px;
	height: 165px;
	padding: 10px 7px 10px 7px;
	text-align: center;
	border: 1px dotted #3a3b23;
	overflow: hidden;
	border: 1px dotted #3a3b23;
}

.products_list_group {
	float: left;
	margin: 0 16px 16px 0;
}

.products_list_group:nth-child(1n) {
	margin-bottom: 22px;
	margin-right: 22px;
}

.products_list_group:nth-child(4n) {
	margin-right: 0;
}

.products_list_small {
	margin: 10px auto;
}

.products_list_group img,
.products_list_small img {
	display: block;
	margin: 0 auto 5px auto;
	width: 128px;
	height: 128px;
}

.products_list_group a,
.products_list_small a {
	text-decoration: none;
}

.products_list_item {
	margin: 1em -5px;
	padding: 1em;
	border-top: 1px dotted #3a3b23;
}

.products_list_item:first-child,
.cart_list:first-child {
	border-top: none;
}

.products_list_item img,
.cart_list img {
	margin-right: 1em;
	float: left;
	width: 128px;
	height: 128px;
}

.no_image {
	width: 128px;
	height: 128px;
	line-height: 128px;
	text-align: center;
	border: 1px solid #c0bf8f;
}

.products_list_group .no_image,
.products_list_small .no_image {
	display: block;
	margin: 0 auto 5px auto;
}

.products_list_item .no_image,
.cart_list .no_image {
	margin-right: 1em;
	float: left;
}

.products_list_item a,
.cart_list a {
	text-decoration: none;
}

.products_item h1 {
	background: none;
	border: none;
	padding: 8px 0;
}

.products_item .products_image {
	float: left;
	margin-right: 20px;
}

.products_list_item form,
.products_item form,
.cart_list .form,
#total_sum_box {
	margin: 10px 0;
	padding: 5px 0;
/* 	border-top: 1px dotted #3a3b23; */
/* 	border-bottom: 1px dotted #3a3b23; */
	display: inline-block;
}

.products_list_item label,
.products_item label,
.cart_list .form label {
	margin-left: 20px;
}

.products_list_item input[type=submit],
.products_item input[type=submit] {
	margin-left: 20px;
}

.products_list_item input[type=text],
.products_item input[type=text],
.cart_list .form input[type=text] {
	text-align: right;
}

.products_description ul,
.products_description ol {
	padding-top: 10px;
	padding-bottom: 10px;
	clear: both;
	display: block;
}

#total_sum_box {
	display: block;
	height: 20px;
	line-height: 20px;
	padding: 5px 25px;
}

#total_sum_box label {
	margin-right: 25px;
	font-weight: bold;
	float: left;
}

#total_sum {
	color: #000;
	font-weight: bold;
	font-size: 16px;
	text-align: right;
	width: 100px;
	float: left;
}

#total_sum_box span {
	font-size: 16px;
	font-weight: bold;
	float: right;
	color: #f00;
}

.in_stock,
.last_in_stock,
.out_of_stock {
	padding: 0 3px;
	font-weight: bold;
}

.in_stock {
	color: #050;
}

.last_in_stock {
	color: #00f;
}

.out_of_stock {
	color: #f00;
}

/* Cart */

#cart {
	width: 100%;
}

#cart td {
	color: #3a3b23;
	font-size: 13px;
	line-height: 15px;
	padding: 1px;
}

#cart td:first-child {
	text-align: right;
}

#cart .products_title {
	width: 100%;
	color: #000;
}

#cart_sum {
	font-weight: bold;
	text-align: right;
	padding-top: 5px;
	border-top: 1px dotted #3a3b23;
}

#cart_sum a {
	float: left;
}

/* Cart products */

.cart_list {
	margin: 0.2em -5px 0.2em -5px;
	padding: 0.2em;
	border-top: 1px dotted #3a3b23;
}

.cart_list h2 {
	padding: 0;
	margin: 0;
	display: inline;
}

.cart_list .products_remove {
	color: #f00;
	float: right;
	font-size: 14px;
	width: 15px;
	height: 15px;
	line-height: 15px;
	text-align: center;
	display: block;
	padding: 1px;
}

.cart_list .products_remove:hover {
	color: #900;
}

.cart_list .products_price,
.cart_list .products_availability,
.cart_list .products_artikul {
	font-size: 80%
}

/* Profile */

#profile {
	width: 100%;
	margin: 10px 0 0 0;
	border-spacing: 3px;
}

#profile th {
	text-align: left;
	padding: 4px;
	color: #d5d4b4;
	border: 1px dotted #d5d4b4;
}

#profile td {
	padding: 1px;
}

#profile th a {
	font-family: "Courier New", Courier, monospace;
	text-decoration: none;
	color: #d5d4b4;
}

#profile th a:hover {
	color: #f0efcb;
}

/* Order */

table.order,
table.list {
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 10px auto;
}

table.order tr th,
table.order tr td,
table.list tr th,
table.list tr td  {
	border: #abae9b 1px solid;
	padding: 5px;
}

/* Publication */

.publications_list {
	margin: 5px 0 15px 0;
	padding: 5px;
	height: 75px;
	border: 1px dotted #3a3b23;
}

.publications_list img {
	float: left;
	margin-right: 10px;
}

.publications_list h2 {
	font-size: 12px;
	font-weight: normal;
}

/* Delivery */

#delivery {
	width: 100%;
}

#delivery tr td:first-child {
	width: 25%;
}

/* Image set */

.image_set {
	clear: both;
	padding: 10px 0;
}

.form_block {
	margin: 10px 0;
}

/* News */

.news_list h2 {
	font-size: 12px;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

#news_latest h2 {
	font-weight: bold;
}

#news_latest .news_data {
	text-align: right;
	margin-bottom: 4px;
}

/* Page selector */

#page_selector a,
#page_selector span {
	margin: 1px;
	padding: 0.5em;
	display: inline-block;
	text-decoration: none;
	border: 1px dotted transparent;
}

#page_selector a:hover,
#page_selector span.active {
	border-color: #3a3b23;
	color: #000;
}

/* Backgrounds */

input[type=submit],
input[type=button],
input[type=reset],
input[disabled] {
	background: #f0efcb;
}

#profile th,
.product_path,
.block h5 {
	background: #3a3b23;
}

.block,
.card,
.page,
.products,
.publications,
.message,
.news_list,
.news_items,
.products_items_block,
#page_selector,
.products_list_group:hover .no_image,
.products_list_small:hover .no_image,
.products_list_group,
.products_list_small{
	background: #d5d4b4;
}

h1,
#catalogue a.level1_active,
#catalogue a.level1:hover,
#catalogue a.level2_active,
#catalogue a.level2:hover,
#catalogue a.level3_active,
#catalogue a.level3:hover,
#catalogue a.level4_active,
#catalogue a.level4:hover,
.products_list_group:hover,
.products_list_small:hover,
.no_image,
#page_selector a:hover,
#page_selector span.active {
	background: #c0bf8f;
}

.level_2 {
	padding-left: 1.5em;
}

.level_3 {
	padding-left: 3em;
}

.level_4 {
	padding-left: 4.5em;
}