* {
	margin: 0px;
	padding: 0px;
}

html, body {
	width: 100%;
}

body {
	position: relative;
	background-color: #F3ECE6;
	font-family: "Arial";
	font-size: 9pt;
	min-width: 1002px;
}

h1 {
	color: #5A2E00;
	font-size: 14pt;
	padding-bottom: 1em;
}

h2 {
	color: #5A2E00;
	font-size: 12pt;
	padding-bottom: 0.5em;
}

h3 {
	color: #5A2E00;
	font-size: 11pt;
	padding-bottom: 0.5em;
}

	h3 a {
		color: #5A2E00;
		text-decoration: none;
	}

		h3 a:hover {
			text-decoration: underline;
		}

h4 {
	font-size: 10pt;
	color: #5A2E00;
	padding-bottom: 0.5em;
}
		
p {
	padding-bottom: 1em;
}

a {
	color: #A0450E;
}

	a:hover {
		color: black;
	}
	
a.special {
	text-decoration: none;
	color: #A0450E;
}

	a.special:hover {
		text-decoration: underline;
		color: black;
	}

	a img {
		border: 0px none;
	}

img {
	border: 0px none;
}

dl  {
	overflow: hidden;
	padding-bottom: 5px;
}

dl.checkbox {	
}

	dl.checkbox dt {
		padding-top: 2px;
		padding-right: 5px;
	}

table {

}

	table p {
		padding: 0px;
	}

table.data-table {
	width: 100%;
}

	table.data-table td {
		padding-bottom: 5px;
	}

		table.data-table td.param {
			width: 30%;
		}

		table.data-table td.value {
			width: 70%;
		}

	table.data-table input, table.data-table textarea {
		width: 70%;
	}

input, textarea, select {
	border: 1px solid #D1CBBF;
}

input.submit {
	border: 0px none;
	height: 23px;
	color: white;
	background-color: #912F05;
}

.link {
	cursor: pointer;
	color: #572727;
}

	.link:hover {
		text-decoration: underline;
	}

*html dl  {
	overflow: visible;
	height: 1%;
}


	dl dt {
		float: left;
		font-weight: bold;
		color: #5A2E00;
		padding-right: 10px;
	}

	dl dd {
		float: left;
	}

table {
	border-collapse: collapse;
}

	table td {
		text-align: left;
		vertical-align: top;
	}

.red {
	color: red;
}

.brown {
	color: #912F05;
}


