/*************************************************************
 - SETUP
**************************************************************/
/* A1 Import the colour scheme
-------------------------------------------------------------*/
/* A1.1 */
@import url(style_cs.1759348349.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=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* дополнительные шрифты */
@import url("https://fonts.googleapis.com/css2?family=Alice&family=Forum&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Marck+Script&family=Pacifico&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Poiret+One&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&family=Unbounded:wght@200;300;400;500;600;700;800;900&family=Vollkorn:ital,wght@0,400;0,500;0,600;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Yeseva+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Prata&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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");
}
@font-face {
  font-family: "Relatta Saidnolia Serif";
  src: url("https://forumstatic.ru/files/0015/1b/9c/60360.eot");
  src: local("Relatta Saidnolia Serif"), url("https://forumstatic.ru/files/0015/1b/9c/49926.otf") format("opentype"), url("https://forumstatic.ru/files/0015/1b/9c/53019.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  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: #040404;
  --body: #e6e6e6;
  --body_sub: #dadada;
  --link: #586470;
  --text: #2e2e2e;
  --text_sub: #5f5e5e;
  --tab: #c9c9c9;
  --tab1: #a7aeb2;
  --inf: #a5a5a5;
  --select: rgb(167 174 178 / 80%);
  --line: #424242;
  --bg1: url(https://forumstatic.ru/files/0015/1b/9c/13554.webp) fixed no-repeat top center;
  --prof_bg: url(https://forumstatic.ru/files/0015/1b/9c/16960.webp);
  --footer: url(https://forumstatic.ru/files/0015/1b/9c/86147.webp) no-repeat left bottom -160px;
}

:root .night {
  --body: #aaabaa;
  --body_sub: #a1a1a1;
  --nav_text: #343434;
  --text_sub: #5f5e5e;
  --inf: #828080;
  --tab: #818181;
  --tab1: #90979b;
  --link: #2b4f6f;
  --select: rgb(43 79 111 / 40%);
  --bg1: url(https://forumstatic.ru/files/0015/1b/9c/53915.webp) fixed no-repeat top center;
  --footer: url(https://forumstatic.ru/files/0015/1b/9c/86986.webp) no-repeat left bottom -160px;
}

/* скролл для Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #054772 #818181;
}

/* скролл для Chrome/Edge/Safari */
*::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

*::-webkit-scrollbar-track {
  background: var(--tab);
}

*::-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);
  color: var(--black);
}

::selection {
  background: var(--select);
  color: var(--black);
}

::-moz-selection {
  background: var(--select);
  color: var(--black);
}

::-webkit-selection {
  background: var(--select);
  color: var(--black);
}

.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(105deg);
  filter: hue-rotate(105deg);
}

.night .pa-respect img {
  -webkit-filter: hue-rotate(105deg) brightness(0.8);
  filter: hue-rotate(105deg) brightness(0.8);
}

.post-content hr, .menu_rub hr {
  border: none;
  background: var(--black);
  width: 100%;
  height: 1px;
  opacity: 1 !important;
}

#pun-main div.tclcon > a {
  text-transform: uppercase;
}

#pun-main div.tclcon > strong a {
  text-transform: uppercase;
}

/* 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(--tab) 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(--tab) 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(--link);
  box-shadow: 0 0 0 4px var(--tab) inset;
}

/* A2.7 */
p[class=checkfield] *,
div[class=checkfield] *,
fieldset[class=radiofield] * {
  height: auto;
  vertical-align: middle;
}

#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: "Rubik" !important;
  cursor: pointer;
  border: solid 1px var(--line);
  background: var(--body_sub);
  color: var(--black);
  border-radius: 10px;
  -webkit-transition: 0.25s;
  transition: 0.25s;
  outline: none;
}

input[type=submit]:hover, input[type=button]:hover {
  background: var(--link);
  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);
  border-radius: 10px;
}

/* 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 */
body {
  background: var(--bg1), var(--black);
}

#pun {
  width: 980px;
  margin: auto;
  margin-top: 325px;
  margin-bottom: 30px;
  box-sizing: border-box;
  position: relative;
  background: var(--body) var(--footer);
  border-radius: 50px;
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
  margin: 0 0 80px;
  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);
  border-radius: 10px;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-style: normal;
  font-family: Jost;
  font-weight: 500;
  padding: 10px 0 0 10px;
  color: var(--black);
  border-top: none;
  width: auto;
  box-sizing: border-box;
  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: 3px;
}

.punbb .quote-box cite:after, .punbb .code-box strong.legend:after {
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  background: var(--line);
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.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: 1px;
}

.linksb .postlink a, .linkst .postlink a, .subscribelink a {
  background: var(--body_sub);
  color: var(--black) !important;
  padding: 2px 5px;
  border-radius: 10px;
  border: solid 1px var(--line);
}

.linksb .postlink a:hover, .linkst .postlink a:hover, .subscribelink a:hover {
  color: var(--body) !important;
  background: var(--link);
}

.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(--black);
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
  border-radius: 5px;
}

.pagelink a:hover {
  background: var(--black);
  color: var(--body);
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.pagelink strong {
  background: var(--body);
  border: solid 1px var(--black);
  padding: 2px 3px;
  margin-left: 2px;
  border-radius: 5px;
}

/*************************************************************
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-messages fieldset legend {
  display: unset;
}

#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);
  border-radius: 10px;
}

/* 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;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 0 15px 0;
  padding: 10px 0;
  border: solid 1px var(--line);
  background: var(--body_sub);
  border-radius: 15px;
}

#pun-index tbody.hasicon tr:first-child {
  border-radius: 15px 0 15px 15px;
}

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 55%;
}

#pun-index .main .tcl {
  overflow: visible;
  width: 66%;
  padding: 0.8em 0;
  position: relative;
}

.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;
}

/* 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;
  padding: 20px;
}

#pun-index .main .tcr {
  border-left: solid 1px var(--line) !important;
}

a.lastpost-link {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.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: 7px !important;
  border: solid 1px var(--line);
}

.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;
  right: -2px !important;
  top: 0px !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: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

#pun-index .tcl h3 a {
  text-transform: uppercase;
  font: 400 14px Unbounded;
  letter-spacing: 2px;
  background: var(--black);
  padding: 0 10px;
  color: var(--body);
  border-radius: 15px;
}

#pun-index .tcl h3 a:after {
  background: var(--line);
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
}

#pun-index .tcl h3 a:hover {
  background: var(--link);
}

/* 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 {
  margin: 0 0 10px 0 !important;
  padding: 10px !important;
  border: solid 1px var(--line);
  background: var(--body_sub);
  box-sizing: border-box;
  border-radius: 15px;
}

/* C3.3 */
.punbb .post h3 {
  height: 17px;
  padding: 4px 20px 0 20px;
  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;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.punbb .post h3:before {
  content: "";
  width: 500px;
  height: 15px;
  display: block;
  border-radius: 15px 15px 0 0;
  background: url(https://forumstatic.ru/files/0015/1b/9c/15677.jpg) no-repeat;
}

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
  padding-left: 15px;
}

.punbb .post h3 strong:before {
  content: "#";
}

strong.fnt:before {
  display: none;
}

.punbb .post h3 a.permalink, .punbb .post h3 span a {
  color: var(--text_sub) !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;
  margin-left: -10px;
  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);
  border-left: 0;
  border-radius: 0 15px 15px 0;
}

#pun-post .post .post-author p {
  padding: 10px !important;
}

