/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
@import url(style_cs.1767032058.css);

@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@300;400;500;600;700&family=Manrope:wght@200..800&display=swap');


@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');



:root {
    --base-bg: #5f4e50 url(https://forumstatic.ru/files/001c/9e/f6/34544.jpg);
    --base-bg2: url(https://forumstatic.ru/files/001c/9e/f6/86309.jpg);
    --text: #2b2526;
    --sec-text: #4d4245;
    --accent: #724446;
    --accent2: #a67755;
    --navi-link: #d7cec6;
    --navi-link-hov: #eebb95;
    --main-font: manrope;
    --sec-font: Cormorant SC;
    --head: url(https://forumstatic.ru/files/001c/9e/f6/14718.jpg);
    --profile-bg: url(https://forumstatic.ru/files/001c/9e/f6/50425.jpg);
    --quote: #d6cec6;
    --bord: #c7bdb3;
    --cat-fon: url(https://forumstatic.ru/files/001c/9e/f6/32363.jpg);
    --tab-text: #efeae5;
    --cfoot: url(https://forumstatic.ru/files/001c/9e/f6/29714.png);
    --pf-bg: #dbd4cd;
    --tab-link: #eebb95;  
    --dark-bord: #32292b;
    --cat-img: url(https://forumstatic.ru/files/001c/9e/f6/64930.jpg);
    --quo-img: url(https://forumstatic.ru/files/001c/9e/f6/34269.jpg);
}




/* 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 {
  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%;
    position: initial !important;
}

/* A3.2 */
.punbb {
    font: normal 70% Verdana;
color: var(--text);
}

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
    font: 12px verdana, arial, helvetica, sans-serif;
    background: var(--pf-bg);
    border: 1px solid var(--bord);
    outline: none;
    color: var(--text);
    border-radius: 5px;
}

/* 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 legend span {
    font-size: 11px;
}

/* 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: underline
  }

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
  }


/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow:hidden;
  line-height: 0.0;
  font-size: 0;
  }

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden;
  }


/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.1 */
#pun {
    margin: auto;
    width: 1160px;
    margin-top: 100px;
    margin-bottom: 50px;
    background: var(--cfoot) bottom no-repeat, var(--base-bg2) repeat-y;
    position: relative;
    border-radius: 7px;
    box-shadow: 0 0 0 1px var(--dark-bord);
}


/* A5.2 */
.punbb {
    float: none;
    width: auto;
    height: auto;
    margin: 0px 50px 170px;
}

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
 min-height: 100px;
  }

#pun-redirect {
    border: 0 none!important;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    background: var(--base-bg) fixed top center/cover;
}
    #pun-redirect *{
      border:0 none;
    }
    #pun-redirect .main-title {
      display:none;
    }
#pun-redirect.punbb .info .container {
    text-align: center;
    display: block;
    margin: 5% auto;
    font-size: 13px;
    font-weight: 400;
    font-family: var(--main-font);
    padding: 30px 0px;
    height: auto;
    border: 0 !important;
    text-transform: lowercase;
    width: 900px;
    font-weight: 500;
    margin-top: 120px;
    color: var(--tab-text);
}
#pun-redirect.punbb .info .container a {
    color: var(--red-accent) !important;
}

#pun-redirect.punbb .info .container a:hover {
    color: var(--tab-text) !important;
}



/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 0.4em;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }

/* 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;
  }

/* A5.9 */
.punbb .container {
  border-style: none;
  border-width: 0px;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-debug h2 {
    font-family: var(--main-font);
    font-size: 10px !important;
    font-style: normal;
    font-weight: 400;
    padding: 0;
    text-align: center;
    width: auto;
    letter-spacing: 0.6px;
    text-transform: lowercase;
    margin: -20px 0px 20px 0px;
}


#pun-main h1 {
    display: none;
}


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: justify;
}

/* B1.2 */
.punbb .post-sig dt {
    display: block;
    text-align: center;
    border-top: 1px dotted #707070;
    width: auto;
    margin: 20px 50px;
}

/* B1.3 */
.punbb .post-content p {
  margin: 0 0 0 0px;
  padding: 0 0 1em 0;
  line-height: 150%;
  }

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom
  }

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
    margin: 1em 0px 1em 0px;
    padding: 15px 20px 15px 20px;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
    font-size: 10px;
    font-family: var(--main-font);
    text-transform: uppercase;
    font-style: normal;
    display: inline-flex;
    color: var(--tab-text);
    margin: 0px 0 10px 0px;
    padding: 3px 20px 4px;
    border-radius: 5px;
    background: var(--cat-fon) center/cover;
    letter-spacing: .5px;
}

.punbb .code-box strong.legend a {
    color: var(--base-bg2) !important;
}

.punbb .code-box strong.legend a:hover {
    color: var(--quote) !important;
}


/* 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 {
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0px 0px 5px !important;
    position: relative;
    padding: 0 0px;
}

/* B3.2 */
.multipage {
  margin-top: 1em;
  }

/* B3.4 */
.linkst .postlink {
    text-align: right;
}

/* B3.5 */
.punbb .linksb {
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: none;
}

/* B3.6 */
.linksb .pagelink {
    float: left;
    width: auto;
    text-align: left;
}

/* B3.7 */
.linksb .postlink {
    float: right;
    width: auto;
}

/* B3.8 */
.subscribelink {
    clear: both;
    display: flex;
    float: right;
    background: var(--quote);
    padding: 5px 15px 6px;
    text-transform: lowercase;
    transition: all .4s linear 0s !important;
}

/*************************************************************
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 {
  border-style: solid;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
    padding: 0;
    margin: 0;
    font-size: 0;
}

/* C1.6 */
.punbb fieldset legend span {
    padding: 0;
    margin: 0;
    font-size: 0;
    font-family: var(--main-font);
    text-transform: uppercase;
}

/* 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;
    font-family: var(--main-font);
    margin-bottom: 0;
    display: inline-flex;
    text-transform: uppercase;
}

/* 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 {
  text-align: left;
  width: 45%;
  }

/* C2.2 */
#pun-viewforum .tc2, #pun-viewforum .tc3, #pun-viewforum .tcmod {
    text-align: center;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: lowercase;
    width: 8%;
}


/* C2.3 */
.punbb .main .tcr {
    overflow: hidden;
    text-align: left;
    width: 30%;
}

#pun-index .tcr {
    text-transform: none;
    width: 35%;
    position: relative;
    text-align: left;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    display: flex;
    letter-spacing: 0;
    align-items: center;
}

/* C2.4 */
#pun-userlist .main .tcl, #pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {
    background-color: transparent;
    width: 40%;
    text-transform: lowercase;
}

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
background-color: transparent;
  text-align: center;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
background-color: transparent;
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
background-color: transparent;
  width: 90%;
  white-space: normal;
  }

/* C2.8 названия подфорумов*/ 
#pun-index .tcl h3 {
    font-family: var(--main-font);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}

#pun-index .tcl {
    width: 70%;
    position: relative;
    overflow: visible;
}

/* 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: 10px 0;
}

/* C2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
    border-style: none none none solid;
    border-width: 0 0 0 1px;
    padding: 0.4em 1em 0.4em 1.5em;
  }

/* C2.13 */
.punbb .main .tcl {
      border-left-style: none;
      border-left-width: 0
      }

    * html .tclcon {height: 1px}

/* C2.14 */
#pun-index td div.tclcon {
    margin: 0 50px 0 20px;
    text-align: justify;
    position: relative;
    font-family: var(--main-font);
    font-size: 11px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 4px;
    letter-spacing: 0;
    text-transform: lowercase;
}


/* C2.15 */
.punbb div.icon {
    float: left;
    display: block;
}




#pun-messages .main .tc2 {
  text-align: center;
  }
  

 /* C3 Topics

-------------------------------------------------------------*/
#pun-title, #pun-navlinks {
  border-color: #202021 ;
}

/* CS2.1 */
.punbb .container, .punbb .post-body {
  border-color:  transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
    border-style: none;
    border-width: 0;
  }

/* CS2.3 */
.punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent ;

  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.post-links ul, .post-links, .usertable table {
  border-color: transparent;

  }

/* CS2.5 */
.punbb th {
  border-color: transparent ;

  }

/* CS2.6 */

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;

  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent ;

  }

.punbb .divider {
  border-color: transparent;

  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid transparent ;

  }


/* C3.1 */
.punbb .post .container {
    border: none;
    background: var(--pf-bg);
    border-radius: 5px;
    border: 1px solid var(--bord);
}

/* C3.2 */
#pun-viewtopic .post h3 {
    text-align: center;
    display: flex;
    justify-content: flex-end;
    position: relative;
    top: 10px;
}

.post h3 span strong:before {
    content: ', #';
}

