@import url(style_cs.1764804738.css);

/* ПОДГРУЗКА ШРИФТОВ
-------------------------------------------------------------*/
@font-face {
  font-family: "Font Awesome";
  src: url("//forumstatic.ru/files/001a/da/7d/83987.ttf");
}

@font-face {
  font-family: "Font Awesome Brands";
  src: url("https://forumstatic.ru/files/001c/2f/41/18849.woff2");
}

@font-face {
  font-family: "Satista";
  src: url("https://forumstatic.ru/files/001c/30/dc/50161.otf");
}

@font-face {
  font-family: "Sirin";
  src: url("https://forumstatic.ru/files/001c/30/dc/32435.otf");
}

@font-face {
  font-family: "Font Awesome Web";
  src: url("https://forumstatic.ru/files/001c/32/58/33927.ttf");
}

@font-face {
  font-family: 'Arial Black';
  src: url("https://forumstatic.ru/files/001c/32/58/49208.ttf");
}

@font-face {
  font-family: 'Charming';
  src: url("https://forumstatic.ru/files/001c/2f/41/37891.otf");
}

/* ROOT
-------------------------------------------------------------*/
:root {
  --h2-font: 'Inter'; /* шрифт с засечками */
  --body-font: 'Inter'; /* шрифт основного текста */
  --fancy-font: 'Philosopher';
  --forcol: #0000000D; /* цвет подложки цитат */
  --forcol-border: solid 1px #0000001f; /* обертка подложки цитат */
  --forcol-bxs: 0 0 0 1px #c8c6bf9c, 0px 0px 4px 2px #0000002e;
  --quotes: #a7a59d;
  --link: #393532; /* цвет основных ссылок */
  --hovlink2: #82353b;
  --headlink: #874f41;
  --doplink: #8b9cb3; /* цвет дополнительных ссылок */
  --t-body: #3F433C; /*цвет основного текста */
  --doptext: #A8A8A8; /*цвет дополнительного текста */
  --proftext: #1c1c1c; /*цвет текста в профиле */
  --table: #192f40;
  --br-n-shadow: 0px 0px 10px 0px #000000b5 inset, 0 0 0px 2px #1e3748,
    0 0 0px 3px #09131e, 0px 0px 10px 0px #00000080;
  --cover: url(https://forumstatic.ru/files/001c/2f/41/38354.png);
  --body: url(https://forumstatic.ru/files/001c/2f/41/95682.png?v=1);
  --blur: blur(10px);
  --modal: #b7b5ad; /*цвет модальных окон*/
  --back-color: #adb6c2;
  --hovlink: #677B60;
}

:root.dark {
  --back: url(https://forumstatic.ru/files/001c/2f/41/38354.png);
  --header: url(https://forumstatic.ru/files/001c/2f/41/18564.png);
  --hovlink: #677B60;
  --el-border: linear-gradient(180deg, #4F564D 0%, rgba(79, 86, 77, 0) 100%);
  --hourglass: url(https://forumstatic.ru/files/001c/2f/41/81434.png);
  --t_back: linear-gradient(180deg, rgba(79, 86, 77, 0.5) 0%, rgba(79, 86, 77, 0) 100%);
  --t_color: #6E7668;
}

:root.light {
  --back: url(https://forumstatic.ru/files/001c/2f/41/61493.png);
  --header: url(https://forumstatic.ru/files/001c/2f/41/15026.png);
  --hovlink: #8D6B56;
  --el-border: linear-gradient(180deg, #67605A 0%, rgba(79, 86, 77, 0) 100%);
  --hourglass: url(https://forumstatic.ru/files/001c/2f/41/77715.png);
  --t_back: linear-gradient(180deg, rgba(103, 96, 90, 0.5) 0%, rgba(79, 86, 77, 0) 100%);
  --t_color: #7D6B59;
}

/* ОСНОВНЫЕ ШРИФТЫ ФОРУМА
-------------------------------------------------------------*/
/* основной шрифт текста форума */
body {
  font-family: 'Inter';
  font-size: 11px;
  font-weight: 500;
  min-width: 1120px;
}

h1,
h2 {
  font-family: 'Inter';
  font-size: 12px;
  color: #464646;
  font-weight: 600;
}

/* шрифты поля ввода*/
textarea,
input,
select,
optgroup {
  font: 11px Verdana;
}

/* ЦВЕТ ТЕКСТА БОЛЬШИНСТВА ЭЛЕМЕНТОВ НА ФОРУМЕ
-------------------------------------------------------------*/
.section .container,
.post-body,
.post-links,
.punbb td.tc2,
.punbb td.tc3,
.formal fieldset .post-box,
#viewprofile li strong,
#viewprofile li div,
#setmods dd,
.info-box,
#pun-main .info-box .legend,
.main .container,
.post .container,
.post h3,
.punbb-admin #pun-admain .adcontainer,
#pun-title,
#pun-title .container,
.modmenu .container,
.punbb legend span,
#viewprofile h2 span,
#profilenav h2 span,
.punbb-admin #pun-admain legend span,
.post h3 span,
.punbb th,
#viewprofile li,
#setmods dl {
  color: var(--t-body);
}

/* ЦВЕТ ТЕКСТА ПОСТОВ
-------------------------------------------------------------*/

.post-box a {
  color: var(--hovlink) !important;
  font-weight: 600;
}

.post-box a:hover {
  color: var(--hovlinkt) !important;
}

.post-box .code-box a {
   color: #CACACA !important;
}

.post-box .post-rating a,
.post-box .post-rating a:hover {
  color: #f2eee7bd !important;
}

.post-box .code-box a:hover,
.code-box a:hover {
  color: #340705 !important;
}

del {
  background-color: transparent !important;
  text-decoration: none;
  filter: blur(1.5px);
  transition: all 0.3s ease-in-out;
}

del:hover {
  filter: blur(0px);
}

/* ЦВЕТ ДЕЖУРНОГО ТЕКСТА (тему просматривают, страницы и т.д.)
-------------------------------------------------------------*/
.linkst .pagelink,
.linksb .postlink,
.linkst .postlink,
.punbb .post-links ul,
.punbb .modmenu .container,
.punbb .modmenu .container,
.subscribelink,
.punbb fieldset legend span,
.punbb .linksb {
  text-transform: lowercase;
  color: var(--t-body);
  font: var(--body-font);
}

/* ЦВЕТ ССЫЛОК НА ФОРУМЕ
-------------------------------------------------------------*/
.punbb a:link,
.punbb a:visited,
.punbb-admin #pun-admain a,
.punbb-admin #pun-admain a:link,
.punbb-admin #punbb-admain a:visited,
.punbb li.isactive a,
.punbb li.isactive a:link,
.punbb li.isactive a:visited {
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: none;
  color: var(--t-body);
  font-weight: 600;
  cursor: pointer;
}

/* ЦВЕТ ССЫЛОК НА ФОРУМЕ ПРИ НАВЕДЕНИИ
-------------------------------------------------------------*/
.punbb a:hover,
.punbb a:focus,
.punbb a:active,
.punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover,
.punbb-admin #punbb-admain a:focus,
.punbb-admin #punbb-admain a:active {
  color: var(--hovlink);
}

/* ТАБЛИЦЫ
-------------------------------------------------------------*/
/* стили таблиц */
.main table {
  table-layout: fixed;
  width: 100%;
}
.main .category table {
  display: flex;
  justify-content: center;
}

.main .category table thead {
  display: none;
}

#pun-viewforum .main table tr {
  margin: 0px 0px 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#pun-viewforum .hasicon {
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
  padding-left: 16px;
  margin-bottom: 15px;
}

#pun-searchtopics .main table tr {
  margin: 0px 0px 15px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#pun-searchposts .post h3 span {
  align-items: center;
}
#pun-searchposts .FNTslider {
  display: none;
}

#pun-messages #volSlider .before {
  border: solid 1px var(--hovlink) !important;
  background: var(--hovlink) !important;
  width: 0;
  height: 3px !important;
  margin-top: 0 !important;
}

#pun-messages #volSlider .thumb {
  display: inline-block;
  position: relative;
  width: 6px !important;
  height: 12px !important;
  background: var(--hovlink) !important;
  border-radius: 50%;
  top: -9px !important;
  left: 0;
  box-shadow: none !important;
  cursor: pointer;
}

#pun-messages #volSlider {
  width: 99px !important;
  height: 4px !important;
  display: inline-block;
  background: #fafafabf !important;
  border: none !important;
  border-radius: 3px;
  box-shadow: none !important;
  margin-top: 5px;
  margin-left: 1em;
}

#pun-searchtopics .main table .tcr {
  width: 26%;
  padding-left: 30px;
}

#pun-searchtopics .main table .tcr .user-avatar .isonline {
  display: none !important;
}

.modmenu {
      width: 98%;
  margin: 0 11px;
}

#topic-modmenu .container span,
#pun-viewforum .modmenu .container span,
#pun-searchtopics .modmenu .container span {
  display: none;
}

#topic-users-in .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 4px;
  font: 600 10px var(--body-font);
}
#topic-users-in .container a {
  font-size: 11px !important;
  padding-bottom: 2px;
}
#topic-users-in .container span {
  position: relative;
}

.closedatafield,
.isticky .stickytext {
  display: none;
}

#pun-userlist .main table {
  margin: 0px 0 15px;
  padding: 0px 10px;
}

#pun-userlist .main table tr {
  margin: 0px 0px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#pun-userlist .main table .tc3 {
  width: 10%;
}

#pun-userlist .linkst {
  display: none;
}

#pun-messages .main table tr {
  margin: 0px 0px 10px;
  display: flex;
  height: 35px;
}

#plng {
  padding: 8px 6px 5px;
  font-weight: 700 !important;
  color: var(--t-body);
  text-transform: uppercase;
  font-size: 7px;
  width: 134px;
  height: 13px;
  text-align: center;
  margin: 0px 0 10px;
  background: var(--forcol);
  box-shadow: none;
  border-radius: 10px 0 0 0;
  border: 1px solid #3f3f3f1f;
}

#form-buttons {
  position: relative;
  display: flex;
  border-bottom: none;
}

#pun-messages #form-buttons {
  margin-bottom: 10px;
}

#pun-edit #form-buttons small {
  top: -34px !important;
}
#togglePreview {
  position: absolute;
  z-index: 3;
  right: 2px !important;
  top: 0px;
}

#togglePreview input.button {
  width: 26px;
  height: 28px;
  font-size: 0 !important;
  margin: 0 !important;
  background: var(--forcol);
  box-shadow: none !important;
  border-radius: 0 10px 0 0;
  padding: 0 !important;
  border: 1px solid #3f3f3f1f !important;
}

#togglePreview:after {
  content: "\f303";
  position: absolute;
  font-family: "Font Awesome";
  font-size: 14px;
  color: var(--t-body);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease-in-out;
}

#togglePreview:hover:after {
  color: var(--hovlink2);
}

#post-preview .post-box {
  width: 99%;
}
#post-preview .post-content {
  background: var(--forcol);
  padding: 10px 20px;
  box-sizing: border-box;
  margin: 0 auto 20px;
  border-radius: 2px;
  border: var(--forcol-border);
}

#pun-edit #togglePreview {
  margin-top: 24px;
}
#pun-edit #pun-announcement {
  display: none;
}
#pun-post .formal .container {
  padding: 35px 0px;
}

