/*************************************************************
A - SETUP
**************************************************************/

@import url(style_cs.1789063145.css);
@import url(//forumstatic.ru/files/001a/db/ed/37149.css);

:root {
  --fs-gap: 1rem;
  --fs-padding: 1em;
  --tbl-cell-pad: 0.75rem;
  --tbl-row-gap: 1px;
  --post-gap: 1rem;
  --post-border-width: 1px;
  --post-border-color: #e0e0e0;
  --profile-nav-width: 240px;
  --profile-gap: 1.5rem;
  --common-text-color: #333;
  --common-border-color: #333;
  --text-color: #313e4b;
  --text-shadow-color: #e5e0d9;
  --main-page-bg-color: #dbdbdb;
  --main-page-margin: 1%;
  --border-test: 1px dashed red;
  --width-main: 987px;
  --margin-online: 1em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

.punbb ul,
.punbb dl,
.punbb dd,
.punbb dt {
  padding: 0;
  list-style: none;
}

.punbb img {
  border: none;
  display: block;
  max-width: 100%;
  height: auto;
}

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
  margin: 0 0.3em;
}

p.checkfield *,
div.checkfield *,
fieldset.radiofield * {
  height: 1.8em;
  vertical-align: middle;
}

 /* A3 Text setup
-------------------------------------------------------------*/

body {
  font-size: 16px;
}

.punbb {
  font: normal 0.7rem verdana, arial, helvetica, sans-serif;
}

.punbb textarea,
.punbb input,
.punbb optgroup {
  font: 0.7rem verdana, arial, helvetica, sans-serif;
}

.punbb h1,
.punbb h2,
.punbb h3,
.punbb h4 {
  font-size: 0.7rem;
  font-weight: normal;
}

.punbb h1 span {
  font-size: 0.7rem;
}

.punbb legend span {
  font-size: 0.8rem;
}

.punbb pre {
  font-family: monaco, "bitstream vera sans mono", "courier new", courier, monospace;
  font-size: 0.8rem;
  line-height: 1.3;
}

.punbb address,
.punbb em {
  font-style: normal;
}

.punbb .post-content em {
  font-style: italic;
}

.punbb .post-content em.bbuline {
  font-style: normal;
}

.punbb optgroup {
  font-weight: bold;
}

/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

.punbb .forum h2,
#pun-status h2 span,
#pun-ulinks h2,
#pun-navlinks h2,
#pun-pagelinks h2,
.post-sig dt span,
.punbb .post-links ul:after,
.acchide,
.punbb .multipage .topic h2,
#pun-index #pun-main h1,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  line-height: 0;
  overflow: hidden;
  visibility: hidden;
}

[id^="pun-break1"] hr,
[id^="pun-break2"] hr,

[id^="pun-break4"] hr {
  display: none;
}

/* A5 Basic page layout and borders
-------------------------------------------------------------*/

.punbb .section, .punbb .main {
  margin-bottom: 1em;
}

.punbb .category, .punbb .post {
  /* margin-top: 0.4em; */
}

.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  /*margin-top: -5px;*/
}

#pun-post .topic {
  /*margin-top: 1em;*/
}

/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

.punbb .post-content {
  width: 100%;
  padding: 0;
  margin: 0;
}

.punbb .post-sig dt {
  display: block;
  margin: 1rem 0 0;
  border-top: 1px dashed var(--common-border-color);
}

.punbb .post-content p {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  text-align: justify;
}

.punbb .post-content img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.punbb .post-content img.postimg {
  margin: 0.5rem 0;
}

.punbb .post-content .blockcode,
.punbb .post-content blockquote {
  width: 100%;
}

.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  max-height: 400px;
}

.punbb .post-content .quote-box,
.punbb .post-content .code-box {
  padding: 1rem;
  margin: 1rem 0;
}

.punbb .quote-box cite,
.punbb .code-box strong.legend {
  display: block;
  font-weight: 600;
  font-style: normal;
  border-bottom: 1px dashed var(--common-border-color);
  padding: 0 0 0.5rem 0;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  color: var(--common-text-color);
}

/* B2 Information boxes
-------------------------------------------------------------*/

.punbb .info-box {
  padding: 1rem;
  border: 1px solid var(--common-border-color);
  margin-bottom: 1.2rem;
}

