/* Дополнительные стили; визуальные правки выполняются в фазе 4. */

/* Статичные скрытые вкладки не занимают место; active сохраняет работу переключателя. */
.tab-container .tab-panel { visibility: visible; opacity: 1; }
.tab-container .tab-panel:not(.active) { display: none; }
.modal.fade:not(.in) { opacity: 1; }
/* Размер rem в старой теме равен 10px: восстанавливаем иерархию статьи. */
.entry-content .cow7wc { font-size: 16px; line-height: 1.7; }
.entry-content .cow7wc h2 { font-size: 26px; margin: 1.5em 0 .5em; }
.entry-content .cow7wc h3 { font-size: 22px; margin: 1.3em 0 .5em; }
.entry-content .cow7wc h4 { font-size: 19px; margin: 1.2em 0 .5em; }
.entry-content .cow7wc p { margin-bottom: 1em; }
.entry-content .cow7wc ul, .entry-content .cow7wc ol { padding-left: 1.4em; }
.entry-content .cow7wc ul { list-style: disc; }
.entry-content .cow7wc ol { list-style: decimal; }
/* Blog/article: hide POLICE STATION panel (no homepage slider). On other
   inner pages body.home was removed so the dropdown stays closed until click. */
body[data-article-page] #box-vertical-megamenus,
body[data-blog-page] #box-vertical-megamenus { display: none !important; }
body[data-article-page] #home-slider,
body[data-blog-page] #home-slider { margin-left: 0; width: 100%; }
#main-menu .navbar-nav > li > a { padding-left:14px; padding-right:14px; }
