/*************************************************************
СТРУКТУРА
*************************************************************/
/* Не удалять
-------------------------------------------------------------*/
@import url(style_cs.1775226022.css);
/* Шрифты
-------------------------------------------------------------*/
@import url(https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght@100;200;300;400);
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

@font-face {
  font-family: 'Jost';
  font-style: normal;
  src: url(https://forumstatic.ru/files/001a/16/90/50781.eot), url(https://forumstatic.ru/files/001a/16/90/50781.eot) format("embedded-opentype"), url(https://forumstatic.ru/files/001a/16/90/77139.woff2) format("woff2"), url(https://forumstatic.ru/files/001a/16/90/45474.woff) format("woff"), url(https://forumstatic.ru/files/001a/16/90/60620.ttf) format("truetype"), url(https://forumstatic.ru/files/001a/16/90/36611.svg) format("svg");
}

@font-face {
  font-family: 'Gella Display';
  font-style: normal;
  src: url(https://forumstatic.ru/files/001a/16/90/39751.eot), url(https://forumstatic.ru/files/001a/16/90/39751.eot) format("embedded-opentype"), url(https://forumstatic.ru/files/001a/16/90/37646.woff2) format("woff2"), url(https://forumstatic.ru/files/001a/16/90/52044.woff) format("woff"), url(https://forumstatic.ru/files/001a/16/90/10419.otf) format("opentype"), url(https://forumstatic.ru/files/001a/16/90/96075.svg) format("svg");
}

@font-face {
  font-family: 'Font Awesome Solid';
  font-style: normal;
  src: url(https://forumstatic.ru/files/001a/16/90/94837.woff2) format("woff2"), url(https://forumstatic.ru/files/001a/16/90/23259.ttf) format("truetype");
}

@font-face {
  font-family: 'Icomoon';
  font-style: normal;
  src: url(https://forumstatic.ru/files/001c/af/4b/14932.eot), 
url(https://forumstatic.ru/files/001c/af/4b/14932.eot) format("embedded-opentype"), url(https://forumstatic.ru/files/001c/af/4b/14623.woff) format("woff"), url(https://forumstatic.ru/files/001c/af/4b/17774.ttf) format("truetype"), url(https://forumstatic.ru/files/001c/af/4b/38584.svg) format("svg");
}

:root {
  --fontBase: verdana, arial, helvetica, sans-serif;
  --montserrat: 'Montserrat', verdana, arial, helvetica, sans-serif;
  --mso: 'Material Symbols Outlined';
  --icomoon: 'Icomoon';
  --fontAccent: 'Jost', verdana, arial, helvetica, sans-serif;
  --fontDisplay: 'Gella Display', verdana, arial, helvetica, sans-serif;
  --bodyImg: url(https://forumstatic.ru/files/001c/af/4b/66969.jpg);
  --headerImg: none;
  --profileImg: url(https://forumstatic.ru/files/001c/af/4b/49822.jpg);
  --headerHeight: 150px;
  --body: #232323;
  --pun: #efefef;
  --quoteColor: #ececeb;
  --text: #333333;
  --accentColor: #c26c30;
  --border: #cdc0b7;
  --link: #b97546;
  --linkHov: #504741;
  --button: #5e5652;
  --buttonText: #e8e8e8;
  --selectMin: rgba(76, 67, 60, 0.15);
  --selectMedium: rgba(76, 67, 60, 0.4);
  --selectMax: rgba(76, 67, 60, 0.9);
  --selectText: #ececeb;
  --blackMax: rgba(0, 0, 0, 0.2);
  --blackMedium: rgba(0, 0, 0, 0.1);
  --blackMin: rgba(0, 0, 0, 0.03);
  --whiteMedium: rgba(255, 255, 255, 0.7);
  --grey: #c9c9c9;
  --bodyWidth: 1000px;
  --profileWidth: 220px;
  --bodyPadding: 30px;
  --fa-font-solid: 'Font Awesome'
;
}

/* Обнуление
-------------------------------------------------------------*/
* {
  border: none !important;
  border-style: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
  -webkit-text-size-adjust: none !important;
  -moz-text-size-adjust: none !important;
  -ms-text-size-adjust: none !important;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  outline: none !important;
  -webkit-text-size-adjust: none !important;
  -moz-text-size-adjust: none !important;
  -ms-text-size-adjust: none !important;
}

.punbb * {
  margin: 0;
}

#pun {
  position: relative;
}

.punbb {
  float: left;
  width: 100%;
  height: auto;
}

#pun-redirect,
#pun-maint {
  margin: 0 auto 10px;
  width: auto;
  float: none;
}

.punbb ul,
.punbb dl,
.punbb li,
.punbb dd,
.punbb dt {
  padding: 0;
  list-style: none;
}

/* Скрытые элементы
-------------------------------------------------------------*/
#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;
}

.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;
}

td#title-logo-tdr,
.punbb .datafield br,
#post-form h2 span,
#pun-messages .user-avatar,
#pun-modviewforum .user-avatar,
#pun-searchposts li.pa-replies,
#pun-messages li.pa-reg,
#pun-messages li.pa-posts,
#pun-title h1,
#navawards,
#pun-main div.catleft,
#pun-main div.catright,
.topic a.sharelink,
li.pl-reports,
#pun-live-rusff,
form#register .info-box,
#button-files_rusff,
#button-graffiti_rusff,
#post legend span,
div#topic-modmenu span,
.stickytext,
.closedatafield,
p.lastedit,
lastedit,
div#most_invitations,
#pun-announcement h2,
#pun-viewforum .modmenu .container span,
#pun-searchtopics .modmenu .container,
li#pa-invites,
#pun-multimove li.pa-title,
.punbb .main td .modlist,
.pa-fld1 .fld-name,
.pa-fld2 .fld-name,
.pa-fld3 .fld-name,
.pa-fld4 .fld-name,
.pa-fld5 .fld-name,
li.pa-gifts,
li.pa-gifts a,
li.pa-gifts span,
#pun-searchposts .post-links,
#pun-messages .linksb:after,
li.pl-website.website {
  display: none !important;
}

/* Тело
-------------------------------------------------------------*/
body {
  font-size: 100.01%;
  font-family: var(--montserrat);
  font-weight: 500;
}

.punbb {
  font: 500 68.75% var(--montserrat);
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.punbb .post-box {
  font: 1em var(--fontBase);
}

.punbb textarea {
  background: var(--whiteMedium);
  font: 1em var(--fontBase);
}

.punbb input {
  background: var(--selectMin);
  font: 1em var(--montserrat);
}

.punbb select {
  background: var(--selectMin);
  font: 1em var(--montserrat);
  text-transform: lowercase;
}

.punbb optgroup {
  background: var(--selectMin);
  font: 1em var(--montserrat);
  font-weight: 700;
}

.punbb pre {
  font: 1em var(--fontBase);
  line-height: 170%;
  white-space: break-spaces;
  text-align: left;
}

.punbb .main table {
  table-layout: fixed;
  width: 100%;
}

#pun-messages .main table:not(#form-buttons table),
#pun-reputation table {
  border-spacing: 0 12px;
}

.punbb .section {
  margin: 0 auto;
  width: 100%;
}

.punbb .main {
  margin-bottom: 0;
}

.punbb .topic {
  margin-top: 0;
}

.punbb .category,
.punbb .post {
  margin-top: 0;
}

.punbb .category {
  cursor: default;
}

.punbb #pun-category1,
.punbb .toppost,
.punbb .topicpost {
  margin-top: 0;
}

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
  margin: 0 0.3em;
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.3em;
  vertical-align: middle;
}

#pun {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.punbb {
  margin: 0;
  width: 100% !important;
  padding: 0 !important;
}

/* Шапка
-------------------------------------------------------------*/
#pun-title td.title-logo-tdl {
  width: 100%;
}

