@import url(style_cs.1695670605.css);

@font-face {
    font-family: FontAwesome;
    src: local("FontAwesome"), url(https://forumstatic.ru/files/001b/d6/ea/88874.otf?v=1);
    font-style: normal;
}

@font-face {
    font-family: 'Material Symbols Outlined';
    src: local("Material Symbols Outlined"), url(https://forumstatic.ru/files/001b/d6/ea/60419.ttf);
    font-style: normal;
}

@font-face {
    font-family: MyLogo;
    src: local("C with acute"), url(https://forumstatic.ru/files/001b/d6/ea/83935.ttf);
    font-style: normal;
}

@font-face {
    font-family: MyFontNav;
    src: local("Alumni Sans Pinstripe"), url(https://forumstatic.ru/files/001b/d6/ea/80664.ttf);
    font-style: normal;
}

@font-face {
    font-family: Century Gothic;
    src: local("Century Gothic"), url(https://forumstatic.ru/files/001b/d6/ea/63837.ttf);
    font-style: normal;
}

/* ------- Глобальные блоки ------- */

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 0.85em;
  font-family: Century Gothic, Montserrat, Verdana, Georgia, arial, helvetica, sans-serif;
  font-style: normal;
  position: relative;
}

.punbb * {
  margin: 0;
}

/* ------- Первый контейнер сайта ------- */
#pun {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* ------- Второй контейнер сайта ------- */
.punbb {
  margin: 0 auto;
  width: 100%;
  //max-width: 900px;
  height: auto;
}

/* ------- Блок html-верха ------- */
#html-header {
  position: relative;
  height: 200px;
  margin: 0 auto;
  border-bottom: 1px dashed var(--light-gray-color);
}
#forum_header {
  position: relative;
  margin: 0 auto;
  width: var(--forum-max-width);
  display: grid;
  place-items: center;
  gap: 0.5em; /* расстояние между ячейками */
  grid-template-columns: 20% 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: "amc links";
}

/* Админы */
#header_admins {
  grid-area: amc;
}
.amc {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  margin: 0.5em;
}

/* Главные ссылки */
#header_links {
  grid-area: links;
  border: none;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-justify-content: center;
  justify-content: center;
}
#header_links a {
    margin: 0.2em;
    padding: 0.2em 0.3em;
    font: max(1.4em, calc(0.5em + 1vw)) MyFontNav;
}

/* Бабочка */
#jigokucho {
  width: 100px;
  height: 100px;
  position: relative;
  margin: 0.5em;
  grid-area: jigokucho;
}

/* Блок названия форума #pun-title */
#pun-title {
  margin: 0;
  border: none;
  position: absolute;
  z-index: 3;
  top: 20.5em;
  display: none;
}

#pun-title h1 {
  display : block;
  padding: 0 0.5em;
}

#pun-title h1 span  {
  font: max(3vw, min(2.3em, calc(200vw * 4 / 75))) MyLogo;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#pun-title table {
  border: none;
  height: auto;
  width: 100%;
  margin: 0;
}
#pun-title td.title-logo-tdl {
  border: none;
  width: 100%;
}
#pun-title td.title-logo-tdr {
  width: 468px;
}





/* Общее для всех списков */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
}

/* Общее для всех картинок */
.punbb img {
  border:none;
}

/* Общее для всех таблиц */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
}

/* Общий стиль чек-боксов */
.checkfield input[type="checkbox"], .radiofield input[type="radio"]
{margin: 0 0.3em;}

/* Общий стиль полей ввода */
input[type=text]:focus {
    
}

/* Общий стиль чек-боксов и радиокнопок */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle;
}


 /* A3 Text setup
-------------------------------------------------------------*/

/* ------- Текстовые поля, списки и т.д. ------- */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif;
}

/* Заголовки */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
}

/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1.1em;
}

/* A3.6 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace:
}

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal;
}

/* A3.8 */
.punbb .post-content em {
  font-style: italic;
}

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