/* C3.3 */
.punbb .post h3 span {
    display: flex;
    font: 400 11px var(--main-font);
    height: auto;
    align-items: center;
    justify-content: space-between;
    background: var(--quote);
    margin-left: 260px;
    padding: 3px 15px;
    border: 1px solid var(--bord);
    width: auto;
    text-transform: lowercase;
    border-radius: 5px;
    margin-right: 20px;
}


/* C3.4 */
.punbb .post h3 strong {
    float: right;
    width: auto;
    text-align: right;
    font-weight: normal;
    order: 2;
}

.punbb .post .post-author {
    float: left;
    width: 240px;
    font-size: 11px;
    margin: 0;
    font-family: var(--main-font);
    margin-bottom: 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    background: var(--profile-bg) center/cover;
    border-radius: 5px 0 5px 0;
    border: 1px solid #a2936c;
    box-shadow: 0px 0px 20px #5340422e;
    color: var(--tab-text);
}

#pun-main .post-author ul {
    text-align: center;
    background: var(--text);
    margin: 20px 15px 110px;
    border-radius: 5px;
    border: 1px solid #4b3f4159;
    padding: 10px;
    box-shadow: 0px 0px 15px #221e1f66;
}


/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
    padding: 0 0 10px 0;
    line-height: 160%;
}

/* C3.7 */
.pa-author {
    text-transform: uppercase;
    text-align: center;
    padding: 0;
    align-items: center;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* C3.8 */
.pa-author a {
    font-weight: 400 !important;
    font-size: 17px;
    color: var(--navi-link) !important;
    padding-left: 10px;
    font-family: var(--sec-font);
    text-shadow: 0px 0px 1px #b7b3b1;
}

.pa-author a:hover {
    color: var(--navi-link-hov) !important;
}


/* C3.9 */
li.pa-title {
    font-size: 10px;
    font-weight: 400;
    font-family: var(--main-font);
    letter-spacing: 0;
    text-align: center;
    margin: 0 5px;
    text-transform: lowercase;
}


/* C3.11 */
.punbb .post-body {
    margin-left: 250px;
    border-left-style: solid;
    border-left-width: 1px;
    padding: 0 0 1px 0;
}

/* C3.12 */
.punbb .post-box {
    padding: 20px;
}

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
}

/* C3.15 */
.punbb .post-links ul {
    text-align: right;
    font-size: 11px;
    font-family: var(--main-font);
    font-weight: 400;
    text-transform: lowercase;
    padding: 0;
    margin: 10px 10px 10px 0;
}

/* 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: 10px 0 0;
    text-align: right;
    font-size: 11px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: lowercase;
}

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul, #profilenav ul {

  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px 0em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-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 {
    margin: 0;
    border-style: none none none none;
    border-width: 0px 0px 0 0px;
    margin-bottom: -131px;
}

/* D1.2 */
#pun-title h1 {
  display : block;}

/* D1.3 */
#pun-title .container {
  border-style: none none none none;}


/* D1.4 */
#pun-title h1 span  {
  display: none;}

#pun-title h1 span  {
  font-size: 1.5em;}


/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: 55px;
  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 {
    flex-direction: row;
    text-transform: uppercase;
    justify-content: center;
    top: -54px;
    left: 0;
    position: absolute;
    margin: 0 auto;
    width: 100%;
    display: flex;
    background: rgb(var(--accent), .45);
    align-items: center;
    border-radius: 30px 30px 0 0;
}

#pun-navlinks .container {
    padding: 15px 70px 0;
    position: relative;
}
#pun-navlinks li {
    display: inline;
    margin: 0;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
    margin: 0;
    display: flex;
    width: 1160px;
    box-sizing: border-box;
    justify-content: center;
    z-index: 9;
    height: 35px;
    position: absolute;
    left: 0;
    top: 397px;
}

/* D4.2 */
#pun-ulinks .container {
    /* border: 1px solid red; */
    padding: 0px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
    display: inline-block;
}

/* D4.4 */
#pun-ulinks li a {
    padding: 0px 6px;
}

/* 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: 12px;
    font-family: var(--main-font);
    font-weight: 400;
    letter-spacing: 0;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-transform: none;
    gap: 3px;
    width: 100%;
    color: var(--base-bg2);
    margin-top: 30px;
}


/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }




/* D5.4 */
#pun-crumbs1 {
    font-weight: 400;
}

/* D5.5 */
#pun-crumbs1 p.container {
    height: auto;
    font-family: var(--main-font);
    font-size: 13px;
    font-weight: 400;
    text-transform: lowercase;
    margin-top: 7px;
}


#pun-crumbs1 p.container a, #pun-crumbs2 p.container a {
    font-weight: 400;
    transition: 1s;
}


#pun-crumbs1 p.container a:hover, #pun-crumbs2 p.container a:hover {
    transition: 1s;
    font-weight: 400;
}


/* D5.6 */
#pun-break1 {
    margin: 0 1em;
    border-style: solid none;
    border-width: 1px 0;
    height: 0;
    margin: 0px 0 0 0 !important;
    position: relative;
    z-index: 1;
}

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  }

/* D6.3 */
#pun-announcement .container {
    padding: 0;
    text-align: center;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 28px 0 -23px;
}


/* D7 Statistics
-------------------------------------------------------------*/
#pun-stats .container {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0px;
    padding: 15px 20px;
    font-family: var(--main-font);
    text-transform: lowercase;
    background: var(--pf-bg);
    border-radius: 6px;
    box-shadow: 0px 0px 20px #17121212;
}

/* 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: 0;
    border-top-style: solid;
    border-top-width: 1px;
    float: left;
    width: 100%;
    line-height: 130%;
}

/* D7.5 */
li#onlinelist div {
    border-top-style: solid;
    border-top-width: 1px;
    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: 0.8em 1em;
  }

/* D8.3 */
#pun-about {
  margin-top: 0;
  margin-bottom: 0;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: center;
  line-height: 150%;}

/* D8.5 */
#pun-about p span {
    display: block;
    margin-top: 0;
    font-size: 9px;
    font-weight: 400;
    font-family: var(--main-font);
    text-transform: lowercase;
}

/* D8.6 */
#pun-crumbs2 {
  font-weight: 400;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
    font-family: var(--main-font);
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    height: auto;
}

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style:  none;
  border-width: 0px 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: none;
  border-bottom-width: 0px;
  font-size: 1.1em;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }


#pun-status .status-right {
display: none;
}



.punbb th {
    font-size: 0 !important;
}

#pun-index .category .tc2,#pun-index .category .tc3,
#f-subforums .tc2,#f-subforums .tc3{
  display:none!important;
}

html * {
    box-sizing: border-box;
}


.pa-ip {
    font-size: 9px;
    margin-top: 5px;
}




#pun-viewforum .tcr {
    position: relative;
    display: flex;
    gap: 0 10px;
    align-items: center;
}



.postlink.long {
    width: auto !important;
}


.forum tr {
    margin: 10px 0;
    display: flex;
    gap: 20px;
    font: 400 11px var(--main-font);
    align-items: center;
    background: var(--quote);
    text-transform: lowercase;
    padding: 0 10px;
    border-radius: 6px;
}

.forum thead {
    display: none;
}





.topic a.sharelink {
    float: right;
    margin-left: 1em;
    display: none;
}


.reactions-root {
    display: none;
}




#profile .container fieldset legend span {
    padding: 0;
    margin: 0;
    font-size: 10px;
    font-family: var(--main-font);
    text-transform: uppercase;
}


 #pun-main h2 span {
    font-size: 0px;
}


#html-header {
    color: var(--tab-text);
}






.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
    width: 8%;
}





.html-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;}


.html-box a {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 5px;
    padding: 6px 11px 5px;
    line-height: 13px;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--tab-text) !important;
    background: var(--sec-text);
    font-family: var(--sec-font);
    justify-content: center;
    border: 1px solid #32292b4a;
    box-shadow: 0px 0px 10px #523c3e40;
    font-weight: 400;
}



.html-box a:hover {
    background: var(--accent);
}





#tooltip {position: absolute; 
background: var(--accent); z-index: 999;
max-width: 200px; border: none; border-radius: 10px; box-shadow: 0 0 0px 1px rgba(0,0,0,.05) inset; font-family: var(--main-font); font-size: 11px; display: none; color: #efeee4; text-align: center; padding: 6px 22px; font-weight: 400;}



#pun-index .tc2, #pun-index .tc3, #pun-index .tcmod {
    display: none;
}



.sered {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

#pun .answer-box, #pun .code-box, #pun .hide-box {
    padding: 15px 20px !important;
    position: relative;
}


#pun-admain .adlabel {
    width: 18em !important;
}


#pun-index .tcl h3 a {
    font-size: 21px;
    font-family: var(--sec-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -.5px;
}


