/*************************************************************
 - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1669203169.css);
  @import url(https://forumstatic.ru/files/0016/f1/95/90664.css);
  @import url('http://fonts.cdnfonts.com/css/centers-george');
  @import url('https://fonts.googleapis.com/css?family=Oranienbaum|Old Standard TT|Amatic+SC|Bad+Script|Caveat|Cormorant+Unicase|Lobster|Pacifico|Pattaya|Philosopher|Playfair+Display+SC|Playfair+Display|Poiret+One|Yeseva+One|Marck+Script|Pangolin|Raleway:900i|Cormorant+SC|Arima+Madurai|Cabin+Sketch|Pompiere|Cinzel+Decorative|Megrim|Cookie|Roboto|Lora|Yanone+Kaffeesatz|EB+Garamond|Cormorant Garamond|Alice|Neucha|Play|Prata|Press+Start+2P|Rubik+Mono+One|Montserrat|Arsenal|Tenor+Sans|Vollkorn+SC');
  
@import url('https://fonts.googleapis.com/css2?family=Cinzel&family=Cuprum:ital@1&family=Kelly+Slab&family=Noto+Serif+Display&family=Oswald&family=PT+Sans+Narrow&family=Pacifico&family=Spectral+SC&display=swap');

@import url('https://fonts.cdnfonts.com/css/dita-sweet');

@font-face {
    font-family: 'Dita Sweet';
    src: url('http://forumstatic.ru/files/001b/a8/4b/98116.eot');
    src: local('Dita Sweet'), local('DitaSweet'),
        url('http://forumstatic.ru/files/001b/a8/4b/16913.woff2') format('woff2'),
        url('http://forumstatic.ru/files/001b/a8/4b/19251.woff') format('woff'),
        url('http://forumstatic.ru/files/001b/a8/4b/95934.otf') format('opentype'),
        url('http://forumstatic.ru/files/001b/a8/4b/94614.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-weight: 400;
}
  
* {
  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: #000000;
  --body: #dcd9d6; 
  --link: #3b3b3b;
  --lgray: #eae7e4;
  --text: #515150;
  --activ: #e4aa7a;
  --dactiv: #cf8343;
  --t_post: #827d78;
  --select: rgb(228 160 105 / 40%);
  --b_activ: solid 1px #e4aa7a;
  --c_a: solid 2px #000000;
  --b_shadow: inset 0 0 20px rgb(255 255 255 / 0%);
  --o_color: rgba(255, 255, 255, 0);
  --gradient2: linear-gradient(90deg, rgba(155,79,78,1) 0%, rgba(226,159,104,1) 89%);
  --gradient: linear-gradient(90deg, rgba(228,160,105,1) 28%, rgba(153,77,77,1) 80%);
  --bg: url(http://forumstatic.ru/files/001b/a8/4b/91524.jpeg) fixed no-repeat top center var(--black);
  --heder: url(http://forumstatic.ru/files/001b/a8/4b/41550.jpeg) no-repeat top center;
  --footer: url(https://i.imgur.com/OqbwzQ9.jpg) no-repeat bottom center;
  --cat_h1: 400 24px Dita Sweet;
  --cat_h2: 400 18px Dita Sweet;
  --yo_h2: 400 18px Yeseva One;
  --yo_q: normal 400 12px Yeseva One;
  --yo_stat: 400 10px Yeseva One;
  --yo_flink: 400 9px Yeseva One;

}

/* скролл для Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #756428 #4d493b;
}

/* скролл для Chrome/Edge/Safari */
*::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

*::-webkit-scrollbar-track {
  background: var(--black);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--activ);
  border: none;
  box-shadow: var(--sw_scroll);
} 
  
/* скрыть rss-atom, убрать Закрыто и Важно, h2 объяву, поделиться */
.punbb .modmenu .container span, #pun-announcement h2, div#pun-live-rusff, .topic a.sharelink, td#button-smile, #pun-navlinks .container li#navawards, #pun-status .status-right, li.pa-gifts, #pun-viewtopic li.pa-gifts, #pun .modlist  {display: none !important;}

