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

Материал из Space Station 14 Вики
мНет описания правки
Нет описания правки
 
(не показано 39 промежуточных версий 2 участников)
Строка 8: Строка 8:


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


/* ШРИФТЫ */
/* ШРИФТЫ */
Строка 140: Строка 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;
}
}
Строка 148: Строка 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;
}
}


Строка 222: Строка 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
}
}


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


.biglink {
.tools-inline li:hover {
    font-family: "Oswald";
     border-bottom-width: 2px;
     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 {
.tools-inline li.selected {
    display: none
    background: transparent !important;
    border-bottom-width: 2px;
}
}


.mw-rcfilters-enabled .mw-specialpage-summary {
.tools-inline li.selected a {
     margin-top: 1em
     filter: invert(100%);
}
}


.citation:target {
.tools-inline li.selected span {
     background-color: rgba(0,127,255,0.133)
     filter: invert(100%);
    color: lightgrey;
    font-weight: bold;
}
}


.citation {
#personal h2, #site-tools h2, #site-navigation h2, #searchButton {
     word-wrap: break-word
     filter: invert(100%)
}
}


ol.references {
#personal h2 span {
     font-size: 90%;
     filter: invert(100%)
    margin-bottom: 0.5em
}
}


.hlist dl,.hlist ol,.hlist ul {
.dropdown-toggle:after {
    margin: 0;
filter: invert(100%);
    padding: 0
}
}