#pun-profile:has(#viewprofile-next) .formal .container {
  box-sizing: border-box;
  margin: 15px;
  background: url(https://forumstatic.ru/files/001c/30/dc/80155.png) top,
    url(https://forumstatic.ru/files/001c/30/dc/31750.png);
  background-color: #a09e95;
  border-radius: 10px;
  box-shadow: 0px 0px 5px 0px #0000001a;
}

#pun-profile #form-buttons table tr {
  width: 99% !important;
}
#pun-profile #form-buttons td {
  width: 16px;
}

#pun-messages #form-buttons table {
  width: 102%;
}

#pun-messages #form-buttons table tr {
  height: auto;
  width: 99%;
  margin-bottom: 0;
}

#pun-messages #form-buttons td {
  margin: 0px;
}

#pun-messages .main table tr .tc2 {
  margin: -8px 0px 0px;
}

#pun-messages .main table tr .tc2 a {
  display: flex;
  flex-wrap: wrap;
}

#pun-messages .main table tr .pmtc22 {
  width: 28% !important;
}

#pun-messages .main #post-form {
  margin-top: 30px !important;
}

#pun-messages .fs-box .post-author {
  position: relative;
  border-radius: 10px;
  margin: -21px 0 55px 0px;
}

#pun-messages .fs-box .post-author:after,
#pun-messages .fs-box .post-author:before {
  content: "";
  position: absolute;
  background: none;
  width: 0px;
  height: 0px;
  bottom: 0px;
  left: 0px;
}

#pun-messages #togglePreview {
  margin: 0px 0px;
  top: unset;
  bottom: 0;
  display: none;
}

#pun-messages #post-form #form-buttons small {
  margin: 0 4px 0 0 !important;
}

#pun-messages #post-new #post-form #form-buttons small {
  top: 52px !important;
  left: 90px !important;
  display: none;
}

#pun-messages #notify-settings .inp2 {
  display: flex;
  width: 350px;
  flex-wrap: wrap;
  margin: 20px 0;
  position: relative;
  left: 650px;
}

#pun-messages #notify-settings #volume-set {
  margin-left: 24px;
  float: unset;
}

#pun-viewforum .main table tr td {
  align-self: center;
}

#pun-viewforum .main table tr .tcl {
  width: 40%;
}

#pun-viewforum .main table tr .tcr {
  width: 30%;
}

#pun-profile .main:not(.main:has(.modal_wrap)) {
  margin-bottom: 0px;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 10px 0px 10px 10px;
  box-shadow: 0px 0px 5px 0px #0000001a;
  border: 1px solid #b3b1aa;
}

#pun-profile:has(#viewprofile-next) .main {
  background: #a7a59d;
}

#pun-profile li strong {
  font: var(--body-font);
}

#pun-profile #pa-fld5,
#pun-profile #profile-gifts {
  display: none;
}

#pun-profile #profile8 fieldset,
#pun-messages #profile fieldset {
  margin: 0px;
  padding: 0px;
}

#pun-profile #profile8 fieldset legend {
  margin: 0px;
  padding: 0px;
}

#pun-messages #profile > .container > fieldset > legend {
  margin: 0;
  font: 500 12px "Mulish";
  text-transform: uppercase;
}

#pun-profile #profile8 .fs-box p,
.punbb .fs-box fieldset {
  margin: 5px 0px 20px;
}

#pun-profile #profile8 .formsubmit {
  margin: 20px 0px 10px 0px;
}

#post-preview .code-box strong.legend {
  text-transform: uppercase;
  font-style: italic;
}

#viewprofile #pa-gifts,
#viewprofile #pa-invites {
  display: none !important;
}

#post-preview .quote-box cite a {
  color: #d2cec4 !important;
}

#pun-online #pun-main .online-list table tr {
  height: 30px;
}

/* ОФОРМЛЕНИЕ ПРЕВЬЮ ПРОФИЛЯ */

#pun-profile #pun-crumbs1 p {
  color: var(--t-body);
  padding: 8px 0;
  font: 700 14px var(--body-font);
  margin: 0;
  width: 345px;
  margin-left: 10px;
  background: var(--quotes);
  border-radius: 10px 10px 0px 0px;
  box-shadow: 0px 0px 5px 0px #0000001a;
  border: 1px solid #b3b1aa;
}

#pun-profile #pun-crumbs1 {
  margin: 0 auto;
}

#pun-profile #pun-crumbs1 strong,
#pun-profile #pun-crumbs1 em,
#pun-profile #pun-crumbs1 a {
  display: none !important;
}

#pun-profile #viewprofile tbody tr {
  display: flex;
  margin: 0 auto;
  gap: 15px;
}

#pun-profile #profile-left {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 56%, #a09e95 131%),
    url(https://forumstatic.ru/files/001c/30/dc/31750.png?v=1);
  border-radius: 10px;
  border: 1px solid #b3b1aa;
  box-shadow: 0px 0px 5px 0px #0000001a;
  width: 230px;
}

#pun-profile #profile-right #pa-awards {
  display: none;
}

#viewprofile #profile-right {
  display: flex;
  gap: 15px;
  box-sizing: border-box;
}

#viewprofile #profile-right > div {
  display: flex;
  flex-wrap: wrap;
  width: 230px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 56%, #a09e95 131%),
    url(https://forumstatic.ru/files/001c/30/dc/31750.png?v=1);
  border-radius: 10px;
  border: 1px solid #b3b1aa;
  box-shadow: 0px 0px 5px 0px #0000001a;
  height: 100%;
}

.prev-wrap_2 {
  width: 300px !important;
}

#viewprofile #profile-right li {
  flex: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font: 700 11px var(--body-font) !important;
  box-sizing: border-box;
}

#viewprofile #profile-right li:not(#pa-fld1) a {
  color: var(--hovlink);
  font-weight: 800 !important;
}
#pa-positive a,
#pa-respect a,
#pa-fld3 span,
#pa-fld4 span {
  font-size: 8px !important;
  text-transform: uppercase;
}
#viewprofile #profile-right li:not(#pa-fld1) a:hover {
  color: #638da5 !important;
}
#viewprofile #profile-right li:not(#pa-fld1) strong,
#pa-online strong,
#pa-fld3,
#pa-fld4 {
  color: #a09e95;
  font: 700 11px var(--body-font) !important;
  text-shadow: 0 0 1px #000;
}

#pa-online strong {
  color: #a09e95 !important;
  text-transform: lowercase;
}

#viewprofile #profile-right li span a:hover,
#viewprofile #profile-right li strong a:hover,
#viewprofile #pa-fld1 a div:hover {
  color: var(--hovlink) !important;
}

#pun-profile #profile-title strong {
  width: 100%;
  text-transform: lowercase;
}

#pun-profile #viewprofile #pa-avatar {
  margin: 8px 0px 15px;
}
#viewprofile #pa-avatar img {
  max-width: 185px;
  max-height: 250px;
  border: 1px solid #85847e;
  width: auto;
  height: auto;
}

#pun-profile #viewprofile #pa-edit {
  margin: 38px 0px 25px;
  padding: 10px 5px;
  width: 50%;
  text-transform: uppercase;
  align-self: center;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  border: 1px solid #3a4452;
  border-radius: 10px;
  background: var(--table);
  box-shadow: 0px 0px 10px 0px #000000b5 inset, 0 0 0px 1px #1e3748,
    0 0 0px 2px #09131e, 0px 0px 10px 0px #00000080;
}

#pun-profile #viewprofile #pa-edit a {
  color: var(--back-color);
  font-size: 10px !important;
}

#pun-profile #viewprofile #pa-edit a:hover,
#pun-profile #viewprofile #pa-edit:hover a {
  color: var(--hovlink);
}

#pun-profile #profile-name strong {
  font: 700 15px var(--body-font) !important;
  text-transform: uppercase;
  color: #a09e95 !important;
  text-shadow: 1px 1px 0px #000;
  margin: 15px 0 10px;
}

#pun-profile #profile-title strong {
  font: 700 12px var(--body-font) !important;
  color: #a09e95 !important;
  text-shadow: 1px 1px 0px #000;
  margin-bottom: 10px;
}

/* отступы в ячейках */
th {
  padding: 0 !important;
  font-size: 0px !important;
}

#pun-userlist th {
  font-size: 11px !important;
}
#pun-userlist th.relation {
  padding-left: 62px !important;
}

/* ширина подфорума */
#pun-index .tcl {
  width: 380px;
  box-sizing: border-box;
  padding: 0px 0px 0px 0px;
  display: flex;
}

#pun-index .tcl .intd {
  display: flex;
}

.main .tcl {
  text-align: left;
  width: 45%;
}

/* ширина ячеек */
.tc2,
.tc3,
.tcmod {
  text-align: center;
}

/* ширина последнего сообщения */
.tcr {
  text-align: left;
  width: auto;
}

/* ширина в поиске/модерировании */
#pun-userlist .tcl,
#pun-modviewforum .tcl {
  width: 16%;
}

#pun-userlist .tcl {
  position: relative;
  padding-left: 60px;
  height: 44px;
  align-items: center;
  display: flex;
}
#pun-searchtopics .tcl {
  width: 35%;
}
#pun-userlist .tc2,
#pun-searchtopics .tc2 {
  text-align: left;
  width: 20%;
}
#pun-userlist th,
#pun-searchtopics th {
  display: flex;
  justify-content: center;
}

/*дебаг */
#pun-debug table .tcl {
  width: 15%;
  white-space: normal;
}
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
}

/* расположение последней активной темы */
#pun-index .tcr {
  font-family: var(--body-font);
  align-self: center;
  box-sizing: border-box;
  text-transform: lowercase;
  font-size: 9px;
  padding: 0px 0px 0px 51px;
  width: 290px;
  box-shadow: none;
  position: relative;
}

#pun-index .tcr br {
  display: none;
}

/* последняя активная тема в подфоруме */
#pun-index .tcr a {
    text-align: left;
    display: block;
    text-transform: uppercase;
    font: 700 12px var(--fancy-font);
    line-height: 15px;
    margin-bottom: 4px;
}

#pun-index .tcr .datetime,
#pun-index .tcr .byuser {
    font: 500 10px / 13px var(--body-font);
    text-transform: uppercase;
}

/* количество тем и сообщений в подфоруме */
#pun-index .tc2,
#pun-index .tc3 {
    position: absolute;
    left: 479px;
    width: 75px;
    text-align: left;
    color: #808080;
    font: 600 9px 'Inter';
    top: 40%;
    transform: translateY(-50%);
}

#pun-index .tc2 { top: calc(40% + 20px);}

#pun-index .tc2::before { content: "\f07b";}
#pun-index .tc3::before { content: "\f27a";}

#pun-index .tc3:before,
#pun-index .tc2:before {
    font: 9px 'Font Awesome';
    position: absolute;
    left: -13px;
    top: 3px;
}

#pun-main .category thead .tc2,
#pun-main .category thead .tc3 {
  display: none;
}

/* НАВИГАЦИЯ ПО ФОРУМУ СВЕРХУ
-------------------------------------------------------------*/
.custom-wrapper {
  background: var(--body);
  border-radius: 20px;
  padding-bottom: 10px;
}

#pun-navlinks .container {
  padding: 0px;
margin: 40px 0 0px;
  justify-content: center;
  display: flex;
  gap: 10px;
}

#pun-navlinks li {
  display: inline;
}

/* расположение*/
#pun-navlinks {
  display: flex;
  justify-content: center;
}

#pun-navlinks #navawards {
  position: absolute;
}

