В четверг, 7 мая, около 16 часов (MSK) регистратор заморозил домен «cyclowiki.org» без уведомления владельцев. Сайт недоступен из большинства стран. Правление изучает возможности решения проблемы.

MediaWiki:Common.css

Материал из Циклопедии
Перейти к навигации Перейти к поиску

Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
  • Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
  • Internet Explorer / Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
  • Opera: Нажмите Ctrl+F5.
/** Размещённый здесь CSS будет применяться ко всем темам оформления */

/* --------------------------------[ SYSTEM ]-------------------------------- */

body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #footer-info-lastmod, 
body.page-Заглавная_страница #siteSub, 
body.page-Заглавная_страница #contentSub, 
body.page-Заглавная_страница .action-view h1.firstHeading {
	display:none !important;
}

h1.glavheader {
	font-family:Candara, sans-serif;
	margin-bottom:4px;
	font-size:350%;
}

/* -----------[ ТЕГИ ]------------ */

pre {display:table;}

blockquote {
	padding:3px 15px !important;
	border:1px solid #e0e0e0;
	display:table;
	float:none;
}

/* -------[ ИДЕНТИФИКАТОРЫ ]------ */

#userSummaryButtonsA a {margin-right:.5em; cursor:pointer;}
#toc {display:inline-block !important;}

/* Предупреждение 18+ в футере */
#footer-places-privacy::before {
	content:"Данный ресурс может содержать материалы 18+";
	margin-right:1em;
	font-size:11px;
}

/* -----------[ КЛАССЫ ]---------- */

.p120				{font-size:120%;}
.invisible			{display:none; speak:none;}
.transparent		{background-color:transparent;}
.skin-cyclone h2	{border-bottom:0!important;}
.skin-vector .main	{margin-top:-6px!important; font-size:95%!important;}
.wp-templatelink	{color:#9098A0;}
.printonly			{display:none;}
.inactive			{cursor:not-allowed; color:#AAA;}

/* убирание отступа от новой строки внутри блоков */
.p-collapse p:first-child {margin-top:0;}
.p-collapse p:last-child  {margin-bottom:0;}

/* слияние границ последовательно идущих блоков (с рамкой 1px) */
.nextblocktopbordercollapse {border-top-width:1px;}
.nextblocktopbordercollapse + .nextblocktopbordercollapse {border-top-width:0;}

/* вложенный блок */
.parent		{padding:0!important;}
.parent > *	{margin: 0!important;}
.parent > table	{width:100%;}
.parent > table[cellspacing="1"]	{margin:-1px!important;width:calc(100% + 2px);}
.parent > table[cellspacing="2"]	{margin:-2px!important;width:calc(100% + 4px);}
.parent > table[cellspacing="3"]	{margin:-3px!important;width:calc(100% + 6px);}
.child		{margin:0!important; border:0!important;}

/* сворачиваемые блоки */
.mw-collapsible .mw-collapsible-toggle {
	padding:0 0 0 .2em!important;
	font-weight:normal!important;
	font-size:smaller!important;
}

/* скобки */
.br-r:before  {content:"(";}
.br-r:after   {content:")";}
.br-s:before  {content:"[";}
.br-s:after   {content:"]";}
.br-ds:before {content:"[[";}
.br-ds:after  {content:"]]";}
.br-f:before  {content:"{";}
.br-f:after   {content:"}";}
.br-df:before {content:"{{";}
.br-df:after  {content:"}}";}

/* знак вопроса в пустых блоках */
.empty_q:empty {
	text-decoration:1px dotted underline;
	text-align:center;
	color:#AAA;
}
.empty_q:empty:after {
	content:"?";
}

/* sectiondetect — разное содержимое в преамбуле и разделах */

.sectiondetect .sectds,
h1 ~ .sectiondetect .sectdp,
h2 ~ .sectiondetect .sectdp,
h3 ~ .sectiondetect .sectdp,
h4 ~ .sectiondetect .sectdp,
h5 ~ .sectiondetect .sectdp,
h6 ~ .sectiondetect .sectdp,
.mw-parser-output h1:last-of-type ~ .sectiondetect .sectds,
.mw-parser-output h2:last-of-type ~ .sectiondetect .sectds,
.mw-parser-output h3:last-of-type ~ .sectiondetect .sectds,
.mw-parser-output h4:last-of-type ~ .sectiondetect .sectds,
.mw-parser-output h5:last-of-type ~ .sectiondetect .sectds,
.mw-parser-output h6:last-of-type ~ .sectiondetect .sectds {display:none;}

.sectiondetect .sectdp,
h1 ~ .sectiondetect .sectds,
h2 ~ .sectiondetect .sectds,
h3 ~ .sectiondetect .sectds,
h4 ~ .sectiondetect .sectds,
h5 ~ .sectiondetect .sectds,
h6 ~ .sectiondetect .sectds,
.mw-parser-output h1:last-of-type ~ .sectiondetect .sectdp,
.mw-parser-output h2:last-of-type ~ .sectiondetect .sectdp,
.mw-parser-output h3:last-of-type ~ .sectiondetect .sectdp,
.mw-parser-output h4:last-of-type ~ .sectiondetect .sectdp,
.mw-parser-output h5:last-of-type ~ .sectiondetect .sectdp,
.mw-parser-output h6:last-of-type ~ .sectiondetect .sectdp {display:unset;}

/* -----------------------------[ ИСПРАВЛЕНИЯ ]------------------------------ */

/* Исправления съезжания видео в шаблоне {{Youtube}} */
div.thumbimage iframe {display:block;}

a.image {white-space:nowrap;} /* убирание переноса строки после inline-картинки перед неразрывным пробелом */

/* Ненужная мишура со Склада */
div.description, #template-picture-of-the-day, #accessments, .layouttemplate { display:none; }
div.description.ru, .layouttemplate.licensetpl { display:block; }

/* Местные попытки исправления несуразностей испорченных стилей */
.tleft	{margin-right:1em; margin-left:0;}
.tright	{margin-right:0;   margin-left:1em;}
.tnone	{margin-right:0;   margin-left:0;}

/* Неразрывные пробелы в горизонтальных списках */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
	white-space:nowrap;
}

/* Но где-то неразрывность надо сбросить (например, в навшаблонах в узких местах) */
.wrap,
.wraplinks a,
.wraplinks .selflink,
.hlist-items-nowrap dl dl, .hlist-items-nowrap dl ol, .hlist-items-nowrap dl ul, /* Allow nested lists to wrap anyway */
.hlist-items-nowrap ol dl, .hlist-items-nowrap ol ol, .hlist-items-nowrap ol ul,
.hlist-items-nowrap ul dl, .hlist-items-nowrap ul ol, .hlist-items-nowrap ul ul {
	white-space:normal;
}

/* Кнопка [править] справа в разделах статей */
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
  overflow:hidden;
}
h1 span.mw-editsection,
h2 span.mw-editsection,
h3 span.mw-editsection,
h4 span.mw-editsection,
h5 span.mw-editsection,
h6 span.mw-editsection {
  margin-left:0 !important;
  line-height:inherit;
  font-size:inherit;
  padding-right:3px;
  padding-top:0;
  float:right;
}
span.mw-editsection a,
span.mw-editsection span.mw-editsection-bracket {
  font-size:small;
}
/* фикс для темы Timeless  */
h2 span.mw-editsection {
  margin-top:-2px;
}
.mw-body-content h1:after,
.mw-body-content h2:after {
  clear:right;
}

/* ---------[ КООРДИНАТЫ ]-------- */

#coordinates, .coordinates {
	text-transform:none;
	padding:0;
	margin:0;
}
.coordinates {  
	position:absolute !important;
	margin-top:-18px !important;
	white-space:nowrap;
	line-height:1.5em;
	text-align:right;
	font-size:85%;
	float:right;
	right:1em;
	z-index:1;
}
.geo-google, .geo-osm, .geo-yandex {
	font-family:serif;
	font-weight:bold;
	line-height:1em;
}
.geo-geo-dec .geo-dec,
.geo-geo-dms .geo-dms	{display:inline;}
.geo-geo-dec .geo-dms,
.geo-geo-dms .geo-dec,
.geo-multi-punct	{display:none;}
.geo-lat, .geo-lon	{white-space:nowrap;}

i.geo-lat, i.geo-lon {font-style:normal;}

/* -------------------------------[ ТАБЛИЦЫ ]-------------------------------- */

/* Оформление таблиц */
table.standard,
table.wide {
  border-collapse:collapse;
  border:1px solid #AAA;
}
table.wikitable,
table.prettytable {
  border-collapse:collapse;
  border:1px solid #AAA;
  margin:1em 1em 1em 0;
  background:#F9F9F9;
}
table.graytable {
  background:#f0f0f0;
  padding:1em;
}
table.wide,
table.graytable {
  width:100%;
}

