/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
@import url(style_cs.1755611802.css);
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');

@font-face {
    font-family: 'Druzhoc';
    src: url('https://forumstatic.ru/files/001c/37/ca/13036.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Druzhoc';
    src: url('https://forumstatic.ru/files/001c/37/ca/13036.otf') format('opentype');
    font-weight: middle;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Druzhoc';
    src: url('https://forumstatic.ru/files/001c/37/ca/13036.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Variables */
:root {
    --bagmain: url('https://forumstatic.ru/files/001c/37/ca/63190.jpg') center no-repeat;
    --bghead: url('https://forumstatic.ru/files/001c/37/ca/21916.png') center no-repeat;
    --futbg: url('https://forumstatic.ru/files/001c/37/ca/63550.png') center no-repeat;
    --navlinksmainf: "Jost";
    --navlinksmainc: rgb(255 255 255);
    --navlinksmains: italic;
    --alllinkscol: rgb(86 130 66);
    --bodyc: rgb(234 234 234);
    --borderm: 1px solid rgb(186 169 100);
    --bannersscroll: rgb(112 102 75);
    --head300: 300;
    --headborder: 1px solid rgb(226 219 194);
    --headfname: "Druzhoc";
    --textbold: 800;
    --textmiddle: 500;
    --textreg: 400;
    --datecolor: rgb(112 102 75);
    --newnbg: rgb(114 91 59);
    --newnbr: 1px solid rgb(234 234 234);
    --newhov: rgb(66 66 55);
    --maintextcol: rgb(97 97 97);
    --catbord: 1px solid rgb(211 211 211);
    --cath2: url('https://forumstatic.ru/files/001c/37/ca/66056.png');
    --hovllinkalll: rgb(32 36 23);
    --opforcol: rgb(112 102 75);
    --opforbac: rgba(215, 214, 209, 0.5);
    --iconbac: rgba(215, 214, 209, 0.8);
    --messinfo: rgb(228, 227, 221);
    --mssinfb: 1px solid rgba(69, 67, 61, 0.07);
    --profbg: rgb(227 226 224);
    --profbord: 1px solid rgba(112, 102, 75, 0.17);
    --profimgb: 1px solid rgba(112, 102, 75, 0.4);
    --proftext: rgb(86 79 60);
}

/* 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 */

html {
  font-size: 100.01%;
    background: var(--bagmain) fixed;
    background-size: cover !important;
  }

/* A3.2 */
.punbb {
  font: normal 80% Jost, arial, helvetica, sans-serif;
  }

/* 3.3 */
.punbb textarea, .punbb optgroup {
  font: 1em arial, helvetica, sans-serif;
  font-weight: 400;
  color: var(--hovllinkalll);
  border-radius: 10px;
  padding: 10px;
  letter-spacing: .5px;
  }

.punbb input {
    padding: 1px 10px 3px;
    color: var(--datecolor);
    background: var(--opforbac);
    font-family: var(--navlinksmainf);
    font-weight: var(--textreg);
    border: var(--headborder);
    border-radius: 14px;
    font-size: 14px;
    letter-spacing: .3px;
}

#pun-admain input {
    background: #c8c8c8 !important;
    color: #1a1a1a;
}

.punbb select{
    padding: 1px 10px 3px;
    color: var(--datecolor);
    background: var(--opforbac);
    font-family: var(--navlinksmainf);
    font-weight: var(--textreg);
    border: var(--headborder);
    border-radius: 14px;
    font-size: 14px;
    letter-spacing: .3px;
}


/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
  }

.reactions-container {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1em;
  }


/* A3.6 */
.punbb pre {
  font: 1em/140% Jost, "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;
  }

#main-reply {
    width: 100%;
    background: var(--opforbac);
    border: var(--catbord);
}

/* 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;
  }

#profile .tcl {
    width: 13% !important;
}

#profile .tc2 {
    width: 25% !important;
    text-align: center;
    font-size: 11px;
    color: #000;
    padding-right: 5px;
}

#profile .tc3 {
    width: 12% !important;
    font-size: 12px;
    color: #000;
    padding-right: 5px;
    padding-left: 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 {
    position: relative;
    background: var(--bodyc);
    margin: auto;
    width: 990px;
    box-sizing: border-box;
    margin-top: 350px !important;
    margin-bottom: 55px;
    background-size: contain;
    border-radius: 20px;
    border: var(--borderm);
}

/* A5.2 */
.punbb {
    margin: 0px 25px 55px 25px;
    padding: 25px 0px 20px 0px;
    float: none;
    width: auto;
    height: auto;
    background: transparent;
}

/* A5.3 */
#pun-redirect, #pun-maint {
    margin: 50px 20% 12px 20%;
    float: none;
    width: auto;
    min-height: 100px;
  }

  #pun-redirect {
    position: fixed;
    width: 100%;
    height: 100%;
    border: 0 none !important;
    margin: 0;
    padding: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: var(--bagmain);
    background-size: cover; 
   }

 #pun-redirect *{
      border:0 none;
   }

   #pun-redirect .main-title {
      display: none;
   }

  #pun-redirect.punbb .info .container a {
    color: var( --alllinkscol)!important;
    text-decoration: none;
  }

  #pun-redirect.punbb .info .container {
    display: block;
    margin-top: 120px;
    padding: 30px 0px;
    width: 900px;
    height: auto;
    border: 0 !important;
    text-align: center;
    margin: 5% auto;
    font-size: 13px;
    font-weight: 400;
    font-family: Jost;
    text-transform: lowercase;
    color: var(--proftext);
    background: var(--bodyc); 
    border-radius: 15px;
  }

/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1.2em;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 0.5em;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }

#imageupload-left input[type=button] {
    width: 11em;
    text-align: center;
    right: 31em !important;
}


/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-style: none none none none;
  border-width: 0px 0px 0px 0px;
  }

.punbb .category {
    border-style: none;
    background: transparent;
    background-size: cover;
    position: relative;
    z-index: 2;
}

.punbb .category .container{
    width: 875px;
    margin: auto;
    padding: 10px 20px;
    border: var(--catbord);
    border-radius: 20px;
    margin-bottom: 25px;
}

/* A5.9 */
.punbb .container {
  border-style: none;
  border-width: 0px;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-debug h2 {
    margin: 0px 0px -10px 70px;
    padding: 10px 0 20px !important;
    padding-right: 90px !important;
    width: auto;
    text-align: center;
    font-family: var(--headfname);
    text-transform: uppercase;
    font-size: 21px !important;
    font-style: normal;
    font-weight: 400;
    background-color: transparent;
    color: var(--bannersscroll);
    letter-spacing: .7px;
  }

#pun-main h2 {
    width: auto;
    text-align: right;
    background: var(--cath2) center no-repeat;
    height: 40px;
    padding-top: 6px;
    margin-bottom: -24px;
    position: relative;
    z-index: 4;
}