/* C3.7 */
.pa-author {
  width: 100%;
  font: 400 11px Unbounded;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 5px 0 20px !important;
  background: var(--body);
  border-radius: 0 15px 0 0;
}

.pa-author a {
  color: var(--link) !important;
}

.pa-author a:hover {
  color: var(--black) !important;
}

.pa-avatar {
  width: 100%;
  padding: 10px 10px 5px 10px !important;
  text-align: center;
  background: var(--black);
}

.pa-avatar img {
  max-width: 180px;
  max-height: 180px;
}

/* C3.9 */
li.pa-title {
  width: 100%;
  font-size: 10px;
  text-align: left;
  padding: 3px 5px 5px 20px !important;
  text-transform: lowercase;
  color: var(--black);
  border-bottom: solid 1px var(--line);
  background: var(--body);
}

li.pa-online, li.pa-last-visit {
  width: 100%;
}

li.pa-online strong {
  font-weight: normal;
  text-transform: uppercase;
  color: var(--black);
  font-size: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 15px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  width: 120px;
  margin: 0 auto;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

li.pa-online strong:before {
  content: "online";
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: jost;
}

li.pa-last-visit {
  font-size: 0;
  height: 7px;
}

li.pa-replies {
  padding-left: 20px;
  font-size: 10px;
  text-transform: lowercase;
}

.pa-posts, .pa-respect, .pa-reg {
  text-align: center;
  font-size: 10px;
  margin: 8px 10px;
  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: 5px;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.pa-posts {
  margin: 8px 10px 8px 18px;
}

.post .post-author .pa-posts span, .post .post-author .pa-respect .fld-name a,
.isguest .post-author .pa-respect .fld-name, .post-author li.pa-reg span, .post-author li.pa-fld3 span, .post-author li.pa-fld4 span {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  font-size: 0;
  width: 16px;
  height: 16px;
  margin: 0 auto;
  text-align: center;
}

.post-author .pa-posts span:before, .post-author .pa-respect .fld-name a:before, .isguest .post-author .pa-respect .fld-name:before, .post-author li.pa-reg span:before, .post-author li.pa-fld3 span:before, .post-author li.pa-fld4 span:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  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: 16px;
  color: var(--black);
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.post-author .pa-respect .fld-name a:hover:before {
  color: var(--link);
  outline: none;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.post-author li.pa-posts span:before {
  content: "\e158";
}

.post-author li.pa-respect .fld-name a:before {
  content: "\e87d";
}

.isguest .post-author li.pa-respect .fld-name:before {
  content: "\e87d";
}

.post-author li.pa-reg span:before {
  content: "\e7fe";
}

.post-author li.pa-fld3 span:before {
  content: "\e0e6";
}

.post-author li.pa-fld4 span:before {
  content: "\ea19";
}

/* лз */
.pa-fld1 {
  width: 100%;
  padding: 0 20px 5px 20px !important;
  box-sizing: border-box;
  background: var(--black);
  border-radius: 0 0 10px 10px;
}

.ank {
  width: 180px;
  text-transform: uppercase;
  font-weight: 500;
}

#pun-profile .ank a {
  color: var(--link) !important;  
}

.ank a {
  color: var(--body) !important;
}

.ank a:hover {
  color: var(--link) !important;
}

.inf {
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--inf);
}

#pun-profile .inf a {
   color: var(--link) !important; 
}

.inf a {
  color: var(--body) !important;
}

.inf a:hover {
  color: var(--body) !important;
  background: var(--link);
  border-radius: 5px;
}

.pa-fld2 {
  position: absolute;
  bottom: -6px;
  left: 72px;
  border-radius: 10px;
  width: 70px;
  height: 15px;
  padding: 5px !important;
  margin: 0;
  background: var(--black);
  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;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  box-sizing: border-box;
}

