/*************************************************************
 - SETUP
**************************************************************/
/* A1 Import the colour scheme
-------------------------------------------------------------*/
/* A1.1 */
@import url(style_cs.1682502324.css);
@import url(https://forumstatic.ru/files/0016/f1/95/90664.css);
@import url("https://fonts.googleapis.com/css2?family=Rubik: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");
@import url('https://fonts.googleapis.com/css2?family=PT+Mono&display=swap');


@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v74/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1n-q_4MrImHCIJIZrDCvHOej.woff2) format("woff2");
}

* {
  text-size-adjust: 100%;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {
  --black: #090909;
  --body: #c6c6c6;
  --body_sub: #bababa;
  --link: #833222;
  --text: #2e2e2e;
  --text_sub: #5f5e5e;
  --inf: #a5a5a5;
  --select: rgb(131 50 34 / 50%);
  --line: #833222;
  --bg1: url(http://forumstatic.ru/files/001b/7a/c4/98803.webp) fixed no-repeat top center;
  --h_bg: url(http://forumstatic.ru/files/001b/7a/c4/24565.webp) no-repeat top center;
}

/* скролл для Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #054772 #818181;
}

/* скролл для Chrome/Edge/Safari */
*::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

*::-webkit-scrollbar-track {
  background: var(--body_sub);
  border: solid 1px var(--line);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--link);
  border: none;
}

/* скрыть rss-atom, убрать Закрыто и Важно, h2 объяву, поделиться */
.punbb .modmenu .container span, .stickytext, .closedatafield, #pun-announcement h2, div#pun-live-rusff, .topic a.sharelink, td#button-smile, #pun-navlinks .container li#navawards, span.mini_awards_label, #pun-status .status-right, li.pa-gifts, #pun-viewtopic li.pa-gifts, #pun .modlist {
  display: none !important;
}

/* цвета выделения текста */
::-moz-selection {
  background: var(--select);
}

::selection {
  background: var(--select);
}

::-moz-selection {
  background: var(--select);
}

::-webkit-selection {
  background: var(--select);
}

.lastedit {
  display: none;
}

#topic-users-in a:after {content: ',';}
#topic-users-in a:last-child:after {display: none;}

abbr {
  border-bottom: dotted 1px;
}

.pa-respect img {
  -webkit-filter: hue-rotate(275deg) brightness(0.8);
  filter: hue-rotate(275deg) brightness(0.8);
}

.post-content hr, .menu_rub hr {
  border: none;
  background: var(--line);
  width: 100%;
  height: 1px;
  opacity: 1 !important;
}

#pun-main div.tclcon > a {
  text-transform: uppercase;
  font-family: PT Mono;
}

#pun-main div.tclcon > strong a {
  text-transform: uppercase;
  font-family: PT Mono;
}

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/
/* A2.1 */
html, body {
  margin: 0;
  padding: 0;
}

/* A2.2 */
.punbb * {
  margin: 0;
}

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
}

/* A2.4 */
.punbb img {
  border: none;
}

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
}

/* A2.6 */
.checkfield input[type=checkbox], .radiofield input[type=radio] {
  margin: 0 0.3em;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  input[type=checkbox], input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
  }
}
input[type=checkbox] {
  box-shadow: 0 0 0 1px var(--line) inset;
  padding: 6px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

input[type=radio] {
  box-shadow: 0 0 0 1px var(--line) inset;
  border-radius: 100%;
  padding: 6px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

input[type=checkbox]:checked, input[type=radio]:checked {
  background: var(--black);
  box-shadow: 0 0 0 4px var(--line) inset;
}

/* A2.7 */
p[class=checkfield] *,
div[class=checkfield] *,
fieldset[class=radiofield] * {
  height: auto;
  vertical-align: middle;
}

#pun-index .category .container {
    width: 920px;
}

#pun-index thead, #pun-viewforum thead, #pun-online thead, #pun-userlist thead, #pun-searchtopics thead, #pun-respect thead {
  display: none;
}