/* цвета выделения текста */
::selection {background: var(--select);}
::-moz-selection {background: var(--select);}
::-webkit-selection {background: var(--select); color:#000;}


.lastedit {display: none;}
abbr {border-bottom: dotted 1px;}
.post-content hr {
    border: none;
    background: url(http://forumstatic.ru/files/001b/a8/4b/90160.png) no-repeat center;
    width: 100%;
    height: 16px;
    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(--dactiv) inset;
  padding: 6px;
  cursor: pointer;
  transition: all .3s ease-in-out 0s; 
}

input[type="radio"] {
  box-shadow: 0 0 0 1px var(--dactiv) inset;
  border-radius: 100%;
  padding: 6px;
  cursor: pointer;
  transition: all .3s ease-in-out 0s; 
}

input[type="checkbox"]:checked, input[type="radio"]:checked {
  background: var(--black);
  box-shadow: 0 0 0 4px var(--dactiv) 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-index .main .tc2, #pun-index .main .tc3, #pun-index .main .tcmod {
   display: none; 
}

input[type=submit], input[type=button] {
    padding: 3px 10px;
    font-size: 12px !important;
    text-transform: lowercase;
    cursor: pointer;
    border: 0 solid;
    box-shadow: var(--b_shadow);
    outline: var(--b_activ);
    outline-offset: 0px;
    text-shadow: none;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
    background: transparent;
}

input[type=submit]:hover, input[type=button]:hover {
    color: var(--activ);
    transition: all 0.3s linear 0s;
    background: var(--black);
}

input[type=text], input[type=password], .resizable-textarea textarea, .punbb select, textarea#reputationText {
   background: var(--lgray); 
   outline: none;
   border: var(--b_activ);
}


 /* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
  font-size: 100.01%;
  }

/* A3.2 */
.punbb {
  font: normal 68.75% 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.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 */
body {background: var(--bg); background-size: cover;}

#pun {
    width: 980px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 40px;
    box-sizing: border-box;
    background: var(--heder), var(--footer);
    position: relative;
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
  margin: 500px 0 100px;
  box-sizing: border-box;
  background: var(--body);
  padding: 0 20px;
  }

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.5 */
.punbb .post {
  margin-top: -25px;
  padding-top: 30px;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#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%;
  }

/* 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: 0.5em 0.7em 0.7em 0.7em;
  padding: 1.5em 1em;
  border: var(--b_activ);
  background: var(--lgray);
  border-radius: 10px;
  }
  
.punbb .post-content .quote-box p {
   padding: 0;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
    display: block;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--dactiv);
    font: var(--yo_q);
  }
  
.post-content .spoiler-box > div {
  background: url(http://forumstatic.ru/files/001b/a8/4b/52400.svg) no-repeat left center !important;
  background-size: 9px !important;
  }

.post-content .spoiler-box > div.visible {
  background-image: url(http://forumstatic.ru/files/001b/a8/4b/80854.svg) !important;
  background-size: 9px !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: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 1em;
  line-height: 2;
  box-sizing: border-box;
  }


.linksb {
  display: block;
  width: 100%;
  padding: 0 1em;
  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-weight: bold;
  font-size: 12px;
  }

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
  }

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

/* 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 {
    font: var(--yo_flink);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*************************************************************
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 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  display: none;
  }
  
#pun-profile fieldset legend {
  display: block;  
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em
  }

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
  }

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both
  }

/* C1.12 */
.punbb .datafield br {
  display: none
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }

/* 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: flex;
    justify-content: space-between;
    align-items: center;
    margin: 17px 5px;
}

#pun-index .main .container {
    border: var(--b_activ);
    margin: 0 20px 40px;
    border-radius: 10px;
}

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 55%;
  }

.intd {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    justify-content: flex-start;
}

/* 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;
  width: 30%;
  }
  
a.lastpost-link {
text-transform: uppercase;
    font-weight: bold;
    color: var(--black) !important;
    font: var(--yo_flink);
}

a.lastpost-link:hover {color: var(--dactiv) !important;}

.lastpost {font: var(--yo_flink); color: var(--black);}

#pun-index .user-avatar {
    margin-top: -7px !important;
    margin-right: 25px !important;
}
  
.punbb .user-avatar {  
height: 36px !important;
    width: 36px !important;
    padding: 2px !important;
  }

.punbb .user-avatar .avatar-image {
  transition: all 0.3s linear 0s;
  outline: var(--b_activ);
  }
  
.punbb .user-avatar .avatar-image:before{
   content: "";
    background: var(--black);
    width: 36px;
    height: 36px;
    display: block;
    border-radius: 100%;
    mix-blend-mode: color;
}

.punbb .user-avatar .isonline {
  background: var(--hlink1) !important;
  animation: blinkColor 2s linear infinite !important;
  -moz-animation: blinkColor 2s linear infinite !important;
  -webkit-animation: blinkColor 2s linear infinite !important;
  right: 5px !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;
  }

#pun-index .tcl h3 a {
    font: var(--yo_h2);
    text-transform: lowercase;
    color: var(--black) !important;
}

#pun-index .tcl h3 a:hover {
    color: var(--activ) !important;
}

.textforum {
    width: 404px;
    padding: 7px 0;
    text-align: justify;
    line-height: 1.3 !important;
    color: var(--black);
    font: var(--yo_flink);
}

.textforum div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 15px;
    margin-top: 10px;
    background: var(--black);
    box-sizing: border-box;
    gap: 30px;
    width: 404px;
}

/**подфорумная навигация**/
a.forumlink {
    display: block;
    font: var(--yo_flink);
    color: var(--activ) !important;
    position: relative;
}

a.forumlink:after {
content: "";
    width: 7px;
    height: 7px;
    border-radius: 100%;
    background: var(--activ);
    position: absolute;
    top: -5px;
    left: 45%;
    border: var(--c_a);
    box-sizing: border-box;
    opacity: 0;
    transition: all 0.3s linear 0s;
}

a.forumlink:hover:after {
    opacity: 1;
    transition: all 0.3s linear 0s;
}

/* 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
  }

/* C2.15 */
.punbb div.icon {
  line-height: 0.0;
  margin-top: 0.1em;
  }

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  margin-top: -1px;
  padding: 0 15px;
  color: var(--text);
  }