#pun-main h2 span {
    display: none;    
}

#pun-stats h2 {
    display: block;
    color: var(--datecolor);
    font-family: var(--headfname);
    text-transform: uppercase;
}

#pun-stats h2 span {
    font-size: 40px !important;
}

/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  margin-top: 10px;
  width: 100%;
  overflow: hidden;
  text-align: justify;
  }

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid #red;
  width: 250px;
  margin: 5px 0;
  }

/* B1.3 */
.punbb .post-content p {
    margin: 0;
    padding: 0 0 1em 1em;
    line-height: 150%;
    font-size: 14px;
    font-weight: 400;
  }

/* 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: 2em 2px 1em 2px;
    padding: 15px 15px 15px 15px;
    background: var(--profbg);
    border: var(--catbord) !important;
    border-radius: 15px;
    color: var(--proftext);
    font-family: Jost;
    text-transform: none;
  }

.spoiler-box {
    margin: 1em 2px 1em 2px;
    padding: 15px 15px 15px 15px !important;
  }

.punbb .post-content .code-box {
    margin: 2em 2px 1em 2px;
}

/* B1.9 */
.punbb .quote-box cite {
    display: block;
    margin: -31px -20px 10px -15px;
    padding: 0px 9px;
    color: #4D432E;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    font-family: Jost;
    margin-bottom: 8px;
    width: 30%;
    text-transform: lowercase;
    font-style: normal;
    letter-spacing: 0.2px;
  }

.punbb .code-box strong.legend {
    display: block;
    margin: -38px -20px 10px -9%px;
    padding: 3px 9px 6px;
    color: var(--datecolor);
    text-align: left;
    font-size: 13px;
    font-weight: var(--textreg);
    font-family: Jost;
    width: 30%;
    text-transform: uppercase;
    font-style: italic;
    height: 16px;
}

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  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 */
.punbb .linkst {
    float: left;
    position: relative;
    width: 98%;
    height: 0;
    font-size: 11px;
    font-weight: 400;
    font-family: Jost;
    text-transform: uppercase;
    margin-left: 2em;
    color: var(--maintextcol);
  }
  
 .punbb .linkst strong, .linksb .pagelink strong {
    font-weight: 400!important;
  }

/* B3.2 */
.multipage {
  margin-top: 2em;
  }

/* B3.3 */
.linkst .pagelink {
    position: absolute;
    top: -4.6em;
    left: 1em;
    width: 24em;
  }

/* B3.4 */
.linkst .postlink {
  position: absolute;
  top: -4em;
  right: 2em;
  width: 16em;
  text-align: right;
  }

/* B3.5 */
.punbb .linksb {
    text-align: right;
    padding: 0.4em 1em 0.5em 30px;
    font-size: 10px;
    font-weight: 400;
    font-family: Jost;
    text-transform: uppercase;
  }

/* B3.6 */
.linksb .pagelink {
    float: left;
    width: 24em;
    text-align: left;
    font-size: 11px;
    color: var(--maintextcol);
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  margin-right: 1.7em !important;
  }

/* B3.8 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
   padding: 0em 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 {
  padding: 0 18px 0 0px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em
  }

/* C1.6 */
.punbb fieldset legend span {
    padding: 0 5px;
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    font-family: Jost;
    text-transform: uppercase;
    background: transparent;
    color: #1d1d1d;
  }

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0;
  }

/* C1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0;
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both;
  }

/* C1.12 */
.punbb .datafield br {
  display: none;
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold;
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }

/* 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: auto;
  font-family: Jost;
  font-size: 13px;
  }

.punbb .main .category .intd {
    background-repeat: no-repeat;
    border-radius: 30px;
}

/* C2.2 */

.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
    width: 17%;
    text-align: center;
    font-size: 13px;
    font-weight: var(--head300);
    font-family: var(--navlinksmainf);
    text-transform: lowercase;
    color: var(--maintextcol);
  }

.punbb .category .tc2, .punbb .category .tc3, .punbb .category .tcmod {
    display: none !important;
}

/* C2.3 */
.punbb .main .forum .tcr {
    position: relative;
    width: 35%;
    text-transform: lowercase;
    overflow: visible;
    text-align: left;
    line-height: 45px;
    font-size: 13px;
    font-weight: var(--textreg);
    font-family: var(--navlinksmainf);
    background: transparent;
    color: var(--maintextcol);
  }

/* C2.4 */
#pun-userlist .main .tcl {
  width: 30%
  }
  
 #pun-userlist .main .tcl span {
    line-height: 4;
 }

.punbb .main .forum .tc3 {
    display: none;
}

#pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {
    background-color: transparent;
    width: 35%;
    padding-left: 30px;
    font-family: var(--navlinksmainf);
    font-size: 13px;
    color: var(--maintextcol);
}

#pun-searchtopics .main .icon {
    float: left;
    height: 8px;
    margin-left: 0px;
    margin-right: 5px;
    width: 8px;
    background: var(--datecolor);
    border-radius: 5px;
    margin-top: 6.5px !important;
}

/* C2.5 */
#pun-searchtopics .main .tc2 {
    text-align: left;
    width: 19%;
    font-size: 13px !important;
  }

#pun-userlist .main .tc2 {
    text-align: left;
    width: 20%;
    font-size: 13px;
}

#pun-userlist .main .tc3 {
   font-size: 12px !important;
}

.forum td.tc2, .forum td.tc3 {
    font-size: 12px !important;
}

/* 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 {
    font-size: 25px;
    text-transform: uppercase;
    height: 30px;
    font-family: var(--headfname);
    color: var(--datecolor);
    padding-top: 10px;
    margin-right: 20px;
    max-height: 35px;
    overflow: hidden;
    display: flex;
    gap: 15px;
  }

#pun-index .tcl h3 a {
    color: var(--datecolor) !important;
    padding-left: 5px;
  }

#pun-index .tcl h3 a:hover {
    color: var(--hovllinkalll) !important;
  }

#pun-index .tcl {
    width: 60%;
    position: relative;
    overflow: visible;
    padding: 10px 20px 15px 0;
    background: transparent;
}

/* 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-style: solid none none solid;
  border-width: 1px 0 0 1px;
  padding: 0 20px 15px 10px;
  text-transform: lowercase;
  }

/* C2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1.4em;
  background: transparent;
  }

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0;
  }

* html .tclcon {
    height: 1px;
  }

/* C2.14 */
#pun-index td div.tclcon {
    text-align: justify;
    position: relative;
    font-family: Jost;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .2px;
    padding-left: 5px;
    padding-bottom: 1em;
    display: flex;
    flex-direction: column;
}


