/* Основные настойки */
body {background: #ffffff;}
body, td, th {font-family: Arial; line-height: 20px; color: #ааа;}
body, html {padding: 0; margin: 0; width: 100%; height: 100%;}
body {font-size: 0.85em;}

/* Основное оформление ссылок */
a {color: #bc1010;}
a:hover {color: #000000;}

img {border: none;}

table {border:0; border-collapse:collapse;}

/* Чиним недоразвитость IE */
img, div, li, span { behavior: url(/js/iepngfix.htc);}

div, ins {padding: 0; margin: 0;}

ins {text-decoration: none;}

/* Листинг */
li ul, li ol { margin-top: 0; margin-bottom: 0;}
li { margin: 0 0 0.2em 0; }
ul { list-style-type: none; }
ul li {padding: 0;}

ul > li:before {content: '\2014\a0'; color: #887a48; float: left; margin-left: -1.8em; padding-right: 0.5em; white-space: nowrap;}
/* 
ol > li {list-style: none; counter-increment: section; margin-left: -1.8em;}
ol > li:before {content: counter(section) ". "; color: #9e0039;}
*/

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: #887a48; position: relative; display: block; width: 1.25em; left: -1.8em; margin: 0 -1.7em -1.4em 0;}

.nobullets {padding: 0; margin: 0;}
.nobullets li {behavior: expression('');}
.nobullets li:before {content: ''; float: none; margin: 0; padding: 0;} 

/* Заголовки */
h1 {margin: 30px 0 20px 0;   font-size: 2em; font-weight: normal; color: #bc1010; line-height: 1.1em;}
h2 {margin: 20px 0 15px 0; font-size: 1.4em; font-weight: normal; color: #4c4d4e; line-height: 1.1em;}
h3 {margin: 20px 0 10px 0; font-size: 1.25em; font-weight: normal; color: #ac5252;}
h4 {margin: 20px 0 10px 0; font-size: 1.1em; font-weight: normal; color: #ac5252;}

/* Ширина завсит от разрешения */
 /* #measurer {width: 100%;	height: 1em; position: absolute; left: 0; top: -1em; visibility: hidden; line-height: 1em;} */

/* Вспомогательные элементы */
.clear {clear: both;}
.nobr {white-space: nowrap;}

/* 
  ///////////  Оформление /////////////
*/

#conteiner {position: relative; min-height: 100%; width:1000px; margin:0 auto; padding: 0;}
* html #conteiner {height: 100%;}

#header {background:  url(/images/header.jpg) no-repeat top left; width: 100%; height: 380px; margin:0; padding:0;}
#header_in {background:  url(/images/header_in.jpg) no-repeat top left; width: 100%; height: 435px; margin:0; padding:0;}

#logo {float: left; margin:52px 0 0 106px;}

#header p.phone {margin:0; padding:45px 115px 0 0; color: #fff; font:30px tahoma; float:right;}
#header_in p.phone {margin:0; padding:75px 145px 0 0; color: #fff; font:19px tahoma; float:right;}
#header p.phone span, #header_in p.phone span {font:10px tahoma;}

#ban1 {float:left; margin:84px 0 0 0;}

/* Меню на главной */
#header_in #top_menu {margin:0; padding:15px 0 0 90px; width: 100px; float:left;}
#header_in #top_menu li {background:  url(/images/st2.gif) no-repeat top left; height: 20px; _margin:7px 0; margin:12px 0; padding:0 0 0 16px; height: 15px;}
#header_in #top_menu a {float:left; margin:0; padding: 2px 5px 3px 5px; color: #4c4d4e; font: 0.9em tahoma;}
#header_in #top_menu a:hover {background: #fdba17; color: #fff; text-decoration: none;}

/* Текст на главной */
.IndexTextBlockIntro {position: relative;}
.IndexTextBlockIntro .latestnews {float: left; width: 300px; border: 1px solid #ffffff;}
.IndexTextBlockIntro .latestnews h3 {margin: 30px 0 20px 0 !important;  font-size: 1.7em; font-weight: normal; color: #bc1010; line-height: 1.1em;}
.IndexTextBlockIntro .intro {margin-left: 350px; border: 1px solid #ffffff;}

/* Последние новости - звучит устрашающе :-) */

.latestnews .newsitem {margin: 0 0 15px 0; display: block;}
.latestnews .newsitem a {color: #bc1010;}
.latestnews .newsitem a:hover {color: #000000;}
.latestnews .newsitem a:visited {color: #b76b6b;}
.latestnews .newsitem .a_link {font-size: 1.3em;}
.latestnews .date {margin-top: 3px; padding-bottom: 2px; font-size: 0.7em; font-family: Tahoma; color: #909090;}

.news-archive {display: block; background:  url(/images/st.gif) no-repeat left; margin:2px 0 0 0; padding:0 0 0 22px; font-size: 0.9em; font-style: italic;}
.news-archive a {color: #4c4d4e;}
.news-archive a:hover {color: #bc1010;}

/* Основная таблица на главной и внутренних - от нее и пляшем */
#wrapper {width: 100%;}
#wrapper td {vertical-align: top;}
#wrapper #left_bar {padding-top: 90px;}

.IndexMainTitle {padding-top: 20px;}
.IndexMainTitle h2 {color: #4c4d4e;}

/* Такой интересный текст, который вроде есть, но не очень заметен */
.s-text {padding-bottom: 100px;}
.s-text h1 {margin: 20px 0 10px 0; font-size: 1.5em; font-weight: normal; color: #4c4d4e; line-height: 1.1em;}
.s-text h2 {margin: 20px 0 10px 0; font-size: 1.2em; font-weight: normal; color: #4c4d4e; line-height: 1.1em;}

/* Основное разделение по направлениям на главной странице */
.gallery  {background: #efefef; width:100%;}
.gallery td {border: 1px solid #c8c8c8;}
.gallery td.td_center {text-align:center; padding:5px 20px;}
.gallery td.td_left {text-align:left; padding:5px 20px;}
.gallery td.td_center img {margin:0 auto;text-align:center;}
.gallery td.td_bottom img {float:left; margin:0 5px;}
.gallery td.td_bottom {padding:25px 20px;}
.gallery td {font-size: 0.9em; font-family: tahoma; vertical-align: top; line-height: 1.4em;}
.gallery .descr {font-size: 0.9em; line-height: 1.3em;}
.gallery a {color: #565758;}
.gallery a:hover {color: #bc1010;}


/* Меню на внутренних страницах */
#header #top_menu {height: 44px; margin: 162px 0 0 0; padding:0 14px 0 0; float: right;}
#header #top_menu li {margin:0; padding:12px 10px 0 10px; float:left; display: block; height: 32px; color: #bc1010;}
#header #top_menu li.sep {margin: 0; padding: 0 10px 0 10px;}
#header #top_menu a {color: #4c4d4e; float: left;}
#header #top_menu a:hover {color: #fff;}
#header #top_menu a.selected {color: #bc1010; float: left;}
#header #top_menu a:hover {color: #fff;}

/* Подменю */
#left_bar_title {width: 260px; padding:0 20px 100px 17px;}
#left_bar_title ul {margin-left: 20px; padding-right: 10px;}
#left_bar_title ul li {margin: 8px 0 8px 0;}
#left_bar_title ul li a.selected {color: #000000; font-weight: bold;}
#left_bar_title ul li a.selected:hover {color: #bc1010;}

#left_bar_title .SubMenu1 {font-size: 0.85em; margin-top: 3px; margin-bottom: 7px; line-height: 1.3em;}

/* Линии */
.bold_line {clear:both; margin: 0; padding: 0; height: 2px; background: #4c4d4e; overflow: hidden;}
.line {clear:both; margin: 0; padding: 0; height: 2px; background: #efefef; overflow: hidden;}

#content_title {padding:0 0 100px 0;}


#left_bar {width: 260px; padding:0 20px 20px 17px;}

#ban2 {display: block;margin:-7px 0 0 0;position: relative;}
#ban3 {display: block;margin:-14px 0 0 0;}
#ban4 {margin:0;}
#ban5 {margin:0;}

#left_bar_bottom {width: 260px; padding:0 20px 20px 17px;}
#bottom_content {padding:12px 15px 20px 15px;}
#right_bar_bottom {width: 260px; padding:0 20px 20px 17px;}

#content { padding:0 0 20px 0;}


/* Оформление таблиц */
.price-table {width: 100%;}
.price-table th {background: #f3f3f0; text-align: left; font-weight: normal; font-size: 0.8em; line-height: 14px;}
.price-table td {border-bottom: 1px solid #cfcfcf; font-size: 0.9em; color: #383838; font-size: 0.9em; vertical-align: top;}

/* Новости */
.news {position: relative; margin-top: 20px;}
.news .newsitem {margin: 15px 0 0 0;}
.news .newsitem a {color: #bc1010;}
.news .newsitem a:hover {color: #000000;}
.news .newsitem a:visited {color: #b76b6b;}
.news .newsitem .a_link {font-size: 1.3em;}
.news .date {margin-top: 3px; padding-bottom: 2px; font-size: 0.7em; font-family: Tahoma; color: #909090;}

/* Календарь */
div.calendar {margin: 0; padding: 0 0 0 0;}
div.calendar ul.navigation {list-style-type: none; font-size: 1.1em; margin: 20px 10px 10px 0; padding: 0;}
div.calendar ul.navigation li {margin-right: 15px; display: inline;}
div.calendar ul.navigation li.subscr {margin-right: 0;}

/* Оформление фотографий */
.pic {border: 4px solid #e9e9e9; margin: 5px;}


/* Подвал */
#footer {background: red url(/images/footer.gif) no-repeat top left;	position: relative; 	margin: -56px auto 0 auto;	width: 1000px;	height: 56px;}

p.copy {margin:0; padding:20px 0 0 8px; color: #9c9999; font:10px tahoma; float:left;}
p.contact {margin:0; padding:15px 147px 0 0; color: #9c9999; font:10px tahoma; float:right;}
p.contact a {color: #4b68c4;}

ul#bottom_menu {margin:20px  0 0 0; padding:0 0 0 210px; float:left;}
ul#bottom_menu li {margin:0; padding:0 4px; float:left; color: #7f8082; font:10px tahoma;}
ul#bottom_menu a {margin:0; padding:0 1px; color: #7f8082; font:10px tahoma;}
ul#bottom_menu a:hover {text-decoration: none;}