/* вид ссылок */
#pun-navlinks li a {
  text-transform: uppercase;
font: 700 17px var(--fancy-font);
}

/*  вид ссылок навигации при наведении */
#pun-navlinks li a:hover {
  color: var(--hovlink);
}

/* ПОЛЬЗОВАТЕЛЬСКАЯ НАВИГАЦИЯ 
-------------------------------------------------------------*/
#pun-ulinks .container {
  padding: 0 !important;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 13px 0 25px;
}

/* цвет ссылок */
#pun-ulinks a {
    text-transform: lowercase;
    font: 400 11px var(--body-font)!important;
    transition: all 0.3s ease-in-out 0s;
}

/* цвет ссылок при наведении */
#pun-ulinks a:hover {
  color: var(--hovlink);
}

/* ВАШЕ МЕСТОРАСПОЛОЖЕНИЕ НА ФОРУМЕ СВЕРХУ И СНИЗУ 
-------------------------------------------------------------*/

/* расположение снизу */

#pun-index #pun-crumbs2 p {
  margin: 0;
}

/* общий внешний вид */
#pun-crumbs1,
#pun-crumbs2 {
  font: var(--h1-font);
  text-align: center;
  text-transform: uppercase;
}

#pun-crumbs1 p,
#pun-crumbs2 p {
    font: 400 14px var(--fancy-font);
    text-transform: uppercase;
    margin-bottom: 35px;
}

/* цвета ссылок */
#pun-crumbs2 a,
#pun-crumbs1 a {
  font-weight: 700 !important;
}

/* цвет ссылок при наведении */
#pun-crumbs2 a:hover,
#pun-crumbs1 a:hover {
  color: var(--hovlink);
}

/* СТРОКА ПРИВЕТСТВИЯ
-------------------------------------------------------------*/
#pun-status span {
  margin-right: 5px;
}
#pun-status .status-right {
  float: none !important;
}

/* расположение  */
#pun-status {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 100%;
}

/* внешний вид  */
#pun-status .container {
  color: var(--t-body);
  font: 400 11px var(--body-font);
  text-transform: lowercase;
  line-height: 13px;
  text-align: center;
  margin: 0;
}

#pun-status .container strong {
  font-weight: 500;
}

/* цвет ссылки  */
#pun-status a {
  font-weight: 500!important;
}

#pun-status a:hover {
  color: var(--hovlink);
}

/* ТЕМЫ
-------------------------------------------------------------*/
/* весь пост */
.post .container {
  margin-bottom: 20px;
}

/* разделитель между сообщения*/
.post h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    display: flex;
    align-items: center;
    height: 20px;
    background: var(--forcol);
    border: 1px solid #AAAAAA;
}

.post.hideprofile h3,
.hide-author h3 {
  display: flex;
  width: 98%;
  margin: 20px auto 0px auto !important;
}

/* текст внутри разделителя */
.post h3 span {
  display: flex;
  justify-content: space-between;
  flex-flow: row-reverse;
  padding: 0px 34px;
  box-sizing: border-box;
  width: 100%;
  text-transform: uppercase;
}

/* ссылка внутри разделителя */
.post h3 a,
.post h3 strong {
  font-size: 10px !important;
  text-transform: uppercase;
  font-weight: 600;
}

.post h3 .sharelink {
  display: none;
}

.hide-author .post-box {
  width: 100%;
  margin-top: -30px;
}

.hide-author .reaction-picker {
}

.hide-author div.post-rating p {
}

/* пост и отступы в посте */
.post-body {
    margin-left: 272px;
    margin-right: 7px;
    position: relative;
}

.hideprofile .post-body {
  width: 100%;
  margin: 0 auto;
}

.hideprofile .post-box {
  width: 95%;
  margin: 0 auto;
}

.post-box {
  padding: 0px;
  margin-bottom: 20px;
  line-height: 150%;
  font-size: 11px;
  font-family: Verdana;
}

/* выравнивание текста поста */
.post-content {
    overflow: hidden;
    text-align: justify;
    padding-top: 8px;
    margin: 0 auto;
}

/* абзацы постов */
.post-content p {
  margin-top: 11px;
  line-height: 150%;
  font-size: 11px;
  font-family: "Verdana";
}

/* .post-content {margin: 0px 0px 15px 10px !important;} */

/* ссылки в посте */
.post-links {
  width: 99%;
  margin: 35px auto 10px;
}

.pl-reports {
  display: none !important;
}

.post-links li {
  display: inline;
  padding-left: 10px;
  font-size: 11px;
}
.post-links ul {
  padding: 0px 10px 0px 0px;
  text-align: right;
  font: var(--body-font) !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  margin: 0px;
}
.pl-email,
.pl-website {
  float: left;
}
.clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

/* курсив и подчеркнутый текст внутри поста */
.post-content em {
  font-style: italic;
}
.post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

/* картинки в постах */
.post-content img {
  vertical-align: text-bottom;
}
.post-content img.postimg {
  vertical-align: middle;
}

/* таблицы в постах */
td {
  border-color: transparent;
}

.post-content td {
  padding: 0.4em 0.5em !important;
  overflow: hidden;
}

/* разделитель подписи в посте */
.post-sig dt,
.post-sig dd,
.post-sig dl {
  margin: 0;
}
.post-sig dt {
  display: block;
  margin: 5px 0;
  border: 1px solid #b6b1a24f;
  width: 350px;
  margin: 0px 170px;
}

/* экстра */
.post-content table {
  border-collapse: collapse;
  margin: 0 0 0.2em;
}
.post-content td p:last-child {
  padding-bottom: 0;
}
.post-content .highlight-text {
  background-color: #ff0;
  color: #000;
}
.post-content .spoiler-box > blockquote {
  padding: 0;
  display: none;
  margin: 10px;
}
.post-content .spoiler-box > blockquote.visible {
  display: block;
  overflow: auto;
  margin: 0;
}
.post-content hr {
  opacity: 0.2;
  margin: 0.3em 0;
  border: 0.1px solid var(--t-body);
}
.post-content abbr {
  cursor: help !important;
  text-decoration: underline dotted !important;
}
@media (max-device-width: 620px) {
  .post-content abbr {
    cursor: help !important;
    text-decoration: none !important;
    position: relative;
  }
  .post-content abbr::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    border-bottom: 1px dotted;
    width: 100%;
  }
}

.post-content ul {
  padding: 0 0 1em 2.3em;
}
.post-content ul li {
  list-style: inherit;
  margin-bottom: 0.3em;
}
.post-content ul li ul {
  padding-bottom: 0;
}
.post-content ul li > p {
  padding-bottom: 0.3em;
}
.post-content ul li > p:last-of-type {
  padding-bottom: 0;
}
.post .post-author .pa-ua {
  display: none;
}

/* ФОРМЫ
-------------------------------------------------------------*/
/* контейнер можно отключить */
.formal .container {
  padding: 15px 0 15px 0px;
  margin: 0 auto;
}

#pun-viewtopic .formal > .container {
  width: 925px;
}

.punbb .formal fieldset {
  min-width: 0;
  border: none;
  position: relative;
  margin: 0;
  padding: 0;
}

.punbb .formal span.input {
  padding-right: 0 !important;
}

#pun-post .fs-box .longinput > span.input:has(#tags) {
  margin: 5px 40px 20px 0px;
}

#post-form h2,
#pun-announcement h2 {
  display: none;
}

/* местоположение кнопок отправить/посмотреть */
.formsubmit {
  margin: 10px 0px 10px 0px;
}
#pun-viewtopic .formsubmit {
  margin: 0px 0px 10px 25px;
}
.formsubmit input,
.formsubmit a,
.formsubmit span {
  margin: 0;
}

/* инфо по заполнению */
fieldset {
  padding: 0 20px;
}
fieldset legend {
  margin: 0 0px 10px 10px;
}
/* настройка текста */
fieldset legend span {
  text-transform: uppercase !important;
}
fieldset fieldset {
  border: none;
  margin: 0;
  padding: 0px 0px 5px;
}

.fs-box {
  padding: 0px;
}
.fs-box p,
.punbb .fs-box fieldset {
  padding: 0px;
}

#pun-viewtopic #post .fs-box p,
#pun-messages #post-form .fs-box > p,
#pun-edit #post .fs-box > p {
  margin-top: 0;
}

.inline .inputfield,
.inline .selectfield,
.inline .passfield {
  float: left;
  margin-right: 1em;
}
.inline .infofield {
  clear: both;
}
.datafield br {
  display: none;
}
.required label,
.datafield span.input {
  font-weight: bold;
}
textarea,
.longinput input {
  width: 64%;
  margin: 0;
}

/* обводка активного поля */
input,
textarea,
button {
  outline: none;
}
input:active,
textarea:active,
button:active {
  outline: none;
}
.hashelp {
  position: relative;
}

/* чекбоксы */
.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
  margin: 0 0.3em;
}
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle;
}

/* страница переадресации */
#pun-redirect {
  padding: 14px;
  font-family: "Raleway";
}
#pun-redirect.punbb .info .container {
  font-family: "Raleway";
}

#pun-redirect.punbb .info .container * a {
  font-weight: 600 !important;
  font-family: "Raleway";
}

body.redirect-page {
  background-color: #424242;
  height: auto;
  background: url(https://forumstatic.ru/files/001c/30/dc/80155.png) top,
    url(https://forumstatic.ru/files/001c/30/dc/31750.png) !important;
  background-repeat: repeat-x, repeat !important;
}

.redirect-page #pun {
  margin-top: 370px;
  background: var(--body) !important;
}

.redirect-page #pun:before {
  display: none !important;
}

.redirect-page #pun-main {
  margin: 10px !important;
}

#pun-redirect {
  height: 100px;
}

#pun:has(#pun-redirect):after {
  position: absolute;
  content: "";
  background: var(--table);
  box-shadow: var(--br-n-shadow);
  width: calc(100% + 24px);
  height: 140%;
  top: -14px;
  left: -12px;
  z-index: -1;
  border-radius: 10px;
}

/* поле ввода текста поста */
.punbb textarea {
  background: var(--forcol);
  padding: 18px 20px !important;
  width: 100% !important;
  color: var(--t-body);
  box-sizing: border-box;
  border-radius: 0 0 10px 10px;
  border: 1px solid #3f3f3f1f;
}

#pun-viewtopic #post .fs-box p .input span,
#profile .container .fs-box .input span {
  position: relative;
}

/* поле ввода название темы */
.punbb select,
input {
  color: var(--t-body);
  margin-top: 5px;
  padding: 4px 4px 4px 9px;
  border: none !important;
  border-radius: 5px;
  background: var(--forcol);
}

/* перенос сообщений из темы  */
.pun-modal .container {
  width: 100% !important;
  position: relative;
  border: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: var(--backcol);
}

/* пагинация 
-------------------------------------------------------------*/
/* страницы в подфоруме сверху */
.linkst {
  position: relative;
  font-size: 10px;
width: 100%;
  margin: 5px auto 30px;
}

.linkst .pagelink {
  height: 10px;
  position: relative;
  z-index: 4;
  word-spacing: 3px;
  font: 600 10px var(--body-font);
}

.postlink.long {
  width: 300px;
}
.linkst .postlink {
  position: absolute;
  top: 0px;
  z-index: 4;
  right: 5px;
  text-align: right;
}

/* страницы в подфоруме снизу*/
.linksb {
  text-align: right;
  padding: 0px;
  position: relative;
  bottom: -5px;
  margin-top: 15px;
}