.hlist dd,.hlist dt,.hlist li {
.mw-editsection {
    margin: 0;
filter: invert(100%);
    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 {
.mw-editsection a {
    display: inline
filter: invert(100%);
}
}


.hlist .mw-empty-li {
.mw-body-content sub,.mw-body-content sup,span.reference {
     display: none
     font-size: 80%
}
}


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


.hlist dd:after,.hlist li:after {
#interwiki-completelist {
    content: " · ";
     font-weight: bold
     font-weight: bold
}
}


.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after {
.biglink {
     content: none
    font-family: "Oswald";
    font-style: oblique 10deg;
    font-variant-caps: small-caps;
     text-shadow: #1b1b1f 1px 2px,#595959dd 2px 2px 1px
}
}


.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 {
.client-js .mw-special-Watchlist #watchlist-message,.client-js .collapsible:not(.mw-made-collapsible).collapsed>tbody>tr:not(:first-child),#editpage-specialchars {
     content: " (";
     display: none
    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 {
.mw-rcfilters-enabled .mw-specialpage-summary {
     content: ")";
     margin-top: 1em
    font-weight: normal
}
}


.hlist ol {
.citation:target {
     counter-reset: listitem
     background-color: rgba(0,127,255,0.133)
}
}


.hlist ol>li {
.citation {
     counter-increment: listitem
     word-wrap: break-word
}
}


.hlist ol>li:before {
ol.references {
     content: " " counter(listitem) "\a0"
    font-size: 90%;
     margin-bottom: 0.5em
}
}


.hlist dd ol>li:first-child:before,.hlist dt ol>li:first-child:before,.hlist li ol>li:first-child:before {
.hlist dl,.hlist ol,.hlist ul {
     content: " (" counter(listitem) "\a0"
    margin: 0;
     padding: 0
}
}


.plainlist ol,.plainlist ul {
.hlist dd,.hlist dt,.hlist li {
     line-height: inherit;
     margin: 0;
    list-style: none none;
     display: inline
     margin: 0
}
}


.plainlist ol li,.plainlist ul li {
.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 {
     margin-bottom: 0
     display: inline
}
}


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


.navbox .navbox {
.hlist dt:after {
     margin-top: 0
     content: ":"
}
}


.navbox+.navbox {
.hlist dd:after,.hlist li:after {
     margin-top: -1px
     content: " · ";
    font-weight: bold
}
}


.navbox-inner,.navbox-subgroup {
.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after {
     width: 100%
     content: none
}
}


.navbox-group,.navbox-title,.navbox-abovebelow {
.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 {
    padding: 0.25em 1em;
     content: " (";
     line-height: 1.5em;
     font-weight: normal
     text-align: center
}
}


th.navbox-group {
.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 {
     white-space: nowrap;
     content: ")";
     text-align: right
     font-weight: normal
}
}


.navbox,.navbox-subgroup {
.hlist ol {
     background-color: #fdfdfd
     counter-reset: listitem
}
}


.navbox-list {
.hlist ol>li {
     line-height: 1.5em;
     counter-increment: listitem
    border-color: #fdfdfd
}
}


tr+tr>.navbox-abovebelow,tr+tr>.navbox-group,tr+tr>.navbox-image,tr+tr>.navbox-list {
.hlist ol>li:before {
     border-top: 2px solid #fdfdfd
     content: " " counter(listitem) "\a0"
}
}


.navbox th,.navbox-title {
.hlist dd ol>li:first-child:before,.hlist dt ol>li:first-child:before,.hlist li ol>li:first-child:before {
     background-color: #ccccff
     content: " (" counter(listitem) "\a0"
}
}


.navbox-abovebelow,th.navbox-group,.navbox-subgroup .navbox-title {
.plainlist ol,.plainlist ul {
     background-color: #ddddff
    line-height: inherit;
    list-style: none none;
     margin: 0
}
}


.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow {
.plainlist ol li,.plainlist ul li {
     background-color: #e6e6ff
     margin-bottom: 0
}
}


.navbox-even {
.navbox {
     background-color: #f7f7f7
     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-odd {
.navbox .navbox {
     background-color: transparent
     margin-top: 0
}
}


.navbox .hlist td dl,.navbox .hlist td ol,.navbox .hlist td ul,.navbox td.hlist dl,.navbox td.hlist ol,.navbox td.hlist ul {
.navbox+.navbox {
     padding: 0.125em 0
     margin-top: -1px
}
}


.mw-parser-output .mw-collapsible-toggle {
.navbox-inner,.navbox-subgroup {
     font-weight: normal;
     width: 100%
    text-align: right;
    padding-right: 0.2em;
    padding-left: 0.2em
}
}


.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
.navbox-group,.navbox-title,.navbox-abovebelow {
     float: left;
     padding: 0.25em 1em;
    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;
     line-height: 1.5em;
     width: 22em
     text-align: center
}
}


.infobox-header,.infobox-label,.infobox-above,.infobox-full-data,.infobox-data,.infobox-below,.infobox-subheader,.infobox-image,.infobox-navbar,.infobox th,.infobox td {
th.navbox-group {
     vertical-align: top
    white-space: nowrap;
     text-align: right
}
}


.infobox-label,.infobox-data,.infobox th,.infobox td {
.navbox,.navbox-subgroup {
     text-align: left
     background-color: #fdfdfd
}
}


.infobox .infobox-above,.infobox .infobox-title,.infobox caption {
.navbox-list {
     font-size: 125%;
     line-height: 1.5em;
    font-weight: bold;
     border-color: #fdfdfd
     text-align: center
}
}


.infobox-title,.infobox caption {
tr+tr>.navbox-abovebelow,tr+tr>.navbox-group,tr+tr>.navbox-image,tr+tr>.navbox-list {
     padding: 0.2em
     border-top: 2px solid #fdfdfd
}
}


.infobox .infobox-header,.infobox .infobox-subheader,.infobox .infobox-image,.infobox .infobox-full-data,.infobox .infobox-below {
.navbox th,.navbox-title {
     text-align: center
     background-color: #ccccff
}
}


.infobox .infobox-navbar {
.navbox-abovebelow,th.navbox-group,.navbox-subgroup .navbox-title {
     text-align: right
     background-color: #ddddff
}
}


.wikitable.plainrowheaders th[scope=row] {
.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow {
     font-weight: normal;
     background-color: #e6e6ff
    text-align: left
}
}


.wikitable td ul,.wikitable td ol,.wikitable td dl {
.navbox-even {
     text-align: left
     background-color: #f7f7f7
}
}


table.mw-hiero-table td {
.navbox-odd {
     vertical-align: middle
     background-color: transparent
}
}


.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 {
.navbox .hlist td dl,.navbox .hlist td ol,.navbox .hlist td ul,.navbox td.hlist dl,.navbox td.hlist ol,.navbox td.hlist ul {
     background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right;
     padding: 0.125em 0
    padding-right: 18px
}
}


.messagebox {
.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: 1px solid #a2a9b1;
    border-spacing: 3px;
     background-color: #f8f9fa;
     background-color: #f8f9fa;
     width: 80%;
     color: black;
     margin: 0 auto 1em auto;
     margin: 0.5em 0 0.5em 1em;
     padding: .2em
     padding: 0.2em;
    float: right;
    clear: right;
    font-size: 88%;
    line-height: 1.5em;
    width: 22em
}
}


.messagebox.merge {
.infobox-header,.infobox-label,.infobox-above,.infobox-full-data,.infobox-data,.infobox-below,.infobox-subheader,.infobox-image,.infobox-navbar,.infobox th,.infobox td {
     border: 1px solid #c0b8cc;
     vertical-align: top
    background-color: #f0e5ff;
    text-align: center
}
}


.messagebox.cleanup {
.infobox-label,.infobox-data,.infobox th,.infobox td {
    border: 1px solid #9f9fff;
     text-align: left
    background-color: #efefff;
     text-align: center
}
}


.messagebox.standard-talk {
.infobox .infobox-above,.infobox .infobox-title,.infobox caption {
     border: 1px solid #c0c090;
     font-size: 125%;
     background-color: #f8eaba;
     font-weight: bold;
     margin: 4px auto
     text-align: center
}
}


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


.messagebox.small {
.infobox .infobox-header,.infobox .infobox-subheader,.infobox .infobox-image,.infobox .infobox-full-data,.infobox .infobox-below {
     width: 238px;
     text-align: center
    font-size: 85%;
    float: right;
    clear: both;
    margin: 0 0 1em 1em;
    line-height: 1.25em
}
}


.messagebox.small-talk {
.infobox .infobox-navbar {
     width: 238px;
     text-align: right
    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 {
.wikitable.plainrowheaders th[scope=row] {
     border: none;
     font-weight: normal;
     padding: 0.25em 0.9em;
     text-align: left
    width: 100%
}
}


td.mbox-image {
.wikitable td ul,.wikitable td ol,.wikitable td dl {
    border: none;
     text-align: left
    padding: 2px 0 2px 0.9em;
     text-align: center
}
}


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


td.mbox-empty-cell {
.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 {
     border: none;
     background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right;
     padding: 0;
     padding-right: 18px
    width: 1px
}
}


table.ambox {
.messagebox {
    margin: 0 10%;
     border: 1px solid #a2a9b1;
     border: 1px solid #a2a9b1;
     border-left: 10px solid #36c;
     background-color: #f8f9fa;
     background-color: #fbfbfb;
    width: 80%;
     box-sizing: border-box
     margin: 0 auto 1em auto;
     padding: .2em
}
}


table.ambox+table.ambox,table.ambox+.mw-empty-elt+table.ambox {
.messagebox.merge {
     margin-top: -1px
     border: 1px solid #c0b8cc;
    background-color: #f0e5ff;
    text-align: center
}
}


.ambox th.mbox-text,.ambox td.mbox-text {
.messagebox.cleanup {
    padding: 0.25em 0.5em
    border: 1px solid #9f9fff;
    background-color: #efefff;
    text-align: center
}
}


.ambox td.mbox-image {
.messagebox.standard-talk {
     padding: 2px 0 2px 0.5em
     border: 1px solid #c0c090;
    background-color: #f8eaba;
    margin: 4px auto
}
}


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


table.ambox-notice {
.messagebox.small {
     border-left: 10px solid #36c
    width: 238px;
    font-size: 85%;
    float: right;
    clear: both;
    margin: 0 0 1em 1em;
     line-height: 1.25em
}
}


table.ambox-speedy {
.messagebox.small-talk {
     border-left: 10px solid #b32424;
     width: 238px;
     background-color: #fee7e6
     font-size: 85%;
}
    float: right;
 
    clear: both;
table.ambox-delete {
    margin: 0 0 1em 1em;
     border-left: 10px solid #b32424
    line-height: 1.25em;
     background-color: #f8eaba
}
}


table.ambox-content {
th.mbox-text,td.mbox-text {
     border-left: 10px solid #f28500
     border: none;
    padding: 0.25em 0.9em;
    width: 100%
}
}


table.ambox-style {
td.mbox-image {
     border-left: 10px solid #fc3
     border: none;
    padding: 2px 0 2px 0.9em;
    text-align: center
}
}


table.ambox-move {
td.mbox-imageright {
     border-left: 10px solid #9932cc
     border: none;
    padding: 2px 0.9em 2px 0;
    text-align: center
}
}


table.ambox-protection {
td.mbox-empty-cell {
     border-left: 10px solid #a2a9b1
     border: none;
    padding: 0;
    width: 1px
}
}


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


.imbox .mbox-text .imbox {
table.ambox+table.ambox,table.ambox+.mw-empty-elt+table.ambox {
     margin: 0 -0.5em;
     margin-top: -1px
    display: block
}
}


.mbox-inside .imbox {
.ambox th.mbox-text,.ambox td.mbox-text {
     margin: 4px
     padding: 0.25em 0.5em
}
}


table.imbox-notice {
.ambox td.mbox-image {
     border: 3px solid #36c
     padding: 2px 0 2px 0.5em
}
}


table.imbox-speedy {
.ambox td.mbox-imageright {
     border: 3px solid #b32424;
     padding: 2px 0.5em 2px 0
    background-color: #fee7e6
}
}


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


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


table.imbox-style {
table.ambox-delete {
     border: 3px solid #fc3
     border-left: 10px solid #b32424
}
}


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


table.imbox-protection {
table.ambox-style {
     border: 3px solid #a2a9b1
     border-left: 10px solid #fc3
}
}


table.imbox-license {
table.ambox-move {
     border: 3px solid #88a;
     border-left: 10px solid #9932cc
    background-color: #f7f8ff
}
}


table.imbox-featured {
table.ambox-protection {
     border: 3px solid #cba135
     border-left: 10px solid #a2a9b1
}
}


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


table.cmbox-notice {
.imbox .mbox-text .imbox {
     background-color: #d8e8ff
     margin: 0 -0.5em;
    display: block
}
}


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


table.cmbox-delete {
table.imbox-notice {
     background-color: #ffdbdb
     border: 3px solid #36c
}
}


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


table.cmbox-style {
table.imbox-delete {
     background-color: #fff9db
     border: 3px solid #b32424
}
}


table.cmbox-move {
table.imbox-content {
     background-color: #e4d8ff
     border: 3px solid #f28500
}
}


table.cmbox-protection {
table.imbox-style {
     background-color: #efefe1
     border: 3px solid #fc3
}
}


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


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


table.ombox-speedy {
table.imbox-license {
     border: 2px solid #b32424;
     border: 3px solid #88a;
     background-color: #fee7e6
     background-color: #f7f8ff
}
}


table.ombox-delete {
table.imbox-featured {
     border: 2px solid #b32424
     border: 3px solid #cba135
}
}


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


table.ombox-style {
table.cmbox-notice {
     border: 1px solid #fc3
     background-color: #d8e8ff
}
}


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


table.ombox-protection {
table.cmbox-delete {
     border: 2px solid #a2a9b1
     background-color: #ffdbdb
}
}


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


.tmbox.mbox-small {
table.cmbox-style {
     min-width: 0
     background-color: #fff9db
}
}


.mediawiki .mbox-inside .tmbox {
table.cmbox-move {
     margin: 2px 0;
     background-color: #e4d8ff
    width: 100%
}
}


.mbox-inside .tmbox.mbox-small {
table.cmbox-protection {
     line-height: 1.5em;
    background-color: #efefe1
     font-size: 100%
}
 
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.tmbox-speedy {
table.ombox-speedy {
     border: 2px solid #b32424;
     border: 2px solid #b32424;
     background-color: #fee7e6
     background-color: #fee7e6
}
}


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


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


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


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


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


table.fmbox {
table.tmbox {
    clear: both;
     margin: 4px 10%;
     margin: 0.2em 0;
     border-collapse: collapse;
     width: 100%;
     border: 1px solid #c0c090;
     border: 1px solid #a2a9b1;
     background-color: #f8eaba;
     background-color: #f8f9fa;
    min-width: 80%;
     box-sizing: border-box
     box-sizing: border-box
}
}


table.fmbox-system {
.tmbox.mbox-small {
     background-color: #191970
     min-width: 0
}
}


table.fmbox-warning {
.mediawiki .mbox-inside .tmbox {
     border: 1px solid #bb7070;
     margin: 2px 0;
     background-color: #ffdbdb
     width: 100%
}
}


table.fmbox-editnotice {
.mbox-inside .tmbox.mbox-small {
     background-color: transparent
     line-height: 1.5em;
    font-size: 100%
}
}


div.mw-warning-with-logexcerpt,div.mw-lag-warn-high,div.mw-cascadeprotectedwarning,div#mw-protect-cascadeon,div.titleblacklist-warning {
table.tmbox-speedy {
    clear: both;
     border: 2px solid #b32424;
    margin: 0.2em 0;
     background-color: #fee7e6
     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 {
table.tmbox-delete {
     border-color: #fc3;
     border: 2px solid #b32424
    background-color: #fef6e7
}
}


html body.mediawiki .mbox-small {
table.tmbox-content {
     clear: right;
     border: 2px solid #f28500
    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 {
table.tmbox-style {
     margin: 4px 1em 4px 0;
     border: 2px solid #fc3
    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 {
table.tmbox-move {
     display: none
     border: 2px solid #9932cc
}
}


.compact-ambox table.ambox {
table.tmbox-protection,table.tmbox-notice {
     border: none;
     border: 1px solid #c0c090
    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 {
table.fmbox {
     font-size: 100%;
     clear: both;
     width: auto;
    margin: 0.2em 0;
     margin: 0
    width: 100%;
     border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
     box-sizing: border-box
}
}


.compact-ambox table .mbox-text {
table.fmbox-system {
     padding: 0 !important;
     background-color: #191970
    margin: 0 !important
}
}


.compact-ambox table .mbox-text-span {
table.fmbox-warning {
     display: list-item;
     border: 1px solid #bb7070;
    line-height: 1.5em;
     background-color: #ffdbdb
    list-style-type: square;
     list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg)
}
}


.compact-ambox .hide-when-compact {
table.fmbox-editnotice {
     display: none
     background-color: transparent
}
}


.nounderlines a,.IPA a:link,.IPA a:visited {
div.mw-warning-with-logexcerpt,div.mw-lag-warn-high,div.mw-cascadeprotectedwarning,div#mw-protect-cascadeon,div.titleblacklist-warning {
     text-decoration: none !important
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background-color: #ffdbdb;
    padding: 0.25em 0.9em;
     box-sizing: border-box
}
}


.nowrap,.nowraplinks a {
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
     white-space: nowrap
     border-color: #fc3;
    background-color: #fef6e7
}
}


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


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


.thumbinner {
.compact-ambox table .mbox-image,.compact-ambox table .mbox-imageright,.compact-ambox table .mbox-empty-cell {
     min-width: 100px;
     display: none
    background: #303037;
    border: solid #37373e
}
}


.thumbinner .thumbimage,.thumbborder {
.compact-ambox table.ambox {
     border: solid 1px #37373e
     border: none;
    border-collapse: collapse;
    background-color: transparent;
    margin: 0 0 0 1.6em !important;
    padding: 0 !important;
    width: auto;
    display: block
}
}


#mw-subcategories,#mw-pages,#mw-category-media,#filehistory,#wikiPreview,#wikiDiff {
body.mediawiki .compact-ambox table.mbox-small-left {
     clear: both
    font-size: 100%;
    width: auto;
     margin: 0
}
}


.wpb .wpb-header {
.compact-ambox table .mbox-text {
     display: none
     padding: 0 !important;
    margin: 0 !important
}
}


.wpbs-inner .wpb .wpb-header {
.compact-ambox table .mbox-text-span {
     display: table-row
     display: list-item;
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg)
}
}


.wpbs-inner .wpb-outside {
.compact-ambox .hide-when-compact {
     display: none
     display: none
}
}


.mw-tag-markers {
.nounderlines a,.IPA a:link,.IPA a:visited {
     font-style: italic;
     text-decoration: none !important
    font-size: 90%
}
}


.checkuser-show,.sysop-show,.abusefilter-show,.abusefilter-helper-show,.patroller-show,.templateeditor-show,.extendedmover-show,.extendedconfirmed-show,.autoconfirmed-show,.user-show {
.nowrap,.nowraplinks a {
     display: none
     white-space: nowrap
}
}


.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,.ve-ui-mwNoticesPopupTool-item .mbox-image,.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
.wrap,.wraplinks a {
     display: none !important
     white-space: normal
}
}


ul.permissions-errors>li {
#wpUploadDescription {
     list-style: none none
     height: 13em
}
}


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


span.texhtml {
.thumbinner .thumbimage,.thumbborder {
     font-family: "Nimbus Roman No9 L","Times New Roman",Times,serif;
     border: solid 1px var(--oo-ui-block-border)
    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 {
#mw-subcategories,#mw-pages,#mw-category-media,#filehistory,#wikiPreview,#wikiDiff {
     font-size: 100%
     clear: both
}
}


span.mwe-math-mathml-inline {
.wpb .wpb-header {
     font-size: 118%
     display: none
}
}


.mwe-math-fallback-image-display,.mwe-math-mathml-display {
.wpbs-inner .wpb .wpb-header {
     margin-left: 1.6em !important;
     display: table-row
    margin-top: 0.6em;
    margin-bottom: 0.6em
}
}


.mwe-math-mathml-display math {
.wpbs-inner .wpb-outside {
     display: inline
     display: none
}
}


.k-player .k-attribution {
.mw-tag-markers {
     visibility: hidden
     font-style: italic;
    font-size: 90%
}
}


.PopUpMediaTransform a .play-btn-large {
.checkuser-show,.sysop-show,.abusefilter-show,.abusefilter-helper-show,.patroller-show,.templateeditor-show,.extendedmover-show,.extendedconfirmed-show,.autoconfirmed-show,.user-show {
    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
     display: none
}
}


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


span.comment {
ul.permissions-errors>li {
     overflow-wrap: break-word
     list-style: none none
}
}


#mw-page-base {
ul.permissions-errors {
     background: #1b1b1f;
     margin: 0
    color: lightgrey;
    border: #1b1b1f
}
}


.mediawiki,.mw-page-container {
span.texhtml {
     background: #1b1b1f;
    font-family: "Nimbus Roman No9 L","Times New Roman",Times,serif;
     color: lightgrey;
    font-size: 118%;
     border: #1b1b1f
    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
}
}


.mw-body {
span.texhtml span.texhtml {
     background: #212126;
     font-size: 100%
    color: lightgrey;
    border: black
}
}


#mw-panel {
span.mwe-math-mathml-inline {
     background: #1b1b1f;
     font-size: 118%
    color: lightgrey;
    border: #1b1b1f
}
}


#mw-content-container,#mw-header-container,#mw-content-wrapper,#mw-content,#p-logo {
.mwe-math-fallback-image-display,.mwe-math-mathml-display {
     background: #1b1b1f;
     margin-left: 1.6em !important;
     color: lightgrey;
     margin-top: 0.6em;
     border: #1b1b1f
     margin-bottom: 0.6em
}
}


.mw-code {
.mwe-math-mathml-display math {
     background: #212126;
     display: inline
    color: lightgrey
}
}


footer,#footer-info-lastmod,#footer-info-copyright {
.k-player .k-attribution {
     color: lightgrey
     visibility: hidden
}
}


p,h1,h2,h3,h4,h5,h6,li {
.PopUpMediaTransform a .play-btn-large {
     color: lightgrey
     margin: 0;
    top: auto;
    right: auto;
    bottom: 0;
    left: 0
}
}


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 {
@media screen {
     color: #77c1d9
    #content .gallerybox div.thumb {
}
        background-color: #f8f9fa
    }
 
    .gallerybox .thumb img {
        background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat
     }


a:hover,a:visited:hover {
    .ns-0 .gallerybox .thumb img,.ns-2 .gallerybox .thumb img,.ns-100 .gallerybox .thumb img,.nochecker .gallerybox .thumb img {
     color: white
        background-image: none
     }
}
}


body.skin--responsive #p-cactions li a {
.flaggedrevs_draft_synced,.flaggedrevs_stable_synced,#t-upload,.mw-special-Book #coll-downloadbox {
     background: #27272e
     display: none
}
}