/* Заголовки таблиц */
table.tiles caption,
table.standard caption,
table.wide caption {
  padding-bottom:.2em;
  font-weight:bold;
  padding-top:.2em;
}
table.wikitable caption,
table.prettytable caption {
  margin-right:inherit;
  margin-left:inherit;
  font-weight:bold;
  font-size:larger;
}
table.graytable caption {
  background:#f0f0f0;
  font-weight:bold;
  padding-top:.5em;
}
table.graytable caption span.subcaption {
  font-weight:normal;
  font-size:88.5%;
}

/* Ячейки таблиц */
table.wikitable th,
table.wikitable td,
table.prettytable th,
table.prettytable td {
  border:1px solid #AAA;
  padding:.2em;
}
table.prettytable th {
  background:#f2f2f2;
}
table.wide th,
table.standard th,
table.wikitable th {
  border:1px solid #AAA;
  background-color:#EEF;
  padding-right:.2em;
  padding-left:.2em;
}

table.wide td,
table.standard td {
  border:1px solid #AAA;
  padding-right:.2em;
  padding-left:.2em;
}
table.graytable th,
table.graytable td {
  font-size:88.5%;
}

/* Оформление ячеек */
table th.highlight {
  background-color:#EEF;
}
table td.highlight {
  background-color:#FFE;
}
table th.bright {
  background-color:#CCF;
}
table td.bright {
  background-color:#FEC;
}
table th.shadow,
table td.shadow {
  background-color:#F0F0F0;
}
table th.dark,
table td.dark {
  background-color:#CCC;
}
table th.transparent,
table td.transparent {
  background-color:transparent;
}

/* Таблицы разное */
table.toccolours th {
  background-color:#ccf;
}

/* table’s class="infobox" */
.infobox {
	vertical-align:middle;
	border:1px solid #aaa;
	background:#f9f9f9;
	margin-bottom:.5em;
	line-height:1.5em;
	margin-left:1em;
	text-align:left;
	font-size:88%;
	padding:.4em;
	float:right;
	clear:right;
	width:22em;
}
.infobox > caption {
	font-weight:bold;
	font-size:125%;
	padding:3px;
}
.infobox > tbody > tr > td,
.infobox > tbody > tr > th {
	vertical-align:top;
	padding:0 3px 1px;
}
.infobox > tbody > tr > th:first-child {
	padding-left:1px;
	width:40%;
}
.infobox > tbody > tr > td:last-child {
	padding-right:0;
	width:auto;
}
.infobox > tbody > tr > th:only-child,
.infobox > tbody > tr > td:only-child {
	text-align:center;
	padding:0 3px 1px;
	width:auto;
}
.infobox > tbody > tr > th[style*="background"],
.infobox > tbody > tr > td[style*="background"] {
	padding:0 3px 1px;
}
.infobox > tbody > tr > th.infobox-above {
	font-size:120%;
	padding:3px;
}
.infobox > tbody > tr > td.infobox-image,
.infobox > tbody > tr > td.infobox-navbar {
	padding:0;
	border:0;
}
.infobox-image > .thumbcaption {
	text-align:center;
	line-height:1.3em;
}
.infobox-subheader {
	font-style:oblique;
}
.infobox-navbar {
	line-height:1.4em;
}
.infobox dt,
.infobox dd,
.infobox li {
	text-align:left;
}
.infobox dl,
.infobox dt,
.infobox li {
	margin:0;
}
.infobox dd,
.infobox ol,
.infobox ul {
	margin:0 0 0 1em;
}
.infobox td p:first-child {margin-top:0;}
.infobox td p:last-child  {margin-bottom:0;}

/* Для трёхколоночной карточки */
.infobox3 > tbody > tr > th:first-child,
.infobox3 > tbody > tr > td:first-child,
.infobox3 > tbody > tr > td:first-child + td {
	width:33%;
}

/* цветные ячейки статусов в таблицах */

td.c_y,  td.c_y1, td.c_y2,
td.c_wo, td.c_wn, td.c_nm,
td.c_na, td.c_un, td.c_u2,
td.c_fr, td.c_dp, td.c_lk,
td.c_n,  td.c_n1, td.c_n2,
td.c_sm, td.c_p1, td.c_wt,
td.c_cl, td.c_pr, td.c_sl,
td.c_tb, td.c_y3 {
	vertical-align:middle;
	text-align:center;
	color:#000;
}
td.c_nm, td.c_n1,
td.c_n2 {background:#fdd;}
td.c_p1, td.c_wt,
td.c_sm {background:#ffd;}
td.c_un,
td.c_u2 {background:#e4e4e4;}
td.c_dp,
td.c_cl {background:#FED;}
td.c_y3,
td.c_y1 {background:#dfd;}
td.c_y  {background:#90ff90;}
td.c_y2 {background:#bfd;}
td.c_wo {background:#98FB98;}
td.c_wn {background:#cfc;}
td.c_fr {background:#9ff;}
td.c_lk {background:#eec;}
td.c_n  {background:#ff9090;}
td.c_pr {background:#ffc65d;}
td.c_sl {background:#f0e68c;}
td.c_tb {background:#DDF;}
td.c_na {background:#ececec; color:grey;}

td.c_y3 > span:first-child:empty:after,
td.c_y  > span:first-child:empty:after {content:"Да";}
td.c_n  > span:first-child:empty:after {content:"Нет";}
td.c_un > span:first-child:empty:after {content:"Неизвестно";}
td.c_sm > span:first-child:empty:after {content:"Частично";}
td.c_wt > span:first-child:empty:after {content:"Ожидается";}
td.c_cl > span:first-child:empty:after {content:"Прекращено";}
td.c_fr > span:first-child:empty:after {content:"Бесплатно";}
td.c_pr > span:first-child:empty:after {content:"Проприетарная";}
td.c_dp > span:first-child:empty:after {content:"Зависит";}
td.c_wo > span:first-child:empty:after,
td.c_wn > span:first-child:empty:after {content:"Победа";}
td.c_nm > span:first-child:empty:after {content:"Номинация";}
td.c_sl > span:first-child:empty:after {content:"В шорт-листе";}
td.c_y1 > span:first-child:empty:after {content:"+";}
td.c_n1 > span:first-child:empty:after {content:"−";}
td.c_lk > span:first-child:empty:after {content:"−/+";}
td.c_p1 > span:first-child:empty:after {content:"+/−";}
td.c_u2 > span:first-child:empty:after {content:"?";}
td.c_na > span:first-child:empty:after {content:"N/A"; font-size:small;}
td.c_tb > span:first-child:empty:after {content:"TBA";
	text-decoration:underline;
	text-decoration-style:dotted;
}

/* Информация о файле */

table#fileinfo {
	border-spacing:2px;
	margin:.25em auto;
	display:table;
	width:100%;
}
table#fileinfo > tbody > tr > th {
	width:1px;
}
table#fileinfo > tbody > tr > td {
	background:transparent;
	empty-cells:show;
	text-align:left;
	padding:0 .25em;
}
table#fileinfo > tbody > tr > td:empty {
	white-space:pre-wrap;
}
table#fileinfo > tbody > tr > th,
table#fileinfo > tbody > tr > td:empty {
	border:1px solid #e3e3b0;
	text-align:center;
	background:#ffe;
	padding:.5em;
}
table#fileinfo > tbody > tr > td > :last-child {
	margin-bottom:0!important;
}
table#fileinfo > tbody > tr:first-child > th:empty:before {
	content:"Описание";
}
table#fileinfo > tbody > tr:first-child + tr > th:empty:before {
	content:"Автор";
}
table#fileinfo > tbody > tr:first-child + tr + tr > th:empty:before {
	content:"Время" "\A0" "создания";
}
table#fileinfo > tbody > tr:first-child + tr + tr + tr > th:empty:before {
	content:"Источник";
}
table#fileinfo > tbody > tr:first-child + tr + tr + tr + tr > th:empty:before {
	content:"Лицензия";
}
table#fileinfo > tbody > tr:first-child + tr + tr + tr + tr + tr > th:empty:before {
	content:"Другие" "\A0" "версии";
}
table#fileinfo > tbody > tr:first-child > td:empty:before {
	content:"У этого файла отсутствует описание." "\A" "Изображение (файл) должно иметь описание для информирования других участников о содержании," "\20" "авторе," "\20" "источнике и дате," "\20" "если это возможно.";
}
table#fileinfo > tbody > tr:first-child + tr > td:empty:before {
	content:"В предоставленных данных не хватает информации об авторстве этого файла.";
}
table#fileinfo > tbody > tr:first-child + tr + tr > td:empty:before {
	content:"Для этого файла не указано его время создания.";
}
table#fileinfo > tbody > tr:first-child + tr + tr + tr > td:empty:before {
	content:"У этого файла отсутствует информация об источнике." "\A" "Пожалуйста," "\20" "укажите необходимый источник.";
}
/* + несвободный файл */
table.fileinfonf > tbody > tr:first-child > td:empty,
table.fileinfonf > tbody > tr:first-child + tr > td:empty,
table.fileinfonf > tbody > tr:first-child + tr + tr + tr > td:empty {
	border:1px solid #f00!important;
	background:#fcc!important;
}
table.fileinfonf > tbody > tr:first-child > td:empty:after,
table.fileinfonf > tbody > tr:first-child + tr > td:empty:after,
table.fileinfonf > tbody > tr:first-child + tr + tr + tr > td:empty:after {
	content:"\A" "\20" "Эта информация является обязательной для выполнения критериев добросовестного использования.";
}
table.fileinfonf > tbody > tr:first-child + tr > th:empty:after {
	content:"\20" "или правообладатель";
}

