MediaWiki:Common.css: различия между версиями

Материал из Буквицы
Перейти к навигации Перейти к поиску
Нет описания правки
мНет описания правки
 
(не показаны 4 промежуточные версии 2 участников)
Строка 1: Строка 1:
/* Default styling for HTML elements */
/**
dfn {
*  [Содержание]
    font-style: inherit; /* Reset default styling for <dfn> */
*
*  1. Интерфейс
*  1.1 Теги
*  1.2 Классы
*  1.3 Расширения
*  1.4 Редакторы
*  2. Служебные классы
*  3. Общие классы
*  3.1 Списки
*  3.2 Примечания
*  3.3 Колонки
*  3.4 Таблицы
*  4. Шаблоны
*  5. Страницы
*
*  При добавлении правил, которые должны также действовать в мобильной версии,
*  не забудьте добавить аналогичные правила в [[MediaWiki:Mobile.css]].
*/
 
/* ================================================
  ИНТЕРФЕЙС
  ================================================ */
 
/* ТЕГИ ------------------------------------------- */
 
/* Избавляемся от дважды жирного шрифта (2019-09-08) */
b {
font-weight: 700;
}
 
/* Сбрасываем курсивное оформление, применяемое браузером */
cite, dfn {
font-style: inherit;
}
 
/* Добавление горизонтального скролла для <pre>,
  для избежания бага с очень длинными строками */
pre {
overflow-x: auto;
overflow-y: hidden;
}
 
/* Размер таба для обычного редактора и для тега <code> */
pre,
textarea {
tab-size: 4;
}
 
/* Consistent size for <small>, <sub> and <sup> */
small {
font-size: 85%;
}
}
sup, sub {
.mw-body-content sub,
    line-height: 1em;    /* Reduce line-height for <sup> and <sub> */
.mw-body-content sup,
span.reference /* for Parsoid */ {
font-size: 80%;
}
}


/* Main page fixes */
/* fix for line-breaking references */
#interwiki-completelist {
sub,
    font-weight: bold;
sup {
line-height: 1em;
}
}
body.page-Main_Page #ca-delete {
 
    display: none !important;
blockquote {
background: #f8f9fa;
overflow: hidden;
}
}
body.page-Main_Page #mp-topbanner {
 
    clear: both;
/* КЛАССЫ ----------------------------------------- */
 
/* Уточнение ширины логотипа на экранах с большей плотностью пикселей (сами
  изображения задаются в файле стилей, не изменяемом локально; помогает
  избежать сглаживания? 136 = 204 / 1,5; 204px — ширина картинки) */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
#p-logo a {
background-size: 136px auto;
}
}
}


/* Edit window toolbar */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
#toolbar {
#p-logo a {
    height: 22px;
background-size: 135px auto;
    margin-bottom: 6px;
}
}
}


/* Highlight data points in the info action if specified in the URL */
.filehistory a img,
body.action-info :target {
#file img {
    background: #DEF;
background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
}


/* Make the list of references smaller */
/* Remove "external" icon from links to WP */
ol.references,
body.ns-talk a.external[href*="//ru.wikipedia.org/"],
div.reflist,
body.ns-4 a.external[href*="//ru.wikipedia.org/"],
div.refbegin {
body.ns-104 a.external[href*="//ru.wikipedia.org/"],
    font-size: 90%;            /* Default font-size */
body.ns-106 a.external[href*="//ru.wikipedia.org/"] {
    margin-bottom: 0.5em;
background: none !important;
padding-right: 0 !important;
}
}
div.refbegin-100 {
 
    font-size: 100%;          /* Option for normal fontsize in {{refbegin}} */
/* PDF icon next to external PDF link for Mozilla and Opera and for {PDFlink} template */
a[href$=".pdf"].external,
a[href*=".pdf?"].external,
a[href*=".pdf#"].external,
a[href$=".PDF"].external,
a[href*=".PDF?"].external,
a[href*=".PDF#"].external,
span.PDFlink a {
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important;
padding-right: 18px !important;
}
}
div.reflist ol.references {
 
    font-size: 100%;           /* Reset font-size when nested in div.reflist */
.hatnote {
    list-style-type: inherit; /* Enable custom list style types */
font-style: italic;
padding-left: 1.6em;
}
}


/* Highlight clicked reference in blue to help navigation */
.allpagesredirect,
ol.references li:target,
span.redirect-in-category a {
sup.reference:target,
font-style: italic;
span.citation:target {
}
     background-color: #DEF;
 
/* Clickable speaker in {Audio} ... */
.audiolink a {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png) center left no-repeat !important;
padding-left: 16px !important;
padding-right: 0 !important;
}
 
.clickable-image a:hover {
text-decoration: none;
}
 
#mw-subcategories,
#mw-pages {
clear: both;
}
 
/* Лечим растягивание СН, страниц истории и вклада, если текст описания правки
  негде перенести. Удалить при добавлении этого правила на глобальном уровне. */
.comment {
overflow-wrap: break-word;
word-break: break-word;
}
 
/* Не отображать множественные уведомления о запрете редактирования списком */
.permissions-errors {
list-style: none;
margin: 0;
}
 
.sitedir-ltr .mw-dismissable-notice-body {
margin-right: 5em !important; /* was 20% */
}
 
/* Fix of default <maplink> display */
.mw-kartographer-maplink {
margin-left: 0 !important;
padding: 2px 0 2px 20px !important;
}
 
/* Временный фикс [[Обсуждение MediaWiki:Common.css#Для чего .catlinks li параметр margin: 0.125em 0;?]],
  пока не исправят в нативных стилях */
.mediawiki .catlinks li {
margin: 2px 0;
}
 
.mw-tag-markers {
font: italic 90% sans-serif;
}
 
.printonly {
display: none;
}
 
/* Фикс выравнивания галереи при заданном параметре perrow (2019-10-03) */
.mw-gallery-traditional.center,
.mw-gallery-nolines.center {
margin-left: auto;
margin-right: auto;
}
 
/* Блок «Это старая/текущая версия этой страницы». Надо предложить это в движок */
.mw-revision,
#mw-revision-nav {
margin-top: 0.5em;
}
 
/* Кнопки [показать]/[скрыть], создаваемые mw-collapsible */
.mw-collapsible-toggle {
font-weight: normal;
}
 
/* Кнопки [показать]/[скрыть], создаваемые динамически функцией collapsibleTables()
  в [[MediaWiki:Common.js]] */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
 
/* Collapsible elements. Toggle-link moved to left.
/* Margin around it adjusted. */
 
.mw-collapsible span.mw-collapsible-toggle {
    float:left;
    margin-left:0;
    margin-right:1em;
}
 
/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .collapsible.collapsed > tbody > tr:not(:first-child),
.client-js .NavFrame.collapsed > .NavContent,
.client-js .tochidden-wrapper > .toc > ul {
display: none;
}
 
.noautonum .tocnumber,
.nonumtoc .tocnumber {  
     display: none;
}
 
/* РАСШИРЕНИЯ ------------------------------------- */
 
/* Стили для расширения [[mw:Extension:Babel]] (03-09-17) */
/* Скрытие буквы N у родных языков, по аналогии со стандарными шаблонами */
.mw-babel-box-level-N {
display: none;
}
 
/* FlaggedRevs */
/* Скрываем верхнюю таблицу для анонимов и показываем
для зарегистрированных с помощью [[MediaWiki:Group-user.css]] */
#mw-fr-revisiontag {
display: none;
}
.mw-fr-reviewlink,
.fr-hist-basic-user,
.fr-hist-basic-auto {
font-weight: normal;
font-size: 85%;
}
.flaggedrevs-pending {
background: #ffc;
}
.sitedir-ltr div.flaggedrevs_short {
float: none;
margin-left: 0;
padding: 1px;
}
.sitedir-ltr div.flaggedrevs_short_details {
width: 95%;
display: none;
}
/* Лишний отступ */
div.flaggedrevs_notice {
    margin-right: 0;
}
 
/* Remove popup from Content translation tool, if not opted in */
.cx-callout:not(.cx-campaign-contributionsmenu):not(.cx-entrypoint-dialog) { display: none !important; }
 
/* Покрасить "неприоритетные" ссылки в библиографических ссылках в черный цвет (касается только ссылок, генерируемых Lua) */
.wef_low_priority_links a,
.wef_low_priority_links a.extiw,
.wef_low_priority_links a.external,
.wef_low_priority_links a:visited,
.wef_low_priority_links a.extiw:visited,
.wef_low_priority_links a.external:visited {
color: #202122;
}
}


/* Ensure refs in table headers and the like aren't bold or italic */
/* РЕДАКТОРЫ -------------------------------------- */
sup.reference {
 
    font-weight: normal;
/* Visual editor related */
    font-style: normal;
.mw-ve-editNotice .mbox-image,
.ve-active .ve-hide,
.ve-show {
display: none;
}
}


/* Allow hidden ref errors to be shown by user CSS */
.ve-active div.ve-show,
span.brokenref {
.ve-active p.ve-show {
    display: none;
display: block;
}
}


/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
.ve-active span.ve-show,
.citation {
.ve-active small.ve-show {
    word-wrap: break-word;
display: inline;
}
}


/* For linked citation numbers and document IDs, where
.ve-active li.ve-show {
  the number need not be shown on a screen or a handheld,
display: list-item;
  but should be included in the printed version */
@media screen, handheld {
    .citation *.printonly {
        display: none;
    }
}
}


/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
/* Костыль исправляющий дублирование иконки в сообщениях об ошибках (Editnotice)
.flowlist ul {
при сохранении правки в визуальном редакторе */
    overflow-x: hidden;
.ve-ui-mwSaveDialog .oo-ui-flaggedElement-error.oo-ui-iconElement table.fmbox {
    margin-left: 0em;
margin-top: 0;
    padding-left: 1.6em;
}
}
.flowlist ol {
.ve-ui-mwSaveDialog .oo-ui-flaggedElement-error.oo-ui-iconElement .mbox-image {
    overflow-x: hidden;
display: none;
    margin-left: 0em;
    padding-left: 3.2em;
}
}
.flowlist dl {
 
    overflow-x: hidden;
/* ================================================
  СЛУЖЕБНЫЕ КЛАССЫ
  ================================================ */
 
/* Классы для показа сообщений отдельным группам пользователей */
.group-checkuser-show,
.group-bureaucrat-show,
.group-sysop-show,
.group-engineer-show,
.group-closer-show,
.group-filemover-show,
.group-editor-show,
.group-autoreview-show,
.group-user-show {
display: none;
}
}
/* ================================================
  ОБЩИЕ КЛАССЫ
  ================================================ */
/* СПИСКИ ----------------------------------------- */


/* Style for horizontal lists (separator following item).
/* Style for horizontal lists (separator following item).
  Note: hlist formatting will break if the resulting HTML lacks a breakable character
  between list items. This happens when the following conditions are true:
  1) The list is made using wiki markup (where HTML is built by parser.php)
  2) HTMLTidy is disabled or unavailable (such as on Special: pages)
  In such cases, building lists with .hlist using HTML instead of wiki markup
  will work around this problem. See also [[Bugzilla:39617]].
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
  Last updated: January 24, 2013
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @maintainer: [[User:Edokter]]
   @revision 9 (2016-08-10)
  @revision: 3.1
  @author [[User:Edokter]]
*/
*/
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist dl,
.hlist ol,
.hlist ol,
.hlist ul {
.hlist ul {
    margin: 0;
margin: 0;
    padding: 0;
padding: 0;
}
}
/* Display list items inline and make them nowrap */
/* Display list items inline */
.hlist dd,
.hlist dd,
.hlist dt,
.hlist dt,
.hlist li {
.hlist li {
    margin: 0;
margin: 0;
    display: inline;
display: inline;
    white-space: nowrap;
}
}
/* Allow wrapping for list items (in tight spaces) */
/* Display nested lists inline */
.hlist.hwrap dd,
.hlist.inline,
.hlist.hwrap dt,
.hlist.inline dl,
.hlist.hwrap li {
.hlist.inline ol,
    white-space: normal;
.hlist.inline ul,
}
/* Display nested lists inline and allow them to wrap */
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
display: inline;
    white-space: normal;
}
}
/* Generate interpuncts */
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
display: none;
}
/* Generate bullets */
.hlist dt:after {
.hlist dt:after {
    content: ":";
content: ": ";
}
}
.hlist dd:after,
.hlist dd:after,
.hlist li:after {
.hlist li:after {
    content: " ·";
content: "\00a0• ";
    font-weight: bold;
}
}
.hlist dd:last-child:after,
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
.hlist li:last-child:after {
    content: none;
content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
    content: none;
}
}
/* Add parentheses around nested lists */
/* Add parentheses around nested lists */
Строка 160: Строка 383:
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
    content: "(";
