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

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


/* Стиль для таблиц wikitable */
.wikitable {
.wikitable {
     background: #303037;
     border-spacing: 1px;
     border: 1px solid #37373e;
    padding: 12px;
     color: white
    border-collapse: separate;
     border: 1px solid black;
    border-radius: 1em;
    background: #27272e;
     color: #dbdbdb;
}
}


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


.wikitableKZ>tr>th,.wikitableKZ>tr>td,.wikitableKZ>*>tr>th,.wikitableKZ>*>tr>td {
.wikitable>*>tr>th {
     border: 1px solid black
     background: #27272e;
    color: white;
}
}


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


.mw-content-ltr .tocnumber {
.wikitable p, .wikitable h1, .wikitable h2, .wikitable h3, .wikitable h4, .wikitable h5, .wikitable h6, .wikitable li {
     color: grey
     color: #dbdbdb;
}
}


.wikitable>tr>th,.wikitable>tr>td,.wikitable>*>tr>th,.wikitable>*>tr>td {
/* Закругление верхнего левого угла первой ячейки */
     border: 1px solid black
.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>*>tr>th {
/* Закругление верхнего правого угла последней ячейки */
    background: #27272e;
.wikitable thead tr:first-child th:last-child,
     border: 1px solid black;
.wikitable thead tr:first-child td:last-child,
    color: white
.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;
}
}


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


.quickboxhead {
/* Старые таблицы
    border-bottom: 1px solid #303038;
.wikitable {
    background: #1b1b1f;
     background: #303037;
    text-align: center
     border: 1px solid #37373e;
}
 
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,.mw-rcfilters-ui-changesListWrapperWidget {
     background: #27272e;
     border: 1px solid #303038;
     color: white
     color: white
}
}


.mw-changeslist-legend {
.wikitable>tr>th,.wikitable>tr>td,.wikitable>*>tr>th,.wikitable>*>tr>td {
     display: none
     border: 1px solid black
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
.wikitable>*>tr>th {
     background: #27272e;
     background: #27272e;
     border: 1px solid #303038;
     border: 1px solid black;
     color: white
     color: white
}
}
*/


.oo-ui-popupWidget-popup {
/* Таблицы на телефонах */
     background: #303037;
@media screen and (max-width: 850px) {
     border: 1px solid #37373e;
     .wikitable {
    color: white
        font-size: 0.65em;
        padding: 5px !important;
     }
   
.wikitable img[width="64"][height="64"] {
width: 32px;
height: 32px;
}
}
}


.mw-editform #wpTextbox1,textarea {
.toc {
     background: #303037;
     background: #27272E;
     border: 1px solid #37373e;
     border: 1px solid black;
     color: white
     color: white
}
}


.wikiEditor-ui-toolbar {
.mw-content-ltr .tocnumber {
    background: #27272e;
     color: grey
     color: white
}
}


.wikiEditor-ui-toolbar .group {
.quickbox {
     border: 1px solid #37373e;
     border: 1px solid #303038;
     color: white
     background: #27272e
}
}


.wikiEditor-ui-toolbar .group .label {
.quickboxhead {
     color: white
    border-bottom: 1px solid #303038;
    background: #1b1b1f;
     text-align: center
}
}


.wikiEditor-ui-toolbar .tabs span.tab a.current,.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,.mw-rcfilters-ui-changesListWrapperWidget {
     color: #151518;
    background: #27272e;
     font-weight: bold
     border: 1px solid #303038;
     color: white
}
}


.wikiEditor-ui .wikiEditor-ui-top {
.mw-changeslist-legend {
     border-bottom: 1px solid #37373e
     display: none
}
}


.wikiEditor-ui .wikiEditor-ui-view {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
     border: 1px solid #37373e
    background: #27272e;
     border: 1px solid #303038;
    color: white
}
}


.editOptions,.mw-editform .editOptions {
.oo-ui-popupWidget-popup {
     background: #212126;
     background: #303037;
     border: 1px solid #37373e;
     border: 1px solid #37373e;
     color: white
     color: white
}
}


@media screen {
.mw-editform #wpTextbox1,textarea {
    .mw-body-content .recipeimg a>img {
    background: #303037;
        padding: 0;
    border: 1px solid #37373e;
        margin: 0;
    color: white
        border: 0;
        width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        max-height: 32px !important
    }
}
}


.positive {
.wikiEditor-ui-toolbar {
     color: #00FF00;
     background: #27272e;
     font-weight: bold
     color: white
}
}


.negative {
.wikiEditor-ui-toolbar .group {
     color: #FF0000;
     border: 1px solid #37373e;
     font-weight: bold
     color: white
}
}


.anglerect {
.wikiEditor-ui-toolbar .group .label {
    --angle-rect-clip-size: 16px;
     color: white
     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 {
.wikiEditor-ui-toolbar .tabs span.tab a.current,.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
     display: flex
     color: #151518;
    font-weight: bold
}
}


.mw-body {
.wikiEditor-ui .wikiEditor-ui-top {
     padding: 0.5em;
     border-bottom: 1px solid #37373e
    box-shadow: 0 0 2px black
}
}


.mw-body dd {
.wikiEditor-ui .wikiEditor-ui-view {
     margin: 0.2em;
     border: 1px solid #37373e
    margin-left: 1.6em
}
}


.tabs-label {
.editOptions,.mw-editform .editOptions {
     cursor: pointer;
     background: #212126;
     padding: 1px 6px;
     border: 1px solid #37373e;
     background: transparent !important;
     color: white
    border: 1px solid black
}
}


.tabs-tabbox > .tabs-input:checked + .tabs-label,.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
@media screen {
    z-index: 2;
    .mw-body-content .recipeimg a>img {
    box-shadow: 0px 2px 1px #3366cc
        padding: 0;
        margin: 0;
        border: 0;
        width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        max-height: 32px !important
    }
}
}


.tabs-tabbox > .tabs-input+ .tabs-input+ .tabs-label {
.positive {
     margin: 0
     color: #00FF00;
    font-weight: bold
}
}


.tabs-label:hover {
.negative {
     box-shadow: 0px 2px 1px darkblue;
     color: #FF0000;
     z-index: 2
     font-weight: bold
}
}


.tabs-tabbox > .tabs-container {
.anglerect {
     margin-top: -1px;
     --angle-rect-clip-size: 16px;
    padding: 2px 10px;
     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)))
     background: #303037;
    border-radius: 0;
    position: relative;
    border: 1px solid #000000;
    width: inherit;
    max-width: inherit;
    min-width: inherit;
    z-index: 1
}
}


.tabs-tabbox > .tabs-label {
.flex {
    margin: 0;
     display: flex
    background: transparent;
    position: relative;
     display: inline-block;
    vertical-align: baseline;
    border-radius: 0
}
}


.tooltip {
.mw-body {
     position: relative;
     padding: 0.5em;
     display: inline
     box-shadow: 0 0 2px black
}
}