/* Стиль всех ссылок */
.punbb a {
  text-decoration: none;
}

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
}


/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow:hidden;
  line-height: 0.0;
  font-size: 0;
}

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.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;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden;
}


/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
}

/* A5.4 */
.punbb .section, .punbb .main {
  margin: 1em auto;
}

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 0.4em;
}

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
}

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
}

/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border: none;
}

/* A5.9 */
.punbb .container {
  border-style: solid;
  border-width: 1px;
}

/* ------- Категории форума и статистики ------- */
#pun-main {
  margin: 2.5em auto 0 auto;
  padding: 2.5px 0;
  position: relative;
  width: 100%;
  max-width: var(--forum-max-width);
}

#pun-stats {
  max-width: var(--forum-max-width);
}

#pun-main .category, #pun-stats {
  margin: 2em auto;
  padding: 2.5px 0;
  position: relative;
}

#pun-main .category h2, #pun-stats h2, #pun-main h1 {
  margin: -0.5em auto 0 auto;
  padding: 0;
  width: 98%;
  font: max(1.1em, calc(0.7em + 1vw)) MyFontNav;
  text-align: right;
}

#pun-main .category h2 span, #pun-stats h2 span, #pun-main h1 span {
  margin-right: 0.5em;
}

#pun-main .container {
  margin: 0;
  padding: 0;
  border: none;
}

.punbb .section h2, #pun-main h2, #pun-debug h2 {
  padding: 0.5em 1em;
  border-style: none solid solid none;
  border-width: 0 1px 1px 0;
}

/* Стили главной страницы форума #pun-index */

#pun-index #pun-main .container table td {
  border: none;
}

#pun-index #pun-main .container table thead {
  display: none;
}

#pun-index #pun-main .container table tbody {
  position: relative;
}

#pun-index #pun-main .container table tbody .tc2 {
  position: relative;
  top: -2.5em;
  left: -3.5em;
  z-index: 2;
}

#pun-index #pun-main .container table tbody .tc2::before {
  content: "\e2c7";
  font-family: Material Symbols Outlined;
  font-size: 3em;
  font-variation-settings:
  'FILL' 0,
  'wght' 100,
  'GRAD' 0,
  'opsz' 48;
  position: relative;
  top: 0.35em;
  left: 0.6em;
  z-index: 1;
}


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  }

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid #888;
  width: 250px;
  margin: 5px 0;
  }

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  }

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom
  }

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 0.4em 1.8em 1.4em 1.8em;
  padding: 1em;
  border-style: solid;
  border-width: 1px;
  }

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  padding-bottom: 0.7em;
  font-size: 1.1em;
  font-weight: bold;
  font-style: normal;
  margin: 0;
  }

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  margin: 0 0 1.1em 0;
  }

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }


/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* ------- Верхний блок с количеством страниц и ссылками создания тем ------- */
.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  height: 0;
  font: max(1.1em, calc(0.3em + 1vw)) MyFontNav;
}

.multipage {
  margin-top: 5em;
}

/* Верхнее количество страниц */
.linkst .pagelink {
  position: absolute;
  top: -3em;
  left: 1em;
  width: 24em;
  z-index: 1;
}

/* Верхние ссылки создания тем, опросов и ответов */
.linkst .postlink {
  position: absolute;
  top: -3em;
  right: 1em;
  width: 16em;
  text-align: right;
}

/* ------- Нижний блок с количеством страниц и ссылками создания тем ------- */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em;
  font: max(1.1em, calc(0.3em + 1vw)) MyFontNav;
}

/* Нижнее количество страниц */
.linksb .pagelink {
  float: left;
  text-align: left;
}

/* Нижние ссылки создания тем, опросов и ответов */
.linksb .postlink {
  float: right;
  width: 16em;
}

/* Нижняя ссылка подписки на тему */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
}


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
}