#pun-viewforum .linksb {
  margin-top: 0px;
  bottom: 31px;
}

.linksb .pagelink {
  width: 300px;
  text-align: left;
  font: 600 10px var(--body-font);
  position: relative;
  pointer-events: all;
  z-index: 10;
  word-spacing: 3px;
}

.linksb .postlink {
  float: right;
  display: none;
}
#pun-messages .linksb .postlink {
  margin: -20px 25px 0 0;
  display: block;
}

/* страницы в теме снизу*/
#pun-viewtopic .linksb {
  text-align: right;
  padding: 0px 0px;
  position: relative;
  width: 928px;
  margin: 2px 13px 5px;
}

#pun-viewtopic #pun-main {
  position: relative;
  z-index: 1;
}

/* подписаться и отслеживать внутри темы */
.subscribelink {
  clear: both;
  margin-bottom: 15px;
  margin-top: -15px;
  position: relative;
  font-size: 0;
}

.subscribelink a {
  right: 11px;
  top: 11px;
  display: block;
  position: absolute;
  font-size: 0;
}

.subscribelink a:after {
    content: "\f02e";
    position: absolute;
    font-family: "Font Awesome";
    font-size: 18px;
    color: var(--t-body);
    opacity: 0.8;
    top: -52px;
    left: 59px;
    transition: opacity 0.3s ease-in-out;
}

.subscribelink a:hover:after {
  opacity: 0.4;
}

.pun-viewtopic .subscribelink a {
  position: absolute;
  width: 200px;
  right: 10px;
  top: -90px;
}

/* меню модератора */
.modmenu .container {
  padding: 0px 0px;
  font-size: 11px !important;
  text-align: right;
  margin: 10px 0px 10px;
}
.modmenu strong,
.modmenu a {
  height: 15px;
  padding-bottom: 10px;
}
.modmenu .container strong {
  float: left;
}
.modmenu input {
  margin-left: 1em;
}

#pun-viewforum .modmenu .container strong {
  float: right;
}
#pun-viewforum .modmenu .container strong a,
#pun-viewforum .postlink .new-topic a,
#pun-viewforum .postlink .new-poll a {
  font-size: 0;
  position: relative;
}
#pun-viewforum .modmenu .container strong a:after {
  content: "\f085";
  left: -30px;
}

#pun-viewforum .postlink .new-topic a:after {
  content: "\f15b";
  left: -37px;
}

#pun-viewforum .postlink .new-poll a:after {
  content: "\f044";
  left: -23px;
}

#pun-viewforum .modmenu .container strong a:after,
#pun-viewforum .postlink .new-poll a:after,
#pun-viewforum .postlink .new-topic a:after {
  position: absolute;
  font-family: "Font Awesome";
  font-size: 18px;
  color: var(--t-body);
  opacity: 0.7;
  transition: opacity 0.3s ease-in-out;
}

#pun-viewforum .modmenu .container strong a:hover:after,
#pun-viewforum .postlink .new-poll a:hover:after,
#pun-viewforum .postlink .new-topic a:hover:after {
  opacity: 0.4;
}

/* КНОПКИ И ФОРМЫ ЗАПОЛНЕНИЯ BY BLANCHE. МОЖНО БРАТЬ, НО ОСТАВЛЯЕМ КОПИ*/
/* формы заполнения*/
.punbb select,
.punbb option {
  font: 600 10px / 9px var(--body-font);
  text-transform: lowercase;
}

.checkbox {
  width: auto !important;
}
.punbb option {
  background-color: var(--modal);
}

/* КНОПКИ ОТПРАВИТЬ ПОСМОТРЕТЬ
-------------------------------------------------------------*/
input.button,
#post fieldset .hashelp div input,
button {
    color: #CCC;
    padding: 4px 14px;
    margin-right: 6px;
    width: auto;
    height: 22px;
    background: var(--back);
    text-shadow: 0 0 1px BLACK;
    border-radius: 6px;
    cursor: pointer !important;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
    -o-transition: 0.5s all;
    transition: 0.5s all;
    text-transform: uppercase;
    font: 700 9px var(--body-font) !important;
}

#post input.button {
}
#post input.button:hover {
}

input[type="checkbox"],
input[type="radio"] {
  box-shadow: none !important;
}

#move_posts_form fieldset {
  margin: 10px;
}

#pun-admain textarea,
#pun-admain input,
#pun-admain select,
#pun-admain optgroup {
  border-bottom-right-radius: 0px;
  font: 700 9px "Raleway";
}

#pun-admain textarea,
#pun-admain .longinput input {
  width: 92% !important;
  padding: 10px !important;
  font-size: 11px !important;
}

#pun-admain fieldset .handle,
#pun-admain fieldset p {
  padding: 6px 0px 15px !important;
  position: relative;
  background-color: transparent !important;
}

#pun-admain .tcr input {
  width: 90% !important;
}

/* при наведении */
input.button:hover,
#post fieldset .hashelp div input:hover {
    background: var(--back) bottom;
}

/* КОДЫ И ЦИТАТЫ
-------------------------------------------------------------*/
/* расположение */
#pun-main table .quote-box,
#pun-main table .code-box {
  margin: 5px 1px 5px;
}
#pun-message #pun-main .info .container {
  margin: 20px 0px;
}

/* бокс под цитаты/код итд */
.scrollbox {
  overflow: auto;
  margin: 0;
  padding: 0;
  height: auto !important;
  max-height: 200px;
}

blockquote {
  margin: 0;
}

/* ЦИТАТЫ BY BLANCHE. МОЖНО БРАТЬ, НО ОСТАВЛЯЕМ КОПИ
-------------------------------------------------------------*/
/* цитаты, спойлер, выделить код */

.post-content .quote-box,
.post-content .code-box {
    margin: 18px 3px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: var(--forcol);
    border: 1px solid #AAAAAA;
}

.post-content .quote-box blockquote {
  padding: 8px 20px;
}

.post-content .quote-box,
.post-content .code-box,
.pun-modal .modal-inner,
#mask_dialog .inner,
.editBookmark,
#pun-redirect.punbb .info,
#pun-report .inner,
#pun-reputation .inner,
#pun-admin-award-form .inner,
#MyBookmarks {
  font-size: 11px !important;
  font-family: var(--h1-font) !important;
}

#pun-reputation .inner {
  font-family: "Mulish" !important;
}

.post-content .spoiler-box > div:before {
  font-family: "Font Awesome";
  font-size: 14px;
  content: "\2b";
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
}

.post-content .spoiler-box > div.visible:before {
  content: "\f00d";
}
.spoiler-box > div table,
.spoiler-box > div table td p {
  margin: 0 !important;
}

/* фон проставления репутации */
.post_reputation {
  background: var(--back-color);
  border-radius: 5px;
  box-shadow: none !important;
  padding: 20px 20px 20px 10px !important;
}

/* написал и выделить код */
.post-content .spoiler-box > div,
.post-content .spoiler-box > div.visible {
    position: relative;
    align-content: center;
    box-sizing: border-box;
    text-transform: uppercase;
    padding: 5px 50px 6px 55px;
    cursor: pointer;
    min-height: 27px;
    background: url(https://forumstatic.ru/files/001c/2f/41/61493.png) -436px 425px;
    font: 600 11px / 15px var(--body-font);
    color: #CACACA;
}

.post-content .spoiler-box > div.visible {
  border-bottom: 1px solid #bbb8af;
}

.code-box strong.legend {
    flex-wrap: wrap;
    align-content: center;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    display: flex;
    padding: 6px 64px 7px;
    margin-top: 15px;
    width: 350px;
    background: url(https://forumstatic.ru/files/001c/2f/41/61493.png) -436px 425px;
    font: 600 11px / 15px var(--body-font);
    color: #CACACA;
    border: 1px solid #AAAAAA;
    left: -1px;
}

.code-box strong.legend a {
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.code-box strong.legend a:after {
  position: absolute;
  content: "\f0c5";
  font: 400 13px "Font Awesome";
  left: -21px;
  top: 1px;
  transition: all 0.3s ease-in-out;
}

.code-box strong.legend a:hover,
.code-box strong.legend a:hover:after {
  color: var(--hovlink) !important;
  text-shadow: 1px 1px 0 #000;
}

.code-box .blockcode {
  padding: 5px 20px;
}

.quote-box cite {
    width: 350px;
    min-height: 20px;
    position: relative;
    padding: 7px 50px 7px 30px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    box-sizing: border-box;
    text-transform: uppercase;
    margin-top: 15px;
    background: url(https://forumstatic.ru/files/001c/2f/41/61493.png) -436px 425px;
    font: 600 11px / 15px var(--body-font);
    color: #CACACA;
    border: 1px solid #AAAAAA;
    left: -1px;
}

.quote-box cite .qc-uname {
  margin: 0px 3px;
}

.quote-box cite a.qc-post-link {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
}

.quote-box cite a.qc-post-link:after {
    position: absolute;
    content: "\f0a9";
    font: 400 10px "Font Awesome";
    left: 2px;
    top: 2px;
    color: #cacaca;
    transition: all 0.3s 
ease-in-out;
}

.quote-box cite a.qc-post-link:hover:after {
  color: var(--hovlink);
}

.quote-box cite .qc-post-link img {
  filter: grayscale(1);
  margin-bottom: 1px;
  position: relative;
  display: none;
}

/* СПОЙЛЕР BY BLANCHE. МОЖНО БРАТЬ, НО ОСТАВЛЯЕМ КОПИ. ПРОДОЛЖЕНИЕ В НАСТРОЙКАХ */
.post-content .spoiler-box > div:after {
}

.post-content .spoiler-box > div.visible:after {
  transform: rotate(45deg);
}

/* выделить код (скопировать код) */
#pun-main .code-box .scrollbox pre {
  font-family: verdana !important;
}

/* ВЫПАДАЮЩИЕ ОКНА ШРИФТОВ, РАЗМЕРА ТЕКСТА И ТД
-------------------------------------------------------------*/
#color-area,
#table-area,
#keyboard-area {
  width: auto;
}
#keyboard-area {
  text-align: center;
  padding-bottom: 4px;
}
#imageup-area {
  width: 170px;
}
#imageattach-area {
  width: 770px;
  height: 200px;
  padding: 0px !important;
}
#spoiler-area {
  width: 266px;
  left: 38%;
}
#video-area {
  width: 300px;
  left: 45%;
}
#smilies-area {
  width: 670px;
  left: 28%;
}
#image-area {
  width: 450px;
  left: 40%;
}
#color-area * {
  border: 0;
}
#color-area table {
  width: 320px;
  height: 20px;
  padding: 0;
  margin: 0;
}
#table-area table {
  width: auto !important;
  padding: 0;
  margin: 0;
  border-collapse: collapse;
}
#table-area div {
  margin-top: 1em;
  text-align: center;
}
#table-layout {
  margin-right: 0.5em;
}
#table-area td {
  background-color: #fff;
  width: 20px;
  height: 20px;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #dadada !important;
}
#table-area td.selected {
  background-color: #c8c8ff;
}
#color-area td,
#table-area td {
  margin: 0;
  padding: 0;
  line-height: 0;
}
#color-area td img,
#table-area td img {
  width: 20px;
  height: 20px;
  cursor: pointer !important;
}
#font-area span,
#font-area img,
#size-area span,
#size-area img {
  display: block;
  position: relative;
}
#font-area span,
#font-area img {
  height: 15px;
}
#size-area span,
#size-area img {
  height: 24px;
}
#font-area span,
#size-area span {
  padding: 1px 0;
}
#addition-area div {
  height: 24px;
  vertical-align: middle;
}
#font-area img {
  width: 100%;
  margin-top: -15px;
}
#size-area img {
  width: 100%;
  margin-top: -24px;
}
#keyboard-span {
  text-align: center;
  padding-bottom: 10px;
  width: auto;
}
#keyboard-span input {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #666;
  background-color: #fff;
  margin: 1px 1px 0 0;
  border: 1px solid #ddd;
  cursor: pointer;
  height: 25px !important;
  padding: 0 !important;
  min-width: 33px !important;
}
#imageup-area input {
  font-size: 0.8em;
}
#imageup-area p {
  padding: 0;
  margin: 0;
}
#imageup-title {
  margin-bottom: 10px !important;
}
#imageup-submit {
  margin-top: 10px !important;
}