.mw-prefs-buttons {
#site-tools {
     background: #27272e
     display: none !important
}
}


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 {
span.comment {
     color: #3377aa
     overflow-wrap: break-word
}
}


.vector-menu-tabs .selected a,.vector-menu-tabs .selected a:visited,body.skin--responsive #p-cactions li.selected a {
#mw-page-base {
    background: #1b1b1f;
     color: lightgrey;
     color: lightgrey;
     font-weight: bold
     border: #1b1b1f
}
}


body.skin--responsive #p-cactions li.selected a {
.mediawiki,.mw-page-container {
     background: #27272e
     background: #1b1b1f;
    color: lightgrey;
    border: #1b1b1f
}
}


.vector-menu-tabs li {
.mw-body {
     background: #212126
     background: #212126;
    color: lightgrey;
    border: black
}
}


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


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


#ca-nstab-mediawiki.a {
.mw-code {
    background: #212126;
     color: lightgrey
     color: lightgrey
}
}


#mw-changeslist-links {
footer,#footer-info-lastmod,#footer-info-copyright {
    background: #212126;
     color: lightgrey
     color: lightgrey
}
}


#simpleSearch {
p,h1,h2,h3,h4,h5,h6,li {
    background: #27272e;
    border: 1px solid #37373e;
     color: lightgrey
     color: lightgrey
}
}


#searchInput {
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: white
     color: var(--color-link);
}
}


#pt-createaccount {
.wikiEditor-ui-toolbar .tabs span.tab a {
     visibility: hidden;
    color: var(--color-link);
     display: none
}
 
a.current {
     color: lightgray !important;
}
 
a.label {
     color: lightgray !important;
    font-weight: bold;
}
}


.vector-user-links .vector-user-menu-more .vector-menu-content-list li a,#personal .dropdown {
a:hover,a:visited:hover {
    background: #27272e;
     color: white
    border: 1px solid black;
     color: lightgrey
}
}


body.skin--responsive #p-cactions li.selected {
a.option {
     border: #37373e
    background: var(--oo-ui-block-bg);
    color: lightgray !important;
     border: 1px solid var(--oo-ui-block-border);
}
}


.vector-menu-tabs .selected {
.wikiEditor-ui-toolbar .page-characters div span {
    background: #1b1b1f
filter: invert(1);
}
}


#pagehistory li.selected {
.wikiEditor-ui-toolbar .booklet > .index {
     background: #1B4D3E;
     color: lightgray;
    font-weight: bold
}
}


div.mw-warning-with-logexcerpt,div.mw-lag-warn-high,div.mw-cascadeprotectedwarning,div#mw-protect-cascadeon,div.titleblacklist-warning {
.wikiEditor-ui-toolbar .booklet > .index > :hover {
    background: #7C0A02;
    background-color: var(--oo-ui-block-bg-light);
    border: 1px solid #bb7070
}
}


/* Стиль для таблиц wikitable */
.wikiEditor-ui-toolbar .booklet > .index > .current {
.wikitable {
background: var(--oo-ui-block-bg-light);
    border-spacing: 1px;
color: white !important
    padding: 12px;
    border-collapse: separate;
    border: 1px solid black;
    border-radius: 1em;
    background: #27272e;
    color: #dfdfdf;
}
}


.wikitable>*>tr>*{
.wikiEditor-ui-toolbar .group .tool-select .options {
    padding: 0.4em !important;
border-color: var(--oo-ui-block-border) !important;
    margin: 0 !important;
    border: none;
}
}


.wikitable>*>tr>th {
.wikiEditor-ui-toolbar .page-table th {
    background: #27272e;
     color: lightgrey;
     color: #ededed;
}
}


.wikitable>*>tr>td {
.wikiEditor-ui-toolbar .page-table td {
     background: #32323c;
     color: lightgrey;
}
}


.wikitable p, .wikitable h1, .wikitable h2, .wikitable h3, .wikitable h4, .wikitable h5, .wikitable h6, .wikitable li {
.wikiEditor-ui-toolbar .group .tool-select .label:after {
    color: #dbdbdb;
filter: invert(1);
}
}


/* Закругление верхнего левого угла первой ячейки */
body.skin--responsive #p-cactions li a {
.wikitable thead tr:first-child th:first-child,
    background: var(--oo-ui-block-bg)
.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;
}
}


/* Закругление верхнего правого угла последней ячейки */
.mw-prefs-buttons {
.wikitable thead tr:first-child th:last-child,
    background: var(--oo-ui-block-bg)
.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;
}
}


/* Закругление нижнего левого угла первой ячейки последнего ряда
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 {
.wikitable tbody tr:last-child th:first-child,
     color: var(--color-link-external)
.wikitable tbody tr:last-child td:first-child {
}
     border-bottom-left-radius: 4px;
}*/


/* Закругление нижнего правого угла последней ячейки последнего ряда
.vector-menu-tabs .selected a,.vector-menu-tabs .selected a:visited,body.skin--responsive #p-cactions li.selected a {
.wikitable tbody tr:last-child th:last-child,
     color: lightgrey;
.wikitable tbody tr:last-child td:last-child {
     font-weight: bold
    border-bottom-right-radius: 4px;
}*/
 
/* Старые таблицы
.wikitable {
     background: #303037;
     border: 1px solid #37373e;
    color: white
}
}


.wikitable>tr>th,.wikitable>tr>td,.wikitable>*>tr>th,.wikitable>*>tr>td {
body.skin--responsive #p-cactions li.selected a {
     border: 1px solid black
     background: var(--oo-ui-block-bg)
}
}


.wikitable>*>tr>th {
.vector-menu-tabs li {
     background: #27272e;
     background: #212126
    border: 1px solid black;
    color: white
}
}
*/


/* Таблицы на телефонах */
#mw-site-navigation .sidebar-chunk,#mw-site-navigation .sidebar-chunk,#mw-related-navigation .sidebar-chunk,body.skin--responsive .portlet,body.skin--responsive .pBody {
@media screen and (max-width: 850px) {
    background: #212126;
    .wikitable {
     color: lightgrey;
        font-size: 0.65em;
    border-color: #1b1b1f;
        padding: 5px !important;
    border: 1px solid black;
     }
    border-radius:1.4rem;
   
.wikitable img[width="64"][height="64"] {
width: 32px;
height: 32px;
}
.wikitable img[width="64"][height="128"] {
width: 32px;
height: 64px;
}
.wikitable img[width="128"][height="128"] {
width: 64px;
height: 64px;
}
}
}


.toc {
#p-logo-text a {
    background: #27272E;
     color: lightgrey
    border: 1px solid black;
     color: white
}
}


.mw-content-ltr .tocnumber {
#ca-nstab-mediawiki.a {
     color: grey
     color: lightgrey
}
}


.quickbox {
#mw-changeslist-links {
     border: 1px solid #303038;
     background: #212126;
     background: #27272e
     color: lightgrey
}
}


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


.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,.mw-rcfilters-ui-changesListWrapperWidget {
#searchInput {
    background: #27272e;
    border: 1px solid #303038;
     color: white
     color: white
}
}


.mw-changeslist-legend {
#pt-createaccount {
    visibility: hidden;
     display: none
     display: none
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
.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 #303038;
     border: 1px solid black;
     color: white
     color: lightgrey
}
}


.oo-ui-popupWidget-popup {
body.skin--responsive #p-cactions li.selected {
     background: #303037;
     border: var(--oo-ui-block-border)
    border: 1px solid #37373e;
    color: white
}
}


.mw-editform #wpTextbox1,textarea {
.vector-menu-tabs .selected {
     background: #303037;
     background: #1b1b1f
    border: 1px solid #37373e;
    color: white
}
}


.wikiEditor-ui-toolbar {
#pagehistory li.selected {
     background: #27272e;
     background: #1B4D3E;
     color: white
     font-weight: bold
}
}


.wikiEditor-ui-toolbar .group {
div.mw-warning-with-logexcerpt,div.mw-lag-warn-high,div.mw-cascadeprotectedwarning,div#mw-protect-cascadeon,div.titleblacklist-warning {
     border: 1px solid #37373e;
     background: #7C0A02;
     color: white
     border: 1px solid #bb7070
}
}


.wikiEditor-ui-toolbar .group .label {
/* Стиль для таблиц wikitable */
     color: white
.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);
}


.wikiEditor-ui-toolbar .tabs span.tab a.current,.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
.wikitable>*>tr>*{
     color: #151518;
    padding: 0.4em !important;
     font-weight: bold
     margin: 0 !important;
     border: none;
}
}