#wrapper {
	width: expression(((document.compatMode && document.compatMode=='CSS1Compat') ? document.documentElement.clientWidth : document.body.clientWidth) <= 1002 ? "1002px" : "auto");
}

	#header {
		overflow: hidden;
		margin-right: 8px;
		background: #912F05 url("/bitrix/templates/hm_main/images/header/angle.jpg") no-repeat right bottom;
	}
	
	*html #header {		
		overflow: visible;
		height: 1%;
	}
	
		#header .col-right {
		}
		
			#login-form {
				color: white;
				padding: 40px 21px 0px 22px;
			}
			
				#login-form input {
					width: 100%;
					margin-bottom: 7px;
					border: 0px none;
					color: #693400;
				}
				
				#login-form a {
					color: white;
				}
				
				#Login, #logout_butt {
					color: white;
					font-weight: bold;
					border: 0px none;
					background-color: transparent;
					float: right;
					text-align: right;
				}
				
			#basket-info {
				color: white;
				padding-left: 22px;
				padding-top: 20px;
				font-size: 10pt;
			}
			
				#basket-info .header {
					font-weight: bold;
				}

					#basket-info .header a {
						color: white;
					}
				
				#basket-info .text {
					
				}
	
		#header .col-left {
			position: relative;
			background: url("/bitrix/templates/hm_main/images/header/bcg.jpg") repeat-x;
		}
		
		*html #header .col-left {
			margin-right: 188px;
			margin-left: 18px;
			overflow: visible;
			height: 1%;
		}
		
			#header .col-left .left-image {
				float: left;
				width: 479px;
				height: 351px;
				background: url("/bitrix/templates/hm_main/images/header/left-image.png");
			}
			
				#menu-bar {
					position: absolute;
					width: 695px;
					margin-left: 23px;
					top: 330px;
				}
						#menu-bar table {
							width: 100%;
						}
						
							#menu-bar table td {
								color: #A0450E;
								padding-top: 6px;
								padding-left: 1px;
								padding-right: 10px;
								font-weight: bold;
								height: 20px;
								background: url("/bitrix/templates/hm_main/images/header/arrow.gif") no-repeat left top; font-size: 9pt;
								white-space: nowrap;
							}
							
								#menu-bar table td a {
									color: black;
								}
			
			#header .col-left .right-image {
				float: right;
				width: 285px;
				height: 351px;
				background: url("/bitrix/templates/hm_main/images/header/right-image.jpg");
			}
			
	#workarea {
		overflow: hidden;
		padding-top: 39px;
	}
	
	*html #workarea {
		overflow: visible;
		height: 1%;
	}
	
		#workarea .col-left {
			float: left;
			width: 229px;			
		}

			#catalog-header {
				height: 21px;
				padding-bottom: 20px;
				margin-left: 15px;
				background: url("/bitrix/templates/hm_main/images/workarea/catalog.png") no-repeat 65% -1px;
			}
		
			#catalog-sections {
				padding: 2px 0px 0px 2px;
				min-height: 404px;
				background: url("/bitrix/templates/hm_main/images/workarea/left-bcg.jpg") no-repeat;
			}
			
				#catalog-sections ul {
					display: block;
					margin: 0px;
					padding-left: 15px;
				}
				
					#catalog-sections ul li {
						list-style-type: none;
					}


					*html #catalog-sections ul li {
						overflow: visible;
						height: 1%;
					}

					#catalog-sections ul li a, #catalog-sections ul li span {
						display: block;
						padding: 4px 0px 4px 5px;
						margin: 4px 0px;
						font-weight: bold;
						color: black;
						font-size: 11pt;
					}
					
					#catalog-sections ul li.folder span, #catalog-sections ul li.folder a {
						border-left: 5px solid #912f05;
						background: url("/bitrix/templates/hm_main/images/workarea/white100_2.png");
					}

					#catalog-sections ul li.level-2 {
						margin-left: 18px;
					}

						#catalog-sections ul li a {
							color: black;
							font-size: 11pt;
							text-decoration: none;
						}

							#catalog-sections ul li a:hover {
								color: #9E3B00;
								text-decoration: underline;
							}

				#menu-child .menu-child-item {
				}
		
		*html #workarea .col-left {
			height: 404px;
		}
		
		#workarea .col-right {
			float: right;
			width: 229px;
			min-height: 488px;
			background: url("/bitrix/templates/hm_main/images/workarea/right-bcg.jpg") no-repeat right top;
		}
		
		*html #workarea .col-right {
			height: 488px;
		}
		
			#phone-number {			
				padding-left: 29px;
				margin: 25px 0px 0px 22px;
				color: #EE9946;
				font-size: 20px;				
				background: url("/bitrix/templates/hm_main/images/workarea/phone.gif") no-repeat left center;
			}
			
				#phone-number span {
					font-weight: bold;				
					padding-left: 0px;
					color: white;
				}
		
		#workarea .col-center {
			margin-left: 229px;
			margin-right: 29px;
		}
		
			#content {
				/*overflow: hidden;*/
				margin: 0px 10px;
				text-align: justify; /* Так вестают только мудаки */
			}

			*html #content {
				overflow: visible;
				height: 1%;
			}
			
	#footer {
		position: relative;
		padding: 10px 0px;
		margin: 15px 8px 20px 16px;
		padding-top: 15px;
		text-align: center;
		background: #913006 url("/bitrix/templates/hm_main/images/footer/angle.gif") no-repeat left top;
	}
	
		#counters {
			position: absolute;
			width: 180px;
			left: 20px;
			top: 13px;
			overflow: hidden;
		}

			#counters img {
				float: left;
				margin-right: 10px;
			}
		
		#copyright {
			color: white;
			font-size: 8pt;
		}
		
			#copyright a {
				color: white;
			}
			
		#tech-menu {
			position: absolute;
			right: 20px;
			top: 14px;
			text-align: right;
			padding-top: 10px;
		}
		
			#tech-menu img {
				float: left;				
				margin-left: 40px;
			}

/* Новости */

