/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1751228299.css);

@font-face {
    font-family: 'rpg-awesome';
    src: local('rpg-awesome');
    src: url('//forumstatic.ru/files/001b/e0/86/93665.ttf') format('truetype');
}

@font-face {
    font-family: 'FontAwesomeSolid';
    src: local('FontAwesome');
    src: url('//forumstatic.ru/files/001b/6f/11/80497.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vollkorn';
    src: local('Vollkorn');
    src: url('//forumstatic.ru/files/001c/03/d9/52512.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vollkorn';
    src: local('Vollkorn');
    src: url('//forumstatic.ru/files/001c/03/d9/19780.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Vollkorn';
    src: local('Vollkorn');
    src: url('//forumstatic.ru/files/001c/03/d9/48812.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Vollkorn';
    src: local('Vollkorn');
    src: url('//forumstatic.ru/files/001c/03/d9/71592.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto');
    src: url('//forumstatic.ru/files/001a/fb/19/19750.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto');
    src: url('//forumstatic.ru/files/001a/fb/19/11610.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto');
    src: url('//forumstatic.ru/files/001a/fb/19/78444.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto');
    src: url('//forumstatic.ru/files/001a/fb/19/27479.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */

#pun_wrap {
    min-width: 1040px !important;
}

html, body {margin: 0; padding: 0}

html {
    background: url(https://forumstatic.ru/files/001c/05/9b/74853.webp) top left no-repeat fixed;
    background-color: #383636;
    background-size: cover;
}

/* A2.2 */
.punbb * {
  margin: 0
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1.8em;
  vertical-align: middle
  }


 /* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
  font-size: 100.01%;
  }

/* A3.2 */
#pun-index {font: normal 13px Roboto, verdana, arial, helvetica, sans-serif;}

.punbb {
  font: normal 14px Roboto, verdana, arial, helvetica, sans-serif;
  }

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 14px Roboto, verdana, arial, helvetica, sans-serif
  }

/* A3.4 */
.punbb h1 {
    font-family: 'Vollkorn';
    font-size: 16px;
    text-align: center;
    color: var(--mainText);
    height: 20px;
    padding: 0 !important;
}

.punbb h1 span {
    height: 20px;
    display: block;
    font-size: 16px;
}

.punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
  }

/* A3.5 */
.punbb h2 span, .punbb legend span {
  font-size: 14px;
  }

/* 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;
  }

.post-content .highlight-text {
    background-color: #c198a5 !important;
}

del {
    text-decoration: none;
    color: transparent;
    text-shadow: 0 0 5px var(--mainText);
    transition: color 0.25s, text-shadow 0.25s;
}
.punbb del a { color: transparent !important; }

del:hover {
    color: var(--mainText);
    text-shadow: 0 0 transparent;
}
.punbb del a:hover { color: var(--mainLink)  !important; }

/* A3.10 */
.punbb a {
  text-decoration: none
  }

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
  }


/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow:hidden;
  line-height: 0.0;
  font-size: 0;
  }

/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden
  }


/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.1 */
#pun {
    margin: 80px auto 140px auto;
    position: relative;
    width: 960px;
    padding: 460px 40px 62px 40px;
    background:
url(https://forumstatic.ru/files/001c/05/9b/65609.webp) top left no-repeat scroll,
url(https://forumstatic.ru/files/001c/05/9b/60665.webp) bottom left no-repeat scroll,
url(https://forumstatic.ru/files/001c/05/9b/71535.webp) top left repeat-y scroll;
    background-color: #bbbbbb;
    box-shadow: 0 0 20px -11px #000;
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
  }

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
#pun-stats {
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: 0 0 20px -16px #000;
    position: relative;
}

.category {
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: 0 0 20px -16px #000;
    margin: 0 0 40px 0 !important;
}

#pun-index .category h2, #pun-index #pun-stats h2 {
    width: 960px;
    height: 35px;
    padding: 0!important;
    margin: 0 0 0 0 !important;
    font-size: 0 !important;
    border: 1px solid transparent;
    box-shadow: 0 5px 10px -12px #000;
    filter: contrast(1.2) brightness(0.85);
}

#pun-index .category h2 span, #pun-stats h2 span {font-size: 0 !important;}

#pun-category1 h2 {
    background: url(https://forumstatic.ru/files/001c/05/9b/27904.png) top left no-repeat;
}

#pun-category2 h2 {
    background: url(https://forumstatic.ru/files/001c/05/9b/48706.png) top left no-repeat;
}

#pun-category3 h2 {
    background: url(https://forumstatic.ru/files/001c/05/9b/33906.png) top left no-repeat;
}

#pun-category4 h2 {
    background: url(https://forumstatic.ru/files/001c/05/9b/87291.png) top left no-repeat;
}

#pun-category5 h2 {
    background: url(https://forumstatic.ru/files/001c/05/9b/44456.png) top left no-repeat;
}

#pun-category6 h2 {
    background: url(https://forumstatic.ru/files/001c/05/9b/27904.png) top left no-repeat;
}


#pun-stats h2 {
    background: url(https://forumstatic.ru/files/001c/05/9b/44456.png) top left no-repeat;
}


/* A5.6 */
.post {
    scroll-margin-top: 10px;
}

.punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }


/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
  padding: 0.5em 1em;

  }


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
    padding: 0 10px;
    margin: 0 -10px;
  width: 100%;
  overflow: hidden;
  }

/* B1.2 */
.punbb .post-sig dt {
    margin: 5px 0;
}

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 10px 0;
  line-height: 150%;
  }

.punbb .post-content .quote-box p:last-child {  padding: 0;}