.wikiEditor-ui .wikiEditor-ui-top {
.wikitable>*>tr>th {
     border-bottom: 1px solid #37373e
    background: var(--oo-ui-block-bg);
     color: #e1e1e1;
}
}


.wikiEditor-ui .wikiEditor-ui-view {
.wikitable>*>tr>td {
     border: 1px solid #37373e
     background: #31313b;
}
}


.editOptions,.mw-editform .editOptions {
.wikitable p, .wikitable h1, .wikitable h2, .wikitable h3, .wikitable h4, .wikitable h5, .wikitable h6, .wikitable li {
     background: #212126;
     color: #dddddd;
    border: 1px solid #37373e;
    color: white
}
}


@media screen {
/* Закругление верхнего левого угла первой ячейки */
    .mw-body-content .recipeimg a>img {
.wikitable thead tr:first-child th:first-child,
        padding: 0;
.wikitable thead tr:first-child td:first-child,
        margin: 0;
.wikitable:not(:has(thead)) tr:first-child th:first-child,
        border: 0;
.wikitable:not(:has(thead)) tr:first-child td:first-child {
        width: 32px !important;
     border-top-left-radius: 4px;
        max-width: 32px !important;
        height: 32px !important;
        max-height: 32px !important
     }
}
}


.positive {
/* Закругление верхнего правого угла последней ячейки */
    color: #00FF00;
.wikitable thead tr:first-child th:last-child,
     font-weight: bold
.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;
}
}


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


.anglerect {
/* Закругление нижнего правого угла последней ячейки последнего ряда
    --angle-rect-clip-size: 16px;
.wikitable tbody tr:last-child th:last-child,
    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)))
.wikitable tbody tr:last-child td:last-child {
}
    border-bottom-right-radius: 4px;
}*/


.flex {
/* Таблицы на телефонах */
     display: flex
@media screen and (max-width: 850px) {
}
    .wikitable {
 
        font-size: 0.65em;
.mw-body {
        padding: 5px !important;
    padding: 0.5em;
    }
    box-shadow: 0 0 2px black
      
.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-body dd {
.toc {
     margin: 0.2em;
     background: var(--oo-ui-block-bg);
    margin-left: 1.6em
}
 
/* Общие стили для вкладок */
.tabs-label {
    cursor: pointer;
    padding: 1px 6px;
    background: transparent;
     border: 1px solid black;
     border: 1px solid black;
    color: white
}
}


.tabs-label:hover {
.mw-content-ltr .tocnumber {
     z-index: 2;
     color: grey
    background: #ddddff0d !important;
    transition: all 0.1s;
}
}


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


/* Стили для структуры вкладок */
.quickboxhead {
.tabs-tabbox > .tabs-input + .tabs-input + .tabs-label {
    border-bottom: 1px solid var(--oo-ui-block-border);
    margin: 0;
    background: #1b1b1f;
    text-align: center
}
 
.mw-rcfilters-ui-filterMenuSectionOptionWidget {
background: var(--oo-ui-block-bg-light);
}
}


.tabs-tabbox > .tabs-label {
.mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
     margin: 0;
     color: lightgray;
    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-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,.mw-rcfilters-ui-changesListWrapperWidget {
.tabs-tabbox > .tabs-container {
     background: var(--oo-ui-block-bg);
    padding: 14px 10px;
     border: 1px solid var(--oo-ui-block-border);
     background: #ddddff0d;
    color: white
    border-radius: 0;
     border: 1px solid rgb(0 0 0 / 50%);
}
}


.tabs-content ol {
.mw-changeslist-legend {
     margin: 0.3em 0 0 2.5em;
     display: none
}
}


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


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


.tooltip:hover>.tooltiptext {
.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover {
    visibility: visible;
background: var(--oo-ui-block-border);
    opacity: 1;
}
}


@media screen and (min-width: 851px) {
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
     .mobile {
background: var(--oo-ui-block-bg-dark);
        display:none
     border-top: 1px solid #ffffff09;
    }
    border-bottom: 1px solid #ffffff09;
}


    .headder {
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
        width: 25%;
    border-color: var(--oo-ui-block-border);
        float: right;
color: lightgrey;
        margin-left: 1em
}
    }


    .stiky {
.mw-rcfilters-ui-menuSelectWidget-footer {
        position: sticky;
    border-color: var(--oo-ui-block-border);
        top: 0.1em
    background: var(--oo-ui-block-bg);
    }
}
}


@media screen and (max-width: 850px) {
.mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget {
    .nomobile {
color: lightgrey;
        display:none
}
    }


    .headder {
.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
        width: 100%;
background: transparent;
        margin-left: 0
}
    }


    .sidebar-inner {
.oo-ui-optionWidget-highlighted {
        background: #27272e;
background: var(--oo-ui-block-bg-dark) !important;
        border: 1px solid black;
}
        color: lightgrey
    }


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


    .tooltiptext {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
        box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
    background-color: var(--oo-ui-block-bg);
        position: fixed!important;
     border-color: var(--oo-ui-block-border);
        width: 80vw !important;
    color: white;
        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 {
.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: #e0e0e0
     opacity: 0.87;
}
}


.mw-mmv-above-fold {
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
     background: #222;
     background: var(--oo-ui-block-bg-dark);
     border-top: 1px solid #333
    border-color: var(--oo-ui-block-border-light);
    color: lightgray;
     border-radius: 0.3em;
}
}


.mw-mmv-image-metadata {
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled {
     background-color: #111;
     background: var(--oo-ui-block-bg-dark);
    border-color: #333
}
 
.oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button {
box-shadow: none;
}
}


.mw-mmv-dialog {
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
     border: 1px solid #333;
     color: white;
    background: #222;
    box-shadow: none
}
}


.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
.mw-widget-dateInputWidget-calendar {
    background: #222;
     border-color: var(--oo-ui-block-border);
     border-bottom: 1px solid #333;
     background: var(--oo-ui-block-gradient);
     border-right: 1px solid #333
}
}


.mw-mmv-options-enable-alert {
.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) {
     background: #333;
     filter: invert(0.7);
    color: #e0e0e0
}
}


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


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


.mw-default-size img {
.mw-widget-calendarWidget-labelButton .oo-ui-buttonElement-button .oo-ui-labelElement-label {
     border-color: black !important
     color: lightgrey;
}
}


.mw-default-size figcaption {
#ca-nstab-special.selected.mw-list-item {
     background-color: #21212600 !important;
     background: var(--oo-ui-block-bg-light);
    border-color: black !important
}
}


.mw-halign-right {
.mw-editform #wpTextbox1,textarea {
     background-color: #27272E00 !important;
     background: #303037;
     border-color: black !important
     border: 1px solid var(--oo-ui-block-border);
    color: white
}
}


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


.mw-halign-right figcaption {
.wikiEditor-ui-toolbar .group {
     background-color: #27272E00 !important;
     border: 1px solid var(--oo-ui-block-border);
     border-color: black !important
     color: white
}
}


.mw-halign-left {
.wikiEditor-ui-toolbar .group .label {
    background-color: #27272E00 !important;
color: lightgray;
    border-color: black !important
}
}


.mw-halign-left img {
.wikiEditor-ui-toolbar .tabs span.tab a.current,.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
     border-color: black !important
     color: #151518;
    font-weight: bold
}
}


.mw-halign-left figcaption {
.wikiEditor-ui .wikiEditor-ui-top {
     background-color: #27272E00 !important;
     border-bottom: 1px solid var(--oo-ui-block-border)
    border-color: black !important
}
}


.mw-halign-center {
.wikiEditor-ui .wikiEditor-ui-view {
     background-color: #27272E00 !important;
     border: 1px solid var(--oo-ui-block-border)
    border-color: black !important
}
}


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


.mw-halign-center figcaption {
.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-color: #27272E00 !important;
     background: var(--oo-ui-block-border);
    border-color: black !important
}
}


.reference {
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-input > .oo-ui-icon-menu {
     background-color: #27272E00;
     filter: invert(0.7);
}
}


ol.references li:target,sup.reference:target {
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
     background-color: #ffffff0f;
     color: lightgrey;
    padding: 0px 1px 3px 1px;
}
}


.oo-ui-inputWidget-input {
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
     background-color: #27272e !important;
     border-color: var(--oo-ui-block-border);
    border: #37373e !important;
    color: #ffffff !important
}
}


.mw-search-profile-tabs {
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterTagMultiselectWidget-views-select {
    background-color: #27272e !important;
background: var(--oo-ui-block-bg);
    border: #37373e !important
}
}


.search-types .current a {
@media screen {
    color: #d3d3d3 !important;
    .mw-body-content .recipeimg a>img {
    cursor: default !important
        padding: 0;
        margin: 0;
        border: 0;
        width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        max-height: 32px !important
    }
}
}


.mw-message-box-error {
.positive {
     background-color: #7b1919 !important;
     color: #00FF00;
     border-color: #af2424 !important
     font-weight: bold
}
}


.mw-message-box-warning {
.negative {
     background-color: #7b6919 !important;
     color: #FF0000;
     border-color: #af9a24 !important
     font-weight: bold
}
}


#mw-header-nav-hack {
.anglerect {
    border-top: solid 2px #212126 !important;
    --angle-rect-clip-size: 16px;
     display: block;
     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)))
    position: absolute;
    z-index: 98;
    background: #212126 !important;
    width: 100%
}
}


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


.ui-widget-content {
.mw-body {
     border: 1px solid #4a4a57 !important;
     padding: 0.5em;
     background: #212126 !important;
     box-shadow: 0 0 2px black
    color: #e0e0e0 !important
}
}


.ui-widget-header {
.mw-body dd {
     border: 1px solid #4a4a57 !important;
     margin: 0.2em;
    background: #212126 !important;
     margin-left: 1.6em
    color: #e0e0e0 !important;
     font-weight: bold !important
}
}


#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt {
/* Общие стили для вкладок */
     width: 100% !important;
.tabs-label {
     background-color: #27272e !important;
     cursor: pointer;
     color: #e0e0e0 !important
    padding: 1px 6px;
     background: transparent;
     border: 1px solid black;
}
}


.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
.tabs-label:hover {
     box-sizing: border-box !important;
     z-index: 2;
     background-color: #27272e !important;
     background: #ddddff0d !important;
     color: #e0e0e0 !important
     transition: all 0.1s;
}
}


.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
/* Стили для активных вкладок */
     font-family: Verdana,Arial,sans-serif !important;
.tabs-tabbox > .tabs-input:checked + .tabs-label,
     font-size: 1em !important;
.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
     background-color: #27272e !important;
     background: #ddddff0d;
     color: #e0e0e0 !important
     border-top: 1px solid rgb(255 255 255 / 15%);
     border-bottom: 1px solid #3366cc;
     z-index: 2;
}
}


.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default {
/* Стили для структуры вкладок */
     border: 1px solid #4a4a57 !important;
.tabs-tabbox > .tabs-input + .tabs-input + .tabs-label {
     background: #27272e !important;
    margin: 0;
     font-weight: normal !important;
}
     color: #e0e0e0 !important
 
.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%);
}
}


