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

Страница интерфейса MediaWiki
Нет описания правки
(Отмена правки 16704, сделанной Dantes (обсуждение))
Метка: отмена
 
Строка 1: Строка 1:
.client-js .mw-collapsible-toggle-li,
/*=Блок лора=*/
.client-js ol.mw-collapsible:before,
/*Хронолония */
.client-js ul.mw-collapsible:before {
display: list-item;
list-style: none;
margin-bottom: .1em
}
 
.client-js ol.mw-made-collapsible:before,
.client-js ul.mw-made-collapsible:before {
display: none
}
 
.client-js div.mw-collapsible:not(.mw-made-collapsible):before,
.client-js ol.mw-collapsible:not(.mw-made-collapsible):before,
.client-js table.mw-collapsible:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before,
.client-js table.mw-collapsible:not(.mw-made-collapsible)>caption:first-child:after,
.client-js ul.mw-collapsible:not(.mw-made-collapsible):before {
content: '[свернуть]'
}
 
.client-js div.mw-collapsed:not(.mw-made-collapsible):before,
.client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before,
.client-js table.mw-collapsed:not(.mw-made-collapsible)>caption:first-child:after,
.client-js td.mw-collapsed:not(.mw-made-collapsible):before {
content: '[развернуть]'
}
 
.client-js .mw-collapsible[id^=mw-customcollapsible] th:before,
.client-js .mw-collapsible[id^=mw-customcollapsible]:before {
content: none !important
}
 
.client-js table.mw-collapsible:not(.mw-made-collapsible)>caption:first-child:after {
float: none;
display: block
}
 
.client-js .mw-collapsed:not(.mw-made-collapsible) .mw-collapsible-content,
.client-js .mw-collapsed:not(.mw-made-collapsible) tr:not(:first-child),
.client-js .mw-collapsed:not(.mw-made-collapsible)>p,
.client-js .mw-collapsed:not(.mw-made-collapsible)>table {
display: none
}
 
.mw-collapsible-toggle,
.mw-collapsible:not(.mw-made-collapsible) th:before,
.mw-collapsible:not(.mw-made-collapsible):before {
float: right
}
 
.mw-content-ltr .mw-collapsible-toggle,
.mw-content-ltr .mw-collapsible:not(.mw-made-collapsible) th:before,
.mw-content-ltr .mw-collapsible:not(.mw-made-collapsible):before {
float: right
}
 
.mw-content-ltr li .mw-collapsible-toggle,
li .mw-collapsible-toggle {
float: none
}
 
ol.mw-collapsible:not(.mw-made-collapsible):before,
ul.mw-collapsible:not(.mw-made-collapsible):before {
float: none !important
}
 
#mw-clearyourcache {
direction: ltr;
unicode-bidi: embed
}
 
.action-info .mw-page-info tr:target {
background-color: rgba(0, 127, 255, .133)
}
 
.citizen-toc__top:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 xml:space=%22preserve%22 style=%22enable-background:new 0 0 20 20%22 viewBox=%220 0 20 20%22%3E%3Cg fill=%22%23000%22%3E %3Cpath d=%22M1 3h18V1H1v2zm4 8h4v8h2v-8h4l-5-6-5 6z%22/%3E %3C/g%3E%3C/svg%3E")
}
 
@media (prefers-reduced-motion:reduce) {
 
*,
::after,
::before {
animation-delay: 0s !important;
animation-duration: 0s !important;
animation-iteration-count: 1 !important;
scroll-behavior: auto !important;
transition-duration: 0s !important
}
}
 
body {
margin: 0
}
 
main {
display: block
}
 
@supports (text-decoration:underline dotted) {
abbr[title] {
border-bottom: 0;
text-decoration: underline dotted
}
}
 
code,
pre {
font-family: monospace, monospace
}
 
img {
border: 0
}
 
button,
input,
select {
margin: 0
}
 
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
border-style: none;
padding: 0
}
 
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 100 1000;
src: url(https://spacestories.club/skins/Citizen/resources/skins.citizen.styles/fonts/RobotoFlex_cyrillic-ext.woff2?605e6) format('woff2-variations');
font-display: swap;
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F
}
 
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 100 1000;
src: url(https://spacestories.club/skins/Citizen/resources/skins.citizen.styles/fonts/RobotoFlex_cyrillic.woff2?977ae) format('woff2-variations');
font-display: swap;
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116
}
 
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 100 1000;
src: url(https://spacestories.club/skins/Citizen/resources/skins.citizen.styles/fonts/RobotoFlex_greek.woff2?832fb) format('woff2-variations');
font-display: swap;
unicode-range: U+0370-03FF
}
 
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 100 1000;
src: url(https://spacestories.club/skins/Citizen/resources/skins.citizen.styles/fonts/RobotoFlex_vietnamese.woff2?6c86b) format('woff2-variations');
font-display: swap;
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB
}
 
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 100 1000;
src: url(https://spacestories.club/skins/Citizen/resources/skins.citizen.styles/fonts/RobotoFlex_latin-ext.woff2?a00db) format('woff2-variations');
font-display: swap;
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF
}
 
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 100 1000;
src: url(https://spacestories.club/skins/Citizen/resources/skins.citizen.styles/fonts/RobotoFlex_latin.woff2?9db65) format('woff2-variations');
font-display: swap;
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}
 
:root {
--background-color-icon: rgba(0, 0, 0, 0.6);
--background-color-icon--hover: rgba(0, 0, 0, 0.8);
--background-color-icon--active: #000000;
--background-color-quiet--hover: rgba(0, 0, 0, 0.07000000000000001);
--background-color-quiet--active: rgba(0, 0, 0, 0.09);
--color-destructive: #dd3333;
--color-destructive--hover: #e35b5b;
--color-destructive--active: #b32424;
--color-warning: #ffcc33;
--color-success: #00af89;
--color-text-error: #dd3333;
--color-text-warning: #ac6600;
--color-text-success: #14866d;
--color-link-new: #dd3333;
--color-link-new--hover: #e35b5b;
--color-link-new--active: #b32424;
--color-syntax-red: #e53935;
--color-syntax-orange: #f76d47;
--color-syntax-yellow: #e2931d;
--color-syntax-green: #91b859;
--color-syntax-cyan: #39adb5;
--color-syntax-blue: #6182b8;
--color-syntax-paleblue: #8796b0;
--color-syntax-purple: #9c3eda;
--color-syntax-brown: #916b53;
--color-syntax-pink: #ff5370;
--color-syntax-violet: #945eb8;
--color-syntax-grey: #90a4ae;
--opacity-base--disabled: 0.3;
--opacity-icon-base: 0.6;
--opacity-icon-base--hover: 0.8;
--opacity-icon-base--active: 1;
--size-icon: 1.25rem;
--border-color-base: rgba(0, 0, 0, 0.05);
--border-color-base--lighter: rgba(0, 0, 0, 0.02);
--border-color-base--darker: rgba(0, 0, 0, 0.08);
--border-color-input: rgba(0, 0, 0, 0.05);
--border-color-input--hover: rgba(0, 0, 0, 0.4);
--border-radius--small: 4px;
--border-radius--medium: 8px;
--border-radius--large: 12px;
--border-radius--pill: 9999px;
--font-family-base: var(--font-family-citizen-base), var(--font-family-language-base), system-ui, -apple-system, sans-serif;
--font-family-serif: var(--font-family-citizen-serif), var(--font-family-language-serif), 'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif;
--font-family-monospace: var(--font-family-citizen-monospace), var(--font-family-language-monospace), 'Menlo', 'Consolas', 'Liberation Mono', 'Fira Code', 'Courier New', monospace;
--font-family-citizen-base: 'Roboto';
--font-family-citizen-serif: 'Roboto Serif';
--font-family-citizen-monospace: 'Roboto Mono';
--font-family-language-base: '';
--font-family-language-serif: '';
--font-family-language-monospace: '';
--font-size-x-small: 0.75rem;
--font-size-small: 0.875rem;
--font-size-medium: 1rem;
--font-size-large: 1rem;
--font-size-x-large: 1.125rem;
--font-size-xx-large: 1.375rem;
--font-size-xxx-large: 1.75rem;
--font-weight-normal: 400;
--font-weight-medium: calc(var(--font-weight-normal) + 100);
--font-weight-semibold: calc(var(--font-weight-normal) + 200);
--font-weight-bold: calc(var(--font-weight-normal) + 300);
--transition-hover: 150ms cubic-bezier(0.215, 0.61, 0.355, 1)
}
 
html {
--header-size: 3.5rem;
--header-card-maxheight: 70vh;
--width-layout: 1080px;
--width-layout--extended: calc(var(--width-layout) * 1.5);
--width-toc: 240px;
--line-height: 1.6;
--line-height-xs: 1.25;
--line-height-sm: 1.375;
--space-unit: 1rem;
--space-xxs: calc(0.25 * var(--space-unit));
--space-xs: calc(0.5 * var(--space-unit));
--space-sm: calc(0.75 * var(--space-unit));
--space-md: var(--space-unit);
--space-lg: calc(1.25 * var(--space-unit));
--space-xl: calc(1.5 * var(--space-unit));
--space-xxl: calc(2 * var(--space-unit));
--margin-layout: calc((100vw - var(--width-layout)) / 2);
--padding-page: 16px
}
 
:root.skin-citizen-dark {
--background-color-icon: rgba(255, 255, 255, 0.6);
--background-color-icon--hover: rgba(255, 255, 255, 0.8);
--background-color-icon--active: rgba(255, 255, 255, 0.4);
--background-color-quiet--hover: rgba(255, 255, 255, 0.07000000000000001);
--background-color-quiet--active: rgba(255, 255, 255, 0.03);
--color-text-error: #e35b5b;
--color-text-warning: #ffcc33;
--color-text-success: #00af89;
--color-link-new: #e35b5b;
--color-link-new--hover: #fee7e6;
--color-link-new--active: #b32424;
--color-syntax-red: #f07178;
--color-syntax-orange: #f78c6c;
--color-syntax-yellow: #ffcb6b;
--color-syntax-green: #c3e88d;
--color-syntax-cyan: #89ddff;
--color-syntax-blue: #82aaff;
--color-syntax-paleblue: #b2ccd6;
--color-syntax-purple: #c792ea;
--color-syntax-brown: #916b53;
--color-syntax-pink: #ff9cac;
--color-syntax-violet: #bb80b3;
--opacity-icon-base--active: 0.4;
--border-color-base: rgba(255, 255, 255, 0.05);
--border-color-base--lighter: rgba(255, 255, 255, 0.02);
--border-color-base--darker: rgba(255, 255, 255, 0.08);
--border-color-input: rgba(255, 255, 255, 0.05);
--border-color-input--hover: rgba(255, 255, 255, 0.5)
}
 
@media (min-width:640px) {
:root {
--font-size-x-small: 0.8125rem;
--font-size-large: 1.125rem;
--font-size-x-large: 1.25rem;
--font-size-xx-large: 1.5rem;
--font-size-xxx-large: 2rem
}
 
html {
--padding-page: 24px
}
}
 
@media (min-width:1120px) {
html {
--padding-page: 32px;
--header-card-maxheight: calc(100vh - var(--space-sm) * 2)
}
}
 
@media (prefers-contrast:more) {
:root {
--font-weight-normal: 500
}
}
 
@media (prefers-contrast:less) {
:root {
--font-weight-normal: 300
}
}
 
html {
font-size: 100%
}
 
body,
html {
font-family: var(--font-family-base);
font-variation-settings: 'GRAD' var(--font-grade);
font-weight: var(--font-weight-normal)
}
 
input {
font-family: var(--font-family-base)
}
 
b,
strong {
font-weight: var(--font-weight-semibold)
}
 
.mw-logo-wordmark {
font-weight: var(--font-weight-semibold)
}
 
.citizen-body,
.mw-body-content {
line-height: var(--line-height)
}
 
a {
color: var(--color-link);
text-decoration: none
}
 
a:not([href]) {
cursor: pointer
}
 
a:hover {
color: var(--color-link--hover)
}
 
a:active {
color: var(--color-link--active)
}
 
a:focus,
a:hover {
text-decoration: underline
}
 
a:lang(ar),
a:lang(kk-arab),
a:lang(mzn),
a:lang(ps),
a:lang(ur) {
text-decoration: none
}
 
img {
vertical-align: middle
}
 
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
margin-bottom: .25em;
font-weight: var(--font-weight-semibold);
line-height: var(--line-height-xs);
color: var(--color-base--emphasized)
}
 
h1,
h2 {
margin-top: 2em
}
 
h3,
h4 {
margin-top: 1.5em
}
 
h5,
h6 {
margin-top: 1.25em
}
 
h1 {
font-size: var(--font-size-xxx-large)
}
 
h2 {
font-size: var(--font-size-xx-large)
}
 
h3 {
font-size: var(--font-size-x-large)
}
 
h4 {
font-size: var(--font-size-large)
}
 
h5 {
font-size: var(--font-size-medium)
}
 
h6 {
font-size: var(--font-size-medium)
}
 
p {
margin: var(--space-md) 0;
overflow-wrap: break-word
}
 
p img {
margin: 0
}
 
ul {
padding: 0;
margin: var(--space-md) 0 var(--space-md) var(--space-lg)
}
 
ol {
padding: 0;
margin: var(--space-md) 0 var(--space-md) var(--space-lg)
}
 
dl {
margin: var(--space-md) 0
}
 
.mw-code,
code,
pre {
font-family: var(--font-family-monospace);
font-size: var(--font-size-small)
}
 
.mw-code,
code,
pre {
color: var(--color-base--emphasized);
background-color: var(--color-surface-2);
border: 1px solid var(--border-color-base)
}
 
code {
padding: 2px 4px;
border-radius: var(--border-radius--small)
}
 
.mw-code,
pre {
padding: 1rem;
overflow: auto;
border-radius: var(--border-radius--large)
}
 
figure {
margin: 0
}
 
.center {
width: 100%;
text-align: center
}
 
.center * {
margin-right: auto;
margin-left: auto
}
 
figure[typeof~='mw:File'].mw-halign-none,
figure[typeof~='mw:File/Frame'].mw-halign-none,
figure[typeof~='mw:File/Frameless'].mw-halign-none,
figure[typeof~='mw:File/Thumb'].mw-halign-none {
float: none;
clear: none
}
 
figure[typeof~='mw:File'].mw-halign-center,
figure[typeof~='mw:File/Frame'].mw-halign-center,
figure[typeof~='mw:File/Frameless'].mw-halign-center,
figure[typeof~='mw:File/Thumb'].mw-halign-center {
margin-right: auto;
margin-left: auto
}
 
figure[typeof~='mw:File']>figcaption,
figure[typeof~='mw:File/Frameless']>figcaption {
display: none
}
 
figure[typeof~='mw:File/Frame'],
figure[typeof~='mw:File/Thumb'] {
display: table;
margin: var(--space-xs) auto var(--space-md) auto;
font-size: var(--font-size-x-small);
text-align: center
}
 
figure[typeof~='mw:File/Frame']>figcaption,
figure[typeof~='mw:File/Thumb']>figcaption {
display: table-caption;
padding-right: var(--border-radius--small);
padding-left: var(--border-radius--small);
margin-top: var(--space-xs);
color: var(--color-base--subtle);
letter-spacing: .025em;
caption-side: bottom
}
 
@media (min-width:640px) {
 
figure[typeof~='mw:File/Frame']>figcaption,
figure[typeof~='mw:File/Thumb']>figcaption {
text-align: start
}
 
.mw-content-ltr figure[typeof~='mw:File/Frame'],
.mw-content-ltr figure[typeof~='mw:File/Thumb'] {
float: right;
margin-left: var(--space-lg);
clear: right
}
 
figure[typeof~='mw:File'].mw-halign-right,
figure[typeof~='mw:File/Frame'].mw-halign-right,
figure[typeof~='mw:File/Frameless'].mw-halign-right,
figure[typeof~='mw:File/Thumb'].mw-halign-right {
float: right;
margin-left: var(--space-lg);
clear: right
}
 
figure[typeof~='mw:File'].mw-halign-left,
figure[typeof~='mw:File/Frame'].mw-halign-left,
figure[typeof~='mw:File/Frameless'].mw-halign-left,
figure[typeof~='mw:File/Thumb'].mw-halign-left {
float: left;
margin-right: var(--space-lg);
clear: left
}
 
figure[typeof~='mw:File'].mw-halign-center,
figure[typeof~='mw:File/Frame'].mw-halign-center,
figure[typeof~='mw:File/Frameless'].mw-halign-center,
figure[typeof~='mw:File/Thumb'].mw-halign-center {
float: none;
margin-right: auto;
margin-left: auto;
clear: both;
text-align: center
}
}
 