#pun-online .section.online-list .container {
  padding-top: 30px;
}

#pun-index .main .tc2, #pun-index .main .tc3, #pun-index .main .tcmod {
  display: none;
}

#pun-index .subforums, #pun-viewforum #subforums {
  display: none;
}

input[type=submit], input[type=button] {
    padding: 3px 10px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    font-family: "PT Mono" !important;
    cursor: pointer;
    border: solid 1px var(--line);
    background: var(--body_sub);
    color: var(--black);
    -webkit-transition: 0.25s;
    transition: 0.25s;
    outline: none;
}

input[type=submit]:hover, input[type=button]:hover {
  background: var(--black);
  color: var(--body);
}

.night input[type=submit]:hover, .night input[type=button]:hover {
  background: var(--line);
  color: var(--black);
}

input[type=number], input[type=text], input[type=password], input[type=search], .resizable-textarea textarea, .punbb select, textarea#reputationText {
  background: var(--body_sub);
  outline: none;
  border: solid 1px var(--line);
}

/* A3 Text setup
-------------------------------------------------------------*/
/* A3.1 */
body {
  font-size: 100.01%;
}

/* A3.2 */
.punbb {
  font: normal 68.75% rubik, arial, helvetica, sans-serif;
}

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif;
}

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
}

/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1.1em;
}

/* A3.6 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal;
}

/* A3.8 */
.punbb .post-content em {
  font-style: italic;
}

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

/* A3.10 */
.punbb a {
  text-decoration: none;
}

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
}

/* A4 Float clearing and hidden items
-------------------------------------------------------------*/
/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

/* A5 Basic page layout and borders
-------------------------------------------------------------*/
/* A5.1 */
html {
  background: var(--bg1);
  background-size: cover;
}

#pun {
  width: 1030px;
  margin: auto;
  padding: 25px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-sizing: border-box;
  position: relative;
  outline: solid 1px var(--line);
  background: var(--black);
}

div#pun:before {
  content: "";
  width: 980px;
  height: 185px;
  margin: auto;
  display: block;
  box-sizing: border-box;
  position: relative;
  background: var(--black);
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
  margin: 0 0 45px;
  background: var(--body);
  box-sizing: border-box;
  padding: 0 30px !important;
}

#pun-viewtopic {
  padding: 0;
}

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
}

/* A5.4 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
}

/* 5.5 */
#pun-post .topic {
  margin-top: 1em;
}

/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/
/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/
/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-align: justify;
}

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: solid 1px;
  width: 250px;
  margin: 5px auto 15px;
  opacity: 10%;
}

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
}

.quote-box p:last-of-type, blockquote p:last-of-type, .post-content p:last-of-type {
  padding-bottom: 0 !important;
}

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom;
}

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
}

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  text-align: justify;
}

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
}

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
    margin: 0.5em 0 0.7em 0;
    border: solid 1px var(--line);
    background: var(--body_sub);
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
letter-spacing: 0.5px;
    font-style: normal;
    font-family: PT Mono;
    display: block;
    padding: 5px 10px;
    background: var(--black);
    color: var(--body);
    border-top: none;
    width: fit-content;
    box-sizing: border-box;
}

.punbb .code-box strong.legend a, .punbb .quote-box cite a {
  color: var(--body) !important;
}

.punbb .code-box strong.legend a:hover, .punbb .quote-box cite a:hover {
  color: var(--link) !important;
}

.post-content .spoiler-box > div {
  background: url(https://forumstatic.ru/files/0015/1b/9c/60771.svg) no-repeat left center !important;
  background-size: 11px !important;
  margin: 10px;
}

.post-content .spoiler-box > div.visible {
  background-image: url("https://forumstatic.ru/files/0015/1b/9c/35872.svg") !important;
  background-size: 11px !important;
}

/* B2 Information boxes
-------------------------------------------------------------*/
/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border: var(--icon);
  margin: 0 0 1.1em 0;
}

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
}

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
}

