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

/* Основное оформление ссылок */
a {color: #88231b;}
a:hover {color: #bd5f41;}

img {border: none;}

p {padding: 3px 0 3px 0; margin: 5px 0 5px 0;}

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.35em 0;}

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

/* Заголовки */
h1 {font-family: Georgia; margin: 25px 0 15px 0; font-size: 2.2em; font-weight: normal; color: #a2482c; line-height: 30px;}
h2 {font-family: Georgia; margin: 25px 0 15px 0; font-size: 1.8em; font-weight: normal; color: #9a7a64; line-height: 26px;}
h3 {font-family: Georgia; margin: 25px 0 10px 0; font-size: 1.4em; font-weight: normal; color: #9a7a64; line-height: 22px;}
h4 {font-family: Georgia; margin: 15px 0 8px 0; font-size: 1.2em; font-weight: normal; color: #9a7a64; line-height: 20px;}

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

/* Вспомогательные элементы */
.clear {clear: both;}

/* 
  ///////////  Оформление главной страницы /////////////
*/

#around {position: relative; padding: 0; margin: 0; height: 898px; text-align: left;}
#around {min-width: 980px; max-width: 1267px;}

#MainIndexBg {width: 100%; height: 898px; background-image: url('/images/i-main-bg.jpg'); background-position: top center; background-repeat: no-repeat;}
#MainIndex {height: 898px; width: 100%; margin: 0; padding: 0; background-image: url('/images/i-main.jpg'); background-position: 100% 0; background-repeat: no-repeat;}

.IndexTable {width: 90%; height: 898px; padding-top: 60px;}
.IndexTable td {vertical-align: top;}

.IndexTable td.logo {width: 20%; padding-left: 15px;}
.IndexTable td.title {padding: 100px 0 20px 100px;}
.IndexTable td.left_part {padding-top: 25px;}
.IndexTable td.right_part {padding-top: 5px; height: 630px;}
.IndexTable td.copyright {vertical-align: bottom; padding: 10px 0 150px 0;}

/* Меню на главной странице */
ul.i-menu {margin: 0; padding: 0 1em 0 0.7em;}
ul.i-menu li {margin: 0.6em 0; padding: 0 0 0 15px; list-style-type: none; background: url('/images/i-menu-li.gif') no-repeat 0 0.6em;}
ul.i-menu li a {font-size: 1.4em; color: #ffffff; text-decoration: none; border-bottom: 1px dotted #fae8cf;}
ul.i-menu li a:hover {color: #a85b2c; border-bottom: 1px dotted #a85b2c;}

/* Текст на главной */
#IndexContent {position: relative; max-width: 679px; min-width: 500px; height: auto; width: 80%; margin-left: 30px;}

#IndexContent #Intro {position: relative; z-index: 2; height: auto; color: #60412b; padding: 30px 50px 30px 50px; font-size: 1.3em;}
#IndexContent #Intro h1.welcome {margin: 3px 0 20px 0; padding: 0; font-size: 2em; color: #ab7554; font-family: Georgia;}
#IndexContent #Intro div.welcome {position: relative; margin: 3px 0 15px 0; padding: 0;}
#IndexContent #Intro p {position: relative; margin: 4px 0 4px 0; padding: 4px 0 4px 0;}

#IndexContent #BgBox {position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;}

#IndexContent #BgBox #innerbox {position: relative; height: 100%;}


.IndexBox {position: relative; width: 100%; height:100%;}
.IndexBox .l-t {background: url('/images/i-c/t-l.png') no-repeat; width: 70px; height: 70px;}
.IndexBox .m-t {background: url('/images/i-c/t-m.gif') repeat-x; width: 100%; height: 70px;}
.IndexBox .r-t {background: url('/images/i-c/t-r.png') no-repeat; width: 83px; height: 70px;}
.IndexBox .l-m {background: url('/images/i-c/m-l.png') repeat-y; width: 70px; height:100%;}
.IndexBox .m {width: 100%; height: 100%; background: url('/images/i-c/bg.jpg'); height:100%;}
.IndexBox .r-m {background: url('/images/i-c/m-r.png') repeat-y; width: 83px; height:100%;}
.IndexBox .l-b {background: url('/images/i-c/b-l.png') no-repeat; width: 70px; height: 100px;}
.IndexBox .m-b {background: url('/images/i-c/b-m.gif') repeat-x; width: 100%; height: 100px;}
.IndexBox .r-b {background: url('/images/i-c/b-r.png') no-repeat; width: 83px; height: 100px;}

#subscriber-info {position: relative; z-index: 22;}

/* Последние (свежие!) новости */
.LatestNews {margin: 30px 0 10px 78px; width: 75%;}
.LatestNews .n1 {float: left; width: 40%;}
.LatestNews .n2 {float: left; width: 40%; //width: 38%; margin-left: 8%; //margin-left: 6%;}

.LatestNews .NewsItem {color: #6d8a91; font-size: 1.2em; line-height: 18px;}
.LatestNews .NewsItem p {margin: 5px 0 5px 0;}
.LatestNews .NewsItem a {color: #bb5f5f;}
.LatestNews .NewsItem a:hover {color: #8e5d11;}
.LatestNews .NewsItem a.a_link {font-weight: bold; font-size: 1.1em;}
.LatestNews .NewsItem .Date {font-size: 0.8em; color: #b89881; font-style: italic;}

/* Подвал на главной */
.copyright {color: #ae866a; font-size: 0.85em; line-height: 15px;}
.copyright a {color: #b87069;}
.copyright a:hover {color: #862828;}
.copyright b {font-family: Tahoma;}


.Design {position: relative; width: 155px; height: 44px;}
.Design .Logo {position: absolute; left: -74px;}
.Design .Link {height: 44px; vertical-align: middle; padding-top: 8px;}

/* 
  ///////////  Оформление внутренних страниц /////////////
*/
h1.Headline {font-family: Georgia; margin: 0 0 30px 0; font-size: 2.3em; font-weight: normal; color: #ab7554;}
h1.HeadlineDate {font-family: Georgia; margin: 20px 0 5px 0; font-size: 28px; font-weight: normal; color: #b28857; }
h1.Headline b {font-size: 1.5em; font-weight: normal; color: #a2482c;}

/* .ContentTextBlock {padding-left: 30px;} */
.HomePadding {padding-left: 30px;}


#layout {padding: 0; margin: 0; display: table; }
#layout {width: 100%; height: 100%; min-width: 990px;}

#MainPageDiv {width: 100%; height: 100%; display: table;}


/* Семейный лад */
#f-bg {background-color: #efe5dc;}
.f-pic {background: url('/images/family-pic.jpg') top right no-repeat;}

.FamilyFooterBg {background: url('/images/family-footerbg.jpg') bottom left no-repeat;}
.FamilyContent {width: 60%;}

/* Все остальные страницы - поле, колоски... красота! */
#inner-bg {background: #efe5dc;}
.inner-pic {background: url('/images/inner-pic.jpg') top right no-repeat;}

.InnerFooterBg {background: url('/images/inner-footerbg.jpg') bottom left no-repeat;}
.InnerContent {width: 75%;}

/* Общее для внутренних страниц */
.PageTable {width: 94%; height: 100%; margin-left: 3%;}
.PageTable td {vertical-align: top;}
.PageTable .logo {padding: 50px 0 0 35px; width: 135px;}
.PageTable .title {padding: 150px 0 20px 40px; width: 100%;}
.PageTable .main-menu {padding: 30px 0 0 0;}
.PageTable .main-submenu {padding: 0;}
.PageTable .main-content {padding: 40px 0 0 35px; height: 100%;}
.PageTable .main-footer {padding: 40px 0 20px 35px; font-size: 0.70em !important;}

ul.SubMenu {margin: 0 0 0 -5px; padding: 15px 0 0 35px; width: 55%;}
ul.SubMenu li {margin: 5px 0 5px 0px; display: inline; color: #ab7554; line-height: 25px;}
ul.SubMenu li a {color: #a12323;}
ul.SubMenu li a:hover {color: #9a7a64;}
ul.SubMenu li a.selected {color: #ab7554;}
ul.SubMenu li a.selected:hover {color: #820e0e;}
ul.SubMenu li.sep {color: #ccad97; margin: 2px 5px 2px 10px;}

/* Меню на внутренних страницах */
#PageTopMenu {position: relative; width: 65%;}

#PageTopMenu #MenuBox {position: relative; z-index: 5; vertical-align:middle; display: table; width: 100%; height: 70px; text-align: center;}

#PageTopMenu #MenuBox #Menus ul {position: relative; z-index: 5; padding: 5px 20px 5px 20px; margin: 0;}
#PageTopMenu #MenuBox #Menus ul li {margin: 1px 8px 1px 8px; padding: 0; display: inline; color: #ad332a; font-size: 1.1em; line-height: 25px; font-weight: bold;}
#PageTopMenu #MenuBox #Menus ul li a {font-weight: normal; color: #ad332a; text-decoration: none; border-bottom: 1px dotted #ab592a;}
#PageTopMenu #MenuBox #Menus ul li a:hover {color: #820e0e; border-bottom: 1px dotted #b98549;}
#PageTopMenu #MenuBox #Menus ul li a.selected {font-weight: bold;}

#PageTopMenu #MenuBox #Menus {display:table-cell; vertical-align:middle; text-align: center;}
#PageTopMenu #MenuBox #Menus {-margin-top: expression((parentNode.offsetHeight - this.offsetHeight)<0 ? "0" : (parentNode.offsetHeight - this.offsetHeight)/2 + "px");}

#MenuBorder {position: absolute; z-index: 3; top: 0; left: 0; width: 100%;}
#MenuBorder .MenuTable {width: 100%; height: 70px;}
#MenuBorder .MenuTable .l-part div {width: 241px; height: 70px; background: url('/images/p-menu/l2.gif') no-repeat;}
#MenuBorder .MenuTable .m-part {width: 100%; height: 70px; background: url('/images/p-menu/bg2.gif') repeat-x;}
#MenuBorder .MenuTable .r-part div {width: 331px; height: 70px; background: url('/images/p-menu/r2.png') no-repeat;}

/* Модули */
/* Новости */
.News {padding: 0; margin: 0;}
.News .NewsItem {padding: 10px 0 5px 0; margin: 0; line-height: 18px; display: block;}
.News .NewsItem .t_link {font-size: 1.1em; margin: 2px 0 8px 0;}
.News .act .t_link a {font-family: Georgia; font-size: 1.3em; color: #a2482c; line-height: 22px;}
.News .act .t_link a:hover {color: #79130b;}
.News .NewsItem p {padding: 0; margin: 2px 0 2px 0;}
.News .Date {padding: 0; margin: 0; font-size: 0.8em; color: #7a7a7a; font-style: italic;}
.News h2 {font-size: 2em; color: #a2482c; line-height: 30px;}

/* Календарь */
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;}

/* Форма подписки на новости */
.subscribe-index-link {padding: 5px 10px 0 7px; font-size: 1.1em;}
.subscribe-index-link a {color: #fcefdf; text-decoration: none; border-bottom: 1px dotted #fcefdf;}
.subscribe-index-link a:hover {color: #ffffff; text-decoration: none; border-bottom: 1px dotted #fcefdf;}

.subscribe-delete-link { padding: 5px 10px 0 7px; font-size: 0.8em; }

#subscribeform {width: 292px; height: 300px; position: absolute; z-index: 100; margin-left: -35px; color: #9a7a64;}
#subscribeform .t {width: 292px; height: 13px; line-height: 1px; font-size: 1px; background: url('/images/subscribe/top.png') no-repeat;}
#subscribeform .main {width: 292px; height: auto; background: url('/images/subscribe/bg.png') repeat-y;}
#subscribeform .bt {width: 292px; height: 14px; line-height: 1px; font-size: 1px; background: url('/images/subscribe/bottom.png') no-repeat;}

#subscribeform .inner {padding: 12px 30px 12px 35px; position: relative; z-index: 1000;}

#subscribeform #subscribeform_title {font-size: 1.5em;}

#subscribeform .close {position: absolute; z-index: 1000; top: 15px; right: 30px;}

#subscribeform_status {font-size: 1.1em; color: #88231b; line-height: 16px;}

/* Подписка со страниц новостей */
.subscribe-news-link {padding: 0; margin: 0;}
.subscribe-news-link a {color: #88231b; text-decoration: none; border-bottom: 1px dotted #bd5f41;}
.subscribe-news-link a:hover {color: #bd5f41; text-decoration: none; border-bottom: 1px dotted #bd5f41;}
.subscribe-news {font-size: 0.75em;}

/* Картинки на страницах сайта */
.InnerContent img, .FamilyContent img {
	border: 5px solid #ffffff; margin-right: 10px;
}
.pic {border: 0px !important;}

.family_table h3 {margin-top: 5px;}

.news-domestic td {font-size: 11px; line-height: 16px;}

.news-domestic ul {margin-left: 5px; padding-left: 15px;}

/* Тимоновская игрушка на главной */
.TimIgrushkaIndex {margin: 5px 0 0 20px;}

.LogosOnIndexPage {
  position: relative;
  margin: 5px 0 0 0;
  height: 121px;
}
.LogosOnIndexPage .tim-igrushka {
  position: absolute;
  top: 0;
  left: 0;
}
.LogosOnIndexPage .sun-house {
  position: absolute;
  top: 0;
  left: 120px;
}


/* Проигрываель видео */
.clip {
	position: relative;
	cursor: pointer;
}

.clip span.a {
	color: #88231b;
	border-bottom: 1px dashed #88231b;
}
.clip span.a:hover {
	color: #bd5f41;
	border-bottom: 1px dashed #bd5f41;
}


.chronicle_link {
    font-size: 24px;
    font-style: italic;
    font-family: Georgia;
}
.chronicle_link a {text-decoration: none; border-bottom: 1px dotted #88231b;}
.chronicle_link a:hover {text-decoration: none; border-bottom: 1px dotted #bd5f41;}

.chronicle_link_act {
    font-size: 30px;
    font-style: italic;
    font-family: Georgia;
    color: #a2482c;
}

/* Детская */

.child-table h2 {
    margin: 0;
    padding: 0;
    font-family: Georgia; 
    font-size: 2.2em; 
    color: #a2482c; 
    font-style: italic;
}
.child-table h3 {
    margin: 0;
    padding: 0;
}
.child-table .child-parents .child-block {
    background-color: #efe1d8;
}
.child-table .child-themselves .child-block {
    background-color: #ede7dc;
}

.child-table .child-block {
    border: 1px dashed #dfc3b0;
    padding: 10px;
    margin-bottom: 10px;
}

/* Летопись на главной */
.index-chronicle {
    clear: both;
    position: relative;
    margin-left: 78px;
    padding-top: 20px;
}
.index-chronicle .teaser {
    float: left;
    width: 45px;
}
.index-chronicle .link-descr {
    margin-left: 55px;
    color: #698a92;
    font-size: 1.1em;
}
.index-chronicle .link-descr a {
    font-size: 1.6em;
    font-style: italic;
    font-family: Georgia;
    display: block;
    padding-bottom: 4px;
}