.mw-content-ltr ul {
padding: 0;
margin: var(--space-md) 0 var(--space-md) var(--space-lg)
}
 
.mw-content-ltr ol {
padding: 0;
margin: var(--space-md) 0 var(--space-md) var(--space-lg)
}
 
#contentSub,
#contentSub2,
#siteSub {
font-size: var(--font-size-x-small);
line-height: var(--line-height-xs);
color: var(--color-base--subtle)
}
 
#contentSub,
#contentSub2 {
margin-bottom: var(--space-md)
}
 
#contentSub+#contentSub2 {
margin-top: calc(var(--space-xs) * -1)
}
 
#citizen-tagline-user>span+span::before {
margin: 0 var(--space-xxs);
content: '·';
-webkit-user-select: none;
user-select: none
}
 
.timeline {
.timeline {
width: 100%;
    width: 100%;
margin: 20px 0;
    margin: 20px 0;
background-color: transparent
    background-color: transparent;
}
}


.timeline-entry {
.timeline-entry {
padding: 10px;
    padding: 10px;
border-bottom: 1px solid #555;
    border-bottom: 1px solid #555;
background-color: var(--timeline-entry-bg, #333)
    background-color: var(--timeline-entry-bg, #333);
}
}


.timeline-header {
.timeline-header {
font-size: 18px;
    font-size: 18px;
font-weight: 700;
    font-weight: bold;
color: var(--timeline-header-color, #fff);
    color: var(--timeline-header-color, #fff);
cursor: pointer
    cursor: pointer;
}
}


.timeline-content {
.timeline-content {
padding: 10px;
    padding: 10px;
font-size: 16px;
    font-size: 16px;
color: var(--timeline-content-color, #ddd);
    color: var(--timeline-content-color, #ddd);
background-color: var(--timeline-content-bg, #444);
    background-color: var(--timeline-content-bg, #444);
display: none
    display: none;
}
}


.timeline-entry:nth-child(even) {
.timeline-entry:nth-child(even) {
background-color: var(--timeline-entry-bg-even, #222)
    background-color: var(--timeline-entry-bg-even, #222);
}
}


.timeline-entry:hover {
.timeline-entry:hover {
background-color: var(--timeline-entry-bg-hover, #555)
    background-color: var(--timeline-entry-bg-hover, #555);
}
}


.timeline-entry a {
.timeline-entry a {
color: var(--timeline-link-color, #ff9800);
    color: var(--timeline-link-color, #ff9800);
text-decoration: none
    text-decoration: none;
}
}


.timeline-entry a:hover {
.timeline-entry a:hover {
text-decoration: underline
    text-decoration: underline;
}
}


/*=Таблица планет=*/
.planets-table-wrapper {
.planets-table-wrapper {
width: 100%;
  width: 100%;
overflow-x: auto;
  overflow-x: auto;
margin: 0 auto
  margin: 0 auto;
}
}


.planets-table {
.planets-table {
width: 100%;
  width: 100%;  
max-width: 150%;
  max-width: 150%;  
border-collapse: separate;
  border-collapse: separate;
border-spacing: 0;
  border-spacing: 0;
font-family: "Segoe UI", Arial, sans-serif;
  font-family: "Segoe UI", Arial, sans-serif;
background: linear-gradient(to bottom, #0d1117, #161b22);
  background: linear-gradient(to bottom, #0d1117, #161b22);
border: 1px solid #5a5a5a;
  border: 1px solid #5a5a5a;
border-radius: 12px;
  border-radius: 12px;
color: #b0b0b0;
  color: #b0b0b0;
overflow: hidden
  overflow: hidden;
}
}


.planets-table th {
.planets-table th {
background-color: #3a3a3a;
  background-color: #3a3a3a;
color: #dcdcdc;
  color: #dcdcdc;
text-align: center;
  text-align: center;
padding: 12px;
  padding: 12px;
font-size: 18px;
  font-size: 18px;
font-weight: 700;
  font-weight: bold;
border-bottom: 1px solid #5a5a5a
  border-bottom: 1px solid #5a5a5a;
}
}


.planets-table td {
.planets-table td {
text-align: center;
  text-align: center;
padding: 12px;
  padding: 12px;
font-size: 16px;
  font-size: 16px;
border-top: 1px solid #5a5a5a
  border-top: 1px solid #5a5a5a;
}
}


.planets-table td img {
.planets-table td img {
border-radius: 50%;
  border-radius: 50%;
margin: 10px 0;
  margin: 10px 0;
width: 80px;
  width: 80px;
height: 80px;
  height: 80px;
box-shadow: 0 4px 8px rgba(0, 0, 0, .6)
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}
}


.planets-table tr:first-child th:first-child {
.planets-table tr:first-child th:first-child {
border-top-left-radius: 12px
  border-top-left-radius: 12px;
}
}


.planets-table tr:first-child th:last-child {
.planets-table tr:first-child th:last-child {
border-top-right-radius: 12px
  border-top-right-radius: 12px;
}
}


.planets-table tr:last-child td:first-child {
.planets-table tr:last-child td:first-child {
border-bottom-left-radius: 12px
  border-bottom-left-radius: 12px;
}
}


.planets-table tr:last-child td:last-child {
.planets-table tr:last-child td:last-child {
border-bottom-right-radius: 12px
  border-bottom-right-radius: 12px;
}
}


.planets-table tr:nth-child(even) {
.planets-table tr:nth-child(even) {
background-color: rgba(255, 255, 255, .03)
  background-color: rgba(255, 255, 255, 0.03);
}
}


.planets-table tr:nth-child(odd) {
.planets-table tr:nth-child(odd) {
background-color: rgba(255, 255, 255, .06)
  background-color: rgba(255, 255, 255, 0.06);
}
}


.planets-table td:nth-child(2),
.planets-table th:nth-child(2),
.planets-table th:nth-child(2) {
.planets-table td:nth-child(2) {
text-align: center
  text-align: center;
}
}


.planets-table caption {
.planets-table caption {
margin: 10px 0;
  margin: 10px 0;
font-size: 20px;
  font-size: 20px;
font-weight: 700;
  font-weight: bold;
color: #a0a0a0;
  color: #a0a0a0;
text-align: left
  text-align: left;
}
}
/*=Эффект снежинок=*/


#snow-toggle {
#snow-toggle {
position: fixed;
  position: fixed;
top: 200px;
  top: 200px;
left: 10px;
  left: 10px;
font-size: 30px;
  font-size: 30px;
cursor: pointer;
  cursor: pointer;
z-index: 9999;
  z-index: 9999;
color: #000;
  color: #000;
transition: transform .3s ease;
  transition: transform 0.3s ease;
user-select: none
  user-select: none;
}
}


@media screen and (max-width:768px) {
@media screen and (max-width: 768px) {
#snow-toggle {
  #snow-toggle {
top: 100px;
    top: 100px;
left: 10px;
    left: 10px;
font-size: 24px
    font-size: 24px;
}
  }
}
}


#snow-toggle.snow-on {
#snow-toggle.snow-on {
animation: swing 1s infinite ease-in-out
  animation: swing 1s infinite ease-in-out;
}
}


#snow-toggle.snow-off {
#snow-toggle.snow-off {
animation: none
  animation: none;
}
}


.snowflake {
.snowflake {
position: fixed;
  position: fixed;
top: -50px;
  top: -50px;
font-size: 1.5rem;
  font-size: 1.5rem;
color: #fff;
  color: #fff;
opacity: .8;
  opacity: 0.8;
pointer-events: none;
  pointer-events: none;
animation: fall linear infinite;
  animation: fall linear infinite;
user-select: none
  user-select: none;
}
}


@keyframes swing {
@keyframes swing {
 
  0%, 100% {
0%,
    transform: rotate(0deg);
100% {
  }
transform: rotate(0)
  50% {
}
    transform: rotate(10deg);
 
  }
50% {
transform: rotate(10deg)
}
}
}


@keyframes fall {
@keyframes fall {
0% {
  0% {
transform: translateX(0) rotate(0)
    transform: translateX(0) rotate(0deg);
}
  }
  50% {
    transform: translateX(20px) rotate(180deg);
  }
  100% {
    transform: translateX(-20px) rotate(360deg);
    top: 100vh;
  }
}


50% {
transform: translateX(20px) rotate(180deg)
}


100% {
/*=Карточки планет=*/
transform: translateX(-20px) rotate(360deg);
top: 100vh
}
}


.planets-row {
.planets-row {
display: flex;
  display: flex;
justify-content: space-between;
  justify-content: space-between;
flex-wrap: wrap;
  flex-wrap: wrap;
gap: 20px;
  gap: 20px;
margin: 20px 0
  margin: 20px 0;
}
}


.planet-card {
.planet-card {
width: 220px;
  width: 220px;
border: 2px solid #555;
  border: 2px solid #555;
border-radius: 15px;
  border-radius: 15px;
overflow: hidden;
  overflow: hidden;
background-color: #333;
  background-color: #333;
color: #fff;
  color: #fff;
text-align: center;
  text-align: center;
padding: 15px;
  padding: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, .7);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
transition: transform .3s ease, box-shadow .3s ease
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}


.planet-card img {
.planet-card img {
width: 100%;
  width: 100%;
height: 180px;
  height: 180px;
object-fit: cover;
  object-fit: cover;
border-bottom: 2px solid #555;
  border-bottom: 2px solid #555;
border-radius: 8px
  border-radius: 8px;
}
}


.planet-card h3 {
.planet-card h3 {
font-size: 1.3em;
  font-size: 1.3em;
margin: 15px 0 10px;
  margin: 15px 0 10px;
color: #fc0;
  color: #ffcc00;
text-transform: uppercase;
  text-transform: uppercase;
letter-spacing: 1px
  letter-spacing: 1px;
}
}


.planet-card p {
.planet-card p {
font-size: 1em;
  font-size: 1em;
color: #ddd;
  color: #ddd;
margin: 0;
  margin: 0;
line-height: 1.5;
  line-height: 1.5;
max-height: 100px;
  max-height: 100px;
overflow: hidden;
  overflow: hidden;
text-overflow: ellipsis
  text-overflow: ellipsis;
}
}


.planet-card:hover {
.planet-card:hover {
transform: scale(1.05);
  transform: scale(1.05);
box-shadow: 0 6px 20px rgba(0, 0, 0, .8)
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}
}


.planet-card .more-info {
.planet-card .more-info {
margin-top: 10px;
  margin-top: 10px;
padding: 5px;
  padding: 5px;
background-color: #fc0;
  background-color: #ffcc00;
color: #222;
  color: #222;
border-radius: 5px;
  border-radius: 5px;
font-weight: 700;
  font-weight: bold;
text-transform: uppercase;
  text-transform: uppercase;
cursor: pointer;
  cursor: pointer;
transition: background-color .3s ease
  transition: background-color 0.3s ease;
}
}


.planet-card .more-info:hover {
.planet-card .more-info:hover {
background-color: #fa0
  background-color: #ffaa00;
}
}


@media (max-width:768px) {
@media (max-width: 768px) {
.planets-row {
  .planets-row {
justify-content: center
    justify-content: center;
}
  }


.planet-card {
  .planet-card {
width: 90%;
    width: 90%;
max-width: 280px
    max-width: 280px;
}
  }
}
}


@media (max-width:480px) {
@media (max-width: 480px) {
.planet-card {
  .planet-card {
width: 100%
    width: 100%;
}
  }
}
}


:root {
/*=Меню лора=*/
--transition-duration: 0.4s;
 
--primary-bg-color: #1e1e1e;
:root {  
--secondary-bg-color: #292929;
  --transition-duration: 0.4s;
--item-bg-color: #2a2a2a;
  --primary-bg-color: #1e1e1e;
--item-hover-bg-color: #3a3a3a;
  --secondary-bg-color: #292929;
--border-color: #555;
  --item-bg-color: #2a2a2a;
--text-color: #d3d3d3;
  --item-hover-bg-color: #3a3a3a;
--hover-text-color: #ffffff;
  --border-color: #555;
--font-family: 'Arial', sans-serif;
  --text-color: #d3d3d3;
--menu-border-radius: 25px;
  --hover-text-color: #ffffff;
--header-padding: 30px;
  --font-family: 'Arial', sans-serif;
--item-height: 180px;
  --menu-border-radius: 25px;
--icon-size: 72px;
  --header-padding: 30px;
--text-font-size: 18px
  --item-height: 180px;
  --icon-size: 72px;
  --text-font-size: 18px;
}
}


.custom-lore-menu {
.custom-lore-menu {
max-width: 1200px;
  max-width: 1200px;
margin: 30px auto;
  margin: 30px auto;
padding: 40px;
  padding: 40px;
border: 1px solid var(--border-color);
  border: 1px solid var(--border-color);
border-radius: var(--menu-border-radius);
  border-radius: var(--menu-border-radius);
background-color: var(--primary-bg-color);
  background-color: var(--primary-bg-color);
display: grid;
  display: grid;
grid-template-columns: 1fr;
  grid-template-columns: 1fr;
gap: 30px
  gap: 30px;
}
}


.custom-header {
.custom-header {
text-align: center;
  text-align: center;
background-color: var(--secondary-bg-color);
  background-color: var(--secondary-bg-color);
padding: var(--header-padding);
  padding: var(--header-padding);
border-bottom: 2px solid var(--border-color)
  border-bottom: 2px solid var(--border-color);
}
}


.custom-links {
.custom-links {
display: grid;
  display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 25px;
  gap: 25px;
padding: 25px;
  padding: 25px;
justify-items: center;
  justify-items: center;
align-items: center
  align-items: center;
}
}


.custom-item {
.custom-item {
display: flex;
  display: flex;
flex-direction: column;
  flex-direction: column;
align-items: center;
  align-items: center;
justify-content: center;
  justify-content: center;
width: 100%;
  width: 100%;
height: var(--item-height);
  height: var(--item-height);
text-align: center;
  text-align: center;
border: 1px solid var(--border-color);
  border: 1px solid var(--border-color);
border-radius: 15px;
  border-radius: 15px;
background-color: var(--item-bg-color);
  background-color: var(--item-bg-color);
transition: transform var(--transition-duration), background-color var(--transition-duration);
  transition: transform var(--transition-duration), background-color var(--transition-duration);
cursor: pointer
  cursor: pointer;
}
}


.custom-item:hover {
.custom-item:hover {
background-color: var(--item-hover-bg-color);
  background-color: var(--item-hover-bg-color);
transform: scale(1.05)
  transform: scale(1.05);
}
}


.custom-item a {
.custom-item a {
text-decoration: none;
  text-decoration: none;
color: var(--text-color);
  color: var(--text-color);
display: flex;
  display: flex;
flex-direction: column;
  flex-direction: column;
align-items: center;
  align-items: center;
justify-content: center;
  justify-content: center;
width: 100%;
  width: 100%;
height: 100%;
  height: 100%;
transition: color var(--transition-duration)
  transition: color var(--transition-duration);
}
}


.custom-item a:hover {
.custom-item a:hover {
color: var(--hover-text-color)
  color: var(--hover-text-color);
}
}


.custom-icon {
.custom-icon {
width: var(--icon-size);
  width: var(--icon-size);
height: var(--icon-size);
  height: var(--icon-size);
margin-bottom: 15px
  margin-bottom: 15px;
}
}


.custom-text {
.custom-text {
font-size: var(--text-font-size);
  font-size: var(--text-font-size);
font-weight: 700;
  font-weight: bold;
color: var(--text-color);
  color: var(--text-color);
transition: color var(--transition-duration)
  transition: color var(--transition-duration);
}
}


.custom-text:hover {
.custom-text:hover {
color: var(--hover-text-color)
  color: var(--hover-text-color);
}
}


@media (max-width:768px) {
@media (max-width: 768px) {
.custom-lore-menu {
  .custom-lore-menu {
padding: 20px
    padding: 20px;
}
  }


.custom-links {
  .custom-links {
grid-template-columns: 1fr
    grid-template-columns: 1fr;
}
  }


.custom-item {
  .custom-item {
height: auto
    height: auto;
}
  }


.custom-text {
  .custom-text {
font-size: 16px
    font-size: 16px;
}
  }
}
}


/*=Блок лора=*/
/*=Блок лор Colonial marines=*/
body.page-Лор_СМ #siteSub,
body.page-Лор_СМ #contentSub,
body.page-Лор_СМ #contentSub,
body.page-Лор_СМ #siteSub,
body.page-Лор_СМ h1.firstHeading
body.page-Лор_СМ h1.firstHeading {
{display:none !important}
display: none !important
}


.CMMainFigure {
.CMMainFigure {
height: 130px;
  height: 130px;
width: 575px;
  width: 575px;
background: #292f2d;
  background: #292f2d;
border-radius: 6px
  border-radius: 6px;
}
}


.CMMainText {
.CMMainText {
font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
color: #a1a2a5;
  color: #a1a2a5;
padding-top: 6px;
  padding-top: 6px;
padding-left: 9px
  padding-left: 9px;
}
}


.CMMainButton {
.CMMainButton {
height: 40px;
  height: 40px;
width: 180px;
  width: 180px;
background: #151a22;
  background: #151a22;
border-radius: 6px;
  border-radius: 6px;
margin-top: 7px;
  margin-top: 7px;
margin-left: 7px
  margin-left: 7px;
}
}


.CMMainButton2 {
.CMMainButton2 {
transform: translate(190px, -94px);
  transform: translate(190px,-94px);
height: 40px;
  height: 40px;
width: 180px;
  width: 180px;
background: #151a22;
  background: #151a22;
border-radius: 6px;
  border-radius: 6px;
margin-top: 7px;
  margin-top: 7px;
margin-left: 7px
  margin-left: 7px;
}
}


.CMMainButton3 {
.CMMainButton3 {
transform: translate(380px, -188px);
  transform: translate(380px,-188px);
height: 40px;
  height: 40px;
width: 180px;
  width: 180px;
background: #151a22;
  background: #151a22;
border-radius: 6px;
  border-radius: 6px;
margin-top: 7px;
  margin-top: 7px;
margin-left: 7px
  margin-left: 7px;
}
}


.CMMainButtonText {
.CMMainButtonText {
display: inline-block;
  display: inline-block;
width: 100%;
  width: 100%;
height: 100%;
  height: 100%;
text-align: center;
  text-align: center;
padding-top: 7px;
  padding-top: 7px;
font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
color: #fff;
  color: white;
text-decoration: none
  text-decoration: none;
}
}


/*=Блок лора Маршалов CM=*/
body.page-Провост_Маршал .mw-page-title-main,
body.page-Провост_Маршал #siteSub,
body.page-Провост_Маршал #siteSub,
body.page-Провост_Маршал .citizen-header,
body.page-Провост_Маршал .mw-body-header,
body.page-Провост_Маршал .mw-body-header,
body.page-Провост_Маршал .mw-page-title-main {
body.page-Провост_Маршал .citizen-header
display: none !important
{display:none !important}
}


body.page-Провост_Маршал .citizen-page-container {
body.page-Провост_Маршал .citizen-page-container
background: #14181f;
{background: rgb(20,24,31);
background: linear-gradient(90deg, rgba(20, 24, 31, 1) 0, rgba(40, 11, 15, 1) 75%, rgba(82, 0, 0, 1) 100%)
background: linear-gradient(90deg, rgba(20,24,31,1) 0%, rgba(40,11,15,1) 75%, rgba(82,0,0,1) 100%);}
}


.rectangleCM {
.rectangleCM {
width: 250px;
  width: 250px;
height: 60px;
  height: 60px;
background: linear-gradient(to right, #05141d 85%, #14181f);
  background: linear-gradient(to right, #05141d 85%, #14181f);
position: relative;
  position: relative;
transform: translate(835px, 20px)
  transform: translate(835px, 20px);
}
}


.rectangleCM2 {
.rectangleCM2 {
width: 250px;
  width: 250px;
height: 60px;
  height: 60px;
background: linear-gradient(to right, #05141d 85%, #14181f);
  background: linear-gradient(to right, #05141d 85%, #14181f);
position: relative;
  position: relative;
transform: translate(835px, 30px)
  transform: translate(835px, 30px);
}
}


.rectangleCM3 {
.rectangleCM3 {
width: 800px;
  width: 800px;
height: 130px;
  height: 130px;
background: #590000;
  background: #590000;
position: relative;
  position: relative;
transform: translate(0, -100px)
  transform: translate(0px, -100px);
}
}


.rectangleCM4 {
.rectangleCM4 {
width: 1085px;
  width: 1085px;
height: 60px;
  height: 60px;
background: linear-gradient(to right, #05141d 85%, #14181f);
  background: linear-gradient(to right, #05141d 85%, #14181f);
position: relative;
  position: relative;
transform: translate(0, -90px)
  transform: translate(0px, -90px);
}
}


.rectangleCMTwo {
.rectangleCMTwo {
width: 10px;
  width: 10px;
height: 60px;
  height: 60px;
background: #0087bd;
  background: #0087bd;
position: relative;
  position: relative;
transform: translate(0, -52px)
  transform: translate(0px, -52px);
}
}


.rectangleCMTwo2 {
.rectangleCMTwo2 {
width: 10px;
  width: 10px;
height: 60px;
  height: 60px;
background: #0087bd;
  background: #0087bd;
position: relative;
  position: relative;
transform: translate(0, -52px)
  transform: translate(0px, -52px);
}
}


.classifieldCM {
.classifieldCM {
color: #bebebe;
  color: #bebebe;
position: relative;
  position: relative;
transform: translate(15px, 5px);
  transform: translate(15px, 5px);
font-family: Inter, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-family: Inter, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: .75em;
  font-size: 0.75em;
font-weight: 500
  font-weight: 500;
}
}


.classifieldCMRisk {
.classifieldCMRisk {
color: #bebebe;
  color: #bebebe;
position: relative;
  position: relative;
transform: translate(17.5px, 6px);
  transform: translate(17.5px, 6px);
font-family: "Gill Sans", sans-serif;
  font-family: "Gill Sans", sans-serif;
font-size: calc(11px +(12 - 8)*((100vw - 400px)/ (800 - 400)));
  font-size: calc(11px +(12 - 8)*((100vw - 400px) /(800 - 400)));
font-weight: 700
  font-weight: bold;
}
}


.rectangleCMTwo3 {
.rectangleCMTwo3 {
width: 10px;
  width: 10px;
height: 130px;
  height: 130px;
background: #ce0000;
  background: #ce0000;
position: relative;
  position: relative;
transform: translate(0, -79px)
  transform: translate(0px, -79px);
}
}


.classifieldCM3 {
.classifieldCM3 {
color: #bebebe;
  color: #bebebe;
position: relative;
  position: relative;
transform: translate(17.5px, 5px);
  transform: translate(17.5px, 5px);
font-family: Inter, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-family: Inter, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: .9em;
  font-size: 0.9em;
font-weight: 500
  font-weight: 500;
}
}


.classifieldCMRisk3 {
.classifieldCMRisk3 {
color: #bebebe;
  color: #bebebe;
position: relative;
  position: relative;
transform: translate(20px, 21px);
  transform: translate(20px, 21px);
font-family: "Gill Sans", sans-serif;
  font-family: "Gill Sans", sans-serif;  
font-size: 35px;
  font-size: 35px;
font-weight: 700
  font-weight: bold;
}
}


.triangle-bottomrightCM {
.triangle-bottomrightCM {
width: 450px;
  width: 450px;
height: 0;
  height: 0;
border-bottom: 130px solid #700;
  border-bottom: 130px solid #700;
border-left: 100px solid transparent;
  border-left: 100px solid transparent;
position: relative;
  position: relative;
transform: translate(350px, -210px)
  transform: translate(350px,-210px);
}
}


.MarshalsLogoCM {
.MarshalsLogoCM {
right: 0;
  right: 0;
bottom: 0;
  bottom: 0;
position: absolute
  position: absolute;
}
}


/*=Не лор маршалов=*/
.hrCMLore {
.hrCMLore {
border: none;
  border: none;
border-top: 1.5px solid #c6c3b5
  border-top: 1.5px solid #C6C3B5; /* Линия теперь будет красного цвета */
}
}


.second_block {
.second_block {
display: none
  display: none;
}
}


.imggg {
.imggg {
float: right
  float: right ;
}
}


.home-card:hover .second_block {
.home-card:hover .second_block {
display: block;
  display: block;
font-family: "Gill Sans", sans-serif
  font-family: "Gill Sans", sans-serif;
}
}


.divisionis {
.divisionis {
color: #c6c3b5;
  color: #C6C3B5;
opacity: 1;
  opacity: 1;
text-align: center;
  text-align: center;
font-family: system-ui;
  font-family: system-ui;
font-size: 30px
  font-size: 30px;
}
}


.loreCMwelcom {
.loreCMwelcom {
color: #c6c3b5;
  color: #C6C3B5;
opacity: .5;
  opacity: 0.5;
text-align: left;
  text-align: left;
font-family: "Gill Sans", sans-serif;
  font-family: "Gill Sans", sans-serif;
font-size: 15px;
  font-size: 15px;
font-weight: lighter
  font-weight: lighter;
}
}


.loreCMwelcomWork {
.loreCMwelcomWork {
color: #c6c3b5;
  color: #C6C3B5;
opacity: .75;
  opacity: 0.75;
text-align: left;
  text-align: left;
font-family: "Gill Sans", sans-serif;
  font-family: "Gill Sans", sans-serif;
font-size: 15px;
  font-size: 15px;
font-weight: lighter
  font-weight: lighter;
}
}


.loreCMtext {
.loreCMtext {
color: #fff;
  color: white;
text-align: left;
  text-align: left;
font-family: system-ui;
  font-family: system-ui;
font-size: 30px;
  font-size: 30px;
font-weight: 700
  font-weight: bold;
}
}


.home-grid {
.home-grid {
display: grid;
display: grid;
grid: auto-flow dense/repeat(auto-fit, minmax(9.375rem, 1fr));
grid: auto-flow dense/repeat( auto-fit, minmax( 9.375rem, 1fr ) );
grid-auto-rows: minmax(3rem, auto);
grid-auto-rows: minmax( 3rem, auto );
grid-gap: calc(.5 * 1rem);
grid-gap: calc(0.5 * 1rem);
font-family: "Gill Sans", sans-serif
  font-family: "Gill Sans", sans-serif;
}
}


.home-grid--col2 {
.home-grid--col2 {
grid-template-columns: 1fr 1fr
grid-template-columns: 1fr 1fr;
}
}


.home-grid a.external {
.home-grid a.external {
background-image: none
background-image: none;
}
}


Строка 1274: Строка 651:
position: relative;
position: relative;
padding: 1rem;
padding: 1rem;
background: #161c26;
background: hsl(220,25%,12%);
border: 1px solid rgba(255, 255, 255, .05);
border: 1px solid rgba(255,255,255,0.05);
border-radius: 8px;
border-radius: 8px;
box-shadow: 0 3px 6px rgba(0, 0, 0, .04), 0 3px 6px rgba(0, 0, 0, .0575);
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
font-size: .875rem
font-size: 0.875rem;
}
}


.home-card table.timeline {
.home-card table.timeline {
margin-top: .2rem
margin-top: 0.2rem;
}
}


.home-card--col2 {
.home-card--col2 {
grid-column: span 2
grid-column: span 2;
}
}


.home-card--row3 {
.home-card--row3 {
grid-row: span 3
grid-row: span 3;
}
}


.home-card--row4 {
.home-card--row4 {
grid-row: span 4
grid-row: span 4;
}
}


.home-card--row8 {
.home-card--row8 {
grid-row: span 8/auto
grid-row: span 8 / auto;
}
}


.home-card__label {
.home-card__label {
color: #72777d;
color: #72777d;
font-size: .8125rem;
font-size: 0.8125rem;
letter-spacing: .75px
letter-spacing: 0.75px;
}
}


Строка 1310: Строка 687:
color: #202122;
color: #202122;
font-size: 1rem;
font-size: 1rem;
font-weight: 600;
    font-weight: 600;
line-height: 1.25
    line-height: 1.25;
}
}


Строка 1317: Строка 694:
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: space-between
justify-content: space-between;
}
}


.home-card__header a:after {
.home-card__header a:after {
content: '▶';
content: '▶';
font-size: .8125rem
font-size: 0.8125rem;
}
}


Строка 1332: Строка 709:
left: 0;
left: 0;
background: #242a31;
background: #242a31;
border-radius: 8px
border-radius: 8px;
}
}


Строка 1340: Строка 717:
bottom: 0;
bottom: 0;
left: 0;
left: 0;
right: 0;
    right: 0;
display: block;
    display: block;
background: linear-gradient(to right, #000, transparent);
    background: linear-gradient(to right,#000,transparent);
content: ""
    content: "";
}
}


.home-card__background img,
.home-card__background picture,
.home-card__background picture {
.home-card__background img {
width: 100%;
width: 100%;
height: 100%
height: 100%;
}
}


.home-card__background img {
.home-card__background img {
object-fit: cover;
object-fit: cover;
object-position: center
object-position: center;
}
}


Строка 1367: Строка 744:
flex-direction: column;
flex-direction: column;
justify-content: center;
justify-content: center;
gap: calc(.25 * 1rem);
gap: calc(0.25 * 1rem);
color: #fff;
color: #fff;
line-height: 1.25
line-height: 1.25;
}
}


.home-card__foreground .home-card__header {
.home-card__foreground .home-card__header {
color: #fff
color: #fff;
}
}


.home-card__foreground .home-card__label {
.home-card__foreground .home-card__label {
color: #bababa
color: #bababa;
}
}


.home-card p {
.home-card p {
margin-top: calc(0 * 1rem);
/* margin-top: calc(0.5 * 1rem); */
font-size: .875rem
margin-top: calc(0 * 1rem);  
font-size: 0.875rem;
}
}


Строка 1389: Строка 767:
padding: 0;
padding: 0;
background: #242a31;
background: #242a31;
border: 0
border: 0;
}
}


.home-card--button a {
.home-card--button a {
Строка 1398: Строка 777:
align-items: center;
align-items: center;
padding: 0 1rem;
padding: 0 1rem;
background: 0 0;
background: transparent;
color: #fff;
color: #fff;
font-weight: 500
font-weight: 500;
}
}


.home-card--button--navigation a {
.home-card--button--navigation a {
/* display: flex; */
display: contents;
display: contents;
height: 100%;
height: 100%;
Строка 1409: Строка 789:
align-items: center;
align-items: center;
padding: 0 1rem;
padding: 0 1rem;
background: 0 0;
background: transparent;
color: #fff;
color: #fff;
font-weight: 500
font-weight: 500;
}
}


.home-card--button .home-card__background a {
.home-card--button .home-card__background a {
padding: 0
padding: 0;
}
}


.home-card--button img {
.home-card--button img {
transition: transform .2s ease
transition: transform 0.2s ease;
}
}


.home-card--button:hover img {
.home-card--button:hover img {
transform: scale(1.1)
transform: scale(1.1);
}
}


.home-link {
.home-link {
display: grid;
display: grid;
margin-top: calc(.5 * 1rem);
margin-top: calc(0.5 * 1rem);
font-size: .875rem;
font-size: 0.875rem;
font-weight: 500;
font-weight: 500;
grid-gap: calc(.5 * 1rem);
grid-gap: calc(0.5 * 1rem);
text-align: center
text-align: center;
}
}


.home-link__button {
.home-link__button {
display: flex
display: flex;
}
}


.home-link__button a {
.home-link__button a {
flex-grow: 1;
flex-grow: 1;
padding: calc(.5 * 1rem);
padding: calc(0.5 * 1rem);
border: 1px solid rgba(255, 255, 255, .05);
border: 1px solid rgba(255,255,255,0.05);
background: #1c232f;
background: hsl(220,25%,15%);
border-radius: 8px;
border-radius: 8px;
color: #fff !important;
color: #fff !important;
line-height: 1.25;
    line-height: 1.25;
text-decoration: none !important
    text-decoration: none !important;
}
}


.home-link__button a:hover {
.home-link__button a:hover {
background: #212b3e
background: hsl(220,30%,19%);
}
}


.home-link__button a:active {
.home-link__button a:active {
background: #131924
background: hsl(220,30%,11%);
}
}


#home-content {
#home-content {
margin-top: calc(1.25 * 1rem)
margin-top: calc(1.25 * 1rem);
}
}


