/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1661262132.css);

/* Иконический шрифт */
@import url('https://fonts.googleapis.com/css2?family=Material+Icons+Outlined');

:root {
--mpbg: #e3e3e3 url(https://forumstatic.ru/files/0011/c0/7c/43987.png) repeat;
--mcbg: #e3e3e3;
--grln: #7c7c7c;
--txrm: #8d160e;
--txrs: #72100a;
}


/* 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;}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }

/* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
  font-size: 100.01%;
  }

/* A3.2 */
.punbb {
  font: 78%/1.4em Philosopher, Verdana, Arial, "Trebuchet MS", Trebuchet, 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 {
  text-align: center;
  width: auto;
  display: block;
  margin: 0 !important;
  font: normal 18px/100% DISTInking;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.punbb legend span {
  text-align: center;
  width: auto;
  display: block;
  margin: 0 !important;
  line-height: 200%;
}

/* 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.0;
  font-size: 0;
  }

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden;
  }


/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.1 */
#pun {
  margin: 30px auto;
  width : 950px;
  padding: 0;
  border: none;
  position: relative;
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
  margin: 287px auto 25px;
}

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb .section, .punbb .main {
  margin: 0;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 5px;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 10px;
  }

/* A5.8 */
.punbb .section {
  border: none;
  }

/* A5.9 */
.punbb .container {
  border: none;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  padding: 5px 10px;
  border: none;
  box-sizing: border-box;
  }


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  }

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid #888;
  width: 250px;
  margin: 5px auto;
  }

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  text-align: justify;
}

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom;
  }

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 5px 15px 10px;
  padding: 1em;
  border-style: solid;
  border-width: 1px;
  }

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  padding-bottom: 7px;
  font-size: 12px;
  font-weight: bold;
  font-style: normal;
  margin: 0;
  }

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 12px 15px 10px;
  border: none;
  margin: 0 0 12px 0;
  }

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 7px 0;
  }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 12px;
  font-weight: bold;
  }

/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* B3.1 */
.punbb .linkst {
  position: relative;
  width: 100%;
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 10px 25px;
  box-sizing: border-box;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

/* B3.2 */
.multipage {
  margin-top: 30px;
  }

/* B3.3 */
.linkst .pagelink {
  position: relative;
  flex-grow: 1;
}

/* B3.4 */
.linkst .postlink {
  position: relative;
  text-align: right;
  font-weight: bold;
  flex-grow: 1;
}

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 5px 10px 5px 10px;
  font-size: 12px;
  }

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 200px;
  text-align: left;
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 150px;
  font-weight: bold;
  }

/* B3.8 */
.subscribelink {
  clear: both;
  padding: 5px 0;
  }


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  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;
  padding: 0 10px;
  margin: 0 0 5px 0
  }

/* C1.5 */
.punbb fieldset legend {
  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: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both
  }

/* C1.12 */
.punbb .datafield br {
  display: none
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }

.punbb #post-form .areafield {padding: 0;}

.punbb #main-reply {box-sizing: border-box;}

/* C1.17 */
.punbb .hashelp {
  position: relative;
  }

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }

/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
  position: relative;
  }

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 30%;
  }

/* C2.4 */
#pun-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 a {
  font: normal 20px/30px DISTinking;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: black;
}

#pun-index .inew .tcl h3 a {color: var(--txrs);}

/* 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
  }

#pun-index .tclcon > br {display: none;}

/* C2.11 */
.punbb .main td {
  border: 0 none transparent;
  padding: 0.8em 1em;
  }

/* C2.12 */
.punbb .main th {
  border: none;
  padding: 5px 10px;
  }

/* C2.13 */
.punbb .main .tcl {
  border: none;
  }

/* C2.14 */
.punbb tbody.hasicon td.tcl {
  padding-left: 45px;
  }

/* C2.15 */
.punbb div.icon {
  position: absolute;
  left: 8px;
  top: 12px;
  display: block;
  width: 28px;
  height: 29px;
  border: none;
}

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  border: none;
  margin: 0;
  padding: 10px 25px !important;
  }

