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

Материал из Space Station 14 Вики
мНет описания правки
Нет описания правки
 
(не показано 197 промежуточных версий 2 участников)
Строка 6: Строка 6:
lightgrey - цвет текста для <pre> и <code>
lightgrey - цвет текста для <pre> и <code>
*/
*/
/* ================================================================== */
:root {
/*==========
Тема Вики
==========*/
    color-scheme: dark;
   
    /*==========
Цвет текста
    ==========*/
   
    --color-text-normal: white;
    --color-text-light: lightgray;
    --color-text-dark: #72777d;
   
    --color-link: #77c1d9;
    --color-link-external: #3377aa;
   
    /*==========
Цвет фона
    ==========*/
   
    /* Для стандартных wiki полей */
    --oo-ui-block-bg: #27272e;
    --oo-ui-block-bg-light: #2c2c33;
    --oo-ui-block-bg-dark: #222227;
   
    --oo-ui-block-gradient: linear-gradient(120deg, var(--oo-ui-block-bg-light), var(--oo-ui-block-bg-dark));
    --oo-ui-block-gradient-light: linear-gradient(120deg, #353540, #27272f);
   
    /* Для кодо-подобных блоков */
    --color-code-bg: #25252b;
--color-code-bg-light: #27272d;
    /*==========
Цвет границ   
    ==========*/
   
    /* Для стандартных wiki полей */
    --oo-ui-block-border: #303038;
    --oo-ui-block-border-light: #3d3d47;
   
    /* Для кодо-подобных блоков */
    --color-code-border: #3e3e49;
    --color-code-border-light: #2d2d34;
}


/* ШРИФТЫ */
/* ШРИФТЫ */
Строка 125: Строка 174:
     src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v170/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2')
     src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v170/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2')
}
}
/* ================================================================== */


/* ТЕГИ */
/* ТЕГИ */
Строка 131: Строка 182:
}
}


/* Он вообще используется? Удалить, если нет */
q {
q {
     quotes: '«' '»' "„" "“";
     quotes: '«' '»' "„" "“";
Строка 137: Строка 187:


code {
code {
     background-color: #303037;
    border-radius: 2px;
     border-color: #303037;
    padding: 1px 4px;
     background-color: var(--color-code-bg);
     border: 1px solid var(--color-code-border);
     color: lightgrey;
     color: lightgrey;
}
}
Строка 145: Строка 197:
     overflow: auto;
     overflow: auto;
     white-space: pre-wrap;
     white-space: pre-wrap;
    background: var(--color-code-bg-light);
    border-color: var(--color-code-border-light);
    padding: 0.5em;
     color: lightgrey;
     color: lightgrey;
    background-color: #303037;
    border-color: #303037;
}
}


Строка 160: Строка 213:
}
}


/*основные изображения - пиксельные. Для остальных нужно использовать класс noSprite*/
img {
img {
     image-rendering: pixelated;
     image-rendering: pixelated;
}
}


/*Для непиксельных изображений*/
.noSprite>*>* {
.noSprite>*>* {
image-rendering: auto !important;
image-rendering: auto !important;  
}
 
/* ================================================================== */
 
/* КЛАССЫ */
 
/* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */
#scroll-top {
display: none;
background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat;
opacity: 0.5;
width: 57px;
height: 57px;
cursor: pointer;
position: fixed;
right: calc(0.95em + 6px);
bottom: 30px;
z-index: 10000;
image-rendering: pixelated;
}
 
#scroll-top:hover {
opacity: 0.8;
}
 
@media screen and (max-width: 850px) {
#scroll-top {
transform: translate(-50%, -50%);
left: 50%;
        right: 50%;
        opacity: 0.3;
}
}
}


/* Необходим для использования fonts.google.com/icons */
.material-symbols-outlined {
.material-symbols-outlined {
     font-family: 'Material Symbols Outlined';
     font-family: 'Material Symbols Outlined';
Строка 184: Строка 272:
}
}


.mw-body-content sub,.mw-body-content sup,span.reference {
.tools-inline li:not(.selected) a {
     font-size: 80%
     filter: invert(100%);
}
}


.ns-talk .mw-body-content dd {
.tools-inline .selected span {
     margin-top: 0.4em;
    filter: invert(0%);
     margin-bottom: 0.4em
}
 
.tools-inline span {
    filter: invert(100%);
    margin-left: 2px;
    font-size: 15px;
    font-family: "noto sans";
}
 
.tools-inline li:hover {
    border-bottom-width: 2px;
}
 
.tools-inline li.selected {
    background: transparent !important;
    border-bottom-width: 2px;
}
 
.tools-inline li.selected a {
    filter: invert(100%);
}
 
.tools-inline li.selected span {
    filter: invert(100%);
    color: lightgrey;
    font-weight: bold;
}
 
#personal h2, #site-tools h2, #site-navigation h2, #searchButton {
    filter: invert(100%)
}
 
#personal h2 span {
    filter: invert(100%)
}
 
.dropdown-toggle:after {
filter: invert(100%);
}
 
.mw-editsection {
filter: invert(100%);
}
 
.mw-editsection a {
filter: invert(100%);
}
 
.mw-body-content sub,.mw-body-content sup,span.reference {
    font-size: 80%
}
 
.ns-talk .mw-body-content dd {
     margin-top: 0.4em;
     margin-bottom: 0.4em
}
}


Строка 853: Строка 995:
     min-width: 100px;
     min-width: 100px;
     background: #303037;
     background: #303037;
     border: solid #37373e
     border: solid var(--oo-ui-block-border)
}
}


.thumbinner .thumbimage,.thumbborder {
.thumbinner .thumbimage,.thumbborder {
     border: solid 1px #37373e
     border: solid 1px var(--oo-ui-block-border)
}
}


Строка 1009: Строка 1151:


a,.vector-menu-portal .vector-menu-content li a,.vector-menu-tabs li a,body.skin--responsive #p-cactions li a,a:visited,.vector-menu-portal .vector-menu-content li a:visited,.vector-menu-tabs li a:visited,body.skin--responsive #p-cactions li a:visited {
a,.vector-menu-portal .vector-menu-content li a,.vector-menu-tabs li a,body.skin--responsive #p-cactions li a,a:visited,.vector-menu-portal .vector-menu-content li a:visited,.vector-menu-tabs li a:visited,body.skin--responsive #p-cactions li a:visited {
     color: #77c1d9
     color: var(--color-link);
}
}


a:hover,a:visited:hover {
.wikiEditor-ui-toolbar .tabs span.tab a {
     color: white
     color: var(--color-link);
}
}


body.skin--responsive #p-cactions li a {
a.current {
     background: #27272e
    color: lightgray !important;
}
 
a.label {
    color: lightgray !important;
    font-weight: bold;
}
 
a:hover,a:visited:hover {
    color: white
}
 
a.option {
    background: var(--oo-ui-block-bg);
    color: lightgray !important;
    border: 1px solid var(--oo-ui-block-border);
}
 
.wikiEditor-ui-toolbar .page-characters div span {
filter: invert(1);
}
 
.wikiEditor-ui-toolbar .booklet > .index {
    color: lightgray;
}
 
.wikiEditor-ui-toolbar .booklet > .index > :hover {
    background-color: var(--oo-ui-block-bg-light);
}
 
.wikiEditor-ui-toolbar .booklet > .index > .current {
background: var(--oo-ui-block-bg-light);
color: white !important
}
 
.wikiEditor-ui-toolbar .group .tool-select .options {
border-color: var(--oo-ui-block-border) !important;
}
 
.wikiEditor-ui-toolbar .page-table th {
    color: lightgrey;
}
 
.wikiEditor-ui-toolbar .page-table td {
    color: lightgrey;
}
 
.wikiEditor-ui-toolbar .group .tool-select .label:after {
filter: invert(1);
}
 
body.skin--responsive #p-cactions li a {
     background: var(--oo-ui-block-bg)
}
}


.mw-prefs-buttons {
.mw-prefs-buttons {
     background: #27272e
     background: var(--oo-ui-block-bg)
}
}


a.extiw:visited,a.external:visited,.mw-parser-output a.extiw:visited,.mw-parser-output a.external:visited,body.skin--responsive #p-cactions li a.external:visited {
a.extiw:visited,a.external:visited,.mw-parser-output a.extiw:visited,.mw-parser-output a.external:visited,body.skin--responsive #p-cactions li a.external:visited {
     color: #3377aa
     color: var(--color-link-external)
}
}


Строка 1034: Строка 1228:


body.skin--responsive #p-cactions li.selected a {
body.skin--responsive #p-cactions li.selected a {
     background: #27272e
     background: var(--oo-ui-block-bg)
}
}


Строка 1063: Строка 1257:


#simpleSearch {
#simpleSearch {
     background: #27272e;
     background: var(--oo-ui-block-bg);
     border: 1px solid #37373e;
     border: 1px solid var(--oo-ui-block-border);
     color: lightgrey
     color: lightgrey
}
}
Строка 1078: Строка 1272:


.vector-user-links .vector-user-menu-more .vector-menu-content-list li a,#personal .dropdown {
.vector-user-links .vector-user-menu-more .vector-menu-content-list li a,#personal .dropdown {
     background: #27272e;
     background: var(--oo-ui-block-bg);
     border: 1px solid black;
     border: 1px solid black;
     color: lightgrey
     color: lightgrey
Строка 1084: Строка 1278:


body.skin--responsive #p-cactions li.selected {
body.skin--responsive #p-cactions li.selected {
     border: #37373e
     border: var(--oo-ui-block-border)
}
}


Строка 1101: Строка 1295:
}
}


/* Стиль для таблиц wikitable */
.wikitable {
.wikitable {
     background: #303037;
    border-spacing: 1px;
     border: 1px solid #37373e;
    padding: 10px;
     color: white
    border-collapse: separate;
    border: none;
    border-radius: 0.8em;
     background: var(--oo-ui-block-bg);
     color: #dddddd;
     box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
}
}


.wikitableKZ {
.wikitable>*>tr>*{
     border-collapse: collapse
    padding: 0.4em !important;
    margin: 0 !important;
     border: none;
}
}


.wikitableKZ>tr>th,.wikitableKZ>tr>td,.wikitableKZ>*>tr>th,.wikitableKZ>*>tr>td {
.wikitable>*>tr>th {
     border: 1px solid black
     background: var(--oo-ui-block-bg);
    color: #e1e1e1;
}
}


.toc {
.wikitable>*>tr>td {
     background: #27272E;
     background: #31313b;
    border: 1px solid black;
    color: white
}
}


.mw-content-ltr .tocnumber {
.wikitable p, .wikitable h1, .wikitable h2, .wikitable h3, .wikitable h4, .wikitable h5, .wikitable h6, .wikitable li {
    color: grey
     color: #dddddd;
}
 
.wikitable>tr>th,.wikitable>tr>td,.wikitable>*>tr>th,.wikitable>*>tr>td {
    border: 1px solid black
}
 
.wikitable>*>tr>th {
     background: #27272e;
    border: 1px solid black;
    color: white
}
}


/* Закругление верхнего левого угла первой ячейки */
/* Закругление верхнего левого угла первой ячейки */
.wikitable thead tr:first-child th:first-child,
.wikitable thead tr:first-child th:first-child,
.wikitable:not(:has(thead)) tr:first-child th:first-child {
.wikitable thead tr:first-child td:first-child,
.wikitable:not(:has(thead)) tr:first-child th:first-child,
.wikitable:not(:has(thead)) tr:first-child td:first-child {
     border-top-left-radius: 4px;
     border-top-left-radius: 4px;
}
}
Строка 1143: Строка 1336:
/* Закругление верхнего правого угла последней ячейки */
/* Закругление верхнего правого угла последней ячейки */
.wikitable thead tr:first-child th:last-child,
.wikitable thead tr:first-child th:last-child,
.wikitable:not(:has(thead)) tbody > tr:first-child th:last-child {
.wikitable thead tr:first-child td:last-child,
.wikitable:not(:has(thead)) tbody > tr:first-child th:last-child,
.wikitable:not(:has(thead)) tbody > tr:first-child td:last-child {
     border-top-right-radius: 4px;
     border-top-right-radius: 4px;
}
}


.quickbox {
/* Закругление нижнего левого угла первой ячейки последнего ряда
     border: 1px solid #303038;
.wikitable tbody tr:last-child th:first-child,
     background: #27272e
.wikitable tbody tr:last-child td:first-child {
}
     border-bottom-left-radius: 4px;
}*/
 
/* Закругление нижнего правого угла последней ячейки последнего ряда
.wikitable tbody tr:last-child th:last-child,
.wikitable tbody tr:last-child td:last-child {
     border-bottom-right-radius: 4px;
}*/


.quickboxhead {
/* Таблицы на телефонах */
     border-bottom: 1px solid #303038;
@media screen and (max-width: 850px) {
    background: #1b1b1f;
    .wikitable {
    text-align: center
        font-size: 0.65em;
        padding: 5px !important;
     }
   
.wikitable:not(.no-img-adaptive) img[width="64"][height="64"] {
width: 32px;
height: 32px;
}
.wikitable:not(.no-img-adaptive) img[width="64"][height="128"] {
width: 32px;
height: 64px;
}
.wikitable:not(.no-img-adaptive) img[width="128"][height="128"] {
width: 64px;
height: 64px;
}
}
}


.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,.mw-rcfilters-ui-changesListWrapperWidget {
.toc {
     background: #27272e;
    background: var(--oo-ui-block-bg);
     border: 1px solid #303038;
    border: 1px solid black;
    color: white
}
 
.mw-content-ltr .tocnumber {
    color: grey
}
 
.quickbox {
    border: 1px solid var(--oo-ui-block-border);
    background: var(--oo-ui-block-bg)
}
 
.quickboxhead {
    border-bottom: 1px solid var(--oo-ui-block-border);
    background: #1b1b1f;
    text-align: center
}
 
.mw-rcfilters-ui-filterMenuSectionOptionWidget {
background: var(--oo-ui-block-bg-light);
}
 
.mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
    color: lightgray;
}
 
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,.mw-rcfilters-ui-changesListWrapperWidget {
     background: var(--oo-ui-block-bg);
     border: 1px solid var(--oo-ui-block-border);
     color: white
     color: white
}
}
Строка 1169: Строка 1417:


.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
     background: #27272e;
     background: var(--oo-ui-block-bg);
     border: 1px solid #303038;
     border: 1px solid var(--oo-ui-block-border);
     color: white
     color: lightgray;
}
}


.oo-ui-popupWidget-popup {
.oo-ui-popupWidget-popup {
     background: #303037;
     background: #303037;
     border: 1px solid #37373e;
     border: 1px solid var(--oo-ui-block-border);
     color: white
     color: lightgray;
}
}


.mw-editform #wpTextbox1,textarea {
.oo-ui-menuSelectWidget {
     background: #303037;
     border-color: var(--oo-ui-block-border);
     border: 1px solid #37373e;
     background: var(--oo-ui-block-gradient);
    color: white
}
}


.wikiEditor-ui-toolbar {
.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover {
    background: #27272e;
background: var(--oo-ui-block-border);
    color: white
}
}


.wikiEditor-ui-toolbar .group {
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
     border: 1px solid #37373e;
background: var(--oo-ui-block-bg-dark);
     color: white
     border-top: 1px solid #ffffff09;
     border-bottom: 1px solid #ffffff09;
}
}


.wikiEditor-ui-toolbar .group .label {
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
     color: white
     border-color: var(--oo-ui-block-border);
color: lightgrey;
}
}


.wikiEditor-ui-toolbar .tabs span.tab a.current,.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
.mw-rcfilters-ui-menuSelectWidget-footer {
     color: #151518;
     border-color: var(--oo-ui-block-border);
     font-weight: bold
     background: var(--oo-ui-block-bg);
}
}


.wikiEditor-ui .wikiEditor-ui-top {
.mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget {
    border-bottom: 1px solid #37373e
color: lightgrey;
}
}


.wikiEditor-ui .wikiEditor-ui-view {
.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
    border: 1px solid #37373e
background: transparent;
}
}


.editOptions,.mw-editform .editOptions {
.oo-ui-optionWidget-highlighted {
    background: #212126;
background: var(--oo-ui-block-bg-dark) !important;
    border: 1px solid #37373e;
    color: white
}
}


@media screen {
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover {
    .mw-body-content .recipeimg a>img {
border-color: var(--oo-ui-block-border-light) !important;  
        padding: 0;
        margin: 0;
        border: 0;
        width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        max-height: 32px !important
    }
}
}


.positive {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
     color: #00FF00;
     background-color: var(--oo-ui-block-bg);
     font-weight: bold
     border-color: var(--oo-ui-block-border);
    color: white;
}
}


.negative {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon:not(.oo-ui-image-invert), .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-indicatorElement-indicator:not(.oo-ui-image-invert) {
     color: #FF0000;
     opacity: 0.87;
    font-weight: bold
}
}


.anglerect {
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
    --angle-rect-clip-size: 16px;
    background: var(--oo-ui-block-bg-dark);
    clip-path: polygon(0 0,calc(100% - var(--angle-rect-clip-size)) 0,100% var(--angle-rect-clip-size),100% 100%,var(--angle-rect-clip-size) 100%,0 calc(100% - var(--angle-rect-clip-size)))
    border-color: var(--oo-ui-block-border-light);
    color: lightgray;
    border-radius: 0.3em;
}
}


.flex {
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled {
     display: flex
     background: var(--oo-ui-block-bg-dark);
}
}


.mw-body {
.oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button {
    padding: 0.5em;
box-shadow: none;
    box-shadow: 0 0 2px black
}
}


.mw-body dd {
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
     margin: 0.2em;
     color: white;
    margin-left: 1.6em
}
}


.tabs-label {
.mw-widget-dateInputWidget-calendar {
     cursor: pointer;
     border-color: var(--oo-ui-block-border);
    padding: 1px 6px;
     background: var(--oo-ui-block-gradient);
     background: transparent !important;
    border: 1px solid black
}
}


.tabs-tabbox > .tabs-input:checked + .tabs-label,.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
.oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon:not(.oo-ui-image-invert), .oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator:not(.oo-ui-image-invert) {
     z-index: 2;
     filter: invert(0.7);
    box-shadow: 0px 2px 1px #3366cc
}
}


.tabs-tabbox > .tabs-input+ .tabs-input+ .tabs-label {
.mw-widget-calendarWidget-day-heading {
     margin: 0
    color: lightgray;
}
 
.mw-widget-calendarWidget-day {
    color: lightgray;
}
 
.mw-widget-calendarWidget-labelButton .oo-ui-buttonElement-button .oo-ui-labelElement-label {
     color: lightgrey;
}
}


.tabs-label:hover {
#ca-nstab-special.selected.mw-list-item {
     box-shadow: 0px 2px 1px darkblue;
     background: var(--oo-ui-block-bg-light);
    z-index: 2
}
}


.tabs-tabbox > .tabs-container {
.mw-editform #wpTextbox1,textarea {
    margin-top: -1px;
    padding: 2px 10px;
     background: #303037;
     background: #303037;
     border-radius: 0;
     border: 1px solid var(--oo-ui-block-border);
     position: relative;
     color: white
    border: 1px solid #000000;
}
    width: inherit;
 
    max-width: inherit;
.wikiEditor-ui-toolbar {
     min-width: inherit;
     background: var(--oo-ui-block-bg);
     z-index: 1
     color: white
}
}


.tabs-tabbox > .tabs-label {
.wikiEditor-ui-toolbar .group {
     margin: 0;
     border: 1px solid var(--oo-ui-block-border);
    background: transparent;
     color: white
    position: relative;
    display: inline-block;
    vertical-align: baseline;
     border-radius: 0
}
}


.tooltip {
.wikiEditor-ui-toolbar .group .label {
    position: relative;
color: lightgray;
    display: inline
}
}


.tooltiptext {
.wikiEditor-ui-toolbar .tabs span.tab a.current,.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
    position: absolute;
     color: #151518;
    min-width: 240px;
     font-weight: bold
    max-width: 100%;
    left: -240px;
    right: -240px;
    top: 125%;
     margin-left: auto;
    margin-right: auto;
    z-index: 99;
    padding: 22px;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.1s;
    border: 1px solid #3366cc;
     border-radius: 1.4rem;
    background-color: #27272E
}
}


.tooltip:hover>.tooltiptext {
.wikiEditor-ui .wikiEditor-ui-top {
     visibility: visible;
     border-bottom: 1px solid var(--oo-ui-block-border)
    opacity: 1;
}
}