/* джилл мессер - книга*/
[data-user-id="59"] .pa-fld2 {
  background: url(https://forumstatic.ru/files/0015/1b/9c/59456.gif) no-repeat center;
}

/* айлин фенг, жейсон тюдор - диско*/
[data-user-id="18"] .pa-fld2, [data-user-id="46"] .pa-fld2 {
  background: url(http://forumstatic.ru/files/001b/d2/1b/96142.gif) no-repeat center;
}

/* эйра бэлл - цветы*/
[data-user-id="62"] .pa-fld2 {
  background: url(http://forumstatic.ru/files/001b/d2/1b/82825.gif) no-repeat center;
}

/* вероника болейн - феерверк*/
[data-user-id="44"] .pa-fld2 {
  background: url(https://forumupload.ru/uploads/0015/1b/9c/4/353654.gif) no-repeat center;
}

/* логан ривз, джой редфилд - шоссе*/
[data-user-id="38"] .pa-fld2, [data-user-id="42"] .pa-fld2 {
  background: url(https://forumstatic.ru/files/0015/1b/9c/56050.gif) no-repeat center;
}

/* саммер харгроув - розы*/
[data-user-id="14"] .pa-fld2 {
  background: url(https://forumupload.ru/uploads/0015/1b/9c/4/587054.gif) no-repeat center;
}

/* джек харгроув - фонари*/
[data-user-id="15"] .pa-fld2 {
  background: url(https://forumstatic.ru/files/0015/1b/9c/74507.gif) no-repeat center;
}

/* макс колфилд, роман холланд- волны*/
[data-user-id="23"] .pa-fld2, [data-user-id="17"] .pa-fld2 {
  background: url(https://forumstatic.ru/files/0015/1b/9c/59667.gif) no-repeat center;
}

/* леон сендлер, эштон харви, эстер палмер - призраки*/
[data-user-id="8"] .pa-fld2, [data-user-id="43"] .pa-fld2, [data-user-id="5"] .pa-fld2 {
  background: url(https://forumstatic.ru/files/0015/1b/9c/42792.gif) no-repeat center;
}

/* чарльз палмер - переход*/
[data-user-id="40"] .pa-fld2 {
  background: url(http://forumstatic.ru/files/001b/d2/1b/16059.gif) no-repeat -5px;
}

/* тара болдвин, джеймс вард, джо нельсон, рори нельсон - глубина */
[data-user-id="47"] .pa-fld2, [data-user-id="37"] .pa-fld2, [data-user-id="57"] .pa-fld2, [data-user-id="53"] .pa-fld2 {
  background: url(https://forumupload.ru/uploads/0015/1b/9c/4/762519.gif) no-repeat center;
}

/* натеям реинвотер, крис рамзи - синусоида */
[data-user-id="24"] .pa-fld2, [data-user-id="56"] .pa-fld2 {
  background: url(http://forumstatic.ru/files/001b/d2/1b/64269.gif) no-repeat center;
}

/* нора спенсер, джоэль блэквуд - вампиризм*/
[data-user-id="55"] .pa-fld2, [data-user-id="29"] .pa-fld2 {
  background: url(https://forumstatic.ru/files/0015/1b/9c/82648.gif) no-repeat center;
}

.pa-fld3, .pa-fld4 {
  width: 100%;
  padding: 0 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  padding: 3px 18px !important;
}

.pa-fld3 span, .pa-fld4 span {
  margin: 0 5px 0 0 !important;
}

/* 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 {
  color: var(--black) !important;
  background: var(--body);
  box-sizing: border-box;
  padding: 2px 5px;
  letter-spacing: 1px;
  border-radius: 10px;
  border: solid 1px var(--line);
}

.punbb .post-links li a:hover {
  color: var(--body) !important;
  background: var(--link);
}

/* C3.17 */
.pl-email, .pl-website {
  float: left;
}

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

.pa-reg {
  display: none;
}

/* C4 Moderator menu
-------------------------------------------------------------*/
/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
}

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
}

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
}

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
}

/* C5 Message boxes
-------------------------------------------------------------*/
/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em;
}

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
}

/* 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;
}

#profilenav li a:hover {
  color: var(--link) !important;
}

/* C6.4 */
#profilenav ul {
  padding: 18px;
  margin: 0 0 1em 0;
  border: solid 1px var(--black);
  border-radius: 10px;
}

/* 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(--black);
  color: var(--body);
  text-transform: lowercase;
  font-family: "Unbounded";
  border-radius: 10px;
}

/* C6.7 */
#viewprofile li, #setmods dl {
  margin-bottom: 0.2em;
}

#viewprofile #profile-right li {
  display: grid;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border: solid 1px var(--line);
  background: var(--body);
  justify-items: center;
  border-radius: 20px;
}

/* C6.8 */
#viewprofile li span {
  padding: 0 0 0 10px;
  font-weight: bold;
  color: var(--black);
}

#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;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border: solid 1px var(--line);
  background: var(--prof_bg);
  border-radius: 20px;
}

#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-left li#pa-online {
  color: var(--body);
}

#profile-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px !important;
  box-sizing: border-box;
  gap: 3px 5px;
}

#profile-right li span a {
  color: var(--black) !important;
}

#profile-right li span a:hover {
  color: var(--link) !important;
}

#viewprofile #profile-name strong {
  text-transform: uppercase;
  font: 400 14px Unbounded;
  padding: 10px;
  text-align: center;
  color: var(--body);
}

#viewprofile #profile-title strong {
  color: var(--body);
}

#viewprofile #pa-edit a {
  padding: 4px 9px;
  background: var(--body);
  border-radius: 10px;
}

#viewprofile #pa-edit a:hover {
  background: var(--link);
  color: var(--body);
}

#profile-signature ul {
  border: none !important;
}

.punbb #profile-signature .sigimage {
  max-width: 100% !important;
}

#pun-profile li#pa-invites {
  display: none !important;
}

#pun-profile li#pa-fld1 {
  grid-column: 1/-1;
}

#pun-profile li#pa-fld1 span, #pun-profile li#pa-fld2 span {
  display: none;
}

/*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;
  width: 100%;
  padding-top: 15px;
}

#pun-navlinks .container {
  width: 100%;
  height: 100%;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -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;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

#pun-navlinks a {
  color: var(--black) !important;
  text-transform: uppercase;
  font: 500 11px Unbounded;
  padding: 0 5px;
}

#pun-navlinks a:hover {
  color: var(--link) !important;
  outline: none;
}

/* D4 User links
-------------------------------------------------------------*/
/* D4.2 */
#pun-ulinks {
  height: 25px;
  width: 100%;
  padding: 10px 0;
}

#pun-ulinks .container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  height: 100%;
  background: var(--black);
  border-radius: 15px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  text-transform: lowercase;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--body) !important;
}

#pun-ulinks li a:hover {
  opacity: 0.7;
}

/* 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-bottom: 0;
}

/* D5.2 */
#pun-status .container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  line-height: 1.6;
  text-align: right;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  gap: 3px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#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: 20px 0;
  text-align: center;
  letter-spacing: 1px;
  text-transform: lowercase;
}

/* 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: 10px 0;
}

/* D7 Statistics
-------------------------------------------------------------*/
/* D7.1 */
#pun-stats {
  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;
  width: auto;
  margin: 10px 0 15px 0;
  padding: 0 0px 5px;
}

#pun-stats h2 span {
  height: 15px;
  width: 920px;
  background: url(https://forumstatic.ru/files/0015/1b/9c/48042.jpg) no-repeat;
}