.punbb .info-box .legend {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 0.6rem 0;
}

.punbb .info-box > :not(.legend) {
  margin-top: 0.6rem;
}

/* B3 Pagination and posting links
-------------------------------------------------------------*/

.punbb .linkst {
  width: calc(99% - var(--main-page-margin));
  margin: var(--main-page-margin);
  padding: 0;
  font-size: 1.1em;
}

.linkst .pagelink {
  min-width: 0;
  text-align: left;
}

.linkst .postlink {
  grid-column: 2 / 3;
  white-space: nowrap;
  font-weight: 600;
}

.punbb .linksb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  font-size: 0.8rem;
  row-gap: 10px;
  padding: 0.5em 1.5em;
}

.linksb .pagelink {
  color: #181738;
  grid-row: 1 / 3;
  grid-column: 1 / 2;
  align-self: center;
}

.linksb .postlink {
  font-weight: 600;
  grid-row: 1;
  grid-column: 2 / 3;
  justify-self: flex-end;
}

.subscribelink {
  clear: none;
  grid-row: 2;
  grid-column: 2 / 3;
  justify-self: flex-end;
}

.main h1 {
  position: absolute;
  clip: rect(1 px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

.punbb .formal .container {
  padding: 0 1em;
}

.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 0;
}

.punbb .formsubmit input,
.punbb .formsubmit a,
.punbb .formsubmit span {
  margin: 0 0.5em 0 0;
}

.punbb fieldset {
  padding: 0.8rem;
  margin-bottom: 0;
}

.punbb fieldset legend {
  color: var(--common-text-color);
}

.punbb fieldset fieldset {
  border: none;
  box-shadow: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.punbb fieldset fieldset legend {
  padding-left: 0;
  padding-top: 0.5rem;
}

.punbb .fs-box {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
}

.punbb .fs-box p,
.punbb .fs-box fieldset {
  margin: 0;
  padding: 0;
}

.punbb .inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: end;
}

.punbb .inline .inputfield,
.punbb .inline .selectfield,
.punbb .inline .passfield {
  width: 100%;
  margin: 0;
  min-width: 0;
}

.fs-box.inline .inputfield label,
.fs-box.inline .selectfield label {
    display: block;
    margin-bottom: 0.5em;
}

.fs-box.inline .inputfield br,
.fs-box.inline .selectfield br {
    display: none;
}

.punbb .inline .infofield {
  grid-column: 1 / -1;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  color: #64748b;
  font-size: 0.875rem;
}

.punbb .datafield br {
  display: none;
}

.punbb .required label,
.punbb .datafield span.input {
  font-weight: 600;
}

.punbb .datafield span.input a {
  font-weight: 400;
}

.punbb textarea,
.punbb .longinput input {
  width: 100%;
  max-width: 100%;
  margin: 0;
  resize: vertical;
}

.punbb .hashelp {
  position: relative;
}

.punbb .helplinks {
  display: block;
  margin-top: 0.25rem;
  font-weight: 400;
  color: #64748b;
  font-size: 0.875rem;
  width: auto;
}

.punbb #profile .helplinks {
  margin-top: 0.5rem;
}

.punbb .helplinks span {
  display: inline;
  padding-bottom: 0.125rem;
}

#pun-post .formal .info-box li {
  padding-left: 0.5rem;
  list-style-type: disc;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0.25rem 0;
}

/* C2 Table layout
-------------------------------------------------------------*/

/* --- БАЗОВЫЕ СТИЛИ ТАБЛИЦ --- */
.punbb table {
  border-collapse: collapse; /* Важно: оставляем схлопнутые границы */
  width: 100%;
  table-layout: auto;
  margin: 0;
}

.punbb th, .punbb td {
  padding: 0 1em;
  text-align: left;
  /* Убираем любые лишние отступы, которые могут конфликтовать */
  vertical-align: top; 
}

/* --- СТИЛИ ТОЛЬКО ДЛЯ ГЛАВНОЙ СТРАНИЦЫ (INDEX) --- */
div#pun-index.punbb .main table {
  display: block;
  width: calc(100% - var(--main-page-margin)*2);
  margin: 0 var(--main-page-margin);
  padding: 0;
  background-color: var(--main-page-bg-color);
}

div#pun-index.punbb .main thead {
  display: none;
}