.tooltiptext {
.mw-body dd {
    position: absolute;
     margin: 0.2em;
    min-width: 240px;
     margin-left: 1.6em
    max-width: 100%;
    left: -240px;
    right: -240px;
    top: 125%;
     margin-left: auto;
    margin-right: auto;
    z-index: 99;
    padding: 22px;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.1s;
     border: 1px solid #3366cc;
    border-radius: 1.4rem;
    background-color: #27272E
}
}


.tooltip:hover>.tooltiptext {
.tabs-label {
     visibility: visible;
    cursor: pointer;
     opacity: 1;
     padding: 1px 6px;
     background: transparent !important;
    border: 1px solid black
}
}


@media screen and (min-width: 851px) {
.tabs-tabbox > .tabs-input:checked + .tabs-label,.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
     .mobile {
     z-index: 2;
        display:none
    box-shadow: 0px 2px 1px #3366cc
    }
}


    .headder {
.tabs-tabbox > .tabs-input+ .tabs-input+ .tabs-label {
        width: 25%;
    margin: 0
        float: right;
}
        margin-left: 1em
    }


    .stiky {
.tabs-label:hover {
        position: sticky;
    box-shadow: 0px 2px 1px darkblue;
        top: 0.1em
    z-index: 2
    }
}
}


@media screen and (max-width: 850px) {
.tabs-tabbox > .tabs-container {
     .nomobile {
    margin-top: -1px;
        display:none
    padding: 2px 10px;
    }
    background: #303037;
    border-radius: 0;
    position: relative;
    border: 1px solid #000000;
    width: inherit;
    max-width: inherit;
     min-width: inherit;
    z-index: 1
}


    .headder {
.tabs-tabbox > .tabs-label {
        width: 100%;
    margin: 0;
        margin-left: 0
    background: transparent;
    }
    position: relative;
    display: inline-block;
    vertical-align: baseline;
    border-radius: 0
}


    .sidebar-inner {
.tooltip {
        background: #27272e;
     position: relative;
        border: 1px solid black;
     display: inline
        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%
    }
    */
}
}


.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 {
.tooltiptext {
    color: #e0e0e0
    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: #27272E;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
}


.mw-mmv-above-fold {
.tooltip:hover>.tooltiptext {
     background: #222;
     visibility: visible;
     border-top: 1px solid #333
     opacity: 1;
}
}


.mw-mmv-image-metadata {
@media screen and (min-width: 851px) {
     background-color: #111;
     .mobile {
     border-color: #333
        display:none
}
     }


.mw-mmv-dialog {
    .headder {
    border: 1px solid #333;
        width: 25%;
    background: #222;
        float: right;
    box-shadow: none
        margin-left: 1em
}
    }


.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
    .stiky {
    background: #222;
        position: sticky;
    border-bottom: 1px solid #333;
        top: 0.1em
     border-right: 1px solid #333
     }
}
}


.mw-mmv-options-enable-alert {
@media screen and (max-width: 850px) {
     background: #333;
     .nomobile {
     color: #e0e0e0
        display:none
}
     }


.mw-mmv-filepage-buttons .mw-ui-button {
    .headder {
    background: #36c;
        width: 100%;
    color: #e0e0e0;
        margin-left: 0
     border-color: #1d4699
     }
}


.mw-default-size {
    .sidebar-inner {
    background-color: #21212600 !important;
        background: #27272e;
    border-color: black !important
        border: 1px solid black;
}
        color: lightgrey
    }


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


.mw-default-size figcaption {
    .tooltiptext {
    background-color: #21212600 !important;
        box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
     border-color: black !important
        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-halign-right {
.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: #27272E00 !important;
     color: #e0e0e0
    border-color: black !important
}
}


.mw-halign-right img {
.mw-mmv-above-fold {
     border-color: black !important
    background: #222;
     border-top: 1px solid #333
}
}


.mw-halign-right figcaption {
.mw-mmv-image-metadata {
     background-color: #27272E00 !important;
     background-color: #111;
     border-color: black !important
     border-color: #333
}
}


.mw-halign-left {
.mw-mmv-dialog {
     background-color: #27272E00 !important;
    border: 1px solid #333;
     border-color: black !important
     background: #222;
     box-shadow: none
}
}


.mw-halign-left img {
.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
     border-color: black !important
    background: #222;
    border-bottom: 1px solid #333;
     border-right: 1px solid #333
}
}


.mw-halign-left figcaption {
.mw-mmv-options-enable-alert {
     background-color: #27272E00 !important;
     background: #333;
     border-color: black !important
     color: #e0e0e0
}
}


.mw-halign-center {
.mw-mmv-filepage-buttons .mw-ui-button {
     background-color: #27272E00 !important;
     background: #36c;
     border-color: black !important
    color: #e0e0e0;
     border-color: #1d4699
}
}


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


.mw-halign-center figcaption {
.mw-default-size img {
    background-color: #27272E00 !important;
     border-color: black !important
     border-color: black !important
}
}


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


ol.references li:target,sup.reference:target {
.mw-halign-right {
     background-color: #303037 !important
     background-color: #27272E00 !important;
    border-color: black !important
}
}


.oo-ui-inputWidget-input {
.mw-halign-right img {
     background-color: #27272e !important;
     border-color: black !important
    border: #37373e !important;
    color: #ffffff !important
}
}


.mw-search-profile-tabs {
.mw-halign-right figcaption {
     background-color: #27272e !important;
     background-color: #27272E00 !important;
     border: #37373e !important
     border-color: black !important
}
}


.search-types .current a {
.mw-halign-left {
     color: #d3d3d3 !important;
     background-color: #27272E00 !important;
     cursor: default !important
     border-color: black !important
}
}


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


.mw-message-box-warning {
.mw-halign-left figcaption {
     background-color: #7b6919 !important;
     background-color: #27272E00 !important;
     border-color: #af9a24 !important
     border-color: black !important
}
}


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


.ui-widget-overlay {
.mw-halign-center img {
     background: #000000 !important;
     border-color: black !important
    opacity: .3 !important
}
}


.ui-widget-content {
.mw-halign-center figcaption {
    border: 1px solid #4a4a57 !important;
     background-color: #27272E00 !important;
     background: #212126 !important;
     border-color: black !important
     color: #e0e0e0 !important
}
}


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


#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt {
ol.references li:target,sup.reference:target {
    width: 100% !important;
     background-color: #ffffff0f;
     background-color: #27272e !important;
     padding: 0px 1px 3px 1px;
     color: #e0e0e0 !important
}
}


.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
.oo-ui-inputWidget-input {
    box-sizing: border-box !important;
     background-color: #27272e !important;
     background-color: #27272e !important;
     color: #e0e0e0 !important
    border: #37373e !important;
     color: #ffffff !important
}
}