content: " (";
    font-weight: normal;
font-weight: normal;
}
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
    content: ")";
content: ")";
    font-weight: normal;
font-weight: normal;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
    content: ")";
    font-weight: normal;
}
}
/* Put numbers in front of ordered list items */
/* Put ordinals in front of ordered list items */
.hlist.hnum ol {
.hlist ol {
    counter-reset: list-item;
counter-reset: listitem;
}
}
.hlist.hnum ol > li {
.hlist ol > li {
    counter-increment: list-item;
counter-increment: listitem;
}
}
.hlist.hnum ol > li:before {
.hlist ol > li:before {
    content: counter(list-item) " ";
content: " " counter(listitem) "\a0";
}
}
.hlist.hnum dd ol > li:first-child:before,
.hlist dd ol > li:first-child:before,
.hlist.hnum dt ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist.hnum li ol > li:first-child:before {
.hlist li ol > li:first-child:before {
    content: "(" counter(list-item) " ";
content: " (" counter(listitem) "\a0";
}
}


/* Unbulleted lists */
/* Немаркированные списки */
.plainlist ol:not(.references),
.plainlist dl,
.plainlist ul {
.plainlist ul {
    line-height: inherit;
line-height: inherit;
    list-style: none none;
list-style: none none;
    margin: 0;
margin: 0;
}
}
.plainlist ol:not(.references) li,
.plainlist dl dt,
.plainlist dl dd,
.plainlist ul li {
.plainlist ul li {
    margin-bottom: 0;
margin: 0;
}
 
/* Default style for navigation boxes */
.navbox {                    /* Navbox container style */
    border: 1px solid #aaa;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
    width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
    padding: 0.25em 1em;      /* Title, group and above/below styles */
    line-height: 1.5em;
    text-align: center;
}
th.navbox-group {            /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
.navbox,
.navbox-subgroup {
    background: #fdfdfd;      /* Background color */
}
.navbox-list {
    line-height: 1.8em;
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
    background: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
    background: transparent;  /* Odd row striping */
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)      */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
    padding: 0.125em 0;      /* Adjust hlist padding in navboxes */
}
}
ol + table.navbox,
.plainlist dl dt:after {
ul + table.navbox {
content: ": ";
    margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */
}
}


/* Default styling for Navbar template */
/* Неразрывные пробелы в горизонтальных списках */
.navbar {
.nowrap,
    display: inline;
.nowraplinks a,
    font-size: 88%;
.nowraplinks .selflink,
    font-weight: normal;
.hlist-items-nowrap dd,
}
.hlist-items-nowrap dt,
.navbar ul {
.hlist-items-nowrap li {
    display: inline;
white-space: nowrap;
    white-space: nowrap;
}
.navbar li {
    word-spacing: -0.125em;
}
.navbar.mini li span {
  font-variant: small-caps;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
}
.navbox .navbar {
    display: block;
    font-size: 100%;
}
.navbox-title .navbar {
    /* @noflip */
    float: left;
    /* @noflip */
    text-align: left;
    /* @noflip */
    margin-right: 0.5em;
    width: 6em;
}
}


/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
/* Но где-то неразрывность надо сбросить (например, в навшаблонах в узких местах) */
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.wrap,
.collapseButton {
.wraplinks a,
    /* @noflip */
.wraplinks .selflink,
    float: right;
.hlist-items-nowrap dl dl, .hlist-items-nowrap dl ol, .hlist-items-nowrap dl ul, /* Allow nested lists to wrap anyway */
    font-weight: normal;
.hlist-items-nowrap ol dl, .hlist-items-nowrap ol ol, .hlist-items-nowrap ol ul,
    /* @noflip */
.hlist-items-nowrap ul dl, .hlist-items-nowrap ul ol, .hlist-items-nowrap ul ul {
    margin-left: 0.5em;
white-space: normal;
    /* @noflip */
    text-align: right;
    width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
  from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
    width: 6em;
}
}


/* Styling for JQuery makeCollapsible, matching that of collapseButton */
/* ПРИМЕЧАНИЯ ------------------------------------- */
.mw-collapsible-toggle {
    font-weight: normal;
    /* @noflip */
    text-align: right;
}
.navbox .mw-collapsible-toggle {
    width: 6em;
}


/* Infobox template style */
ol.references {
.infobox {
font-size: 100%;
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    /* @noflip */
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */
    float: right;
    /* @noflip */
    clear: right;
    /* @noflip */
    text-align: left;
    font-size: 88%;
    line-height: 1.5em;
}
}
.infobox caption {
.reflist,
    font-size: 125%;
.references-small {
    font-weight: bold;
font-size: 90%;
margin-bottom: 0.5em;
}
}
.infobox td,
.reflist ol.references,
.infobox th {
.references-small ol.references {
    vertical-align: top;
list-style-type: inherit; /* Enable custom list style types */
}
}
.infobox.bordered {
.reflist-narrow .mw-references-columns {
    border-collapse: collapse;
-webkit-column-width: 20em;
-moz-column-width: 20em;
column-width: 20em;
}
}
.infobox.bordered td,
.reflist-wide .mw-references-columns {
.infobox.bordered th {
-webkit-column-width: 40em;
    border: 1px solid #aaa;
-moz-column-width: 40em;
}
column-width: 40em;
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
}


.infobox.sisterproject {
/* highlight focused footnotes and references in some browsers */
    width: 20em;
sup.reference:target,
    font-size: 90%;
ol.references li:target,
.highlight-target:target,
cite:target,
span.citation:target {
background: #eaf3ff;
}
}
 
sup.reference:target {
.infobox.standard-talk {
font-weight: bold;
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}
}


/* styles for bordered infobox with merged rows */
.ref-info {
.infobox.bordered .mergedtoprow td,
font-size: 85%;
.infobox.bordered .mergedtoprow th {
color: #72777d;
    border: 0;
    border-top: 1px solid #aaa;
    /* @noflip */
    border-right: 1px solid #aaa;
}
}


.infobox.bordered .mergedrow td,
/* КОЛОНКИ ---------------------------------------- */
.infobox.bordered .mergedrow th {
    border: 0;
    /* @noflip */
    border-right: 1px solid #aaa;
}


/* Styles for geography infoboxes, eg countries,
/* Авторазбиение списков на колонки. Будет работать только для однострочных списков. 35em является предварительным числом, а фактическое будет посчитано исходя из ширины элементов. Должно использоваться только для UL внутри DIV. Пример использования — шаблон {{Wikidata/SisterCities}} */
  country subdivisions, cities, etc.           */
.autocolumns {
.infobox.geography {
-moz-columns: 35em auto;
    border-collapse: collapse;
columns: 35em auto;
    line-height: 1.2em;
white-space: nowrap;
    font-size: 90%;
}
}


.infobox.geography  td,
/* Reset top margin for lists embedded in columns */
.infobox.geography  th {
div.columns {
    border-top: 1px solid #aaa;
margin-top: 0.3em;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
}
.infobox.geography .mergedtoprow td,
div.columns dl,
.infobox.geography .mergedtoprow th {
div.columns ol,
    border-top: 1px solid #aaa;
div.columns ul {
    padding: 0.4em 0.6em 0.2em 0.6em;
margin-top: 0;
}
}


.infobox.geography .mergedrow td,
/* Avoid elements from breaking between columns */
.infobox.geography .mergedrow th {
.nocolbreak,
    border: 0;
div.columns li,
    padding: 0 0.6em 0.2em 0.6em;
div.columns dd dd {
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid-column;
}
}


.infobox.geography .mergedbottomrow td,
/* ТАБЛИЦЫ ---------------------------------------- */
.infobox.geography .mergedbottomrow th {
    border-top: 0;
    border-bottom: 1px solid #aaa;
    padding: 0 0.6em 0.4em 0.6em;
}


.infobox.geography .maptable td,
/* [[Википедия:Оформление таблиц]] */
.infobox.geography .maptable th {
.standard,
    border: 0;
.wide {
    padding: 0;
/* For align=center tables dont use shorthand margin */
margin-top:1em;
margin-bottom:1em;
border: 1px solid #a2a9b1;
border-collapse: collapse;
}
}


/* Normal font styling for table row headers with scope="row" tag */
.standard > tr > th,
.wikitable.plainrowheaders th[scope=row] {
.standard > tr > td,
    font-weight: normal;
.standard > * > tr > th,
    /* @noflip */
.standard > * > tr > td,
    text-align: left;
.wide > tr > th,
.wide > tr > td,
.wide > * > tr > th,
.wide > * > tr > td {
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
}
}


/* Lists in data cells are always left-aligned */
.standard > tr > th,
.wikitable td ul,
.standard > * > tr > th,
.wikitable td ol,
.wide > tr > th,
.wikitable td dl {
.wide > * > tr > th {
    /* @noflip */
background-color: #eaf3ff;
    text-align: left;
}
/* ...unless they also use the hlist class */
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
    text-align: inherit;
}
}


/* Icons for medialist templates [[Template:Listen]],
.standard > caption,
  [[Template:Multi-listen_start]], [[Template:Video]],
.wide > caption {
  [[Template:Multi-video_start]] */
font-weight: bold;
div.listenlist {
    background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
    /* @noflip */
    padding-left: 40px;
}
}


/* Fix for hieroglyphs specificality issue in infoboxes ([[Bugzilla:41869]]) */
.wide {
table.mw-hiero-table td {
width: 100%;
    vertical-align: middle;
}
}


/* Style rules for media list templates */
table.graytable {
div.medialist {
background: #f0f0f0;
    min-height: 50px;
padding: 1em;
    margin: 1em;
width: 100%;
    /* @noflip */
    background-position: top left;
    background-repeat: no-repeat;
}
}
div.medialist ul {
table.graytable caption {
    list-style-type: none;
padding-top: 0.5em;
    list-style-image: none;
background: #f0f0f0;
    margin: 0;
font-weight: bold;
}
}
div.medialist ul li {
table.graytable caption span.subcaption {
    padding-bottom: 0.5em;
font-size: 88.5%;
font-weight: normal;
}
}
div.medialist ul li li {
table.graytable th,
    font-size: 91%;
table.graytable td {
    padding-bottom: 0;
font-size: 88.5%;
}
}


/* Change the external link icon to an Adobe icon for all PDF files
/* Оформление ячеек */
  in browsers that support these CSS selectors, like Mozilla and Opera */
tr.highlight th,
div#content a[href$=".pdf"].external,
table tr th.highlight {
div#content a[href*=".pdf?"].external,
background: #dcebff;
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#content a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}
}
 
tr.highlight td,
/* Change the external link icon to an Adobe icon anywhere the PDFlink class
table tr td.highlight {
  is used (notably Template:PDFlink). This works in IE, unlike the above. */
background: #ffe;
div#content span.PDFlink a,
font-weight: normal;
div#mw_content span.PDFlink a {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
    /* @noflip */
    padding-right: 18px;
}
}
 
tr.bright th,
/* Content in columns with CSS instead of tables ([[Template:Columns]]) */
table tr th.bright {
div.columns-2 div.column {
background: #cfe3ff;
    /* @noflip */
    float: left;
    width: 50%;
    min-width: 300px;
}
}
div.columns-3 div.column {
tr.bright td,
    /* @noflip */
table tr td.bright {
    float: left;
background: #fec;
    width: 33.3%;
    min-width: 200px;
}
}
div.columns-4 div.column {
tr.shadow th,
    /* @noflip */
tr.shadow td,
    float: left;
table tr th.shadow,
    width: 25%;
table tr td.shadow {
    min-width: 150px;
background: #f0f0f0;
}
}
div.columns-5 div.column {
tr.dark th,
    /* @noflip */
tr.dark td,
    float: left;
table tr th.dark,
    width: 20%;
table tr td.dark {
    min-width: 120px;
background: #ccc;
}
}


/* Fix top margin for lists embedded in column-devided divs ([[Template:Div col]]) */
/* ================================================
div.column-count ol,
  ШАБЛОНЫ
div.column-count ul,
  ================================================ */