/* C1.2 */
.punbb .formsubmit {
  //padding: 0 0 0 1.7em;
  padding: 0;
  margin: 1em 0 1em 0;
}

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0;
}

/* C1.4 */
.punbb fieldset {
  border: none;
  padding: 0 1em;
  margin: 0;
}

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0;
  font-size: 1.1em;
  //display: none;
}

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0;
}

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0;
}

/* C1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both;
}

/* C1.12 */
.punbb .datafield br {
  display: none
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
}

/* C1.17 */
.punbb .hashelp {
  position: relative;
  }

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }


/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
}

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 30%;
  }

/* C2.4 */
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%;
}

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
}

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

/* C2.8 */
#pun-index .tcl h3 {
  font-size: 1.2em;
  font-weight: normal;
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

/* C2.11 */
.punbb .main td {
  border-style: solid none none solid;
  border-width: 1px 0 0 1px;
  padding: 0.8em 1em;
  }

/* C2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
  }

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0
  }

/* C2.14 */
.punbb tbody.hasicon td.tcl {
  padding-left: 3.2em;
}

/* C2.15 */
.punbb div.icon {
  border-style: solid;
  border-width: 0.6em 0.6em 0.6em 0.6em;
  height: 0;
  line-height: 0.0;
  margin-top: 0.1em;
  width: 0;
  }

/* C2.16 */
.punbb  table div.icon {
  font-size: 1.05em;
  position: absolute;
  margin-left: -2.2em;
  }

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  border-style: none solid solid solid;
  border-width: 1px;
  margin-top: -1px;
  padding-bottom: 1px;
  }

/* C3.2 */
.punbb .post h3 {
  border-style: solid solid none solid;
  border-width: 1px;
  }

/* C3.3 */
.punbb .post h3 span {
  padding: 0.5em 1em;
  display: block;
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 1px
  }

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

/* C3.5 */
.punbb .post .post-author {
  float: left;
  width: 19em;
  margin-top: -1.5em;
  overflow: hidden;
  }

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
  }

/* C3.7 */
.pa-author {
  font-size: 1.1em;
  font-weight: bold;
  }

/* C3.8 */
.pa-author a {
  text-decoration: none
  }

/* C3.9 */
li.pa-title {
  padding-bottom: 0.4em;
  font-weight: bold;
  }


li.pa-online {
  line-height: 0.8em;
  border-left-style: solid;
  border-left-width: 0.7em;
  padding-left: 0.4em;
  margin-top: 0.7em;
}

/* C3.11 */
.punbb .post-body {
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 1px;
  padding: 0 0 1px 0;
  }

/* C3.12 */
.punbb .post-box {
  padding: 1em;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 1px;
  }

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  border-top-style: dashed;
  border-top-width: 1px;
  background: transparent;
  text-align: right;
  }

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
  }

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }

/* ------- Страница профиля ------- */
#pun-profile .formal, #pun-profile .formal .container {
  border: none;
  margin: 0;
  padding: 0 0.5em;
}

/* ------- Редактирование профиля ------- */
/* Меню редактирования профиля #profilenav */
#profilenav {
  float: left;
  width: 10em;
  margin: 1em 1em 0 0;
  padding: 0;
  display: inline;
  text-align: center;
}
#profilenav h2 {
  display: none;
}
#profilenav ul {
  padding: 0.3em 0;
  margin: 0;
}
#profilenav li {
  padding: 0.3em 0.5em;
  //font-weight: bold;
}

/* Убираем некоторые заголовки в редактировании профиля */
#profile1 fieldset legend, #profile2 fieldset legend, #profile4 fieldset legend, #profile5 fieldset legend span, #profile6 fieldset legend, #profile7 fieldset legend, #profile9 fieldset legend, #profile10 fieldset legend, #pun-upavatar fieldset legend {
  display: none;
}

#pun-profile .formsubmit {
  text-align: center;
}

