html {
	background: #11100f;
}
* html { filter: expression(document.execCommand("BackgroundImageCache", false, true)); }

html, body {
	width: 100%;
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-width: 998px;
	position: relative;
}

h1 {
	margin-top: 0;
}

#li_counter {
		display: none;
		position: absolute;
}

	/* раскладка базовых блоков */
#body_wrapper {
	left: 50%;
	float: left;
	width: 880px;
	min-height: 100%;
	position: relative;
	margin-left: -450px;
}
* html #body_wrapper {
	height: 100%;
}

		/* раскладка колонок */
#content_wrapper {
	float: left;
	width: 100%;
}

			/* главная колонка */
#content_wrapper .content {
	padding-bottom: 100px;
	margin: 0 77px 0 283px;
}
#content_wrapper .content2 {
	padding-bottom: 0px;
	margin: 0 77px 0 283px;
}

#illustration {
	margin-bottom: 25px;
	border: 10px solid #89b403;
}
#page { padding-bottom: 100px; }

				/* менюшка локальных категорий */
#categories {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#categories li {
	margin: 10px 0;
	line-height: 100%;
}

#categories li span {
	padding: 3px 0;
	display: inline-block;
}
* html #categories li.active span { display: inline; }
#categories li a { outline: none; }

#categories li.active span {
	right: -15px;
	position: relative;
	padding-left: 15px;
	padding-right: 15px;
	background: #89b403;
}
				/* конец менюшки локальных категорий */

				/* менюшка подкатегорий */
#submenu {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#submenu li {
	margin: 10px 0;
	line-height: 100%;
}
#submenu li span {
	padding: 3px 0;
	display: block;
	text-decoration: underline;
}
#submenu li a:hover span { text-decoration: none; }

#submenu li a { outline: none; }

#submenu li.active span {
	right: -15px;
	position: relative;
	padding-left: 15px;
	padding-right: 15px;
	background: #89b403;
}
				/* конец менюшки подкатегорий */

				/* форма отправки сообщения */
form {
	margin: 0;
	width: 100%;
}

form div {
	margin: 0 0 15px 0;
	width: 482px;
	position: relative;
}
form div div {
	margin: 0;
	width: 100%;
	border: 1px solid #fff;
}

form label {
		display: block;
		margin-bottom: 3px;
}

form input,
form textarea {
	width: 460px;
	padding: 10px;
	display: block;
	border: 1px solid #c4c4ba;
	background: #fff url('/design/images/ui-formitems-background.gif') top center repeat-x;
}
* html form input,
* html form textarea { width: 480px; }

form input { height: 27px; }
* html form input { height: 47px; }

#scode-img {
	top: 25px;
	z-index: 5;
	right: 5px;
	position: absolute;
}

				/* большая серая кнопка */
form .submit { text-align: center; }
form .submit div {
	width: auto;
	border: none;
	position: relative;
	padding-left: 25px;
	display: inline-block;
	background: url('/design/images/left-button.png') left center no-repeat;
}
* html form .submit div { display: inline; }

form .submit button {
	border: none;
	outline: none;
	background: url('/design/images/right-button.png') right center no-repeat;
}
form .submit button span {
	height: 38px;
	display: block;
	padding-top: 17px;
	margin: 0 53px 0 25px;
}
					/* конец большой серой кнопки */
				/* конец формы отправки сообщения */

	/* список ссылок с иконками */
.links {
	margin: 0;
}
.links dt { margin-bottom: 10px; }

.links dd { margin: 0; }

.links dd.icon {
	margin-bottom: 5px;
	padding: 0 0 7px 27px;
	background-repeat: no-repeat;
	background-image: url('/design/images/filetype_icons.png');
}

.links dd.icon.label {
	margin-top: -15px;
	background: none;
}

.links dd.icon.xls { background-position: 0 0; }
.links dd.icon.doc { background-position: -30px 0; }
.links dd.icon.pdf { background-position: -60px 0; }
.links dd.icon.rar { background-position: -90px 0; }