/* настройки оформления */
#font-area,
.popup_graffiti,
#size-area,
#image-area,
#color-area,
#addition-area,
#video-area,
.inner .popup_graffiti,
#table-area,
#keyboard-area,
#video-area-msg,
#smilies-area,
#video-area,
#spoiler-area,
#float,
#meny-styles {
  padding: 15px 10px 10px 10px !important;
  background-color: var(--back-color);
  border-radius: 0 0 10px 10px;
  top: 33px;
  color: var(--t-body);
  border: var(--forcol-border);
  margin: 0;
}

#meny-styles {
  left: 64%;
  width: 160px;
}
#meny-styles p {
  transition: color 0.3s ease-in-out;
}
#meny-styles p:hover {
  color: var(--doptext);
}
#size-area {
  width: 50px;
  left: 205px;
}
#video-area-msg {
  display: none;
}
#font-area span,
#font-area img {
  height: 15px;
}

#font-area {
  height: 160px;
  width: 140px;
  overflow-y: auto;
  padding: 10px !important;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  left: 70px;
}
#font-area div {
  -webkit-flex-basis: 12em;
  flex-basis: 12em;
  -webkit-flex-grow: 1;
  flex-grow: 1;
}

#tags .container {
  position: absolute;
  z-index: 2;
  right: 50px;
}

#addition-area {
  width: auto !important;
}

#pun-edit #tags .container {
  margin-top: 25px;
}

/* мини аватар на главной
-------------------------------------------------------------*/

.user-avatar {
  height: 40px;
  width: 40px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.user-avatar .avatar-image {
  height: 40px;
  width: 40px;
  opacity: 0.85;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 50%;
  filter: grayscale(0.6) brightness(0.9);
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
  display: block;
}

#pun-searchtopics .user-avatar .avatar-image {
  display: none;
}

.user-avatar .isonline {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 1px;
  right: 36px;
  animation: blinkColor 0.9s linear infinite;
  -moz-animation: blinkColor 0.9s linear infinite;
  -webkit-animation: blinkColor 0.9s linear infinite;
  background: var(--hovlink);
  z-index: 100;
}

.punbb .user-avatar a {
  padding: 0 !important;
  background: none transparent !important;
}
.punbb .user-avatar a::after {
  content: none !important;
}
.punbb .user-avatar .avatar-image:hover {
  opacity: 1;
}
@keyframes blinkColor {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes blinkColor {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes blinkColor {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

#pun-viewforum .user-avatar {
  float: left;
  position: relative;
  height: 30px;
  width: 30px;
  margin: 0px 10px 0px -15px;
}

#pun-messages .user-avatar {
  float: left;
  position: relative;
  height: 34px;
  width: 34px;
  margin: 0px 20px 0px 0px;
}

#pun-viewforum .user-avatar .avatar-image,
#pun-messages .user-avatar .avatar-image {
  border: 1px solid !important;
  height: 30px;
  width: 30px !important;
  opacity: 0.85;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  float: left;
  filter: grayscale(0.5);
  border-radius: 50%;
  position: relative;
  top: 50%;
}

#pun-messages .user-avatar .isonline {
  top: -4px;
  right: 29px;
}
#pun-viewforum .user-avatar .isonline {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 13px !important;
  right: 27px !important;
  animation: blinkColor 0.9s linear infinite;
  -moz-animation: blinkColor 0.9s linear infinite;
  -webkit-animation: blinkColor 0.9s linear infinite;
  background: var(--hovlink);
  z-index: 100;
}

/* СТРАНИЦА ЛИЧНЫХ СООБЩЕНИЙ
-------------------------------------------------------------*/
#pun-messages .post h3 {
    width: calc(100% - 270px);
    margin-top: 20px;
    background: var(--forcol);
    background-size: contain;
    border-radius: 4px;
    height: 20px;
    margin-left: 264px;
    box-shadow: none;
}

#pun-messages .post h3 span {
  display: flex;
  justify-content: space-between;
  flex-flow: row-reverse;
  text-transform: uppercase;
  font-size: 9px;
  position: absolute;
  top: 25%;
  text-shadow: none;
}

#pun-messages .post .pa-posts .fld-name {
  text-shadow: none;
}

#pun-messages #messages .fs-box {
  padding: 0 20px;
}
#pun-messages .post-author ul {
}
#pun-messages .pa-author a {
  text-shadow: none !important;
}
#pun-messages .pa-author {
  text-shadow: none !important;
  margin: 25px 0px 10px;
}
#pun-messages .pa-title {
}

#pun-messages .pa-posts {
}

#pun-messages .pa-posts {
}
#pun-messages .post-body {
  margin-left: 270px;
  margin-right: 10px;
  width: auto !important;
}

#pun-messages .post .container {
  border: none !important;
}
#pun-messages #post-form {
  margin-top: 0px !important;
  border: none !important;
}

#pun-messages .indOnline,
#pun-messages .indOffline,
#pun-messages .pa-reg {
  display: none;
}

.pmtc22 {
  width: 20% !important;
  line-height: 30px;
}

.pmtcl1 {
  width: 50% !important;
}

/* ПРОКРУТКА, ВЫДЕЛЕНИЕ, ВВЕРХ-ВНИЗ, БЕГУНОК УВЕЛИЧЕНИЯ ТЕКСТА 
-------------------------------------------------------------*/
/* выделенный текст */
::selection {
  background: var(--hovlink);
  color: #bebab8;
}

/* ширина прокрутки  */
::-webkit-scrollbar {
  width: 1.5px;
  height: 1px;
}

#pun-admain textarea::-webkit-scrollbar {
  width: 5px !important;
}

/* движущаяся часть прокрутки */
::-webkit-scrollbar-thumb {
  background-color: var(--head-text);
}

.blockcode .scrollbox::-webkit-scrollbar-thumb,
#main-reply::-webkit-scrollbar-thumb,
#tags .container::-webkit-scrollbar-thumb,
#imageQueue::-webkit-scrollbar-thumb,
#uploaded-images::-webkit-scrollbar-thumb,
#mask_dialog .hv-form-block::-webkit-scrollbar-thumb,
.punbb #mask_dialog .hv-preview-block::-webkit-scrollbar-thumb,
.hv-masks-storage::-webkit-scrollbar-thumb,
#form-login #List-UserNames ul::-webkit-scrollbar-thumb,
.pun-modal .container::-webkit-scrollbar-thumb,
.unread-notifications #notifications-wrap::-webkit-scrollbar-thumb,
#history_selected_version textarea::-webkit-scrollbar-thumb,
.adinput textarea::-webkit-scrollbar-thumb,
#post #wrapper div::-webkit-scrollbar-thumb,
#post #wrapperBottom div::-webkit-scrollbar-thumb,
.hvStickerPackModalContent::-webkit-scrollbar-thumb,
.materielbag::-webkit-scrollbar-thumb {
  background: var(--t-body) !important;
}

/* подложка прокрутки */
::-webkit-scrollbar-track {
  background-color: black;
}

.blockcode .scrollbox::-webkit-scrollbar-track,
#main-reply::-webkit-scrollbar-track,
#tags .container::-webkit-scrollbar-track,
#imageQueue::-webkit-scrollbar-track,
#uploaded-images::-webkit-scrollbar-track,
#mask_dialog .hv-form-block::-webkit-scrollbar-track,
.punbb #mask_dialog .hv-preview-block::-webkit-scrollbar-track,
.hv-masks-storage::-webkit-scrollbar-track,
#form-login #List-UserNames ul::-webkit-scrollbar-track,
.pun-modal .container::-webkit-scrollbar-track,
.unread-notifications #notifications-wrap::-webkit-scrollbar-track,
#history_selected_version textarea::-webkit-scrollbar-track,
.adinput textarea::-webkit-scrollbar-track,
#post #wrapper div::-webkit-scrollbar-track,
#post #wrapperBottom div::-webkit-scrollbar-track,
.hvStickerPackModalContent::-webkit-scrollbar-track,
.Select_Topics tbody::-webkit-scrollbar-track,
.materielbag::-webkit-scrollbar-track {
  background-color: #6c6c6c30 !important;
}

/* ПРОФИЛЬ ПРИ НАСТРОЙКЕ + ЛИЧНЫЕ СООБЩЕНИЯ
-------------------------------------------------------------*/
#profilenav h2 {
}

/* контейнер */
#profile .container {
  padding-left: 210px;
  padding-top: 70px;
}
#pun-messages #profile .container {
  padding: 0;
  margin: 0 auto 20px;
}

/* навигация */
#profilenav {
  float: left;
  width: 175px;
  margin-left: -200px;
}
#pun-messages #profilenav {
  margin-left: 0px;
}

/* отступы между строк в меню*/
#profilenav li {
  padding-bottom: 10px;
  font-weight: normal;
}

/* отступ в управлении  */
#setmods dl {
  padding: 0 0 0 110px;
}
#setmods dt {
  float: left;
  width: 150px;
  margin-left: -190px;
  padding: 10px;
  display: inline;
}
#setmods dd {
  display: block;
  padding: 10px;
  font-weight: normal;
}

/*настройки списка */
#profilenav ul {
  padding: 0px;
}

/* заголовки  в настройках профиля (у меня отключены) */
#viewprofile h2,
#profilenav h2 {
  text-align: left;
  margin: 0px !important;
}
#viewprofile h2 span,
#profilenav h2 span {
  font-size: 15px;
  text-align: center;
  text-transform: uppercase;
}

/* ПРОФИЛЬ в ПРЕДПРОСМОТРЕ
-------------------------------------------------------------*/
#viewprofile ul {
  padding: 0px;
}
#viewprofile li {
}
#viewprofile li span {
  font-weight: 800;
  text-align: center;
  margin-bottom: 5px;
  text-shadow: 0.5px 0 0px #2c2b2a;
  color: #a09e95;
}

#viewprofile #pa-fld2 span,
#viewprofile #pa-fld1 span,
#viewprofile #pa-fld5 span {
  display: none;
}

#viewprofile li strong,
#viewprofile li div {
  display: block;
  font-weight: normal;
  text-align: center;
}
#profile-name strong {
  font-size: 14px;
}
#profile-left strong {
}
#profile-signature {
  padding: 10px;
}
#viewprofile > .container tbody {
  display: flex;
}

#viewprofile .lzname,
#viewprofile .lztext {
  background: transparent;
  text-align: left;
  width: auto;
  border: none;
  outline: none;
  margin: 0 !important;
  padding: 0px !important;
  padding-bottom: 2px !important;
  text-shadow: none;
  font-weight: bolder !important;
}

