html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	cursor: default;
}

div {
	border: none;
	overflow: visible;
}

body, td {
	font-family: Arial, Tahoma, Helvetica;
	font-size: 14px;
	color: #000;
}

table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

td {
	vertical-align: top;
}

ul {
	margin: 6px 0 0 0;
	padding: 0;
	list-style: none;
}

form {
	margin: 0;
	padding: 0;
}

img {
	border: none;
}

h1, h2, h3, h4, h5, h6 {
	margin: 12px 0 0 0;
	font-weight: normal;
	font-family: Arial;
}

a {
	text-decoration: underline;
	color:#2F2F2F;
}

a:hover {
	color: #CC0000;
	text-decoration: none;
}

p {
	margin: 8px 0 0 0;
}

textarea {
	font-family: Arial;
	font-size: 14px;
}


/*******************/


body {
	background: url(bg.png);
	padding: 30px 10px;
}

#wrapper {
	background: white;
	padding: 0 60px;
	width:1050px;
	margin:0 auto;
}

#top-decor {
	height:4px;
	background: #000;
}

#td2 {
	height:4px;
	width: 240px;
	float:left;
	background: #af2200;
}

#top-menu {
	padding-top:30px;
	overflow: hidden;
}

#logo {
	text-decoration: none;
	display: block;
	float:left;
	width:160px;
	font-size:30px;
	color: #af2200;
	background: url(logo.png) no-repeat 0 50%;
	padding-left: 80px;
	margin-left:20px;
}

#logo b {
	font-weight: normal;
	color:#000;
}

.top-menu ul {
	overflow: hidden;
	margin-top:14px;
}

.top-menu ul li {
	float:left;
	color:#8E8E8E;
	font-size:14px;
	padding-right: 12px;
}

.top-menu ul a {
	color:#2F2F2F;
}

.top-menu ul li:before {
	content:"/";
	padding-right:12px;
}

.top-menu ul li:first-child:before {
	content: normal;
}

#top-search {
	float:right;
	position: relative;
	border: 1px solid #e8e8e8;
	background: #fff;
	padding-right: 50px;
	margin-top:8px;

}

#ts-input:focus {
	outline: none;
}

#ts-input {
	display: inline-block;
	padding: 8px;
	border: none;
	background: none;
	width:130px;
}

#ts-button {
	background: transparent url("search-icon.png") 77% 45% no-repeat;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	border: none;
	width: 50px;
	padding: 0;
	-webkit-transition: all ease-in-out 0.3s;
	-moz-transition: all ease-in-out 0.3s;
	-o-transition: all ease-in-out 0.3s;
	transition: all ease-in-out 0.3s;

}

#ts-button:hover {
	background-image: url("search-icon-hover.png");
	background-position: 55% 37%;
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: all ease-in-out 0.4s;
	-moz-transition: all ease-in-out 0.4s;
	-o-transition: all ease-in-out 0.4s;
	transition: all ease-in-out 0.4s;
}

#middle {
	overflow: hidden;
	padding-top:24px;
	padding-bottom:30px;
}

#left-menu {
	float:left;
	width:240px;
	font-size:12px;
}

#content-part {
	margin-left:260px;
}

#left-menu h4 {
	border-bottom: 1px dotted #ccc;
	font-size: 18px;
	padding-bottom: 6px;
	padding-left: 16px;
}

#left-menu li a {
	display: block;
	padding: 10px 10px 8px 0;

	border-bottom: 1px dotted #ccc;
	font-size:14px;
	text-decoration: none;
}

#left-menu a:hover, #left-menu li.selected a {
	border-bottom: 2px solid #af2200;
	padding-bottom: 7px;
	color:#af2200;
}

#left-menu li {
	background: url(http://dogovor-urist.ru/images/bullet_category.gif) no-repeat 0 16px;
	padding-left: 16px;
}

.main-it {
	position: relative;
}

.main-right {
	width: 200px;
	background-color: #af2200;
	font-family: "Questrial", sans-serif;
	padding: 52px 28px 50px 34px;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	color:#fff;
	font-size:13px;
}

.mp-title {
	font-size: 20px;
	font-weight: bold;
	border-bottom: 1px dotted #fff;
	padding-bottom: 16px;
	margin-bottom: 16px;
}

.mp-price {
	font-size:18px;
	margin-top:24px;
	color:#fff;
	background: #D20000;
	padding: 6px 16px;
}

.l-contacts {
	margin:8px 0 0 16px;

}