/* C2.15 */
#pun-messages .main .tc2 {
  text-align: center;
  }
  

/* C2.15*/
.punbb div.icon {
    float: left;
    display: block;
    height: 32px;
    width: 14px;
    margin-top: 10px;
}

Div.icon {
    background-image: url(https://forumstatic.ru/files/001c/37/ca/64705.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 5px;
    margin-left: -7px;
    margin-top: 5px !important;
}
TR.inew Div.icon {
    background-image: url(https://forumstatic.ru/files/001c/37/ca/28649.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 5px;
    margin-left: -7px;
    margin-top: 5px !important;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon::before {
    float: left;
    height: 8px;
    margin-left: 0px;
    margin-right: 5px;
    width: 8px;
    background: var(--iconbac);
    border-radius: 5px;
    margin-top: 6.6px !important;
}

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon {
    float: left;
    height: 8px;
    margin-left: 0px;
    margin-right: 5px;
    width: 8px;
    background: var(--alllinkscol);
    border-radius: 5px;
    margin-top: 6.6px !important;
}

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  border-width: 1px;
  margin-top: 0;
  padding-bottom: 1px;
  }

/* C3.2 */
.punbb .post h3 {
    font-size: 12px;
    font-weight: 300;
    font-family: jost;
    text-transform: uppercase;
    letter-spacing: 0px;
    background: #d0d0d08c;
    border-radius: 15px;
  }

.punbb .post h3 a {
    font-weight: var(--head300) !important;
    color: var(--datecolor)!important;
}

/* C3.3 */
.punbb .post h3 span {
    padding: 5px 10px 5px 10px;
    display: block;
    font-weight: var(--head300);
    background: var(--messinfo);
    border: var(--mssinfb);
    border-radius: 15px;
    color: var(--datecolor);
  }

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

/* C3.5 */
.punbb .post .post-author {
    float: left;
    position: relative;
    margin: 17px 0 0 5px;
    padding-top: 0;
    width: 230px;
    font-family: Jost;
    font-weight: var(--textreg);
    font-size: 12px;
    color: var(--proftext);
    border-radius: 15px;
    text-align: center;
    z-index: 1;
  }

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 0.98em;
  line-height: 140%;
  }

.punbb .post .post-author ul {
    border: var(--profbord);
    border-radius: 15px;
    background: var(--profbg);
    position: relative;
}

/* C3.7 */
.pa-author {
    font-family: var(--headfname);
    font-size: 19px;
    font-weight: 500 !important;
    letter-spacing: 0px;
    text-align: center;
    width: 230px;
    height: 25px;
    color: var(--proftext);
    margin-top: 17px;
    margin-left: -11px;
    text-transform: uppercase;
    transition: ease 1s;
    position: relative;
    line-height: 1.5;
    z-index: 1;
  }

/* C3.8 */
.pa-author a {
    font-size: 19px;
    font-weight: 500 !important;
    letter-spacing: 0px;
    transition: ease1s;
    font-family: var(--headfname);
    text-transform: uppercase;
    color: var(--proftext) !important;
    transition: ease 1s;
    z-index: 1;
  }

.pa-author a:hover {
    transition: ease 1s;
    color: var(--hovllinkalll) !important;
}

/* C3.9 */
li.pa-title {
    font-weight: normal;
    font-family: var(--navlinksmainf);
    text-align: center;
    text-transform: lowercase;
    margin-top: -4px;
    margin-bottom: 6px;
    position: relative;
    color: var(--opforcol);
    z-index: 1;
  }

li.pa-avatar.item2 {
    text-align: center;
    width: 230px;
    margin-left: -11px;
    position: relative;
    z-index: 1;
}

li.pa-avatar.item2 img {
    border: var(--profimgb);
    max-width: 180px;
    border-radius: 15px;
}

li.pa-online {
    width: 6px;
    height: 6px;
    position: absolute;
    left: 10px;
    background: var(--datecolor);
    border-radius: 10px;
    top: 10px;
    z-index: 1;
  }

li.pa-fld5, li.pa-fld6 {
    font-size: 11px;
    display: inline-block;
    text-transform: lowercase;
    font-weight: 400;
    color: var(--proftext);
    width: 95px;
    text-align: center;
    z-index: 1;
}

/* C3.11 */
.punbb .post-body {
    margin-left: 236px;
    border-left-style: solid;
    border-left-width: 1px;
    padding: 0 0 1px 0;
  }

/* C3.12 */
.punbb .post-box {
    padding: 15px 20px 20px 25px;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em;
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 50px;
  }

/* C3.15 */
.punbb .post-links ul {
    padding: 1em 2em 1em 0;
    height: 2em;
    line-height: 2em;
    margin-left: -22em;
    border-top-style: dashed;
    border-top-width: 1px;
    background: transparent;
    text-align: right;
    font-size: 13px;
    font-family: Jost;
    font-weight: 300;
    text-transform: uppercase;
  }

.punbb .post-links ul a {
    font-weight: 300 !important;
}

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
    padding: 0.5em 2.8em 0.5em 30px;
    text-align: right;
    font-size: 13px;
    font-weight: 400;
    font-family: jost;
    text-transform: lowercase;
  }

.punbb .modmenu .container a {
    color: var(--maintextcol)!important;
    font-weight: var(--head300)!important;
}

.postlink.long {
    width: 30em;
    font-size: 13px;
    margin-right: 1em;
}

.postlink.long a {
    font-weight: var(--textreg)!important;
    color: var(--alllinkscol)!important;
    transition: 1s;
}

.postlink.long a:hover {
    color: var(--hovllinkalll)!important;
    transition: 1s;
}

/* 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;
    color: #5e5555;
  }

/* 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-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {
  border-style: solid;
  border-width: 1px;
  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;
  width: auto;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 26px;
  position: relative;
  font-family: Jost;
  font-size: 13px;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
  }


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  border-top: none;
  }

/* C7.3 */
#pun-userlist .usertable table {
  border-style: solid;
  border-width: 1px;
  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
    display: none;
}

/* D1.2 */
#pun-title h1 {
    display: none;
}