/* ОСНОВНЫЕ НАСТРОЙКИ. НЕ ТРЕБУЮТ ИЗМЕНЕНИЙ
-------------------------------------------------------------*/
* html .tclcon {
  height: 1px;
}
/* html:has(+ :not(.day)) { min-width: 1200px; }

body {min-width: 1200px;} */

/* отключить прокрутку снизу */
body {
  overflow-x: hidden;
}

/* отступы по умолчанию у тела */

/* элементы списка */
ul,
dl,
li,
dd,
dt {
  list-style: none;
}

/* убрать курсив с текста везде кроме поста */
address,
em {
  font-style: normal;
}

/* убрать подчеркивание с ссылок */
a {
  text-decoration: none;
}

/* скрытые элементы */
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after,
#pun-title h1 span,
#pun-main h1,
#pun-debug h2 {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

#button-files_rusff,
#button-graffiti_rusff {
  display: none !important;
}
#post fieldset legend {
  display: none !important;
}
.punbb-admin #pun-status {
  display: none !important;
}

.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,
#navawards a span {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}
#pun-ulinks .item5,
.modlist,
li.pa-ua,
.pa-author imgб li#navawards,
.lastedit,
.pa-gifts,
div#pun-live-rusff {
  display: none;
}

/* информация при регистрации */
.info-box {
  padding: 0 0px;
  margin: 0 0 20px 0;
}

.info-box * {
  padding: 0;
}
#pun-main .info-box .legend {
  font-weight: bold;
}

/* СКОПИРОВАНО ИЗ ЭКСТРЫ
-------------------------------------------------------------*/
#poll-special table.poll1 {
  width: auto;
}
#poll-special td {
  border: 0;
}
.punbb .post-content img.postimg {
  max-width: 100%;
  margin: 0.4em 0;
}
#poll-special td {
  text-align: left !important;
  cursor: default !important;
}
#poll-special td.tac {
  text-align: center !important;
}
#poll-special td.tar {
  text-align: right !important;
}
#form-buttons table,
.punbb .formal textarea {
  width: 100%;
}
#form-buttons td {
  padding: 0 !important;
  line-height: 0;
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
  cursor: pointer;
}
#form-buttons tr {
  text-align: center;
}
#form-buttons td img {
  height: 26px;
  width: 100%;
}
#formkey,
#formetc {
  display: none;
}
#main-reply {
  width: 100%;
}
#pun-messages #post-form div.container {
  padding-left: 2.3em;
}
#similar-topics {
  margin-top: 1em;
}
#similar-topics div.container {
  padding-top: 1.1em;
}
#similar-topics td {
  border: 0;
  padding: 0;
}
#similar-topics td.st-tcl {
  width: 60%;
}
#similar-topics td.st-tc2 {
  width: 25%;
  padding-right: 1em;
  text-align: right;
}
#similar-topics td.st-tcr {
  width: 15%;
  padding-right: 1em;
  text-align: right;
}
.postlink.long {
  width: 30em;
}
.postlink.long .new-topic {
  padding-right: 12px;
}
#pun-online .tcl.action {
  width: 35%;
}
#pun-online .tc3 {
  width: 10%;
}
#pun-index .isub .tcl {
  padding-left: 3em !important;
}
#pun-main #subforums {
  padding: 1em 0 1em 1em;
  margin-bottom: 5px;
}

/** подгрузка видео и картинок 
---------------------------------------------------------------*/
#video-host-list {
  margin-top: 0.3em;
  line-height: 1.8em;
}
#video-area-tinp,
#image-area-tinp {
  margin: 0.5em 0;
  padding: 0.3em;
  width: 100% !important;
}
#video-area-msg,
#image-source-list,
#image-area-actions,
#spoiler-sels {
  line-height: 2em;
}
p[class="checkfield"] img,
div[class="checkfield"] img,
fieldset[class="radiofield"] img {
  height: auto;
  max-height: 50px;
}
#image-area-tcon-computer {
  margin: 0 0 1em;
}
#image-area-tcon-computer td {
  border: none !important;
  padding: 0;
}
#imageupload-left {
  width: 140px;
}
#imageupload-right {
  padding-left: 9px !important;
  background: transparent !important;
  max-width: 380px;
}
#image-area-actions {
  text-align: right;
}
* html #imageQueue {
  height: expression(this.scrollHeight > 65 ? "66px": "auto");
} /* sets max-height for IE */
* html #uploaded-images {
  height: expression(this.scrollHeight > 143 ? "144px": "auto");
}
#imageQueue {
  max-height: 72px;
  overflow-y: auto;
  margin-bottom: 10px;
}
#uploaded-images {
  max-height: 144px;
  overflow-y: auto;
}
#uploaded-images img {
  width: 88px;
  height: 66px;
  border: 1px solid;
  margin-right: 4px;
  cursor: pointer;
}
#upload-button-container,
#image-width,
#image-thumb-width,
#image-insert-format,
#insert-all-images-container {
  margin-top: 10px;
}
#image-source-list a,
#image-area-actions a,
#spoiler-sels a {
  margin-right: 15px;
  cursor: pointer;
}
#insert-image-tip {
  margin-top: 10px;
}
#upload-button-container img {
  cursor: pointer;
  width: 120px;
  height: 30px;
}
#image_upload_input {
  position: absolute;
  z-index: -1;
  left: -9999px;
}
#selected-image-width,
#selected-thumb-width {
  width: 6em;
}
#imageupload-left input[type="button"] {
  width: 11em;
  text-align: center;
}
#upload-button-container input[type="button"] {
  font-weight: bold;
}
#image-width,
#image-thumb-width,
#image-insert-format strong {
  font-size: 0.9em;
}
.uploadQueueItem {
  padding: 0.8em 1em;
  border: solid 1px #ddd;
  border-radius: 5px;
  margin-bottom: 0.5em;
  background: rgba(238, 238, 238, 0.22);
}
.uploadQueueItem.error {
  border-color: rgba(255, 0, 0, 0.25);
  background-color: rgba(255, 0, 0, 0.08);
}
.uploadQueueItem .cancel {
  font-size: 20px;
  font-weight: 700;
  font-family: Arial;
  float: right;
  margin: -0.25em 0 0;
}
.uploadQueueItem .cancel a {
  text-decoration: none;
  color: #333 !important;
}
.uploadProgress {
  display: block;
  width: 98%;
  height: 3px;
  margin: 2px 0 0;
  background: #ddd;
  position: relative;
}
.uploadProgressBar {
  position: relative;
  background: #00adff;
  height: 3px;
  width: 0.1%;
  transition: width 0.1s linear;
}

/** подсказки и затемнение фона при всплывающих страницах 
---------------------------------------------------------------*/
.tipsy {
  padding: 5px;
  font-size: 11px;
  font-family: tahoma, helvetica, verdana, arial;
  position: absolute;
  z-index: 100000;
  opacity: 1 !important;
  width: 200px !important;
}
.tipsy-inner {
  padding: 5px 8px 4px;
  background-color: black;
  color: white;
  min-width: 200px !important;
  text-align: center;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  position: absolute !important;
  top: -300px !important;
  opacity: 1 !important;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 999999 !important;
}
.tipsy-arrow {
  display: none;
}
.tipsy-n .tipsy-arrow {
  display: none;
}
.tipsy-nw .tipsy-arrow {
  display: none;
}
.tipsy-ne .tipsy-arrow {
  display: none;
}
.tipsy-s .tipsy-arrow {
  display: none;
}
.tipsy-sw .tipsy-arrow {
  display: none;
}
.tipsy-se .tipsy-arrow {
  display: none;
}
.tipsy-e .tipsy-arrow {
  display: none;
}
.tipsy-w .tipsy-arrow {
  display: none;
}

.jGrowl {
  z-index: 9999;
  color: #fff;
  font-size: 12px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  position: fixed;
}
.jGrowl.top-left {
  left: 0;
  top: 0;
}
.jGrowl.top-right {
  right: 0;
  top: 0;
}
.jGrowl.bottom-left {
  left: 0;
  bottom: 0;
}
.jGrowl.bottom-right {
  right: 0;
  bottom: 0;
}
.jGrowl.center {
  top: 0;
  width: 50%;
  left: 25%;
}
.jGrowl.center .jGrowl-closer,
.jGrowl.center .jGrowl-notification {
  margin-left: auto;
  margin-right: auto;
}
.jGrowl-notification {
  background-color: #000;
  opacity: 0.9;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
  zoom: 1;
  width: 250px;
  padding: 10px;
  margin: 10px;
  text-align: left;
  display: none;
  border-radius: 5px;
  min-height: 40px;
}
.jGrowl-notification .ui-state-highlight,
.jGrowl-notification .ui-widget-content .ui-state-highlight,
.jGrowl-notification .ui-widget-header .ui-state-highlight {
  border: 1px solid #000;
  background: #000;
  color: #fff;
}
.jGrowl-notification .jGrowl-header {
  font-weight: 700;
  font-size: 0.85em;
}
.jGrowl-notification .jGrowl-close {
  background-color: transparent;
  color: inherit;
  border: none;
  z-index: 99;
  float: right;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
}
.jGrowl-closer {
  background-color: #000;
  opacity: 0.9;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
  zoom: 1;
  width: 250px;
  padding: 10px;
  margin: 10px;
  display: none;
  border-radius: 5px;
  padding-top: 4px;
  padding-bottom: 4px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 700;
  text-align: center;
}
.jGrowl-closer .ui-state-highlight,
.jGrowl-closer .ui-widget-content .ui-state-highlight,
.jGrowl-closer .ui-widget-header .ui-state-highlight {
  border: 1px solid #000;
  background: #000;
  color: #fff;
}
@media print {
  .jGrowl {
    display: none;
  }
}
.pun-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100000;
}
.pun-modal .modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 110000;
}
.pun-modal .modal-inner {
  width: 700px;
  max-width: 94%;
  height: auto;
  max-height: 44em;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 5px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 120000;
  overflow: hidden;
}
.pun-modal h2,
.pun-modal h1 {
  max-width: 700px;
  margin: 0 !important;
  background-color: #b4ad9c;
}
.pun-modal .container {
  padding: 0.6em 1em;
  max-height: 40em;
  overflow: auto;
}
.pun-modal .closer {
  position: absolute;
  font-size: 1.5em !important;
  line-height: 0.8em;
  right: 0.4em;
  padding: 0.3em !important;
  margin: -0.3em !important;
  cursor: pointer;
  background: none 0 transparent !important;
}
.noscroll {
  overflow: hidden !important;
}

.notify-message.jg-notice,
.notify-message.jg-reputation,
.notify-message.jg-report,
.notify-message.jg-award {
  border-left: 12px solid transparent !important;
}

.jGrowl-notification .jGrowl-header,
.jGrowl-notification .jGrowl-message {
  font-weight: 600 !important;
  color: var(--doptext) !important;
  font-family: "Mulish" !important;
}

.jGrowl-notification .jGrowl-header a,
.jGrowl-notification .jGrowl-message a {
  font-weight: 700 !important;
  font-family: "Mulish" !important;
}

.jGrowl-notification .jGrowl-message a {
  color: var(--doptext) !important;
}

.jGrowl-notification .jGrowl-close {
  border: none !important;
  color: var(--doptext);
  padding: 2px 8px !important;
  font-size: 12px !important;
}

.flag-i {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  width: 1.33333333em;
  line-height: 1em;
  margin-right: 1em;
}