.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
.mw-search-profile-tabs {
    font-family: Verdana,Arial,sans-serif !important;
    font-size: 1em !important;
     background-color: #27272e !important;
     background-color: #27272e !important;
     color: #e0e0e0 !important
     border: #37373e !important
}
}


.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default {
.search-types .current a {
     border: 1px solid #4a4a57 !important;
     color: #d3d3d3 !important;
     background: #27272e !important;
     cursor: default !important
    font-weight: normal !important;
    color: #e0e0e0 !important
}
}


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


body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
.mw-message-box-warning {
     right: 0.9em !important;
     background-color: #7b6919 !important;
     background: #4c4c59 !important
     border-color: #af9a24 !important
}
}


.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus {
#mw-header-nav-hack {
     padding: 0 !important;
    border-top: solid 2px #212126 !important;
     background: #6c6c80 !important
    display: block;
    position: absolute;
     z-index: 98;
     background: #212126 !important;
    width: 100%
}
}


ul#filetoc,.toc,.toccolours,.mw-warning {
.ui-widget-overlay {
    display: table !important;
     background: #000000 !important;
     background-color: #27272e !important;
     opacity: .3 !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 {
.ui-widget-content {
     font-family: 'oswald';
     border: 1px solid #4a4a57 !important;
     font-size: 2em
    background: #212126 !important;
     color: #e0e0e0 !important
}
}


.mw-body .toctitle h2 {
.ui-widget-header {
     font-family: 'oswald';
     border: 1px solid #4a4a57 !important;
     font-size: 1.2em
    background: #212126 !important;
    color: #e0e0e0 !important;
     font-weight: bold !important
}
}


.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context {
#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt {
     font-family: monospace,monospace !important;
     width: 100% !important;
     background-color: #1b1b1f !important;
     background-color: #27272e !important;
     border-color: #1b1b1f !important;
     color: #e0e0e0 !important
    color: white !important
}
}


.diff-deletedline .diffchange {
.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
     background: #4c3c16 !important
    box-sizing: border-box !important;
     background-color: #27272e !important;
    color: #e0e0e0 !important
}
}


.diff-addedline .diffchange {
.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
     background: #16324d !important
    font-family: Verdana,Arial,sans-serif !important;
    font-size: 1em !important;
     background-color: #27272e !important;
    color: #e0e0e0 !important
}
}


.mw-json th,.mw-json td {
.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default {
     border: 1px solid #000000;
     border: 1px solid #4a4a57 !important;
     font-size: 16px;
    background: #27272e !important;
     padding: 0.5em 1em
     font-weight: normal !important;
     color: #e0e0e0 !important
}
}


.mw-json tr {
.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: #212126;
    border: 1px solid #4a4a57 !important;
     margin-bottom: 0.5em
     background: #4c4c59 !important;
     font-weight: normal !important;
    color: #e0e0e0 !important
}
}


.mw-json th {
body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
    background-color: #303037;
     right: 0.9em !important;
    font-weight: normal;
     background: #4c4c59 !important
     vertical-align: top;
     color: #d3d3d3
}
}


.mw-json th span {
.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus {
    -webkit-position: sticky;
     padding: 0 !important;
     position: sticky;
     background: #6c6c80 !important
     top: 0.5em
}
}