#pun-title {
  margin: 0;
}

#pun-title h1 span {
  font-size: 0;
}

/* Меню навигации: форум, участники и т. д.
-------------------------------------------------------------*/
#pun-navlinks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#pun-navlinks .container {
  background: transparent !important;
  width: 100%;
  height: 100%;
  margin: 0;
}

#navindex a:before,
#navuserlist a:before,
#navsearch a:before,
#navprofile a:before,
#navpm a:before,
#navadmin a:before,
#navlogout a:before,
#navlogin a:before,
#navregister a:before,
#navpr_1 a:before,
#navextra1 a:before {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 30px;
  width: 30px;
  margin: 0;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

#pun-navlinks {
  z-index: 999;
}

#pun-navlinks li {
  padding: 0;
}

/* Меню навигации 2: новые соо, активные темы и т. д.
-------------------------------------------------------------*/
#pun-ulinks li {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  white-space: nowrap;
}

#pun-ulinks li a {
  white-space: nowrap;
}

#pun-ulinks {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#pun-ulinks .container {
  background: transparent !important;
  width: 100%;
  height: 100%;
  margin: 0;
}

#pun-ulinks .item1,
#pun-ulinks .item1 a {
  padding-left: 0;
}

/* Приветствие и хлебные крошки
-------------------------------------------------------------*/
#pun-crumbs1 {
  overflow: hidden;
  margin: 0;
}

#pun-crumbs1 .container {
  padding: 30px 0 10px;
}

#pun-crumbs2 {
  overflow: hidden;
  margin: 0;
}

#pun-crumbs2:not(#pun-viewforum #pun-crumbs2, #pun-searchtopics #pun-crumbs2, #pun-userlist #pun-crumbs2, #pun-respect #pun-crumbs2, #pun-searchposts #pun-crumbs2, #pun-multimove #pun-crumbs2) {
  padding: 30px 0 0 !important;
}

#pun-viewforum #pun-crumbs2,
#pun-searchtopics #pun-crumbs2,
#pun-userlist #pun-crumbs2,
#pun-respect #pun-crumbs2,
#pun-searchposts #pun-crumbs2,
#pun-multimove #pun-crumbs2 {
  padding: 3px 0 2px;
}

#pun-crumbs2 .container {
  padding: 0;
}

#pun-break1 {
  height: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

#pun-status .container {
  padding: 0;
}

#pun-status .status-right a {
  margin-right: 3px;
}

#pun-status span #pun-crumbs1,
#pun-crumbs1 .container,
#pun-crumbs2 .container,
#pun-crumbs2 {
  font-weight: 500 !important;
}

.punbb .divider {
  border-color: transparent !important;
}

/* Объявление и переадресация
-------------------------------------------------------------*/
#pun-announcement .html-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  height: auto;
}

.pun-modal .modal-inner {
  background: var(--pun);
  padding: 10px !important;
  width: 600px !important;
  border-radius: 0;
}

.move_posts_form .modal-inner > .container {
  background: var(--pun) !important;
}

#move_posts_form .formal > form.container {
  padding: 15px 15px 7px 15px !important;
}

body.redirect-page #pun {
  margin: calc(var(--headerHeight) / 2) auto 0 !important;
}

#pun-redirect,
#pun-maint {
  background-color: var(--pun);
  padding: 20px !important;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#pun-redirect h1 {
  margin-bottom: 0 !important;
  padding: 10px 0 !important;
}

.pun-modal.move_posts_form h2 {
  margin-bottom: 10px !important;
}

.move_posts_form .modal-inner > .container .fs-box {
  text-transform: lowercase;
}

#move_posts_form .tcl {
  text-align: left;
}

#move_posts_form .tc2 {
  width: 15%;
  text-align: right;
}

.forum_name strong {
  font-weight: 700 !important;
  color: var(--text);
}

/* Таблица общее
-------------------------------------------------------------*/
.punbb .main .tcmod {
  text-align: center;
  width: 3%;
}

.punbb .main td {
  padding: 0;
}

.punbb .main tr {
  display: block;
  word-break: break-word;
}

#pun-respect tr {
  border-spacing: 0 6px;
}

#pun-messages tr:not(#form-buttons table tr),
#pun-reputation tr:not(#form-buttons table tr),
.punbb .post-box table tr:not(#form-buttons table tr),
.history_posts_list table tr:not(#form-buttons table tr),
.Form-Table table tr:not(#form-buttons table tr),
.adfs-box table tr:not(#form-buttons table tr),
.fs-box table tr:not(#form-buttons table tr) {
  display: table-row !important;
}

#pun-viewforum .main tr:not(:last-child):not(:first-child),
#pun-searchtopics .main tr:not(:last-child):not(:first-child),
.multipage .main tr:not(:last-child):not(:first-child),
#pun-userlist .main tr:not(:last-child):not(:first-child),
#pun-statistic .main tr:not(:last-child):not(:first-child),
#pun-online .main tr:not(:last-child):not(:first-child),
#pun-modviewforum .main tr:not(:last-child):not(:first-child) {
  margin: 1.5em 0;
}

#pun-viewforum .main tr:last-child:not(:first-child),
#pun-searchtopics .main tr:last-child:not(:first-child),
.multipage .main tr:last-child:not(:first-child),
#pun-userlist .main tr:last-child:not(:first-child),
#pun-statistic .main tr:last-child:not(:first-child),
#pun-online .main tr:last-child:not(:first-child),
#pun-modviewforum .main tr:first-child:not(:last-child) {
  margin: 1.5em 0 1px;
}

#pun-viewforum .main tr:first-child:not(:last-child),
#pun-searchtopics .main tr:first-child:not(:last-child),
.multipage .main tr:first-child:not(:last-child),
#pun-userlist .main tr:first-child:not(:last-child),
#pun-statistic .main tr:first-child:not(:last-child),
#pun-online .main tr:first-child:not(:last-child),
#pun-modviewforum .main tr:first-child:not(:last-child) {
  margin: 0 0 1.5em;
}

#pun-index .main td {
  padding: 0;
}

.punbb .main th {
  padding: 0 0 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 0;
}

#pun-index .main th {
  padding: 0 !important;
}

#pun-respect .main th,
#pun-online .main th {
  padding: 20px 0 !important;
}

#pun-messages .main th {
  padding: 0 0 8px;
}

