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

Нет описания правки
Метка: отменено
Нет описания правки
Метки: ручная отмена отменено
Строка 1: Строка 1:
/* Весь CSS будет отсюда будет загружен пользователям темы оформления «Векторная» */
/* CSS placed here will be applied to all skins */
/* Default styling for HTML elements */
dfn {
    font-style: inherit;  /* Reset default styling for <dfn> */
}


:root {
/* Main page fixes */
    /* Базовые цвета */
#interwiki-completelist {
    --color-fg: #ffffff;
     font-weight: bold;
    --color-bg: #252525;
}
     --color-bg-opaque: rgba(37, 37, 37, 0.75);
body.page-Main_Page #ca-delete {
    --color-bg-section: rgba(0, 0, 0, 0.33);
     display: none !important;
    --color-bg-section-light: rgba(125, 125, 125, 0.05);
}
    --color-bg-section-lighter: rgba(125, 125, 125, 0.1);
body.page-Main_Page #mp-topbanner {
     --color-text: rgba(255, 255, 255, 1);
     clear: both;
    --color-text-darker: rgba(225, 215, 210, 0.9);
}
    --color-text-gray: rgba(200, 200, 200, 0.8);
    --color-text-translucent: rgba(255, 255, 255, 0.5);
    /* TODO: Рассортировать цвета, ради возможности в будущем сделать белую тему Clueless */
    --color-text-button: red;
    --color-text-button-transparent: blue;
    /* Конец не используемых цветов */
     --color-border: rgba(255, 255, 255, 0.1);
    --color-border-input: #88bfff;
    --color-hover: rgba(255, 255, 255, 0.075);
    --color-selected: rgba(255, 255, 255, 0.125);


    /* Цвета элементов */
/* Edit window toolbar */
    --color-red: rgba(219, 40, 40, 1);
#toolbar {
    --color-orange: rgba(240, 143, 17, 1);
     height: 22px;
    --color-yellow: rgba(251, 214, 8, 1);
     margin-bottom: 6px;
    --color-olive: rgba(181, 204, 24, 1);
}
    --color-green: rgba(91, 170, 39, 1);
    --color-teal: rgba(0, 181, 173, 1);
    --color-blue: rgba(33, 133, 208, 1);
    --color-violet: rgba(100, 53, 201, 1);
    --color-purple: rgba(163, 51, 200, 1);
    --color-pink: rgba(224, 57, 151, 1);
    --color-brown: rgba(165, 103, 63, 1);
     --color-grey: rgba(118, 118, 118, 1);
     --color-primary: rgba(73, 114, 161, 1);
    --color-label: rgba(126, 144, 167, 1);


    /* Осветлённые цвета элементов. Знаю что бред, но увы, Lighten нет */
/* Highlight data points in the info action if specified in the URL */
    --color-red-light: rgba(251, 58, 58, 1);
body.action-info :target {
    --color-orange-light: rgba(255, 163, 40, 1);
     background: #DEF;
    --color-yellow-light: rgba(255, 233, 29, 1);
}
    --color-olive-light: rgba(208, 225, 37, 1);
     --color-green-light: rgba(105, 195, 43, 1);
    --color-teal-light: rgba(0, 209, 193, 1);
    --color-blue-light: rgba(70, 168, 255, 1);
    --color-violet-light: rgba(168, 68, 255, 1);
    --color-purple-light: rgba(188, 68, 255, 1);
    --color-pink-light: rgba(255, 79, 181, 1);
    --color-brown-light: rgba(191, 123, 76, 1);
    --color-grey-light: rgba(136, 136, 136, 1);
    --color-primary-light: rgba(119, 148, 187, 1);
    --color-label-light: rgba(145, 166, 192, 1);


    /* Полу-прозрачные цвета элементов. Нужны для фона в шаблонах и прочих местах */
/* Make the list of references smaller */
    --color-red-transparent: rgba(255, 51, 51, 0.3);
ol.references,
     --color-orange-transparent: rgba(255, 179, 77, 0.3);
div.reflist,
     --color-yellow-transparent: rgba(255, 242, 25, 0.3);
div.refbegin {
    --color-olive-transparent: rgba(204, 230, 51, 0.3);
     font-size: 90%;           /* Default font-size */
    --color-green-transparent: rgba(128, 204, 77, 0.3);
     margin-bottom: 0.5em;
    --color-teal-transparent: rgba(51, 204, 204, 0.3);
}
     --color-blue-transparent: rgba(77, 153, 255, 0.3);
div.refbegin-100 {
    --color-violet-transparent: rgba(153, 102, 255, 0.3);
     font-size: 100%;           /* Option for normal fontsize in {{refbegin}} */
    --color-purple-transparent: rgba(204, 102, 255, 0.3);
}
    --color-pink-transparent: rgba(255, 102, 204, 0.3);
div.reflist ol.references {
     --color-brown-transparent: rgba(204, 153, 128, 0.3);
     font-size: 100%;           /* Reset font-size when nested in div.reflist */
    --color-grey-transparent: rgba(153, 153, 153, 0.3);
     list-style-type: inherit; /* Enable custom list style types */
     --color-primary-transparent: rgba(102, 140, 191, 0.3);
}
    --color-label-transparent: rgba(153, 168, 191, 0.3);


    --color-red-transparent-2: rgba(255, 51, 51, 0.5);
/* Highlight clicked reference in blue to help navigation */
    --color-orange-transparent-2: rgba(255, 179, 77, 0.5);
ol.references li:target,
    --color-yellow-transparent-2: rgba(255, 242, 25, 0.5);
sup.reference:target,
    --color-olive-transparent-2: rgba(204, 230, 51, 0.5);
span.citation:target {
    --color-green-transparent-2: rgba(128, 204, 77, 0.5);
     background-color: #DEF;
    --color-teal-transparent-2: rgba(51, 204, 204, 0.5);
}
    --color-blue-transparent-2: rgba(77, 153, 255, 0.5);
     --color-violet-transparent-2: rgba(153, 102, 255, 0.5);
    --color-purple-transparent-2: rgba(204, 102, 255, 0.5);
    --color-pink-transparent-2: rgba(255, 102, 204, 0.5);
    --color-brown-transparent-2: rgba(204, 153, 128, 0.5);
    --color-grey-transparent-2: rgba(153, 153, 153, 0.5);
    --color-primary-transparent-2: rgba(102, 140, 191, 0.5);
    --color-label-transparent-2: rgba(153, 168, 191, 0.5);


    /* Палитра цветов на вики */
/* Ensure refs in table headers and the like aren't bold or italic */
    --palette-civ-primary-bold: rgba(0,191,17,0.5);
sup.reference {
    --palette-civ-primary: rgba(0,191,17,0.4);
     font-weight: normal;
    --palette-civ-secondary: rgba(0,191,17,0.3);
     font-style: normal;
     --palette-civ-tertiary: rgba(0,191,17,0.25);
}
     --palette-civ-light: rgba(0,191,17,0.20);
    --palette-civ-very-light: rgba(0,191,17,0.15);


    --palette-eng-primary-bold: rgba(255, 170, 0, 0.5);
/* Allow hidden ref errors to be shown by user CSS */
    --palette-eng-primary: rgba(255, 170, 0, 0.4);
span.brokenref {
    --palette-eng-secondary: rgba(255, 170, 0, 0.3);
     display: none;
    --palette-eng-tertiary: rgba(255, 170, 0, 0.25);
}
     --palette-eng-light: rgba(255, 170, 0, 0.2);
    --palette-eng-very-light: rgba(255, 170, 0, 0.15);


    --palette-comm-primary-bold: rgba(0, 106, 255, 0.5);
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
    --palette-comm-primary: rgba(0, 106, 255, 0.4);
.citation {
    --palette-comm-secondary: rgba(0, 106, 255, 0.3);
     word-wrap: break-word;
     --palette-comm-tertiary: rgba(0, 106, 255, 0.25);
}
    --palette-comm-light: rgba(0, 106, 255, 0.2);
    --palette-comm-very-light: rgba(0, 106, 255, 0.15);


    --palette-med-primary-bold: rgba(0, 191, 255, 0.5);
/* For linked citation numbers and document IDs, where
     --palette-med-primary: rgba(0, 191, 255, 0.4);
  the number need not be shown on a screen or a handheld,
    --palette-med-secondary: rgba(0, 191, 255, 0.3);
  but should be included in the printed version */
    --palette-med-tertiary: rgba(0, 191, 255, 0.25);
@media screen, handheld {
     --palette-med-light: rgba(0, 191, 255, 0.2);
     .citation .printonly {
    --palette-med-very-light: rgba(0, 191, 255, 0.15);
        display: none;
     }
}


    --palette-synth-primary-bold: rgba(255, 0, 191, 0.5);
/* Reset top margin for lists embedded in columns */
    --palette-synth-primary: rgba(255, 0, 191, 0.4);
div.columns {
    --palette-synth-secondary: rgba(255, 0, 191, 0.3);
     margin-top: 0.3em;
    --palette-synth-tertiary: rgba(255, 0, 191, 0.25);
}
    --palette-synth-light: rgba(255, 0, 191, 0.2);
div.columns dl,
    --palette-synth-very-light: rgba(255, 0, 191, 0.15);
div.columns ol,
 