div.column-width ol,
 
div.column-width ul {
/* ПРЕДУПРЕЖДЕНИЯ И УВЕДОМЛЕНИЯ ------------------- */
    margin-top: 0;
 
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
.mbox-text,
.mbox-text {   /* The message body cell(s) */
border: none;
/* @noflip */
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%;   /* Make all mboxes the same width regardless of text length */
}
}
 
.mbox-image { /* The left image cell */
/* Messagebox templates */
border: none;
.messagebox {
/* @noflip */
    border: 1px solid #aaa;
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
    background-color: #f9f9f9;
text-align: center;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
}
.messagebox.merge {
.mbox-imageright {   /* The right image cell */
    border: 1px solid #c0b8cc;
border: none;
    background-color: #f0e5ff;
/* @noflip */
    text-align: center;
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
}
.messagebox.cleanup {
.mbox-empty-cell {   /* An empty narrow cell */
    border: 1px solid #9f9fff;
border: none;
    background-color: #efefff;
padding: 0px;
    text-align: center;
width: 1px;
}
}
.messagebox.standard-talk {
.mbox-text .mbox-multiply {
    border: 1px solid #c0c090;
display: none;
    background-color: #f8eaba;
    margin: 4px auto;
}
}
/* For old WikiProject banners inside banner shells. */
 
.mbox-inside .standard-talk,
/* Image message box styles */
.messagebox.nested-talk {
.imbox {
    border: 1px solid #c0c090;
margin: 4px 10%;
    background-color: #f8eaba;
border-collapse: collapse;
    width: 100%;
border: 3px solid #1e90ff; /* Default "notice" blue */
    margin: 2px 0;
background: #fbfbfb;
    padding: 2px;
}
}
.messagebox.small {
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
    width: 238px;
margin: 0 -0.5em;   /* 0.9 - 0.5 = 0.4em left/right. */
    font-size: 85%;
display: block; /* Fix for webkit to force 100% width.  */
    /* @noflip */
    float: right;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
}
}
.messagebox.small-talk {
.mbox-inside .imbox {   /* For imboxes inside other templates.  */
    width: 238px;
margin: 4px;
    font-size: 85%;
    /* @noflip */
    float: right;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
    background: #F8EABA;
}
}


/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
.imbox-notice {
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
border: 2px solid #1e90ff; /* Blue */
    border: none;
    /* @noflip */
    padding: 0.25em 0.9em;    /* 0.9em left/right */
    width: 100%;               /* Make all mboxes the same width regardless of text length */
}
}
td.mbox-image {               /* The left image cell */
.imbox-speedy {
    border: none;
border: 2px solid #b22222; /* Red */
    /* @noflip */
background: #fee; /* Pink */
    padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
    text-align: center;
}
}
td.mbox-imageright {           /* The right image cell */
.imbox-delete {
    border: none;
border: 2px solid #b22222; /* Red */
    /* @noflip */
    padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
    text-align: center;
}
}
td.mbox-empty-cell {           /* An empty narrow cell */
.imbox-content {
    border: none;
border: 2px solid #f28500; /* Orange */
    padding: 0px;
    width: 1px;
}
}
 
.imbox-style {
/* Article message box styles */
border: 2px solid #f4c430; /* Yellow */
table.ambox {
    margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
    border: 1px solid #aaa;
    /* @noflip */
    border-left: 10px solid #1e90ff; /* Default "notice" blue */
    background: #fbfbfb;
}
}
table.ambox + table.ambox {     /* Single border between stacked boxes. */
.imbox-move {
    margin-top: -1px;
border: 2px solid #9932cc; /* Purple */
}
}
.ambox th.mbox-text,
.imbox-protection {
.ambox td.mbox-text {           /* The message body cell(s) */
border: 2px solid #bba;   /* Gray-gold */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
}
.ambox td.mbox-image {           /* The left image cell */
.imbox-license {
    /* @noflip */
border: 2px solid #88a;   /* Dark gray */
    padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */
background: #f7f8ff;   /* Light gray */
}
}
.ambox td.mbox-imageright {     /* The right image cell */
.imbox-featured {
    /* @noflip */
border: 2px solid #cba135; /* Brown-gold */
    padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
}
}


table.ambox-notice {
/* Category message box styles */
    /* @noflip */
.cmbox {
    border-left: 10px solid #1e90ff;   /* Blue */
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #aaa;
background: #dfe8ff; /* Default "notice" blue */
}
}
table.ambox-speedy {
 
    /* @noflip */
.cmbox-notice {
    border-left: 10px solid #b22222;    /* Red */
background: #d8e8ff; /* Blue */
    background: #fee;                   /* Pink */
}
}
table.ambox-delete {
.cmbox-speedy {
    /* @noflip */
margin-top: 4px;
    border-left: 10px solid #b22222;   /* Red */
margin-bottom: 4px;
border: 4px solid #b22222; /* Red */
background: #ffdbdb;   /* Pink */
}
}
table.ambox-content {
.cmbox-delete {
    /* @noflip */
background: #ffdbdb; /* Red */
    border-left: 10px solid #f28500;   /* Orange */
}
}
table.ambox-style {
.cmbox-content {
    /* @noflip */
background: #ffe7ce; /* Orange */
    border-left: 10px solid #f4c430;   /* Yellow */
}
}
table.ambox-move {
.cmbox-style {
    /* @noflip */
background: #fff9db; /* Yellow */
    border-left: 10px solid #9932cc;   /* Purple */
}
}
table.ambox-protection {
.cmbox-move {
    /* @noflip */
background: #e4d8ff; /* Purple */
    border-left: 10px solid #bba;       /* Gray-gold */
}
.cmbox-protection {
background: #efefe1; /* Gray-gold */
}
}


/* Image message box styles */
/* Other pages message box styles */
table.imbox {
.ombox {
    margin: 4px 10%;
margin: 4px 10%;
    border-collapse: collapse;
border-collapse: collapse;
    border: 3px solid #1e90ff;    /* Default "notice" blue */
border: 1px solid #a2a9b1;   /* Default "notice" gray */
    background: #fbfbfb;
background: #f8f9fa;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;      /* 0.9 - 0.5 = 0.4em left/right.        */
    display: block;        /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {      /* For imboxes inside other templates.  */
    margin: 4px;
}
}


table.imbox-notice {
.ombox-notice {
    border: 3px solid #1e90ff;    /* Blue */
border: 1px solid #a2a9b1;   /* Gray */
}
}
table.imbox-speedy {
.ombox-speedy {
    border: 3px solid #b22222;   /* Red */
border: 2px solid #b22222; /* Red */
    background: #fee;             /* Pink */
background: #fee; /* Pink */
}
}
table.imbox-delete {
.ombox-delete {
    border: 3px solid #b22222;   /* Red */
border: 2px solid #b22222; /* Red */
}
}
table.imbox-content {
.ombox-content {
    border: 3px solid #f28500;   /* Orange */
border: 1px solid #f28500; /* Orange */
}
}
table.imbox-style {
.ombox-style {
    border: 3px solid #f4c430;   /* Yellow */
border: 1px solid #f4c430; /* Yellow */
}
}
table.imbox-move {
.ombox-move {
    border: 3px solid #9932cc;   /* Purple */
border: 1px solid #9932cc; /* Purple */
}
}
table.imbox-protection {
.ombox-protection {
    border: 3px solid #bba;       /* Gray-gold */
border: 2px solid #bba;   /* Gray-gold */
}
}
table.imbox-license {
 
    border: 3px solid #88a;       /* Dark gray */
/* Talk page message box styles */
    background: #f7f8ff;         /* Light gray */
.tmbox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #c0c090; /* Default "notice" gray-brown */
background: #f8eaba;
}
}
table.imbox-featured {
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
    border: 3px solid #cba135;   /* Brown-gold */
margin: 2px 0;   /* this declaration overrides other styles (including mbox-small above)  */
width: 100%; /* For Safari and Opera */
}
}
 
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
/* Category message box styles */
line-height: 1.5em;   /* also "nested", so reset styles that are  */
table.cmbox {
font-size: 100%; /* set in "mbox-small" above. */
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa;
    background: #DFE8FF;   /* Default "notice" blue */
}
}


table.cmbox-notice {
.tmbox-speedy {
    background: #D8E8FF;    /* Blue */
border: 2px solid #b22222; /* Red */
}
background: #fee; /* Pink */
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b22222;   /* Red */
    background: #FFDBDB;         /* Pink */
}
}
table.cmbox-delete {
.tmbox-delete {
    background: #FFDBDB;   /* Red */
border: 2px solid #b22222; /* Red */
}
}
table.cmbox-content {
.tmbox-content {
    background: #FFE7CE;   /* Orange */
border: 2px solid #f28500; /* Orange */
}
}
table.cmbox-style {
.tmbox-style {
    background: #FFF9DB;   /* Yellow */
border: 2px solid #f4c430; /* Yellow */
}
}
table.cmbox-move {
.tmbox-move {
    background: #E4D8FF;   /* Purple */
border: 2px solid #9932cc; /* Purple */
}
}
table.cmbox-protection {
.tmbox-protection,
    background: #EFEFE1;   /* Gray-gold */
.tmbox-notice {
border: 1px solid #c0c090; /* Gray-brown */
}
}


/* Other pages message box styles */
/* {ambox} */
table.ombox {
.ambox {
    margin: 4px 10%;
margin: 0 10%;   /* 10% = Will not overlap with other elements */
    border-collapse: collapse;
border: 1px solid #a2a9b1;
    border: 1px solid #aaa;       /* Default "notice" gray */
/* @noflip */
    background: #f9f9f9;
border-left: 10px solid #36c; /* Default "notice" blue */
background: #fbfbfb;
}
}
 
.ambox + .ambox {   /* Single border between stacked boxes. */
table.ombox-notice {
margin-top: -1px;
    border: 1px solid #aaa;       /* Gray */
}
}
table.ombox-speedy {
.ambox .mbox-text,
    border: 2px solid #b22222;    /* Red */
.ambox .mbox-text { /* The message body cell(s) */
    background: #fee;             /* Pink */
padding: 0 0.5em;   /* 0.5em left/right */
}
}
table.ombox-delete {
.ambox .mbox-image {   /* The left image cell */
    border: 2px solid #b22222;   /* Red */
/* @noflip */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
}
table.ombox-content {
.ambox .mbox-imageright {   /* The right image cell */
    border: 1px solid #f28500;   /* Orange */
/* @noflip */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
}
table.ombox-style {
 
    border: 1px solid #f4c430;    /* Yellow */
.navbox + .ambox {             /* for ambox 1em before navbox */
}
margin-top: 1em;
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #bba;       /* Gray-gold */
}
}


/* Talk page message box styles */
.ambox-notice {
table.tmbox {
/* @noflip */
    margin: 4px 10%;
border-left: 10px solid #36c; /* Blue */
    border-collapse: collapse;
    border: 1px solid #c0c090;   /* Default "notice" gray-brown */
    background: #f8eaba;
}
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
.ambox-speedy {
    margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)  */
/* @noflip */
    width: 100%;                 /* For Safari and Opera */
border-left: 10px solid #b22222; /* Red */
background: #fee7e6;   /* Pink */
}
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
.ambox-delete,
    line-height: 1.5em;          /* also "nested", so reset styles that are  */
.ambox-serious {
    font-size: 100%;             /* set in "mbox-small" above.                */
/* @noflip */
border-left: 10px solid #b22222; /* Red */
}
}
 
.ambox-content {
table.tmbox-speedy {
/* @noflip */
    border: 2px solid #b22222;    /* Red */
border-left: 10px solid #f28500; /* Orange */
    background: #fee;             /* Pink */
}
}
table.tmbox-delete {
.ambox-style {
    border: 2px solid #b22222;   /* Red */
/* @noflip */
border-left: 10px solid #f4c430; /* Yellow */
}
}
table.tmbox-content {
.ambox-good {
    border: 2px solid #f28500;   /* Orange */
border-left: 10px solid #66cc44;
}
}
table.tmbox-style {
.ambox-discussion {
    border: 2px solid #f4c430;   /* Yellow */
border-left: 10px solid #339966;
}
}
table.tmbox-move {
.ambox-merge {
    border: 2px solid #9932cc;   /* Purple */
border-left: 10px solid #9932cc;
}
}
table.tmbox-protection,
.ambox-move {
table.tmbox-notice {
/* @noflip */
    border: 1px solid #c0c090;   /* Gray-brown */
border-left: 10px solid #9932cc; /* Purple */
}
}
 