/* 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: 10px 0 !important;
    padding: 14px 14px 12px 14px !important;
    border: 1px solid var(--pinkBorder);
    background: var(--qBG);
    border-radius: 4px;
}


/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
    display: block;
    padding-bottom: 7px;
    font-size: 13px;
    font-style: normal;
    margin: 0;
    font-family: 'Vollkorn';
}

.post-content .spoiler-box > div {
    background: none !important;
    font-family: 'Vollkorn';
    font-size: 13px;
}

.post-content .spoiler-box > div.visible {
    background: none !important;
}


.post-content .spoiler-box > div:before {
    content: "\f0d7";
    font-family: FontAwesomeSolid;
    margin: 0 20px 0 -20px;
    color: var(--darkpinkText);
}

.post-content .spoiler-box > div.visible:before {
content: "\f0d8";
font-family: FontAwesomeSolid;
}

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  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 {
    position: relative;
    width: 100%;
    font-size: 16px;
    height: 20px;
    font-family: 'Vollkorn';
    color: var(--mainText);
    display: flex;
    justify-content: space-between;
}

/* B3.2 */
.multipage {
  margin-top: 3em;
  }

/* B3.3 */
.linkst .pagelink {
    width: 330px;
}

.linkst .postlink {
    width: 150px;
    height: 20px;
    text-align: right;
}

/* B3.5 */
.punbb .linksb {
    text-align: right;
    font-size: 15px;
    font-family: 'Vollkorn';
    color: var(--mainText);
    height: 20px;
    margin: 20px 0;
}

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

/* B3.8 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

/* C1.4 */
.punbb fieldset {
    padding: 0 18px 0 18px;
    margin: 0 0 1em 0;
    border-radius: 4px;
    border: 1px solid var(--pinkBorder) !important;
    background: var(--lightOpBG2);
}

/* C1.5 */
.punbb fieldset legend {
    padding: 0;
    margin: 0 0 0 11px;
    font-size: 17px;
    font-family: 'Vollkorn';
}

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  }

/* 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: auto;
  margin: 0;
  }

.inputfield.required.longinput span.input {
    margin-bottom: 16px;
}

/* 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 */
#pun-index .tcl {
  overflow: hidden;
  text-align: left;
  width: 80%;
  }

.multipage .tcl {
  overflow: hidden;
  text-align: left;
  width: 70%;
  }

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center !important;
  width: 10%;
  }

/* C2.3 */
.multipage .tcr {width: 40%;}

.punbb .main .tcr {
    overflow: hidden;
    text-align: left;
    width: 55%;
    padding-left: 80px;
}

#pun-index span.byuser {
    font-family: 'Vollkorn';
    font-size: 14px;
}

/* C2.4 */
#pun-userlist .main .tcl, #pun-modviewforum .main .tcl {
  width: 40%
  }

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

/* C2.8 */
#pun-index .tcl h3 {
    font-size: 21px;
    font-family: vollkorn;
  }

#pun-index .tcl h3 a {
    display: block;
    color: var(--darkpinkText);
    width: 350px;
    font-variant: small-caps;
    letter-spacing: -0.5px;
    font-family: vollkorn;
    font-size: 21px !important;
    text-shadow: 0 0 1px var(--darkpinkText);
}

#pun-index .tcl h3 a:hover, #pun-index .tcl h3 a:focus, #pun-index .tcl h3 a:active {
    filter: opacity(0.6);
}

.tclcon a {
    font-size: 13px;
}


/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

/* C2.11 */
.punbb .main td {
  padding: 6px;
  }

.punbb .post-content td {
    border-style: none !important;
    padding: 0 10px 10px 0 !important;
}

/* C2.12 */
.punbb .main th {
  padding: 5px;
  }

/* C2.13 */
.punbb .main .tcl {

  }

/* C2.14 */

.multipage .forum {
    margin: 20px 0 0 0;
    box-shadow: 0 5px 10px -12px #000;
}

.forum .tcl span.byuser {
    display: block;
    margin: 6px 0 4px 25px;
    font-size: 11px;
}

.forum .tcr span.byuser {
    display: block;
    margin: 6px 0 0px 0;
}


#pun-viewforum .forum tbody.hasicon .tcl, #pun-searchtopics .forum tbody.hasicon .tcl {padding: 30px 0 12px 0 !important;}


#pun-viewforum .forum thead tr, #pun-searchtopics .forum thead tr {
    box-shadow: 0 5px 10px -12px #000;
}

#pun-viewforum .forum thead tr th, #pun-searchtopics .forum thead tr th {
    font-family: 'Vollkorn';
    text-transform: lowercase;
    color: #3d3d3d;
    text-align: center;
    font-size: 14px;
    padding: 5px 0 10px 0 !important;
}

#pun-index tbody.hasicon .intd {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    padding-left: 50px;
    text-align: justify;
}

/* C2.15 */
#pun-index div.icon {
    width: 90px;
    height: 50px;
    line-height: 0.0;
    position: absolute;
    left: -29px;
    top: 5px;
    background-size: cover !important;
    z-index: 0;
    opacity: 0;
}

#pun-index div.icon {
    background: url(https://forumstatic.ru/files/001c/05/9b/14329.png) top left no-repeat;
}

#pun-index div.inew {
background: url(https://forumstatic.ru/files/001c/05/9b/14329.png) top left no-repeat;
    opacity: 1 !important;
}


#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    width: 15px;
    height: 15px;
    float: left;
    margin: 1px 8px 0 4px;
    background: var(--pinkText);
    border-radius: 50px;
}

#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: var(--mainLink) !important;
    box-shadow: 0 0 2px 2px var(--mainLink);
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: var(--darkpinkAcc);
    opacity: .2;
}