.home-card .template-statsbar {
.home-card .template-statsbar {
margin: 0
margin: 0;
}
}


.home-footer {
.home-footer {
font-size: .8125rem;
font-size: 0.8125rem;
font-family: monospace;
font-family: monospace;
text-align: center
text-align: center;
}
}


#home-nav {
#home-nav {
margin-top: 1rem
margin-top: 1rem;
}
}


#home-nav .home-card__foreground {
#home-nav .home-card__foreground {
font-weight: 500
    font-weight: 500;
}
}
/*------------------------------------------------Блок вики-----------------------------------------------------------------------------*/


.tabber {
.tabber {
border: 1px solid #20242a !important;
    border: 1px solid #20242a !important;
border-radius: 10px !important;
    border-radius: 10px !important; /* Закругление углов у всего таба */
overflow: hidden
    overflow: hidden; /* Чтобы закругление работало для содержимого */
}
}


.tabber__tab {
.tabber__tab {
background: #19191d !important;
    background: #19191d !important;
padding: 8px 16px
    padding: 8px 16px;
}
}


.tabber__panel {
.tabber__panel {
padding: 0 12px;
    padding: 0 12px;
border-radius: 8px !important
    border-radius: 8px !important; /* Закругление углов для панели */
}
}


/* Все табсы должны быть заменены на табберы! */
.tabs-tabbox {
.tabs-tabbox {
background: rgba(255, 0, 0, .07) !important;
    background: rgba(255,0,0,0.07) !important;
border-radius: 8px !important
    border-radius: 8px !important; /* Закругление углов */
}
}