.ambox-protection {
/* Disambig and set index box styles */
/* @noflip */
table.dmbox {
border-left: 10px solid #a2a9b1;   /* Gray-gold */
    clear: both;
    margin: 0.9em 1em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: transparent;
}
}


/* Footer and header message box styles */
/* Footer and header message box styles */
table.fmbox {
.fmbox {
    clear: both;
clear: both;
    margin: 0.2em 0;
margin: 0.2em 0;
    width: 100%;
width: 100%;
    border: 1px solid #aaa;
border: 1px solid #aaa;
    background: #f9f9f9;    /* Default "system" gray */
/* Default "system" gray */
background: #f9f9f9;
}
}
table.fmbox-system {
.fmbox-system {
    background: #f9f9f9;
background: #f9f9f9;
}
}
table.fmbox-warning {
.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;       /* Pink */
background: #ffdbdb; /* Pink */
}
}
table.fmbox-editnotice {
.fmbox-editnotice {
    background: transparent;
background: transparent;
}
}
/* Div based "warning" style fmbox messages. */
/* Div based "warning" style fmbox messages. */
Строка 867: Строка 879:
div.mw-cascadeprotectedwarning,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
div#mw-protect-cascadeon {
    clear: both;
clear: both;
    margin: 0.2em 0;
margin: 0.2em 0;
    border: 1px solid #bb7070;
border: 1px solid #bb7070;
    background: #ffdbdb;
background: #ffdbdb;
    padding: 0.25em 0.9em;
padding: 0.25em 0.9em;
}
}
/* Div based "system" style fmbox messages.
/* Div based "system" style fmbox messages.
  Used in [[MediaWiki:Readonly lag]]. */
Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.mw-lag-warn-normal,
div.fmbox-system {
div.fmbox-system {
    clear: both;
clear: both;
    margin: 0.2em 0;
margin: 0.2em 0;
    border: 1px solid #aaa;
border: 1px solid #aaa;
    background: #f9f9f9;
background: #f9f9f9;
    padding: 0.25em 0.9em;
padding: 0.25em 0.9em;
}
}


/* These mbox-small classes must be placed after all other
/* These mbox-small classes must be placed after all other
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
ambox/tmbox/ombox etc classes. "body.mediawiki" is so
  they override "table.ambox + table.ambox" above. */
they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {  /* For the "small=yes" option. */
.mediawiki .mbox-small.mbox-small {  /* For the "small=yes" option. */
    /* @noflip */
/* @noflip */
    clear: right;
clear: right;
    /* @noflip */
/* @noflip */
    float: right;
float: right;
    /* @noflip */
/* @noflip */
    margin: 4px 0 4px 1em;
margin: 4px 0 4px 1em;
    width: 238px;
width: 238px;
    font-size: 88%;
font-size: 88%;
    line-height: 1.25em;
line-height: 1.25em;
}
}
body.mediawiki table.mbox-small-left {  /* For the "small=left" option. */
.mediawiki .mbox-small.mbox-small-left {  /* For the "small=left" option. */
    /* @noflip */
/* @noflip */
    margin: 4px 1em 4px 0;
margin: 4px 1em 4px 0;
    width: 238px;
width: 238px;
    border-collapse: collapse;
border-collapse: collapse;
    font-size: 88%;
font-size: 88%;
    line-height: 1.25em;
line-height: 1.25em;
}
}


/* Style for compact ambox */
/* Style for {{rq}} */
/* Hide the images */
/* Hide the extra cells */
.compact-ambox table .mbox-image,
.ambox-multiple_issues .ambox .mbox-image,
.compact-ambox table .mbox-imageright,
.ambox-multiple_issues .ambox .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
.ambox-multiple_issues .ambox .mbox-empty-cell,
    display: none;
.ambox-multiple_issues .ambox .mbox-text-div,
.ambox-multiple_issues .ambox .mbox-textsmall-div {
display: none;
}
}
/* Remove borders, backgrounds, padding, etc. */
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
.ambox-multiple_issues .ambox {
    border: none;
border: none;
    border-collapse: collapse;
border-collapse: collapse;
    background: transparent;
background: transparent;
    margin: 0 0 0 1.6em !important;
margin: 0 0 0 1.6em;
    padding: 0 !important;
padding: 0;
    width: auto;
width: auto;
    display: block;
display: block;
}
}
body.mediawiki .compact-ambox table.mbox-small-left {
.ambox-multiple_issues .mbox-small-left {
    font-size: 100%;
font-size: 100%;
    width: auto;
width: auto;
    margin: 0;
margin: 0;
}
}
/* Style the text cell as a list item and remove its padding */
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
.ambox-multiple_issues .ambox .mbox-text {
     padding: 0 !important;
     padding: 0;
     margin: 0 !important;
     margin: 0;
}
}
.compact-ambox table .mbox-text-span {
.ambox-multiple_issues .ambox .mbox-multiply {
     display: list-item;
     display: list-item;
     line-height: 1.5em;
     line-height: 1.5em;
list-style-image: url(/w/skins/Vector/resources/common/images/bullet-icon.svg);
}
.skin-monobook .ambox-multiple_issues .ambox .mbox-multiply {
     list-style-type: square;
     list-style-type: square;
    list-style-image: url(//bits.wikimedia.org/skins/common/images/bullet.gif);
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
}
/* Allow for hiding text in compact form */
.ambox-multiple_issue .hide-when-compact {
display: none;
}
 
/* Стили нотификаций для ноутбуков */
@media (max-width: 1366px) {
.ombox,
.tmbox,
.ambox {
margin-left: 6%;
margin-right: 6%;
}
}
 
/* Стили нотификаций для мобильного устройсва */
@media (max-width: 719px) {
.ombox,
.tmbox,
.ambox {
margin-left: 0;
margin-right: 0;
}
}
}
.skin-vector .compact-ambox table .mbox-text-span {
 
    list-style-type: circle;
/* Устаревший стиль, на данный момент практически везде используется
    list-style-image: url(//bits.wikimedia.org/skins/vector/images/bullet-icon.png)
  неверно, почистить и удалить при первой возможности */
.messagebox {
border: thin solid #aaa;
background: #f9f9f9;
width: 88%;
margin: 0 auto 1em auto;
padding: .4em;
vertical-align: middle;
font-size: 90%
}
}
/* Allow for hiding text in compact form */
.messagebox.standard-talk {
.compact-ambox .hide-when-compact {
border: 1px solid #c0c090;
    display: none;
background: #f8eaba;
}
.messagebox .floatleft {
vertical-align: middle;
clear: both;
margin: 2px;
padding: 0;
}
.messagebox .image {
margin: 0;
padding: 0;
}
}


/* Remove default styles for [[MediaWiki:Noarticletext]]. */
/* КАРТОЧКА --------------------------------------- */
div.noarticletext {
 
    border: none;
.infobox {
    background: transparent;
border: 1px solid #a2a9b1;
    padding: 0;
background: #f8f9fa;
margin-bottom: .5em;
margin-left: 1em;
padding: .4em;
float: right;
clear: right;
font-size: 90%;
width: 23em;
vertical-align: middle;
text-align: left;
line-height: 1.5em;
border-collapse: separate;
border-spacing: 2px;
}
.infobox > caption {
font-size: 125%;
font-weight: bold;
padding: .2em;
}
.infobox td,
.infobox th {
vertical-align: top;
}
}


/* Bold save button */
/* Компоненты карточки */
#wpSave {
.infobox-above {
    font-weight: bold;
background: #cfe3ff;
font-size: 120%;
text-align: center;
}
.infobox-image {
padding-left: 0;
padding-right: 0;
text-align: center;
}
.infobox-header {
background: #dcebff;
text-align: center;
}
.infobox-below {
background: #dcebff;
text-align: center;
}
.infobox-table,
.infobox-tablebox,
.infobox-medals {
padding: 0;
}
.infobox-inner-table,
.infobox-table > table,
.infobox-tablebox > table,
.infobox-medals > table {
width: 100%;
display: table;
margin: 0;
background: transparent;
}
.infobox-tablebox > table {
background: #ffffff;
border: 1px solid #a2a9b1;
}
.infobox-medals > table {
border-collapse: separate;
}
.infobox-medals .NavFrame {
padding: 0;
border: none;
font-size: 100%;
}
.infobox-medals .NavFrame .NavHead {
padding: 1px 5em;
}
.infobox-medals .NavFrame .NavToggle {
position: absolute;
top: 1px;
right: 1px;
}
.infobox-medals .NavFrame .NavContent {
font-size: 95%;
}
}


/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
/* Встраиваемая карточка */
.hiddenStructure {
.infobox-child {
    display: inline !important;
width: 100%;
    color: #f00;
margin: 0;
    background-color: #0f0;
padding: 0;
border: none;
font-size: 100%;
}
}


/* suppress missing interwiki image links where #ifexist cannot
/* Списки в карточках */
  be used due to high number of requests see .hidden-redlink on
.infobox th:not(.noplainlist) > ul,
  [[m:MediaWiki:Common.css]] */
.infobox td:not(.noplainlist) > ul,
.check-icon a.new {
.infobox [data-wikidata-property-id] > ul {
    display: none;
list-style-type: none;
    speak: none;
list-style-image: none;
margin: 0;
}
.infobox .noplainlist > ul:first-child {
margin-top: 0;
}
.infobox th > ol,
.infobox td > ol,
.infobox [data-wikidata-property-id] > ol {
margin: 0 0 0 2em;
}
.infobox th > dl,
.infobox td > dl,
.infobox [data-wikidata-property-id] > dl {
margin: 0;
}
.infobox li,
.infobox dt,
.infobox dd {
margin-bottom: 0;
}
.infobox th > ol.references,
.infobox td > ol.references {
line-height: 1.25em;
}
.infobox th > ol.references li,
.infobox td > ol.references li {
margin-bottom: 0.1em;
}
.infobox th > ol.references li:last-child,
.infobox td > ol.references li:last-child {
margin-bottom: 0;
}
}


/* Removes underlines from certain links */
/* ToDo: temporarily fix */
.nounderlines a,
.infobox td p {
.IPA a:link, .IPA a:visited {
margin: 0 !important;
    text-decoration: none !important;
}
}


/* Standard Navigationsleisten, aka box hiding thingy
/* СКРЫТЫЙ ---------------------------------------- */
  from .de. Documentation at [[Wikipedia:NavFrame]]. */
 
/* {Навигационная полоса}, {Hider}, ... */
div.NavFrame {
div.NavFrame {
    margin: 0;
margin: 0;
    padding: 4px;
padding: 2px;
    border: 1px solid #aaa;
overflow: hidden;
    text-align: center;
border: 1px solid #a2a9b1;
    border-collapse: collapse;
border-collapse: collapse;
    font-size: 95%;
font-size: 95%;
}
}
div.NavFrame + div.NavFrame {
div.NavFrame + div.NavFrame {
    border-top-style: none;
border-top-style: none;
    border-top-style: hidden;
border-top-style: hidden;
}
}
div.NavPic {
div.NavPic {
    background-color: #fff;
background: #fff;
    margin: 0;
margin: 0;
    padding: 2px;
padding: 2px;
    /* @noflip */
float: left;
    float: left;
}
}
div.NavFrame div.NavHead {
div.NavFrame div.NavHead {
    height: 1.6em;
text-align: center;
    font-weight: bold;
font-weight: bold;
    background-color: #ccf;
font-size: 100%;
    position: relative;
background: #eaecf0;
position: relative;
}
div.NavFrame div.NavContent {
overflow-x: auto;
overflow-y: hidden;
clear: both;
}
}
div.NavFrame p,
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
div.NavFrame div.NavContent p {
    font-size: 100%;
font-size: 100%
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
}
a.NavToggle {
a.NavToggle {
    position: absolute;
float: right;
    top: 0;
margin-right: 3px;
    /* @noflip */
font-weight: normal;
    right: 3px;
font-size: 90%;
    font-weight: normal;
    font-size: 90%;
}
}


/* Hatnotes and disambiguation notices */
/* НАВИГАЦИОННЫЙ ШАБЛОН --------------------------- */
.rellink,
 