@media screen and (min-width: 851px) {
.wikiEditor-ui .wikiEditor-ui-view {
     .mobile {
     border: 1px solid var(--oo-ui-block-border)
        display:none
}
    }


    .headder {
.editOptions,.mw-editform .editOptions {
        width: 25%;
    background: #212126;
        float: right;
    border: 1px solid var(--oo-ui-block-border);
        margin-left: 1em
    color: white
    }
}


    .stiky {
.oo-ui-tagMultiselectWidget-input.oo-ui-widget.oo-ui-widget-enabled.oo-ui-inputWidget.oo-ui-iconElement.oo-ui-textInputWidget.oo-ui-textInputWidget-type-text {
        position: sticky;
    background: var(--oo-ui-block-border);
        top: 0.1em
}
    }
 
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-input > .oo-ui-icon-menu {
    filter: invert(0.7);
}
}


@media screen and (max-width: 850px) {
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
     .nomobile {
     color: lightgrey;
        display:none
}
    }


    .headder {
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
        width: 100%;
    border-color: var(--oo-ui-block-border);
        margin-left: 0
}
    }


    .sidebar-inner {
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterTagMultiselectWidget-views-select {
        background: #27272e;
background: var(--oo-ui-block-bg);
        border: 1px solid black;
}
        color: lightgrey
    }


     .tooltip {
@media screen {
         position: static
     .mw-body-content .recipeimg a>img {
         padding: 0;
        margin: 0;
        border: 0;
        width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        max-height: 32px !important
     }
     }
}


    .tooltiptext {
.positive {
        box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
    color: #00FF00;
        position: fixed!important;
     font-weight: bold
        width: 80vw !important;
        top: 40vh !important;
        left: 0 !important;
        margin: 0 auto !important;
        right: 0!important;
    }
/*
     .mobilefont {
        font-size: 80%
    }
    */
}
}


.mw-mmv-above-fold,.mw-mmv-dialog,.mw-mmv-image-links li,.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,.mw-mmv-options-dialog-header,.mw-mmv-options-text-header {
.negative {
     color: #e0e0e0
     color: #FF0000;
    font-weight: bold
}
}


.mw-mmv-above-fold {
.anglerect {
    background: #222;
    --angle-rect-clip-size: 16px;
     border-top: 1px solid #333
     clip-path: polygon(0 0,calc(100% - var(--angle-rect-clip-size)) 0,100% var(--angle-rect-clip-size),100% 100%,var(--angle-rect-clip-size) 100%,0 calc(100% - var(--angle-rect-clip-size)))
}
}


.mw-mmv-image-metadata {
.flex {
     background-color: #111;
     display: flex
    border-color: #333
}
}


.mw-mmv-dialog {
.mw-body {
     border: 1px solid #333;
     padding: 0.5em;
    background: #222;
     box-shadow: 0 0 2px black
     box-shadow: none
}
}


.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
.mw-body dd {
     background: #222;
     margin: 0.2em;
     border-bottom: 1px solid #333;
     margin-left: 1.6em
    border-right: 1px solid #333
}
}


.mw-mmv-options-enable-alert {
/* Общие стили для вкладок */
     background: #333;
.tabs-label {
     color: #e0e0e0
    cursor: pointer;
    padding: 1px 6px;
     background: transparent;
     border: 1px solid black;
}
}


.mw-mmv-filepage-buttons .mw-ui-button {
.tabs-label:hover {
     background: #36c;
     z-index: 2;
     color: #e0e0e0;
     background: #ddddff0d !important;
     border-color: #1d4699
     transition: all 0.1s;
}
}


.mw-default-size {
/* Стили для активных вкладок */
     background-color: #21212600 !important;
.tabs-tabbox > .tabs-input:checked + .tabs-label,
     border-color: black !important
.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
     background: #ddddff0d;
    border-top: 1px solid rgb(255 255 255 / 15%);
    border-bottom: 1px solid #3366cc;
     z-index: 2;
}
}


.mw-default-size img {
/* Стили для структуры вкладок */
     border-color: black !important
.tabs-tabbox > .tabs-input + .tabs-input + .tabs-label {
     margin: 0;
}
}


.mw-default-size figcaption {
.tabs-tabbox > .tabs-label {
     background-color: #21212600 !important;
    margin: 0;
     border-color: black !important
    vertical-align: baseline;
    border-radius: 0;
     background: transparent;
    border: 1px solid rgb(0 0 0 / 50%);
     border-top: 1px solid rgb(255 255 255 / 10%);
}
}


.mw-halign-right {
/* Стили для контейнера вкладок */
     background-color: #27272E00 !important;
.tabs-tabbox > .tabs-container {
     border-color: black !important
    padding: 14px 10px;
     background: #ddddff0d;
     border-radius: 0;
    border: 1px solid rgb(0 0 0 / 50%);
}
}


.mw-halign-right img {
.tabs-content ol {
     border-color: black !important
     margin: 0.3em 0 0 2.5em;
}
}


.mw-halign-right figcaption {
/* Класс для уменьшения яркости фона tabs */
     background-color: #27272E00 !important;
.tabs-no-background > .tabs-container {
    border-color: black !important
     background: #ddddff06;
}
}


.mw-halign-left {
.tooltip {
     background-color: #27272E00 !important;
     position: relative;
     border-color: black !important
     display: inline;
}
}


.mw-halign-left img {
.tooltiptext {
     border-color: black !important
    position: absolute;
    min-width: 240px;
    max-width: 100%;
    left: -240px;
    right: -240px;
    top: 125%;
    margin-left: auto;
    margin-right: auto;
    z-index: 99;
    padding: 22px;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.05s;
    border: 1px solid #3366cc;
     border-radius: 1.4rem;
    background-color: var(--oo-ui-block-bg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
}


.mw-halign-left figcaption {
.tooltip:hover>.tooltiptext {
     background-color: #27272E00 !important;
     visibility: visible;
     border-color: black !important
     opacity: 1;
}
}


.mw-halign-center {
@media screen and (min-width: 851px) {
     background-color: #27272E00 !important;
     .mobile {
     border-color: black !important
        display:none
}
     }


.mw-halign-center img {
    .headder {
    border-color: black !important
        width: 25%;
}
        float: right;
        margin-left: 1em
    }


.mw-halign-center figcaption {
    .stiky {
    background-color: #27272E00 !important;
        position: sticky;
     border-color: black !important
        top: 0.1em
     }
}
}


.reference {
@media screen and (max-width: 850px) {
    background-color: #27272E00 !important
    .nomobile {
}
        display:none
    }


ol.references li:target,sup.reference:target {
    .headder {
    background-color: #303037 !important
        width: 100%;
}
        margin-left: 0
    }
 
    .sidebar-inner {
        background: var(--oo-ui-block-bg);
        border: 1px solid black;
        color: lightgrey
    }
 
    .tooltip {
        position: static
    }


.oo-ui-inputWidget-input {
    .tooltiptext {
    background-color: #27272e !important;
        box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
    border: #37373e !important;
        position: fixed!important;
    color: #ffffff !important
        width: 80vw !important;
        top: 40vh !important;
        left: 0 !important;
        margin: 0 auto !important;
        right: 0!important;
    }
    /*
    .mobilefont {
        font-size: 80%
    }
    */
   
    .mobile-image img {
        width: 32px;
        height: 32px;
    }
}
}


.mw-search-profile-tabs {
.mw-mmv-above-fold,.mw-mmv-dialog,.mw-mmv-image-links li,.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,.mw-mmv-options-dialog-header,.mw-mmv-options-text-header {
     background-color: #27272e !important;
     color: #e0e0e0
    border: #37373e !important
}
}


.search-types .current a {
.mw-mmv-above-fold {
     color: #d3d3d3 !important;
     background: #222;
     cursor: default !important
     border-top: 1px solid #333
}
}


.mw-message-box-error {
.mw-mmv-image-metadata {
     background-color: #7b1919 !important;
     background-color: #111;
     border-color: #af2424 !important
     border-color: #333
}
}


.mw-message-box-warning {
.mw-mmv-dialog {
     background-color: #7b6919 !important;
    border: 1px solid #333;
     border-color: #af9a24 !important
     background: #222;
     box-shadow: none
}
}


#mw-header-nav-hack {
.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
     border-top: solid 2px #212126 !important;
     background: #222;
     display: block;
     border-bottom: 1px solid #333;
     position: absolute;
     border-right: 1px solid #333
    z-index: 98;
    background: #212126 !important;
    width: 100%
}
}


.ui-widget-overlay {
.mw-mmv-options-enable-alert {
     background: #000000 !important;
     background: #333;
     opacity: .3 !important
     color: #e0e0e0
}
}


.ui-widget-content {
.mw-mmv-filepage-buttons .mw-ui-button {
     border: 1px solid #4a4a57 !important;
     background: #36c;
     background: #212126 !important;
     color: #e0e0e0;
     color: #e0e0e0 !important
     border-color: #1d4699
}
}


.ui-widget-header {
.mw-default-size {
    border: 1px solid #4a4a57 !important;
     background-color: #21212600 !important;
     background: #212126 !important;
     border-color: black !important
    color: #e0e0e0 !important;
     font-weight: bold !important
}
}


#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt {
.mw-default-size img {
     width: 100% !important;
     border-color: black !important
    background-color: #27272e !important;
    color: #e0e0e0 !important
}
}


.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
.mw-default-size figcaption {
    box-sizing: border-box !important;
     background-color: #21212600 !important;
     background-color: #27272e !important;
     border-color: black !important
     color: #e0e0e0 !important
}
}


.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
.mw-halign-right {
     font-family: Verdana,Arial,sans-serif !important;
     background-color: var(--oo-ui-block-bg)00 !important;
    font-size: 1em !important;
     border-color: black !important
     background-color: #27272e !important;
    color: #e0e0e0 !important
}
}


.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default {
.mw-halign-right img {
     border: 1px solid #4a4a57 !important;
     border-color: black !important
    background: #27272e !important;
    font-weight: normal !important;
    color: #e0e0e0 !important
}
}


.ui-state-hover,.ui-widget-contetn .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus {
.mw-halign-right figcaption {
    border: 1px solid #4a4a57 !important;
    background-color: var(--oo-ui-block-bg)00 !important;
     background: #4c4c59 !important;
     border-color: black !important
    font-weight: normal !important;
    color: #e0e0e0 !important
}
}


body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
.mw-halign-left {
     right: 0.9em !important;
     background-color: var(--oo-ui-block-bg)00 !important;
     background: #4c4c59 !important
     border-color: black !important
}
}


.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus {
.mw-halign-left img {
     padding: 0 !important;
     border-color: black !important
    background: #6c6c80 !important
}
}


ul#filetoc,.toc,.toccolours,.mw-warning {
.mw-halign-left figcaption {
    display: table !important;
     background-color: var(--oo-ui-block-bg)00 !important;
     background-color: #27272e !important;
     border-color: black !important
    border: solid #000000 !important;
    border-radius: 0.9em;
    border-width: 1px 1px 0.2em !important;
    box-shadow: 0 1px 2px 1px rgb(39 0 255 / 17%) !important;
    padding: 1.25em 1.75em !important;
    margin-top: 1em !important;
    margin-bottom: 1em !important;
    min-width: 15em !important;
     font-size: 100% !important
}
}


.mw-body h1 {
.mw-halign-center {
     font-family: 'oswald';
     background-color: var(--oo-ui-block-bg)00 !important;
     font-size: 2em
     border-color: black !important
}
}


.mw-body .toctitle h2 {
.mw-halign-center img {
     font-family: 'oswald';
    border-color: black !important
     font-size: 1.2em
}
 
.mw-halign-center figcaption {
     background-color: var(--oo-ui-block-bg)00 !important;
     border-color: black !important
}
}


.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context {
.reference {
    font-family: monospace,monospace !important;
     background-color: var(--oo-ui-block-bg)00;
     background-color: #1b1b1f !important;
    border-color: #1b1b1f !important;
    color: white !important
}
}


.diff-deletedline .diffchange {
ol.references li:target,sup.reference:target {
     background: #4c3c16 !important
     background-color: #ffffff0f;
    padding: 0px 1px 3px 1px;
}
}


.diff-addedline .diffchange {
.oo-ui-inputWidget-input {
     background: #16324d !important
     background-color: var(--oo-ui-block-bg) !important;
    border-color: var(--oo-ui-block-border) !important;
    color: white !important
}
.oo-ui-indicator-down {
filter: invert(0.7);
}
}


.mw-json th,.mw-json td {
.oo-ui-dropdownWidget {
    border: 1px solid #000000;
background-color: var(--oo-ui-block-bg);
    font-size: 16px;
    padding: 0.5em 1em
}
}


.mw-json tr {
.oo-ui-dropdownWidget-handle {
     background-color: #212126;
     background-color: var(--oo-ui-block-bg) !important;
     margin-bottom: 0.5em
     border-color: var(--oo-ui-block-border);
    color: white !important;
}
}


.mw-json th {
.mw-widget-dateInputWidget-handle {
     background-color: #303037;
     background-color: var(--oo-ui-block-bg);
     font-weight: normal;
     border-color: var(--oo-ui-block-border);
    vertical-align: top;
     color: white !important;
     color: #d3d3d3
}
}


.mw-json th span {
.mw-search-profile-tabs {
     -webkit-position: sticky;
     background-color: var(--oo-ui-block-bg) !important;
     position: sticky;
     border: var(--oo-ui-block-border) !important;
    top: 0.5em
}
}


.mw-json-value,.mw-json-single-value {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
     background-color: #1b5929;
     background: var(--oo-ui-block-bg-light);
     font-family: monospace,monospace;
     border-color: var(--oo-ui-block-border-light);
    white-space: pre-wrap;
     color: lightgrey;
     color: #d3d3d3
}
}


.mw-json-empty {
.search-types .current a {
     background-color: #1b5929;
     color: #d3d3d3 !important;
     font-style: italic;
     cursor: default !important
    color: #d3d3d3
}
}


.hover_img_special {
.mw-message-box-error {
     top: 0;
     background-color: #7b1919 !important;
     left: 0;
     border-color: #af2424 !important
    display: none
}
}


.img_special:hover .hover_img_special {
.mw-message-box-warning {
     display: inline
    background-color: #7b6919 !important;
     border-color: #af9a24 !important
}
}


.img_special:hover .img_spec {
#mw-header-nav-hack {
     display: none
    border-top: solid 2px #212126 !important;
}
     display: block;
 
    position: absolute;
.ace-tm .ace_gutter {
    z-index: 98;
     background: #212126;
     background: #212126 !important;
     color: #333
     width: 100%
}
}


.ace-tm .ace_print-margin {
.ui-widget-overlay {
     width: 1px;
     background: #000000 !important;
     background-color: #1b1b1f
     opacity: .3 !important
}
}


.ace-tm {
.ui-widget-content {
     background-color: #1b1b1f;
    border: 1px solid #4a4a57 !important;
     color: lightgrey
     background: #212126 !important;
     color: #e0e0e0 !important
}
}


.ace-tm .ace_cursor {
.ui-widget-header {
     color: white
    border: 1px solid #4a4a57 !important;
    background: #212126 !important;
     color: #e0e0e0 !important;
    font-weight: bold !important
}
}


.ace-tm .ace_storage,.ace-tm .ace_keyword {
.mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
    color: rgb(153,153,255)
color: var(--color-text-dark);
}
}


.ace-tm .ace_constant.ace_numeric {
.mw-rcfilters-ui-itemMenuOptionWidget-label-title {
     color: rgb(153,153,205)
     color: lightgrey;
}
}


.ace-tm .ace_constant {
#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt {
     color: rgb(241,89,92)
     width: 100% !important;
    background-color: var(--oo-ui-block-bg) !important;
    color: #e0e0e0 !important
}
}


.ace-tm .ace_support.ace_function {
.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
     color: rgb(68,118,235)
     box-sizing: border-box !important;
    background-color: var(--oo-ui-block-bg) !important;
    color: #e0e0e0 !important
}
}


.ace-tm .ace_support.ace_constant {
.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
     color: rgb(23,202,33)
     font-family: Verdana,Arial,sans-serif !important;
    font-size: 1em !important;
    background-color: var(--oo-ui-block-bg) !important;
    color: #e0e0e0 !important
}
}


.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {
.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default {
     color: rgb(182,187,236)
     border: 1px solid #4a4a57 !important;
    background: var(--oo-ui-block-bg) !important;
    font-weight: normal !important;
    color: #e0e0e0 !important
}
}


.ace-tm .ace_string {
.ui-state-hover,.ui-widget-contetn .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus {
     color: rgb(6,142,13)
    border: 1px solid #4a4a57 !important;
    background: #4c4c59 !important;
    font-weight: normal !important;
     color: #e0e0e0 !important
}
}


.ace-tm .ace_comment {
body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
     color: rgb(103,193,150)
     right: 0.9em !important;
    background: #4c4c59 !important
}
}


.ace-tm .ace_constant.ace_numeric {
.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus {
     color: rgb(153,153,255)
     padding: 0 !important;
    background: #6c6c80 !important
}
}


.ace-tm .ace_marker-layer .ace_selection {
ul#filetoc,.toc,.toccolours,.mw-warning {
     background: rgb(28,45,68)
    display: table !important;
    background-color: var(--oo-ui-block-bg) !important;
    border: solid #000000 !important;
    border-radius: 0.9em;
    border-width: 1px 1px 0.2em !important;
     box-shadow: 0 1px 2px 1px rgb(39 0 255 / 17%) !important;
    padding: 1.25em 1.75em !important;
    margin-top: 1em !important;
    margin-bottom: 1em !important;
    min-width: 15em !important;
    font-size: 100% !important
}
}


.ace-tm .ace_marker-layer .ace_bracket {
.mw-body h1 {
     margin: -1px 0 0 -1px;
     font-family: 'oswald';
     border: 1px solid rgb(94,94,94)
     font-size: 2em
}
}


.ace-tm .ace_marker-layer .ace_active-line {
.mw-body .toctitle h2 {
     background: rgb(153,153,183,7%)
    font-family: 'oswald';
     font-size: 1.2em
}
}


.ace-tm .ace_gutter-active-line {
.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context {
     background-color: rgb(44,44,51)
    font-family: monospace,monospace !important;
     background-color: #1b1b1f !important;
    border-color: #1b1b1f !important;
    color: white !important
}
}


.ace-tm .ace_marker-layer .ace_selected-word {
.diff-deletedline .diffchange {
     background: rgb(37,59,89);
     background: #4c3c16 !important
    border: 1px solid rgb(36,36,42)
}
}


.codeEditor-status {
.diff-addedline .diffchange {
    clear: both;
     background: #16324d !important
    width: 100%;
     background-color: #212126;
    border-top: 1px solid #40404b;
    display: table
}
}


.codeEditor-status-message {
.mw-json th,.mw-json td {
     border-left: 1px solid #40404b;
     border: 1px solid #000000;
     border-right: 1px solid #40404b;
     font-size: 16px;
     padding: 0 0.3em;
     padding: 0.5em 1em
    width: 100%;
    display: table-cell
}
}


.ace_search {
.mw-json tr {
     background-color: #212126;
     background-color: #212126;
     color: #d3d3d3;
     margin-bottom: 0.5em
    border: 1px solid #383843;
    border-top: 0 none;
    overflow: hidden;
    margin: 0;
    padding: 4px 6px 0 4px;
    position: absolute;
    top: 0;
    z-index: 99;
    white-space: normal
}
}


.ace_search_form.ace_nomatch {
.mw-json th {
     outline: 1px solid #922626
     background-color: #303037;
    font-weight: normal;
    vertical-align: top;
    color: #d3d3d3
}
}


.ace_search_field {
.mw-json th span {
     border-radius: 3px 0 0 3px;
     -webkit-position: sticky;
    background-color: #27272e;
     position: sticky;
     color: #d3d3d3;
     top: 0.5em
     border: 1px solid #383843;
    border-right: 0 none;
    outline: 0;
    padding: 0;
    font-size: inherit;
    margin: 0;
    line-height: inherit;
    padding: 0 6px;
    min-width: 17em;
    vertical-align: top;
    min-height: 1.8em;
    box-sizing: content-box
}
}


.ace_searchbtn {
.mw-json-value,.mw-json-single-value {
     border: 1px solid #383843;
     background-color: #1b5929;
     line-height: inherit;
     font-family: monospace,monospace;
     display: inline-block;
     white-space: pre-wrap;
     padding: 0 6px;
     color: #d3d3d3
    background: #27272e;
}
    border-right: 0 none;
 
     border-left: 1px solid #383843;
.mw-json-empty {
     cursor: pointer;
     background-color: #1b5929;
    margin: 0;
     font-style: italic;
    position: relative;
     color: #d3d3d3
     color: #d3d3d3
}
}


.ace_searchbtn:last-child {
.hover_img_special {
     border-radius: 0 3px 3px 0;
     top: 0;
     border-right: 1px solid #383843
    left: 0;
     display: none
}
}


.ace_searchbtn:hover {
.img_special:hover .hover_img_special {
     background-color: #1b1b1f
     display: inline
}
}


.ace_searchbtn.prev:after {
.img_special:hover .img_spec {
    content: "";
     display: none
    border: solid 2px #d3d3d3;
    width: 0.5em;
    height: 0.5em;
    border-width: 2px 0 0 2px;
     display: inline-block;
    transform: rotate(-45deg)
}
}