@keyframes gradient-animation {


0%,
100% {
background-position: 0 50%
}


50% {
/*------------------------------------------------Tabl-Сейчас 2 версии табл новая и старая, струю не убирать иначе все ломается-----------*/
background-position: 100% 50%
 
}
/* Анимация градиента для JobHeader */
@keyframes gradient-animation {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
}


/* Стиль заголовка профессии */
.job_header {
.job_header {
font-family: Arial, sans-serif;
    font-family: Arial, sans-serif;
border: 3px solid var(--border-color, #465298);
    border: 3px solid var(--border-color, #465298);
border-radius: .5em;
    border-radius: 0.5em;
background-color: #27272e;
    background-color: #27272e;
box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
overflow: hidden;
    overflow: hidden;
margin: 0 0 10px 5px
    margin: 0 0 10px 5px;
}
}


.job_header .header-title {
.job_header .header-title {
text-align: center;
    text-align: center;
padding: 5px 10px;
    padding: 5px 10px;
margin: 0;
    margin: 0;
background: linear-gradient(135deg, var(--header-color-start, #465298), var(--header-color-end, #27272e));
    background: linear-gradient(135deg, var(--header-color-start, #465298), var(--header-color-end, #27272e));
background-size: 300% 300%;
    background-size: 300% 300%;
color: #fff;
    color: #fff;
font-weight: 700;
    font-weight: bold;
font-size: 1.1em;
    font-size: 1.1em;
letter-spacing: .5px;
    letter-spacing: 0.5px;
text-transform: uppercase;
    text-transform: uppercase;
animation: gradient-animation 6s ease infinite;
    animation: gradient-animation 6s ease infinite;
text-shadow: 1px 1px 2px rgba(0, 0, 0, .5)
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
}


/* Контейнер для изображения профессии */
.job_header .sprite-container {
.job_header .sprite-container {
text-align: center;
    text-align: center;
padding: 3px 0;
    padding: 3px 0;
margin: 0;
    margin: 0;
background: linear-gradient(135deg, var(--sprite-color-start, #465298), var(--sprite-color-end, #27272e));
    background: linear-gradient(135deg, var(--sprite-color-start, #465298), var(--sprite-color-end, #27272e));
background-size: 300% 300%;
    background-size: 300% 300%;
animation: gradient-animation 6s ease infinite;
    animation: gradient-animation 6s ease infinite;
box-shadow: inset 0 0 10px rgba(0, 0, 0, .4)
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}
}


.job_header .sprite-container img {
.job_header .sprite-container img {
border-radius: .2em
    /* width: 128px; */
    /* height: auto; */
    border-radius: 0.2em;
}
}


/* Элементы внутри JobHeader */
.job_header div {
.job_header div {
padding: 3px 10px;
    padding: 3px 10px;
margin: 0;
    margin: 0;
border-bottom: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
color: #ddd;
    color: #ddd;
transition: background-color .3s ease
    transition: background-color 0.3s ease;
}
}


.job_header div:last-child {
.job_header div:last-child {
border-bottom: none
    border-bottom: none;
}
}


.job_header .label {
.job_header .label {
font-weight: 700;
    font-weight: bold;
color: #ddd
    color: #ddd;
}
}


.job_header .value {
.job_header .value {
color: #bbb;
    color: #bbb;
font-size: .95em
    font-size: 0.95em;
}
}


/* Скрываемые элементы для JobHeader */
.job_collapsible {
.job_collapsible {
cursor: pointer;
    cursor: pointer;
color: #add8e6;
    color: lightblue;
text-decoration: underline;
    text-decoration: underline;
margin-top: 10px
    margin-top: 10px;
}
}


.job_collapsible_content {
.job_collapsible_content {
display: none;
    display: none;
padding: 10px;
    padding: 10px;
color: #bbb;
    color: #bbb;
transition: all .3s ease
    transition: all 0.3s ease;
}
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/
/* Begin стиль для pre (цитатки)
Shegare */


pre {
pre {
display: inline-block;
    display: inline-block;
white-space: pre-wrap
    white-space: pre-wrap;
}
}


span.ClearUnset>figure.mw-halign-right {
/* End стиль для pre (цитатки)
clear: unset
Shegare */
 
 
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
/* Begin ClearUnset
Shegare */
 
span.ClearUnset > figure.mw-halign-right {
    clear: unset;
}
}


.collapsible_align>tbody>tr>th>span {
/* End ClearUnset
padding: 7px 5px
Shegare */
 
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
/* Begin стиль для collapsible button
Shegare */
 
.collapsible_align > tbody > tr > th > span {
    padding: 7px 5px;
}
}
.mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
.mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
color: #dbdbdb;
    color: #dbdbdb;
box-shadow: 0 0 5px 0;
    box-shadow: 0 0 5px 0px;
border: 2px solid;
    border: 2px solid;
padding: 4px;
    padding: 4px;
border-radius: 10px;
    border-radius: 10px;
transition: .5s
    transition: 0.5s;
}
}
.mw-collapsible.mw-made-collapsible .mw-collapsible-text {
.mw-collapsible.mw-made-collapsible .mw-collapsible-text {
color: #fff;
    color: #ffffff;
border: 2px dotted;
    border: 2px dotted;
padding: 4px;
    padding: 4px;
border-radius: 10px;
    border-radius: 10px;
transition: .5s
    transition: 0.5s;
}
}
.mw-collapsible-toggle-default:before {
.mw-collapsible-toggle-default:before {
content: unset
    content: unset;
}
}
.mw-collapsible-toggle-default:after {
.mw-collapsible-toggle-default:after {
content: unset
    content: unset;
}
}


@media screen and (min-width:1120px) {
/* End стиль для collapsible button
.citizen-toc-enabled .citizen-body-container {
Shegare */
grid-template-areas: 'void header header''sidebar content toc''footer footer footer'
}


.citizen-toc-enabled .citizen-body-container {
/*-----------------------------------------------------------------------------------------------------------------------------------*/
grid-template-columns: 10% 70% 20%;
margin-left: 8vw
}


body {
/* Begin стиль для grid
overflow-x: hidden
Shegare */
}


#IdJobsTableContainer2 {
@media screen and (min-width: 1120px) {
grid-area: sidebar;
    .citizen-toc-enabled .citizen-body-container {
margin-left: -8vw
        grid-template-areas:
}
        'void header header'
        'sidebar content toc'
        'footer footer footer';
    }
    .citizen-toc-enabled .citizen-body-container {
        grid-template-columns: 10% 70% 20%;
        margin-left: 8vw;
    }
    body {
        overflow-x: hidden;
    }
    #IdJobsTableContainer2 {
        grid-area: sidebar;
        margin-left: -8vw;
    }
}
}
/* End стиль для grid
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/
/* Begin стиль для tabber
Shegare */


.unheightTabber .tabber__section {
.unheightTabber .tabber__section {
height: unset !important
    height: unset !important;
}
}


/* End стиль для tabber
Shegare */
/* Begin стиль ног (footer)
Shegare */
/* Блоки в одну строку */
.page-info__item {
.page-info__item {
flex-basis: 100%
    flex-basis: 100%;
}
}


/* Убираем отступ для ног (footer) */
.citizen-footer {
.citizen-footer {
margin: 0
    margin: 0;
}
}


/* End стиль ног (footer)
Shegare */
/* Begin стиль для JobsTable
Shegare */
/* Стиль для sidebar */
#IdJobsTableContainer2 {
#IdJobsTableContainer2 {
flex-basis: 20%;
    flex-basis: 20%;
padding: 0 38px
    padding: 0px 38px;
}
}
 
#IdJobsTableContainer2 > div {
#IdJobsTableContainer2>div {
    background: #ffffff08;
background: #ffffff08;
    border-radius: 20px;
border-radius: 20px;
    padding: 5px 10px;
padding: 5px 10px
}
}


.JobsTable {
.JobsTable {
border: 2px solid #000;
    border: 2px solid black;
border-radius: 10px;
    border-radius: 10px;
margin-bottom: 5px;
    margin-bottom: 5px;
width: auto;
    width: auto;
height: fit-content;
    height: fit-content;
background: #28303e
    background: #28303e;
}
}


/* Отступы в шапке JobsTable */
.JobsTableHeadImg {
.JobsTableHeadImg {
margin-left: 15px;
    margin-left: 15px;
margin-right: 5px
    margin-right: 5px;
}
}
.JobsTableHeadLink {
.JobsTableHeadLink {
margin-right: auto
    margin-right: auto;
}
}


.client-js div.mw-collapsed:not(.mw-made-collapsible):before,
/* Видимость на разных экранах */
.client-js div.mw-collapsible:not(.mw-made-collapsible):before,
.client-js td.mw-collapsed:not(.mw-made-collapsible):before, .client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsed:not(.mw-made-collapsible):before,
.client-js ol.mw-collapsible:not(.mw-made-collapsible):before,
.client-js ol.mw-collapsible:not(.mw-made-collapsible):before, .client-js ul.mw-collapsible:not(.mw-made-collapsible):before, .client-js table.mw-collapsible:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsible:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsible:not(.mw-made-collapsible):before {
.client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before,
    opacity: 0;
.client-js table.mw-collapsed:not(.mw-made-collapsible)>caption:first-child:after,
.client-js table.mw-collapsible:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before,
.client-js table.mw-collapsible:not(.mw-made-collapsible)>caption:first-child:after,
.client-js td.mw-collapsed:not(.mw-made-collapsible):before,
.client-js ul.mw-collapsible:not(.mw-made-collapsible):before {
opacity: 0
}
}
#IdJobsTableContainer1 {
#IdJobsTableContainer1 {
display: none
    display: none;
}
}
 
@media screen and (max-width: 1440px) {
@media screen and (max-width:1440px) {
    #IdJobsTableContainer2 {
#IdJobsTableContainer2 {
        display: none;
display: none
    }
}
    #IdJobsTableContainer1 {
 
        display: unset;
#IdJobsTableContainer1 {
    }
display: unset
    .JobsTableHeadImg {
}
        margin-left: unset;
 
    }
.JobsTableHeadImg {
    .JobsTableHeadLink {
margin-left: unset
        margin-right: 55px;
}
    }
 
    .client-js td.mw-collapsed:not(.mw-made-collapsible):before, .client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsed:not(.mw-made-collapsible):before,
.JobsTableHeadLink {
    .client-js ol.mw-collapsible:not(.mw-made-collapsible):before, .client-js ul.mw-collapsible:not(.mw-made-collapsible):before, .client-js table.mw-collapsible:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsible:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsible:not(.mw-made-collapsible):before {
margin-right: 55px
        opacity: 1;
}
    }
 
.client-js div.mw-collapsed:not(.mw-made-collapsible):before,
.client-js div.mw-collapsible:not(.mw-made-collapsible):before,
.client-js ol.mw-collapsible:not(.mw-made-collapsible):before,
.client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before,
.client-js table.mw-collapsed:not(.mw-made-collapsible)>caption:first-child:after,
.client-js table.mw-collapsible:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before,
.client-js table.mw-collapsible:not(.mw-made-collapsible)>caption:first-child:after,
.client-js td.mw-collapsed:not(.mw-made-collapsible):before,
.client-js ul.mw-collapsible:not(.mw-made-collapsible):before {
opacity: 1
}
}
}


@media screen and (min-width:1440px) {
/* Скрытие контента на широких экранах */
.JobsTable .mw-collapsible.mw-collapsed {
@media screen and (min-width: 1440px) {
display: none
    .JobsTable .mw-collapsible.mw-collapsed {
}
        display: none;
 
    }
.JobsTable .mw-collapsible.mw-collapsed:hover,
    .JobsTable div:hover ~ .mw-collapsible.mw-collapsed,  
.JobsTable div:hover~.mw-collapsible.mw-collapsed {
    .JobsTable .mw-collapsible.mw-collapsed:hover {
display: unset
        display: unset;
}
    }
}
}
 
@media screen and (max-width: 1439px) {
@media screen and (max-width:1439px) {
    .JobsTable div:first-child {
.JobsTable div:first-child {
        padding-left: 15px;
padding-left: 15px
    }
}
}
}


/* Кнопка скрытия элементов */
.JobsTable .mw-collapsible-toggle {
.JobsTable .mw-collapsible-toggle {
margin-top: -35px
    margin-top: -35px;
}
}
 
.JobsTable .mw-collapsible-toggle-default:before,  
.JobsTable .mw-collapsible-toggle-default:after,
.JobsTable .mw-collapsible-toggle-default:after {
.JobsTable .mw-collapsible-toggle-default:before {
    content: unset;
content: unset
}
}
.JobsTable .mw-collapsible-text {
.JobsTable .mw-collapsible-text {
background: #000;
    background: black;
border: 2px solid;
    border: 2px solid;
padding: 2px;
    padding: 2px;
margin-right: 5px;
    margin-right: 5px;
font-weight: 700
    font-weight: 700;
}
}
.JobsTable .mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
.JobsTable .mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
color: #00ffff9e;
    color: #00ffff9e;
box-shadow: 0 0 10px #00b9b978
    box-shadow: 0 0 10px #00b9b978;
}
}
.JobsTable .mw-collapsible.mw-made-collapsible .mw-collapsible-text {
.JobsTable .mw-collapsible.mw-made-collapsible .mw-collapsible-text {
color: #c21111cc
    color: #c21111cc;
}
}


/* Кнопки */
.JobsTableList li a {
.JobsTableList li a {
color: #fff;
    color: white;
font-size: 16px;
    font-size: 16px;
background: #232323;
    background: #232323;
display: block;
    display: block;
border: 2px solid #000;
    border: 2px solid black;
margin-bottom: 5px;
    margin-bottom: 5px;
padding: 3px 5px;
    padding: 3px 5px;
transition: background-color .8s
    transition: background-color 0.8s;
}
}
.JobsTableList li a:hover {
.JobsTableList li a:hover {
background: #007383;
    background: #007383;
transform: scale(1.1);
    transform: scale(1.1);
text-decoration: unset
    text-decoration: unset;
}
}
/* End стиль для JobsTable
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/
/* Begin Заголовки стиль
Shegare */