.dablink {
/* Default style for navigation boxes */
    font-style: italic;
.navbox { /* Navbox container style */
    /* @noflip */
box-sizing: border-box;
    padding-left: 1.6em;
border: 1px solid #a2a9b1;
    margin-bottom: 0.5em;
width: 100%;
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
clear: both;
font-size: 90%;
text-align: center;
padding: 3px;
}
}
.rellink i,
.navbox-inner,
.dablink i {
.navbox-subgroup {
    font-style: normal;
width: 100%;
}
}
 
.navbox-group,
/* Allow transcluded pages to display in lists rather than a table.
.navbox-title,
  Compatible in Firefox; incompatible in IE6. */
.navbox-abovebelow {
.listify td    { display: list-item; }
padding: 0.25em 1em;   /* Title, group and above/below styles */
.listify tr    { display: block; }
text-align: center;
.listify table { display: block; }
 
/* Geographical coordinates defaults. See [[Template:Coord/link]]
  for how these are used. The classes "geo", "longitude", and
  "latitude" are used by the [[Geo microformat]]. */
.geo-default, .geo-dms, .geo-dec  { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude            { white-space: nowrap; }
 
/* When <div class="nonumtoc"> is used on the table of contents,
  the ToC will display without numbers */
.nonumtoc .tocnumber { display: none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none none;
    margin: .3em 0 0;
    padding: 0;
}
}
.nonumtoc #toc ul ul,
.navbox-title {
.nonumtoc .toc ul ul {
line-height: 1.6em;   /* Standard 1.6em for title */
    /* @noflip */
    margin: 0 0 0 2em;
}
}


/* Allow limiting of which header levels are shown in a TOC;
/* cell spacing for navbox cells */
  <div class="toclimit-3">, for instance, will limit to
tr + tr > .navbox-abovebelow,
  showing ==headings== and ===headings=== but no further
tr + tr > .navbox-group,
  (as long as there are no =headings= on the page, which
tr + tr > .navbox-image,
  there shouldn't be according to the MoS). */
tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */
.toclimit-2 .toclevel-1 ul,
border-top: 2px solid #fdfdfd; /* Must match background color */
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}
}


/* Styling for Template:Quote */
th.navbox-group { /* Group style */
blockquote.templatequote {
white-space: nowrap;
    margin-top: 0;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background: #fdfdfd;   /* Background color */
}
.navbox-list {
border-color: #fdfdfd; /* Must match background color */
}
}
blockquote.templatequote div.templatequotecite {
.navbox th,
    line-height: 1em;
.navbox-title {
    /* @noflip */
background: #cfe3ff;   /* Level 1 color */
    text-align: left;
    /* @noflip */
    padding-left: 2em;
    margin-top: 0;
}
}
blockquote.templatequote div.templatequotecite cite {
.navbox-abovebelow,
    font-size: 85%;
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #dcebff;   /* Level 2 color */
}
}
 
.navbox-subgroup .navbox-group,
/* User block messages */
.navbox-subgroup .navbox-abovebelow {
div.user-block {
background: #eaf3ff;   /* Level 3 color */
    padding: 5px;
    margin-bottom: 0.5em;
    border: 1px solid #A9A9A9;
    background-color: #FFEFD5;
}
}
 
.navbox-even {
/* Prevent line breaks in silly places:
background: #f5f5f5;   /* Even row striping */
  1) Where desired
  2) Links when we don't want them to
  3) Bold "links" to the page itself
  4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
    white-space: nowrap;
}
}
/* But allow wrapping where desired: */
.navbox-odd {
.wrap,
background: transparent; /* Odd row striping */
.wraplinks a {
    white-space: normal;
}
}
 
.navbox .hlist td dl,
/* For template documentation */
.navbox .hlist td ol,
.template-documentation {
.navbox .hlist td ul,
    clear: both;
.navbox td.hlist dl,
    margin: 1em 0 0 0;
.navbox td.hlist ol,
    border: 1px solid #aaa;
.navbox td.hlist ul {
    background-color: #ecfcf4;
padding: 1px 0 0;   /* Adjust hlist padding in navboxes */
    padding: 1em;
}
}
 
.navbox .navbox {
/* Inline divs in ImageMaps (code borrowed from de.wiki) */
margin-top: 0; /* No top margin for nested navboxes */
.imagemap-inline div {
    display: inline;
}
}
 
.navbox + .navbox {
/* Increase the height of the image upload box */
margin-top: -1px; /* Single pixel border between adjacent navboxes */
#wpUploadDescription {
    height: 13em;
}
}


/* Minimum thumb width */
/* Default styling for Navbar template */
.thumbinner {
.navbar {
    min-width: 100px;
display: inline;
font-size: 11px;
font-weight: normal;
}
}
 
.navbar ul {
/* Makes the background of a framed image white instead of gray.
display: inline;
  Only visible with transparent images. */
white-space: nowrap;
div.thumb img.thumbimage {
    background-color: #fff;
}
}
 
.mw-body-content .navbar ul {
/* The backgrounds for galleries. */
line-height: inherit;
div#content .gallerybox div.thumb {
    /* Light gray padding */
    background-color: #F9F9F9;
}
}
/* Put a chequered background behind images, only visible if they have transparency.
.navbar.mini {
  '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
word-spacing: -0.1em;
.gallerybox .thumb img {
    background: #fff url(//bits.wikimedia.org/skins/common/images/Checker-16x16.png) repeat;
}
}
/* But not on articles, user pages, portals or with opt-out. */
.navbar.mini span abbr[title] {
.ns-0 .gallerybox .thumb img,
  border-bottom: none;
.ns-2 .gallerybox .thumb img,
  text-decoration: none;
.ns-100 .gallerybox .thumb img,
  cursor: inherit;
.nochecker .gallerybox .thumb img {
    background: #fff;
}
}


/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]],
/* Navbar styling when nested in infobox and navbox */
  [[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
.infobox .navbar {
#mw-subcategories ul {
font-size: 100%;
    list-style: none none;
    margin-left: 0.25em;
}
}
.CategoryTreeChildren {
.navbox .navbar {
    margin-left: 1.25em;
display: block;
font-size: 100%;
}
}
.CategoryTreeToggle {
.navbox-title .navbar {
    color: #0645AD;
/* @noflip */
}
float: left;
.CategoryTreeEmptyBullet {
/* @noflip */
    color: #C0C0C0;
text-align: left;
/* @noflip */
margin-right: 0.5em;
width: 5em;
}
}


/* Prevent floating boxes from overlapping any category listings,
/* [[Шаблон:Coord]] ------------------------------- */
  file histories, edit previews, and edit [Show changes] views. */
 
#mw-subcategories, #mw-pages, #mw-category-media,
#mw-indicator-0-coord + .mw-indicator {
#filehistory, #wikiPreview, #wikiDiff {
border-left: 1px solid #A7D7F9;
    clear: both;
margin-left: 0.25em;
padding-left: 0.5em;
}
}


body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback {
.mw-body-content .geo-services {
    display: block;  /* Override inline block mode */
font-size: 82%;
    margin-bottom: 1em;
    /* @noflip */
    clear: right;    /* Clear any info boxes that stick out */
    /* @noflip */
    float: right;     /* Prevents margin collapsing */
}
}


/* Selectively hide headers in WikiProject banners */
.geo-services a > span {
.wpb .wpb-header            { display: none; }
margin: 0.25em;
.wpbs-inner .wpb .wpb-header { display: block; }    /* for IE */
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */
.wpbs-inner .wpb-outside    { display: none; }      /* hide things that should only display outside shells */
 
/* Styling for Abuse Filter tags */
.mw-tag-markers {
    font-family:sans-serif;
    font-style:italic;
    font-size:90%;
}
}
 
.geo-services > :first-child a > span {
/* Hide stuff meant for accounts with special permissions. Made visible again in
margin-left: 0.4em;
  [[MediaWiki:Group-sysop.css]] and [[MediaWiki:Group-accountcreator.css]]. */
.sysop-show, .accountcreator-show {
    display: none;
}
}


/**
.geo-geo-dec .geo-dec,
* Hide the redlink generated by {{Editnotice}},
.geo-geo-dms .geo-dms {
* this overrides the ".sysop-show { display: none; }" above that applies
display: inline;
* to the same link as well.
*/
.ve-init-mw-viewPageTarget-toolbar-editNotices-notice .editnotice-redlink {
    display: none !important;
}
}
 
.geo-geo-dec .geo-dms,
/* Remove bullets when there are multiple edit page warnings */
.geo-geo-dms .geo-dec,
ul.permissions-errors > li {
.geo-multi-punct {
    list-style: none none;
display: none;
}
}
ul.permissions-errors {
.geo-lat,
    margin: 0;
.geo-lon {
white-space: nowrap;
}
}


/* No linewrap on the labels of the login/signup page */
/* ================================================
body.page-Special_UserLogin .mw-label label,
  СТРАНИЦЫ
body.page-Special_UserLogin_signup .mw-label label {
  ================================================ */
    white-space: nowrap;
 
/* [[Заглавная страница]] ------------------------- */
 
body.page-Заглавная_страница #ca-current,
body.page-Заглавная_страница #ca-delete,
body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #catlinks,
body.page-Заглавная_страница #lastmod,
body.page-Заглавная_страница #footer-info-lastmod,
body.page-Заглавная_страница.action-view h1.firstHeading,
body.page-Заглавная_страница.action-view #siteSub,
body.page-Заглавная_страница.action-view #contentSub,
body.page-Заглавная_страница.action-view #mw-data-after-content {
display: none !important;
}
}


/* Disable the automatic text-size adjust of WebKit on iPhones etc.
/*
  It scales some text, and not the other. Use none, or fixed percentage instead.
* Костыли-префиксы для поддержки устаревших браузеров заглавной страницей
  Use media selector, because defining a value, overwrites platform defaults. */
* Будут переведены на TemplateStyles, см. [[phab:T162379]]
@media only screen and (max-device-width: 480px) {
*/
    body {
.main-top-right > ul {
        -webkit-text-size-adjust: none;
display: -webkit-box;
    }
display: -webkit-flex;
-webkit-flex-wrap: wrap;
}
}


/* Pie chart test: Transparent borders */
.main-featuredLists > .main-featuredLists-item {
.transborder {
-webkit-box-align: stretch;
    border: solid transparent;
-webkit-align-items: stretch;
-webkit-column-break-inside: avoid;
display: -webkit-box;
display: -webkit-flex;
}
}
* html .transborder { /* IE6 */
 
    border: solid #000001;
.main-featuredLists-item > img {
    filter: chroma(color=#000001);
-webkit-box-flex: 0;
-webkit-flex: 0 auto;
}
}


/* Styling for updated markers on watchlist, history and recent/related changes.
.main-footer {
  Bullets are handled in skin-specific stylesheets. */
display: -webkit-box;
.updatedmarker {
display: -webkit-flex;
    background-color: transparent;
-webkit-box-pack: end;
    color: #006400;
-webkit-justify-content: flex-end;
}
}
li.mw-changeslist-line-watched .mw-title,
 
table.mw-changeslist-line-watched .mw-title,
.main-footer-actions {
table.mw-enhanced-watch .mw-enhanced-rctime {
-webkit-box-flex: 1;
    font-weight: normal;
-webkit-flex: 1;
}
}


/* Adjust font for inline HTML generated formulae */
.main-footer-actions > ul {
span.texhtml {
-webkit-box-align: center;
    font-family: "Times New Roman", "Nimbus Roman No9 L", Times, serif;
-webkit-align-items: center;
    font-size: 118%;
display: -webkit-box;
    white-space: nowrap;
display: -webkit-flex;
}
}
span.texhtml span.texhtml {
 
    font-size: 100%;
.main-footer-menu {
-webkit-box-align: stretch;
-webkit-align-items: stretch;
display: -webkit-box;
display: -webkit-flex;
}
}


