/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1752513739.css);
  @import url(https://forumstatic.ru/files/001a/e7/a4/46538.css?v=6);

:root {
--goldline: #d4b675;
--lightgold: #f4d798;
--profilegold: #ebdab6;
--goldy2: #cdb686;
--goldy3: #d2b981;
--darkgold: #c2a76b;
--goldborder: #dbc085;
--lightye: #f5ddaa;
--lightsand:#f5e0b2;
--darkblue: #1d1d2e;
--db2: #1c1c2b;
--db3: #0d0d14;
--mainviolet: #1a1a27;
--violet2: #1e1e30;
--lightviolet: #dbd8db;
--deepgreen: #454c31;
}


/* Fonts
-------------------------------------------------------------*/

/* BerolinaCapC */
@font-face {
    font-family: 'BerolinaCapC';
    src: local('BerolinaCapC'), url('//alexkolmar.github.io/fonts/berolinacapc/berolinacapc.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Cambria */
@font-face {
    font-family: 'Cambria';
    src: local('Cambria'), url('//alexkolmar.github.io/fonts/cambria/cambria.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Marta Decor Two */
@font-face {
    font-family: 'Marta Decor Two';
    src: local('Marta Decor Two'), url('//alexkolmar.github.io/fonts/martadecortwo/martadecortwo.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {font-family: AleksandraC; 
src: local("AleksandraC"), url(//forumstatic.ru/files/0017/9e/82/97804.ttf);}

@font-face {font-family: Marck Script; 
src: local("Marck Script"), url(//forumstatic.ru/files/0017/9e/82/58293.ttf);}

@font-face {font-family: Intro; 
src: local("Intro"), url(//forumstatic.ru/files/0017/9e/82/40606.otf);}

@font-face {font-family: Playfair Display; 
src: local("Playfair Display"), url(//forumstatic.ru/files/0017/9e/82/81546.ttf);}

@font-face {font-family: bebasneue; 
src: local("bebasneue"), url(//forumstatic.ru/files/0017/9e/82/63842.otf);}

@font-face {font-family: Montez; 
src: local("Montez"), url(//forumstatic.ru/files/0017/9e/82/56957.ttf);}

@font-face {font-family: Bad Script; 
src: local("Bad Script"), url(//forumstatic.ru/files/0017/9e/82/84495.ttf);}

@font-face {font-family: encapsulate plain-brk; 
src: local("encapsulate plain-brk"), url(//forumstatic.ru/files/0017/9e/82/12629.ttf);}

@font-face {font-family: encapsulate brk; 
src: local("encapsulate brk"), url(//forumstatic.ru/files/0017/9e/82/16723.ttf);}

@font-face {font-family: Degree Serif S; 
src: local("Degree Serif S"), url(//forumstatic.ru/files/0017/9e/82/65764.ttf);}

@font-face {font-family: Dancing Script;
src: local("Dancing Script"), url(//forumstatic.ru/files/0017/9e/82/74393.ttf);}

@font-face {font-family: Isadora; 
src: local("Isadora"), url(//forumstatic.ru/files/0017/9e/82/62453.ttf);}

@font-face {font-family: Calibri; 
src: local("Calibri"), url(//forumstatic.ru/files/0017/9e/82/96589.ttf);}

@font-face {font-family: Annabelle; 
src: local("Annabelle"), url(//forumstatic.ru/files/0017/9e/82/96996.ttf);}

@font-face {font-family: Lobster; 
src: local("Lobster"), url(//forumstatic.ru/files/0017/9e/82/19909.ttf);}

@font-face {font-family: arizonia; 
src: local("arizonia"), url(//forumstatic.ru/files/0017/9e/82/84807.ttf);}

@font-face {font-family: Fortuna Gothic FlorishC; 
src: local("Fortuna Gothic FlorishC"), url(//forumstatic.ru/files/0016/e7/ab/49625.ttf);}

@font-face {font-family: American TextC; 
src: local("American TextC"), url(//forumstatic.ru/files/0016/e7/ab/66579.ttf);}

@font-face {font-family: BelladonaStencil; 
src: local("BelladonaStencil"), url(//forumstatic.ru/files/0016/e7/ab/97039.ttf);}

@font-face {font-family: cubic; 
src: local("cubic"), url(//forumstatic.ru/files/0016/e7/ab/84329.ttf);}

@font-face {font-family: cubic; 
src: local("cubic"), url(//forumstatic.ru/files/0016/e7/ab/84329.ttf);}

@font-face {font-family: AmericanHorrorStory Promo;
src: local("AmericanHorrorStory Promo"), url(//forumstatic.ru/files/001a/e7/a4/60775.ttf);}

@font-face {font-family: Neucha;
src: local("Neucha"), url(//forumstatic.ru/files/001a/e7/a4/14856.ttf);}

@font-face {font-family: Comfortaa;
src: local("Comfortaa"), url(//forumstatic.ru/files/001a/e7/a4/88301.ttf);}

@font-face {font-family: Caveat;
src: local("Caveat"), url(//forumstatic.ru/files/001a/e7/a4/58588.ttf);}

@font-face {font-family: Streetbrush;
src: local("Streetbrush"), url(//forumstatic.ru/files/001a/e7/a4/11619.otf);}

@font-face {font-family: Molodo;
src: local("Molodo"), url(//forumstatic.ru/files/001a/e7/a4/17777.otf);}

@font-face {font-family: DopestyleG;
src: local("DopestyleG"), url(//forumstatic.ru/files/001a/e7/a4/19510.otf?v=1);}

@font-face {font-family: Dosis;
src: local("Dosis"), url(//forumstatic.ru/files/001a/e7/a4/39628.ttf);}

@font-face {font-family: Detectiv;
src: local("Detectiv"), url(//forumstatic.ru/files/001a/e7/a4/18248.ttf);}

@font-face {font-family: Runic;
src: local("Detectiv"), url(https://forumstatic.ru/files/001a/e7/a4/34486.ttf?v=1);}

@font-face {font-family: Runic-AltNo;
src: local("Runic-AltNo"), url(https://forumstatic.ru/files/001a/e7/a4/58865.ttf?v=1);}

@font-face {font-family: Bebas;
src: local("Bebas"), url(https://forumstatic.ru/files/001a/e7/a4/11585.ttf?v=1);}

@font-face {font-family: Tolkien;
src: local("Tolkien"), url(https://forumstatic.ru/files/001a/e7/a4/18144.ttf);}

@font-face {font-family: Faceyourfear;
src: local("Faceyourfear"), url(//forumstatic.ru/files/001a/e7/a4/96032.ttf);}

@font-face {font-family: Morfheus;
    src: local("Morfheus"), url(//forumstatic.ru/files/001b/6e/a7/34874.ttf);}


/* 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: 80%/1.4em Verdana, Arial, "Trebuchet MS", Trebuchet, Sans-serif;
  }

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif;
  background-color: var(--lightviolet);
  border: 1px solid #5b5e51;
  }

/* 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 {
  font: normal 14px/27px verdana;
  text-align: center;
  width: auto;
  display: block;
  margin: 0 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.punbb legend span {
  font: normal 10px/15px verdana;
  text-transform: uppercase;
}

/* 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;
  }


/* Зачёркнутый текст
------------------------------------------*/

del, s {
  text-decoration: none;
  filter: blur(3px);
  transition: all 0.3s ease-in-out 0.1s;
  color: var(--goldy2);
}

del:hover, s:hover {
  background: transparent;
  color: currentColor;
  text-decoration: none!important;
  filter: blur(0px);
}


  /* 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: 136px auto 0;
  width: 1132px;
  padding: 0;
  border: none;
  position: relative;
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
  margin: 227px auto 200px;
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/73813.png) repeat-y top center;
}

/* 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;}

#pun-post .post {margin-top: 0;}

/* 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;
  }


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

.punbb .post {scroll-margin-top: 60px;}

/* B1.1 */
.punbb .post-content {
  padding: 15px 10px 10px;
  box-sizing: border-box;
  margin: 0;
  width: 100%;
  overflow: hidden;
  }

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid #888;
  width: 250px;
  margin: 5px auto;
  }

.punbb .post-content abbr {border-bottom: 1px dashed;}

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  text-align: justify;
}

.punbb .post-content a {color: #3b671e;}
.punbb .post-content a:hover {color: #5757ab;}

.punbb .post-content a.post-mention {font-weight: bold;}

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom;
  }

.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.5 */

.punbb .post-content table tr {vertical-align: top;}


/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  padding: 10px 20px;
  box-shadow: 0 0 20px rgba(24, 19, 9, .3) inset;
  box-sizing: border-box;
  background: url(//forumstatic.ru/files/0012/0b/b4/58944.png) repeat-y top left, url(//forumstatic.ru/files/0012/0b/b4/58944.png) repeat-y top right, url(//forumstatic.ru/files/0012/0b/b4/96353.png) repeat-x bottom center, url(//forumstatic.ru/files/0012/0b/b4/96353.png) repeat-x top center rgba(56, 60, 44, .05);
}

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 5px 0 10px;
  padding: 0;
  border: none;
  }

.punbb .post-content .spoiler-box {
  padding: 10px 20px;
  box-shadow: 0 0 20px rgba(24, 19, 9, .3) inset;
  box-sizing: border-box;
  background: url(//forumstatic.ru/files/0012/0b/b4/58944.png) repeat-y top left, url(//forumstatic.ru/files/0012/0b/b4/58944.png) repeat-y top right, url(//forumstatic.ru/files/0012/0b/b4/96353.png) repeat-x bottom center, url(//forumstatic.ru/files/0012/0b/b4/96353.png) repeat-x top center rgba(56, 60, 44, .05);
}

.punbb .post-content .spoiler-box blockquote {
  box-shadow: none;
}

.post-content .spoiler-box > blockquote.visible {background: none !important;}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  position: relative;
  padding-bottom: 2px;
  margin: 0 0 -4px;
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/96259.png) repeat-x top center;
  height: 30px;
  box-sizing: border-box;
  color: #eedfbd;
  text-align: center;
  font: normal 16px/28px Cambria, sans-serif;
}

.punbb .code-box strong.legend a {color: var(--lightye);}
.punbb .code-box strong.legend a:hover {color: var(--goldborder);}

.post-content .spoiler-box > div.visible {margin-bottom: 10px;}


/* 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%;
  font-size: 12px;
  padding: 5px 60px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}

/* B3.2 */
.multipage {
  margin: 10px 0;
  }

/* B3.3 */
.linkst .pagelink {
  position: relative;
  display: inline-block;
}

/* B3.4 */
.linkst .postlink {
  position: relative;
  display: inline-block;
  text-align: right;
  font-weight: bold;
  }

/* 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: 10px 15px;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 15px;
  margin: 10px 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 15px;
  margin: 0 0 10px 0;
}

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 10px;
  font-size: 12px;
  }

/* 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 8px;
  }

/* 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 {
  width: 64%;
  margin: 0;
  }

.punbb .longinput input {
  width: auto;
  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
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
  }

/* 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 {
  height: 38px;
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/96259.png) repeat-x top center;
  box-shadow: 0 3px 12px rgba(30, 33, 23, .5);
  text-align: center;
  width: 590px;
  margin: 0 0 22px -16px;
}

#pun-index .tcl h3 a {
  font: normal 14px/41px verdana;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--lightgold);
}

#pun-index .tcl h3 a:hover {color: var(--goldline);}

/* 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 {
  border: 0 none transparent !important;
  padding: 10px;
  }

/* C2.12 */
.punbb .main th {
  border: none;
  padding: 5px 10px;
  }

/* C2.13 */
.punbb .main .tcl {
  border: none;
  }

/* C2.14 */
.punbb tbody.hasicon td.tcl {

  }

/* C2.15 */
.punbb div.icon {
  border: none;
  height: 20px;
  width: 20px;
  float: right;
  }

/* C2.16 */
.punbb  table div.icon {
  position: relative;
  }

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post > .container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border: none;
  margin: 0;
  padding: 0 49px 0 51px !important;
  box-sizing: border-box;
  position: relative;
}

.punbb .post #post {padding: 15px 10px !important;}

.punbb .post #post fieldset #togglePreview {display: none;}

/* C3.2 */
.punbb .post h3 {
  height: 28px;
  box-sizing: border-box;
  margin: 0 49px -10px 51px;
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/783967.png) repeat-x top center;
  box-shadow: 0 1px var(--darkgold) inset, 0 -1px var(--darkgold) inset, 0 1px 3px rgba(0,0,0,.4);
  border-top: 1px solid var(--mainviolet);
  border-bottom: 1px solid var(--mainviolet);
  position: relative;
}

#pun-post .post h3 {margin-bottom: 0;}

.punbb .post h3:after {
  content: "";
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/72432.png) no-repeat center;
  position: absolute;
  width: 125px;
  height: 54px;
  top: -13px;
  right: -9px;
  pointer-events: none;
}

/* C3.3 */
.punbb .post h3 span {
  padding: 0 10px;
  display: block;
  border: none;
  font: bold 9px/26px verdana, sans-serif;
  text-transform: uppercase;
  box-sizing: border-box;
  color: var(--goldy2);
}

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
  position: relative;
  right: 75px;
}

.punbb .post h3 a {color: var(--goldy2);}
.punbb .post h3 a:hover {color: var(--lightgold);}

/* C3.5 */
.punbb .post .post-author {
  position: sticky;
  top: 54px;
  width: 286px;
  text-align: center;
  overflow: hidden;
  color: var(--profilegold);
  margin: -6px 0 30px -50px;
  box-sizing: border-box;
  height: fit-content;
}

#pun-post .post-author {
  position: relative;
  padding: 15px 2px !important;
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/783967.png) repeat top center;
  box-sizing: border-box;
  box-shadow: 0 0 0 2px var(--darkgold) inset, 0 0 13px rgba(226, 208, 167, .2) inset;
  border: 1px solid var(--mainviolet);
  width: 236px;
  margin: 0;
  top: initial;
}

#pun-searchposts .post .post-author {margin-bottom: 0;}

/* C3.6 */
.punbb .post .post-author ul {
  position: relative;
  padding: 15px 2px;
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/783967.png) repeat top center;
  box-sizing: border-box;
  box-shadow: 0 0 0 2px var(--darkgold) inset, 0 0 13px rgba(226, 208, 167, .2) inset;
  border: 1px solid var(--mainviolet);
  width: 236px;
  margin: 7px 0 0 50px;
}

.punbb .post .post-author p {line-height: 140%;}

.punbb .post .post-author a {color: #95a572;}
.punbb .post .post-author a:hover {color: var(--goldline);}

/* C3.7 */
.pa-author {
  font: normal 24px/28px marta decor two;
  letter-spacing: .5px;
  background: rgba(56, 60, 44, .2);
  box-sizing: border-box;
  border-top: 1px solid rgba(194, 167, 107, .3);
  border-bottom: 1px solid rgba(194, 167, 107, .3);
  margin-bottom: 10px;
}

/* C3.8 */
.punbb .post-author .pa-author a {
  color: var(--profilegold);
  text-decoration: none;
}

/* C3.9 */
li.pa-title {
  font: 300 12px/12px Calibri, sans-serif;
  letter-spacing: 1px;
  position: absolute;
  transform: rotate(-90deg);
  transform-origin: left top;
  width: 200px;
  margin: 1px 0 0 -2px;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  justify-items: center;
  padding: 1px 0;
  box-sizing: border-box;
}

li.pa-avatar {
  width: 182px;
  height: 182px;
  margin: 0 auto 5px;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: center;
}

li.pa-avatar img {
  border: 1px solid var(--darkgold);
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  object-position: top center;
}

/* Плашка */

.plank {
  display: flex !important;
  display: -webkit-flex !important;
  height: 34px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 2px auto;
  padding: 0 10px !important;
  box-sizing: border-box;
  border-top: 1px solid var(--darkgold);
  border-bottom: 1px solid var(--darkgold);
  box-shadow: 0 2px 10px rgba(237, 222, 196, .25) inset, 0 -2px 10px rgba(237, 222, 196, .25) inset;
}

li#pa-fld1 .plank {
  max-width: 232px;
  margin: 2px 0;
  background: url(//forumstatic.ru/files/0012/0b/b4/44868.jpg) repeat top center;
}

.plank img {
  max-height: 50px;
  max-width: 50px;
}

.plank p {
  display: block;
  text-align: center !important;
  width: 100%;
  padding: 0 5px !important;
  box-sizing: border-box;
  font: 400 15px/14px 'Alumni Sans', sans-serif !important;
  letter-spacing: .5px;
  color: var(--profilegold) !important;
}

li.pa-fld4 {margin: 7px auto 3px;}

li.pa-fld4 .name {
  position: relative;
  font: bold 12px/15px arial, sans-serif;
}

li.pa-fld4 .lz {padding: 0 10px}

li.pa-fld4 .name:after {
  content: "";
  background: -moz-linear-gradient(left, rgba(194,167,107,0) 0%, rgba(194,167,107,1) 50%, rgba(194,167,107,0) 100%);
  background: -webkit-linear-gradient(left, rgba(194,167,107,0) 0%,rgba(194,167,107,1) 50%,rgba(194,167,107,0) 100%);
  background: linear-gradient(to right, rgba(194,167,107,0) 0%,rgba(194,167,107,1) 50%,rgba(194,167,107,0) 100%);
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00c2a76b', endColorstr='#00c2a76b',GradientType=1 );
  width: 180px;
  height: 1px;
  display: block;
  margin: 2px auto;
}

li.pa-fld4 .occ {  font: normal 11px/14px verdana;}

li.pa-fld4 .about {
  text-align: left;
  display: block;
  width: 198px;
  margin: 5px auto 0;
  padding: 5px 7px;
  box-sizing: border-box;
  background: rgba(56, 60, 44, .2);
  border: 1px solid rgba(194, 167, 107, .3);
  font: normal 12px/110% Cambria, sans-serif;
  letter-spacing: .5px;
}

li.pa-fld2, li.pa-fld3, li.pa-posts, li.pa-respect, li.pa-fld6 {
  background: rgba(56, 60, 44, .2);
  box-sizing: border-box;
  border: 1px solid rgba(194, 167, 107, .3);
  font: bold 10px/15px arial, sans-serif;
}

li.pa-fld3 {
  margin: 0 auto 3px;
  width: 198px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

li#pa-fld3 strong.GamePst2 {color: initial !important;}
.punbb span.GamePst, .punbb strong.GamePst2 {padding-right: 0 !important;}

li.pa-fld2, li.pa-posts, li.pa-respect {
  margin: 0 auto 3px 16px;
  width: calc(198px);
  text-transform: lowercase;
  text-align: center;
  padding: 0 7px;
}

li.pa-fld2 p {display: inline;}

li.pa-respect a img {vertical-align: middle;}

li.pa-fld5 {
  display: block;
  float: right;
  position: relative;
  margin: -1px 16px 0 auto;
  bottom: 20px;
  height: 57px;
  width: 77px;
  cursor: pointer;
}

li.pa-fld6 {
  margin: 0 auto 3px;
  width: 198px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

li.pa-online, li.pa-last-visit {
  position: absolute;
  font-size: 0;
  display: block;
  width: 43px;
  height: 90px;
  top: 0;
  left: 0;
  margin: -10px 0 0-41px;
}

li.pa-online {background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/349850.png) no-repeat top center;}
li.pa-last-visit {background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/719468.png) no-repeat top center;}

/* спойлер наград */

#awrdbut * {cursor: pointer; }

#awrdbut {
  display: block;
  width: 100%;
  height: 20px;
  float: none;
  clear: both;
}

#awrdbut img {
  margin: 0 auto;
  display: block;
}

.mini_awards {display: none;}

.mini_awards_label {display: none !important;}

li.pa-awards > br {display: none;}


/* C3.11 */
.punbb .post-body {
  margin: 0;
  border: none;
  padding: 0;
  width: auto;
  flex-grow: 1;
  box-sizing: border-box;
  max-width: calc(100% - 236px);
}

.punbb .post.hideprofile .post-body {max-width: unset !important;}

/* C3.12 */
.punbb .post-box {
  padding: 0;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin: 0;
  bottom: 0;
  border: none;
  width: 1032px;
/* position: absolute; */
  box-sizing: border-box;
}

/* C3.15 */
.punbb .post-links ul {
  padding: 0 20px 0 10px;
  height: 2em;
  line-height: 2em;
  margin: 0;
  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;
  }

#topic-users-in a:not(:last-of-type):after {
content: ",";
color: var(--db3);
}

  /* 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 */
.punbb #profile > .container {
  padding: 10px 60px 10px 230px !important;
}

#viewprofile #profile-left {text-align: center;}

#pun-messages #messages .fs-box .container {padding: 10px 15px !important;}

#pun-messages .hasicon .inew .tclcon a {font-weight: bold;}

#pun-messages .messages-container .container fieldset {padding: 0 !important;}

#pun-messages .messages-container .post h3 {margin-right: -10px;}

#pun-messages .messages-container .post-author li.pa-title {display: none;}

#pun-messages .messages-container .post-author li.pa-reg,
#pun-messages .messages-container .post-author li.pa-posts {
  font-size: 10px;
  display: block;
  width: 180px;
  margin: 5px auto;
  text-align: center;
}

#pun-messages .messages-container .post .container {padding: 9px 0 0 51px !important;}

/* C6.2 */
#profilenav {
  float: left;
  width: 170px;
  margin-left: -170px;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {
  border: none;
  padding: 5px 10px;
  margin: 0;
  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/96259.png) repeat-x top center;
  box-shadow: none;
  height: 28px;
  border: none;
  padding: 0;
  margin: 0;
}

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  font: normal 14px/28px verdana;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--lightgold);
}

#profile #messages fieldset legend span {margin: 0;}

/* 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: 3px 10px;
  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;
  }

/* 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;
  background:  no-repeat top center;
  position: absolute;
  top: -46px;
  right: 110px;
  height: 174px;
  width: 424px;
  pointer-events: none;
}

#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 {
  position: fixed;
  border: none;
  margin: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(28 28 43 / 95%);
  border-bottom: 1px solid rgba(219, 192, 133, .7);
  box-shadow: 0 1px 5px #101018;
  z-index: 201;
}

#pun-navlinks .container {
  border: none;
  margin: 0;
  }

/* D3.2 */
#pun-navlinks .container {
  padding: 10px !important;
  height: 25px;
  text-align: center;
}

/* D.3 */
#pun-navlinks li {
  display: inline;
  margin: 0 10px;
}

/* D3.4 */
#pun-navlinks li a {
  font: normal 20px/100% BerolinaCapC;
  color: var(--goldline);
  letter-spacing: .5px;
}

#pun-navlinks li a:hover, #pun-ulinks li a:hover {color: var(--lightgold);}


/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
  text-align: center;
  margin: 0 !important;
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  z-index: 201;
}

/* D4.2 */
#pun-ulinks .container {
  border: none;
  padding: 5px 10px !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 12px/100% verdana, sans-serif;
  color: var(--goldline);
  text-transform: lowercase;
}

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border: none;
  padding-left: 0
  }

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status {
  position: absolute;
  top: 192px;
  left: 2px;
}

/* D5.2 */
#pun-status .container {
  border: none;
  margin-bottom: 0;
  padding: 0 35px !important;
  height: -36px;
  font: small-caps normal 11px/22px verdana;
}

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  color: var(--goldline);
  }

#pun-status span a {color: var(--darkgold);}
#pun-status span a:hover {color: var(--ligtgold);}

#pun-status p span.item3 {margin-left: 5px;}
#pun-status .item4.status-right {display: none;}

#pun-status .status_userava {
  margin-right: 5px;
  display: inline-block;
  height: 36px;
  box-sizing: border-box;
  position: relative;
}

#pun-status .status_userava img {
  border: 1px solid var(--goldborder);
  border-radius: 0 !important;
  box-sizing: border-box;
  vertical-align: top;
  margin: 0 !important;
}

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  }

/* D5.5 */
#pun-crumbs1 p.container {
  border: none;
  padding: 15px 60px !important;
  font: normal 16px/18px Cambria, serif;
}

/* 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 {
  display: none;
  padding: 0;
  margin: 0;
  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: 5px 60px !important;
  }

#pun-announcement .container .html-box {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#pun-announcement .plashka {
  display: inline-flex;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  width: 183px;
  height: 42px;
  color: #e0ca9c;
  background: var(--db2) url(//forumstatic.ru/files/0012/0b/b4/44868.jpg) repeat top left;
  box-shadow: 0 0 10px rgba(240, 230, 219, .2) inset;
  border: 1px solid var(--darkgold);
  box-sizing: border-box;
  margin: 10px 5px 0;
  padding: 0px;
}

#pun-announcement .plashka:hover {
  box-shadow: 0 10px 20px rgba(179, 176, 242, .3) inset, 0 0 10px rgba(240, 230, 219, .2) inset;
}

#pun-announcement .plashka img {
  display: block;
  width: auto;
  height: 50px;
}

#pun-announcement .plashka .textnews {
  font: normal 10px/11px verdana, sans-serif;
  box-sizing: border-box;
  padding: 0 5px;
  flex-grow: 1;
}


#pun-announcement .plashka span {text-transform: uppercase;}

/* Плашка тематическая
-------------------------------------------------------------*/
#pun-announcement .plashka2 {
  display: inline-flex;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  width: 183px;
  height: 42px;
  color: #e0ca9c;
    background: var(--db2) url(https://i.imgur.com/0hXgAnD.png);
    background-size: cover;
  box-shadow: 0 0 10px rgba(240, 230, 219, .2) inset;
  border: 1px solid var(--darkgold);
  box-sizing: border-box;
  margin: 10px 10px 0;
  padding: 5px;
}

#pun-announcement .plashka2:hover {
  box-shadow: 0 10px 20px rgba(179, 176, 242, .3) inset, 0 0 10px rgba(240, 230, 219, .2) inset;
}

#pun-announcement .plashka2 .textnews {
  font: normal 12px/13px verdana, sans-serif;
  box-sizing: border-box;
  padding: 0 5px;
  flex-grow: 1;
}


#pun-announcement .plashka2 img {
  display: block;
  width: auto;
  height: 50px;
}


/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 5px 15px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  font: normal 14px/16px Cambria, serif;
}

/* D7.2 ? D7.3 */
#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
  font: normal 12px/150% verdana;
  display: inline-flex;
  padding: 3px 0 4px;
  background: var(--darkblue);
  color: var(--lightgold);
  flex-grow: 1;
  margin: 0 3px;
  justify-content: center;
  align-content: center;
  align-items: center;
}

#pun-stats li.item1 strong, #pun-stats li.item2 strong, #pun-stats li.item3 strong, #pun-stats li.item4 strong {padding-left: 5px;}

#pun-stats li.item4 strong a {color: var(--lightgold);}
#pun-stats li.item4 strong a:hover {color: var(--lightye);}

/* D7.4 */
li#onlinelist {
  margin: 5px 3px 0;
  border: none;
  float: left;
  width: 100%;
  line-height: 130%;
  text-align: justify;
}

/* D7.5 */
li#onlinelist div {
  border: none;
  padding: 0.7em 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: 8px 10px;
  }

/* 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: normal 16px/18px Cambria, serif;
  text-align: center;
  }

/* 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;
  }

.punbb-admin {
  padding: 0 60px;
  box-sizing: border-box;
}


/* Index
-------------------------------------------------------------*/

#pun-index .category .container {padding: 10px 50px !important;}

#pun-index thead {display: none;}

#pun-index .tcl {
  width: 610px;
  padding: 10px 10px 10px 20px;
  box-sizing: border-box;
}

#pun-index .tc2, #pun-index .tc3 {
  width: 60px;
  padding: 10px;
  box-sizing: border-box;
}

#pun-index .tcr{
  width: 282px;
  padding: 10px 20px 10px 10px;
  box-sizing: border-box;
}

#pun-index .hasicon .intd {
  min-height: 50px;
/*  border: 3px solid #434734; */
  border-top: none;
  width: 590px;
  box-sizing: border-box;
  padding: 0 13px 13px;
  position: relative;
}

#pun-index .hasicon .tclcon {
  font: normal 15px/100% Cambria, sans-serif;
  text-align: justify;
  display: flex;
  flex-direction: column;
}

#pun-index .hasicon .icon {
  position: absolute;
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/250292.png) no-repeat top center;
  width: 171px;
  height: 86px;
  top: -5px;
  left: -32px;
  pointer-events: none;
}

#pun-index .intd .subforums {
  text-align: center;
  margin-top: 10px;
  width: 100%;
  font-size: 0;
  order: 1;
  display: flex;
}

#pun-index .intd .opis {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#pun-index .intd .opis.alt {
  flex-direction: column;
}

#pun-index .intd p {
  width: 65%;
}

#pun-index .intd .links {
  width: 34%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-right: -3px;
}

#pun-index .intd .links a, #pun-index .intd .subforums a {
  display: inline-flex;
  border: 1px solid #cfbfc9;
  padding: 4px 5px;
  background: rgba(56, 60, 44, .1);
  font: bold 10px/16px verdana;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-sizing: border-box;
  margin: 2px 3px;
  flex-grow: 1;
  align-content: center;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#pun-index .intd .subforums a {
  height: 28px;
}

#pun-index .intd .links a:hover, #pun-index .intd .subforums a:hover {
  background: var(--deepgreen);
  color: var(--lightgold);
}


/* Онлайн на аватарах */

.punbb .user-avatar {width: 48px !important;}
.punbb .user-avatar .avatar-image {float: right !important;}
#pun-index .user-avatar {margin-bottom: 20px !important;}

.punbb .main .user-avatar .isonline {
  left: 0 !important;
  background: url(//forumstatic.ru/files/0012/0b/b4/41125.png) no-repeat top left !important;
  border-radius: 0;
  width: 25px;
  height: 35px;
  top: -6px;
  animation: none !important;
  z-index: 1;
}

#pun-index .tcr .byuser {display: block;}


/* Закладки */

#pun #BookmCntToggle.default-style::before {display: none;}

#pun #BookmCntToggle {
    top: 70px;
    background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/51863.png) no-repeat top center;
    border: none;
    box-shadow: none;
    height: 53px;
    width: 45px;
}

#pun #MyBookmarks {
  width: 250px !important;
  border: 1px solid var(--goldborder);
  background: url(//forumstatic.ru/files/0012/0b/b4/44868.jpg) repeat top left;
  box-shadow: 0 0 10px rgba(243, 226, 189, .5) inset;
  box-sizing: border-box;
  padding: 0 !important;
  top: 60px;
  z-index: 50;
  height: calc(100% - 60px);
}

#pun #MyBookmarks h2, #pun #MyBookmarks h1, #pun .editBookmark h2 {
  background: transparent;
  border: 1px solid rgba(194, 167, 107, .25);
  margin: 10px;
}

#pun #MyBookmarks h2 span, #pun #MyBookmarks h1 span, #pun .editBookmark h2 span {
  font: normal 18px/150% BerolinaCapC, serif;
  text-align: left;
}

#pun #MyBookmarks .container {
  margin: 0 10px !important;
  border: 1px solid rgba(194, 167, 107, .25);
  padding: 10px !important;
  box-sizing: border-box;
  color: var(--goldborder);
  font: normal 18px/30px 'Alumni Sans', sans-serif;
  letter-spacing: 2px;
  height: calc(100% - 65px) !important;
}

#pun #MyBookmarks span.scrl {
  position: absolute;
  top: 0;
  box-shadow: 0 0 5px -1px rgba(0, 0, 0, .5);
  width: 80px;
  margin: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  box-sizing: border-box;
  height: 30px;
  font: bold 20px/20px Cambria;
  padding: 0;
}

#pun #MyBookmarks .scrl.t {left: 0;}

#pun #MyBookmarks .scrl.b {right: 0;}

#pun #MyBookmarks .scrl span:before {
  content: "\25B2";
  color: var(--goldborder);
}

#pun  #MyBookmarks li num {
  width: fit-content;
  padding: 0;
  margin-right: 5px;
}

#pun  #MyBookmarks li.BookmarkL > span > a {
  padding: 0 10px !important;
  box-sizing: border-box;
  color: var(--goldborder);
  font: normal 14px/30px Calibri, sans-serif;
  letter-spacing: 0;
}

#pun #MyBookmarks li.BookmarkL > span > a:hover {color: var(--lightgold);}

.punbb .post-box .editBookmark h1 {
  margin: 0;
  width: 100%;
}

.punbb .post-box .editBookmark .container {
  box-sizing: border-box;
  padding: 10px 15px !important;
  background: #efe9ef !important;
}

.punbb .post .bookmark {
  color: var(--deepgreen) !important;
  margin-right: -9px;
}


/* Кнопки вверх-вниз
--------------------------------------------------- */

.go-up,.go-down {
        display: none;
        position: fixed;
        z-index: 9999;
        cursor: pointer;
        opacity: 1;
        width:95px;
        height: 127px;
        margin-left: 1040px;
        transition: all .2s linear 0s;
}

.go-up:hover,.go-down:hover {opacity: 1;}

.go-up {
  top: 420px; /*положение от низа окна браузера верхняя кнопка*/
}

.go-down {
  top: 470px; /*положение от низа окна браузера нижняя кнопка кнопка*/
}

.go-down:hover,.go-up:hover {opacity:1;}

.punbb .post-author.no-avatar li.pa-author {margin-bottom: 190px;}

.post .post-author.no-avatar .pa-author:after {
  content: '';
  display: block;
  background: no-repeat center/cover;
  border: 1px solid var(--darkgold);
  position: absolute;
  width: 180px;
  height: 180px;
  margin: 5px -50% 5px auto;
  left: 50%;
  transform: translate(-50%, 0);
}


/* Для маски профиля на профиль без авы */

.punbb .post-author.no-avatar .hv-mask .pa-author {margin-bottom: 10px;}
.punbb .post-author.no-avatar .hv-mask .pa-author:after {display: none;}


#viewprofile-next.no-avatar #pa-avatar strong {
font-size: 0;
display: block;
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
background-image: ; /* Адрес картинки */
width: 180px; /* Ширина аватары */
height: 180px; /* Высоты аватары */
margin: 5px auto 5px; /* отступы от других полей и выравнивание по центру */
}

.avatar-image[style*="default_avatar.jpg"]{
       background-image:url(//forumstatic.ru/files/001b/6e/a7/19496.gif)!important;
}


/* Изменение размера шрифта
--------------------------------------------------- */

.FNTslider {
  border-radius: 1px;
  -webkit-border-radius: 1px!important;
  position: relative;
  background: var(--darkblue);
  width: 110px;
  height: 6px;
  margin: 4px 100px;
  box-shadow: 0 0 2px 1px rgba(194, 167, 107, .4) inset;
  float: right;
  z-index: 10;
  top: 7px;
}

.FNTslider .before {
  height: 6px;
  box-shadow: -1px 1px 1px rgba(29, 29, 46, .6) inset, 1px -1px 1px rgba(255, 255, 255, .6) inset;
  border-right: none 0;
  border-radius: 1px 0 0 1px;
  position: absolute;
  background: var(--darkgold);
  margin: 0;
}

.FNTslider .thumb {
  width: 16px;
  height: 10px;
  border-radius: 2px;
  position: relative;
  top: -2px;
  background: var(--violet2);
  cursor: pointer;
  box-shadow: 0 0 1px rgba(255, 255, 255, .4) inset;
}


/* Всплывающее окно цитирования
--------------------------------------------------- */

#Bubble {
  display: none;
  height: auto;
  text-align: center;
  z-index: 10;
  border: none;
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/68926.png) repeat-x top center;
  font: normal 16px/100% Cambria, sans-serif;
  padding: 2px 10px 5px
}

#Bubble a {
  color: #eedfbd;
  text-decoration: none;
}


/* всплывающая подсказка при наведении 
-------------------------------------------------------------*/

#tooltip {
  position: absolute;
  background: var(--darkblue);
  border: 1px solid rgba(194, 167, 107, .5);
  border-radius: 1px;
  z-index: 999;
  display: none;
  padding: 3px 10px;
  max-width: 210px;
  font: normal 11px/14px verdana, sans-serif;
  color: var(--lightgold); /* цвет текста */
  text-shadow: 1px 1px 0 #000;
  text-align: center;
  letter-spacing: 1px;
  box-shadow: 0 1px 3px rgba(30, 33, 23, .3);
}

/* Маска профиля
--------------------------------------------------- */

#pun #mask_dialog .inner.container {
  background: var(--lightviolet);
  padding: 10px !important;
}

#pun #mask_dialog .inner.container textarea, #pun #mask_dialog .inner.container input[type="text"] {background: #b7b7b7;}

#pun #mask_dialog .hv-masks-storage {flex: 0 1 160px;}

/* Гостевая
--------------------------------------------------- */

.guestbook {
  background: url(//forumstatic.ru/files/0012/0b/b4/80950.jpg) no-repeat top center;
  width: 993px;
  height: 522px;
  margin: 60px auto 20px;
  display: flex;
  padding: 4px;
  box-sizing: border-box;
  color: var(--lightsand);
}

.guestbook .gleft p {
  padding: 0 !important;
  font: normal 12px/15px verdana !important;
  color: #b3b2b0;
}

.gleft {
  width: 574px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.glinks {display: flex;}

.glinks a {
  border: 1px solid var(--darkgold);
  display: inline-flex;
  flex-grow: 1;
  height: 35px;
  text-decoration: none;
  color: var(--lightsand) !important;
  font: bold 10px/11px AGOpus;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  align-content: center;
  text-align: center;
  box-sizing: border-box;
  padding: 5px 20px;
  letter-spacing: 2px;
  transition: all .2s linear 0s;
}

.glinks a:hover {color: var(--goldline) !important;}

.greetings {  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-around;
  box-sizing: border-box;
  padding: 10px;
}

.post-content .guestbook .hello {
  font: normal 16px/16px Alumni Sans, sans-serif !important;
  letter-spacing: .5px;
  box-sizing: border-box;
  padding: 25px 45px;
}

.adminblock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 500px;
  margin: 0 auto;
}

.adminblock a {
  background: var(--mainviolet);
  display: flex;
  width: 118px;
  height: 92px;
  border: 1px solid var(--darkgold);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
        position: relative;
}

.codeblock {
  background: #15151f;
  display: block;
  width: 510px;
  height: 60px;
  border: 1px solid var(--darkgold) !important;
        margin: 12px 25px !important;
}

.punbb .guestbook .codeblock strong.legend {
  position: absolute;
  margin: -15px 0 0 -20px;
  padding: 5px 15px;
  background: var(--darkgold);
  color: #131320;
  text-transform: uppercase;
  font: bold 12px/16px AGOpus;
  letter-spacing: 2px;
  height: 25px;
}

.punbb .guestbook .blockcode {
  background: none;
  color: var(--goldline);
  box-shadow: none;
  padding: 15px 20px 10px;
  height: 60px;
}

.punbb .guestbook .blockcode .scrollbox {
  height: 100% !important;
}

.punbb .guestbook *::-webkit-scrollbar {width: 7px; height: 8px;}
.punbb .guestbook *::-webkit-scrollbar-track {background-color: var(--darkblue);}
.punbb .guestbook *::-webkit-scrollbar-thumb {background-color: var(--deepgreen);}
.punbb .guestbook * {scrollbar-width: thin;}

.gright {
  flex-grow: 1;
  position: relative;
}

.gright:before {
  content: "";
  display: block;
  background: url(//forumstatic.ru/files/0012/0b/b4/10081.png) no-repeat top center;
  width: 100%;
  height: 91px;
  position: absolute;
  left: 0;
  top: -60px;
}

.gright:after {
  content: "";
  display: block;
  background: url(//forumstatic.ru/files/0012/0b/b4/17827.png) no-repeat top center;
  width: 280px;
  position: absolute;
  height: 140px;
  bottom: -17px;
  right: 36px;
  pointer-events: none;
}

.guestbook .tabs {
  position: relative;
  margin: 40px 35px 22px 20px;
  height: calc(100% - 61px);
  box-sizing: border-box;
  border: 1px solid var(--darkgold);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: baseline;
  justify-content: center;
  padding: 10px;
}

.guestbook .tab, .guestbook .tab-title {
  display: inline-block; /* Выстраиваем по горизонтали */
}

.guestbook .tab input[type="radio"] { display: none; }
   
.guestbook .tab-title {
  background: rgba(194, 167, 107, .05);
  border: 1px solid var(--darkgold);
  width: 160px;
  margin: 3px;
  box-sizing: border-box;
  cursor: pointer;
  transition: all .2s linear 0s;
  text-decoration: none;
  color: var(--lightsand);
  font: bold 10px/11px verdana, sans-serif;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  align-content: center;
  text-align: center;
  padding: 5px;
  letter-spacing: 1px;
  display: flex;
  height: 30px;
}

.guestbook .tab-content {
  position: absolute;
  border: 1px solid var(--darkgold);
  padding: 10px 10px 50px;
  left: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 105px);
  display: none;
  top: 90px;
  box-sizing: border-box;
  overflow: auto;
}

.guestbook .tab :checked + .tab-title, .guestbook .tab-title:hover {
    position: relative;
    z-index: 1;
    background: rgba(194, 167, 107, .1);
    color: var(--darkgold);
}

.guestbook .tab :checked ~ .tab-content {
    display: block; /* Показываем активную вкладку */
}

.punbb .guestbook .tab-content p {
  font: normal 12px/18px verdana !important;
  text-align: left;
  padding: 0;
}

.punbb .tab-content p a {color: var(--darkgold);}
.punbb .tab-content p a:hover {color: var(--lightsand);}


/******************************************************************
  Cтиль к скрипту: 
 "Всплываюшая таблица с вкладками, в топике, с инфой о персонаже"
******************************************************************/

/*Стиль иконки в мини-профиле*/

img.a-info {
  padding: 2px;
  display: block !important;
  cursor: pointer;
  position: absolute;
  text-align: left!important;
}

/* Затемняющий фон */

#pre-wrap {
 margin: 0;
 top: 0;
 bottom: 0;
 left: 0;
 right: 0;
 width:100%;
 height: 100%;
 position: fixed;
 z-index: 20000;
 background: rgba(0,0,0,.65);
}

/*Подвижка иконки закрытия таблички*/

.my-tabs > img.close {
  margin: 0 !important;
  width: 27px;
  position: absolute;
  right: -30px;
  top: 5px;
  cursor: pointer;
}

/* Корневой таб (UL) */

.punbb .my-tabs{
  display: flex;
  z-index: 30000;
  position: absolute;
  background: url(//forumstatic.ru/files/0012/0b/b4/72963.jpg) no-repeat top center;
  box-shadow: 0 0 0 3px var(--mainviolet) inset, 0 0 0 5px var(--darkgold) inset;
  height: 540px;
  width: 780px !important;
  top: 100px;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, 0);
  box-sizing: border-box;
  padding: 5px !important;
}

/* Стиль "Ушка" вкладок */

.my-tabs > span {
  color: var(--lightsand);
  cursor: pointer;
  display: block !important;
  position: relative;
  z-index: 12;
  text-align: center;
  text-shadow: 1px 1px #000;
  font: normal 24px/30px alumni sans;
  letter-spacing: 2px;
  height: 33px;
  box-sizing: border-box;
  text-transform: lowercase;
  background: url(//forumstatic.ru/files/0012/0b/b4/61403.jpg) repeat top left var(--mainviolet);
  border: 1px solid rgba(194, 167, 107, .5);
  width: 150px;
  padding: 0 20px 3px;
  margin: 10px 10px 0 0;
  flex-grow: 1;
  transition: all .2s ease-in-out 0s;
}

/* Cдвиг самого первого "Уха" */

.my-tabs > span:first-child {
margin-left: 10px;
}

/* Активное "Ушко" */

.my-tabs > span.selected, .my-tabs > span:hover {
 opacity: 1;
 border: 1px solid var(--darkgold);
}

/* Стиль вкладки(LI)*/

.my-tabs > .tab-a {
  width: calc(100% - 20px);
  height: calc(100% - 60px);
  max-height: unset !important;
  position: absolute;
  z-index: 1;
  display: none;
  overflow: hidden;
  box-sizing: border-box;
  margin: 50px 5px 10px;
}

/*Отступ контента вкладки сверху*/

.tab-a .post-content {
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.punbb .tab-a .post-content p {
  height: inherit;
  padding: inherit;
  line-height: inherit;
}

/*Подвижка иконки*/

img.a-info {
  margin-top: -3px !important;
  margin-left: 173px !important;
  width:30px;  /*Размер иконки*/
}

/*Подвижка всплывающей подсказки иконки*/

.tipsy.a-info {
  margin-top: -1px!important;
  margin-left: -6px!important;
  font: normal normal 400 11px/16.5px Verdana;
}

.punbb .my-tabs .post-content .html-post-box {
  padding: 0 !important;
  width: 100%;
  height: 100%;
}

.punbb .post-content .innertab {
  background: url(https://forumstatic.ru/files/0012/0b/b4/72963.jpg) no-repeat top center;
  padding: 10px 15px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  color: var(--lightsand);
}

.punbb .post-content .innertab * {
  scrollbar-width: thin;
  scrollbar-color: var(--darkgold) transparent;
}

.punbb .post-content .innertab p {color: #b3b2b0;}


/* Вкладка "Персонаж"
--------------------------------------------------------------*/

.punbb .post-content .innertab *::-webkit-scrollbar {width: 7px; height: 8px;}
.punbb .post-content .innertab *::-webkit-scrollbar-track {background-color: transparent;}
.punbb .post-content .innertab *::-webkit-scrollbar-thumb {background-color: var(--darkgold);}

.chartab .leftblock, .chartab .rightblock {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
}

.chartab .leftblock {width: 230px;}

.chartab .rightblock {width: calc(100% - 250px);}

.character {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  align-content: center;
  height:  190px;
}

.character .cname, .character .cspecies {
  background: rgba(56, 60, 44, .3);
  border: 1px solid rgba(194, 167, 107, .5);
  display: flex;
  width: 180px;
  height: 24px;
  color: #e8d2a1;
  font: normal 18px/22px alumni sans;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-sizing: border-box;
  justify-content: center;
}

.character .cface {
  display: block;
  width: 180px;
  height: 120px;
  position: relative;
  box-sizing: border-box;
}

.character .cface img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  margin: 0 !important;
  box-sizing: border-box;
  border: 1px solid var(--darkgold);
}

.chartab .planksblock {
  height: 270px;
  margin-top: 15px;
}

.innertab span {
  color: #e8d2a1;
  display: block !important;
  position: relative;
  z-index: 12;
  text-align: center;
  text-shadow: 1px 1px #000;
  font: normal 18px/22px alumni sans;
  letter-spacing: 1px;
  height: 24px;
  box-sizing: border-box;
  text-transform: uppercase;
  background: url(//forumstatic.ru/files/0012/0b/b4/61403.jpg) repeat top left var(--mainviolet);
  border: 1px solid rgba(194, 167, 107, .5);
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.chartab .planksblock .planks {
  overflow: auto;
  height: 210px;
  margin: 10px -15px 0 0;
}

.chartab .planksblock .plank {
  border: 1px solid var(--darkgold);
  margin: 10px 0 20px;
  max-width: 230px;
}

.chartab .dossier {height: 190px;}

.chartab .chronicles {margin-top: 15px;}

.chartab .chartext {
  color: var(--lightsand);
  overflow: auto;
  height: 170px;
  font: normal 10px/12px verdana;
  padding: 5px;
  box-sizing: border-box;
  margin-top: 5px;
  scrollbar-width: thin;
}

.chartab .chronicles .chartext {height: 210px;}

.chartab .chartext p {
  font: normal 12px/130% verdana;
  padding: 0 0 5px 0;
}

.chartab .dossier p {text-indent: 20px;}
.chartab .chronicles p {text-align: left;}

.chartab .chartext p a {color: var(--darkgold);}
.chartab .chartext p a:hover {color: var(--lightsand);}

/* Вкладки "Награды" и "Ачивки"
--------------------------------------------------------------*/

.punbb .post-content .awardtab.innertab,
.punbb .post-content .achievetab.innertab {padding: 10px 5px;}

.awardtab > div {width: 49%;}

.achievetab .common {width: 60%;}
.achievetab .events {width: 38%;}

.awardtab .innerblock, .achievetab .innerblock {
  height: 410px;
  border: 1px solid rgba(194, 167, 107, 28%);
  border-top: none;
  padding: 10px;
  overflow: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  align-content: baseline;
}

.events .innerblock {justify-content: center;}

.innertab .awac, .achievelist .awac {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: auto;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
  padding: 5px;
}

.achievetab .awac {
  width: 130px;
}

.punbb .post-content .innertab .awac a {color: var(--lightsand);}
.punbb .post-content .innertab .awac a:hover {color: #5757ab;}

.innertab .awac p, .achievelist .awac p {
  text-align: center;
  padding: 0 !important;
}

.achievetab .awac .head2 {
  font: bold 13px/14px verdana;
  padding: 2px 0 !important;
}

.achievetab .events .awac {width: 115px;}

.achievetab .events .awac img {max-width: 80px;}

.achievetab .awac .poy {font: normal 11px/12px verdana;}

.desawac {display: block;
    color: #e8d2a1;
    display: block !important;
    position: relative;
    z-index: 12;
    text-shadow: 1px 1px #000;
    font: normal 12px/22px AGOpus;
    letter-spacing: 1px;
    height: 24px;
    box-sizing: border-box;
    text-transform: uppercase;
    background: url(//forumstatic.ru/files/0012/0b/b4/61403.jpg) repeat top left var(--mainviolet);
    border: 1px solid rgba(194, 167, 107, .5);
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    margin-bottom: 10px;}

/* Вкладки "Бонусы" и "Информация"
--------------------------------------------------------------*/

.bonustab .innerblock, .infotab .innerblock {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: baseline;
  overflow: auto;
  height: 430px;
  padding: 10px;
}

.infotab .innerblock > div {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 5px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  align-content: center;
}

.infotab span {margin-bottom: 5px;}

.infotab img {
  object-fit: cover;
  object-position: center;
}

.infotab .infoblock1 img {
  width: calc(100% / 3);
  margin-right: 5px;
  height: auto;
}

.infotab .infoblock3 img {
  max-width: 300px;
  max-heigth: 300px;
}

.infotab p {
  display: flex;
  flex-grow: 1;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  width: min-content;
}

.bonn {    background-image: url(https://forumstatic.ru/files/0012/0b/b4/72963.jpg);
    border: 1px solid #c2a76b;
    padding: 10px;
    text-align: center;
    width: 120px;
    height: 89px;
    font-size: 10px;
    line-height: 12px;
    margin-bottom: 14px;
    margin-top: 20px;
}

.bonnil {width: 55px;
    top: -37px;
    position: relative;
    margin-bottom: -28px;}

.bonname {font-size: 20px;
    font-family: Alumni Sans;
    line-height: 20px;}

 .uslov {
  display: inline-block; 
    position: relative; 
  color: #636181;
}
 .uslov:hover::after {
    content: attr(data-title);
    position: absolute;
    /* left: 20%; */
    top: 30%;
    z-index: 1;
    background: rgba(56, 63, 122, 0.9);
    font-family: Arial, sans-serif;
    font-size: 11px;
    padding: 5px 10px;
    border: 1px solid #dbc085;
color: #f4d798;
   }

/* Спойлеры
--------------------------------------------------------------*/
.magic-box {
  width: 100%;
}

.btn-spoiler {
    font-size: 20px;
    line-height: 16px;
    box-shadow: 0;
    font-family: Morpheus;
    color: #c2a76b;
    border: 0px;
    cursor: pointer;
    background-color: #15151f;
    border: 1px solid #c2a76b;
    padding: 8px;
    margin: 10px 0px;
    text-align: left;
    transition: 0.5s;
    
}

.btn-spoiler:hover {
  background-color: #c2a76b;
  color: #15151f;
}

.btn-spoiler:focus {outline:none !important;
}


.btn-spoiler:active {
  box-shadow: 0px;
  background-color: #c2a76b;
  color: #15151f;
}

.spoiler-text {
    display: none;
    margin: 0;
    padding: 10px;
}

.valenimg {
    width: 32%;
    margin-right: 5px;
    margin-top: 5px;}

.auction {margin-top: 5px;}


/* Таблица ачивок
--------------------------------------------------------------*/

.achievelist {
  background: url(https://forumstatic.ru/files/001b/6e/a7/60432.jpg) no-repeat top center;
  display: block;
  width: 960px;
  height: 750px;
  margin: 20px auto;
  box-sizing: border-box;
  box-shadow:  0 0 0 3px var(--mainviolet) inset, 0 0 0 5px var(--darkgold) inset;
  position: relative;
  color: #e8d2a1;
}

.punbb .post-content .achievelist *::-webkit-scrollbar {width: 7px; height: 8px;}
.punbb .post-content .achievelist *::-webkit-scrollbar-track {background-color: transparent;}
.punbb .post-content .achievelist *::-webkit-scrollbar-thumb {background-color: var(--darkgold);}
.punbb .post-content .achievelist * {
  scrollbar-width: thin;
  scrollbar-color: var(--darkgold) transparent;
}

.achievelist:before {
  content: "";
  background: url(https://forumstatic.ru/files/0012/0b/b4/63142.png) no-repeat top left/cover;
  position: absolute;
  transform: scale(1, -1);
  width: 144px;
  height: 71px;
  top: -30px;
  left: -20px;
  pointer-events: none;
}

.achievelist:after {
  content: "";
  background: url(https://forumstatic.ru/files/0012/0b/b4/63142.png) no-repeat top left/cover;
  position: absolute;
  transform: scale(-1, 1);
  width: 144px;
  height: 71px;
  bottom: -22px;
  right: -26px;
  pointer-events: none;
}

.achievelist .inner {
  box-sizing: border-box;
  padding: 10px 14px;
  width: 100%;
  height: 100%;
}

.achievelist span {
  display: flex;
  width: 180px;
  height: 24px;
  color: #e8d2a1;
  font: normal 22px/22px alumni sans;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-sizing: border-box;
  justify-content: center;
  margin: 15px 0 0;
}

.achievelist .tabs {
  position: relative;
  padding-top: 10px;
}

.achievelist .tab, .achievelist .tab-title {display: block;}

.achievelist .tab input[type="radio"] { display: none; }

.achievelist .tab-title {
  background: rgba(56, 60, 44, .3);
  border: 1px solid rgba(194, 167, 107, .5);
  display: flex;
  width: 180px;
  min-height: 28px;
  color: #e8d2a1;
  font: normal 18px/20px alumni sans;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-sizing: border-box;
  justify-content: center;
  margin: 5px 0;
  cursor: pointer;
  padding: 3px 2px;
  text-align: center;
}

.achievelist .tab-content {
  position: absolute;
  border: 1px solid rgba(194, 167, 107, .4);
  background: rgba(16, 16, 24, .3);
  padding: 10px;
  left: 190px;
  width: 740px;
  display: none;
  box-sizing: border-box;
  top: 150px;
  height: 560px;
  overflow: auto;
}

.achievelist .achieveabout {
  position: absolute;
  border: 1px solid rgba(194, 167, 107, .4);
  background: rgba(16, 16, 24, .3);
  padding: 10px;
  left: 202px;
  width: 740px;
  display: block;
  box-sizing: border-box;
  top: 20px;
  height: 125px;
  overflow: auto;
  z-index: 2;
  color: #b3b2b0;
}

.achievelist .achieveabout p {
  font: normal 12px/14px Cambria Regular, sans-serif;
  letter-spacing: 1px;
  text-indent: 30px;
  text-align: justify;
  padding-bottom: 5px;
}

.punbb .achievelist .tab-content .achieveabout {
  position: relative;
  margin: 0 auto;
  left: initial;
  top: initial;
  height: fit-content;
}

.punbb .achievelist .tab-content .achieveabout p {
  padding: 0;
  text-indent: 0px;
  text-align: center;
}

.achievelist .tab :checked + .tab-title {
  position: relative;
  border: 1px solid var(--darkgold);
  z-index: 1;
}

.achievelist .tab :checked ~ .tab-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: baseline;
  align-items: baseline;
}

 .achievelist .awac {width: 140px;}

 .achievelist .awac .descr {
  background: rgba(56, 60, 44, .2);
  padding: 2px 3px 4px;
  box-sizing: border-box;
  width: 134px;
  border: 1px solid rgba(194, 167, 107, .3);
  margin-top: 5px;
  height: 68px;
}

 .achievelist .awac .head2 {
  font: normal 12px/16px Cambria, sans-serif;
  letter-spacing: 1px;
  padding-bottom: 3px !important;
}

 .achievelist .awac .poy {
  font: normal 11px/12px verdana, sans-serif;
  color: #b3b2b0;
    line-height: 14px;
}

.punbb #pre_placement > a {
  top: -28px;
  right: 55px;
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/700101.png) no-repeat top center !important;
  border: none;
  height: 20px;
  width: 20px;
}

.punbb .Form-Table {
  padding: 0 49px 0 51px;
}

.punbb .table_GamePosts tbody th.aa {
  background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/96259.png) repeat-x top center !important;
  color: var(--lightgold);
  font-family: verdana, sans-serif;
}

.punbb .table_GamePosts td {border: none !important;}
.punbb .table_GamePosts tr:nth-child(even) {background: var(--lightviolet);}
.punbb .table_GamePosts tr:nth-child(odd) {background: #efe9ef;}


/* Мгновенные уведомления
-------------------------------------------- */

.pun-modal.unread-notifications .modal-inner .container {padding: 0 !important;}

#pun .pun-modal .closer {
  position: absolute;
  padding: 10px !important;
  margin: 0 !important;
  top: 0;
  right: 0;
}

.punbb .pun-modal .modal-inner {background: var(--lightviolet);}


/* Обтекание изображения
-------------------------------------------- */

#float {
  display: none;
  background: var(--lightviolet);
  border: 1px solid #3f4332;
  color: #000;
  width: auto;
  padding: 8px;
  position: absolute;
  z-index: 20;
  top: -75px;
  left: 325px;
}

#float .vibor {
  cursor: pointer;
  height: 26px;
  width: auto;
}

/* Разделение тем
-------------------------------------------- */

    #pun-main .forum table{ table-layout: auto;}
    #pun-main tr.tr-divider {
      background-color: #d1d1e1;
      font-weight: bold;
    }

/* Теги Чарли!!!
-------------------------------------------- */

/* Организационные темы (правила, фак)
-------------------------------------------- */
.allhead {
  line-height: 0.75;
    text-align: center;
    background-image: url(http://ipic.su/7yXq33.png);
    color: #dabf84;
    padding: 10px;
}

.line{
background: url(//forumstatic.ru/files/0012/0b/b4/58944.png) repeat-y top left, url(//forumstatic.ru/files/0012/0b/b4/58944.png) repeat-y top right, url(//forumstatic.ru/files/0012/0b/b4/96353.png) repeat-x bottom center, url(//forumstatic.ru/files/0012/0b/b4/96353.png) repeat-x top center rgba(56, 60, 44, .05);
padding: 15px;}

.num_list {font-family: AGOpus;
    font-size: 16px;
    color: #232130;
}

.podzag {
  text-align: center;
    font-family: AGOpus;
    font-size: 24px;
    margin-bottom: 8px;
    color: #4a532f;
}

/* РАСЫ
-------------------------------------------- */
.albg {background-image: url(https://i.imgur.com/SUhndM3.png);
  padding: 20px;
  background-size: cover;}

.bltxt {
  padding: 20px;
}

.za {text-align: center;
font-family: AGOpus;
font-size: 20px;
color: #c2a76b;
margin-bottom: 10px;
border: 1px solid #c2a76b;
    padding: 5px;}

.za2 {
  font-family: AGOpus;
font-size: 16px;
color: #c2a76b;
}
.imras {
  text-align: center;
  margin-bottom: 10px;
}

.tex {
  color: #b3b2b0;
line-height: 1.5;
}

.lii
{color: #c2a76b;

}
.slall{
  background-color: #15151f;
  border: 1px solid #c2a76b;
  padding: 10px;
}

.slu {
  font-family: AGOpus;
    font-size: 20px;
    color: #15151f;
    margin-top: -20px;
    margin-left: 5px;
margin-bottom: 7px;
    background-color: #c2a76b;
    width: 172px;
    padding: 5px 5px;
}

.imop {
    width: 250px;
}

.opis {
    text-align: center;
}

.ciit {
    color: #c2a76b;
    font-family: 'AGOpus';
    font-size: 17px;
    text-align: center !important;
}

.atten {    padding: 5px;
    color: #15151f;
    margin-top: 10px;
    background-color: #c2a76b;
    font-size: 14px;}




/*БыстроПлюсы для Топика!*/
.noNull:before {
  content: "+";
  font-size: 9px;
  display: inline-block;
  margin-left: -6px;
  margin-top: 0px;
  position: absolute;
}
div .post-rating p>a {
  text-align: center;
  outline: 1px solid transparent;
  font-weight: 700;
  background: url(https://forumstatic.ru/files/001b/a6/d4/26514.svg) no-repeat center;
  background-size: 38px auto;
  position: relative;
  padding-left: 1px;
  z-index: 100;
  width: 38px;
  height: 38px;
  text-align: center;
  font-size: 12px !important;
  display: inline-block;
  vertical-align: middle;
  line-height: 34px;
  letter-spacing: -1px;
  color: #336B5E;
}
div.dark-style .post-rating p>a {
  color: #6BC8AF !important;
}
div.post-vote {
    margin-bottom: 65px;
}
div.post-vote p>a {
  font-size: 0 !important;
  position: absolute;
  cursor: pointer;
  z-index: 200;
  width: 24px;
  height: 24px;
  background: url(https://forumstatic.ru/uploads/001a/e7/a4/77/750043.png?) no-repeat;
  display: block;
  background-size: 100%;
  margin-left: 0px;
  margin-top: 9px;
}
.post.dark-style div.post-vote p>a {
  background: url(https://forumstatic.ru/files/0012/d8/04/38128.png?) no-repeat;
  background-size: 100%;
}

/*Настройка уникального шрифта*/
#chfont {
      position: fixed; /*позиционирование*/
      top: 48px; /*отступ сверху*/
      right: 47px; /*отступ слева*/
      text-align: center; /*текст по центру*/
      line-height: 22px; /*высота строк*/
      -moz-opacity: .8; /*прозрачность*/
      opacity: .8;
      z-index: 999999;
  }
  #chfont:hover {
      opacity: 1; /*убирает прозрачность при наведении*/
      -moz-opacity: 1;
  }
  #chfontbut {/*иконка регулятора*/
    width: 26px;
    height: 26px;
    background: url(https://forumstatic.ru/uploads/001b/bf/5a/2/701380.png) center no-repeat;
    background-color: #1e1e30;
    float: left;
    border: solid 2px #00282f;
    margin-right: 5px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 0 1px #013334, 0 0 0 2px #011f20, 0 0 15px #000000c4 inset;
  }
  #chfontbut::after {/*крестик на иконке*/
      display: none;
      position: absolute;
      content: 'x';
      top: 0;
      right: 0;
      color: var(--blue); /*цвет крестика*/
      line-height: 7px; /*высота строки*/
      font-size: 12px; /*размер крестика*/
  }
  #chfont.active #chfontbut::after {
      display: block;
  }
  #chfont select {/*поле выбора вида шрифта*/
    display: none;
    background-color: #1e1e30;
    color: #0c0c15;
    margin-bottom: 2px;
    cursor: pointer;
    box-shadow: 0 0 0 1px #06060f, 0 0 0 2px #06060f, 0 0 7px #010000e0 inset;
    color: var(--golds);
  }
  #chfontsize {/*индикатор размера шрифта*/
      width: 26px; /*ширина*/
      float: right;
      display: none;
  }
  #chfont.active select,
  #chfont.active #chfontsize {
      display: block;
  }
  .fsizeplus,
  .fsizeminus {/*кнопки плюса и минуса*/
background-color: #1e1e30;
    border: solid 2px #222431;
    box-shadow: 0 0 0 1px #06060f, 0 0 0 2px #06060f, 0 0 7px #010000e0 inset;
    color: #b0b0ad;
    cursor: pointer;
  }
  .fsizeplus::after {
      content: '+';
  }
  .fsizeminus::after {
      content: '-';
  }
.fsize {
     /*поле показывающее размер шрифта*/
      background-color: #d2c1b7; /*цвет фона*/
      color: #0c0c15; /*цвет цифр*/
}