.citizen-sections-enabled .citizen-section-heading .mw-headline {
.citizen-sections-enabled .citizen-section-heading .mw-headline {
border-bottom: 2px solid;
    border-bottom: 2px solid;
border-image: linear-gradient(to right top, #5d5d5d, #272727);
    border-image: linear-gradient(to right top, #5d5d5d, #272727);
border-image-slice: 1
    border-image-slice: 1;
}
}


.citizen-sections-enabled .citizen-section-heading .mw-headline:empty {
.citizen-sections-enabled .citizen-section-heading .mw-headline:empty {
border: unset
    border: unset;
}
}


.citizen-sections-enabled .citizen-section-heading--collapsed .mw-headline {
.citizen-sections-enabled .citizen-section-heading--collapsed .mw-headline {
border: unset
    border: unset;
}
}


.mw-ui-icon-wikimedia-collapse:before {
.mw-ui-icon-wikimedia-collapse:before {
opacity: unset
    opacity: unset;
}
}


.citizen-sections-enabled .citizen-section-indicator {
.citizen-sections-enabled .citizen-section-indicator {
width: 25px;
    width: 25px;
height: 25px;
    height: 25px;
position: absolute;
    position: absolute;
padding: 3px;
    padding: 3px;
background: rgb(162 162 162 / 60%);
    background: rgb(162 162 162 / 60%);
box-shadow: 0 0 20px 0 rgb(162 162 162 / 20%);
    box-shadow: 0 0 20px 0px rgb(162 162 162 / 20%);
border: 1px solid #000;
    border: 1px solid #000000;
border-radius: 50%;
    border-radius: 50%;
transition: .3s;
    transition: 0.3s;
margin-left: -30px;
    margin-left: -30px;
margin-right: 5px
    margin-right: 5px;
}
}


@media screen and (max-width:1119px) {
@media screen and (max-width: 1119px) {
.citizen-sections-enabled .citizen-section-indicator {
    .citizen-sections-enabled .citizen-section-indicator {
margin-left: 0
        margin-left: 0px;
}
    }
 
    .citizen-sections-enabled .citizen-section-indicator {
.citizen-sections-enabled .citizen-section-indicator {
        width: 21px;
width: 21px;
        height: 21px;
height: 21px
    }
}
    .citizen-sections-enabled .citizen-section-heading .mw-headline {
 
        padding-left: 25px;
.citizen-sections-enabled .citizen-section-heading .mw-headline {
    }
padding-left: 25px
}
}
}


.citizen-sections-enabled .citizen-section-heading--collapsed .citizen-section-indicator {
.citizen-sections-enabled .citizen-section-heading--collapsed .citizen-section-indicator {
background: #000;
    background: #000000;
opacity: 50%;
    opacity: 50%;
box-shadow: unset;
    box-shadow: unset;
transition: .3s
    transition: 0.3s;
}
}


.citizen-section-collapsible p {
.citizen-section-collapsible p {
margin-bottom: 1.5em;
    margin-bottom: 1.5em;
margin-top: 0
    margin-top: 0px;
}
}


/* Begin Заголовки стиль
Shegare */
/* Begin Подзаголовки стиль
Shegare */
/*.citizen-section-collapsible > h2, h3, h4, h5, h6 {
    border-bottom: 2px dashed #5d5d5d;
    width: fit-content;
}*/
/* Begin Подзаголовки стиль
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/
/* Начальный размер блока лого */
.citizen-header__logo {
.citizen-header__logo {
height: 89px
    height: 89px;
}
}


/* Анимация появления второго лого */
.logo2 img {
.logo2 img {
opacity: 0;
  opacity: 0;
animation: animOpacity .5s forwards
  animation: animOpacity 0.5s forwards;
}
}
@keyframes animOpacity {
@keyframes animOpacity {
0% {
  0% {opacity: 0;}
opacity: 0
  100% {opacity: 1;}
}
}


100% {
/* Обводка вокруг лого */
opacity: 1
.logo1:hover, .logo2:hover {
}
    background: #ffffff26;
    border-radius: 15px;
}
}


.logo1:hover,
/* Лого на экранах меньше 1120px */
.logo2:hover {
@media screen and (max-width: 1119px) {
background: #ffffff26;
    .citizen-header__logo {
border-radius: 15px
        display: flex;
        height: auto;
        width: 89px;
    }
    .logo1 {
        margin-right: 3px;
    }
}
@media screen and (min-width: 1120px) {
    .logo1 {
        margin-bottom: 3px;
    }
}
}


@media screen and (max-width:1119px) {
/* End Лого стили
.citizen-header__logo {
Shegare */
display: flex;
/*-----------------------------------------------------------------------------------------------------------------------------------*/
height: auto;
width: 89px
}


.logo1 {
/* Begin элементы таблицы "|" не подсвечиваются при наведении
margin-right: 3px
Shegare */
}
}
 
@media screen and (min-width:1120px) {
.logo1 {
margin-bottom: 3px
}
}


:root.skin-citizen-dark {
:root.skin-citizen-dark {
Строка 1899: Строка 1342:
}
}


@media screen and (max-width:1119px) {
/* End элементы таблицы "|" не подсвечиваются при наведении
.citizen-scroll--down .citizen-header {
Shegare */
transform: unset
/*-----------------------------------------------------------------------------------------------------------------------------------*/
}
 
/* Begin header не скрывается
Shegare */
 
@media screen and (max-width: 1119px) {
    .citizen-scroll--down .citizen-header {
        transform: unset;
    }
}
}
/* End header не скрывается
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/
/* Begin TooltipTable
Shegare */


.citizen-overflow--right {
.citizen-overflow--right {
-webkit-mask-image: unset
    -webkit-mask-image: unset;
}
}


@media screen and (min-width:1421px) {
@media screen and (min-width: 1421px) {
.citizen-table-wrapper {
    .citizen-table-wrapper {
overflow: unset
        overflow: unset;
}
    }
}
}


@media screen and (max-width:1421px) {
@media screen and (max-width:1421px) {
        .citizen-table-wrapper,
        .citizen-overflow--left.citizen-overflow--right,
        .citizen-overflow--left,
        .citizen-overflow--right {
                -webkit-mask-image: unset;
                overflow: auto;
        }
}
/* End TooltipTable
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/


.citizen-overflow--left,
/* Begin Отмена пикселизации
.citizen-overflow--left.citizen-overflow--right,
Shegare */
.citizen-overflow--right,
.citizen-table-wrapper {
-webkit-mask-image: unset;
overflow: auto
}
}


.citizen-header__logo img,
.citizen-header__logo img, .logo img {
.logo img {
      image-rendering: unset;
image-rendering: unset
}
}
.nopixelated img {
.nopixelated img {
image-rendering: unset
  image-rendering: unset;
}
}


@media screen and (max-width:1025px) {
/* End оформление заголовков
mobile_bigtable {
Shegare */
font-size: 16px
 
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
/* Begin mobile_bigtable
Shegare */
 
@media screen and (max-width: 1025px) {
    mobile_bigtable {
        font-size: 16px;
    }
}
@media screen and (max-width: 1024px) {
    mobile_bigtable {
        font-size: 10px;
    }
}
}


@media screen and (max-width:1024px) {
/* Begin mobile_bigtable
mobile_bigtable {
Shegare */
font-size: 10px
 
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/
}
 
/* Begin главное меню
Данте ( и немного Shegare >w< )
*/


.standard-link td,
/* Общее форматирование ячеек таблицы */
.standard-link th {
.standard-link th,
vertical-align: middle;
.standard-link td {
border: 2px solid #000;
    vertical-align: middle;
background-color: #212126
    border: 2px solid black;
    background-color: #212126;
}
}


/* Скругление углов только у первой и последней ячеек в строке заголовка */
.standard-link th {
.standard-link th {
border-radius: 15px 0 0 15px
    border-radius: 15px 0 0 15px;
}
}


/* Форматирование ссылок в заголовках таблицы */
.standard-link th a {
.standard-link th a {
margin: 7px
    margin: 7px;
}
}


/* Форматирование ссылок в ячейках таблицы */
.standard-link td a {
.standard-link td a {
margin: 5px 10px;
    margin: 5px 10px;
padding: 17px
    padding: 17px;
}
}


/* Общие стили для всех ссылок */
.standard-link a {
.standard-link a {
text-decoration: none;
    text-decoration: none;
font: small-caps bold 25px sans-serif;
    font: small-caps bold 25px sans-serif;
color: #fff;
    color: #ffffff;
border: 2px solid #000;
    border: 2px solid black;
display: flex;
    display: flex;
align-items: center;
    align-items: center;
background-color: #141417;
    background-color: #141417;
transition: background-color 1s ease, border-color 1s ease, color 1s ease
    transition: background-color 1.0s ease, border-color 1.0s ease, color 1.0s ease;
}
}


/* Стили для мобильных устройств */
@media screen and (max-width:850px) {
@media screen and (max-width:850px) {
.standard-link a {
    .standard-link a {
transition: none
        transition: none;
}
    }
 
    .standard-link td {
.standard-link td {
    border-radius: 0px 15px 15px 0px;
border-radius: 0 15px 15px 0
    }
}
}
}


/* Стили при наведении курсора на строку таблицы */
.standard-link tr:hover a {
.standard-link tr:hover a {
background-color: #000;
    background-color: black;
color: #fff;
    color: #fff;
border-color: #e23229
    border-color: #e23229;
}
}


/* End главное меню
Данте ( и немного Shegare >w< )
*/
/*-----------------------------------------------------------------------------------------------------------------------------------*/
/* Данте Морпехи */
/* Основные стили для контейнера меню */
.main-container {
.main-container {
display: flex;
    display: flex;
flex-wrap: wrap;
    flex-wrap: wrap;
justify-content: space-between
    justify-content: space-between;
}
}


/* Общие стили для секций меню */
.menu-section {
.menu-section {
flex-basis: 23%;
    flex-basis: 23%;
margin-bottom: 15px;
    margin-bottom: 15px;
padding: 10px;
    padding: 10px;
border-radius: 8px;
    border-radius: 8px;
background-color: #14171f;
    background-color: #14171f; /* Фон не покрашенных блоков */
color: #fff;
    color: #fff;
border: 1px solid rgba(255, 255, 255, .1)
    border: 1px solid rgba(255, 255, 255, 0.1); /* Уменьшенная белая обводка для блоков */
}
}


/* Индивидуальные цвета для секций */
.marines-section {
.marines-section {
background-color: #222424
    background-color: #222424;
}
}


.xenos-section {
.xenos-section {
background-color: #2b2e44
    background-color: #2b2e44;
}
}


.other-section {
.other-section {
background-color: #341d1d
    background-color: #341d1d; /* Цвет для блока "Другие фракции" */
}
}


/* Стили для заголовков секций */
.menu-section h3 {
.menu-section h3 {
padding: 5px;
    padding: 5px;
margin: 0;
    margin: 0;
font-size: 18px;
    font-size: 18px;
text-align: center;
    text-align: center;
color: #fff
    color: #fff;
}
}


/* Стили для списка */
.menu-section ul {
.menu-section ul {
list-style-type: none;
    list-style-type: none;
padding: 0;
    padding: 0;
margin: 10px 0 0 0
    margin: 10px 0 0 0;
}
}


/* Стили для элементов списка */
.menu-section ul li {
.menu-section ul li {
margin: 10px 0;
    margin: 10px 0;
text-align: center
    text-align: center;
}
}