/* D1.3 */
#pun-title .container {
  border-style: none none none none;
  }

/* D1.4 */
#pun-title h1 span {
    display: none;
}


/* 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, #pun-navlinks .container {
    font-size: 18px;
    text-transform: lowercase;
    height: 3px;
    margin-left: 10px;
    letter-spacing: 1px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--navlinksmainf);
    gap: 0 5px;
    font-weight: 400;
  }

/* D3.2 */
#pun-navlinks .container {
    margin-top: -40em;
    padding: 0.7em 1.2em 0em 1em;
    z-index: 20;
  }

/* D.3 */
#pun-navlinks li {
  display: inline;
  padding: 0px 8px;
  }

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
  margin-top: 0 !important;
  }

/* D4.2 */
#pun-ulinks .container {
    display: flex;
    width: 100%;
    padding-inline-start: 0px;
    font-style: normal;
    text-transform: uppercase;
    background: transparent;
    align-items: center;
    justify-content: center;
    margin-top: -5em;
    margin-bottom: 34px;
    position: relative;
    z-index: 4;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  border-left-style: solid;
  border-left-width: 1px;
  white-space: nowrap;
  }

/* D4.4 */
#pun-ulinks li a {
    padding: 0px 5px;
    font-size: 14px;
    color: var(--navlinksmainc);
    font-weight: 600;
    text-transform: lowercase;
  }

#pun-ulinks li a:hover {
    font-weight: 600;
}

/* 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, #pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* D5.2 */
#pun-status .container {
    font-size: 13px;
    font-family: var(--navlinksmainf);
    letter-spacing: 0.3px;
    text-transform: lowercase;
    width: auto;
    background: transparent;
    height: 25px;
    display: flex;
    align-items: center;
    padding-left: 30px;
    color: var(--maintextcol);
    justify-content: start;
    margin-top: 10px;
    font-weight: var(--textmiddle);
  }

#pun-status .container strong {
    font-weight: var(--textmiddle);
    color: var(--alllinkscol);
}

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

/* D5.4 */
#pun-crumbs1 {
  overflow: hidden;
  margin-top: 0;
  }

/* D5.5 */
#pun-crumbs1 p.container {
    height: 25px;
    font-family: var(--navlinksmainf);
    font-size: 13px;
    font-weight: var(--textreg);
    letter-spacing: 0.2px;
    background: transparent;
    display: flex;
    align-items: center;
    color: var(--datecolor);
    gap: 3px;
    justify-content: center;
    text-transform: lowercase;
}

span.lastpost {
    color: var(--maintextcol);
    font-weight: var(--textreg);
    text-transform: uppercase;
}

#pun-crumbs1 p.container a, #pun-crumbs2 p.container a {
    font-weight: var(--textreg)!important;
    transition: 1s;
    color: var(--datecolor)!important;
}

#pun-crumbs1 p.container a:hover, #pun-crumbs2 p.container a:hover {
    transition: 1s;
    font-weight: var(--textreg)!important;
   color: var(--hovllinkalll)!important;
}

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border-style: solid none;
  border-width: 1px 0;
  height: 0;
  margin: 0 !important;
  position: relative;
  z-index: 1;
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  display: none;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: none;
  }

/* D6.3 */
#pun-announcement .container {
    line-height: 1.1;
    text-align: center;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
    padding: 0em 20px 0.8em;
    font-family: var(--navlinksmainf);
    font-size: 13px;
    text-transform: lowercase;
    position: relative;
    font-weight: 300;
  }

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
  }

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
  }

/* D7.4 */
li#onlinelist {
    margin-top: 1em;
    border-top-style: solid;
    border-top-width: 1px;
    float: left;
    width: 100%;
    line-height: 130%;
    text-align: justify;
    color: var(--maintextcol);
  }

li#onlinelist a {
    color: var(--alllinkscol) !important;
    font-weight: var(--textreg);
}

/* D7.5 */
li#onlinelist div {
  border-top-style: solid;
  border-top-width: 1px;
  padding: 0.2em 0 0 0em;
  }

/* 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 {
    display: none;
  }

/* D8.4 */
#pun-about .container {
    display: none;
  }

/* D8.5 */
#pun-about p span {
    display: none;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: 400;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
   height: 25px;
    font-family: var(--navlinksmainf);
    font-size: 13px;
    font-weight: var(--textreg);
    letter-spacing: 0.2px;
    background: transparent;
    display: flex;
    align-items: center;
    color: var(--datecolor);
    gap: 3px;
    justify-content: center;
    text-transform: lowercase;
  }

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style: solid none;
  border-width: 1px 0;
  position: relative;
  height: 0;
  z-index: 1;
  }


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: none;
  border-bottom-width: 0px;
  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: 0;
  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% Inter, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }

.category .container thead {
display: none;
}


.punbb .user-avatar .isonline {
    width: 9px !important;
    height: 9px !important;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 4px !important;
    right: 0px !important;
    animation: blinkColor .9s linear infinite;
    -moz-animation: blinkColor .9s linear infinite;
    -webkit-animation: blinkColor .9s linear infinite;
    background: var(--alllinkscol) !important;
    z-index: 100;
}

.opsfor {
    margin-top: 3px;
    margin-bottom: 9px;
    text-align: justify;
    font-size: 13px;
    color: var(--opforcol);
    padding: 5px 10px;
    background: var(--opforbac);
    border-radius: 13px;
}

.podfor {
    text-align: left;
    font-family: var(--navlinksmainf);
    font-size: 13px;
    font-weight: 300;
    display: flex;
    align-items: anchor-center;
    color: var(--alllinkscol);
    flex-wrap: nowrap;
}

.podfor a {
    padding: 0px 5px 3px;
    border-radius: 15px;
    font-weight: var(--textreg) !important;
    color: var(--alllinkscol) !important;
    transition: 1s;
}

.podfor a:hover {
    color: var(--hovllinkalll) !important;
    transition: 1s;
}

div#post-form h2 {
    display: none;
}

.punbb .flag-i, li.pa-ua {
    display: none !important;
}

li.pa-online strong {
    display: block;
    opacity: 0;
    color: var(--proftext);
    text-align: left;
    text-transform: lowercase;
    width: 207px;
    font-size: 11px;
    border-radius: 10px;
    margin-left: 12px;
    margin-top: -6px;
    font-weight: var(--textreg);
}

li.pa-online strong:hover {
    opacity: 1;
}

li.pa-gifts, li.pa-awards {
    display: none;
}




.punbb .container thead {
    display: none;
}



