/* 
    Правлю кучу говна, что наделали чудо-дизайнеры.
*/

/* Основные настойки */
body {background: #ffffff;}
body, td, th {font-family: Arial; line-height: 1.6em; color: #292524;}
body, html {padding: 0; margin: 0; width: 100%; height: 100%;}
body {font-size: 0.85em;}

/* Основное оформление ссылок */
a {color: #cc292b;}
a:hover {color: #000000;}

img {border: none;}

/* Чиним недоразвитость IE */
img, div, li { behavior: url(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: #9e0039; 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: #9e0039; position: relative; display: block; width: 1.25em; left: -1.8em; margin: 0 -1.8em -1.55em 0;}

.nobullets {padding: 0; margin: 0;}
.nobullets li {behavior: expression('');}
.nobullets li:before {content: ''; float: none; margin: 0; padding: 0;} 

/* Заголовки */
h1 {font-family: Arial; margin: 30px 0 25px 0;   font-size: 2.2em; font-weight: normal; color: #292524;}
h2 {font-family: Arial; margin: 25px 0 15px 0; font-size: 1.6em; font-weight: normal; color: #555555; line-height: 28px;}
h3 {font-family: Arial; margin: 25px 0 10px 0; font-size: 1.5em; font-weight: normal; color: #555555; font-style: italic;}
h4 {font-family: Arial; margin: 15px 0 10px 0; font-size: 1.25em; font-weight: normal; color: #555555;}

/* Ширина завсит от разрешения */
#measurer {width: 100%;	height: 1em; position: absolute; left: 0; top: -1em; visibility: hidden; line-height: 1em;}

/* Вспомогательные элементы */
.clear {clear: both;}
.nobr {white-space: nowrap;}

/* 
  ///////////  Оформление /////////////
*/
#container {min-width: 1024px;}
#main_rasporka {height: 1px; line-height: 1px; font-size: 1px; width: 728px;}

.TopBg1 { background: url(/images/1.jpg) top left no-repeat;}
.TopLine1 {background: url(/images/7.jpg) bottom left repeat-x;}

/* Главная и написать письмо вверху */
.topssilkaramka {position: relative; padding-left: 422px; padding-top: 65px; width: 338px;}
.topssilkaramka2 {padding: 0 20px 0 5px; font-size: 11px;}
.topssilkaramka2 a {color: #aba8a6;}
.topssilkaramka2 a:hover {color: #000000;}

/* Телефон вверху */
#toptelefon {
   position: absolute;
   top: 95px;
   left: 0;
   padding-left:444px; 
   font-family: Tahoma;
   
}
#texttelefon {font-size: 17px; color: #000000;}
#texttelefon2 {font-size: 18px; color: #cc292b; font-weight: bold;}
#texttelefon3 {padding-top: 5px; margin-left: 10px; border-left: 1px solid #696969; padding-left: 10px; font-size: 12px; line-height: 16px; color: #cc292b; font-weight: bold;}


/* Пошел блок со ссылками подменю "Виды переводов */
#perevodi {margin-top: 5px; margin-left: 20px; padding-bottom:15px;}
#perevod {color: #000000; font-size: 20px; padding: 0 10px 0 0;}
#perevod b {font-weight: normal;}
#perevodi ul {padding-top: 3px;}
#perevodi ul li {display: inline; margin: 1px;}

/* Основное меню (слева) */
.left-menu {position: relative; padding-right: 30px;}
.left-menu ul {position: relative; margin: 20px 0 0 10px;}
.left-menu ul li {margin: 10px 0 10px 0; font-family: arial; font-size: 1.05em; line-height: 18px;}
.left-menu ul li a.selected {color: #000000;}
.left-menu ul li a.selected:hover {color: #880203;}
.left-menu ul li b {font-weight: normal;}
.left-menu ul li.l0 {font-size: 1.3em; line-height: 1.4em;}
.left-menu ul li.l1 {font-size: 0.95em; margin-left: 10px; line-height: 18px;}
.left-menu ul li.l1 b, .left-menu ul li.l2 b, .left-menu ul li.l3 b {
	font-weight: bold;
}
.left-menu ul li.l2 {font-size: 0.8em; margin-left: 25px; line-height: 14px;}
.left-menu ul li.l3 {font-size: 0.8em; margin-left: 30px; line-height: 14px;}

.headline h1 {
	font-family: Georgia; font-size: 2.5em; margin: 30px 0 35px 0; font-style: italic; line-height: 35px;
}

/* Последние (звучит-то как!) новости */
.LatestNews {margin: 0; padding: 25px 25px 0 0; padding-bottom: 30px; position: relative;}
.LatestNews .Headline {margin: 5px 0 15px 0; font-family: Georgia; font-size: 2em; font-style: italic;}
.LatestNews .NewsItem {padding: 10px 0 5px 0; float: left; position: relative; width: 100%;}
.LatestNews .NewsItem .a_link {font-size: 1.3em; ine-height: 1.2em;}
.LatestNews .NewsItem .a_link:hover {}
.LatestNews .NewsItem .n_link {font-size: 1.1em;}
.LatestNews .NewsItem .n_link:hover {}
.LatestNews .NewsItem .Date {font-size: 0.80em;  font-style: italic;}

/* Новости */
.News {padding: 0; margin: 0; position: relative;}
.News .NewsItem {padding: 10px 0 5px 0; float: left;  position: relative; width: 100%;}
.News .NewsItem .t_link {margin: 2px 0 8px 0; font-size: 14px;}
.News .NewsItem .a_link {font-size: 1.3em; line-height: 1.2em;}
.News .NewsItem .a_link:hover {}
.News .NewsItem .n_link {font-size: 1.1em;}
.News .NewsItem .n_link:hover {}
.News .NewsItem p {padding: 0; margin: 2px 0 2px 0;}
.News .Date {font-size: 0.80em; font-style: italic;}
.News h2 {font-size: 1.6em; line-height: 30px;}

/* Календарь */
div.calendar {margin: 0; padding: 0;}
div.calendar ul.navigation {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.calendar ul.navigation ul li {behavior: expression('');}
div.calendar ul.navigation li:before {content: ''; float: none; margin: 0; padding: 0;} 

/* Картинки врубаем  с бордером */
.ContentTextBlock img {border: 1px solid black; padding: 1px;}

.pic {border: 3px solid #ececec;}

/* Таблица цен */
.PriceTable {border-top: 1px solid #a6a6a6; border-left: 1px solid #a6a6a6;}
.PriceTable th {border-bottom: 1px solid #a6a6a6; border-right: 1px solid #a6a6a6; background: #ececec; color: #000000;}
.PriceTable td {border-bottom: 1px solid #a6a6a6; border-right: 1px solid #a6a6a6; color: #595959;}

/* Контакты и копирайны внизу страницы */
#contacts {font-size: 12px; color: #000000;}
#contacts p {padding: 0; margin: 3px 0 2px 0;}

#bottomtext {position: relative; float: right; font-size: 11px; color: #7c7c7c; line-height: 14px;}

.buttons {position: relative; top: 4px; float: left;}

/* Горе-дизИГнеры */
#createby {float: right;  padding-right: 45px;}
#createby a {font-family: Tahoma; font-size: 11px; color: gray; text-decoration: none; font-weight: normal;}
#createby a:hover {text-decoration: underline;}

/* Блок с клиентов на главной */
.clients-block {
	position: relative;
	text-align: right;
	padding-left: 30px;
	padding-bottom: 30px;
}
.clients-block .title {
	font-family: Georgia; font-size: 1.5em; margin: 40px 0 20px 0; font-style: italic; line-height: 1.2em;
}
.clients-block .item {
	padding-bottom: 10px;
}
.clients-block .item img {
	border: 1px solid #ececec;
}
.clients-block .link {
	margin-top: 10px;
	font-size: 0.9em;
	font-style: italic;
}

/* Выводим блоками готовые дома */
.floats {margin: 0em 0 0 -1em; position: relative; display: inline-block; width: 100%; font-size: 0.8em; line-height: 15px;}
.floats:after {content: ''; display: block; clear: both;}
.floats .fl_left {position: relative; float: left; display: inline; overflow: hidden; margin: 1em 0 0 3em; width: 200px; min-width: 150px;}
.floats .fl_left .fl_r {position: absolute; top: 0; left: 0; width: 100%; text-align: center; }
.floats .fl_left .fl_min {margin: 0 0 260px 0; height: 2em; width: 200px;}
.floats img {
	border: 1px solid #ececec;
}