#pun-index .tc2, #pun-index .tc3, #pun-index .tcmod {
    display: none;
}

#plng {
    font-size: 10px !important;
    font-weight: 400 !important;
    margin-top: 0px !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease-in-out 0s;
    text-transform: uppercase;
    white-space: nowrap;
    gap: 5px;
    font-family: var(--main-font);
    padding: 0px 20px;
    height: 28px;
    border: 1px solid var(--bord);
    border-radius: 4px;
    background: var(--pf-bg);
}





#pun-searchposts  .post .post-author {
    margin: -26px 0px 0px 0px;
}


.post-content .spoiler-box > div {
    background: transparent !important;
    position: relative;
    padding: 10px;
    font-family: var(--main-font);
}

.spoiler-box {
    padding: 0 !important;
}


#form-buttons td {
    background-image: none !important;
    position: relative;
    width: 26px;
    height: 26px;
    margin: 5px 0px 5px 0px;
}


#pun-index .category table tr td {
padding: 0;
}




.pa-posts .fld-name, .pa-respect .fld-name, .pa-fld3 .fld-name, .pa-fld2 .fld-name {
font-size: 0px}


.pa-posts .fld-name:before {
    content: '\f0e0';
    font-family: FontAwesome;
    font-size: 10px;
    color: var(--accent);
}
.pa-respect .fld-name:before {
    content: '\f004';
    font-family: FontAwesome;
    font-size: 10px;
    color: var(--accent);
}

.pa-fld3 .fld-name:before {
    content: '\f51e';
    font-family: 'Font Awesome 6 Pro';
    font-size: 10px;
    color: var(--accent);
    font-weight: 600;
}

.pa-fld2 .fld-name:before {
    content: '\f56b';
    font-family: 'Font Awesome 6 Pro';
    font-size: 10px;
    color: var(--accent);
    font-weight: 600;
}


.pa-respect span a {
    padding: 1px;
    width: 12px;
    height: 12px;
    position: absolute;
    margin-top: 0px;
    margin-left: -16px;
    /* border: 1px solid red; */
}

.pa-posts span a {
    padding: 1px;
    width: 12px;
    height: 12px;
    position: absolute;
    margin-top: 0px;
    margin-left: -12px;
    /* border: 1px solid red; */
}


.punbb .post-content .scrollbox {
    width: 100%;
    height: 10.5em!important;
    overflow: auto;
}


.punbb .post-content blockquote p {
padding: 5px 0 5px 0;
}

.post-content .spoiler-box > div.visible {
    border-bottom: 1px solid var(--bord);
    background: var(--quote) !important;
}
.post-content .spoiler-box > blockquote.visible {
    padding: 10px 20px;
}


.post-content .spoiler-box>div:before {
    content: '\f070';
    font-family: 'FontAwesome';
    font-size: 11px;
    transition: all .5s ease-in-out 0s;
    align-items: center;
    margin-right: 10px;
    color: var(--sec-text);
    opacity: .5;
}

.post-content .spoiler-box > div.visible:before {
    content: '\f06e';
    opacity: 1;
}


#font-area {
    display: flex;
    height: 213px;
    overflow-y: hidden;
    text-align: left;
    width: 930px;
    flex-wrap: wrap;
    flex-direction: column;
}

select#mod-options {
    font-family: var(--main-font);
    font-size: 10px;
    text-transform: uppercase;
    padding: 0px 15px;
    margin: 0;
}

.pa-respect img {
display: none;
}



.banners {
    width: 1108px;
    height: 54px;
    position: absolute;
    text-align: center;
    left: 0;
    margin: -57px 0 0 26px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.banners div {
    padding-right: 10px;
    gap: 2px;
    display: flex;
    justify-content: space-between;
    height: 32px;
    overflow-y: auto;
    box-sizing: border-box;
    flex-wrap: wrap;
    /* border: 1px solid red; */
    width: 1087px;
}

.banners div img {
    opacity: .7;
    transition: all .7s ease-in-out 0s;
}

.banners div img:hover {
    opacity: 0.9;

}

#pun-profile #viewprofile ul {
    width: 100%;
    border: 1px solid var(--bord);
    margin: 0;
    padding: 0;
}

#viewprofile #profile-left {
    text-transform: lowercase;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    background: var(--profile-bg) center / cover;
    font-size: 12px;
    font-family: var(--main-font);
    padding: 20px !IMPORTANT;
    color: var(--tab-text) !important;
    border-right: 1px solid var(--bord);
}


#profile-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    width: auto !important;
    border-radius: 0;
    padding: 20px !important;
    box-sizing: border-box;
}


#viewprofile #profile-left li strong, #viewprofile #profile-left li strong a {
    color: var(--tab-text) !important;
    font-weight: 400 !important;
    font-family: var(--main-font);
}


#profile-right li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: auto;
    text-align: center;
    padding: 10px 10px !important;
    font-size: 11px;
    background: #00000008;
    border: 1px solid #0000000a;
    gap: 6px;
    font-family: var(--main-font);
}

#profile-right #pa-fld1 {
    width: 100%;
}

#profile-right .pers_plash {
    background-image: none;
    background-repeat: no-repeat;
    width: 200px;
    height: 40px;
    position: relative;
    padding: 0 !important;
    margin: 0 !IMPORTANT;
}


#profile-right  .pers_plash_text {
    font-size: 7px !IMPORTANT;
    margin: 0 20px !important;
}

#pun #profile-right li span {
    float: none;
    margin: 0;
    width: auto;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    padding: 0 !important;
}


#profile-right li strong {
    padding: 0 !important;
    text-transform: none;
}


.post-content hr {
    opacity: 0.5;
    border: none;
    margin-bottom: 0.8em;
    background: var(--head);
    height: 2px !important;
    box-shadow: 0px 0px 0px 1px var(--accent);
}

#pun-index .datetime, #pun-index .byuser {
    font-size: 11px;
    font-weight: 400;
    color: var(--sec-text);
    text-transform: lowercase;
}

#html-header a {
    color: var(--tab-link);
}

#html-header a:hover {
    color: var(--tab-text);
}


.checkfield input[type="checkbox"], .radiofield input[type="radio"] {
    margin: 0 0.3em;
    accent-color: var(--accent);
}



#post-form .container {
    padding: 0;
}



.tcr-wrap {
    display: flex;
    flex-direction: column;
    text-transform: none;
    gap: 2px;
}


#pun-index .tc2, #pun-index .tc3, #pun-index .tcmod {
    display: none;
}


.Add {
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-size: 10px;
    font-family: var(--main-font);
    letter-spacing: 0;
    color: #29292b;
    font-weight: 300;
    font-style: normal;
}

.tms, .mssg {
font-size: 0;
}

.tms:before {
    position: relative;
    display: block;
    font-weight: 600;
    content: '\f07b';
    font-size: 9px;
    font-family: 'FontAwesome';
    color: var(--sec-text);
}

.mssg:before {
    position: relative;
    display: block;
    content: '\f27a';
    font-weight: 600;
    font-size: 9px;
    font-family: 'FontAwesome';
    color: var(--sec-text);
}

.Tems_And_messages {
    display: flex;
    gap: 6px;
    align-items: center;
}


#pun-stats .statsinfo {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}


#pun-stats .statsinfo li {
    flex-shrink: 1;
    flex-grow: 1;
    text-align: center;
    text-transform: lowercase;
    letter-spacing: 0;
    color: var(--text);
    font-size: 10px;
    background: var(--navi-link);
    padding: 2px 10px;
    border-radius: 5px;
}


.forum .tclcon > a, .forum .tcr a {
    display: block;
}


.forum .tclcon .byuser:before {
    content: 'создал:';
    color: var(--sec-text);
    opacity: .7;
}


.forum .intd {
    display: flex;
    align-items: center;
}


.forum .tcr .byuser:before {
    content: 'последнее сообщение от:';
    color: var(--sec-text);
    opacity: .7;
}


.pagelink, .new-poll a, .new-topic a, .postlink span a {
    background: var(--quote);
    padding: 5px 10px;
    text-transform: lowercase;
    border-radius: 5px;
    font-size: 10px;
    font-family: var(--main-font);
    color: var(--text);
}

.pagelink strong {
    background: var(--pf-bg);
    padding: 1px 4px 1px 3px;
    border-radius: 3px;
    border: 1px solid var(--bord);
}


.post h3 span a {
    font-weight: 700;
    color: var(--accent) !important;
}

.post h3 span a:hover {
    color: var(--text) !important;
}


.wrap-resp {
    gap: 6px;
    display: flex;
    justify-content: center;
    margin: 10px 20px;
}