div#pun-index.punbb .main tbody.hasicon tr {
  display: grid;
  grid-template-columns: 3fr min-content min-content 1fr;
  grid-template-areas:
    "forum-block count-topics count-posts last-post";
  gap: 20px;
  align-items: start;
  padding: 15px 0;
}

div#pun-index.punbb .main .tcl {
  grid-area: forum-block;
  min-width: 0;
}

div#pun-index.punbb .main .tc2 {
  grid-area: count-topics;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 80px;
  padding: 0;
}

div#pun-index.punbb .main .tc3 {
  grid-area: count-posts;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 80px;
  padding: 0;
}

div#pun-index.punbb .main .tcr {
  grid-area: last-post;
  min-width: 200px;
  padding-left: 10px;
}

div#pun-index.punbb .main .tc2,
div#pun-index.punbb .main .tc3 {
  font-weight: 700;
  color: var(--text-secondary, #555);
  line-height: 1.2;
}

div#pun-index.punbb .main .tc2::before {
  content: 'Тем: ';
  display: block;
  font-size: 0.85em;
  color: var(--text-muted, #999);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

div#pun-index.punbb .main .tc3::before {
  content: 'Сообщений: ';
  display: block;
  font-size: 0.85em;
  color: var(--text-muted, #999);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- ДОПОЛНИТЕЛЬНАЯ ОПТИМИЗАЦИЯ ДЛЯ ДРУГИХ СТРАНИЦ --- */

/* 1. Базовые стили таблиц (без отступов) */
/* Добавлено :not(#title-logo-table) для защиты шапки */
.punbb table:not(#pun-index .main table):not(#title-logo-table):not(.post table):not(.entry table) {
  display: table;
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.punbb table:not(#pun-index .main table):not(#title-logo-table):not(.post table):not(.entry table):not(#form-buttons table) thead tr:last-child,
.punbb table:not(#pun-index .main table):not(#title-logo-table):not(.post table):not(.entry table):not(#form-buttons table) tbody tr:first-child {
  border-top: 15px solid transparent;
}


/* 3. Компенсация отступа внутри ячейки */
/* Добавлено :not(#title-logo-table) */
.punbb table:not(#pun-index .main table):not(#title-logo-table):not(.post table):not(.entry table) tbody tr:first-child td,
.punbb table:not(#pun-index .main table):not(#title-logo-table):not(.post table):not(.entry table) tbody tr:first-child th {
  padding-top: 5px;
}

/* --- ОСТАЛЬНЫЕ СТИЛИ (без изменений) --- */

/* Для таблиц в сообщениях оставляем стандартную схлопнутую верстку */
.post table, .entry table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Стили заголовков таблиц (thead) */
/* Добавлено :not(#title-logo-table) */
.punbb table:not(#pun-index .main table):not(#title-logo-table) thead {
  display: table-header-group;
  height: 2.2em;
  background-color: var(--header-bg-color, #f0f0f0);
}

.punbb table:not(#pun-index .main table):not(#title-logo-table) tbody {
  display: table-row-group;
}

.punbb table:not(#pun-index .main table):not(#title-logo-table) tr {
  display: table-row;
}

.punbb table:not(#pun-index .main table):not(#title-logo-table) th,
.punbb table:not(#pun-index .main table):not(#title-logo-table) td {
  display: table-cell;
  vertical-align: middle;
}

/* Специфичные таблицы (файлы, пагинация) */
.adfs-box table#filetable, 
.fs-box table {
  table-layout: fixed;
  width: 100%;
}

.adfs-box table#filetable tr,
.fs-box table tr,
.punbb table.pagination tr {
  display: table-row !important;
  grid-template-columns: unset !important;
  grid-template-areas: unset !important;
}

.usertable .container {
  margin-block: 20px;
}



/* --- НАСТРОЙКА СЕТКИ ТАБЛИЦЫ (ширина колонок) --- */
#pun-viewforum.punbb .container table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

#pun-viewforum.punbb .container table .tcl {
  width: 55%;
  vertical-align: middle;
  padding-right: 15px;
  padding-left: 0;
}

#pun-viewforum.punbb .container table .tc2 {
  width: 80px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  padding: 0 10px;
}

#pun-viewforum.punbb .container table .tc3 {
  width: 90px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  padding: 0 10px;
}

#pun-viewforum.punbb .container table .tcr {
  width: auto;
  text-align: right;
  vertical-align: middle;
  padding-left: 15px;
}

/*
#pun-viewforum.punbb .user-avatar,
#pun-viewforum.punbb .avatar-image,
#pun-viewforum.punbb .tcr .user-avatar {
  display: none;
  visibility: hidden;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hiddent;
}
*/

/* --- ВЫРАВНИВАНИЕ ВНУТРЕННИХ БЛОКОВ (чтобы текст не наезжал на иконку) --- */
#pun-viewforum.punbb .container table .intd, .fs-box .container .intd  {
  display: flex;
  align-items: center;
  column-gap: 1em;
  width: auto;
  height: auto;
  padding: 0;
  margin: 5px 10px;
}

#pun-viewforum.punbb .container table .tclcon {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  height: auto;
}

/* Защита от длинных названий тем */
#pun-viewforum.punbb .container table .tcl a, 
#pun-viewforum.punbb .container table .tcl span {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* C3 Topics
-------------------------------------------------------------*/

.punbb .post .container {
  padding-bottom: 1px;
  border-style: none;
}

.punbb .post h3 {
  background-color: transparent;
}

.punbb .post h3 strong {
  float: right;
  width: 125px;
  text-align: right;
  margin: 0;
}

.punbb .post h3 span {
  display: block;
  /* margin-left: 25em; */
  padding: 0.5em 1em;
}

.punbb .post .post-author {
  float: left;
  width: 20em;
  margin-left: 1em;
}

.punbb .post-body {
  margin-left: 21em;
  border-left-style: solid;
  border-left-width: 1px;
  padding: 0;
}

.punbb .post-box {
  padding: 1em 1.5em;
  text-align: justify;
}

.punbb fieldset .post-box {
  margin-bottom: 0.8em;
}

.punbb .post-links {
  border-left-style: solid;
  border-left-width: 1px;
}

.punbb .post-links ul {
  /* height: 2em; */
  margin-block: 0.5em;
  margin-inline: 1.5em;
  padding: 0;
  line-height: 2.5em;
  border-top-style: dashed;
  border-top-width: 1px;
  background: transparent;
  text-align: right;
}

.punbb .post-links li {
  display: inline;
  padding-left: 1em;
}

.punbb .post-links li:first-of-type {
  padding-left: 0;
}

.pl-email, .pl-website {
  float: left;
}

.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

/* C5 Message boxes
-------------------------------------------------------------*/

.punbb .info .container {
  padding: 0.7em;
}

.punbb .info .container .backlink {
  padding-top: 0.7em;
}

/* C6 Profile
-------------------------------------------------------------*/

#profile .container {
  padding: 0;
}