div.columns ul {
    --palette-xeno-primary-bold: rgba(96, 0, 191, 0.5);
     margin-top: 0;
    --palette-xeno-primary: rgba(96, 0, 191, 0.4);
    --palette-xeno-secondary: rgba(96, 0, 191, 0.3);
    --palette-xeno-tertiary: rgba(96, 0, 191, 0.25);
    --palette-xeno-light: rgba(96, 0, 191, 0.2);
    --palette-xeno-very-light: rgba(96, 0, 191, 0.15);
 
    --palette-cc-primary-bold: rgba(0, 64, 128, 0.5);
    --palette-cc-primary: rgba(0, 64, 128, 0.4);
    --palette-cc-secondary: rgba(0, 64, 128, 0.3);
    --palette-cc-tertiary: rgba(0, 64, 128, 0.25);
    --palette-cc-light: rgba(0, 64, 128, 0.2);
    --palette-cc-very-light: rgba(0, 64, 128, 0.15);
 
    --palette-primary-bold: rgba(127, 127, 127, 0.5);
    --palette-primary: rgba(127, 127, 127, 0.4);
    --palette-secondary: rgba(127, 127, 127, 0.3);
    --palette-tertiary: rgba(127, 127, 127, 0.25);
    --palette-light: rgba(127, 127, 127, 0.2);
    --palette-very-light: rgba(127, 127, 127, 0.15);
 
    /* Остальные цвета */
    --color-notice: #a6875b;
    --color-hyperlink: #6699ff;
    --color-hyperlink-visited: #a173ff;
    --color-hyperlink-new: #ff6666;
    --color-hyperlink-new-visited: #ff8359;
 
    /* Значения */
     --border-radius-tiny: 0.16em;
    --border-radius-small: 0.25em;
    --border-radius-medium: 0.5em;
    --border-radius-large: 1em;
    --blur-intensity: blur(24px);
    --invert-rare: invert(0.8);
    --invert-common: invert(0.9);
    --invert-full: invert(1);
 
    /* Время */
     --transition-time: 0.2s;
}
}


a {
/* Avoid list items from breaking between columns */
     color: var(--color-hyperlink)
div.columns li,
div.columns dd dd {
     -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
}
}


.mw-parser-output a.extiw, .mw-parser-output a.external {
/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
     color: var(--color-hyperlink)
.flowlist ul {
     overflow-x: hidden;
    margin-left: 0;
    padding-left: 1.6em;
}
}
 
.flowlist ol {
a:visited {
    overflow-x: hidden;
     color: var(--color-hyperlink-visited)
     margin-left: 0;
    padding-left: 3.2em;
}
}
 
.flowlist dl {
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
     overflow-x: hidden;
     color: var(--color-hyperlink-visited)
}
}


a.new {
/* Style for horizontal lists (separator following item).
    color: var(--color-hyperlink-new)
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
  @revision 6 (2014-05-09)
  @author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
}
 
/* Display list items inline */
a.new:visited {
.hlist dd,
     color: var(--color-hyperlink-new-visited)
.hlist dt,
.hlist li {
    margin: 0;
     display: inline;
}
}
 
/* Display nested lists inline */
ul li::marker {
.hlist.inline,
     color: var(--color-text) !important;
.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;
}
}
 
/* Generate interpuncts */
ul {
.hlist dt:after {
     list-style: none;
     content: ": ";
}
}
 
.hlist dd:after,
ul li:before {
.hlist li:after {
     content: "\2022";
     content: " · ";
    display: inline-block;
    width: 1em;
    margin-left: -1em;
     font-weight: bold;
     font-weight: bold;
    color: var(--color-text);
}
}
 
.hlist dd:last-child:after,
strong {
.hlist dt:last-child:after,
     color: var(--color-text) !important;
.hlist li:last-child:after {
    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 */
.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;
}
}
 
/* For IE8 */
li, p, label {
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
    color: var(--color-text-darker);
.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 ordinals in front of ordered list items */
h1, h2, h3, h4, h5, h6 {
.hlist ol {
     color: var(--color-text);
     counter-reset: listitem;
}
}
 
.hlist ol > li {
h2 {
     counter-increment: listitem;
     border-bottom: 2px solid var(--color-primary);
}
}
 
.hlist ol > li:before {
hr {
     content: " " counter(listitem) " ";
     height: 2px;
     white-space: nowrap;
     background-color: var(--color-border);
}
}
 
.hlist dd ol > li:first-child:before,
pre, code, .mw-code {
.hlist dt ol > li:first-child:before,
    background-color: var(--color-bg-section-lighter);
.hlist li ol > li:first-child:before {
    color: var(--color-text-darker);
     content: " (" counter(listitem) " ";
     border: 1px solid var(--color-border);
    backdrop-filter: var(--blur-intensity);
}
}


body.skin-vector {
/* Unbulleted lists */
     background-color: var(--color-bg);
.plainlist ul {
     color: var(--color-text-darker)
     line-height: inherit;
    list-style: none none;
     margin: 0;
}
}
 
.plainlist ul li {
.vector .mw-body h1, .mw-body-content h1, .mw-body-content h2 {
     margin-bottom: 0;
     padding: 0.2em 0.2em 0.2em 0.4em;
}
}


/* Header */
/* Default style for navigation boxes */
@media screen and (min-width: 1000px) {
.navbox {                    /* Navbox container style */
     .vector-sticky-header {
    border: 1px solid #aaa;
        display: none;
    width: 100%;
     }
    margin: auto;
    clear: both;
     font-size: 88%;
    text-align: center;
     padding: 1px;
}
}
 
.navbox-inner,
.mw-header {
.navbox-subgroup {
    position: fixed;
    padding: 0.5em 0;
    backdrop-filter: var(--blur-intensity);
    background-color: var(--color-bg-section);
    color: var(--color-fg);
     width: 100%;
     width: 100%;
     top: 0;
}
.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,
ul + table.navbox {
    margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */
}
}


.vector-user-menu-more .vector-menu-content-list, .vector-user-menu-overflow .vector-menu-content-list {
/* Default styling for Navbar template */
     background-color: rgba(0, 0, 0, 0);
.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
     display: inline;
    white-space: nowrap;
}
}
 
.navbar li {
/* Поиск */
    word-spacing: -0.125em;
.cdx-search-input--has-end-button,
}
.client-js .vector-search-box-vue.vector-search-box-show-thumbnail > div {
.navbar.mini li span {
     max-width: unset;
  font-variant: small-caps;
     margin: 0 15em;
}
     background-color: var(--color-bg-section-light);
/* Navbar styling when nested in infobox and navbox */
     color: var(--color-text-darker);
.infobox .navbar {
     border-radius: 0;
     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;
}
}


.cdx-search-input--has-end-button {
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
     margin: 0;
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
     border: 1px solid var(--color-border);
.collapseButton {
    /* @noflip */
    float: right;
    font-weight: normal;
    /* @noflip */
     margin-left: 0.5em;
    /* @noflip */
    text-align: right;
     width: auto;
}
}
 
/* In navboxes, the show/hide button balances the v·d·e links
.vector-search-box-input {
  from [[Template:Navbar]], so they need to be the same width. */
    padding: 5px 2.15em 5px 0.4em;
.navbox .collapseButton {
    background-color: var(--color-bg-section-light);
     width: 6em;
    color: var(--color-text-darker);
    border: 1px solid var(--color-border);
    box-shadow: none;
    transition-property: border-color, box-shadow;
     transition-duration: var(--transition-time);
}
}


.client-js .vector-search-box-vue.vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .searchButton {
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
     left: 0;
.mw-collapsible-toggle {
     filter: var(--invert-common);
     font-weight: normal;
     /* @noflip */
    text-align: right;
}
}
 
.navbox .mw-collapsible-toggle {
.client-js .vector-search-box-vue.vector-search-box-show-thumbnail.vector-search-box-auto-expand-width .vector-search-box-input {
     width: 6em;
    margin: 0;
     width: 100%;
}
}