/* B3 Pagination and posting links
-------------------------------------------------------------*/
/* B3.1 */
.linkst, .linksb {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0;
  line-height: 2;
  box-sizing: border-box;
}

.linksb {
  display: block;
  width: 100%;
  clear: both;
  line-height: 2;
  box-sizing: border-box;
}

/* B3.2 */
.multipage {
  margin-bottom: 3em;
}

/* B3.3 */
.linkst .pagelink {
  font-size: 12px;
}

/* B3.4 */
.linkst .postlink {
  float: right;
  font-size: 12px;
}

/* B3.5 */
.punbb .linksb {
  text-align: right;
  font-size: 1.1em;
}

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
}

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
}

/* B3.8 */
.subscribelink {
  clear: both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
}

.postlink.long {
  width: auto !important;
}

.linksb .postlink, .linkst .postlink, .subscribelink, .linksb .pagelink, .linkst .pagelink {
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-family: 'PT MONO';
}

.linksb .postlink a, .linkst .postlink a, .subscribelink a {
    font: 400 11px PT Mono;
    position: relative;
    padding: 2px 5px;
}

.linksb .postlink a:before, .linkst .postlink a:before, .subscribelink a:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--black);
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .3s ease-in-out;
}

.linksb .postlink a:hover::before, .linkst .postlink a:hover::before, .subscribelink a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.night .linksb .postlink a:hover, .night .linkst .postlink a:hover, .night .subscribelink a:hover {
  color: var(--black) !important;
  background: var(--line);
}

.pagelink a {
  font-weight: 600;
  background: var(--body_sub);
  padding: 2px 3px;
  border: solid 1px var(--line);
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.pagelink a:hover {
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.pagelink strong {
  padding: 2px 3px;
  margin-left: 2px;
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/
/* C1 Form layout
-------------------------------------------------------------*/
/* C1.1 */
.punbb .formal .container {
  padding: 15px 0;
}

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
}

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0;
}

/* C1.4 */
.punbb fieldset {
  border: none;
  margin: 0 0 1em 0;
}

/* C1.5 */
.punbb fieldset legend {
  display: none;
}

#pun-profile fieldset legend {
  display: block;
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em;
}

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
}

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0;
}

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0;
}

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
}

/* C1.11 */
.punbb .inline .infofield {
  clear: both;
}

/* C1.12 */
.punbb .datafield br {
  display: none;
}

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold;
}

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
}

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
}

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  background: var(--body_sub);
  border: solid 1px var(--line);
}

/* C1.17 */
.punbb .hashelp {
  position: relative;
}

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
}

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
}

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
}

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
}

/* C2 Table layout
-------------------------------------------------------------*/
#pun-index tbody.hasicon tr {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
}

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 55%;
}

#pun-index .main .tcl {
  overflow: visible;
  padding: 0.8em 0;
}

.intd {
display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 20px;
}

#pun-index .intd {
align-items: unset;
  gap: 10px;
}

#pun-index .tclcon {
  width: 460px;
  font-size: 10px;
    text-align: justify;
    color: var(--text_sub);
}

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  overflow-wrap: anywhere;
}

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  line-height: 15px;
  width: 30%;
}

#pun-index .main .tcr, #pun-respect .main .tcr {
  text-align: center;
}

a.lastpost-link {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'PT MONO';
}

.lastpost {
  text-transform: lowercase;
}

#pun-index .user-avatar {
  margin-top: -5px !important;
  margin-right: 25px !important;
}

.punbb .user-avatar {
  height: 36px !important;
  width: 36px !important;
  padding: 2px !important;
}

.punbb .user-avatar .avatar-image {
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.65 !important;
    border-radius: 0 !important;
    border: solid 1px var(--black);
}