.punbb .main td span.youposted {
  position: absolute;
}

.punbb tbody.hasicon td.tcl {
  padding-left: 0;
}

.punbb .user-avatar {
  margin: 0 !important;
  float: left !important;
  position: relative;
}

.multipage {
  margin-top: 0;
}

.multipage,
div#pun-main,
div#pun-stats,
div#pun-crumbs1,
div#pun-crumbs2,
div#pun-status,
div#pun-about {
  padding: 0;
}

/* Таблица на index
-------------------------------------------------------------*/
#pun-index .main .tcl,
#pun-index .main .tcr {
  overflow: hidden;
}

#pun-index .main .tc2,
#pun-index .main .tc3 {
  width: 0;
  font-size: 0;
}

/* Таблица на searchtopics и viewforum
-------------------------------------------------------------*/
#pun-searchtopics tr {
  vertical-align: top;
}

#pun-searchtopics .tcl {
  width: calc(var(--bodyWidth) * 0.4) !important;
}

#pun-searchtopics .tc2 {
  width: calc(var(--bodyWidth) * 0.3) !important;
}

#pun-searchtopics .tc3 {
  width: calc(var(--bodyWidth) * 0.1) !important;
}

#pun-searchtopics .tcr {
  width: calc(var(--bodyWidth) * 0.2) !important;
}

#pun-searchtopics div.icon {
  float: none;
  position: absolute;
  line-height: 0;
}

#pun-viewforum tr,
.multipage tr {
  vertical-align: top;
}

#pun-viewforum .tcl,
.multipage .tcl {
  width: calc(var(--bodyWidth) * 0.55) !important;
}

#pun-viewforum .tc2,
#pun-viewforum .tc3,
.multipage .tc2,
.multipage .tc3 {
  width: calc(var(--bodyWidth) * 0.1) !important;
}

#pun-viewforum .tcr,
.multipage .tcr {
  width: calc(var(--bodyWidth) * 0.35) !important;
}

#pun-viewforum .tcr a,
.multipage .tcr a {
  display: block;
}

#pun-viewforum div.icon,
.multipage div.icon {
  float: none;
  position: absolute;
  line-height: 0;
}

#pun-statistic .tcl:not(.tcl.tc-topic) {
  width: calc(var(--bodyWidth) * 0.275) !important;
}

#pun-statistic .tcl.tc-topic {
  width: calc(var(--bodyWidth) * 0.425) !important;
}

#pun-statistic .tc2 {
  width: calc(var(--bodyWidth) * 0.275) !important;
}

#pun-statistic .tc3 {
  width: calc(var(--bodyWidth) * 0.15) !important;
}

#pun-statistic .tc3:not(:last-child) {
  text-align: center;
}

/* Таблица на userlist
-------------------------------------------------------------*/
#pun-userlist .usertable {
  margin: 20px auto 20px;
}

#pun-userlist .tcl {
  width: calc(var(--bodyWidth) * 0.275) !important;
  text-align: left;
  word-break: break-word;
}

#pun-userlist .tc2 {
  width: calc(var(--bodyWidth) * 0.275) !important;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
}

#pun-userlist .tc3 {
  width: calc(var(--bodyWidth) * 0.15) !important;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
}

#pun-userlist .tc3:last-child {
  text-align: right;
}

.usertable {
  margin: 0 auto;
}

/* Таблица на debug и statistic
-------------------------------------------------------------*/
#pun-debug .tcl {
  width: calc(var(--bodyWidth) * 0.15) !important;
  white-space: normal;
}

#pun-debug .tcr {
  width: calc(var(--bodyWidth) * 0.9) !important;
  white-space: normal;
}

#pun-statistic {
  text-transform: lowercase;
}

#pun-statistic .tcl {
  text-align: left !important;
}

#pun-statistic .tc2 {
  text-align: center !important;
}

#pun-statistic .tc3:not(:last-of-type) {
  text-align: center !important;
}

#pun-statistic .tc3:last-of-type {
  text-align: right !important;
}

#pun-statistic th {
  font-size: 0.8em;
  padding: 20px 0 12px;
  font-weight: 700 !important;
}

#statistic-other span {
  padding-right: 0 !important;
}

#pun-online .tcl,
#pun-online .tc3 {
  width: calc(var(--bodyWidth) * 0.33) !important;
}

#pun-online .tc3 {
  text-align: right;
}

#pun-online td.tcl.username,
#pun-online th.tcl:first-child {
  text-align: left;
}

#pun-online .tcl.action {
  text-align: center;
}

#pun-online .tcl.action strong {
  font-weight: 500 !important;
}

/* Таблица на pun-messages
-------------------------------------------------------------*/
#pun-messages tbody.hasicon td.tcl {
  padding-left: 0;
}

#pun-messages div.icon {
  float: none;
  position: absolute;
  line-height: 0;
}

#pun-messages tr {
  vertical-align: middle;
}

#pun-messages .tcl {
  width: calc(var(--bodyWidth) * 0.3) !important;
  text-align: left;
}

#pun-messages .tc2 {
  width: calc(var(--bodyWidth) * 0.2) !important;
}

#pun-messages .tc2:last-of-type {
  width: calc(var(--bodyWidth) * 0.05) !important;
}

#pun-messages .tc3 {
  width: calc(var(--bodyWidth) * 0.1) !important;
}

#pun-messages .tcr {
  width: calc(var(--bodyWidth) * 0.1) !important;
}

#pun-messages .tcr a {
  display: block;
}

#pun-messages fieldset {
  padding: 0 8px 0 0;
}

/* Личные сообщения
-------------------------------------------------------------*/
#volSlider {
  display: block !important;
  float: right !important;
  margin: 5px 0 0 1em !important;
}

#volSlider .thumb {
  cursor: pointer !important;
  display: inline-block !important;
  position: relative !important;
}

/* Статистика
-------------------------------------------------------------*/
#pun-stats .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
}

#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
  text-align: center;
  padding: 0;
  cursor: default;
  height: 32px;
  width: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 20px 0 15px;
  text-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#pun-stats li.item1 span,
#pun-stats li.item2 span,
#pun-stats li.item3 span,
#pun-stats li.item4 span {
  margin-right: 3px;
}

li#onlinelist {
  float: left;
  text-align: justify;
  width: 100%;
  margin: 0 0 1em;
  line-height: 1.8;
}

li#onlinelist:last-child {
  margin: 0 !important;
}

li#onlinelist div {
  padding: 0;
}

#onlinelist {
  text-transform: lowercase;
  letter-spacing: 0.2px;
  font-size: 0.9em;
  font-weight: 500;
}

#onlinelist a:not {
  text-transform: initial;
}

/* Футер
-------------------------------------------------------------*/
#pun-qjump {
  width: 50%;
  margin: 0;
  position: relative;
  float: left;
}

#pun-qjump .container {
  background: transparent;
}

#pun-about {
  margin: 0;
}

#pun-about .container {
  line-height: 150%;
}

#pun-about p span {
  display: block;
  padding: 0;
}

#pun-break4 {
  position: relative;
  height: 0;
  margin: 0;
  z-index: 1;
}