/* Основной #profile1, Персональный #profile2, Отображения #profile6 */
#profile1 fieldset label, #profile2 .inputfield label, #profile6 .inputfield label {
  font-weight: normal;
  margin: 0 0 -1em 0;
  padding: 0;
  display: block;
}
#profile1 .fs-box, #profile2 .fs-box {
  padding: 0.5em 0 0 0;
}
#profile2 #sex {
  font-weight: normal;
  margin: 0;
  padding: 0;
  display: block;
}

/* Аватар #profile4 */
#profile4 img {
  float: none !important;
  margin: 0 auto;
}
#profile4 .infofield, #profile4 .checkfield {
  display: none;
}
/* Страница загрузки аватара #pun-upavatar */
#pun-upavatar .fldfile {
    display: none;
}

/* Подпись #profile5 */
#profile5 #plng {
  position: relative;
  top: 9.5em;
}
#profile5 textarea {
 padding: 0.5em;
}

/* Дополнительно profile8 */
#profile8 fieldset .fs-box {
  padding: 0.3em 0 0 0;
}
#profile8 legend span {
  font-size: 1em;
  padding: 0;
}
#profile8 fieldset:first-of-type {
  margin-top: 1em;
}

/* Приглашения profile9 */
#profile9 .inputfield input {
  margin-top: 0.3em;
}

/*  */

/* Просмотр профиля #viewprofile*/
#viewprofile ul {
  border: none;
  padding: 1em 0;
  margin: 0;
}
#viewprofile li {
  padding: 0;
  margin: 0;
}
#viewprofile li span {
  //float: left;
  //width: 14em;
  margin: 0.3em 0 0 0;
  padding:0;
}

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 14px -0.6em 14px;
}
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
}

/*C6.9 */
#setmods dl {
  padding: 0;
  margin: 0;
}
#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;
  font-weight: normal;
  margin: 0.2em 0;
}

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
}

/* Левая часть профиля (просмотр) */
#profile-left {
}
/* Имя пользователя */
#pun-profile #profile-name, #pun-profile #profile-name strong {
  margin: 0;
  padding: 0;
  text-align: center;
  font: max(1.5em, calc(0.3em + 1vw)) MyFontNav;
  font-weight: normal !important;
}
#pun-profile #profile-name .sex_sign {
  margin: 0 0 0 0.1em;
  padding: 0;
  font-size: small;
  vertical-align: super;
}

/* Титул пользователя */
#pun-profile #profile-title, #pun-profile #profile-title strong {
  margin: 0;
  padding: 0;
  text-align: center;
  font: max(1em, calc(0.2em + 0.5vw)) Century Gothic;
  font-weight: normal !important;
  letter-spacing: 0.1em;
}
/* Аватар пользователя */
#pun-profile #pa-avatar {
  margin: 0.7em auto;
  padding: 0;
  max-width: 200px;
  max-height: 200px;
  min-width: 100px;
  min-height: 100px;
  border: none;
}
#pun-profile #pa-avatar div {
  margin: 0;
  padding: 0;
  max-width: 200px;
  max-height: 200px;
  min-width: 100px;
  min-height: 100px;
  border: none;
  width: 100%;
  height: 100%;
  text-align: center;
}
#pun-profile #pa-avatar img {
  margin: 0 auto;
  padding: 0;
  //width: 100%;
  border: none;
  object-fit: cover;
  border: 1px solid var(--yellow-color);
}
/* Статус активности */
#pun-profile #pa-online, #pun-profile #pa-online strong {
  margin: 0;
  padding: 0;
  text-align: center;
  font-weight: normal !important;
  text-transform: lowercase;
}
/* Ссылка на редактирование */
#pun-profile #pa-edit, #pun-profile #pa-edit strong {
  margin: 0.5em auto;
  padding: 0;
  text-align: center;
  font-weight: normal !important;
}
#pun-profile #pa-edit strong a {
  margin: 0.5em 0;
  padding: 0 0.5em;
  text-align: center;
  font-weight: normal !important;
  font: max(1.5em, calc(0.1em + 1vw)) MyFontNav;
}