.punbb .user-avatar .isonline {
  background: var(--link) !important;
  animation: blinkColor 2s linear infinite !important;
  -moz-animation: blinkColor 2s linear infinite !important;
  -webkit-animation: blinkColor 2s linear infinite !important;
  border-radius: 0 !important;
  right: -3px !important;
  top: -1px !important;
  z-index: 1 !important;
  
}

/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%;
}

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
}

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space: normal;
}

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
}

/* C2.8 */
#pun-index .tcl h3 {
  padding: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
  padding-bottom: 5px;
}

#pun-index .tcl h3 a {
    text-transform: uppercase;
    font: 400 14px PT Mono;
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
}

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em;
}

/* C2.11 */
.punbb .main td {
  padding: 0.8em 1em;
  border: none !important;
}

/* C2.12 */
.punbb .main th {
  padding: 0.4em 1em 0.4em 1em;
}

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0;
}

/* C3 Topics
-------------------------------------------------------------*/
/* C3.1 */
.punbb .post .container {
  padding: 10px 0 !important;
}

/* C3.3 */
.punbb .post h3 {
height: 17px;
    padding: 4px 10px 0 10px;
    background: var(--h_bg);
}

.punbb .post h3 span {
    color: var(--body);
}

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
  padding-left: 15px;
}

.punbb .post h3 a.permalink, .punbb .post h3 span a {
  color: var(--body) !important;
  text-transform: lowercase;
}

.punbb .post h3 a.permalink:hover, .punbb .post h3 span a:hover {
  color: var(--black) !important;
}

/* C3.5 */
.punbb .post .post-author {
  float: left;
  width: 220px;
  margin: 10px 0;
  position: relative;
}

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  width: 220px;
  line-height: 140%;
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding-bottom: 10px;
  border: solid 1px var(--line);
      justify-content: space-around;
}

#pun-post .post .post-author p {
  padding: 10px !important;
}

/* C3.7 */
.pa-author {
width: 100%;
    font: 700 14px PT Mono;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 5px 0 !important;
    background: var(--black);
    color: var(--body);
}

.pa-author a {
    color: var(--body) !important;
}

.pa-author a:hover {
    color: var(--link) !important;
}

.pa-avatar {
  width: 100%;
  padding: 10px 10px 5px 10px !important;
  text-align: center;
  background: linear-gradient(to top, var(--body) 50%, var(--black) 50%);
}

.pa-avatar img {
  max-width: 180px;
  max-height: 180px;
  border: solid 1px var(--line);
}

/* C3.9 */
li.pa-title {
width: 100%;
    font-size: 10px;
    text-align: center;
    padding: 3px 5px !important;
    text-transform: lowercase;
    background: var(--black);
    color: var(--body);
}

li.pa-online, li.pa-last-visit {
  width: 10px;
  height: 17px;
  outline: solid 1px var(--line);
}

li.pa-online {
    background: var(--line);
}

li.pa-online strong, li.pa-last-visit {
  font-size: 0;
}

li.pa-replies {
  padding-left: 20px;
  font-size: 10px;
  text-transform: lowercase;
}

.pa-posts, .pa-respect {
padding-top: 5px !important;
    text-align: center;
    width: 50px;
    font-size: 9px;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

.pa-respect span a {
  color: var(--black) !important;  
}

.pa-respect span a:hover {
  color: var(--link) !important;  
}

.pa-reg {
  display: none;
}

/* фи */
.pa-fld1 {
    width: 100%;
    padding: 0 15px;
    text-align: center;
}

.pa-fld1 a {
    font: 400 12px PT Mono;
    text-transform: uppercase;
}

/* лз */
.pa-fld2 {
    width: 100%;
    padding: 5px 0 !important;
    margin: 0 15px;
    border-top: solid 1px var(--line);
    border-bottom: solid 1px var(--line);
    font-size: 10px;
    text-align: justify;
}

/* C3.11 */
.punbb .post-body {
  margin-left: 240px;
  padding: 0 0 1px 0;
}

/* C3.12 */
.punbb .post-box {
  padding: 0.95em 0em 0.95em 0em;
}

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em;
}

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
}