#tags .container {
    position: absolute;
    right: 6px;
    top: 44px;
    z-index: 2;
    border: 1px solid #483d27;
    padding-top: 14px;
    border-radius: 10px;
    background: #ebebeb;
}

.post-content hr {
    opacity: 0.3!important;
    margin-bottom: 0.2em!important;
    margin-top: 0.2em;
}

.punbb .user-avatar .avatar-image {
    border-radius: 25% !Important;
    height: 45px!important;
    width: 45px!important;
    opacity: 0.85;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    float: left;
    border: 1px solid #568242 !important;
}

.punbb .user-avatar {
    float: left;
    position: relative;
    height: 45px!important;
    width: 50px!important;
    margin: 1px 11px 2px 0px !important;
}


a.lastpost-link {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--alllinkscol) !important;
    font-weight: var(--textreg) !important;
}

div#pun-navlinks {
    margin-bottom: 0 !important;
}

li.pa-fld3 {
    position: relative;
    margin-bottom: 5px;
    margin-top: -2px;
    z-index: 5;
    margin-left: 5px;
}

li.pa-fld3 img {
    width: 180px;
    height: 31px;
    object-fit: cover;
    border-radius: 15px;
}

li.pa-fld4 {
    width: 180px;
    margin-left: 12px;
}

li.pa-posts, li.pa-respect {
    font-size: 11px;
    display: inline-block;
    text-transform: lowercase;
    font-weight: 400;
    color: var(--proftext);
    width: 95px;
    text-align: center;
    margin-top: 15px;
}

li.pa-respect a {
    font-weight: 400 !important;
    color: var(--proftext)!important;
}

div#pun-announcement {
    margin-bottom: -10px !important;
}

#pun-status .status-right a {
    font-weight: var(--textmiddle) !important;
    color: var(--alllinkscol) !important;
}

.fut-block {
    position: absolute;
    width: 988px;
    height: 68px;
    background: var(--futbg);
    left: -1px;
    bottom: -1px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border: var(--borderm);
    border-top: none;
}

.banners {
    width: 657px;
    height: 31px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: absolute;
    bottom: 17px;
    gap: 1px;
    left: 2.6em;
    padding-right: 5px;
}

.banners img {
    border-radius: 10px;
}

.punbb .forum .tcl {
    font-size: 13px;
    padding-left: 2.3em;
}

li.pa-fld1 {
    z-index: 0;
    position: absolute;
    top: -6px;
    width: 26px;
    height: 26px;
    background: var(--profbg);
    border: var(--profbord);
    border-radius: 100%;
    left: 17.5em;
    z-index: 1;
}

li.pa-fld1 img {
    width: 22px;
    height: 22px;
    object-fit: cover;
}

.prof-bg img {
    width: 264px;
    height: 360px !important;
    object-fit: cover;
    border-radius: 15px;
}

div#pun-live-rusff {
    display: none !important;
}

/* ÍÀÃÐÀÄÛ */
#navawards {
    display: none !important;
}


ul#stylelist {
    position: absolute;
    left: -8px;
}

#viewprofile li .lz a {
    color: #805D85 !important;
}

div#pun-stats {
    width: 905px;
    margin: auto;
    margin-bottom: 1em;
}

#pun-index .user-avatar {
    height: 40px;
    vertical-align: baseline;
    margin-top: -5px !important;
}

.header-m {
    position: absolute;
    top: 155px;
    width: 780px;
    text-align: center;
    left: 101px;
    transform: rotate(-1deg);
    background: url(https://forumstatic.ru/files/001c/37/ca/76615.png);
    background-size: contain;
    padding: 18px;
    background-repeat: no-repeat;
    background-position-y: bottom;
    height: 97px;
    display: flex;
    align-items: center;
    font-family: 'Jost';
    color: #86795A;
    font-size: 13px;
}

.head-links {
    display: flex;
    width: 500px;
    position: absolute;
    left: 75px;
    top: 37px;
    gap: 10px;
    font-family: var(--navlinksmainf);
}

.head-links a {
    border: 1px solid #86795a8f;
    padding: 0 7px;
    background: #EEECEA;
    border-radius: 15px;
}

.head-links a:hover {
    border: 1px solid #86795a8f;
    padding: 0 7px;
    background: #86795A;
    border-radius: 15px;
    font-weight: 500;
    color: #EEECEA;
}

.post-content .spoiler-box > div {
    background: url(https://forumstatic.ru/files/001c/37/ca/21877.png) no-repeat left center !important;
    cursor: pointer;
    padding-left: 30px !important;
}

li.pa-fld2 {
    width: 230px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
}

li.pa-fld2 img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 228px;
    object-fit: cover;
    margin-left: -2px;
}

/* ÍÀÂÈÃÀÖÈß Â ØÀÏÊÅ
-------------------------------------------------------------*/

.spirit_nav-wrap {
    position: absolute;
    margin: auto;
    width: 270px;
    z-index: 10;
    height: 41px;
    font-family: var(--navlinksmainf);
    top: 67px;
    right: -25px;
}

.nav_button {
    text-align: center;
    padding: 7px 10px 8px 10px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .4slinear 0s;
    color: #EFEAE0;
    height: 26px;
    font-size: 27px;
    letter-spacing: 1.7px;
    font-weight: var(--textbold);
    font-style: var(--navlinksmains);
}

.nav_button:first-letter {
    font-family: 'Jost';
    color: #EBD67A;
    font-size: 27px !important;
}

.nav_button.i_active {
    background: transparent;
    color: #EFEAE0;
}

.nav_button.i_active:first-letter {
    color: #EBD67A;
}

.nav_block {
    display: none;
    background: var(--bodyc);
    position: absolute;
    font: 400 9px Jost;
    width: 100%;
    border: var(--headborder);
    border-radius: 15px;
}

.nav_block .link {
    padding: 8px;
    display: flex;
    flex-direction: column;
    text-align: center;
    text-transform: uppercase;
    gap: 5px;
}

.nav_block .link a {
    color: #837d48 !important;
    padding: 3px 10px;
    transition: all .4slinear 0s;
    border: var(--headborder);
    border-radius: 11px;
    font-size: 11px;
    font-weight: 400;
    background: #bfbb9452;
}

.nav_block .link a:hover {
    background: #837d48;
    color: #EFEAE0 !important;
}

input[type="button"] {
    border: 1px solid #4132321f;
    position: absolute;
    right: 20px;
}

#pun-adnav {
    float: left;
    width: 14em;
    margin-left: -15em;
    display: inline;
    margin-top: 8em !important;
}

div#viewprofile .lz-a a {
   color: #553030 !important;
}