.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;
.tabs-tabbox > .tabs-container {
     background: #4c4c59 !important;
     padding: 14px 10px;
     font-weight: normal !important;
     background: #ddddff0d;
     color: #e0e0e0 !important
     border-radius: 0;
     border: 1px solid rgb(0 0 0 / 50%);
}
}


body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
.tabs-content ol {
     right: 0.9em !important;
     margin: 0.3em 0 0 2.5em;
    background: #4c4c59 !important
}
}


.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus {
/* Класс для уменьшения яркости фона tabs */
    padding: 0 !important;
.tabs-no-background > .tabs-container {
     background: #6c6c80 !important
     background: #ddddff06;
}
}


ul#filetoc,.toc,.toccolours,.mw-warning {
.tooltip {
     display: table !important;
     position: relative;
     background-color: #27272e !important;
     display: inline;
    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 {
.tooltiptext {
     font-family: 'oswald';
    position: absolute;
     font-size: 2em
    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-body .toctitle h2 {
.tooltip:hover>.tooltiptext {
     font-family: 'oswald';
     visibility: visible;
     font-size: 1.2em
     opacity: 1;
}
}


.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context {
@media screen and (min-width: 851px) {
     font-family: monospace,monospace !important;
     .mobile {
    background-color: #1b1b1f !important;
        display:none
     border-color: #1b1b1f !important;
     }
    color: white !important
}


.diff-deletedline .diffchange {
    .headder {
    background: #4c3c16 !important
        width: 25%;
}
        float: right;
        margin-left: 1em
    }


.diff-addedline .diffchange {
    .stiky {
     background: #16324d !important
        position: sticky;
        top: 0.1em
     }
}
}


.mw-json th,.mw-json td {
@media screen and (max-width: 850px) {
     border: 1px solid #000000;
     .nomobile {
    font-size: 16px;
        display:none
     padding: 0.5em 1em
     }
}


.mw-json tr {
    .headder {
    background-color: #212126;
        width: 100%;
     margin-bottom: 0.5em
        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-json th {
.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: #303037;
     color: #e0e0e0
    font-weight: normal;
    vertical-align: top;
     color: #d3d3d3
}
}


.mw-json th span {
.mw-mmv-above-fold {
    -webkit-position: sticky;
     background: #222;
     position: sticky;
     border-top: 1px solid #333
     top: 0.5em
}
}


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


.mw-json-empty {
.mw-mmv-dialog {
     background-color: #1b5929;
     border: 1px solid #333;
     font-style: italic;
     background: #222;
     color: #d3d3d3
     box-shadow: none
}
}


.hover_img_special {
.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
     top: 0;
     background: #222;
     left: 0;
     border-bottom: 1px solid #333;
     display: none
     border-right: 1px solid #333
}
}


.img_special:hover .hover_img_special {
.mw-mmv-options-enable-alert {
     display: inline
    background: #333;
     color: #e0e0e0
}
}


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


.ace-tm .ace_gutter {
.mw-default-size {
     background: #212126;
     background-color: #21212600 !important;
     color: #333
     border-color: black !important
}
}


.ace-tm .ace_print-margin {
.mw-default-size img {
     width: 1px;
     border-color: black !important
    background-color: #1b1b1f
}
}


.ace-tm {
.mw-default-size figcaption {
     background-color: #1b1b1f;
     background-color: #21212600 !important;
     color: lightgrey
     border-color: black !important
}
}


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


.ace-tm .ace_storage,.ace-tm .ace_keyword {
.mw-halign-right img {
     color: rgb(153,153,255)
     border-color: black !important
}
}


.ace-tm .ace_constant.ace_numeric {
.mw-halign-right figcaption {
     color: rgb(153,153,205)
     background-color: var(--oo-ui-block-bg)00 !important;
    border-color: black !important
}
}


.ace-tm .ace_constant {
.mw-halign-left {
     color: rgb(241,89,92)
     background-color: var(--oo-ui-block-bg)00 !important;
    border-color: black !important
}
}


.ace-tm .ace_support.ace_function {
.mw-halign-left img {
     color: rgb(68,118,235)
     border-color: black !important
}
}


.ace-tm .ace_support.ace_constant {
.mw-halign-left figcaption {
     color: rgb(23,202,33)
     background-color: var(--oo-ui-block-bg)00 !important;
    border-color: black !important
}
}


.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {
.mw-halign-center {
     color: rgb(182,187,236)
     background-color: var(--oo-ui-block-bg)00 !important;
    border-color: black !important
}
}


.ace-tm .ace_string {
.mw-halign-center img {
     color: rgb(6,142,13)
     border-color: black !important
}
}


.ace-tm .ace_comment {
.mw-halign-center figcaption {
     color: rgb(103,193,150)
     background-color: var(--oo-ui-block-bg)00 !important;
    border-color: black !important
}
}


.ace-tm .ace_constant.ace_numeric {
.reference {
     color: rgb(153,153,255)
     background-color: var(--oo-ui-block-bg)00;
}
}


.ace-tm .ace_marker-layer .ace_selection {
ol.references li:target,sup.reference:target {
     background: rgb(28,45,68)
     background-color: #ffffff0f;
    padding: 0px 1px 3px 1px;
}
}


.ace-tm .ace_marker-layer .ace_bracket {
.oo-ui-inputWidget-input {
     margin: -1px 0 0 -1px;
     background-color: var(--oo-ui-block-bg) !important;
     border: 1px solid rgb(94,94,94)
     border-color: var(--oo-ui-block-border) !important;
    color: white !important
}
.oo-ui-indicator-down {
filter: invert(0.7);
}
}


.ace-tm .ace_marker-layer .ace_active-line {
.oo-ui-dropdownWidget {
    background: rgb(153,153,183,7%)
background-color: var(--oo-ui-block-bg);
}
}


.ace-tm .ace_gutter-active-line {
.oo-ui-dropdownWidget-handle {
     background-color: rgb(44,44,51)
     background-color: var(--oo-ui-block-bg) !important;
    border-color: var(--oo-ui-block-border);
    color: white !important;
}
}


.ace-tm .ace_marker-layer .ace_selected-word {
.mw-widget-dateInputWidget-handle {
     background: rgb(37,59,89);
     background-color: var(--oo-ui-block-bg);
     border: 1px solid rgb(36,36,42)
     border-color: var(--oo-ui-block-border);
    color: white !important;
}
}


.codeEditor-status {
.mw-search-profile-tabs {
    clear: both;
     background-color: var(--oo-ui-block-bg) !important;
    width: 100%;
     border: var(--oo-ui-block-border) !important;
     background-color: #212126;
     border-top: 1px solid #40404b;
    display: table
}
}


.codeEditor-status-message {
.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 {
     border-left: 1px solid #40404b;
     background: var(--oo-ui-block-bg-light);
     border-right: 1px solid #40404b;
     border-color: var(--oo-ui-block-border-light);
    padding: 0 0.3em;
     color: lightgrey;
     width: 100%;
    display: table-cell
}
}


.ace_search {
.search-types .current a {
    background-color: #212126;
     color: #d3d3d3 !important;
     color: #d3d3d3;
     cursor: default !important
     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-message-box-error {
     outline: 1px solid #922626
     background-color: #7b1919 !important;
    border-color: #af2424 !important
}
}


.ace_search_field {
.mw-message-box-warning {
    border-radius: 3px 0 0 3px;
     background-color: #7b6919 !important;
     background-color: #27272e;
     border-color: #af9a24 !important
     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 {
#mw-header-nav-hack {
     border: 1px solid #383843;
     border-top: solid 2px #212126 !important;
    line-height: inherit;
     display: block;
     display: inline-block;
     position: absolute;
     padding: 0 6px;
     z-index: 98;
     background: #27272e;
     background: #212126 !important;
    border-right: 0 none;
     width: 100%
     border-left: 1px solid #383843;
    cursor: pointer;
    margin: 0;
     position: relative;
    color: #d3d3d3
}
}


.ace_searchbtn:last-child {
.ui-widget-overlay {
     border-radius: 0 3px 3px 0;
     background: #000000 !important;
     border-right: 1px solid #383843
     opacity: .3 !important
}
}


.ace_searchbtn:hover {
.ui-widget-content {
     background-color: #1b1b1f
    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
}
}


.ace_searchbtn.prev:after {
.mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
    content: "";
color: var(--color-text-dark);
    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 {
.mw-rcfilters-ui-itemMenuOptionWidget-label-title {
     content: "";
     color: lightgrey;
    border: solid 2px #d3d3d3;
    width: 0.5em;
    height: 0.5em;
    border-width: 2px 0 0 2px;
    display: inline-block;
    transform: rotate(135deg)
}
}


.ace_button {
#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt {
    margin-left: 2px;
     width: 100% !important;
    cursor: pointer;
     background-color: var(--oo-ui-block-bg) !important;
    -webkit-user-select: none;
     color: #e0e0e0 !important
    -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 {
.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
     background-color: #1b1b1f;
    box-sizing: border-box !important;
     opacity: 1
     background-color: var(--oo-ui-block-bg) !important;
     color: #e0e0e0 !important
}
}


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


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


::-webkit-scrollbar-thumb {
.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 {
     background-color: #686868;
     border: 1px solid #4a4a57 !important;
     border: 2px solid #424242;
     background: #4c4c59 !important;
     border-radius: 4px
     font-weight: normal !important;
    color: #e0e0e0 !important
}
}


::-webkit-scrollbar-thumb:hover {
body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
     background-color: #7b7b7b
    right: 0.9em !important;
     background: #4c4c59 !important
}
}


::-webkit-scrollbar-thumb:active {
.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus {
     background-color: #a1a1a1
    padding: 0 !important;
     background: #6c6c80 !important
}
}


.style-for-sub-numbered-lists ol {
ul#filetoc,.toc,.toccolours,.mw-warning {
     counter-reset: item
    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
}
}


.style-for-sub-numbered-lists li {
.mw-body h1 {
     display: block
    font-family: 'oswald';
     font-size: 2em
}
}


.style-for-sub-numbered-lists li:before {
.mw-body .toctitle h2 {
     content: counters(item,".") ". ";
     font-family: 'oswald';
     counter-increment: item
     font-size: 1.2em
}
}


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


.section .col {
.diff-deletedline .diffchange {
     flex: 1 1 auto
     background: #4c3c16 !important
}
}


.section .line-break {
.diff-addedline .diffchange {
     flex-basis: 100%;
     background: #16324d !important
    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 {
.mw-json th,.mw-json td {
    color: #d3d3d3;
     border: 1px solid #000000;
    background: #303037;
     font-size: 16px;
     border: solid #000000;
     padding: 0.5em 1em
     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 {
.mw-json tr {
     border:none;
     background-color: #212126;
     padding:0.5em;
     margin-bottom: 0.5em
}
}


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


.mw-datatable td {
.mw-json th span {
     background-color: #303037
     -webkit-position: sticky;
    position: sticky;
    top: 0.5em
}
}


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


.pretoclip-copy-button {
.mw-json-empty {
     float: right
     background-color: #1b5929;
    font-style: italic;
    color: #d3d3d3
}
}


.mw-scribunto-console-fieldset {
.hover_img_special {
     color: #d3d3d3;
     top: 0;
     background: none;
     left: 0;
     border: 3px solid #27272e
     display: none
}
}


.mw-scribunto-message {
.img_special:hover .hover_img_special {
     color: #008000;
     display: inline
    background: none
}
}


#mw-scribunto-input {
.img_special:hover .img_spec {
     width: 100%;
     display: none
    border: 0;
    overflow: auto;
    background: #303037
}
}


.mw-scribunto-input {
.ace-tm .ace_gutter {
     color: #d3d3d3;
     background: #212126;
     font: inherit;
     color: #333
    font-weight: bold;
    margin-top: 0.5em
}
}


.table-flex {
.ace-tm .ace_print-margin {
     display: flex;
     width: 1px;
    flex-direction: row;
     background-color: #1b1b1f
    flex-wrap: wrap;
     justify-content: space-evenly
}
}


.boxes-flex {
.ace-tm {
     padding: 0;
     background-color: #1b1b1f;
    margin: 0;
     color: lightgrey
     text-align: center
}
}


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


.role-block-radius {
.ace-tm .ace_storage,.ace-tm .ace_keyword {
     border-radius: 8px
     color: rgb(153,153,255)
}
}


.role-block-name {
.ace-tm .ace_constant.ace_numeric {
     padding: 2px;
     color: rgb(153,153,205)
    border-radius: .3em;
    margin-bottom: .2em
}
}


.story-text {
.ace-tm .ace_constant {
     text-indent: 19px;
     color: rgb(241,89,92)
     text-align: justify
}
 
.ace-tm .ace_support.ace_function {
     color: rgb(68,118,235)
}
}


.story-dialogue {
.ace-tm .ace_support.ace_constant {
     line-height: 1.2
     color: rgb(23,202,33)
}
}


.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {
     display: block;
     color: rgb(182,187,236)
    position: relative;
    margin: 0px 25%
}
}


.mw-gallery-slideshow .gallerybox.slideshow-current {
.ace-tm .ace_string {
     background: #28282e
     color: rgb(6,142,13)
}
}


.gallerytext {
.ace-tm .ace_comment {
     overflow: hidden;
     color: rgb(103,193,150)
    font-size: 94%;
    padding: 2px 4px;
    word-wrap: break-word;
    text-align: center
}
}


#content .gallerybox div.thumb {
.ace-tm .ace_constant.ace_numeric {
     background-color: #f8f9fa00
     color: rgb(153,153,255)
}
}


.mw-body li.gallerybox div.thumb {
.ace-tm .ace_marker-layer .ace_selection {
     background: #f8f9fa00;
     background: rgb(28,45,68)
    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 {
.ace-tm .ace_marker-layer .ace_bracket {
     border-bottom: none !important
    margin: -1px 0 0 -1px;
     border: 1px solid rgb(94,94,94)
}
}


.title-top-border {
.ace-tm .ace_marker-layer .ace_active-line {
     border-top: solid 2px #c8ccd1
     background: rgb(153,153,183,7%)
}
}


@media (min-width: 1340px) {
.ace-tm .ace_gutter-active-line {
     #mw-content-block {
     background-color: rgb(44,44,51)
        display:block
}
    }


    #mw-content {
.ace-tm .ace_marker-layer .ace_selected-word {
        margin-left: 14em;
    background: rgb(37,59,89);
        padding: 2em 0 0
    border: 1px solid rgb(36,36,42)
    }
}


    #mw-content-wrapper {
.codeEditor-status {
        float: right;
    clear: both;
        margin-left: -14em;
    width: 100%;
        background: transparent;
     background-color: #212126;
        width: 100%
     border-top: 1px solid #40404b;
     }
     display: table
 
    #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 {
.codeEditor-status-message {
     padding-right: 1em
    border-left: 1px solid #40404b;
     border-right: 1px solid #40404b;
    padding: 0 0.3em;
    width: 100%;
    display: table-cell
}
}


.mw-body h2 {
.ace_search {
     font-size: 1.8em;
     background-color: #212126;
     border-bottom: solid 2px #3366cc
    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
}
}


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


.target {
.ace_search_field {
     border-bottom: 1px solid darkblue
     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
}
}


.target:target {
.ace_searchbtn {
     border-bottom: 2px solid gold;
     border: 1px solid #383843;
     transition: border 0.7s cubic-bezier(0.4,0,0.2,1)
    line-height: inherit;
}
    display: inline-block;
 
     padding: 0 6px;
.backlight:hover {
    background: var(--oo-ui-block-bg);
     box-shadow: 0 0 0.3em gold;
    border-right: 0 none;
     background-color: #00000025;
    border-left: 1px solid #383843;
    cursor: pointer;
     margin: 0;
     position: relative;
    color: #d3d3d3
}
}


#main.backlight:hover {
.ace_searchbtn:last-child {
     box-shadow: inset 0 0 23em #00000066;
     border-radius: 0 3px 3px 0;
     border-radius: 8px
     border-right: 1px solid #383843
}
}


#strongwhite, #strongwhite p, #strongwhite h1, #strongwhite h2, #strongwhite h3, #strongwhite h4, #strongwhite h5, #strongwhite h6, #strongwhite li {
.ace_searchbtn:hover {
     color: #e9e9e9 !important
     background-color: #1b1b1f
}
}
/*затемнение для мобилок*/
 
#menus-cover {
.ace_searchbtn.prev:after {
     background: #000000;
     content: "";
     opacity: 0.4
    border: solid 2px #d3d3d3;
    width: 0.5em;
     height: 0.5em;
    border-width: 2px 0 0 2px;
    display: inline-block;
    transform: rotate(-45deg)
}
}
.oo-ui-tagMultiselectWidget-handle,.oo-ui-panelLayout-padded {
 
     background: #1b1b1f;
.ace_searchbtn.next:after {
     border: 1px solid black;
     content: "";
     border-radius: 0
     border: solid 2px #d3d3d3;
    width: 0.5em;
    height: 0.5em;
     border-width: 2px 0 0 2px;
    display: inline-block;
    transform: rotate(135deg)
}
}
/*Красивые картинки*/
 
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
.ace_button {
     margin: 0 0 0.5em 0.5em;
     margin-left: 2px;
     border:1px solid black;
     cursor: pointer;
     border-bottom:0;
     -webkit-user-select: none;
     border-radius:0.9em 0.9em 0 0;
     -moz-user-select: none;
     background:#1b1b1f;
     -o-user-select: none;
}
    -ms-user-select: none;
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
    user-select: none;
     border-radius: 0 0 0.9em 0.9em;
    overflow: hidden;
     border:1px solid black;
     opacity: 0.7;
     border-top:0;
     border: 1px solid rgb(56,56,68);
     background:#1b1b1f;
     padding: 1px;
     padding-bottom:5px;
     box-sizing: border-box!important;
     font-family:oswald;
     color: #d3d3d3;
    font-size:1em;
     background-color: var(--oo-ui-block-bg)
}
}


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) {
.ace_button:hover {
     margin: 5px;
     background-color: #1b1b1f;
     border-radius: 0.4em;
     opacity: 1
}
}
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{
 
     border-collapse:separate;
.ace_button:active {
     background-color: #101013
}
}
.mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{
 
     border-bottom: 1px solid #3366cc;
::-webkit-scrollbar {
     background-color: #424242
}
}