/* --------------------------------[ СПИСКИ ]-------------------------------- */

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 9 (2016-08-10)
   @author [[User:Edokter]]
 */
.hlist dl,
.hlist.hlist ol,
.hlist.hlist ul {
	padding:0;
	margin:0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	display:inline;
	margin:0;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
	display:inline;
}
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
	display:none;
}
/* Generate bullets */
.hlist dt:after {
	content: ": ";
}
.hlist dd:after,
.hlist li:after {
	content: "\00a0• ";
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
	content:none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
	font-weight:normal;
	content: " (";
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
	font-weight:normal;
	content: ")";
}
.hlist dd dd:first-child > a, .hlist dd dt:first-child > a, .hlist dd li:first-child > a,
.hlist dt dd:first-child > a, .hlist dt dt:first-child > a, .hlist dt li:first-child > a,
.hlist li dd:first-child > a, .hlist li dt:first-child > a, .hlist li li:first-child > a {
	padding-left:.05em;
}
.hlist dd dd:last-child > a, .hlist dd dt:last-child > a, .hlist dd li:last-child > a,
.hlist dt dd:last-child > a, .hlist dt dt:last-child > a, .hlist dt li:last-child > a,
.hlist li dd:last-child > a, .hlist li dt:last-child > a, .hlist li li:last-child > a {
	padding-right:.05em;
}

/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset:listitem;
}
.hlist ol > li {
	counter-increment:listitem;
}
.hlist ol > li:before {
	content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}

/* Немаркированные списки */

.plainlist dl,
.plainlist ul,
.plainlist ol:not(.references) {
	list-style:none none;
	line-height:inherit;
	margin:0;
}

.plainlist dl dt,
.plainlist dl dd,
.plainlist ul li,
.plainlist ol:not(.references) li {
	margin:0;
}
.plainlist dl dt:after {
	content: ": ";
}

/* {{Comma separated entries}} */
.list-comma > i {font-style:normal;}
.list-comma > i:empty {display:none;}
.list-comma > i + i:before {content:'\002c\0020';}
.list-comma > i:first-child:before,
.list-comma > i:first-child:empty + i:before,
.list-comma > i:first-child:empty + i:empty + i:before {content:'';}

/* список с фиксированными колонками 320px */
.fixcollist320 {
	-webkit-column-width:320px;
	-webkit-column-gap:.2em;
	-moz-column-width:320px;
	-moz-column-gap:.2em;
	column-width:320px;
	column-gap:.2em;
	padding:2px .5em;
	display:block;
}
.fixcollist320 > ul,
.fixcollist320 > ul > li > ul {
	list-style-image:none;
	list-style-type:none;
	margin:0;
}
.fixcollist320 > ul > li {
	text-overflow:ellipsis;
	overflow:hidden;
	max-width:100%;
}
.fixcollist320 > ul > li > ul,
.fixcollist320 > ul > li > ul > li {display:inline;}
.fixcollist320 > ul > li > ul {white-space:nowrap;font-size:90%;}
.fixcollist320 > ul > li > ul > li:first-child:before {content:" (\200A";}
.fixcollist320 > ul > li > ul > li:after              {content:"; ";}
.fixcollist320 > ul > li > ul > li:last-child:after   {content:"\200A)";}

/* ===============================[ ШАБЛОНЫ ]================================ */

/* {{word sense}} */
.disambig-item				{ clear:both; }
.disambig-item-d			{ float:left; padding-top:4px; }
.disambig-item-img			{ width:80px; border:4px double lightBlue; margin-right:5px; }
.disambig-item-img a		{ border: none !important }
.disambig-item-text			{ margin-left:93px; padding:.6em inherit inherit 1em; overflow:hidden; }
.disambig-item-definition	{ font-style:italic; margin-top:.4em; }

i.ref-info {
	font-style:normal;
	margin-left:.25em;
	font-size:85%;
	cursor:help;
	color:#888;
}
i.ref-info:before	{content:"(";}
i.ref-info:after	{content:")";}
i.ref-info.sq:before	{content:"[";}
i.ref-info.sq:after	{content:"]";}

/* ВИДЕОГАЛЕРЕЯ */

table.videogallery {
	background-color:inherit;
	border:1px solid #CCC;
	margin:auto;
}
table.videogallery > tbody > tr > td {
	vertical-align:top;
}
table.videogallery + br {
	line-height:0;
}