/* C3.2 */
.punbb .post h3 {
  border: none;
  background: url(https://forumstatic.ru/files/0011/c0/7c/98833.png) repeat-x top center, url(https://forumstatic.ru/files/0011/c0/7c/98833.png) repeat-x bottom center;
  margin: 0 25px;
  height: 27px;
  display: block;
}

/* C3.3 */
.punbb .post h3 span {
  padding: 0 15px;
  display: block;
  border: none;
  font: normal 14px/27px Philosopher;
}

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

/* C3.5 */
.punbb .post .post-author {
  float: left;
  width: 220px;
  text-align: center;
  margin-top: 0;
  overflow: hidden;
  background: rgba(26, 26, 39, 5%);
}

/* C3.6 */
.punbb .post .post-author ul {
  padding: 10px 0;
}

.punbb .post .post-author p {
  line-height: 140%;
}

/* C3.7 */
.pa-author {
  font: normal 20px/20px DISTInking;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.punbb .post .post-author  li.pa-author a {color: #000;}
.punbb .post .post-author  li.pa-author a:hover {color: var(--txrs);}

/* C3.8 */
.pa-author a {
  text-decoration: none
  }

/* C3.9 */
li.pa-title {
  padding: 2px 0 5px;
  font: normal 14px/18px Philosopher;
  letter-spacing: 1px;
}

li.pa-avatar img {
  background: #e4e4e4;
  padding: 3px;
}

li.pa-fld2 div {
  background: url(https://forumstatic.ru/files/0011/c0/7c/91118.png) no-repeat top center;
  width: 220px;
  height: 48px;
  box-sizing: border-box;
  padding: 8px 15px 12px;
  color: #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font: normal 30px/30px DISTInking;
  text-transform: lowercase;
  letter-spacing: 1px;
  margin-top: -13px;
  z-index: 1;
  position: relative;
}

li.pa-fld1 .name a {
  font: bold 18px/20px Philosopher;
  letter-spacing: 1px;
  text-transform: uppercase;
}

li.pa-fld1 .rank {
  display: block;
  background: #e4e4e4;
  width: 198px;
  height: 21px;
  margin: 3px auto;
  line-height: 21px;
}

li.pa-posts, li.pa-respect {
  display: inline-block;
  width: 110px;
  background: url(https://forumstatic.ru/files/0011/c0/7c/98833.png) repeat-x top center, url(https://forumstatic.ru/files/0011/c0/7c/98833.png) repeat-x bottom center;
  margin: 5px -2px 0;
  height: 25px;
  line-height: 25px;
  text-transform: lowercase;
}

li.pa-online {
  line-height: 0.8em;
  border: none;
  padding-left: 0.4em;
  margin-top: 0.7em;
  }

/* C3.11 */
.punbb .post-body {
  margin-left: 19em;
  border: none;
  padding: 0 0 1px 0;
  }

/* C3.12 */
.punbb .post-box {
  padding: 1em;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  border: none;
  }

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  border: none;
  background: transparent;
  text-align: right;
  }

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }

  /* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
  }

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }

  /* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile > .container {
  padding-left: 18.6em !important;
  }

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {
  border: none;
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

/* 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: 0 5px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*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: normal;
  }

/* 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: none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
   padding: 0 2.3em 2.3em 2.3em;
   border: none;
  }

/* C7.3 */
#pun-userlist .usertable table {
  border: none;
  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
  margin: 0;
  border: none;
  position: absolute;
  top: 7px;
  left: 220px;
  width: 444px;
  height: 88px;
}

/* D1.2 */
#pun-title h1 {
  display : none;
  height : 40px;
  padding: 2em 1em 0 1em;
  }

/* 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;
  padding-top: 5px;
}

/* 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 {
  border: none;
  background: url(https://forumstatic.ru/files/0011/c0/7c/98833.png) no-repeat top left/840px auto;
  margin: -40px 25px 0;
}

/* D3.2 */
#pun-navlinks .container {
  border: none;
  margin: 0;
  padding: 15px 0 5px !important;
  height: 25px;
  text-align: center;
}

/* D.3 */
#pun-navlinks li {
  display: inline;
  margin: 5px 7px;
}

/* D3.4 */
#pun-navlinks li a {
  font: bold 18px/20px Philosopher;
  text-transform: uppercase;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
  margin: 0 25px;
  text-align: center;
}

/* D4.2 */
#pun-ulinks .container {
  text-align: center;
  background: url(https://forumstatic.ru/files/0011/c0/7c/98833.png) repeat-x bottom left;
  padding: 0 0 15px !important;
}

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  white-space: nowrap;
}

/* D4.4 */
#pun-ulinks li a {
  padding: 0 5px;
  font: normal 14px/20px Philosopher;
  text-transform: lowercase;
  color: #000;
  height: 18px;
  display: inline-block;
}

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border: none;
  }

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status {
  border: none;
  margin-bottom: 0;
  position: absolute;
  top: 30px;
  right: 25px;
}

/* D5.2 */
#pun-status .container {
  border: none;
  margin-bottom: 0;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  text-align: right;
  font: normal 12px/100% Philosopher;
  text-transform: uppercase;
}

#pun-status .item1 {order: 1;}
#pun-status .item2 {order: 2;}

#pun-status .status_userava {
  order: 3;
  display: block;
  height: 92px;
  width: 92px;
  margin: 10px 15px 10px auto;
}

.status_userava > img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
  border-radius: 50%;
  margin: 0;
  object-fit: cover;
  object-position: top center;
}

#pun-status .item3 {
  order: 4;
  font-size: 0;
}

#pun-status .item3 a {font-size: 12px;}

#pun-status .item4 {order: 5;}

#pun-status .item3, #pun-status .item4 {
  width: 122px;
  display: block;
  text-align: center;
  margin-left: auto;
}

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin: 0;
  }

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  }

/* D5.5 */
#pun-crumbs1 .container {
  border: none;
  font: bold 12px/100% Philosopher;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 10px;
  height: 14px;
}

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border: none;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border: none;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border: none;
  }

/* D6.3 */
#pun-announcement .container {
  padding: 4.3em 1em 1em 1em;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 5px 10px;
  font-size: 12px;
}

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
  }

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 18px;
  font-size: 12px !important;
  height: 18px;
}

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  border: none;
  float: left;
  width: 100%;
  line-height: 16px;
  text-align: justify;
  }

/* D7.5 */
li#onlinelist div {
  border: none;
  padding: 5px 0 0 0;
  }

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 8px 10px;
  }

/* D8.3 */
#pun-about {
  margin-top: 0;
  }

/* D8.4 */
#pun-about .container {
  border: none;
  text-align: center;
  line-height: 150%;
  padding: 0 15px !important;
  }

/* D8.5 */
#pun-about p span {
  display:block;
  padding-left: 50%;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
  border: none;
  padding: 8px 10px;
  font: bold 12px/100% Philosopher;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  height: 14px;
}

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border: none;
  position: relative;
  height: 0;
  z-index: 1;
  }

/* D8.9 */
div.punbb-admin #pun-about .container {
  border: none;
  }


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border: none;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border: none;
  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;
  }

#pun-index h2 span, #pun-stats h2 span {
  font: normal 30px/100% DISTInking;
  color: #000;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  height: 30px;
}

#pun-index h2 span:before, #pun-index h2 span:after,
#pun-stats h2 span, #pun-stats h2 span:after {
  content: "-";
  margin: 10px;
}

#pun-index .category .container {
  padding: 7px 0 !important;
  background: rgba(26, 26, 39, 5%);
  display: block;
  margin: 10px 25px;
}

#pun-index thead {display: none;}

#pun-index .category .hasicon {
  background: url(https://forumstatic.ru/files/0011/c0/7c/98833.png) repeat-x top center, url(https://forumstatic.ru/files/0011/c0/7c/98833.png) repeat-x bottom center;
  padding: 5px;
}

#pun-index .tc2, #pun-index .tc3 {display: none;}

#pun-index .category .hasicon tr {
  background: url(https://forumstatic.ru/files/0011/c0/7c/98833.png) no-repeat bottom center/820px auto;
}

#pun-index .podssyl {
  text-align: center;
  font: bold 14px/14px Philosopher;
  text-transform: uppercase;
  padding: 5px 0 0;
}


/* Кнопки скролла (вверх-вниз)
-----------------------------------------------------------------------------*/
.go-up, .go-down {
    cursor: pointer;
    display: none;
    height: 40px;
    margin-bottom: 160px;
    opacity: 1;
    position: fixed;
    z-index: 9999;
}

.go-up {
    top: 195px;
    margin-left: 950px !important;
    width: 70px;
}

.go-down {
    top: 238px;
    margin-left: 957px !important;
    width: 53px;
}

.go-down:hover, .go-up:hover {opacity: 1;}


/* Аватар по умолчанию
----------------------------------------------------*/

.gid3 .punbb #pun-status .status_userava img {display: none;}
.gid3 .punbb #pun-status .status_userava {border-radius:50%;}

/* В списках (последнее сообщение и т.п.) */
.punbb .user-avatar.no-avatar .avatar-image[style*="default_avatar.jpg"], .gid3 .punbb #pun-status .status_userava {
background-image: url(https://i.imgur.com/6hiV1A8.png)!important;
}


/* Хронология
-------------------------------------------------------------*/

#chrono, .chrono {
  display: block;
  width: 100%;
  height: 600px;
  box-sizing: border-box;
  position: relative;
  margin: 0 auto;
  background: rgba(26, 26, 39, 5%);
  padding: 15px;
}

.punbb .post-content .chrono p {
  padding: 0 !important;
  color: #000 !important;
}