#pun-viewforum TR.iclosed.isticky Div.icon, #pun-messages TR.iclosed.isticky Div.icon, #pun-searchtopics TR.iclosed.isticky Div.icon, #pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: var(--darkpinkAcc);
    opacity: 1 !important;
}

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  margin-top: -1px;
  padding-bottom: 1px;
  }

/* C3.2 */
.punbb .post h3 {
    position: relative;
    margin: 20px -7px 20px -10px;
    border-radius: 3px;
    padding: 0 20px;
    background: url(https://forumstatic.ru/files/001c/05/9b/48706.png) top right no-repeat;
    background-color: var(--lightBG);
    background-size: cover;
    box-shadow: 0 5px 6px -8px #000;
}

/* C3.3 */
.punbb .post h3 span {

}

.punbb .post h3 span a, .punbb .post h3 strong {
    display: inline-block;
    font-family: 'Vollkorn';
    font-size: 14px;
    letter-spacing: 0.7px;
}

a.permalink {
    width: max-content;
}

/* C3.4 */
.punbb .post h3 strong {
    float: right;
    width: auto;
    text-align: right;
    font-weight: normal;
    font-size: 20px;
    height: 100%;
    line-height: 1;
}

/* C3.5 */
.punbb .post .post-author {
    float: left;
    width: 200px;
    position: relative;
    margin: 0 0 0 -7px;
    font-size: 12px;
    border: 1px solid var(--pinkBorder);
    background: url(https://forumstatic.ru/files/001c/05/9b/57568.png) top left no-repeat;
    border-radius: 4px;
    box-shadow: 0 0 0 2px var(--lightBG), 0 0 0 3px var(--pinkBorder);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
}

.punbb .post .post-author a {color: #774a58;}
.punbb .post .post-author a:hover {color: #975e70;}

.punbb .post .post-author ul {
    display: flex;
    align-items: center;
    background: rgb(255 255 255 / 14%);
    border-radius: 5px;
    padding: 6px;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 25px;
}

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  line-height: 140%;
  }

/* C3.7 */
.pa-author {
    width: 100%;
    text-align: center;
    font-family: 'Vollkorn';
    font-size: 18px;
    z-index: 1;
    display: flex;
    position: relative;
    margin: 5px -10px 5px -10px;
    height: 31px;
    align-items: center;
    justify-content: center;
    padding: 0 3px !important;
    font-variant: small-caps;
    color: var(--pinkBorder) !important;
    filter: brightness(1.2);
    text-shadow: 0 0 6px var(--mainText);
    flex-grow: 1;
    padding: 0 12px !important;
}

/* C3.8 */
.pa-author a {
    display: flex;
    font-family: 'Vollkorn';
    align-items: center;
    justify-content: center;
    line-height: 110%;
    color: var(--pinkBorder) !important;
}

.pa-author a:hover {
    filter: brightness(1.2);
}

i#tuser {
    position: absolute;
    top: -54px;
    left: -60px;
    text-shadow: none !important;
    color: var(--mainText);
    font-size: 11px;
}

li.pa-avatar.item2 {
    padding: 5px;
    line-height: 0;
    margin: 0 0 10px 0;
    background: rgb(0 0 0 / 12%);
    width: max-content;
    border-radius: 5px;
    backdrop-filter: blur(10px);
}

li.pa-avatar.item2 img {
    width: 180px;
    border-radius: 4px;
}


/* C3.9 */
li.pa-title {
    margin: 0 0 5px 0;
    text-align: center;
    font-family: 'Vollkorn';
    font-size: 12px;
    letter-spacing: 1px;
    flex-grow: 1;
    width: 100%;
}

li.pa-fld1 {
    padding: 8px;
    margin: 5px -5px 15px -5px;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-align: center;
    box-shadow: 0 -5px 8px -10px #000, 0 5px 8px -10px #000;
    background: var(--lightOpBG2);
    width: 100%;
}

li.pa-fld2 img {
    margin: 3px 0 5px 0;;
    border-radius: 5px;
    border: solid 5px rgb(0 0 0 / 12%);
}

li.pa-awards {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 8px;
    margin-top: -4px;
}

li.pa-awards span { font-size: 11px !important; }

li.pa-fld3 {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-align: center;
}

li.pa-posts, li.pa-respect, li.pa-positive {
     text-align: center;
     font-size: 11px;
}

li.pa-posts, li.pa-respect, li.pa-positive, li.pa-awards, li.pa-fld3 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

li.pa-ip {
    text-align: center;
    padding-top: 12px;
    position: absolute;
    bottom: -13px;
    font-size: 8px;
    height: 10px;
    opacity: 0.5;
}

li.pa-online {
    text-align: center;
    text-transform: lowercase;
    display: block;
    font-family: 'Vollkorn';
    font-size: 12px;
    letter-spacing: 0.5px;
    margin: 10px 0 0 0;
}

li.pa-online strong {
    font-weight: normal !important;
}

/* C3.11 */
.punbb .post-body {
    padding: 0px 10px 10px 10px;
    margin: 0px 0 0 230px;
}

/* C3.12 */
.punbb .post-box {
    text-align: justify;
}

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
    margin: 20px 0 0 245px;
}

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  background: transparent;
  text-align: right;
  }

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

.punbb .post-links a {
    font-family: 'Vollkorn';
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: bold;
}

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 10px 0;
  text-align: right;
  }

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 220px;
  }

div#pun-messages #profile .container {
    padding: 0 0 0 0 !important;
}

#pun-messages #profilenav {
    margin: 20px 0 20px 0 !important;
    width: calc(100% - 46px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding: 0 20px;
}

#pun-messages #profilenav ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: flex-start;
    justify-content: center;
}

#pun-messages #profilenav li {
    margin-bottom: 0;
    line-height: 0;
}