/* {mbox} */
table.mbox {
	border-collapse:collapse;
	border:1px solid #AAA;
	background:#f6f6f6;
	margin:1px auto;
	clear:both;
	width:80%;
}
table.mbox-mini {
	margin:0 0 .5em 1em;
	float:right;
	clear:right;
	width:20%;
}
table.mbox > tbody > tr > td,
table.mbox > tbody > tr > th {
	background:transparent;
	vertical-align:middle;
	padding:.25em .5em;
	border:0;
}
table.mbox > tbody > tr > td {
	text-align:left;
}
table.mbox > tbody > tr > th {
	text-align:center;
	height:40px;
	width:40px;
}
table.mbox > tbody > tr > th:first-child {
	padding-right:2px;
}
table.mbox > tbody > tr > td + th {
	padding-left:2px;
}
table.mbox > tbody > tr > td > div {
	line-height:1.4em;
	font-size:smaller;
	margin:.1em 0;
}
table.mbox > tbody > tr > td > div:empty {
	display:none;
}
table.mbox > tbody > tr > td > div:first-child,
table.mbox > tbody > tr > td > div:first-child + div {
	font-size:100%;
	margin:.2em 0;
}
table.mbox > tbody > tr > td > div:first-child:empty + div:empty + div:empty + b:after {
	content:"Параметры «text» и «text-small» не заданы…";
	color:#AAA;
}
table.ambox		{border-left-color:#1E90FF;}
table.mbox-speedy,
table.mbox-warning,
table.mbox-serious,
table.mbox-delete	{border-color:#B22222; background:#FFE4E1;}
table.mbox-content	{border-color:#F28500; background:#FAEBD7;}
table.mbox-style	{border-color:#F4C430; background:#FFE;}
table.mbox-featured,
table.mbox-good		{border-color:#6C4; background:#CEFFBE;}
table.mbox-discussion,
table.mbox-talk		{border-color:#396; background:#F0FFF0;}
table.mbox-editnotice,
table.mbox-notice	{border-color:#8BCBFF; background:#F0F8FF;}
table.mbox-move,
table.mbox-merge	{border-color:#9932CC; background:#E6E6FA;}
table.mbox-system,
table.mbox-protection	{border-color:#BBA; background:#f6f6f6;}
table.mbox-license	{border-color:#88A; background:#f6f6f6;}
table.imbox		{border-width:2px; background:#f6f6f6;}
table.tmbox		{background:#FFE;}
table.ombox		{background:#f6f6f6;}
table.cmbox		{border-color:#8BCBFF; background:#F0F8FF;}
table.mbox-warning,
table.mbox-speedy	{border-color:#B22222;}
table.ambox {
	border-bottom-color:#AAA;
	border-right-color:#AAA;
	border-left-width:10px;
	border-top-color:#AAA;
	background:#FFF;
	margin:0 auto;
}
table.ambox + table.ambox	{border-top-width:0;}
table.ambox + :not(table.ambox)	{margin-top:.25em;}
table.ambox + table.mbox-mini	{border-top-width:1px; margin-top:1px;}
table.mbox-warning,
table.mbox-speedy	{background:#FFE4E1;}

/* Плашка «Источник статьи» */
table.smbox {
	border-color:#AAB #AAB #AAB #999;
	border-width:1px 1px 1px 10px;
	margin:.7em auto 1px;
	border-style:solid;
	line-height:1.3em;
	border-spacing:0;
	font-size:90%;
	clear:both;
	width:80%;
}
table.smbox > tbody > tr > th,
table.smbox > tbody > tr > td {
	vertical-align:middle;
	padding:4px;
}
table.smbox > tbody > tr > th {
	font-weigth:normal;
	text-align:center;
	width:1px;
}
table.smbox > tbody > tr > td {
	text-align:left;
}
table.smbox > tbody > tr > td > b {
	white-space:nowrap;
	color:#222;
}
table.smbox table.smbox-l {
	background:transparent;
	border-spacing:0;
	border:0;
}
table.smbox table.smbox-l > tbody > tr > td:first-child {
	white-space:nowrap;
	vertical-align:top;
	padding:0 .5em;
	width:1px;
}
table.smbox table.smbox-l > tbody > tr > td:last-child {
	word-break:break-all;
	vertical-align:top;
	font-style:italic;
	font-size:95%;
	padding:0;
}
table.smbox i.c {
	font-style:normal;
	cursor:help;
}
table.smbox > tbody > tr > td > p:first-child {margin-top:0;}
table.smbox > tbody > tr > td > p:last-child  {margin-bottom:0;}
table.smbox + table.smbox {margin-top:1px;}

/* Шаблоны Summary */

/* summary карточка */

div.p-summary {
	width:320px!important;
	float:right;
	clear:right;
}

div.p-summary,
div.summarybox {
	padding:0 .5em 0 .6em;
	border-width:0 0 0 3px;
	margin:0 0 1em 1em;
}

/* summarybox */

div.summarybox .p-summary-title a,
div.summarybox .p-summary-title a:link,
div.summarybox .p-summary-title a:active,
div.summarybox .p-summary-title a:hover,
div.summarybox .p-summary-title a:visited,
div.summarybox .p-summary-title a:focus {
	color:inherit;
}

/* summarylist */

div.summarylist {
	border-width:3px 0 1px;
	padding:.3em 2em .5em;
	margin:1em auto;
	width:80%;
}

div.p-summary,
div.summarybox,
div.summarylist,
div.summarylist > table,
div.summarylist > table > caption,
div.summarylist > table > tbody > tr > th,
div.summarylist > table > tbody > tr > td {
	background:transparent;
	border-style:solid;
	border-color:#000;
}

/* summary title */

div.p-summary strong.p-summary-title,
div.summarylist strong.p-summary-title {
	font-size:large;
	padding:.2em 0;
}

/* summary subtitle */

div.p-summary div.p-summary-tools,
div.summarylist div.p-summary-tools {
	padding:.1em 0 .26em;
}

.p-summary-tools,
.p-summary-tools *,
.p-summary-tools a,
.p-summary-tools a:link,
.p-summary-tools a:active,
.p-summary-tools a:hover,
.p-summary-tools a:visited,
.p-summary-tools a:focus {
	list-style-image:none;
	list-style-type:none;
	font-weight:normal;
	line-height:9pt;
	font-size:9pt;
	color:#aaa;
}

.p-summary-tools a {
	border-bottom:none!important;
}

.p-summary-tools b {
	font-weight:bold;
}

/* summary блоки */

div.p-summary strong.p-summary-title,
div.summarylist strong.p-summary-title,
div.p-summary strong.p-summary-section,
div.summarylist strong.p-summary-section {
	display:block;
}

div.summarylist,
div.p-summary dl,
div.summarylist dl,
div.summarylist hr,
div.p-summary dl > dt,
div.summarylist dl > dt,
div.summarylist > table,
div.p-summary div.p-summary-line,
div.p-summary div.p-summary-cells,
div.p-summary div.p-summary-tools,
div.summarylist div.p-summary-line,
div.summarylist div.p-summary-cells,
div.summarylist div.p-summary-tools,
div.p-summary strong.p-summary-title,
div.summarylist strong.p-summary-title,
div.p-summary strong.p-summary-section,
div.summarylist strong.p-summary-section {
	clear:both;
}

div.p-summary,
div.summarylist,
div.summarybox strong.p-summary-title {
	line-height:1.1;
}

div.p-summary div.p-summary-image,
div.summarylist strong.p-summary-title,
div.p-summary strong.p-summary-section,
div.summarylist strong.p-summary-section {
	text-align:center;
}

div.p-summary dt,
div.p-summary dd,
div.summarylist dt,
div.summarylist dd,
div.p-summary div.p-summary-line,
div.summarylist > table > caption,
div.summarybox div.p-summary-line,
div.p-summary div.p-summary-cells,
div.summarylist div.p-summary-line,
div.summarylist div.p-summary-cells,
div.p-summary strong.p-summary-section,
div.summarylist strong.p-summary-section,
div.summarylist > table > tbody > tr > th,
div.summarylist > table > tbody > tr > td {
	border-top:1px solid #ddd;
	padding-bottom:.3em;
	padding-top:.35em;
	position:relative;
	overflow:hidden;
}

div.p-summary dt,
div.p-summary dd,
div.summarylist dt,
div.summarylist dd,
div.p-summary div.p-summary-line,
div.summarylist > table > caption,
div.summarylist div.p-summary-line,
div.p-summary-cells > div:last-child,
div.p-summary-cells > div:first-child,
div.p-summary strong.p-summary-section,
div.summarylist strong.p-summary-section,
div.summarylist > table > tbody > tr > th,
div.summarylist > table > tbody > tr > td {
	padding-right:4px;
	padding-left:4px;
}

div.p-summary dl,
div.p-summary dt,
div.p-summary dd,
div.summarybox dl,
div.summarylist dl,
div.summarylist dt,
div.summarylist dd,
div.p-summary-cells > div:last-child,
div.p-summary-cells > div:first-child,
div.summarylist strong.p-summary-title {
	margin:0;
}

/* убирание отступа при переносе строки */

div.p-summary dd > p:first-child,
div.summarylist dd > p:first-child,
div.p-summary-line > p:first-child,
div.p-summary-cells > div:last-child > p:first-child,
div.p-summary-cells > div:first-child > p:first-child {
	margin-top:0;
}

div.p-summary dd > p:last-child,
div.summarylist dd > p:last-child,
div.p-summary-line > p:last-child,
div.p-summary-cells > div:last-child > p:last-child,
div.p-summary-cells > div:first-child > p:last-child {
	margin-bottom:0;
}

/* summary 2 колонки */

div.p-summary-cells > div:only-child {
	width:calc( 100% - 8px )!important;
}

div.p-summary dt,
div.summarylist dt,
div.p-summary-cells > div:first-child {
	float:left;
}

div.p-summary-cells > div:first-child {
	border-right:1px solid #ddd;
}

div.p-summary dd,
div.summarylist dd,
div.p-summary-cells > div:last-child {
	border-right:0!important;
	float:right;
	clear:none;
}
/* ( 320 / 2 ) - 4 - ( 4 * 2 ) */
div.p-summary dt,
div.p-summary dd,
div.summarylist dt,
div.p-summary div.p-summary-cells > div:last-child {
	width:148px;
}

/* summary карточка 2 колонки */

/* ( 320 / 2 ) - 1 - ( 4 * 2 ) */
div.p-summary div.p-summary-cells > div:first-child {
	width:151px;
}

/* summarylist 2 колонки */

/* 100% - 148 - ( 4 * 4 ) - 8 */
div.summarylist dd {
	width:calc( 100% - 172px );
}
/* 50% - ( 4 * 2 ) - 1 */
div.summarylist div.p-summary-cells > div:last-child,
div.summarylist div.p-summary-cells > div:first-child {
	width:calc( 50% - 9px );
}

/* summary duo */

div.p-summary-cells.header > div {
	text-align:center;
	font-weight:bold;
}

/* summary gerbflag */

div.p-summary-cells.gerbflag {
	padding-bottom:.35em;
}

div.p-summary-cells.gerbflag > div {
	text-align:center;
}

/* summary картинка */

div.p-summary-image {
    padding-right:0!important;
    padding-left:0!important;
}

div.p-summary-image div.thumb {
    float:none!important;
}

div.p-summary div.thumb,
div.summarybox div.thumb,
div.summarylist div.thumb {
    margin:0!important;
}

div.p-summary div.thumbinner,
div.summarybox div.thumbinner,
div.summarylist div.thumbinner {
	border-color:#ddd;
	background:white;
}

div.p-summary img.thumbimage,
div.summarybox img.thumbimage,
div.summarylist img.thumbimage {
	border:none;
}

div.p-summary thumbcaption,
div.summarybox thumbcaption,
div.summarylist thumbcaption {
	text-align:inherit;
}

div.p-summary div.magnify,
div.summarybox div.magnify,
div.summarylist div.magnify {
	display:none;
}

/* summary вложенные элементы */

div.p-summary p br,
div.summarybox p br,
div.summarylist p br {
	display:none;
}

div.p-summary hr,
div.summarybox hr,
div.summarylist hr {
	background-color:#ccc;
}

div.summarylist > table {
	width:calc( 100% + 16px );
	border-spacing:8px 0;
	margin:0 -8px;
	border:0;
}

div.summarylist > table > caption {
	font-weight:bold;
	margin:0 8px;
}

div.summarylist > table > caption,
div.summarylist > table > tbody > tr > th,
div.summarylist > table > tbody > tr > td {
	border-width:1px 0 0;
}

div.p-summary table {
	margin-bottom: -3px;
}

div.p-summary-line > table {
	margin:0 auto;
}

/* summary вложенные списки */

div.p-summary ol,
div.p-summary ul,
div.summarybox ol,
div.summarybox ul {
	margin:0 0 0 1em;
	padding-top:0;
}

.p-summary-tools ul, 
.p-summary-tools ol {
	margin-left:.5em;
}

/* summary вложенная таблица сдержания TOC */

.tocinsummary *,
.tocinsummary *#toc,
.tocinsummary * *,
.tocinsummary * * * {
	background:transparent;
	border:none;
	width:100%;
}

/* summary конец */

/* Шаблон с переключаемыми вкладками «Навигация» */

#znav-wrapper {
	margin-top:1.4em;
}
#znav-body {
	background:rgb(242,242,242);
	border:1px solid #a2a9b1;
	font-size:95%;
	padding:5px;
	clear:both;
	width:94%;
}
#znav-body > tbody > tr > th {
	-webkit-box-shadow:0 0 22px -4px darkgrey;
	-moz-box-shadow:0 0 22px -4px darkgrey;
	box-shadow:0 0 22px -4px darkgrey;
	background-color:#f0f0f0;
	text-align:center;
	font-size:115%;
}
#znav-body,
#znav-body > tbody > tr > th {
	-webkit-border-radius:.4em;
	-moz-border-radius:.4em;
	border-radius:.4em;
}

/* ТНШ */
.znav-internal-body {
	border:1px solid grey;
	background:#fff;
	width:100%;
}
.znav-internal-body > tbody > tr > th:only-child {
	background:#FFF6E0!important;
	text-align:center;
}
.znav-internal-body > tbody > tr:first-child > th {
	background:#fff!important;
}
.znav-internal-body > tbody > tr:first-child > th {
	position:relative;
}
.znav-internal-body > tbody > tr:first-child > th > p:last-child {
	font-weight:normal!important;
	font-size:small!important;
	background-color:inherit;
	position:absolute;
	right:4px;
	margin:0;
	top:2px;
}
.znav-internal-body > tbody > tr:first-child > th > p:last-child:before {
	content:"[";
}
.znav-internal-body > tbody > tr:first-child > th > p:last-child:after {
	content:"]";
}
.znav-internal-row-1 > th,
.znav-internal-row-1 > td {
	background:#DCDCDC!important;
}
.znav-internal-row-2 > th,
.znav-internal-row-2 > td {
	background:#C2F2FF!important;
}
.znav-internal-row-1 > th,
.znav-internal-row-2 > th {
	width:15%;
}
.znav-internal-row-1 > td,
.znav-internal-row-2 > td {
	padding-left:.3em;
	text-align:left;
}

/* 05.08.2024 «Навигация» на CSS без жаваскриптов */
#cnav-container {
	background:transparent;
	position:relative;
	text-align:center;
	padding-top:5px;
}
#cnav-container > .cnavb > a {
	text-decoration:none;
	position:absolute;
	width:100%;
	top:5px;
	left:0;
}
#cnav-container > b {
	color:#faa700;
}
#cnav-container > .cnavb {
	position:static;
	display:none;
}
#cnav-container > .cnavb > .cnav-p {
	height:5px;
	margin:0;
}
#cnav-container > #cnavb-1 {
	display:block;
}
#cnav-container > #cnav-2:hover ~ #cnavb-1,
#cnav-container > #cnav-3:hover ~ #cnavb-1,
#cnav-container > #cnav-4:hover ~ #cnavb-1,
#cnav-container > #cnav-5:hover ~ #cnavb-1,
#cnav-container > #cnav-6:hover ~ #cnavb-1,
#cnav-container > #cnav-7:hover ~ #cnavb-1,
#cnav-container > #cnav-8:hover ~ #cnavb-1,
#cnav-container > #cnav-9:hover ~ #cnavb-1,
#cnav-container > #cnav-10:hover ~ #cnavb-1,
#cnav-container > .cnavb:hover ~ #cnavb-1 {
	display:none;
}
#cnav-container > #cnav-2:hover ~ #cnavb-2,
#cnav-container > #cnav-3:hover ~ #cnavb-3,
#cnav-container > #cnav-4:hover ~ #cnavb-4,
#cnav-container > #cnav-5:hover ~ #cnavb-5,
#cnav-container > #cnav-6:hover ~ #cnavb-6,
#cnav-container > #cnav-7:hover ~ #cnavb-7,
#cnav-container > #cnav-8:hover ~ #cnavb-8,
#cnav-container > #cnav-9:hover ~ #cnavb-9,
#cnav-container > #cnav-10:hover ~ #cnavb-10,
#cnav-container > .cnavb:hover {
	display:block;
}
#cnav-container > .cnavb > a:active,
#cnav-container > .cnavb > a:active + .cnav-p + .znav-internal-body {
	display:none;
}
#cnav-container > .cnavb > a:active + .cnav-p {
	margin-bottom:1080px;
	height:0;
}
#cnav-container > .cnavb > .cnav-top {
	position:absolute;
	height:65px;
	width:100%;
	top:-60px;
	margin:0;
	left:0;
}
#cnav-container > b,
#cnav-container > .cnavb > a > b {
	white-space:nowrap;
	line-height:25px;
	padding:0 .5em;
	margin:0 .4em;
}
#cnav-container > b,
#cnav-container > .cnavb > a > b {
	border:1px dashed grey;
	background:#fff;
}
#cnav-container > .cnavb > a > b:hover {
	text-decoration:underline;
	color:inherit;
}
#cnav-container > b.cnav-active,
#cnav-container > .cnavb > a > b.cnav-active {
	border:1px solid black;
	background:#add8e6;
}