.pa-posts, .pa-respect, .pa-fld3, .pa-fld2 {
    /* display: flex; */
    -webkit-backdrop-filter: blur(10px);
    font-size: 10px;
    padding: 6px 8px 2px;
    /* height: 30px; */
    font-weight: 400;
    background: #00000008;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}


.pa-posts .fld-name, .pa-respect .fld-name, .pa-fld3 .fld-name, .pa-fld2 .fld-name {
    display: flex !important;
    justify-content: center;
    width: 100%;
    height: 7px;
    align-items: center;
    margin-bottom: 5px;
}


tr.inew div.icon:before {
    content: '';
    background: #fff8f2;
    mask: url(https://forumstatic.ru/files/001c/9e/f6/22309.svg) no-repeat center left;
    -webkit-mask: url(https://forumstatic.ru/files/001c/9e/f6/22309.svg) no-repeat center left;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    width: 16px;
    height: 16px;
}

tr.inew div.icon {
    display: flex;
    justify-content: center;
    left: -24px;
    align-items: center;
    position: absolute;
    margin-top: 3px;
    background: var(--accent);
    height: 24px;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0px 0px 10px #5c3a3c9e;
    border: 1px solid #b3a89e;
}

.punbb .formal fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    font-family: var(--main-font);
}



span.qc-post-link {
    margin: 1px 10px;
}


span.closedatafield, span.stickytext {
    display: none;
}

#pun-modviewforum tr.inew div.icon {
    display: none;
}




.mirro-an {
    position: absolute;
    z-index: 1;
    left: 384px;
    opacity: 1;
    top: 0;
    overflow: hidden;
    width: 337px;
    height: 363px;
}



del {
    text-decoration: none!important;
    filter: blur(4px);
    transition-duration: 0.3s;
}
del:hover {
    filter: blur(0px);
     transition-duration: 0.3s;
}



#pun-navlinks .container::before {
    content: "";
    background: #4b3b3d4a;
    width: 100%;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 6px;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    z-index: -1;
    pointer-events: none;
    border: 1px solid #75606161;
    box-shadow: 0px 0px 39px #30292a4f;
}






/*Сверкающая пыль*/
.dust {
    position: absolute;
    height: 441px;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    /* border: 1px solid red; */
    pointer-events: none;
}
.particle {
    position: absolute;
    background-color: #d59f7e;
    border-radius: 50%;
    opacity: var(--opacity, 0.8);
    width: var(--size, 2px);
    height: var(--size, 2px);
    top: var(--top);
    left: var(--left);
    animation-name: flickerMove;
    animation-duration: var(--duration, 3s);
    animation-iteration-count: infinite;
}
@keyframes flickerMove {
    0%, 100% {
        opacity: var(--opacity-start, 0.8);
        transform: translate(0, 0);
    }
    50% {
        opacity: var(--opacity-end, 0.2);
        transform: translate(var(--dx, 2px), var(--dy, -2px));
    }
}

.dust.hidden {
  display: none;
}
#toggleDust {
    position: absolute;
    background: var(--sec-text);
    border: 1px solid #786f68;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    box-shadow: 0px 0px 20px #2a2223;
    top: 21px;
    left: 21px;
    cursor: pointer;
}

#toggleDust::before {
    content: '\f72b';
    color: var(--tab-text);
    font-size: 11px;
    font-weight: 600;
    font-family: 'Font Awesome 6 Pro';
}

#toggleDust.active {
    background: var(--dark-bord);
}

#pun-index .category .container {
    position: relative;
    padding: 0;
    background: var(--pf-bg);
    margin: 0;
    border: 1px solid var(--bord);
    border-radius: 5px;
    box-shadow: 0px 0px 20px #5542441f;
}

#pun-index .category .container::before {
    border-radius: 5px 0 0 5px;
    content: '';
    height: 100%;
    position: absolute;
    width: 76px;
    background: var(--cat-img) center;
    border-right: 1px solid #564444;
}

#pun-index .category h2, #pun-stats h2 {
    width: auto;
    -webkit-text-size-adjust: 100%;
    margin: 10px 0;
    border-width: 1px 0;
    display: flex;
    padding: 0 !IMPORTANT;
    border-radius: 4px;
    justify-content: flex-start;
    gap: 0;
    text-transform: none !important;
    align-items: center;
    flex-direction: column;
}


#pun-index .category table tr {
    -webkit-appearance: none;
    display: flex;
    gap: 0 30px;
    position: relative;
    align-items: center;
    margin: 20px 0px 20px 77px;
    padding: 0px 10px 10px 10px;
}


#pun-index .category h2 span, #pun-stats h2 span {
    color: #32292b73;
    font-family: var(--sec-font);
    font-size: 32px;
    margin-left: 0;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0;
}
#pun-index .category h2 seid, #pun-stats h2 seid {
    color: var(--sec-text);
    font-family: var(--main-font);
    font-size: 13px;
    letter-spacing: 0;
    display: flex;
    margin-left: 0;
    text-align: left;
    background: var(--pf-bg);
    padding: 7px 15px;
    border-radius: 5px;
    border: 1px solid var(--bord);
    text-align: center;
}



.answer-box:before {
    content: "\f10e";
    display: flex;
    position: absolute;
    font-family: fontawesome;
    width: 22px;
    height: 22px;
    justify-content: center;
    align-items: center;
    top: 14px;
    left: -7px;
    background: var(--bord);
    border-radius: 3px;
}


/*Актив*/
.activees, .activees2 {
    height: 50px;
    width: 189px;
    display: flex;
    justify-content: center;
    position: absolute;
    flex-wrap: wrap;
    gap: 20px;
    /* border: 1px solid red; */
    left: 0;
    top: 150px;
    z-index: 1;
    align-items: flex-start;
    align-content: flex-start;
}

.activees div, .activees2 div {
    position: relative;
    width: 47px;
    height: 47px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0px 0px 0px 1px #786f68;
}