.ace_searchbtn.next:after {
.ace-tm .ace_gutter {
     content: "";
     background: #212126;
     border: solid 2px #d3d3d3;
     color: #333
    width: 0.5em;
    height: 0.5em;
    border-width: 2px 0 0 2px;
    display: inline-block;
    transform: rotate(135deg)
}
}


.ace_button {
.ace-tm .ace_print-margin {
    margin-left: 2px;
     width: 1px;
    cursor: pointer;
     background-color: #1b1b1f
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
     -ms-user-select: none;
    user-select: none;
    overflow: hidden;
    opacity: 0.7;
    border: 1px solid rgb(56,56,68);
    padding: 1px;
    box-sizing: border-box!important;
    color: #d3d3d3;
     background-color: #27272e
}
}


.ace_button:hover {
.ace-tm {
     background-color: #1b1b1f;
     background-color: #1b1b1f;
     opacity: 1
     color: lightgrey
}
}


.ace_button:active {
.ace-tm .ace_cursor {
     background-color: #101013
     color: white
}
}


::-webkit-scrollbar {
.ace-tm .ace_storage,.ace-tm .ace_keyword {
     background-color: #424242
     color: rgb(153,153,255)
}
}


::-webkit-scrollbar-thumb {
.ace-tm .ace_constant.ace_numeric {
     background-color: #686868;
     color: rgb(153,153,205)
    border: 2px solid #424242;
    border-radius: 4px
}
}


::-webkit-scrollbar-thumb:hover {
.ace-tm .ace_constant {
     background-color: #7b7b7b
     color: rgb(241,89,92)
}
}


::-webkit-scrollbar-thumb:active {
.ace-tm .ace_support.ace_function {
     background-color: #a1a1a1
     color: rgb(68,118,235)
}
}


.style-for-sub-numbered-lists ol {
.ace-tm .ace_support.ace_constant {
     counter-reset: item
     color: rgb(23,202,33)
}
}


.style-for-sub-numbered-lists li {
.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {
     display: block
     color: rgb(182,187,236)
}
}


.style-for-sub-numbered-lists li:before {
.ace-tm .ace_string {
     content: counters(item,".") ". ";
     color: rgb(6,142,13)
    counter-increment: item
}
}


.section {
.ace-tm .ace_comment {
     display: flex;
     color: rgb(103,193,150)
    flex-wrap: wrap
}
}


.section .col {
.ace-tm .ace_constant.ace_numeric {
     flex: 1 1 auto
     color: rgb(153,153,255)
}
}


.section .line-break {
.ace-tm .ace_marker-layer .ace_selection {
     flex-basis: 100%;
     background: rgb(28,45,68)
    width: 0px;
    height: 0px;
    overflow: hidden
}
}


.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,.mw-changeslist-legend,.mw-body .mw-search-profile-tabs,.mw-body fieldset#mw-searchoptions,.mw_metadata,.mw-datatable {
.ace-tm .ace_marker-layer .ace_bracket {
     color: #d3d3d3;
     margin: -1px 0 0 -1px;
    background: #303037;
     border: 1px solid rgb(94,94,94)
    border: solid #000000;
    border-width: 1px 1px 0.2em;
     padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02)
}
}


.mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td {
.ace-tm .ace_marker-layer .ace_active-line {
     border:none;
     background: rgb(153,153,183,7%)
    padding:0.5em;
}
}


.mw-datatable th {
.ace-tm .ace_gutter-active-line {
     background: #212126
     background-color: rgb(44,44,51)
}
}


.mw-datatable td {
.ace-tm .ace_marker-layer .ace_selected-word {
     background-color: #303037
     background: rgb(37,59,89);
    border: 1px solid rgb(36,36,42)
}
}


.mw-datatable tr:hover td {
.codeEditor-status {
     background-color: #3f3f48
    clear: both;
    width: 100%;
     background-color: #212126;
    border-top: 1px solid #40404b;
    display: table
}
}


.pretoclip-copy-button {
.codeEditor-status-message {
     float: right
     border-left: 1px solid #40404b;
    border-right: 1px solid #40404b;
    padding: 0 0.3em;
    width: 100%;
    display: table-cell
}
}


.mw-scribunto-console-fieldset {
.ace_search {
    background-color: #212126;
     color: #d3d3d3;
     color: #d3d3d3;
     background: none;
     border: 1px solid #383843;
     border: 3px solid #27272e
    border-top: 0 none;
     overflow: hidden;
    margin: 0;
    padding: 4px 6px 0 4px;
    position: absolute;
    top: 0;
    z-index: 99;
    white-space: normal
}
}


.mw-scribunto-message {
.ace_search_form.ace_nomatch {
     color: #008000;
     outline: 1px solid #922626
    background: none
}
}


#mw-scribunto-input {
.ace_search_field {
     width: 100%;
    border-radius: 3px 0 0 3px;
     border: 0;
    background-color: var(--oo-ui-block-bg);
     overflow: auto;
    color: #d3d3d3;
     background: #303037
    border: 1px solid #383843;
    border-right: 0 none;
    outline: 0;
    padding: 0;
    font-size: inherit;
    margin: 0;
    line-height: inherit;
    padding: 0 6px;
     min-width: 17em;
     vertical-align: top;
     min-height: 1.8em;
     box-sizing: content-box
}
}


.mw-scribunto-input {
.ace_searchbtn {
     color: #d3d3d3;
     border: 1px solid #383843;
     font: inherit;
     line-height: inherit;
     font-weight: bold;
     display: inline-block;
     margin-top: 0.5em
    padding: 0 6px;
    background: var(--oo-ui-block-bg);
    border-right: 0 none;
    border-left: 1px solid #383843;
    cursor: pointer;
     margin: 0;
    position: relative;
    color: #d3d3d3
}
}


.table-flex {
.ace_searchbtn:last-child {
     display: flex;
     border-radius: 0 3px 3px 0;
    flex-direction: row;
     border-right: 1px solid #383843
     flex-wrap: wrap;
    justify-content: space-evenly
}
}


.boxes-flex {
.ace_searchbtn:hover {
     padding: 0;
     background-color: #1b1b1f
    margin: 0;
    text-align: center
}
}


.role-big-title {
.ace_searchbtn.prev:after {
     margin: 0px;
     content: "";
     text-align: center;
     border: solid 2px #d3d3d3;
     font-size: 40px;
     width: 0.5em;
     line-height: 50px;
     height: 0.5em;
     border-radius: 8px
     border-width: 2px 0 0 2px;
    display: inline-block;
    transform: rotate(-45deg)
}
}


.role-block-radius {
.ace_searchbtn.next:after {
     border-radius: 8px
    content: "";
     border: solid 2px #d3d3d3;
    width: 0.5em;
    height: 0.5em;
    border-width: 2px 0 0 2px;
    display: inline-block;
    transform: rotate(135deg)
}
}


.role-block-name {
.ace_button {
     padding: 2px;
    margin-left: 2px;
     border-radius: .3em;
    cursor: pointer;
     margin-bottom: .2em
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
    opacity: 0.7;
    border: 1px solid rgb(56,56,68);
     padding: 1px;
     box-sizing: border-box!important;
    color: #d3d3d3;
     background-color: var(--oo-ui-block-bg)
}
}


.story-text {
.ace_button:hover {
     text-indent: 19px;
     background-color: #1b1b1f;
     text-align: justify
     opacity: 1
}
}


.story-dialogue {
.ace_button:active {
     line-height: 1.2
     background-color: #101013
}
}


.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
::-webkit-scrollbar {
     display: block;
     background-color: #424242
    position: relative;
    margin: 0px 25%
}
}


.mw-gallery-slideshow .gallerybox.slideshow-current {
::-webkit-scrollbar-thumb {
     background: #28282e
     background-color: #686868;
    border: 2px solid #424242;
    border-radius: 4px
}
}


.gallerytext {
::-webkit-scrollbar-thumb:hover {
    overflow: hidden;
     background-color: #7b7b7b
    font-size: 94%;
    padding: 2px 4px;
    word-wrap: break-word;
     text-align: center
}
}


#content .gallerybox div.thumb {
::-webkit-scrollbar-thumb:active {
     background-color: #f8f9fa00
     background-color: #a1a1a1
}
}


.mw-body li.gallerybox div.thumb {
.style-for-sub-numbered-lists ol {
     background: #f8f9fa00;
     counter-reset: item
    border: solid #28282e;
    border-width: 1px 1px 0.2em;
    padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);
    padding: 0
}
}


.title-no-bottom-border {
.style-for-sub-numbered-lists li {
     border-bottom: none !important
     display: block
}
}


.title-top-border {
.style-for-sub-numbered-lists li:before {
     border-top: solid 2px #c8ccd1
     content: counters(item,".") ". ";
    counter-increment: item
}
}


@media (min-width: 1340px) {
.section {
     #mw-content-block {
     display: flex;
        display:block
     flex-wrap: wrap
     }
}


    #mw-content {
.section .col {
        margin-left: 14em;
    flex: 1 1 auto
        padding: 2em 0 0
}
    }


    #mw-content-wrapper {
.section .line-break {
        float: right;
    flex-basis: 100%;
        margin-left: -14em;
    width: 0px;
        background: transparent;
    height: 0px;
        width: 100%
    overflow: hidden
    }
}


    #mw-related-navigation {
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,.mw-changeslist-legend,.mw-body fieldset#mw-searchoptions,.mw_metadata,.mw-datatable {
        width: 14em;
    color: #d3d3d3;
        padding: 0 1em 0 0
    background: var(--oo-ui-block-gradient);
    }
    border: 1px solid var(--oo-ui-block-bg);
    padding: 12px 10px;
    box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.3);
}


    .color-middle {
.mw-rcfilters-ui-filterMenuHeaderWidget-header {
        margin-right: 0
    background: var(--oo-ui-block-bg);
    }
}


    .mw-wiki-logo {
.oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-iconElement-icon, .oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-indicatorElement-indicator {
        display: inline-block
filter: invert(0.7);
    }
}


    #catlinks {
.mw-rcfilters-ui-filterMenuHeaderWidget-title.oo-ui-labelElement-label {
        margin-left: 14em
    color: lightgray;
     }
     font-weight: bold;
}
}


#footer {
.oo-ui-iconElement-icon.oo-ui-icon-search {
     padding-right: 1em
     filter: invert(0.7);
}
}


.mw-body h2 {
#mw-search-toggleall {
     font-size: 1.8em;
     background-color: var(--oo-ui-block-bg);
     border-bottom: solid 2px #3366cc
     border-color: var(--oo-ui-block-border);
}
}


#mw-site-navigation .sidebar-chunk h3,#mw-related-navigation .sidebar-chunk h3 {
#mw-search-togglenone {
     border-bottom: solid 2px #3366cc
    background-color: var(--oo-ui-block-bg);
     border-color: var(--oo-ui-block-border);
}
}


.target {
#mw-searchoptions .divider {
     border-bottom: 1px solid darkblue
     border-color: var(--oo-ui-block-border-light);
}
}


.target:target {
.mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td {
     border-bottom: 2px solid gold;
     border:none;
     transition: border 0.7s cubic-bezier(0.4,0,0.2,1)
     padding:0.5em;
}
}


.backlight:hover {
.mw-datatable th {
    box-shadow: 0 0 0.3em gold;
     background: #212126
     background-color: #1b1b1f
}
}


#main.backlight:hover {
.mw-datatable td {
     box-shadow: inset 0 0 23em #00000066;
     background-color: #303037
    border-radius: 8px
}
}


#strongwhite {
.mw-datatable tr:hover td {
     color: white !important
     background-color: #3f3f48
}
}
/*затемнение для мобилок*/
 
#menus-cover {
.pretoclip-copy-button {
     background: #000000;
     float: right
    opacity: 0.4
}
}
.oo-ui-tagMultiselectWidget-handle,.oo-ui-panelLayout-padded {
 
     background: #1b1b1f;
.mw-scribunto-console-fieldset {
     border: 1px solid black;
     color: #d3d3d3;
     border-radius: 0
     background: none;
     border: 3px solid var(--oo-ui-block-bg)
}
}
/*Красивые картинки*/
 
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
.mw-scribunto-message {
     margin: 0 0 0.5em 0.5em;
     color: #008000;
    border:1px solid black;
     background: none
    border-bottom:0;
    border-radius:0.9em 0.9em 0 0;
     background:#1b1b1f;
}
}
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
 
     border-radius: 0 0 0.9em 0.9em;
#mw-scribunto-input {
     border:1px solid black;
     width: 100%;
     border-top:0;
     border: 0;
     background:#1b1b1f;
     overflow: auto;
    padding-bottom:5px;
     background: #303037
    font-family:oswald;
    font-size:1em;
}
}


figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) {
.mw-scribunto-input {
     margin: 5px;
    color: #d3d3d3;
     border-radius: 0.4em;
    font: inherit;
     font-weight: bold;
     margin-top: 0.5em
}
}
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{
 
     border-collapse:separate;
.table-flex {
    display: flex;
    flex-direction: row;
     flex-wrap: wrap;
    justify-content: space-evenly
}
}
.mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{
 
     border-bottom: 1px solid #3366cc;
.boxes-flex {
    padding: 0;
    margin: 0;
     text-align: center
}
}


/*кнопка для главного меню*/
.role-big-title {
.StupidButton {
     margin: 0px;
     width: 100%;
     text-align: center;
     height: 100%;
     font-size: 40px;
     position: absolute;
     line-height: 50px;
     top: 0;
     border-radius: 8px
     left: 0
}
}
/*Цвета таблиц для разных отделов*/
 
#MED.wikitable {
.role-block-radius {
     background: #1a3432;
     border-radius: 8px
    color: #dddddd;
}
}


#MED.wikitable>*>tr>th {
.role-block-name {
     background: #1a3432;
     padding: 2px;
     color: #dddddd;
     border-radius: .3em;
    margin-bottom: .2em
}
}


#MED.wikitable > * > tr > td {
.story-text {
     background: #224d49;
     text-indent: 19px;
     color: #dddddd;
     text-align: justify
}
}


#ENG.wikitable {
.story-dialogue {
     background: #937625;
     line-height: 1.2
    color: #dddddd;
}
}


#ENG.wikitable>*>tr>th {
.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
     background: #937625;
     display: block;
     color: #dddddd;
     position: relative;
    margin: 0px 25%
}
}


#ENG.wikitable > * > tr > td {
.mw-gallery-slideshow .gallerybox.slideshow-current {
     background: #9d843b;
     background: #28282e
    color: #dddddd;
}
}


#SEC.wikitable {
.gallerytext {
     background: #404144;
     overflow: hidden;
     color: #dddddd;
     font-size: 94%;
    padding: 2px 4px;
    word-wrap: break-word;
    text-align: center
}
}


#SEC.wikitable>*>tr>th {
#content .gallerybox div.thumb {
     background: #9f2828;
     background-color: #f8f9fa00
    color: #dddddd;
}
}


#SEC.wikitable > * > tr > td {
.mw-body li.gallerybox div.thumb {
     background: #515255;
     background: #f8f9fa00;
     color: #dddddd;
     border: solid #28282e;
    border-width: 1px 1px 0.2em;
    padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);
    padding: 0
}
}


#SRV.wikitable {
.title-no-bottom-border {
     background: #316f20;
     border-bottom: none !important
    color: #dddddd;
}
}


#SRV.wikitable>*>tr>th {
.title-top-border {
     background: #316f20;
     border-top: solid 2px #c8ccd1
    color: #dddddd;
}
}


#SRV.wikitable >*> tr > td {
@media (min-width: 1340px) {
     background: #40852b;
     #mw-content-block {
    color: #dddddd;
        display:block
}
    }


#RND.wikitable {
    #mw-content {
    background: #800080;  
        margin-left: 14em;
    color: #dddddd;
        padding: 2em 0 0
}
    }


#RND.wikitable>*>tr>th {
    #mw-content-wrapper {
    background: #800080;
        float: right;
    color: #dddddd;
        margin-left: -14em;
}
        background: transparent;
        width: 100%
    }


#RND.wikitable > * > tr > td {
    #mw-related-navigation {
    background: #8F3B95;
        width: 14em;
    color: #dddddd;
        padding: 0 1em 0 0
}
    }


#SUP.wikitable {
    .color-middle {
    background: #7A450C;
        margin-right: 0
     color: #dddddd;
     }
}


#SUP.wikitable>*>tr>th {
    .mw-wiki-logo {
     background: #7A450C;
        display: inline-block
     color: #dddddd;
     }
 
    #catlinks {
        margin-left: 14em
     }
}
}


#SUP.wikitable > * > tr > td {
#footer {
     background: #7C4C18;
     padding-right: 1em
    color: #dddddd;
}
}


/*Альтернативные цвета таблиц для разных отделов*/
.mw-body h2 {
#aMED.wikitable {
     font-size: 1.8em;
     background: #27272E;
     border-bottom: solid 2px #3366cc
     color: #dddddd;
}
}


#aMED.wikitable>*>tr>th {
.mw-body h4 {
     background: #1a3432;
     font-weight: bold;
     color: #dddddd;
     font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif;
    font-size: 1.1em;
}
}


#aMED.wikitable > * > tr > td {
#mw-site-navigation .sidebar-chunk h3,#mw-related-navigation .sidebar-chunk h3 {
     background: #32323C;
     border-bottom: solid 2px #3366cc
    color: #dddddd;
}
}


#aENG.wikitable {
.target {
     background: #27272E;
     border-bottom: 1px solid darkblue
    color: #dddddd;
}
}


#aENG.wikitable>*>tr>th {
.target:target {
     background: #977924;
     border-bottom: 2px solid gold;
     color: #dddddd;
     transition: border 0.7s cubic-bezier(0.4,0,0.2,1)
}
}


#aENG.wikitable > * > tr > td {
.backlight:hover {
     background: #32323C;
     box-shadow: 0 0 0.3em gold;
     color: #dddddd;
     background-color: #00000025;
}
}


#aSEC.wikitable {
#main.backlight:hover {
     background: #27272E;
     box-shadow: inset 0 0 23em #00000066;
     color: #dddddd;
     border-radius: 8px
}
}


#aSEC.wikitable>*>tr>th {
#strongwhite, #strongwhite p, #strongwhite h1, #strongwhite h2, #strongwhite h3, #strongwhite h4, #strongwhite h5, #strongwhite h6, #strongwhite li {
    background: #9f2828;
     color: #e9e9e9 !important
     color: #dddddd;
}
}
 
/*затемнение для мобилок*/
#aSEC.wikitable > * > tr > td {
#menus-cover {
     background: #32323C;
     background: #000000;
     color: #dddddd;
     opacity: 0.4
}
}
 
.oo-ui-tagMultiselectWidget-handle,.oo-ui-panelLayout-padded {
#aSRV.wikitable thead tr th,
     background: #1b1b1f;
#aSRV.wikitable:not(:has(thead)) tr:first-of-type th {
     border: 1px solid black;
    position: relative;
     border-radius: 0
     background-color: #207320;
     border-bottom: 0.2em solid #00000059;
     box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
}
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
/*Красивые картинки*/
#aSRV.wikitable thead + tbody > tr th {
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
     background: #258525;
    margin: 0 0 0.5em 0.5em;
     border-bottom: 0.1em solid #00000059;
     border:1px solid black;
     border-left: 0.2em solid #00000059;
     border-bottom:0;
     border-radius:0.9em 0.9em 0 0;
    background:#1b1b1f;
}
}
 
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
#aRND.wikitable {
    border-radius: 0 0 0.9em 0.9em;
     background: #27272E;  
    border:1px solid black;
     color: #dddddd;
    border-top:0;
}
     background:#1b1b1f;
 
     padding-bottom:5px;
#aRND.wikitable>*>tr>th {
     font-family:oswald;
     background: #800080;
     font-size:1em;
     color: #dddddd;
}
}


#aRND.wikitable > * > tr > td {
figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) {
     background: #32323C;
    margin: 5px;
     color: #dddddd;
    border-radius: 0.4em;
}
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{
     border-collapse:separate;
}
.mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{
     border-bottom: 1px solid #3366cc;
}
}


#aSUP.wikitable {
/*кнопка для главного меню*/
     background: #27272E;
.StupidButton {
     color: #dddddd;
     width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
     z-index: 100;
}
}


#aSUP.wikitable>*>tr>th {
/*Цвета таблиц для разных отделов*/
    background: #7A450C;
 
    color: #dddddd;
/* Таблица */
#MED.wikitable {
background: #01453e;
border-spacing: 0px;
}
}


#aSUP.wikitable > * > tr > td {
/* Заголовок */
     background: #32323C;
#MED.wikitable thead tr th,
     color: #dddddd;
#MED.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
     background-color: #01453e;
     border-bottom: 3px solid #00000015;
}
}