/* Правая часть профиля (просмотр) */
#profile-right {
  margin: 0;
  padding: 0 0.3em !important;
  box-sizing: border-box;
  vertical-align: middle;
  width: 100% !important;
  display: grid;
  place-items: center;
  gap: 0 0.5em; /* расстояние между ячейками */
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 5em 5em 7em 7em;
  justify-items: center;
  align-items: center;
  justify-content: start;
  grid-template-areas:
    "register-date  time-visit  last-post  last-visit"
    "anketa  anketa  plashka  plashka"
    "awards  cash  messages  messages"
    "email  email  email  email";
}

@media screen and (max-width: 768px) {
  #profile-right {
    gap: 0.3em 0.5em;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(7, 1fr);
    grid-template-areas:
      "register-date  time-visit"
      "last-post  last-visit"
      "anketa  anketa"
      "plashka  plashka"
      "messages  messages"
      "awards  cash"
      "email  email";
  }
}

#profile-right li {
border: 1px solid red;
  width: 100%;
  text-align: center;
}
#profile-right li strong {
  padding-left: 0 !important;
  font: max(1em, calc(0.3em + 0.5vw)) Century Gothic;
}
#pun-profile tr {
  //vertical-align: middle;
}
/* Дата регистрации */
#pun-profile #pa-register-date {
  text-transform: lowercase;
  grid-area: register-date;
}
/* Приглашения */
#pun-profile #pa-invites {
  display: none;
  grid-area: invites;
}
/* Провёл на форуме */
#pun-profile #pa-time-visit {
  text-transform: lowercase;
  grid-area: time-visit;
}
/* Дата последнего сообщения */
#pun-profile #pa-last-post {
  text-transform: lowercase;
  grid-area: last-post;
}
/* Дата последнего посещения */
#pun-profile #pa-last-visit {
  text-transform: lowercase;
  grid-area: last-visit;
}
/* Послать e-mail и Отправить ЛС */
#pun-profile #pa-email {
  grid-area: email;
  border:none;
}
#pun-profile #pa-email span {
  display: none;
}
#pun-profile #pa-email strong {
  font-size: 0;
}
#pun-profile #pa-email strong a {
  margin: 0.5em;
  padding: 0 0.5em;
  font-size: max(1rem, 0.1rem + 1vw);
  font-family: MyFontNav;
}

/* Награды */
#pun-profile #pa-awards {
  grid-area: awards;
  border: none;
}
#pun-profile #pa-awards strong {
  display: inline;
}

/* Подарки */
#pun-profile #pa-gifts {
  display: none;
}
/* Настоящее имя, Местонахождение, Вебсайт, Интересы, Обо мне (в профиле и при его редактировании) */
#pun-profile #pa-name, #pun-profile #realname, #pun-profile #pa-location, #pun-profile #location, #pun-profile #website, #pun-profile #pa-interests, #pun-profile #interests, #pun-profile #pa-about, #pun-profile #about-me {
  display: none;
}
/* Пол */
#pun-profile #pa-sex {
  display: none;
}
/* Анкетные данные */
#pun-profile #pa-fld1 {
  grid-area: anketa;
  border: none;
  //width: 95%;
}
#pun-profile #pa-fld1 span {
  display: none;
}
/*#pun-profile #pa-fld1 strong::before {
  content: '©';
  margin: 0 0.1em;
  font: max(1.7em, 0.3em + 1vw) MyFontNav;
}*/
#pun-profile #pa-fld1 #ank {
  font: max(1.9em, 0.3em + 1vw) MyFontNav;
}
#pun-profile #pa-fld1 #LZ {
  text-align: justify;
  font-size: 0.9em;
  display: block;
  padding: 0 0.5em;
}