.activees img, .activees2 img {
    filter: grayscale(100%);
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.activees div:after, .activees2 div:after {
    content: "";
    background: var(--accent);
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: all .3s linear 0s;
    opacity: .5;
}


.activees div:hover img, .activees2 div:hover img {
    filter: grayscale(100%);
}

.activees div:hover:after, .activees2 div:hover:after {
    opacity: 0;
}



.activees2 {
left: auto;
right: 0px;
}

.podfr {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 0px;
    margin-top: 5px;
}


.podfr a {
    background: var(--accent2);
    color: var(--tab-text) !important;
    text-transform: uppercase;
    padding: 2px 10px;
    letter-spacing: .5px;
    border-radius: 4px;
    font-size: 10px;
}


.podfr a:hover {
    background: var(--accent);
}

.head-card {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 779px;
    left: 190px;
    top: 60px;
}
.head-card div img {
    border-radius: 5px;
}

/* Первая картинка (исходная) */
.head-card div img:last-child {
    opacity: 0;
    left: 0;
    position: absolute;
    transition: 1s;
}

/* Вторая картинка (при наведении) */
.head-card div img:last-child {
  opacity: 0;
}

.head-card div:hover img:first-child {
  opacity: 0;
}

.head-card div:hover img:last-child {
  opacity: 1;
}
.head-card div {
    position: relative;
}


.footer-card {
    width: 314px;
    position: absolute;
    display: flex;
    justify-content: space-between;
    left: 34px;
    margin-top: 51px;
}


.footer-card img {
    width: 90px;
    border-radius: 5px;
}

.go-up, .go-down {
    background: url(https://forumstatic.ru/files/001c/9e/f6/51173.png) no-repeat;
    width: 138px;
    height: 56px;
}


.go-down {
    background: url(https://forumstatic.ru/files/001c/9e/f6/55098.png) no-repeat 9px;
}


.pa-fld5 {
    width: 238px;
    height: 150px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: -1;
    mask: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, #352e30 100%);
    -webkit-mask: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, #352e30 100%);
    overflow: hidden;
    filter: grayscale(.4);
    border-radius: 0 0 5px 0px;
}


.pa-fld4 img {
    width: 21px;
}

.author-wrap {
    background: var(--text);
    margin: 0 15px 110px;
    border-radius: 5px;
    border: 1px solid #4b3f4159;
    padding: 10px;
    box-shadow: 0px 0px 15px #221e1f66;
    position: relative;
}




.pa-fld4 {
    display: flex;
    border: 1px solid #463b3e;
    background: var(--dark-bord);
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    border-radius: 5px 0 5px 0;
    position: absolute;
    top: 0;
    left: 0;
}


.pa-fld1 .lzn {
    font-family: var(--sec-font);
    text-transform: uppercase;
    font-size: 13px;
}


.pa-fld1 {
margin-top: 6px ;
}


.pa-fld5 img {
    background-size: cover;
    object-fit: cover;
    object-position: center;
    width: 238px;
    height: 148px;
    opacity: .5;
}

.shapp {
display: none;
}

.pa-fld3 img {
display: none;
}

.bannerss {
    margin-top: 62px;
    position: absolute;
    /* border: 1px solid red; */
    margin-left: 368px;
    width: 696px;
    height: 69px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 9px;
}


.bannerss img {
    transition: all .7s ease-in-out 0s;
    opacity: .7;
}

.bannerss img:hover {
    opacity: 1;
}


/*Карточки*/

.my-tabs>.tab-a, .my-tabs>span {
    background: var(--base-bg);
    border-color: var(--dark-bord) !important;
    border-radius: 3px !important;
    border-width: 1px !important;
}


.my-tabs>span {
    color: var(--tab-text) !important;
    background: var(--dark-bord);
    padding: 4px 14px 20px!important;
    text-shadow: none !important;
    font-family: var(--sec-font) !important;
    text-transform: uppercase;
    border: none !important;
    font-size: 13px !IMPORTANT;
    font-style: normal !important;
    opacity: 1 !important;
    margin-right: 10px !important;
    margin-left: 0 !important;
}



.my-tabs>.tab-a {
    height: 638px !important;
    margin-top: 40px !important;
}


.my-tabs > img.close {
    float: right;
    margin: 0 -23px 0 0!important;
    width: 15px !important;
}


.my-tabs>span.selected {
    opacity: 1;
    border-bottom-color: transparent!important;
    background: var(--accent) !important;
}



.pers_info {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--quote);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 3px 3px 10px #b1b0a36b;
    border: 1px solid var(--bord);
}



.pers_info p img {
    border-radius: 4px;
}


.char_info {
    display: flex;
    flex-direction: column;
    font-family: var(--sec-font);
    gap: 9px;
    font-size: 15px;
}


.pers_info p, .char_facts p, .achiv p, .b_us p {
    margin: 0 0 0 0px;
    padding: 0 !IMPORTANT;
    line-height: normal !IMPORTANT;
}


.char_facts {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}


.char_z {
    color: var(--navi-link);
    font-family: var(--sec-font-bold);
    font-size: 17px;
    margin-left: 0;
    text-align: center;
    text-transform: uppercase;
}



.char_text {
    background: var(--quote);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 3px 3px 10px #b1b0a36b;
    border: 1px solid var(--bord);
    height: 355px;
}



.char_text_char {
    overflow-y: auto;
    height: 315px;
    font-family: var(--main-font);
}

.char_name, .char_wrk, .char_blood, .char_loyal {
    font-family: var(--sec-font-bold);
}


.achiv {
    display: flex;
    gap: 10px;
    flex-direction: column;
}


.a_story {
    height: 282px;
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--quote);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 3px 3px 10px #00000040;
    border: 1px solid var(--bord);
    flex-direction: column;
}


.achiv_z {
    color: var(--text);
    font-family: var(--sec-font);
    font-size: 17px;
    margin-left: 0;
    text-align: center;
    text-transform: uppercase;
}


.bnss {
    height: 603px;
    background: var(--quote);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 3px 3px 10px #00000021;
    border: 1px solid var(--bord);
}

.bnss_ovr {
    /* border: 1px solid red; */
    overflow-y: auto;
    height: 562px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px 40px;
    justify-content: center;
}
.achivs br {
display: none;
}


.a_story2 {
    height: 282px;
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--quote);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 3px 3px 10px #00000026;
    border: 1px solid var(--bord);
    flex-direction: column;
}


.bro_user {
    height: 600px;
    background: var(--quote);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 3px 3px 10px #5f4747;
    border: 1px solid var(--bord);
}


.b_us {
    /* border: 1px solid red; */
    overflow-y: auto;
    height: 518px;
    display: flex;
    align-items: flex-start;
    gap: 0 0px;
    flex-wrap: wrap;
    justify-content: center;
}


.kart p img {
    width: 70px;
    height: 70px;
}


.achiv_text p {
    font-family: var(--sec-font);
    text-transform: uppercase;
    font-size: 9px;
    text-align: center;
}


.ac_t {
    text-transform: lowercase;
    font-family: var(--main-font);
    font-size: 10px;
}

.kart {
    text-align: center;
    display: inline-block;
}


.achivs {
    display: flex;
    gap: 10px;
    overflow-y: auto;
    height: 218px;
    flex-wrap: wrap;
    justify-content: center;
}

.b_us p br {
display: none;
}




.b_us_kart p {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.b_us_kart_n p img {
width: 140px;
}



/*Шрифт*/
.ostw-btn {
    background: var(--sec-text);
    border-radius: 4px;
    cursor: pointer;
    position: fixed;
    top: 8px;
    left: 41px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    border: 1px solid var(--blue-bord);
    box-shadow: 0px 0px 30px #171a1e;
}
.ostw-cont {
    max-height: 0;
    opacity: 0;
    padding: 0 15px;
    background: var(--sec-text);
    border: 1px solid var(--blue-bord);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: auto;
    position: fixed;
    top: 47px;
    left: 10px;
    max-width: 300px;
    box-shadow: 0px 0px 20px #1b2024;
}
.ostw-cont.active {
    max-height: 200px;
    opacity: 1;
    padding: 15px;
    z-index: 999;
}

.ostw-btn span::before {
    content: '';
    height: 21px;
    width: 21px;
    background: var(--tab-text);
    mask: url(https://forumstatic.ru/files/001c/9e/f6/85669.svg) no-repeat center left;
    -webkit-mask: url(https://forumstatic.ru/files/001c/9e/f6/85669.svg) no-repeat center left;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    display: block;
}






#chfont {
    position: fixed; /*позиционирование*/
    top: 10px; /*отступ сверху*/
    right: 10px; /*отступ слева*/
    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://i.gyazo.com/364c0e92a2be83cb87d9000ce2869eaf.png) center no-repeat; /*картинка иконки*/
    background-color: #d2c1b7; /*фон*/
    float: left; 
    border: solid 2px #70625a; /*рамка вокруг иконки*/
    margin-right: 2px;
    cursor: pointer;
    position: relative;
}
#chfontbut::after {/*крестик на иконке*/
    display: none;
    position: absolute;
    content: 'x';
    top: 0;
    right: 0;
    color: #920000; /*цвет крестика*/
    line-height: 7px; /*высота строки*/
    font-size: 12px; /*размер крестика*/
}
#chfont.active #chfontbut::after {
    display: block;
}
#chfont select {/*поле выбора вида шрифта*/
    display: none;
    background-color: #d2c1b7; /*цвет фона*/
    color: #150e0c; /*цвет текста*/
    margin-bottom: 2px; /*отступ снизу*/
    cursor: pointer;
}
#chfontsize {
    display: flex;
    flex-shrink: 0;
    height: 20px;
    gap: 4px;
}
#chfont.active select,
#chfont.active #chfontsize {
    display: block;
}
.fsizeplus, .fsizeminus {
    background: var(--accent);
    color: var(--tab-text);
    cursor: pointer;
    border: 1px solid var(--dark-bord);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 13px;
}
.fsizeplus::after {
    content: '+';
}
.fsizeminus::after {
    content: '-';
}
.fsize {
    background: var(--dark-bord);
    color: var(--tab-text);
    width: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--main-font);
    font-weight: 600;
    border-radius: 4px;
}


.font-nav {
    display: flex;
    gap: 10px;
}

select#chfontfam {
    padding: 0;
    border-radius: 3px !important;
    background: var(--bord);
    width: 118px;
    height: 20px;
}









/* рейтинг поста   */
div.post-rating p {
  float: right !important;
  border: 0 !important;
  padding: 3px !important
}

div.post-vote p {
  float: right !important;
  border: 0 !important;
  padding: 3px 13px !important;
  margin-right: 5px !important;
  position: relative;
}

div.post-vote p .negative {
  margin-left: 13px;
}

div.post-rating a,
div.post-vote a {
    font-size: 11px !important;
    text-decoration: none !important;
    letter-spacing: 0px !important;
    color: transparent !important;
    font-family: verdana;
}

div.post-rating a {
    cursor: pointer !important;
    margin-right: 12px !important;
    position: relative;
    top: 20px;
    padding-right: 2px;
    z-index: 1;
    font-weight: 300!important;
    right: 10px;
    transition: all .7s ease-in-out 0s;
}

div.post-rating a:before {
    content: '\f004';
    font: 24px FontAwesome;
    position: absolute;
    z-index: -1;
    left: calc(50% - 1px);
    transform: translateX(-50%);
    top: -4px;
    color: var(--accent2);
    opacity: .3;
    transition: animation .3s ease-in-out;
}

div.post-rating a:hover:before {
           opacity: .8;
        }

.mylike div.post-rating a:before { opacity: .6; }

div.post-vote a {
    color: transparent !important;
    position: absolute;
    right: -20px;
    top: 16px;
}


div.post-vote a:hover {
  color: transparent !important;
}