.l-contacts td.l-label {
	padding-right:8px;
	font-weight: bold;
	text-align: right;
	padding-top: 2px;
}

.l-contacts td {
	padding-bottom: 6px;
	font-size:12px;
}

#main-pane {
	padding-bottom:22px;
	border-bottom:1px dotted #ccc;
}

.main-sub {
	overflow: hidden;
	margin-top:30px;
}

.main-sub li {
	float:left;
	padding-left: 22px;
	font-size: 24px;
	color: #d1d1d1;
}

.main-sub li a {
	color: #d1d1d1;
	text-decoration: none;
}

.main-sub li a:hover, .main-sub li.first a {
	color:#2F2F2F;
}

.main-sub li.first:before {
	content: normal;
	padding-right: 0;

}

.main-sub li:before {
	content: "/";
	padding-right: 22px;
}

.mili-name {
	font-size:14px;
}

a.mili-name {
	text-decoration: none;
	color:#444;
}

a.mili-name:hover {
	color:#aaa;
	opacity: 0.5;
}

.mili-name span {
	display: block;
	margin-top:12px;
	font-size: 14px;
	font-weight: bold;
}

.mil-item {
	vertical-align: top;
	display: inline-block;
	margin-right:20px;
	width:237px;
}

.mili-price {
	font-size: 24px;
	padding: 2px 20px 0 0;

	float:left;
}

.mili-more {
	margin-top:6px;
	overflow: hidden;
	border-top:1px dotted #ccc;
	padding-top:6px;
}

.mili-basket {
	background: url(basket.png) no-repeat;
	width:31px;
	float: left;
	height:31px;
	border-right:1px dotted #ccc;
	padding-right:12px;
}

.mili-basket:hover {
	opacity: 0.5;
}

.mili-m {
	margin-left: 4px;
	font-size: 16px;
	color:#af2200;
	text-decoration: none;
	float: left;
	background: url(more-r.png) no-repeat 100% 6px;
	padding: 6px 10px;
	padding-right: 16px;

}

.mili-m:hover {
	color:#999;
	background: url(more-g.png) no-repeat 100%  6px;
}

.main-il {
	margin-top: 10px;
	overflow: hidden;
}

.main-banner {
	position: relative;
	margin-top: 60px;
	color:#fff;
}

.mb-left {
	background: #af2200;
	color:#fff;
	padding: 20px 214px 20px 40px;
	height: 40px;
}

.mb-right {
	position: absolute;
	height:40px;
	padding:20px;
	background: #000;
	right:0;
	width: 180px;
	top:0;
	bottom: 0;
	text-align: center;
	font-size: 24px;
}

.mbl-big {
	font-size: 24px;
	padding-top: 6px;
	font-weight: bold;
	float:left;
}

.mbl-content {
	margin-left: 150px;
	font-size:18px;
}

#footer {
	background-color: #2f2f2f;
	height: 300px;
	color:#fff;
	padding: 45px 40px;
	overflow: hidden;
}

#footer a {
	color:#fff;
}

#footer li a {
	border-bottom:1px dotted #999;
	padding-bottom:8px;
	padding-left: 20px;
	margin-top:8px;
	text-decoration: none;
	display: block;
	background: url(footer-li.png) no-repeat 0 0;
	font-size:14px;
	-webkit-transition: opacity ease-out 0.13s;
	-moz-transition: opacity ease-out 0.13s;
	-o-transition: opacity ease-out 0.13s;
	transition: opacity ease-out 0.13s;
}

#footer li a:hover {
	opacity: 0.5;
	-webkit-transition: opacity ease-out 0.2s;
	-moz-transition: opacity ease-out 0.2s;
	-o-transition: opacity ease-out 0.2s;
	transition: opacity ease-out 0.2s;
}

.col {
	float:left;
	width:260px;
	margin-left: 60px;
}

#footer h4 {
	font-size:20px;
}

#footer td {
	color:#fff;
}

#footer .l-contacts {
	margin-top:20px;
}

.pager {
	font-size: 14px;
	margin:20px 0 0 0;
}

.pager a, .pager span {
	display: inline-block;
	padding: 3px 6px;

}

.pager .cur {
	background-color:#af2200;
	color:#FFFFFF;
}

.pager a {
	text-decoration:none;
}

.pager a:hover {
	text-decoration:none;
}

.pager a:hover {
	color:#fff;
	padding:2px 5px;
	background-color:#af2200;
	border:1px solid #af2200;
}



/*****************************/

h1 {
	margin-top:0;
}

.catalog-info {
	overflow: hidden;
}