/* C3.15 */
.punbb .post-links ul {
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  background: transparent;
  text-align: right;
}

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding: 0 5px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.punbb .post-links li:first-child {
  padding-left: 0;
}

.punbb .post-links li:last-child {
  padding-right: 0;
}

.punbb .post-links li a {
    box-sizing: border-box;
    padding: 2px;
    font: 400 11px PT Mono;
    position: relative;
}

.punbb .post-links li a:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--black);
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform .3s ease-in-out;
}

.punbb .post-links li a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

/* C3.17 */
.pl-email, .pl-website {
  float: left;
}

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

/* C4 Moderator menu
-------------------------------------------------------------*/
/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
  font-family: 'PT MONO';
}

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  font-family: 'PT MONO';
}

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
}

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
}

/* C5 Message boxes
-------------------------------------------------------------*/
/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em;
}

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
}

/* C6 Profile
-------------------------------------------------------------*/
/* C6.1 */
#profile .container {
  padding-left: 18.6em;
}

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
}

/* C6.3 */
#profilenav li {
  padding: 5px;
  margin: 5px 0;
  text-align: left;
}

#profilenav li a {
  color: var(--black) !important;
  font-family: 'PT Mono';
}

#profilenav li a:hover {
  color: var(--link) !important;
}

/* C6.4 */
#profilenav ul {
  padding: 18px;
  margin: 0 0 1em 0;
  border: solid 1px var(--line);
}

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
}

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
    padding: 3px 5px;
    position: relative;
    background: var(--body);
    color: var(--black);
    font-family: 'PT Mono';
    text-transform: uppercase;
}

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
}

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
}

#viewprofile tbody tr {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  text-transform: lowercase;
  gap: 10px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 10px;
  border: solid 1px var(--line);
  background: var(--body_sub);
}

#profile-left {
  width: 28% !important;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-bottom: 10px !important;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

#profile-right {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#profile-right li span a {
  color: var(--text) !important;
}

#profile-right li span a:hover {
  color: var(--black) !important;
}

#viewprofile #profile-name strong {
  text-transform: uppercase;
  padding: 10px;
  text-align: center;
  font: 400 14px PT Mono;
  letter-spacing: 1px;
}

#viewprofile li#pa-avatar img {
  padding: 4px;
  border: solid 1px var(--line);
}

#viewprofile #pa-edit a {
    padding: 4px 9px;
    background: var(--black);
    color: var(--body) !important;
    border: solid 1px var(--line);
}

#viewprofile #pa-edit a:hover {
  background: var(--body);
  color: var(--black) !important;
}

#profile-signature ul {
  border: none !important;
}

.punbb #profile-signature .sigimage {
  max-width: 100% !important;
}

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
}

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: 400 !important;
}

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
}

/* C7 User list
-------------------------------------------------------------*/
/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
}

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  border-top: none;
}

/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/
/* D1 Logo and description
-------------------------------------------------------------*/
/* D1.1 */
#pun-title, #pun-title h1, #pun-title h1 span {
  display: none;
}

/* D1.3 */
#pun-title .container {
  border-style: none;
}

/* D1.4 */
#pun-title h1 span {
  font-size: 1.5em;
}

#pun-title table {
  border: none;
  height: 40px;
  width: 100%;
}

#pun-title td.title-logo-tdl {
  border: none;
  width: 100%;
}

#pun-title td.title-logo-tdr {
  border: none;
  width: 468px;
  vertical-align: top;
  padding-top: 2px;
}

/* D2 Page navigation
-------------------------------------------------------------*/
/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
}

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0;
}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline;
}

/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float: left;
  width: 100%;
}

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position: relative;
  margin: 0;
}

#pun-pagelinks li a span {
  display: block;
  margin: 0 1em;
}