div.post-vote a:before {
    position: absolute;
    content: '\f0c2';
    right: 42px;
    font-size: 17px;
    color: var(--accent2);
    font-family: 'Font Awesome 5 Pro';
    opacity: .3;
    transition: all .4s ease-in-out;
    font-weight: 800;
    top: 6px;
}

div.post-vote a:hover:before {
   opacity: .8;
}

.post-box .post-rating a, .post-box .post-rating a:hover {
    color: var(--tab-text) !important;
    letter-spacing: 0px !important;
    font-size: 12px !important;
}

#pun-navlinks.nav-scrolled {
    position: sticky;
    top: 0;
    background: var(--profile-bg);
    height: 50px;
    z-index: 9;
    border-bottom: 1px solid #3f3538;
    margin: -553px -50px 502px;
    width: calc(100% + 100px);
}

#pun-navlinks.nav-scrolled .container {
    padding: 0;
}

#pun-navlinks .container.nav-scrolled::before {
display: none;
}


#pun-ulinks.user-scrolled {
    margin: -154px -50px 0;
    padding: 0;
    position: sticky;
    top: 50px;
    z-index: 999;
    background: var(--profile-bg);
    height: 30px;
    display: flex;
    justify-content: center;
    width: calc(100% + 100px);
    left: 0;
}

.rsp_wrap {
    margin: 20px 0 60px;}



#pun-navlinks .container.nav-scrolled {
    position: fixed;
    top: 0px;
    background: var(--profile-bg);
    padding: 0;
    height: 40px;
    box-sizing: content-box;
    width: 1160px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 999;
}

#pun-ulinks .container.user-scrolled {
    position: fixed;
    top: 40px;
    background: var(--profile-bg);
    transition: 0.3s ease-in;
    width: 1160px;
    padding: 5px 0 10px;
    border-top: 1px solid #413738;
}


/*** МОБИЛЬНЫЙ ***/
@media screen and (max-width: 540px) {
html, body, #pun, .punbb  {
    width: 100% !important;
    height: 100% !important;
    padding: 0;
    -webkit-text-size-adjust: none;
    overflow-wrap: break-word;
    float: none;
    margin: auto;
}


.blockButton:before {
    margin-top: -21px !important;
    margin-left: 0px !important;

}

#pun-searchtopics .tc2 {
    width: 100% !important;
    display: flex !important;
    font-size: 11px;
    margin-left: 5px;
}


body {
    position: relative;
    background-position: center 0;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch!important;
    overflow-y: scroll !important;
    z-index: 1;
}

#pun {
    max-width: 540px;
    padding: 0!important;
    border-radius: 0;
    background: var(--pf-bg);
    position: relative;
    padding-bottom: 90px !important;
    border: none;
}


#pun-ulinks, #pun-navlinks .container li a, #pun-navlinks .container li a:hover {
    margin: 0 5px;
}

#pun-ulinks {
    margin: 0px 0 0 10px !important;
    position: absolute !important;
    top: 10px !important;
    left: 0px;
    line-height: 32px!important;
    border: 0 !important;
}
#pun-ulinks:before {
    content: "\f0c9";
    font-family: 'Font Awesome 6 Pro'!important;
    font-size: 25px!important;
    color: var(--tab-text);
}

#pun-ulinks .container {
    width: 250px!important;
    top: 0px;
    padding: 10px !important;
    margin: 0 !important;
    left: 45px;
    width: 140px;
    height: auto !important;
    background: var(--profile-bg);
    border-radius: 6px;
    border: none;
}


#pun-ulinks li {
    display: block !important;
    margin-bottom: 5px!important;
    background: var(--accent);
    text-align: center;
    border-radius: 5px;
    transition: all .5s linear 0s !important;
}

#pun-ulinks li a {
    display: block !important;
    margin: 0!important;
    color: var(--navi-link);
    font-size: 12px!important;
    padding: 0;
}

#pun-ulinks:hover ul, #pun-ulinks:focus ul {
    display: block;
}
#pun-title table {
    height: auto !important;
    background: none;
    width: 0;
    MARGIN: AUTO;
}

#pun-about p.container {
    width: 100%;
    margin-left: -10px!important;
    border-bottom-left-radius: 18px!important;
    border-bottom-right-radius: 18px!important;
}

#pun-ulinks {
    margin: 4px 0 0 21px !important;
    position: absolute !important;
    top: 10px !important;
    left: 0px !important;
    line-height: 32px!important;
    border: 0 !important;
    width: 24px !important;
    background: transparent !important;
}

#pun-ulinks ul {
    display: none;
    z-index: 10000;
    position: absolute;
    top: 47px;
    right: 0;
}
#pun-ulinks:hover ul, #pun-ulinks:focus ul {display: block;}

#pun-ulinks > span.notify-bubble {display: block!important;}
#pun-navlinks {margin: 0!important;}

#pun-navlinks .container li {padding: 0 1px !important; margin: 0!important; line-height: 19px !important;}
#navrules, #navextra2, #navextra3, #navextra4, #navextra5, #navextra6, #navextra7, #navextra8, #navextra9, #navextra10 {display: none !important;}
#pun-navlinks .container li a {
    display: inline-block !important;
    padding: 0 !important;
    font-size: 16px;
}
#pun-ulinks, #pun-navlinks .container li a, #pun-navlinks .container li a:hover {margin: 0 5px;}




#pun-status span {
    white-space: break-spaces;
    margin-right: 0.5em;
}


#pun-status .container {
    text-align: left!important;
    position: relative;
    box-sizing: border-box;
    top: -2px;
    left: 0;
    width: 100%;
    background: var(--podform);
    padding: 5px 10px;
    height: auto;
    display: flex;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--bord);
    border-width: 1px 0;
    border-radius: 0;
}
#pun-crumbs1 p.container, #pun-crumbs2 p.container {
    text-align: left!important;
    margin: 0 10px;
    height: auto;
    padding: 0;
    box-sizing: border-box;
}
#pun-crumbs1 p.container {
    margin: 10px;
}


.punbb .linkst {
    height: 20px;
    font-size: 8px;
    text-transform: uppercase;
    align-items: center;
    border-radius: 0;
    box-sizing: border-box;
    margin: 0 0 10px 0!important;
}

.punbb .linksb {
    margin: 0 10px;
}


.punbb tbody.hasicon td.tcl {
    padding: 0!important;
    display: block;
    width: 100%!important;
}


.forum td.tcr {
    margin-bottom: 0;
    display: block;
    text-align: right!important;
    width: 100% !IMPORTANT;
    margin-top: 2px;
    padding: 0;
}

#pun-index td div.tclcon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 5px 10px;
}


#pun-stats .container {
    padding: 15px 15px 15px 15px!important;
    margin: 0;
    border-width: 1px 0;
    border-radius: 0;
}
#pun-stats li.item1, #pun-stats li.item2 {
    float: none !important;
    margin-bottom: 0px;
}
#pun-stats li.item3, #pun-stats li.item4 {
    text-align: left !important;
    margin-bottom: 0px;
}

#pun-about p.container {
    border: none !important;
    background-image: none;
    margin: 0px 0px -100px -80px;
    background-position: bottom left;
    background-repeat: repeat-x;
    overflow-x: hidden;
    width: auto;
    padding-bottom: 0px;
}


#pun-crumbs2 .container {
    margin-left: 20px;
    margin-top: 0px;
}
.post-author {
    float: none!important;
    margin: 0 !important;
    border-width: 0;
    width: 100% !important;
    border-radius: 0 !important;
}
#pun-main .post-author ul {
    padding: 20px 0;
}

.indOnline, .indOffline {
    top: 0;
    left: auto;
    position: relative;
    transform: none;
    background: transparent;
    width: 18px;
    height: 18px;
}


.indOnline:before, .indOffline:before {
    content: '';
    width: 11px;
    height: 11px;
    display: block;
    mask: url(https://forumstatic.ru/files/001c/79/e7/62752.svg) no-repeat center left;
    -webkit-mask: url(https://forumstatic.ru/files/001c/79/e7/62752.svg) no-repeat center left;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}


#pun-viewtopic .post h3 {
    border-radius: 0;
    top: 0;
}

.punbb .post h3 strong {
    float: right;
    width: auto;
    text-align: center;
    font-weight: normal;
    margin-top: 0;
}


.post-author li {
    text-align: left;
}
.pa-title {
    font-size: 10px !IMPORTANT;
    margin: 26px 14px 8px 17px !important;
}



.punbb .linksb {
    gap: 10px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-top: 12px !important;
}

.punbb .modmenu .container {
    text-transform: none;
    margin: 0 10px;
}


.punbb .post-links ul {
    padding: 0;
    height: auto;
    border-top-style: dashed;
    border-top-width: 1px;
    background: transparent;
    font-size: 11px;
    font-family: var(--main-font);
    font-weight: 400;
    margin: 10px 0;
    display: flex;
}

.punbb .post .container {
    padding-right: 0;
}

.punbb .post-box {
    padding: 10px 10px 0 10px!important;
}
.punbb .post-body {
    margin-left: 0px;
}

.punbb .formal .container {
    padding: 0;
}
.punbb fieldset {
    padding: 0 10px;
}


#pun-viewforum .main table {
    table-layout: fixed;
    width: 100%;
    padding: 10px;
}
#pun-searchtopics .main .tcl, #pun-viewforum .main .tcl {
    width: 100% !important;
    padding: 0px;
}
#pun-break1, #pun-break2, #pun-break3, #pun-break4, .category th, .category .tc2, .category .tc3, .forum th, .forum .tc2, .forum .tc3, #post-form legend {
    display: none !important;
    width: 0 !important;
}