/* Плашка */
#pun-profile #pa-fld2 {
  grid-area: plashka;
  border: none;
  //width: 95%;
}
#pun-profile #pa-fld2 span {
  display: none;
}
#pun-profile #pa-fld2 strong {
  vertical-align: middle;
  display: block;
  margin: 0;
  padding: 0;
}
#pun-profile #pa-fld2 img {
  width: 50px;
  height: 50px;
  margin-right: 0.3em;
}

#pun-profile #pa-fld2 text {
  display: inline-block;
  font-size: 1.3em;
  position: relative;
  top: -0.7em;
}
#pun-profile #pa-fld2 sub_text {
  display: block;
  font-size: 0.7em;
}

@media screen and (max-width: 768px) {
  #pun-profile #pa-fld2 img {
    width: 35px;
    height: 35px;
    margin-right: 0.3em;
  }
  #pun-profile #pa-fld2 text {
    top: -0.3em;
  }
}

/* Сообщения */
#pun-profile #pa-posts {
  grid-area: messages;
  border: none;
}
#pun-profile #pa-posts span {
  display: none;
}
#user-posts, #user-topics {
  text-transform: lowercase;
}

/* Количество постов */
#gamePosts {
  display: inline !important;
}
.countGamePosts {
  display: inline !important;
}

/* Игровая валюта */
#pun-profile #pa-fld4 {
  grid-area: cash;
  border: none;
}
#pun-profile #pa-fld4 span {
  display: none;
}
#pun-profile #pa-fld4 strong::before {
  content: 'в кошельке';
  margin-right: 0.3em;
}
#pun-profile #pa-fld4 strong::after {
  content: '\0000A5';
  margin-left: 0.3em;
}

/* Блок подарков */
#profile-gifts {
  margin-top: 0.3em;
  display: none;
}

/* Подпись пользователя */
#profile-signature {

}

/* ------- Страница со списком пользователей (участники) и страница поиска ------- */

/* Блок поиска */
#pun-userlist .formal, #pun-userlist .formal .container, #pun-search .formal, #pun-search .formal .container {
  border: none;
  margin: 0;
  padding: 0 0.5em;
}
#pun-userlist fieldset, #pun-search fieldset {
  border: none;
  margin: 0;
  padding: 1em 0 0 0;
}

#pun-userlist .formal .container legend, #pun-search .formal .container legend {
  display: none;
}
#pun-userlist .formal .container fieldset .fs-box, #pun-search .formal .container fieldset .fs-box {
  margin: 0;
  padding: 0;
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-flex-flow: row wrap; /* Safari */
  flex-flow: row wrap; /* Расположение в строку и с переносом на другую строку */
  -webkit-justify-content: center; /* Safari */
  justify-content: center; /* выравнивание по центру пунктов меню */
}
#pun-userlist .formal .container fieldset .fs-box p, #pun-search .formal .container fieldset .fs-box p {
  text-align: center;
}
#pun-userlist .formal .container fieldset .fs-box label, #pun-search .main fieldset .fs-box label {
  font: max(1.5em, calc(0.1em + 1vw)) MyFontNav;
}
#pun-userlist .formal .container fieldset .fs-box .infofield, #pun-search .formal .container fieldset .fs-box .infofield {
  text-align: justify;
  padding: 0.3em 1em;
}

/* Блок с кнопкой "Отправить" */
#pun-userlist .formal .formsubmit, #pun-search .formal .formsubmit {
  padding: 0;
  text-align: center;
}

/* Блок с пользователями */
#pun-userlist .usertable .container {
  margin-top: 1em;
}
#pun-userlist .usertable .container {
  padding: 0.7em;
  border: none;
}
#pun-userlist .usertable table, #pun-userlist .usertable table th, #pun-userlist .usertable table td {
  border: none;
}
#pun-userlist .usertable .container table th {
  margin: 0;
  padding: 0;
  text-align: center;
}
#pun-userlist .main .tcl {
  width: 15%;
}
#pun-userlist .usertable table .tcl span:nth-child(2) {
  margin: 0;
  padding: 0;
  font: max(1.5em, calc(0.5em + 1vw)) MyFontNav;
}
#pun-userlist .usertable table .tc2, #pun-userlist .usertable table .relation {
  display: none;
}