/* D3 Forum navigation
-------------------------------------------------------------*/
/* D3.1 */
#pun-navlinks {
margin: 0;
    position: absolute;
    top: 20px;
    right: 0;
    width: 100%;
}

#pun-navlinks .container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

#pun-navlinks a {
color: var(--body) !important;
    text-transform: uppercase;
    font: 400 14px PT Mono;
    padding: 0 5px;
}

#pun-navlinks a:hover {
  color: var(--link) !important;
  outline: none;
}

/* D4 User links
-------------------------------------------------------------*/
/* D4.2 */
#pun-ulinks {
  height: 25px;
  width: 100%;
  position: absolute;
  border-bottom: solid 1px var(--black);
  top: 40px;
  left: 0;
}

#pun-ulinks .container {
display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
}

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  text-transform: uppercase;
  font-size: 8px;
  color: var(--body) !important;
}

#pun-ulinks li a:hover {
  color: var(--link) !important;
}

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border-left-style: none;
  border-left-width: 0;
  padding-left: 0;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/
/* D5.1 */
#pun-status {
  border-bottom: none;
  margin: 10px 0 5px;
}

/* D5.2 */
#pun-status .container {
display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    text-transform: lowercase;
    font: 400 10px PT Mono;
    gap: 3px;
}

#pun-status .container a {
  color: var(--black) !important;
}

#pun-status .container a:hover {
  color: var(--link) !important;
}

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
}

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
}

/* D5.5 */
#pun-crumbs1 p.container {
border-top: none;
    margin: 10px 0;
    text-align: left;
    text-transform: lowercase;
    font: bold 11px PT Mono;
}

/* D5.6 */
#pun-break1 {
  display: none;
}

/* D6 Announcement
-------------------------------------------------------------*/
/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
}

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

/* D6.3 */
#pun-announcement .container {
  padding: 2.3em 1em 1em 1em;
}

/* D7 Statistics
-------------------------------------------------------------*/
/* D7.1 */
#pun-stats {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: auto;
    margin: 30px 0 15px 0;
}

/* D7.2 */
.ststitems {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  text-transform: lowercase;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  color: var(--text5);
  font-size: 10px;
}

.ststitems li {
  -webkit-box-flex: 1;
  -webkit-flex: auto;
  -ms-flex: auto;
  flex: auto;
  text-align: center;
  padding: 5px 0;
}

.ststitems li:first-child {
  border-left: none;
}

#pun-stats h2 {
  display: none;
}

.stat {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 25px;
    gap: 15px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    box-sizing: border-box;
    background: var(--h_bg);
    font: 400 12px PT Mono;
    color: var(--body);
    border-top: 0;
    -webkit-justify-content: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
}

#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
  line-height: 150%;
  box-sizing: border-box;
  text-align: center;
  font-size: 12px;
  text-transform: lowercase;
}

#pun-stats li.item4 a {
    color: var(--body) !important;
}

#pun-stats .statscon {
  width: 100%;
}

#pun-stats .statscon .container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  align-items: center;
}

#pun-stats .statscon .container a {
  font-weight: normal;
}

#pun-stats .statscon .container a:hover {
  color: var(--link) !important;
}

/* D7.4 */
li#onlinelist {
  width: 100%;
  box-sizing: border-box;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

li#onlinelist span a {
  color: var(--text) !important;
}

/* D7.5 */
li#onlinelist.item5.onlinelist, li#onlinelist.item5.users_24h {
  padding: 10px 0 0;
  text-align: justify;
}

li#onlinelist.item5.users_24h {
  padding-bottom: 10px;
}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/
/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
}

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
}

/* D8.3 */
#pun-about {
  margin-top: 0;
}

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: left;
  line-height: 150%;
  padding: 0.8em 0;
  font-size: 9px;
}

/* D8.5 */
#pun-about p span {
  display: block;
  text-transform: lowercase;
}

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin: 10px 0 0;
  border-bottom: none;
}