#profile-right {
    width: 100% !important;
    display: block;
}
#profile-left {
    width: 100% !important;
    display: block;
}
#main-reply {
    width: 100% !important;
}



#form-buttons td {
    padding: 0 5px !important;
    width: 31px;
}


#button-files_rusff {
    display: none !important;
}



#form-buttons td:hover {
    background-color: transparent !important;
}


#form-buttons td {
    background-image: none !important;
    position: relative;
    width: 27px;
    height: 27px;
    margin: 0px 0px 0px 0px !important;
}
#profilenav li {
    padding: 7px 15px!important;
    display: inline-block;
}
#profilenav {
    float: none!important;
    width: 100%!important;
    margin-left: 0 !important;
}

#profile .container {
    padding: 0 !important;
}

#notify-settings {
    display: none;
}

#viewprofile h2, #profilenav h2 {
    margin: 0 0 10px 0!important;
}
#viewprofile ul, #profilenav ul {
    padding: 0!important;
    margin: 0 0 15px 0!important;
    border: none!important;
    background-color: transparent!important;
}
.punbb tbody.hasicon td.tcl {
    padding: 0!important;
    display: block;
    width: 100%!important;
}
#pun-messages .tclcon {
    padding: 10px 0 10px 17px!important;
}

#pun-messages .user-avatar {
    display: none !IMPORTANT;
}

#pun-messages table Div.icon, #pun-messages TR.inew Div.icon {
    margin-top: 13px;
}
#register input, #register select, #profile input, #profile select, #punbbsearch input, #punbbsearch select {
    max-width: 200px!important;
}
#pun-userlist .main .tcl, #pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {
    background-color: transparent;
    width: 20%;
}

#pun-userlist .user-avatar {
    display: none;
}
#pun-userlist .usertable .container {
    padding: 0 0.3em 2.3em 0.3em;
    border-top: none;
}

#pun-userlist .main .tc2, #pun-searchtopics .main .tc2 {
    width: 15%;
}


#BookmCntToggle {
    position: absolute !important;
    left: 10px !IMPORTANT;
    width: 20px !important;
    height: 20px !IMPORTANT;
    opacity: .7;
    cursor: pointer;
    z-index: 3;
    transition: opacity .3s ease-out;
    top: -142px !important;
    display: none !important;
}


#tags .container {
    position: absolute;
    right: 0px;
    top: auto !IMPORTANT;
    left: 0px;
    z-index: 2;
    width: 350px;
    padding: 10px;
    box-sizing: border-box;
}



.punbb .section h2, #pun-main h1, #pun-main h2, #pun-debug h2 {
    margin: 0px 0px 10px 0px;
    display: none;
}
.post-img-Sp {
    width: 140px;
    margin: 10px 6px 0 !important;
    display: none;
}


#form-buttons tr {
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0;
    flex-wrap: wrap;
    margin: 0;
    gap: 8px;
    margin-bottom: 20px;
}

#pun-main .category h2, #pun-stats h2 {
    margin: 0 20px;
    text-align: center;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    padding: 0 !important;
    align-items: stretch;
    justify-content: flex-start;
    border-width: 0;
}
#pun-index .category table tr {
    -webkit-appearance: none;
    display: block !important;
    margin: 10px;
    position: relative;
    overflow: visible;
    padding: 0;
}


#pun-index .category table tr + tr {
    margin: 15px 20px;
}

#pun-index .tcl h3 {
    text-align: left;
    height: auto;
    display: block;
    margin-top: 0px;
    letter-spacing: .5px;
    font-weight: 400;
}

.punbb .user-avatar {
    margin: 1px 0px 2px 20px!important;
    float: right !important;
    display: none;
}

#pun-viewforum .tcr {
    position: relative;
    display: block;
    width: 100%;
    gap: 0 10px;
    align-items: center;
}

#pun-navlinks a {
    color: var(--navi-link);
    transition: 1s;
    letter-spacing: .4px;
}


#pun-navlinks a:hover {
    color: var(--navi-link-hov);
}

.html-box {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    margin: 10px;
}

.shapp {
    box-sizing: border-box;
    background: url(https://forumstatic.ru/files/001c/9e/f6/41848.jpg) no-repeat center;
    width: 100%;
    position: relative;
    left: 0;
    height: 220px;
    display: flex;
    align-items: center;
    border-bottom: none;
    justify-content: center;
}


.shapp .forum-name {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#form-buttons table, #form-buttons tbody, #form-buttons tr {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0px;
}


#selectMobVers, #selectDescVers {
    display: block;
    border: 1px solid var(--brd1);
    background: var(--bgpun);
}



#pun-index .tcr {
    width: 100%;
    display: block;
    text-align: right;
    margin-top: 10px;
}
#pun-navlinks {
    border-radius: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    text-transform: lowercase;
    justify-content: center;
    width: 100% !important;
    position: sticky !important;
    top: 0 !important;
    background: var(--profile-bg) center/cover !important;
    height: 45px !important;
    border: 1px solid var(--dark-bord);
    border-width: 1px 0;
    z-index: 1 !important;
    margin-top: -3px !important;
}
tr.inew div.icon {
    margin-left: -8px;
    box-shadow: 0px 0px 10px #5c3a3c2b;
}

.activees, .activees2, .head-card, .dust, #toggleDust, #pun-navlinks .container::before, .footer-card, #pun-index .category .container::before, .pa-fld1, .pa-fld5 {
display: none;

}
.go-up, .go-down, #pun::before {
    display: none;
}


#pun-navlinks .container {
    padding: 0px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
}

#pun-index .category h2 span, #pun-stats h2 span {
    font-size: 24px;
    justify-content: center;
}


.punbb .post h3 span {
    di.punbb .post h3 spansplay: flex;
    height: auto;
    align-items: center;
    justify-content: space-between;
    margin: 0 10px;
}


#pun-stats h2 span {
    font-size: 16px;
}



#pun-mod .category .tc2 {
    display: block !important;
    width: auto !important;
}



#pun-ulinks .container {
    display: none;
}


#pun-navlinks .container li a {
    /*display: inline-block !important;*/
    padding: 0 !important;
    font-family: 'FontAwesome';
    font-size: 20px;
}
#pun-ulinks, #pun-navlinks .container li a, #pun-navlinks .container li a:hover {margin: 0 5px;}
#pun-navlinks .container li a span {font-size: 0 !important;}
#pun-navlinks li#navindex a:before {content: "\f015";}
#pun-navlinks li#navuserlist a:before {content: "\f0c0";}
#pun-navlinks li#navsearch a:before {content: "\f002";}
#pun-navlinks li#navprofile a:before {content: "\f2bd";}
#pun-navlinks li#navpm a:before {content: "\f0e0";}
#pun-navlinks li#navadmin a:before {content: "\f013";}
#pun-navlinks li#navlogout a:before {content: "\f08b";}
#pun-navlinks li#navregister a:before {content: "\f234";}
#pun-navlinks li#navlogin a:before {content: "\f02e";}
#pun-navlinks li#navpr_1 a:before {content: "\f1d8";}
#pun-navlinks li#navpr_2 a:before {content: "\f02d";}
#pun-navlinks li#navextra1 a:before {content: "\f02e";    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-size: 20px;}
#pun-navlinks li#navprofiles a:before, #pun-navlinks li#navextraBL a:before {content: "\f52d";    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-size: 20px;}


.Add {
    display: none;
}
#pun-index .tcl h3 a {
    font-size: 17px;
}


.forum tr {
    margin: 10px 0;
    display: flex;
    gap: 0;
    font: 400 11px var(--main-font);
    background: var(--quote);
    text-transform: lowercase;
    border-radius: 6px;
    padding: 10px;
    height: auto;
    flex-direction: column;
}



.pa-author a {
    font-weight: 400 !important;
    background: var(--dark-bord);
    padding: 3px 9px 1px;
}

.pa-author {
    margin-top: 0;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.prof-wrap {
    background: var(--quote);
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #8f8d8d63;
    box-shadow: 6px 7px 10px #91909042;
}


#form-buttons {
    margin-bottom: 10px !important;
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}