/* Стили для кнопок (ссылок) */
.menu-section ul li a {
.menu-section ul li a {
display: block;
    display: block;
width: 100%;
    width: 100%;
padding: 10px;
    padding: 10px;
border-radius: 8px;
    border-radius: 8px;
text-align: center;
    text-align: center;
background-color: #1a1e29;
    background-color: #1a1e29; /* Цвет фона кнопок */
color: #fff;
    color: white;
font-weight: 700;
    font-weight: bold;
text-decoration: none;
    text-decoration: none;
border: 1px solid rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Обводка для кнопок */
transition: background-color .3s ease, border-color .3s ease
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
}


.menu-section ul li a:hover {
.menu-section ul li a:hover {
background-color: #666;
    background-color: #666;
border-color: rgba(255, 255, 255, .5)
    border-color: rgba(255, 255, 255, 0.5); /* Обводка при наведении */
}
}


/* Стили для секции с картами */
.maps-section {
.maps-section {
color: #fff
    color: white; /* Устанавливаем белый цвет текста для всей секции */
}
}


.maps-section ul {
.maps-section ul {
display: flex;
    display: flex;
flex-wrap: wrap;
    flex-wrap: wrap;
gap: 10px;
    gap: 10px; /* Отступы между картами */
padding: 0;
    padding: 0;
margin: 0
    margin: 0;
}
}


/* Стили для секции с картами */
.maps-section {
.maps-section {
color: #fff !important
    color: white !important; /* Добавление !important */
}
}


.maps-section ul {
.maps-section ul {
display: flex;
    display: flex;
flex-wrap: wrap;
    flex-wrap: wrap;
gap: 10px;
    gap: 10px; /* Отступы между картами */
padding: 0;
    padding: 0;
margin: 0
    margin: 0;
}
}


/* Стили для элементов списка в секции карт */
.maps-section ul li {
.maps-section ul li {
flex-basis: 48%;
    flex-basis: 48%; /* Уменьшаем до 48%, чтобы уместить 2 карты в ряд с отступами */
list-style: none
    list-style: none; /* Убираем маркеры списка */
}
}


/* Стили для ссылок в секции карт */
.maps-section ul li a {
.maps-section ul li a {
display: block;
    display: block;
padding: 10px;
    padding: 10px;
background-color: #1a1e29;
    background-color: #1a1e29; /* Цвет фона кнопок в секции карт */
color: #fff !important;
    color: white !important; /* Устанавливаем белый цвет текста */
border-radius: 8px;
    border-radius: 8px;
text-align: center;
    text-align: center;
text-decoration: none;
    text-decoration: none;
border: 1px solid rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Обводка для кнопок */
transition: background-color .3s ease, border-color .3s ease
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
}


.maps-section ul li a:hover {
.maps-section ul li a:hover {
background-color: #666;
    background-color: #666; /* Цвет фона при наведении на ссылку в секции карт */
border-color: rgba(255, 255, 255, .5)
    border-color: rgba(255, 255, 255, 0.5); /* Обводка при наведении */
}
}


/* Убираем иконку внешней ссылки в блоке карт */
.maps-section ul li a::after {
.maps-section ul li a::after {
content: none !important
    content: none !important; /* Убираем псевдоэлемент */
}
}


/* Стили для контейнера заголовка */
.header-container {
.header-container {
display: flex;
    display: flex;
align-items: center;
    align-items: center;
background-color: #1b1e26;
    background-color: #1b1e26;
padding: 20px 30px;
    padding: 20px 30px;
border-radius: 8px
    border-radius: 8px;
}
}


/* Стили для логотипа */
.logo img {
.logo img {
border-radius: 50%;
    border-radius: 50%;
width: 100px;
    width: 100px;
height: auto
    height: auto;
}
}


/* Стили для текста заголовка */
.title-text {
.title-text {
margin-left: 30px;
    margin-left: 30px;
color: #fff
    color: #ffffff;
}
}


.title-text h1 {
.title-text h1 {
margin: 0;
    margin: 0;
font-size: 32px;
    font-size: 32px;
font-weight: 700
    font-weight: bold;
}
}


.title-text p {
.title-text p {
margin: 5px 0 0;
    margin: 5px 0 0;
font-size: 18px
    font-size: 18px;
}
}


/* Стили для разделителя */
.separator {
.separator {
border-bottom: 2px solid #a9a9a9;
    border-bottom: 2px solid #A9A9A9;
margin: 10px 0 20px
    margin: 10px 0 20px;
}
}


@media (max-width:599px) {
/* Адаптивные стили для мобильных устройств */
.main-container {
@media (max-width: 599px) {
flex-direction: column;
    .main-container {
align-items: stretch
        flex-direction: column;
}
        align-items: stretch;
    }


.menu-section {
    .menu-section {
flex-basis: 100%;
        flex-basis: 100%;
margin-bottom: 15px;
        margin-bottom: 15px;
display: flex;
        display: flex;
flex-direction: column;
        flex-direction: column;
align-items: stretch
        align-items: stretch;
}
    }


.menu-section ul {
    .menu-section ul {
flex-grow: 1;
        flex-grow: 1;
justify-content: space-between;
        justify-content: space-between;
padding: 0
        padding: 0;
}
    }


.menu-section ul li {
    .menu-section ul li {
flex-grow: 1;
        flex-grow: 1;
width: 100%;
        width: 100%;
text-align: center;
        text-align: center;
margin-bottom: 10px
        margin-bottom: 10px; /* Отступы между элементами */
}
    }


.menu-section ul li a {
    .menu-section ul li a {
flex-grow: 1;
        flex-grow: 1;
display: flex;
        display: flex;
align-items: center;
        align-items: center;
justify-content: center;
        justify-content: center;
width: 100%;
        width: 100%;
text-align: center;
        text-align: center;
padding: 10px 0
        padding: 10px 0;
}
    }


.maps-section ul {
    .maps-section ul {
flex-wrap: wrap;
        flex-wrap: wrap;
gap: 10px
        gap: 10px;
}
    }


.maps-section ul li {
    .maps-section ul li {
flex-basis: 48%;
        flex-basis: 48%; /* Карты будут располагаться по 2 на ряд */
margin-bottom: 10px
        margin-bottom: 10px; /* Отступы между картами */
}
    }


.header-container {
    .header-container {
flex-direction: column;
        flex-direction: column;
text-align: center;
        text-align: center;
padding: 10px
        padding: 10px;
}
    }


.logo img {
    .logo img {
width: 80px
        width: 80px;
}
    }


.title-text {
    .title-text {
margin-left: 0;
        margin-left: 0;
margin-top: 10px
        margin-top: 10px;
}
    }


.title-text h1 {
    .title-text h1 {
font-size: 24px
        font-size: 24px;
}
    }


.title-text p {
    .title-text p {
font-size: 16px
        font-size: 16px;
}
    }
}
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/


/* код оформление для Командование и тд Данте! */
/* Контейнер для карточек */
.command-wrapper {
.command-wrapper {
display: flex;
    display: flex;
justify-content: center;
    justify-content: center;
flex-wrap: wrap;
    flex-wrap: wrap;
gap: 20px;
    gap: 20px;
padding: 20px
    padding: 20px;
}
}


/* Основные стили карточек */
.card {
.card {
background-color: #2b2b2b;
    background-color: #2b2b2b; /* Темный фон карточки */
border-radius: 10px;
    border-radius: 10px;
width: 220px;
    width: 220px;
height: auto;
    height: auto;
box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
display: flex;
    display: flex;
flex-direction: column;
    flex-direction: column;
justify-content: flex-start;
    justify-content: flex-start; /* Элементы начинают сверху */
align-items: center;
    align-items: center;
padding: 8px;
    padding: 8px; /* Уменьшаем padding */
text-align: center;
    text-align: center;
position: relative;
    position: relative;
transition: transform .3s ease, box-shadow .3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 4px solid transparent;
    border: 4px solid transparent;
color: #fff;
    color: #ffffff; /* Белый текст */
overflow: hidden
    overflow: hidden; /* Скрываем все, что выходит за пределы карточки */
}
}


/* Цветные обводки для разных ролей */
.card.Captain {
.card.Captain {
border-color: #b0b7c3
    border-color: #B0B7C3; /* Серебристый для Капитана */
}
}
.card.HeadOfSecurity {
.card.HeadOfSecurity {
border-color: red
    border-color: #FF0000; /* Красный для Главы Безопасности */
}
}
.card.HeadOfPersonnel {
.card.HeadOfPersonnel {
border-color: #0f0
    border-color: #00FF00; /* Зеленый для Главы Персонала */
}
}
.card.Engineer {
.card.Engineer {
border-color: orange
    border-color: #FFA500; /* Оранжевый для Старшего Инженера */
}
}
.card.Scientist {
.card.Scientist {
border-color: purple
    border-color: #800080; /* Фиолетовый для Научного Руководителя */
}
}
.card.Doctor {
.card.Doctor {
border-color: #127bb7
    border-color: #127BB7; /* Синий для Главного Врача */
}
}
.card.Quartermaster {
.card.Quartermaster {
border-color: gold
    border-color: #FFD700; /* Золотой для Квартирмейстера */
}
}


/* Стили для текста и заголовков */
.card .role-name {
.card .role-name {
font-weight: 700;
    font-weight: bold;
font-size: 1.4em;
    font-size: 1.4em;
color: #fff;
    color: #ffffff; /* Белый текст */
margin-bottom: 3px;
    margin-bottom: 3px;
white-space: normal;
    white-space: normal; /* Разрешить перенос слов */
overflow: hidden;
    overflow: hidden;
text-overflow: ellipsis;
    text-overflow: ellipsis;
text-align: center;
    text-align: center; /* Центрирование текста */
word-wrap: break-word;
    word-wrap: break-word; /* Перенос слов при необходимости */
display: grid;
    display: grid;
grid-template-columns: 212px;
    grid-template-columns: 212px;
grid-template-rows: 75px
    grid-template-rows: 75px;
}
}
.role-name a {
.role-name a {
color: #ccc
    color: #ccc;
}
}


/* Стили для изображения */
.card img {
.card img {
max-width: 160px;
    max-width: 160px;
max-height: 160px;
    max-height: 160px;
margin-bottom: 3px
    margin-bottom: 3px; /* Уменьшаем отступ снизу */
}
}


/* Стили для описания роли */
.card .role-description {
.card .role-description {
font-size: .9em;
    font-size: 0.9em;
flex-grow: 1;
    flex-grow: 1;
margin: 3px 0;
    margin: 3px 0; /* Минимальные отступы сверху и снизу */
color: #dcdcdc;
    color: #dcdcdc; /* Более светлый текст */
text-align: center;
    text-align: center;
overflow: hidden;
    overflow: hidden;
text-overflow: ellipsis;
    text-overflow: ellipsis;
white-space: normal
    white-space: normal; /* Текст переносится */
}
}


/* Ссылка на СРП */
.card .role-guide {
.card .role-guide {
font-size: .85em;
    font-size: 0.85em;
margin-top: 3px;
    margin-top: 3px; /* Минимальный отступ сверху */
text-align: center
    text-align: center; /* Центрируем текст */
}
}


.card .role-guide a {
.card .role-guide a {
color: #00bfff;
    color: #00bfff; /* Цвет ссылки */
text-decoration: none
    text-decoration: none;
}
}


.card .role-guide a:hover {
.card .role-guide a:hover {
text-decoration: underline
    text-decoration: underline;
}
}


/* Hover эффект для карточек */
.card:hover {
.card:hover {
transform: scale(1.05);
    transform: scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, .3)
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/


* {
* { font-family: Arial }
font-family: Arial
}


body {
body {
color: #fafafa
    color: #FAFAFA;
}
}


img {
img {
image-rendering: pixelated
    image-rendering: pixelated;
}
}


.flex-container {
.flex-container {
display: flex;
    display: flex;
align-items: flex-start
    align-items: flex-start;
}
}


.flex-image {
.flex-image {
flex-shrink: 0;
    flex-shrink: 0;
margin-right: 20px
    margin-right: 20px;
}
}


.flex-image-description {
.flex-image-description {
flex-grow: 1
    flex-grow: 1;
}
}


.uplinkbuybutton {
.uplinkbuybutton {
background: #464966;
    background: #464966;
width: 62px;
    width: 62px;
height: 27px;
    height: 27px;
color: #fff;
    color: white;
text-align: center;
    text-align: center;
font-weight: bolder;
    font-weight: bolder;
float: right;
    float: right;
padding-top: 4px;
    padding-top: 4px;
clip-path: polygon(0 0, 0 18px, 9px 27px, 62px 27px, 62px 10px, 53px 0)
    clip-path: polygon(0px 0px, 0px 18px, 9px 27px, 62px 27px, 62px 10px, 53px 0px);
}
}


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


.tooltiptext {
.tooltiptext {
position: absolute;
    position: absolute;
display: initial;
    display: initial;
z-index: 99999;
    z-index: 99999;
width: 295px;
    width: 295px;
left: -120px;
    left: -120px;
top: 42px;
    top: 42px;
padding: 5px;
    padding: 5px;
pointer-events: none;
    pointer-events: none;
visibility: hidden;
    visibility: hidden;
opacity: 0;
    opacity: 0;
white-space: normal;
    white-space: normal;
text-align: left;
    text-align: left;
transition: all .2s;
    transition: all 0.2s;
border: 1px solid #b80000;
    border: 1px solid #b80000;
border-radius: 10px;
    border-radius: 10px;
background-color: #24242a;
    background-color: #24242a;
box-shadow: 0 0 5px #b80000
    box-shadow: 0 0 5px #b80000;
}
}


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


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


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


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


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


.job_header {
    .job_header {
float: right;
        float: right;
width: 25%
        width: 25%;
}
    }
}
}


@media screen and (max-width:1420px) {
@media screen and (max-width: 1420px) {
.tooltiptext {
    .tooltiptext {
box-shadow: 0 0 100vw 100vh rgb(0 0 0 / 60%);
        box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
position: fixed;
        position: fixed;
width: 80vw;
        width: 80vw;
top: 40vh;
        top: 40vh;
left: 0;
        left: 0;
margin: 0 auto;
        margin: 0 auto;
right: 0
        right: 0;
}
    }
}
}


@media screen and (max-width:850px) {
@media screen and (max-width: 850px) {
.nomobile {
    .nomobile {
display: none
        display: none;
}
    }
 
    .mobilefont {
.mobilefont {
        font-size: 80%;
font-size: 80%
    }
}
    .mobile_sprite,
 
    .mobile_text {
.mobile_sprite,
        transform: scale(0.75);
.mobile_text {
    }
transform: scale(.75)
}
}
}


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


.img_special:hover .hover_img_special {
.img_special:hover .hover_img_special {
display: inline
    display: inline;
}
}


.img_special:hover .img_spec {
.img_special:hover .img_spec {
display: none
    display: none;
}
}


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


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


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


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


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


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


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


Строка 2532: Строка 2042:
.infobox .infobox-title,
.infobox .infobox-title,
.infobox caption {
.infobox caption {
font-size: 125%;
    font-size: 125%;
font-weight: 700;
    font-weight: bold;
text-align: center
    text-align: center;
}
}


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


.mw-parser-output .mw-collapsible-toggle {
.mw-parser-output .mw-collapsible-toggle {
font-weight: 400;
    font-weight: normal;
text-align: right
    text-align: right;
}
}


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


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


#p-namespaces {
#p-namespaces {
float: left;
    float: left;
width: 100%
    width: 100%;
}
}


p {
p {
margin-bottom: 1.5em
    margin-bottom: 1.5em;
}
}


.infobox-table {
.infobox-table {
z-index: 3 !important;
    z-index: 3 !important;
width: 400px;
    width: 400px;
max-width: 100%;
    max-width: 100%;
margin-bottom: 1rem;
    margin-bottom: 1rem;
padding-bottom: 20px !important;
    padding-bottom: 20px !important;
background: #1c272f;
    background: hsl(205, 25%, 15%);
border-radius: 8px;
    border-radius: 8px;
border-spacing: 0;
    border-spacing: 0;
font-size: .875rem;
    font-size: 0.875rem;
text-align: left
    text-align: left;
}
}


.infobox-table tr:not(#infobox-table-img-bg) {
.infobox-table tr:not(#infobox-table-img-bg) {
display: flex;
    display: flex;
margin-top: 10px
    margin-top: 10px;
}
}


.infobox-table td,
.infobox-table th,
.infobox-table th {
.infobox-table td {
padding: 0 15px !important
    padding: 0 15px !important;
}
}


.infobox-table th,
.infobox-table th,
th.infobox-table-name {
th.infobox-table-name {
color: #e8f3fc
    color: hsl(205, 80%, 95%);
}
}


.infobox-table th {
.infobox-table th {
padding-top: 15px !important;
    padding-top: 15px !important;
border-top: 1px solid rgba(255, 255, 255, .05);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
font-size: 1rem;
    font-size: 1rem;
text-align: left !important
    text-align: left !important;
}
}


th.infobox-table-name {
th.infobox-table-name {
padding-top: 0 !important;
    padding-top: 0 !important;
border: 0 !important;
    border: 0 !important;
margin-top: 10px;
    margin-top: 10px;
margin-bottom: 5px;
    margin-bottom: 5px;
font-size: 1.4rem !important;
    font-size: 1.4rem !important;
line-height: 1.4
    line-height: 1.4;
}
}


.infobox-table-img img {
.infobox-table-img img {
max-width: 100%;
    max-width: 100%;
height: auto !important
    height: auto !important;
}
}


.infobox-table-img img[src$='.svg'] {
.infobox-table-img img[src$='.svg'] {
background: #eaecf0
    background: #eaecf0;
}
}


.infobox-table .image:hover img {
.infobox-table .image:hover img {
transform: scale(1.1)
    transform: scale(1.1);
}
}


.infobox-button {
.infobox-button {
display: block;
    display: block;
width: 100%
    width: 100%;
}
}


.infobox-button>div {
.infobox-button > div {
display: flex;
    display: flex;
flex-wrap: wrap;
    flex-wrap: wrap;
justify-content: space-between
    justify-content: space-between;
}
}