/* Посты
-------------------------------------------------------------*/
#main-reply {
  line-height: 170%;
  padding: 10px;
}

.punbb textarea,
.punbb input,
.punbb select,
.punbb optgroup {
  outline: none;
  padding: 3px 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
}

#pun-viewtopic #post-form textarea,
#pun-messages textarea,
#pun-edit textarea,
textarea#reputationText {
  border-radius: 0 !important;
  border: 1px solid var(--border) !important;
}

.submitfield input#sub4,
#pun-profile p.inputfield a,
#pun-profile p.datafield a {
  text-transform: lowercase;
  padding: 5px 10px;
  line-height: 1;
  border-radius: 0;
  cursor: pointer;
  background: var(--whiteMedium);
  color: var(--text) !important;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 125px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
}

.submitfield input#sub4:hover,
#pun-profile p.inputfield a:hover,
#pun-profile p.datafield a:hover {
  opacity: .4;
}

.punbb .post .container {
  margin-top: 0 !important;
  padding-bottom: 0;
  position: relative;
}

.punbb .post .post-author ul,
.punbb .post .post-author p {
  padding: 0;
  line-height: 140%;
}

.punbb fieldset {
  padding: 0;
  margin: 0;
}

.punbb fieldset legend {
  padding: 0;
  margin: 0;
}

.punbb fieldset legend span {
  padding: 0;
  margin: 0;
}

.punbb fieldset .post-box {
  margin-bottom: 0.8em;
}

.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

#pun-messages .post-content {
  width: 100% !important;
}

.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 170%;
}

.punbb .post-content blockquote p:last-of-type {
  padding: 0;
}

.punbb .post-content img {
  vertical-align: text-bottom;
}

.punbb .post-content img.postimg {
  vertical-align: middle;
}

.punbb .post-content blockquote,
.punbb .post-content .blockcode {
  overflow: hidden;
  margin: 0;
  padding: 10px 16px;
}

.punbb .post-content .scrollbox {
  height: auto !important;
  max-height: 60px !important;
  overflow-y: auto;
}

.punbb .post-content .spoiler-box > div {
  padding: 8px 12px !important;
  line-height: 170%;
}

.punbb .post-content .spoiler-box > div:before,
.punbb .post-content .spoiler-box > div.visible:before {
  display: inline-block;
}

.punbb .post-content .quote-box,
.punbb .post-content .code-box {
  margin: 0 0 1em;
  padding: 0;
}

.punbb .info .container {
  padding: 1em 2em;
  text-align: center;
}

.punbb .info .container .backlink {
  padding-top: 0.8em;
}

.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  margin: 0 0 1.1em 0;
}

.punbb .info-box * {
  padding: 0 0 0.7em 0;
}

.punbb .fs-box {
  padding: 1em 0 2em;
}

.punbb .fs-box p,
.punbb .fs-box fieldset {
  padding: 0 0 0.8em 0;
  line-height: 160%;
}

.punbb .inline .inputfield,
.punbb .inline .selectfield,
.punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  line-height: 160%;
}

.punbb .inline .infofield {
  clear: both;
  text-transform: lowercase;
}

.punbb .areafield span.input,
.punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%;
}

.punbb textarea,
.punbb .longinput input {
  width: auto;
  margin: 0;
}

.punbb .post-box {
  padding: 0;
}

.punbb .post-links ul {
  height: auto;
  margin-left: 0;
  padding: 0 0 0;
  background: transparent;
  line-height: 1;
  text-align: right;
}

.punbb .post-links li {
  line-height: 1 !important;
}

.punbb .post-links li:not(:first-of-type) {
  margin-left: 1.5em;
}

.punbb .hashelp {
  position: relative;
}

.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

#pun-messages .clearer {
  display: none;
}

.punbb .post-sig dt {
  display: block;
  width: 50%;
  margin: 10px auto;
}

.punbb dl.post-sig p,
#profile-signature p,
dl.parsedsig p {
  line-height: 100% !important;
}

.punbb .helplinks {
  display: block;
  position: absolute;
  width: 36%;
  top: 1em;
  right: 0;
  font-weight: 500;
}

.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
}

.punbb .quote-box cite,
.punbb .code-box strong.legend {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.punbb #profile .helplinks {
  top: 1.5em;
}

.punbb .formal .container {
  padding: 0;
}

#pun-post .formal .info-box li {
  list-style-type: square;
  list-style-position: inside;
  margin: 0;
  padding-left: 4px;
  line-height: 1.5;
}

.pl-email,
.pl-website {
  float: left;
}

.pl-delete,
.pl-edit,
.pl-quote,
.pl-reports {
  float: none;
}

form#rep_form .tc2 input {
  cursor: pointer;
  margin: 0 0 8px 0 !important;
  padding: 7px 13px !important;
}

.punbb .post h3 {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

#pun-messages .post h3 {
  margin: 0 !important;
  background: transparent;
  height: auto;
  width: auto;
  padding: 0;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#pun-messages .post h3 span {
  font-weight: 600 !important;
}

.punbb .post h3 span {
  text-align: left;
  letter-spacing: 1px;
  line-height: 1;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 !important;
}

#pun-multimove .post h3 strong,
#pun-searchposts .post h3 strong {
  right: var(--bodyPadding);
  position: absolute;
}

.punbb .post-box {
  text-align: justify;
  padding: 0 !important;
}

.punbb #pun-main .info-box .legend {
  font-size: 1em;
  font-weight: 700;
}

.punbb address,
.punbb em,
em {
  font-style: normal;
}

a.qc-post-link img {
  display: none;
}

.punbb .required label,
.punbb .datafield span.input a {
  font-weight: 500 !important;
}

em.bbuline {
  font-style: normal;
  text-decoration: none;
}

hr {
  opacity: 1 !important;
  margin-bottom: 0.8em;
  -webkit-filter: none;
  filter: none;
  border-bottom-style: none !important;
}

.linkst .postlink span.closed,
.linksb .postlink span.closed {
  display: none;
}

span.closed {
  margin-right: 10px;
}

#plng {
  padding: 0;
  margin: 0 20px 0 0;
  font-weight: 500 !important;
  text-transform: uppercase;
  font-size: 0.75em;
  letter-spacing: 0.6px;
  line-height: 1;
}

#plng b {
  font-weight: 500 !important;
}

#restore-post {
  position: absolute;
  right: -33px;
  top: 47px;
  z-index: 200;
  cursor: pointer;
}

span#restore-post:before {
  content: '\f044';
  font-family: var(--mi);
  color: var(--text);
  font-size: 1em;
  display: block;
}

.post-content .highlight-text {
  padding: 0 4px 2px 4px;
}

/* Пагинация и соседние строчки
-------------------------------------------------------------*/
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
}

#pun-pagelinks .container {
  background: transparent;
  padding: 0;
}

#pun-pagelinks .container li {
  display: inline;
}

#pun-pagelinks li a {
  display: block;
  float: left;
  width: 100%;
  height: 2em;
  margin-left: -9999px;
  padding: 0;
}

#pun-pagelinks li a span {
  display: block;
  margin: 0 1em;
}