#pun-messages #profilenav li.isactive {
    padding-bottom: 0px !important;
    padding-left: 0;
    font-weight: normal;
}

#pun-messages #profilenav li a {
    background: var(--lightBG);
    border-radius: 10px;
    line-height: 0;
    display: flex;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--mainText) !important;
    font-size: 10px;
    font-family: vollkorn;
    text-transform: uppercase;
    border: 1px solid var(--pinkBorder);
}

#pun-messages #profilenav li a:hover, #pun-messages #profilenav li.isactive a {
    background: var(--pinkBorder);
    font-weight: bold;
}


/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -230px;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
  }

#profilenav li.isactive a {
    background: var(--pinkText);
    color: var(--lightBG);
    padding: 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* C6.4 */
#viewprofile ul, #profilenav ul {
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* C6.7 */

#viewprofile li#pa-email {
    padding: 0;
}

#viewprofile li#pa-email strong {
    padding: 0.5em 2em !important;
    font-size: 0;
}

#viewprofile li#pa-email strong a.sendpm {
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
    background: var(--pinkBorder);
    color: var(--mainText) !important;
    border-radius: 4px;
    width: 96%;
    display: block;
    text-align: center;
    margin: 0 0 0 15px;
    text-transform: uppercase;
    font-family: Vollkorn;
}

#viewprofile li#pa-email strong a.sendpm:hover {
    background: var(--darkpinkAcc);
    color: var(--lightBG) !important;
}

#viewprofile li {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

#profile-signature ul {
    border-color: var(--pinkBorder);
}

#setmods dl {
    padding: 0 0 0 110px;
    margin-bottom: 10px;
}

/* 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 {

  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */

#pun-title {display: none;}

#pun-title table {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 {
    top: -60px;
    width: 1020px;
    height: 25px;
    left: 10px;
    position: absolute;
}


/* D3.2 */
#pun-navlinks .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    align-items: center;
    height: 100%;
}



/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
    position: absolute;
    top: -40px;
    width: 1020px;
    height: 30px;
    left: 10px;
}

/* D4.2 */
#pun-ulinks .container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status {
    position: absolute;
    top: 430px;
    width: 960px;
    font-size: 14px !important;
    font-family: 'Vollkorn';
}

#pun-status a {
    font-size: 14px !important;
}

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

/* D5.4 */
#pun-crumbs1 {
    overflow: hidden;
    margin-top: 0;
    text-align: center;
    font-family: 'Vollkorn';
    letter-spacing: 0.5px;
    font-size: 15px;
}

#pun-crumbs1 a {
    font-size: 15px !important;
}


#pun-index #pun-crumbs1 {
    text-align: center;
    font-family: vollkorn;
    font-size: 14px;
}

/* D5.5 */
#pun-crumbs1 p.container {
  padding: 10px;
  }

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  height: 0;
  margin: -2px 1em;
  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 {
  padding: 20px;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
    padding: 0.8em 1em;
    background: var(--lightOpBG);
}

/* D7.2 */
.statcont {
    position: absolute;
    display: flex;
    width: 100%;
    height: 35px;
    justify-content: space-evenly;
    left: 0;
    top: 1px;
    line-height: 0;
    align-items: center;
    font-size: 13px;
    font-family: 'Vollkorn';
}

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  float: left;
  width: 100%;
  line-height: 150%;
  }

/* D7.5 */
li#onlinelist div {
  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: 0 0 0 0 !important;
    font-size: 8px;
    text-transform: uppercase;
    font-family: 'Vollkorn';
    letter-spacing: 1px;
    position: absolute;
    bottom: 46px;
    z-index: 1;
    width: 960px;
}

/* D8.4 */
#pun-about .container {
  text-align: center;
  }

/* D8.5 */
#pun-about p span {
  display:block;
  padding-left: 50%;
  }

/* D8.6 */
#pun-index #pun-crumbs2 {
    text-align: center;
    font-family: vollkorn;
    font-size: 14px;
}

#pun-crumbs2 {
    overflow: hidden;
    margin-bottom: 0;
    text-align: center;
    font-family: 'Vollkorn';
    letter-spacing: 0.2px;
    z-index: 2;
    position: relative;
    font-size: 15px;
}

#pun-crumbs2 a {
    font-size: 15px !important;
}

div#topic-users-in a {
    font-size: 14px !important;
}

/* D8.7 */
#pun-crumbs2 .container {
    font-size: 15px;
}

/* D8.8 */
#pun-break4 {display: none;}

/* D8.9 */
div.punbb-admin #pun-about .container {

  }


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {

  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  font-size: 1.1em;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }


/* Форумы на главной
-------------------------------------------------------------*/
#pun-index .category table thead {display: none;}

#pun-index .category table tbody tr {
    position: relative;
    margin-bottom: 10px !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px 10px;
    overflow: hidden;
    box-shadow: 0 5px 10px -12px #000;
}

#pun-index .category table tbody tr:last-child {box-shadow: none}

.punbb .user-avatar .avatar-image {
    border-radius: 4px !important;
    border: 1px solid #bba8af;
    box-shadow: 0 0 0 1px #d1d1d1, 0 0 0 2px #a19599, 0 0 9px -3px #000;
}

em.user-avatar.no-avatar span.avatar-image {
    background: url(https://forumstatic.ru/files/001c/05/9b/65609.webp) -160px -60px no-repeat !important;
}


#tags .container {
    top: 55px !important;
    border: 4px double var(--pinkBorder);
    background: rgb(209 209 209);
    padding: 10px !important;
    border-radius: 4px;
}

div#pun-messages #main-reply {width: 97% !important;}

div#pun-viewtopic #main-reply {width: 835px !important;}

div#pun-profile textarea#main-reply {width: 97%;}

