﻿@charset "UTF-8";

/** Fix some bugs */
hr { height: 1px; border: none; margin: 1em 0 1em 0; padding: 0; color: #d8d8d8; background: #d8d8d8;  }
form { margin: 0; padding: 0; }

/** Standart elements html, body */
html { background: #ececec url("../../img/background.jpg") top center repeat-y; }
html, body { height: 100%; color: #000000; padding: 0; margin: 0; }

html {height:101%;}

/** Standart elements */
* { font-family: Arial, serif; font-size: 1em; color: #000000; }
a, a:hover, a:visited, a:active, a:link { color: #5780b7; }
a:hover { text-decoration: none; }
br.sep { display: block; height: 1em; line-height: 1em; }

/** Размеры */
#page { width: 100%; margin: 0 auto; }
#footer, #content { min-width: 900px; width: auto; max-width: 1310px; margin: 0 auto; }

/** Картинки для шапки */
.top-1 { background: url("./../../img/top/1.jpg") top center no-repeat; }
.top-2 { background: url("./../../img/top/2.jpg") top center no-repeat; }
.top-3 { background: url("./../../img/top/3.jpg") top center no-repeat; }
.top-4 { background: url("./../../img/top/4.jpg") top center no-repeat; }
.top-5 { background: url("./../../img/top/5.jpg") top center no-repeat; }
.top-6 { background: url("./../../img/top/6.jpg") top center no-repeat; }
.top-7 { background: url("./../../img/top/7.jpg") top center no-repeat; }
.top-8 { background: url("./../../img/top/8.jpg") top center no-repeat; }
.top-9 { background: url("./../../img/top/9.jpg") top center no-repeat; }

/** Страница */
#page { min-height: 100%; height: auto !important; height: 100%; margin: 0 auto -83px; }
#content { min-height: 500px; }

/** Основная часть */
#content-main { margin: -40px auto 120px auto; }
#content-main-wrapper { float:left; width:100%; }

/** Подвал */
#content-main-bottom { clear:left;width:100%; height:55px; }
#footer { height: 83px; background: url("../../img/footer.png") top center repeat-x; }
#footer-content { height: 80px; position: relative; margin: 0 auto; }

/** Шапка */
#content-top { height: 291px; position: relative; margin: 0 auto; }

/** Левая колонка*/
#content-main-left { float:left;width:265px;margin-left:-100%; }
#content-main-left-content { margin: 1em 0 0 10px; }
#content-main-left h2 { display: block; background: url("../../img/title-left.png") top left no-repeat; width: 230px; text-align: left; white-space: nowrap; font-size: 140%; font-weight: normal; font-style: normal; line-height: 37px; height:38px; padding: 0 0 0 20px; margin: 0; }
#content-main-left h2  em { font-weight: normal; font-style: normal; color: #40a3e7; font-size: 100%; }
#content-main-left .block { margin: 0 0.7em 1em 0.4em;}

/** Центральная колонка */
#content-main-center { margin: 0 225px 0 265px; }
#content-main-center-content { margin-top: 12px; }

/** Правая колонка */
#content-main-right { float:left;width:225px;margin-left:-225px; }
#content-main-right-content { margin: 1em 0 0 5px;}
#content-main-right h2 { display: block; background: url("../../img/title-right.png") top left no-repeat; width: 192px; text-align: left; white-space: nowrap; font-size: 140%; font-weight: normal; font-style: normal; line-height: 37px; height:38px; padding: 0 0 0 20px; margin: 0; }
#content-main-right h2  em { font-weight: normal; font-style: normal; color: #40a3e7; font-size: 100%; }
#content-main-right .block { margin: 0 0.7em 1em 0.4em;}


/** Блок */
.block { padding: 0.5em 0 0 0 ; display:block;}
.block img { border: none;}
.block .center { display: block;  margin: 0 auto ;}
.block .left { display: block;  margin: 0 auto 0 0 ;}
.block .right { display: block;  margin: 0 0 0 auto ;}
.block p { display:block; margin: 0.5em 0.5em 1em 1em; }
.block br { display: block; height: 1em; line-height: 1em;}

/** Меню слева */
#left-menu ul { padding: 0; margin: 0; }
#left-menu ul li { padding: 0 0 0 26px; margin: 0 0 0 -1px; list-style-type: none; background: url("../../img/left-menu-line.png") bottom left no-repeat; line-height: 210%; }
#left-menu ul li a { text-decoration: none; }
#left-menu ul li a:hover { text-decoration: underline; }

/** События в шапке */
#top-events dl, #top-events dt, #top-events dd, #top-events label { padding: 0; margin: 0; display: block; }
#top-events { width: 183px; text-align: left; position: absolute; right: 30px; top: 0; }
#top-events dl { padding: 5px 0 1px 0; background: url("../../img/top-events-back.png") top right repeat-y; position: relative; }
#top-events dl.hideable { padding: 0; }
#top-events dl dt { border: solid 1px #101115; background: #292a30; color: #FFFFFF; padding: 1px 4px 1px 6px; position: absolute; right: 183px; white-space: nowrap; margin-top: -2px; }
#top-events dl dd { padding: 0 0 5px 20px; margin: 0 12px 0 10px; overflow: hidden; background: url("../../img/top-events-boolet.png") top left no-repeat; }
#top-events dl dd a { color: #3ea0e6; }
#top-events label { display: block; height: 23px; text-align: right; padding: 7px 40px 0 0; background: url("../../img/top-events-footer.png") top right no-repeat; }
#top-events label a { color: #cfcfd5; text-decoration: none; }

/** Меню в подвале */
#footer-content ul.menu { display: block; text-align: left; padding: 0; margin: 0; }
#footer-content ul.menu * { color: #acadae; }
#footer-content ul.menu li { display: inline; list-style-type: none; border-right: solid 1px #acadae; padding-right: 6px; margin-right: 5px; }
#footer-content ul.menu li:last-child { border: none; }
#footer-content-left { position: absolute; left: 20px; top: 24px; }
#footer-content-left p.copyright { padding: 0; margin: 0 0 3px 0; text-align: left; color: #6d7071; }
#footer-content-right { position: absolute; right: 20px; top: 34px; }

/** Наши друзья */
#our-friends ul { padding: 0 0 0 10px; margin: 0 0 0 0; }
#our-friends ul li { padding: 0; margin: 0 0 5px 0; list-style-type: none; }
#our-friends ul li img { border: none; }

/** Наши статьи */
#our-articles ul { padding:0; margin: 0 0 0.8em 1.5em; }
#our-articles ul li { padding: 0; margin: 0; list-style-type: none; line-height: 200%; }

/** Пост*/
div.post.max { height: 95%; min-height: 500px; }
div.post div.header h2 { margin: 0 0 0.8em 0; padding: 0; background: url("../../img/post-when.png") top left no-repeat; width: 65px; height: 20px; text-align: center; line-height: 20px; }
div.post div.header h2,
div.post div.header h2 * { font-weight: normal; font-style: normal; font-size: 100%; color: #FFFFFF; }
div.post div.header h2 .date { font-size: 80%; }
div.post div.header h1 { padding: 0; margin: 0 0 0.7em 0; font-size: 170%; font-style: normal; font-weight: normal;}
div.post div.header ul { margin: 0; padding: 0; list-style: none; text-align: left; position: relative; }
div.post div.header ul li { display: inline-block; padding: 0.3em; }
div.post div.header ul li img { border: none; }

div.post div.source  {}
div.post div.source h1 { font-size: 140%; font-weight: bold; margin: 1em 0 1em 0; }
div.post div.source h2 { font-size: 130%; font-weight: bold; margin: 1em 0 1em 0; }
div.post div.source h3 { font-size: 120%; font-weight: bold; margin: 1em 0 1em 0; }
div.post div.source h4 { font-size: 115%; font-weight: normal; margin: 1em 0 1em 0; }
div.post div.source h5 { font-size: 110%; font-weight: bold; margin: 1em 0 1em 0; }
div.post div.source h6 { font-size: 105%; font-weight: bold; margin: 1em 0 1em 0; }
div.post div.source hr { color: #d8d8d8; background: #d8d8d8; }
div.post div.source ol { margin: 1em 0 1em 20px; padding: 0; }
div.post div.source ul { margin: 1em 0 1em 16px; padding: 0; }
div.post div.source p { margin:0; padding: 0 0 1em 0; }
div.post div.source pre { border: dotted 1px #d8d8d8; text-align: left; padding: 10px; margin: 5px 0 5px 0; overflow: scroll; }
div.post div.source img { border: none; }
div.post div.footer { clear: both; margin-top: 10px; position: relative; }
div.post div.footer a { background: url("../../img/input/button.png") center left no-repeat; width: 131px; height: 38px; border: none; outline: none; cursor: pointer; display: block; line-height: 38px; text-align: center; text-decoration: none; color: #464646; }
div.post div.footer div.visit-count { background: url("../../img/visit-count.png") center left no-repeat; height: 19px; line-height: 17px; color: #84a2ca; text-align: right; position: absolute; right: 0; top: 11px; padding-left: 25px; vertical-align: middle; }

/** Бокс с рамками */
div.box { position: relative; }
div.box div.content { padding: 20px; position: relative; }
div.box div.t { top: 0; left: 27px; right: 27px; height: 27px; }
div.box div.tl { top: 0; left: 0; width: 27px; height: 27px; }
div.box div.tr { top: 0; right: 0; width: 27px; height: 27px; }
div.box div.br { bottom: 0; right: 0; height: 27px; width: 27px; }
div.box div.bl { bottom: 0; left: 0; height: 27px; width: 27px; }
div.box div.b { bottom: 0; left: 27px; right: 27px; height: 27px; }
div.box div.r { top: 27px; bottom: 27px; right: 0; width: 27px; }
div.box div.l {top: 27px; bottom: 27px; left: 0; width: 27px; }
div.box div.br { background: url("../../img/box/br.png") bottom right no-repeat; position: absolute; }
div.box div.bl { background: url("../../img/box/bl.png") bottom left no-repeat; position: absolute; }
div.box div.b { background: url("../../img/box/b.png") bottom center repeat-x; position: absolute; }
div.box div.t { background: url("../../img/box/t.png") top center repeat-x; position: absolute; }
div.box div.tl { background: url("../../img/box/tl.png") top left no-repeat; position: absolute; }
div.box div.tr { background: url("../../img/box/tr.png") top right no-repeat; position: absolute; }
div.box div.r { background: url("../../img/box/r.png") center right repeat-y; position: absolute; }
div.box div.l { background: url("../../img/box/l.png") center left repeat-y; position: absolute; }


/** Архив новостей */
.news-all { margin: 2em 0.5em 1em 0.5em; }
.news-all .paginator { margin-top: 2em; }
.news-all dl { display: block; }
.news-all dt { margin: 0 1em 0 0; padding: 0; display: inline-block; }
.news-all dd { margin: 0; padding: 0; display: inline-block; }

/** Карта сайта */
.mazda_widget_nav_map ul { margin-top: 0.2em !important; margin-bottom: 0 !important; }
.mazda_widget_nav_map ul li { margin-top: 0 !important; line-height: 180%; }
.mazda_widget_nav_map .fake { font-style: italic; color: #6d7071; }

/** Навигационная цепочка*/
.mazda_widget_nav_chain, .mazda_widget_nav_chain {  padding: 0 !important; margin: 0 !important; }
.mazda_widget_nav_chain ul { list-style: none; padding: 0 !important; margin: 0 !important;}
.mazda_widget_nav_chain li { padding: 0; margin: 0; display: inline; }
.mazda_widget_nav_chain li .sep { padding: 0; margin: 0 0.5em; display: inline; }