.mw-json-value,.mw-json-single-value {
ul#filetoc,.toc,.toccolours,.mw-warning {
     background-color: #1b5929;
    display: table !important;
     font-family: monospace,monospace;
     background-color: #27272e !important;
     white-space: pre-wrap;
     border: solid #000000 !important;
     color: #d3d3d3
    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-json-empty {
.mw-body h1 {
     background-color: #1b5929;
     font-family: 'oswald';
     font-style: italic;
     font-size: 2em
    color: #d3d3d3
}
}


.hover_img_special {
.mw-body .toctitle h2 {
     top: 0;
     font-family: 'oswald';
     left: 0;
     font-size: 1.2em
    display: none
}
}


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


.img_special:hover .img_spec {
.diff-deletedline .diffchange {
     display: none
     background: #4c3c16 !important
}
}


.ace-tm .ace_gutter {
.diff-addedline .diffchange {
     background: #212126;
     background: #16324d !important
    color: #333
}
}


.ace-tm .ace_print-margin {
.mw-json th,.mw-json td {
     width: 1px;
     border: 1px solid #000000;
     background-color: #1b1b1f
     font-size: 16px;
    padding: 0.5em 1em
}
}


.ace-tm {
.mw-json tr {
     background-color: #1b1b1f;
     background-color: #212126;
     color: lightgrey
     margin-bottom: 0.5em
}
}


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


.ace-tm .ace_storage,.ace-tm .ace_keyword {
.mw-json th span {
     color: rgb(153,153,255)
    -webkit-position: sticky;
    position: sticky;
     top: 0.5em
}
}


.ace-tm .ace_constant.ace_numeric {
.mw-json-value,.mw-json-single-value {
     color: rgb(153,153,205)
     background-color: #1b5929;
    font-family: monospace,monospace;
    white-space: pre-wrap;
    color: #d3d3d3
}
}


.ace-tm .ace_constant {
.mw-json-empty {
     color: rgb(241,89,92)
    background-color: #1b5929;
    font-style: italic;
     color: #d3d3d3
}
}


.ace-tm .ace_support.ace_function {
.hover_img_special {
     color: rgb(68,118,235)
     top: 0;
    left: 0;
    display: none
}
}


.ace-tm .ace_support.ace_constant {
.img_special:hover .hover_img_special {
     color: rgb(23,202,33)
     display: inline
}
}


.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {
.img_special:hover .img_spec {
     color: rgb(182,187,236)
     display: none
}
}


.ace-tm .ace_string {
.ace-tm .ace_gutter {
     color: rgb(6,142,13)
    background: #212126;
     color: #333
}
}


.ace-tm .ace_comment {
.ace-tm .ace_print-margin {
     color: rgb(103,193,150)
     width: 1px;
    background-color: #1b1b1f
}
}


.ace-tm .ace_constant.ace_numeric {
.ace-tm {
     color: rgb(153,153,255)
     background-color: #1b1b1f;
    color: lightgrey
}
}


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


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


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


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


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


.codeEditor-status {
.ace-tm .ace_support.ace_constant {
     clear: both;
     color: rgb(23,202,33)
    width: 100%;
    background-color: #212126;
    border-top: 1px solid #40404b;
    display: table
}
}


.codeEditor-status-message {
.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {
     border-left: 1px solid #40404b;
     color: rgb(182,187,236)
    border-right: 1px solid #40404b;
    padding: 0 0.3em;
    width: 100%;
    display: table-cell
}
}


.ace_search {
.ace-tm .ace_string {
     background-color: #212126;
     color: rgb(6,142,13)
    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 {
.ace-tm .ace_comment {
     outline: 1px solid #922626
     color: rgb(103,193,150)
}
}


.ace_search_field {
.ace-tm .ace_constant.ace_numeric {
     border-radius: 3px 0 0 3px;
     color: rgb(153,153,255)
    background-color: #27272e;
}
    color: #d3d3d3;
 
    border: 1px solid #383843;
.ace-tm .ace_marker-layer .ace_selection {
    border-right: 0 none;
     background: rgb(28,45,68)
    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 {
.ace-tm .ace_marker-layer .ace_bracket {
     border: 1px solid #383843;
     margin: -1px 0 0 -1px;
    line-height: inherit;
     border: 1px solid rgb(94,94,94)
    display: inline-block;
}
    padding: 0 6px;
 
    background: #27272e;
.ace-tm .ace_marker-layer .ace_active-line {
    border-right: 0 none;
     background: rgb(153,153,183,7%)
     border-left: 1px solid #383843;
    cursor: pointer;
    margin: 0;
    position: relative;
     color: #d3d3d3
}
}


.ace_searchbtn:last-child {
.ace-tm .ace_gutter-active-line {
     border-radius: 0 3px 3px 0;
     background-color: rgb(44,44,51)
    border-right: 1px solid #383843
}
}


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


.ace_searchbtn.prev:after {
.codeEditor-status {
     content: "";
     clear: both;
    border: solid 2px #d3d3d3;
     width: 100%;
     width: 0.5em;
     background-color: #212126;
     height: 0.5em;
     border-top: 1px solid #40404b;
     border-width: 2px 0 0 2px;
     display: table
     display: inline-block;
    transform: rotate(-45deg)
}
}


.ace_searchbtn.next:after {
.codeEditor-status-message {
     content: "";
     border-left: 1px solid #40404b;
     border: solid 2px #d3d3d3;
     border-right: 1px solid #40404b;
     width: 0.5em;
     padding: 0 0.3em;
    height: 0.5em;
     width: 100%;
     border-width: 2px 0 0 2px;
     display: table-cell
     display: inline-block;
    transform: rotate(135deg)
}
}


.ace_button {
.ace_search {
     margin-left: 2px;
     background-color: #212126;
     cursor: pointer;
     color: #d3d3d3;
     -webkit-user-select: none;
     border: 1px solid #383843;
    -moz-user-select: none;
     border-top: 0 none;
    -o-user-select: none;
    -ms-user-select: none;
     user-select: none;
     overflow: hidden;
     overflow: hidden;
     opacity: 0.7;
     margin: 0;
     border: 1px solid rgb(56,56,68);
     padding: 4px 6px 0 4px;
     padding: 1px;
     position: absolute;
     box-sizing: border-box!important;
     top: 0;
     color: #d3d3d3;
     z-index: 99;
     background-color: #27272e
     white-space: normal
}
}


.ace_button:hover {
.ace_search_form.ace_nomatch {
     background-color: #1b1b1f;
     outline: 1px solid #922626
    opacity: 1
}
}


.ace_button:active {
.ace_search_field {
     background-color: #101013
    border-radius: 3px 0 0 3px;
     background-color: #27272e;
    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
}
}


::-webkit-scrollbar {
.ace_searchbtn {
     background-color: #424242
     border: 1px solid #383843;
}
    line-height: inherit;
 
    display: inline-block;
::-webkit-scrollbar-thumb {
    padding: 0 6px;
     background-color: #686868;
    background: #27272e;
     border: 2px solid #424242;
     border-right: 0 none;
     border-radius: 4px
     border-left: 1px solid #383843;
    cursor: pointer;
     margin: 0;
    position: relative;
    color: #d3d3d3
}
}


::-webkit-scrollbar-thumb:hover {
.ace_searchbtn:last-child {
     background-color: #7b7b7b
    border-radius: 0 3px 3px 0;
     border-right: 1px solid #383843
}
}


::-webkit-scrollbar-thumb:active {
.ace_searchbtn:hover {
     background-color: #a1a1a1
     background-color: #1b1b1f
}
}


.style-for-sub-numbered-lists ol {
.ace_searchbtn.prev:after {
     counter-reset: item
     content: "";
}
    border: solid 2px #d3d3d3;
 
    width: 0.5em;
.style-for-sub-numbered-lists li {
    height: 0.5em;
     display: block
    border-width: 2px 0 0 2px;
     display: inline-block;
    transform: rotate(-45deg)
}
}


.style-for-sub-numbered-lists li:before {
.ace_searchbtn.next:after {
     content: counters(item,".") ". ";
     content: "";
     counter-increment: item
    border: solid 2px #d3d3d3;
    width: 0.5em;
    height: 0.5em;
    border-width: 2px 0 0 2px;
     display: inline-block;
    transform: rotate(135deg)
}
}


.section {
.ace_button {
     display: flex;
     margin-left: 2px;
     flex-wrap: wrap
    cursor: pointer;
}
     -webkit-user-select: none;
 
    -moz-user-select: none;
.section .col {
    -o-user-select: none;
     flex: 1 1 auto
    -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 {
     background-color: #1b1b1f;
    opacity: 1
}
}


.section .line-break {
.ace_button:active {
     flex-basis: 100%;
     background-color: #101013
    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 {
::-webkit-scrollbar {
     color: #d3d3d3;
     background-color: #424242
    background: #303037;
    border: solid #000000;
    border-width: 1px 1px 0.2em;
    padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02)
}
}


.mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td {
::-webkit-scrollbar-thumb {
     border:none;
    background-color: #686868;
     padding:0.5em;
     border: 2px solid #424242;
     border-radius: 4px
}
}


.mw-datatable th {
::-webkit-scrollbar-thumb:hover {
     background: #212126
     background-color: #7b7b7b
}
}


.mw-datatable td {
::-webkit-scrollbar-thumb:active {
     background-color: #303037
     background-color: #a1a1a1
}
}


.mw-datatable tr:hover td {
.style-for-sub-numbered-lists ol {
     background-color: #3f3f48
     counter-reset: item
}
}


.pretoclip-copy-button {
.style-for-sub-numbered-lists li {
     float: right
     display: block
}
}


.mw-scribunto-console-fieldset {
.style-for-sub-numbered-lists li:before {
     color: #d3d3d3;
     content: counters(item,".") ". ";
     background: none;
     counter-increment: item
    border: 3px solid #27272e
}
}


.mw-scribunto-message {
.section {
     color: #008000;
     display: flex;
     background: none
     flex-wrap: wrap
}
}


#mw-scribunto-input {
.section .col {
     width: 100%;
     flex: 1 1 auto
    border: 0;
    overflow: auto;
    background: #303037
}
}


.mw-scribunto-input {
.section .line-break {
     color: #d3d3d3;
     flex-basis: 100%;
     font: inherit;
     width: 0px;
     font-weight: bold;
     height: 0px;
     margin-top: 0.5em
     overflow: hidden
}
}


.table-flex {
.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 {
     display: flex;
     color: #d3d3d3;
     flex-direction: row;
    background: #303037;
     flex-wrap: wrap;
    border: solid #000000;
     justify-content: space-evenly
     border-width: 1px 1px 0.2em;
     padding: 1.25em 1.75em;
     box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02)
}
}


.boxes-flex {
.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 {
     padding: 0;
     border:none;
     margin: 0;
     padding:0.5em;
    text-align: center
}
}


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


.role-block-radius {
.mw-datatable td {
     border-radius: 8px
     background-color: #303037
}
}


.role-block-name {
.mw-datatable tr:hover td {
     padding: 2px;
     background-color: #3f3f48
    border-radius: .3em;
    margin-bottom: .2em
}
}


.story-text {
.pretoclip-copy-button {
     text-indent: 19px;
     float: right
    text-align: justify
}
}


.story-dialogue {
.mw-scribunto-console-fieldset {
     line-height: 1.2
     color: #d3d3d3;
    background: none;
    border: 3px solid #27272e
}
}


.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
.mw-scribunto-message {
     display: block;
     color: #008000;
    position: relative;
     background: none
     margin: 0px 25%
}
}


.mw-gallery-slideshow .gallerybox.slideshow-current {
#mw-scribunto-input {
     background: #28282e
    width: 100%;
    border: 0;
    overflow: auto;
     background: #303037
}
}


.gallerytext {
.mw-scribunto-input {
     overflow: hidden;
     color: #d3d3d3;
     font-size: 94%;
     font: inherit;
     padding: 2px 4px;
     font-weight: bold;
    word-wrap: break-word;
     margin-top: 0.5em
     text-align: center
}
}


#content .gallerybox div.thumb {
.table-flex {
     background-color: #f8f9fa00
     display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly
}
}


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


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


.title-top-border {
.role-block-radius {
     border-top: solid 2px #c8ccd1
     border-radius: 8px
}
}


@media (min-width: 1340px) {
.role-block-name {
     #mw-content-block {
    padding: 2px;
        display:block
     border-radius: .3em;
    }
    margin-bottom: .2em
}


    #mw-content {
.story-text {
        margin-left: 14em;
    text-indent: 19px;
        padding: 2em 0 0
    text-align: justify
    }
}


    #mw-content-wrapper {
.story-dialogue {
        float: right;
    line-height: 1.2
        margin-left: -14em;
}
        background: transparent;
        width: 100%
    }


    #mw-related-navigation {