/*кнопка для главного меню*/
::-webkit-scrollbar-thumb {
.StupidButton {
     background-color: #686868;
    width: 100%;
     border: 2px solid #424242;
    height: 100%;
     border-radius: 4px
     position: absolute;
     top: 0;
     left: 0;
    z-index: 100;
}
}


/*Цвета таблиц для разных отделов*/
::-webkit-scrollbar-thumb:hover {
    background-color: #7b7b7b
}


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


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


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


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


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


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


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


/* Ячейка с содержимым */
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,.mw-changeslist-legend,.mw-body fieldset#mw-searchoptions,.mw_metadata,.mw-datatable {
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
    color: #d3d3d3;
#ENG.wikitable thead + tbody > tr td {
     background: var(--oo-ui-block-gradient);
     background: #977e31;
     border: 1px solid var(--oo-ui-block-bg);
     border-bottom: 1px solid #775f0e;
    padding: 12px 10px;
     border-left: 1px solid #8f7210;
     box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.3);
}
}


#SEC.wikitable {
.mw-rcfilters-ui-filterMenuHeaderWidget-header {
     background: #404144;
     background: var(--oo-ui-block-bg);
    color: #dddddd;
}
}


#SEC.wikitable>*>tr>th {
.oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-iconElement-icon, .oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-indicatorElement-indicator {
    background: #912424;
filter: invert(0.7);
    color: #dddddd;
}
}


#SEC.wikitable > * > tr > td {
.mw-rcfilters-ui-filterMenuHeaderWidget-title.oo-ui-labelElement-label {
     background: #515255;
     color: lightgray;
     color: #dddddd;
     font-weight: bold;
}
}


#SRV.wikitable {
.oo-ui-iconElement-icon.oo-ui-icon-search {
     background: #316f20;
     filter: invert(0.7);
    color: #dddddd;
}
}


#SRV.wikitable>*>tr>th {
#mw-search-toggleall {
     background: #316f20;
     background-color: var(--oo-ui-block-bg);
     color: #dddddd;
     border-color: var(--oo-ui-block-border);
}
}


#SRV.wikitable >*> tr > td {
#mw-search-togglenone {
     background: #40852b;
     background-color: var(--oo-ui-block-bg);
     color: #dddddd;
     border-color: var(--oo-ui-block-border);
}
}


/* Таблица */
#mw-searchoptions .divider {
#RND.wikitable {
    border-color: var(--oo-ui-block-border-light);
background: #630069;
}
border-spacing: 0px;
 
.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 {
#RND.wikitable thead tr th,
     background: #212126
#RND.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
     background-color: #630069;
    border-bottom: 3px solid #00000015;
}
}


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


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


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


/* Заголовок */
.mw-scribunto-console-fieldset {
#SUP.wikitable thead tr th,
     color: #d3d3d3;
#SUP.wikitable:not(:has(thead)) tr:first-of-type th {
     background: none;
     position: relative;
     border: 3px solid var(--oo-ui-block-bg)
     background-color: #6f3d0a;
     border-bottom: 3px solid #00000015;
}
}


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


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


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


/*Альтернативные цвета таблиц для разных отделов*/
.table-flex {
#aMED.wikitable thead tr th,
     display: flex;
#aMED.wikitable:not(:has(thead)) tr:first-of-type th {
     flex-direction: row;
     position: relative;
     flex-wrap: wrap;
     background-color: #004d45;
     justify-content: space-evenly
     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,
.boxes-flex {
#aMED.wikitable thead + tbody > tr th {
     padding: 0;
     background: #0d747f;
     margin: 0;
     border-bottom: 0.1em solid #00000059;
     text-align: center
     border-left: 0.2em solid #00000059;
}
}


