* {
	padding: 0;
	margin: 0;
}

html, body {
	width: 100%;
	background: #FFF url("images/bcg.jpg") repeat-x left bottom;
}

body {
	position: relative;
	font-family: "Arial";
	font-size: 75%;
	color: #353535;
	min-width: 1002px;
}

img {
	border: 0px none;
}

a, .link {
	color: #3DA553;
	text-decoration: underline;
	cursor: pointer;
}

	a:hover, .link:hover {
		color: #666;
	}

a.special, .link.special {
	text-decoration: none;
}

	a.special:hover, .link.special:hover {
		text-decoration: underline;
	}
p {
	padding: 10px 0px 10px 0px;
}

ul, ol {
	padding-left: 30px;
}

ul li {
	padding: 3px;
}

dt {
	font-weight: 600;
}

dd {
	margin-bottom: 10px;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	line-height: 100%;
}

h1 {
	color: #727272;
	font-size: 18pt;
	padding: 10px 0px;
}

h2 {
	color: #727272;
	font-size: 14pt;
	padding: 10px 0px;
}

	h2 a {
		text-decoration: none;
	}

		h2 a:hover {
			text-decoration: underline;
		}

h3 {
	color: #516C59;
	font-size: 130%;
	padding: 2em 0px .3em 8px;
	margin-bottom: .7em;
	border-bottom: 1px solid #516C59;
	font-weight: bold;
}

	h3 a {
		text-decoration: none;
	}

		h3 a:hover {
			text-decoration: underline;
		}

h4 {
	font-weight: bold;
	color: #626262;
	font-size: 9pt;
	padding-bottom: 1em;
}

	h4 a {
		color: #626262;
		text-decoration: none;
	}

		h4 a:hover {
			text-decoration: underline;
		}

h5 {
	padding: 3px 0px;
}

table {	
	border-collapse: collapse;
}

	table td {
		text-align: left;
		vertical-align: top;
	}

input.border {
	height: 19px;
	border: 1px solid #B8B8B8;
}

select {
	height: 19px;
	border: 1px solid #B8B8B8;
}

textarea {
	font-family: "Arial";
	font-size: 9pt;
}

hr {
	width: 100%;
	height: 1px;
	border: 0px none;
	background-color: #AAA;
	margin: 5px 0px 10px 0px;
}

/* Выделение */

.error {
	border: 2px solid red;
}

.silver {
	color: #666;
}

.red {
	color: red;
}

.green {
	color: #5AA36E;
}


/* Классы */

.col-left {
	float: left;
	width: 190px;
	padding: 0px 20px;	
}

.col-right {
	float: right;
	width: 190px;
	padding: 0px 20px;	
}

.col-center {
	margin: 0px 240px;	
}

*html .col-center {
	overflow: visible;
	height: 1%;
}

td.menu-item {
	white-space: nowrap;
}

td.menu-separator {
	width: 15%;
}