.punbb .post-content .chrono .chrononame p {
  height: 50px;
  background: url(https://forumstatic.ru/files/0011/c0/7c/18148.png) no-repeat center;
  margin-bottom: 15px;
  color: #e2e2e2 !important;
  font: normal 30px/50px DISTInking !important;
  padding: 0 !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#chrono h2 {
    height: 50px;
    background: url(https://forumstatic.ru/files/0011/c0/7c/18148.png) no-repeat center;
    margin-bottom: 15px;
}

#chrono h2 span {
    color: #e2e2e2;
    font: normal 30px/50px DISTInking !important;
}

#chrono .container, .punbb .post-content .chrono .container {
  background: url(https://forumstatic.ru/files/0011/c0/7c/98833.png) repeat-x top center, url(https://forumstatic.ru/files/0011/c0/7c/98833.png) repeat-x bottom center;
  height: calc(100% - 65px);
  box-sizing: border-box;
  padding: 15px 0 !important;
  font: normal 16px/20px Philosopher;
}

#chrono .container .inner, .chrono .container .inner {
    height: 100%;
    overflow: auto;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #e2e2e2 transparent;
}

#chrono .container .inner span, .chrono .container .inner .epochname p {
  text-align: center;
  font: bold 14px/18px Philosopher;
  text-transform: uppercase;
  display: block;
  padding: 5px !important;
  color: var(--txrs) !important;
}

#chrono .container .inner .timeline, .chrono .container .inner .timeline {
  background: rgba(26, 26, 39, 5%);
  padding: 10px 15px;
}

#chrono .container .inner ul, .chrono .container .inner ul {
  padding: 10px 15px !important;
}

.punbb .post-content .chrono .container .inner ul li {
  margin: 0 !important;
  list-style: none;
}

.punbb .post-content .chrono .container .inner ul li p {
  font: normal 16px/20px Philosopher;
}

/* Дайсы стиль
-------------------------------------------------- */

.hidden {
	display: none !important;
}

#button-dice {
	background: url("/files/000f/3e/d5/81483.png") no-repeat center;
}

form#dice-form {
	width: 350px;
	padding: 15px 10px;
	text-align: right;
	position: absolute;
	top: 39px;
	right: 0;
	background: var(--mpbg);
	border: 1px solid;
	border-radius: 2px;
        display: flex;
        flex-wrap: wrap;
}

form#dice-form input {
	width: 30px;
}

#dice-form label {
	display: block;
	margin: 3px;
}

#dice-form span {
	font-weight: bold;
	width: 100px;
	text-align: right;
	display: inline-block;
	vertical-align: top;
}

#dice-form label > span::after {
	content: ":"
}

#dice-form textarea {
  width: 100% !important;
  height: 70px !important;
  box-sizing: border-box;
}

#dice-form > div:nth-child(1) {
  width: 110px;
}

#dice-form > div:nth-child(1) label {
  display: flex;
  margin: 3px;
  justify-content: end;
}

#dice-form > div:nth-child(2) {
width: 240px;
}

#dice-form > div:nth-child(2) span {
	font-weight: bold;
	width: 100%;
	text-align: center;
	display: block;
}

#dice-form > div:nth-child(2) label {
  display: flex;
  margin: 3px;
  flex-direction: column;
}

#dice-form > div:nth-child(3) {width: 100%;}

.roll-dice::before, .roll-value::before, .roll-reason::before, .roll-result::before {
  font-weight: bold;
}

.roll-dice::before {
    content: "Бросок: ";
}

.roll-dice::after {
  content: " (бонус)";
  margin-right: -5px;
}

.roll-value::before {
    content: " , с результатом: ";
}

.roll-reason::before {
  content: "Действие: "
}

.roll-result::before {
  content: "Итог: "
}

#pun .roll-result {
  padding-bottom: 0px;
}



/* Дополнительно
-------------------------------------------------------------*/

/* Отключение закругления текстовых полей в Safari */

button, input.button, input[type="text"], input[type="password"], select {
  border-radius: 4px;
  -webkit-border-radius: 4px;
  border: 1px solid #8f8f9d;
  appearance: auto;
  -webkit-appearance: none;
  -moz-appearance: auto;
  padding: 2px 5px;
}

button:hover, input.button:hover {background: silver;}



/*****************************
---------- МОБИЛЬНЫЙ СТИЛЬ ----------
*****************************/

@media screen and (max-width: 540px) {


/* Основа и тело форума
-------------------------------------------------------------*/


* {
float: none !important;
box-sizing: border-box;
}

#pun {
width: 100%;
min-width: 360px;
margin: 0 auto;
position: initial;
}

.punbb {
display: flex;
display: -webkit-flex;
flex-direction: column;
font: 100%/150% Philosopher, serif;
margin: 230px auto 0;
}

/* Порядок основных блоков */

#html-header {order: initial;}
#pun-title {order: initial;}
#pun-navlinks {order: -1;}
#pun-ulinks {order: initial;}
#pun-status {order: initial;}
#pun-crumbs1 {order: initial;}
#pun-main {order: initial;}
#pun-stats {order: initial;}
#pun-crumbs2 {order: initial;}
#pun-about {order: initial;}
#html-footer {order: initial;}

/* Основные настройки содержимого*/

.punbb > div .container {
  padding: 5px 10px !important;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
}


/* Шапка
-------------------------------------------------------------*/

#pun-title {
  position: absolute;
  margin: 0 auto;
  left: initial;
  width: 100%;
  background-size: contain;
  top: 45px;
}

/* Таблица в шапке
-------------------------------------------------------------*/

.punbb #html-header .tablica {
  flex-direction: column;
  width: 100%;
  left: 0;
  top: 45px;
  z-index: 1;
  height: 235px;
  background: url(https://forumstatic.ru/files/0011/c0/7c/43987.png) repeat;
  flex-wrap: nowrap;
}

#html-header .tablica .logogame {
  width: 100%;
  height: 70px;
  display: block;
  background-size: contain;
  left: 0;
}

#html-header .tablica .leftside, #html-header .tablica .rightside {
  width: 100%;
  padding: 0 5px;
}

#html-header .tablica .admins, #html-header .tablica .hotlinks {display: none;}


/* Меню навигации
-------------------------------------------------------------*/

#pun-navlinks {
  position: fixed;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
  min-width: 360px;
  margin: 0;
}

#pun-navlinks .container {
  height: auto;
  position: relative;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-content: center;
  box-sizing: border-box;
  padding: 0 !important;
  background: var(--mpbg);
}

#pun-navlinks li {
  display: block;
  margin: 5px 7px;
}

#pun-navlinks li a {
  font-size: 0;
  padding: 0;
  display: flex;
  display: -webkit-flex;
  position: relative;
}

#pun-navlinks li a:after, #pun-ulinks:after  {
  content: "";
  font: normal 36px/100% 'Material Icons Outlined';
}

#pun-navlinks li#navindex a:after {content: "\e88a";}
#pun-navlinks li#navuserlist a:after {content: "\f233";}
#pun-navlinks li#navsearch a:after {content: "\e8b6";}
#pun-navlinks li#navprofile a:after {content: "\e853";}
#pun-navlinks li#navpm a:after {content: "\e0be";}
#pun-navlinks li#navadmin a:after {content: "\e8b8";}
#pun-navlinks li#navlogout a:after {content: "\e9ba";}
#pun-navlinks li#navlogin a:after {content: "\ea77";}
#pun-navlinks li#navregister a:after {content: "\e7fe";}
#pun-navlinks li#navpr a:after {content: "\ef49";}
#pun-navlinks li#navawards a:after {content: "\ea23";}
#pun-navlinks li#navrules a:after {content: "\e85f";}

#pun-navlinks li#navpm a span[data-last-unread]:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  display: block;
  animation: blinkColor 2s linear infinite;
  -moz-animation: blinkColor 2s linear infinite;
  -webkit-animation: blinkColor 2s linear infinite;
  background: var(--mpbg);
}


/* Меню пользовательских ссылок
-------------------------------------------------------------*/

#pun-ulinks {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0;
  position: relative;
  border: none;
  z-index: 90;
}

#pun-ulinks:after {
  content: "\e5d2";
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  font: normal 48px/50px 'Material Icons Outlined';
  text-align: center;
  cursor: pointer;
  margin-top: -125px
}

#pun-ulinks .container {
    padding: 0 !important;
    margin: -125px 0 0 0;
    height: auto;
    border: none ;
    text-align: left;
    background: silver;
}

#pun-ulinks ul {
    padding: 0 !important;
    display: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
    z-index: 100;
    position: absolute;
    top: 50px;
    left: 0;
}

#pun-ulinks:hover ul, #pun-ulinks:focus ul {
    display: block;
}

#pun-ulinks li {
    display: block !important;
    padding: 0 !important;
}

#pun-ulinks li a {
    display: block;
    border: none;
    font: normal 16px/200% sans-serif !important;
    padding: 0 15px !important;
    color: #000;
    text-decoration: none !important;
    height: initial;
}

#pun-ulinks li a:hover {
    background: gainsboro;
}

#pun-ulinks > span.notify-bubble {display: block !important;}


/* Статус и путь
-------------------------------------------------------------*/

#pun-status {
  position: relative;
  right: initial;
  top: 0;
}

#pun-status .container {
  text-align: right;
  justify-content: center;
  font-size: 12px;
  display: block;
  padding: 0 5px !important;
}

#pun-status span {white-space: initial;}

#pun-status .status_userava, #pun-status .status-right {display: none;}

.punbb .crumbs.container {height: initial !important;}


/* Главная форумная таблица
-------------------------------------------------------------*/

/* Заголовки */
.punbb h1, .punbb h2 {
width: initial !important;
}

.punbb h1 span, .punbb h2 span {font-size: 20px;}

.punbb thead {display: none;}

.punbb .main .hasicon, .punbb .main tr {
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
}

.punbb .main tr {padding: 5px 0;}

.punbb .main .hasicon tr:not(:last-of-type) {
  box-shadow: 0 1px rgba(0, 0, 0, .3), 0 2px rgba(255, 255, 255, .75);
}

.punbb .main td {padding: 5px 10px;}

.punbb .main .tcl, .punbb .main .tcr, #pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 5px 10px !important;
}

.punbb .main .intd {
  display: flex;
  display: -webkit-flex;
  width: 100%;
  min-height: 25px;
}

.punbb .tclcon {
padding-left: 40px;
flex-grow: 1;
}

.punbb div.icon {
  order: 2;
  top: 5px;
}

.punbb .main .tc2, .punbb .main .tc3, #pun-searchtopics .main .tc2, #pun-searchtopics .main .tc3 {
text-align: left;
width: auto;
}

.punbb .main .tc2:before, .punbb .main .tc3:before {
content: "";
}

#pun-index .category .container {margin: 0;}

#pun-index .main .tc2:before {content: "Тем: ";}
#pun-index .main .tc3:before {content: "Сообщений: ";}

#pun-index h2 span, #pun-stats h2 span {height: initial;}

#pun-viewforum .main .tc2:before, #pun-searchtopics .main .tc3:before {content: "Ответов: ";}
#pun-viewforum .main .tc3:before {content: "Просмотров: ";}

#pun-searchtopics .main .tc2:before {content: "Форум: ";}

.punbb .main .tcr {position: relative;}

.punbb .tcr .user-avatar {
  margin: 0 10px;
  height: auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
}

.punbb .tcr > a, .punbb .tcr .lastpost, .punbb .tcr > .byuser {
  width: calc(100% - 46px);
  text-align: right;
}

.punbb .user-avatar .avatar-image {
  display: flex;
  display: -webkit-flex;
}

/* Статистика
-------------------------------------------------------------*/

.punbb #pun-stats .container {
justify-content: right;
}

#pun-stats li, #pun-stats li.item3, #pun-stats li.item4 {
font-size: initial !important;
height: initial !important;
line-height: 150%;
}

.punbb #pun-stats .container li:not(#onlinelist) {
width: 100%;
text-align: right;
}

/* Темы и страницы
-------------------------------------------------------------*/

/* Верхние ссылки в топике и списках тем */
.punbb .linkst {padding: 5px 10px;}

/* Меню модератора */
.punbb .modmenu .container span {flex-grow: 1;}

/* Нижние ссылки в топике и списках тем */
.punbb .linksb {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: initial;
}

.linksb .pagelink {
  order: 1;
  flex-grow: 1;
  width: auto;
}

.punbb .postlink, .punbb .linksb noindex {
  order: 2;
  flex-grow: 1;
  width: auto;
}

.subscribelink {
  order: 3;
  width: 100%;
}

.punbb .postlink.long {width: auto;}

.punbb .modmenu strong, .punbb .modmenu a {height: initial;}

#pun-viewforum .modmenu .container strong a {font-size: 0;}

#pun-viewforum .modmenu .container strong a:after {
content: "Действия с темами";
font-size: initial;
}


/* Топик
-------------------------------------------------------------*/

/* Пост */
.punbb .post {margin: 0;}

/* Дата поста */
.punbb .post h3 {
  box-shadow: 0 1px 2px rgba(255, 255, 255, .3) inset;
  background: rgba(0, 0, 0, .1);
  margin: 0;
}

.punbb .post h3 span {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 5px 10px;
}

.punbb .post h3 span .permalink {
  flex-grow: 1;
  order: 1;
}

.punbb .post h3 span strong {order: 2;}

.punbb .post h3 .sharelink {
order: 3;
margin-left: 5px;
display: none;
}

