/* Основные настойки */
body {margin: 0; background: url(../images/bg-top.png) #ffffff repeat-x;}
body, td, th {font-family: Arial; color: #4d4d4d; line-height: 18px; font-size: 14px;}
body, html {padding: 0; margin: 0; width: 100%; height: 100%;}

/* Основное оформление ссылок */
a {color: #DF1A22;}
a:hover {color: #000000;}

img {}

form {padding: 0; margin: 0;}

/* Чиним недоразвитость IE */
td, img, div, li {behavior: url(iepngfix.htc);}


/* Листинг */
li ul, li ol { margin-top: 0; margin-bottom: 0;}
li { margin: 0 0 0.5em 0; }
ul { list-style-type: none; }
ul li {padding: 0;}

ul > li:before {content: '\2014\a0'; color: #999999; float: left; margin-left: -1.8em; padding-right: 0.5em; white-space: nowrap;}

ul li {
	behavior: expression(
	(!this.before && parentNode && parentNode.tagName == 'UL')
	?
	(this.before = true)
		& (parentNode.style.listStyleImage = 'none')
		& (
			(this.firstChild && this.firstChild.firstChild)
			?
			(this.firstChild.style.marginTop = '-1.2em') & (this.firstChild.style.position = 'relative')
			: ''
		)
		& (eNobr = document.createElement('<nobr class="dash" />'))
		& (eNobr.innerHTML = '&mdash;&nbsp;')
		& (this.insertBefore(eNobr, this.firstChild))
	: '');
}
ul .dash {color: #999999; position: relative; display: block; width: 1.25em; left: -1.8em; margin: 0 -1.8em -1.45em 0;}

.nobullets {padding: 0; margin: 0;}
.nobullets li {behavior: expression('');  margin: 0; padding: 0;}
.nobullets li:before {content: ''; float: none; margin: 0; padding: 0;} 

/* Вспомогательные элементы */
.clear {clear: both; line-height:1%; margin-bottom:-1px; height:1px; overflow:hidden;}

/* Ширина завсит от разрешения */
#measurer {width: 100%;	height: 1em; position: absolute; left: 0; top: -1em; visibility: hidden; line-height: 1em;}

#around {position: relative; min-height: 100%; min-width: 500px; max-width: 982px;}

* html div#around {
width: expression(
	(
		document.getElementById('measurer')
		&& document.getElementById('measurer').clientWidth < 510
	)
	?	'500px'
	:	(
			document.getElementById('measurer')
			&& document.getElementById('measurer').clientWidth < 990
		)
		?	'100%'
		:	'982px'
);
height: 100%;
}

/* Заголовки */
h1 {padding: 15px 0 5px 0; margin: 0; color: #DF1A22; font-size: 24px; font-weight: normal; line-height: 30px;}
h2 {padding: 15px 0 5px 0; margin: 0; color: #DF1A22; font-size: 18px; line-height: 24px;}
h3 {padding: 15px 0 5px 0; margin: 0; color: #DF1A22; font-size: 15px; line-height: 22px;}
h4 {padding: 15px 0 5px 0; margin: 0; color: #DF1A22; font-size: 14px; line-height: 20px;}

/* Основная таблица */
table.layout {width: 100%; height: 100%; background: url(../images/bg-bottom.jpg) bottom repeat-x;}
table.layout td.t1 {width: 20%; height: 100%; padding-left: 20px;	vertical-align: top;}
table.layout td.t2 {width: 4%;}
table.layout td.t3 {width: 76%; height: 100%; vertical-align: top;}

div.Logo {text-align: center;}

div.cath {background: url(../images/c-line.gif) bottom repeat-x; padding: 30px 10px 15px 0; color: #000000; font-family: Verdana; font-size: 17px;}

/* Левое меню */
ul.LeftCatalog {padding: 0; margin: 0;}
ul.LeftCatalog li {padding: 10px; border-bottom: 1px solid #e1e1e1; font-family: Arial; font-size: 14px;}
ul.LeftCatalog li a {color: #DF1A22;}
ul.LeftCatalog li a:hover {color: #000000;}
ul.LeftCatalog .selected {font-weight: bold;}

/* Правое меню */
ul.RightMenu {padding: 0 0 0 20px; margin: 0; list-style: none; }
ul.RightMenu li {padding: 5px 5px 8px 0; font-family: Arial; font-size: 14px;}
ul.RightMenu .selected {}
ul.RightMenu li a {color: #DF1A22;}
ul.RightMenu li a:hover {color: #000000;}
ul.RightMenu li a.selected {font-weight: bold;}
ul.RightMenu li {color: #DF1A22;}
ul.RightMenu .l1 {margin-left: 18px; font-size: 12px; padding: 3px 3px 3px 0;}
ul.RightMenu .l2 {margin-left: 35px; font-size: 11px; padding: 3px 3px 3px 0;}
ul.RightMenu .l3 {margin-left: 35px; font-size: 11px; padding: 3px 3px 3px 0;}

h1.RightSubMenuCatName {padding: 0 0 10px 0; font-size: 16px; color: #4d4d4d; line-height: 20px; font-weight: bold;}


/* Блок с телефонами */
div.Phones {padding: 10px 10px 10px 8px; margin-top: 30px; background: url(../images/r-line.gif) no-repeat; text-align: center; font-size: 13px; color: #6a6b6d;}
div.Phones p {text-align: left;}
div.Phones div.Numbers {padding-right: 20px; font-size: 32px; color: #595959; line-height: 24px;}
div.Phones div.Numbers span.Code {font-size: 16px; color: #7a7a7a;}
div.Phones div.Numbers span.sp {padding: 19px;}

/* Основное меню */
table.TopMenu {width: 100%; padding: 30 0 0 0;}
table.TopMenu td.m1 {padding: 0 20px 10px 0; font-family: Tahoma; font-size: 17px; line-height: 24px; text-align: center;}
table.TopMenu td.m1 span.sep {padding: 8px; font-family: Arial; color: #df1a22;}
table.TopMenu td.m1 a {font-family: Tahoma;}
table.TopMenu td.m1 a.selected {color: #000000;}
table.TopMenu td.m1 a.selected:hover {text-decoration: none;}
table.TopMenu td.m2 {padding-top: 22px; padding-right: 10px; text-align: right;}

/* Шапка на главной*/
table.MainTopPart {width: 100%;}
table.MainTopPart td.build1 {width: 100%; padding-top: 15px; background: url(../images/build-bg.gif) right bottom no-repeat; text-align: center;}
table.MainTopPart td.build2 {text-align: right; padding-top: 30px; padding-right: 30px;}
table.MainTopPart td.build3 {background-color: #DF1A22; padding: 10px 10px 15px 30px;}
table.MainTopPart td.build3 div.t {width: 90%; text-align: justify; color: #FCF2BE;}
table.MainTopPart td.build3 div.t a {font-size: 14px; color: #ffffff;}
table.MainTopPart td.build3 div.t a:hover {color: #FCF2BE;}
table.MainTopPart td.build4 {background-color: #DF1A22; text-align: right; padding-right: 30px; vertical-align: top;}

/* Шапка на внутренних страницах */
table.MainTopPart td.build3_2 {background: url(../images/build-bg2l.gif) left bottom no-repeat; background-color: #DF1A22; padding: 5px 5px 5px 25px;}
table.MainTopPart td.build3_2 h1 {margin: 0; padding: 0; font-family: Verdana; font-weight: normal; font-size: 17px; color: #FCF2BE;}

/* Основная таблица на главной */
table.IndexMain {width: 100%;}
table.IndexMain td.c1 {width: 49%; vertical-align: top;}
table.IndexMain td.c2 {width: 2%;}
table.IndexMain td.c3 {width: 49%; vertical-align: top;}

/* Основная таблица на всех страницах */
table.MainTextTable {width: 100%; padding: 20px;}
table.MainTextTable td.c1 {}
table.MainTextTable td.c2 {width: 4%;}
table.MainTextTable td.c3 {width: 25%; padding: 30px 20px 30px 20px;}

/* ОСНОВНОЙ ТЕКСТ */
div.ContentTextBlock {padding: 0; margin: 0;}

.page_title h1 {margin-top: 1px !important; color: #df1a22;}

div.IndexCatName {padding: 20px 10px 20px 0; margin: 10px 0 0 10px; background: url(../images/g-line.gif) left bottom no-repeat; color: #6a6b6d; font-family: Verdana; font-size: 17px;}

/* Каталог на главной странице */
div.IndexCatalog {padding: 20px 0 30px 20px;}
div.IndexCatalog div.CatItem {padding: 0; margin: 0;}
div.IndexCatalog div.CatItem div.Head {background: url(../images/np-bg.jpg) bottom repeat-x; }
div.IndexCatalog div.CatItem div.Head div.bg {height: 100%; background: url(../images/np.gif) left bottom no-repeat; }
div.IndexCatalog div.CatItem div.Head div.bg div.l {padding: 5px 0px 30px 15px;}
div.IndexCatalog div.CatItem div.t {margin: 10px 20px 20px 60px; color: #4d4d4d;}

/* Подвал сайта и копирайты */
table.Bottom {width: 100%; margin-top: 30px;}
table.Bottom td.l {width: 24%; padding: 30px; font-family: Tahoma; font-size: 11px; color: #7a7a7a; line-height: 14px;}
table.Bottom td.r1 {width: 46%; padding: 15px 20px 30px 20px; border-top: 3px solid #df1a22; vertical-align: top; font-family: Tahoma; font-size: 11px; line-height: 18px;}
table.Bottom td.r2 {width: 30%; padding: 10px; border-top: 3px solid #df1a22; vertical-align: top; text-align: right;}

/* Копирайт дизайнера - пусть порадуется ;) */
table.Design td {font-family: Tahoma; font-size: 11px; color: #6a6b6d;}
table.Design td a {color: #6a6b6d;}
table.Design td a:hover {color: #DF1A22;}

/* МОДУЛИ */

/* Последние новости*/
div.LatesNews {padding: 20px 20px 30px 20px;}
div.LatesNews div.Date {font-size: 11px; color: #6a6b6d;}
div.LatesNews div.NewsItem {padding: 0 0 10px 0; color: #4d4d4d;}
div.LatesNews div.NewsArchive {font-size: 14px;}

/* Новости */
div.News {padding: 5px 0 0 0; margin: 0; font-size: 14px;}
div.News div.NewsItem {padding: 0 0 15px 0; margin: 0; line-height: 20px;}
div.News div.Date {font-size: 11px; color: #6a6b6d;}
div.News h1 {margin: 0 0 10px 0; padding: 0; color: #DF1A22; font-size: 20px; line-height: 20px; font-weight: normal;}

.NewsItem .n_link {font-size: 15px; line-height: 20px;}
.NewsItem .a_link {font-family: Verdana; font-size: 17px; line-height: 20px;}

/* Календарь */
div.calendar {margin: 0; padding: 0 0 25px 0;}
div.calendar ul.navigation {clear; list-style-type: none; font-size: 100%; margin: 20px 10px 10px 0; padding: 0;}
div.calendar ul.navigation li {clear; margin-right: 15px; display: inline;}

/* Сообщение об ошибке */
div.Error {padding: 5px 0 5px 0;	color: red;}
div.MailWasSent {padding: 20px;}

/* Таблица цен */
table.PriceTable {border-top: 1px solid #e1e1e1; border-left: 1px solid #e1e1e1;}
table.PriceTable th {border-bottom: 1px solid #e1e1e1; border-right: 1px solid #e1e1e1; font-size: 12px; background: #f4f4f4; color: #4d4d4d;}
table.PriceTable td {border-bottom: 1px solid #e1e1e1; border-right: 1px solid #e1e1e1; font-size: 12px; color: #4d4d4d;}
table.PriceTable td h1 {font-size: 18px;}

/* Справка */
div.Help {font-size: 13px;}

/* Хлебные крошки */
.Breadcrumbs {position: relative; margin: 0;}
.Breadcrumbs ul {padding: 0; margin: 0;}
.Breadcrumbs ul li { padding: 0 12px 0 5px; margin: 0; display: inline; font-family: Tahoma; font-size: 0.8em; background: url(/images/arrow-right.gif) no-repeat; background-position: 100% 60%; }
.Breadcrumbs ul li.selected {padding: 0 8px 0 5px; -padding-left: 5px; margin: 0; background: url(/images/arrow-down.gif) no-repeat; background-position: 100% 80%; }
.Breadcrumbs a {color: #fcf2be;}
.Breadcrumbs a:hover {color: #ffffff;}

.pic {border: 1px solid #dadada;}