/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
.main-footer-menuToggle {
  [[Bugzilla:26204]]. See also [[Wikipedia:Typography#The monospace 'bug']] */
-webkit-box-align: center;
div.mw-geshi div,
-webkit-align-items: center;
div.mw-geshi div pre,
display: -webkit-box;
span.mw-geshi,
display: -webkit-flex;
pre.source-css,
pre.source-javascript,
pre.source-lua {
    font-family: monospace, Courier !important;
}
}


/* Fix styling of transcluded prefindex tables */
.main-wikimedia-list {
table#mw-prefixindex-list-table,
-webkit-column-count: 4;
table#mw-prefixindex-nav-table {
-webkit-column-width: 15em;
    width: 98%;
}
}


/* For portals, added 2011-12-07 -bv
.main-wikimedia-list > .main-wikimedia-listItem {
  On wide screens, show these as two columns
-webkit-box-align: stretch;
  On narrow and mobile screens, let them collapse into a single column */
-webkit-align-items: stretch;
.portal-column-left {
-webkit-column-break-inside: avoid;
    float: left;
display: -webkit-box;
    width: 50%;
display: -webkit-flex;
}
}
.portal-column-right {
 
    float: right;
.main-wikimedia-listItem > img {
    width: 49%;
-webkit-box-flex: 0;
-webkit-flex: 0 auto;
}
}
.portal-column-left-wide {
 
    float: left;
.main-wikimedia-listItem > a {
    width: 60%;
-webkit-box-flex: 1;
-webkit-flex: 1;
}
}
.portal-column-right-narrow {
 
    float: right;
@media (max-width: 719px) {
    width: 39%;
.main-wikimedia-list {
}
-webkit-column-width: 10em;
.portal-column-left-extra-wide {
}
    float: left;
    width: 70%;
}
.portal-column-right-extra-narrow {
    float: right;
    width: 29%;
}
@media only screen and (max-width: 800px) {
    /* Decouple the columns on narrow screens */
    .portal-column-left,
    .portal-column-right,
    .portal-column-left-wide,
    .portal-column-right-narrow,
    .portal-column-left-extra-wide,
    .portal-column-right-extra-narrow {
        float: inherit;
        width: inherit;
    }
}
}


/* For announcements */
@media (min-width: 1000px) {
#bodyContent .letterhead {
.main-wrapper {
    background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
display: -webkit-box;
    background-repeat:no-repeat;
display: -webkit-flex;
    padding: 2em;
}
    background-color: #faf9f2;
}


/* Tree style lists */
.main-wrapper-column {
.treeview ul {
-webkit-box-flex: 1;
    padding: 0;
-webkit-flex: 1;
    margin: 0;
}
}
.treeview li {
    padding: 0;
    margin: 0;
    list-style-type: none;
    list-style-image: none;
    zoom: 1; /* BE KIND TO IE6 */;
}
.treeview li li {
    background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
    /* @noflip */
    padding-left: 20px;
    text-indent: 0.3em;
}
.treeview li li.lastline {
    background-position: 0 -5971px
}
.treeview li.emptyline > ul {
    /* @noflip */
    margin-left: -1px;
}
.treeview li.emptyline > ul > li:first-child {
    background-position: 0 9px
}


/* Make it possible to hide checkboxes in <inputbox> */
.main-top {
.inputbox-hidecheckboxes form .inputbox-element {
-webkit-box-align: center;
    display: none !important;
-webkit-align-items: center;
}
display: -webkit-box;
display: -webkit-flex;
}


/* Hide charinsert base for those not using the gadget */
.main-top-left {
#editpage-specialchars {
background-image: -webkit-linear-gradient(left, #f8f9fa 0%, #f8f9fa 70%, rgba(248, 249, 250, 0) 100%);
    display: none;
-webkit-box-flex: 3;
}
-webkit-flex: 3;
}
.main-top-right {
-webkit-box-flex: 2;
-webkit-flex: 2;
}


/* work-around for [[bugzilla:23965]] (Kaltura advertisement) */
.main-top-right > ul {
.k-player .k-attribution {
-webkit-box-align: center;
    visibility: hidden;
-webkit-align-items: center;
-webkit-box-orient: horizontal;
-webkit-box-direction: reverse;
-webkit-flex-direction: row-reverse;
-webkit-box-pack: left;
-webkit-justify-content: left;
}
}
}

Текущая версия от 17:04, 9 октября 2023

/**
 *  [Содержание]
 *
 *  1. Интерфейс
 *  1.1 Теги
 *  1.2 Классы
 *  1.3 Расширения
 *  1.4 Редакторы
 *  2. Служебные классы
 *  3. Общие классы
 *  3.1 Списки
 *  3.2 Примечания
 *  3.3 Колонки
 *  3.4 Таблицы
 *  4. Шаблоны
 *  5. Страницы
 *
 *  При добавлении правил, которые должны также действовать в мобильной версии,
 *  не забудьте добавить аналогичные правила в [[MediaWiki:Mobile.css]].
 */

/* ================================================
   ИНТЕРФЕЙС
   ================================================ */

/* ТЕГИ ------------------------------------------- */

/* Избавляемся от дважды жирного шрифта (2019-09-08) */
b {
	font-weight: 700;
}

/* Сбрасываем курсивное оформление, применяемое браузером */
cite, dfn {
	font-style: inherit;
}

/* Добавление горизонтального скролла для <pre>,
   для избежания бага с очень длинными строками */
pre {
	overflow-x: auto;
	overflow-y: hidden;
}

/* Размер таба для обычного редактора и для тега <code> */
pre,
textarea {
	tab-size: 4;
}

/* Consistent size for <small>, <sub> and <sup> */
small {
	font-size: 85%;
}
.mw-body-content sub,
.mw-body-content sup,
span.reference /* for Parsoid */ {
	font-size: 80%;
}

/* fix for line-breaking references */
sub,
sup {
	line-height: 1em;
}

blockquote {
	background: #f8f9fa;
	overflow: hidden;
}

/* КЛАССЫ ----------------------------------------- */

/* Уточнение ширины логотипа на экранах с большей плотностью пикселей (сами
   изображения задаются в файле стилей, не изменяемом локально; помогает
   избежать сглаживания? 136 = 204 / 1,5; 204px — ширина картинки) */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
	#p-logo a {
		background-size: 136px auto;
	}
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
	#p-logo a {
		background-size: 135px auto;
	}
}

.filehistory a img,
#file img {
	background: url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}

/* Remove "external" icon from links to WP */
body.ns-talk a.external[href*="//ru.wikipedia.org/"],
body.ns-4 a.external[href*="//ru.wikipedia.org/"],
body.ns-104 a.external[href*="//ru.wikipedia.org/"],
body.ns-106 a.external[href*="//ru.wikipedia.org/"] {
	background: none !important;
	padding-right: 0 !important;
}

/* PDF icon next to external PDF link for Mozilla and Opera and for {PDFlink} template */
a[href$=".pdf"].external,
a[href*=".pdf?"].external,
a[href*=".pdf#"].external,
a[href$=".PDF"].external,
a[href*=".PDF?"].external,
a[href*=".PDF#"].external,
span.PDFlink a {
	background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) center right no-repeat !important;
	padding-right: 18px !important;
}

.hatnote {
	font-style: italic;
	padding-left: 1.6em;
}

.allpagesredirect,
span.redirect-in-category a {
	font-style: italic;
}

/* Clickable speaker in {Audio} ... */
.audiolink a {
	background: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Loudspeaker.svg/11px-Loudspeaker.svg.png) center left no-repeat !important;
	padding-left: 16px !important;
	padding-right: 0 !important;
}

.clickable-image a:hover {
	text-decoration: none;
}

#mw-subcategories,
#mw-pages {
	clear: both;
}

/* Лечим растягивание СН, страниц истории и вклада, если текст описания правки
   негде перенести. Удалить при добавлении этого правила на глобальном уровне. */
.comment {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Не отображать множественные уведомления о запрете редактирования списком */
.permissions-errors {
	list-style: none;
	margin: 0;
}

.sitedir-ltr .mw-dismissable-notice-body {
	margin-right: 5em !important; /* was 20% */
}

/* Fix of default <maplink> display */
.mw-kartographer-maplink {
	margin-left: 0 !important;
	padding: 2px 0 2px 20px !important;
}

/* Временный фикс [[Обсуждение MediaWiki:Common.css#Для чего .catlinks li параметр margin: 0.125em 0;?]],
   пока не исправят в нативных стилях */
.mediawiki .catlinks li {
	margin: 2px 0;
}

.mw-tag-markers {
	font: italic 90% sans-serif;
}

.printonly {
	display: none;
}

/* Фикс выравнивания галереи при заданном параметре perrow (2019-10-03) */
.mw-gallery-traditional.center,
.mw-gallery-nolines.center {
	margin-left: auto;
	margin-right: auto;
}

/* Блок «Это старая/текущая версия этой страницы». Надо предложить это в движок */
.mw-revision,
#mw-revision-nav {
	margin-top: 0.5em;
}

/* Кнопки [показать]/[скрыть], создаваемые mw-collapsible */
.mw-collapsible-toggle {
	font-weight: normal;
}

/* Кнопки [показать]/[скрыть], создаваемые динамически функцией collapsibleTables()
   в [[MediaWiki:Common.js]] */
.collapseButton {
	/* @noflip */
	float: right;
	font-weight: normal;
	/* @noflip */
	margin-left: 0.5em;
	/* @noflip */
	text-align: right;
	width: auto;
}

/* Collapsible elements. Toggle-link moved to left.
/* Margin around it adjusted. */

.mw-collapsible span.mw-collapsible-toggle {
    float:left;
    margin-left:0;
    margin-right:1em;
}

/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .collapsible.collapsed > tbody > tr:not(:first-child),
.client-js .NavFrame.collapsed > .NavContent,
.client-js .tochidden-wrapper > .toc > ul {
	display: none;
}

.noautonum .tocnumber,
.nonumtoc .tocnumber { 
    display: none; 
}

/* РАСШИРЕНИЯ ------------------------------------- */

/* Стили для расширения [[mw:Extension:Babel]] (03-09-17) */
/* Скрытие буквы N у родных языков, по аналогии со стандарными шаблонами */
.mw-babel-box-level-N {
	display: none;
}

/* FlaggedRevs */
/* Скрываем верхнюю таблицу для анонимов и показываем
для зарегистрированных с помощью [[MediaWiki:Group-user.css]] */
#mw-fr-revisiontag {
	display: none;
}
.mw-fr-reviewlink,
.fr-hist-basic-user,
.fr-hist-basic-auto {
	font-weight: normal;
	font-size: 85%;
}
.flaggedrevs-pending {
	background: #ffc;
}
.sitedir-ltr div.flaggedrevs_short {
	float: none;
	margin-left: 0;
	padding: 1px;
}
.sitedir-ltr div.flaggedrevs_short_details {
	width: 95%;
	display: none;
}
/* Лишний отступ */
div.flaggedrevs_notice {
    margin-right: 0;
}

/* Remove popup from Content translation tool, if not opted in */
.cx-callout:not(.cx-campaign-contributionsmenu):not(.cx-entrypoint-dialog) { display: none !important; }

/* Покрасить "неприоритетные" ссылки в библиографических ссылках в черный цвет (касается только ссылок, генерируемых Lua) */
.wef_low_priority_links a,
.wef_low_priority_links a.extiw,
.wef_low_priority_links a.external,
.wef_low_priority_links a:visited,
.wef_low_priority_links a.extiw:visited,
.wef_low_priority_links a.external:visited {
	color: #202122;
}

/* РЕДАКТОРЫ -------------------------------------- */

/* Visual editor related */
.mw-ve-editNotice .mbox-image,
.ve-active .ve-hide,
.ve-show {
	display: none;
}

.ve-active div.ve-show,
.ve-active p.ve-show {
	display: block;
}

.ve-active span.ve-show,
.ve-active small.ve-show {
	display: inline;
}

.ve-active li.ve-show {
	display: list-item;
}

/* Костыль исправляющий дублирование иконки в сообщениях об ошибках (Editnotice) 
при сохранении правки в визуальном редакторе */
.ve-ui-mwSaveDialog .oo-ui-flaggedElement-error.oo-ui-iconElement table.fmbox {
	margin-top: 0;
}
.ve-ui-mwSaveDialog .oo-ui-flaggedElement-error.oo-ui-iconElement .mbox-image {
	display: none;
}

/* ================================================
   СЛУЖЕБНЫЕ КЛАССЫ
   ================================================ */

/* Классы для показа сообщений отдельным группам пользователей */
.group-checkuser-show,
.group-bureaucrat-show,
.group-sysop-show,
.group-engineer-show,
.group-closer-show,
.group-filemover-show,
.group-editor-show,
.group-autoreview-show,
.group-user-show {
	display: none;
}

/* ================================================
   ОБЩИЕ КЛАССЫ
   ================================================ */

/* СПИСКИ ----------------------------------------- */

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 9 (2016-08-10)
   @author [[User:Edokter]]
 */