/* C3.3 */
.punbb .post h3 {
    padding: 0 20px;
}

.punbb .post h3 span {
    color: var(--black);
    border-radius: 5px;
  }

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 30px;
  text-align: right;
  }
  
.punbb .post h3 strong:before {
    content: "\f42e";
    font-family: fontawesome;
    padding: 0 5px;
}
  
.punbb .post h3 a.permalink, .punbb .post h3 span a {
  color: var(--black) !important;
  text-transform: lowercase;
}

.punbb .post h3 a.permalink:hover, .punbb .post h3 span a:hover {
  color: var(--activ) !important;
}

/* C3.5 */
.punbb .post .post-author {
    float: left;
    width: 235px;
    margin: 10px 0;
    overflow: hidden;
    border-radius: 10px;
    border: var(--b_activ);
  }

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
width: 235px;
    line-height: 140%;
    background: var(--body);
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
  }

/* C3.7 */
.pa-author {
    width: 180px;
    padding: 8px 0 3px 0 !important;
    text-transform: uppercase;
    text-align: left;
    display: flex;
    align-items: center;
    font: var(--cat_h2);
    justify-content: flex-start;
  }
  
.pa-author a {  
    background: var(--gradient2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pa-author a:hover {color: var(--black) !important;}

.pa-avatar {width: 100%; text-align: center;}
.pa-avatar img {
  border: var(--b_activ) !important;
  max-width: 180px;
  max-height: 180px;
  padding: 2px;
  background: var(--body);
}

/* C3.9 */
li.pa-title {
width: 180px;
    font-size: 9px;
    text-align: left;
    padding-bottom: 3px;
    text-transform: lowercase;
  }

.pa-online {display: none;}

.pa-ip {
    width: 100%;
    text-align: center;
}

/* C3.11 */
.punbb .post-body {
  margin-left: 235px;
  padding: 0 0 1px 0;
  }

/* C3.12 */
.punbb .post-box {
  padding: 0.95em 2em 0.95em 2em;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  }

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  background: transparent;
  text-align: right;
  }

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  text-transform: uppercase;
  font: var(--yo_stat);
  letter-spacing: 0.5px;
  }
  
.punbb .post-links li a {display: inline-block; color: var(--black) !important;}
.punbb .post-links li a:hover {color: var(--dactiv) !important;}
.punbb .post-links li a:first-letter {color: var(--dactiv);}

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }
  
.pa-reg {
  display: none;
}