@media only screen and (max-width:720px) {
@media only screen and (max-width: 720px) {
.infobox-table {
    .infobox-table {
margin-right: auto;
        margin-right: auto;
margin-left: auto
        margin-left: auto;
}
    }
}
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/

Текущая версия от 10:12, 2 марта 2025

/*=Блок лора=*/
/*Хронолония */
.timeline {
    width: 100%;
    margin: 20px 0;
    background-color: transparent;
}

.timeline-entry {
    padding: 10px;
    border-bottom: 1px solid #555;
    background-color: var(--timeline-entry-bg, #333);
}

.timeline-header {
    font-size: 18px;
    font-weight: bold;
    color: var(--timeline-header-color, #fff);
    cursor: pointer;
}

.timeline-content {
    padding: 10px;
    font-size: 16px;
    color: var(--timeline-content-color, #ddd);
    background-color: var(--timeline-content-bg, #444);
    display: none;
}

.timeline-entry:nth-child(even) {
    background-color: var(--timeline-entry-bg-even, #222);
}

.timeline-entry:hover {
    background-color: var(--timeline-entry-bg-hover, #555);
}

.timeline-entry a {
    color: var(--timeline-link-color, #ff9800);
    text-decoration: none;
}

.timeline-entry a:hover {
    text-decoration: underline;
}

/*=Таблица планет=*/
.planets-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 0 auto;
}

.planets-table {
  width: 100%; 
  max-width: 150%; 
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(to bottom, #0d1117, #161b22);
  border: 1px solid #5a5a5a;
  border-radius: 12px;
  color: #b0b0b0;
  overflow: hidden;
}

.planets-table th {
  background-color: #3a3a3a;
  color: #dcdcdc;
  text-align: center;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #5a5a5a;
}

.planets-table td {
  text-align: center;
  padding: 12px;
  font-size: 16px;
  border-top: 1px solid #5a5a5a;
}

.planets-table td img {
  border-radius: 50%;
  margin: 10px 0;
  width: 80px;
  height: 80px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.planets-table tr:first-child th:first-child {
  border-top-left-radius: 12px;
}

.planets-table tr:first-child th:last-child {
  border-top-right-radius: 12px;
}

.planets-table tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.planets-table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.planets-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

.planets-table tr:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.06);
}

.planets-table th:nth-child(2),
.planets-table td:nth-child(2) {
  text-align: center;
}

.planets-table caption {
  margin: 10px 0;
  font-size: 20px;
  font-weight: bold;
  color: #a0a0a0;
  text-align: left;
}


/*=Эффект снежинок=*/

#snow-toggle {
  position: fixed;
  top: 200px;
  left: 10px;
  font-size: 30px;
  cursor: pointer;
  z-index: 9999;
  color: #000;
  transition: transform 0.3s ease;
  user-select: none;
}

@media screen and (max-width: 768px) {
  #snow-toggle {
    top: 100px;
    left: 10px;
    font-size: 24px;
  }
}

#snow-toggle.snow-on {
  animation: swing 1s infinite ease-in-out;
}

#snow-toggle.snow-off {
  animation: none;
}

.snowflake {
  position: fixed;
  top: -50px;
  font-size: 1.5rem;
  color: #fff;
  opacity: 0.8;
  pointer-events: none;
  animation: fall linear infinite;
  user-select: none;
}

@keyframes swing {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

@keyframes fall {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(20px) rotate(180deg);
  }
  100% {
    transform: translateX(-20px) rotate(360deg);
    top: 100vh;
  }
}


/*=Карточки планет=*/

.planets-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.planet-card {
  width: 220px;
  border: 2px solid #555;
  border-radius: 15px;
  overflow: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.planet-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #555;
  border-radius: 8px;
}

.planet-card h3 {
  font-size: 1.3em;
  margin: 15px 0 10px;
  color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.planet-card p {
  font-size: 1em;
  color: #ddd;
  margin: 0;
  line-height: 1.5;
  max-height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.planet-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}

.planet-card .more-info {
  margin-top: 10px;
  padding: 5px;
  background-color: #ffcc00;
  color: #222;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.planet-card .more-info:hover {
  background-color: #ffaa00;
}

@media (max-width: 768px) {
  .planets-row {
    justify-content: center;
  }

  .planet-card {
    width: 90%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .planet-card {
    width: 100%;
  }
}

/*=Меню лора=*/

:root { 
  --transition-duration: 0.4s;
  --primary-bg-color: #1e1e1e;
  --secondary-bg-color: #292929;
  --item-bg-color: #2a2a2a;
  --item-hover-bg-color: #3a3a3a;
  --border-color: #555;
  --text-color: #d3d3d3;
  --hover-text-color: #ffffff;
  --font-family: 'Arial', sans-serif;
  --menu-border-radius: 25px;
  --header-padding: 30px;
  --item-height: 180px;
  --icon-size: 72px;
  --text-font-size: 18px;
}

.custom-lore-menu {
  max-width: 1200px;
  margin: 30px auto;
  padding: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--menu-border-radius);
  background-color: var(--primary-bg-color);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.custom-header {
  text-align: center;
  background-color: var(--secondary-bg-color);
  padding: var(--header-padding);
  border-bottom: 2px solid var(--border-color);
}

.custom-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
  padding: 25px;
  justify-items: center;
  align-items: center;
}

.custom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--item-height);
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  background-color: var(--item-bg-color);
  transition: transform var(--transition-duration), background-color var(--transition-duration);
  cursor: pointer;
}

.custom-item:hover {
  background-color: var(--item-hover-bg-color);
  transform: scale(1.05);
}

.custom-item a {
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: color var(--transition-duration);
}

.custom-item a:hover {
  color: var(--hover-text-color);
}

.custom-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  margin-bottom: 15px;
}

.custom-text {
  font-size: var(--text-font-size);
  font-weight: bold;
  color: var(--text-color);
  transition: color var(--transition-duration);
}

.custom-text:hover {
  color: var(--hover-text-color);
}

@media (max-width: 768px) {
  .custom-lore-menu {
    padding: 20px;
  }

  .custom-links {
    grid-template-columns: 1fr;
  }

  .custom-item {
    height: auto;
  }

  .custom-text {
    font-size: 16px;
  }
}

/*=Блок лора=*/

/*=Блок лор Colonial marines=*/

body.page-Лор_СМ #siteSub,
body.page-Лор_СМ #contentSub,
body.page-Лор_СМ h1.firstHeading
{display:none !important}

.CMMainFigure {
  height: 130px;
  width: 575px;
  background: #292f2d;
  border-radius: 6px;
}

.CMMainText {
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  color: #a1a2a5;
  padding-top: 6px;
  padding-left: 9px;
}

.CMMainButton {
  height: 40px;
  width: 180px;
  background: #151a22;
  border-radius: 6px;
  margin-top: 7px;
  margin-left: 7px;
}

.CMMainButton2 {
  transform: translate(190px,-94px);
  height: 40px;
  width: 180px;
  background: #151a22;
  border-radius: 6px;
  margin-top: 7px;
  margin-left: 7px;
}

.CMMainButton3 {
  transform: translate(380px,-188px);
  height: 40px;
  width: 180px;
  background: #151a22;
  border-radius: 6px;
  margin-top: 7px;
  margin-left: 7px;
}

.CMMainButtonText {
  display: inline-block;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 7px;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  color: white;
  text-decoration: none;
}

/*=Блок лора Маршалов CM=*/

body.page-Провост_Маршал .mw-page-title-main,
body.page-Провост_Маршал #siteSub,
body.page-Провост_Маршал .mw-body-header,
body.page-Провост_Маршал .citizen-header
{display:none !important}

body.page-Провост_Маршал .citizen-page-container
{background: rgb(20,24,31);
background: linear-gradient(90deg, rgba(20,24,31,1) 0%, rgba(40,11,15,1) 75%, rgba(82,0,0,1) 100%);}

.rectangleCM {
  width: 250px;
  height: 60px;
  background: linear-gradient(to right, #05141d 85%, #14181f);
  position: relative;
  transform: translate(835px, 20px);
}

.rectangleCM2 {
  width: 250px;
  height: 60px;
  background: linear-gradient(to right, #05141d 85%, #14181f);
  position: relative;
  transform: translate(835px, 30px);
}

.rectangleCM3 {
  width: 800px;
  height: 130px;
  background: #590000;
  position: relative;
  transform: translate(0px, -100px);
}

.rectangleCM4 {
  width: 1085px;
  height: 60px;
  background: linear-gradient(to right, #05141d 85%, #14181f);
  position: relative;
  transform: translate(0px, -90px);
}

.rectangleCMTwo {
  width: 10px;
  height: 60px;
  background: #0087bd;
  position: relative;
  transform: translate(0px, -52px);
}

.rectangleCMTwo2 {
  width: 10px;
  height: 60px;
  background: #0087bd;
  position: relative;
  transform: translate(0px, -52px);
}

.classifieldCM {
  color: #bebebe;
  position: relative;
  transform: translate(15px, 5px);
  font-family: Inter, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 0.75em;
  font-weight: 500;
}

.classifieldCMRisk {
  color: #bebebe;
  position: relative;
  transform: translate(17.5px, 6px);
  font-family: "Gill Sans", sans-serif;
  font-size: calc(11px +(12 - 8)*((100vw - 400px) /(800 - 400)));
  font-weight: bold;
}

.rectangleCMTwo3 {
  width: 10px;
  height: 130px;
  background: #ce0000;
  position: relative;
  transform: translate(0px, -79px);
}

.classifieldCM3 {
  color: #bebebe;
  position: relative;
  transform: translate(17.5px, 5px);
  font-family: Inter, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 0.9em;
  font-weight: 500;
}

.classifieldCMRisk3 {
  color: #bebebe;
  position: relative;
  transform: translate(20px, 21px);
  font-family: "Gill Sans", sans-serif; 
  font-size: 35px;
  font-weight: bold;
}

.triangle-bottomrightCM {
  width: 450px;
  height: 0;
  border-bottom: 130px solid #700;
  border-left: 100px solid transparent;
  position: relative;
  transform: translate(350px,-210px);
}

.MarshalsLogoCM {
  right: 0;
  bottom: 0;
  position: absolute;
}

/*=Не лор маршалов=*/
.hrCMLore {
  border: none;
  border-top: 1.5px solid #C6C3B5; /* Линия теперь будет красного цвета */
}

.second_block {
  display: none;
}

.imggg {
  float: right ;
}

.home-card:hover .second_block {
  display: block;
  font-family: "Gill Sans", sans-serif;
}

.divisionis {
  color: #C6C3B5;
  opacity: 1;
  text-align: center;
  font-family: system-ui;
  font-size: 30px;
}

.loreCMwelcom {
  color: #C6C3B5;
  opacity: 0.5;
  text-align: left;
  font-family: "Gill Sans", sans-serif;
  font-size: 15px;
  font-weight: lighter;
}

.loreCMwelcomWork {
  color: #C6C3B5;
  opacity: 0.75;
  text-align: left;
  font-family: "Gill Sans", sans-serif;
  font-size: 15px;
  font-weight: lighter;
}

.loreCMtext {
  color: white;
  text-align: left;
  font-family: system-ui;
  font-size: 30px;
  font-weight: bold;
}

.home-grid {
	display: grid;
	grid: auto-flow dense/repeat( auto-fit, minmax( 9.375rem, 1fr ) );
	grid-auto-rows: minmax( 3rem, auto );
	grid-gap: calc(0.5 * 1rem);
  font-family: "Gill Sans", sans-serif;
}

.home-grid--col2 {
	grid-template-columns: 1fr 1fr;
}

.home-grid a.external {
	background-image: none;
}

.home-card {
	position: relative;
	padding: 1rem;
	background: hsl(220,25%,12%);
	border: 1px solid rgba(255,255,255,0.05);
	border-radius: 8px;
	box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
	font-size: 0.875rem;
}

.home-card table.timeline {
	margin-top: 0.2rem;
}

.home-card--col2 {
	grid-column: span 2;
}

.home-card--row3 {
	grid-row: span 3;
}

.home-card--row4 {
	grid-row: span 4;
}

.home-card--row8 {
	grid-row: span 8 / auto;
}

.home-card__label {
	color: #72777d;
	font-size: 0.8125rem;
	letter-spacing: 0.75px;
}

.home-card__header {
	color: #202122;
	font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.home-card__header a {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.home-card__header a:after {
	content: '▶';
	font-size: 0.8125rem;
}

.home-card__background {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #242a31;
	border-radius: 8px;
}

.home-card__background:after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent);
    content: "";
}

.home-card__background picture,
.home-card__background img {
	width: 100%;
	height: 100%;
}

.home-card__background img {
	object-fit: cover;
	object-position: center;
}

.home-card__foreground {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: calc(0.25 * 1rem);
	color: #fff;
	line-height: 1.25;
}

.home-card__foreground .home-card__header {
	color: #fff;
}

.home-card__foreground .home-card__label {
	color: #bababa;
}

.home-card p {
	/* margin-top: calc(0.5 * 1rem); */
	margin-top: calc(0 * 1rem); 
	font-size: 0.875rem;
}

.home-card.home-card--button {
	overflow: hidden;
	padding: 0;
	background: #242a31;
	border: 0;
}


.home-card--button a {
	display: flex;
	height: 100%;
	justify-content: center;
	align-items: center;
	padding: 0 1rem;
	background: transparent;
	color: #fff;
	font-weight: 500;
}

.home-card--button--navigation a {
	/* display: flex; */
	display: contents;
	height: 100%;
	justify-content: center;
	align-items: center;
	padding: 0 1rem;
	background: transparent;
	color: #fff;
	font-weight: 500;
}

.home-card--button .home-card__background a {
	padding: 0;
}

.home-card--button img {
	transition: transform 0.2s ease;
}

.home-card--button:hover img {
	transform: scale(1.1);
}

.home-link {
	display: grid;
	margin-top: calc(0.5 * 1rem);
	font-size: 0.875rem;
	font-weight: 500;
	grid-gap: calc(0.5 * 1rem);
	text-align: center;
}

.home-link__button {
	display: flex;
}

.home-link__button a {
	flex-grow: 1;
	padding: calc(0.5 * 1rem);
	border: 1px solid rgba(255,255,255,0.05);
	background: hsl(220,25%,15%);
	border-radius: 8px;
	color: #fff !important;
    line-height: 1.25;
    text-decoration: none !important;
}

.home-link__button a:hover {
	background: hsl(220,30%,19%);
}

.home-link__button a:active {
	background: hsl(220,30%,11%);
}

#home-content {
	margin-top: calc(1.25 * 1rem);
}

.home-card .template-statsbar {
	margin: 0;
}

.home-footer {
	font-size: 0.8125rem;
	font-family: monospace;
	text-align: center;
}

#home-nav {
	margin-top: 1rem;
}

#home-nav .home-card__foreground {
    font-weight: 500;
}



/*------------------------------------------------Блок вики-----------------------------------------------------------------------------*/

.tabber {
    border: 1px solid #20242a !important;
    border-radius: 10px !important; /* Закругление углов у всего таба */
    overflow: hidden; /* Чтобы закругление работало для содержимого */
}

.tabber__tab {
    background: #19191d !important;
    padding: 8px 16px;
}

.tabber__panel {
    padding: 0 12px;
    border-radius: 8px !important; /* Закругление углов для панели */
}


/* Все табсы должны быть заменены на табберы! */
.tabs-tabbox {
    background: rgba(255,0,0,0.07) !important;
    border-radius: 8px !important; /* Закругление углов */
}



/*------------------------------------------------Tabl-Сейчас 2 версии табл новая и старая, струю не убирать иначе все ломается-----------*/

/* Анимация градиента для JobHeader */
@keyframes gradient-animation {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Стиль заголовка профессии */
.job_header {
    font-family: Arial, sans-serif;
    border: 3px solid var(--border-color, #465298);
    border-radius: 0.5em;
    background-color: #27272e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 0 0 10px 5px;
}

.job_header .header-title {
    text-align: center;
    padding: 5px 10px;
    margin: 0;
    background: linear-gradient(135deg, var(--header-color-start, #465298), var(--header-color-end, #27272e));
    background-size: 300% 300%;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: gradient-animation 6s ease infinite;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Контейнер для изображения профессии */
.job_header .sprite-container {
    text-align: center;
    padding: 3px 0;
    margin: 0;
    background: linear-gradient(135deg, var(--sprite-color-start, #465298), var(--sprite-color-end, #27272e));
    background-size: 300% 300%;
    animation: gradient-animation 6s ease infinite;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

.job_header .sprite-container img {
    /* width: 128px; */
    /* height: auto; */
    border-radius: 0.2em;
}

/* Элементы внутри JobHeader */
.job_header div {
    padding: 3px 10px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    transition: background-color 0.3s ease;
}

.job_header div:last-child {
    border-bottom: none;
}

.job_header .label {
    font-weight: bold;
    color: #ddd;
}

.job_header .value {
    color: #bbb;
    font-size: 0.95em;
}

/* Скрываемые элементы для JobHeader */
.job_collapsible {
    cursor: pointer;
    color: lightblue;
    text-decoration: underline;
    margin-top: 10px;
}

.job_collapsible_content {
    display: none;
    padding: 10px;
    color: #bbb;
    transition: all 0.3s ease;
}

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin стиль для pre (цитатки)
Shegare */

pre {
    display: inline-block;
    white-space: pre-wrap;
}

/* End стиль для pre (цитатки)
Shegare */


/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin ClearUnset 
Shegare */

span.ClearUnset > figure.mw-halign-right {
    clear: unset;
}

/* End ClearUnset 
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin стиль для collapsible button
Shegare */

.collapsible_align > tbody > tr > th > span {
    padding: 7px 5px;
}
.mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
    color: #dbdbdb;
    box-shadow: 0 0 5px 0px;
    border: 2px solid;
    padding: 4px;
    border-radius: 10px;
    transition: 0.5s;
}
.mw-collapsible.mw-made-collapsible .mw-collapsible-text {
    color: #ffffff;
    border: 2px dotted;
    padding: 4px;
    border-radius: 10px;
    transition: 0.5s;
}
.mw-collapsible-toggle-default:before {
    content: unset;
}
.mw-collapsible-toggle-default:after {
    content: unset;
}

/* End стиль для collapsible button
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin стиль для grid
Shegare */

@media screen and (min-width: 1120px) {
    .citizen-toc-enabled .citizen-body-container {
        grid-template-areas:
        'void header header'
        'sidebar content toc'
        'footer footer footer';
    }
    .citizen-toc-enabled .citizen-body-container {
        grid-template-columns: 10% 70% 20%;
        margin-left: 8vw;
    }
    body {
        overflow-x: hidden;
    }
    #IdJobsTableContainer2 {
        grid-area: sidebar;
        margin-left: -8vw;
    }
}

/* End стиль для grid
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin стиль для tabber
Shegare */


.unheightTabber .tabber__section {
    height: unset !important;
}

/* End стиль для tabber
Shegare */


/* Begin стиль ног (footer)
Shegare */

/* Блоки в одну строку */
.page-info__item {
    flex-basis: 100%;
}

/* Убираем отступ для ног (footer) */
.citizen-footer {
    margin: 0;
}

/* End стиль ног (footer)
Shegare */


/* Begin стиль для JobsTable
Shegare */

/* Стиль для sidebar */
#IdJobsTableContainer2 {
    flex-basis: 20%;
    padding: 0px 38px;
}
#IdJobsTableContainer2 > div {
    background: #ffffff08;
    border-radius: 20px;
    padding: 5px 10px;
}

.JobsTable {
    border: 2px solid black;
    border-radius: 10px;
    margin-bottom: 5px;
    width: auto;
    height: fit-content;
    background: #28303e;
}

/* Отступы в шапке JobsTable */
.JobsTableHeadImg {
    margin-left: 15px;
    margin-right: 5px;
}
.JobsTableHeadLink {
    margin-right: auto;
}

/* Видимость на разных экранах */
.client-js td.mw-collapsed:not(.mw-made-collapsible):before, .client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsed:not(.mw-made-collapsible):before,
.client-js ol.mw-collapsible:not(.mw-made-collapsible):before, .client-js ul.mw-collapsible:not(.mw-made-collapsible):before, .client-js table.mw-collapsible:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsible:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsible:not(.mw-made-collapsible):before {
    opacity: 0;
}
#IdJobsTableContainer1 {
    display: none;
}
@media screen and (max-width: 1440px) {
    #IdJobsTableContainer2 {
        display: none;
    }
    #IdJobsTableContainer1 {
        display: unset;
    }
    .JobsTableHeadImg {
        margin-left: unset;
    }
    .JobsTableHeadLink {
        margin-right: 55px;
    }
    .client-js td.mw-collapsed:not(.mw-made-collapsible):before, .client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsed:not(.mw-made-collapsible):before,
    .client-js ol.mw-collapsible:not(.mw-made-collapsible):before, .client-js ul.mw-collapsible:not(.mw-made-collapsible):before, .client-js table.mw-collapsible:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before, .client-js table.mw-collapsible:not(.mw-made-collapsible) > caption:first-child:after, .client-js div.mw-collapsible:not(.mw-made-collapsible):before {
        opacity: 1;
    }
}

/* Скрытие контента на широких экранах */
@media screen and (min-width: 1440px) {
    .JobsTable .mw-collapsible.mw-collapsed {
        display: none;
    }
    .JobsTable div:hover ~ .mw-collapsible.mw-collapsed, 
    .JobsTable .mw-collapsible.mw-collapsed:hover {
        display: unset;
    }
}
@media screen and (max-width: 1439px) {
    .JobsTable div:first-child {
        padding-left: 15px;
    }
}

/* Кнопка скрытия элементов */
.JobsTable .mw-collapsible-toggle {
    margin-top: -35px;
}
.JobsTable .mw-collapsible-toggle-default:before, 
.JobsTable .mw-collapsible-toggle-default:after {
    content: unset;
}
.JobsTable .mw-collapsible-text {
    background: black;
    border: 2px solid;
    padding: 2px;
    margin-right: 5px;
    font-weight: 700;
}
.JobsTable .mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
    color: #00ffff9e;
    box-shadow: 0 0 10px #00b9b978;
}
.JobsTable .mw-collapsible.mw-made-collapsible .mw-collapsible-text {
    color: #c21111cc;
}

/* Кнопки */
.JobsTableList li a {
    color: white;
    font-size: 16px;
    background: #232323;
    display: block;
    border: 2px solid black;
    margin-bottom: 5px;
    padding: 3px 5px;
    transition: background-color 0.8s;
}
.JobsTableList li a:hover {
    background: #007383;
    transform: scale(1.1);
    text-decoration: unset;
}

/* End стиль для JobsTable
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin Заголовки стиль
Shegare */

.citizen-sections-enabled .citizen-section-heading .mw-headline {
    border-bottom: 2px solid;
    border-image: linear-gradient(to right top, #5d5d5d, #272727);
    border-image-slice: 1;
}

.citizen-sections-enabled .citizen-section-heading .mw-headline:empty {
    border: unset;
}

.citizen-sections-enabled .citizen-section-heading--collapsed .mw-headline {
    border: unset;
}

.mw-ui-icon-wikimedia-collapse:before {
    opacity: unset;
}

.citizen-sections-enabled .citizen-section-indicator {
    width: 25px;
    height: 25px;
    position: absolute;
    padding: 3px;
    background: rgb(162 162 162 / 60%);
    box-shadow: 0 0 20px 0px rgb(162 162 162 / 20%);
    border: 1px solid #000000;
    border-radius: 50%;
    transition: 0.3s;
    margin-left: -30px;
    margin-right: 5px;
}

@media screen and (max-width: 1119px) {
    .citizen-sections-enabled .citizen-section-indicator {
        margin-left: 0px;
    }
    .citizen-sections-enabled .citizen-section-indicator {
        width: 21px;
        height: 21px;
    }
    .citizen-sections-enabled .citizen-section-heading .mw-headline {
        padding-left: 25px;
    }
}

.citizen-sections-enabled .citizen-section-heading--collapsed .citizen-section-indicator {
    background: #000000;
    opacity: 50%;
    box-shadow: unset;
    transition: 0.3s;
}

.citizen-section-collapsible p {
    margin-bottom: 1.5em;
    margin-top: 0px;
}

/* Begin Заголовки стиль
Shegare */

/* Begin Подзаголовки стиль
Shegare */

/*.citizen-section-collapsible > h2, h3, h4, h5, h6 {
    border-bottom: 2px dashed #5d5d5d;
    width: fit-content;
}*/

/* Begin Подзаголовки стиль
Shegare */


/*-----------------------------------------------------------------------------------------------------------------------------------*/


/* Начальный размер блока лого */
.citizen-header__logo {
    height: 89px;
}

/* Анимация появления второго лого */
.logo2 img {
  opacity: 0;
  animation: animOpacity 0.5s forwards;
}
@keyframes animOpacity {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

/* Обводка вокруг лого */
.logo1:hover, .logo2:hover {
    background: #ffffff26;
    border-radius: 15px;
}

/* Лого на экранах меньше 1120px */
@media screen and (max-width: 1119px) {
    .citizen-header__logo {
        display: flex;
        height: auto;
        width: 89px;
    }
    .logo1 {
        margin-right: 3px;
    }
}
@media screen and (min-width: 1120px) {
    .logo1 {
        margin-bottom: 3px;
    }
}

/* End Лого стили
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin элементы таблицы "|" не подсвечиваются при наведении
Shegare */

:root.skin-citizen-dark {
	--background-color-quiet--hover: unset
}

/* End элементы таблицы "|" не подсвечиваются при наведении
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin header не скрывается
Shegare */

@media screen and (max-width: 1119px) {
    .citizen-scroll--down .citizen-header {
        transform: unset;
    }
}

/* End header не скрывается
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin TooltipTable
Shegare */

.citizen-overflow--right {
    -webkit-mask-image: unset;
}

@media screen and (min-width: 1421px) {
    .citizen-table-wrapper {
        overflow: unset;
    }
}

@media screen and (max-width:1421px) {
        .citizen-table-wrapper,
        .citizen-overflow--left.citizen-overflow--right,
        .citizen-overflow--left,
        .citizen-overflow--right {
                -webkit-mask-image: unset;
                overflow: auto;
        }
}

/* End TooltipTable
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin Отмена пикселизации
Shegare */

.citizen-header__logo img, .logo img {
      image-rendering: unset;
}
.nopixelated img {
  image-rendering: unset;
}

/* End оформление заголовков
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin mobile_bigtable
Shegare */

@media screen and (max-width: 1025px) {
    mobile_bigtable {
        font-size: 16px;
    }
}
@media screen and (max-width: 1024px) {
    mobile_bigtable {
        font-size: 10px;
    }
}

/* Begin mobile_bigtable
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin главное меню
Данте ( и немного Shegare >w< )
*/

/* Общее форматирование ячеек таблицы */
.standard-link th,
.standard-link td {
    vertical-align: middle;
    border: 2px solid black;
    background-color: #212126;
}

/* Скругление углов только у первой и последней ячеек в строке заголовка */
.standard-link th {
    border-radius: 15px 0 0 15px;
}

/* Форматирование ссылок в заголовках таблицы */
.standard-link th a {
    margin: 7px;
}

/* Форматирование ссылок в ячейках таблицы */
.standard-link td a {
    margin: 5px 10px;
    padding: 17px;
}

/* Общие стили для всех ссылок */
.standard-link a {
    text-decoration: none;
    font: small-caps bold 25px sans-serif;
    color: #ffffff;
    border: 2px solid black;
    display: flex;
    align-items: center;
    background-color: #141417;
    transition: background-color 1.0s ease, border-color 1.0s ease, color 1.0s ease;
}

/* Стили для мобильных устройств */
@media screen and (max-width:850px) {
    .standard-link a {
        transition: none;
    }
    .standard-link td {
    border-radius: 0px 15px 15px 0px;
    }
}

/* Стили при наведении курсора на строку таблицы */
.standard-link tr:hover a {
    background-color: black;
    color: #fff;
    border-color: #e23229;
}

/* End главное меню
Данте ( и немного Shegare >w< )
*/
/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Данте Морпехи */
/* Основные стили для контейнера меню */
.main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Общие стили для секций меню */
.menu-section {
    flex-basis: 23%;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    background-color: #14171f; /* Фон не покрашенных блоков */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Уменьшенная белая обводка для блоков */
}

/* Индивидуальные цвета для секций */
.marines-section {
    background-color: #222424;
}

.xenos-section {
    background-color: #2b2e44;
}

.other-section {
    background-color: #341d1d; /* Цвет для блока "Другие фракции" */
}

/* Стили для заголовков секций */
.menu-section h3 {
    padding: 5px;
    margin: 0;
    font-size: 18px;
    text-align: center;
    color: #fff;
}

/* Стили для списка */
.menu-section ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
}

/* Стили для элементов списка */
.menu-section ul li {
    margin: 10px 0;
    text-align: center;
}

/* Стили для кнопок (ссылок) */
.menu-section ul li a {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    background-color: #1a1e29; /* Цвет фона кнопок */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Обводка для кнопок */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.menu-section ul li a:hover {
    background-color: #666;
    border-color: rgba(255, 255, 255, 0.5); /* Обводка при наведении */
}

/* Стили для секции с картами */
.maps-section {
    color: white; /* Устанавливаем белый цвет текста для всей секции */
}

.maps-section ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Отступы между картами */
    padding: 0;
    margin: 0;
}

/* Стили для секции с картами */
.maps-section {
    color: white !important; /* Добавление !important */
}

.maps-section ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Отступы между картами */
    padding: 0;
    margin: 0;
}