/*таблицы*/
/* Заглавная ячейка */
@media screen and (max-width: 850px) {
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
    .wikitable {
#MED.wikitable thead + tbody > tr th {
        font-size:0.65em;
    background: #005b53;
        padding:5px !important;
    border-bottom: 1px solid #01453e;
    }
        .wikitable:not(.freeimg)>*>*>th:not(.freeimg) img{
        height:auto;
        width:32px;
    }
    .wikitable.mobileimg>*>*>td img{
        height:auto;
        width:32px;
    }
}
}
/* Старые таблицы
 
.wikitable {
/* Ячейка с содержимым */
     background: #303037;
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
     border: 1px solid #37373e;
#MED.wikitable thead + tbody > tr td {
     color: white
     background: #1f635d;
     border-bottom: 1px solid #01453e;
     border-left: 1px solid #005b53;
}
}


.wikitable>tr>th,.wikitable>tr>td,.wikitable>*>tr>th,.wikitable>*>tr>td {
/* Таблица */
    border: 1px solid black
#ENG.wikitable {
background: #775f0e;
border-spacing: 0px;
}
}


.wikitable>*>tr>th {
/* Заголовок */
     background: #27272e;
#ENG.wikitable thead tr th,
     border: 1px solid black;
#ENG.wikitable:not(:has(thead)) tr:first-of-type th {
    color: white
    position: relative;
     background-color: #775f0e;
     border-bottom: 3px solid #00000015;
}
}
*/


/* загруглённые таблицы */
/* Заглавная ячейка */
.wikitable {
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
     border-spacing: 1px;
#ENG.wikitable thead + tbody > tr th {
    padding: 12px;
     background: #8f7210;
     border-collapse: separate;
     border-bottom: 1px solid #775f0e;
    border: 1px solid black;
    border-radius: 1em;
    background: #27272e
}
}


.wikitable>*>tr>*{
/* Ячейка с содержимым */
     padding:0.4em !important;
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
     margin:0 !important;
#ENG.wikitable thead + tbody > tr td {
     border: none;
     background: #977e31;
     border-bottom: 1px solid #775f0e;
     border-left: 1px solid #8f7210;
}
}


.wikitable>*>tr>td {
#SEC.wikitable {
     background: #32323c;
     background: #404144;
    color: #dddddd;
}
}
/* Неразрывные пробелы в горизонтальных списках
 
  @источник: https://ru.wikipedia.org/wiki/MediaWiki:Common.css
#SEC.wikitable>*>tr>th {
  @Распорстраняется под CC BY-SA 4.0
    background: #912424;
  @автор: [[Участник:WindEwriX]]*/
    color: #dddddd;
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
white-space: nowrap;
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/


/* Style for horizontal lists (separator following item).
#SEC.wikitable > * > tr > td {
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
    background: #515255;
  @revision 9 (2016-08-10)
    color: #dddddd;
  @Распорстраняется под CC BY-SA 4.0
}
  @author [[User:Edokter]]
 
*/
#SRV.wikitable {
.hlist dl,
    background: #316f20;
.hlist.hlist ol,
    color: #dddddd;
.hlist.hlist ul {
margin: 0;
padding: 0;
}
}
/* Display list items inline */
 
.hlist dd,
#SRV.wikitable>*>tr>th {
.hlist dt,
    background: #316f20;
.hlist li {
    color: #dddddd;
margin: 0;
display: inline;
}
}
/* Display nested lists inline */
 
.hlist.inline,
#SRV.wikitable >*> tr > td {
.hlist.inline dl,
    background: #40852b;
.hlist.inline ol,
    color: #dddddd;
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
}
/* Hide empty list items */
 
.hlist .mw-empty-li,
/* Таблица */
.hlist .mw-empty-elt {
#RND.wikitable {
display: none;
background: #630069;
border-spacing: 0px;
}
}
/* Generate bullets */
 
.hlist dt:after {
/* Заголовок */
content: ": ";
#RND.wikitable thead tr th,
#RND.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #630069;
    border-bottom: 3px solid #00000015;
}
}
.hlist dd:after,
 
.hlist li:after {
/* Заглавная ячейка */
content: "\00a0· ";
#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
font-weight: bold;
#RND.wikitable thead + tbody > tr th {
    background: #7c0183;
    border-bottom: 1px solid #630069;
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
/* Ячейка с содержимым */
.hlist li:last-child:after {
#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
content: none;
#RND.wikitable thead + tbody > tr td {
    background: #84328f;
    border-bottom: 1px solid #630069;
    border-left: 1px solid #7c0183;
}
}
/* 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,
#SUP.wikitable {
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
background: #6f3d0a;
content: " (";
border-spacing: 0px;
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 {
#SUP.wikitable thead tr th,
content: ")";
#SUP.wikitable:not(:has(thead)) tr:first-of-type th {
font-weight: normal;
    position: relative;
    background-color: #6f3d0a;
    border-bottom: 3px solid #00000015;
}
}
/* Put ordinals in front of ordered list items */
 
.hlist ol {
/* Заглавная ячейка */
counter-reset: listitem;
#SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#SUP.wikitable thead + tbody > tr th {
    background: #85490c;
    border-bottom: 1px solid #6f3d0a;
}
}
.hlist ol > li {
 
counter-increment: listitem;
/* Ячейка с содержимым */
#SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#SUP.wikitable thead + tbody > tr td {
    background: #8f5a23;
    border-bottom: 1px solid #6f3d0a;
    border-left: 1px solid #85490c;
}
}
.hlist ol > li:before {
 
content: " " counter(listitem) "\a0";
 
/*Альтернативные цвета таблиц для разных отделов*/
#aMED.wikitable thead tr th,
#aMED.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #004d45;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}
.hlist dd ol > li:first-child:before,
 
.hlist dt ol > li:first-child:before,
#aMED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
.hlist li ol > li:first-child:before {
#aMED.wikitable thead + tbody > tr th {
content: " (" counter(listitem) "\a0";
    background: #0d747f;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/


/* Псевдо-модальное окно */
#aENG.wikitable thead tr th,
.pseudomodal--caller {
#aENG.wikitable:not(:has(thead)) tr:first-of-type th {
  cursor:pointer;
    position: relative;
    background-color: #715609;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}


.pseudomodal {
#aENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
    overflow-y: auto;
#aENG.wikitable thead + tbody > tr th {
    display: flex;
     background: #957710;
    flex-direction: column;
     border-bottom: 0.1em solid #00000059;
    visibility: hidden;
     border-left: 0.2em solid #00000059;
    opacity: 0;
     background-color: #212126;
    width: 60%;
    height: 80%;
     border: 1px solid black;
     border-radius: 0.5rem;
    padding: 5px 25px;
    position: fixed;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100 !important;
    box-shadow: 0px 0px 0px 100vh rgba(0,0,0,0.6);
}
}


.pseudomodal--caller:focus-within + .pseudomodal {
#aRND.wikitable thead tr th,
  visibility: visible;
#aRND.wikitable:not(:has(thead)) tr:first-of-type th {
  opacity: 1;
    position: relative;
    background-color: #4e0163;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}


.pseudomodal:hover {
#aRND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
  visibility: visible;
#aRND.wikitable thead + tbody > tr th {
  opacity: 1;
    background: #78027f;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
}


.pseudomodal--header {
#aSUP.wikitable thead tr th,
  text-align: center;
#aSUP.wikitable:not(:has(thead)) tr:first-of-type th {
  font-size: 1.1em;
    position: relative;
  position: relative;
    background-color: #6f390a;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}


.pseudomodal--header-hr{
#aSUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
  margin: 20px 0;
#aSUP.wikitable thead + tbody > tr th {
  padding: 0;
    background: #874b0e;
  height: 0;
    border-bottom: 0.1em solid #00000059;
  border: none;
    border-left: 0.2em solid #00000059;
  border-top: 1px solid darkgray;
}
}


.pseudomodal--body{
#aSEC.wikitable {
  height: 100%;
    background: var(--oo-ui-block-bg);
  position: relative;
    color: #dddddd;
}
}


.pseudomodal::-webkit-scrollbar {
#aSEC.wikitable>*>tr>th {
  width: 0.15rem;
    background: #912424;
  background-color:transparent;
    color: #dddddd;
}
}


.pseudomodal::-webkit-scrollbar-track {
#aSEC.wikitable > * > tr > td {
  margin:1em;
    background: #31313b;
  background: transparent;
    color: #dddddd;
}
}


.pseudomodal::-webkit-scrollbar-thumb {
/* Таблица */
  background-color: transparent;
#aSRV.wikitable {
  border: solid #373737;
background: #216321;
border-spacing: 0px;
}
}


/* Key press */
/* Заголовок */
.keyboard-key {
#aSRV.wikitable thead tr th,
     border: 1px solid #555555;
#aSRV.wikitable:not(:has(thead)) tr:first-of-type th {
     border-radius: 0.2em;
     position: relative;
    box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1);
    background-color: #216321;
    background-image: linear-gradient(to bottom, #1e1e1e, #393838, #1e1e1e);
     border-bottom: 0.2em solid #00000021;
    color: lightgrey;
}
    padding: 0.1em 0.3em;
 
     font-family: inherit;
/* Заглавная ячейка */
     font-size: 0.8em;
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#aSRV.wikitable thead + tbody > tr th {
     background: #297929;
     border-bottom: 1px solid #216321;
}
}


@media only screen and (max-width: 600px) {
/* Ячейка с содержимым */
.flex--row-column {
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
flex-direction:column; width: 50%; margin: auto;
#aSRV.wikitable thead + tbody > tr td {
}
    background: #3f833f;
    border-bottom: 1px solid #216321;
    border-left: 1px solid #297929;
}   
 
/* Таблица */
#BOTANY.wikitable {
background: #0d3f28;
}
}


/* Классы для форума "Справочник сталкера" проекта S.T.A.L.K.E.R. и для вики-плашек*/
/* Заголовок */
#BOTANY.wikitable thead tr th,
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #04673e !important;
    border-bottom: 0.2em solid #00000021;
}


.forumMessage, .wikiMessage {
/* Заглавные ячейки */
background: #1b1b1f;
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#BOTANY.wikitable thead + tbody > tr th {
    background: #0d7b39;
}
}


.forumMessage {
/* Первая заглавная ячейка */
padding: 10px 10px 30px;
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-of-type,
#BOTANY.wikitable thead + tbody > tr th:first-of-type {
    border-left: 0.2em solid #0000003b;
}
}


.wikiMessage {
/* Ячейка с содержимым */
padding: 10px 10px 10px;
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
margin-bottom: 10px;
#BOTANY.wikitable thead + tbody > tr td {
    background: #2a834e;
}
}


.forumMessageInfo, .wikiMessageInfo{
/* Таблица */
padding: 0;
#MUTATION.wikitable {
margin-left: 160px;
background: #220f3b;
border-bottom: 1px none black;
zoom: 1;
color: rgb(255, 255, 255);
}
}


.forumMessageContent, .wikiMessageContent {
/* Заголовок */
padding-bottom: 2px;
#MUTATION.wikitable thead tr th,
padding-left:4px;
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th {
border-style: hidden;
    position: relative;
min-height: 100px;
    background-color: #330b65 !important;
overflow: hidden;
    border-bottom: 0.2em solid #00000021;
}
}
.forumMessageContent {
background-color: #303037
}


.forumMessageUserInfo, .wikiIMG {
/* Заглавные ячейки */
float: left;
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
width: 140px;
#MUTATION.wikitable thead + tbody > tr th {
position: relative;
    background: #3a1769;
}
}


.forumAvatarHolder, .wikiIMGHolder {
/* Первая заглавная ячейка */
padding: 10px;
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-of-type,
text-align: center;
#MUTATION.wikitable thead + tbody > tr th:first-of-type {
position:relative;
    border-left: 0.2em solid #0000003b;
}
}


.forumAvatarHolder {
/* Ячейка с содержимым */
background:#303037
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#MUTATION.wikitable thead + tbody > tr td {
    background: #422371;
}
}


.forumUserText {
/* Неразрывные пробелы в горизонтальных списках
padding: 1px 10px;
  @источник: https://ru.wikipedia.org/wiki/MediaWiki:Common.css
background:#303037
  @Распорстраняется под CC BY-SA 4.0
  @автор: [[Участник:WindEwriX]]*/
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
white-space: nowrap;
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/


.forumUserName {
/* Style for horizontal lists (separator following item).
font-size: 14px;
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
color: rgb(255, 148, 7);
  @revision 9 (2016-08-10)
margin-bottom: 5px;
  @Распорстраняется под CC BY-SA 4.0
display: block;
  @author [[User:Edokter]]
overflow: hidden;
*/
line-height: 16px;
.hlist dl,
text-align: center;
.hlist.hlist ol,
.hlist.hlist ul {
margin: 0;
padding: 0;
}
}
 
/* Display list items inline */
.forumBanner {
.hlist dd,
font-size: 11px;
.hlist dt,
text-align: center;
.hlist li {
padding: 5px;
margin: 0;
color: black;
display: inline;
border-color: silver;
height: 16px;
width: 105px;
display: block;
margin-bottom: 5px
}
}
 
/* Display nested lists inline */
.forumAdmin {
.hlist.inline,
background: silver
.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;
}
}
/* CodeMirror */
/* Hide empty list items */
.CodeMirror {
.hlist .mw-empty-li,
    position: relative;
.hlist .mw-empty-elt {
    overflow: hidden;
display: none;
    background: #1b1b1f;
    color: inherit;
}
}
 
/* Generate bullets */
.CodeMirror-gutters {
.hlist dt:after {
    border-right: 1px solid #212126;
content: ": ";
    background-color: #212126;
    white-space: nowrap;
}
}
 
.hlist dd:after,
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
.hlist li:after {
    background: #1c2d44;
content: "\00a0· ";
font-weight: bold;
}
}
 
.hlist dd:last-child:after,
.noExternal>.external {
.hlist dt:last-child:after,
  padding-right:0px !important;
.hlist li:last-child:after {
  background-image:none !important;
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,
.mw-mmv-image>*, .fullImageLink>*>* {
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
image-rendering: auto !important;
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ")";
font-weight: normal;
}
}
 
/* Put ordinals in front of ordered list items */
/* Для тестов */
.hlist ol {
.skameykatable{
counter-reset: listitem;
border:1px solid black;
border-radius:1.4rem;
}
}
.skameykatable>*>tr>th{
.hlist ol > li {
      text-align:center;
counter-increment: listitem;
    font-weight:bold;
    }
.skameykatable>*>tr>td{
      border:none;
    }
.skameykatable>*>tr:not(:first-child)>*{
    border-top:1px solid black !important;
}
}
.skameykatable>*>tr:not(:first-child):not(:last-child):hover{
.hlist ol > li:before {
box-shadow: inset 30em 30em 0 #1b1b20;
content: " " counter(listitem) "\a0";
}
}
.skameykatable>*>tr:last-child{
.hlist dd ol > li:first-child:before,
    box-shadow: inset 30em 30em 0 #1b1b20;
.hlist dt ol > li:first-child:before,
    border-bottom-left-radius:1.3rem;
.hlist li ol > li:first-child:before {
    border-bottom-right-radius:1.3rem;
content: " (" counter(listitem) "\a0";
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/


.skameykatable>*>tr>*{
/* Псевдо-модальное окно */
    padding:0.4em;
.pseudomodal--caller {
    background:transparent;
  cursor:pointer;
          border:none !important;
    }
   
.headerSort::after {
content: "\21C5";
}
}
      
 
.headerSort.headerSortUp::after {
.pseudomodal {
     content: "\2191";
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    background-color: #212126;
    width: 60%;
    height: 80%;
     border: 1px solid black;
    border-radius: 0.5rem;
    padding: 5px 25px;
    position: fixed;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100 !important;
     box-shadow: 0px 0px 0px 100vh rgba(0,0,0,0.6);
}
}


.headerSort.headerSortDown::after {
.pseudomodal--caller:focus-within + .pseudomodal {
    content: "\2193";
  visibility: visible;
  opacity: 1;
}
}


 
.pseudomodal:hover {
.headerSort {
  visibility: visible;
background-size: 0 0 !important;
  opacity: 1;
white-space: nowrap;
}
}


 
.pseudomodal--header {
.pseudomodal p {
  text-align: center;
margin: 0 !important;
  font-size: 1.1em;
  position: relative;
}
}


/**
.pseudomodal--header-hr{
* SS220 import
  margin: 20px 0;
*
  padding: 0;
* Taken from https://wiki.ss220.space/index.php?title=MediaWiki:Common.css&oldid=35625
  height: 0;
*/
  border: none;
  border-top: 1px solid darkgray;
}


/* Hide noscript only elements */
.pseudomodal--body{
.client-js *.noscript {
  height: 100%;
    display: none;
  position: relative;
}
}


.pseudomodal::-webkit-scrollbar {
  width: 0.15rem;
  background-color:transparent;
}


/* SS220 import end*/
.pseudomodal::-webkit-scrollbar-track {
  margin:1em;
  background: transparent;
}


 
.pseudomodal::-webkit-scrollbar-thumb {
/* Стили для заголовков в таблицах с thead */
  background-color: transparent;
#highlighted-header.wikitable thead tr th,
  border: solid #373737;
/* Стили для первого ряда в таблицах без thead */
#highlighted-header.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #404053;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
}


/* Стили для последующих строк в таблицах без thead */
/* Key press */
#highlighted-header.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
.keyboard-key {
/* Стили для последующих строк в таблицах с thead */
    border: 1px solid #555555;
#highlighted-header.wikitable thead + tbody > tr th {
    border-radius: 0.2em;
     background: #972626;
    box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1);
     border-bottom: 0.1em solid #00000059;
    background-image: linear-gradient(to bottom, #1e1e1e, #393838, #1e1e1e);
     border-left: 0.2em solid #00000059;
     color: lightgrey;
     padding: 0.1em 0.3em;
    font-family: inherit;
     font-size: 0.8em;
}
}


 
@media only screen and (max-width: 600px) {
/* Альтернативный холодный цвет ячеек */
.flex--row-column {
#highlighted-header-cold.wikitable thead tr th,
flex-direction:column; width: 50%; margin: auto;
#highlighted-header-cold.wikitable:not(:has(thead)) tr:first-of-type th {
}
    position: relative;
    background-color: #006587;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
}


#highlighted-header-cold.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
/* Классы для форума "Справочник сталкера" проекта S.T.A.L.K.E.R. и для вики-плашек*/
#highlighted-header-cold.wikitable thead + tbody > tr th {
 
    background: #006a7b;
.forumMessage, .wikiMessage {
    border-bottom: 0.1em solid #00000059;
background: #1b1b1f;
    border-left: 0.2em solid #00000059;
}
}


.forumMessage {
padding: 10px 10px 30px;
}


/* Альтернативная палитра с серым заголовком и темно-красными ячейками */
.wikiMessage {
#highlighted-header-dark.wikitable thead tr th,
padding: 10px 10px 10px;
#highlighted-header-dark.wikitable:not(:has(thead)) tr:first-of-type th {
margin-bottom: 10px;
    position: relative;
    background-color: #404053;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
}


#highlighted-header-dark.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
.forumMessageInfo, .wikiMessageInfo{
#highlighted-header-dark.wikitable thead + tbody > tr th {
padding: 0;
    background: #8d2121;
margin-left: 160px;
    border-bottom: 0.1em solid #00000059;
border-bottom: 1px none black;
    border-left: 0.2em solid #00000059;
zoom: 1;
color: rgb(255, 255, 255);
}
}


/* Если не нужен другой стиль кроме цвета */
.forumMessageContent, .wikiMessageContent {
#no-highlight {
padding-bottom: 2px;
     border-bottom: none !important;
padding-left:4px;
border-style: hidden;
min-height: 100px;
overflow: hidden;
}
.forumMessageContent {
background-color: #303037
}
 
.forumMessageUserInfo, .wikiIMG {
float: left;
width: 140px;
position: relative;
}
 
.forumAvatarHolder, .wikiIMGHolder {
padding: 10px;
text-align: center;
position:relative;
}
 
.forumAvatarHolder {
background:#303037
}
 
.forumUserText {
padding: 1px 10px;
background:#303037
}
 
.forumUserName {
font-size: 14px;
color: rgb(255, 148, 7);
margin-bottom: 5px;
display: block;
overflow: hidden;
line-height: 16px;
text-align: center;
}
 
.forumBanner {
font-size: 11px;
text-align: center;
padding: 5px;
color: black;
border-color: silver;
height: 16px;
width: 105px;
display: block;
margin-bottom: 5px
}
 
.forumAdmin {
background: silver
}
/* CodeMirror */
.CodeMirror {
    position: relative;
    overflow: hidden;
    background: #1b1b1f;
    color: inherit;
}
 
.CodeMirror-gutters {
    border-right: 1px solid #212126;
    background-color: #212126;
    white-space: nowrap;
}
 
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
    background: #1c2d44;
}
 
.noExternal>.external {
  padding-right:0px !important;
  background-image:none !important;
}
 