.hlist dl,
.hlist ol,
.hlist ul {
	margin: 0;
	padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	margin: 0;
	display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
	display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
	display: none;
}
/* Generate bullets */
.hlist dt:after {
	content: ": ";
}
.hlist dd:after,
.hlist li:after {
	content: "\00a0• ";
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
	content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
	content: " (";
	font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
	content: ")";
	font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}
.hlist ol > li {
	counter-increment: listitem;
}
.hlist ol > li:before {
	content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}

/* Немаркированные списки */
.plainlist ol:not(.references),
.plainlist dl,
.plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}
.plainlist ol:not(.references) li,
.plainlist dl dt,
.plainlist dl dd,
.plainlist ul li {
	margin: 0;
}
.plainlist dl dt:after {
	content: ": ";
}

/* Неразрывные пробелы в горизонтальных списках */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
	white-space: nowrap;
}

/* Но где-то неразрывность надо сбросить (например, в навшаблонах в узких местах) */
.wrap,
.wraplinks a,
.wraplinks .selflink,
.hlist-items-nowrap dl dl, .hlist-items-nowrap dl ol, .hlist-items-nowrap dl ul, /* Allow nested lists to wrap anyway */
.hlist-items-nowrap ol dl, .hlist-items-nowrap ol ol, .hlist-items-nowrap ol ul,
.hlist-items-nowrap ul dl, .hlist-items-nowrap ul ol, .hlist-items-nowrap ul ul {
	white-space: normal;
}

/* ПРИМЕЧАНИЯ ------------------------------------- */

ol.references {
	font-size: 100%;
}
.reflist,
.references-small {
	font-size: 90%;
	margin-bottom: 0.5em;
}
.reflist ol.references,
.references-small ol.references {
	list-style-type: inherit;  /* Enable custom list style types */
}
.reflist-narrow .mw-references-columns {
	-webkit-column-width: 20em;
	-moz-column-width: 20em;
	column-width: 20em;
}
.reflist-wide .mw-references-columns {
	-webkit-column-width: 40em;
	-moz-column-width: 40em;
	column-width: 40em;
}

/* highlight focused footnotes and references in some browsers */
sup.reference:target,
ol.references li:target,
.highlight-target:target,
cite:target,
span.citation:target {
	background: #eaf3ff;
}
sup.reference:target {
	font-weight: bold;
}

.ref-info {
	font-size: 85%;
	color: #72777d;
}

/* КОЛОНКИ ---------------------------------------- */

/* Авторазбиение списков на колонки. Будет работать только для однострочных списков. 35em является предварительным числом, а фактическое будет посчитано исходя из ширины элементов. Должно использоваться только для UL внутри DIV. Пример использования — шаблон {{Wikidata/SisterCities}} */
.autocolumns {
	-moz-columns: 35em auto;
	columns: 35em auto;
	white-space: nowrap;
}

/* Reset top margin for lists embedded in columns */
div.columns {
	margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
	margin-top: 0;
}

/* Avoid elements from breaking between columns */
.nocolbreak,
div.columns li,
div.columns dd dd {
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid-column;
}

/* ТАБЛИЦЫ ---------------------------------------- */

/* [[Википедия:Оформление таблиц]] */
.standard,
.wide {
	/* For align=center tables dont use shorthand margin */
	margin-top:1em;
	margin-bottom:1em;
	border: 1px solid #a2a9b1;
	border-collapse: collapse;
}

.standard > tr > th,
.standard > tr > td,
.standard > * > tr > th,
.standard > * > tr > td,
.wide > tr > th,
.wide > tr > td,
.wide > * > tr > th,
.wide > * > tr > td {
	border: 1px solid #a2a9b1;
	padding: 0.2em 0.4em;
}

.standard > tr > th,
.standard > * > tr > th,
.wide > tr > th,
.wide > * > tr > th {
	background-color: #eaf3ff;
}

.standard > caption,
.wide > caption {
	font-weight: bold;
}

.wide {
	width: 100%;
}

table.graytable {
	background: #f0f0f0;
	padding: 1em;
	width: 100%;
}
table.graytable caption {
	padding-top: 0.5em;
	background: #f0f0f0;
	font-weight: bold;
}
table.graytable caption span.subcaption {
	font-size: 88.5%;
	font-weight: normal;
}
table.graytable th,
table.graytable td {
	font-size: 88.5%;
}

/* Оформление ячеек */
tr.highlight th,
table tr th.highlight {
	background: #dcebff;
}
tr.highlight td,
table tr td.highlight {
	background: #ffe;
	font-weight: normal;
}
tr.bright th,
table tr th.bright {
	background: #cfe3ff;
}
tr.bright td,
table tr td.bright {
	background: #fec;
}
tr.shadow th,
tr.shadow td,
table tr th.shadow,
table tr td.shadow {
	background: #f0f0f0;
}
tr.dark th,
tr.dark td,
table tr th.dark,
table tr td.dark {
	background: #ccc;
}

/* ================================================
   ШАБЛОНЫ
   ================================================ */

/* ПРЕДУПРЕЖДЕНИЯ И УВЕДОМЛЕНИЯ ------------------- */

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
.mbox-text,
.mbox-text {   /* The message body cell(s) */
	border: none;
	/* @noflip */
	padding: 0.25em 0.9em;	 /* 0.9em left/right */
	width: 100%;			   /* Make all mboxes the same width regardless of text length */
}
.mbox-image {				/* The left image cell */
	border: none;
	/* @noflip */
	padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
	text-align: center;
}
.mbox-imageright {		   /* The right image cell */
	border: none;
	/* @noflip */
	padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
	text-align: center;
}
.mbox-empty-cell {		   /* An empty narrow cell */
	border: none;
	padding: 0px;
	width: 1px;
}
.mbox-text .mbox-multiply {
	display: none;
}

/* Image message box styles */
.imbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 3px solid #1e90ff;	/* Default "notice" blue */
	background: #fbfbfb;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
	margin: 0 -0.5em;	   /* 0.9 - 0.5 = 0.4em left/right.		*/
	display: block;		 /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {	   /* For imboxes inside other templates.  */
	margin: 4px;
}

.imbox-notice {
	border: 2px solid #1e90ff;	/* Blue */
}
.imbox-speedy {
	border: 2px solid #b22222;	/* Red */
	background: #fee;			 /* Pink */
}
.imbox-delete {
	border: 2px solid #b22222;	/* Red */
}
.imbox-content {
	border: 2px solid #f28500;	/* Orange */
}
.imbox-style {
	border: 2px solid #f4c430;	/* Yellow */
}
.imbox-move {
	border: 2px solid #9932cc;	/* Purple */
}
.imbox-protection {
	border: 2px solid #bba;	   /* Gray-gold */
}
.imbox-license {
	border: 2px solid #88a;	   /* Dark gray */
	background: #f7f8ff;		  /* Light gray */
}
.imbox-featured {
	border: 2px solid #cba135;	/* Brown-gold */
}

/* Category message box styles */
.cmbox {
	margin: 3px 10%;
	border-collapse: collapse;
	border: 1px solid #aaa;
	background: #dfe8ff;	/* Default "notice" blue */
}

.cmbox-notice {
	background: #d8e8ff;	/* Blue */
}
.cmbox-speedy {
	margin-top: 4px;
	margin-bottom: 4px;
	border: 4px solid #b22222;	/* Red */
	background: #ffdbdb;		  /* Pink */
}
.cmbox-delete {
	background: #ffdbdb;	/* Red */
}
.cmbox-content {
	background: #ffe7ce;	/* Orange */
}
.cmbox-style {
	background: #fff9db;	/* Yellow */
}
.cmbox-move {
	background: #e4d8ff;	/* Purple */
}
.cmbox-protection {
	background: #efefe1;	/* Gray-gold */
}

/* Other pages message box styles */
.ombox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;	   /* Default "notice" gray */
	background: #f8f9fa;
}

.ombox-notice {
	border: 1px solid #a2a9b1;	   /* Gray */
}
.ombox-speedy {
	border: 2px solid #b22222;	/* Red */
	background: #fee;			 /* Pink */
}
.ombox-delete {
	border: 2px solid #b22222;	/* Red */
}
.ombox-content {
	border: 1px solid #f28500;	/* Orange */
}
.ombox-style {
	border: 1px solid #f4c430;	/* Yellow */
}
.ombox-move {
	border: 1px solid #9932cc;	/* Purple */
}
.ombox-protection {
	border: 2px solid #bba;	   /* Gray-gold */
}

/* Talk page message box styles */
.tmbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #c0c090;	/* Default "notice" gray-brown */
	background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
	margin: 2px 0;			   /* this declaration overrides other styles (including mbox-small above)   */
	width: 100%;				 /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
	line-height: 1.5em;		  /* also "nested", so reset styles that are   */
	font-size: 100%;			 /* set in "mbox-small" above.				*/
}

.tmbox-speedy {
	border: 2px solid #b22222;	/* Red */
	background: #fee;			 /* Pink */
}
.tmbox-delete {
	border: 2px solid #b22222;	/* Red */
}
.tmbox-content {
	border: 2px solid #f28500;	/* Orange */
}
.tmbox-style {
	border: 2px solid #f4c430;	/* Yellow */
}
.tmbox-move {
	border: 2px solid #9932cc;	/* Purple */
}
.tmbox-protection,
.tmbox-notice {
	border: 1px solid #c0c090;	/* Gray-brown */
}

/* {ambox} */
.ambox {
	margin: 0 10%;				  /* 10% = Will not overlap with other elements */
	border: 1px solid #a2a9b1;
	/* @noflip */
	border-left: 10px solid #36c;  /* Default "notice" blue */
	background: #fbfbfb;
}
.ambox + .ambox {	  /* Single border between stacked boxes. */
	margin-top: -1px;
}
.ambox .mbox-text,
.ambox .mbox-text {			/* The message body cell(s) */
	padding: 0 0.5em;	   /* 0.5em left/right */
}
.ambox .mbox-image {		   /* The left image cell */
	/* @noflip */
	padding: 2px 0 2px 0.5em;	/* 0.5em left, 0px right */
}
.ambox .mbox-imageright {	  /* The right image cell */
	/* @noflip */
	padding: 2px 0.5em 2px 0;	/* 0px left, 0.5em right */
}

.navbox + .ambox {              /* for ambox 1em before navbox */
	margin-top: 1em;
}

.ambox-notice {
	/* @noflip */
	border-left: 10px solid #36c;	/* Blue */
}
.ambox-speedy {
	/* @noflip */
	border-left: 10px solid #b22222;	/* Red */
	background: #fee7e6;				   /* Pink */
}
.ambox-delete,
.ambox-serious {
	/* @noflip */
	border-left: 10px solid #b22222;	/* Red */
}
.ambox-content {
	/* @noflip */
	border-left: 10px solid #f28500;	/* Orange */
}
.ambox-style {
	/* @noflip */
	border-left: 10px solid #f4c430;	/* Yellow */
}
.ambox-good {
	border-left: 10px solid #66cc44;
}
.ambox-discussion {
	border-left: 10px solid #339966;
}
.ambox-merge {
	border-left: 10px solid #9932cc;
}
.ambox-move {
	/* @noflip */
	border-left: 10px solid #9932cc;	/* Purple */
}
.ambox-protection {
	/* @noflip */
	border-left: 10px solid #a2a9b1;	   /* Gray-gold */
}

/* Footer and header message box styles */
.fmbox {
	clear: both;
	margin: 0.2em 0;
	width: 100%;
	border: 1px solid #aaa;
	/* Default "system" gray */
	background: #f9f9f9;
}
.fmbox-system {
	background: #f9f9f9;
}
.fmbox-warning {
	border: 1px solid #bb7070;  /* Dark pink */
	background: #ffdbdb;		/* Pink */
}
.fmbox-editnotice {
	background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #bb7070;
	background: #ffdbdb;
	padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages.
	Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #aaa;
	background: #f9f9f9;
	padding: 0.25em 0.9em;
}

/* These mbox-small classes must be placed after all other
	ambox/tmbox/ombox etc classes. "body.mediawiki" is so
	they override "table.ambox + table.ambox" above. */
.mediawiki .mbox-small.mbox-small {   /* For the "small=yes" option. */
	/* @noflip */
	clear: right;
	/* @noflip */
	float: right;
	/* @noflip */
	margin: 4px 0 4px 1em;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em;
}
.mediawiki .mbox-small.mbox-small-left {   /* For the "small=left" option. */
	/* @noflip */
	margin: 4px 1em 4px 0;
	width: 238px;
	border-collapse: collapse;
	font-size: 88%;
	line-height: 1.25em;
}