#main-reply {
    border-radius: 4px;
    border: 1px solid var(--pinkBorder);
    background: var(--lightBG);
    padding: 10px;
}

.post .bookmark {
    right: -30px !important;
}

.editBookmark {
    background: #bebebe;
    padding: 10px;
}

div#MyBookmarks {
    background: #cbcbcb;
    padding: 10px;
    border: 4px double #8a8587;
    box-shadow: inset 0 0 10px 0 rgb(102 69 77 / 21%), 0 0 10px -6px #000 !important;
}

#BookmCntToggle.default-style {
    color: #b75675 !important;
}

.post .bookmark {
    width: 15px !important;
}

li#navpm {
    display: flex;
    gap: 1px;
}

span.num_msg {
    margin: 0 !important;
    background: #9d616a !important;
    position: inherit !important;
}

span.num_msg::before {display: none !important;}

span.bubble {background: #b7295c !important;}
.bubble:after {border-color: #b7295c transparent !important;}

select, input, textarea {
    border-radius: 4px;
    border: 1px solid var(--pinkBorder);
    background: var(--lightBG);
    padding: 5px;
    font-size: 14px !important;
    outline: none;
}

input[type="submit" i], input#cncl, input#reputationButtonSend, input#reputationButtonCancel, input#SubmitMPst, #mask_dialog input.button, input[type="button" i], input.button, button {
    cursor: pointer;
    transition: ease-in-out 0.3s;
    outline: none !important;
    display: inline-flex;
    padding: 6px 10px 4px 10px;
    text-align: center;
    justify-content: space-around;
    font-family: 'Vollkorn' !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--pinkBorder);
    color: var(--mainText) !important;
    font-weight: bold;
    border-radius: 4px;
    background: var(--lightBG);
    line-height: 0;
    height: 25px;
    align-items: center;
    font-size: 11px !important;
    transition: color ease-in-out 0.3s, background ease-in-out 0.3s, filter ease-in-out 0.3s, opacity ease-in-out 0.3s;
}

input[type="submit" i]:hover, input#cncl:hover, input#reputationButtonSend:hover, input#reputationButtonCancel:hover, input#SubmitMPst:hover, #mask_dialog input.button:hover, input[type="button" i]:hover, input.button:hover {
    background: var(--pinkBorder);
}


#profile fieldset {
    clear: right;
    padding: 10px;
    margin: 10px 10px 10px 0;
}



/* Стили для дополнений
-------------------------------------------------------------*/

.banners a img {
    width: 88px !important;
    height: 31px !important;
}

.banners {
    position: absolute;
    bottom: -110px;
    width: 980px;
    margin: 0 0 0 -10px;
    z-index: -1;
    background: var(--lightOpBG2);
    height: 150px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
    box-shadow: 0 0 5px 2px rgb(203 203 203 / 21%), 0px 10px 10px 2px rgb(0 0 0 / 62%);
    justify-content: center;
}

.banners .cont {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    height: 70px;
    overflow-y: auto;
    align-items: center;
    width: 97%;
}

.banners .cont iframe {
    width: 100%;
    border: none;
    overflow: hidden;
    height: 70px;
}

.NavTop {
    width: 189px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 5px;
}

.NavTop a {
    display: flex;
    width: 190px;
    justify-content: center;
    height: 20px;
}

.NavTop a navtxt {
    display: flex;
    color: var(--darkpinkText);
    font-family: 'Vollkorn';
    font-size: 13px;
    text-transform: uppercase;
    width: 100%;
    justify-content: flex-start;
    line-height: 0;
    font-weight: bold;
    margin: 0 0 0 20px;
    height: 100%;
    align-items: center;
}

.NavTop a:hover{opacity: 0.5;}

.textBlocks .wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    background: var(--lightOpBG);
    border-radius: var(--radius);
    height: calc(100% - 40px);
    width: calc(100% - 40px);
    padding: 10px 10px;
}

.textBlocks {
    position: absolute;
    width: calc(100% - 80px);
    height: 300px;
    top: 112px;
    left: 40px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


.TxtBlock01 {
    z-index: 1;
    width: 390px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.TxtBlock02 {
    width: 360px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: space-between;
}

.TxtBlock01 hd b {
    font-size: 15px;
    margin: 6px 0 0 0;
}

.TxtBlock01 hd, .TxtBlock02 hd, .Wanted hd {
    display: flex;
    font-family: vollkorn;
    font-size: 16px;
    color: var(--darkpinkAcc);
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}


.hr1 {
    padding: 0;
    height: 0;
    border: none;
    border-width: 0 0 5px;
    border-style: solid;
    border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 1" width="8" height="4"><circle fill="grey" cx="1" cy="0.5" r="0.5"></circle></svg>') 0 0 100% repeat;
    background-position: 50%;
    box-sizing: border-box;
    color: grey;
    opacity: 0.4;
    margin-right: 50px;
    margin-left: 50px;
    margin-top: 10px;
}


.TxtBlock01 txt01, .TxtBlock02 txt02 {
    text-align: justify;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    font-size: 13px;
}

.TxtBlock01 txt01 { max-height: 150px; }

.TxtBlock01 hd#whispers {
    padding: 10px;
}

.TxtBlock02 txt02 {
    margin-bottom: 5px;
    display: block;
    max-height: 90px !important;
}

.TxtBlock02 p.author {
    text-align: right;
    font-weight: bold;
    font-family: vollkorn;
    color: var(--darkpinkAcc);
}

.Wanted {
    z-index: 1;
    width: 360px;
    height: 100px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.Wanted pics {
    display: flex;
    gap: 6px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.Wanted a {
    width: 44px;
    height: 44px;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--lightBG);
    background: linear-gradient(180deg, rgb(255 255 255 / 35%) 30%, rgb(0 0 0 / 81%) 70%);
    box-shadow: 0 0 5px -1px #000;
}

.Wanted a:hover img {opacity: 0.7;}

.Wanted a img { transition: opacity ease-in-out 0.3s; }

/* Профиль в лс
-------------------------------------------------------------*/

div#pun-messages .post-body {
    margin: 0 0 0 245px;
    padding: 0;
}

div#pun-messages li.pa-title {margin: 0 0 14px 0;}

div#pun-messages .post h3 {
    height: 30px;
    margin: 0 0 20px 0px;
    position: relative;
}