#pun-pagelinks a:link,
#pun-pagelinks a:hover {
  display: block;
  float: left;
  width: 100%;
  height: 2em;
  margin-left: -9999px;
  padding: 0;
}

#pun-pagelinks a:active,
#pun-pagelinks a:focus {
  position: relative;
  margin: 0;
}

.punbb .linkst,
.punbb .linksb {
  float: none;
  position: relative;
  width: 100%;
  height: 30px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.punbb .linksb noindex,
.punbb .linkst noindex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.linkst .postlink {
  right: 0;
  text-align: right;
}

.punbb .linksb {
  padding: 0.5em 0;
}

.linksb .pagelink,
.linkst .pagelink {
  float: none;
  left: var(--bodyPadding);
  position: absolute;
  line-height: 1;
  width: auto;
  max-width: calc(var(--profileWidth) - var(--bodyPadding));
  text-align: left;
}

#pun-messages .linksb .pagelink,
#pun-messages .linkst .pagelink {
  left: 0 !important;
}

.linksb .postlink,
.linkst .postlink {
  float: none;
  right: var(--bodyPadding) !important;
  position: absolute;
  line-height: 1;
  width: auto;
  text-align: right;
}

#pun-messages .linksb .postlink,
#pun-messages .linkst .postlink {
  right: 0 !important;
}

.linksb {
  text-align: right;
}

.linkst {
  text-align: left;
}

#pun-viewtopic .linksb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#pun-viewtopic .linksb .pagelink {
  -webkit-box-ordinal-group: 1;
  -ms-flex-order: 0;
  order: 0;
}

#pun-viewtopic .linksb .postlink {
  float: none;
  width: auto;
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}

#pun-viewtopic .linksb .subscribelink {
  float: none;
  width: auto;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}

#pun-viewtopic .linksb .postlink,
#pun-viewtopic .linksb .subscribelink {
  text-align: right;
  width: auto;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#pun-viewtopic .linksb .postlink a,
#pun-viewtopic .linksb .subscribelink a {
  width: auto;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0;
}

/* Профиль в постах
-------------------------------------------------------------*/
.punbb .post .post-author {
  float: left;
  border: none;
  outline: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.punbb .post .post-author ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: auto;
  height: auto;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.pa-author {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.pa-title {
  line-height: 1.2;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.pa-avatar.item2 {
  width: 100%;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.pa-avatar.item2 img,
#profile-left #pa-avatar img {
  max-height: 180px;
  max-width: 180px;
}

#profile-left #pa-avatar div {
  padding: 0;
}

.pa-online {
  line-height: 1;
}

#guest.pa-online {
  display: none;
}

.pa-posts,
.pa-respect,
.pa-fld4 {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-flex: 1;
  -ms-flex: auto;
  flex: auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  position: relative;
  margin: 0 0 0 !important;
}

.pa-posts,
.pa-respect {
  width: 25%;
}

.pa-fld4 {
  width: auto;
  max-width: 25%;
}

.pa-respect,
.pa-fld4 {
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: row !important;
  flex-direction: row !important;
  white-space: nowrap !important;
}

.pa-respect img {
  width: 8px;
  height: 8px;
  mix-blend-mode: normal;
  margin: 0 4px 0 0;
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

.pa-ip {
  color: var(--text) !important;
  font-size: 0.8em;
  letter-spacing: 1px;
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 5px !important;
}

.pa-ip a {
  color: var(--link) !important;
}

.pa-ip a:hover {
  opacity: .6 !important;
}

/* Страница профиля
-------------------------------------------------------------*/
#viewprofile .container {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

#viewprofile ul {
  margin: 0;
  padding: 0;
}

#viewprofile li {
  margin: 0;
  padding: 0;
}

#viewprofile li strong,
#viewprofile li div {
  padding: 0;
  display: block;
  width: auto;
}

#viewprofile h2 {
  background: transparent;
  padding: 0;
  margin: 0 14px;
}

#viewprofile h2 span {
  padding: 0 5px;
  position: relative;
}

#profile-left {
  margin: 0 !important;
  overflow: hidden;
}

#profile-left li {
  width: 100%;
}

#profile-left li#pa-avatar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: auto;
}

#profile-right {
  width: auto !important;
}

#profile-right li {
  margin: 0;
  text-align: left;
  margin: 0 0 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#profile-right li span {
  float: left;
  min-width: 160px;
  padding: 0;
  margin: 0 30px 0 0;
  white-space: nowrap;
  display: block;
}

td#profile-right {
  display: table-cell;
  margin-left: 0;
  padding: 0 0 0 60px !important;
}

#profile-signature {
  padding: 0 !important;
  margin-top: 30px;
}

#profile-signature:before {
  content: '';
  display: block;
  width: 50%;
  background: var(--blackMedium);
  height: 1px;
  margin: 0 auto 30px;
}

#profile-signature ul {
  margin: 0;
  padding: 0 1em !important;
}

/* Настройки профиля
-------------------------------------------------------------*/
#profile .container {
  padding-left: 16.6em;
  margin-top: 0;
}

#profilenav {
  float: left;
  width: 13em;
  margin-left: -15.45em;
  display: inline;
  letter-spacing: 0.4px;
}

#profilenav ul {
  margin: 0 0 1em 0;
  padding: 0;
}

#profilenav li {
  padding-bottom: 0.8em;
}

#profilenav h2 {
  background: transparent;
  padding: 0;
  margin: 0 0 10px 0;
  text-align: left;
}

#profilenav h2 span {
  padding: 0;
  position: relative;
}

#setmods dd {
  padding: 0;
}

#setmods dl {
  padding: 0 0 0 8em;
  margin: 0;
}

#setmods dt {
  float: left;
  display: inline;
  width: 14em;
  margin-left: -16em;
  font-weight: 500;
}

#setmods dd {
  display: block;
}

.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
}

#profilenav h2 span {
  background-color: transparent;
  color: var(--text);
  text-transform: lowercase;
  font-weight: 700 !important;
  font-size: 1em;
  letter-spacing: 0.6px;
}

#profilenav li {
  font-weight: 500 !important;
  text-transform: lowercase;
}

.fs-box label,
.fs-box .label,
p.infofield {
  font-size: 1em;
  letter-spacing: 0.1px;
  font-weight: 500 !important;
  text-transform: lowercase;
  padding: 0px 0 1px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1;
}

div#setmods {
  padding: 0 0 0.8em 0;
}

.punbb .formal span.input {
  text-transform: lowercase;
}

/* Меню модератора
-------------------------------------------------------------*/
#pun-multimove .modmenu .container {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-pack: end !important;
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
}

#pun-multimove input#messages-selector {
  margin-right: 5px;
}

.punbb .modmenu strong {
  height: 2em;
  line-height: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 500 !important;
  text-transform: lowercase;
  margin-right: 5px !important;
}

.punbb .modmenu .container strong {
  float: left;
}

.punbb .modmenu a {
  height: auto;
  line-height: 1;
}

.punbb .modmenu input {
  margin-left: 1em;
}

#topic-modmenu {
  margin-top: 0;
}