/* ------- Страница с результатом поиска ------- */
#pun-message .info {
  margin: 0;
  padding: 1em;
}

/* ------- Страница со списком наград ------- */
#pun-mod .main {
  margin: 0 auto;
  padding: 0;
  border: none;
}
#pun-mod .main .category table, #pun-mod .main .category table th, #pun-mod .main .category table td {
  border: none;
  text-align: center;
  margin: 0;
  padding: 0.3em;
}
#pun-mod .main .category table th {
  margin: 0;
  padding: 0.5em 0 0 0;
  text-align: center;
}
#pun-mod .hasicon td.tcl {
  margin: 0;
  padding: 0;
}
#pun-userlist .usertable table .tcl:nth-child(2) img {
  width: 0.1vw !important;
}
#load-more-awards {
  font: max(1.5em, calc(0.1em + 1vw)) MyFontNav;
}

/* ------- Страница личных сообщений #pun-messages ------- */
#pun-messages #profile .container {
  padding: 0 0.5em;
}


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
}

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0;
}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline;
}

/* D2.4 */
#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%;
}

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
}

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em;
}

/* ------- Блок главных ссылок ------- */

#pun-navlinks {
  margin: 0;
  padding: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 3;
  width: 100%;
  border: none;
  opacity: 0.9;
}

#pun-navlinks .container {
  margin: 0;
  padding: 0.2em 0;
  border-width: 0 0 1px 0;
}

#pun-navlinks ul {
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-flex-flow: row nowrap; /* Safari */
  flex-flow: row nowrap; /* Расположение в строку и без переноса на другую строку */
  -webkit-justify-content: center; /* Safari */
  justify-content: center; /* выравнивание по центру пунктов меню */
  position:relative;
  font: max(1.7em, calc(0.5em + 1vw)) MyFontNav;
}

#pun-navlinks li {
  padding: 0 0.1em;
}


/* ------- Блок пользовательских ссылок ------- */
#pun-ulinks  {
  margin: 0 0 0.5em 0;
  padding: 0;
  //position: -webkit-sticky;
  //position: sticky;
  //top: 34px;
  //z-index: 3;
  width: 100%;
  border: none;
}

#pun-ulinks .container {
  padding: 0.3em 0;
  border: none;
}

#pun-ulinks ul {
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-flex-flow: row wrap; /* Safari */
  flex-flow: row wrap; /* Расположение в строку и с переносом на другую строку */
  -webkit-justify-content: center; /* Safari */
  justify-content: center; /* выравнивание по центру пунктов меню */
  position:relative;
  font: max(0.7em, calc(0.2em + 0.5vw)) Century Gothic;
  text-transform: lowercase;
  letter-spacing: 0.1em;
}

#pun-ulinks li {
  margin: 0 0.2em;
}

#pun-ulinks li a {
  padding: 0 0.7em;
}

#pun-ulinks .item7 {
  display: none;
}

#pun-navlinks #navextra1 a {
  font-size: 0;
}

/* ------- Блок приветствия пользователя #pun-status ------- */
#pun-status {
  margin: 0.3em 0;
  display: none;
}

#pun-status, #pun-status .container {
  padding: 0;
  position: relative;
  //position: absolute;
  z-index: 0;
  top: 0px;
  width: 100%;
  border: none;
}

#pun-status span {
  white-space: nowrap;
}

#pun-status .item4 {
  display: none;
}

/* ------- Блок верхних и нижних хлебных крошек #pun-crumbs1,2 ------- */