div#pun-messages .post h3 span {
    display: block;
    height: 20px;
    margin: 0 0 0 50px;
    position: absolute;
    width: 620px;
    top: 7px;
    font-family: 'Vollkorn';
    font-size: 14px;
    color: var(--mainText);
}

div#pun-messages .post h3 .FNTslider {
margin: 3px 5px 3px 5px;
}

div#pun-messages .post .post-author::before {display: none;}

div#pun-messages .post-author {
    margin: 0 0 0 0 !important;
}

div#pun-messages .pa-author {
    position: relative !important;
    background: none !important;
    margin: 4px 0 0 -10px !important;
    padding: 0 !important;
    top: inherit !important;
    left: inherit !important;
    width: 200px!important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}


/* Поиск постов
-------------------------------------------------------------*/

div#pun-searchposts .post h3 span {
    margin: 0;
    width: 870px;
    top: 22px;
    z-index: 2;
    text-align: center;
}

div#pun-searchposts .post h3 span a, div#pun-searchposts .post h3 strong {
    display: inline-block;
    font-family: 'Roboto';
    font-size: 12px;
    letter-spacing: 0;
    background: none !important;
}

div#pun-searchposts .post h3 span .FNTslider {
    margin: 3px 50px 0 0;
}

div#pun-searchposts .post .post-author {
    text-align: center;
    font-size: 11px;
}

div#pun-searchposts .post .pa-author {font-size: 12px;}

/* Просмотр профиля
-------------------------------------------------------------*/

#pun-profile #viewprofile td#profile-left {text-align: center;width: 25% !important;}

#pun-profile #viewprofile td#profile-left li#profile-name {font-family: vollkorn;}


/* Скроллбары
-------------------------------------------------------------*/

@-moz-document url-prefix() {
body * {
  scrollbar-width: thin;
  scrollbar-color: #a59b9e #cdcdcd;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #a59b9e #cdcdcd;
}

.textBlocks {
  scrollbar-width: thin;
  scrollbar-color: #a59b9e #cdcdcd;
}

}

::-webkit-scrollbar-thumb {
    background-color: #7f3b50;
    border-width: 1px 0 1px 0;
    border-style: solid;
    border-color: #000;
    cursor: pointer;
}

::-webkit-scrollbar-track {
    background-color: #252024;
}

::-webkit-scrollbar-button { 
background-repeat:no-repeat; 
width:6px; 
height:0px 
} 

::-webkit-resizer{ 
background-repeat:no-repeat; 
width:10px; 
height:0px 
} 

::-webkit-scrollbar{width: 12px;}
::-webkit-scrollbar:horizontal {height: 12px;}

.punbb ::-webkit-scrollbar:horizontal {height: 6px;}

.punbb ::-webkit-scrollbar{width: 8px; }

.punbb ::-webkit-scrollbar-thumb {
    background: #a59b9e;
    border: none !important;
    border-radius: 5px;
    cursor: pointer;
}

.punbb ::-webkit-scrollbar-track {
    background: transparent;
}

/* Иконки формы ответа ----*/
#form-buttons table {width: 100% !important;}
#form-buttons tr {
    text-align: center;
    display: flex;
    justify-content: space-between;
}

#form-buttons td {
    position: relative;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
background: none !important;
}

#form-buttons td img {z-index: 1;}
#form-buttons td:hover::before {color: var(--primary-LINK);}

#form-buttons td::before {
    font-family: FontAwesomeSolid;
    font-size: 14px;
    transition: ease-in-out 0.3s;
    position: absolute;
    z-index: 0;
    left: 36%;
    color: var(--darkpinkAcc);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
}

#form-buttons td:hover::before {
opacity: 0.5;
}

#button-font::before {content: "\f031";}
#button-size::before {content: "\f034";}
#button-bold::before {content: "\f032";}
#button-italic::before {content: "\f033";}
#button-underline::before {content: "\f0cd";}
#button-strike::before {content: "\f0cc";}
#button-indent::before {content: "\f03c";}
#button-left::before {content: "\f036";}
#button-center::before {content: "\f037";}
#button-right::before {content: "\f038";}
#button-link::before {content: "\f0c1";}
#button-spoiler::before {content: "\f070";}
#button-image::before {content: "\f03e";}
#button-video::before {content: "\f008";}
#button-hide::before {content: "\f023";}
#button-quote::before {content: "\f10e";}
#button-code::before {content: "\f121";}
#button-color::before {content: "\f53f";}
#button-table::before {content: "\f84c";}
#button-smile::before {content: "\f4da";}
#button-sticker::before {content: "\f587";}
#button-keyboard::before {content: "\f11c";font-size: 16px !important;}
#button-addition::before {content: "\f0fe";}
#button-mask::before {content: "\f630";}
#button-styles::before {content: "\f02c";}


/* Стили всяких всплывающих окон
-------------------------------------------------------------*/

#mask_dialog .hv-control {
    margin: 20px 0 0 0;
}

#mask_dialog .hv-preview-block img {
    max-width: 180px !important;
    width: 180px !important;
    height: 180px  !important;
}

.hv-preview-title {
    font-size: 11px;
}