#pun-help .formal .info-box h3.legend {
  padding-bottom: 0;
  margin-bottom: 0.8em;
}

#pun-help .formal .info-box h3.legend span {
  display: block;
  padding-bottom: 0.6em;
  font-size: 1em;
}

#pun-help .formal p,
#pun-help .formal dd {
  margin-bottom: 1em;
}

#pun-help .formal ul,
#pun-help .formal dl {
  padding: 0 0 0 1em;
}

#pun-help .formal li {
  padding: 0;
  line-height: 130%;
}

#pun-help .formal li * {
  vertical-align: text-top;
}

#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

#pun-help .formal .parsedmsg,
#pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
}

/* Админка
-------------------------------------------------------------*/
#pun-adnav {
  margin-left: -16em !important;
}

#pun-adnav ul {
  padding: 0 !important;
  margin: 0;
}

.ace_editor {
  overflow: hidden !important;
}

#pun-admain legend {
  margin: 0 !important;
  font-size: 1em !important;
}

#pun-admain .adlabel {
  width: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  margin-left: 0 !important;
}

#pun-admain fieldset .handle,
#pun-admain fieldset p {
  margin-bottom: 5px !important;
  padding: 0.6em !important;
}

#pun-admain p.adsubmitfield .adlabel {
  padding-bottom: 0 !important;
}

#pun-admain span.adsubmit {
  position: relative !important;
  left: 0 !important;
  width: 16em !important;
  top: 0.5em !important;
}

#pun-admain .adinput {
  padding: 0 !important;
}

#pun-admin_index #pun-admain .adformal div ul,
#pun-admin_index #pun-admain div p {
  padding: 0.6em !important;
}

.adminmain {
  margin-bottom: 0 !important;
}

#pun-admain2 fieldset .subforums {
  margin-left: 0 !important;
}

/* Ссылки и переходы
-------------------------------------------------------------*/
a,
#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4,
.punbb .user-avatar .avatar-image,
li.pa-avatar.item2 img,
#profile-left li#pa-avatar img,
#pun-ulinks,
input.button,
.bookmark,
.pa-respect .fld-name:before,
.header-text-title no:after,
#profile-left li#pa-edit,
#pun-index .main .tcl h3,
.pa-posts,
.pa-respect,
.punbb .quote-box cite,
a.qc-post-link:before,
#pun-navlinks a:after,
.punbb .post-links li,
#pun-index div.container tbody.hasicon tr,
.submitfield input#sub4,
#pun-profile p.inputfield a,
#pun-profile p.datafield a,
#pun-index .main .user-avatar,
#pun-index .main .user-avatar .avatar-image,
span.num_msg,
#Go_Top:before,
#Go_Bottom:before {
  text-decoration: none !important;
  transition: all 0.4s ease !important;
  -webkit-transition: all 0.4s ease !important;
  -moz-transition: all 0.4s ease !important;
  -o-transition: all 0.4s ease !important;
}

/* Заголовки
-------------------------------------------------------------*/
#pun-main h1,
#pun-main h2,
#pun-debug h2 {
  padding: 0.5em 0;
}

/* Формы и кнопки
-------------------------------------------------------------*/
.punbb .formsubmit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-transform: lowercase;
  padding: 0;
  margin: 0;
  text-align: center;
}

.punbb .formsubmit input {
  cursor: pointer;
}

.punbb .formsubmit input,
.punbb .formsubmit a,
.punbb .formsubmit span {
  margin: 0 20px 8px 0 !important;
  padding: 5px 20px !important;
}

input.button:last-of-type,
.punbb .formsubmit input:last-of-type,
.punbb .formsubmit a:last-of-type,
.punbb .formsubmit span:last-of-type {
  margin: 0 0 8px 0 !important;
}

#login .formsubmit input:last-of-type {
  margin: 0 20px 8px 0 !important;
}

.punbb .formsubmit a,
.punbb .formsubmit span {
  margin: 0 0.6em 0 0;
}

#profile .formsubmit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0;
  margin: 1em 0 0 0;
  text-align: center;
}

#form-buttons table {
  width: 100% !important;
}

input.button,
button.sml {
  cursor: pointer;
  margin: 0 20px 8px 0 !important;
  padding: 5px 20px !important;
}

#pun-multimove input.button {
  margin: 0 0 0 20px !important;
}

form#register fieldset {
  padding: 0;
  margin: 0 0 1em 0;
}

/* Всплывающие уведомления: новое лс и проч.
 -------------------------------------------------------------*/
.jGrowl {
  font-size: 1em !important;
}

.jGrowl .messag_theme {
  font-family: arial !important;
  text-transform: lowercase !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.jGrowl-notification {
  height: auto !important;
  text-align: center !important;
  border-radius: 0 !important;
}

#closet {
  border-radius: 0 !important;
  text-transform: lowercase !important;
}

/* Баббл новых лс
-------------------------------------------------------------*/
span.num_msg {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1;
  letter-spacing: 0;
}

span.num_msg:before {
  content: none !important;
}

/* Скроллбар
-------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 7px;
  height: 0;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  background-color: transparent;
  background: transparent;
}

textarea::-webkit-scrollbar,
#tags .container::-webkit-scrollbar,
.scrollbox::-webkit-scrollbar,
.hvStickerPackModalContent::-webkit-scrollbar,
#pun-index td .tclcon p::-webkit-scrollbar,
.banners::-webkit-scrollbar,
.t-post::-webkit-scrollbar {
  width: 3px !important;
  height: 0;
}

/* Панель в форме ответа
 -------------------------------------------------------------*/
.punbb .formal textarea {
  width: 99%;
}

#form-buttons table {
  height: 26px;
}

#font-area,
#size-area,
#color-area,
#table-area,
#image-area,
#imageup-area,
#imageattach-area,
#keyboard-area,
#video-area,
#addition-area,
#smilies-area,
#video-area,
#spoiler-area {
  padding: 7px !important;
  overflow-y: auto;
  max-height: 259px;
}

#tags .container {
  top: auto !important;
  margin-top: 0;
}

div#color-area,
div#table-area,
div#image-area,
div#imageup-area,
div#imageattach-area,
div#keyboard-area,
div#video-area,
div#addition-area,
div#smilies-area,
div#video-area,
div#spoiler-area {
  right: 0 !important;
}

#addition-area div,
#font-area div,
#size-area div {
  padding: 4px 5px 5px 5px !important;
  height: auto !important;
}

#font-area span,
#size-area span {
  height: auto !important;
}

#keyboard-span input {
  cursor: pointer;
  margin: 1px !important;
  height: 29px !important;
  min-width: 30px !important;
  line-height: 100% !important;
}

#smilies-area img {
  margin-right: 4px !important;
  margin-bottom: 2px !important;
}

.uploadQueueItem {
  padding: 5px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#upload-button-container input[type=button],
#imageupload-left input[type=button],
#selected-image-width,
#selected-thumb-width,
#imageupload-left select {
  cursor: pointer !important;
}

#uploaded-images img {
  cursor: pointer !important;
  width: auto !important;
  height: 50px !important;
  max-width: 100px;
  margin-right: 4px !important;
}