div#profile.formal {
  margin: 1em;
  padding: 1em;
  min-height: 20em;
  background: var(--main-page-bg-color);
}

#profilenav {
  float: left;
  text-align: center;
  width: 14em;
  padding: 0;
  margin: 0;
  display: inline;
  font-weight: bold;
  background-color: #e6e6e638;
  box-shadow: inset 0 0 3px #e1ddd8;
  outline: 1px solid #8996a557;
}

#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
}

#viewprofile ul, #profilenav ul {
  border-style: solid;
  border-width: 1px;
  padding: 1.3em 18px 0 18px;
  margin: 0 0 1em 0;
}

#viewprofile h2, #profilenav h2 {
  width: 125px !important;
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 11px;
}

#viewprofile h2 span, #profilenav h2 span {
  padding: 3px 27px;
  margin: 0 0 0 6px;
  position: relative;
  background-color: #9eabb342;
  font-weight: 700;
}

#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
}

#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
}

#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
}

#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
}

.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
}

#messages table td {
  padding: 6px 0;
}

#messages table td.tc2.pmtc22 .user-avatar,
#messages table td.tc2.pmtc22 .avatar-image {
  display: none;
}

/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

#pun-title {margin: 0; border-style: none none none none; border-width: 1px 1px 0 1px;}
#pun-title h1 {display: block; height : 40px; padding: 2em 1em 0 1em;}
#pun-title .container {border-style: none none none none;}
#pun-title h1 span {font-size: 1.5em; display: none;}