#wrapper {
	padding: 0px 2%;
	max-width: 1280px;
	margin: 0 auto;
}

	/* Шапка */

	#header {
		position: relative;
		height: 59px;
		padding-top: 33px;
		background: url("images/header/bcg.jpg") repeat-x left bottom;
		border-bottom: 1px solid #CCC;
	}

		#banner-top {
			position: absolute;
			z-index: 10;
			left: 50%;
			top: 20px;
			margin-left: -200px;
		}

		#logo {
			float: left;
			display: block;
			width: 216px;
			height: 47px;
			margin-left: 21px;
			background: url("images/header/logo.png");
		}

		#search-box {
			float: right;
			padding-right: 100px;
			padding-left: 25px;
			overflow: hidden;
			background: url("images/header/lupa.png") no-repeat left 4px;
		}

		*html #search-box {
			overflow: visible;
			height: 1%;
		}

			#search-box .left {
				float: left;
				width: 107px;
				height: 26px;
				padding: 4px 8px 0px 8px;
				margin-top: 2px;
				background: url("images/header/search-input.png") no-repeat;
			}

			html* #search-box .left {
				padding-top: 3px; /* отступ сверху на 1px меньше для IE7 */
			}

				#search-box .left input {
					width: 107px;
					height: 15px;
					font-size: 9pt;
					background-color: #F9F7F8;
					color: #5D5D5D;
					border: 0px none;
				}

			#search-box .right {
				margin-left: 128px;
			}

				#search_btn {
					width: 37px;
					height: 26px;
					color: white;
					border: 0px none;
					background: url("images/header/search-btn.png");
				}

	/* Меню сверху */

	#menu-bar {
		padding: 11px 0px;
		padding-left: 21px;
		margin-top: 1px;
		border-top: 1px solid #EFEFEF;
		border-bottom: 1px solid #EFEFEF;
		background-color: #FFF;
		font-size: 11pt;
		color: #AAA;
	}

		#menu-bar table {
			width: 60%;
		}

		#menu-bar a {
			color: black;
		}

  /* Меню снизу */

	#menu-bar-bottom table {
		display: none;
		width: 55%;
	}

		#menu-bar-bottom table a {
			color: #727272;
		}

	/* Контент */

	#content {
	}
	
	*html #content {
		overflow: visible;
		height: 1%;
	}

	/* Навигационная цепочка */

	#navigate {
		padding-bottom: 15px;
	}

		.breadcrumb-navigation {
		}

	/* Панель с информацией*/

	#info {
		height: 31px;
		padding-top: 16px;
		padding-right: 20px;
		margin-top: 1px;
		text-align: right;
		background: white url("images/header/info-bcg.png") repeat-x;
	}

		#info span {
			padding-left: 20px;
			margin-left: 10px;
			color: black;
			background: url("images/header/list-style-image.png") no-repeat left center;
		}

			#info span a {
				color: black;
			}

	/* Рабочая область */

	#workarea {
		background-color: #FFF;
		padding-bottom: 100px;
		overflow: hidden;
	}
	
	*html #workarea {
		overflow: visible;
		height: 1%;
	}

		#brand-to-type, #type-to-brand{
			height: 304px;
		}

		#brand-to-type {
			text-align: right;
		}


		#banner {
			height: 304px;
			text-align: center;
			background: url("/bitrix/templates/.default/images/content/banner-bcg.png") repeat-x;
		}

			.catalog-item {
				height: 15px;
				padding-top: 8px;
				font-size: 10pt;
				font-weight: bold;
				color: #000;
			}

				.catalog-item a {
					color: #487151;
				}

					.catalog-item a:hover {
						color: #2DA84D;
					}

  /* Меню товаров (в ul/li для Opera/Firefox/Safari) */

  .root-list, .root-list li, .root-list ul {
	  list-style: none;
	  margin: 0;
	  padding: 0;
  }

  .root-list {
	  display: block;
	  width: 180px;
	  position: relative;
  }

  #brand-to-type .root-list {
	float: right;
  }

  .root-list li {
	display: block;
	height: 20px;
  }

  #type-to-brand .root-list li a {
	padding-right: 15px;
  }

  #brand-to-type .root-list li a {
	padding-left: 15px;
  }

  .root-list li ul {
	  position: absolute;
	  display: none;
	  width: 180px;
	  padding: 0px 5px;
	  left: 122px;
	  margin-top: -18px;
	background: white url("/bitrix/templates/.default/images/content/content-child-list-bcg.jpg") repeat-y left;
  }

  #brand-to-type .root-list li ul {
	left: -134px;
	background: white url("/bitrix/templates/.default/images/content/content-child-list-bcg2.jpg") repeat-y right;
  }

	.root-list li ul li {
	  height: auto;
	  font-size: 8pt;
	}

	  .root-list li ul li a {
		display: block;
		padding: 3px 0px;
		color: black;
	  }

  html* .root-list li ul {
	margin-top: -4px;
  }

  .root-list li:hover ul,
  .root-list li.sfhover ul {
	display: block;
	z-index: 100;
  }

  #type-to-brand .root-list li:hover a.level-1,
  #type-to-brand .root-list li.sfhover a.level-1 {
	color: #666;
	text-decoration: underline;
	background: url("images/content/arrow-right.png") no-repeat right 6px;
  }

  #brand-to-type .root-list li:hover a.level-1,
  #brand-to-type .root-list li.sfhover a.level-1 {
	color: #666;
	text-decoration: underline;
	background: url("images/content/arrow-left.png") no-repeat left 6px;
  }

	/* Новости */

	#news {
	}

		.news-item {
			overflow: hidden;
			margin-bottom: 20px;
		}

		*html .news-item {
			overflow: visible;
			height: 1%;
		}

			.news-item .title {
				margin-bottom: 10px;
			}

				.news-item .title a {
					font-weight: bold;
					font-size: 10pt;
					color: #457451;
				}

			.news-item .desc {
			}

				.news-item .desc a {
					color: #29AC4A;
				}

	/* Подвал */

	#footer {
		overflow: hidden;
		padding-bottom: 40px;
		background: url("images/footer/bcg.jpg") repeat-x;
	}

	*html #footer {
		overflow: visible;
		height: 1%;
	}

	#footer .right {
		float: right;
		height: 51px;
		padding-top: 28px;
		padding-right: 20px;
		background: url("images/footer/bcg-right.jpg") no-repeat right bottom;
	}

	#copyright {
	font-size: 8pt;
	color: #727272;
	text-align: right;
	}

		#copyright a {
		  color: #727272;
		}

	#footer .left {
		height: 44px;
		padding-top: 35px;
		padding-left: 20px;
		margin-right: 300px;
		background: url("images/footer/bcg-left.jpg") no-repeat left bottom;
	}

		*html #footer .left {
			/*overflow: visible;
			height: 1%;*/
		}


	/* Списки */

	.bags {
		margin-top: 20px;
		overflow: hidden;
	}

	*html .bags {
		overflow: visible;
		height: 1%;
	}

		.bags-item {
			display: block;
			float: left;
			width: 150px;
			padding: 8px 0px 8px 116px;
			text-decoration: none;
			margin-bottom: 20px;
		}

			.bags-item:hover {
				background-color: #DDD;
			}

			.bags-item span {
				display: block;
			}

			.bags-item img.photo {
				float: left;
				margin-left: -108px;
				border: 1px solid #DDD;
			}

			.bags-item span.price {
				color: #307235;
				padding-bottom: 5px;
			}

			.bags-item span.not-found {
				color: red;
			}



	/* Детальные описания */

	#bag-detail {
		color: #666;
		padding-bottom: 20px;
		border-bottom: 1px solid #CDCDCD;
	}

		#bag-detail .properties {
			padding-left: 320px;
			overflow: hidden;
		}

		*html #bag-detail .properties {
			overflow: visible;
			height: 1%;
		}

			#bag-detail .properties h3 {
				padding: 1em 0px 0px 0px;
			}

			#bag-detail .properties img {
				float: left;
				margin-left: -320px;
			}

			#bag-detail .properties dt {
				float: left;
				color: #556A5B;
				font-weight: normal;
				margin-right: 8px;
				white-space: nowrap;
			}

			#bag-detail .properties .articul {
				color: #556A5B;
				font-size: 10pt;
			}

			#bag-detail .properties .preview-text {
				display: block;
				margin: 20px 0px;
			}

		/* Фото */

		#bag-detail .photos {
			padding: 26px 0px 18px 0px;
			overflow: hidden;
		}

		*html #bag-detail .photos {
			overflow: visible;
			height: 1%;
		}

			#bag-detail .photos .text {
				float: left;
				width: 120px;
				padding-top: 13px;
				text-align: center;
				color: #666;
			}

			#bag-detail .photos .items {
				margin-left: 120px;
			}

				#bag-detail .photos img {
					border: 1px solid #D6D6D6;
					margin-right: 24px;
				}

	#basket-icon {
		display: block;
		float: left;
		width: 28px;
		height: 28px;
		margin-right: 5px;
		cursor: pointer;
		background: url("/bitrix/templates/.default/images/content/add-to-basket.jpg") no-repeat;
	}
	
	#add-to-basket {
		width: 120px;
		height: 22px;
		padding-left: 32px;
		padding-top: 8px;
		margin-bottom: 20px;
		cursor: pointer;
		background: url("/bitrix/templates/.default/images/content/add-to-basket.jpg") no-repeat left center;		
	}

	#add-to-basket:hover {		
		text-decoration: underline;
	}

	/* Форма отправки сообщений */

	.data-table {
		width: 100%;
	}

		.data-table td {
			padding: 10px 0px;
		}

		.data-table .param {
			white-space: nowrap;
			text-align: right;
		}

		.data-table .value {
			width: 100%;
		}

			.data-table .value input {
				float: right;
				width: 98%;
		border: 1px solid #C3C3C3;
			}

			.data-table .value select {
		margin-left: 2%;
		border: 1px solid #C3C3C3;
			}

			.data-table .value textarea {
				float: right;
				width: 98%;
				height: 120px;
				border: 1px solid #C3C3C3;
			}


	/* Сортировка */

	#sort-settings {
		background-color: #EEE;
		padding: 8px;
	}

		#sort-settings span {
			padding-right: 5px;
		}

	/*.color-item {
		float: left;
		width: 19px;
		height: 19px;
		margin-right: 10px;
	}*/

	#basket-table {
		width: 100%;
	}

		#basket-table td {
			padding: 5px;
			border: 4px solid #FFF;
		}

		#basket-table .head {
	  font-weight: bold;
			background-color: #CCC;
		}

		  #basket-table .head td {
			padding: 1px 5px;
	  }

		#basket-table .total {
		}

		  #basket-table .total td {
		font-weight: bold;
			background-color: #D7FFBE;
	  }

	/* Кнопка (серая) */

	.button-silver {
		width: 100px;
		overflow: hidden;
		color: #FFF;
		text-align: center;
		cursor: pointer;
		background: url("/bitrix/templates/.default/images/content/btn-silver-center.jpg") repeat-x;
	}

	*html .button-silver {
		overflow: visible;
		height: 1%;
	}

		.button-silver .left {
			float: left;
			width: 8px;
			height: 21px;
			background: url("/bitrix/templates/.default/images/content/btn-silver-left.jpg");
		}

		*html .button-silver .left {
			margin-right: -8px;
		}

		.button-silver .right {
			float: right;
			width: 8px;
			height: 21px;
			background: url("/bitrix/templates/.default/images/content/btn-silver-right.jpg");
		}

		*html .button-silver .right {
			margin-left: -8px;
		}

		.button-silver .center {
			height: 18px;
			padding-top: 3px;
			margin: 0px 8px;
			color: white;
			background: url("/bitrix/templates/.default/images/content/btn-silver-center.jpg") repeat-x;
		}
		
		.button-silver input.center {
			padding-top: 0px;
			height: 21px;
			margin: 0px;
			border: 0px none;
		}

	/* Кнопка (зеленая )*/

	.button-green {
		width: 100px;
		overflow: hidden;
		color: #FFF;
		text-align: center;
		cursor: pointer;
	}

	*html .button-green {
		overflow: visible;
		height: 1%;
	}

		.button-green .left {
			float: left;
			width: 12px;
			height: 25px;
			background: url("/bitrix/templates/.default/images/content/btn-green-left.jpg");
		}

		*html .button-green .left {
			margin-right: -12px;
		}

		.button-green .right {
			float: right;
			width: 12px;
			height: 25px;
			background: url("/bitrix/templates/.default/images/content/btn-green-right.jpg");
		}

		*html .button-green .right {
			margin-left: -12px;
		}

		.button-green .center {
			height: 20px;
			padding-top: 5px;
			margin: 0px 12px;
			font-weight: bold;
			background: url("/bitrix/templates/.default/images/content/btn-green-center.jpg") repeat-x;
		}

		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;
			  }

		/* Прочее */

		.change-value {
		  width: 20px;
		}

	.catalog-all a {
		display: inline;
		padding-top: 5px;
		border-top: 1px solid #666;
	}

	#order {
	  margin-top: 20px;
	}



	.buttons { /* блок для расположения кнопок */
		margin: 16px 0px;
		overflow: hidden;
	}

	*html .buttons {
	  overflow: visible;
	  height: 1%;
	}


  /* Файловый диалог */

  input.file-name {
  }

  /* Ддя голосования */

  #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 {
		color: #3DA553;
	}

	.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;
		}

#colors {
	overflow: hidden;
}

*html #colors {
	overflow: visible;
	height: 1%;
}
	  
.color-item {
	float: left;
	width: 50px;	
	margin-right: 3px;
	text-align: center;
}

	.color-item .color {
		height: 15px;
	}
	
	.color-item .caption {
		padding: 2px 0px;
	}
	
	.color-item .radio {
		padding: 2px 0px;
	}

.overflow-hidden {
	overflow: hidden;
}

*html .overflow-hidden {
	overflow: visible;
	height: 1%;
}

#order .overflow-hidden {
	padding-bottom: .6em;
}

#order .l {
	float: left;
	width: 120px;
	text-align: right;
}

#order .r {
	margin-left: 130px;
}

#error-message {
	display: none;
}