/* Содержимое поста */
.punbb .post .container {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  padding: 0 !important;
}

#pun-viewtopic .post-content table tbody tr {
display: flex;
flex-wrap: wrap;
}

#pun-viewtopic .post-content table tbody tr td {
width: 100% !important;
}

#pun-viewtopic .post-content #form-buttons tr td {width: initial !important;}

/* Автор */
.punbb .post .post-author {
  width: 100%;
  margin: 0;
  padding: 5px 10px;
  box-sizing: border-box;
  background: rgba(0,0,0,.1);
}

.punbb .post .post-author ul {
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

/* Скрыть поля профиля */
.pa-reg, .pa-from, .pa-invites, .pa-positive, .pa-icq, .pa-sex, .pa-age, .pa-ip, .pa-time-visit, .pa-last-visit, .pa-online, .pa-awards {
    display: none !important;
}

/* Аватар */
.punbb .post-author .pa-avatar {
  width: 75px;
  height: 75px;
  display: block;
  position: absolute;
  margin: 0 0 5px; 
  order: -2;
}

.online .pa-author::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 10px #bf0;
  background: radial-gradient(circle at 3px 2px, #98ea36, #81b16f, #8ac176);
  margin: 2px 0 2px 7px;
}

.punbb .post-author .pa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Ник и статус */
.punbb .post-author .pa-author, .punbb .post-author .pa-title {
  margin-left: 85px;
  padding: 0;
  width: 100%;
  text-align: left;
}

/* Сообщения */
.punbb .post-author .pa-posts {
  margin-left: 85px;
  padding-right: 10px;
}

li.pa-posts, li.pa-respect {
  white-space: nowrap;
  width: 140px;
}

/* Доп. поле 1 (лз) */
.punbb .post-author .pa-fld1 {
  width: 100%;
  order: 1;
}

.punbb .post-author .pa-fld1 , .punbb .post-author .pa-fld2 {display: none;}

/* Тело поста */
.punbb .post-body {
  margin: 0;
  order: 2;
  width: 100%;
}

/* Содержимое тела поста */
.punbb .post-box {
  padding: 10px;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, .2) inset;
}

.punbb .post-content {max-width: 100vw;}

/* Строки поста */
.punbb .post-content p {padding: 0 0 5px 0;}

/* Цитата, спойлер и код */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 5px 5px 10px;
  padding: 5px 10px;
}

/* хтмл-содержимое в постах */
.punbb .post-content iframe {
  box-sizing: border-box;
  max-width: 100%;
}

/* Подпись */
.punbb .post-box .post-sig {display: none;}

/* Ссылки профиль, удалить, цитировать и т.п. */
.punbb .post-links {
  box-shadow: 0 -1px rgb(255, 255, 255) inset, 0 -2px rgba(0, 0, 0, .3) inset;
  background: rgba(0, 0, 0, .1);
  margin: 0;
}

.punbb .post-links ul {
  padding: 0 10px;
  margin: 5px 0 0;
}
.punbb .post-links li a {font-size: 0;}

.punbb .post-links ul li {
  padding: 0 0 0 10px;
  line-height: initial !important;
}

.punbb .post-links ul .pl-email, .punbb .post-links ul pl-website {
  float: left !important;
  padding: 0 10px 0 0;
}

.punbb .post-links li a::before {
  content: "";
  font-size: 24px;
  font-family: 'Material Icons Outlined';
}

.punbb .post-links li.profile a:before {content: "\ea67";}
.punbb .post-links li.pm a:before {content: "\e0be";}
.punbb .post-links li.email a:before {content: "\e0e6";}
.punbb .post-links li.pl-delete a:before {content: "\e92e";}
.punbb .post-links li.pl-edit a:before {content: "\e3c9";}
.punbb .post-links li.pl-quote a:before {content: "\e244";}
.punbb .post-links li.pl-reports a:before {content: "\e8b2";}

/* Модменю */
#topic-users-in .container {display: block;}

/* Форма ответа */
.punbb #form-buttons {
  width: 100%;
  display: block;
}

.punbb #form-buttons tr {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: center;
  padding: 0 0 5px;
  text-align: center;
}

#form-buttons td {
display: block;
width: 26px;
height: 26px;
}


/* Поиск сообщений
-------------------------------------------------------------*/

#pun-searchposts .post-author ul {justify-content: space-between;}

#pun-searchposts .post li.pa-author, #pun-searchposts .post li.pa-replies {
text-align: left;
width: auto;
margin: 0;
}

#pun-searchposts .post-links ul {
  margin: 0;
  height: 150%;
}

#pun-searchposts .post-links li a {font-size: initial;}