/* {Навигация} */
table.navigation-box th,
table.navigation-box td {
  vertical-align: middle;
  height: 30px;
}
 
/* {Навигационная таблица} */
table.navbox {
	border:1px solid #aaa;
	background:#f9f9f9;
	margin:1em auto 0;
	font-size:90%;
	padding:2px;
	clear:both;
	width:100%;
}
table.navbox + table.navbox {
	margin-top:0;
	border-top:0;
}
table.navbox.child {
	margin:0;
	border:0;
}
table.navbox > tbody > tr > td > table.navbox {
	width:calc(100% + 6px);
	background:transparent;
	margin:-3px!important;
	font-size:110%;
	padding:0;
	border:0;
}
table.navbox > tbody > tr > th {
	padding:1px .5em;
	text-align:right;
	background:#ccf;
	width:15%;
}
table.navbox > tbody > tr > th[colspan] {
	text-align:center;
	width:auto;
}
table.navbox > tbody > tr > td {
	background:#fff;
	font-size:95%;
}
table.navbox > tbody > tr:nth-child(even) > td {
	background:#f7f7f7;
}

/*{Навигационная полоса}, {Hider}, ... */
div.Boxmerge,
div.NavFrame {
	border-collapse:collapse;
	border:1px solid #aaa;
	text-align:center;
	font-size:95%;
	padding:2px;
	margin:0;
}
div.Boxmerge div.NavFrame {
	border-style:none;
	border-style:hidden;
}
div.NavFrame + div.NavFrame {
	border-top-style:none;
	border-top-style:hidden;
}
div.NavPic {
	background:#fff;
	padding:2px;
	float:left;
	margin:0;
}
div.NavFrame div.NavHead {
	background:#efefef;
	position:relative;
	font-weight:bold;
	height:1.6em;
}
div.NavFrame p,
div.NavFrame div.NavHead,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size:100%;
}
div.NavEnd {
	line-height:1px;
	clear:both;
	padding:0;
	margin:0;
}
a.NavToggle {
	font-weight:normal;
	font-size:smaller;
	float:right;
	right:11px;
	top:0;
}

/* Навигационный шаблон Nav в Циклопедии */
table.cw-nav {
	margin:0 auto;
	clear:both;
}
table.cw-nav > tbody > tr > th,
table.cw-nav > tbody > tr > td {
	padding:0 3px;
}
table.cw-nav > tbody > tr > th.cw-nav-header {
	padding:5px;
}
table.cw-nav > tbody > tr > th.cw-nav-above,
table.cw-nav > tbody > tr > th.cw-nav-below {
	font-weight:normal;
	text-align:center;
}
th.cw-nav-header > div.cw-nav-image,
th.cw-nav-header > div.cw-nav-title,
th.cw-nav-header > div.cw-nav-clink,
th.cw-nav-header > div.cw-nav-tlink {
	background-color:transparent!important;
	display:table-cell!important;
	vertical-align:middle;
}
th.cw-nav-header > div.cw-nav-image {
	text-align:left;
	width:1px;
}
th.cw-nav-header > div.cw-nav-title {
	text-align:center;
	padding:0 5px;
	width:100%;
}
th.cw-nav-header > div.cw-nav-title > span.cw-nav-title {
	font-size:110%;
}
th.cw-nav-header > div.cw-nav-title > div.cw-nav-habove {
	background-color:transparent!important;
	font-weight:normal;
	margin:.5em 0;
}
th.cw-nav-header > div.cw-nav-clink,
th.cw-nav-header > div.cw-nav-tlink,
th.cw-nav-header > div.cw-nav-tlink > span > a {
	font-weight:normal;
	font-size:smaller;
	color:inherit;
	float:none;
	width:1px;
}
th.cw-nav-header > div.cw-nav-clink {
	padding:0 0 0 20px;
	text-align:right;
}
th.cw-nav-header > div.cw-nav-clink > span:hover {
	text-decoration:underline;
}
th.cw-nav-header > div.cw-nav-tlink {
	text-align:left;
}