/* 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;
}

.stat {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 25px;
  gap: 15px;
  box-sizing: border-box;
  border-top: 0;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  padding: 10px 0 0 16px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.stat:after {
  content: "";
  width: 100%;
  height: 1px;
  background: var(--line);
  display: block;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

#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 .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;
  border: solid 1px var(--line);
  box-sizing: border-box;
  border-radius: 0 0 15px 15px;
}

#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 15px 0 15px;
  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: center;
  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: center;
  letter-spacing: 1px;
  text-transform: lowercase;
}

/* 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: "\e178";
}

#form-buttons td#button-spoiler:before {
  content: "\e0e0";
}

#form-buttons td#button-image:before {
  content: "\efa2";
}

#form-buttons td#button-video:before {
  content: "\e1c4";
}

#form-buttons td#button-hide:before {
  content: "\e63f";
}

#form-buttons td#button-quote:before {
  content: "\e244";
}

#form-buttons td#button-code:before {
  content: "\e86f";
}

#form-buttons td#button-color:before {
  content: "\e40a";
}

#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: "\e313";
}

#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;
  border-radius: 20px !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(--black);
  padding: 10px !important;
  top: 45px !important;
  border-radius: 5px;
}

#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;
}

/**---------- МОБИЛЬНЫЙ СТИЛЬ ----------**/
@media screen and (max-width: 540px) {
  /**подпись**/
  img.sigimage {
    max-width: 100%;
  }
  /**окошки видео**/
  iframe {
    width: 100%;
  }
  #pun, .punbb, #html-header, #pun-index .main .tcl {
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
  }
  .punbb {
    padding: 0 10px !important;
  }
  .punbb .formal .container {
    padding: 0;
  }
  #pun {
    margin-top: 350px;
    margin-bottom: 0;
  }
  div#pun:before {
    width: 100%;
    height: 288px;
    background: var(--heder_mob);
  }
  #pun .post .post-content td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }
  .punbb .post-content {
    overflow: initial !important;
    height: auto !important;
  }
  .punbb .info-box {
    border: none;
  }
  .punbb .post-box {
    padding: 5px;
  }
  #pun-searchposts .post h3:before {
    display: none;
  }
  /**главная**/
  #pun-index tbody.hasicon tr {
    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;
  }
  #pun-index .main .tcr {
    width: 100%;
    box-sizing: border-box;
    text-align: right;
  }
  #pun-index .main .tcr {
    border-left: none !important;
  }
  #pun-index .tclcon {
    width: 100%;
  }
  #pun-index .intd {
    position: relative;
  }
  #pun-index div.icon {
    position: absolute;
    top: 1px;
    left: 8px;
    width: 15px !important;
    height: 15px !important;
  }
  #pun-index div.icon:before {
    display: none;
  }
  #pun-index h2:before {
    display: none;
  }
  #pun-index h2 span {
    width: 50%;
  }
  #pun-stats h2 span {
    width: 100%;
  }
  /**главная - оформление форумов**/
  .forum_text {
    width: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: normal;
    -webkit-align-items: normal;
    -ms-flex-align: normal;
    align-items: normal;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .forum_nav {
    height: auto;
    width: 100%;
    text-align: center;
  }
  .forum_nav summary, .forum_nav .fake_sum {
    width: 100%;
    height: 30px;
  }
  .forum_nav .menu {
    width: 100%;
    top: 22px;
    left: 0;
    gap: 10px;
    padding: 10px;
  }
  /* общая навигация */
  #pun-navlinks {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    background: transparent;
  }
  #pun-navlinks .container {
    width: 100%;
    top: 30px;
    left: 0;
    gap: 15px;
  }
  #pun-navlinks .container:after {
    display: none;
  }
  #pun-navlinks a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    font-size: 0;
    width: 30px;
    height: 30px;
    border-bottom: none !important;
    padding: 0;
  }
  #pun-navlinks a:before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    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";
    color: var(--body);
    font-size: 24px;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  #pun-navlinks a:hover:before {
    opacity: 50%;
    outline: none;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  #pun-navlinks li#navindex a:before {
    content: "\e58c";
  }
  #pun-navlinks li#navuserlist a:before {
    content: "\f233";
  }
  #pun-navlinks li#navsearch a:before {
    content: "\e8b6";
  }
  #pun-navlinks li#navprofile a:before {
    content: "\f835";
  }
  #pun-navlinks li#navpm a:before {
    content: "\e158";
  }
  #pun-navlinks li#navadmin a:before {
    content: "\e8b8";
  }
  #pun-navlinks li#navlogout a:before {
    content: "\e5cd";
  }
  #pun-navlinks li#navregister a:before {
    content: "\e7fe";
  }
  #pun-navlinks li#navlogin a:before {
    content: "\e5ca";
  }
  #pun-navlinks li#navpr_1 a:before {
    content: "\e7f4";
  }
  #pun-navlinks li#navpr_2 a:before {
    content: "\e666";
  }
  /* общая навигация - пользовательские ссылки */
  #pun-ulinks {
    position: absolute;
    top: -330px;
    right: 5px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    width: auto;
    height: auto;
    padding: 0;
  }
  #pun-ulinks h2 {
    position: static;
    overflow: initial;
    width: 35px;
    height: 22px;
    background: var(--black);
    border-radius: 10px;
    border: solid 1px var(--body);
    padding: 7px 0;
    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;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 2;
  }
  #pun-ulinks h2 span {
    font-size: 0;
    height: auto;
    text-align: center;
    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;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: url(http://forumstatic.ru/files/001b/c1/d6/30333.svg) no-repeat center/cover;
    width: 20px;
    height: 20px;
    border-radius: 0;
    display: block;
  }
  .night #pun-ulinks h2 span {
    -webkit-filter: brightness(0.75);
    filter: brightness(0.75);
  }
  #pun-ulinks ul {
    display: none !important;
  }
  #pun-ulinks:hover ul {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    top: 35px;
    right: 0;
    width: 200px;
    height: auto;
    background: var(--black);
    border-radius: 0 0 10px 10px;
    margin: 10px;
    padding: 5px 10px;
    -webkit-transform: translateY(10%);
    -ms-transform: translateY(10%);
    transform: translateY(10%);
    -webkit-animation: ani 1s forwards;
    animation: ani 1s forwards;
    z-index: 9999;
  }
  @-webkit-keyframes ani {
    0% {
      -webkit-transform: translateY(10%);
      transform: translateY(10%);
    }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }
  @keyframes ani {
    0% {
      -webkit-transform: translateY(10%);
      transform: translateY(10%);
    }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }
  #pun-ulinks li, #pun-ulinks li a {
    text-align: center;
    margin: 5px 0;
    font-size: 12px;
    background: var(--body);
    color: var(--black) !important;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  #pun-ulinks li a:before {
    display: none;
  }
  #pun-ulinks li {
    padding: 5px;
  }
  #pun-ulinks a:hover {
    color: var(--black) !important;
  }
  #pun-ulinks li.item1 {
    padding-left: 5px;
  }
  #pun-status {
    width: 100%;
    height: auto;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  #pun-status .container {
    height: auto;
    width: 100%;
    padding: 0;
    border-radius: 0;
    box-sizing: border-box;
    line-height: 1;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--text);
    padding: 5px 0;
    font-size: 11px;
  }
  #pun-status .container a {
    color: var(--black) !important;
  }
  /* главная - статистика */
  #pun-stats {
    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;
  }
  #pun-stats h2 {
    position: static;
    width: 100%;
    border-radius: 20px 20px 0 0;
  }
  .stat {
    height: auto;
    padding: 5px;
    width: 100%;
  }
  #pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
    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: 5px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #pun-stats li.item1 span, #pun-stats li.item2 span, #pun-stats li.item3 span, #pun-stats li.item4 span {
    font-size: 0;
    display: block;
    width: 21px;
    height: 21px;
    position: relative;
  }
  #pun-stats li.item1 span:before, #pun-stats li.item2 span:before, #pun-stats li.item3 span:before, #pun-stats li.item4 span:before {
    content: "";
    position: absolute;
    width: 21px;
    height: 21px;
    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: 21px;
    color: var(--black);
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  #pun-stats li.item1 span:before {
    content: "\e97f";
  }
  #pun-stats li.item2 span:before {
    content: "\e02f";
  }
  #pun-stats li.item3 span:before {
    content: "\e39d";
  }
  #pun-stats li.item4 span:before {
    content: "\e9ed";
  }
  /**таблица**/
  .city {
    top: -328px;
    left: 165px;
    z-index: 1;
    width: 90px;
  }
  .name {
    left: 0;
    top: -260px;
    text-align: center;
  }
  .all_tabl {
    padding: 10px;
    width: 100%;
    height: auto;
    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;
    top: -145px;
    left: 0;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    gap: 10px;
  }
  .best-post {
    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: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .best-post p {
    height: 49px;
    font-size: 10px;
    width: auto;
  }
  .player__wrapper {
    display: none;
  }
  .news:before {
    display: none;
  }
  /**навигация в таблице**/
  .nav {
    top: -330px;
    left: 42px;
    height: 37px;
    padding: 0 5px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    z-index: 2;
    box-sizing: border-box;
    background: var(--black);
    border: solid 1px var(--body);
    border-radius: 10px;
  }
  .spirit-navigation {
    color: var(--body);
  }
  .spirit-navigation:hover {
    color: var(--body);
  }
  #navigblock {
    top: 38px;
    right: 0px;
    left: -35px;
    border-radius: 0 0 10px 10px;
    width: 175px;
    height: auto;
    box-sizing: border-box;
    display: none;
    padding: 10px;
    background: var(--black);
  }
  .sslka {
    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;
  }
  /**футер**/
  .futer {
    width: 100%;
    left: 0;
    box-sizing: border-box;
  }
  .banners {
    width: 80%;
  }
  /* список тем */
  #pun-viewforum .user-avatar, #pun-modviewforum .user-avatar, #pun-searchtopics .user-avatar {
    display: none;
  }
  #pun-viewforum .main .tc2, #pun-viewforum .main .tc3, #pun-viewforum .main .tcmod, #pun-searchtopics .main .tc2, #pun-searchtopics .main .tc3, #pun-searchtopics .main .tcmod {
    display: none;
  }
  .punbb .main .tclcon .stickytext, .punbb .main .tclcon .closedatafield, .punbb .main .tclcon .byuser {
    display: none;
  }
  #pun-viewforum .container tr, #pun-searchtopics .container tr {
    display: grid;
    width: 100%;
    margin: 0 auto;
    grid-template: 1fr/1fr 1fr;
  }
  #pun-modviewforum .container tr {
    display: grid;
    width: 100%;
    margin: 0 auto;
    grid-template: 1fr/1fr 1fr 0.3fr;
  }
  #pun-viewforum .container td.tcl, #pun-modviewforum .container td.tcl, #pun-searchtopics .container td.tcl {
    display: grid;
    width: 100%;
    box-sizing: border-box;
  }
  #pun-viewforum .intd, #pun-modviewforum .intd, #pun-searchtopics .intd {
    display: grid;
    gap: 0;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    grid-template-columns: 1fr 5fr;
  }
  #pun-viewforum .container td.tcr, #pun-modviewforum .container td.tcr, #pun-searchtopics .container td.tcr {
    display: grid;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    justify-items: end;
    width: 100%;
    box-sizing: border-box;
  }
  #pun-modviewforum .modmenu .container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
    -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;
    align-items: center;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
  /* модерация тем */
  #pun-modviewforum thead .tcl, #pun-modviewforum thead .tc2, #pun-modviewforum thead .tc3, #pun-modviewforum thead .tcr {
    font-size: 0;
  }
  #pun-modviewforum .main .tc2, #pun-modviewforum .main .tc3 {
    display: none;
  }
  /* активные users */
  #pun-online .container tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    justify-items: center;
  }
  #pun-online .container .tcl.username {
    text-align: center;
    width: 100%;
  }
  #pun-online .container .tcl.action, #pun-online .container .tc3 {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  /* страница участники */
  .usertable tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #pun-userlist .main .tcl {
    margin-top: 0;
    margin-bottom: 0;
  }
  #pun-userlist .user-avatar, #pun-userlist .main .tc2, #pun-userlist .tc3.relation, #pun-userlist .tc3.num_posts, #pun-userlist .tc3.posts {
    display: none;
  }
  #pun-userlist .tc3.registered, #pun-userlist .tc3.last_visit, #pun-userlist thead {
    display: initial;
  }
  #pun-userlist thead {
    opacity: 0.6;
    text-transform: lowercase;
  }
  #pun-userlist .main .tc3, #pun-userlist .tcl.username, #pun-userlist .main .tcl {
    width: 100% !important;
  }
  #pun-userlist .main td {
    padding: 10px 0;
  }
  /* страница профиля */
  #viewprofile tbody tr {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #profile-left, #profile-right {
    width: 100% !important;
  }
  #profile-left {
    border-right: none !important;
  }
  #profile-right {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -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;
    gap: 5px;
    border-radius: 0 0 20px 20px;
  }
  #viewprofile #profile-right li {
    width: 100%;
    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-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;
    padding: 0;
    background: var(--body);
    border: solid 1px var(--black);
    justify-items: center;
  }
  #viewprofile li span {
    float: initial;
    text-align: center;
    width: auto;
    padding: 3px 10px;
    margin-left: 0;
  }
  #profile-right li strong {
    padding: 5px !important;
  }
  #viewprofile li#pa-fld2 span {
    display: none;
  }
  li#pa-register-date, #viewprofile li#pa-fld1, #viewprofile li#pa-email, #viewprofile li#pa-posts, #pa-fld1, #pa-fld2 {
    width: 100% !important;
  }
  /* настройки профиля */
  #pun-profile .formal .container {
    padding: 0;
  }
  #profile .container {
    padding: 0;
  }
  #pun-profile #profile .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;
  }
  #profilenav {
    margin: 10px 0;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #profilenav h2 {
    margin: 0;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  #profilenav h2 span {
    display: block;
    border-bottom: none;
  }
  #profilenav ul {
    padding: 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0;
    -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;
  }
  #profilenav li {
    padding: 5px;
    font-weight: bold;
    background: var(--body_sub);
    border: solid 1px var(--black);
    margin: 0;
  }
  #pun-profile .submitfield {
    padding: 0;
  }
  #pun-profile input[type=text] {
    width: 100%;
  }
  #pun-profile .submitfield input[type=submit], #pun-profile #update_comments, #pun-profile #del_file {
    margin: 10px 0;
  }
  #pun-profile #setmods dl {
    padding: 0;
    margin: 0;
  }
  #pun-profile #setmods dt {
    margin: 0;
    width: auto;
    float: none;
    padding: 0;
  }
  #pun-profile #setmods dd {
    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;
    gap: 10px;
  }
  #pun-profile .formsubmit {
    padding: 5px;
    margin: 0 0 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  /* страница лс */
  #pun-messages .container .user-avatar, #pun-messages li.pa-reg, #pun-messages li.pa-posts {
    display: none;
  }
  #pun-messages .post-body {
    width: 100%;
  }
  #pun-messages .post-content p {
    font-size: 12px;
  }
  #pun-messages .post-box {
    margin: 0;
    padding: 15px;
  }
  #pun-messages .post-links {
    width: 100%;
    margin: 0;
  }
  #pun-messages fieldset {
    padding: 0 8px;
  }
  #pun-messages #profilenav ul:first-of-type {
    margin-bottom: 15px;
  }
  #pun-messages #notify-settings {
    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;
  }
  #messages .fs-box .tc3 {
    display: none;
  }
  #messages .fs-box tr {
    display: grid;
    grid-template-columns: 1fr 1fr 0.1fr;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #messages .fs-box td {
    width: auto !important;
    box-sizing: border-box;
    overflow: inherit !important;
    white-space: normal !important;
  }
  #pun-messages .main .tc2 {
    overflow-wrap: inherit;
  }
  /* минипрофиль */
  .punbb .post .container {
    margin: 0;
    padding: 4px 0;
  }
  .punbb .post h3:before {
    width: 30%;
  }
  .punbb .post .post-author {
    float: none;
    width: 100%;
    margin: 0 0 10px -10px;
  }
  .punbb .post .post-author ul, .punbb .post .post-author p {
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template: 0fr 0fr/1fr 3fr 1fr;
    justify-items: center;
    padding: 0 12px;
    background: var(--body);
  }
  .post-author .pa-online, li.pa-last-visit {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    grid-column: 1/-1;
    background: var(--black) !important;
    border-top: none;
    position: unset;
    height: 14px;
    border-radius: 0 0 0 10px;
  }
  .post-author .pa-online strong, li.pa-last-visit strong {
    background: transparent;
    height: 14px;
    color: var(--body);
  }
  .pa-author {
    -webkit-box-ordinal-group: 4;
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
    text-align: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 5px 10px !important;
    grid-area: 2/2;
    background: transparent;
  }
  .pa-author a {
    color: var(--black) !important;
  }
  .pa-avatar {
    width: 40px !important;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    position: absolute;
    top: -3px;
    left: 34px;
    background: none;
    padding: 0 !important;
  }
  .pa-avatar img {
    width: 100%;
    border-radius: 5px;
    border: solid 1px var(--line);
  }
  li.pa-title, img.post-img-Sp {
    display: none;
  }
  .punbb .post-body {
    margin: 0;
    overflow: hidden;
  }
  .pa-posts, .pa-respect {
    margin: 0;
    padding: 5px 0 !important;
  }
  .pa-posts {
    -webkit-box-ordinal-group: 5;
    -webkit-order: 4;
    -ms-flex-order: 4;
    order: 4;
    grid-area: 3/1;
  }
  .pa-respect {
    -webkit-box-ordinal-group: 6;
    -webkit-order: 5;
    -ms-flex-order: 5;
    order: 5;
    grid-area: 3/-2;
  }
  .pa-replies {
    display: none;
  }
  /* лз */
  .pa-fld1 {
    padding: 0 !important;
    width: 100%;
    text-align: center;
    -webkit-box-ordinal-group: 5;
    -webkit-order: 4;
    -ms-flex-order: 4;
    order: 4;
    grid-column: 1/-1;
    grid-area: 3/-3;
    border-radius: 10px;
  }
  .ank {
    width: 100%;
    margin: 0;
  }
  .inf, .pa-fld3 {
    display: none;
  }
  .pa-fld2 {
   top: 0px;
    left: unset;
    right: 0;
    position: absolute;
  }
  /* иконки редактирвоать/цитировать в постах */
  .punbb .post-links {
    margin-left: 20em;
  }
  .post-links ul {
    padding: 0 !important;
    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: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: -20em !important;
    height: 100% !important;
    gap: 10px;
  }
  .punbb .post-links ul:after {
    display: none;
  }
  .post-links li {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    padding: 0 0 0 5px !important;
  }
  li.pl-email.email {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
  .post-links a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    font-size: 0;
    width: 25px;
    height: 25px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0;
    background: var(--body) !important;
    box-shadow: 0px 0px 0 1px var(--black);
  }
  .post-links a:before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    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: 23px;
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    color: var(--text);
  }
  .night .post-links a:before {
    color: var(--black);
  }
  .post-links li.pl-email.profile a:before {
    content: "\ea67";
  }
  .post-links li.pl-email.pm a:before {
    content: "\e158";
  }
  .post-links li.pl-email a:before {
    content: "\e0e6";
  }
  .post-links li.pl-email.email a:before {
    content: "\e0e6";
  }
  .post-links li.pl-delete a:before {
    content: "\e872";
  }
  .post-links li.pl-edit a:before {
    content: "\e3c9";
  }
  .post-links li.pl-quote a:before {
    content: "\e244";
  }
  .post-links li.pl-reports a:before {
    content: "\e153";
  }
  #pun-searchposts .post-links ul li a:before {
    content: "\e05f";
  }
  /* цитаты - код */
  .punbb .post-content .quote-box, .punbb .post-content .code-box {
    margin: 0.5em 0 0.7em 0;
  }
  .punbb .quote-box cite, .punbb .code-box strong.legend {
    width: auto;
  }
  /* форма быстрого ответа */
  .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;
  }
  #tags .container {
    position: unset !important;
    right: 0 !important;
    top: 0 !important;
    margin-bottom: 10px !important;
    background: transparent;
    height: 100px;
    overflow-y: scroll;
    padding: 10px !important;
    width: auto;
  }
  #form-buttons td#button-smile {
    display: none;
  }
  .punbb #form-buttons tr {
    gap: 10px 20px;
  }
  #form-buttons td {
    width: 25px;
    height: 25px;
  }
  #form-buttons td:before {
    width: 25px;
    height: 25px;
    font-size: 20px;
    background: var(--body_sub);
    box-shadow: 0 0 0px 1px var(--black);
    border-radius: 7px;
  }
  #pun-viewtopic p.formsubmit, #pun-post p.formsubmit, #pun-edit p.formsubmit {
    padding: 0;
    margin: 0;
    margin-bottom: 5px;
    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;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
  }
  #pun-viewtopic .formsubmit input {
    margin: 0;
  }
  #plng {
    width: 100%;
    text-align: center;
  }
  /* админка */
  .adminmain {
    padding-left: 0 !important;
  }
  #pun-adnav {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
  }
  #pun-admain fieldset {
    padding: 0 !important;
  }
  #pun-adnav ul {
    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;
    gap: 5px;
    -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;
  }
  #pun-adnav li {
    padding: 5px !important;
  }
  #pun-adnav li.isactive ul.adsubnav {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -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-pack: start;
    -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;
  }
  #pun-admain fieldset .handle, #pun-admain fieldset p {
    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: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: auto !important;
    border: none !important;
    position: static !important;
    margin-bottom: 6px !important;
    padding: 0 0 6px 0 !important;
  }
  #pun-admain .adlabel {
    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;
    float: none !important;
    margin: 0 !important;
    position: static;
  }
  #pun-admain p.adsubmitfield .adlabel {
    padding-bottom: 0 !important;
  }
  #pun-admain .postlink {
    text-align: center;
  }
  #pun-admin_paid_services .linksb {
    clear: inherit;
    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;
    height: 45px !important;
    padding: 0;
  }
  #pun-admain .tcl, #pun-admain .tc2, #pun-admain .tc3 {
    word-break: break-all;
  }
  /**всплывающие подсказки**/
  #tooltip {
    display: none !important;
  }
  /**внутренние уведомления**/
  .jGrowl-notification {
    z-index: 99999;
  }
  .jGrowl-close {
    margin: 0 !important;
  }
  /**формы, кнопки**/
  input[type=text] {
    width: 100%;
    box-sizing: border-box;
  }
  #pun-viewtopic input[type=text] {
    width: auto;
  }
  .punbb select {
    width: 100%;
  }
  /**свич смены стиля**/
  #stylelist {
    top: -274px;
    right: 0;
    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;
    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  /**кнопки вверх-вниз**/
  .go-up, .go-down {
    margin: 0;
    right: 0;
    width: 28px;
    height: 50px;
    opacity: 0.3;
    background: var(--black);
    border: solid 1px var(--line);
    border-radius: 15px 0 0 15px;
    box-sizing: border-box;
  }
  .go-up {
    top: 380px;
  }
  /**меню рубашек и иконок**/
  .rub_icon summary {
    width: 170px;
  }
  .menu_rub {
    width: 170px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  /**маска**/
  #mask_dialog .hv-mask-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #mask_dialog .hv-preview-block img {
    max-width: 60px;
  }
  /**кнопка предпросмотра**/
  #togglePreview input[type=button] {
    margin-bottom: 10px;
    width: 100%;
  }
  /**быстрая смена ников - мобильный стиль**/
  #List-UserNames, #form-login input#Paste-And-Copy {
    width: 100% !important;
    padding: 10px;
  }
  #pun-navlinks #navlogin #form-login {
    margin-left: -15px !important;
    top: 9px;
  }
  #pun-navlinks #navlogout #form-login {
    margin-left: -76px !important;
    top: 9px;
  }
  .ismoderator #pun-navlinks #navlogout #form-login {
    margin-left: -96px !important;
    box-sizing: border-box;
    top: 9px;
  }
  .punbb #List-UserNames li {
    padding: 2px 15px;
  }
  a#New-exit:before, #pun-navlinks li#navlogin a.Rega:before, #pun-navlinks li#navlogin a.Forgot:before {
    display: none;
  }
  #pun-navlinks li#navlogin a.Rega, #pun-navlinks li#navlogin a.Forgot {
    display: inline-block;
    width: auto;
    height: auto;
  }
  #pun-navlinks li#navlogin a.Rega {
    padding-top: 10px;
  }
  span.odd {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
  html #pun-navlinks #navlogout .odd + a {
    position: absolute;
    top: 5px;
    right: 0px;
  }
  #pun-navlinks #New-exit img {
    filter: invert(0) !important;  
  }
}