#pun-crumbs1, #pun-crumbs2 {
  overflow: hidden;
  margin: 0 auto;
  padding: 0;
  max-width: var(--forum-max-width);
  display: flex;
  display: -webkit-flex;
  align-items: center;
  gap: 0;
}

#pun-crumbs1 p.container, #pun-crumbs2 .container {
  border: none;
  padding: 0.2em;
  font: 2em MyFontNav;
  text-align: center;
  text-transform: lowercase;
}

#pun-crumbs1:before, #pun-crumbs1:after, #pun-crumbs2:before, #pun-crumbs2:after {
  content: "";
  width: 100%;
  margin:0 0.5em;
  height: 1px;
  border-top: 1px solid rgb(0, 0, 0, 0.7);
  background: rgb(238, 238, 238, 0.1);
  display: block;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

/* ------- Блок верхнего разделителя ------- */
#pun-break1 {
  margin: 0 1em;
  border-style: solid none;
  border-width: 1px 0;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  display: none;
}

/* ------- Блок объявления #pun-announcement -------*/
#pun-announcement {
  margin: 1.7em auto;
  padding: 2.5px 0;
  position: relative;
  width: 100%;
  max-width: var(--forum-max-width);
}

#pun-announcement .container {
  margin: -1.3em auto;
  padding: 1em 0;
  width: 98%;
}

#pun-announcement h2 {
  display: none;
}

/* ------- Наполнение объявления -------*/
#upanel {
  margin: 0;
  padding: 0;
  width: 50%;
  height: 100px;
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-flex-flow: row nowrap; /* Safari */
  flex-flow: row nowrap; /* Расположение в строку и без переноса на другую строку */
  -webkit-justify-content: left; /* Safari */
  justify-content: left; /* выравнивание */
  border: none;
  float: left;
}

#upanel .upanel_userpic_div {
  margin: -1px 0 0 0;
  padding: 0;
  width: 100px;
  height: 100px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

#upanel .upanel_userpic_div a {
  margin: 0;
  padding: 0;
  font-size: 0;
}

#upanel .greetings  {
  margin: 0;
  padding: 0.5em 0 0 0.5em;
  font: max(0.7em, calc(0.5em + 0.5vw)) Century Gothic;
}
#upanel .upanel_username  {
  font: max(1.3em, calc(0.7em + 1vw)) MyFontNav;
  padding-left: 0.7em;
}

#upanel .upanel_username_star  {
  font: max(0.7em, calc(0.1em + 1vw)) MyFontNav;
}

#upanel .upanel_heart {
  position: relative;
  padding-left: 0.2em;
  font: max(2.3em, calc(0.1em + 1vw)) MyFontNav;
}

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 0.8em 1em
  }

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
  }

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
  }

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  border-top-style: solid;
  border-top-width: 1px;
  float: left;
  width: 100%;
  line-height: 130%;
  }

/* D7.5 */
li#onlinelist div {
  border-top-style: solid;
  border-top-width: 1px;
  padding: 0.7em 0 0 0;
  }

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
  }

/* ------- Нижний блок со ссылкой создать форум #pun-about ------- */
#pun-about {
  margin: 0 auto;
  border: none;
  max-width: var(--forum-max-width);
}

#pun-about .container {
  border: none;
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
}

#pun-about p span {
  display: block;
  padding-left: 50%;
  //font: max(1.1em, calc(0.7em + 1vw)) MyFontNav;
  font: max(1.1em, 1vw) MyFontNav;
}

/* Этот же блок в админке */
div.punbb-admin #pun-about .container {
  border: none;
}

/* Нижний разделитель */
#pun-break4 {
  margin: -2px 1em;
  border-style: solid none;
  border-width: 1px 0;
  position: relative;
  height: 0;
  z-index: 1;
  display: none;
}

/* ------- Блок html-низа ------- */
#html-footer, #html-footer .container {
  margin: 0;
  padding: 0;
  border: none;
}

/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#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;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }