/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
@import url(style_cs.1794915897.css);
@import url("https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css");

:root,
.light {
  --bg1: #cfcfce; /* тело форума */
  --bg2: #ebebeb; /* тело поста */
  --bg3: #d3d1d1; /* профиль */
  --button1: #5d5957; /* кнопка */
  --button2: #4c4b4b; /* кнопка активная */
  --element1: #b5b1ad; /* элемент */
  --element2: #ebebeb; /* элемент светлый */
  --link1: #5d5957; /* ссылка */
  --link2: #4c4b4b; /* ссылка активная */
  --text1: #2e2d2c; /* тёмный текст */
  --text2: #ebebeb; /* светлый текст */

  --bg-img: url(https://forumstatic.ru/files/001a/bc/f0/71868.webp?v=1);
  --head: url(https://forumstatic.ru/files/001a/bc/f0/64648.webp?v=1);
  --footer: url(https://forumstatic.ru/files/001a/bc/f0/65118.webp?v=1);
  --cat1: url(https://forumstatic.ru/files/001a/bc/f0/65118.webp?v=1);
  --cat2: url();
  --cat3: url();
  --cat4: url();
  --cat5: url();
  --cat6: url();
  --cat7: url();
  --thdawn: url(https://forumstatic.ru/files/001a/bc/f0/65118.webp?v=1);
  --statcat: url(https://forumstatic.ru/files/001a/bc/f0/65118.webp?v=1);
  --icon: url();
  --up: url();
  --down: url();
  --guestprof: url();
  --guestthbg: url();
}

.dark {
  --bg1: #262229; /* тело форума*/
  --bg2: #2c2a2e; /* тело поста */
  --bg3: #373439; /* профиль */
  --button1: #262229; /* кнопка */
  --button2: #3e3e43; /* кнопка активная */
  --element1: #3e3e43; /* элемент */
  --element2: #babcbd; /* элемент светлый */
  --link1: #babcbd; /* ссылка */
  --link2: #cfd0d0; /* ссылка активная */
  --text1: #babcbd; /* светлый текст */
  --text2: #262229; /* тёмный текст */

  --bg-img: url(https://forumstatic.ru/files/001a/bc/f0/53119.webp?v=1);
  --head: url(https://forumstatic.ru/files/001a/bc/f0/11396.webp?v=1);
  --footer: url(https://forumstatic.ru/files/001a/bc/f0/86996.webp?v=1);
  --cat1: url(https://forumstatic.ru/files/001a/bc/f0/86996.webp?v=1);
  --cat2: url();
  --cat3: url();
  --cat4: url();
  --cat5: url();
  --cat6: url();
  --cat7: url();
  --thdawn: url(https://forumstatic.ru/files/001a/bc/f0/86996.webp?v=1);
  --statcat: url(https://forumstatic.ru/files/001a/bc/f0/86996.webp?v=1);
  --icon: url();
  --guestprof: url();
  --guestthbg: url();
}

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

html,
body {
  margin: 0;
  padding: 0;
}

/* фон */
html {
  background: var(--bg-img);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top center;
  background-color: var(--bg1);
  background-size: cover;
}

/* A2.2 */
.punbb * {
  margin: 0;
}

.topic + .modmenu .container > span {
  display: none;
}

/* 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%;
}

/* A3.2 */
.punbb {
  font:
    normal 70% verdana,
    arial,
    helvetica,
    sans-serif;
}

/* 3.3 */
.punbb textarea,
.punbb input,
.punbb select,
.punbb optgroup {
  font:
    1em verdana,
    arial,
    helvetica,
    sans-serif;
}

/* A3.4 */
.punbb h1,
.punbb h2,
.punbb h3,
.punbb h4,
.punbb table,
.punbb th {
  font-size: 1em;
  font-weight: normal;
}

/* A3.5 */
.punbb h1 span,
.punbb h2 span,
.punbb legend span {
  font-size: 1.1em;
}

/* A3.6 */
.punbb pre {
  font:
    0.9em/170% monaco,
    "bitstream vera sans mono",
    "courier new",
    courier,
    monospace;
}

/* A3.7 */
.punbb address,
.punbb em {
  font-style: normal;
}

/* A3.8 */
.punbb .post-content em {
  font-style: italic;
}

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

/* A3.10 */
.punbb a {
  text-decoration: none;
  color: var(--link1);
}

.punbb a:hover {
  text-decoration: none;
  color: var(--link2);
}

/* 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;
  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;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.1 */
#pun {
  background-color: var(--bg1);
  border: none !important;
  width: 1100px;
  margin: auto;
  position: relative;
  margin-bottom: 0px;
  color: var(--text1);
}

/* A5.2 */
.punbb {
  margin: 0 auto;
  width: 1060px;
  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 */
.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: none;
}

#pun-main .post {
  background: var(--bg2);
  padding: 16px;
  margin: 12px 0 0 10px;
  max-width: 95%;
  border-radius: 8px;
}

.punbb .formal {
  max-width: 1060px;
  margin-left: 0;
  background: var(--bg2);
  border-radius: 10px;
}

/* A5.9 */
.punbb .container {
  border: none;
}

#pun-report .inner,
#pun-reputation .inner,
#pun-admin-award-form .inner {
  background-color: var(--bg2) !important;
  box-shadow: none !important;
  text-transform: lowercase;
}

/* A5.10 */
#pun-index .category h2 span {
  display: none;
}

.punbb .section h2,
#pun-main h2,
#pun-stats h2,
#pun-debug h2 {
  width: 1000px;
  height: 30px;
  margin-bottom: -10px;
  border-style: none;
  text-align: center;
  padding-top: 13px;
  font-family: verdana;
  font-size: 14px;
  color: var(--text1);
  text-transform: lowercase;
}

#pun-main h1 {
  width: 1060px;
  height: 50px;
  border-style: none;
  text-align: center;
  font-family: verdana;
  font-size: 14px;
  color: var(--text1);
}

/* категории на главной 
-------------------------------------------------------*/

#pun-category1.category h2,
#pun-category2.category h2,
#pun-category3.category h2,
#pun-category4.category h2,
#pun-category5.category h2,
#pun-category6.category h2,
#pun-category7.category h2,
#pun-stats h2,
#post-form h2 {
  background: var(--thdawn) no-repeat;
  height: 45px;
  width: 1060px;
  margin: -13px auto;
  margin-top: 10px;
  border-radius: 10px 10px 0 0;
  color: transparent;
}

#pun-category1.category h2 {
  background: var(--cat1) no-repeat;
}
#pun-category2.category h2 {
  background: var(--cat2) no-repeat;
}
#pun-category3.category h2 {
  background: var(--cat3) no-repeat;
}
#pun-category4.category h2 {
  background: var(--cat4) no-repeat;
}
#pun-category5.category h2 {
  background: var(--cat5) no-repeat;
}
#pun-category6.category h2 {
  background: var(--cat6) no-repeat;
}
#pun-category7.category h2 {
  background: var(--cat7) no-repeat;
}
#pun-stats h2 {
  background: var(--statcat) no-repeat;
}
#post-form h2 {
  background: var(--thdawn) no-repeat;
}

#post-form h2 span {
  display: none;
}

#pun-index #pun-main .category .container {
  background-color: var(--bg2);
  border-radius: 0 0 10px 10px;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  justify-content: center;
  padding: 10px;
}

#pun-stats .statscon {
  background-color: var(--bg2);
  border-radius: 0 0 10px 10px;
  min-height: 130px;
  display: flex;
  align-content: flex-start;
  justify-content: center;
  padding: 10px;
}

#pun .highlight-text {
  background: var(--element2);
  padding: 1px 5px;
  border-radius: 10px;
}

/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-align: justify;
}

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top: 1px solid var(--bg3);
  width: 250px;
  margin: 5px 0;
}

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0.5em 0 1em 0;
  line-height: 150%;
}

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom;
}

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
}

/* B1.6 */
.punbb .post-content .blockcode,
.punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
}

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
}

/* B1.8 */
.punbb .post-content .quote-box,
.punbb .post-content .code-box {
  margin: 0.4em 1.8em 1.4em 1.8em;
  padding: 7px 20px;
  background: var(--bg1);
  border-radius: 8px;
  border-top: 3px solid var(--element1);
  border-bottom: 3px solid var(--element1);
}

.post-content .spoiler-box > div {
  background: none !important;
}

.post-content .spoiler-box > div:before {
  content: "\f069";
  font-family: "Font Awesome 6 Pro";
  color: var(--element1);
  margin-right: 6px;
  font-size: 11px;
  margin-left: -12px;
  font-weight: bold;
}

.post-content td {
  vertical-align: top;
}

/* B1.9 */
.punbb .quote-box cite,
.punbb .code-box strong.legend {
  display: block;
  font-size: 12px;
  font-family: verdana;
  font-weight: bold;
  font-style: normal;
  margin: 0;
  background: var(--element1);
  padding: 2px 10px;
  border-radius: 8px;
  text-transform: lowercase;
  color: var(--text1);
}

#tags .container {
  background: var(--bg3);
  border-radius: 8px;
}

#font-area {
  height: 200px;
  overflow-y: scroll;
}

.lastedit {
  display: none;
}

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  margin: 0 0 1.1em 0;
}

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
}

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
}

/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* B3.1 */
.punbb .linkst {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 0;
}

/* это интересно */
#pun-live-rusff {
  margin-right: 13px !important;
}

.cool1 {
  width: 130px !important;
  background: var(--element1) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border: none !important;
  border-radius: 5px;
  text-transform: lowercase;
  transition: 800ms all;
}

.cool2 {
  background: var(--element1) !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 5px;
  padding: 1px;
  transition: 800ms all;
}

.cool3 {
  background: var(--element2) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border: none !important;
  border-radius: 5px;
  transition: 800ms all;
}

.cool1:hover,
.cool2:hover,
.cool3:hover {
  background: var(--element2) !important;
  transition: 800ms all;
}

.cooltext {
  display: none;
}

/* B3.2 */
.multipage {
  margin-top: 3em;
}

/* B3.3 */
.linkst .pagelink {
  position: absolute;
  top: -4em;
  left: 1em;
  width: 24em;
}

/* B3.4 */
.linkst .postlink {
  position: absolute;
  top: -4em;
  right: 1em;
  width: 16em;
  text-align: right;
  font-weight: bold;
}

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
}

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
}

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold;
}

/* B3.8 */
.subscribelink {
  clear: both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
}

/*************************************************************
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 {
  text-align: center;
  text-transform: lowercase;
  margin-top: -10px !important;
  margin-left: 8px;
}

/* C1.3 */
.punbb .formsubmit input,
.punbb .formsubmit a,
.punbb .formsubmit span {
  margin-left: 5px;
}

.button,
#pa-edit a {
  background: var(--button1);
  padding: 10px;
  justify-content: center;
  color: var(--element2) !important;
  text-transform: lowercase;
  border: none;
  margin-bottom: 3px !important;
  width: auto;
  outline: none;
  border-radius: 10px;
  transition:
    transform 1s cubic-bezier(0.72, -0.01, 0, 1) 0s,
    filter 0.5s cubic-bezier(0.72, -0.01, 0, 1) 0s;
}

.button:hover,
#pa-edit a:hover {
  background: var(--button2);
  cursor: pointer;
  color: var(--element2);
  transform: scale(1.1);
  outline: none;
}

/* C1.4 */
.punbb fieldset {
  border-style: none;
  border-width: 1px;
  padding: 0 20px;
  margin: 0 0 1em 0;
}

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em;
}

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
}

/* 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: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.punbb textarea {
  background-color: var(--bg1);
  color: var(--text1);
  border: none;
  border-radius: 10px;
  outline: none;
  margin-top: -5px;
}

#togglePreview {
  margin-bottom: 10px !important;
}

#form-buttons tr {
  display: block;
  width: 100%;
  text-align: center;
}

#form-buttons td img {
  position: absolute;
  z-index: 100;
  left: 0;
  top: 0;
}

#form-buttons td {
  background-image: none !important;
  display: inline-block;
  position: relative;
  width: 33px;
  height: 22px;
  border: none;
}

#form-buttons td .material-icons {
  position: absolute;
  z-index: 1;
  left: 0;
  font-size: 20px;
  padding: 5px;
  color: var(--element1);
  transition: 0.5s;
}

#form-buttons td:hover .material-icons {
  opacity: 0.5;
  transition: 0.5s;
  background: var(--bg1);
}

/* C1.17 */
.punbb .hashelp {
  position: relative;
}

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
}

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
}

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
}

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
}

/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: justify;
  width: 50%;
}

/* цвет важное */

span.stickytext {
  padding: 2px 8px;
  background: var(--element1);
  color: var(--text1);
  font-family: verdana;
  text-transform: lowercase;
  font-size: 10px;
}

/* C2.2 */
.punbb .main .tc2,
.punbb .main .tc3,
.punbb .main .tcmod {
  text-align: center;
  width: 10%;
}

#pun-index .main .tc2,
#pun-index .main .tc3 {
  display: none;
}

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  text-transform: lowercase;
  width: 30%;
}

.category .container thead {
  display: none;
}

#pun-main .container thead {
  display: none;
}

/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%;
}

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
}

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space: normal;
}

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
}

/* C2.8 */
#pun-index .tcl h3 {
  font-family: "Font Awesome 6 Pro" !important;
  font-size: 18px !important;
  text-transform: lowercase;
  font-weight: 700 !important;
}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
}

/* C2.10 */
.punbb td .modlist {
  display: none;
}

/* C2.11 */
.punbb .main td {
  border-style: none !important;
  border-width: 0;
  padding: 0.8em 1em;
}

/* C2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
}

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0;
}

.podf {
  text-align: justify;
  font-family: verdana;
  text-transform: lowercase;
  font-size: 8px;
  letter-spacing: 0.5px;
  width: 400px;
  padding-bottom: 5px;
}

/* C2.14 */
.punbb tbody.hasicon td.tcl {
  padding-left: 10em;
}

/* C2.15 */
.punbb div.icon {
  border-style: solid;
  border-width: 0.6em;
  height: 0;
  line-height: 0;
  margin-top: 0.1em;
  width: 0;
}

/* C2.16 */
/* иконки */

.punbb table div.icon {
  display: block;
  position: absolute;
  width: 89px;
  height: 48px;
  border: none;
  margin-left: -100px !important;
  background: url(-) no-repeat;
  margin-top: 5px !important;
}

TR.inew Div.icon {
  background: var(--icon) no-repeat;
}

#pun-viewforum TR.inew Div.icon,
#pun-messages TR.inew Div.icon,
#pun-searchtopics TR.inew Div.icon,
#pun-modviewforum TR.inew Div.icon {
  float: left;
  height: 30px;
  position: relative;
  width: 30px;
  top: -5px;
  margin-left: -70px !important;
  background: none;
}

#pun-viewforum TR.inew Div.icon::before,
#pun-messages TR.inew Div.icon::before,
#pun-searchtopics TR.inew Div.icon::before,
#pun-modviewforum TR.inew Div.icon::before {
  content: "\f005";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  font-size: 22px;
  color: var(--element1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  margin-top: -1px;
  padding-bottom: 1px;
  position: relative;
}

/* C3.2 */
.punbb .post h3 {
  border-style: none;
  border-width: 0px;
}

/* C3.3 */
.punbb .post h3 span {
  padding: 0.5em 1em;
  display: block;
  margin-left: 20em;
  border-left-style: none;
  border-left-width: 0px;
  background-color: var(--bg1);
  color: var(--text1);
  border-radius: 10px;
}

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
}

.punbb .post h3 strong::before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  color: var(--text1);
  transition: 0.2s cubic-bezier(0.4, 0, 1, 1);
  margin-right: 6px;
}

/* C3.5 */
.punbb .post .post-author {
  position: relative;
  float: left;
  z-index: 10;
  margin-top: -15px;
  margin-bottom: 10px;
  border-left: none;
  width: 210px;
  background: var(--bg3) no-repeat scroll center top;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1 !important;
}

.punbb .post .post-author::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  top: 60px;
  background: linear-gradient(to top, var(--bg3), transparent);
  border-radius: 10px 10px 0 0;
  pointer-events: none;
}

/* C3.6 */
.punbb .post .post-author ul,
.punbb .post .post-author p {
  position: relative;
  text-align: center;
  width: 210px;
  line-height: 1em;
  padding: 20px 0px 0px 0px;
}

.punbb .post .post-author ul {
  position: relative;
  text-align: center;
  margin-top: 40px !important;
  margin-left: 10px;
  background: var(--bg3);
  width: 190px;
  border-radius: 10px;
}

.blockButton {
  position: absolute !important;
  left: 30px !important;
  top: -2px !important;
}

.blockButton:before {
  background: var(--bg1) !important;
  border-radius: 50% !important;
  color: var(--link1) !important;
  padding-left: 6px !important;
  padding-bottom: 3px;
  padding-top: 1px;
}

.infoprof {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
  padding: 0px 20px;
  margin-top: 15px;
  margin-bottom: 10px;
  box-sizing: border-box;
  font-size: 10px;
  text-align: center;
}

.pa-posts .fld-name,
.pa-fld2 .fld-name,
.pa-fld1 .fld-name,
.pa-respect .fld-name {
  display: none;
}

.pa-respect .fld-name {
  position: absolute;
  margin: 3px 0 0 -15px;
  font-size: 3px;
  opacity: 0;
}

.pa-posts,
.pa-respect,
.pa-fld1 {
  display: inline-block;
  text-align: center;
  text-transform: lowercase;
  color: var(--text1);
  cursor: default;
}

.pa-respect1,
.pa-respect img {
  width: 7px;
  filter: grayscale(1);
}

.pa-posts,
.pa-respect1,
.pa-respect,
li.pa-respect a:link,
li.pa-respect a:visited,
li.pa-respect a:active,
li.pa-respect a:hover,
.pa-ip,
.pa-ip a:link {
  color: var(--text1);
}

.pa-posts::before,
.pa-respect::before,
.pa-fld1::before {
  display: inline-block;
  text-align: center;
  margin: 0 3px 0 0 !important;
  font-size: 400 7px;
  font-family: "Font Awesome 6 Pro";
  color: var(--text1);
  font-weight: bold;
}

.pa-posts::before {
  content: "\f075";
}

.pa-respect::before {
  content: "\f004";
}

.pa-fld1::before {
  content: "\f555";
}

li.pa-fld3 {
  position: absolute;
  margin-top: -70px;
  margin-left: -10px;
  z-index: -1 !important;
}

li.pa-fld3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  top: 60px;
  background: linear-gradient(to top, var(--bg3), transparent);
  border-radius: 10px 10px 0 0;
  pointer-events: none;
}

li.pa-fld3 img {
  border-radius: 10px 10px 0 0;
}

.pa-fld3 .twin {
  position: absolute;
  right: 8px;
  top: 8px;
  background: var(--bg1);
  padding: 4px 3px;
  border-radius: 50%;
}

li.pa-fld4 {
  margin-left: -10px;
  margin-top: 12px;
}

/* всплывающие элементы */

#stranitsa {
  background-size: cover;
  background-position: center center;
}

.plash {
  position: relative;
  gap: 10px;
  display: flex;
  z-index: 0;
  width: 210px;
  height: 40px;
  top: 0px;
  text-align: center;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.plashka {
  margin: 2px auto 2px;
  line-height: 8px;
  position: relative;
  margin-left: 0;
}

.plashka::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

.plashka span {
  font-size: 8px;
  width: fit-content;
  text-transform: lowercase;
  display: block;
  position: relative;
  margin: 0px auto !important;
  top: 10px;
  color: var(--text2);
  text-shadow: 1px 1px 4px var(--bg3);
}

#profile-right .plashka span {
  font-size: 8px !important;
  width: fit-content;
  text-transform: lowercase;
  display: block;
  position: relative;
  margin: -3px auto !important;
  top: 10px;
  color: var(--text2);
  text-shadow: 1px 1px 4px var(--bg3);
  font-weight: normal !important;
  border-radius: 10px !important;
}

/* личное звание */

.pa-fld2 {
  position: relative;
}

.pa-fld2 .fd {
  padding: 2px 4px 2px 4px !important;
  text-align: center;
  width: 180px;
  background: var(--bg2);
  margin-top: 5px;
  border-radius: 10px;
  font-size: 8px;
}

.lz {
  padding: 5px 4px 5px 4px !important;
  margin-top: 5px;
  text-align: center;
  width: 180px;
  font-family: verdana;
  font-size: 10px;
  color: var(--text1) !important;
}

.lz a {
  color: var(--link1) !important;
}

.lz a:hover {
  color: var(--link2) !important;
}

.lz a.ank {
  display: block;
  margin-bottom: -4px;
  text-align: center;
  text-transform: lowercase;
  font-family: verdana;
  font-size: 10px;
  color: var(--link1) !important;
  font-weight: 900 !important;
}

.lz a.ank:hover {
  color: var(--link2) !important;
}

/* C3.7 */
.pa-author {
  font-size: 14px;
  font-family: verdana;
  text-transform: lowercase;
  font-weight: bold;
  margin-bottom: 7px;
  margin-top: -7px;
  letter-spacing: -0.5px;
}

/* C3.8 */
.pa-author a {
  text-decoration: none;
}

/* C3.9 */
li.pa-title {
  padding-bottom: 7px;
  font-size: 8px;
}

li.pa-avatar img {
  border-radius: 10px;
  max-width: 180px;
  max-height: 180px;
}

/* Индикатор онлайна */

.punbb .post .post-author ul {
  position: relative;
  overflow: visible !important;
}

.punbb .post .post-author {
  overflow: visible !important;
}

.punbb .post .post-author ul li.pa-online {
  position: absolute;
  left: 165px;
  top: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  background: transparent !important;
  border-radius: 0;
  animation: none !important;
  overflow: visible !important;
  opacity: 0.8;
}

.punbb .post .post-author ul li.pa-online::before {
  content: "\f005";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  font-size: 14px;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--link1);
  opacity: 0.5;
}

.punbb .post .post-author ul li.pa-online::after {
  display: none;
}

.post-author.online .punbb .post .post-author ul li.pa-online::before {
  color: var(--text2);
}

.post-author:not(.online) .punbb .post .post-author ul li.pa-online::before {
  color: var(--text1);
}

.punbb .post .post-author ul li.pa-online:hover::before {
  transform: scale(1);
}

.post-author.online .punbb .post .post-author ul li.pa-online:hover::before {
  color: var(--text2);
}

.post-author:not(.online)
  .punbb
  .post
  .post-author
  ul
  li.pa-online:hover::before {
  color: var(--text2);
}

.punbb .post .post-author ul li.pa-online:hover strong {
  opacity: 1;
  visibility: visible;
}

.post-author .pa-online strong {
  position: absolute;
  display: inline-block !important;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  right: auto !important;
  top: auto !important;
  padding: 0 8px !important;
  min-height: 24px;
  line-height: 24px;
  background: var(--button2);
  font-weight: 400;
  white-space: nowrap;
  color: var(--element2);
  font-size: 90%;
  text-shadow: var(--text1) 0 -1px 0;
  text-align: center;
  z-index: 100;
  border-radius: 3px;
  transition: all 0.2s ease;
  opacity: 0;
  visibility: hidden;
  cursor: text;
  pointer-events: none;
}

.post-author .pa-online strong:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  top: auto !important;
  border-width: 6px 6px;
  border-style: solid;
  border-color: var(--text2) transparent transparent transparent;
}

/* C3.11 */
.punbb .post-body {
  margin-left: 20em;
  border-left-style: none;
  border-left-width: 1px;
  padding: 0 0 1px 0;
}

/* C3.12 */
.punbb .post-box {
  padding: 1em;
}

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em;
}

/* C3.14 */
.punbb .post-links {
  margin-left: 17.6em;
  border-left-style: none;
  border-left-width: 0px;
}

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  border-top-style: none;
  border-top-width: 0px;
  background: transparent;
  text-align: right;
}

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  text-transform: lowercase;
}

.punbb .post-links li a {
  background: var(--bg1);
  padding: 2px 8px;
  border-radius: 8px;
}

.punbb .post-links li a:hover {
  background: var(--bg3);
}

/* C3.17 */
.pl-email,
.pl-website {
  float: left;
}

.pa-gifts {
  display: none;
}

.punbb .post h3 a.permalink {
  text-transform: lowercase;
}

.punbb .post h3 a.sharelink::before,
.punbb .post li.pl-email.profile a::before,
.punbb .post li.pl-email.pm a::before,
.punbb .post li.pl-email.email a::before,
.punbb .post li.pl-delete a::before,
.punbb .post li.pl-edit.edit-ajax a::before,
.punbb .post li.pl-edit a::before,
.punbb .post li.pl-quote a::before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  color: var(--bg2) !important;
  transition: 0.2s cubic-bezier(0.4, 0, 1, 1);
  margin-right: 6px;
}

.punbb .post h3 a.permalink::before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  color: var(--link1) !important;
  transition: 0.2s cubic-bezier(0.4, 0, 1, 1);
  margin-right: 6px;
}

.punbb .post h3 strong::before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  color: var(--link1);
  transition: 0.2s cubic-bezier(0.4, 0, 1, 1);
  margin-right: 6px;
}

.punbb .post h3 a.permalink:hover::before,
.punbb .post h3 a.sharelink:hover::before,
.punbb .post li.pl-email.profile a:hover::before,
.punbb .post li.pl-email.pm a:hover::before,
.punbb .post li.pl-email.email a:hover::before,
.punbb .post li.pl-delete a:hover::before,
.punbb .post li.pl-edit.edit-ajax a:hover::before,
.punbb .post li.pl-edit a:hover::before,
.punbb .post li.pl-quote a:hover::before {
  color: var(--link2);
}

del {
  text-decoration: none;
  filter: blur(1.5px);
}

del:hover {
  filter: none;
}

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

.sharelink {
  display: none !important;
}

/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
}

/* C4.2 */
.punbb .modmenu strong,
.punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
}

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
}

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
}

/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em;
}

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
}

/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 18.6em;
}

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
}

/* C6.3 */
#profilenav li {
  padding-bottom: 0.8em;
  font-weight: bold;
}

/* C6.4 */
#viewprofile .container {
  min-height: 350px;
}

#viewprofile ul {
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  text-transform: lowercase;
}

#profilenav ul {
  padding: 1em 10px;
  margin: 0 0 1em 0;
  text-transform: lowercase;
  background: var(--bg1);
  border-radius: 10px;
}

td#profile-left {
  background: var(--bg1);
  display: block;
  position: absolute;
  width: 210px !important;
  text-align: center;
  padding: 10px 0 !important;
  border-radius: 10px;
}

li#profile-title strong {
  margin-top: -2px;
  font-family: verdana;
  font-size: 8px;
  text-transform: lowercase;
  color: var(--text1);
  font-weight: normal !important;
}

li#pa-edit strong a {
  padding-left: 10px !important;
}

/* C6.5 */
#viewprofile h2 {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 14px;
}

#profilenav h2 {
  width: 150px;
  text-align: center;
}

/* 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: 0em;
}

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
}

#profile-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  width: auto !important;
  flex: 1;
  padding-left: 230px !important;
  margin-top: -5px;
}

#profile-right li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: auto;
  text-align: center;
  padding: 10px !important;
  font-size: 10px;
  background: var(--bg1);
  border-radius: 10px;
  align-self: stretch;
  font-family: verdana;
  gap: 5px;
  margin-top: 5px;
}

#profile-right li strong {
  flex: auto;
  font-weight: normal;
  padding: 0 !important;
  margin: 0 !important;
}

#pun #profile-right li span {
  float: none;
  margin: 0;
  width: auto;
  font-weight: 700;
  padding-top: 0;
  font-size: 10px;
}

#pa-invites,
#pa-gifts,
#pa-awards {
  display: none !important;
}

/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
}

/* C6.10 */
#viewprofile li strong,
#viewprofile li div,
#setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: 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: none;
  border-width: 0px;
}

/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
  margin: 0;
  border: none;
  background: transparent;
}

/* D1.2 */
#pun-title h1 {
  display: block;
  height: 40px;
  padding: 2em 1em 0 1em;
}

/* D1.3 */
#pun-title .container {
  border: none;
}

/* D1.4 */
#pun-title h1 span {
  font-size: 1.5em;
}

/* шапка */

#pun-title table {
  background: var(--head) no-repeat;
  height: 350px;
  width: 1100px;
  background-position: top center;
  margin-top: -40px !important;
  margin-left: -20px;
  border: none;
}

#pun-title td.title-logo-tdl {
  display: none;
}

#pun-title td.title-logo-tdr {
  border: none;
  width: 100%;
}

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
}

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0;
}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline;
}

/* D2.4 */
#pun-pagelinks li a,
#pun-pagelinks a:link,
#pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float: left;
  width: 100%;
}

/* D2.5 */
#pun-pagelinks a:active,
#pun-pagelinks a:focus {
  position: relative;
  margin: 0;
}

#pun-pagelinks li a span {
  display: block;
  margin: 0 1em;
}

/* D3 Forum navigation
-------------------------------------------------------------*/

/* D3.1 */
/* навигация */