.cdx-text-input__input {
/* Infobox template style */
     transition: all var(--transition-time) !important;
.infobox {
     outline: none !important;
     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 {
.cdx-text-input__input:enabled {
     font-size: 125%;
     background-color: unset;
     font-weight: bold;
     color: var(--color-text);
    border: 1px solid var(--color-border);
}
}
 
.infobox td,
.cdx-text-input__input:enabled:focus {
.infobox th {
     box-shadow: inset 0 0 0 1px var(--color-border-input);
     vertical-align: top;
    border-color: var(--color-border-input);
}
}
 
.infobox.bordered {
.client-js .vector-search-box-vue .cdx-typeahead-search .cdx-text-input__input:not(:hover):not(:focus) {
     border-collapse: collapse;
     border: transparent;
    background-color: transparent;
}
}
 
.infobox.bordered td,
.cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width:not(.cdx-typeahead-search--active) {
.infobox.bordered th {
     margin-left: unset;
     border: 1px solid #aaa;
}
}
 
.infobox.bordered .borderless td,
.client-js .vector-search-box-vue .cdx-typeahead-search .cdx-search-input__end-button {
.infobox.bordered .borderless th {
     transition: opacity var(--transition-time);
     border: 0;
}
}


.cdx-button--framed {
.infobox.sisterproject {
     transition: all var(--transition-time) !important;
     width: 20em;
    font-size: 90%;
}
}


.cdx-button--framed:enabled {
.infobox.standard-talk {
     background-color: var(--color-bg-section-lighter);
     border: 1px solid #c0c090;
     color: var(--color-text-darker);
     background-color: #f8eaba;
    border: none;
}
}
 
.infobox.standard-talk.bordered td,
.cdx-button--framed:enabled:hover {
.infobox.standard-talk.bordered th {
     background-color: var(--color-border-input);
     border: 1px solid #c0c090;
}
}


.cdx-icon {
/* styles for bordered infobox with merged rows */
     filter: var(--invert-full);
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
     border: 0;
    border-top: 1px solid #aaa;
    /* @noflip */
    border-right: 1px solid #aaa;
}
}


/* Результаты поиска */
.infobox.bordered .mergedrow td,
.cdx-menu {
.infobox.bordered .mergedrow th {
    background-color: var(--color-bg);
     border: 0;
     border: 1px solid var(--color-border);
     /* @noflip */
    border-top: 0;
     border-right: 1px solid #aaa;
     box-shadow: 0px 20px 30px 5px rgba(0, 0, 0, 0.75);
     backdrop-filter: blur(12px);
}
}


.cdx-menu-item--enabled, .cdx-menu-item--enabled .cdx-menu-item__content {
/* Styles for geography infoboxes, eg countries,
    margin: 0.5em 0.25em;
  country subdivisions, cities, etc.           */
     background-color: var(--color-bg-section-light);
.infobox.geography {
     color: var(--color-text-darker);
     border-collapse: collapse;
     border-radius: var(--border-radius-medium);
     line-height: 1.2em;
     font-size: 90%;
}
}


.cdx-menu-item--enabled:hover, .cdx-menu-item--enabled.cdx-menu-item--highlighted {
.infobox.geography  td,
     background-color: var(--color-bg-section-lighter);
.infobox.geography  th {
     border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
}
 
.infobox.geography .mergedtoprow td,
.cdx-menu-item__thumbnail {
.infobox.geography .mergedtoprow th {
     margin-right: 1em;
     border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.2em 0.6em;
}
}


.cdx-typeahead-search__menu-message, .cdx-typeahead-search__search-footer {
.infobox.geography .mergedrow td,
     background-color: var(--color-bg);
.infobox.geography .mergedrow th {
    color: var(--color-text-translucent);
     border: 0;
     padding-bottom: 0.5em;
     padding: 0 0.6em 0.2em 0.6em;
}
}


.cdx-typeahead-search__search-footer {
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
     border-top: 0;
     border-top: 0;
    border-bottom: 1px solid #aaa;
    padding: 0 0.6em 0.4em 0.6em;
}
}


/* Фильтр на странице результатов */
.infobox.geography .maptable td,
.mw-search-profile-tabs {
.infobox.geography .maptable th {
     margin-top: 1em;
     border: 0;
    background-color: var(--color-bg-section-lighter);
     padding: 0;
     border: 1px solid var(--color-border);
}
}


.search-types a {
/* Normal font styling for table row headers with scope="row" tag */
    padding: 0 0.5em 0 0.5em;
.wikitable.plainrowheaders th[scope=row] {
     margin: 0.5em 0.25em 0.5em 0.25em;
     font-weight: normal;
    color: var(--color-text);
     /* @noflip */
    background-color: var(--color-primary);
     text-align: left;
     border-radius: var(--border-radius-small);
     text-decoration: none;
    transition: background-color var(--transition-time);
}
}


.search-types a:hover {
/* Lists in data cells are always left-aligned */
     background-color: var(--color-primary-light);
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
    /* @noflip */
    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;
}
}


.search-types .current a {
/* Icons for medialist templates [[Template:Listen]],
     margin: 0.5em 0.25em 0.5em 0.25em;
  [[Template:Multi-listen_start]], [[Template:Video]],
    color: var(--color-text);
  [[Template:Multi-video_start]] */
     background-color: var(--color-green);
div.listenlist {
     border-radius: var(--border-radius-small);
     background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
     background-size: 30px;
     padding-left: 40px;
}
}


.search-types .current a:hover {
/* Fix for hieroglyphs specificality issue in infoboxes ([[Bugzilla:41869]]) */
     background-color: var(--color-green);
table.mw-hiero-table td {
     vertical-align: middle;
}
}


/* Выпадающие меню */
/* Style rules for media list templates */
.vector-menu-dropdown {
div.medialist {
     position: relative;
    min-height: 50px;
     margin-right: 1em;
    margin: 1em;
    /* @noflip */
    background-position: top left;
    background-repeat: no-repeat;
}
div.medialist ul {
     list-style-type: none;
    list-style-image: none;
     margin: 0;
}
div.medialist ul li {
    padding-bottom: 0.5em;
}
div.medialist ul li li {
    font-size: 91%;
    padding-bottom: 0;
}
}


.vector-menu-dropdown .vector-menu-content {
/* Change the external link icon to an Adobe icon for all PDF files
    height: unset;
  in browsers that support these CSS selectors, like Mozilla and Opera */
    margin-top: 0.5em;
div#content a[href$=".pdf"].external,
    padding: 0.5em;
div#content a[href*=".pdf?"].external,
    background-color: var(--color-bg); /* Нужно заменить на переменную, и применить блюр потом */
div#content a[href*=".pdf#"].external,
    color: var(--color-text);
div#content a[href$=".PDF"].external,
    border: 1px solid var(--color-border);
div#content a[href*=".PDF?"].external,
    box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.7);
div#content a[href*=".PDF#"].external,
     transform: translate(0, -1vh);
div#mw_content a[href$=".pdf"].external,
     transition: all var(--transition-time) ease-in-out;
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;
}
}


.vector-menu-checkbox:checked ~ .vector-menu-content {
/* Change the external link icon to an Adobe icon anywhere the PDFlink class
     transform: translate(0, 0);
  is used (notably Template:PDFlink). This works in IE, unlike the above. */
div#content span.PDFlink a,
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;
}
}


.vector-menu-checkbox:focus + .vector-menu-heading {
/* Content in columns with CSS instead of tables ([[Template:Columns]]) */
     outline: none;
div.columns-2 div.column {
     /* @noflip */
    float: left;
    width: 50%;
    min-width: 300px;
}
}
 
div.columns-3 div.column {
.vector-user-menu a{
     /* @noflip */
     padding: 0 0.33em !important;
    float: left;
     white-space: nowrap;
     width: 33.3%;
     transition: all var(--transition-time);
     min-width: 200px;
}
}
 
div.columns-4 div.column {
.vector-user-menu a:hover{
    /* @noflip */
     background-color: var(--color-primary-light) !important;
    float: left;
    width: 25%;
     min-width: 150px;
}
}
 
div.columns-5 div.column {
.vector-menu-dropdown .mw-list-item a {
     /* @noflip */
     min-height: 32px;
     float: left;
     display: flex;
     width: 20%;
     align-items: center;
     min-width: 120px;
     margin: 0 0 0.5em 0;
    border-radius: var(--border-radius-tiny);
    white-space: nowrap;
    background-color: var(--color-primary);
    color: var(--color-text) !important;
    text-decoration: none !important;
    transition: background-color var(--transition-time);
}
}


.vector-menu-dropdown .mw-list-item a:hover {
/* Messagebox templates */
     background-color: var(--color-primary-light) !important;
.messagebox {
    border: 1px solid #aaa;
     background-color: #f9f9f9;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
}
 
.messagebox.merge {
.vector-user-menu-logout {
     border: 1px solid #c0b8cc;
     border-top: 2px solid var(--color-border);
    background-color: #f0e5ff;
    text-align: center;
}
}
 
.messagebox.cleanup {
.vector-user-menu-logout a {
     border: 1px solid #9f9fff;
    margin-top: 0.5em;
     background-color: #efefff;
     border-top: none;
     text-align: center;
    border-radius: var(--border-radius-tiny);
     background-color: var(--color-red);
    color: var(--color-text) !important;
     text-decoration: none !important;
}
}
 
.messagebox.standard-talk {
.vector-user-menu-logout a:hover {
    border: 1px solid #c0c090;
     background-color: var(--color-red-light) !important;
     background-color: #f8eaba;
    margin: 4px auto;
}
}
 
/* For old WikiProject banners inside banner shells. */
#pt-userpage,
.mbox-inside .standard-talk,
#pt-watchlist {
.messagebox.nested-talk {
     display: block;
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    width: 100%;
    margin: 2px 0;
     padding: 2px;
}
}
 
.messagebox.small {
/* Sidebar */
     width: 238px;
.mw-sidebar {
     font-size: 85%;
     position: fixed;
     /* @noflip */
    height: -webkit-fill-available;
     float: right;
     overflow-y: hidden;
     clear: both;
     padding: 1em 0 0.75em 0;
     /* @noflip */
     margin: 2.65em 0 0 0;
     margin: 0 0 1em 1em;
     z-index: 3;
     line-height: 1.25em;
     backdrop-filter: var(--blur-intensity);
     background-color: var(--color-bg-section);
     color: var(--color-fg);
    transform: translateX(0);
    transition: all var(--transition-time);
}
}
 
.messagebox.small-talk {
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container .mw-sidebar {
    width: 238px;
     display: unset;
    font-size: 85%;
     transform: translateX(-25em);
    /* @noflip */
    float: right;
     clear: both;
     /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
    background: #F8EABA;
}
}


.mw-sidebar:hover {
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
     overflow-y: auto;
th.mbox-text, td.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 */
}
}
 
td.mbox-image {               /* The left image cell */
#mw-sidebar-button {
     border: none;
     margin: 0 0.75em 0 0.5em;
    /* @noflip */
    padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
    text-align: center;
}
}
 
td.mbox-imageright {           /* The right image cell */
#mw-panel.collapsible-nav .portal {
     border: none;
     border: 1px solid var(--color-border);
    /* @noflip */
    padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
    text-align: center;
}
}
 
td.mbox-empty-cell {           /* An empty narrow cell */
#mw-panel.collapsible-nav .portal .vector-menu-content ul li {
    border: none;
     padding: 0;
     padding: 0;
     margin: 0 0.5em 0.5em 0.5em;
     width: 1px;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    transition: background-color var(--transition-time);
}
}