/* Навигационная таблица с колонками */

table.navbox-columns-table {
	background-color:transparent!important;
	border-collapse:separate;
	border-spacing:0 2px;
	margin:-3px -4px;
	text-align:left;
	width:auto;
}
table.navbox-columns-table > tbody > tr > th,
table.navbox-columns-table > tbody > tr > td {
	border-left:2px solid #fdfdfd;
	vertical-align:top;
}
table.navbox-columns-table > tbody > tr > th:first-child,
table.navbox-columns-table > tbody > tr > td:first-child {
	border-left:0;
}
table.navbox-columns-table > tbody > tr > th {
	padding:.25em 1em;
}
table.navbox-columns-table > tbody > tr > td {
	padding:0 .25em;
	width:10em;
}

/* Шаблон «Автонумерация» */

table.tbl-autcnt {counter-reset:table-autocount-i;}
table.tbl-autcnt > tbody > tr > td:first-child:before {
    counter-increment:table-autocount-i;
    content:counter(table-autocount-i);
}
table.tbl-autcnt > tbody > tr > th,
table.tbl-autcnt > tbody > tr > td {empty-cells:show;}
table.tbl-autcnt > tbody > tr[align*="-"] > td:first-child {color:transparent;}
table.tbl-autcnt > tbody > tr[align*="!"] > td {font-weight:bold;}
table.tbl-autcnt > tbody > tr[align*="+"] > td {font-size:larger;}
table.tbl-autcnt > tbody > tr[align*="@"] > td {background:#a9a9a9;}
table.tbl-autcnt > tbody > tr[align*="%"] > td {background:Linen;}
table.tbl-autcnt > tbody > tr[align*="$"] > td {background:gray; color:#a9a9a9;}
table.tbl-autcnt > tbody > tr[align*="."] > td {
    background:AliceBlue;
    line-height:1.2em;
    font-size:small;
}
table.tbl-autcnt > tbody > tr > td {
    text-align:left;
}
table.tbl-autcnt > tbody > tr > td:first-child {
    vertical-align:top;
    text-align:right;
}
table.tbl-autcnt1l > tbody > tr > td:nth-child(1),
table.tbl-autcnt2l > tbody > tr > td:nth-child(2),
table.tbl-autcnt3l > tbody > tr > td:nth-child(3),
table.tbl-autcnt4l > tbody > tr > td:nth-child(4),
table.tbl-autcnt5l > tbody > tr > td:nth-child(5),
table.tbl-autcnt6l > tbody > tr > td:nth-child(6),
table.tbl-autcnt7l > tbody > tr > td:nth-child(7),
table.tbl-autcnt8l > tbody > tr > td:nth-child(8),
table.tbl-autcnt9l > tbody > tr > td:nth-child(9),
table.tbl-autcnt10l > tbody > tr > td:nth-child(10) {
    text-align:left;
}
table.tbl-autcnt1r > tbody > tr > td:nth-child(1),
table.tbl-autcnt2r > tbody > tr > td:nth-child(2),
table.tbl-autcnt3r > tbody > tr > td:nth-child(3),
table.tbl-autcnt4r > tbody > tr > td:nth-child(4),
table.tbl-autcnt5r > tbody > tr > td:nth-child(5),
table.tbl-autcnt6r > tbody > tr > td:nth-child(6),
table.tbl-autcnt7r > tbody > tr > td:nth-child(7),
table.tbl-autcnt8r > tbody > tr > td:nth-child(8),
table.tbl-autcnt9r > tbody > tr > td:nth-child(9),
table.tbl-autcnt10r > tbody > tr > td:nth-child(10) {
    text-align:right;
}
table.tbl-autcnt1c > tbody > tr > td:nth-child(1),
table.tbl-autcnt2c > tbody > tr > td:nth-child(2),
table.tbl-autcnt3c > tbody > tr > td:nth-child(3),
table.tbl-autcnt4c > tbody > tr > td:nth-child(4),
table.tbl-autcnt5c > tbody > tr > td:nth-child(5),
table.tbl-autcnt6c > tbody > tr > td:nth-child(6),
table.tbl-autcnt7c > tbody > tr > td:nth-child(7),
table.tbl-autcnt8c > tbody > tr > td:nth-child(8),
table.tbl-autcnt9c > tbody > tr > td:nth-child(9),
table.tbl-autcnt10c > tbody > tr > td:nth-child(10) {
    text-align:center;
}

/* {Спойлер в тексте} */
span.spoiler       { color:#E6E6FA; background-color:#E6E6FA; }  /* от участника lllKSTlll */
span.spoiler:hover { color:inherit; background-color:inherit; }

/* Шаблон:Нихонго */
i.Nihongo, i.Nihongo > i.noprint {
	font-weight:normal;
	font-style:normal;
}
i.Nihongo > i.noprint > a > sup {
	font:bold 80% sans-serif;
	text-decoration:none;
	padding-left:.1em;
	color:#00e;
}

/* Шаблоны BS-header */
.BS-header > th {
	background-color:#be2d2c;
	white-space:nowrap;
	text-align:center;
	padding:1px 5px;
	color:#fff;
	width:auto;
}
.BS-header > th > div:last-child {
	position:relative;
}
.BS-header > th > div:last-child > div {
	letter-spacing:1px;
	position:absolute;
	color:#555;
	left:-5px;
	top:-3px;
}
.BS-header > th a {
	color:inherit;
	text-decoration:none;
}
.BS-header > th a:hover {
	text-decoration:underline;
}

/* Шаблоны BS, BS2, BS3, BS4, BS5, BS6, BS7, BS8, BS9 */
tr.BS > td:first-child {
	background-color:transparent;
	white-space:nowrap;
	text-align:center;
	padding:0;
}
tr.BS > td:first-child > table {
	background-color:transparent;
	margin:0 auto !important;
	border-spacing:0;
	border:0;
}
tr.BS > td:first-child > table > tbody > tr > td {
	padding:0;
}
tr.BS > td:first-child + td,
tr.BS > td:first-child + td + td + td {
	vertical-align:middle;
	text-align:right;
}
tr.BS > td:first-child + td + td {
	vertical-align:middle;
	text-align:left;
}
tr.BS > td:first-child + td {
	padding:0 .5em;
}
tr.BS > td:first-child + td + td + td {
	padding:0 0 0 .5em;
}
tr.BS > td:first-child + td,
tr.BS > td:first-child + td + td > i.s,
tr.BS > td:first-child + td + td + td {
	font-size:80%;
}
tr.BS > td:first-child + td + td > i.s {
	font-style:normal;
}

/* Шаблон:Климат местности (Климат города) */
.climate {
	margin-bottom:0!important;
	margin-top:0!important;
	margin:0 auto;
	float:none;
	width:70%;
}
.climate > tbody > tr > th,
.climate > tbody > tr > td {
	text-align:center;
	color:#000;
}
.climate > tbody > tr > th {
	white-space:nowrap;
	font-size:85%;
}
.climate > tbody > tr > th:first-child {
	border-left-width:1px;
	text-align:left;
	font-size:90%;
}
.climate > tbody > tr:first-child > th,
.climate > tbody > tr.m > th:first-child {
	text-align:center;
}
.climate > tbody > tr:first-child > th,
.climate > tbody > tr.m > th {
	font-weight:bold;
	font-size:90%;
}
.climate > tbody > tr > td {
	font-style:italic;
	font-size:88%;
}
.climate > tbody > tr.bb > th  {border-bottom-width:medium;}
.climate > tbody > tr > th.bl  {border-left-width:medium;}
.climate > tbody > tr.sr > th  {background:#7058FF;}
.climate > tbody > tr.pr > th  {background:#0020E0;}
.climate > tbody > tr.wr > th  {background:#40E0FF;}
.climate > tbody > tr > th.py  {background:#000064;}
.climate > tbody > tr:first-child > th,
.climate > tbody > tr > th:first-child,
.climate > tbody > tr.m > th   {background:#F2F2F2;}
.climate > tbody > tr > th.cw  {color:#FFF;}
.climate > tbody > tr > th.s1  {background:#6060FF;}
.climate > tbody > tr > th.s2  {background:#5068FF;}
.climate > tbody > tr > th.s3  {background:#4070FF;}
.climate > tbody > tr > th.s4  {background:#2080FF;}
.climate > tbody > tr > th.s5  {background:#0080FF;}
.climate > tbody > tr > th.s6  {background:#0090FF;}
.climate > tbody > tr > th.s7  {background:#00A0FF;}
.climate > tbody > tr > th.s8  {background:#00B0FF;}
.climate > tbody > tr > th.s9  {background:#00C0FF;}
.climate > tbody > tr > th.s10 {background:#20D0FF;}
.climate > tbody > tr > th.s11 {background:#40E0FF;}
.climate > tbody > tr > th.s12 {background:#60F0FF;}
.climate > tbody > tr > th.s13 {background:#80FFFF;}
.climate > tbody > tr > th.s14 {background:#80FFE0;}
.climate > tbody > tr > th.s15 {background:#80FFC0;}
.climate > tbody > tr > th.s16 {background:#80FFA0;}
.climate > tbody > tr > th.s17 {background:#80FF80;}
.climate > tbody > tr > th.s18 {background:#A0FF80;}
.climate > tbody > tr > th.s19 {background:#C0FF80;}
.climate > tbody > tr > th.s20 {background:#E0FF80;}
.climate > tbody > tr > th.s21 {background:#FFFF80;}
.climate > tbody > tr > th.s22 {background:#FFF060;}
.climate > tbody > tr > th.s23 {background:#FFE040;}
.climate > tbody > tr > th.s24 {background:#FFD020;}
.climate > tbody > tr > th.s25 {background:#FFC000;}
.climate > tbody > tr > th.s26 {background:#FFB000;}
.climate > tbody > tr > th.s27 {background:#FFA000;}
.climate > tbody > tr > th.s28 {background:#FF9000;}
.climate > tbody > tr > th.s29 {background:#FF8000;}
.climate > tbody > tr > th.s30 {background:#FF7820;}
.climate > tbody > tr > th.s31 {background:#FF7040;}
.climate > tbody > tr > th.s32 {background:#FF6850;}
.climate > tbody > tr > th.s33 {background:#FF6060;}
.climate > tbody > tr > th.s34,
.climate > tbody > tr > th.s35,
.climate > tbody > tr > th.s36,
.climate > tbody > tr > th.s37 {background:#FF5870;}
.climate > tbody > tr > th.w1  {background:#80FFFF;}
.climate > tbody > tr > th.w2  {background:#80FFC0;}
.climate > tbody > tr > th.w3  {background:#80FF80;}
.climate > tbody > tr > th.w4  {background:#A0FF80;}
.climate > tbody > tr > th.w5  {background:#C0FF80;}
.climate > tbody > tr > th.w6  {background:#E0FF80;}
.climate > tbody > tr > th.w7  {background:#FFFF80;}
.climate > tbody > tr > th.w8  {background:#FFF060;}
.climate > tbody > tr > th.w9  {background:#FFE040;}
.climate > tbody > tr > th.w10 {background:#FFD020;}
.climate > tbody > tr > th.w11 {background:#FFC000;}
.climate > tbody > tr > th.w12 {background:#FFB000;}
.climate > tbody > tr > th.w13,
.climate > tbody > tr > th.w14,
.climate > tbody > tr > th.w15,
.climate > tbody > tr > th.w16 {background:#FFA000;}
.climate > tbody > tr > th.p1  {background:#F0FFFF;}
.climate > tbody > tr > th.p2  {background:#E0FFFF;}
.climate > tbody > tr > th.p3  {background:#D0FFFF;}
.climate > tbody > tr > th.p4  {background:#C0FFFF;}
.climate > tbody > tr > th.p5  {background:#B0F0FF;}
.climate > tbody > tr > th.p6  {background:#A0E0FF;}
.climate > tbody > tr > th.p7  {background:#90D0FF;}
.climate > tbody > tr > th.p8  {background:#80C0FF;}
.climate > tbody > tr > th.p9  {background:#70B0FF;}
.climate > tbody > tr > th.p10 {background:#60A0FF;}
.climate > tbody > tr > th.p11 {background:#5090FF;}
.climate > tbody > tr > th.p12 {background:#4080FF;}
.climate > tbody > tr > th.p13 {background:#3070FF;}
.climate > tbody > tr > th.p14 {background:#2060FF;}
.climate > tbody > tr > th.p15 {background:#1050FF;}
.climate > tbody > tr > th.p16 {background:#0040FF;}
.climate > tbody > tr > th.p17,
.climate > tbody > tr > th.p18 {background:#0030F0;}
.climate > tbody > tr > th.o1  {background:#F0FFFF;}
.climate > tbody > tr > th.o2  {background:#DCF0FF;}
.climate > tbody > tr > th.o3  {background:#C8DCFF;}
.climate > tbody > tr > th.o4  {background:#B4C8FF;}
.climate > tbody > tr > th.o5  {background:#A0B4FF;}
.climate > tbody > tr > th.o6  {background:#8CA0FF;}
.climate > tbody > tr > th.o7  {background:#788CFF;}
.climate > tbody > tr > th.o8  {background:#6478FF;}
.climate > tbody > tr > th.o9  {background:#5064FF;}
.climate > tbody > tr > th.o10 {background:#3C50FF;}
.climate > tbody > tr > th.o11 {background:#283CFF;}
.climate > tbody > tr > th.o12 {background:#1428FF;}
.climate > tbody > tr > th.o13 {background:#0000FF;}
.climate > tbody > tr > th.o14 {background:#0000B4;}
.climate > tbody > tr > th.o15 {background:#00008C;}

/* {{Фотомонтаж}} */
div.photomontage {
	background:transparent;
	border:0 solid #AAA;
	width:inherit;
	margin:0;
}
div.photomontage > div:last-child {
	padding:.25em .5em .3em;
	background:transparent;
	font-size:smaller;
	line-height:1.2em;
}
div.photomontage:empty,
div.photomontage > div:empty,
div.photomontage > div.photo > a.new {
	display:none;
}
div.photomontage > div.photo {overflow:hidden;}
div.photomontage > div.photo > a.image > img {height:auto; margin:-0.3% 0;}
div.photomontage > div.ph1   > a.image > img {width:100%;}
div.photomontage > div.ph2   > a.image > img {width:50%;}
div.photomontage > div.ph3   > a.image > img {width:33.33%;}
div.photomontage > div.ph4   > a.image > img {width:25%;}
div.photomontage > div.ph5   > a.image > img {width:20%;}

/* спортивные медали */
.medal th, .medal td {
	vertical-align:middle;
	text-align:center;
	padding:0 3px;
	border:0;
}
.medal th.H	{background:#ccc;}
.medal th.T	{background:#B0E0E6;}
.medal td.T	{background:#D0F0F6;}
.medal th.O	{background:#B5B5B5;}
.medal .G	{background:gold;}
.medal .S	{background:silver;}
.medal .B	{background:#c96;}
.medal .g	{background:#f7f6a8;}
.medal .s	{background:#dce5e5;}
.medal .b	{background:#ffdab9;}
.medal .G:empty:after {content:"Золото";}
.medal .S:empty:after {content:"Серебро";}
.medal .B:empty:after {content:"Бронза";}
.medal .D:empty:after {content:"4 место";}

div.cw-width, table.cw-width {width:85%!important;} /* ШИРИНА НАВИГАЦИОННЫХ ШАБЛОНОВ ЦИКЛОПЕДИИ */

/* ---------------------------[ ФОРУМ ЦИКЛОПЕДИИ ]--------------------------- */

/* таблица форума */

/* шапка таблицы */
table.cwforum-head {
  border-top:1px solid #eee;
  width:100%;
}
th.cwforum-head-page {
  border-left:4px solid #eee;
  border-bottom:1px solid #eee;
  font-weight:normal;
  padding:.2em .5em;
  text-align:left;
  font-size:125%;
  width:15%;
}
th.cwforum-head-reason {
  border-bottom:1px solid #eee;
  font-weight:normal;
  padding:.2em .5em;
  text-align:left;
  font-size:125%;
  width:75%;
}
th.cwforum-head-status {
  border-bottom:1px solid #eee;
  border-right:1px solid #eee;
  font-weight:normal;
  padding:.2em .5em;
  text-align:left;
  font-size:125%;
  width:10%;
}

/* строка запроса */
td.cwforum-request-page {
  border-width:0 0 0 4px;
  border-style:solid;
  vertical-align:top;
  padding:.4em .5em;
  line-height:1.2em;
  font-size:90%;
  color:#000;
}
td.cwforum-request-reason {
  border-style:solid;
  vertical-align:top;
  padding:.1em .5em;
  border-width:0;
  color:unset;
}
td.cwforum-request-status {
  border-width:0 1px 0 0;
  border-style:solid;
  vertical-align:top;
  padding:.4em .5em;
  line-height:1.2em;
  font-size:90%;
}
td.cwforum-request-result {
  border-width:0 1px 0 4px;
  border-style:solid;
  vertical-align:top;
  padding:.2em .5em;
  font-size:small;
}
td.cwforum-request-borderbottom {
  border-bottom-width:1px;
}

/* цвета запросов */

/* default */
tr.cwforum-request-color-default > td.cwforum-request-page,
tr.cwforum-request-color-default > td.cwforum-request-reason,
tr.cwforum-request-color-default > td.cwforum-request-status,
tr.cwforum-request-color-default > td.cwforum-request-result,
tr.cwforum-request-color- > td.cwforum-request-page,
tr.cwforum-request-color- > td.cwforum-request-reason,
tr.cwforum-request-color- > td.cwforum-request-status,
tr.cwforum-request-color- > td.cwforum-request-result {
  background-color:#f9f9f9;
  border-color:#ddd;
}
/* error */
tr.cwforum-request-color-error > td.cwforum-request-page,
tr.cwforum-request-color-error > td.cwforum-request-reason,
tr.cwforum-request-color-error > td.cwforum-request-status,
tr.cwforum-request-color-error > td.cwforum-request-result {
  background-color:#f9f9f9;
  border-color:#ddd;
}
td.cwforum-request-reason div.cwforum-talk-color-error,
tr.cwforum-request-color-error div.cwforum-talk-info,
tr.cwforum-request-color-error > td.cwforum-request-page,
tr.cwforum-request-color-error > td.cwforum-request-status {
  color:#b22;
}
/* violet */
tr.cwforum-request-color-violet > td.cwforum-request-page,
tr.cwforum-request-color-violet > td.cwforum-request-reason,
tr.cwforum-request-color-violet > td.cwforum-request-status,
tr.cwforum-request-color-violet > td.cwforum-request-result {
  background-color:#fdf;
  border-color:#95b;
}
td.cwforum-request-reason div.cwforum-talk-color-violet,
tr.cwforum-request-color-violet div.cwforum-talk-info,
tr.cwforum-request-color-violet > td.cwforum-request-page,
tr.cwforum-request-color-violet > td.cwforum-request-status {
  color:#909;
}
/* blue */
tr.cwforum-request-color-blue > td.cwforum-request-page,
tr.cwforum-request-color-blue > td.cwforum-request-reason,
tr.cwforum-request-color-blue > td.cwforum-request-status,
tr.cwforum-request-color-blue > td.cwforum-request-result {
  background-color:#cef;
  border-color:#28b;
}
td.cwforum-request-reason div.cwforum-talk-color-blue,
tr.cwforum-request-color-blue div.cwforum-talk-info,
tr.cwforum-request-color-blue > td.cwforum-request-page,
tr.cwforum-request-color-blue > td.cwforum-request-status {
  color:#069;
}
/* red */
tr.cwforum-request-color-red > td.cwforum-request-page,
tr.cwforum-request-color-red > td.cwforum-request-reason,
tr.cwforum-request-color-red > td.cwforum-request-status,
tr.cwforum-request-color-red > td.cwforum-request-result {
  background-color:#ffe7e7;
  border-color:#e43;
}
td.cwforum-request-reason div.cwforum-talk-color-red,
tr.cwforum-request-color-red div.cwforum-talk-info,
tr.cwforum-request-color-red > td.cwforum-request-page,
tr.cwforum-request-color-red > td.cwforum-request-status {
  color:#b22;
}
/* green */
tr.cwforum-request-color-green > td.cwforum-request-page,
tr.cwforum-request-color-green > td.cwforum-request-reason,
tr.cwforum-request-color-green > td.cwforum-request-status,
tr.cwforum-request-color-green > td.cwforum-request-result {
  background-color:#efe;
  border-color:#0b4;
}
td.cwforum-request-reason div.cwforum-talk-color-green,
tr.cwforum-request-color-green div.cwforum-talk-info,
tr.cwforum-request-color-green > td.cwforum-request-page,
tr.cwforum-request-color-green > td.cwforum-request-status {
  color:#080;
}
/* gray */
tr.cwforum-request-color-gray > td.cwforum-request-page,
tr.cwforum-request-color-gray > td.cwforum-request-reason,
tr.cwforum-request-color-gray > td.cwforum-request-status,
tr.cwforum-request-color-gray > td.cwforum-request-result {
  background-color:#f9f9f9;
  border-color:#ddd;
}
td.cwforum-request-reason div.cwforum-talk-color-gray,
tr.cwforum-request-color-gray div.cwforum-talk-info,
tr.cwforum-request-color-gray > td.cwforum-request-page,
tr.cwforum-request-color-gray > td.cwforum-request-status {
  color:#999;
}
/* yellow */
tr.cwforum-request-color-yellow > td.cwforum-request-page,
tr.cwforum-request-color-yellow > td.cwforum-request-reason,
tr.cwforum-request-color-yellow > td.cwforum-request-status,
tr.cwforum-request-color-yellow > td.cwforum-request-result {
  background-color:#ffe;
  border-color:#fd0;
}
td.cwforum-request-reason div.cwforum-talk-color-yellow,
tr.cwforum-request-color-yellow div.cwforum-talk-info,
tr.cwforum-request-color-yellow > td.cwforum-request-page,
tr.cwforum-request-color-yellow > td.cwforum-request-status {
  color:#b80;
}

/* строка обсуждения */
td.cwforum-request-reason div.cwforum-talk-collapsed {
  border-color:inherit;
  font-size:small;
  border-width:0;
}
td.cwforum-request-reason div.cwforum-talk-buttons {
  font-weight:normal;
  float:right;
}
td.cwforum-request-reason div.cwforum-talk-head {
  font-size:medium;
  font-weight:bold;
}
td.cwforum-request-reason div.cwforum-talk-content {
  border-color:inherit;
  font-size:1.1em;
  border-width:0;
}
td.cwforum-request-reason div.cwforum-talk-info {
  border-width:1px 0 0 0;
  border-color:inherit;
  border-style:solid;
  font-style:italic;
  font-size:small;
  padding:.1em 0;
  clear:both;
}

/* кнопки форума */

/* большая синяя кнопка */
span.cwforum-btn-bl {
  text-decoration:inherit;
  border-radius:.3em;
  padding:.5em 1em;
  font-size:125%;
}
span.cwforum-btn-bl-a {
  background:#049;
  color:#FFF;
}
span.cwforum-btn-bl-n {
  cursor:not-allowed;
  background:#DDD;
  color:#EEE;
}

/* средняя жёлтая кнопка */
span.cwforum-btn-y {
  display:inline-block;
  border-radius:.3em;
  margin-right:.3em;
  background:#fd8;
  font-size:110%;
  padding:.3em;
  color:#222;
}
span.cwforum-btn-y > font {
  border-bottom:1px solid #999;
}


/* ------------[ ИСПРАВЛЕНИЕ РАСТЯГИВАНИЯ ЭКРАНА В СВЕЖИХ ПРАВКАХ ]----------- */
/* Оптимизированное отображение описаний правок: 
   - одна строка (примерно 18-20 символов) с троеточием
   - при наведении - полный текст с переносом строк */
.mw-changeslist-line .comment,
.mw-changeslist-line .mw-comment {
    /* Одна строка */
    white-space: nowrap;
    /* Прячем всё, что не помещается */
    overflow: hidden;
    /* Добавляем троеточие в конце */
    text-overflow: ellipsis;
    /* Ограничиваем ширину примерно под 20 символов */
    max-width: 20ch; /* 20ch ≈ 18-20 символов */
    /* Обеспечиваем корректное отображение */
    display: inline-block;
    vertical-align: middle;
    /* Плавный переход при наведении */
    transition: all 0.2s ease;
    /* Добавляем немного отступов для красоты */
    padding: 2px 0;
    /* Фиксируем позиционирование */
    position: relative;
}

/* При наведении показываем полный текст с переносом строк */
.mw-changeslist-line .comment:hover,
.mw-changeslist-line .mw-comment:hover {
    /* Отменяем все ограничения */
    white-space: normal;
    overflow: visible;
    max-width: none;
    /* Делаем блок заметным поверх другого контента */
    position: relative;
    z-index: 1000;
    /* Добавляем фон и тень для читаемости */
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    /* Добавляем рамку для выделения */
    border: 1px solid #a2a9b1;
    /* Даём достаточно места для полного текста */
    min-width: 300px;
    max-width: 600px;
    /* Восстанавливаем нормальный перенос слов */
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Для особо длинных описаний добавляем небольшую задержку при наведении */
.mw-changeslist-line .comment {
    transition-delay: 0.2s;
}

/* При наведении убираем задержку */
.mw-changeslist-line .comment:hover {
    transition-delay: 0s;
}

/* Убираем возможные конфликты с другими стилями */
.mw-changeslist-line .comment * {
    max-width: 100%;
}


/* -------------[ ТЕСТИРОВАНИЕ ]--------------------[ TEST ]----------------- */

.grey, .grey a { color:#333; }
.blue a { color:#069; }

#ctrlcopy {
	color:transparent;
    height:1px;
    overflow:hidden;
    position:absolute;
    width:1px;
}