#news {
}

	.news-item {
		overflow: hidden;
		margin-bottom: 30px;
	}

	*html .news-item {
		overflow: visible;
		height: 1%;
	}

		.news-item img {
			float: left;
		}

		.news-item dl {
			display: block;
			margin-left: 130px;
		}

			.news-item dl dt {
				font-weight: bold;
			}
			
			.news-item dl dd {
				margin: 0px;
			}

/* Форма для гостевой книги */

#guest-book {
	width: 70%;
}

	#guest-book table{
		width: 100%;
	}
	
		#guest-book table td {
			padding: 3px 0px;
		}
	
			#guest-book table td span{
				padding-right: 10px;
				white-space: nowrap;
				width: 1%;
			}
			
		#guest-book table input {
			width: 60%;
		}

		#guest-book table textarea {
			width: 100%;
			height: 120px;
		}


/* Каталог */


#catalog-detail {		
	width: 100%;
	margin-bottom: 20px;
	border-bottom: 1px solid #BCB7B3;
}

	#catalog-detail .top {
		overflow: hidden;
		padding-bottom: 10px;
	}
	
	*html #catalog-detail .top {
		overflow: visible;
		height: 1%;
	}

		#catalog-detail .top img {
			float: left;
		}
		
		#catalog-detail .properties {
			float: left;
			margin-left: 10px;
		}
				
			#catalog-detail  dl dd .color {
				width: 15px;
				height: 15px;
				float: left;
				margin-right: 5px;
			}
		
			#catalog-detail .desc {
				padding: 10px 0px;
			}
			
				#catalog-detail .desc dt, #catalog-detail .desc dd {
					float: none;
				}
								
			#catalog-detail .price {
				font-size: 11pt;
			}

			#catalog-detail .additional {				
			}

				#catalog-detail .additional dt {
					float: none;
					padding: 5px 0px;
				}

				#catalog-detail .additional dd {
					overflow: hidden;
					margin-left: 0px;
				}

					#catalog-detail .additional dd img {
						float: left;
						margin-right: 10px;
						border: 1px solid #BCB7B3;
					}

			
#catalog-detail .bottom {
	overflow: hidden;
}
				
*html #catalog-detail .bottom {
	overflow: visible;
	height: 1%;
}

	#catalog-detail .bottom img {
		float: left;
		margin-right: 10px;
		border: 1px solid #BCB7B3;
	}

#catalog-list {
	overflow: hidden;
}

*html #catalog-list {
	overflow: visible;
	height: 1%;
}
					
				
	.catalog-item {
		float: left;
		/*width: 350px;*/
		margin-right: 10px;
		padding: 8px;
		overflow: hidden;
	}
	
	*html .catalog-item  {
		overflow: visible;
		height: 1%;
	}
	
		.catalog-item img {
			float: left;
			border: 1px solid #BCB7B3;			
		}
		
		.catalog-item .properties {
			margin-left: 108px;
		}
		
		.catalog-item .properties dl.price {
			font-size: 10pt;
			padding-top: 5px;
		}

.color {
	display: block;
	float: left;
	width: 16px;
	height: 16px;
	margin-right: 5px;
}

.photo-link img {
	border: 1px solid #BCB7B3;
}

#basket-table {
	width: 100%;
	border: 2px solid black;
}

	#basket-table td {
		padding: 5px;
		border: 1px solid black;
	}

	#basket-table .head {
		font-weight: bold;
	}

	#basket-table .head td {
		padding: 1px 5px;
	}

		#basket-table .total {
		}

			#basket-table .total td {
				font-weight: bold;				
			}

table.data-form {
	width: 98%;
}

	table.data-form td {
		padding: 5px 0px;
		vertical-align: middle;
	}

	table.data-form .param {
		text-align: right;
		padding-right: 5px;
		white-space: nowrap;
	}

	table.data-form .value {
	}

		table.data-form .value input {
			width: 100%;
		}

		table.data-form .value textarea {
			width: 100%;
			height: 90px;
		}

/* блок для расположения кнопок */

.buttons {
	margin: 16px 0px;
	overflow: hidden;
}

	*html .buttons {
		overflow: visible;
		height: 1%;
	}

.button {
	background-color: #912F05;
	padding: 3px 10px;
	color: white;
	cursor: pointer;
}

.change-value {
	width: 20px;
}

.guestbook-item {
	padding: 10px;
	background-color: #FAF9F5;
	margin-bottom: 20px;
	border: 1px dashed #CEA692;
}

	.guestbook-item:hover {
		border: 1px dashed #912F05;
	}

	.guestbook-item span {
		display: block;
	}

	.guestbook-item h4 {
		text-align: right;
		padding: .5em 0px;
	}