#mw-panel.collapsible-nav .portal .vector-menu-content ul li:first-child {
/* Article message box styles */
     margin-top: 0.5em;
table.ambox {
    margin: 0 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. */
    margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;      /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    /* @noflip */
     padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
    /* @noflip */
    padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
}
}


#mw-panel.collapsible-nav .portal .vector-menu-content ul li:hover {
table.ambox-notice {
     background-color: var(--color-primary-light);
    /* @noflip */
    border-left: 10px solid #1e90ff;    /* Blue */
}
table.ambox-speedy {
    /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
    background: #fee;                  /* Pink */
}
table.ambox-delete {
    /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
}
table.ambox-content {
    /* @noflip */
    border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
     /* @noflip */
    border-left: 10px solid #f4c430;    /* Yellow */
}
table.ambox-move {
    /* @noflip */
    border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    /* @noflip */
    border-left: 10px solid #bba;       /* Gray-gold */
}
}


.vector-menu-portal {
/* Image message box styles */
     padding: 0;
table.imbox {
     margin: 0.5em 0.75em 0 0.75em;
    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;
}
}


.vector-menu-portal .vector-menu-content li a {
table.imbox-notice {
     display: inline-flex;
    border: 3px solid #1e90ff;    /* Blue */
     width: 100%;
}
     padding: 0.5em 0 0.25em 0.33em;
table.imbox-speedy {
     color: var(--color-text-darker) !important;
    border: 3px solid #b22222;    /* Red */
     text-decoration: none;
    background: #fee;            /* Pink */
}
table.imbox-delete {
    border: 3px solid #b22222;    /* Red */
}
table.imbox-content {
     border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
     border: 3px solid #f4c430;   /* Yellow */
}
table.imbox-move {
     border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
     border: 3px solid #bba;      /* Gray-gold */
}
table.imbox-license {
    border: 3px solid #88a;       /* Dark gray */
     background: #f7f8ff;          /* Light gray */
}
table.imbox-featured {
    border: 3px solid #cba135;   /* Brown-gold */
}
}


.vector-menu-portal
/* Category message box styles */
.vector-menu-heading  {
table.cmbox {
     margin: 0 0 0 0 !important;
     margin: 3px 10%;
     background-color: var(--color-bg-section-light);
     border-collapse: collapse;
     text-decoration: none !important;
     border: 1px solid #aaa;
     border-bottom: 2px solid var(--color-primary) !important;
     background: #DFE8FF;   /* Default "notice" blue */
}
}


.vector-menu-portal
table.cmbox-notice {
.vector-menu-heading-label {
    background: #D8E8FF;    /* Blue */
     color: var(--color-text-darker) !important;
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b22222;    /* Red */
     background: #FFDBDB;         /* Pink */
}
}
 
table.cmbox-delete {
.vector-menu-portal
     background: #FFDBDB;   /* Red */
.vector-menu-content {
}
     margin: 0 !important;
table.cmbox-content {
    padding: 0 0 0.1em 0em;
     background: #FFE7CE;   /* Orange */
     background-color: var(--color-bg-section-light);
    color: var(--color-text);
}
}
 
table.cmbox-style {
/* Toolbar */
     background: #FFF9DB;   /* Yellow */
.mw-article-toolbar-container {
     margin: 0.5em 0.5em 0 0.5em;
    color: var(--color-text);
    border: none;
}
}
 
table.cmbox-move {
.vector-menu-tabs .mw-list-item > a, .mw-article-toolbar-container .vector-menu-dropdown > a, .vector-menu-tabs .mw-list-item .vector-menu-heading, .mw-article-toolbar-container .vector-menu-dropdown .vector-menu-heading {
     background: #E4D8FF;   /* Purple */
     border-top-left-radius: 0.25em !important;
    border-top-right-radius: 0.25em !important;
    padding: 0.5em 0.5em 0 0;
    max-height: 3em;
    font-size: 1.1em;
    border-bottom: none;
    transition: background-color var(--transition-time);
}
}
 
table.cmbox-protection {
.vector-menu-tabs .mw-list-item.selected a, .vector-menu-tabs .mw-list-item.selected a:visited {
     background: #EFEFE1;   /* Gray-gold */
     background-color: var(--color-selected) !important;
    color: var(--color-text-darker) !important;
    border-bottom: 2px solid var(--color-fg) !important;
}
}


.vector-menu-tabs .mw-list-item.new a, .vector-menu-tabs .mw-list-item.new a:visited {
/* Other pages message box styles */
     color: var(--color-red) !important;
table.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa;      /* Default "notice" gray */
     background: #f9f9f9;
}
}


.vector-menu-tabs .mw-list-item a:focus, .vector-menu-tabs .mw-list-item a:hover {
table.ombox-notice {
    background-color: var(--color-hover);
     border: 1px solid #aaa;       /* Gray */
     border-bottom: none;
}
}
 
table.ombox-speedy {
.vector-menu-tabs .mw-list-item a {
     border: 2px solid #b22222;   /* Red */
     color: var(--color-text-translucent) !important;
     background: #fee;             /* Pink */
     padding: 0.5em 0.5em 0.25em 0.5em;
}
}
 
table.ombox-delete {
#left-navigation {
     border: 2px solid #b22222;   /* Red */
     margin-left: 0px;
}
}
 
table.ombox-content {
.vector-menu-tabs .mw-watchlink.icon a {
     border: 1px solid #f28500;   /* Orange */
     content: none;
    color: transparent;
    margin: 0 1.5em 0 1em;
}
}
 
table.ombox-style {
.vector-menu-tabs .mw-list-item, .mw-article-toolbar-container .vector-menu-dropdown {
     border: 1px solid #f4c430;   /* Yellow */
     margin: 0;
}
}
 
table.ombox-move {
.vector-collapsible > .vector-menu-dropdown {
     border: 1px solid #9932cc;   /* Purple */
    margin: 0 0.5em 0 0;
    padding: 0 0 0.33em 1em;
    background-color: var(--color-primary);
     border-radius: var(--border-radius-small);
    transition: all var(--transition-time);
}
}
 
table.ombox-protection {
.vector-collapsible > .vector-menu-dropdown:hover {
     border: 2px solid #bba;      /* Gray-gold */
     background-color: var(--color-primary-light);
}
}


.vector-collapsible > img.vector-menu-dropdown {
/* Talk page message box styles */
     filter: var(--invert-common);
table.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 */
/* Content */
     margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)  */
.skin-vector-disable-max-width .mw-content-container {
     width: 100%;                 /* For Safari and Opera */
     max-width: none !important;
     width: auto !important;
}
}
 
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container,
    line-height: 1.5em;          /* also "nested", so reset styles that are  */
.vector-toc-collapsed #mw-sidebar-checkbox:not(:checked) ~ .mw-content-container, .vector-toc-collapsed #mw-sidebar-checkbox:not(:checked) ~ .mw-table-of-contents-container {
     font-size: 100%;             /* set in "mbox-small" above.               */
     max-width: none;
    padding: 0 0.75em 0 0.75em;
}
}


.mw-content-container {
table.tmbox-speedy {
     max-width: none;
     border: 2px solid #b22222;   /* Red */
    margin: 3.5em 0.75em 0 0.75em;
     background: #fee;             /* Pink */
     padding: 0;
}
}
 
table.tmbox-delete {
.mw-body {
     border: 2px solid #b22222;   /* Red */
     background-color: var(--color-bg-section);
    padding: 0;
    margin: 0;
}
}
 
table.tmbox-content {
.mw-body h1 {
     border: 2px solid #f28500;   /* Orange */
    padding: 0.2em 0.2em 0.2em 0.3em;
     border-bottom: 2px solid var(--color-primary);
}
}
 
table.tmbox-style {
.mw-indicator {
     border: 2px solid #f4c430;   /* Yellow */
    display: inline-block;
    background-color: var(--color-primary);
    padding: 0.25em 0.5em;
     border-radius: var(--border-radius-tiny);
    margin: 0.66em;
    transition: var(--transition-time);
}
}
 
table.tmbox-move {
.mw-indicator a {
     border: 2px solid #9932cc;   /* Purple */
     color: var(--color-text-darker) !important;
    text-decoration: none;
}
}
 
table.tmbox-protection,
.mw-indicator:hover {
table.tmbox-notice {
     background-color: var(--color-primary-light);
     border: 1px solid #c0c090;    /* Gray-brown */
}
}


.mw-body-content {
/* Disambig and set index box styles */
     padding: 0 0.75em 0.75em 0.75em;
table.dmbox {
     clear: both;
    margin: 0.9em 1em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: transparent;
}
}


.mw-page-container {
/* Footer and header message box styles */
     max-width: 100%;
table.fmbox {
     padding: 0;
     clear: both;
     background-color: var(--color-bg);
    margin: 0.2em 0;
    width: 100%;
     border: 1px solid #aaa;
     background: #f9f9f9;     /* Default "system" gray */
}
}
 
table.fmbox-system {
.catlinks {
     background: #f9f9f9;
    border: none;
    border-top: 1px solid var(--color-border);
     background-color: var(--color-bg-section-light);
    padding: 0.5em;
}
}
 
table.fmbox-warning {
.mw-page-container-inner {
     border: 1px solid #bb7070;  /* Dark pink */
     background: url(https://raw.githubusercontent.com/ss220club/Paradise-SS220/master/tgui/packages/tgui/assets/bg-nanotrasen.svg);
     background: #ffdbdb;       /* Pink */
     background-size: 40%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    transition: all var(--transition-time);
}
}
 
table.fmbox-editnotice {
/* Размеры под разные экраны */
     background: transparent;
@media screen and (max-width: 999px) {
    .mw-content-container {
        margin: 5em 0.75em 0 0.75em;
     }
 
    .mw-sidebar {
        width: 220px;
        margin: -0.85em 0 0 0 !important;
    }
}
}
 
/* Div based "warning" style fmbox messages. */
@media screen and (min-width: 1200px) {
div.mw-warning-with-logexcerpt,
    .mw-page-container-inner {
div.mw-lag-warn-high,
        grid-template-columns: 245px 0 !important;
div.mw-cascadeprotectedwarning,
        min-height: 100vh;
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.
@media screen and (min-width: 1000px) {
  Used in [[MediaWiki:Readonly lag]]. */
    .mw-page-container-inner {
div.mw-lag-warn-normal,
        grid-template-columns: 245px 0;
div.fmbox-system {
        min-height: 100vh;
    clear: both;
     }
    margin: 0.2em 0;
    border: 1px solid #aaa;
    background: #f9f9f9;
     padding: 0.25em 0.9em;
}
}


@media screen and (min-width: 720px) {
/* These mbox-small classes must be placed after all other
    .mw-page-container-inner {
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
        grid-template-columns: 220px 0;
  they override "table.ambox + table.ambox" above. */
        min-height: 100vh;
body.mediawiki table.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;
}
}
 
body.mediawiki table.mbox-small-left {  /* For the "small=left" option. */
/* Кастомный скроллбар */
    /* @noflip */
::-webkit-scrollbar {
    margin: 4px 1em 4px 0;
     width: 1.5vh;
    width: 238px;
     background-color: #191919;
    border-collapse: collapse;
     font-size: 88%;
     line-height: 1.25em;
}
}


::-webkit-scrollbar-thumb {
/* Style for compact ambox */
     background-color: #3b3b3b;
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
     display: none;
}
}
 
/* Remove borders, backgrounds, padding, etc. */
::-webkit-scrollbar-thumb:hover {
.compact-ambox table.ambox {
     background-color: #4d4d4d;
    border: none;
    border-collapse: collapse;
     background: transparent;
    margin: 0 0 0 1.6em !important;
    padding: 0 !important;
    width: auto;
    display: block;
}
}
 
body.mediawiki .compact-ambox table.mbox-small-left {
/* Содержание */
     font-size: 100%;
#vector-toc-collapsed-button {
     width: auto;
     position: fixed;
     padding: 0.5em;
     margin: 0;
     margin: 0;
    background-color: var(--color-bg-section);
    border: 1px solid var(--color-border);
    right: 1.75em;
    bottom: 1em;
    backdrop-filter: var(--blur-intensity);
    filter: invert(0);
}
}
 
/* Style the text cell as a list item and remove its padding */
#vector-toc-collapsed-button:hover, #vector-toc-collapsed-button:active {
.compact-ambox table .mbox-text {
     background-color: var(--color-bg-section-light);
    padding: 0 !important;
     margin: 0 !important;
}
}
 
.compact-ambox table .mbox-text-span {
.mw-ui-icon-wikimedia-listBullet:before {
    display: list-item;
     filter: var(--invert-rare);
    line-height: 1.5em;
     list-style-type: square;
    list-style-image: url(//bits.wikimedia.org/skins/common/images/bullet.gif);
}
}
 
.skin-vector .compact-ambox table .mbox-text-span {
.sidebar-toc .sidebar-toc-header {
     list-style-type: circle;
     padding: 0.33em 0 0.33em 0.5em;
     list-style-image: url(//bits.wikimedia.org/skins/vector/images/bullet-icon.png)
     border-bottom: 2px solid var(--color-primary);
}
}
 
/* Allow for hiding text in compact form */
.sidebar-toc .sidebar-toc-title {
.compact-ambox .hide-when-compact {
     display: inline-flex;
     display: none;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-darker);
}
}


.sidebar-toc {
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
     overflow-x: hidden;
div.noarticletext {
    position: fixed;
     border: none;
     bottom: 0;
     background: transparent;
     padding: 0;
     padding: 0;
    height: 18.5em;
    max-height: 18.5em;
    background-color: var(--color-bg-section);
    border: none;
    backdrop-filter: var(--blur-intensity);
    transition: all var(--transition-time);
}
}


.sidebar-toc, .sidebar-toc:after {
/* Hide (formatting) elements from screen, but not from screenreaders */
     margin-left: 0;
.visualhide {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
     overflow: hidden;
}
}
.vector-toc-not-collapsed .sidebar-toc:after {
 
     background: none;
/* Bold save button */
#wpSave {
     font-weight: bold;
}
}


@media screen and (min-width: 1000px) {
/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
     @supports (display:grid) {
.hiddenStructure {
        .client-js .vector-toc-collapsed .mw-table-of-contents-container .sidebar-toc {
     display: inline !important;
            position: fixed;
    color: #f00;
            top: unset;
    background-color: #0f0;
            left: unset;
            right: 1.75em;
            bottom: 1em;
            margin: 0;
            background-color: var(--color-bg-opaque);
            border: 1px solid var(--color-border);
        }
    }
}
}


.sidebar-toc .sidebar-toc-link {
/* suppress missing interwiki image links where #ifexist cannot
    color: var(--color-text-darker);
  be used due to high number of requests see .hidden-redlink on
    background-color: var(--color-primary);
  [[m:MediaWiki:Common.css]] */
    padding-left: 0.5em;
.check-icon a.new {
    margin-bottom: 0.5em;
     display: none;
     border-radius: var(--border-radius-small);
     speak: none;
     text-decoration: none;
    transition: all var(--transition-time);
}
}


.sidebar-toc .sidebar-toc-link:hover {
/* Removes underlines from certain links */
     background-color: var(--color-primary-light);
.nounderlines a,
.IPA a:link, .IPA a:visited {
     text-decoration: none !important;
}
}


.sidebar-toc .sidebar-toc-list-item-active > .sidebar-toc-link {
/* Standard Navigationsleisten, aka box hiding thingy
     color: unset;
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
     width: unset;
div.NavFrame {
     background-color: var(--color-green);
     margin: 0;
    padding: 4px;
     border: 1px solid #aaa;
     text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
}
 
div.NavFrame + div.NavFrame {
.sidebar-toc .sidebar-toc-list-item-active > .sidebar-toc-link:hover {
    border-top-style: none;
     margin-top: 0.5em;
    border-top-style: hidden;
     background-color: var(--color-green-light);
}
div.NavPic {
    background-color: #fff;
     margin: 0;
    padding: 2px;
    /* @noflip */
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
     background-color: #ccf;
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
}
 
div.NavEnd {
.vector-toc-collapse-button, .vector-toc-uncollapse-button {
     margin: 0;
     padding: 0.1em 0.33em 0.2em 0.33em;
     padding: 0;
     margin: 0 0.5em 0 0;
     line-height: 1px;
     color: var(--color-text);
     clear: both;
    background-color: var(--color-primary);
     border-radius: var(--border-radius-small);
    text-decoration: none;
    transition: background-color var(--transition-time);
}
}
 
a.NavToggle {
.vector-toc-collapse-button, .vector-toc-collapse-button::before, .vector-toc-collapse-button::after,
    position: absolute;
.vector-toc-uncollapse-button, .vector-toc-uncollapse-button::before, .vector-toc-uncollapse-button::after {
    top: 0;
     content: '';
    /* @noflip */
    right: 3px;
    font-weight: normal;
     font-size: 90%;
}
}


.vector-toc-collapse-button:hover, .vector-toc-uncollapse-button:hover {
/* Hatnotes and disambiguation notices */
     color: var(--color-text);
.rellink,
    background-color: var(--color-primary-light);
.dablink,
.hatnote {
     font-style: italic;
}
}
 
.rellink i,
.sidebar-toc .sidebar-toc-contents, .sidebar-toc .sidebar-toc-list {
.dablink i,
     margin: 0 0.5em 0 1.5em;
.hatnote i {
     font-style: normal;
}
}
 
div.rellink,
.sidebar-toc .sidebar-toc-contents, .sidebar-toc .sidebar-toc-list:first-child {
div.dablink,
     margin-top: 0.5em;
div.hatnote {
    /* @noflip */
    padding-left: 1.6em;
     margin-bottom: 0.5em;
}
}


/* Allow transcluded pages to display in lists rather than a table.
  Compatible in Firefox; incompatible in IE6. */
.listify td    { display: list-item; }
.listify tr    { display: block; }
.listify table { display: block; }


/* Footer */
/* Geographical coordinates defaults. See [[Template:Coord/link]]
#footer-places {
  for how these are used. The classes "geo", "longitude", and
    margin: 0.25em 0 0 0.5em;
  "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; }


#footer-icons {
/* When <div class="nonumtoc"> is used on the table of contents,
     padding-right: 0.5em;
  the ToC will display without numbers */
.nonumtoc .tocnumber {
     display: none;
}
}
 
.nonumtoc #toc ul,
.mw-footer {
.nonumtoc .toc ul {
     border: none;
    line-height: 1.5em;
     list-style: none none;
    margin: .3em 0 0;
     padding: 0;
     padding: 0;
}
.hlist.nonumtoc #toc ul ul,
.hlist.nonumtoc .toc ul ul {
    /* @noflip */
    margin: 0;
}
}


#mw-sidebar-checkbox:not(:checked) ~
/* Allow limiting of which header levels are shown in a TOC;
.mw-footer-container {
  <div class="toclimit-3">, for instance, will limit to
     margin: 0.75em 0 0 0;
  showing ==headings== and ===headings=== but no further
  (as long as there are no =headings= on the page, which
  there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.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;
}
}


.mw-footer-container {
/* Styling for Template:Quote */
    margin: 0.75em 0 0 15.25em;
blockquote.templatequote {
     padding: 0;
    margin-top: 0;
     background-color: var(--color-bg-section);
}
     color: var(--color-fg);
blockquote.templatequote div.templatequotecite {
    line-height: 1.5em;
     /* @noflip */
    text-align: left;
     /* @noflip */
    padding-left: 1.6em;
     margin-top: 0;
}
}


#footer-info li {
/* User block messages */
     color: var(--color-text-darker);
div.user-block {
     padding: 1em 0px 0px 0.5em;
     padding: 5px;
     margin-bottom: 0.5em;
    border: 1px solid #A9A9A9;
    background-color: #FFEFD5;
}
}


/* Иконки */
/* Prevent line breaks in silly places:
.mw-ui-icon {
  1) Where desired
     filter: var(--invert-full);
  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: */
.wrap,
.wraplinks a {
     white-space: normal;
}
}


.mw-ui-button {
/* For template documentation */
     box-shadow: none !important;
.template-documentation {
     border: none;
     clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa;
    background-color: #ecfcf4;
     padding: 1em;
}
}


/* Fieldset */
/* Inline divs in ImageMaps (code borrowed from de.wiki) */
fieldset {
.imagemap-inline div {
     border: 1px solid var(--color-primary);
     display: inline;
}
}


fieldset > legend:not([class]) {
/* Increase the height of the image upload box */
     margin: 0 0 0.5em 0;
#wpUploadDescription {
    padding: 0em 0.5em 0 0.5em;
     height: 13em;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-small);
}
}


/* Редактор кода */
/* Minimum thumb width */
.mw-code,
.thumbinner {
.mw-editform #wpTextbox1 {
     min-width: 100px;
     backdrop-filter: var(--blur-intensity);
    background-color: var(--color-bg-section-light);
    color: var(--color-fg);
    border: 1px solid var(--color-border);
}
}


.mw-editform #wpTextbox1 {
/* Makes the background of a framed image white instead of gray.
     background-color: var(--color-bg-section);
  Only visible with transparent images. */
div.thumb .thumbimage {
     background-color: #fff;
}
}


.mw-editform #wpTextbox1:focus {
/* The backgrounds for galleries. */
     outline: none;
div#content .gallerybox div.thumb {
     border: 1px solid var(--color-border-input);
     /* Light gray padding */
     background-color: #F9F9F9;
}
}
 
/* Put a chequered background behind images, only visible if they have transparency.
.editOptions {
  '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
     backdrop-filter: var(--blur-intensity);
.gallerybox .thumb img {
    background-color: var(--color-bg-section-light);
     background: #fff url(//bits.wikimedia.org/skins/common/images/Checker-16x16.png) repeat;
     color: var(--color-text);
}
    border: 1px solid var(--color-border);
/* But not on articles, user pages, portals or with opt-out. */
    border-top: 0;
.ns-0 .gallerybox .thumb img,
     margin-bottom: 0;
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
     background: #fff;
}
img {
image-rendering: pixelated;
}
/* Prevent floating boxes from overlapping any category listings,
  file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories, #mw-pages, #mw-category-media,
#filehistory, #wikiPreview, #wikiDiff {
     clear: both;
}
}


.oo-ui-textInputWidget .oo-ui-inputWidget-input {
body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback {
     background-color: var(--color-bg-section);
     display: block;  /* Override inline block mode */
     color: var(--color-text);
    margin-bottom: 1em;
     border: 1px solid var(--color-border);
     /* @noflip */
    clear: right;     /* Clear any info boxes that stick out */
     /* @noflip */
    float: right;     /* Prevents margin collapsing */
}
}


.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input {
/* Selectively hide headers in WikiProject banners */
    border-color: var(--color-border-input)
.wpb .wpb-header            { display: none; }
}
.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 */


.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus {
/* Styling for Abuse Filter tags */
     border: 1px solid var(--color-border-input);
.mw-tag-markers {
     box-shadow: inset 0 0 0 1px var(--color-border-input);
     font-family:sans-serif;
    font-style:italic;
     font-size:90%;
}
}


.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input:focus {
/* Hide stuff meant for accounts with special permissions. Made visible again in
     border: 1px solid var(--color-border-input);
  [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]],
  [[MediaWiki:Group-templateeditor.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */
.sysop-show,
.accountcreator-show,
.templateeditor-show,
.autoconfirmed-show {
     display: none;
}
}


.mw-continue-editing {
/**
    float: right;
* Hide the redlink generated by {{Editnotice}},
    line-height: 1.667em;
* this overrides the ".sysop-show { display: none; }" above that applies
    padding: 0 0.5em;
* to the same link as well.
    border-radius: var(--border-radius-tiny);
*
    background-color: var(--color-primary);
* See [[bugzilla:43013]].
     transition: background-color var(--transition-time);
*/
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink {
     display: none !important;
}
}


.mw-continue-editing:hover {
/* Remove bullets when there are multiple edit page warnings */
     background-color: var(--color-primary-light);
ul.permissions-errors > li {
     list-style: none none;
}
}
 
ul.permissions-errors {
.mw-continue-editing a {
     margin: 0;
     color: var(--color-text) !important;
    text-decoration: none;
}
}


.wikiEditor-ui .wikiEditor-ui-view {
/* No linewrap on the labels of the login/signup page */
    border: 1px solid var(--color-border);
body.page-Special_UserLogin .mw-label label,
     border-bottom: none;
body.page-Special_UserLogin_signup .mw-label label {
     white-space: nowrap;
}
}


.wikiEditor-ui-toolbar {
/* Pie chart test: Transparent borders */
     background-color: var(--color-bg-section-light);
.transborder {
     border: solid transparent;
}
}
 
* html .transborder { /* IE6 */
.wikiEditor-ui .wikiEditor-ui-top {
     border: solid #000001;
     border-bottom: none;
    filter: chroma(color=#000001);
}
}


.wikiEditor-ui-toolbar .group {
/* Styling for updated markers on watchlist, history and recent/related changes.
     border-right: 1px solid var(--color-border);
  Bullets are handled in skin-specific stylesheets. */
.updatedmarker {
     background-color: transparent;
    color: #006400;
}
}
 
li.mw-changeslist-line-watched .mw-title,
.tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
table.mw-changeslist-line-watched .mw-title,
     filter: var(--invert-common);
table.mw-enhanced-watch .mw-enhanced-rctime {
     font-weight: normal;
}
}


/* Кнопки редактора кода */
/* Generic class for Times-based serif, texhtml class for inline math */
.oo-ui-inputWidget {
.times-serif,
     margin-right: 0.5em;
span.texhtml {
    font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
     font-size: 118%;
}
}
 
span.texhtml {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
     white-space: nowrap;
     background-color: var(--color-primary);
    color: var(--color-text-darker);
    border-color: var(--color-primary);
    border-radius: var(--border-radius-small);
    transition: all var(--transition-time);
}
}
 
span.texhtml span.texhtml {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
     font-size: 100%;
     background-color: var(--color-primary-light);
}
}


.oo-ui-buttonElement > .oo-ui-buttonElement-button {
/* Force tabular and lining display for digits and texhtml */
     min-height: unset;
.digits,
.texhtml {
    -moz-font-feature-settings: "lnum", "tnum";
    -webkit-font-feature-settings: "lnum", "tnum";
     font-feature-settings: "lnum", "tnum";
}
}


.oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
     transition: unset;
  [[Bugzilla:26204]]. See also [[Wikipedia:Typography#The monospace 'bug']] */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript,
pre.source-lua {
    font-family: monospace, Courier !important;
    -moz-tab-size: 4;
    -o-tab-size: 4;
     tab-size: 4;
}
}


/* Загрузка файла */
/* Fix styling of transcluded prefindex tables */
div.tright {
table#mw-prefixindex-list-table,
     margin: 0 0 0 1.5em;
table#mw-prefixindex-nav-table {
     width: 98%;
}
}


div.thumbinner {
/* For portals, added 2011-12-07 -bv
     padding: 0.5em 0.5em 0 0.5em;
  On wide screens, show these as two columns
    border: 1px solid var(--color-border);
  On narrow and mobile screens, let them collapse into a single column */
     background-color: var(--color-bg);
.portal-column-left {
     float: left;
     width: 50%;
}
}
 
.portal-column-right {
div.thumb .thumbimage {
     float: right;
     background-color: var(--color-bg);
    width: 49%;
}
}
 
.portal-column-left-wide {
.thumbimage {
     float: left;
     border: 1px solid var(--color-border);
    width: 60%;
}
}
 
.portal-column-right-narrow {
.mw-content-ltr .thumbcaption {
     float: right;
     padding: 0.5em 0 0.25em 0;
     width: 39%;
     text-align: center;
}
}
 
.portal-column-left-extra-wide {
input::-webkit-file-upload-button {
     float: left;
     background-color: var(--color-primary);
     width: 70%;
    color: var(--color-text);
    border: 1px solid var(--color-primary);
     border-radius: var(--border-radius-tiny);
    transition: background-color var(--transition-time);
}
}
 
.portal-column-right-extra-narrow {
input::-webkit-file-upload-button:hover {
    float: right;
     background-color: var(--color-primary-light);
     width: 29%;
}
}
 