.catalog-photo {
	float:left;
	width: 200px;
}

.catalog-photo img {
	margin-top:40px;
	width:200px;
}

.catalog-data {
	margin-left: 216px;
}

.catalog-data h1 {
	margin-top:0;
	margin-bottom: 12px;
}

.catalog-content {
	color:#777;
}

.c-its {
	margin-top: 22px;
	border-bottom: 1px solid #ccc;
	padding-bottom: 16px;
}

.ci-amount {
	float:right;
	font-size:14px;
	font-weight: bold;
}

.c-items {
	margin-top:2px;
}

.c-items .mil-item {
	margin-top:22px;
}

/*****************************/

.cii-gallery {
	float:left;
	width: 82px;
}

.cii-gallery a {
	display: block;
	border: 1px solid #d6d4d4;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	/*background: #e8e8e8;*/
	margin-bottom: 8px;
}

.cii-gallery a:hover {
	border-color: #989393;
}

.cii-gallery a div {
	width: 80px;
	height: 80px;
	background: no-repeat 50% 50%;
	background-size: contain;
}

.cii-image {
	float:left;
	margin-left: 10px;
	position: relative;
	z-index: 1;
	padding: 5px;
	border: 1px solid #d6d4d4;
	background: white;
}

.cii-image div {
	width: 340px;
	height: 340px;
	background: no-repeat 50% 50%;
	background-size: contain;
}

.cii-right  {
	margin-left: 456px;
}

.cii-brief {
	line-height: 16px;
	color:#666;
	margin: 8px 0;
}

.cii-favorite {
	margin-top:12px;
	background: url(favorite.png) no-repeat;
	padding: 10px 0 10px 40px;
	color:#999;
	display: block;
	text-decoration: none;
}

.cards {
	margin-top: 12px;
	padding: 12px 0;
	border-top: 1px dotted #ccc;
}

.cii-more {
	margin-top:16px;
	padding: 6px 0;
}

.cii-h {
	font-weight: 400;
	font-size: 24px;
	line-height: 34px;
	padding: 14px 20px 17px;
	position: relative;
	background: #F0F0F0;
}

.cii-tab {
	border-bottom: 1px solid #d6d4d4;
	width:100%;
}

.cii-tab tr {
	border-top: 1px solid #d6d4d4;
}

.cii-tab td:first-child {
	border-right: 1px solid #d6d4d4;
	width: 220px;
	font-weight: 700;
}

.cii-tab td {
	padding: 10px 20px 11px;
	font-size: 14px;
}

.cii-info {
	overflow: hidden;
}

.cii-other {
	overflow: hidden;

}

.cio-item {
	vertical-align: top;
	display: inline-block;
	margin-right: 6px;
	width: 148px;
	margin-top: 12px;
}

.cio-item .img {
	width: 140px;
	height: 140px;
	border:4px solid #ccc;

	background: no-repeat 50% 50%;
	background-size: contain;
}

.cio-item a {
	text-decoration: none;
}

.cii {
	overflow: hidden;
}

.cio-name {
	margin: 8px 0;
	font-size: 16px;
	font-weight: bold;
}

/***********************/

.catalog-item {
	overflow: hidden;
}

.c-i1 {
	float:left;
	width: 248px;
}

.c-i1 a {
	display: block;
	border: 1px solid #ccc;
	padding: 4px;
}

.c-i1 img {
	width: 238px;
	height: 238px;
}

.c-i2 {
	float: left;
	margin-left: 20px;
	width: 250px;
}

.c-i3 {
	margin-left: 555px;
	border-left: 1px dotted #ccc;
	height: 188px;
	padding-left: 10px;
}

.c-name {
	font-size:16px;
	font-weight: bold;

}

.c-name a {
	text-decoration: none;
}

.c-comment {
	color:#666;
}

.c-order a {
	display: inline-block;
	background: #cc0000;
	color:white;
	padding: 6px 10px;
	text-decoration: none;
	margin-top: 12px;
}

.c-order a:hover {
	background: gray;
}

.c-i3 .mili-more {
	border:none;
	margin-top: 0;
}

.order-form {

}

.edit-form td {
	font-size:14px;
	padding: 4px;
}

.edit-form td.label {
	text-align: right;
	padding-top: 10px;
}

.edit-form input, .edit-form textarea {
	width:400px;
	font-size:14px;
	padding: 4px 8px;
}

.edit-form textarea {
	height: 150px;
}

.edit-form .notice {
	font-size: 12px;
	color:#777;
}