#pun-admain fieldset {
    border-style: solid;
    border-width: 1px;
    padding: 0 18px 0 18px;
    margin: 73px 0 1em 0;
    border-color: #1a1a1a;
}

.header-block {
    position: absolute;
    top: -20em;
    width: 990px;
    left: 0;
}

.fldec1 {
    position: absolute;
    left: -103px;
    top: 113px;
    rotate: -4deg;
}

.fldec2 {
    position: absolute;
    right: -2px;
    top: -2px;
    z-index: 4;
}

.header-cont {
    width: 946px;
    padding: 20px;
    border: var(--headborder);
    position: absolute;
    border-radius: 20px;
}

.nead-bg {
    background: var(--bghead);
    height: 169px;
    width: auto;
    background-size: contain;
}

.for-namem {
    position: absolute;
    color: var(--bodyc);
    font-family: var(--headfname);
    font-size: 110px;
    text-shadow: 1px 1px 2px black;
    top: 50px;
    left: 2.45em;
    z-index: 6;
}

.fldec3 {
    position: absolute;
    top: -57px;
    z-index: 3;
    left: 30em;
}

.for-date {
    position: absolute;
    color: var(--datecolor);
    font-weight: var(--textmiddle);
    top: -7.6em;
    left: 34.05em;
    z-index: 8;
    background: var(--bodyc);
    padding: 0px 7px;
    border-radius: 10px;
    border: var(--headborder);
}

.best-ep {
    position: absolute;
    right: 3em;
    z-index: 5;
    top: -16.3em;
    text-align: center;
    width: 200px;
}

.be-names {
    display: flex;
    justify-content: center;
    gap: 3px;
    align-items: anchor-center;
}

.be-names a {
    background: var(--bodyc);
    padding: 1px 7px 2px;
    border-radius: 10px;
    text-align: center;
    color: var(--datecolor) !important;
    text-transform: uppercase;
    font-size: 11px!important;
    transition: 1s;
}

.be-names a:hover {
    background: var(--datecolor);
    color: var(--bodyc)!important;
    transition: 1s;
}

.be-names span {
    color: var(--bodyc);
    font-size: 16px;
}

.epname {
    display: flex;
    text-transform: uppercase;
    margin-top: 4px;
    font-size: 15px;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: 1px solid #fff;
}

.epname a {
    color: var(--navlinksmainc)!important;
    font-weight: var(--textmiddle)!important;
    letter-spacing: .4px;
}

.headnews {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: -16em;
    left: 3.5em;
    z-index: 6;
    width: 200px;
    gap: 10px;
}

.headnews .new {
    background: rgb(124 159 108);
    padding: 3px 5px;
    width: 200px;
    text-align: center;
    border-radius: 15px;
    color: var(--bodyc)!important;
    text-transform: uppercase;
    font-weight: var(--textreg)!important;
    letter-spacing: .7px;
    font-style: var(--navlinksmains)!important;
}

.headnews .old {
    padding: 3px 5px;
    width: 200px;
    text-align: center;
    border-radius: 15px;
    text-transform: uppercase;
    font-weight: var(--textreg) !important;
    letter-spacing: .7px;
    font-style: var(--navlinksmains) !important;
    color: var(--datecolor)!important;
    background: var(--bodyc)!important;
}

.headnews .old:hover, .headnews .new:hover {
    background: var(--newhov)!important;
    color: var(--bodyc)!important;
    transition: 1s;
    border: none;
}

#pun-index .category .tc2,#pun-index .category .tc3,
#f-subforums .tc2,#f-subforums .tc3{
  display:none!important;
}

.Tems_And_messages {
    display: flex;
    gap: 6px;
    align-items: center;
}

.Add {
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-size: 10px;
    font-family: var(--navlinksmainf);
    letter-spacing: 0;
    font-weight: 300;
    font-style: normal;
    color: var(--alllinkscol);
}

.Tems_And_messages .right{
  float: right;
}

.tms:before {
    position: relative;
    display: block;
    font-weight: 300;
    content: '\f07c';
    font-size: 10px;
    font-family: 'FontAwesome';
    color: var(--alllinkscol);
}

.mssg:before {
    position: relative;
    display: block;
    font-weight: 400;
    content: '\f086';
    font-size: 10px;
    font-family: 'FontAwesome';
    color: var(--alllinkscol);
}

.tms, .mssg {
    font-size: 0;
}


/* Ñòàòèñòèêà â ðÿä ñòèëü */
#pun-stats .statsinfo {
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
    justify-content: center;
}

#pun-stats .statsinfo li {
    flex-shrink: 1;
    text-align: center;
}

.statsinfo li.item1, .statsinfo li.item2, .statsinfo li.item3 {
    color: var(--maintextcol);
    padding: 1px 10px;
    border: var(--catbord);
    border-radius: 15px;
}

.statsinfo li.item4 {
    color: var(--maintextcol);
}

.statsinfo li.item4 a {
    font-weight: var(--textreg)!important;
    color: var(--alllinkscol)!important;
}


#pun-online .tcl.action {
    width: 44%!important;
}

.lz-n {
    text-transform: uppercase;
}

#keyboard-span input {
    position: relative;
}


/* ÄÎÏÎËÍÈÒÅËÜÍÛÅ ØÀÁËÎÍÛ
-------------------------------------------------------------*/
/* Ãîñòåâàÿ */

.post-content .gostevaya {
    width: 710px;
    margin: auto;
    text-align: center;
    background: #e4e3dd69;
    border-radius: 20px;
    border: var(--profbord);
}

.post-content .gost-name p {
    padding: 0;
}

.post-content .gost-name {
    margin-top: -5px;
}

.post-content .gost-name img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    width: 710px!important;
}

.post-content .gost-ams {
    color: var(--alllinkscol);
    text-transform: uppercase;
}

.post-content .gost-ams a {
    font-weight: var(--textreg)!important;
}

.post-content .gost-osn {
    display: flex;
    margin: 0 20px;
    justify-content: center;
    gap: 10px;
}

.post-content .gost-descr {
    width: 191px;
    text-align: justify;
}

.post-content .gost-descr p {
    padding-bottom: 0;
    font-size: 12px !important;
    padding-left: 0;
    padding-right: 5px;
}

.post-content .gost-descr .spoiler-box {
    margin-top: 1em!important;
}

.post-content .gost-vnes, .post-content .gost-role {
    width: 230px;
    margin-bottom: 15px
}