.flag-i:before {
  content: "\00a0";
}

.social {
  background-image: url(/i/social.1.png);
  background-repeat: no-repeat;
  float: left;
  display: block;
  margin: 3px 5px;
  width: 16px;
  height: 16px;
}
.social-vkontakte {
  background-position: -130px 0;
}
.social-odnoklassniki {
  background-position: -78px 0;
}
.social-mailru {
  background-position: -52px 0;
}
.social-google {
  background-position: -26px 0;
}
.social-yandex {
  background-position: -156px 0;
}

.icons-pencil:before {
  content: "\270E";
} /* '&#59409;' */

.hide-author .post-body {
  margin-left: 0px;
  margin-right: 0px;
  position: relative !important;
  padding: 10px 21px;
  box-sizing: border-box;
}

.hide-author .post-content {
  overflow: visible;
}

/*Регулировка размера шрифта в постах © Alex_63 */

.FNTslider {
    border-radius: 4px;
    position: absolute;
    z-index: 1000;
    background: #d1d0d0;
    width: 109px;
    height: 2px;
    margin: 4px 5px;
    border: solid 1px #d1d0d0;
    float: right;
    margin-right: 10%;
}

#pun-messages .FNTslider {
  margin-right: 20%;
}

.FNTslider .before {
    height: 2px;
    border: solid 1px transparent;
    border-right: none 0;
    border-radius: 4px 0 0 4px;
    position: absolute;
    background: var(--hovlink);
    margin-top: -1px;
    margin-left: -1px;
}

.FNTslider .thumb {
    width: 5px;
    height: 11px;
    border-radius: 3px;
    position: relative;
    top: -4.5px;
    background: var(--hovlink);
    cursor: pointer;
}pointer;
}

/* Подсказки */

#tooltip,
.tipsy-inner,
#unitip {
  z-index: 999999;
  padding: 6px;
  letter-spacing: 0.5px;
  border-radius: 5px;
  font: 700 10px var(--body-font);
  text-transform: lowercase;
}

#tooltip,
.tipsy-inner,
#respect figure .prof,
.tipsy-inner a,
#unitip {
  color: var(--t_color) !important;
  text-decoration: none !important;
  text-align: center;
  font: 700 9px var(--body-font);
  padding: 6px;
}

#tooltip,
#unitip {
  position: absolute;
  max-width: 200px;
  display: none;
}

#tooltip,
.tipsy-inner,
.num_msg,
.bubble,
.jGrowl-notification,
.jGrowl .messag_theme,
#messages-list a.Author,
#unitip {
  z-index: 50;
      background: #222!important;
}

.tipsy .post-rating p,
.jGrowl .post-rating p,
.tooltipsy .post-rating p,
.tipsy-inner .post-rating p {
  left: -200px !important;
  margin-top: -300px !important;
}

.jGrowl .messag_theme {
  font-size: 10px !important;
  background: rgba(0, 0, 0, 0.75);
  padding: 0px 0 3px !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  font-family: Tahoma;
  width: 277px !important;
  min-height: 0 !important;
  opacity: 1 !important;
}

.jGrowl .messag_theme h2 {
  color: var(--proftext) !important;
}
.messag_theme .jGrowl-close {
  font-size: 15px !important;
  margin-top: 3px !important;
  margin-right: 2px !important;
}

/*************************************************************

ЛИЧНАЯ СТРАНИЧКА

**************************************************************/

.reveal-modal-bg {
  position: fixed;
  height: 100%;
  width: 100%;
  background: #00000033;
  backdrop-filter: blur(25px);
  z-index: 100;
  display: none;
  top: 0;
  left: 0;
}

.reveal-modal {
  visibility: hidden;
  top: -160px;
  left: 50%;
  width: 900px;
  position: absolute;
  z-index: 101;
  padding: 1px 1px 1px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  -box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.reveal-modal.xlarge {
  width: 900px;
  margin-left: -440px;
}

.reveal-modal .close-reveal-modal {
  font-size: 30px;
  line-height: 0.5;
  position: absolute;
  top: -17px;
  right: -13px;
  color: #a7a59d;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0px 1.5px 0 BLACK;
  text-decoration: none;
  transition: color 0.3s ease-in-out !important;
}

#character {
  opacity: 1;
  transform: translateY(-50%);
  z-index: 99999;
  position: fixed;
  top: 50% !important;
  box-shadow: none;
  background: transparent !important;
}

.modal_wrap {
  width: 895px;
  height: 621px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 56%, #a09e95 99%),
    url(https://forumstatic.ru/files/001c/30/dc/31750.png?v=1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0px 0 10px 10px;
  box-sizing: border-box;
  padding: 53px 30px;
  gap: 40px 0;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0px 0px 5px 0px #0000001a;
}

.modal_wrap > div {
  display: flex;
  position: relative;
  border-radius: 10px;
  border: 1px solid #b3b1aa;
  flex-wrap: wrap;
  box-shadow: 0px 0px 5px 0px #0000001a;
  box-sizing: border-box;
}

.modal_wrap h5 {
  top: -21px;
  left: 45px;
  margin: 0;
  position: absolute;
  background: #99978f;
  color: var(--t-body);
  text-transform: uppercase;
  border: 1px solid #b3b1aa;
  border-bottom: none;
  width: 170px;
  height: 20px;
  padding-left: 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  border-radius: 10px 10px 0px 0px;
}

.l_wrap_t {
  width: 490px;
  height: 240px;
  background: #a7a59d;
  padding: 20px;
  z-index: 3;
}

.l_wrap_t .s_wrap {
  gap: 10px;
}

.l_wrap_t .s_wrap > div {
  display: flex;
  flex-direction: column;
  border: 1px solid #b3b1aa;
  background: #99978f;
  border-radius: 10px;
  width: 416px;
  position: relative;
  padding: 12px 40px;
  box-sizing: border-box;
  margin-left: 25px;
}

.l_wrap_t h6 {
  margin: 0;
  font: 700 10px / 12px var(--body-font);
  text-transform: uppercase;
}

.l_wrap_t p {
  margin: 2px 0px 0;
  font: 600 9px / 12px var(--body-font);
}

.l_wrap_t img {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #b3b1aa;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
}

.l_wrap_i {
  background: #99978f;
  padding: 22px 22px;
  padding-right: 7px;
  width: 252px;
  height: 240px;
  margin-left: -11px;
  z-index: 2;
}

.l_wrap_i .s_wrap {
  gap: 6px;
}
.l_wrap_i p {
  margin: 0;
  width: 206px;
  position: relative;
  border: 1px solid #b3b1aa;
  background: #a7a59d;
  border-radius: 10px 0 0px 10px;
  display: flex;
  align-items: center;
  padding: 5px 26px 5px 10px;
  box-sizing: border-box;
  font: 600 9px / 12px var(--body-font);
}

.l_wrap_i p span {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  right: -11px;
  transform: translateY(-50%);
  background: #99978f;
  border: 1px solid #b3b1aa;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

.l_wrap_s {
  padding: 20px 19px 20px 51px;
  width: 138px;
  height: 240px;
  margin-left: -41px;
  background: #a7a59d;
}

.l_wrap_s .s_wrap {
  justify-content: center;
  gap: 10px;
}

.l_wrap_s img {
  width: 16px;
  height: 16px;
}

.l_wrap_s h5 {
  width: 70px;
  justify-content: center;
  padding: 0;
}

.l_wrap_pl {
  width: 270px;
  height: 240px;
  background: #a7a59d;
  padding: 19px 15px;
  z-index: 2;
}

.l_wrap_pl .s_wrap {
  gap: 5px;
  justify-content: center;
}

pl {
  width: 230px;
  height: 65px;
}

pl a {
  pointer-events: none;
  transition: none !important;
}

pl > p {
  margin: 0;
  height: 15px;
  background: #373737;
  border-bottom: 1px solid #a7a59d;
  border-radius: 10px 10px 0px 0px;
}

.l_wrap_b {
  width: 216px;
  height: 240px;
  background: #99978f;
  z-index: 1;
  margin-left: -20px;
  padding: 20px 11px 20px 29px;
}

.l_wrap_b .s_wrap {
  gap: 5px;
}

.modal_wrap .prof_top {
  height: 50px;
  width: 170px;
  display: flex;
  background: url(https://forumstatic.ru/files/001c/30/dc/95953.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  z-index: 0;
}

.l_wrap_a {
  width: 345px;
  height: 240px;
  margin-left: 17px;
  background: #a7a59d;
  padding: 20px 17px;
}

.l_wrap_a .s_wrap {
  gap: 5px;
}

.l_wrap_a img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
}

.s_wrap {
  display: flex;
  flex-wrap: wrap;
  overflow: auto;
  height: 100%;
  width: 100%;
}

.s_wrap::-webkit-scrollbar-thumb {
  background-color: #3f3f3f7d !important;
}

.s_wrap::-webkit-scrollbar-track {
  background: #a7a59d !important;
}

.jGrowl-notification {
  transform: unset !important;
}
.jGrowl-notification,
.jGrowl-closer,
.notification-spoiler {
}
.jGrowl-notification .jGrowl-header,
.jGrowl-notification .jGrowl-message {
  color: var(--body-color) !important;
  text-shadow: 0 0 1px #000 !important;
}

/*************************
Стиль для Быстрой смены аккаунтов
Deff
*************************/
/*Cкрытие формы входа без клика*/
#pun-navlinks a:not(.NextShow) + span.odd {
  display: none !important;
}
#pun-navlinks #New-exit img {
  position: absolute;
  margin: 0;
  width: 22px;
  height: auto;
  opacity: 0.8;
}
#pun-navlinks #New-exit:hover {
  opacity: 0.4;
}
/*Стиль доп-иконки Выход!*/
.punbb #pun-navlinks a#New-exit {
  position: absolute;
  z-index: 100000 !important;
  margin-top: 0px !important;
  margin-left: 29px !important;
  float: none !important;
}
.punbb #pun-navlinks a#New-exit:before {
  content: none;
}
.punbb #pun-navlinks #form-login input {
  text-align: center;
  border: none !important;
  text-rendering: auto;
  margin-top: 4px !important;
  border-radius: 2px;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block !important;
  text-align: center;
  font: normal normal 400 11px / normal Arial !important;
  background-color: rgb(120 120 120 / 79%);
  box-shadow: none;
  border-radius: 3px;
  color: #0e0e0edb !important;
}

.punbb #pun-navlinks #form-login input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #626262 inset !important;
}