#aENG.wikitable thead tr th,
.role-big-title {
#aENG.wikitable:not(:has(thead)) tr:first-of-type th {
     margin: 0px;
     position: relative;
     text-align: center;
     background-color: #715609;
     font-size: 40px;
     border-bottom: 0.2em solid #00000059;
     line-height: 50px;
     box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
    border-radius: 8px
}
}


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


#aRND.wikitable thead tr th,
.role-block-name {
#aRND.wikitable:not(:has(thead)) tr:first-of-type th {
     padding: 2px;
     position: relative;
     border-radius: .3em;
     background-color: #4e0163;
     margin-bottom: .2em
     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,
.story-text {
#aRND.wikitable thead + tbody > tr th {
     text-indent: 19px;
     background: #78027f;
     text-align: justify
    border-bottom: 0.1em solid #00000059;
     border-left: 0.2em solid #00000059;
}
}


#aSUP.wikitable thead tr th,
.story-dialogue {
#aSUP.wikitable:not(:has(thead)) tr:first-of-type th {
     line-height: 1.2
     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,
.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
#aSUP.wikitable thead + tbody > tr th {
     display: block;
     background: #874b0e;
     position: relative;
     border-bottom: 0.1em solid #00000059;
     margin: 0px 25%
     border-left: 0.2em solid #00000059;
}
}


#aSEC.wikitable {
.mw-gallery-slideshow .gallerybox.slideshow-current {
     background: #27272E;
     background: #28282e
    color: #dddddd;
}
}


#aSEC.wikitable>*>tr>th {
.gallerytext {
     background: #912424;
     overflow: hidden;
     color: #dddddd;
     font-size: 94%;
    padding: 2px 4px;
    word-wrap: break-word;
    text-align: center
}
}


#aSEC.wikitable > * > tr > td {
#content .gallerybox div.thumb {
     background: #32323C;
     background-color: #f8f9fa00
    color: #dddddd;
}
}


/* Таблица */
.mw-body li.gallerybox div.thumb {
#aSRV.wikitable {
    background: #f8f9fa00;
background: #216321;
    border: solid #28282e;
border-spacing: 0px;
    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 {
#aSRV.wikitable thead tr th,
     border-bottom: none !important
#aSRV.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #216321;
     border-bottom: 0.2em solid #00000021;
}
}


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


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


/* Таблица */
    #mw-content {
#BOTANY.wikitable {
        margin-left: 14em;
background: #0d3f28;
        padding: 2em 0 0
}
    }


/* Заголовок */
    #mw-content-wrapper {
#BOTANY.wikitable thead tr th,
        float: right;
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th {
        margin-left: -14em;
    position: relative;
        background: transparent;
    background-color: #04673e !important;
        width: 100%
    border-bottom: 0.2em solid #00000021;
    }
}


/* Заглавные ячейки */
    #mw-related-navigation {
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
        width: 14em;
#BOTANY.wikitable thead + tbody > tr th {
        padding: 0 1em 0 0
     background: #0d7b39;
    }
 
    .color-middle {
        margin-right: 0
    }
 
    .mw-wiki-logo {
        display: inline-block
    }
 
    #catlinks {
        margin-left: 14em
     }
}
}


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


/* Ячейка с содержимым */
.mw-body h2 {
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
    font-size: 1.8em;
#BOTANY.wikitable thead + tbody > tr td {
     border-bottom: solid 2px #3366cc
     background: #2a834e;
}
}


/* Таблица */
.mw-body h4 {
#MUTATION.wikitable {
    font-weight: bold;
background: #220f3b;
    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 {
#MUTATION.wikitable thead tr th,
     border-bottom: solid 2px #3366cc
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #330b65 !important;
     border-bottom: 0.2em solid #00000021;
}
}


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


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


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


/* Неразрывные пробелы в горизонтальных списках
#main.backlight:hover {
  @источник: https://ru.wikipedia.org/wiki/MediaWiki:Common.css
    box-shadow: inset 0 0 23em #00000066;
  @Распорстраняется под CC BY-SA 4.0
    border-radius: 8px
  @автор: [[Участник: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).
#strongwhite, #strongwhite p, #strongwhite h1, #strongwhite h2, #strongwhite h3, #strongwhite h4, #strongwhite h5, #strongwhite h6, #strongwhite li {
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
    color: #e9e9e9 !important
  @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,
#menus-cover {
.hlist dt,
    background: #000000;
.hlist li {
    opacity: 0.4
margin: 0;
display: inline;
}
}
/* Display nested lists inline */
.oo-ui-tagMultiselectWidget-handle,.oo-ui-panelLayout-padded {
.hlist.inline,
    background: #1b1b1f;
.hlist.inline dl,
    border: 1px solid black;
.hlist.inline ol,
    border-radius: 0
.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,
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
.hlist .mw-empty-elt {
    margin: 0 0 0.5em 0.5em;
display: none;
    border:1px solid black;
    border-bottom:0;
    border-radius:0.9em 0.9em 0 0;
    background:#1b1b1f;
}
}
/* Generate bullets */
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
.hlist dt:after {
    border-radius: 0 0 0.9em 0.9em;
content: ": ";
    border:1px solid black;
    border-top:0;
    background:#1b1b1f;
    padding-bottom:5px;
    font-family:oswald;
    font-size:1em;
}
}
.hlist dd:after,
 
.hlist li:after {
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) {
content: "\00a0· ";
    margin: 5px;
font-weight: bold;
    border-radius: 0.4em;
}
}
.hlist dd:last-child:after,
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{
.hlist dt:last-child:after,
    border-collapse:separate;
.hlist li:last-child:after {
content: none;
}
}
/* Add parentheses around nested lists */
.mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
    border-bottom: 1px solid #3366cc;
.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 {
.StupidButton {
content: ")";
    width: 100%;
font-weight: normal;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}
}
/* Put ordinals in front of ordered list items */
 
.hlist ol {
/*Цвета таблиц для разных отделов*/
counter-reset: listitem;
 
/* Таблица */
#MED.wikitable {
background: #01453e;
border-spacing: 0px;
}
}
.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 {
#MED.wikitable thead tr th,
  cursor:pointer;
#MED.wikitable:not(:has(thead)) tr:first-of-type th {
    position: relative;
    background-color: #01453e;
    border-bottom: 3px solid #00000015;
}
}


.pseudomodal {
/* Заглавная ячейка */
    overflow-y: auto;
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
    display: flex;
#MED.wikitable thead + tbody > tr th {
    flex-direction: column;
     background: #005b53;
    visibility: hidden;
     border-bottom: 1px solid #01453e;
    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;
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
  opacity: 1;
#MED.wikitable thead + tbody > tr td {
    background: #1f635d;
    border-bottom: 1px solid #01453e;
    border-left: 1px solid #005b53;
}
}


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


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


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


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


.pseudomodal::-webkit-scrollbar {
#SEC.wikitable {
  width: 0.15rem;
    background: #404144;
  background-color:transparent;
    color: #dddddd;
}
}


.pseudomodal::-webkit-scrollbar-track {
#SEC.wikitable>*>tr>th {
  margin:1em;
    background: #912424;
  background: transparent;
    color: #dddddd;
}
}


.pseudomodal::-webkit-scrollbar-thumb {
#SEC.wikitable > * > tr > td {
  background-color: transparent;
    background: #515255;
  border: solid #373737;
    color: #dddddd;
}
}


/* Key press */
#SRV.wikitable {
.keyboard-key {
     background: #316f20;
    border: 1px solid #555555;
     color: #dddddd;
    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) {
#SRV.wikitable>*>tr>th {
.flex--row-column {
    background: #316f20;
flex-direction:column; width: 50%; margin: auto;
    color: #dddddd;
}
}
}


/* Классы для форума "Справочник сталкера" проекта S.T.A.L.K.E.R. и для вики-плашек*/
#SRV.wikitable >*> tr > td {
 
    background: #40852b;
.forumMessage, .wikiMessage {
    color: #dddddd;
background: #1b1b1f;
}
}


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


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


.forumMessageInfo, .wikiMessageInfo{
/* Заглавная ячейка */
padding: 0;
#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
margin-left: 160px;
#RND.wikitable thead + tbody > tr th {
border-bottom: 1px none black;
    background: #7c0183;
zoom: 1;
    border-bottom: 1px solid #630069;
color: rgb(255, 255, 255);
}
}


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


.forumMessageUserInfo, .wikiIMG {
/* Таблица */
float: left;
#SUP.wikitable {
width: 140px;
background: #6f3d0a;
position: relative;
border-spacing: 0px;
}
}


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


.forumAvatarHolder {
/* Заглавная ячейка */
background:#303037
#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;
}
}


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


.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;
#aMED.wikitable thead tr th,
text-align: center;
#aMED.wikitable:not(:has(thead)) tr:first-of-type th {
padding: 5px;
    position: relative;
color: black;
    background-color: #004d45;
border-color: silver;
    border-bottom: 0.2em solid #00000059;
height: 16px;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
width: 105px;
display: block;
margin-bottom: 5px
}
}


.forumAdmin {
#aMED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
background: silver
#aMED.wikitable thead + tbody > tr th {
    background: #0d747f;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
}
/* CodeMirror */
 
.CodeMirror {
#aENG.wikitable thead tr th,
#aENG.wikitable:not(:has(thead)) tr:first-of-type th {
     position: relative;
     position: relative;
     overflow: hidden;
     background-color: #715609;
     background: #1b1b1f;
     border-bottom: 0.2em solid #00000059;
     color: inherit;
     box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}


.CodeMirror-gutters {
#aENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
     border-right: 1px solid #212126;
#aENG.wikitable thead + tbody > tr th {
     background-color: #212126;
     background: #957710;
     white-space: nowrap;
     border-bottom: 0.1em solid #00000059;
     border-left: 0.2em solid #00000059;
}
}


.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
#aRND.wikitable thead tr th,
     background: #1c2d44;
#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);
}
}


.noExternal>.external {
#aRND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
  padding-right:0px !important;
#aRND.wikitable thead + tbody > tr th {
  background-image:none !important;
    background: #78027f;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
}


.mw-mmv-image>*, .fullImageLink>*>* {
#aSUP.wikitable thead tr th,
image-rendering: auto !important;
#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,
.skameykatable{
#aSUP.wikitable thead + tbody > tr th {
border:1px solid black;
    background: #874b0e;
border-radius:1.4rem;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
}
.skameykatable>*>tr>th{
 
      text-align:center;
#aSEC.wikitable {
    font-weight:bold;
     background: var(--oo-ui-block-bg);
    }
     color: #dddddd;
.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;
#aSEC.wikitable>*>tr>th {
    background: #912424;
    color: #dddddd;
}
}
.skameykatable>*>tr:last-child{
 
     box-shadow: inset 30em 30em 0 #1b1b20;
#aSEC.wikitable > * > tr > td {
     border-bottom-left-radius:1.3rem;
     background: #31313b;
    border-bottom-right-radius:1.3rem;
     color: #dddddd;
}
}