/* Просмотр профиля
-------------------------------------------------------------*/

#viewprofile-next #profilenav {display: none;}

#viewprofile ul, #profilenav ul {
  padding: 0 5px;
  margin: 0;
}

#viewprofile tr {flex-direction: column;}
#viewprofile td {width: 100%;}

#viewprofile li, #viewprofile li strong, #viewprofile li span, #viewprofile li div, #setmods dd, #setmods dl {
  margin: 0;
  padding: 0;
}

#viewprofile #profile-left {
  text-align: center;
  padding-bottom: 10px !important;
  box-shadow: 0 1px rgba(0, 0, 0, .3), 0 2px rgba(255, 255, 255, .75);
}

#viewprofile #profile-left li#pa-avatar {padding: 5px;}
#viewprofile #profile-right {padding: 10px 0 0;}

#profile-right li {
  display: flex;
  flex-wrap: wrap;
}

#profile-right li span {
  width: auto;
  padding-right: 5px;
}

#viewprofile #profile-right li strong {
  width: auto;
  padding: 0;
}

#viewprofile #profile-signature {padding: 5px 0;}
#viewprofile #profile-signature ul {padding: 10px 0 0;}


/* Редактирование профиля и ЛС
-------------------------------------------------------------*/

#profile > .container {padding: 5px 10px !important;}

.punbb #profilenav {
  width: 100%;
  margin: 0;
  display: block;
}

#viewprofile h2, #profilenav h2 {margin: 0;}

#profilenav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#profilenav li {
  padding: 0;
  font-weight: bold;
  width: 50%;
  box-sizing: border-box;
}

#profile #messages fieldset, #profile #messages fieldset .fs-box {
  padding: 0;
  margin: 0;
}

.punbb .main #profile #messages .hasicon tr {
justify-content: space-between;
box-shadow: 0 -1px rgba(0, 0, 0, .3), 0 1px rgba(255, 255, 255, .75);
}

.punbb .main #profile #messages .hasicon tr:first-of-type {
box-shadow:0 -1px rgba(255, 255, 255, .9), 0 -2px rgba(0, 0, 0, .3), 0 1px rgba(255, 255, 255, .9);
}

.punbb .main #profile #messages .hasicon tr:last-of-type {
box-shadow: 0 -1px rgba(0, 0, 0, .3), 0 1px rgba(0, 0, 0, .4), 0 2px rgba(255, 255, 255, .9);
}

.punbb .main #profile #messages .hasicon .tcl {width: 100% !important;}

#profile #messages .hasicon .pmtc22 {
  display: flex;
  width: 100% !important;
}

#profile #messages .hasicon .tc3:before {content: "Дата: "}

#profile #messages .hasicon .tc3, #profile #messages .hasicon .pmtc24 {
  display: block;
  width: auto !important;
  padding: 5px 10px !important;
}

#profile #messages .hasicon .pmtc24:before {content: "Выбрать: "}


/* Админка
-------------------------------------------------------------*/

.punbb-admin #pun-adnav {margin: 0;}

.punbb-admin #pun-admain {padding: 0;}

.punbb-admin #pun-adnav ul {
  display: flex;
  flex-wrap: wrap;
  padding: 5px 10px;
}

.punbb-admin #pun-adnav li {padding: 2px 5px;}

.punbb-admin #pun-admain fieldset .handle, .punbb-admin #pun-admain fieldset p {border: none;}

.punbb-admin #pun-admain .adlabel {
  padding: 0 5px !important;
  margin: 0;
  position: relative;
  width: auto;
  display: block;
  text-align: center;
}

.punbb-admin #pun-admain .adformal div ul, .punbb-admin #pun-admain div p {padding: 5px !important;}

.punbb-admin .adcontainer .adsubmitfield {
  display: flex;
  flex-direction: column;
}

.punbb-admin #pun-admain span.adsubmit {
  position: relative;
  width: auto;
  top: 0 !important;
  margin: 0 auto;
  display: block;
  padding: 5px;
 left: 0;
}

.punbb-admin #pun-admain1 .sortable p input[name^="cat_name"] {
  margin: 0;
  position: relative;
  width: calc(100% - 20px);
}

.punbb-admin #pun-admain input[type="submit"] {
  margin: 0 auto;
  display: block;
}

#pun-admain .adformal p.submittop, #pun-admain .adformal p.submitend {
  display: flex;
  justify-content: center;
}

#pun-admain .adformal p.submittop input[type="submit"], #pun-admain .adformal p.submitend input[type="submit"] {margin: 0 5px;}


/* Хронология
---------------------*/

#chrono {width: 100%}


}