/*
b- костяк сайта, основные блоки в них, кроме центральной части
g- глобальные классы, используются повсеместно.
js- тут их быть не должно, исключительно для js
*/

/* Eric Meyer's CSS Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {content: ''; content: none;}
table {border-collapse: collapse; border-spacing: 0;}
/* End of Eric Meyer's CSS Reset */

/* Стили для общих и широкоиспользуемых элементов */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {display: block;}
strong, b {font-weight: bold;}
em, i {font-style: italic;}
u {text-decoration: underline;}
audio {width: 500px;}
.mainright audio {width: 210px;}

.g-clear {clear: both; float: none;}
.g-clear-left {clear: left;}
.g-clear-right {clear: right;}
.g-hidden {display: none;}
.g-bold {font-weight: bold;}
.g-italic {font-style: italic;}

.linedecor {background: url(/pics/line_decor.jpg); height: 25px;}
.b-separator {height: 26px; background: url(/pics/separator.gif); margin: 10px 0; clear: both; float: none;}
.b-separator_hidden {display: none;}
.b-button-readmore {display: none; width: 200px; height: 78px; margin: 20px auto; text-align: center; color: #000; text-decoration: none; background: url(/pics/recommended.jpg); line-height: 78px; border: 1px solid #ccc; }
.b-button-readmore_loader {background: url(/pics/ajax-loader.gif) no-repeat center center; height: 80px; border: 0;}

/* Кнопка наверх */
.toplink {z-index:40;position:fixed; bottom:20px; width: 64px; height: 64px; cursor: pointer; background: url(/pics/toplink.png); opacity: 0.5; display: none;}
.toplink:hover {opacity: 0.8;}

/* Аудиоплеер */
.audioplayer{height: 25px;color: #a4a4a4;text-shadow: 1px 1px 0 #000;position: relative;z-index: 1;background: #aaaaaa url(/pics/bg_letters.jpg); border-radius: 5px; border: 1px solid #cccccc;}
.audioplayer-mini{width: 2.5em; /* 40 */margin: 0 auto;}
.audioplayer > div{position: absolute;}
.audioplayer-playpause{width: 2.5em; /* 40 */height: 100%;text-align: left;text-indent: -9999px;cursor: pointer;z-index: 2;top: 0;left: 0;}
.audioplayer-mini .audioplayer-playpause{width: 100%;}
.audioplayer-playpause:hover,.audioplayer-playpause:focus{color: #000;}
.audioplayer-playpause a{display: block;}
.audioplayer:not(.audioplayer-playing) .audioplayer-playpause a{width: 0;height: 0;border: 0.5em solid transparent; /* 8 */border-right: none;border-left-color: #a4a4a4;content: '';position: absolute;top: 50%;left: 50%;margin: -0.5em 0 0 -0.25em; /* 8 4 */}
.audioplayer-playing .audioplayer-playpause a{width: 0.75em; /* 12 */height: 0.75em; /* 12 */position: absolute;top: 50%;left: 50%;margin: -0.375em 0 0 -0.375em; /* 6 */}
.audioplayer-playing .audioplayer-playpause a:before,.audioplayer-playing .audioplayer-playpause a:after{width: 40%;height: 100%;background-color: #a4a4a4;content: '';position: absolute;top: 0;}
.audioplayer-playing .audioplayer-playpause a:before{left: 0;}
.audioplayer-playing .audioplayer-playpause a:after{right: 0;}
.audioplayer-time{width: 4.375em; /* 70 */height: 100%;line-height: 2.375em; /* 38 */text-align: center;z-index: 2;top: 0;}
.audioplayer-time-current{border-left: 1px solid #111;border-left-color: rgba( 0, 0, 0, .25 );left: 2.5em; /* 40 */display: none;}
.audioplayer-time-duration{display: none; border-right: 1px solid #555;border-right-color: rgba( 255, 255, 255, .1 );right: 2.5em; /* 40 */}
.audioplayer-novolume .audioplayer-time-duration{border-right: 0;right: 0;}
.audioplayer-bar{height: 0.875em; /* 14 */background-color: #f6f6f6; border: 1px solid #cccccc; cursor: pointer;z-index: 1;top: 50%;right: 2.875em; /* 110 */left: 2.875em; /* 110 */margin-top: -0.580em; /* 7 */}
.audioplayer-bar:hover .audioplayer-bar-tooltip {display: block;}
.audioplayer-novolume .audioplayer-bar{right: 4.375em; /* 70 */}
.audioplayer-bar div{width: 0;height: 100%;position: absolute;left: 0;top: 0;}
.audioplayer-bar-loaded{background-color: #e5e5e5;z-index: 1;}
.audioplayer-bar-played{background: #a4a4a4;z-index: 2;}
.audioplayer-volume{width: 2.5em; /* 40 */height: 100%;border-left: 0px solid #111;border-left-color: rgba( 0, 0, 0, .25 );text-align: left;text-indent: -9999px;cursor: pointer;z-index: 2;top: 0;right: 0;}
.audioplayer-volume:hover,.audioplayer-volume:focus{color: #000;}
.audioplayer-volume-button{width: 100%;height: 100%;}
.audioplayer-volume-button a{width: 0.313em; /* 5 */height: 0.375em; /* 6 */background-color: #a4a4a4;display: block;position: relative;z-index: 1;top: 40%;left: 35%;}
.audioplayer-volume-button a:before,.audioplayer-volume-button a:after{content: '';position: absolute;}
.audioplayer-volume-button a:before{width: 0;height: 0;border: 0.5em solid transparent; /* 8 */border-left: none;border-right-color: #a4a4a4;z-index: 2;top: 50%;right: -0.25em;margin-top: -0.5em; /* 8 */}
.audioplayer:not(.audioplayer-mute) .audioplayer-volume-button a:after{/* "volume" icon by Nicolas Gallagher, http://nicolasgallagher.com/pure-css-gui-icons */width: 0.313em; /* 5 */height: 0.313em; /* 5 */border: 0.25em double #a4a4a4; /* 4 */border-width: 0.25em 0.25em 0 0; /* 4 */left: 0.563em; /* 9 */top: -0.063em; /* 1 */-webkit-transform: rotate( 45deg );-moz-transform: rotate( 45deg );-ms-transform: rotate( 45deg );-o-transform: rotate( 45deg );transform: rotate( 45deg );}
.audioplayer-volume-adjust{height: 6.25em; /* 100 */cursor: default;position: absolute;left: 0;right: -1px;top: -9999px;background: #aaaaaa url(/pics/bg_letters.jpg);border-radius: 5px; border: 1px solid #cccccc;}
.audioplayer-volume:not(:hover) .audioplayer-volume-adjust{opacity: 0;}
.audioplayer-volume:hover .audioplayer-volume-adjust{top: auto;bottom: 100%;}
.audioplayer-volume-adjust > div{width: 40%;height: 80%;background-color: #f6f6f6;cursor: pointer;position: relative;z-index: 1;margin: 30% auto 0;}
.audioplayer-volume-adjust div div{width: 100%;height: 100%;position: absolute;bottom: 0;left: 0;background: #a4a4a4;}
.audioplayer-novolume .audioplayer-volume{display: none;}
.audioplayer *,.audioplayer *:before,.audioplayer *:after{-webkit-transition: color .25s ease, background-color .25s ease, opacity .5s ease;-moz-transition: color .25s ease, background-color .25s ease, opacity .5s ease;-ms-transition: color .25s ease, background-color .25s ease, opacity .5s ease;-o-transition: color .25s ease, background-color .25s ease, opacity .5s ease;transition: color .25s ease, background-color .25s ease, opacity .5s ease;}
.audioplayer-bar .audioplayer-bar-tooltip {display: none; position: absolute; top: 11px; width: auto; height: auto; padding: 0 5px; background: #fff; text-align: center; color: #000; text-shadow: none; border: 1px solid #ccc;}

/* Основные стили, костяк верстки */
body {font: 16px/1.2em Arial, sans-serif; margin: 0;  background: #fff url(/pics/bg.jpg); font-family: Georgia, 'Times New Roman', serif;}
.overwrap {position: relative; margin: 0 auto; padding: 183px 0 0; max-width: 1280px; background: #fff url(/pics/bg-left.png) repeat-y left top;}
.overwrap_mobversion {padding-top: 53px;}
.mainleft {float: left; width: 250px; padding: 0 1px 20px; margin-left: -100%; position: relative; font-size: 12px; font-family: Arial, sans-serif; z-index: 2;}
.mainright {float: left; width: 250px; padding: 0 1px 20px; margin-left: -252px; position: relative; font-size: 12px; font-family: Arial, sans-serif;}
.mainright_ptop {padding-top: 20px;}
.maincontent {width: 100%; position: relative; font-family: Georgia, 'Times New Roman', serif;}
.maincontent:after {display: table; clear: both; content: '';}
.maincontent_three-columns {background: url(/pics/bg-right.png) repeat-y right top;}
.mainwcenter {width: 100%; float: left; overflow: hidden; padding: 0; background: none;}
.maincenter {padding: 10px 0 10px 270px; width: auto; position: relative; vertical-align: top; font-size: 18px;}
.maincenter_three-columns {padding-right: 270px;}

/* Шапка */
.header {background: #fff; overflow: hidden; font-family: Arial, sans-serif; position: absolute; top: 0; width: 100%; text-align: left; height: 183px; z-index: 3;}
.header_mobversion {height: 53px; position: fixed; top: 0; left: 0; }

/* Шапка главной страницы */
.header_index {}
.header_index__left {width: 50%; text-align: center; float: left; margin: 10px 0; height: 110px; line-height: 110px; overflow: hidden;}
.header_index__logo {width: 455px; height: 110px; vertical-align:middle;}
.header_index__right {width: 50%; text-align: center; float: right; padding: 10px 0 0;}
.header_index__icon {width: 83px; display: inline-block; margin: 0 auto; display: inline-block; height: 110px; width: 24%;}
.header_index__icon_calendar {background: url(/pics/main_icons_calendar.jpg) no-repeat center top; display: none;}
.header_index__icon_calendar a {width: 91px;}
.header_index__icon_calendar span {display: block; background-repeat: no-repeat; background-position: center top;}
.header_index__icon_calendar span.day {height: 22px; margin-top: 21px;}
.header_index__icon_calendar span.month {height: 15px;}
.header_index__icon_church {background: url(/pics/main_icons_church.jpg) no-repeat center top;}
.header_index__icon_english {background: url(/pics/main_icons_english.jpg) no-repeat center top;}
.header_index__icon_serbian {background: url(/pics/main_icons_serbian.jpg) no-repeat center top;}
.header_index__icon__link {display: block; width: 83px; text-align: center; margin: 0 auto; height: 110px;}

/* Шапка для мобильной версии */
.shortheader {display: none; height: 53px; background: #003333; color: #fff; font-family: Arial, sans-serif; font-size: 12px; line-height: 53px;}
.shortheader__logo {display: block; color: #fff; float: right; font-size: 16px; text-decoration: none; line-height: 28px; height: 43px; width: 178px; margin: 5px 10px 0 20px; padding: 0; text-indent: -9999px; background: url(/pics/logo_right.jpg);}
.shortheader__showmenu {display: none; color: #FCF4D2; text-decoration: none; font-size: 16px; background: url(/pics/show_menu.png) no-repeat left top; line-height: 43px; height: 43px; width: 43px; margin: 5px 20px 0 0; float: left;}

/* Cтраница badbrowser*/
.overwrap_badbrowser  {padding-top: 0; background: #fff; padding: 20px; width: 500px; margin-top: 100px;}
.badbrowser {text-align: center;}
.badbrowser__items {margin: 20px 0;}
.badbrowser__item_safari {display: none;}
.badbrowser__item_ie {display: none;}
.badbrowser__icon {margin: 0 10px;}
.badbrowser__title {color: #000; font-weight: bold; text-decoration: none;}
.badbrowser__text {margin: 20px 0;}
.badbrowser__smalltext {margin: 20px 0; font-size: 12px; text-align: left; color: #1c1c1c;}

.badbrowser-line {background: red; position: fixed; top: 0; left: 0; width: 100%; color: #fff; font-weight: bold; font-size: 14px; text-align: center; z-index: 99999;}
.badbrowser-line a {color: #fff; text-decoration: underline;}

/* Коричневая полоска со ссылками под шапкой */
.topnavbar {height: 28px; background: #003333; color: #fff; font-family: Arial, sans-serif; font-size: 12px; line-height: 28px; overflow: hidden;}
.topnavbar__menu {float: left; margin: 0 20px;}
.topnavbar__item {display: inline;}
.topnavbar__item_name {color: #fff;}
.topnavbar__social {float: right; margin: 0 20px;}
.topnavbar__link {color: #FCF4D2; background-repeat: no-repeat; background-position: left center; padding: 4px 5px 2px 18px; line-height: 1; text-decoration: none;}
.topnavbar__link_menu {color: #fff; font-weight: bold; background-image: url(/pics/ml_menu.gif); display: none;}
.topnavbar__link_archive {background-image: url(/pics/ml_archive.gif); padding-left: 21px;}
.topnavbar__link_rss {background-image: url(/pics/ml_rss.gif);}
.topnavbar__link_map {background-image: url(/pics/ml_map.gif);}
.topnavbar__link_search {background-image: url(/pics/ml_search.gif);}
.topnavbar__link_mail {background-image: url(/pics/ml_mail.gif);}
.topnavbar__link_calendar{background-image: url(/pics/ml_mail.gif);}
.topnavbar__link_church{background-image: url(/pics/ml_mail.gif);}
.topnavbar__link_english{background-image: url(/pics/ml_mail.gif);}
.topnavbar__link_srpska{background-image: url(/pics/ml_mail.gif);}
.topnavbar__link_ok {background-image: url(/pics/m_ok.gif);}
.topnavbar__link_vk {background-image: url(/pics/m_vkontakte.gif);}
.topnavbar__link_fb {background-image: url(/pics/m_facebook.gif);}
.topnavbar__link_lj {background-image: url(/pics/m_lj.gif);}
.topnavbar__link_tw {background-image: url(/pics/m_twitter.gif);}
.topnavbar__link_yt {background-image: url(/pics/m_youtube.gif);}
.topnavbar__link_el {background-image: url(/pics/m_elitsy.png);}
.topnavbar__showmenu {background: url(/pics/topnavbar_showmenu.png) no-repeat left center; display: none; width: 27px; height: 18px; overflow: hidden; margin-top: 5px;}

/* Средняя область */
.b-main-center p {line-height: 1.4; margin: 0 0 1em; text-align: justify;}
.b-main-center ul, .main_center ul.list_articles.nopic {list-style: disc outside; margin: 10px 0 10px 50px; padding: 0; text-align: left; line-height: 1.4;}

/* Левая колонка */
.mainleft__overlay {display: none; position: absolute; left: 0; top: 0; right: 0; bottom: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.55);}
.mainleft .b-articles-booms {display: none;}
.mainleft .b-new-church {display: none;}
.mainleft .b-books {display: none;}

/* Меню */ 
.b-menu_icons {display: none; padding-top: 36px; background: url(/pics/separator.gif) repeat-x left top; margin-top: 10px; clear: both; float: none;}
.b-menu__inner {display: block; font-family: Arial, Geneva, sans-serif; font-size: 12px; padding: 0; margin: 0 0 20px; text-align: left;}
.b-menu__item {display: block; line-height: 25px;}
.b-menu__item_dark {background: url(/pics/menu_dark.png);}
.b-menu__item_hidden {display: none;}
.b-menu__link {color: #003333; font-weight: bold; background: url(/pics/menu_li.gif) no-repeat 6px 3px; padding-left: 26px; line-height: 25px; text-transform: uppercase; display: block; text-shadow: 1px 0 0 #fff; text-decoration: none;}
.b-menu__link:hover {text-decoration: none;}
.b-menu__photo {max-width: 210px; height: auto; padding: 2px; background: #fff; border: 1px solid #ccc; margin: 10px 0 10px 25px;}
.b-menu__sub {padding-left: 40px; padding-right: 10px;}
.b-menu__sub__item {list-style: disc outside; display: list-item; line-height: 1.5; padding: 0 0 5px;}
.b-menu__sub__link {text-shadow: none; color: #000; text-decoration: none;}
.b-menu__sub__link:hover {text-decoration: underline; color: #000;}

/* Блок архива материалов */
.b-archive {}
.b-archive__title {font-size: 14px; padding: 4px; text-align: center; text-transform: uppercase; font-weight: bold; margin: 0px 5px 10px 5px; font-family: Georgia, 'Times New Roman'; letter-spacing: 2px;}
.b-archive__title__link {color: #003333;  text-decoration: none;}
.b-archive__inner {padding: 0 10px 0; text-align: left;}
.b-archive__innerblock__link {display: block; width: 170px; height: 165px; background: url(/pics/archive.jpg); margin: 0 auto;}

/* Блок авторов */
.b-authors {}
.b-authors__title {font-size: 14px; padding: 4px; text-align: center; text-transform: uppercase; font-weight: bold; margin: 0px 5px 10px 5px; font-family: Georgia, 'Times New Roman'; letter-spacing: 2px;}
.b-authors__title__link {color: #003333;  text-decoration: none;}
.b-authors__letters {width: 164px; margin: 10px auto; border-top: 1px dotted #ccc; border-right: 1px dotted #ccc}
.b-authors__row {clear: both; float: none;}
.b-authors__letter {background: url(/pics/bg_letters.jpg); border-bottom: 1px dotted #ccc; border-left: 1px dotted #ccc; color: #660000; display: block; float: left; font-size: 90%; height: 30px; line-height: 30px; text-align: center; text-decoration: none; vertical-align: middle; width: 40px; font-weight: bold;}
.b-authors__letter-disable {background: url(/pics/bg_letters.jpg); border-bottom: 1px dotted #ccc; border-left: 1px dotted #ccc; color: #660000; display: block; float: left; font-size: 90%; height: 30px; line-height: 30px; text-align: center; text-decoration: none; vertical-align: middle; width: 40px; font-weight: bold;}
.b-authors__letter:hover {background: #003333; color: #fff;}

/* Рекомендуем посетить */
.b-recommended {margin-bottom: 10px; padding: 0 20px; font-weight: bold; font-size: 16px; background: url(/pics/recommended.jpg) repeat-x; height: 78px; text-align: center; display: block; line-height: 78px; text-decoration: none; overflow: hidden; color: #000;}

/* Какой-то бумс на главной странице для большой рекламы статей */
.b-articles-booms {padding: 0; margin: 0 0 20px; background:#fff5db; width: 250px;}
.b-articles-booms_left {display: none; margin: 0;}
.b-articles-booms__inner {padding: 0;}
.b-articles-booms__item {padding: 10px; text-align: center; display: block; color: #000; text-decoration: none;}
.b-articles-booms__item  .caption {display: block;}
.b-articles-booms__item  .caption2 {display: block;}
.b-articles-booms__item:hover {background: #ffedbf; text-decoration: none;}
.b-articles-booms__image {border: 1px solid #ccc; padding: 2px; background: #fff; max-width: 200px;}

/* Блок ссылки для пожертвований на строительство нового Храма */
.b-new-church {width: 230px; height: 97px; padding: 0 10px; margin-bottom: 20px; text-align: center;}
.b-new-church_left  {display: none;}

/* Блок календаря (не БЭМ, ибо проблемно править код) */
.b-calendar {margin: 0 10px 20px;}
.b-calendar__title {color: #003333; font-size: 14px; padding: 4px; text-align: center; text-transform: uppercase; font-weight: bold; margin: 0px 5px 10px 5px; font-family: Georgia, 'Times New Roman'; letter-spacing: 2px;}
.b-calendar__tlink {color: #003333; text-decoration: none;}
.b-calendar__inner {text-align: left; font-size: 12px; padding: 0 10px 0;}
.b-calendar a {color: #000;}
.b-calendar .DD_ICON {text-align: center; margin-bottom: 10px;}
.b-calendar .DD_ICON img {border: 1px solid #ccc; padding: 2px; background: #fff;}
.b-calendar .DP_TEXT {text-align: left; margin-bottom: 10px; line-height: 1.2;}

/* Блок аудио */
.b-audio {margin: 0 10px 20px;}
.b-audio__title {color: #003333; font-size: 14px; padding: 4px; text-align: center; text-transform: uppercase; font-weight: bold; margin: 0px 5px 10px 5px; font-family: Georgia, 'Times New Roman'; letter-spacing: 2px;}
.b-audio__tlink {color: #003333; text-decoration: none;}
.b-audio__tlink:hover {text-decoration: underline;}
.b-audio__inner {text-align: left; font-size: 12px; padding: 0 10px 0;}
.b-audio__pic {border: 1px solid #ccc; padding: 2px; background: #fff; width: 200px; height: auto;}
.b-audio__item {margin-bottom: 20px;}
.b-audio__caption {margin: 0 0 10px; padding: 3px 0px 8px 25px; display: block; background:url(/pics/play.gif) no-repeat 4px 8px;}
.b-audio__clink {color: #000; text-decoration: none;}
.b-audio__plink {color: #000; text-decoration: none;}
.b-audio__alink {color: #000; text-decoration: none;}
.b-audio__more {text-align: right;}
.b-audio__mlink {color: #000; text-decoration: none;}

/* Блок СМИ */
.b-smi {margin: 0 10px 20px;}
.b-smi_left {display: none;}
.b-smi__inner {text-align: left; font-size: 12px; padding: 0 10px 0;}
.b-smi__title {color: #003333; font-size: 14px; padding: 4px; text-align: center; text-transform: uppercase; font-weight: bold; margin: 0px 5px 10px 5px; font-family: Georgia, 'Times New Roman'; letter-spacing: 2px;}
.b-smi__tlink {color: #003333; text-decoration: none;}
.b-smi__item {margin-bottom: 25px; overflow: hidden;}
.b-smi__pic-link {border: 1px solid #ccc; padding: 2px; background: #fff; display: block; max-width: 200px; overflow: hidden;}
.b-smi__pic {width: 100%; height: auto; display: block;}
.b-smi__description {text-align: left;}
.b-smi__source {color:#8C8C8C; display: block; font-size: 11px; margin: 0;}
.b-smi__caption {color:#8C8C8C; display: block; display: block; font-style: italic;}
.b-smi__anons {display: block; color: #000;}
.b-smi__pic-link {}
.b-smi__caption-link {color: #000; text-decoration: none;}
.b-smi__anons-link {color: #000; text-decoration: none;}

/* Блоки баннеров */
.b-banners {}
.b-banner__ot {width: 250px; display: block; background: url(/pics/otbook.gif) center no-repeat; height: 100px; margin-bottom: 10px;}
.b-banner__obshdelo {width: 250px; text-align: center; height: 100px; background: #ebebeb; display: block; border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9; margin-bottom: 10px;}
.b-banner__obshdelo-pic {width: 207px; height: 100px;}
.b-banner__vizantia {width: 250px; display: block; height: 100px; text-align: center; background: url(/pics/vizantia-info-bck.gif) repeat-x;}
.b-banner__vizantia-pic {width: 194px; height: 100px;}
.b-banner__prbook {width: 250px; display: block; background: url(/pics/pr_book.gif) no-repeat center #fff; height:100px; margin-top: 10px;}
.b-banner__ebooks {width: 250px; display: block; margin-top: 10px; margin-bottom: 20px; text-align: center;}
.b-banner__ebooks-text {display: block; height: 21px; margin-top: 10px; background:url(/pics/ebooks1.gif) repeat-x;}
.b-banner__ebooks-pic {}
.b-banner__ebooks-image {display:block; height:79px; background:url(/pics/ebooks2.jpg) center repeat-x;}

/* Блок с книгами */
.b-books {margin: 0 10px 20px; width: 230px;}
.b-books__title {color: #003333; font-size: 14px; padding: 4px; text-align: center; text-transform: uppercase; font-weight: bold; margin: 0px 5px 10px 5px; font-family: Georgia, 'Times New Roman'; letter-spacing: 2px;}
.b-books__tlink {color: #003333; text-decoration: none;}
.b-books__inner {text-align: left; font-size: 12px; padding: 0 10px 0; margin: 10px; text-align: center;}
.b-books__item {padding: 0 10px 10px; text-align: center;}
.b-books__pic {border: 1px solid #ccc; padding: 2px; background: #fff;}
.b-books__text {color: #000; text-decoration: none; display: block;}
.b-books__caption {font-style: italic; display: block;}

/* Соцсети */
.b-social {display: none; text-align: center; margin: 0 10px 20px;}
.b-social-link {display: inline-block; width: 30px; height: 30px; background-repeat: no-repeat; background-position: left top;}
.b-social-link_ok {background-image: url(/pics/b-social_ok.png);}
.b-social-link_vk {background-image: url(/pics/b-social_vk.png);}
.b-social-link_fb {background-image: url(/pics/b-social_fb.png);}
.b-social-link_lj {background-image: url(/pics/b-social_lj.png);}
.b-social-link_tw {background-image: url(/pics/b-social_tw.png);}
.b-social-link_yt {background-image: url(/pics/b-social_yt.png);}
.b-social-link_el {background-image: url(/pics/b-social_el.png);}

/* Контакты */
.b-contacts {text-align: center; margin: 0 10px 20px;}
.b-contacts__link {color: #000;}

/* Список статей в правой колонке */
.b-artileslist {margin: 0 10px 20px;}
.b-artileslist__title {color: #003333; font-size: 14px; padding: 4px; text-align: center; text-transform: uppercase; font-weight: bold; margin: 0px 5px 10px 5px; font-family: Georgia, 'Times New Roman'; letter-spacing: 2px;}
.b-artileslist__inner {padding: 0 10px;}
.b-artileslist__caption {color: #003333; margin: 20px 5px 10px 10px; font-size: 16px; font-family: Georgia, 'Times New Roman', serif; font-weight: bold;}
.b-artileslist__clink {color: #003333; text-decoration: none;}
.b-artileslist__item {margin-bottom: 10px;}
.b-artileslist__link {color: #000; text-decoration: none;}


/* Сюжеты на главной странице */
.suzhet {height: 150px; overflow:hidden; margin-bottom: 20px; position: relative; border: 1px solid #E8E8E8; font-family: Arial, sans-serif; line-height: 1.2; font-size: 14px;}
.suzhet__imagelink {display:block; width: 400px; height:150px; overflow:hidden; position: absolute; top: 0; left: 0;}
.suzhet__image {width: auto; height: 150px;}
.suzhet__list {margin-left: 410px;}
.suzhet__title {display:block; color:#000; font-weight:bold; padding: 10px 0; text-transform: uppercase;}
.suzhet__tlink {color: #000; text-decoration: none;}
.suzhet__tlink:hover {text-decoration: underline;}
.suzhet__item {background:url(/pics/ul5.gif) 0 2px no-repeat; padding:0 10px 0 35px; margin: 0 0 0.5em; text-align: left; font-size: 12px;}
.suzhet__link {text-decoration: none; color: #000;}
.suzhet__link:hover {text-decoration: underline;}
.suzhet__shorttext {text-decoration: none; color:#000; padding: 0 5px 10px}
.suzhet__shorttext-link {text-decoration: none; color:#000;}
.suzhet__shorttext-link:hover {text-decoration: underline;}
.suzhet__all {display:block; padding: 10px; line-height: 1; color:#003333; background: #FFF5DB; position: absolute; bottom: 0; right: 0; width: 100%; text-align: left; text-indent: 432px; font-family: Arial, sans-serif; font-weight: bold; text-decoration: none;}
.suzhet__all:hover {background: #ffedbf;}

/* Вертушка на главной */
.vertushka{position:relative; height: 380px; overflow: hidden;  background: #fff; border: 1px solid #e8e8e8; padding:0; text-align: left; font-family: Arial, sans-serif; font-size: 12px;}
.vertushka__images {width: 400px; height: 380px; position: absolute; top: 0; left: 0; overflow: hidden;}
.vertushka__image {width: 400px; height: 300px;}
.vertushka__tab {width: 400px; height: 300px;background: #999; position: relative;}
.vertushka__info {font-size:12px; line-height: 18px; display: block; position: absolute; top: 220px; left:0px; height: 280px; width: 400px; padding-top:10px; background: url(/pics/bg_vertushka_image.png) 0px -40px;}
.vertushka__author {display: block; font-style:italic; font-size:17px; color: #fff; padding:0px 20px 6px; line-height:100%; text-shadow: 0px 0px 6px black; -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";}
.vertushka__title {display: block; color: #ffda62; font-weight: bold; font-size: 20px; padding:0px 20px 6px; line-height:100%; text-shadow: 0px 0px 6px black; -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";}
.vertushka__subtitle {display: block; color:#ffda62; color:#ffe693; font-style:italic; font-size:17px; padding:0px 20px 6px; line-height:100%; text-shadow: 0px 0px 6px black; -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";}
.vertushka__vvodka {display: block; color:#ffe693; font-size:13px; line-height:120%; padding:0px 20px 6px; line-height:100%; text-shadow: 0px 0px 6px black; -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";}
.vertushka__infobottom {position: absolute;top:300px;left:0px;width: 400px;height: 130px;background: url(/pics/bg_vertushka_image.png);}
.vertushka__items {margin-left: 400px;}
.vertushka__nav{list-style:none;padding:0; margin:0;height:380px;overflow:hidden;}
.vertushka__navitem{color:#666; position: relative;}
.vertushka__navitem_selected {background: #dbdbdb; padding: 0;}
.vertushka__navpic {float:left; margin:3px 5px; padding:2px; border:1px solid #eee; background: #fff; width: 85px; height: 64px;}
.vertushka__navlink{display:block; height:76px; text-decoration:none; color:#333; outline:none; overflow: hidden; text-align: left;}
.vertushka__navlink:hover{background:#f2f2f2; text-decoration:none;}

/* Блок новостей на главной */
.mainnews {overflow: hidden; padding: 0 0 10px; position: relative; margin-top: 10px; line-height: 1.4; font-size: 14px; font-family: Arial, sans-serif;}
.mainnews__title {font-weight: bold; margin: 20px 0; font-size: 22px; text-align: center; text-transform: uppercase; letter-spacing: 2px; font-family: Georgia, 'Times New Roman', serif;}
.mainnews__tlink {color: #000; text-decoration: none;}
.mainnews__pics {height: 81px; overflow: hidden; padding: 0 10px 0 0; margin-bottom: 10px;}
.mainnews__pic {background: #fff; border: 1px solid #ccc; margin-right: 5px; padding: 2px; height: 75px;}
.mainnews__items {padding: 0 10px 0 10px;}
.mainnews__item {margin:4px 0px 4px 0px; padding:0px 0px 0px 25px; background:url(/pics/ul.gif) no-repeat 0px 4px;}
.mainnews__link {color:#003333; text-decoration: none;}
.mainnews__link:hover {text-decoration: underline;}
.mainnews__more {padding-left: 35px; margin: 10px 0;}
.mainnews__more-link {color: #000;}
.mainnews__ortox {margin:4px 0px 4px 10px; padding: 0 42px 0 25px; background:url(/pics/ortox.gif) no-repeat left top; }
.mainnews__ortox-link {color:#003333; text-decoration: none;}
.mainnews__ortox-link:hover{text-decoration: underline;}

/* Список статей */
.articles-list {line-height: 1.4; font-size: 14px;; font-family: Arial, sans-serif;}
.articles-list__caption {font-weight: bold; margin: 20px 0 0; font-size: 22px; text-align: center; text-transform: uppercase; letter-spacing: 2px; font-family: Georgia, 'Times New Roman', serif;}
.articles-list__clink {color: #000; text-decoration: none;}
.articles-list__inner {padding: 20px 0;}
.articles-list__item {margin: 0 0 20px;}
.articles-list__item:after {display: table; content: ''; clear: both; float: none;}
.articles-list__items_loader {height: 11px; background: url(/pics/ajax-loader.gif) no-repeat center center;}
.articles-list__pic {float: left; border: 1px solid #ccc; padding: 2px; margin: 0 10px 0 0; width: 200px; height: auto;}
.articles-list__description {margin-left: 216px;}
.articles-list__path {color: #8C8C8C; font-size: 14px;}
.articles-list__title {font-weight: bold; text-transform: uppercase;}
.articles-list__title-link {color: #000; text-decoration: none;}
.articles-list__subtitle {font-weight: bold;}
.articles-list__subtitle-link {color: #000; text-decoration: none;}
.articles-list__author {font-style: italic;}
.articles-list__text {}
.articles-list__text-link {color: #000; text-decoration: none;}
.articles-list__text:after {display: table; content: ''; clear: both; float: none;}

.slideshow_my_history {max-width: 740px; height: 180px; overflow: hidden; margin: 20px auto; text-align: center; position: relative;}
.slideshow_my_history__inner {position: absolute; left: 0; top: 0; height: 180px; width: 2220px;}
.slideshow_my_history a {}
.slideshow_my_history img {display: block; width: 740px; height: 180px; float: left;}

/* Футер */
.footer {color: #fff; font-size: 12px; font-family: Arial, sans-serif; position: relative; padding: 10px 0 5px; background: url(/pics/bg_footer.png) repeat-x;}
.footer__left {float: left; width: 40%; padding: 0 20px;}
.footer__left__link {color: #FFE6AA; text-decoration: underline;}
.footer__center {position: absolute; width: 150px; left: 50%; margin-left: -95px; top: 15px; padding: 0 20px;}
.footer__center__link {color: #FFE6AA; text-decoration: underline;}
.footer__right {float: right; width:50%; text-align: right; padding: 0 20px;}
.footer__contact {float: right; width:50%; text-align: right; padding: 0 20px;}

@media only screen and (max-width: 1150px) {	
	.maincontent_three-columns {background: none;}
	.maincenter_three-columns {padding-right: 20px;}
	
	.b-social {display: block;}
	
	.topnavbar__menu {float: none;}
	.topnavbar__social {display: none;}
	
	.mainright {float: none; clear: both; margin: 0; padding: 20px; margin-left: 250px; width: auto; overflow: hidden; position: static;}
	.mainright_autoload {display: none;}
	.mainright .b-articles-booms {display: none;}
	.mainright .b-new-church {display: none;}
	.mainright .b-books {display: none;}

	.mainleft .b-articles-booms {display: block;}
	.mainleft .b-new-church {display: block;}
	.mainleft .b-books {display: block;}
	
	.b-calendar {float: left; width: 45%;}
	.b-audio {float: left; width: 45%;}
	.b-smi {clear: both;}
	.b-smi__item {width: 30%; height: 240px; margin-right: 3%; float: left;}
	.b-separator_hidden {display: block;}
	
	.footer__left {width: 40%;}
	.footer__right {width: 40%;}
}

@media only screen and (min-width: 931px) {
	.mainleft {display: block !important;}
}

@media only screen and (max-width: 930px) {
	.overwrap {background: #fff;}
	.overwrap_mobversion {padding-top: 63px;}
	
	.b-menu__item_hidden {display: block;}
	.header_index__left {width: auto; text-align: center; float: none;}
	.header_index__right {display: none;}
	.shortheader__showmenu {display: block;}

	.topnavbar__menu {display: none;}
	.topnavbar__showmenu {display: block;}
	
	.mainleft {display: none; float: none; margin: 0; position: fixed; top: 0; width: 100%; overflow: auto; padding: 0;}
	.mainleft__inner {background: #fff url(/pics/bg-left.png) repeat-y left top; width: 250px;  box-shadow: 0 0 10px rgba(0,0,0,0.5); overflow: hidden; position: relative;}
	.b-menu_icons {display: block;}
	
	.mainright {padding-left: 20px; margin-left: 0;}
	.maincenter_three-columns {padding-left: 20px;}
	
	.b-menu_icons {background: none; padding-top: 0;}
	.b-articles-booms_left {display: none;}
	.mainnews__ortox-link {display: none;}
	
	.footer {position: static;}
	.footer__left {float: none; width: auto;}
	.footer__center {position: static; width: auto; margin: 10px 0;}
	.footer__right {float: none; text-align: left; width: auto;}
}

@media only screen and (max-width: 690px) {
	.header_index__left {float: none; width: auto;}
	.header_index__right {display: none;}
	.header_index__logo {width: 90%; max-width: 455px; height: auto;}
	
	.header-badbrowser__logo {width: 90%; max-width: 455px; height: auto;}
	
	.topnavbar__link_rss {display: none;}
	.topnavbar__link_map {display: none;}
	.topnavbar__link_mail {display: none;}
	
	.suzhet {height: auto; max-width: 400px; margin: 0 auto 20px;}
	.suzhet__imagelink {width: 100%; max-width: 400px; height: auto; position: static;}
	.suzhet__image {width: 100%; height: auto;}
	.suzhet__list {margin: 0;}
	.suzhet__title {margin: 0 5px;}
	.suzhet__item {margin: 5px; display: none;}
	.suzhet__all {display: none;}

	.vertushka {height: auto; width: 100%; max-width: 400px; margin-left: auto; margin-right: auto;  border: 0;}
	.vertushka__images {position: static; height: auto; width: 100%;}
	.vertushka__items {display: none;}
	.vertushka__tab {height: auto; width: 100%; display: block !important; margin-bottom: 10px; overflow: hidden; background: none;}
	.vertushka__image {width: 100%; height: auto;}
	.vertushka__vvodka {display: none;}
	.vertushka__info {top: auto; bottom: 0; height: auto; padding: 30px 0 0; width: 100%; overflow: hidden;}
	.vertushka__infobottom {display: none; top: auto; bottom: -38px; width: 100%;}
	
	.mainnews {margin: 10px auto; max-width: 400px;}
	
	.articles-list {width: 100%; max-width: 400px; margin-left: auto; margin-right: auto;}
	.articles-list__caption {display: none;}
	.articles-list__item {overflow: hidden;}
	.articles-list__title {text-transform: none;}
	.articles-list__pic {width: 100%; height: auto; float: none; border: 0; padding: 0;}
	.articles-list__description {margin: 0;}
	.articles-list__path {display: none;}
	.articles-list__text {display: none;}

	.mainright {max-width: 400px; margin: 0 auto;}
	
	.b-calendar {float: none; width: auto;}
	.b-audio {float: none; width: auto;}
	.b-smi__item {width: auto; margin-right: 0;}
}