.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
        width: 14em;
    display: block;
        padding: 0 1em 0 0
     position: relative;
    }
     margin: 0px 25%
 
    .color-middle {
        margin-right: 0
    }
 
    .mw-wiki-logo {
        display: inline-block
     }
 
     #catlinks {
        margin-left: 14em
    }
}
}


#footer {
.mw-gallery-slideshow .gallerybox.slideshow-current {
     padding-right: 1em
     background: #28282e
}
}


.mw-body h2 {
.gallerytext {
     font-size: 1.8em;
    overflow: hidden;
     border-bottom: solid 2px #3366cc
     font-size: 94%;
     padding: 2px 4px;
    word-wrap: break-word;
    text-align: center
}
}


#mw-site-navigation .sidebar-chunk h3,#mw-related-navigation .sidebar-chunk h3 {
#content .gallerybox div.thumb {
     border-bottom: solid 2px #3366cc
     background-color: #f8f9fa00
}
}


.target {
.mw-body li.gallerybox div.thumb {
     border-bottom: 1px solid darkblue
    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
}
}


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


.backlight:hover {
.title-top-border {
     box-shadow: 0 0 0.3em gold;
     border-top: solid 2px #c8ccd1
    background-color: #1b1b1f
}
}


#main.backlight:hover {
@media (min-width: 1340px) {
     box-shadow: inset 0 0 23em #00000066;
     #mw-content-block {
    border-radius: 8px
        display:block
}
    }
 
    #mw-content {
        margin-left: 14em;
        padding: 2em 0 0
    }


#strongwhite {
    #mw-content-wrapper {
    color: white !important
        float: right;
}
        margin-left: -14em;
/*затемнение для мобилок*/
        background: transparent;
#menus-cover {
        width: 100%
    background: #000000;
    }
    opacity: 0.4
 
}
    #mw-related-navigation {
.oo-ui-tagMultiselectWidget-handle,.oo-ui-panelLayout-padded {
        width: 14em;
    background: #1b1b1f;
        padding: 0 1em 0 0
     border: 1px solid black;
    }
     border-radius: 0
 
    .color-middle {
        margin-right: 0
    }
 
    .mw-wiki-logo {
        display: inline-block
     }
 
     #catlinks {
        margin-left: 14em
    }
}
}
/*Красивые картинки*/
 
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
#footer {
     margin: 0 0 0.5em 0.5em;
     padding-right: 1em
    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;
.mw-body h2 {
     border:1px solid black;
     font-size: 1.8em;
    border-top:0;
     border-bottom: solid 2px #3366cc
    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) {
#mw-site-navigation .sidebar-chunk h3,#mw-related-navigation .sidebar-chunk h3 {
    margin: 5px;
     border-bottom: solid 2px #3366cc
     border-radius: 0.4em;
}
}
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{
 
    border-collapse:separate;
.target {
}
     border-bottom: 1px solid darkblue
.mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{
     border-bottom: 1px solid #3366cc;
}
}


/*кнопка для главного меню*/
.target:target {
.StupidButton {
     border-bottom: 2px solid gold;
     width: 100%;
     transition: border 0.7s cubic-bezier(0.4,0,0.2,1)
     height: 100%;
    position: absolute;
    top: 0;
    left: 0
}
/*Цвета таблиц для разных отделов*/
#MED.wikitable {
    background: #1a3432
}
}


#MED.wikitable>*>tr>th {
.backlight:hover {
     background: #1a3432
    box-shadow: 0 0 0.3em gold;
     background-color: #00000025;
}
}


#MED.wikitable > * > tr > td {
#main.backlight:hover {
     background: #224d49
     box-shadow: inset 0 0 23em #00000066;
    border-radius: 8px
}
}


#ENG.wikitable {
#strongwhite {
     background: #8c6b23;
     color: white !important
    COLOR: #212126
}
}
 
/*затемнение для мобилок*/
#ENG.wikitable>*>tr>th {
#menus-cover {
     background: #8c6b23;
     background: #000000;
     COLOR: #212126
     opacity: 0.4
}
}
 
.oo-ui-tagMultiselectWidget-handle,.oo-ui-panelLayout-padded {
#ENG.wikitable > * > tr > td {
     background: #1b1b1f;
     background: #997934;
    border: 1px solid black;
     color: white
     border-radius: 0
}
}
 