/* Style for {{rq}} */
/* Hide the extra cells */
.ambox-multiple_issues .ambox .mbox-image,
.ambox-multiple_issues .ambox .mbox-imageright,
.ambox-multiple_issues .ambox .mbox-empty-cell,
.ambox-multiple_issues .ambox .mbox-text-div,
.ambox-multiple_issues .ambox .mbox-textsmall-div {
	display: none;
}

/* Remove borders, backgrounds, padding, etc. */
.ambox-multiple_issues .ambox {
	border: none;
	border-collapse: collapse;
	background: transparent;
	margin: 0 0 0 1.6em;
	padding: 0;
	width: auto;
	display: block;
}
.ambox-multiple_issues .mbox-small-left {
	font-size: 100%;
	width: auto;
	margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.ambox-multiple_issues .ambox .mbox-text {
    padding: 0;
    margin: 0;
}
.ambox-multiple_issues .ambox .mbox-multiply {
    display: list-item;
    line-height: 1.5em;
	list-style-image: url(/w/skins/Vector/resources/common/images/bullet-icon.svg);
}
.skin-monobook .ambox-multiple_issues .ambox .mbox-multiply {
    list-style-type: square;
	list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
}
/* Allow for hiding text in compact form */
.ambox-multiple_issue .hide-when-compact {
	display: none;
}

/* Стили нотификаций для ноутбуков */
@media (max-width: 1366px) {
	.ombox,
	.tmbox,
	.ambox {
		margin-left: 6%;
		margin-right: 6%;
	}
}

/* Стили нотификаций для мобильного устройсва */
@media (max-width: 719px) {
	.ombox,
	.tmbox,
	.ambox {
		margin-left: 0;
		margin-right: 0;
	}
}

/* Устаревший стиль, на данный момент практически везде используется
   неверно, почистить и удалить при первой возможности */
.messagebox {
	border: thin solid #aaa;
	background: #f9f9f9;
	width: 88%;
	margin: 0 auto 1em auto;
	padding: .4em;
	vertical-align: middle;
	font-size: 90%
}
.messagebox.standard-talk {
	border: 1px solid #c0c090;
	background: #f8eaba;
}
.messagebox .floatleft {
	vertical-align: middle;
	clear: both;
	margin: 2px;
	padding: 0;
}
.messagebox .image {
	margin: 0;
	padding: 0;
}

/* КАРТОЧКА --------------------------------------- */

.infobox {
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	margin-bottom: .5em;
	margin-left: 1em;
	padding: .4em;
	float: right;
	clear: right;
	font-size: 90%;
	width: 23em;
	vertical-align: middle;
	text-align: left;
	line-height: 1.5em;
	border-collapse: separate;
	border-spacing: 2px;
}
.infobox > caption {
	font-size: 125%;
	font-weight: bold;
		padding: .2em;
}
.infobox td,
.infobox th {
	vertical-align: top;
}

/* Компоненты карточки */
.infobox-above {
	background: #cfe3ff;
	font-size: 120%;
	text-align: center;
}
.infobox-image {
	padding-left: 0;
	padding-right: 0;
	text-align: center;
}
.infobox-header {
	background: #dcebff;
	text-align: center;
}
.infobox-below {
	background: #dcebff;
	text-align: center;
}
.infobox-table,
.infobox-tablebox,
.infobox-medals {
	padding: 0;
}
.infobox-inner-table,
.infobox-table > table,
.infobox-tablebox > table,
.infobox-medals > table {
	width: 100%;
	display: table;
	margin: 0;
	background: transparent;
}
.infobox-tablebox > table {
	background: #ffffff;
	border: 1px solid #a2a9b1;
}
.infobox-medals > table {
	border-collapse: separate;
}
.infobox-medals .NavFrame {
	padding: 0;
	border: none;
	font-size: 100%;
}
.infobox-medals .NavFrame .NavHead {
	padding: 1px 5em;
}
.infobox-medals .NavFrame .NavToggle {
	position: absolute;
	top: 1px;
	right: 1px;
}
.infobox-medals .NavFrame .NavContent {
	font-size: 95%;
}

/* Встраиваемая карточка */
.infobox-child {
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	font-size: 100%;
}

/* Списки в карточках */ 
.infobox th:not(.noplainlist) > ul,
.infobox td:not(.noplainlist) > ul,
.infobox [data-wikidata-property-id] > ul {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
}
.infobox .noplainlist > ul:first-child {
	margin-top: 0;
}
.infobox th > ol,
.infobox td > ol,
.infobox [data-wikidata-property-id] > ol {
	margin: 0 0 0 2em;
}
.infobox th > dl,
.infobox td > dl,
.infobox [data-wikidata-property-id] > dl {
	margin: 0;
}
.infobox li,
.infobox dt,
.infobox dd {
	margin-bottom: 0;
}
.infobox th > ol.references,
.infobox td > ol.references {
	line-height: 1.25em;
}
.infobox th > ol.references li,
.infobox td > ol.references li {
	margin-bottom: 0.1em;
}
.infobox th > ol.references li:last-child,
.infobox td > ol.references li:last-child {
	margin-bottom: 0;
}

/* ToDo: temporarily fix */
.infobox td p {
	margin: 0 !important;
}

/* СКРЫТЫЙ ---------------------------------------- */

/* {Навигационная полоса}, {Hider}, ... */
div.NavFrame {
	margin: 0;
	padding: 2px;
	overflow: hidden;
	border: 1px solid #a2a9b1;
	border-collapse: collapse;
	font-size: 95%;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background: #fff;
	margin: 0;
	padding: 2px;
	float: left;
}
div.NavFrame div.NavHead {
	text-align: center;
	font-weight: bold;
	font-size: 100%;
	background: #eaecf0;
	position: relative;
}
div.NavFrame div.NavContent {
	overflow-x: auto;
	overflow-y: hidden;
	clear: both;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 100%
}
a.NavToggle {
	float: right;
	margin-right: 3px;
	font-weight: normal;
	font-size: 90%;
}

/* НАВИГАЦИОННЫЙ ШАБЛОН --------------------------- */

/* Default style for navigation boxes */
.navbox {					 /* Navbox container style */
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	width: 100%;
	margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
	clear: both;
	font-size: 90%;
	text-align: center;
	padding: 3px;
}
.navbox-inner,
.navbox-subgroup {
	width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
	padding: 0.25em 1em;	  /* Title, group and above/below styles */
	text-align: center;
}
.navbox-title {
	line-height: 1.6em;	   /* Standard 1.6em for title */
}

/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {	/* Borders above 2nd, 3rd, etc. rows */
	border-top: 2px solid #fdfdfd; /* Must match background color */
}

th.navbox-group {			 /* Group style */
	white-space: nowrap;
	/* @noflip */
	text-align: right;
}
.navbox,
.navbox-subgroup {
	background: #fdfdfd;	  /* Background color */
}
.navbox-list {
	border-color: #fdfdfd;	/* Must match background color */
}
.navbox th,
.navbox-title {
	background: #cfe3ff;	  /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
	background: #dcebff;	  /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
	background: #eaf3ff;	  /* Level 3 color */
}
.navbox-even {
	background: #f5f5f5;	  /* Even row striping */
}
.navbox-odd {
	background: transparent;  /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
	padding: 1px 0 0;	   /* Adjust hlist padding in navboxes */
}
.navbox .navbox {
	margin-top: 0;			/* No top margin for nested navboxes */
}
.navbox + .navbox {
	margin-top: -1px;		 /* Single pixel border between adjacent navboxes */
}

/* Default styling for Navbar template */
.navbar {
	display: inline;
	font-size: 11px;
	font-weight: normal;
}
.navbar ul {
	display: inline;
	white-space: nowrap;
}
.mw-body-content .navbar ul {
	line-height: inherit;
}
.navbar.mini {
	word-spacing: -0.1em;
}
.navbar.mini span abbr[title] {
  border-bottom: none;
  text-decoration: none;
  cursor: inherit;
}

/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
	font-size: 100%;
}
.navbox .navbar {
	display: block;
	font-size: 100%;
}
.navbox-title .navbar {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
	/* @noflip */
	margin-right: 0.5em;
	width: 5em;
}

/* [[Шаблон:Coord]] ------------------------------- */

#mw-indicator-0-coord + .mw-indicator {
	border-left: 1px solid #A7D7F9;
	margin-left: 0.25em;
	padding-left: 0.5em;
}

.mw-body-content .geo-services {
	font-size: 82%;
}

.geo-services a > span {
	margin: 0.25em;
}
.geo-services > :first-child a > span {
	margin-left: 0.4em;
}

.geo-geo-dec .geo-dec,
.geo-geo-dms .geo-dms {
	display: inline;
}
.geo-geo-dec .geo-dms,
.geo-geo-dms .geo-dec,
.geo-multi-punct {
	display: none;
}
.geo-lat,
.geo-lon {
	white-space: nowrap;
}

/* ================================================
   СТРАНИЦЫ
   ================================================ */

/* [[Заглавная страница]] ------------------------- */

body.page-Заглавная_страница #ca-current,
body.page-Заглавная_страница #ca-delete,
body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #catlinks,
body.page-Заглавная_страница #lastmod,
body.page-Заглавная_страница #footer-info-lastmod,
body.page-Заглавная_страница.action-view h1.firstHeading,
body.page-Заглавная_страница.action-view #siteSub,
body.page-Заглавная_страница.action-view #contentSub,
body.page-Заглавная_страница.action-view #mw-data-after-content {
	display: none !important;
}

/*
 * Костыли-префиксы для поддержки устаревших браузеров заглавной страницей
 * Будут переведены на TemplateStyles, см. [[phab:T162379]]
*/
.main-top-right > ul {
	display: -webkit-box;
	display: -webkit-flex;
	-webkit-flex-wrap: wrap;
}

.main-featuredLists > .main-featuredLists-item {
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	-webkit-column-break-inside: avoid;
	display: -webkit-box;
	display: -webkit-flex;
}

.main-featuredLists-item > img {
	-webkit-box-flex: 0;
	-webkit-flex: 0 auto;
}

.main-footer {
	display: -webkit-box;
	display: -webkit-flex;
	-webkit-box-pack: end;
	-webkit-justify-content: flex-end;
}

.main-footer-actions {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
}

.main-footer-actions > ul {
	-webkit-box-align: center;
	-webkit-align-items: center;
	display: -webkit-box;
	display: -webkit-flex;
}

.main-footer-menu {
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	display: -webkit-box;
	display: -webkit-flex;
}

.main-footer-menuToggle {
	-webkit-box-align: center;
	-webkit-align-items: center;
	display: -webkit-box;
	display: -webkit-flex;
}

.main-wikimedia-list {
	-webkit-column-count: 4;
	-webkit-column-width: 15em;
}

.main-wikimedia-list > .main-wikimedia-listItem {
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	-webkit-column-break-inside: avoid;
	display: -webkit-box;
	display: -webkit-flex;
}

.main-wikimedia-listItem > img {
	-webkit-box-flex: 0;
	-webkit-flex: 0 auto;
}

.main-wikimedia-listItem > a {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
}

@media (max-width: 719px) {
	.main-wikimedia-list {
		-webkit-column-width: 10em;
	}
}

@media (min-width: 1000px) {
	.main-wrapper {
		display: -webkit-box;
		display: -webkit-flex;
	}

	.main-wrapper-column {
		-webkit-box-flex: 1;
		-webkit-flex: 1;
	}

	.main-top {
		-webkit-box-align: center;
		-webkit-align-items: center;
		display: -webkit-box;
		display: -webkit-flex;
	}

	.main-top-left {
		background-image: -webkit-linear-gradient(left, #f8f9fa 0%, #f8f9fa 70%, rgba(248, 249, 250, 0) 100%);
		-webkit-box-flex: 3;
		-webkit-flex: 3;
	}
	
	.main-top-right {
		-webkit-box-flex: 2;
		-webkit-flex: 2;
	}

	.main-top-right > ul {
		-webkit-box-align: center;
		-webkit-align-items: center;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: reverse;
		-webkit-flex-direction: row-reverse;
		-webkit-box-pack: left;
		-webkit-justify-content: left;
	}
}