#video-area-tinp,
#image-area-tinp {
  margin: 0.8em 0 !important;
  border: none !important;
}

div#video-area-actions {
  text-align: right !important;
  line-height: 2em !important;
}

#form-buttons td {
  padding: 0;
  background-repeat: no-repeat;
  background-color: transparent !important;
  background-image: none !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: var(--mso) !important;
  font-style: normal !important;
  line-height: 1 !important;
  width: 100%;
  height: 26px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  font-variant: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#form-buttons tr {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

#form-buttons td img {
  position: absolute;
  z-index: 2;
  margin: 0;
  width: auto !important;
  opacity: 0 !important;
}

#form-buttons #button-font:before {
  content: "\e264";
  position: absolute;
}

#form-buttons #button-transL:before {
  content: "\e8e2";
  position: absolute;
}

#form-buttons #button-size:before {
  content: "\eae2";
  position: absolute;
}

#form-buttons #button-bold:before {
  content: "\e238";
  position: absolute;
}

#form-buttons #button-italic:before {
  content: "\e23f";
  position: absolute;
}

#form-buttons #button-underline:before {
  content: "\e249";
  position: absolute;
}

#form-buttons #button-strike:before {
  content: "\e257";
  position: absolute;
}

#form-buttons #button-left:before {
  content: "\e236";
  position: absolute;
}

#form-buttons #button-center:before {
  content: "\e234";
  position: absolute;
}

#form-buttons #button-right:before {
  content: "\e237";
  position: absolute;
}

#form-buttons #button-justify:before {
  content: "\e235";
  position: absolute;
}

#form-buttons #button-spoiler:before {
  content: "\e875";
  position: absolute;
}

#form-buttons #button-quote:before {
  content: "\e625";
  position: absolute;
}

#form-buttons #button-code:before {
  content: "\ead1";
  position: absolute;
}

#form-buttons #button-color:before {
  content: "\e40a";
  position: absolute;
}

#form-buttons #button-smile:before {
  content: "\e87d";
  position: absolute;
}

#form-buttons #button-sticker:before {
  content: "\e813";
  position: absolute;
}

#form-buttons #button-link:before {
  content: "\e157";
  position: absolute;
}

#form-buttons #button-image:before {
  content: "\e412";
  position: absolute;
}

#form-buttons #button-image2:before {
  content: "\e3f4";
  position: absolute;
}

#form-buttons #button-video:before {
  content: "\e1c4";
  position: absolute;
}

#form-buttons #button-hide:before {
  content: "\e898";
  position: absolute;
}

#form-buttons #button-table:before {
  content: "\f088";
  position: absolute;
}

#form-buttons #button-keyboard:before {
  content: "\f028";
  position: absolute;
}

#form-buttons #button-addition:before {
  content: "\e145";
  position: absolute;
}

#form-buttons #button-indent:before {
  content: "\e23e";
  position: absolute;
}

#form-buttons #button-html:before {
  content: "\ef54";
  position: absolute;
}

#form-buttons #floatbut:before {
  content: "\e949";
  position: absolute;
}

#form-buttons #button-mask:before {
  content: "\e853";
  position: absolute;
}

#form-buttons #button-ChangeСase {
  content: "\e262";
  position: absolute;
}

img.vibor {
  -webkit-filter: invert(1);
  filter: invert(1);
  margin: 0 10px;
}

#button-image > img {
  position: relative;
  z-index: 2;
}

#button-image > center {
  opacity: 0;
  visibility: hidden;
}

#button-image:hover > center {
  opacity: 1;
  visibility: visible;
}

#float {
  width: auto;
  padding: 8px;
  position: absolute;
  top: 37px;
  left: 347px;
  z-index: 20;
  display: none;
}

#float:last-child img {
  margin: 0 5px !important;
  -webkit-filter: invert(1);
  filter: invert(1);
}

/* Репутация
 -------------------------------------------------------------*/
form#rep_form .tc2,
form#rep_form .tc3 {
  width: 100% !important;
}

textarea#reputationText {
  width: 100% !important;
}

#pun-report .inner,
#pun-reputation .inner,
#pun-admin-award-form .inner {
  padding: 20px !important;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 30px;
}

#pun-report .inner .container,
#pun-reputation .inner .container,
#pun-admin-award-form .inner .container {
  padding: 0 !important;
}

#pun-respect .tcl {
  width: calc(var(--bodyWidth) * 0.2) !important;
  text-align: left;
}

#pun-respect td:last-child:first-child {
  width: 100% !important;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#pun-respect .tc2 {
  width: calc(var(--bodyWidth) * 0.05) !important;
  text-align: center;
}

#pun-respect .tc3 {
  width: calc(var(--bodyWidth) * 0.25) !important;
  text-align: center;
  line-height: 1;
}

#pun-respect .tcr {
  width: calc(var(--bodyWidth) * 0.25) !important;
  text-align: right;
  text-transform: lowercase;
}

.removeReputation {
  background: transparent !important;
  float: none !important;
  height: 12px !important;
  display: inline !important;
}

div.post-rating p {
  padding: 0 !important;
}

#pun-report .inner,
#pun-reputation .inner,
#pun-admin-award-form .inner {
  background: var(--pun) !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

div.post-rating,
div.post-vote,
div.post-vote a,
div.post-rating a,
form#rep_form .tcl strong {
  font-weight: 700 !important;
}

.removeReputation:before {
  content: '\e5cd';
  font-family: var(--mso);
  font-size: 0.9em !important;
  font-weight: 300 !important;
}

.edit-reputation {
  border-bottom: 1px dashed var(--body) !important;
}

/* Закладки
 -------------------------------------------------------------*/
#MyBookmarks {
  padding: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#MyBookmarks .container {
  margin-top: 20px;
  line-height: 150% !important;
}

input#reputationButtonSend {
  margin: 0 0 8px 0 !important;
}

/* Кнопки вверх/вниз
-------------------------------------------------------------*/
#Go_Top,
#Go_Bottom {
  position: fixed;
  cursor: pointer;
  z-index: 999;
}

/* Смена имиджа маской
-------------------------------------------------------------*/
#mask_dialog .inner {
  background: var(--pun) !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  max-height: 95% !important;
  border-radius: 30px;
}

.hv-preview-block {
  min-width: 120px;
  margin-right: 10px !important;
}

.hv-form-block {
  margin-right: 10px !important;
  margin-bottom: 10px !important;
}

#mask_signature {
  margin: 0;
}