.links dd * {
	display: inline-block;
	padding-bottom: 5px;
	background: #11100f;
}
* html .links dd * { display: inline; }
				/* конец списка ссылок с иконками */

				/* таблица */
table {
	width: 100%;
	empty-cells: show;
	border-spacing: 0;
	border-top: 1px solid #89b403;
	border-left: 1px solid #89b403;
}

table th,
table td {
	padding: 5px 7px;
	border-right: 1px solid #89b403;
	border-bottom: 1px solid #89b403;
}

table .sub {
		padding-left: 20px;
}

table .odd {
	background: #89b403;
}
				/* таблица */

				/* адреса и координаты */
#vcard {
	margin: 0;
	padding: 0;
}

#vcard dt { margin-bottom: 3px; }
#vcard dd {
	margin: 0 0 15px 0;
}
				/* конец адресов и координат */

				/* галерея */
#gallery {
	width: 100%;
	float: left;
	padding-bottom: 70px;
}

#gallery .row {
	width: 100%;
	float: left;
	margin-bottom: 50px;
}

#gallery .row div {
	width: 270px;
	float: left;
	margin-right: 34px;
}
#gallery .row div.right { margin: 0; }

#gallery .row div .comment {
	display: block;
	margin-top: 3px;
}

#gallery .row div img {
	border: none;
	display: block;
	margin-bottom: 30px;
}
				/* конец галереи */

			/* колонка с навигацией */
#navigation {
	float: left;
	width: 283px;
	margin-left: -880px;
}

#navigation .catalog {
	width: 188px;
	text-align: right;
	margin: 0 15px 0 auto;
}


			/* дополнительная колонка */
#extra {
	float: left;
	width: 77px;
	margin-left: -77px;
}

#extra #previews {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#extra #previews li {
	text-align: center;
}

#extra #previews a {
	outline: none;
	display: inline-block;
}

#extra #previews .active a {
	padding-left: 9px;
	background: url('/design/images/preview_corner.png') 0 50% no-repeat;
}

#extra #previews img {
	display: block;
	position: relative;
	border: 3px solid #11100f;
}
#extra #previews .active img { left: -4px; }

#extra #previews .active img { border: 3px solid #89b403; }
		/* конец раскладки колонок */

		/* шапка */
#body_wrapper #header {
	z-index: 2;
	width: 100%;
	height: 277px;
	position: relative;
}

#header #logo {
	right: 0;
	top: 57px;
	width: 100px;
	height: 88px;
	z-index: 3;
	position: absolute;
	background: url('/design/images/mariles-logo.png');
}
#header #logo a {
	width:  100%;
	height: 100%;
	display: block;
}
#header #logo span { display: none; }

#header #main-menu {
	margin: 0;
	padding: 0;
	height: 180px;
	list-style-type: none;
	background: url('/design/images/menu-illustrations1.jpg') -22px 18px no-repeat;
}
#header #main-menu li {
	float: left;
	width: 95px;
	padding-top: 180px;
	position: relative;
}
#header #main-menu li.illust.lining { width: 173px; }
#header #main-menu li.illust.doors { width: 167px; }
#header #main-menu li.illust.accessories { width: 181px; }
#header #main-menu li.illust.furniture { width: 110px; }
#header #main-menu li.prices { width: 69px; }
#header #main-menu li.information { width: 118px; }
#header #main-menu li.contacts { width: 60px; }

		/* подвал */
#footer {
	left: 0;
	bottom: 0;
	width: 100%;
	clear: left;
	height: 70px;
	position: absolute;
}

#footer p {
	margin: 0;
}

#footer .copyright {
	width: 253px;
	padding-left: 30px;
	background: url('/design/images/footer-logo.png') left center no-repeat;
}

#footer .phone {
	top: 0;
	left: 283px;
	position: absolute;
}

#footer #alronix {
	top: 0;
	right: 0;
	width: 141px;
	position: absolute;
	padding-right: 84px;
}

#footer #alronix_logo {
	right: 0;
	top: 0px;
	width: 74px;
	position: absolute;
}

#footer #alronix img { border: none; }

	/* конец подвала */