/*********************************
  Deff: Быстрая смена ников
*********************************/
/*Cкрытие формы входа без клика*/
#pun-navlinks a:not(.NextShow)+span.odd{
  display:none!important;
}
/*Стиль иконки Выход */
html #pun-navlinks #navlogout .odd+a{
  margin-left:20px!important;
  margin-top: -4px;
}
#pun-navlinks #New-exit img{ 
position:absolute; 
margin: 3px 0 0 -16px;
width: 19px;
height:auto;
opacity:.8;
filter: invert(1);
}
#pun-navlinks #New-exit:hover{
 opacity: .4;
}
#pun-navlinks #form-login .inputfield.required{
 margin-top:4px;
}
/*Стиль формы входа*/
#pun-navlinks #form-login {
    position: absolute;
    text-transform:none;
    word-spacing:normal;
    left: 0;
    top: 7px;
    z-index: 1000000!important;
    font-family: verdana!important;
    font-weight: normal;
    text-shadow: none;
    /*letter-spacing: 0.5px!important;*/
    color: #000;
    font-size: 11px;
    padding: 7px 12px;
    background: #e8e8e8;
    text-align: center;
    background-color: var(--body);
    border: 1px solid var(--black);
    border-radius: 0 0 10px 10px;
    /*box-shadow: 0 0 10px #6a5469 inset, 0 0 5px #482e40;*/
}
#pun-navlinks #navlogin #form-login { 
 margin-left: -111px;/*Подвижки формы влево от вход*/ 
} 
#pun-navlinks #navlogout #form-login { 
 margin-left: -111px;/*Подвижки формы влево от выход*/ 
} 
/*Подвижки формы влево от выход для АМС*/
/*.ismoderator #pun-navlinks #navlogout #form-login {
  margin-left: -111px!important;
} */