.pa-respect img {filter: hue-rotate(285deg);}

.pa-posts, .pa-respect {
  text-align: center;
  font-size: 10px;
  margin: 5px 0;
  display: flex;
  justify-content: center;
  gap: 3px;
  width: 37px;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}
  
.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 {
  display: flex;
  position: relative;
  font-size: 0;
  width: 30px;
  height: 13px;
  margin: 0 auto;
  padding: 2px 0;
  text-align: center;
}

.post-author li.pa-posts span {content: url(http://forumstatic.ru/files/001b/a8/4b/16533.svg);}
.post-author li.pa-respect .fld-name a {content: url(http://forumstatic.ru/files/001b/a8/4b/10396.svg);}
.isguest .post-author li.pa-respect .fld-name {content: url(http://forumstatic.ru/files/001b/a8/4b/10396.svg);}

.post-author li.pa-respect .fld-name a:hover {opacity: 0.5; transition: all 0.3s linear 0s;}

/* 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;
  background: var(--lgray);
  text-align: center;
  border: var(--b_activ);
  }
  
#profilenav li a  {color: var(--black) !important;}
#profilenav li a:hover {color: var(--activ) !important;}

/* C6.4 */
#viewprofile ul, #profilenav ul {
  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;
  color: var(--black);
  }
  
#viewprofile tbody tr {
    display: flex;
    align-items: stretch;
    text-transform: lowercase;
    gap: 10px;
    justify-content: center;
}
  
#profile-left {
    width: 28% !important;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 10px !important;
    border-radius: 10px 10px 0 0;
    align-items: center;
    background: var(--lgray);
    border: var(--b_activ) !important;
}

#profile-right {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

#profile-right li span a {color: var(--black) !important;}
#profile-right li span a:hover {color: var(--activ) !important;}

#viewprofile #profile-name strong {
    text-transform: uppercase;
    font: var(--yo_h2);
    padding: 10px;
}

#viewprofile li#pa-avatar img {
    border: var(--b_activ);
    padding: 3px;
    background: rgb(228 160 105 / 8%);
}

#viewprofile #pa-edit a {
    padding: 4px 9px;
    background: var(--black);
    border: solid 1px;
}

#viewprofile #pa-edit a:hover {
    background: rgb(228 160 105 / 8%);
    border: var(--b_activ);
}

#profile-signature ul {
    border-top: dotted 4px #e4aa7a40 !important;
}

.punbb #profile-signature .sigimage {
    max-width: 100% !important;
}


/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: 400 !important;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  border-top: none;
  }

/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
  display: none;
  }

/* D1.2 */
#pun-title h1 {
  display : block;
  height : 40px;
  padding: 2em 1em 0 1em;
  }

/* D1.3 */
#pun-title .container {
  border-style: none solid none solid;
  }

/* 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 {
    height: 25px;
}

#pun-navlinks .container {
    width: auto;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 0;
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

#pun-navlinks a {
    font: var(--cat_h2);;
    color: var(--activ) !important;
    text-transform: uppercase;
}

#pun-navlinks a:hover {
  color: var(--black) !important;
  outline: none;
  transition: all 0.3s linear 0s;    
}
/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
    margin-top: 0;
  }

/* D4.2 */
#pun-ulinks .container {
    width: 980px;
    height: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    align-items: center;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  text-transform: lowercase;
  font-size: 9px;
  letter-spacing: 1px;
  }

/* 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;
  position: absolute;
  top: -540px;
  right: 11px;
  }

/* D5.2 */
#pun-status .container {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  text-align: right;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  }

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  }


/* D5.5 */
#pun-crumbs1 p.container {
border-top: none;
    margin: 10px 45px;
    text-align: left;
    text-transform: uppercase;
    font: var(--yo_stat);
  }

/* D5.6 */
#pun-break1 {
  display: none;
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  }

/* D6.3 */
#pun-announcement .container {
  padding: 2.3em 1em 1em 1em;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  margin-top: 15px;
  gap: 10px;
  width: auto;
}

/* D7.2 */
.ststitems {
  display: flex;
  text-transform: lowercase;
  justify-content: space-between;
  color: var(--text5);
  font-size: 10px
}

.ststitems li {
  flex: auto;
  text-align: center;
  padding: 5px 0;
}


#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
  line-height: 150%;
  box-sizing: border-box;
  text-transform: uppercase;
  font: var(--yo_stat);
}

#pun-stats li.item4 strong a {font-weight: normal; color: var(--black);}
#pun-stats li.item4 strong a:hover {color: var(--dactiv);}
  
#pun-stats .statscon {width: 100%;}

#pun-stats .statscon .container {
display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 20px;
    border: var(--b_activ);
    border-radius: 10px;
    padding: 20px 40px;
}

/* D7.4 */
li#onlinelist {
width: 100%;
    box-sizing: border-box;
    text-transform: uppercase;
    font: var(--yo_flink);
    color: var(--dactiv);
  }
  
li#onlinelist span {color: var(--black);}

li#onlinelist span a {
    color: var(--black) !important;
    text-transform: capitalize;
}

/* D7.5 */
li#onlinelist div {
  padding-top: 10px;
  line-height: 1.5;
  }
  
li#onlinelist.item5.onlinelist {
   padding-top: 15px;
}

/* 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 1em;
  font-size: 9px;
  }

/* D8.5 */
#pun-about p span {
  display:block;
  text-transform: lowercase;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
border-bottom: none;
    text-align: left;
    text-transform: uppercase;
    font: var(--yo_stat);
    margin: 10px 45px 0;
  }

/* 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;
}

.punbb #form-buttons table {width: 100%;}

.punbb #form-buttons tr {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: space-between;
  padding: 5px;
  width: 100%;
  box-sizing: border-box;
}

#form-buttons td {
  background: none !important;
  position: relative;
  width: 15px;
  height: 15px;
  line-height: unset !important;
}

#form-buttons td:before {
 content: "";   
 position: absolute;
 width: 15px;
 height: 15px;
 display: flex;
 justify-content: center;
 align-items: center;
 left: 0;
 top: 0;
 pointer-events: none;
 font-family: FontAwesome;
 font-size: 14px;
 color: var(--black);
 transition: all 0.3s linear 0s; 
}

#form-buttons td:hover:before {
  color: var(--dactiv);
  outline: none;
  transition: all 0.3s linear 0s;    
}

#form-buttons td#button-font:before {content: "\f031";}
#form-buttons td#button-size:before {content: "\f034";}
#form-buttons td#button-bold:before {content: "\f032";}
#form-buttons td#button-italic:before {content: "\f033";}
#form-buttons td#button-underline:before {content: "\f0cd";}
#form-buttons td#button-strike:before {content: "\f0cc";}
#form-buttons td#button-indent:before {content: "\f03c";}
#form-buttons td#button-left:before {content: "\f036";}
#form-buttons td#button-center:before {content: "\f037";}
#form-buttons td#button-right:before {content: "\f038";}
#form-buttons td#floatbut:before {content: "\f1de";}
#form-buttons td#button-link:before {content: "\f0c1";}
#form-buttons td#button-spoiler:before {content: "\f02d";}
#form-buttons td#button-image:before {content: "\f03e";}
#form-buttons td#button-video:before {content: "\f144";}
#form-buttons td#button-hide:before {content: "\f2a8";}
#form-buttons td#button-quote:before {content: "\f10d";}
#form-buttons td#button-code:before {content: "\f121";}
#form-buttons td#button-color:before {content: "\f53f";}
#form-buttons td#button-table:before {content: "\f00b";}
#form-buttons td#button-smile:before {content: "\f118";}
#form-buttons td#button-sticker:before {content: "\f06d";}
#form-buttons td#button-keyboard:before {content: "\f11c";}
#form-buttons td#button-addition:before {content: "\f107";}
#form-buttons td#button-mask:before {content: "\f630";}

#pun-messages td#button-mask {display: none;}

/* всплывающие окна */ 
#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner, #pun-multimove .pun-modal .modal-inner {
  background: var(--lgray);
  border-radius: 10px;
}

#pun-report .inner h1, #pun-reputation .inner h1, #pun-admin-award-form .inner h1, #pun-multimove .pun-modal .modal-inner h1 {
  padding: 10px 0;
} 

#tags .container {
    top: 25px !important;
    background: var(--lgray);
    border: var(--b_activ);
    padding: 10px;
}

#font-area {overflow-x: auto; height: 100%;}