.skameykatable>*>tr>*{
/* Таблица */
    padding:0.4em;
#aSRV.wikitable {
    background:transparent;
background: #216321;
          border:none !important;
border-spacing: 0px;
    }
   
.headerSort::after {
content: "\21C5";
}
   
.headerSort.headerSortUp::after {
    content: "\2191";
}
}


.headerSort.headerSortDown::after {
/* Заголовок */
     content: "\2193";
#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;
}
}


 
/* Заглавная ячейка */
.headerSort {
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
background-size: 0 0 !important;
#aSRV.wikitable thead + tbody > tr th {
white-space: nowrap;
    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;
}   


.pseudomodal p {
/* Таблица */
margin: 0 !important;
#BOTANY.wikitable {
background: #0d3f28;
}
}


/**
/* Заголовок */
* SS220 import
#BOTANY.wikitable thead tr th,
*
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th {
* Taken from https://wiki.ss220.space/index.php?title=MediaWiki:Common.css&oldid=35625
    position: relative;
*/
    background-color: #04673e !important;
    border-bottom: 0.2em solid #00000021;
}


/* Hide noscript only elements */
/* Заглавные ячейки */
.client-js *.noscript {
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
     display: none;
#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;
}


/* SS220 import end*/
/* Ячейка с содержимым */
#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;
}


/* Стили для заголовков в таблицах с thead */
/* Заголовок */
#highlighted-header.wikitable thead tr th,
#MUTATION.wikitable thead tr th,
/* Стили для первого ряда в таблицах без thead */
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th {
#highlighted-header.wikitable:not(:has(thead)) tr:first-of-type th {
     position: relative;
     position: relative;
     background-color: #3d3d4f;
     background-color: #330b65 !important;
     border-bottom: 0.2em solid #00000059;
     border-bottom: 0.2em solid #00000021;
    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,
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
/* Стили для последующих строк в таблицах с thead */
#MUTATION.wikitable thead + tbody > tr th {
#highlighted-header.wikitable thead + tbody > tr th {
     background: #3a1769;
     background: #972626;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
}


/* Серый заголовок и серые ячейки */
/* Первая заглавная ячейка */
#highlighted-header-classic.wikitable thead tr th,
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-of-type,
#highlighted-header-classic.wikitable:not(:has(thead)) tr:first-of-type th {
#MUTATION.wikitable thead + tbody > tr th:first-of-type {
    position: relative;
     border-left: 0.2em solid #0000003b;
    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 {
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
     background: #3e3e4d;
#MUTATION.wikitable thead + tbody > tr td {
    border-bottom: 0.1em solid #0000000d;
     background: #422371;
    border-left: 0.2em solid #00000024;
}
}


/* Холодный цвет ячеек */
/* Неразрывные пробелы в горизонтальных списках
#highlighted-header-cold.wikitable thead tr th,
  @источник: https://ru.wikipedia.org/wiki/MediaWiki:Common.css
#highlighted-header-cold.wikitable:not(:has(thead)) tr:first-of-type th {
  @Распорстраняется под CC BY-SA 4.0
    position: relative;
  @автор: [[Участник:WindEwriX]]*/
    background-color: #006587;
.nowrap,
    border-bottom: 0.2em solid #00000059;
.nowraplinks a,
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
white-space: nowrap;
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/


#highlighted-header-cold.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
/* Style for horizontal lists (separator following item).
#highlighted-header-cold.wikitable thead + tbody > tr th {
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
    background: #00707b;
  @revision 9 (2016-08-10)
    border-bottom: 0.1em solid #00000059;
  @Распорстраняется под CC BY-SA 4.0
    border-left: 0.2em solid #00000059;
  @author [[User:Edokter]]
*/
.hlist dl,
.hlist.hlist ol,
.hlist.hlist ul {
margin: 0;
padding: 0;
}
}
 
/* Display list items inline */
/* Серый заголовок и темно-красные ячейки */
.hlist dd,
#highlighted-header-dark.wikitable thead tr th,
.hlist dt,
#highlighted-header-dark.wikitable:not(:has(thead)) tr:first-of-type th {
.hlist li {
    position: relative;
margin: 0;
    background-color: #3d3d4f;
display: inline;
    border-bottom: 0.2em solid #00000059;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}
 
/* Display nested lists inline */
#highlighted-header-dark.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
.hlist.inline,
#highlighted-header-dark.wikitable thead + tbody > tr th {
.hlist.inline dl,
    background: #8d2121;
.hlist.inline ol,
    border-bottom: 0.1em solid #00000059;
.hlist.inline ul,
    border-left: 0.2em solid #00000059;
.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;
#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);
}
}
 
/* Hide empty list items */
#highlighted-header-CM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
.hlist .mw-empty-li,
#highlighted-header-CM.wikitable thead + tbody > tr th {
.hlist .mw-empty-elt {
    background: #355f54;
display: none;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
}
 
/* Generate bullets */
/* Палитра для Ксеноморфов */
.hlist dt:after {
#highlighted-header-xenomorph.wikitable thead tr th,
content: ": ";
#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);
}
}
 
.hlist dd:after,
#highlighted-header-xenomorph.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
.hlist li:after {
#highlighted-header-xenomorph.wikitable thead + tbody > tr th {
content: "\00a0· ";
    background: #5d1c55;
font-weight: bold;
    border-bottom: 0.1em solid #00000059;
    border-left: 0.2em solid #00000059;
}
}
 
.hlist dd:last-child:after,
/* Если не нужен другой стиль кроме цвета */
.hlist dt:last-child:after,
#no-highlight {
.hlist li:last-child:after {
    border-bottom: none !important;
content: none;
    box-shadow: none !important;
}
}
 
/* 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,
#VIOLET.wikitable {
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
background: #391b5d;
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,
#VIOLET.wikitable thead tr th,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
#VIOLET.wikitable:not(:has(thead)) tr:first-of-type th {
content: ")";
    position: relative;
font-weight: normal;
    background-color: #391b5d;
    border-bottom: 0.2em solid #00000021;
}
}
 
/* Put ordinals in front of ordered list items */
/* Заглавная ячейка */
.hlist ol {
#VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
counter-reset: listitem;
#VIOLET.wikitable thead + tbody > tr th {
}
    background: #44206f;
.hlist ol > li {
    border-bottom: 1px solid #391b5d;
counter-increment: listitem;
}
}
 
.hlist ol > li:before {
/* Ячейка с содержимым */
content: " " counter(listitem) "\a0";
#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;
}
}
 
.hlist dd ol > li:first-child:before,
 
.hlist dt ol > li:first-child:before,
/* Таблица */
.hlist li ol > li:first-child:before {
#YELLOW.wikitable {
content: " (" counter(listitem) "\a0";
background: #405d1b;
border-spacing: 0px;
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/


/* Заголовок */
/* Псевдо-модальное окно */
#YELLOW.wikitable thead tr th,
.pseudomodal--caller {
#YELLOW.wikitable:not(:has(thead)) tr:first-of-type th {
  cursor:pointer;
    position: relative;
    background-color: #405d1b;
    border-bottom: 0.2em solid #00000021;
}
}


/* Заглавная ячейка */
.pseudomodal {
#YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
    overflow-y: auto;
#YELLOW.wikitable thead + tbody > tr th {
    display: flex;
     background: #4c6d20;
    flex-direction: column;
     border-bottom: 1px solid #405d1b;
    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 {
#YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
  visibility: visible;
#YELLOW.wikitable thead + tbody > tr td {
  opacity: 1;
    background: #577332;
    border-bottom: 1px solid #405d1b;
}
}


@media (max-width: 800px) {
.pseudomodal:hover {
    .grid-adaptive {
  visibility: visible;
        grid-template-columns: 1fr !important;
  opacity: 1;
    }
}
}


.grid-item-adaptive {
.pseudomodal--header {
    display: grid;
  text-align: center;
    gap: 8px;
  font-size: 1.1em;
    grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 25vw, 300px), 1fr));
  position: relative;
}
}


/* Удаление верхних и нижних отступов для первого и последнего дочернего элемента */
.pseudomodal--header-hr{
.no-margin-edges > :first-child,
  margin: 20px 0;
.tabs-content    > :first-child,
  padding: 0;
.doc            > :first-child {
  height: 0;
    margin-top: 0 !important;
  border: none;
  border-top: 1px solid darkgray;
}
}


.no-margin-edges > :last-child,
.pseudomodal--body{
.tabs-content    > :last-child,
  height: 100%;
.doc            > :last-child {
  position: relative;
    margin-bottom: 0 !important;
}
}


/* Сброс и настройка отступов для списков */
.pseudomodal::-webkit-scrollbar {
.list-reset-margin ol {
  width: 0.15rem;
    margin: 0 0 0 24px;
  background-color:transparent;
}
}


.list-reset-margin li {
.pseudomodal::-webkit-scrollbar-track {
    margin-top: 2px;
  margin:1em;
  background: transparent;
}
}


.list-reset-margin > ol:not(:first-child) > li:not(:first-child),
.pseudomodal::-webkit-scrollbar-thumb {
.list-reset-margin > ul:nth-of-type(n+2) {
  background-color: transparent;
    margin-top: 10px;
  border: solid #373737;
}
}


/* Кнопка копирования текста */
/* Key press */
.copy-icon {
.keyboard-key {
cursor: pointer;
    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 {
.brightness-overlay::before {
flex-direction:column; width: 50%; margin: auto;
    content: "";
}
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: var(--background-color);
}
}


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


/* Псевдоэлемент для добавления фона, который изменяет яркость при наведении */
.forumMessage, .wikiMessage {
.brightness-overlay::before {
background: #1b1b1f;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: var(--background-color);
}
}


.brightness-overlay:hover::before {
.forumMessage {
filter: brightness(103%);
padding: 10px 10px 30px;
}
}


/* Уменьшеная полоса прокрутки */
.wikiMessage {
.short-scrollbar::-webkit-scrollbar {
padding: 10px 10px 10px;
width: 10px;
margin-bottom: 10px;
}
}


.short-scrollbar::-webkit-scrollbar-track  {
.forumMessageInfo, .wikiMessageInfo{
background: #2c2c33;
padding: 0;
margin-left: 160px;
border-bottom: 1px none black;
zoom: 1;
color: rgb(255, 255, 255);
}
}


.short-scrollbar::-webkit-scrollbar-thumb {
.forumMessageContent, .wikiMessageContent {
background: #44444d; border: 2px solid #2c2c33; border-radius: 0;
padding-bottom: 2px;
padding-left:4px;
border-style: hidden;
min-height: 100px;
overflow: hidden;
}
.forumMessageContent {
background-color: #303037
}
}


/* Нужен для красивого вида примеров шаблона или кода */
.forumMessageUserInfo, .wikiIMG {
.doc {
float: left;
     white-space: pre-wrap;
width: 140px;
     font-family: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace;
position: relative;
     background: #d0d0ff0b;
}
     padding: 12px 10px;
 
     margin-bottom: 20px;
.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;
     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;
}