/* D8.7 */
#pun-crumbs2 .container {
  border-bottom: none;
  text-align: left;
  text-transform: lowercase;
  font: bold 11px PT Mono;
}

/* D8.8 */
#pun-break4 {
  display: none;
}

/* D9 Help file
-------------------------------------------------------------*/
/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
}

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-size: 1.1em;
}

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em;
}

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em;
}

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%;
}

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top;
}

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
}

/* Иконки в форме ответа */
.punbb #main-reply {
  box-sizing: border-box;
  outline: none;
  padding: 5px;
  background: var(--body_sub);
}

.punbb #form-buttons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.punbb #form-buttons table {
  width: 100%;
}

.punbb #form-buttons tr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 5px;
  width: 100%;
  box-sizing: border-box;
}

#form-buttons td {
  background: none !important;
  position: relative;
  width: 20px;
  height: 20px;
  line-height: unset !important;
}

#form-buttons td:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  left: 0;
  top: 0;
  pointer-events: none;
  font-family: "Material Icons";
  font-size: 20px;
  color: var(--black);
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

#form-buttons td:hover:before {
  color: var(--link);
  outline: none;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

#form-buttons td#button-transL:before {
  content: "\e8e2";
}

#form-buttons td#button-font:before {
  content: "\eae2";
}

#form-buttons td#button-size:before {
  content: "\e245";
}

#form-buttons td#button-bold:before {
  content: "\e238";
}

#form-buttons td#button-italic:before {
  content: "\e23f";
}

#form-buttons td#button-underline:before {
  content: "\e249";
}

#form-buttons td#button-strike:before {
  content: "\e257";
}

#form-buttons td#button-indent:before {
  content: "\e23e";
}

#form-buttons td#button-left:before {
  content: "\e236";
}

#form-buttons td#button-center:before {
  content: "\e234";
}

#form-buttons td#button-right:before {
  content: "\e237";
}

#form-buttons td#floatbut:before {
  content: "\f863";
}

#form-buttons td#button-link:before {
  content: "\e157";
}

#form-buttons td#button-spoiler:before {
  content: "\e0e0";
}

#form-buttons td#button-image:before {
  content: "\e43e";
}

#form-buttons td#button-video:before {
  content: "\e1c4";
}

#form-buttons td#button-hide:before {
  content: "\e898";
}

#form-buttons td#button-quote:before {
  content: "\e0b7";
}

#form-buttons td#button-code:before {
  content: "\f84d";
}

#form-buttons td#button-color:before {
  content: "\e3b8";
}

#form-buttons td#button-table:before {
  content: "\f191";
}

#form-buttons td#button-smile:before {
  content: "\e813";
}

#form-buttons td#button-sticker:before {
  content: "\e813";
}

#form-buttons td#button-keyboard:before {
  content: "\e312";
}

#form-buttons td#button-addition:before {
  content: "\ead0";
}

#form-buttons td#button-mask:before {
  content: "\ea66";
}

#pun-messages td#button-mask {
  display: none;
}

/* всплывающие окна */
#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner, #pun-multimove .pun-modal .modal-inner, .pun-modal .modal-inner.section {
  background: var(--body) !important;
}

.pun-modal h2, .pun-modal h1 {
  text-align: center;
}

#pun-report .inner h1, #pun-reputation .inner h1, #pun-admin-award-form .inner h1, #pun-multimove .pun-modal .modal-inner h1 {
  padding: 0;
}

#tags .container {
background: var(--body);
    border: solid 1px var(--line);
    padding: 10px !important;
    top: 30px !important;
}

#pun-edit #tags .container {
  top: 67px !important;
}

#font-area {
  overflow-x: auto;
  height: 100%;
}

/**админка**/
#pun-admin_paid_services .linksb {
  clear: inherit;
  padding-bottom: 24px;
}

/* иконки уведомлений */
span.num_msg, span.num_msg:before, .bubble {
  background: var(--link) !important;
}

.bubble:after {
  border-color: var(--link) transparent !important;
}