#pun-navlinks,
#pun-navlinks .container {
  position: absolute;
  border: none;
  text-align: center;
  width: 1060px;
  margin-top: -30px;
  font-family: Playfair Display;
  font-size: 16px;
  background: transparent;
  font-weight: 900;
  text-transform: uppercase;
}

#pun-navlinks a {
  color: var(--element2);
  transition: 800ms all;
  padding: 1px;
}

#pun-navlinks a:hover {
  color: var(--text1);
  transition: 800ms all;
  transform: scale(1.1);
}

#pun-navlinks li#navlogout a {
  margin-right: 10px;
}

/* D3.2 */
#pun-navlinks .container {
  padding: 0.7em 1em;
}

#navawards {
  display: none !important;
}

/* администрирование */

#navadmin span {
  font-size: 0;
}

#navadmin span:after {
  content: "АМС";
  font-size: 20px;
  font-family: "Yeseva One";
}

/* D.3 */
#pun-navlinks li {
  display: inline;
  padding-right: 0.5em;
}

/* D3.4 */
#pun-navlinks li a {
  font-size: 1.1em;
  display: inline-block;
  text-decoration: none;
}

span.num_msg {
  margin-top: -6px !important;
  margin-left: 1px !important;
  background: var(--text2) !important;
  border-radius: 20px !important;
}

span.num_msg:before {
  display: none !important;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
  position: absolute;
  text-align: right;
  width: 1060px;
  z-index: 2;
}

/* D4.2 */
#pun-ulinks .container {
  border: none;
  padding: 5px 5px;
  text-align: center;
  margin-top: 15px;
}

/* D4.3 */
#pun-ulinks li,
#pun-ulinks li a {
  display: inline;
  white-space: nowrap;
  text-transform: lowercase;
  font-size: 10px;
  color: var(--text1);
  text-decoration: none;
}

#pun-ulinks li a:hover {
  color: var(--text2);
}

/* D4.4 */
#pun-ulinks li a {
  padding: 0 0.3em 0 0.6em;
}

/* D4.5 */
#pun-ulinks li.item1,
#pun-ulinks li.item1 a {
  border: none;
  padding-left: 0;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status,
#pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
}

/* D5.2 */
#pun-status .container {
  padding: 5em 1em 1em 1em;
}

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
}

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
}

/* D5.5 */
#pun-crumbs1 p.container {
  border-top: none;
  padding: 1em 1em 0.8em 1em;
  font-size: 1.1em;
}

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border-style: none;
  border-width: 1px 0;
  height: 0;
  margin: -2px 1em;
  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: 4.3em 1em 1em 1em;
}

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 0.8em 1em;
  text-align: justify;
}

/* D7.2, D7.3 */
#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
  float: left;
  background: var(--bg1);
  margin: 0px 2px;
  padding: 4px 10px;
  display: flex;
  justify-content: center;
  color: var(--text1) !important;
  font-size: 8px;
  font-family: verdana;
  line-height: 15px;
  text-transform: lowercase;
  border-radius: 10px;
}

#pun-stats li.item1 {
  width: 15%;
}
#pun-stats li.item2 {
  width: 15%;
}
#pun-stats li.item3 {
  width: 25%;
}
#pun-stats li.item4 {
  width: 35%;
}

#pun-stats li.item4 a {
  color: var(--link1) !important;
}

#pun-stats li.item4 a:hover {
  color: var(--link2) !important;
}

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  border-top-style: none;
  border-top-width: 0px;
  float: left;
  width: 100%;
  line-height: 130%;
  text-transform: lowercase;
}

/* D7.5 */
li#onlinelist div {
  border-top-style: none;
  border-top-width: 0px;
  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;
}

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: right;
  line-height: 150%;
  padding: 0.8em 1em;
}

/* D8.5 */
#pun-about p span {
  display: none;
}

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 5px;
  border-bottom: none;
}

/* D8.7 */
#pun-crumbs2 .container {
  border-bottom: none;
  margin-top: -10px;
  padding: 1em;
  font-size: 1.1em;
}

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style: none;
  border-width: 1px 0;
  position: relative;
  height: 0;
  z-index: 1;
}

/* D8.9 */
div.punbb-admin #pun-about .container {
  border-top-style: none;
  border-top-width: 1px;
}

/* Sticky elements
-------------------------------------------------------------*/

#pun-adnav {
  position: -webkit-sticky;
  position: sticky;
  top: 80px;
}

#pun-adnav sup {
  display: none;
}

#pun-adnav li {
  list-style: none !important;
}

#adnav-standard > ul > li {
  padding: 2px;
}

#pun-adnav ul.adsubnav li {
  padding-left: 2px !important;
}

#adnav-standard > ul > li > a {
  display: block;
  padding: 2px;
  box-sizing: border-box;
  position: relative;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--link1);
}

#pun-adnav li.isactive > a {
  background: var(--bg3);
  color: var(--link2);
  border-radius: 5px;
}