.hv-preview-author {
    font-family: Vollkorn;
    font-weight: bold;
    font-size: 14px;
}

#mask_dialog .hv-preview-block {
    padding: 10px 10px;
    max-width: inherit !important;
    width: 230px !important;
    overflow: inherit;
    border: 1px solid var(--pinkBorder);
    border-radius: 4px;
    max-height: max-content !important;
    flex: inherit !important;
}

#mask_dialog .inner, .hvStickerPackModal, #pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner, .modal-inner.section {
    background: var(--lightBG) !IMPORTANT;
    padding: 10px !important;
    border: 1px solid var(--pinkBorder) !important;
    border-radius: 4px;
}

#mask_dialog .hv-form-block {
    padding: 10px 20px 10px 10px;
    border: 1px solid var(--pinkBorder);
    border-radius: 4px;
    min-height: 460px;
}

#mask_dialog .hv-mask-block {
    gap: 20px;
}

#mask_dialog .hv-mask-dialog-title {
    font-family: 'Vollkorn';
    text-transform: uppercase;
    font-size: 15px;
    box-shadow: 0 5px 10px -12px #000;
    margin: 0 0 20px 0;
}

#mask_dialog .inner {
    width: 910px;
}

#plng {
  border: none !important;
  padding: 2px 3px;
  margin: 5px 40px 0px 5px;
  font-family: vollkorn;
  font-size: 14px;
}


#topic-users-in a:not(:last-of-type):after {
content: ",";
}

/* Изменения на 11.04.24
-------------------------------------------------------------*/

li.pa-posts span.fld-name, li.pa-fld3 span.fld-name, li.pa-respect span.fld-name a,  li.pa-respect span.fld-name, li.pa-positive span.fld-name, li.pa-awards {font-size: 0;}

li.pa-posts span.fld-name::before, li.pa-fld3 span.fld-name::before, li.pa-respect span.fld-name a::before, .isguest .pa-respect .fld-name::before, li.pa-positive span.fld-name::before, li.pa-awards a::before {
    font-family: rpg-awesome;
    font-size: 17px;
    font-weight: normal;
    line-height: 0;
    margin: 0px 0px 0 0 !important;
    display: flex;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    float: left;
    color: var(--mainText);
}

li.pa-respect span.fld-name a:hover::before, .isguest .pa-respect .fld-name:hover::before, li.pa-positive span.fld-name:hover::before {
}

li.pa-posts span.fld-name::before {
    content: '\e993';
}

li.pa-fld3 span.fld-name::before {content:'\ea8f'}
li.pa-awards a::before {content: '\ead7';}

li.pa-respect span.fld-name a::before, .isguest .pa-respect .fld-name::before {content:'\e9e2'}

li.pa-positive span.fld-name::before, .isguest li.pa-positive span.fld-name a::before 
{content:'\e992'}

.pa-respect a[href*="&v=1&cod"] {
    background-image: none !important;
    display: flex;
    width: 100%;
    height: 17px;
    line-height: 0;
    justify-content: center;
    align-items: center;
    background: cadetblue;
    margin: 0 -20px 0 0;
    opacity: 0;
    position: absolute;
    bottom: 0;
    left: 0;
}

img.defavtr {
    margin: 0;
}


#tooltip {
  position:absolute;
  background:#000;
  color: #fff;
  margin: 0.4em 1.8em 1.4em 1.8em;
  padding: 5px 8px 4px;
  font-weight:normal;
  font-size:12px;
  display:none;
  font-family: verdana !important;
}

li.pa-fld3 span.fld-name::before {
padding-left: 3px;
}


span.e3:nth-child(2) {display: nonex; }
.users_24h > div:nth-child(1) > span:nth-child(1) {font-weight: bold;}
li.item5:nth-child(5) > div:nth-child(1) > span:nth-child(1) > a:nth-child(1) {font-weight: bold;}

/* кастомное обтекание
-------------------------------------------------------------*/
.FloatLeft img, .FloatRight img {}

.FloatLeft {
    float: left;
    margin: 0 18px -2px 0;
}

.FloatRight {
    float: right;
    margin: 0 0 -2px 18px;
}

/* кнопки вверх-вниз
-------------------------------------------------------------*/
.top_bottom {
    position: fixed;
    z-index: 999;
    top: 300px;
    margin-left: 1030px;
    font-size: 0 !important;
    height: 170px;
    width: 55px;
}

.top_bottom span {
    font-size: 12px;
    font-family: 'Vollkorn';
    text-transform: uppercase;
    color: var(--lightBG);
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.top_bottom div#ToTop, .top_bottom div#OnBottom {
    cursor: pointer;
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 0 3px 2px var(--mainLink);
    background-color: black;
}

div#ToTop {
    background: url(https://forumstatic.ru/files/001c/05/9b/65609.webp) -3px -6px no-repeat;
    top: 0;
}

div#OnBottom {
    background: url(https://forumstatic.ru/files/001c/05/9b/65609.webp) -63px -66px no-repeat;
    bottom: 0;
}

/* Правка админки
-------------------------------------------------------------*/
.adformal, .adcontainer {border: none !important;}
#pun-adnav ul, .punbb-admin .adcontainer {background: var(--lightBG) !important;}
#pun .punbb-admin {margin: -380px 0 0 0;}
.punbb-admin #pun-status {top: 30px;}

/* Правка редиректа
-------------------------------------------------------------*/

.redirect-page {
background: url(https://forumstatic.ru/files/001c/05/9b/74853.webp) top center no-repeat fixed !important;
    background-color: var(--mainBG);
    background-size: cover;
position: fixed;
width: 100%;
height: 100%;
}

.redirect-page #pun {
padding: 0px !important;
}