.post-content .gost-vnes p, .post-content .gost-role p {
    padding-left: 0 !important;
    font-size: 11px;
    text-transform: uppercase;
    font-style: italic;
    padding-bottom: 0 !important;
    color: var(--datecolor);
    padding: 0px 3px;
    border: var(--profbord);
    border-radius: 10px;
}

.post-content .gost-list p {
    height: 138px;
    margin-top: 5px;
    background: var(--profbg);
    padding: 10px !important;
    font-size: 13px;
    text-transform: none;
    overflow-y: auto;
    border: var(--catbord) !important;
}

.post-content .gost-list a {
    color: var(--datecolor)!important;
    font-style: normal;
}

/* Íîâîñòè */
.post-content .novosti {
    width: 650px;
    margin: auto;
    padding: 15px;
    background: #e4e3dd69;
    border-radius: 20px;
    border: var(--profbord);
}

.post-content .nov-text {
    width: 640px;
    margin: auto;
    color: var(--datecolor);
    border-left: var(--profbord);
    border-right: var(--profbord);
    border-radius: 15px;
    margin-top: 5px;
}

.post-content .nov-text p {
    padding: 15px;
    font-size: 13px;
}

.post-content .nov-top {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
    align-items: anchor-center;
}

.post-content .nov-top img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 100%;
    border: var(--profimgb);
}

.post-content .nov-act p, .post-content .nov-post p {
    padding: 0;
    display: flex;
    gap: 6px;
}

.post-content .new-quote {
    width: 640px;
    margin: auto;
    color: var(--datecolor);
    border: var(--profbord);
    border-radius: 15px;
    margin-top: 15px;
}

.post-content .new-quote p {
    padding: 15px;
    font-size: 13px;
    font-style: italic;
}

.post-content .nov-name p {
    padding: 10px 0 0;
    text-align: center;
    font-family: var(--headfname);
    font-size: 28px;
    color: var(--alllinkscol);
}

.post-content .nov-ddec p {
    padding: 0;
    font-size: 34px;
    color: var(--newhov);
}

/* Àêöèè */
.post-content .akcii {
        width: 515px;
    padding: 20px;
    margin: auto;
    border: var(--profbord);
    border-radius: 20px;
    background: #e4e3dd69;
}

.post-content .ac-name {
    margin-top: -10px;
}

.post-content .ac-name p {
    padding: 0;
    text-align: center;
    font-family: var(--headfname);
    font-size: 30px;
}

.post-content .ac-img img {
    width: 85px;
    border-radius: 10px;
    height: 85px;
    object-fit: cover;
}

.post-content .ac-img p {
    padding: 0;
    display: flex;
    gap: 10px;
}

.post-content .acminf {
    background: #dcd6caeb;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: anchor-center;
    gap: 7px;
    border: var(--profbord);
}

.post-content .ac-text {
    margin-top: 12px;
}

.post-content .ac-text p {
    padding: 0;
    font-size: 13px;
}

.post-content .ac-ab p {
    padding: 0;
    width: 295px;
    text-align: center;
}

.post-content .ac-ab span {
    font-style: normal!important;
    font-size: 10px;
    color: var(--datecolor);
    text-transform: uppercase;
    border: var(--profimgb);
    padding: 0 5px;
    border-radius: 10px;
}

/* Äîñüå */
.post-content .dosyer {
    width: 550px;
    margin: auto;
    padding: 15px;
    border-radius: 20px;
    border: var(--profimgb);
    background: url(https://i.pinimg.com/736x/b6/ee/f9/b6eef9922383b610a230fdd69798a4ad.jpg) bottom no-repeat;
    background-size: cover;
}

.post-content .dosimg p {
    padding: 0;
}

.post-content .dos-minf {
    width: 495px;
    margin: auto;
    display: flex;
    align-items: anchor-center;
    gap: 10px;
}

.post-content .dosimg img {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    margin-top: 0 !important;
}

.post-content .dos-in {
    display: flex;
    flex-direction: column;
    width: 385px;
}

.post-content .dos-name p, .post-content .dos-w p {
    display: flex;
    justify-content: space-around;
}

.post-content .dos-name span {
    font-style: normal!important;
    text-transform: uppercase;
    color: var(--datecolor);
}

.post-content .dos-pow {
    margin-top: 5px;
    display: flex;
    justify-content: space-around;
}

.post-content .dos-pow .spoiler-box {
    padding: 5px 10px !important;
    background: #d6d8cc !important;
    margin-top: 10px;
}


.post-content .dos-bl {
    background: #e4e5dd;
    padding: 15px;
    border-radius: 10px;
}

/* Âíåøíîñòè */
.post-content .vneshki {
    width: 600px;
    padding: 20px;
    margin: auto;
    text-align: center;
    background: url(https://i.pinimg.com/736x/b6/ee/f9/b6eef9922383b610a230fdd69798a4ad.jpg) bottom no-repeat;
    background-size: cover;
    border-radius: 20px;
    border: var(--profimgb);
}

.post-content .vne-block {
    background: #e4e5dd;
    border-radius: 15px;
    padding: 15px;
    position: relative;
}

.post-content .vneshki-name {
    margin-top: -26px;
    font-style: italic;
    text-transform: uppercase;
    width: 570px;
}

.post-content .vneshki-name p {
    padding: 2px 9px;
    width: fit-content;
    text-transform: uppercase;
    background: #55544c;
    color: #fff;
    border-radius: 15px;
    border: var(--profimgb);
    margin-left: 14.4em;
}

.post-content .vn-spis {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 10px 0;
}

.post-content .vne-women, .post-content .vne-men {
    width: 260px;
}

.post-content .vn-letters p {
    padding: 5px 0!important;
    font-family: var(--headfname);
    font-size: 23px;
    color: var(--datecolor);
}

.post-content .vn-list {
    margin-bottom: 10px;
}

.post-content .vn-list p {
    padding: 10px!important;
    border: var(--profbord);
    border-radius: 15px;
}

.post-content .vn-list a {
    color: var(--datecolor)!important;
    font-weight: var(--textreg)!important;
}

.post-content .vn-list a:hover {
    color: var(--hovllinkalll)!important;
}


/* Ëè÷íàÿ ñòðàíè÷êà */
.reveal-modal-bg { 
	position: fixed; 
	height: 100%;
	width: 100%;
	background: #000;
	background: rgba(0,0,0,.8);
	z-index: 100;
	display: none;
	top: 0;
	left: 0; 
	}
.reveal-modal {
	visibility: hidden;
	top: 100px; 
	left: 50%;
	margin-left: -300px;
	width: 520px;
	position: absolute;
	z-index: 101;
	padding: 30px 40px 34px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	}
.reveal-modal.small     { width: 200px; margin-left: -140px;}
.reveal-modal.medium     { width: 400px; margin-left: -240px;}
.reveal-modal.large     { width: 600px; margin-left: -340px;}
.reveal-modal.xlarge     { width: 800px; margin-left: -440px;}
	
.reveal-modal .close-reveal-modal {
    font-size: 22px;
    line-height: .5;
    position: absolute;
    top: 14px;
    right: 55px;
    color: #dddcb9;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}
.menu span {
cursor: pointer;
    display: block;
    margin: 7px 0;
    padding: 1px 6px;
    text-align: left;
    background: rgb(139 143 118);
    margin-right: 5px;
    border-radius: 15px;
    border: var(--mssinfb);
    color: rgb(255 255 255);
}

.menu-links {
    display: flex;
    justify-content: end;
    margin-right: 3em;
}
#submenu {
    display: inline-block;
}
#submenu, .menu span {

}
.menu .tabactive {
    color: rgb(97 107 84);
    background: #e3e0b1;
}
#submenu {
    padding: 12px;
    height: 180px;
    font-size: 12px;
    width: 600px;
    background: url(https://forumstatic.ru/files/001c/37/ca/98735.jpg?v=1) right content-box;
    border-radius: 20px;
    margin-left: 140px;
    border: 1px solid #abad8cb3;
}    
.submenutext {
	display: none; 
	height: 40px;
}

div#character .fut-block {
    display: none;
}