#pun-adnav li.item3:not(.isactive) > a,
#pun-adnav li.item-forms:not(.isactive) > a,
#pun-adnav li.item15:not(.isactive) > a,
#pun-adnav li.item16:not(.isactive) > a,
#pun-adnav li.item20:not(.isactive) > a,
#pun-adnav li.item11:not(.isactive) > a,
#pun-adnav li.item22:not(.isactive) > a {
  background-color: var(--element1);
  border-radius: 5px;
}

#pun-adnav li.item3 > a:after,
#pun-adnav li.item-forms > a:after,
#pun-adnav li.item15 > a:after,
#pun-adnav li.item16 > a:after,
#pun-adnav li.item20 > a:after,
#pun-adnav li.item11 > a:after,
#pun-adnav li.item22 > a:after {
  content: "\f005";
  font: 700 12px "Font Awesome 6 Pro";
  margin-top: 1px;
  margin-left: 2px;
  float: right;
}

#adnav-standard > ul > li > a:hover {
  background: var(--link2) !important;
  color: var(--bg3);
  border-radius: 5px;
}

#pun-adnav .adsubnav {
  padding-left: 2px;
}

#pun-admain .submittop {
  position: -webkit-sticky;
  position: sticky;
  top: 56px;
  background: var(--bg1);
  padding: 8px 16px;
  margin-bottom: 16px;
  z-index: 7;
}

/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
}

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-size: 1.1em;
}

/* D9.3 */
#pun-help .formal p,
#pun-help .formal dd {
  margin-bottom: 1em;
}

/* D9.4 */
#pun-help .formal ul,
#pun-help .formal dl {
  padding: 0 0 0 1em;
}

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%;
}

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top;
}

/* D9.7 */
#pun-help .formal dt span {
  font:
    1.4em/120% monaco,
    "bitstream vera sans mono",
    "courier new",
    courier,
    monospace;
}

/* D9.8 */
#pun-help .formal .parsedmsg,
#pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
}

/* Футер
 -------------------------------------------------------------*/

#pun-about p.container {
  background: var(--footer) no-repeat;
  width: 1100px;
  height: 130px;
  margin-left: -20px;
  margin-top: 20px;
  margin-bottom: -120px;
  font-size: 8px !important;
  text-align: center;
}

.banners {
  width: 750px;
  height: 70px;
  margin-top: -21px;
  margin-left: 282px;
  position: absolute;
  display: block;
  overflow-y: auto;
  z-index: 1;
  padding: 8px;
  border-radius: 10px;
}

.banners img {
  mix-blend-mode: luminosity;
  opacity: 0.7;
  transition: all 0.5s ease-in-out 0s;
}

.banners img:hover {
  mix-blend-mode: normal;
  opacity: 1;
}

/* Скроллбар
-------------------------------------------------------------*/

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--element1);
  border-radius: 5px;
}

/* смена темы, © max, the murderer! */

#theme_switcher li {
  display: inline-block;
}

#theme_switcher li label {
  display: none;
}

#theme_switcher li input {
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

#theme_switcher li input::before {
  font: 400 16px/100% "Font Awesome 6 Pro";
  margin-right: 4px;
}

#theme_switcher li input#light::before {
  content: "\f185";
}

#theme_switcher li input#dark::before {
  content: "\f186";
  font-weight: 600;
}

#theme_switcher li input:hover::before,
#theme_switcher li input[type="radio"]:checked {
  color: var(--element2);
}

/* БыстроПлюсы для Топика */

.noNull:before {
  content: "+";
  font-size: 9px;
  display: inline-block;
  margin-left: -6px;
  margin-top: 0px;
  position: absolute;
}

div .post-rating p > a {
  text-align: center;
  outline: 1px solid transparent;
  font-weight: 700;
  background: url(https://forumstatic.ru/files/001b/a6/d4/26514.svg) no-repeat
    center;
  background-size: 38px auto;
  position: relative;
  padding-left: 1px;
  z-index: 100;
  width: 38px;
  height: 38px;
  text-align: center;
  font-size: 12px !important;
  display: inline-block;
  vertical-align: middle;
  line-height: 34px;
  letter-spacing: -1px;
  color: #c9c9c9;
}

div.dark-style .post-rating p > a {
  color: #c9c9c9 !important;
}

div.post-vote {
  margin-bottom: 65px;
}

div.post-vote p > a {
  font-size: 0 !important;
  position: absolute;
  cursor: pointer;
  z-index: 200;
  width: 23px;
  height: 23px;
  background: url(https://forumstatic.ru/files/0012/d8/04/75043.png?) no-repeat;
  display: block;
  background-size: 100%;
  margin-left: 29px;
  margin-top: 42px;
}

.post.dark-style div.post-vote p > a {
  background: url(https://forumstatic.ru/files/0012/d8/04/38128.png?) no-repeat;
  background-size: 100%;
}
 
/* фикс */

.rusff-mention,
.rusff-mention-picker,
.rusff-mention-picker[hidden],
.rusff-mention-picker button[aria-selected="true"],
.rusff-mention-picker butto,
.rusff-mention-status {
  display: none !important;
}