/*
 * Стили внутренних страниц: текст глав, толкования, панели и окна чтения, поиск, кабинет.
 * Подключается после main.css на всех страницах, кроме главной (блок inner_css в front/base.html.twig,
 * в index.html.twig он пуст). Сюда вынесены правила main.css, которые на главной не срабатывают —
 * на главной меньше неиспользуемого CSS. Правило, нужное и главной, держать в main.css.
 */
#audio-player {
    display: block;
    margin: 0 auto;
}

#player-caption {
    margin-top: 15px
}

#audio-block {
    padding-top: 2px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #fff
}

#audio-player-caption {
    display: block;
    width: 60%;
    margin: 0 auto;
    text-align: center;
    position: absolute;
    top: 1%;
    left: 20%;
    z-index: 2;
    color: #907b49;
    font-size: 70%
}

.play-audio {
    color: var(--accent-color, #8A4A26);
    display: inline-block;
}

.play-audio__icon,
.interpret__icon {
    font-size: 1.2em;
}

.interpret__icon {
    margin-right: 5px;
}

.play-audio__icon {
    transition: all .5s ease;
    padding: 1px;
    border-radius: 50%;
}

.active .play-audio__icon {
    color: #fff;
    background: var(--accent-bg, #8A4A26);
    padding: 2px;
}

.column-header .play-audio {
    margin-left: 5px;
}

ul.navigation-menu {
    margin: 4px 0 0
}

ul.navigation-menu>li {
    display: inline;
    margin: 0;
    list-style: none
}

ul.navigation-menu>li>a {
    padding: 2px .5em;
    margin: 0 0 0 3px;
    border: 1px solid #f0c8b6;
    border-bottom: none;
    text-decoration: none
}

ul.navigation-menu>li>a:hover {
    text-decoration: underline
}

ul.navigation-menu>li.active>a:hover {
    text-decoration: none
	}

.navigation-body {
    padding-top: 5px;
    background: #f8f4e4;
    border: 1px solid #f0c8b6;
    border-collapse: collapse
}

.book-ps .navigation-body {
    border-right: 3px solid #f0c8b6
}

ul.navigation-menu>li.active>a {
    background-color: #f8f4e4;
    color: #333
}

.btn-large {
    padding: 16px 29px;
    font-weight: bold;
}

.title-comma {
    font-weight: normal;
}

.title__chapter-pre {
    text-transform: lowercase;
}

.title__chapters-selector__panel {
    width: var(--col-width);
    max-width: 84vw;
    position: absolute;
    top: 29px;
    z-index: 5;
}

.title__chapters-selector__panel ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 2em;
    justify-items: center;
    align-items: center;
    gap: 5px 10px;
}

.title__chapters-selector__panel li {
    margin: 0!important;
}

.btn-title,
.btn-title-link-copy {
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-admin{
	color: var(--admin-color)!important;
}

.btn-title-link-copy.copied:after {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    content: attr(data-copied-label);
    margin-left: 5px;
}

.header-icon {
    display: none;
    height: 100%;
}

.header-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right;
}

.h3 {
    font-size: 1.17em;
    font-weight: bold;
}

.title-nav,
.interpret,
.play-audio,
.manuscript-link {
    color: var(--accent-color, #8A4A26);
}

.verse-text {
    color: #2f2f2f;
}

.icon-edit.active {
    color: var(--accent-color, #8A4A26);
}

.links {
    width: 820px;
    margin: 0 auto;
    padding-right: 160px
}

.links a {
    color: var(--accent-color, #8A4A26);
    font-size: 10px;
    font-family: Arial, sans-serif;
    font-weight: 700
}

.links .l {
    width: 160px
}

.links .r {
    width: 200px
}

.cloud-book{
	pointer-events: none;
	position: relative;
}

.cloud-book-wrap{
	display: inline-block;
	position: relative;
	padding: 0 2px;
}

.cloud-book-wrap:hover .cloud-book:before,
.cloud-book-wrap.hover .cloud-book:before{
	content:'';
	position:absolute;
	left: -6px;
	right: -4px;
	top: -2px;
	bottom: -4px;
	border: 1px solid;
	border-radius: 1rem;
}

.cloud-book-wrap:first-child:before {
    content: '[';
}

.cloud-book-wrap:last-child:after {
    content: ']';
}

.book--Ps {
    font-weight: bold;
}

.book-group {
    white-space: normal;
}

.book-group-1 {
    color: #8B0000
}

.book-group-2 {
    color: #2A2ACA
}

.book-group-3 {
    color: #088E08
}

.book-group-4 {
    color: #996602
}

.book-group-6 {
    color: #800;
    font-weight: 700
}

.book-group-7 {
    color: #880000
}

.book-group-8 {
    color: #996602
}

.book-group-9 {
    color: #672AE8
}

.book-group-10 {
    color: #088E08
}

.book-group .non-canon {
    color: #888;
}

.cloud-book-ps {
    font-weight: 700;
    color: #edc78a
}

.cloud-chapter-links{
	position: absolute;
	top: 99%;
	left:0;
	box-sizing: border-box;
	max-width: 100vw;
	max-width: calc(100vw - 40px);
	width: max-content;
	overflow-x: hidden;
	z-index: 5;
}

.panel.cloud-chapter-links{
	padding: 2px 8px;
}

/* Панель глав заполняет base.js при первом наведении; пока пусто — не показываем рамку */

.cloud-chapter-links:empty{
	display: none;
}

.cloud-chapter-links.right-overflow{
	left: auto;
}

.bottom-side .cloud-chapter-links{
	top: auto;
	bottom: 99%;
}

.hover-active.right-side .cloud-chapter-links{
	left: auto;
	right: 0;
	margin: auto;
}

.cloud-chapter-links__inner{
	table-layout: fixed;
}

.cloud-chapter-link__wrap a{
	width: 8vw;
	padding: 2px;
	display: inline-block;
}

.cloud-chapter-link{
	font-weight: normal;
	position: relative;
}

.cloud-chapter-link:hover:before{
	content:'';
	position: absolute;
	top: calc(-.1em + 2px);
	left: calc(-.125em + .1px);
	bottom: -.1em;
	right: -.125em;
	border: 1px solid;
	border-radius: 5px;
}

.nav-kafism-2 {
    margin-left: 10px !important
}

.nav-chapters-2 li {
    display: block
}

.nav-chapters-2 .cur-chapter,
.nav-chapters-2 .next-chapter,
.nav-chapters-2 .prev-chapter {
    text-align: center
}

.bottom-menu-container {
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 10;
    padding: 0 0 0 10px;
}

.kafizms-wrap,
.bottom-menu {
    width: 100%;
    display: flex;
    align-items: flex-start;
    margin-right: auto;
    margin-left: 0;
    padding-top: 5px;
    font-size: 14px;
}

.bottom-menu a {
    color: #2a2a2a;
    color: var(--text-color, #2a2a2a);
}

.bottom-menu a:hover {
    color: #fa0000;
}

.prev-chap,
.next-chap {
    white-space: nowrap;
    margin-top: -2.5px;
}

.prev-chap {
    padding-left: 10px;
}

.next-chap {
    padding-right: 10px;
}

.prev-chap a+a,
.next-chap a+a {
    margin-left: 5px;
}

.lb-nav {
	right: auto;
	left: 0;
}

.rb-nav>.link.btn-bookmark:after {
    display: block;
}

.rb-nav.fade {
    opacity: 0;
    pointer-events: none
}

.yandex-share-wrap {
    position: absolute;
    right: 100%;
    top: 0;
    display: block;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}

.rb-nav__share.hover .yandex-share-wrap,
.desktop .rb-nav__share:hover .yandex-share-wrap {
    opacity: 1;
    pointer-events: all;
}

/* Номер главы и прочие пункты .rb-nav__mobile (переход по стихам в толковании) — только в мобильной
   нижней панели (ниже), на десктопе они в полосе внизу */

.rb-nav .btn-chapters,
.rb-nav .rb-nav__mobile {
    display: none;
}

@media (max-width:768px) {

    /* Панель гаснет по таймеру (body.show-bottom-panel, base.js, настройка «Нижнее меню»),
       но не пока открыт переключатель глав */

    .chapters-open .rb-nav {
        opacity: 1;
        pointer-events: all;
    }

    .rb-nav .btn-chapters {
        order: -2;
        gap: 3px;
        cursor: pointer;
    }

    .btn-chapters__num {
        font-size: 17px;
        line-height: 1;
        font-variant-numeric: tabular-nums;
    }

    .btn-chapters .icon-chevron-up {
        font-size: 13px;
        transition: transform .25s ease;
    }

    .chapters-open .btn-chapters .icon-chevron-up {
        transform: rotate(180deg);
    }

    /* Переключатель глав — над панелью. Скрыт через visibility, а не display: book-footer.js
       при загрузке прокручивает ленту к текущей главе и мерит её ширину */

    .bottom-menu-container.chapters-dropdown {
        position: fixed;
        left: 0;
        right: 0;
        bottom: var(--bottom-bar-h);
        z-index: 12; /* как у .rb-nav: над промо-баннером (на телефоне 11, promo.twig), под окнами .popup-wrap (13) */
        padding-top: 6px;
        padding-bottom: 8px;
        box-shadow: 0 -4px 10px -4px #3a3a3a3a;
        transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    }

    body:not(.chapters-open) .bottom-menu-container.chapters-dropdown {
        opacity: 0!important;
        visibility: hidden;
        pointer-events: none!important;
        transform: translateY(10px);
    }

    .chapters-open .bottom-menu-container.chapters-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        transform: none;
        transition: opacity .25s ease, transform .25s ease, visibility 0s;
    }

    body .book-audio-tray {
        bottom: calc(var(--bottom-bar-h) + 6px);
    }

    body .selection-menu {
        transform: translate(calc(50vw - 50%), calc(100vh - 100% - var(--bottom-bar-h) - 8px));
    }

    /* Панели интерлинеарного (редакция, транскрипция) открываются вверх, у правого края */

    .rb-nav .transcript-wrap .panel,
    .rb-nav .variant-wrap .panel {
        position: fixed;
        top: auto;
        right: 8px;
        bottom: calc(var(--bottom-bar-h) + 8px);
    }
}

.multiline-nav .bottom-menu .chapters {
    display: grid;
    grid-template-columns: repeat(auto-fill, 2em);
    row-gap: 5px;
}

.multiline-nav .chapters-wrap {
    width: 100%;
    overflow: hidden;
}

.multiline-nav .prev-chap,
.multiline-nav .next-chap {
    display: none;
}

.chapters-wrap {
    /* flex-grow:1; */
    overflow-x: auto;
    padding: 5px;
    margin: -5px 25px 0 -5px;
}

.kafizms-wrap .chapters li,
.bottom-menu .chapters li {
    margin: 0 1em;
}

.navigation-menu-tab td:last-child ul {
    border-right: none
}

.chapter-href,
.page-item {
    padding: 1px 4px 3px;
    min-width: 1em;
    text-align: center;
    border: 1px solid #F0000000;
}

.chapter-href:hover,
.page-item:hover {
    border-radius: 5px;
    border: 1px solid var(--accent-hover, #A85A2E);
}

.page-item.active,
.current-chapter {
    border-radius: 5px;
    border: 1px solid var(--accent-color, #8A4A26);
}

.chapters_title {
    font-weight: 700;
    font-size: 12pt;
    text-align: center
}

.sidebar-r {
    position: fixed;
    left: auto;
    right: 0;
    top: 202px;
    transform: translateX(100%);
    min-width: 272px;
    padding: 14px 19px 12px 17px;
    z-index: 9;
    border-radius: 5px 0 0 5px;
    transition: transform .5s ease;
}

.has-sidebar-r .sidebar-r {
    transform: none;
}

.sidebar-toggle {
    transform: translateX(-40px);
}

.sidebar-toggle:before {
    content: '';
    position: absolute;
    border-radius: 30px;
    left: -10px;
    top: -10px;
    bottom: -10px;
    right: 0;
    z-index: -1;
    transition: transform .5s ease, opacity .5s ease;
    pointer-events: none;
}

.sidebar-toggle__icon {
    transition: transform .5s ease;
}

.has-sidebar-r .sidebar-toggle {
    transform: none;
}

.has-sidebar-r .sidebar-toggle__icon {
    transform: rotate(90deg);
}

.has-sidebar-r .sidebar-toggle:before {
    opacity: 0;
    box-shadow: none;
}

.sidebar-block {
    display: block;
    margin-top: 20px;
}

.sidebar-block--offset {
    padding-left: 25px;
    position: relative;
}

.sidebar-block__icon {
    position: absolute;
    left: 0;
    font-size: 20px;
    color: var(--accent-color, #8A4A26);
}

.sidebar-block__icon:before {
    vertical-align: -5%;
}

.add-lang__list,
.replace-lang__panel {
    position: fixed;
    left: 50vw;
    top: 50vh;
    transform: translate(-50%, -50%);
    max-height: 54vh;
}

.remove-lang__all {
    margin-right: 11px;
}

.about-link {
    text-align: center;
    margin: 5px 0
}

.interprets {
    overflow: auto;
}

.interprets li {
    margin: 5px 0 5px 1.2em;
    white-space: nowrap;
}

.interpret-list {
    position: absolute;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
    border-radius: 5px;
    padding: 2px 10px;
}

.interpret:hover .interpret-list,
.interpret-list.active {
    position: fixed;
    opacity: 1;
    left: 10px;
    right: 10px;
	
	opacity: 1;
    pointer-events: all;
}

.sidebar-r .img-divider {
    background: url(../img/dividers_13.svg) 50% no-repeat
}

.selection-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
	overflow-x: hidden;
    transform: translate(calc(50vw - 50%), calc(100vh - 100% - 32px));
    transition: opacity .3s ease, transform .3s ease!important;
}

.dragging-menu .selection-menu{
	transition: none!important;
}

.dragging-menu{
	overflow-y: hidden;
}

.dragging-menu *{
	user-select: none!important;
}

.dragging-menu .tooltip{
	display: none!important;
}

.selection-menu>a,
.selection-menu .btn-dictionary{
    display: block;
    white-space: nowrap;
}

.selection-menu>a,
.selection-menu .link-row,
.selection-menu summary,
.selection-menu .btn-dictionary{
    padding-top: 5px;
    padding-bottom: 5px;
}

.selection-menu .copy-pic,
.selection-menu summary{
	color: var(--accent-color);
}

.selection-menu hr {
    margin-block-start: 10px;
    margin-block-end: 10px;
}

.selection-menu .deselect {
	display: inline-block;
    margin-right: 5px;
    margin-top: 5px;
}

.selection-menu .menu-header{
	margin-top: -10px;
	margin-left: -15px;
	margin-bottom: -5px;
	width: calc(100% + 30px);
	text-align: right;
}

.social-menu:before {
    font-family: icomoon;
    content: "\e90d";
    margin-right: 5px;
    color: var(--accent-color, #8A4A26);
}

.social-menu {
    display: flex;
    gap: 1px;
    margin-bottom: 10px;
}

.social-menu a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.25em;
    height: 1.5em;
    background: #efe9e9;
    background: var(--body-bg, #efe9e9);
}

.social-menu a:first-of-type {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.social-menu a:last-of-type {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.social-menu .fa-whatsapp {
    margin-left: .1em;
}

.verse .christ-speech{
	color: var(--christ-speech-color, inherit);
}

.verse.current-line{
	background: var(--widget-bg);
}

.full-row {
    grid-column: 1/span calc(var(--col-count) + 1);
}

.the-slava,
.chapter-title {
    color: var(--grey-color, #999);
    padding: 10px 50px;
    max-width: calc(100vw - 100px);
    position: sticky;
    left: 0;
}

.col-1 {
    grid-column: 2;
}

.col-2 {
    grid-column: 3;
}

.col-3 {
    grid-column: 4;
}

.col-4 {
    grid-column: 5;
}

.verse-chapter-title {
    padding-top: 1em;
    padding-bottom: 1em;
    color: #999;
	color: var(--grey-color, #999);
    font-style: italic;
    font-weight: normal;
    font-size: .95em;
}

.flat-panel {
    margin-top: 3px;
    padding: 3px 10px 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none!important;
    background: #fafafa;
    background: var(--widget-bg, #fafafa);
    z-index: 1;
}

.tbl-content+.tbl-content .verse-chapter-title {
    padding-top: 0;
    padding-bottom: .75em;
}

.no-translation.dummy-verse {
    padding-left: 50px;
}

.no-translation.dummy-verse.col-narrow {
    padding-left: 0;
}

.no-translation+.title{
	margin-top: 1rem;
}

.verse .btn-verse-comment {
    color: #ccc;
	position: relative;
}

.verse .btn-verse-comment:after {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    top: -10px;
    bottom: -10px;
}

.verse-comment-panel {
    position: relative;
}

.verse-comment-panel .btn-close {
    /* relative, а не unset: от крестика отсчитывается его зона нажатия ::after */
    position: relative;
    top: auto;
    right: auto;
    float: right;
}

.verse.row-span{
	grid-row: 2/512;
}

.new-chapter {
    margin-top: 20px;
}

.the-slava {
    font-weight: bold;
}

.the-slava.fix-offset {
    padding-top: 0;
    padding-bottom: 0;
}

.verse .book-lang-offers{
	margin-left: 1rem;
}

.tag.removable {
    padding-right: 1px;
}

.tag.removable:after {
    content: "\e90f";
    font-family: icomoon;
    vertical-align: -2px;
    color: var(--grey-color, #999);
}

.column {
    min-width: 100px;
}

.hide-verse-numbers #toggle_verse_numbers{
	transform: scaleX(-1);
}

.has-crossref .verse {
    color: var(--grey-color, #999);
}

.has-crossref .verse.crossref-verse {
    background: #fffa4d33!important;
    color: #2a2a2a;
    color: var(--text-color, #2a2a2a);
}

.has-crossref .verse.crossref-verse.verse-chapter-title{
	background: transparent!important;
}

.col-lang-i .verse {
    direction: rtl;
    text-align: right
}

.verse-fullnumber {
    white-space: nowrap
}

.verse-suffix {
    font-style: italic
}

.col-visible-0 {
    display: none
}

.add-lang {
    margin-left: auto;
    margin-right: 10px;
    position: relative;
    white-space: nowrap;
}

.add-lang__hint {
    position: absolute;
    top: 100%;
    right: 0;
    color: #2a2a2a;
    color: var(--text-color, #2a2a2a);
}

.disable-lang {
    border: 0;
    margin: 0 0 0 5px!important;
    color: var(--accent-color, #8A4A26);
}

.disable-lang,
.add-lang__icon {
    appearance: none;
    font-size: 1.2em;
    cursor: pointer;
}

.add-lang__icon {
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    background: var(--accent-color, #8A4A26);
    color: #fff;
    color: var(--widget-bg, #fff);
    border-radius: 2em;
    width: 1em;
    height: 1em;
}

.add-lang__icon:after {
    content: '+';
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1;
    vertical-align: top;
}

.add-lang:hover .add-lang__wrap {
    color: var(--accent-hover, #A85A2E);
}

.disable-lang:before {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: middle;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e908"
}

.more-lang {
    cursor: pointer;
    margin-left: auto;
    position: sticky;
    right: 0;
    background: inherit;
    padding-left: 5px;
    padding-right: 5px;
}

.numbers .toggle-down,
.numbers .toggle-up {
    color: red
}

.chapter-begin,
.chapter-end {
    display: none
}

.column-header {
    position: relative;
    color: var(--accent-color, #8A4A26);
    border-bottom: 1px solid #ccc;
}

.column-header,
.numbers-header {
    height: 24px;
    max-width: calc(100vw - var(--num-col-width));
    padding-bottom: 5px;
    margin-bottom: 5px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.numbers-header {
    font-size: 1rem;
    color: var(--accent-color, #8A4A26);
}

.numbers-header__inner {
    padding-left: 5px;
    display: none;
}

.has-switcher-0 .column-header {
    height: 24px;
    padding-top: 20px
}

.number-inner:hover .parallel {
    display: block !important;
}

.parallel_toggle .verse-fullnumber {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.test-chapter-button {
    margin: 5px 0;
}

.test-chapter-text {
    display: none;
}

.test-chapter-button.active+.test-chapter-text {
    display: block;
	position: relative;
    left: calc(-1 * var(--num-col-width) + 10px);
    width: calc(100vw - 40px);
	max-width: var(--col-width);
}

.test-chapter-text :where(p, ul, ol, details) {
    margin-bottom: 0;
	padding-bottom: 5px;
}

.test-chapter-text hr{
	margin: 0;
}

.test-chapter-text hr+p{
	padding-top: 5px;
}

.test-chapter-text .answered{
	background: #ccc3;
}

.load-more__button .preloader {
    display: block;
    animation: rotating 2s linear infinite;
}

.context-warning {
    margin-top: 1rem;
    color: red;
    text-align: center;
    font-size: 12px;
}

#player-caption {
    text-align: center
}

.sublang-switcher {
    list-style-type: none;
    margin: 0;
    padding: 0;
    float: left;
    width: 100%
}

.sublang-switcher li {
    display: block;
    float: left;
    margin: 0;
    padding: 1px;
    background: #f1e9d6;
    border-color: #fff #fff silver silver;
    border-style: solid;
    border-width: 2px;
    font-family: Arial, serif;
    font-size: 10pt;
    font-style: normal
}

.sublang-switcher a {
    color: #000
}

.sublang-switcher li.switcher-selected-1 {
    background-color: #fcfaf0;
    border-color: silver silver #fff;
    border-style: solid;
    border-width: 2px 1px
}

.book-nav .sidebar-l {
    width: 70px
}

.book-nav .content {
    margin-left: 75px
}

.book-1cor .chapters_wrap,
.book-1jn .chapters_wrap,
.book-1mac .chapters_wrap,
.book-1pet .chapters_wrap,
.book-1tim .chapters_wrap,
.book-2cor .chapters_wrap,
.book-2ezr .chapters_wrap,
.book-2jn .chapters_wrap,
.book-2mac .chapters_wrap,
.book-2pet .chapters_wrap,
.book-2tim .chapters_wrap,
.book-3ezr .chapters_wrap,
.book-3jn .chapters_wrap,
.book-3mac .chapters_wrap,
.book-am .chapters_wrap,
.book-avd .chapters_wrap,
.book-bar .chapters_wrap,
.book-col .chapters_wrap,
.book-dan .chapters_wrap,
.book-eccl .chapters_wrap,
.book-eph .chapters_wrap,
.book-est .chapters_wrap,
.book-ezr .chapters_wrap,
.book-gal .chapters_wrap,
.book-habak .chapters_wrap,
.book-hag .chapters_wrap,
.book-hebr .chapters_wrap,
.book-hos .chapters_wrap,
.book-jac .chapters_wrap,
.book-joel .chapters_wrap,
.book-jona .chapters_wrap,
.book-juda .chapters_wrap,
.book-judf .chapters_wrap,
.book-lam .chapters_wrap,
.book-mal .chapters_wrap,
.book-mic .chapters_wrap,
.book-mk .chapters_wrap,
.book-naum .chapters_wrap,
.book-nehem .chapters_wrap,
.book-phil .chapters_wrap,
.book-phlm .chapters_wrap,
.book-pjer .chapters_wrap,
.book-rom .chapters_wrap,
.book-rth .chapters_wrap,
.book-sofon .chapters_wrap,
.book-solom .chapters_wrap,
.book-song .chapters_wrap,
.book-tit .chapters_wrap,
.book-tov .chapters_wrap,
.book-zah .chapters_wrap {
    width: 45%
}

.book-ps .chapters_wrap {
    width: 100%
}

.cuSnos {
    font-style: italic;
    font-family: Segoe UI, Open Sans, Arial, sans-serif;
    font-size: 12pt;
    font-weight: 400;
    color: green
}

.ccSkob {
    font-style: normal;
    font-family: Times, serif
}

.ccSkob,
.ccSnos {
    font-size: 13.5pt;
    color: green
}

.ccSnos {
    font-family: Loaded Ucs;
    line-height: 1.2em
}

.bukv {
    color: var(--grey-color, #999);
    font-size: 12px;
    text-align: right;
    position: relative;
    bottom: 1px;
    padding-right: 2px;
    vertical-align: top;
}

.blue-asterisk {
    display: none
}

.cyn, .cynb {
    font-style: italic;
	opacity: .75;
}

.cyn {
    font-weight: 400;
}

.zachala {
    color: red
}

.snos {
    font-size: 11pt;
    font-style: italic;
    font-family: Times New Roman, serif;
    line-height: 6px;
	user-select: none;
}

.vstavAV {
    color: red
}

.snosCit {
    color: navy;
    font-style: normal;
    font-family: Arial, sans-serif
}

.dark-theme .snosCit {
    color: rgb(0, 203, 248);
}

.cynn {
    color: var(--accent-color, #8A4A26)
}

.buttons .audio-link,
.title .audio-link {
    font-size: 14pt;
    color: #18530b;
    font-weight: 700;
    font-family: sans-serif
}

.title .audio-link:hover {
    color: #2b9614
}

.buttons {
    margin-top: 8px;
    margin-bottom: 5px
}

.buttons .l,
.buttons .r {
    width: 160px
}

.buttons .r {
    text-align: left
}

.buttons .l {
    text-align: right
}

.btn {
    background-color: #7fbf4d;
    display: block;
    width: 160px;
    padding: 7px 3px 8px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    border-radius: 3px;
    border: 1px solid #63a62f;
    border-bottom-color: #5b992b;
    box-shadow: inset 0 1px 0 0 #96ca6d;
    text-shadow: 0 -1px 0 #4c9021;
    font: 700 14px/1 Lucida Grande, Lucida Sans Unicode, Lucida Sans, Geneva, Verdana, sans-serif
}

.book-links .divider {
    text-align: center;
    margin: 10px 0
}

.evang-footer{
	font-size: 12px;
	max-width: 50rem;
    margin-left: 0;
}

.footer .accent-link {
    background: #fafafa;
    color: #5F5C55;
    padding: 0 3px 3px;
    text-align: center;
    border: 2px solid #f2df0d00;
    transition: border .2s ease, background .2s ease;
}

.footer .accent-link:hover {
    background: #fafafa00;
    border: 2px solid #f2df0d;
}

.divider {
    text-align: center;
    margin: 5px 0;
    width: 100%;
}

.book-layout .divider img,
.search .divider img {
    height: 25px;
    width: 100%;
}

.links .c img {
    height: 25px;
    margin-top: 2px
}

.main .yandex-share-wrap {
    width: 140px;
    height: 30px;
    overflow: hidden
}

.book-layout .yandex-share-wrap {
    width: 820px;
    margin: 0 auto
}

.book-layout .yandex-share-inner,
.header .yandex-share-inner {
    width: 140px;
    overflow: hidden;
    float: right
}

a.back {
    position: absolute;
    top: 15px;
    left: 40px;
    z-index: 3;
    background: url(../misc/back.png);
    display: block;
    width: 49px;
    height: 48px;
    cursor: pointer
}

a.back:hover {
    background-position: 0 -49px
}

.vklike {
    clear: none !important
}

.langs_description {
    font-size: 15.5pt;
    display: none
}

.langs_description h2 {
    font-family: Arial sans-serif;
    color: #805536;
    text-align: center;
    font-weight: 700;
    font-size: 25px
}

.rating #rate-box {
    float: none;
    position: relative;
    top: 37px;
    left: 180px;
    z-index: -1
}

.book-layout #popup-help,
.header #popup-help {
    left: 170px;
    bottom: 24px
}

#volunteer {
    box-sizing: border-box
}

.volunteer-banner-no-auth p,
.volunteer-banner p,
.volunteer-buttons input,
.volunteer-checkbox {
    font-family: pt_sans, Arial, Helvetica, sans-serif
}

.volunteer-banner-no-auth p,
.volunteer-banner p {
    font-size: 15px;
    color: #000
}

.volunteer-banner,
.volunteer-banner-no-auth {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 300px;
    padding: 15px 30px 10px;
    z-index: 9999;
    background: #fff;
    background: var(--widget-bg, #fff);
    text-align: center;
    box-shadow: 0 0 10px #000
}

.volunteer-banner-no-auth a,
.volunteer-banner a {
    text-decoration: underline
}

.volunteer-banner-no-auth a:hover,
.volunteer-banner a:hover {
    text-decoration: none
}

.volunteer-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    z-index: 1
}

.volunteer-buttons input {
    display: inline-block;
    width: 210px;
    height: 25px;
    margin: 10px 20px 5px;
    padding: 0;
    line-height: 25px;
    font-size: 14px;
    text-align: center;
    cursor: pointer
}

.volunteer-buttons input#vol-yes {
    color: #fff;
    background: linear-gradient(#f9ac4f, #f6941e);
    border: 1px solid #d7b67d;
    cursor: pointer
}

.volunteer-buttons input#vol-no {
    color: #2b2b2b;
    background: linear-gradient(#fcfcfc, #dfdfdf);
    border: 1px solid #d2d2d2
}

.volunteer-checkbox .jq-checkbox {
    margin-right: 7px;
    vertical-align: bottom
}

.volunteer-checkbox label {
    cursor: pointer
}

#volunteer h3 {
    display: inline-block;
    margin-top: 3px;
    font-size: 19px;
    font-weight: 700
}

@media (max-width: 1000px) {

    #lnk_mobile {
        display: block !important
    }
}

.maxh30 {
    max-height: 30px !important
}

.maxh20 {
    max-height: 20px !important
}

.maxh10 {
    max-height: 10px !important
}

.fs10pt {
    font-size: 10pt
}

.fs11pt {
    font-size: 11pt
}

.fs12pt {
    font-size: 12pt
}

.mt0 {
    margin-top: 0 !important
}

.divline {
    max-height: 1px;
    min-height: 1px;
    background-color: #a6a093;
    margin: 1px 0;
    width: 100%
}

.ml5 {
    margin-left: 5px !important
}

.ml15 {
    margin-left: 15px !important
}

.mt7 {
    margin-top: 7px
}

.p05 {
    padding: 0 5px !important
}

.ta-center {
    text-align: center !important
}

.f-arial {
    font-family: Arial, serif !important
}

.fs-smaller {
    font-size: smaller
}

.title-nav {
    display: inline-block;
    white-space: nowrap;
    font-size: 24px;
    color: var(--accent-color, #8A4A26);
}

.title-nav .goto-book, 
.title-nav .nav-interp-chapter {
    color: #FBF5EA;
    color: var(--body-bg, #FBF5EA);
    background: var(--accent-color, #8A4A26);
    border-radius: 2em;
}

/* Соседней книги нет в одном из переводов страницы: стрелка без ссылки, причина в title */

.title-nav .goto-book[aria-disabled] {
    opacity: .35;
    cursor: help;
}

.chapter-nav-icon {
    font-size: 18px;
    border-width: 1px;
    border-color: #ccc;
}

@media (max-width: 1155px) {

    a.back {
        display: none !important
    }
}

/* «Как читать Библию» в списке книг — для мобильного, на десктопе есть кнопка в rb-nav */

.cloud-how-to-read {
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px solid #ccc;
}

.main-menu-btn {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 28px;
    text-indent: 28px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

.main-menu-btn-icon,
.main-menu-btn-icon:after,
.main-menu-btn-icon:before {
    position: absolute;
    top: 50%;
    left: 2px;
    height: 2px;
    width: 24px;
    background: #555;
    transition: all .25s
}

.main-menu-btn-icon:before {
    content: "";
    top: -7px;
    left: 0
}

.main-menu-btn-icon:after {
    content: "";
    top: 7px;
    left: 0
}

.create-bookmark {
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    top: 480px;
    z-index: 89999;
    transition: left .5s ease-in-out;
    display: block;
    background-size: 100%;
    color: #9e9e9e;
    text-align: left;
    margin: 0 auto 0 0
}

.create-bookmark:hover {
    color: #f9d063
}

.create-bookmark .svg-inline {
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: color .4s
}

.loader {
    border-radius: 50%;
    border: 16px solid #f3f3f3;
    border-top-color: #ffdb95;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite
}

.loader-container {
    position: absolute;
    top: 50%;
    display: block;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

.selected-verse {
    transition: background-color .3s;
    background-color: rgba(253, 228, 168, .4);
    border-radius: 10px
}

.custom-checkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid #bdbdbd;
    background-color: #fbfbfb;
    visibility: visible;
    width: 22px;
    height: 22px;
    top: 0;
    position: relative;
    transition: background-color .3s;
    text-align: center;
    vertical-align: middle;
    cursor: pointer
}

.custom-checkbox.selected {
    background-color: #f9d063
}

.custom-checkbox.selected .svg-inline {
    width: 10px;
    height: 8px;
    visibility: visible
}

.custom-checkbox .svg-inline {
    visibility: hidden
}

.popup .popuptext {
    background-color: #716f6f;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    z-index: 9999;
    margin-left: -80px;
    padding: 11px 8px;
    position: absolute;
    width: 143px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    bottom: 50px;
    right: -2px
}

.popup .popuptext:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #555
}

.add-bookmark_container {
    position: fixed;
    bottom: 20px;
    left: 2%;
    width: 40px;
    height: 40px
}

.add-bookmark_button {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    color: #9e9e9e;
    cursor: pointer;
    transition: color .4s
}

.add-bookmark_button:hover {
    color: #f9d063
}

#bookmarkPopup:after {
    left: 13%
}

#bookmarkPopup {
    left: 198%;
    bottom: 130%;
    position: absolute
}

.add-bookmark_container div.popup {
    bottom: 0;
    left: 0
}

.bible-info__panel {
    width: 500px;
}

.bible-info__content ol {
    margin-left: 1em;
}

.icon-m {
    font-size: 20px;
    vertical-align: middle;
}

.btn-back-to-index {
    margin-top: 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto
}

/* comments fix */

.dark-theme .cc .mc-comment-username, .mc-complaint .mc-comment-username,
.dark-theme .cc .mc-comment-msg, .mc-complaint .mc-comment-msg{
	color: var(--text-color, #fafafa)!important;
}

body:not(.single-lang-page) .single-lang-only {
    display: none!important;
}

@media (hover:hover) and (min-width: 769px) {

    .add-lang__list,
    .replace-lang__panel {
        position: absolute;
        top: 100%;
        margin-left: 1em;
        transform: unset;
    }

    .replace-lang__panel {
        margin-top: -10px;
        right: auto;
        left: 0;
    }

    .add-lang__list {
        right: 0;
        left: auto;
    }
}

@media (min-width:521px) {

    .title-nav {
        font-size: 30px;
    }

    .chapter-nav-icon {
        font-size: 18px;
    }

	.interpret:hover .interpret-list{
		position: absolute;
		left: auto;
		right: auto;
	}
}

@media (min-width:769px) {

    .cloud-how-to-read {
        display: none;
    }

    .desktop-hide {
        display: none!important;
    }

    .chapters-wrap::-webkit-scrollbar-thumb {
        background-color: var(--accent-color, #8A4A26);
    }

    .chapters-wrap::-webkit-scrollbar {
        display: initial;
        width: 4px;
        height: 4px;
    }

    .sm-mint a,
    .sm-mint a.highlighted,
    .sm-mint a:active,
    .sm-mint a:focus,
    .sm-mint a:hover,
    .sm-mint li.has-submenu>a {
        padding: 3px 5px
    }

    .sm-mint a .sub-arrow {
        right: 7px
    }

    .sm-mint li.has-submenu>a:after {
        content: none;
    }

	.cloud .cloud-chapter-link__wrap a{
		padding: 5px;
		width: auto;
	}

	.cloud-chapter-links{
		position: absolute;
		left:0;
		top: 100%;
	}

	.cloud-chapter-links.near-right{
		left: auto;
		right: 0;
	}

    .header-container {
        max-height: 9em;
        transition: max-height .5s ease;
        overflow: hidden;
    }

    .header-container:hover {
        overflow: visible;
    }

    .hide-header .header-container {
        max-height: 0px;
    }

    .column-header {
        max-width: calc((100vw - var(--num-col-width)) / var(--col-count));
    }

    .title__chapters-selector__panel {
        width: auto;
        max-width: 50vw;
    }

    .title__chapters-selector__panel ul {
        grid-template-columns: repeat(10, 1fr);
        gap: 5px;
    }

    .verse-comment-panel .btn-close {
        display: none;
    }

    .num-cols-1 .verse .favorite {
        position: absolute;
        top: 0;
        left: 100%;
        width: calc( 50vw - var(--col-width) / 2 - 20px);
        word-break: break-word;
        line-height: 1;
        max-height: 6em;
        overflow: hidden;
        background: #FBF5EA;
        background: var(--body-bg, #FBF5EA);
    }

    .num-cols-1 .verse .favorite .tag-container {
        display: inline-block;
    }

    .num-cols-1 .verse .favorite .comment {
        display: inline;
        text-overflow: ellipsis;
    }

    .num-cols-1 .verse .favorite .controls {
        /*position: absolute;
		right: 0;
		bottom: 0;*/
        background: #FBF5EA;
        background: var(--body-bg, #FBF5EA);
        padding: 1px;
        border-radius: 3px;
    }

    .bottom-menu-container {
        padding: 0 30px 0 var(--num-col-width);
    }

    .chapters-wrap {
        margin: -5px 10px 0;
		scrollbar-width: none;
    }

    .bottom-menu .chapters li {
        margin: 0 .33em;
    }

    #orphus {
        margin: 0
    }
}

@media (min-width:1200px) {

    .header-icon {
        display: initial;
    }

    .xl-offgrid-left {
        position: absolute!important;
        transform: translateX(-100%);
        left: 0;
    }

    .book-group {
        display: inline-block;
        white-space: nowrap;
    }

    .single-verse-page .tbl-content {
        overflow: visible;
    }
}

@media (min-width:1440px) {

	.footer .accent-link,
	.footer .accent-link:hover{
		border: 0;
		margin: 0;
	}
}

.hover-block {
    pointer-events: none!important;
}

.highlight-columns .col-1 {
    background: #d5f88354;
}

.highlight-columns .col-2 {
    background: #f7f7755e;
}

.highlight-columns .col-3 {
    background: #f5f58659;
}

.flex-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.round-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 1em;
    height: 1em;
    border-radius: 1em;
    border-width: 1.75px;
    border-style: solid;
}

.invisible {
    opacity: 0;
    pointer-events: none;
}

#mbnr4web {
    display: none!important
}

.chapter-title-label {
    color: black;
    color: var(--text-color, #000);
    margin-right: 10px;
}