/* Стили для элементов списка в секции карт */
.maps-section ul li {
    flex-basis: 48%; /* Уменьшаем до 48%, чтобы уместить 2 карты в ряд с отступами */
    list-style: none; /* Убираем маркеры списка */
}

/* Стили для ссылок в секции карт */
.maps-section ul li a {
    display: block;
    padding: 10px;
    background-color: #1a1e29; /* Цвет фона кнопок в секции карт */
    color: white !important; /* Устанавливаем белый цвет текста */
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Обводка для кнопок */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.maps-section ul li a:hover {
    background-color: #666; /* Цвет фона при наведении на ссылку в секции карт */
    border-color: rgba(255, 255, 255, 0.5); /* Обводка при наведении */
}

/* Убираем иконку внешней ссылки в блоке карт */
.maps-section ul li a::after {
    content: none !important; /* Убираем псевдоэлемент */
}



/* Стили для контейнера заголовка */
.header-container {
    display: flex;
    align-items: center;
    background-color: #1b1e26;
    padding: 20px 30px;
    border-radius: 8px;
}

/* Стили для логотипа */
.logo img {
    border-radius: 50%;
    width: 100px;
    height: auto;
}

/* Стили для текста заголовка */
.title-text {
    margin-left: 30px;
    color: #ffffff;
}

.title-text h1 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
}

.title-text p {
    margin: 5px 0 0;
    font-size: 18px;
}

/* Стили для разделителя */
.separator {
    border-bottom: 2px solid #A9A9A9;
    margin: 10px 0 20px;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 599px) {
    .main-container {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-section {
        flex-basis: 100%;
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .menu-section ul {
        flex-grow: 1;
        justify-content: space-between;
        padding: 0;
    }

    .menu-section ul li {
        flex-grow: 1;
        width: 100%;
        text-align: center;
        margin-bottom: 10px; /* Отступы между элементами */
    }

    .menu-section ul li a {
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .maps-section ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .maps-section ul li {
        flex-basis: 48%; /* Карты будут располагаться по 2 на ряд */
        margin-bottom: 10px; /* Отступы между картами */
    }

    .header-container {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .logo img {
        width: 80px;
    }

    .title-text {
        margin-left: 0;
        margin-top: 10px;
    }

    .title-text h1 {
        font-size: 24px;
    }

    .title-text p {
        font-size: 16px;
    }
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* код оформление для Командование и тд Данте! */
/* Контейнер для карточек */
.command-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* Основные стили карточек */
.card {
    background-color: #2b2b2b; /* Темный фон карточки */
    border-radius: 10px;
    width: 220px;
    height: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Элементы начинают сверху */
    align-items: center;
    padding: 8px; /* Уменьшаем padding */
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid transparent;
    color: #ffffff; /* Белый текст */
    overflow: hidden; /* Скрываем все, что выходит за пределы карточки */
}

/* Цветные обводки для разных ролей */
.card.Captain {
    border-color: #B0B7C3; /* Серебристый для Капитана */
}
.card.HeadOfSecurity {
    border-color: #FF0000; /* Красный для Главы Безопасности */
}
.card.HeadOfPersonnel {
    border-color: #00FF00; /* Зеленый для Главы Персонала */
}
.card.Engineer {
    border-color: #FFA500; /* Оранжевый для Старшего Инженера */
}
.card.Scientist {
    border-color: #800080; /* Фиолетовый для Научного Руководителя */
}
.card.Doctor {
    border-color: #127BB7; /* Синий для Главного Врача */
}
.card.Quartermaster {
    border-color: #FFD700; /* Золотой для Квартирмейстера */
}

/* Стили для текста и заголовков */
.card .role-name {
    font-weight: bold;
    font-size: 1.4em;
    color: #ffffff; /* Белый текст */
    margin-bottom: 3px;
    white-space: normal; /* Разрешить перенос слов */
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center; /* Центрирование текста */
    word-wrap: break-word; /* Перенос слов при необходимости */
    display: grid;
    grid-template-columns: 212px;
    grid-template-rows: 75px;
}
.role-name a {
    color: #ccc;
}

/* Стили для изображения */
.card img {
    max-width: 160px;
    max-height: 160px;
    margin-bottom: 3px; /* Уменьшаем отступ снизу */
}

/* Стили для описания роли */
.card .role-description {
    font-size: 0.9em;
    flex-grow: 1;
    margin: 3px 0; /* Минимальные отступы сверху и снизу */
    color: #dcdcdc; /* Более светлый текст */
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Текст переносится */
}

/* Ссылка на СРП */
.card .role-guide {
    font-size: 0.85em;
    margin-top: 3px; /* Минимальный отступ сверху */
    text-align: center; /* Центрируем текст */
}

.card .role-guide a {
    color: #00bfff; /* Цвет ссылки */
    text-decoration: none;
}

.card .role-guide a:hover {
    text-decoration: underline;
}

/* Hover эффект для карточек */
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/

* { font-family: Arial }

body {
    color: #FAFAFA;
}


img {
    image-rendering: pixelated;
}

.flex-container {
    display: flex;
    align-items: flex-start;
}

.flex-image {
    flex-shrink: 0;
    margin-right: 20px;
}

.flex-image-description {
    flex-grow: 1;
}

.uplinkbuybutton {
    background: #464966;
    width: 62px;
    height: 27px;
    color: white;
    text-align: center;
    font-weight: bolder;
    float: right;
    padding-top: 4px;
    clip-path: polygon(0px 0px, 0px 18px, 9px 27px, 62px 27px, 62px 10px, 53px 0px);
}

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

.tooltiptext {
    position: absolute;
    display: initial;
    z-index: 99999;
    width: 295px;
    left: -120px;
    top: 42px;
    padding: 5px;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    white-space: normal;
    text-align: left;
    transition: all 0.2s;
    border: 1px solid #b80000;
    border-radius: 10px;
    background-color: #24242a;
    box-shadow: 0 0 5px #b80000;
}

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

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

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

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

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

    .job_header {
        float: right;
        width: 25%;
    }
}

@media screen and (max-width: 1420px) {
    .tooltiptext {
        box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
        position: fixed;
        width: 80vw;
        top: 40vh;
        left: 0;
        margin: 0 auto;
        right: 0;
    }
}

@media screen and (max-width: 850px) {
    .nomobile {
        display: none;
    }
    .mobilefont {
        font-size: 80%;
    }
    .mobile_sprite,
    .mobile_text {
        transform: scale(0.75);
    }
}

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

.img_special:hover .hover_img_special {
    display: inline;
}

.img_special:hover .img_spec {
    display: none;
}

.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;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}

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

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

.infobox {
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: 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;
}

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

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

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

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

#p-namespaces {
    float: left;
    width: 100%;
}

p {
    margin-bottom: 1.5em;
}

.infobox-table {
    z-index: 3 !important;
    width: 400px;
    max-width: 100%;
    margin-bottom: 1rem;
    padding-bottom: 20px !important;
    background: hsl(205, 25%, 15%);
    border-radius: 8px;
    border-spacing: 0;
    font-size: 0.875rem;
    text-align: left;
}

.infobox-table tr:not(#infobox-table-img-bg) {
    display: flex;
    margin-top: 10px;
}

.infobox-table th,
.infobox-table td {
    padding: 0 15px !important;
}

.infobox-table th,
th.infobox-table-name {
    color: hsl(205, 80%, 95%);
}

.infobox-table th {
    padding-top: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    text-align: left !important;
}

th.infobox-table-name {
    padding-top: 0 !important;
    border: 0 !important;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.4rem !important;
    line-height: 1.4;
}

.infobox-table-img img {
    max-width: 100%;
    height: auto !important;
}

.infobox-table-img img[src$='.svg'] {
    background: #eaecf0;
}

.infobox-table .image:hover img {
    transform: scale(1.1);
}

.infobox-button {
    display: block;
    width: 100%;
}

.infobox-button > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media only screen and (max-width: 720px) {
    .infobox-table {
        margin-right: auto;
        margin-left: auto;
    }
}


/*-----------------------------------------------------------------------------------------------------------------------------------*/