/* правки всплывающих подсказок
-------------------------------------------------------------*/

.tipsy.tipsy-s {margin: -25px 0 0 0 !important;}

.tipsy.post-voters-tip.tipsy-se {margin: -80px 0 0 0 !important;}

.tipsy-inner span {opacity: 1 !important}

.tipsy-inner {color: var(--mainText) !important;}

#respect figcaption p, .tipsy-inner a {color: var(--mainLink) !important; font-weight: bold;}
#respect figcaption p:hover, .tipsy-inner a:hover {color: var(--mainText) !important; text-decoration: none !important;}

/* Мелкие допы
-------------------------------------------------------------*/
.post-content abbr {
    cursor: pointer !important;
    border-bottom: 1px dotted #333;
}












:root {
--lightBG: #cdcdcd;
--lightOpBG: rgb(205 205 205 / 67%);
--lightOpBG2: rgb(203 203 203 / 19%);
--qBG: #d5d5d5;
--mainLink: #6f474e;
--mainText: #333333;
--pinkBorder: #c2abb0;
--darkpinkText: #7b565e;
--darkpinkAcc: #4b393c;
--pinkText: #ab8f94;
--radius: 6px;
}


/* Отключение ненужного
-------------------------------------------------------------*/
div#pun-live-rusff, .topic a.sharelink, td#button-graffiti_rusff, .reactions-root, td#button-files_rusff, li.pl-email.email, span.stickytext, span.closedatafield, div#pun-searchposts h1, div#pun-profile h1, #post-form h2, li.pl-share, p.lastedit, span.item4.status-right, li#navawards, li#pa-invites, #pun-messages #profilenav h2, a.sendemail, #viewprofile li#pa-email span, form#post fieldset legend span, div#topic-modmenu p.container span, li.pa-reg, div#pun-messages li.pl-email, .pa-gifts, #pa-gifts, li#pa-awards 

{clear: both;display: none !important;height: 0;visibility: hidden;overflow: hidden;line-height: 0.0;font-size: 0;}


/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  color: var(--mainText);
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  color: var(--mainText);
  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  color: var(--mainText);
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
    color: var(--mainText);
    font-family: vollkorn;
    font-size: 14px;
}

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  color: var(--mainText);
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  color: var(--mainText);
  }

/* CS1.8 */
#pun-navlinks .container {
  color: #f1f1f1;
  }

.offline li.pa-online strong {
  font-weight: normal
  }



/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 */
.punbb a { transition: color ease-in-out 0.3s, background ease-in-out 0.3s, filter ease-in-out 0.3s, opacity ease-in-out 0.3s; }

.punbb a, .punbb a:link, .punbb a:visited, .punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited {
    color: var(--mainLink);
}


/* CS3.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active, .punbb-admin #pun-admain .nodefault, .punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
    color: var(--mainText);
}

/* CS3.3 */
#pun-navlinks a {
    padding: 0 6px;
    display: block;
    color: var(--pinkText);
    font-family: 'Vollkorn';
    font-size: 14px;
    letter-spacing: 0.8px;
    text-shadow: 0 0 1px var(--pinkText), 0 1px 6px #000000;
    text-transform: uppercase;
}

#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active,
#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active  {
    color: var(--lightBG);
    opacity: 1;
}

#pun-ulinks a {
    padding: 0 6px;
    display: block;
    color: var(--lightBG);
    font-family: 'Vollkorn';
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.7;
    text-shadow: 0 1px 6px #000000;
    letter-spacing: 0.7px;
}

/* CS3.4 */


#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: var(--mainText);
  color: #fff;
  }


#pun-main div.catleft, #pun-main div.catright {display: none}

dl.parsedsig {
    margin: 30px 0 20px 0;
}

.punbb .post-sig dt, .post-content hr {
	padding: 0;
	height: 0;
	border: none;
	border-width: 0 0 2px;
	border-style: solid;
	border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 1" width="8" height="4"><circle fill="grey" cx="1" cy="0.5" r="0.5"></circle></svg>') 0 0 100% repeat;
	background-position: 50%;
	box-sizing: border-box;
	color: grey;
        opacity: 0.4;
        margin-right: 50px;
        margin-left: 50px;
}

.pa-fld1 hr {
    padding: 0px;
    height: 0;
    border: none;
    border-width: 0 0 3px;
    border-style: solid;
	border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 1" width="8" height="4"><circle fill="grey" cx="1" cy="0.5" r="0.5"></circle></svg>') 0 0 100% repeat;
    background-position: 50%;
    box-sizing: border-box;
    color: grey;
    opacity: 0.4;
    margin-right: 10px;
    margin-left: 10px;
}


.punbb .user-avatar .isonline {
    background: #c56363 !important;
    top: -2px !important;
    right: -4px !important;
    animation: none !important;
}

#imageupload-left input[type=button] {
   width: auto !important;
}

#imageupload-left {
   width: 156px;
}

/* Change style
-------------------------------------------------------------*/
body { position: relative; }

body.mobile li[data="mobile"] { display: none; }
body.desktop li[data="desktop"] { display: none; }


body #stylelist {
    display: flex !important;
    flex-direction: column;
    left: -26px;
    position: fixed !important;
    z-index: 999999999;
    list-style-type: none;
    top: 30px;
    align-items: center;
    height: auto;
}

body.mobile #stylelist {
    left: -33px !important;
    position: absolute !important;
    bottom: -13px;
    top: initial !important;
}


#stylelist a {
    z-index: 9999999;
    font-family: FontAwesomeSolid;
    font-size: 20px;
    color: var(--pinkText);
    line-height: 28px;
    text-shadow: 0 0 1px var(--pinkText), 0 1px 6px #ffffff;
}