/* Основные настойки */
body {height: 100%;}
body, td, th {font-size: 0.95em; font-family: Arial; line-height: 19px; color: #000000;}
body, html {padding: 0; margin: 0; width: 100%; height: 100%;}
body#main {background: #888888;}

/* Основное оформление ссылок */
a {color: #0d024c;}
a:hover {color: #9d6f21;}

img {border: none;}

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: #9e0039; 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: #9e0039; position: relative; display: block; width: 1.25em; left: -1.8em; margin: 0 -1.8em -1.45em 0;}

.nobullets ul {padding: 0; margin: 0;}
.nobullets li {behavior: expression('');}
.nobullets li:before {content: ''; float: none; margin: 0; padding: 0;} 

/* Заголовки */
h1 {font-family: Arial; margin: 25px 0 15px 0; font-size: 1.8em; font-weight: normal; color: #0d024c; line-height: 30px;}
h2 {font-family: Arial; margin: 25px 0 15px 0; font-size: 1.4em; font-weight: normal; color: #85602b; line-height: 24px;}
h3 {font-family: Arial; margin: 25px 0 10px 0; font-size: 1.1em; font-weight: normal; color: #85602b; line-height: 22px;}
h4 {font-family: Arial; margin: 25px 0 10px 0; font-size: 1em; font-weight: normal; color: #85602b; line-height: 20px;}

/* Ширина завсит от разрешения */
#measurer {width: 100%;	height: 1em; position: absolute; left: 0; top: -1em; visibility: hidden; line-height: 1em;}

/* Вспомогательные элементы */
.clear {clear: both; line-height:1%; margin-bottom:-1px; height:1px; overflow:hidden;}

/* 
  ///////////  Основные элементы оформления /////////////
*/

#conteiner { background:  url(/images/bg.jpg) no-repeat top right; min-height: 100%; width:976px; margin:0 auto; padding:0;}
* html #conteiner {height: 100%;}

#conteiner-inner { background:  url(/images/bg-inner.jpg) no-repeat top right; min-height: 100%; width:976px; margin:0 auto; padding:0;}
* html #conteiner-inner {height: 100%;}

#conteiner_main {padding-bottom: 80px;}

/* Меню вверху страниц */
#top_menu {background: #0d024c url(/images/top_menu_l.gif) no-repeat top left; float:left;height: 41px; margin:0;}
#top_menu_r {background: url(/images/top_menu_r.gif) no-repeat top right; float:left; height: 41px;}
#top_menu ul {margin: 0; padding: 0;}
#top_menu ul li {float:left;}
#top_menu ul li div {margin: 0; float: left; height: 29px; padding:12px 24px 0 24px; color: #fbf5d4; font: bold 0.8em tahoma;}
#top_menu ul a {height: 29px; margin:0; padding:12px 24px 0 24px; color: #eee192; font: bold 0.8em tahoma; float:left;}
#top_menu ul a:hover {background:  url(/images/activ.gif) no-repeat top center;}
#top_menu ul a#l_act:hover {background:  url(/images/activ.gif) no-repeat top left;}
#top_menu ul a#r_act:hover {background:  url(/images/activ.gif) no-repeat top right;}
#top_menu ul .selected {color: #fbf5d4;}

#logo {width:230px;margin:36px 0 49px 0;float: left;}

/* Телефон на главной */
#phone {margin:0; padding:66px 0 0 137px; color: #85602b; font: 2.8em tahoma; float:left; line-height: 1em;} 
#phone span {margin:0 0 0 -3px; padding:0; color: #85602b; font: 14px tahoma; display: block} 

#mail {margin: 2px 0 0 0px;
	font-size: 0.45em;
}
   
/* Общий текст на главной */	  
.index-text-block {position:relative; padding:0 350px 0 0;}      
.index-text-block h3 {font-family: Arial; margin: 5px 0 15px 0; font-size: 1.8em; font-weight: normal; color: #0d024c; line-height: 30px;}
		  
/* Блок каталога на главной странице */
.install {margin: 25px 0 15px 0; background: #f9f9f9; padding: 12px;}
.install .we {margin: 5px 0 0 5px; font-family: Arial; font-size: 1.8em; color: #85602b; line-height: 30px;}
	
.gallery {width: 950px; margin:0; padding:0; text-align:center;}
.gallery td {margin:0; padding:20px 5px 15px 5px; text-align:center; vertical-align: top;}
.gallery .picture {background: #ffffff;}
.gallery .picture a {border: 1px dashed #d0d0d0; padding: 8px; display: block;}
.gallery .picture a:hover {border: 1px dashed #bf9958;}
.gallery .link {margin-top: 10px; font-weight: bold; font-size: 0.75em; font-family: tahoma; line-height: 1.3em;}

/* Сеошный текст */
.s-text {font-size: 0.85em; line-height: 1.4em; padding: 18px;}

/* Общий текст на внутренних страницах */	  
.pages-text-block {position:relative; padding:0 0 0 0;}      
/* .pages-text-block h3 {font-family: Arial; margin: 5px 0 15px 0; font-size: 1.8em; font-weight: normal; color: #0d024c; line-height: 30px;} */
.page_title h1 {font-family: Arial; margin: 5px 0 15px 0; font-size: 1.8em; font-weight: normal; color: #0d024c; line-height: 30px;}

.main-content-table {border-collapse: collapse;}
.main-content-table .r-dashed {vertical-align: top; padding: 0 0 50px 50px;}


/* Подменю справа */
#SubMenu {position: relative; margin-top: 80px;  width: 250px;}
#SubMenu .line {position: relative; float: left; margin-left: -1px;	height: 300px; width: 1px; border-left: 1px dashed #cfcfcf;}
#SubMenu ul {padding: 20px 0 20px 20px;}
#SubMenu ul li {padding: 0px 0px 3px 12px; border-bottom: 1px solid #ECECEC;} 
#SubMenu .selected {color: #990000;}
#SubMenu .selected:hover {color: #000000;}
#SubMenu .level1 {margin-left: 20px; font-size: 0.8em; background: url(/images/bullet.gif) no-repeat; background-position: 2px 5px; line-height: 15px;}
#SubMenu .level2 {margin-left: 40px; font-size: 0.75em; line-height: 15px; background: url(/images/bullet-s1.gif) no-repeat; background-position: 3px 5px;}
#SubMenu .level3 {margin-left: 60px; font-size: 0.75em; line-height: 14px;}
#SubMenu .level4 {margin-left: 80px; font-size: 0.75em; line-height: 14px;}


/* Оформляем картинки */
.pic {border: 4px solid #f0f0f0; margin: 5px;}

/* МОЛУЛИ */

/* Свежие новости */
.LatestNews {padding: 10px 20px 15px 20px; border: 1px; border-style: dashed; border-color: #d0d0d0;}
.LatestNews .n1 {float: left; width: 45%;}
.LatestNews .n2 {margin-left: 50%; width: 45%;}
.LatestNews .NewsItem {margin: 20px 0 10px 0;}
.LatestNews .Headline {padding: 10px 0 20px 0; border-bottom: 1px dashed #d0d0d0; -border: none;}
.LatestNews .Headline a {font-family: Arial; font-size: 1.6em; color: #85602b;}
.LatestNews .Headline a:hover {color: #703904;}
.LatestNews .NewsItem .n_link {font-size: 1.05em; font-family: arial;}
.LatestNews .NewsItem .a_link {font-size: 1.3em; font-family: arial; line-height: 22px;}
.LatestNews .Date {margin-top: 3px; padding-bottom: 2px; font-size: 0.7em; font-family: Tahoma; color: #909090;}

/* Новости */
.News {position: relative;}
.News .NewsItem {margin: 0 0 20px 0;}
.News .NewsItem .n_link {font-size: 1.2em; font-family: arial;}
.News .NewsItem .a_link {font-size: 1.4em; font-family: arial; line-height: 22px;}
.News .Date {margin-top: 3px; padding-bottom: 2px; font-size: 0.8em; font-family: Tahoma; color: #909090;}

/* Календарь */
.calendar {margin: 0; padding: 0 0 0 0;}
.calendar ul.navigation {list-style-type: none; font-size: 1em; margin: 20px 10px 10px 0; padding: 0;}
.calendar ul.navigation li {margin-right: 15px; display: inline;}
.calendar ul.navigation li.subscr {margin-right: 0;}
.calendar a:link, .calendar a:visited {color: #2D4E74;}
.calendar a:hover {color: #0F8CFF;}

/* Хлебные крошки */
.Breadcrumbs {position: relative; margin: 30px 0 5px -5px;}
.Breadcrumbs ul {padding: 0; margin: 0;}
.Breadcrumbs ul li { padding: 0 12px 0 5px; margin: 0; display: inline; font-family: Tahoma; font-size: 0.75em; 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: #545b6d;}
.Breadcrumbs a:hover {color: #990000;}

/* Таблица цен */
.PriceTable td, .PriceTable td {padding: 5px 20px 5px 0; border-bottom: 1px solid #cfcfcf;}
.PriceTable th {text-align: left;}

/* Строительные решения */
.solutions {background: #2d4e74;}
.solutions th {background: #adc5dd; font-size: 0.7em; line-height: 1.3em;}
.solutions td {background: #ffffff; font-size: 0.7em; line-height: 1.3em;}
.solutions .head {background: #eeeeee;}

/* Галерея объектов */
.CatGal td {vertical-align: top; font-size: 0.7em; color: #4f4f4f; text-align: center;}
.CatGal img {border: 2px solid #e7e7e7;}

/* КАТАЛОГ */
.CatalogTableMain {width: 100%; margin-top: 10px;}
.CatalogTableMain tr {background: #f9f9f9;}
.CatalogTableMain td {vertical-align: top;}
.CatalogTableMain h2 {margin-top: 0px; padding-top: 0px;}
.CatalogTableMain .line {background: #ffffff; height: 1px; padding: 5px; font-size: 1px; line-height: 1px;}
.CatalogTableMain .picture {background: #ffffff; text-align: center;}
.CatalogTableMain .picture a {border: 1px dashed #d0d0d0; padding: 8px; display: block;}
.CatalogTableMain .picture a:hover {border: 1px dashed #bf9958;}

.line-sep {border-top: 1px dashed #cfcfcf; margin-top: 10px; margin-bottom: 10px; height: 1px; width: 100%;}

/* Подвальные вещи */
#footer {background: url(/images/footer.gif) repeat-x top left; position:relative; width: 976px; height: 60px;margin: -60px auto 0 auto; text-align:center;}
.copy {float: left; margin: 0 auto; padding:20px 0 0 0; color: #948e90; font:10px tahoma;}
.stats {float: right; padding:15px 0 5px 0;}

.license {margin-left: 30px; font-size: 12px;}