.mw-mmv-image>*, .fullImageLink>*>* {
image-rendering: auto !important;
}
 
/* Для тестов */
.skameykatable{
border:1px solid black;
border-radius:1.4rem;
}
.skameykatable>*>tr>th{
      text-align:center;
    font-weight:bold;
    }
.skameykatable>*>tr>td{
      border:none;
    }
.skameykatable>*>tr:not(:first-child)>*{
    border-top:1px solid black !important;
}
.skameykatable>*>tr:not(:first-child):not(:last-child):hover{
box-shadow: inset 30em 30em 0 #1b1b20;
}
.skameykatable>*>tr:last-child{
    box-shadow: inset 30em 30em 0 #1b1b20;
    border-bottom-left-radius:1.3rem;
    border-bottom-right-radius:1.3rem;
}
 
.skameykatable>*>tr>*{
    padding:0.4em;
    background:transparent;
          border:none !important;
    }
   
.headerSort::after {
content: "\21C5";
}
   
.headerSort.headerSortUp::after {
    content: "\2191";
}
 
.headerSort.headerSortDown::after {
    content: "\2193";
}
 
 
.headerSort {
background-size: 0 0 !important;
white-space: nowrap;
}
 
 
.pseudomodal p {
margin: 0 !important;
}
 
/**
* SS220 import
*
* Taken from https://wiki.ss220.space/index.php?title=MediaWiki:Common.css&oldid=35625
*/
 
/* Hide noscript only elements */
.client-js *.noscript {
    display: none;
}
 
 
/* SS220 import end*/
 
 
/* Стили для заголовков в таблицах с thead */
#highlighted-header.wikitable thead tr th,
/* Стили для первого ряда в таблицах без thead */
#highlighted-header.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #3d3d4f;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
 
/* Стили для последующих строк в таблицах без thead */
#highlighted-header.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
/* Стили для последующих строк в таблицах с thead */
#highlighted-header.wikitable thead + tbody > tr th {
    background: #972626;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
 
/* Серый заголовок и серые ячейки */
#highlighted-header-classic.wikitable thead tr th,
#highlighted-header-classic.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #323240;
    border-bottom: 0.2em solid #00000045;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
 
#highlighted-header-classic.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-classic.wikitable thead + tbody > tr th {
    background: #3e3e4d;
    border-bottom: 0.1em solid #0000000d;
    border-left: 0.2em solid #00000024;
}
 
/* Холодный цвет ячеек */
#highlighted-header-cold.wikitable thead tr th,
#highlighted-header-cold.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #006587;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
 
#highlighted-header-cold.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-cold.wikitable thead + tbody > tr th {
    background: #00707b;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
 
/* Серый заголовок и темно-красные ячейки */
#highlighted-header-dark.wikitable thead tr th,
#highlighted-header-dark.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #3d3d4f;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
 
#highlighted-header-dark.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-dark.wikitable thead + tbody > tr th {
    background: #8d2121;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
 
/* Палитра для Морпехов */
#highlighted-header-CM.wikitable thead tr th,
#highlighted-header-CM.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #313d45;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
 
#highlighted-header-CM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-CM.wikitable thead + tbody > tr th {
    background: #355f54;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
 
/* Палитра для Ксеноморфов */
#highlighted-header-xenomorph.wikitable thead tr th,
#highlighted-header-xenomorph.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #3c1d5f;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
 
#highlighted-header-xenomorph.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-xenomorph.wikitable thead + tbody > tr th {
    background: #5d1c55;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
 
/* Если не нужен другой стиль кроме цвета */
#no-highlight {
     border-bottom: none !important;
     box-shadow: none !important;
     box-shadow: none !important;
}
/* Таблица */
#VIOLET.wikitable {
background: #391b5d;
border-spacing: 0px;
}
/* Заголовок */
#VIOLET.wikitable thead tr th,
#VIOLET.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #391b5d;
    border-bottom: 0.2em solid #00000021;
}
/* Заглавная ячейка */
#VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#VIOLET.wikitable thead + tbody > tr th {
    background: #44206f;
    border-bottom: 1px solid #391b5d;
}
/* Ячейка с содержимым */
#VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#VIOLET.wikitable thead + tbody > tr td {
    background: #4a2b6f;
    border-bottom: 1px solid #391b5d;
}
/* Таблица */
#YELLOW.wikitable {
background: #405d1b;
border-spacing: 0px;
}
/* Заголовок */
#YELLOW.wikitable thead tr th,
#YELLOW.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #405d1b;
    border-bottom: 0.2em solid #00000021;
}
/* Заглавная ячейка */
#YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#YELLOW.wikitable thead + tbody > tr th {
    background: #4c6d20;
    border-bottom: 1px solid #405d1b;
}
/* Ячейка с содержимым */
#YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#YELLOW.wikitable thead + tbody > tr td {
    background: #577332;
    border-bottom: 1px solid #405d1b;
}
@media (max-width: 800px) {
    .grid-adaptive {
        grid-template-columns: 1fr !important;
    }
}
.grid-item-adaptive {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr));
}
/* Удаление верхних и нижних отступов для первого и последнего дочернего элемента */
.no-margin-edges > :first-child,
.tabs-content    > :first-child,
.doc            > :first-child {
    margin-top: 0 !important;
}
.no-margin-edges > :last-child,
.tabs-content    > :last-child,
.doc            > :last-child {
    margin-bottom: 0 !important;
}
/* Сброс и настройка отступов для списков */
.list-reset-margin ol {
    margin: 0 0 0 24px;
}
.list-reset-margin li {
    margin-top: 2px;
}
.list-reset-margin > ol:not(:first-child) > li:not(:first-child),
.list-reset-margin > ul:nth-of-type(n+2) {
    margin-top: 10px;
}
/* Кнопка копирования текста */
.copy-icon {
cursor: pointer;
}
/* Кнопка копирования текста */
.brightness-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: var(--background-color);
}
/* Псевдоэлемент для добавления фона, который изменяет яркость при наведении */
.brightness-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: var(--background-color);
}
.brightness-overlay:hover::before {
filter: brightness(103%);
}
/* Уменьшеная полоса прокрутки */
.short-scrollbar::-webkit-scrollbar {
width: 10px;
}
.short-scrollbar::-webkit-scrollbar-track  {
background: var(--oo-ui-block-bg-light);
}
.short-scrollbar::-webkit-scrollbar-thumb {
background: #44444d; border: 2px solid var(--oo-ui-block-bg-light); border-radius: 0;
}
/* Нужен для красивого вида примеров шаблона или кода */
.doc {
    white-space: pre-wrap;
    font-family: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace;
    background: #d0d0ff0b;
    padding: 12px 10px;
    margin-bottom: 20px;
    color: lightgrey;
}
/* Для "Шаблон:LinkСard" */
.link-card {
    display: inline-block;
    position: relative;
    min-width: 110px;
    text-align: center;
    border: 1px outset rgb(0 0 0 / 30%);
    border-radius: 0.3em;
    box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2);
    background: var(--background-color);
    transition: all 0.15s ease;
}
.link-card__image {
    position: relative;
    padding: 6px;
    align-content: center;
}
.link-card__name {
    position: relative;
    width: 100%;
    padding: 2px 4px;
    font-size: 0.8em;
    box-sizing: border-box;
    background: #00000040;
    font-weight: bold;
}
.link-card.brightness-overlay::before {
    border-radius: 0.3em;
}
.link-card__pin {
    top: 0;
    right: 0;
}
@media (min-width: 800px) {
    .link-card-hover:not(.link-card__side):hover  {
        box-shadow: 0 4px 4px 1px rgba(0, 0, 0, 0.2);
        transform: translateY(-4px);
    }
}
@media (max-width: 800px) {
    .link-card {
        display: flex;
        box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.4);
        width: 100%;
        text-align: left;
        justify-content: center;
    }
    .link-card__name {
        background: #00000020;
        padding: 4px 8px;
        font-size: 0.9em;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .link-card__image {
        padding: 4px;
    }
}
.link-card__side {
    display: flex ;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.4);
    width: 100%;
    text-align: left;
    justify-content: center;
}
.link-card__side .link-card__name {
    background: #00000020;
    padding: 4px 8px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.link-card__side .link-card__image {
    padding: 4px;
}
.link-card__side img {
    width: 32px;
    height: 32px;
}
/*
  Extension:Popups
*/
/* Всплывающие окна */
.mwe-popups {
    background: var(--oo-ui-block-gradient-light);
    box-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.35), 0 0 1px 1px rgba(0, 0, 0, 0.1);
}
.mwe-popups img {
    image-rendering: auto;
}
.mwe-popups .mwe-popups-container {
    background: var(--oo-ui-block-gradient-light);
}
.mwe-popups .mwe-popups-extract {
    color: #dddddd;
}
.mwe-popups .mwe-popups-extract:hover {
    color: #e8e8e8;
}
.mwe-popups .mwe-popups-extract[dir='ltr']::after {
    background: linear-gradient(90deg, #ffffff00 0%, #2a2a3387 50%);
}
.mwe-popups .mwe-popups-extract[dir='rtl']::after {
    background: linear-gradient(90deg, #2a2a3387 50%, #ffffff00 0%);
}
/* Настройки */
.mwe-popups-overlay {
background-color: rgba(0, 0, 0, 0.6);
}
#mwe-popups-settings {
    border: 1px solid #41414d;
    background: #27272f;
}
#mwe-popups-settings header {
    border-bottom: 1px solid #41414d;
}
#mwe-popups-settings main#mwe-popups-settings-form p {
color: lightgray;
}
#mwe-popups-settings main#mwe-popups-settings-form form label > span {
    color: #dddddd;
}
/* Для "Модуль:Краткий вызов" */
.shortcut {
    clear: right;
    float: right;
    margin-left: 0.75em;
    font-size: smaller;
    background: var(--color-code-bg-light);
    border: 1px solid var(--color-code-border-light);
}
.shortcut-1 > span > span > img {
    filter: invert(1);
}
.shortcut-1, .shortcut-2 {
    padding: 4px;
}
.shortcut-2 {
line-height: 1.25em;
    font-weight: bold;
    vertical-align: middle;
}
}

Текущая версия от 15:07, 19 февраля 2025

/* Стандартные цвета:
#1b1b1f - фон вики
#212126 - фон информационных блоков (навигация и основной блок страницы)

#303037 - фон для <pre> и <code>
lightgrey - цвет текста для <pre> и <code>
*/

/* ================================================================== */

:root {
	/*==========
	 Тема Вики 
	==========*/

    color-scheme: dark;
    
    /*==========
	 Цвет текста 
    ==========*/
    
    --color-text-normal: white;
    --color-text-light: lightgray;
    --color-text-dark: #72777d;
    
    --color-link: #77c1d9;
    --color-link-external: #3377aa;
    
    /*==========
	 Цвет фона 
    ==========*/
    
    /* Для стандартных wiki полей */
    --oo-ui-block-bg: #27272e;
    --oo-ui-block-bg-light: #2c2c33;
    --oo-ui-block-bg-dark: #222227;
    
    --oo-ui-block-gradient: linear-gradient(120deg, var(--oo-ui-block-bg-light), var(--oo-ui-block-bg-dark));
    --oo-ui-block-gradient-light: linear-gradient(120deg, #353540, #27272f);
    
    /* Для кодо-подобных блоков */
    --color-code-bg: #25252b;
	--color-code-bg-light: #27272d;
	
    /*==========
	 Цвет границ    
    ==========*/
    
    /* Для стандартных wiki полей */
    --oo-ui-block-border: #303038;
    --oo-ui-block-border-light: #3d3d47;
    
    /* Для кодо-подобных блоков */
    --color-code-border: #3e3e49;
    --color-code-border-light: #2d2d34;
}

/* ШРИФТЫ */
@font-face {
    font-family: 'Noto Sans Light';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRPQ_m87A.woff2) format('woff2');
    unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F
}

@font-face {
    font-family: 'Noto Sans Light';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRGQ_m87A.woff2) format('woff2');
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116
}

@font-face {
    font-family: 'Noto Sans Light';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRMQ_m87A.woff2) format('woff2');
    unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF
}

@font-face {
    font-family: 'Noto Sans Light';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRCQ_k.woff2) format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 200 700;
    src: url(https://fonts.gstatic.com/s/oswald/v53/TK3iWkUHHAIjg752HT8Ghe4.woff2) format('woff2');
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 200 700;
    src: url(https://fonts.gstatic.com/s/oswald/v53/TK3iWkUHHAIjg752GT8G.woff2) format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}

@font-face {
    font-family: 'Boxfont Round';
    src: url(/assets/fonts/boxfont-round/f3507eaadc95584e7358703d74e793ea/324a92fc76117885a667ae8af2be25ab/BoxfontRoundRegular.ttf) format('truetype');
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'noto sans';
    font-style: normal;
    font-weight: 400;
    src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Regular.woff) format('woff')
}

@font-face {
    font-family: 'noto sans';
    font-style: italic;
    font-weight: 400;
    src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Italic.woff) format('woff')
}

@font-face {
    font-family: 'noto sans';
    font-style: normal;
    font-weight: 700;
    src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Bold.woff) format('woff')
}

@font-face {
    font-family: 'noto sans';
    font-style: italic;
    font-weight: 700;
    src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-BoldItalic.woff) format('woff')
}

@font-face {
    font-family: 'Noto Sans Symbols';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QA_9Edkw.woff2) format('woff2');
    unicode-range: U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F10C,U+1F110-1F16C,U+1F170-1F190,U+1F19B-1F1AC,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F321-1F32C,U+1F336,U+1F378,U+1F37D,U+1F393-1F39F,U+1F3A7,U+1F3AC-1F3AE,U+1F3C2,U+1F3C4,U+1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4DA,U+1F4DF,U+1F4E4-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50A,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F579,U+1F57B-1F594,U+1F597-1F5A3,U+1F5A5-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CB,U+1F6CD-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8B1,U+1F93B,U+1F946,U+1FA00-1FA6F,U+1FA70-1FA74,U+1FA78-1FA7A,U+1FA80-1FA86,U+1FA90-1FAA8,U+1FAB0-1FAB6,U+1FAC0-1FAC2,U+1FAD0-1FAD6,U+1FB00-1FBFF
}

@font-face {
    font-family: 'Noto Sans Symbols';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QY_9Edkw.woff2) format('woff2');
    unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF
}

@font-face {
    font-family: 'Noto Sans Symbols';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8Qbf9E.woff2) format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}

@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v170/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2')
}

/* ================================================================== */

/* ТЕГИ */
cite,dfn {
    font-style: inherit;
}

q {
    quotes: '«' '»' "„" "“";
}

code {
    border-radius: 2px;
    padding: 1px 4px;
    background-color: var(--color-code-bg);
    border: 1px solid var(--color-code-border);
    color: lightgrey;
}

pre {
    overflow: auto;
    white-space: pre-wrap;
    background: var(--color-code-bg-light);
    border-color: var(--color-code-border-light);
    padding: 0.5em;
    color: lightgrey;
}

blockquote {
    overflow: hidden;
    margin: 1em 0;
    padding: 0 40px
}

small {
    font-size: 85%
}

/*основные изображения - пиксельные. Для остальных нужно использовать класс noSprite*/
img {
    image-rendering: pixelated;
}

/*Для непиксельных изображений*/
.noSprite>*>* {
	image-rendering: auto !important; 
}

/* ================================================================== */

/* КЛАССЫ */

/* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */
#scroll-top {
	display: none;
	background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat;
	opacity: 0.5;
	width: 57px;
	height: 57px;
	cursor: pointer;
	position: fixed;
	right: calc(0.95em + 6px);
	bottom: 30px;
	z-index: 10000;
	image-rendering: pixelated;
}

#scroll-top:hover {
	opacity: 0.8;
}

@media screen and (max-width: 850px) {
	#scroll-top {
		transform: translate(-50%, -50%);
		left: 50%;
        right: 50%;
        opacity: 0.3;
	}
}

/* Необходим для использования fonts.google.com/icons */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased
}

.tools-inline li:not(.selected) a {
    filter: invert(100%);
}

.tools-inline .selected span {
    filter: invert(0%);
}

.tools-inline span {
    filter: invert(100%);
    margin-left: 2px;
    font-size: 15px;
    font-family: "noto sans";
}

.tools-inline li:hover {
    border-bottom-width: 2px;
}

.tools-inline li.selected {
    background: transparent !important;
    border-bottom-width: 2px;
}

.tools-inline li.selected a {
    filter: invert(100%);
}

.tools-inline li.selected span {
    filter: invert(100%);
    color: lightgrey;
    font-weight: bold;
}

#personal h2, #site-tools h2, #site-navigation h2, #searchButton {
    filter: invert(100%)
}

#personal h2 span {
    filter: invert(100%)
}

.dropdown-toggle:after {
	filter: invert(100%);
}

.mw-editsection {
	filter: invert(100%);
}

.mw-editsection a {
	filter: invert(100%);
}

.mw-body-content sub,.mw-body-content sup,span.reference {
    font-size: 80%
}

.ns-talk .mw-body-content dd {
    margin-top: 0.4em;
    margin-bottom: 0.4em
}

#interwiki-completelist {
    font-weight: bold
}

.biglink {
    font-family: "Oswald";
    font-style: oblique 10deg;
    font-variant-caps: small-caps;
    text-shadow: #1b1b1f 1px 2px,#595959dd 2px 2px 1px
}

.client-js .mw-special-Watchlist #watchlist-message,.client-js .collapsible:not(.mw-made-collapsible).collapsed>tbody>tr:not(:first-child),#editpage-specialchars {
    display: none
}

.mw-rcfilters-enabled .mw-specialpage-summary {
    margin-top: 1em
}

.citation:target {
    background-color: rgba(0,127,255,0.133)
}

.citation {
    word-wrap: break-word
}

ol.references {
    font-size: 90%;
    margin-bottom: 0.5em
}

.hlist dl,.hlist ol,.hlist ul {
    margin: 0;
    padding: 0
}

.hlist dd,.hlist dt,.hlist li {
    margin: 0;
    display: 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
}

.hlist .mw-empty-li {
    display: none
}

.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
}

.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
}

.hlist ol {
    counter-reset: listitem
}

.hlist ol>li {
    counter-increment: listitem
}

.hlist ol>li:before {
    content: " " counter(listitem) "\a0"
}

.hlist dd ol>li:first-child:before,.hlist dt ol>li:first-child:before,.hlist li ol>li:first-child:before {
    content: " (" counter(listitem) "\a0"
}

.plainlist ol,.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0
}

.plainlist ol li,.plainlist ul li {
    margin-bottom: 0
}

.navbox {
    box-sizing: border-box;
    border: 1px solid #a2a9b1;
    width: 100%;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
    margin: 1em auto 0
}

.navbox .navbox {
    margin-top: 0
}

.navbox+.navbox {
    margin-top: -1px
}

.navbox-inner,.navbox-subgroup {
    width: 100%
}

.navbox-group,.navbox-title,.navbox-abovebelow {
    padding: 0.25em 1em;
    line-height: 1.5em;
    text-align: center
}

th.navbox-group {
    white-space: nowrap;
    text-align: right
}

.navbox,.navbox-subgroup {
    background-color: #fdfdfd
}

.navbox-list {
    line-height: 1.5em;
    border-color: #fdfdfd
}

tr+tr>.navbox-abovebelow,tr+tr>.navbox-group,tr+tr>.navbox-image,tr+tr>.navbox-list {
    border-top: 2px solid #fdfdfd
}

.navbox th,.navbox-title {
    background-color: #ccccff
}

.navbox-abovebelow,th.navbox-group,.navbox-subgroup .navbox-title {
    background-color: #ddddff
}

.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow {
    background-color: #e6e6ff
}

.navbox-even {
    background-color: #f7f7f7
}

.navbox-odd {
    background-color: transparent
}

.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
}

.mw-parser-output .mw-collapsible-toggle {
    font-weight: normal;
    text-align: right;
    padding-right: 0.2em;
    padding-left: 0.2em
}

.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
    float: left;
    text-align: left
}

.infobox {
    border: 1px solid #a2a9b1;
    border-spacing: 3px;
    background-color: #f8f9fa;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
    font-size: 88%;
    line-height: 1.5em;
    width: 22em
}

.infobox-header,.infobox-label,.infobox-above,.infobox-full-data,.infobox-data,.infobox-below,.infobox-subheader,.infobox-image,.infobox-navbar,.infobox th,.infobox td {
    vertical-align: top
}

.infobox-label,.infobox-data,.infobox th,.infobox td {
    text-align: left
}

.infobox .infobox-above,.infobox .infobox-title,.infobox caption {
    font-size: 125%;
    font-weight: bold;
    text-align: center
}

.infobox-title,.infobox caption {
    padding: 0.2em
}

.infobox .infobox-header,.infobox .infobox-subheader,.infobox .infobox-image,.infobox .infobox-full-data,.infobox .infobox-below {
    text-align: center
}