/*Стиль ссылок в форме "Не зарегистрированы" и "Забыли пароль" */
#pun-navlinks #form-login .Rega,
#pun-navlinks #form-login .Forgot{
float: none!important;
    font-size: 10px!important;
    color: var(--black) !important;
    font-family: Rubik;
    text-transform: lowercase;
    padding: 0;
}
/* Помечаем красным незаполненные поля!*/
#form-login input.none{
outline:red dashed 2px!important;
}
#form-login div:not(#List-UserNames) input{
    margin-bottom:9px!important;
    border-radius:8px;
    padding:3px!important;
}
html .punbb #form-login input#fld1,
html .punbb #form-login input#fld2{
   box-sizing:border-box;
   width: 108px!important;
   height:23px;
   border-radius: 10px!important;
   text-align:center;
}
html .punbb #form-login input#fld2{
   margin-bottom: 12px!important;
}

/*Форма слево с Никами*/
#List-UserNames {
    position: absolute;
    margin-top: -8px;
    min-height: 109px;
    width: 220px;
    right: 100%;
    text-shadow: none;
    padding: 12px 19px 12px 17px;
    text-align: center;
    background-color: var(--body);
    border: 1px solid var(--black);
    border-radius: 0 0 10px 10px;
    /*box-shadow: 0 0 10px #6a5469 inset, 0 0 5px #482e40;*/
}
.punbb #List-UserNames li{
    display: block!important;
    position: relative;
    background: #404040;
    text-align: left;
    padding-left: 5px!important;
    font: normal normal 400 11px/normal verdana!important;
    margin: 1px auto!important;
    padding: 2px 0;
    transition: .33s;
}
.punbb #List-UserNames li:hover{
  opacity:.8;
    background: #404040;
}
.punbb #List-UserNames li>b{
  cursor:pointer;
  opacity:.8;
  color:#fff;
  text-shadow:1px 1px 1px rgba(0,0,0,.6);
}
.punbb #List-UserNames li>b:hover{
  opacity:.93;
  text-shadow:1px 1px 1px rgba(0,0,0,.6);
}
#List-UserNames ul {
    overflow: hidden;
    overflow-y: auto;
    min-height: 36px;
    max-height: 72px;
    text-align:left;
    font-family: verdana;
    padding: 0!important;
    text-shadow: none !important;
    font-size: 10px;
}
#List-UserNames ul::-webkit-scrollbar {
    width: 7px;
    height: 5px;
}
#List-UserNames ul::-webkit-scrollbar-track {
background-color: #f1f1f1;
    border: 1px solid #f1f1f1;
    box-shadow: none;
}
#List-UserNames ul::-webkit-scrollbar-thumb {
    background-color: var(--link);
    border: 2px solid #f1f1f1;
    box-shadow: none;
}
#List-UserNames ul li>span {
  display:inline-block;
  padding:0 3px;
  position:absolute;
  opacity:.88;
  cursor:pointer;
  top:0;bottom:0;
  right:2px;
  color:#fff;
  font: normal normal 700 10.56px/normal Verdana;
  text-shadow:1px 1px 1px rgba(0,0,0,.6);
}
/*Текст при отсутствии запомненных Ников!*/
#List-UserNames ul:empty::before{
  display:inline-block;
  text-align: center;
  content: "У Вас нет запомненных ников, введенных через форму справа, или через перенос ниже!"
}
#navlogin #exit-2 {
  display:none;
}
#navlogout .Rega,
#navlogout .Forgot {
  display:none;
}
.punbb #List-UserNames input {
    display:inline-block;
    color: #5b4556!important;
    margin-top: 9px;
    padding: 3px !important;
    box-sizing:border-box;
    height:22px;
    vertical-align: middle;
}
#List-UserNames  ul+span{
  display:inline-block;
  padding:6px 0 8px 0;
  text-align:left;
  font: normal normal 400 10.56px/normal Verdana;
}
#List-UserNames  ul+span b{
  font: normal normal 400 13px/normal Verdana;
  padding:0 3px;
  color: #313121;
}
#List-UserNames .a1-paste{
  cursor:pointer;
  display:inline-block!important;
  float:right;
}
#List-UserNames .a1-copy{
  display:inline-block!important;
  cursor:pointer;
  float:left;
}
.tipsy.a11 {
margin-top:-22px!important;
margin-left: 106px!important;
max-width:170px;
}
#pun-ulinks li {
  display:inline-block!important;
  position:relative;
  z-index:100;
}
/*********************************
  //END Стиль к Быстрой смене Ников!
*********************************/