/*Красивые картинки*/
#SEC.wikitable {
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
     background: #404144;
     margin: 0 0 0.5em 0.5em;
     color: white
    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 {
#SEC.wikitable>*>tr>th {
    border-radius: 0 0 0.9em 0.9em;
     background: #9f2828;
    border:1px solid black;
     color: white
    border-top:0;
     background:#1b1b1f;
    padding-bottom:5px;
     font-family:oswald;
    font-size:1em;
}
}


#SEC.wikitable > * > tr > td {
figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) {
     background: #515255;
     margin: 5px;
     color: white
     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{
#SRV.wikitable {
     border-bottom: 1px solid #3366cc;
     background: #316f20;
    COLOR: white
}
}


#SRV.wikitable>*>tr>th {
/*кнопка для главного меню*/
     background: #316f20;
.StupidButton {
     COLOR: white
     width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
     left: 0
}
}


#SRV.wikitable >*> tr > td {
/*Цвета таблиц для разных отделов*/
    background: #40852b;
    color: white
}


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


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


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


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


#SUP.wikitable>*>tr>th {
/* Таблица */
    background: #7A450C;
#ENG.wikitable {
    color: white
background: #775f0e;
border-spacing: 0px;
}
}


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


/*Альтернативные цвета таблиц для разных отделов*/
/* Заглавная ячейка */
#aMED.wikitable {
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
     background: #27272E;
#ENG.wikitable thead + tbody > tr th {
     background: #8f7210;
    border-bottom: 1px solid #775f0e;
}
}


#aMED.wikitable>*>tr>th {
/* Ячейка с содержимым */
     background: #1a3432;
#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;
}
}


#aMED.wikitable > * > tr > td {
#SEC.wikitable {
     background: #32323C;
     background: #404144;
    color: #dddddd;
}
}


#aENG.wikitable {
#SEC.wikitable>*>tr>th {
     background: #27272E;
     background: #9f2828;
     COLOR: #212126
     color: #dddddd;
}
}


#aENG.wikitable>*>tr>th {
#SEC.wikitable > * > tr > td {
     background: #8c6b23;
     background: #515255;
     COLOR: #212126
     color: #dddddd;
}
}


#aENG.wikitable > * > tr > td {
#SRV.wikitable {
     background: #32323C;
     background: #316f20;
     color: white
     color: #dddddd;
}
}


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


#aSEC.wikitable>*>tr>th {
#SRV.wikitable >*> tr > td {
     background: #9f2828;
     background: #40852b;
     color: white
     color: #dddddd;
}
}


#aSEC.wikitable > * > tr > td {
/* Таблица */
    background: #32323C;
#RND.wikitable {
    color: white
background: #630069;
border-spacing: 0px;
}
}


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


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


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


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


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


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


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


#aSUP.wikitable>*>tr>th {
 
     background: #7A450C;
/*Альтернативные цвета таблиц для разных отделов*/
     color: white
#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 3px rgba(0, 0, 0, 0.2);
}
}


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


/*таблицы*/
#aENG.wikitable thead tr th,
@media screen and (max-width: 850px) {
#aENG.wikitable:not(:has(thead)) tr:first-of-type th {
    .wikitable {
    position: relative;
        font-size:0.65em;
    background-color: #715609;
        padding:5px !important;
     border-bottom: 0.2em solid #00000059;
    }
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
        .wikitable:not(.freeimg)>*>*>th:not(.freeimg) img{
        height:auto;
        width:32px;
     }
    .wikitable.mobileimg>*>*>td img{
        height:auto;
        width:32px;
    }
}
}
/* Старые таблицы
 
.wikitable {
#aENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
     background: #303037;
#aENG.wikitable thead + tbody > tr th {
     border: 1px solid #37373e;
     background: #957710;
     color: white
     border-bottom: 0.1em solid #00000059;
     border-left: 0.2em solid #00000059;
}
}


.wikitable>tr>th,.wikitable>tr>td,.wikitable>*>tr>th,.wikitable>*>tr>td {
#aRND.wikitable thead tr th,
     border: 1px solid black
#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 3px rgba(0, 0, 0, 0.2);
}
}


.wikitable>*>tr>th {
#aRND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
     background: #27272e;
#aRND.wikitable thead + tbody > tr th {
     border: 1px solid black;
    background: #78027f;
     color: white
    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 3px rgba(0, 0, 0, 0.2);
}
 
#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 {
.wikitable {
     background: #27272E;
     border-spacing: 1px;
     color: #dddddd;
     padding: 12px;
    border-collapse: separate;
    border: 1px solid black;
    border-radius: 15px;
    background: #27272e
}
}


.wikitable>*>tr>*{
#aSEC.wikitable>*>tr>th {
     padding:0.4em !important;
     background: #9f2828;
    margin:0 !important;
     color: #dddddd;
     border: none !important;
}
}


.wikitable>*>tr>td {
#aSEC.wikitable > * > tr > td {
     background: #32323c;
     background: #32323C;
    color: #dddddd;
}
}
/* Неразрывные пробелы в горизонтальных списках
 
  @источник: https://ru.wikipedia.org/wiki/MediaWiki:Common.css
/* Таблица */
  @Распорстраняется под CC BY-SA 4.0
#aSRV.wikitable {
  @автор: [[Участник:WindEwriX]]*/
background: #216321;
.nowrap,
border-spacing: 0px;
.nowraplinks a,
}
.nowraplinks .selflink,
 
.hlist-items-nowrap dd,
/* Заголовок */
.hlist-items-nowrap dt,
#aSRV.wikitable thead tr th,
.hlist-items-nowrap li {
#aSRV.wikitable:not(:has(thead)) tr:first-of-type th {
white-space: nowrap;
    position: relative;
    background-color: #216321;
    border-bottom: 0.2em solid #00000021;
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/


/* Style for horizontal lists (separator following item).
/* Заглавная ячейка */
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
  @revision 9 (2016-08-10)
#aSRV.wikitable thead + tbody > tr th {
  @Распорстраняется под CC BY-SA 4.0
    background: #297929;
  @author [[User:Edokter]]
    border-bottom: 1px solid #216321;
*/
.hlist dl,
.hlist.hlist ol,
.hlist.hlist ul {
margin: 0;
padding: 0;
}
}
/* Display list items inline */
 
.hlist dd,
/* Ячейка с содержимым */
.hlist dt,
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
.hlist li {
#aSRV.wikitable thead + tbody > tr td {
margin: 0;
    background: #3f833f;
display: inline;
    border-bottom: 1px solid #216321;
    border-left: 1px solid #297929;
}   
 
/* Таблица */
#BOTANY.wikitable {
background: #0d3f28;
}
}
/* Display nested lists inline */
 
.hlist.inline,
/* Заголовок */
.hlist.inline dl,
#BOTANY.wikitable thead tr th,
.hlist.inline ol,
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th {
.hlist.inline ul,
    position: relative;
.hlist dl dl, .hlist dl ol, .hlist dl ul,
    background-color: #04673e !important;
.hlist ol dl, .hlist ol ol, .hlist ol ul,
    border-bottom: 0.2em solid #00000021;
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
}
/* Hide empty list items */
 