@media only screen and (max-width: 800px) {
span > .mw-htmlform-submit {
    /* Decouple the columns on narrow screens */
     padding: 0.25em;
    .portal-column-left,
     background-color: var(--color-primary);
     .portal-column-right,
     color: var(--color-text);
     .portal-column-left-wide,
     border-radius: var(--border-radius-tiny);
     .portal-column-right-narrow,
     transition: background-color var(--transition-time);
     .portal-column-left-extra-wide,
     .portal-column-right-extra-narrow {
        float: inherit;
        width: inherit;
    }
}
}


span > .mw-htmlform-submit:hover {
/* For announcements */
     background-color: var(--color-primary-light);
#bodyContent .letterhead {
     background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
    background-repeat:no-repeat;
    padding: 2em;
    background-color: #faf9f2;
}
}


/* Предупреждение */
/* Tree style lists */
#editpage-copywarn {
.treeview ul {
     padding-top: 0.5em !important;
     padding: 0;
    margin: 0;
}
}
 
.treeview li {
.mw-editform #editpage-copywarn,
     padding: 0;
.mw-message-box-warning {
     margin: 0;
     padding: 0.33em 0.5em;
     list-style-type: none;
     margin: 0.5em 0 0.5em 0;
     list-style-image: none;
     color: var(--color-text);
     zoom: 1; /* BE KIND TO IE6 */;
     background-color: var(--color-notice);
     background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.1) 10px,
        rgba(0, 0, 0, 0.1) 20px
    );
    border: none;
}
}
 
.treeview li li {
/* Уведомления */
    background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
#mw-notification-area,
     /* @noflip */
#mw-notification-area-layout,
     padding-left: 20px;
.vector-sticky-header-enabled .mw-notification-area {
     text-indent: 0.3em;
     position: fixed !important;
     top: 6em !important;
     right: 0.75em !important;
}
}
 
.treeview li li.lastline {
.mw-notification,
     background-position: 0 -5971px
.mw-notification-visible {
     background-color: var(--color-bg-opaque);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    box-shadow: none;
    backdrop-filter: var(--blur-intensity);
}
}
 
.treeview li.emptyline > ul {
.mw-notification-content {
     /* @noflip */
     color: var(--color-text-darker);
    margin-left: -1px;
}
}
 
.treeview li.emptyline > ul > li:first-child {
.vector-sticky-header-visible .mw-notification-area-overlay > .mw-notification-area-floating {
     background-position: 0 9px
     transform: unset;
}
}


/* Окна подтверждения */
/* hidden sortkey for tablesorter */
.oo-ui-panelLayout-framed {
td .sortkey,
     background-color: var(--color-bg-section-light);
th .sortkey {
    border: 1px solid var(--color-border);
     display: none;
    border-radius: var(--border-radius-medium);
     speak: none;
     backdrop-filter: var(--blur-intensity);
}
}


/* Ввод в общем */
/* Make it possible to hide checkboxes in <inputbox> */
input, select, textarea {
.inputbox-hidecheckboxes form .inputbox-element {
    margin: 0;
     display: none !important;
    background-color: var(--color-bg-section);
    color: var(--color-text);
     border: 1px solid var(--color-border);
    transition: all var(--transition-time);
}
}


input:not(#wpUploadFile, .mw-htmlform-submit):hover, textarea:hover {
/* Hide charinsert base for those not using the gadget */
     border: 1px solid var(--color-border-input);
#editpage-specialchars {
     display: none;
}
}


input:focus, textarea:focus {
/* work-around for [[bugzilla:23965]] (Kaltura advertisement) */
     outline-color: var(--color-border-input);
.k-player .k-attribution {
     visibility: hidden;
}
}


/* Wikitable */
.wikitable {
    background-color: var(--color-bg-section-light);
    color: var(--color-text-darker);
    border: 1px solid var(--color-border);
}


.wikitable > tr > th, .wikitable > * > tr > th {
.tooltip{
    background-color: var(--color-bg-section-lighter);
  position: relative;
}
}


.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
.tooltiptext {
    border: 1px solid var(--color-border);
  position: absolute;
    padding: 0.3em 0.5em;
  display: block;
  z-index: 2;
  width: 250px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
  border: 1px solid #aaa;
  background-color: #ffdd66;
}
}


/* Шаблоны */
.tooltip:hover>.tooltiptext {
table,
  visibility: visible;
.pageframe-container {
  opacity: 1;
    backdrop-filter: var(--blur-intensity);
}
}


/* Скрытые элементы */
.ns-4200 #p-logo a  {
#pt-userpage-2,
  background-image: url("/wiki/skins/TGMC_logo.png") !important;
#pt-watchlist-2 {
  background-size: contain;
    display: none;
}
}


.mw-sidebar-action {
.ns-4201 #p-logo a  {
    display: none;
  background-image: url("/wiki/skins/TGMC_logo.png") !important;
  background-size: contain;
}
}

Версия от 21:13, 2 мая 2024

/* CSS placed here will be applied to all skins */
/* Default styling for HTML elements */
dfn {
    font-style: inherit;  /* Reset default styling for <dfn> */
}

/* Main page fixes */
#interwiki-completelist {
    font-weight: bold;
}
body.page-Main_Page #ca-delete {
    display: none !important;
}
body.page-Main_Page #mp-topbanner {
    clear: both;
}

/* Edit window toolbar */
#toolbar {
    height: 22px;
    margin-bottom: 6px;
}

/* Highlight data points in the info action if specified in the URL */
body.action-info :target {
    background: #DEF;
}

/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
    font-size: 90%;            /* Default font-size */
    margin-bottom: 0.5em;
}
div.refbegin-100 {
    font-size: 100%;           /* Option for normal fontsize in {{refbegin}} */
}
div.reflist ol.references {
    font-size: 100%;           /* Reset font-size when nested in div.reflist */
    list-style-type: inherit;  /* Enable custom list style types */
}

/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target,
span.citation:target {
    background-color: #DEF;
}

/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
    font-weight: normal;
    font-style: normal;
}

/* Allow hidden ref errors to be shown by user CSS */
span.brokenref {
    display: none;
}

/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
.citation {
    word-wrap: break-word;
}

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

/* 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 list items from breaking between columns */
div.columns li,
div.columns dd dd {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
}

/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
.flowlist ul {
    overflow-x: hidden;
    margin-left: 0;
    padding-left: 1.6em;
}
.flowlist ol {
    overflow-x: hidden;
    margin-left: 0;
    padding-left: 3.2em;
}
.flowlist dl {
    overflow-x: hidden;
}

/* Style for horizontal lists (separator following item).
   IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 6 (2014-05-09)
   @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;
}
/* Generate interpuncts */
.hlist dt:after {
    content: ": ";
}
.hlist dd:after,
.hlist li:after {
    content: " · ";
    font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    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 */
.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;
}
/* 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 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) " ";
    white-space: nowrap;
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
    content: " (" counter(listitem) " ";
}

/* Unbulleted lists */
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ul li {
    margin-bottom: 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,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}

/* Default styling for Navbar template */
.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    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. */
.collapseButton {
    /* @noflip */
    float: right;
    font-weight: normal;
    /* @noflip */
    margin-left: 0.5em;
    /* @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 */
.infobox {
    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 {
    font-size: 125%;
    font-weight: bold;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}

.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}

.infobox.standard-talk {
    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 */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    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,
   country subdivisions, cities, etc.            */
.infobox.geography {
    border-collapse: collapse;
    line-height: 1.2em;
    font-size: 90%;
}

.infobox.geography  td,
.infobox.geography  th {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
    border: 0;
    padding: 0 0.6em 0.2em 0.6em;
}

.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 {
    border: 0;
    padding: 0;
}

/* Normal font styling for table row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
    font-weight: normal;
    /* @noflip */
    text-align: left;
}

/* Lists in data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
    /* @noflip */
    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]],
   [[Template:Multi-listen_start]], [[Template:Video]],
   [[Template:Multi-video_start]] */
div.listenlist {
    background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
    background-size: 30px;
    padding-left: 40px;
}

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

/* Style rules for media list templates */
div.medialist {
    min-height: 50px;
    margin: 1em;
    /* @noflip */
    background-position: top left;
    background-repeat: no-repeat;
}
div.medialist ul {
    list-style-type: none;
    list-style-image: none;
    margin: 0;
}
div.medialist ul li {
    padding-bottom: 0.5em;
}
div.medialist ul li li {
    font-size: 91%;
    padding-bottom: 0;
}

/* Change the external link icon to an Adobe icon for all PDF files
   in browsers that support these CSS selectors, like Mozilla and Opera */
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#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;
}

/* Change the external link icon to an Adobe icon anywhere the PDFlink class
   is used (notably Template:PDFlink). This works in IE, unlike the above. */
div#content span.PDFlink a,
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;
}

/* Content in columns with CSS instead of tables ([[Template:Columns]]) */
div.columns-2 div.column {
    /* @noflip */
    float: left;
    width: 50%;
    min-width: 300px;
}
div.columns-3 div.column {
    /* @noflip */
    float: left;
    width: 33.3%;
    min-width: 200px;
}
div.columns-4 div.column {
    /* @noflip */
    float: left;
    width: 25%;
    min-width: 150px;
}
div.columns-5 div.column {
    /* @noflip */
    float: left;
    width: 20%;
    min-width: 120px;
}