.punbb #form-login #fld1,
#form-login #fld2 {
  background-color: rgb(250, 255, 189);
}
.punbb #pun-navlinks #form-login input[type="submit"] {
  color: #787878 !important;
  font-weight: 700 !important;
  font-family: "Mulish" !important;
  border-radius: 3px !important;
  background-color: #62626212;
  border: var(--orange-border) !important;
}
/*Стиль формы входа*/
.punbb #pun-navlinks #form-login {
  text-shadow: 1px 1px 0 rgb(0 0 0);
  display: block;
  font: normal normal 400 11px / normal Tahoma;
  color: var(--headlink);
  text-transform: none;
  position: absolute !important;
  left: 0px;
  top: 14px;
  z-index: 1000000 !important;
  padding: 7px 12px;
  background: var(--noise);
  border-radius: 0px 20px 20px 0px;
  text-align: center;
  font-family: "Mulish";
}
#pun-navlinks #navlogin #form-login {
  margin-left: -35px; /*Подвижки формы влево от вход*/
  z-index: 100 !important;
}
#pun-navlinks #navlogout #form-login {
  margin-left: -35px; /*Подвижки формы влево от выход*/
  z-index: 100 !important;
}
.ismoderator #pun-navlinks #navlogout #form-login {
  margin-left: -35px !important; /*Подвижки формы влево от выход для АМС*/
  z-index: 100 !important;
}
/*Стиль ссылок в форме "Не зарегистрированы" и "Забыли пароль" */
#pun-navlinks #form-login input[value="Войти"] + p {
  margin-bottom: 11px;
  margin-top: 11px;
}
.punbb #pun-navlinks #form-login a.Rega,
.punbb #pun-navlinks #form-login a.Forgot {
  position: relative;
  text-transform: none !important;
  z-index: 20;
  text-shadow: none;
  cursor: pointer;
  font: normal normal 400 10px / normal Tamota !important;
  letter-spacing: 0.5 !important;
}
.punbb #pun-navlinks #form-login a.Rega:before,
.punbb #pun-navlinks #form-login a.Forgot:before {
  content: none;
}
/* Помечаем красным незаполненные поля!*/
#form-login input.none {
  outline: red dashed 2px !important;
}
/*Форма слево(с Никами) */
#List-UserNames {
  position: absolute;
  margin-top: -8px;
  min-height: 90px;
  width: 220px;
  right: 127px;
  top: 8px;
  padding: 12px 19px 12px 17px;
  background: var(--noise);
  border-radius: 20px 0px 0px 20px;
  text-align: center;
  z-index: 100 !important;
}
/*Стиль контейнера под список Ников*/
.punbb #List-UserNames ul {
  padding: 0px;
  overflow: hidden;
  overflow-y: auto;
  min-height: 36px;
  z-index: 100 !important;
  border-radius: 5px;
}

.punbb #List-UserNames li {
  display: block !important;
  position: relative;
  background: none;
  text-align: left;
  padding-left: 5px !important;
  margin: 1px auto !important;
  font-family: "Mulish";
  padding: 2px 0;
  transition: 0.33s;
  z-index: 100 !important;
}
.punbb #List-UserNames li:hover {
  opacity: 0.84;
  /*background:#546a6b!important;*/
}
/*Стиль Ников*/
.punbb #List-UserNames li > b {
  cursor: pointer;
  opacity: 0.8;
  color: #929292;
  text-shadow: 1px 1px 1px rgb(0 0 0);
}
.punbb #List-UserNames li > b:hover {
  opacity: 0.93;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}
/*Скролл контейнера с никами*/
#List-UserNames ul::-webkit-scrollbar {
  width: 7px;
  height: 5px;
}
#List-UserNames ul::-webkit-scrollbar-track {
  background-color: #3e2a24;
  border: 1px solid #6a524b;
  box-shadow: none;
}
#List-UserNames ul::-webkit-scrollbar-thumb {
  background-color: #40302a;
  border: 1px solid #89766f;
  box-shadow: none;
}
/*Кнопки Удалить (правее ников)*/
#List-UserNames ul li > span {
  display: inline-block;
  padding: 0 3px;
  position: absolute;
  opacity: 0.88;
  cursor: pointer;
  top: 0;
  bottom: 0;
  right: 2px;
  font: normal normal 700 10.56px / normal Verdana;
  color: var(--headlink);
  text-shadow: 1px 1px 1px rgb(0 0 0);
}
/*Текст при отсутствии запомненных Ников!*/
#List-UserNames ul:empty:before {
  display: inline-block;
  content: "У Вас нет запомненных ников, введенных через форму справо, или через перенос ниже!";
}
/*Кнопка выход-2*/
#navlogin #exit-2 {
  display: none;
}
#navlogout .Rega,
#navlogout .Forgot {
  display: none;
}
/*Стиль блока с инпутом для переноса и вставки запомненных Аккаунтов*/
#List-UserNames ul + span {
  display: inline-block;
  padding: 6px 0 8px 0;
  text-align: left;
  font: normal normal 400 10.56px / normal Verdana;
}
/*Сам инпут*/
.punbb #List-UserNames input {
  background: rgb(42 26 21);
  border: 2px inset rgb(62 42 36) !important;
  border-radius: 2px;
  text-shadow: none !important;
  color: #3e2a24 !important;
  background-color: #342a23;
  font: normal normal 400 11px / normal Arial !important;
  box-shadow: inset 0px 0px 3px rgb(18 9 6);
  margin-top: 9px;
  padding: 2px !important;
  vertical-align: middle;
}
/*Стрелочки к инпуту*/
#List-UserNames ul + span b {
  font: normal normal 400 13px / normal Verdana;
  padding: 0 3px;
  color: #342d2c;
}
/*Кликалка слево, чуть выше инпута*/
#List-UserNames .a1-copy {
  display: inline-block !important;
  cursor: pointer;
  float: left;
}
/*Кликалка справо*/
#List-UserNames .a1-paste {
  cursor: pointer;
  display: inline-block !important;
  float: right;
}
/*Подсказки на кликалках*/
.tipsy.a11 {
  font: normal normal 400 11px / normal Tahoma !important;
  margin-top: -22px !important;
  margin-left: 148px !important;
  max-width: 170px;
}
/*************************
//Конец Стиля для Быстрой смены аккаунтов
*************************/
/*ЧАСТЬ 3. CSS-стили кастомизированного плеера*/
.player-wrapper {
    background: none;
    width: 0px;
    height: 40px;
    position: absolute;
    top: -16px;
    z-index: 1;
    left: 295px;
}

.pa-fld1 .player-wrapper { 
    top: 72px;
    right: 105%;
}

.play-pause.paused:before {
    content: "\f04b";
    position: absolute;
    font-size: 16px;
    font-family: Font Awesome;
    color: var(--t_color);
    top: 50%;
    left: 54%;
    transform: translateX(-50%) translateY(-50%);
}

.play-pause {
    padding: 0 !important;
    box-shadow: none !important;
    background: #222 !important;
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
    padding: 0;
    border: none !important;
    box-shadow: none !important;
}

.play-pause:after {
    content: "";
    position: absolute;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    left: -5px;
    top: -5px;
    z-index: -1;
    transform: rotate(180deg);
    background: var(--t_back);
    border-radius: 50px;
}

.play-pause:before {
    content: "\f04c";
    position: absolute;
    font-size: 16px;
    font-family: Font Awesome;
    color: var(--t_color);
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.track, .volume{height: 100%; background: linear-gradient(0deg, transparent 0, transparent 50%, black 50%, transparent calc(50% + 1px), transparent); display: inline-block; margin-left: 10px; position: relative;}
.track {
    width: calc(80% - 60px);
}
.volume {
    width: 20%;
}
.thumb {
    height: 0px;
}

/* мелодия в профиле */

audio::-webkit-media-controls-panel {
  background: #3dbfda;
}
audio::-webkit-media-controls-play-button {
  color: #fff;
}


audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-timeline-container,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-timeline,
audio::-webkit-media-controls-volume-slider-container,
audio::-webkit-media-controls-volume-slider,
audio::-webkit-media-controls-seek-back-button,
audio::-webkit-media-controls-seek-forward-button,
audio::-webkit-media-controls-fullscreen-button,
audio::-webkit-media-controls-rewind-button,
audio::-webkit-media-controls-return-to-realtime-button,
audio::-webkit-media-controls-toggle-closed-captions-button {
  display: none!important;
}




.newtext { 
    width: 45px;
    display: inline-block; 
}
.newtext .bracket { display: none; }
.newtext a { font-size: 0px; position: relative; }
.newtext a:after {
    position: absolute;
    content: '[ new ]';
    font-size: 12px;
    width: 50px;
    font-weight: 700;
    left: -2px;
   color: var(--hovlink);
}

/* ---------------- СТИЛИЗАЦИЯ АДМИНКИ -------------------*/

.punbb-admin {
  position: relative;
  padding: 30px 40px 20px;
  font-family: "Raleway";
}

.punbb-admin .submitend input {
    background: url(https://forumstatic.ru/files/001c/2f/41/61493.png);
}

.adformal h2,
#pun-adnav h2 {
  font-family: "Mulish";
  text-transform: uppercase;
  text-align: center;
  color: #302f2c !important;
  background-color: var(--forcol) !important;
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0px 1px 0px #878e96 !important;
  border-radius: 6px;
  border: none !important;
}

#adnav-standard ul li {
  text-align: center;
  text-transform: none;
  padding: 4px 0;
  margin: 5px 5px;
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0px 1px 0px #878e96;
  border-radius: 6px;
}

#adnav-standard ul li ul li {
  margin: 5px;
}

#pun-adnav a,
#adnav-standard ul li a {
  transition: all 0.3s ease-in-out;
}
#pun-adnav a:hover,
#adnav-standard ul li a:hover {
  color: var(--hovlink) !important;
}

#adnav-standard > ul {
  display: flex !important;
  flex-direction: column !important;
}

#adnav-standard ul .item1 {
  order: -5;
}

#adnav-standard ul .item6 {
  order: -4;
}

#adnav-standard ul .item-forms {
  order: -3;
  position: relative;
}

#adnav-standard ul .item-forms sup {
  display: none;
}

#adnav-standard ul .item15 {
  order: -2;
  position: relative;
}

#adnav-standard ul .item20 {
  order: -1;
}

#adnav-standard ul .item15:after,
#adnav-standard ul .item-forms:after {
  content: "\f02e";
  font-family: Font Awesome;
  position: absolute;
  font-size: 11px;
  left: 4px;
  top: 0;
  color: var(--hovlink);
}

#adnav-standard ul li::marker {
  color: transparent !important;
  font-size: 0 !important;
}

.adcontainer {
  border-style: unset !important;
}

.adminmain {
  padding-left: 155px;
  margin-bottom: 6px;
  margin-top: 70px;
}

#pun-admain legend span {
  padding: 4px 9px !important;
  margin: 0 0 0 -15px;
  background: var(--backcol) !important;
  border-radius: 5px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border: var(--bordin) !important;
  box-shadow: 0 0 3px 0.2px #00000017 !important;
}

#pun-admain fieldset {
  border-color: var(--forcol) !important;
}

.adformal {
  border-style: none !important;
}

#pun-admain fieldset .handle,
#pun-admain fieldset p {
  border-color: var(--forcol) !important;
  border-radius: 5px !important;
}

#pun-admain span[class="adinput"] input,
#pun-admain span[class="adinput"] label {
  max-width: 94% !important;
}

.punbb #pun-admain p.contains-textarea {
  border-left-width: 0px !important;
  border-left-style: none !important;
  background-color: transparent !important;
}

/* Контейнер */
.theme-toggle {
    width: 50px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: -315px;
    z-index: 99;
}

.theme-toggle:after {
    content: '';
    position: absolute;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    background: var(--t_back);
    border-radius: 50px;
    left: -5px;
    top: -5px;
    z-index: -1;
    transform: rotate(180deg);
}

/* Скрываем input */
.theme-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Ползунок */
.slider {
  position: absolute;
  inset: 0;
    border-radius: 50px;
  transition: all 0.3s ease-in-out;
  background: #222222; 
}

.slider:before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  transition: all .3s ease-in-out;
  top: 8px;
}

.dark .slider:before {
  left: 8px;
  background: #6E7668;
}

.light .slider:before {
  right: 8px;
  background: #7D6B59;
}