.infobox .infobox-navbar {
    text-align: right
}

.wikitable.plainrowheaders th[scope=row] {
    font-weight: normal;
    text-align: left
}

.wikitable td ul,.wikitable td ol,.wikitable td dl {
    text-align: left
}

table.mw-hiero-table td {
    vertical-align: middle
}

.mw-parser-output a[href$=".pdf"].external,.mw-parser-output a[href*=".pdf?"].external,.mw-parser-output a[href*=".pdf#"].external,.mw-parser-output a[href$=".PDF"].external,.mw-parser-output a[href*=".PDF?"].external,.mw-parser-output a[href*=".PDF#"].external {
    background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right;
    padding-right: 18px
}

.messagebox {
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    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
}

.mbox-inside .standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    width: 100%;
    margin: 2px 0;
    padding: 2px
}

.messagebox.small {
    width: 238px;
    font-size: 85%;
    float: right;
    clear: both;
    margin: 0 0 1em 1em;
    line-height: 1.25em
}

.messagebox.small-talk {
    width: 238px;
    font-size: 85%;
    float: right;
    clear: both;
    margin: 0 0 1em 1em;
    line-height: 1.25em;
    background-color: #f8eaba
}

th.mbox-text,td.mbox-text {
    border: none;
    padding: 0.25em 0.9em;
    width: 100%
}

td.mbox-image {
    border: none;
    padding: 2px 0 2px 0.9em;
    text-align: center
}

td.mbox-imageright {
    border: none;
    padding: 2px 0.9em 2px 0;
    text-align: center
}

td.mbox-empty-cell {
    border: none;
    padding: 0;
    width: 1px
}

table.ambox {
    margin: 0 10%;
    border: 1px solid #a2a9b1;
    border-left: 10px solid #36c;
    background-color: #fbfbfb;
    box-sizing: border-box
}

table.ambox+table.ambox,table.ambox+.mw-empty-elt+table.ambox {
    margin-top: -1px
}

.ambox th.mbox-text,.ambox td.mbox-text {
    padding: 0.25em 0.5em
}

.ambox td.mbox-image {
    padding: 2px 0 2px 0.5em
}

.ambox td.mbox-imageright {
    padding: 2px 0.5em 2px 0
}

table.ambox-notice {
    border-left: 10px solid #36c
}

table.ambox-speedy {
    border-left: 10px solid #b32424;
    background-color: #fee7e6
}

table.ambox-delete {
    border-left: 10px solid #b32424
}

table.ambox-content {
    border-left: 10px solid #f28500
}

table.ambox-style {
    border-left: 10px solid #fc3
}

table.ambox-move {
    border-left: 10px solid #9932cc
}

table.ambox-protection {
    border-left: 10px solid #a2a9b1
}

table.imbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 3px solid #36c;
    background-color: #fbfbfb;
    box-sizing: border-box
}

.imbox .mbox-text .imbox {
    margin: 0 -0.5em;
    display: block
}

.mbox-inside .imbox {
    margin: 4px
}

table.imbox-notice {
    border: 3px solid #36c
}

table.imbox-speedy {
    border: 3px solid #b32424;
    background-color: #fee7e6
}

table.imbox-delete {
    border: 3px solid #b32424
}

table.imbox-content {
    border: 3px solid #f28500
}

table.imbox-style {
    border: 3px solid #fc3
}

table.imbox-move {
    border: 3px solid #9932cc
}

table.imbox-protection {
    border: 3px solid #a2a9b1
}

table.imbox-license {
    border: 3px solid #88a;
    background-color: #f7f8ff
}

table.imbox-featured {
    border: 3px solid #cba135
}

table.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1;
    background-color: #dfe8ff;
    box-sizing: border-box
}

table.cmbox-notice {
    background-color: #d8e8ff
}

table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b32424;
    background-color: #ffdbdb
}

table.cmbox-delete {
    background-color: #ffdbdb
}

table.cmbox-content {
    background-color: #ffe7ce
}

table.cmbox-style {
    background-color: #fff9db
}

table.cmbox-move {
    background-color: #e4d8ff
}

table.cmbox-protection {
    background-color: #efefe1
}

table.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    box-sizing: border-box
}

table.ombox-notice {
    border: 1px solid #a2a9b1
}

table.ombox-speedy {
    border: 2px solid #b32424;
    background-color: #fee7e6
}

table.ombox-delete {
    border: 2px solid #b32424
}

table.ombox-content {
    border: 1px solid #f28500
}

table.ombox-style {
    border: 1px solid #fc3
}

table.ombox-move {
    border: 1px solid #9932cc
}

table.ombox-protection {
    border: 2px solid #a2a9b1
}

table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    min-width: 80%;
    box-sizing: border-box
}

.tmbox.mbox-small {
    min-width: 0
}

.mediawiki .mbox-inside .tmbox {
    margin: 2px 0;
    width: 100%
}

.mbox-inside .tmbox.mbox-small {
    line-height: 1.5em;
    font-size: 100%
}

table.tmbox-speedy {
    border: 2px solid #b32424;
    background-color: #fee7e6
}

table.tmbox-delete {
    border: 2px solid #b32424
}

table.tmbox-content {
    border: 2px solid #f28500
}

table.tmbox-style {
    border: 2px solid #fc3
}

table.tmbox-move {
    border: 2px solid #9932cc
}

table.tmbox-protection,table.tmbox-notice {
    border: 1px solid #c0c090
}

table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    box-sizing: border-box
}

table.fmbox-system {
    background-color: #191970
}

table.fmbox-warning {
    border: 1px solid #bb7070;
    background-color: #ffdbdb
}

table.fmbox-editnotice {
    background-color: transparent
}

div.mw-warning-with-logexcerpt,div.mw-lag-warn-high,div.mw-cascadeprotectedwarning,div#mw-protect-cascadeon,div.titleblacklist-warning {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background-color: #ffdbdb;
    padding: 0.25em 0.9em;
    box-sizing: border-box
}

.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
    border-color: #fc3;
    background-color: #fef6e7
}

html body.mediawiki .mbox-small {
    clear: right;
    float: right;
    margin: 4px 0 4px 1em;
    box-sizing: border-box;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em
}

html body.mediawiki .mbox-small-left {
    margin: 4px 1em 4px 0;
    box-sizing: border-box;
    overflow: hidden;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em
}

.compact-ambox table .mbox-image,.compact-ambox table .mbox-imageright,.compact-ambox table .mbox-empty-cell {
    display: none
}

.compact-ambox table.ambox {
    border: none;
    border-collapse: collapse;
    background-color: 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
}

.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(/w/skins/MonoBook/resources/images/bullet.svg)
}

.compact-ambox .hide-when-compact {
    display: none
}

.nounderlines a,.IPA a:link,.IPA a:visited {
    text-decoration: none !important
}

.nowrap,.nowraplinks a {
    white-space: nowrap
}

.wrap,.wraplinks a {
    white-space: normal
}

#wpUploadDescription {
    height: 13em
}

.thumbinner {
    min-width: 100px;
    background: #303037;
    border: solid var(--oo-ui-block-border)
}

.thumbinner .thumbimage,.thumbborder {
    border: solid 1px var(--oo-ui-block-border)
}

#mw-subcategories,#mw-pages,#mw-category-media,#filehistory,#wikiPreview,#wikiDiff {
    clear: both
}

.wpb .wpb-header {
    display: none
}

.wpbs-inner .wpb .wpb-header {
    display: table-row
}

.wpbs-inner .wpb-outside {
    display: none
}

.mw-tag-markers {
    font-style: italic;
    font-size: 90%
}

.checkuser-show,.sysop-show,.abusefilter-show,.abusefilter-helper-show,.patroller-show,.templateeditor-show,.extendedmover-show,.extendedconfirmed-show,.autoconfirmed-show,.user-show {
    display: none
}

.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,.ve-ui-mwNoticesPopupTool-item .mbox-image,.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
    display: none !important
}

ul.permissions-errors>li {
    list-style: none none
}

ul.permissions-errors {
    margin: 0
}

span.texhtml {
    font-family: "Nimbus Roman No9 L","Times New Roman",Times,serif;
    font-size: 118%;
    line-height: 1;
    white-space: nowrap;
    -moz-font-feature-settings: "lnum","tnum","kern" 0;
    -webkit-font-feature-settings: "lnum","tnum","kern" 0;
    font-feature-settings: "lnum","tnum","kern" 0;
    font-variant-numeric: lining-nums tabular-nums;
    font-kerning: none
}

span.texhtml span.texhtml {
    font-size: 100%
}

span.mwe-math-mathml-inline {
    font-size: 118%
}

.mwe-math-fallback-image-display,.mwe-math-mathml-display {
    margin-left: 1.6em !important;
    margin-top: 0.6em;
    margin-bottom: 0.6em
}

.mwe-math-mathml-display math {
    display: inline
}

.k-player .k-attribution {
    visibility: hidden
}

.PopUpMediaTransform a .play-btn-large {
    margin: 0;
    top: auto;
    right: auto;
    bottom: 0;
    left: 0
}

@media screen {
    #content .gallerybox div.thumb {
        background-color: #f8f9fa
    }

    .gallerybox .thumb img {
        background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat
    }

    .ns-0 .gallerybox .thumb img,.ns-2 .gallerybox .thumb img,.ns-100 .gallerybox .thumb img,.nochecker .gallerybox .thumb img {
        background-image: none
    }
}

.flaggedrevs_draft_synced,.flaggedrevs_stable_synced,#t-upload,.mw-special-Book #coll-downloadbox {
    display: none
}

#site-tools {
    display: none !important
}

span.comment {
    overflow-wrap: break-word
}

#mw-page-base {
    background: #1b1b1f;
    color: lightgrey;
    border: #1b1b1f
}

.mediawiki,.mw-page-container {
    background: #1b1b1f;
    color: lightgrey;
    border: #1b1b1f
}

.mw-body {
    background: #212126;
    color: lightgrey;
    border: black
}

#mw-panel {
    background: #1b1b1f;
    color: lightgrey;
    border: #1b1b1f
}

#mw-content-container,#mw-header-container,#mw-content-wrapper,#mw-content,#p-logo {
    background: #1b1b1f;
    color: lightgrey;
    border: #1b1b1f
}

.mw-code {
    background: #212126;
    color: lightgrey
}

footer,#footer-info-lastmod,#footer-info-copyright {
    color: lightgrey
}

p,h1,h2,h3,h4,h5,h6,li {
    color: lightgrey
}

a,.vector-menu-portal .vector-menu-content li a,.vector-menu-tabs li a,body.skin--responsive #p-cactions li a,a:visited,.vector-menu-portal .vector-menu-content li a:visited,.vector-menu-tabs li a:visited,body.skin--responsive #p-cactions li a:visited {
    color: var(--color-link);
}

.wikiEditor-ui-toolbar .tabs span.tab a {
    color: var(--color-link);
}

a.current {
    color: lightgray !important;
}

a.label {
    color: lightgray !important;
    font-weight: bold;
}

a:hover,a:visited:hover {
    color: white
}

a.option {
    background: var(--oo-ui-block-bg);
    color: lightgray !important;
    border: 1px solid var(--oo-ui-block-border);
}

.wikiEditor-ui-toolbar .page-characters div span {
	filter: invert(1);
}

.wikiEditor-ui-toolbar .booklet > .index {
    color: lightgray;
}

.wikiEditor-ui-toolbar .booklet > .index > :hover {
    background-color: var(--oo-ui-block-bg-light);
}

.wikiEditor-ui-toolbar .booklet > .index > .current {
	background: var(--oo-ui-block-bg-light);	
	color: white !important
}

.wikiEditor-ui-toolbar .group .tool-select .options {
	border-color: var(--oo-ui-block-border) !important;
}

.wikiEditor-ui-toolbar .page-table th {
    color: lightgrey;
}

.wikiEditor-ui-toolbar .page-table td {
    color: lightgrey;
}

.wikiEditor-ui-toolbar .group .tool-select .label:after {
	filter: invert(1);
}

body.skin--responsive #p-cactions li a {
    background: var(--oo-ui-block-bg)
}

.mw-prefs-buttons {
    background: var(--oo-ui-block-bg)
}

a.extiw:visited,a.external:visited,.mw-parser-output a.extiw:visited,.mw-parser-output a.external:visited,body.skin--responsive #p-cactions li a.external:visited {
    color: var(--color-link-external)
}

.vector-menu-tabs .selected a,.vector-menu-tabs .selected a:visited,body.skin--responsive #p-cactions li.selected a {
    color: lightgrey;
    font-weight: bold
}

body.skin--responsive #p-cactions li.selected a {
    background: var(--oo-ui-block-bg)
}

.vector-menu-tabs li {
    background: #212126
}

#mw-site-navigation .sidebar-chunk,#mw-site-navigation .sidebar-chunk,#mw-related-navigation .sidebar-chunk,body.skin--responsive .portlet,body.skin--responsive .pBody {
    background: #212126;
    color: lightgrey;
    border-color: #1b1b1f;
    border: 1px solid black;
    border-radius:1.4rem;
}

#p-logo-text a {
    color: lightgrey
}

#ca-nstab-mediawiki.a {
    color: lightgrey
}

#mw-changeslist-links {
    background: #212126;
    color: lightgrey
}

#simpleSearch {
    background: var(--oo-ui-block-bg);
    border: 1px solid var(--oo-ui-block-border);
    color: lightgrey
}

#searchInput {
    color: white
}

#pt-createaccount {
    visibility: hidden;
    display: none
}

.vector-user-links .vector-user-menu-more .vector-menu-content-list li a,#personal .dropdown {
    background: var(--oo-ui-block-bg);
    border: 1px solid black;
    color: lightgrey
}

body.skin--responsive #p-cactions li.selected {
    border: var(--oo-ui-block-border)
}

.vector-menu-tabs .selected {
    background: #1b1b1f
}

#pagehistory li.selected {
    background: #1B4D3E;
    font-weight: bold
}

div.mw-warning-with-logexcerpt,div.mw-lag-warn-high,div.mw-cascadeprotectedwarning,div#mw-protect-cascadeon,div.titleblacklist-warning {
    background: #7C0A02;
    border: 1px solid #bb7070
}

/* Стиль для таблиц wikitable */
.wikitable {
    border-spacing: 1px;
    padding: 10px;
    border-collapse: separate;
    border: none;
    border-radius: 0.8em;
    background: var(--oo-ui-block-bg);
    color: #dddddd;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
}

.wikitable>*>tr>*{
    padding: 0.4em !important;
    margin: 0 !important;
    border: none;
}

.wikitable>*>tr>th {
    background: var(--oo-ui-block-bg);
    color: #e1e1e1;
}

.wikitable>*>tr>td {
    background: #31313b;
}

.wikitable p, .wikitable h1, .wikitable h2, .wikitable h3, .wikitable h4, .wikitable h5, .wikitable h6, .wikitable li {
    color: #dddddd;
}

/* Закругление верхнего левого угла первой ячейки */
.wikitable thead tr:first-child th:first-child,
.wikitable thead tr:first-child td:first-child,
.wikitable:not(:has(thead)) tr:first-child th:first-child,
.wikitable:not(:has(thead)) tr:first-child td:first-child {
    border-top-left-radius: 4px;
}

/* Закругление верхнего правого угла последней ячейки */
.wikitable thead tr:first-child th:last-child,
.wikitable thead tr:first-child td:last-child,
.wikitable:not(:has(thead)) tbody > tr:first-child th:last-child,
.wikitable:not(:has(thead)) tbody > tr:first-child td:last-child {
    border-top-right-radius: 4px;
}

/* Закругление нижнего левого угла первой ячейки последнего ряда 
.wikitable tbody tr:last-child th:first-child,
.wikitable tbody tr:last-child td:first-child {
    border-bottom-left-radius: 4px;
}*/

/* Закругление нижнего правого угла последней ячейки последнего ряда 
.wikitable tbody tr:last-child th:last-child,
.wikitable tbody tr:last-child td:last-child {
    border-bottom-right-radius: 4px;
}*/

/* Таблицы на телефонах */
@media screen and (max-width: 850px) {
    .wikitable {
        font-size: 0.65em;
        padding: 5px !important;
    }
    
	.wikitable:not(.no-img-adaptive) img[width="64"][height="64"] {
		width: 32px;
		height: 32px;
	}
	
	.wikitable:not(.no-img-adaptive) img[width="64"][height="128"] {
		width: 32px;
		height: 64px;
	}
	
	.wikitable:not(.no-img-adaptive) img[width="128"][height="128"] {
		width: 64px;
		height: 64px;
	}
}

.toc {
    background: var(--oo-ui-block-bg);
    border: 1px solid black;
    color: white
}

.mw-content-ltr .tocnumber {
    color: grey
}

.quickbox {
    border: 1px solid var(--oo-ui-block-border);
    background: var(--oo-ui-block-bg)
}

.quickboxhead {
    border-bottom: 1px solid var(--oo-ui-block-border);
    background: #1b1b1f;
    text-align: center
}

.mw-rcfilters-ui-filterMenuSectionOptionWidget {
	background: var(--oo-ui-block-bg-light);
}

.mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
    color: lightgray;
}

.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,.mw-rcfilters-ui-changesListWrapperWidget {
    background: var(--oo-ui-block-bg);
    border: 1px solid var(--oo-ui-block-border);
    color: white
}

.mw-changeslist-legend {
    display: none
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
    background: var(--oo-ui-block-bg);
    border: 1px solid var(--oo-ui-block-border);
    color: lightgray;
}

.oo-ui-popupWidget-popup {
    background: #303037;
    border: 1px solid var(--oo-ui-block-border);
    color: lightgray;
}

.oo-ui-menuSelectWidget {
    border-color: var(--oo-ui-block-border);
    background: var(--oo-ui-block-gradient);
}

.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover {
	background: var(--oo-ui-block-border);
}

.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
	background: var(--oo-ui-block-bg-dark);
    border-top: 1px solid #ffffff09;
    border-bottom: 1px solid #ffffff09;	
}

.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
    border-color: var(--oo-ui-block-border);
	color: lightgrey;
}

.mw-rcfilters-ui-menuSelectWidget-footer {
    border-color: var(--oo-ui-block-border);
    background: var(--oo-ui-block-bg);
}

.mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget {
	color: lightgrey;
}

.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
	background: transparent;
}

.oo-ui-optionWidget-highlighted {
	background: var(--oo-ui-block-bg-dark) !important;
}

.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover {
	border-color: var(--oo-ui-block-border-light) !important; 
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
    background-color: var(--oo-ui-block-bg);
    border-color: var(--oo-ui-block-border);
    color: white;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon:not(.oo-ui-image-invert), .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-indicatorElement-indicator:not(.oo-ui-image-invert) {
    opacity: 0.87;
}

.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
    background: var(--oo-ui-block-bg-dark);
    border-color: var(--oo-ui-block-border-light);
    color: lightgray;
    border-radius: 0.3em;
}

.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled {
    background: var(--oo-ui-block-bg-dark);
}

.oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button {
	box-shadow: none;
}

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
    color: white;
}

.mw-widget-dateInputWidget-calendar {
    border-color: var(--oo-ui-block-border);
    background: var(--oo-ui-block-gradient);
}

.oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon:not(.oo-ui-image-invert), .oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator:not(.oo-ui-image-invert) {
    filter: invert(0.7);
}

.mw-widget-calendarWidget-day-heading {
    color: lightgray;
}

.mw-widget-calendarWidget-day {
    color: lightgray;
}

.mw-widget-calendarWidget-labelButton .oo-ui-buttonElement-button .oo-ui-labelElement-label {
    color: lightgrey;
}

#ca-nstab-special.selected.mw-list-item {
    background: var(--oo-ui-block-bg-light);
}

.mw-editform #wpTextbox1,textarea {
    background: #303037;
    border: 1px solid var(--oo-ui-block-border);
    color: white
}

.wikiEditor-ui-toolbar {
    background: var(--oo-ui-block-bg);
    color: white
}

.wikiEditor-ui-toolbar .group {
    border: 1px solid var(--oo-ui-block-border);
    color: white
}

.wikiEditor-ui-toolbar .group .label {
	color: lightgray;
}

.wikiEditor-ui-toolbar .tabs span.tab a.current,.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
    color: #151518;
    font-weight: bold
}

.wikiEditor-ui .wikiEditor-ui-top {
    border-bottom: 1px solid var(--oo-ui-block-border)
}

.wikiEditor-ui .wikiEditor-ui-view {
    border: 1px solid var(--oo-ui-block-border)
}

.editOptions,.mw-editform .editOptions {
    background: #212126;
    border: 1px solid var(--oo-ui-block-border);
    color: white
}

.oo-ui-tagMultiselectWidget-input.oo-ui-widget.oo-ui-widget-enabled.oo-ui-inputWidget.oo-ui-iconElement.oo-ui-textInputWidget.oo-ui-textInputWidget-type-text {
    background: var(--oo-ui-block-border);
}

.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-input > .oo-ui-icon-menu {
    filter: invert(0.7);
}

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    color: lightgrey;
}

.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
    border-color: var(--oo-ui-block-border);
}

.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterTagMultiselectWidget-views-select {
	background: var(--oo-ui-block-bg);
}

@media screen {
    .mw-body-content .recipeimg a>img {
        padding: 0;
        margin: 0;
        border: 0;
        width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        max-height: 32px !important
    }
}

.positive {
    color: #00FF00;
    font-weight: bold
}

.negative {
    color: #FF0000;
    font-weight: bold
}

.anglerect {
    --angle-rect-clip-size: 16px;
    clip-path: polygon(0 0,calc(100% - var(--angle-rect-clip-size)) 0,100% var(--angle-rect-clip-size),100% 100%,var(--angle-rect-clip-size) 100%,0 calc(100% - var(--angle-rect-clip-size)))
}

.flex {
    display: flex
}

.mw-body {
    padding: 0.5em;
    box-shadow: 0 0 2px black
}

.mw-body dd {
    margin: 0.2em;
    margin-left: 1.6em
}

/* Общие стили для вкладок */
.tabs-label {
    cursor: pointer;
    padding: 1px 6px;
    background: transparent;
    border: 1px solid black;
}

.tabs-label:hover {
    z-index: 2;
    background: #ddddff0d !important;
    transition: all 0.1s;
}

/* Стили для активных вкладок */
.tabs-tabbox > .tabs-input:checked + .tabs-label,
.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
    background: #ddddff0d;
    border-top: 1px solid rgb(255 255 255 / 15%);
    border-bottom: 1px solid #3366cc;
    z-index: 2;
}

/* Стили для структуры вкладок */
.tabs-tabbox > .tabs-input + .tabs-input + .tabs-label {
    margin: 0;
}

.tabs-tabbox > .tabs-label {
    margin: 0;
    vertical-align: baseline;
    border-radius: 0;
    background: transparent;
    border: 1px solid rgb(0 0 0 / 50%);
    border-top: 1px solid rgb(255 255 255 / 10%);
}

/* Стили для контейнера вкладок */
.tabs-tabbox > .tabs-container {
    padding: 14px 10px;
    background: #ddddff0d;
    border-radius: 0;
    border: 1px solid rgb(0 0 0 / 50%);
}

.tabs-content ol {
    margin: 0.3em 0 0 2.5em;
}

/* Класс для уменьшения яркости фона tabs */
.tabs-no-background > .tabs-container {
    background: #ddddff06;
}

.tooltip {
    position: relative;
    display: inline;
}

.tooltiptext {
    position: absolute;
    min-width: 240px;
    max-width: 100%;
    left: -240px;
    right: -240px;
    top: 125%;
    margin-left: auto;
    margin-right: auto;
    z-index: 99;
    padding: 22px;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.05s;
    border: 1px solid #3366cc;
    border-radius: 1.4rem;
    background-color: var(--oo-ui-block-bg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

@media screen and (min-width: 851px) {
    .mobile {
        display:none
    }

    .headder {
        width: 25%;
        float: right;
        margin-left: 1em
    }

    .stiky {
        position: sticky;
        top: 0.1em
    }
}

@media screen and (max-width: 850px) {
    .nomobile {
        display:none
    }

    .headder {
        width: 100%;
        margin-left: 0
    }

    .sidebar-inner {
        background: var(--oo-ui-block-bg);
        border: 1px solid black;
        color: lightgrey
    }

    .tooltip {
        position: static
    }

    .tooltiptext {
        box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
        position: fixed!important;
        width: 80vw !important;
        top: 40vh !important;
        left: 0 !important;
        margin: 0 auto !important;
        right: 0!important;
    }
    /*
    .mobilefont {
        font-size: 80%
    }
    */
    
    .mobile-image img {
        width: 32px;
        height: 32px;
    }
}

.mw-mmv-above-fold,.mw-mmv-dialog,.mw-mmv-image-links li,.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,.mw-mmv-options-dialog-header,.mw-mmv-options-text-header {
    color: #e0e0e0
}

.mw-mmv-above-fold {
    background: #222;
    border-top: 1px solid #333
}

.mw-mmv-image-metadata {
    background-color: #111;
    border-color: #333
}

.mw-mmv-dialog {
    border: 1px solid #333;
    background: #222;
    box-shadow: none
}

.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
    background: #222;
    border-bottom: 1px solid #333;
    border-right: 1px solid #333
}

.mw-mmv-options-enable-alert {
    background: #333;
    color: #e0e0e0
}

.mw-mmv-filepage-buttons .mw-ui-button {
    background: #36c;
    color: #e0e0e0;
    border-color: #1d4699
}

.mw-default-size {
    background-color: #21212600 !important;
    border-color: black !important
}

.mw-default-size img {
    border-color: black !important
}

.mw-default-size figcaption {
    background-color: #21212600 !important;
    border-color: black !important
}

.mw-halign-right {
    background-color: var(--oo-ui-block-bg)00 !important;
    border-color: black !important
}

.mw-halign-right img {
    border-color: black !important
}

.mw-halign-right figcaption {
    background-color: var(--oo-ui-block-bg)00 !important;
    border-color: black !important
}

.mw-halign-left {
    background-color: var(--oo-ui-block-bg)00 !important;
    border-color: black !important
}

.mw-halign-left img {
    border-color: black !important
}

.mw-halign-left figcaption {
    background-color: var(--oo-ui-block-bg)00 !important;
    border-color: black !important
}

.mw-halign-center {
    background-color: var(--oo-ui-block-bg)00 !important;
    border-color: black !important
}

.mw-halign-center img {
    border-color: black !important
}

.mw-halign-center figcaption {
    background-color: var(--oo-ui-block-bg)00 !important;
    border-color: black !important
}

.reference {
    background-color: var(--oo-ui-block-bg)00;
}

ol.references li:target,sup.reference:target {
    background-color: #ffffff0f;
    padding: 0px 1px 3px 1px;
}

.oo-ui-inputWidget-input {
    background-color: var(--oo-ui-block-bg) !important;
    border-color: var(--oo-ui-block-border) !important;
    color: white !important
}
.oo-ui-indicator-down {
	filter: invert(0.7);
}

.oo-ui-dropdownWidget {
	background-color: var(--oo-ui-block-bg);
}

.oo-ui-dropdownWidget-handle {
    background-color: var(--oo-ui-block-bg) !important;
    border-color: var(--oo-ui-block-border);
    color: white !important;	
}

.mw-widget-dateInputWidget-handle {
    background-color: var(--oo-ui-block-bg);
    border-color: var(--oo-ui-block-border);
    color: white !important;	
}

.mw-search-profile-tabs {
    background-color: var(--oo-ui-block-bg) !important;
    border: var(--oo-ui-block-border) !important;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
    background: var(--oo-ui-block-bg-light);
    border-color: var(--oo-ui-block-border-light);
    color: lightgrey;
}

.search-types .current a {
    color: #d3d3d3 !important;
    cursor: default !important
}

.mw-message-box-error {
    background-color: #7b1919 !important;
    border-color: #af2424 !important
}

.mw-message-box-warning {
    background-color: #7b6919 !important;
    border-color: #af9a24 !important
}

#mw-header-nav-hack {
    border-top: solid 2px #212126 !important;
    display: block;
    position: absolute;
    z-index: 98;
    background: #212126 !important;
    width: 100%
}

.ui-widget-overlay {
    background: #000000 !important;
    opacity: .3 !important
}

.ui-widget-content {
    border: 1px solid #4a4a57 !important;
    background: #212126 !important;
    color: #e0e0e0 !important
}

.ui-widget-header {
    border: 1px solid #4a4a57 !important;
    background: #212126 !important;
    color: #e0e0e0 !important;
    font-weight: bold !important
}

.mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
	color: var(--color-text-dark);
}

.mw-rcfilters-ui-itemMenuOptionWidget-label-title {
    color: lightgrey;
}

#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt {
    width: 100% !important;
    background-color: var(--oo-ui-block-bg) !important;
    color: #e0e0e0 !important
}

.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
    box-sizing: border-box !important;
    background-color: var(--oo-ui-block-bg) !important;
    color: #e0e0e0 !important
}

.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
    font-family: Verdana,Arial,sans-serif !important;
    font-size: 1em !important;
    background-color: var(--oo-ui-block-bg) !important;
    color: #e0e0e0 !important
}

.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default {
    border: 1px solid #4a4a57 !important;
    background: var(--oo-ui-block-bg) !important;
    font-weight: normal !important;
    color: #e0e0e0 !important
}

.ui-state-hover,.ui-widget-contetn .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus {
    border: 1px solid #4a4a57 !important;
    background: #4c4c59 !important;
    font-weight: normal !important;
    color: #e0e0e0 !important
}

body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
    right: 0.9em !important;
    background: #4c4c59 !important
}

.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus {
    padding: 0 !important;
    background: #6c6c80 !important
}

ul#filetoc,.toc,.toccolours,.mw-warning {
    display: table !important;
    background-color: var(--oo-ui-block-bg) !important;
    border: solid #000000 !important;
    border-radius: 0.9em;
    border-width: 1px 1px 0.2em !important;
    box-shadow: 0 1px 2px 1px rgb(39 0 255 / 17%) !important;
    padding: 1.25em 1.75em !important;
    margin-top: 1em !important;
    margin-bottom: 1em !important;
    min-width: 15em !important;
    font-size: 100% !important
}

.mw-body h1 {
    font-family: 'oswald';
    font-size: 2em
}

.mw-body .toctitle h2 {
    font-family: 'oswald';
    font-size: 1.2em
}

.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context {
    font-family: monospace,monospace !important;
    background-color: #1b1b1f !important;
    border-color: #1b1b1f !important;
    color: white !important
}

.diff-deletedline .diffchange {
    background: #4c3c16 !important
}

.diff-addedline .diffchange {
    background: #16324d !important
}

.mw-json th,.mw-json td {
    border: 1px solid #000000;
    font-size: 16px;
    padding: 0.5em 1em
}

.mw-json tr {
    background-color: #212126;
    margin-bottom: 0.5em
}

.mw-json th {
    background-color: #303037;
    font-weight: normal;
    vertical-align: top;
    color: #d3d3d3
}

.mw-json th span {
    -webkit-position: sticky;
    position: sticky;
    top: 0.5em
}

.mw-json-value,.mw-json-single-value {
    background-color: #1b5929;
    font-family: monospace,monospace;
    white-space: pre-wrap;
    color: #d3d3d3
}

.mw-json-empty {
    background-color: #1b5929;
    font-style: italic;
    color: #d3d3d3
}

.hover_img_special {
    top: 0;
    left: 0;
    display: none
}

.img_special:hover .hover_img_special {
    display: inline
}

.img_special:hover .img_spec {
    display: none
}

.ace-tm .ace_gutter {
    background: #212126;
    color: #333
}

.ace-tm .ace_print-margin {
    width: 1px;
    background-color: #1b1b1f
}

.ace-tm {
    background-color: #1b1b1f;
    color: lightgrey
}

.ace-tm .ace_cursor {
    color: white
}

.ace-tm .ace_storage,.ace-tm .ace_keyword {
    color: rgb(153,153,255)
}

.ace-tm .ace_constant.ace_numeric {
    color: rgb(153,153,205)
}

.ace-tm .ace_constant {
    color: rgb(241,89,92)
}

.ace-tm .ace_support.ace_function {
    color: rgb(68,118,235)
}

.ace-tm .ace_support.ace_constant {
    color: rgb(23,202,33)
}

.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {
    color: rgb(182,187,236)
}

.ace-tm .ace_string {
    color: rgb(6,142,13)
}

.ace-tm .ace_comment {
    color: rgb(103,193,150)
}

.ace-tm .ace_constant.ace_numeric {
    color: rgb(153,153,255)
}

.ace-tm .ace_marker-layer .ace_selection {
    background: rgb(28,45,68)
}

.ace-tm .ace_marker-layer .ace_bracket {
    margin: -1px 0 0 -1px;
    border: 1px solid rgb(94,94,94)
}

.ace-tm .ace_marker-layer .ace_active-line {
    background: rgb(153,153,183,7%)
}

.ace-tm .ace_gutter-active-line {
    background-color: rgb(44,44,51)
}

.ace-tm .ace_marker-layer .ace_selected-word {
    background: rgb(37,59,89);
    border: 1px solid rgb(36,36,42)
}

.codeEditor-status {
    clear: both;
    width: 100%;
    background-color: #212126;
    border-top: 1px solid #40404b;
    display: table
}

.codeEditor-status-message {
    border-left: 1px solid #40404b;
    border-right: 1px solid #40404b;
    padding: 0 0.3em;
    width: 100%;
    display: table-cell
}

.ace_search {
    background-color: #212126;
    color: #d3d3d3;
    border: 1px solid #383843;
    border-top: 0 none;
    overflow: hidden;
    margin: 0;
    padding: 4px 6px 0 4px;
    position: absolute;
    top: 0;
    z-index: 99;
    white-space: normal
}

.ace_search_form.ace_nomatch {
    outline: 1px solid #922626
}

.ace_search_field {
    border-radius: 3px 0 0 3px;
    background-color: var(--oo-ui-block-bg);
    color: #d3d3d3;
    border: 1px solid #383843;
    border-right: 0 none;
    outline: 0;
    padding: 0;
    font-size: inherit;
    margin: 0;
    line-height: inherit;
    padding: 0 6px;
    min-width: 17em;
    vertical-align: top;
    min-height: 1.8em;
    box-sizing: content-box
}

.ace_searchbtn {
    border: 1px solid #383843;
    line-height: inherit;
    display: inline-block;
    padding: 0 6px;
    background: var(--oo-ui-block-bg);
    border-right: 0 none;
    border-left: 1px solid #383843;
    cursor: pointer;
    margin: 0;
    position: relative;
    color: #d3d3d3
}

.ace_searchbtn:last-child {
    border-radius: 0 3px 3px 0;
    border-right: 1px solid #383843
}

.ace_searchbtn:hover {
    background-color: #1b1b1f
}

.ace_searchbtn.prev:after {
    content: "";
    border: solid 2px #d3d3d3;
    width: 0.5em;
    height: 0.5em;
    border-width: 2px 0 0 2px;
    display: inline-block;
    transform: rotate(-45deg)
}

.ace_searchbtn.next:after {
    content: "";
    border: solid 2px #d3d3d3;
    width: 0.5em;
    height: 0.5em;
    border-width: 2px 0 0 2px;
    display: inline-block;
    transform: rotate(135deg)
}

.ace_button {
    margin-left: 2px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
    opacity: 0.7;
    border: 1px solid rgb(56,56,68);
    padding: 1px;
    box-sizing: border-box!important;
    color: #d3d3d3;
    background-color: var(--oo-ui-block-bg)
}

.ace_button:hover {
    background-color: #1b1b1f;
    opacity: 1
}

.ace_button:active {
    background-color: #101013
}

::-webkit-scrollbar {
    background-color: #424242
}

::-webkit-scrollbar-thumb {
    background-color: #686868;
    border: 2px solid #424242;
    border-radius: 4px
}

::-webkit-scrollbar-thumb:hover {
    background-color: #7b7b7b
}

::-webkit-scrollbar-thumb:active {
    background-color: #a1a1a1
}

.style-for-sub-numbered-lists ol {
    counter-reset: item
}

.style-for-sub-numbered-lists li {
    display: block
}

.style-for-sub-numbered-lists li:before {
    content: counters(item,".") ". ";
    counter-increment: item
}

.section {
    display: flex;
    flex-wrap: wrap
}

.section .col {
    flex: 1 1 auto
}

.section .line-break {
    flex-basis: 100%;
    width: 0px;
    height: 0px;
    overflow: hidden
}

.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,.mw-changeslist-legend,.mw-body fieldset#mw-searchoptions,.mw_metadata,.mw-datatable {
    color: #d3d3d3;
    background: var(--oo-ui-block-gradient);
    border: 1px solid var(--oo-ui-block-bg);
    padding: 12px 10px;
    box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.3);
}

.mw-rcfilters-ui-filterMenuHeaderWidget-header {
    background: var(--oo-ui-block-bg);
}

.oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-iconElement-icon, .oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-indicatorElement-indicator {
	filter: invert(0.7);
}

.mw-rcfilters-ui-filterMenuHeaderWidget-title.oo-ui-labelElement-label {
    color: lightgray;
    font-weight: bold;
}

.oo-ui-iconElement-icon.oo-ui-icon-search {
    filter: invert(0.7);
}

#mw-search-toggleall {
    background-color: var(--oo-ui-block-bg);
    border-color: var(--oo-ui-block-border);
}

#mw-search-togglenone {
    background-color: var(--oo-ui-block-bg);
    border-color: var(--oo-ui-block-border);
}

#mw-searchoptions .divider {
    border-color: var(--oo-ui-block-border-light);
}

.mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td {
    border:none;
    padding:0.5em;
}

.mw-datatable th {
    background: #212126
}

.mw-datatable td {
    background-color: #303037
}

.mw-datatable tr:hover td {
    background-color: #3f3f48
}

.pretoclip-copy-button {
    float: right
}

.mw-scribunto-console-fieldset {
    color: #d3d3d3;
    background: none;
    border: 3px solid var(--oo-ui-block-bg)
}

.mw-scribunto-message {
    color: #008000;
    background: none
}

#mw-scribunto-input {
    width: 100%;
    border: 0;
    overflow: auto;
    background: #303037
}

.mw-scribunto-input {
    color: #d3d3d3;
    font: inherit;
    font-weight: bold;
    margin-top: 0.5em
}

.table-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly
}

.boxes-flex {
    padding: 0;
    margin: 0;
    text-align: center
}

.role-big-title {
    margin: 0px;
    text-align: center;
    font-size: 40px;
    line-height: 50px;
    border-radius: 8px
}

.role-block-radius {
    border-radius: 8px
}

.role-block-name {
    padding: 2px;
    border-radius: .3em;
    margin-bottom: .2em
}

.story-text {
    text-indent: 19px;
    text-align: justify
}

.story-dialogue {
    line-height: 1.2
}

.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
    display: block;
    position: relative;
    margin: 0px 25%
}

.mw-gallery-slideshow .gallerybox.slideshow-current {
    background: #28282e
}

.gallerytext {
    overflow: hidden;
    font-size: 94%;
    padding: 2px 4px;
    word-wrap: break-word;
    text-align: center
}

#content .gallerybox div.thumb {
    background-color: #f8f9fa00
}

.mw-body li.gallerybox div.thumb {
    background: #f8f9fa00;
    border: solid #28282e;
    border-width: 1px 1px 0.2em;
    padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);
    padding: 0
}

.title-no-bottom-border {
    border-bottom: none !important
}

.title-top-border {
    border-top: solid 2px #c8ccd1
}

@media (min-width: 1340px) {
    #mw-content-block {
        display:block
    }

    #mw-content {
        margin-left: 14em;
        padding: 2em 0 0
    }

    #mw-content-wrapper {
        float: right;
        margin-left: -14em;
        background: transparent;
        width: 100%
    }

    #mw-related-navigation {
        width: 14em;
        padding: 0 1em 0 0
    }

    .color-middle {
        margin-right: 0
    }

    .mw-wiki-logo {
        display: inline-block
    }

    #catlinks {
        margin-left: 14em
    }
}

#footer {
    padding-right: 1em
}

.mw-body h2 {
    font-size: 1.8em;
    border-bottom: solid 2px #3366cc
}

.mw-body h4 {
    font-weight: bold;
    font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif;
    font-size: 1.1em;
}

#mw-site-navigation .sidebar-chunk h3,#mw-related-navigation .sidebar-chunk h3 {
    border-bottom: solid 2px #3366cc
}

.target {
    border-bottom: 1px solid darkblue
}

.target:target {
    border-bottom: 2px solid gold;
    transition: border 0.7s cubic-bezier(0.4,0,0.2,1)
}

.backlight:hover {
    box-shadow: 0 0 0.3em gold;
    background-color: #00000025;
}

#main.backlight:hover {
    box-shadow: inset 0 0 23em #00000066;
    border-radius: 8px
}

#strongwhite, #strongwhite p, #strongwhite h1, #strongwhite h2, #strongwhite h3, #strongwhite h4, #strongwhite h5, #strongwhite h6, #strongwhite li {
    color: #e9e9e9 !important
}
/*затемнение для мобилок*/
#menus-cover {
    background: #000000;
    opacity: 0.4
}
.oo-ui-tagMultiselectWidget-handle,.oo-ui-panelLayout-padded {
    background: #1b1b1f;
    border: 1px solid black;
    border-radius: 0
}
/*Красивые картинки*/
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
    margin: 0 0 0.5em 0.5em;
    border:1px solid black;
    border-bottom:0;
    border-radius:0.9em 0.9em 0 0;
    background:#1b1b1f;
}
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
    border-radius: 0 0 0.9em 0.9em;
    border:1px solid black;
    border-top:0;
    background:#1b1b1f;
    padding-bottom:5px;
    font-family:oswald;
    font-size:1em;
}

figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) {
    margin: 5px;
    border-radius: 0.4em;
}
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{
    border-collapse:separate;
}
.mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{
    border-bottom: 1px solid #3366cc;
}

/*кнопка для главного меню*/
.StupidButton {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

/*Цвета таблиц для разных отделов*/

/* Таблица */
#MED.wikitable {
	background: #01453e;
	border-spacing: 0px;
}

/* Заголовок */
#MED.wikitable thead tr th,
#MED.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #01453e;
    border-bottom: 3px solid #00000015;
}

/* Заглавная ячейка */
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#MED.wikitable thead + tbody > tr th {
    background: #005b53;
    border-bottom: 1px solid #01453e;
}

/* Ячейка с содержимым */
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#MED.wikitable thead + tbody > tr td {
    background: #1f635d;
    border-bottom: 1px solid #01453e;
    border-left: 1px solid #005b53;
}

/* Таблица */
#ENG.wikitable {
	background: #775f0e;
	border-spacing: 0px;
}

/* Заголовок */
#ENG.wikitable thead tr th,
#ENG.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #775f0e;
    border-bottom: 3px solid #00000015;
}

/* Заглавная ячейка */
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#ENG.wikitable thead + tbody > tr th {
    background: #8f7210;
    border-bottom: 1px solid #775f0e;
}

/* Ячейка с содержимым */
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#ENG.wikitable thead + tbody > tr td {
    background: #977e31;
    border-bottom: 1px solid #775f0e;
    border-left: 1px solid #8f7210;
}

#SEC.wikitable {
    background: #404144;
    color: #dddddd;
}

#SEC.wikitable>*>tr>th {
    background: #912424;
    color: #dddddd;
}

#SEC.wikitable > * > tr > td {
    background: #515255;
    color: #dddddd;
}

#SRV.wikitable {
    background: #316f20;
    color: #dddddd;
}

#SRV.wikitable>*>tr>th {
    background: #316f20;
    color: #dddddd;
}

#SRV.wikitable >*> tr > td {
    background: #40852b;
    color: #dddddd;
}

/* Таблица */
#RND.wikitable {
	background: #630069;
	border-spacing: 0px;
}

/* Заголовок */
#RND.wikitable thead tr th,
#RND.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #630069;
    border-bottom: 3px solid #00000015;
}

/* Заглавная ячейка */
#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#RND.wikitable thead + tbody > tr th {
    background: #7c0183;
    border-bottom: 1px solid #630069;
}

/* Ячейка с содержимым */
#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#RND.wikitable thead + tbody > tr td {
    background: #84328f;
    border-bottom: 1px solid #630069;
    border-left: 1px solid #7c0183;
}

/* Таблица */
#SUP.wikitable {
	background: #6f3d0a;
	border-spacing: 0px;
}

/* Заголовок */
#SUP.wikitable thead tr th,
#SUP.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #6f3d0a;
    border-bottom: 3px solid #00000015;
}

/* Заглавная ячейка */
#SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#SUP.wikitable thead + tbody > tr th {
    background: #85490c;
    border-bottom: 1px solid #6f3d0a;
}

/* Ячейка с содержимым */
#SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#SUP.wikitable thead + tbody > tr td {
    background: #8f5a23;
    border-bottom: 1px solid #6f3d0a;
    border-left: 1px solid #85490c;
}


/*Альтернативные цвета таблиц для разных отделов*/
#aMED.wikitable thead tr th,
#aMED.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #004d45;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}

#aMED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#aMED.wikitable thead + tbody > tr th {
    background: #0d747f;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}

#aENG.wikitable thead tr th,
#aENG.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #715609;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}

#aENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#aENG.wikitable thead + tbody > tr th {
    background: #957710;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}

#aRND.wikitable thead tr th,
#aRND.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #4e0163;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}

#aRND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#aRND.wikitable thead + tbody > tr th {
    background: #78027f;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}

#aSUP.wikitable thead tr th,
#aSUP.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #6f390a;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}

#aSUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#aSUP.wikitable thead + tbody > tr th {
    background: #874b0e;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}

#aSEC.wikitable {
    background: var(--oo-ui-block-bg);
    color: #dddddd;
}

#aSEC.wikitable>*>tr>th {
    background: #912424;
    color: #dddddd;
}

#aSEC.wikitable > * > tr > td {
    background: #31313b;
    color: #dddddd;
}

/* Таблица */
#aSRV.wikitable {
	background: #216321;
	border-spacing: 0px;
}

/* Заголовок */
#aSRV.wikitable thead tr th,
#aSRV.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #216321;
    border-bottom: 0.2em solid #00000021;
}

/* Заглавная ячейка */
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#aSRV.wikitable thead + tbody > tr th {
    background: #297929;
    border-bottom: 1px solid #216321;
}

/* Ячейка с содержимым */
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#aSRV.wikitable thead + tbody > tr td {
    background: #3f833f;
    border-bottom: 1px solid #216321;
    border-left: 1px solid #297929;
}    

/* Таблица */
#BOTANY.wikitable {
	background: #0d3f28;
}

/* Заголовок */
#BOTANY.wikitable thead tr th,
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #04673e !important;
    border-bottom: 0.2em solid #00000021;
}

/* Заглавные ячейки */
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#BOTANY.wikitable thead + tbody > tr th {
    background: #0d7b39;
}

/* Первая заглавная ячейка */
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-of-type,
#BOTANY.wikitable thead + tbody > tr th:first-of-type {
    border-left: 0.2em solid #0000003b;
}

/* Ячейка с содержимым */
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#BOTANY.wikitable thead + tbody > tr td {
    background: #2a834e;
}

/* Таблица */
#MUTATION.wikitable {
	background: #220f3b;
}

/* Заголовок */
#MUTATION.wikitable thead tr th,
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #330b65 !important;
    border-bottom: 0.2em solid #00000021;
}

/* Заглавные ячейки */
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#MUTATION.wikitable thead + tbody > tr th {
    background: #3a1769;
}

/* Первая заглавная ячейка */
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-of-type,
#MUTATION.wikitable thead + tbody > tr th:first-of-type {
    border-left: 0.2em solid #0000003b;
}

/* Ячейка с содержимым */
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#MUTATION.wikitable thead + tbody > tr td {
    background: #422371;
}

/* Неразрывные пробелы в горизонтальных списках 
   @источник: https://ru.wikipedia.org/wiki/MediaWiki:Common.css
   @Распорстраняется под CC BY-SA 4.0
   @автор: [[Участник:WindEwriX]]*/
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
	white-space: nowrap;
}
/* Прекращение действия лицензии CC BY-SA 4.0*/

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 9 (2016-08-10)
   @Распорстраняется под CC BY-SA 4.0
   @author [[User:Edokter]]
 */
.hlist dl,
.hlist.hlist ol,
.hlist.hlist ul {
	margin: 0;
	padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	margin: 0;
	display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
	display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
	display: none;
}
/* Generate bullets */
.hlist dt:after {
	content: ": ";
}
.hlist dd:after,
.hlist li:after {
	content: "\00a0· ";
	font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
	content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
	content: " (";
	font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
	content: ")";
	font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}
.hlist ol > li {
	counter-increment: listitem;
}
.hlist ol > li:before {
	content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}
/* Прекращение действия лицензии CC BY-SA 4.0*/

/* Псевдо-модальное окно */
.pseudomodal--caller {
  cursor:pointer;
}

.pseudomodal {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    background-color: #212126;
    width: 60%;
    height: 80%;
    border: 1px solid black;
    border-radius: 0.5rem;
    padding: 5px 25px;
    position: fixed;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100 !important;
    box-shadow: 0px 0px 0px 100vh rgba(0,0,0,0.6);
}

.pseudomodal--caller:focus-within + .pseudomodal {
  visibility: visible;
  opacity: 1;
}

.pseudomodal:hover {
  visibility: visible;
  opacity: 1;
}

.pseudomodal--header {
  text-align: center;
  font-size: 1.1em;
  position: relative;
}

.pseudomodal--header-hr{
  margin: 20px 0;
  padding: 0;
  height: 0;
  border: none;
  border-top: 1px solid darkgray;
}

.pseudomodal--body{
  height: 100%;
  position: relative;
}

.pseudomodal::-webkit-scrollbar {
  width: 0.15rem;
  background-color:transparent;
}

.pseudomodal::-webkit-scrollbar-track {
  margin:1em;
  background: transparent;
}

.pseudomodal::-webkit-scrollbar-thumb {
  background-color: transparent;
  border: solid #373737;
}

/* Key press */
.keyboard-key {
    border: 1px solid #555555;
    border-radius: 0.2em;
    box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(to bottom, #1e1e1e, #393838, #1e1e1e);
    color: lightgrey;
    padding: 0.1em 0.3em;
    font-family: inherit;
    font-size: 0.8em;
}

@media only screen and (max-width: 600px) {
	.flex--row-column {
		flex-direction:column; width: 50%; margin: auto;
	}
}

/* Классы для форума "Справочник сталкера" проекта S.T.A.L.K.E.R. и для вики-плашек*/

.forumMessage, .wikiMessage {
	background: #1b1b1f;
}

.forumMessage {
	padding: 10px 10px 30px;
}

.wikiMessage {
	padding: 10px 10px 10px;
	margin-bottom: 10px;
}

.forumMessageInfo, .wikiMessageInfo{
	padding: 0;
	margin-left: 160px;
	border-bottom: 1px none black;
	zoom: 1;
	color: rgb(255, 255, 255);
}

.forumMessageContent, .wikiMessageContent {
	padding-bottom: 2px;
	padding-left:4px;
	border-style: hidden;
	min-height: 100px;
	overflow: hidden;
}
.forumMessageContent {
	background-color: #303037
}

.forumMessageUserInfo, .wikiIMG {
	float: left;
	width: 140px;
	position: relative;
}

.forumAvatarHolder, .wikiIMGHolder {
	padding: 10px;
	text-align: center;
	position:relative;
}

.forumAvatarHolder {
	background:#303037
}

.forumUserText {
	padding: 1px 10px;
	background:#303037
}

.forumUserName {
	font-size: 14px;
	color: rgb(255, 148, 7);
	margin-bottom: 5px;
	display: block;
	overflow: hidden;
	line-height: 16px;
	text-align: center;
}

.forumBanner {
	font-size: 11px;
	text-align: center;
	padding: 5px;
	color: black;
	border-color: silver;
	height: 16px;
	width: 105px;
	display: block;
	margin-bottom: 5px
}

.forumAdmin {
	background: silver
}
/* CodeMirror */
.CodeMirror {
    position: relative;
    overflow: hidden;
    background: #1b1b1f;
    color: inherit;
}

.CodeMirror-gutters {
    border-right: 1px solid #212126;
    background-color: #212126;
    white-space: nowrap;
}

.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
    background: #1c2d44;
}

.noExternal>.external {
  padding-right:0px !important;
  background-image:none !important;
}

.mw-mmv-image>*, .fullImageLink>*>* {
	image-rendering: auto !important;
}

/* Для тестов */
.skameykatable{
	border:1px solid black;
	border-radius:1.4rem;
}
.skameykatable>*>tr>th{
      text-align:center;
    font-weight:bold;
    }
.skameykatable>*>tr>td{
       border:none;
    }
.skameykatable>*>tr:not(:first-child)>*{
    border-top:1px solid black !important;
}
.skameykatable>*>tr:not(:first-child):not(:last-child):hover{
box-shadow: inset 30em 30em 0 #1b1b20;
}
.skameykatable>*>tr:last-child{
    box-shadow: inset 30em 30em 0 #1b1b20;
    border-bottom-left-radius:1.3rem;
    border-bottom-right-radius:1.3rem;
}

.skameykatable>*>tr>*{
     padding:0.4em;
    background:transparent;
           border:none !important;
    }
    
.headerSort::after {
	content: "\21C5";
}
    
.headerSort.headerSortUp::after {
    content: "\2191";
}

.headerSort.headerSortDown::after {
    content: "\2193";
}


.headerSort {
	background-size: 0 0 !important;
	white-space: nowrap;
}


.pseudomodal p {
	margin: 0 !important;
}

/**
* SS220 import
* 
* Taken from https://wiki.ss220.space/index.php?title=MediaWiki:Common.css&oldid=35625
*/

/* Hide noscript only elements */
.client-js *.noscript {
    display: none;
}


/* SS220 import end*/


/* Стили для заголовков в таблицах с thead */
#highlighted-header.wikitable thead tr th,
/* Стили для первого ряда в таблицах без thead */
#highlighted-header.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #3d3d4f;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}

/* Стили для последующих строк в таблицах без thead */
#highlighted-header.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
/* Стили для последующих строк в таблицах с thead */
#highlighted-header.wikitable thead + tbody > tr th {
    background: #972626;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}

/* Серый заголовок и серые ячейки */
#highlighted-header-classic.wikitable thead tr th,
#highlighted-header-classic.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #323240;
    border-bottom: 0.2em solid #00000045;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}

#highlighted-header-classic.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-classic.wikitable thead + tbody > tr th {
    background: #3e3e4d;
    border-bottom: 0.1em solid #0000000d;
    border-left: 0.2em solid #00000024;
}

/* Холодный цвет ячеек */
#highlighted-header-cold.wikitable thead tr th,
#highlighted-header-cold.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #006587;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}

#highlighted-header-cold.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-cold.wikitable thead + tbody > tr th {
    background: #00707b;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}

/* Серый заголовок и темно-красные ячейки */
#highlighted-header-dark.wikitable thead tr th,
#highlighted-header-dark.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #3d3d4f;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}

#highlighted-header-dark.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-dark.wikitable thead + tbody > tr th {
    background: #8d2121;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}

/* Палитра для Морпехов */
#highlighted-header-CM.wikitable thead tr th,
#highlighted-header-CM.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #313d45;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}

#highlighted-header-CM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-CM.wikitable thead + tbody > tr th {
    background: #355f54;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}

/* Палитра для Ксеноморфов */
#highlighted-header-xenomorph.wikitable thead tr th,
#highlighted-header-xenomorph.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #3c1d5f;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}

#highlighted-header-xenomorph.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-xenomorph.wikitable thead + tbody > tr th {
    background: #5d1c55;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}

/* Если не нужен другой стиль кроме цвета */
#no-highlight {
    border-bottom: none !important;
    box-shadow: none !important;
}


/* Таблица */
#VIOLET.wikitable {
	background: #391b5d;
	border-spacing: 0px;
}

/* Заголовок */
#VIOLET.wikitable thead tr th,
#VIOLET.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #391b5d;
    border-bottom: 0.2em solid #00000021;
}

/* Заглавная ячейка */
#VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#VIOLET.wikitable thead + tbody > tr th {
    background: #44206f;
    border-bottom: 1px solid #391b5d;
}

/* Ячейка с содержимым */
#VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#VIOLET.wikitable thead + tbody > tr td {
    background: #4a2b6f;
    border-bottom: 1px solid #391b5d;
}


/* Таблица */
#YELLOW.wikitable {
	background: #405d1b;
	border-spacing: 0px;
}

/* Заголовок */
#YELLOW.wikitable thead tr th,
#YELLOW.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #405d1b;
    border-bottom: 0.2em solid #00000021;
}

/* Заглавная ячейка */
#YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#YELLOW.wikitable thead + tbody > tr th {
    background: #4c6d20;
    border-bottom: 1px solid #405d1b;
}

/* Ячейка с содержимым */
#YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#YELLOW.wikitable thead + tbody > tr td {
    background: #577332;
    border-bottom: 1px solid #405d1b;
}

@media (max-width: 800px) {
    .grid-adaptive {
        grid-template-columns: 1fr !important;
    }
}

.grid-item-adaptive {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr));
}

/* Удаление верхних и нижних отступов для первого и последнего дочернего элемента */
.no-margin-edges > :first-child,
.tabs-content    > :first-child,
.doc             > :first-child {
    margin-top: 0 !important;
}

.no-margin-edges > :last-child,
.tabs-content    > :last-child,
.doc             > :last-child {
    margin-bottom: 0 !important;
}

/* Сброс и настройка отступов для списков */
.list-reset-margin ol {
    margin: 0 0 0 24px;
}

.list-reset-margin li {
    margin-top: 2px;
}

.list-reset-margin > ol:not(:first-child) > li:not(:first-child),
.list-reset-margin > ul:nth-of-type(n+2) {
    margin-top: 10px;
}

/* Кнопка копирования текста */
.copy-icon {
	cursor: pointer;
}


/* Кнопка копирования текста */
.brightness-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: var(--background-color);
}


/* Псевдоэлемент для добавления фона, который изменяет яркость при наведении */
.brightness-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: var(--background-color);
}

.brightness-overlay:hover::before {
	filter: brightness(103%);
}

/* Уменьшеная полоса прокрутки */
.short-scrollbar::-webkit-scrollbar { 
	width: 10px;
}

.short-scrollbar::-webkit-scrollbar-track  { 
	background: var(--oo-ui-block-bg-light);
}

.short-scrollbar::-webkit-scrollbar-thumb { 
	background: #44444d; border: 2px solid var(--oo-ui-block-bg-light); border-radius: 0;
}

/* Нужен для красивого вида примеров шаблона или кода */
.doc {
    white-space: pre-wrap;
    font-family: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace;
    background: #d0d0ff0b;
    padding: 12px 10px;
    margin-bottom: 20px;
    color: lightgrey;
}

/* Для "Шаблон:LinkСard" */
.link-card {
    display: inline-block;
    position: relative;
    min-width: 110px;
    text-align: center;
    border: 1px outset rgb(0 0 0 / 30%);
    border-radius: 0.3em;
    box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2);
    background: var(--background-color);
    transition: all 0.15s ease;
}

.link-card__image {
    position: relative;
    padding: 6px;
    align-content: center;
}

.link-card__name {
    position: relative;
    width: 100%;
    padding: 2px 4px;
    font-size: 0.8em;
    box-sizing: border-box;
    background: #00000040;
    font-weight: bold;
}

.link-card.brightness-overlay::before {
    border-radius: 0.3em;
}

.link-card__pin {
    top: 0;
    right: 0;
}

@media (min-width: 800px) {
    .link-card-hover:not(.link-card__side):hover  {
        box-shadow: 0 4px 4px 1px rgba(0, 0, 0, 0.2);
        transform: translateY(-4px);
    }
}

@media (max-width: 800px) {
    .link-card {
        display: flex;
        box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.4);
        width: 100%;
        text-align: left;
        justify-content: center;
    }

    .link-card__name {
        background: #00000020;
        padding: 4px 8px;
        font-size: 0.9em;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .link-card__image {
        padding: 4px;
    }
}

.link-card__side {
    display: flex ;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.4);
    width: 100%;
    text-align: left;
    justify-content: center;
}

.link-card__side .link-card__name {
    background: #00000020;
    padding: 4px 8px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.link-card__side .link-card__image {
    padding: 4px;
}

.link-card__side img {
    width: 32px; 
    height: 32px; 
}

/* 
  Extension:Popups 
*/

/* Всплывающие окна */
.mwe-popups {
    background: var(--oo-ui-block-gradient-light);
    box-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.35), 0 0 1px 1px rgba(0, 0, 0, 0.1);
}

.mwe-popups img {
    image-rendering: auto;
}

.mwe-popups .mwe-popups-container {
    background: var(--oo-ui-block-gradient-light);
}

.mwe-popups .mwe-popups-extract {
    color: #dddddd;
}

.mwe-popups .mwe-popups-extract:hover {
    color: #e8e8e8;
}

.mwe-popups .mwe-popups-extract[dir='ltr']::after {
    background: linear-gradient(90deg, #ffffff00 0%, #2a2a3387 50%);
}

.mwe-popups .mwe-popups-extract[dir='rtl']::after {
    background: linear-gradient(90deg, #2a2a3387 50%, #ffffff00 0%);
}

/* Настройки */
.mwe-popups-overlay {
	background-color: rgba(0, 0, 0, 0.6);
}

#mwe-popups-settings {
    border: 1px solid #41414d;
    background: #27272f;	
}

#mwe-popups-settings header {
    border-bottom: 1px solid #41414d;
}

#mwe-popups-settings main#mwe-popups-settings-form p {
	color: lightgray;
}

#mwe-popups-settings main#mwe-popups-settings-form form label > span {
    color: #dddddd;
}

/* Для "Модуль:Краткий вызов" */

.shortcut {
    clear: right;
    float: right;
    margin-left: 0.75em;
    font-size: smaller;
    background: var(--color-code-bg-light);
    border: 1px solid var(--color-code-border-light);
}

.shortcut-1 > span > span > img {
    filter: invert(1);
}

.shortcut-1, .shortcut-2 {
    padding: 4px;
}

.shortcut-2 {
	line-height: 1.25em;
    font-weight: bold;
    vertical-align: middle;
}