.hlist .mw-empty-li,
/* Заглавные ячейки */
.hlist .mw-empty-elt {
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
display: none;
#BOTANY.wikitable thead + tbody > tr th {
    background: #0d7b39;
}
}
/* Generate bullets */
 
.hlist dt:after {
/* Первая заглавная ячейка */
content: ": ";
#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;
}
}
.hlist dd:after,
 
.hlist li:after {
/* Ячейка с содержимым */
content: "\00a0· ";
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
font-weight: bold;
#BOTANY.wikitable thead + tbody > tr td {
    background: #2a834e;
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
/* Таблица */
.hlist li:last-child:after {
#MUTATION.wikitable {
content: none;
background: #220f3b;
}
}
/* 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,
#MUTATION.wikitable thead tr th,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th {
content: " (";
    position: relative;
font-weight: normal;
    background-color: #330b65 !important;
    border-bottom: 0.2em solid #00000021;
}
}
.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 {
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
content: ")";
#MUTATION.wikitable thead + tbody > tr th {
font-weight: normal;
    background: #3a1769;
}
}
/* Put ordinals in front of ordered list items */
 
.hlist ol {
/* Первая заглавная ячейка */
counter-reset: listitem;
#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;
}
}
.hlist ol > li {
 
counter-increment: listitem;
/* Ячейка с содержимым */
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#MUTATION.wikitable thead + tbody > tr td {
    background: #422371;
}
}
.hlist ol > li:before {
 
content: " " counter(listitem) "\a0";
/* Неразрывные пробелы в горизонтальных списках
}
  @источник: https://ru.wikipedia.org/wiki/MediaWiki:Common.css
.hlist dd ol > li:first-child:before,
  @Распорстраняется под CC BY-SA 4.0
.hlist dt ol > li:first-child:before,
  @автор: [[Участник:WindEwriX]]*/
.hlist li ol > li:first-child:before {
.nowrap,
content: " (" counter(listitem) "\a0";
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
white-space: nowrap;
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/
/* Прекращение действия лицензии CC BY-SA 4.0*/


/* Псевдо-модальное окно */
/* Style for horizontal lists (separator following item).
.pseudomodal--caller {
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
  cursor:pointer;
  @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 */
.pseudomodal {
.hlist.inline,
    overflow-y: auto;
.hlist.inline dl,
    display: flex;
.hlist.inline ol,
    flex-direction: column;
.hlist.inline ul,
    visibility: hidden;
.hlist dl dl, .hlist dl ol, .hlist dl ul,
    opacity: 0;
.hlist ol dl, .hlist ol ol, .hlist ol ul,
    background-color: #212126;
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    width: 60%;
display: inline;
    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);
}
}
 
/* Hide empty list items */
.pseudomodal--caller:focus-within + .pseudomodal {
.hlist .mw-empty-li,
  visibility: visible;
.hlist .mw-empty-elt {
  opacity: 1;
display: none;
}
}
 
/* Generate bullets */
.pseudomodal:hover {
.hlist dt:after {
  visibility: visible;
content: ": ";
  opacity: 1;
}
}
 
.hlist dd:after,
.pseudomodal--header {
.hlist li:after {
  text-align: center;
content: "\00a0· ";
  font-size: 1.1em;
font-weight: bold;
  position: relative;
}
}
 
.hlist dd:last-child:after,
.pseudomodal--header-hr{
.hlist dt:last-child:after,
  margin: 20px 0;
.hlist li:last-child:after {
  padding: 0;
content: none;
  height: 0;
  border: none;
  border-top: 1px solid darkgray;
}
}
 
/* Add parentheses around nested lists */
.pseudomodal--body{
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
  height: 100%;
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
  position: relative;
.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,
.pseudomodal::-webkit-scrollbar {
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
  width: 0.15rem;
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
  background-color:transparent;
content: ")";
font-weight: normal;
}
}
 
/* Put ordinals in front of ordered list items */
.pseudomodal::-webkit-scrollbar-track {
.hlist ol {
  margin:1em;
counter-reset: listitem;
  background: transparent;
}
}
 
.hlist ol > li {
.pseudomodal::-webkit-scrollbar-thumb {
counter-increment: listitem;
  background-color: transparent;
}
  border: solid #373737;
.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*/


/* Key press */
/* Псевдо-модальное окно */
.keyboard-key {
.pseudomodal--caller {
    border: 1px solid #555555;
  cursor:pointer;
    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) {
.pseudomodal {
.flex--row-column {
    overflow-y: auto;
flex-direction:column; width: 50%; margin: 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 3px rgba(0, 0, 0, 0.2);
}
 
/* Стили для последующих строк в таблицах без 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: #323245;
    border-bottom: 0.2em solid #0000002b;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
 
#highlighted-header-classic.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-classic.wikitable thead + tbody > tr th {
    background: #3d3d51;
    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 3px rgba(0, 0, 0, 0.2);
}
 
#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 3px rgba(0, 0, 0, 0.2);
}
 
#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 3px rgba(0, 0, 0, 0.2);
}
 
#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 3px rgba(0, 0, 0, 0.2);
}
 
#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;
}
}


/* Классы для форума "Справочник сталкера" проекта S.T.A.L.K.E.R. и для вики-плашек*/
/* Заголовок */
 
#VIOLET.wikitable thead tr th,
.forumMessage, .wikiMessage {
#VIOLET.wikitable:not(:has(thead)) tr:first-of-type th {
background: #1b1b1f;
    position: relative;
}
    background-color: #391b5d;
 
    border-bottom: 0.2em solid #00000021;
.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;
#VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
width: 140px;
#VIOLET.wikitable thead + tbody > tr th {
position: relative;
    background: #44206f;
    border-bottom: 1px solid #391b5d;
}
}


.forumAvatarHolder, .wikiIMGHolder {
/* Ячейка с содержимым */
padding: 10px;
#VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
text-align: center;
#VIOLET.wikitable thead + tbody > tr td {
position:relative;
    background: #4a2b6f;
    border-bottom: 1px solid #391b5d;
}
}


.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;
#YELLOW.wikitable {
text-align: center;
background: #405d1b;
padding: 5px;
border-spacing: 0px;
color: black;
border-color: silver;
height: 16px;
width: 105px;
display: block;
margin-bottom: 5px
}
}


.forumAdmin {
/* Заголовок */
background: silver
#YELLOW.wikitable thead tr th,
}
#YELLOW.wikitable:not(:has(thead)) tr:first-of-type th {
/* CodeMirror */
.CodeMirror {
     position: relative;
     position: relative;
    overflow: hidden;
     background-color: #405d1b;
    background: #1b1b1f;
     border-bottom: 0.2em solid #00000021;
    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;
#YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
  background-image:none !important;
#YELLOW.wikitable thead + tbody > tr th {
    background: #4c6d20;
    border-bottom: 1px solid #405d1b;
}
}