#plng {
    margin-top: 10px !IMPORTANT;
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: 10px;
    padding: 5px 10px;
}
#form-buttons table tr {
    display: flex;
    gap: 4px;
    margin-bottom: 0;
    padding: 8px 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
}


#pun-adnav ul {
    display: flex !Important;
    flex-wrap: wrap !Important;
}


#pun-adnav {
    float: none !Important;
    width: 100% !Important;
    margin-left: 0 !Important;
}

.adminmain {
    padding-left: 0 !important;
    margin-bottom: 0 !IMPORTANT;
}

.punbb {
    height: auto !important;
}

.punbb-admin .adminmain {
    padding: 0em 0px !important;
}

.punbb-admin #pun-adnav {
    float: none;
    clear: both;
    width: 100%;
    margin-left: 0em;
    display: block;
    box-sizing: border-box;
}

.punbb-admin {
    width: 100%;
    max-width: 540px;
    background: #c9c7c4;
}
#pun-admain fieldset {
    border-color: transparent;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
}

.admin-advert-block {
    width: 100% !IMPORTANT;
    height: 60px;
}

#pun-admain fieldset {
    border-color: transparent;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
}

#pun-admain fieldset .handle, #pun-admain fieldset p {
    border-left-width: 10em !important;
}

#pun-admain .adlabel {
    width: 11em !important;
    margin-left: -10em !important;
}

.shapp span {
    font-family: var(--sec-font);
    font-size: 62px;
    text-transform: uppercase;
    color: var(--quote);
    display: block;
    font-weight: 400;
    text-shadow: 0px 0px 30px #352b2a;
    text-align: center;
    line-height: 60px;
    letter-spacing: -2px;
}


.shapp .forum-name tit {
    font-family: var(--sec-font);
    font-size: 22px;
    font-style: italic;
    backdrop-filter: blur(5px);
    border-radius: 36px;
    padding: 3px 20px;
    background: #1f2c226b;
    height: 30px;
    display: flex;
    align-items: center;
}


#pun-stats .statsinfo {
    display: flex;
    gap: 4px;
    margin-bottom: 0;
    margin-top: 0;
    background: var(--base-bg) center/cover;
    justify-content: flex-start;
    padding: 3px;
    border-radius: 5px;
    flex-wrap: wrap;
}

#pun-index .category .container {
    margin: 20px;

}

html .post-author {
    position: relative !important;
    top: 0;
    margin: 0 0 !important;
    width: unset !important;
    align-self: unset;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.post-author ul {
    padding: 10px 20px!important;
    margin-top: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-template-rows: max-content 1fr max-content;
    grid-template-areas: "avatar author"
        "avatar title"
        "avatar parow";
}

.post-author .pa-title {
    grid-area: title;
    border-radius: 0;
    margin: 0 !important;
    padding: 10px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
}
.post-author .pa-avatar {
    grid-area: avatar;
    padding-right: 20px;
    padding-bottom: 0 !important;
}

#pun-main .post-author ul {
    margin: 20px 15px;
}

.post-author .pa-avatar img {
    height: 100px;
    width: 100px;
    object-fit: cover;
}

.post-author .pa-author {
    padding: 0 !important;
    margin: 0 !important;
    position: unset !important;
    grid-area: author;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.post-author .pa-avatar {
    position: relative;
}


#post.container .fs-box {
    margin: 10px;
}

.bannerss {
    margin-top: 139px;
    margin-left: 0;
    width: 100%;
    height: 69px;
}

.ostw-btn {
    top: 50px;
    left: 20px;
}

.ostw-cont {
    top: 96px;
    left: 20px;
}

#pun-title {
    margin: 0;
    border-style: none none none none;
    border-width: 0px 0px 0 0px;
    margin-bottom: 0;
}
#pun-announcement .container {
    padding: 0;
    text-align: center;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}



}



/*** КОНЕЦ МОБИЛЬНОГО  ***/



/***   КНОПКИ МОБИЛКИ-ДЕСКТОПА   ***/
#selectMobVers, #selectDescVers {
    top: 180px;
    display: none;
    padding: 4px 5px;
    height: 32px;
    width: 32px;
    z-index: 75;
    cursor: pointer;
    line-height: 1;
    font-size: 0px;
    background: transparent;
    box-shadow: none;
    border-radius: 5px;
    border: none;
    backdrop-filter: blur(10px);
}

#selectDescVers {right: 0px}
#selectMobVers {left: 0px;}

#selectMobVers:before, #selectDescVers:before {
display: block; position: relative;
font-family: 'Font Awesome 6 Pro'!important;
font-weight: 400;
}
#selectMobVers:before {
content: "\f3cf";
font-size: 16px;
    color: var(--tab-text);
background-image: none;
}
#selectDescVers:before {
    content: "\f109";
    font-size: 16px;
    color: var(--tab-text);
    background-image: none;
}

@media screen and (max-width: 1070px) {
#selectMobVers, #selectDescVers {
    display: block;
    z-index: 999;
}


.sty {
    position: absolute;
    /* border: 1px solid red; */
    height: 50px;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    width: 200px;
    margin-left: 28px;
    top: 350px;
}



}

@media screen and (max-width: 1570px) {
#selectMobVers, #selectDescVers {
    display: block;
    z-index: 999;
}


.sty {
    position: absolute;
    /* border: 1px solid red; */
    height: 50px;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    width: 200px;
    margin-left: 28px;
    top: 350px;
}



}


@media screen and (max-width: 540px) {
#selectMobVers, #selectDescVers {display: block;}
.sty {
    position: absolute;
    /* border: 1px solid red; */
    height: 50px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    width: 83%;
    margin-left: 0 !IMPORTANT;
    left: 50%;
    transform: translateX(-50%);
    top: 143px !important;
    z-index: 9;
}

}













.guest-book {
    background: var(--profile-bg) center/cover;
    border: 1px solid var(--dark-bord);
    border-radius: 5px;
    color: var(--tab-text);
}

.name-guest {
    display: flex;
    justify-content: center;
    height: 47px;
    align-items: center;
    padding: 10px;
    font-family: var(--sec-font);
    text-transform: uppercase;
    font-size: 27px;
    font-weight: 300;
    margin: 20px;
}


.name-guest span {
    background: #44393b6b;
    backdrop-filter: blur(8px);
    padding: 3px 20px;
    border-radius: 5px;
    border: 1px solid #46393c;
    box-shadow: 0px 0px 20px #292023;
}


.g-text {
    background: var(--dark-bord);
    margin: 20px 50px;
    font-family: var(--main-font);
    border-radius: 5px;
    border: 1px solid #46393c;
    box-shadow: 0px 0px 20px #292023;
}


.g-text text {
    margin: 20px;
    display: block;
    line-height: 23px;
    overflow-y: auto;
    max-height: 165px;
    padding-right: 10px;
    
}


.guest-links {
    background: var(--dark-bord);
    margin: 20px 50px;
    font-family: var(--main-font);
    border-radius: 5px;
    border: 1px solid #46393c;
    box-shadow: 0px 0px 20px #292023;
    padding: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}


.guest-links a {
    background: var(--accent);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--tab-text) !important;
    text-transform: uppercase;
    font-weight: 400 !important;
}


.guest-links a:hover {
    background: var(--accent2);
}


.face-guest {
    margin: 20px 50px;
    font-family: var(--main-font);
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0;
    border-radius: 6px;
    justify-content: space-between;
}



.g-bl {
    flex: 1;
    display: flex;
    gap: 5px;
    flex-direction: column;
    height: 215px;
    flex-shrink: 0;
    width: auto;
    background: var(--dark-bord);
    font-family: var(--main-font);
    border-radius: 5px;
    border: 1px solid #46393c;
    box-shadow: 0px 0px 20px #292023;
}


.g-bl span {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 12px;
    color: var(--base-bg2);
    background: var(--base-bg) center;
    padding: 5px 10px;
    text-transform: uppercase;
    border-radius: 5px;
    text-align: center;}


.g-bl text {
    margin: 10px 20px;
    height: 129px;
    overflow-y: auto;
    line-height: 21px;
}


.g-bl text b {
    color: var(--navi-link-hov);
}

.ccode-g a {
    font-weight: bold;
    color: var(--navi-link-hov) !important;
}
.ccode-g a:hover {
    color: var(--navi-link) !important;
}


.guest-book p {
    margin: 0 0 0 0px;
    padding: 0 !important;
    line-height: normal !important;
}


.ccode-g {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 10px;
    color: var(--base-bg2);
    background: var(--base-bg) center/cover;
    padding: 5px 10px;
    text-transform: uppercase;
    border-radius: 3px;
    text-align: center;
}

.pa-last-visit {
display: none;
}