/* Баннеры в футере
-------------------------------------------------------------*/
.banners {
  display: block;
  position: absolute;
  overflow-y: auto;
  text-align: right;
  padding: 0 8px 0 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.banners a {
  opacity: .5;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  mix-blend-mode: luminosity;
}

.banners a:hover {
  -webkit-filter: none;
  filter: none;
  mix-blend-mode: normal;
  opacity: .9;
}

/* Для мобильных
-------------------------------------------------------------*/
@media screen and (max-device-width: 480px) {
  body {
    width: 100%;
    font-size: 140%;
    background-image: none;
  }
  a {
    -webkit-tap-highlight-color: var(--border) !important;
  }
  .punbb .post-box,
  .punbb textarea {
    font-size: 1.5em;
  }
  #pun,
  #pun-title table,
  .kakbi-tab {
    width: 100%;
  }
  #pun {
    margin: var(--headerHeight) auto 0;
    border-radius: 0;
  }
  #BookmCntToggle,
  #Go_Top,
  #Go_Bottom,
  #Go_Top:before,
  #Go_Bottom:before,
  #navindex a:before,
  #navuserlist a:before,
  #navsearch a:before,
  #navprofile a:before,
  #navpm a:before,
  #navadmin a:before,
  #navlogout a:before,
  #navlogin a:before,
  #navregister a:before,
  #navpr_1 a:before,
  #navextra1 a:before {
    display: none !important;
  }
  #pun-navlinks {
    height: auto;
    width: 100% !important;
    position: relative;
    margin: 20px auto 20px;
    font-family: var(--montserrat);
    font-size: 1em;
    top: 0;
    left: 0;
  }
  #pun-navlinks .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #pun-navlinks li {
    margin: 10px 14px;
  }
  #pun-navlinks li a {
    color: var(--body) !important;
    margin: 0;
    width: auto;
    height: auto;
    text-transform: lowercase;
    font-weight: 700;
    background: transparent;
    border: none !important;
    border-radius: 0 !important;
  }
  #pun-navlinks a:hover,
  #pun-navlinks a:hover + span.num_msg {
    background: transparent !important;
  }
  span.num_msg {
    left: 5px;
    position: relative !important;
    top: 0;
    padding: 1px 5px !important;
    color: var(--pun) !important;
    font-family: var(--montserrat) !important;
    font-size: 0.9em !important;
    font-weight: 400 !important;
    background: var(--body) !important;
    border-radius: 5px !important;
  }
  #pun-ulinks .container,
  #pun-navlinks .container {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  #pun-ulinks {
    position: unset;
    font-size: 0.5em;
    font-family: var(--montserrat);
  }
  #pun-ulinks li {
    margin: 10px 10px;
    font-weight: 700;
    font-size: 1em;
  }
  .pa-author {
    font-size: 1em;
  }
  .punbb .formsubmit input,
  .punbb .formsubmit a,
  .punbb .formsubmit span,
  input.button,
  button.sml,
  #mask_dialog .hv-control input {
    font-size: 1em !important;
  }
  #profile-right li span {
    min-width: 210px;
  }
  #pun-index .main .tcr a:not(.user-avatar a) {
    font-size: 1.2em;
  }
  .banners {
    position: relative;
  }
  #pun-viewtopic .post:last-child .post-links:before,
  .punbb .post h3:not(#pun-messages .post h3)::before,
  .punbb .post h3 span {
    width: 100vw;
  }
  #pun-ulinks,
  #pun-status .container,
  #pun-index .main .tcr a:not(.user-avatar a),
  #pun-index .main .tcr .lastpost,
  #pun-index .main td.tcl h3,
  .pa-author,
  .pa-fld2,
  #profile-left #profile-name,
  .draiganGostTable .fcs h3,
  .draiganGostTable .names h3 {
    font-family: var(--montserrat);
  }
  .draiganGostTable {
    font-size: 0.75em;
  }
  .draiganH1 {
    top: -163px !important;
  }
  .draiganActiveRight,
  .draiganActiveLeft,
  .draiganLinks {
    top: -47px !important;
  }
  #pun-viewforum .user-avatar .avatar-image,
  #pun-viewforum .user-avatar,
  #pun-searchtopics .user-avatar .avatar-imager,
  #pun-searchtopics .user-avatar {
    margin-left: 7px !important;
    margin-bottom: 14px !important;
  }
  .draiganGostAbout {
    line-height: 1.6em;
  }
  .draiganNews {
    top: -114px;
    height: 100px;
  }
  .punbb .main:not(#pun-redirect .main) {
    min-height: auto;
  }
  li#navextra1 {
    margin-bottom: auto;
  }
}

/* Дополнительно
 -------------------------------------------------------------*/

table.calendar {
    table-layout: auto !important;
    width:100% !important;
    border-collapse: collapse;
    background: rgba(255,255,255,.1);
    border-radius: 1px;
    box-shadow: 0 0 0 1px #9c9672, 0 0 5px 1px rgb(255 255 255 / 15%) inset;
    margin: auto;
    font-family: montserrat;
    text-align: center;
}

table.calendar tr{
    display:table-row!important;
    text-align: center;
}

table.calendar tr:first-child {
    text-align: center;
    background: rgba(0,0,0,.1);
}

table.calendar td{
    border: 1px solid rgba(0,0,0,.1) !important;
    padding: 7px 10px !important;
    font-family: var(--fontBase);
    font-size: 1em;
    line-height: 160%;
    text-align: center;
    
}

table.calendar td.season{
    text-align:center;
}

.tooltip {
  border-bottom: 1px dotted #000000;
  color: #000000; 
  outline: none;
  cursor: help; 
  text-decoration: none;
  position: relative;
}



.spoiler1 {background: #e7e7e7;
border: 1px solid var(--border) !important;
    border-radius: 10px;
padding: 3px;}

   .spoiler1 input, .spoiler1 div  { 
    display: none; 
   }
   .spoiler1 label::before {
    content: '\e5cf'; 
    margin-right: 5px; 
font-family: var(--mso);
color: var(--link);
    font-weight: 600;
   }

   .spoiler1 :checked + label::before { content: '\e5ce'; }
   .spoiler1 :checked ~ div {
    display: block; 
    padding: 10px; 
text-align: justify;
   }


.draiganGostHeadernInMessage {
    height: 100px!important;
    background-position: center;
    background-image: url(https://forumstatic.ru/files/001b/bf/28/60751.jpg);
}

.draiganGostBodyInMessage{
    width: 680px!important;
}

.draiganGostAboutInMessage{
    margin-top:-90px;
}

.draiganGostAboutInMessage h3
{
    margin-bottom:20px;
    text-align:center;
    font-family: var(--fontAccent);
    color: var(--linkHov);
    font-size: 16px;
    font-weight: 700 !important;
    letter-spacing: 1.2px;
}


._templateMessage{
    position:relative;
    top: -75px;
}

._templateMessage table{
    width:100%;
}

._templateMessage table tr td.imageBox{
    text-align:center;
    width:33%;
}


._templateMessage table tr td.imageBox:first-child .innerImgBox{
    position: relative;
    left: 60px;
}

._templateMessage table tr td.imageBox:last-child .innerImgBox{
    position: relative;
    right: 60px;
}


._templateMessage table tr td.imageBox .innerImgBox{
        width:70px;
        height:70px;
        overflow:hidden;
        border: 3px solid #c26c30!important;
        border-radius: 50%!important;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
}

._templateMessage table tr td.imageBox .innerImgBoxCenter{
        width:140px;
        height:140px;
}

._templateMessage table tr td.imageBox img{
        object-fit: cover;
        width: 100%;
        height: 100%;
}