div#character #pun-crumbs2 .container {
    display: none;
}

div#character .go-up, div#character .go-down {
    display: none;
}

div#character .fa-leaf {
    display: none;    
}

.licn-img {
    position: absolute;
    top: 20px;
    left: 36.6em;
}

.licn-img img {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    border: 1px solid #abad8cc9;
    object-fit: cover;
}

.lichn-name {
    display: flex;
    width: 550px;
    margin: auto;
    justify-content: space-between;
    margin-top: -25px;
}

.lichn-name i {
    font-style: normal !important;
    padding: 1px 10px;
    width: 170px;
    text-align: center;
    background: var(--bodyc);
    border-radius: 10px;
    text-transform: uppercase;
    color: rgb(57 81 47);
}

.lichn-info {
    margin: auto;
    display: flex;
    margin-top: 15px;
    width: 500px;
    justify-content: center;
    gap: 10px;
}

.lichn-info i {
    font-style: normal!important;
    font-weight: 500;
    padding: 0px 10px 2px;
    color: var(--bodyc);
    font-size: 13px;
    letter-spacing: 0.5px;
    border: 1px solid rgb(234 234 234 / 55%);
    border-radius: 10px;
}

.llichn-about {
    width: 525px;
    padding: 15px;
    margin: auto;
    margin-top: 10px;
    border: 1px solid rgb(234 234 234 / 55%);
    border-radius: 10px;
    padding-bottom: 5px;
}

.licn-abnam {
    font-style: normal !important;
    padding: 1px 10px;
    width: max-content;
    text-align: center;
    background: rgb(234 234 234);
    border-radius: 10px;
    text-transform: uppercase;
    color: rgb(131 118 96);
    font-size: 10px;
    margin-top: -10px;
    margin-left: 230px;
    font-weight: 500;
}

.llichn-about p {
    margin-top: 5px;
    padding: 4px 7px;
    background: rgb(227 224 177 / 74%);
    border-radius: 10px;
    margin-bottom: 10px;
    color: #121212;
    letter-spacing: .4px;
    text-transform: none;
    text-align: justify;
    height: 38px;
    overflow-y: auto;
}

.lichn-about, .lichn-about1 {
    border: 1px solid rgb(234 234 234 / 55%);
    padding: 10px;
    border-radius: 10px;
    width: 160px;
}

.lichn-about1 {
    width: 250px!important;
}

.lichn-info1 {
    margin: auto;
    display: flex;
    margin-top: 15px;
    width: 570px;
    justify-content: center;
    gap: 10px;
}

.licn-abnam1 {
    font-style: normal;
    padding: 1px 10px;
    width: max-content;
    text-align: center;
    background: rgb(234 234 234);
    border-radius: 10px;
    text-transform: uppercase;
    color: rgb(131 118 96);
    font-size: 10px;
    margin-top: 0px;
    font-weight: 500;
    margin-bottom: 5px;
}

.linklifns1 {
    background: #e3e0b18a;
    padding: 8px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 5px;
    align-items: flex-start;
    height: 64px;
    overflow: auto;
    overflow-x: hidden;
}

.linklifns2, .linklifns3, .linklifns4 {
    background: #e3e0b18a;
    padding: 8px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: flex-start;
    height: 64px;
    overflow: auto;
    overflow-x: hidden;
    justify-content: center;
}

.linklifns1 img {
    width: 140px;
    height: 31px;
    object-fit: cover;
}

.linklifns2 img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.linklifns3 img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 10px;
}

.linklifns4 img {
    height: 50px;
    width: 40px;
    object-fit: contain;
}
#upload-button-container, #image-width, #image-thumb-width, #image-insert-format, #insert-all-images-container {
    margin-top: 30px!important;
}



.post-content .opisbl {
    width: 600px;
    margin: auto;
    border: 1px solid #97977f5e;
    background: #e5e4e4;
    border-radius: 14px;
}

.post-content .opisblname {
    text-align: center;
    padding: 10px;
    padding-bottom: 0;
    background: url(https://upforme.ru/uploads/001c/85/42/2/40395.png) no-repeat;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    color: #eaeaea;
    font-family: var(--headfname);
}

.post-content .opisblname p {
    padding: 0 0 10px;
    font-size: 21px;
}

.post-content .opistel {
    margin: 10px 0;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-content .opisblistd {
    text-align: center;
    width: 80%;
    margin: auto;
    background: #95978054;
    border-radius: 14px;
    padding: 3px;
    margin-bottom: 10px;
}

.post-content .opisblistd p {
    padding: 0;
}

.post-content .opisbltext {
    margin: 2px 6px;
    padding: 15px;
    background: rgb(137 131 121 / 14%);
    border-radius: 10px;
    border: 1px solid #cbcbc3;
}

.post-content .opisbltext p {
    padding: 0px;
}

@media screen and (max-device-width: 580px) {
.go-up, .go-down {
    width: 41px;
    height: 41px;
    margin-bottom: -84px;
    margin-left: 71.55em;
}

.go-up {
    bottom: 530px;
}

}