.mw-mmv-image>*, .fullImageLink>*>* {
/* Ячейка с содержимым */
image-rendering: auto !important;
#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;
.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>*{
@media (max-width: 800px) {
    padding:0.4em;
    .grid-adaptive {
    background:transparent;
        grid-template-columns: 1fr !important;
          border:none !important;
     }
     }
   
.headerSort::after {
content: "◭";
}
   
.headerSort.headerSortUp::after {
    content: "▲";
}
.headerSort.headerSortDown::after {
    content: "▼";
}
.headerSort {
background-size: 0 0 !important;
}
}

Текущая версия от 19:44, 28 октября 2024

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

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

/* ШРИФТЫ */
@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 {
    background-color: #303037;
    border-color: #303037;
    color: lightgrey;
}

pre {
    overflow: auto;
    white-space: pre-wrap;
    color: lightgrey;
    background-color: #303037;
    border-color: #303037;
}

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

small {
    font-size: 85%
}

img {
    image-rendering: pixelated;
}

.noSprite>*>* {
	image-rendering: auto !important;
}

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

.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 #37373e
}

.thumbinner .thumbimage,.thumbborder {
    border: solid 1px #37373e
}

#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: #77c1d9
}

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

body.skin--responsive #p-cactions li a {
    background: #27272e
}

.mw-prefs-buttons {
    background: #27272e
}

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

.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: #27272e
}

.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: #27272e;
    border: 1px solid #37373e;
    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: #27272e;
    border: 1px solid black;
    color: lightgrey
}

body.skin--responsive #p-cactions li.selected {
    border: #37373e
}

.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: 12px;
    border-collapse: separate;
    border: 1px solid black;
    border-radius: 1em;
    background: #27272e;
    color: #dbdbdb;
}

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

.wikitable>*>tr>th {
    background: #27272e;
    color: white;
}

.wikitable>*>tr>td {
    background: #32323c;
}

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

/* Закругление верхнего левого угла первой ячейки */
.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;
}*/

/* Старые таблицы
.wikitable {
    background: #303037;
    border: 1px solid #37373e;
    color: white
}

.wikitable>tr>th,.wikitable>tr>td,.wikitable>*>tr>th,.wikitable>*>tr>td {
    border: 1px solid black
}

.wikitable>*>tr>th {
    background: #27272e;
    border: 1px solid black;
    color: white
}
*/

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

.toc {
    background: #27272E;
    border: 1px solid black;
    color: white
}

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

.quickbox {
    border: 1px solid #303038;
    background: #27272e
}

.quickboxhead {
    border-bottom: 1px solid #303038;
    background: #1b1b1f;
    text-align: center
}

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

.mw-changeslist-legend {
    display: none
}

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

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

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

.wikiEditor-ui-toolbar {
    background: #27272e;
    color: white
}

.wikiEditor-ui-toolbar .group {
    border: 1px solid #37373e;
    color: white
}

.wikiEditor-ui-toolbar .group .label {
    color: white
}

.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 #37373e
}

.wikiEditor-ui .wikiEditor-ui-view {
    border: 1px solid #37373e
}

.editOptions,.mw-editform .editOptions {
    background: #212126;
    border: 1px solid #37373e;
    color: white
}

@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 !important;
    border: 1px solid black
}

.tabs-tabbox > .tabs-input:checked + .tabs-label,.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
    z-index: 2;
    box-shadow: 0px 2px 1px #3366cc
}

.tabs-tabbox > .tabs-input+ .tabs-input+ .tabs-label {
    margin: 0
}

.tabs-label:hover {
    box-shadow: 0px 2px 1px darkblue;
    z-index: 2
}

.tabs-tabbox > .tabs-container {
    margin-top: -1px;
    padding: 2px 10px;
    background: #303037;
    border-radius: 0;
    position: relative;
    border: 1px solid #000000;
    width: inherit;
    max-width: inherit;
    min-width: inherit;
    z-index: 1
}

.tabs-tabbox > .tabs-label {
    margin: 0;
    background: transparent;
    position: relative;
    display: inline-block;
    vertical-align: baseline;
    border-radius: 0
}

.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: #27272E;
    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: #27272e;
        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: #27272E00 !important;
    border-color: black !important
}

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

.mw-halign-right figcaption {
    background-color: #27272E00 !important;
    border-color: black !important
}

.mw-halign-left {
    background-color: #27272E00 !important;
    border-color: black !important
}

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

.mw-halign-left figcaption {
    background-color: #27272E00 !important;
    border-color: black !important
}

.mw-halign-center {
    background-color: #27272E00 !important;
    border-color: black !important
}

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

.mw-halign-center figcaption {
    background-color: #27272E00 !important;
    border-color: black !important
}

.reference {
    background-color: #27272E00;
}

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

.oo-ui-inputWidget-input {
    background-color: #27272e !important;
    border: #37373e !important;
    color: #ffffff !important
}

.mw-search-profile-tabs {
    background-color: #27272e !important;
    border: #37373e !important
}

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

#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt {
    width: 100% !important;
    background-color: #27272e !important;
    color: #e0e0e0 !important
}

.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
    box-sizing: border-box !important;
    background-color: #27272e !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: #27272e !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: #27272e !important;
    font-weight: normal !important;
    color: #e0e0e0 !important
}

.ui-state-hover,.ui-widget-contetn .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus {
    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: #27272e !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: #27272e;
    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: #27272e;
    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: #27272e
}

.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 .mw-search-profile-tabs,.mw-body fieldset#mw-searchoptions,.mw_metadata,.mw-datatable {
    color: #d3d3d3;
    background: #303037;
    border: solid #000000;
    border-width: 1px 1px 0.2em;
    padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02)
}

.mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td {
    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 #27272e
}

.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-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 {
    color: white !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
}

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

/* Таблица */
#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: 4px 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: 4px 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: #9f2828;
    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: 4px 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: 4px 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 3px rgba(0, 0, 0, 0.2);
}

#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 3px rgba(0, 0, 0, 0.2);
}

#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 3px rgba(0, 0, 0, 0.2);
}

#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 3px rgba(0, 0, 0, 0.2);
}

#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: #27272E;
    color: #dddddd;
}

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

#aSEC.wikitable > * > tr > td {
    background: #32323C;
    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 3px rgba(0, 0, 0, 0.2);
}

/* Стили для последующих строк в таблицах без 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: #323245;
    border-bottom: 0.2em solid #0000002b;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

#highlighted-header-classic.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-classic.wikitable thead + tbody > tr th {
    background: #3d3d51;
    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 3px rgba(0, 0, 0, 0.2);
}

#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 3px rgba(0, 0, 0, 0.2);
}

#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 3px rgba(0, 0, 0, 0.2);
}

#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 3px rgba(0, 0, 0, 0.2);
}

#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;
    }
}