.select-color {
	width: 8em;
}

	.select-color option {
		padding-left: 20px;
	}
	
/* Карта сайта */

#sitemap-menu {
	width: auto;
}

	#sitemap-menu td {
		font-weight: bold;
		padding-right: 30px;
		padding-bottom: 10px;
	}
	
#sitemap-catalog {
}

	#sitemap-catalog .header {
		border-left: 5px solid #572727;
	}
	
		#sitemap-catalog .header span {
			display: block;
			padding: 5px;
			font-weight: bold;
			color: #572727;
			white-space: nowrap;
			background: url("/bitrix/templates/hm_main/images/workarea/white100.png") repeat;
		}
	
			#sitemap-catalog .header span:hover {
				cursor: pointer;
				text-decoration: underline;
			}

#leaders-list {
	overflow: hidden;
	padding-bottom: 15px;
}

*html #leaders-list{
	overflow: visible;
	height: 1%;
}
	
	#leaders-list a {
		display: block;
		float: left;
		width: 100px;
		font-weight: bold;
		padding-top: 110px;
		margin-right: 20px;
		margin-bottom: 20px;
		font-size: 10pt;
		color: #5A2E00;
		padding-bottom: 0.5em;
	}

#contacts {
	padding-top: 20px;
	padding-left: 15px;
	font-weight: bold;
	color: #990D28;
}
#contactsangstr {
	padding-top: 13px;
	padding-left: 15px;
	font-weight: bold;
	color: #990D28;
}

#votes {
	margin: 20px 0 10px 15px;
	padding: 10px;
	/*background-color: #912F05;*/
	border: 2px dashed #912F05;	
}

#votes a, #votes h2 {
}

#modules {
	border-bottom: 3px solid #922F06;
	margin-bottom: 20px;
	padding-bottom: 10px;
}

	#modules h2 {
		padding-top: 1.5em;
	}

	#modules table{
		width: 100%;
		font-size: 8pt;
	}

		#modules table tr.header td {
			font-weight: bold;
			color: white;
			background-color: #922F06;
		}

			#modules table td {
				padding: 5px 0px;
				text-align: center;
				vertical-align: middle;
			}

#recommended {
	overflow: hidden;
	padding-bottom: 15px;
	margin-bottom: 25px;
	border-bottom: 3px solid #922F06;
}

*html #recommended {
	overflow: visible;
	height: 1%;
}

/* Пользовательский код */

div.txt_main1 { padding-left: 4px; padding-right: 4px; padding-top: 10px; overflow: scroll;  height: 960px; overflow: auto; }
div.txt_halls { padding-left: 4px; padding-right: 4px; padding-top: 10px; }


  /* Ддя голосования */

  #votes-results {
  }

	#vote-results .vote-variant {
	  overflow: hidden;
	  padding: 5px 0px;
	  font-size: 9pt;
	  color: black;
	}

	*html #vote-results .vote-variant {
	  overflow: visible;
	  height: 1%;
	}

	#vote-results .vote-variant .caption {
		float: left;
		width: 100px;
		text-decoration: nowrap;
	}

	#vote-results .vote-variant .line {
		margin-left: 110px;
	}

	#vote-results .vote-variant .line span {
		float: left;
		display: block;
		height: 14px;
		margin-right: 5px;
	}

  .vote-item {
  }

	.vote-item .caption {
		font-weight: bold;
	}

	.vote-variant {
	  margin-left: 10px;
	  margin-top: 6px;
	}

		.vote-variant input {
		margin-right: 3px;
		}

		.vote-variant span {
		}

	#form-vote .msg {
		display: block;
		margin-top: 10px;
	}

	#import-table {
		overflow: scroll;
	}

	#import-table input {
		border: 0px none;
	}
  
	#import-table table {
		border: 2px solid silver;
	}	
  
		#import-table td {
			border: 1px solid silver;
			padding: 3px;
		}


.material-list {
	overflow: hidden;
}

*html .material-list {
	overflow: visible;
	height: 1%;
}

.material {
	float: left;
	width: 150px;
	height: 130px;
	padding: 0 15px 15px 0;
}

.material div {
	text-align: center;
}