/* D2 Page navigation
-------------------------------------------------------------*/

#pun-pagelinks {position: absolute; top: -15px; left: 0; margin: 0; border: none; padding: 0; width: 100%;}
#pun-pagelinks .container {background: transparent; border: none; padding: 0;}
#pun-pagelinks .container li {display: inline;}
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {height: 2em; line-height: 2em; padding: 0; font-size: 1.2em; margin-left: -9999px; display: block; float:left; width: 100%;}
#pun-pagelinks a:active, #pun-pagelinks a:focus {position: relative; margin: 0;}
#pun-pagelinks li a span {display: block; margin: 0 1em;}

/* D3 Forum navigation
-------------------------------------------------------------*/

#pun-navlinks .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  width: var(--width-main);
  top: 235px;
  margin: 0 auto;
}

/* D4 User links
-------------------------------------------------------------*/

#pun-ulinks .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  width: var(--width-main);
  top: 268px;
  margin: 0 auto;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

#pun-status .container {
  position: absolute;
  top: 82px;
  margin: 0 auto;
  width: 657px;
  text-align: center;
}

#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  display: inline-block;
}

#pun-crumbs1 {
  overflow: hidden;
  margin: 0;
}

#pun-crumbs1 p.container {
  text-align: left;
  padding: 0.5em;
}

#pun-break1 {
  border-style: none;
  height: 0;
  margin: 0 1em;
  position: relative;
  z-index: 1;
}

/* D6 Announcement
-------------------------------------------------------------*/

#pun-announcement {
  margin: 1.5rem 0;
  padding: 0;
}

#pun-announcement h2 {
  position: relative;
  margin: 0 0 1rem 0;
  padding: 0;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  padding-bottom: 0.5rem;
}

#pun-announcement h2 span {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  font-size: inherit;
}

#pun-announcement .container {
  padding: 1.5rem;
  margin: 0;
}

/* D7 Statistics
-------------------------------------------------------------*/

#pun-stats .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 5px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 8px;
  color: var(--common-text-color);
}

#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  text-align: center;
  padding: 10px 12px;
  font-size: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
  background-color: var(--main-page-bg-color);
}

#pun-stats li.item1,
#pun-stats li.item2 {
  flex: 0 0 150px;
}

#pun-stats li.item3 {
  flex: 0 0 270px;
}

#pun-stats li.item4 {
  flex: 1 1 auto;
}

li#onlinelist.item5 {}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

#pun-qjump {
  width: 50%;
  position: relative;
  float: left;
}

#pun-qjump .container {
  background: transparent;
  padding: 0.8em 1em;
}

#pun-about p span {
  display: block;
  padding-left: 50%;
}

#pun-crumbs2 {
  overflow: hidden;
  clear: both; /* Гарантируем перенос после плавающих элементов */
  margin-top: 20px; /* Фиксированный отступ от предыдущего контента */
  position: relative;
  top: 0;
}

#pun-crumbs2 .container {
  padding: 0.5em;
}

body[class*="messages"] #pun-crumbs2 {
  /* Для страницы сообщений можно сделать отступ чуть больше, если нужно */
  margin-top: 25px; 
}

#pun-break4 {
  border-style: none;
  height: 0;
  margin: 0 1em;
  position: relative;
  z-index: 1;
}

/* D9 Help file
-------------------------------------------------------------*/

#pun-help .formal .info-box h3.legend {border-bottom-style: solid; border-bottom-width: 1px; padding-bottom: 0; margin-bottom: 0.8em;}
#pun-help .formal .info-box h3.legend span {padding-bottom: 0.6em; display: block; border-bottom-style: solid; border-bottom-width: 1px; font-size: 1.1em;}
#pun-help .formal p, #pun-help .formal dd {margin-bottom: 1em;}
#pun-help .formal ul, #pun-help .formal dl {padding: 0 0 0 1em;}
#pun-help .formal li {padding: 0; line-height: 130%;}
#pun-help .formal li * {vertical-align: text-top;}
#pun-help .formal dt span {font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace;}
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {padding-bottom: 0;}

#pun-title table tbody tr .title-logo-tdr, .admin-advert-block {position: absolute; top: 20px; left: 350px; z-index: 1;}
a.permalink {display: inline-block; position: relative; z-index: 10;}