/* Messagebox templates */
.messagebox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
.messagebox.merge {
    border: 1px solid #c0b8cc;
    background-color: #f0e5ff;
    text-align: center;
}
.messagebox.cleanup {
    border: 1px solid #9f9fff;
    background-color: #efefff;
    text-align: center;
}
.messagebox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    margin: 4px auto;
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    width: 100%;
    margin: 2px 0;
    padding: 2px;
}
.messagebox.small {
    width: 238px;
    font-size: 85%;
    /* @noflip */
    float: right;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
}
.messagebox.small-talk {
    width: 238px;
    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 */
th.mbox-text, td.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 */
}
td.mbox-image {                /* The left image cell */
    border: none;
    /* @noflip */
    padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
    text-align: center;
}
td.mbox-imageright {           /* The right image cell */
    border: none;
    /* @noflip */
    padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
    text-align: center;
}
td.mbox-empty-cell {           /* An empty narrow cell */
    border: none;
    padding: 0;
    width: 1px;
}

/* Article message box styles */
table.ambox {
    margin: 0 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. */
    margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    /* @noflip */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
    /* @noflip */
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}

table.ambox-notice {
    /* @noflip */
    border-left: 10px solid #1e90ff;    /* Blue */
}
table.ambox-speedy {
    /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
    background: #fee;                   /* Pink */
}
table.ambox-delete {
    /* @noflip */
    border-left: 10px solid #b22222;    /* Red */
}
table.ambox-content {
    /* @noflip */
    border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
    /* @noflip */
    border-left: 10px solid #f4c430;    /* Yellow */
}
table.ambox-move {
    /* @noflip */
    border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    /* @noflip */
    border-left: 10px solid #bba;       /* Gray-gold */
}

/* Image message box styles */
table.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;
}

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

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

table.cmbox-notice {
    background: #D8E8FF;    /* Blue */
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b22222;    /* Red */
    background: #FFDBDB;          /* Pink */
}
table.cmbox-delete {
    background: #FFDBDB;    /* Red */
}
table.cmbox-content {
    background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
    background: #FFF9DB;    /* Yellow */
}
table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
    background: #EFEFE1;    /* Gray-gold */
}

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

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

/* Talk page message box styles */
table.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.                */
}

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

/* Disambig and set index box styles */
table.dmbox {
    clear: both;
    margin: 0.9em 1em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: transparent;
}

/* Footer and header message box styles */
table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;     /* Default "system" gray */
}
table.fmbox-system {
    background: #f9f9f9;
}
table.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;        /* Pink */
}
table.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. */
body.mediawiki table.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;
}
body.mediawiki table.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 compact ambox */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
    display: none;
}
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
    border: none;
    border-collapse: collapse;
    background: transparent;
    margin: 0 0 0 1.6em !important;
    padding: 0 !important;
    width: auto;
    display: block;
}
body.mediawiki .compact-ambox table.mbox-small-left {
    font-size: 100%;
    width: auto;
    margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
    padding: 0 !important;
    margin: 0 !important;
}
.compact-ambox table .mbox-text-span {
    display: list-item;
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url(//bits.wikimedia.org/skins/common/images/bullet.gif);
}
.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)
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
    display: none;
}

/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext {
    border: none;
    background: transparent;
    padding: 0;
}

/* Hide (formatting) elements from screen, but not from screenreaders */
.visualhide {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Bold save button */
#wpSave {
    font-weight: bold;
}

/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
.hiddenStructure {
    display: inline !important;
    color: #f00;
    background-color: #0f0;
}

/* suppress missing interwiki image links where #ifexist cannot
   be used due to high number of requests see .hidden-redlink on
   [[m:MediaWiki:Common.css]] */
.check-icon a.new {
    display: none;
    speak: none;
}

/* Removes underlines from certain links */
.nounderlines a,
.IPA a:link, .IPA a:visited {
    text-decoration: none !important;
}

/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    /* @noflip */
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    /* @noflip */
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}

/* Hatnotes and disambiguation notices */
.rellink,
.dablink,
.hatnote {
    font-style: italic;
}
.rellink i,
.dablink i,
.hatnote i {
    font-style: normal;
}
div.rellink,
div.dablink,
div.hatnote {
    /* @noflip */
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}

/* Allow transcluded pages to display in lists rather than a table.
   Compatible in Firefox; incompatible in IE6. */
.listify td    { display: list-item; }
.listify tr    { display: block; }
.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;
}
.hlist.nonumtoc #toc ul ul,
.hlist.nonumtoc .toc ul ul {
    /* @noflip */
    margin: 0;
}

/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.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 */
blockquote.templatequote {
     margin-top: 0;
}
blockquote.templatequote div.templatequotecite {
    line-height: 1.5em;
    /* @noflip */
    text-align: left;
    /* @noflip */
    padding-left: 1.6em;
    margin-top: 0;
}

/* User block messages */
div.user-block {
    padding: 5px;
    margin-bottom: 0.5em;
    border: 1px solid #A9A9A9;
    background-color: #FFEFD5;
}

/* Prevent line breaks in silly places:
   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: */
.wrap,
.wraplinks a {
    white-space: normal;
}

/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa;
    background-color: #ecfcf4;
    padding: 1em;
}

/* Inline divs in ImageMaps (code borrowed from de.wiki) */
.imagemap-inline div {
    display: inline;
}

/* Increase the height of the image upload box */
#wpUploadDescription {
    height: 13em;
}

/* Minimum thumb width */
.thumbinner {
    min-width: 100px;
}

/* Makes the background of a framed image white instead of gray.
   Only visible with transparent images. */
div.thumb .thumbimage {
    background-color: #fff;
}

/* The backgrounds for galleries. */
div#content .gallerybox div.thumb {
    /* Light gray padding */
    background-color: #F9F9F9;
}
/* Put a chequered background behind images, only visible if they have transparency.
   '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.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. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
    background: #fff;
}
img {
	image-rendering: pixelated;
}
/* Prevent floating boxes from overlapping any category listings,
   file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories, #mw-pages, #mw-category-media,
#filehistory, #wikiPreview, #wikiDiff {
    clear: both;
}

body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback {
    display: block;   /* Override inline block mode */
    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 */
.wpb .wpb-header             { display: none; }
.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%;
}

/* Hide stuff meant for accounts with special permissions. Made visible again in
   [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]],
   [[MediaWiki:Group-templateeditor.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */
.sysop-show,
.accountcreator-show,
.templateeditor-show,
.autoconfirmed-show {
    display: none;
}

/**
 * Hide the redlink generated by {{Editnotice}},
 * this overrides the ".sysop-show { display: none; }" above that applies
 * to the same link as well.
 *
 * See [[bugzilla:43013]].
 */
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink {
    display: none !important;
}

/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
    list-style: none none;
}
ul.permissions-errors {
    margin: 0;
}

/* 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;
}

/* Pie chart test: Transparent borders */
.transborder {
    border: solid transparent;
}
* html .transborder {  /* IE6 */
    border: solid #000001;
    filter: chroma(color=#000001);
}

/* Styling for updated markers on watchlist, history and recent/related changes.
   Bullets are handled in skin-specific stylesheets. */
.updatedmarker {
    background-color: transparent;
    color: #006400;
}
li.mw-changeslist-line-watched .mw-title,
table.mw-changeslist-line-watched .mw-title,
table.mw-enhanced-watch .mw-enhanced-rctime {
    font-weight: normal;
}

/* Generic class for Times-based serif, texhtml class for inline math */
.times-serif,
span.texhtml {
    font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
    font-size: 118%;
}
span.texhtml {
    white-space: nowrap;
}
span.texhtml span.texhtml {
    font-size: 100%;
}

/* Force tabular and lining display for digits and texhtml */
.digits,
.texhtml {
    -moz-font-feature-settings: "lnum", "tnum";
    -webkit-font-feature-settings: "lnum", "tnum";
    font-feature-settings: "lnum", "tnum";
}

/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
   [[Bugzilla:26204]]. See also [[Wikipedia:Typography#The monospace 'bug']] */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript,
pre.source-lua {
    font-family: monospace, Courier !important;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
}

/* Fix styling of transcluded prefindex tables */
table#mw-prefixindex-list-table,
table#mw-prefixindex-nav-table {
    width: 98%;
}

/* For portals, added 2011-12-07 -bv
   On wide screens, show these as two columns
   On narrow and mobile screens, let them collapse into a single column */
.portal-column-left {
    float: left;
    width: 50%;
}
.portal-column-right {
    float: right;
    width: 49%;
}
.portal-column-left-wide {
    float: left;
    width: 60%;
}
.portal-column-right-narrow {
    float: right;
    width: 39%;
}
.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 */
#bodyContent .letterhead {
    background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
    background-repeat:no-repeat;
    padding: 2em;
    background-color: #faf9f2;
}

/* Tree style lists */
.treeview ul {
    padding: 0;
    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
}

/* hidden sortkey for tablesorter */
td .sortkey,
th .sortkey {
    display: none;
    speak: none;
}

/* Make it possible to hide checkboxes in <inputbox> */
.inputbox-hidecheckboxes form .inputbox-element {
    display: none !important;
}

/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
    display: none;
}

/* work-around for [[bugzilla:23965]] (Kaltura advertisement) */
.k-player .k-attribution {
    visibility: hidden;
}


.tooltip{
  position: relative;
}

.tooltiptext {
  position: absolute;
  display: block;
  z-index: 2;
  width: 250px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
  border: 1px solid #aaa;
  background-color: #ffdd66;
}

.tooltip:hover>.tooltiptext {
  visibility: visible;
  opacity: 1;
}

.ns-4200 #p-logo a  {
  background-image: url("/wiki/skins/TGMC_logo.png") !important;
  background-size: contain;
}

.ns-4201 #p-logo a  {
  background-image: url("/wiki/skins/TGMC_logo.png") !important;
  background-size: contain;
}