/*************************************************************
CODE STRUCTURE BY BLANCHE, GRAPHICS BY JUDASCARE
**************************************************************

FONTS / ROOT
-------------------------------------------------------------*/
@import url(style_cs.1761362440.css);
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
@import url("https://forumstatic.ru/files/001a/e6/32/95766.css"); /* forma */
@import url("https://forumstatic.ru/files/001a/e6/32/64733.css"); /* helvetica */
@font-face {
  font-family: century;
  font-weight: 600;
  src: local("centurygothic_bold"),
    url(https://forumstatic.ru/files/001a/e6/32/63392.woff2) format("woff2");
}
@font-face {
  font-family: brulia;
  font-weight: 500;
  src: local("Brulia Text"),
    url(https://forumstatic.ru/files/001b/0e/05/88254.woff) format("woff");
}

:root {
  --bg: url(//forumstatic.ru/files/001b/0e/05/85227.jpg)
    /*no-repeat fixed center / cover*/;
  --bg-color: #262626;
  --pun: #e5e2d9;
  --notify: var(--col1);

  --col1: #c88526;
  --col2: #b97546;
  --col3: #333333;

  --font: helvetica;
  --font-fav: brulia;

  --title-h: 150px;
  --prof-w: 220px;
  --profnav-w: 110px;
  --main-w: 1000px;
  --main-p: 20px;
  --usav: 30px;
  --foot-h: 130px;
  --icon-w: 16px;

  --mat: "Material Symbols Outlined";
  --mat1: "Material Symbols Rounded";
}

/* ETO BAZA: BODY, PUN, TITLE, LINKS
--------------------------------------------------------------------------------------------------------------------------*/
html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg) repeat-x top center var(--bg-color);
}

body.redirect-page {
  background: var(--bg-color) !important;
}

#pun {
  position: relative;
  width: var(--main-w);
  background: var(--pun);
  padding: var(--main-p);
  box-sizing: border-box;
  font: normal 12px verdana, arial, helvetica, sans-serif;
  color: #151515;
  margin: var(--title-h) auto var(--foot-h) auto;
}

#pun:before,
#pun:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -63px;
  width: calc(var(--main-w) + 126px);
  border: 5px solid;
}

#pun:before {
  top: -80px;
  border-color: var(--pun);
  border-bottom: none;
  height: 175px;
}

#pun:after {
  border-color: var(--col1);
  border-top: none;
  top: 100px;
  height: calc(100% - 40px);
}

#pun-title,
#pun-announcement {
  position: absolute;
  height: 100px;
  width: 800px;
  left: calc(calc(var(--main-w) - 800px) / 2);
  top: -125px;
  background: var(--bg-color);
}

#pun-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#pun-title:before {
  content: "shaman king: oversoul";
  font-family: var(--font-fav);
  color: var(--pun);
  font-size: 70px;
  height: 84px;
}

#pun-announcement {
  opacity: 0;
  transition: all 0.5s;
  overflow: hidden;
}

#pun-announcement:hover {
  opacity: 1;
}

a {
  text-decoration: none;
  transition: all 0.5s;
  color: var(--col2);
}

#pun-admain a,
#MyBookmarks span.scrl {
  color: var(--col2) !important;
}

a:hover,
a:focus,
a:active {
  color: var(--col1);
}

:focus {
  outline: none !important;
}

.adlabel,
.adlabel a {
  color: var(--pun) !important;
}

/* NAVLINKS / ULINKS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-navlinks .container,
#pun-ulinks .container {
  display: flex;
  margin: 0;
  width: var(--main-w);
  align-items: center;
  justify-content: center;
}

#pun-navlinks .container {
  position: absolute;
  left: 0;
  top: -20px;
  gap: 35px;
  font-family: var(--mat);
  font-weight: 500;
  font-size: 23px;
}

#pun-navlinks a {
  color: var(--pun);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  background: var(--bg-color);
  border-radius: 50%;
  justify-content: center;
}

#pun-navlinks a:hover {
  color: var(--col1);
}

#pun-navlinks span {
  display: none;
}

#navindex a:before {
  content: "\e88a";
}
#navuserlist a:before {
  content: "\f150";
}
#navsearch a:before {
  content: "\ea11";
}
#navprofile a:before {
  content: "\e87d";
}
#navpm a:before {
  content: "\e158";
}
#navlogout a:before {
  content: "\e9ba";
}
#navlogin a:before {
  content: "\ea77";
}
#navregister a:before {
  content: "\e7fe";
}
#navadmin a:before {
  content: "\e8b8";
}

#navpr_1 a:before {
  content: "\f5a0";
}
#navpr_2:last-child a:before {
  content: "\e54b";
}

/* ulinks */

#pun-ulinks .container {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font);
  font-weight: 600;
  gap: 10px;
  margin-top: 20px;
}

#pun-ulinks a {
  color: var(--bg-color);
}

#pun-ulinks a:hover {
  color: var(--col1);
}

/*#navadmin a:before {
  content: "амс";
}*/

/* STATUS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-status .container {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0;
  gap: 5px;
  font-size: 8px;
  margin-top: 20px;
  position: relative;
}

#pun-status,
#pun-status a {
  color: var(--col1);
}

#pun-status .item1 {
  display: block;
}

#pun-status .status-right {
  position: absolute;
  right: 0;
}

/* CATEGORY
--------------------------------------------------------------------------------------------------------------------------*/
#pun-stats h2 {
  font-size: 0;
}
#pun-stats h2 span:before {
  content: "statistics";
}

.category h2,
#pun-stats h2 {
  width: var(--main-w);
  height: 40px;
  margin-left: -20px;
  display: flex;
  justify-content: center;
  color: var(--pun);
  font-family: var(--font-fav);
  text-transform: lowercase;
  font-weight: 500;
  align-items: center;
}

.category h2:before,
#pun-stats h2:before {
  content: "";
  background: var(--bg-color);
  height: 5px;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.category h2 span,
#pun-stats h2 span {
  width: 800px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg) 0px 71px;
  background-size: cover;
  z-index: 1;
}

.category h2 span,
#pun-stats h2 span:before {
  font-size: 30px;
}

/* HASICON / STRUCTURE EVERYWHERE
--------------------------------------------------------------------------------------------------------------------------*/
table {
  width: 100%;
}

.hasicon,
.usertable tbody,
#messages tbody,
#pun-respect .container tbody,
#pun-positive .container tbody,
#pun-online .container tbody {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--font);
  margin: 20px 0;
  width: calc(var(--main-w) - var(--main-p) * 2);
}

.hasicon tr,
thead tr,
.usertable tr,
#messages tr,
#pun-searchtopics tr,
#pun-respect tr,
#pun-positive tr,
#pun-online tr {
  display: grid;
  gap: 10px;
  grid-template-columns: 50% 8% 8% 30%;
  justify-content: space-between;
  text-transform: lowercase;
  font-family: var(--font);
  align-items: center;
  color: var(--bg-color);
}

#pun-searchtopics tr {
  grid-template-columns: 40% 20% 6% 26%;
}

.usertable tr {
  grid-template-columns: 20% 32% 6% 6% 10% 10%;
}

#pun-messages .hasicon tr,
#messages thead tr {
  grid-template-columns: 1fr 18% 10% 3%;
  align-items: center;
}

#pun-respect tr,
#pun-positive tr {
  grid-template-columns: 12% 2% 15% 30% 30%;
}

#pun-online tr {
  grid-template-columns: 20% 60% 20%;
}

#pun-messages td,
#pun-messages th,
#pun-online td {
  width: auto !important;
}

#pun-viewforum .tcr,
#pun-searchtopics .tcr,
.tc2,
.usertable .last_visit,
#pun-respect .tcr,
#pun-positive .tcr {
  text-align: right;
}

#pun-viewforum td.tcr,
#pun-searchtopics td.tcr {
  grid-template-areas: "time user ava";
  display: grid;
  align-items: center;
  justify-items: end;
  justify-content: end;
  grid-template-columns: auto auto var(--usav);
  gap: 7px;
}

#pun-viewforum td.tcr a,
#pun-searchtopics td.tcr a {
  grid-area: "time";
}

th {
  font-family: var(--font);
  font-weight: 300;
  text-transform: lowercase;
  letter-spacing: 1px;
  font-size: 10px;
  text-align: left;
}

/* fieldset */
fieldset {
  margin: 10px 0 !important;
  padding: 0;
  border: none !important;
}

/* fs-box */
.fs-box.inline {
  display: flex;
  gap: 10px;
  border: 1px solid;
  padding: 10px;
  align-items: center;
}

#pun-userlist .fs-box.inline {
  margin-top: -11px;
  position: relative;
}

#pun-login .fs-box.inline {
  margin-top: 10px;
  position: relative;
}

.inline .infofield {
  font-family: var(--font);
  font-weight: 300;
  text-transform: lowercase;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-align: justify;
  color: var(--col2);
}

/* PUN-INDEX / PODFORUMS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-index .hasicon {
  gap: 30px;
}

#pun-index .hasicon tr {
  position: relative;
  box-sizing: border-box;
  grid-template-columns: 450px 1fr;
  margin: 0;
}

/* subforums */
#pun-index .hasicon .isub .tcl {
  padding-left: 0px !important;
}

.subforums {
  font-size: 0;
  margin-left: -18px !important;
}

#pun-viewforum .isub .tcl h3 {
  margin: 0 0;
}

/* left part */

#pun-index .tcl h3 {
  font-weight: 600;
  text-transform: lowercase;
  margin: 0 0 20px 0;
  font-size: 25px;
  font-family: var(--font);
  letter-spacing: 0px;
  transition: all 0.5s;
  text-align: left;
}

#pun-index .tcl h3 a {
  color: var(--bg-color);
    line-height: 19px;
}

#pun-index .hasicon tr:hover .tcl h3 a {
  color: var(--col1);
}

#pun-index .tcl h3:hover {
  transform: translateX(5px);
}

#pun-index .tclcon {
  font-size: 10px;
  text-align: justify;
  letter-spacing: 1px;
  line-height: 13px;
  text-transform: lowercase;
  font-weight: 500;
  color: var(--bg-color);
}

#pun-index .tclcon span,
#pun-index .subforums {
  position: relative;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

#pun-index .tclcon span a,
#pun-index .subforums a {
  color: var(--col1);
  font-family: var(--font);
  font-size: 14px;
  text-transform: lowercase;
  letter-spacing: 0px;
  font-weight: 600;
}

#pun-index .tclcon span a:hover,
#pun-index .subforums a:hover {
  color: var(--bg-color) !important;
}

/* right part */
#pun-index .tcr {
  display: grid;
  grid-template-columns: auto var(--usav);
  grid-template-rows: auto auto;
  gap: 10px 30px;
  grid-template-areas:
    "lastpost1 ava"
    "lastpost2 ava";
  justify-content: end;
  align-items: center;
  justify-items: end;
  height: var(--usav);
}

.lastpost-link {
  font-weight: 600;
  grid-area: lastpost1;
  color: var(--col1);
  text-align: right;
  display: flex;
  height: 100%;
  align-items: center;
  letter-spacing: 0.5px;
  padding-top: 5px;
  text-transform: lowercase;
  font-size: 12px;
}

.lastpost {
  grid-area: lastpost2;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: lowercase;
  font-weight: 500;
}

/* user-avatar */
.user-avatar,
.avatar-image {
  border-radius: 50% !important;
}
.user-avatar {
  margin: 0 !important;
  background: var(--col2);
  width: var(--usav) !important;
  height: var(--usav) !important;
  grid-area: ava;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.avatar-image {
  opacity: 1 !important;
  filter: grayscale(1);
  mix-blend-mode: hard-light;
  width: calc(var(--usav) - 0px) !important;
  height: calc(var(--usav) - 0px) !important;
}

.isonline {
  background: var(--bg-color) !important;
  top: 0px !important;
  right: -3px !important;
  width: 3px !important;
  height: 3px !important;
}

/* ICONS
--------------------------------------------------------------------------------------------------------------------------*/
.intd {
  display: grid;
  grid-template-columns: var(--icon-w) 1fr;
  align-items: center;
  gap: 10px;
}

#pun-index .intd {
  align-items: start;
  gap: 40px;
}

.intd .icon {
  width: var(--icon-w);
  height: var(--icon-w);
  background: var(--bg-color);
  transition: all 0.5s;
  border-radius: 50%;
}

#pun-index .intd .icon {
  background: transparent;
}

.intd .icon.inew,
.intd .icon-new {
  background: var(--col1) !important;
}

.isticky .intd .icon {
  background: var(--col2) !important;
  opacity: 0.5;
}

.iclosed .icon {
  opacity: 0.5;
}

/* CRUMBS
--------------------------------------------------------------------------------------------------------------------------*/
.crumbs {
  margin: 20px 0;
  font-family: var(--font);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  text-transform: lowercase;
}

.crumbs a {
  color: var(--bg-color);
  display: inline-flex;
  align-items: center;
}

.crumbs,
.crumbs a:hover {
  color: var(--col1);
}

.crumbs a:after,
#pun-searchposts h3 span a:after {
  content: "";
  background: var(--col2);
  font-size: 23px;
  margin: 4px 0 0 10px;
  height: 4px;
  width: 4px;
  border-radius: 50%;
  opacity: 1;
}

.crumbs a:last-child:after,
#pun-searchposts h3 span a:last-child:after {
  display: none;
}

/* STATSCON
--------------------------------------------------------------------------------------------------------------------------*/
#pun-stats .container {
  display: grid;
  grid-template-columns: auto auto;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-size: 10px;
  margin: 20px 0px 0px 0px;
  font-family: var(--font);
  gap: 5px;
  grid-template-areas:
    "tem reg"
    "soo last"
    "active active"
    "day day";
}

.statscon .item1 {
  grid-area: tem;
}
.statscon .item2 {
  grid-area: soo;
}
.statscon .item3 {
  grid-area: reg;
  text-align: right;
}
.statscon .item4 {
  grid-area: last;
  text-align: right;
}

.statscon .item5 {
  text-align: justify;
  line-height: 15px;
  margin-top: 10px;
}
.statscon .item5.onlinelist {
  grid-area: active;
}
.statscon .item5.users_24h {
  grid-area: day;
}

.statscon strong, .statscon a {
  color: var(--col1);
  font-weight: 600;
}

/* FOOTER
--------------------------------------------------------------------------------------------------------------------------*/
#pun-about {
  width: var(--main-w);
  height: var(--foot-h);
  text-align: center;
  position: absolute;
  left: 0px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

#pun-about .container {
  font-family: var(--font);
  font-size: 8px;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
  margin-top: 85px;
}

#pun-about,
#pun-about a {
  color: var(--pun);
}

/* PROFILEb
--------------------------------------------------------------------------------------------------------------------------*/
/* structure */
.post-author {
  width: var(--prof-w);
  min-height: 85px;
  position: relative;
}

.post-author ul {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  width: var(--prof-w);
  gap: 10px 5px;
  font-family: var(--font);
  padding: 0px 10px 10px 10px;
  box-sizing: border-box;
  margin: 0px 0 30px 0px;
  border: 2px solid var(--col1);
  color: var(--bg-color);
}

.post-author li {
  width: inherit;
}

/* colors */
.pa-author,
.pa-author a, .pa-online {
  color: var(--pun);
}

.pa-author a:hover {
  color: var(--bg-color);
}

/* pa */
.pa-author, .pa-online {
  font-size: 10px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 1px;
  transition: all 0.5s;
  height: 16px;
  background: var(--col3);
}

.pa-author {  margin-top: -9px;}
.pa-online {    margin: 3px 0 -19px 0;}

.pa-author:hover {
  background: var(--col1);
}

.pa-author a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pa-title {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: lowercase;
  font-family: var(--font);
  font-weight: 100;
}

.pa-avatar {
  position: relative;
  margin: 10px 0;
}

.pa-avatar img {
  box-shadow: 0 0 0 5px var(--pun);
}

/* posts/respect */
.pa-respect, .pa-posts, .pa-fld2 {
    width: calc(calc(var(--prof-w) - 20px - 10px - 4px) / 3) !important;
    text-transform: lowercase;
    font-weight: 600;
    font-size: 12px;
}

.pa-respect,
.pa-respect a,
.pa-posts,
.pa-fld2 {
  color: var(--col1);
}

.pa-respect .fld-name,
.pa-posts .fld-name,
.pa-fld2 .fld-name {
    font-size: 9px;
    margin-bottom: 7px;
    text-transform: lowercase;
    display: block;
}

.pa-respect img {
  filter: grayscale(1);
  vertical-align: middle;
  margin-top: -4px;
}

/* fld */
a.ank {
    display: block;
    color: var(--col1);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
}

.pa-fld1 lz {
    text-align: justify;
    display: block;
    font-size: 9px;
    font-weight: 500;
    margin: 10px;
    line-height: 15px;
    letter-spacing: 1px;
}

/* online */
/*.indOnline,
.indOffline {
  cursor: pointer;
  position: absolute;
  top: -45px;
  left: 14px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.indOnline:before {
  content: "";
  background: var(--two2);
  width: 8px;
  height: 8px;
}*/

/* QUOTES / SPOILER / TEXTAREA
--------------------------------------------------------------------------------------------------------------------------*/
.quote-box,
.code-box,
textarea,
.inner,
.modal-inner,
.editBookmark,
#MyBookmarks,
.hvStickerPackModal {
    background: #edebe6 !important;
    border: 2px solid var(--col1) !important;
    box-shadow: none !important;
}

.quote-box,
.code-box {
  margin: 30px 0;
}

.spoiler-box {
  margin: 20px 0;
}

cite,
.code-box .legend,
.spoiler-box > div {
    font-style: normal;
    display: block;
    font-family: var(--font);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    position: relative;
    text-align: center;
    margin-top: -18px;
background: transparent !important;
}

.spoiler-box > div {
    margin-top: 0;
    padding: 4px 0;
}

.spoiler-box > div.visible {
    padding: 0;
    margin-top: -18px;
}

cite,
cite a,
cite a:hover,
.code-box .legend,
.code-box .legend a,
.spoiler-box > div {
  color: var(--bg-color);
}

a.qc-post-link:before {
  font-family: var(--mat);
  margin-left: 5px;
  font-weight: 100;
  content: "\e0e6";
  vertical-align: middle;
}

a.qc-post-link img {
  display: none;
}

blockquote,
.blockcode {
  margin: 10px 30px;
}

blockquote p:last-child {
  padding: 0;
}

.scrollbox {
  overflow: auto;
  font-size: initial;
  max-height: 60px;
  overflow-x: hidden;
}

.post-content .spoiler-box > blockquote {
  padding: 0 !important;
}

/* SPOILER ANIMATION © BLANCHE. free for use only with copy */

.spoiler-box > div:before {
  content: "\e5cd";
  font-family: var(--mat);
  transition: all 0.5s;
  transform: rotate(45deg);
  font-size: 10px;
  font-weight: 600;
  position: absolute;
  top: 22%;
  left: 5px;
}

.spoiler-box > div.visible:before {
  transform: rotate(0deg);
}

/* textarea */
textarea {
  overflow: auto;
  font-size: 10.5px !important;
  line-height: 15px !important;
  padding: 10px;
  font-family: Verdana;
  box-sizing: border-box;
}

/* FORMA OTVETA
--------------------------------------------------------------------------------------------------------------------------*/
#pun-viewtopic #post {
  margin-top: 20px;
}

#pun-viewtopic .post-box #post, #pun-viewtopic .post-box fieldset {
    margin: 0 !important; padding: 0;
}

#post .areafield {
  margin: 0;
}

#pun-edit #post .areafield span.input a {
  margin: 10px 0;
  display: block;
  text-transform: lowercase;
  font-family: var(--font);
  letter-spacing: 0.5px;
}

.hashelp {
  position: relative;
}

#main-reply {
  height: 213px;
}

.grippie {
  margin-top: 5px;
}

/* CUSTOM FORM-BUTTONS WITH WRITTEN SYMBOLS © BLANCHE. free for use only with copy */

#form-buttons {
  display: grid;
  grid-template-columns: 145px 1fr;
  background: var(--col2);
}

#form-buttons table {
  width: 100% !important;
}

#form-buttons tr {
  width: 100%;
  display: flex;
  height: 26px;
  justify-content: space-between;
}

#plng,
#form-buttons td {
  display: flex;
  justify-content: center;
  gap: 3px;
  align-items: center;
  height: 26px;
  box-sizing: border-box;
}

#form-buttons td {
  background-image: none !important;
  font-family: var(--mat);
  font-size: 15px;
  color: var(--pun);
  width: inherit !important;
  cursor: pointer;
  transition: all 0.5s;
}

#plng {
    background: var(--bg-color) !important;
    font-size: 9px;
    font-family: var(--font);
    color: var(--col1);
    font-weight: 600;
}

#form-buttons td img {
  z-index: 9;
}

#form-buttons td:before {
  position: absolute;
}

#button-font:before {
  content: "\e264";
}

#button-size:before {
  content: "\eae2";
}

#button-bold:before {
  content: "\e238";
}

#button-italic:before {
  content: "\e23f";
}

#button-underline:before {
  content: "\e249";
}

#button-strike:before {
  content: "\e257";
}

#button-transL:before {
  content: "\e8e2";
}

#button-indent:before {
  content: "\e23e";
}

#button-left:before {
  content: "\e236";
}

#button-center:before {
  content: "\e234";
}

#button-right:before {
  content: "\e237";
}

#button-justify:before {
  content: "\e235";
}

#button-link:before {
  content: "\e157";
}

#button-spoiler:before {
  content: "\e875";
}

#button-image:before {
  content: "\e412";
}

#button-imagetwo:before {
  content: "\e3f4";
}

#button-video:before {
  content: "\e1c4";
}

#button-hide:before {
  content: "\e898";
}

#button-quote:before {
  content: "\e625";
}

#button-code:before {
  content: "\ead1";
}

#button-html:before {
  content: "\ef54";
}

#button-color:before {
  content: "\e40a";
}

#button-table:before {
  content: "\f088";
}

#button-smile:before {
  content: "\e87d";
}

#button-sticker:before {
  content: "\e813";
}

#button-keyboard:before {
  content: "\f028";
}

#button-addition:before {
  content: "\e145";
}

#button-mask:before {
  content: "\e853";
}

#floatbut:before {
  content: "\e3b5";
}

/* tags */
#tags .container,
#float {
    overflow-y: auto;
    padding: 10px !important;
    height: 192px;
    font-family: var(--font);
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    z-index: 99999;
    font-size: 10px;
    background: var(--bg-color);
    top: 27px !important;
    margin: 0 -6px 0 0px;
    color: var(--col1);
}

#font-area div,
#size-area div,
#addition-area div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  transition: all 0.5s;
  margin: -10px;
  padding: 10px;
  position: relative;
}

/*#font-area:hover div,
#size-area:hover div,
#addition-area:hover div {
  color: var(--col2);
}*/

#font-area div:hover,
#size-area div:hover,
#addition-area div:hover {
  background: var(--col1);
color: var(--bg-color);
}

#font-area div img,
#size-area div img {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
}

#font-area span,
#size-area span,
#addition-area div {
  height: auto !important;
}

#uploaded-images img {
  object-fit: cover;
}

#image-area,
#color-area,
#video-area,
#spoiler-area {
  height: auto !important;
}

#spoiler-area a,
#image-area a {
  color: inherit;
}

#float {
  left: 43%;
  z-index: 2;
  height: auto;
  position: absolute;
  display: none;
}

/* INPUT / BUTTONS
--------------------------------------------------------------------------------------------------------------------------*/
input,
select,
option,
.hvStickerPackModalTab {
    background: var(--pun) !important;
    border: 2px solid var(--col1);
    font-family: var(--font) !important;
    font-size: 10px;
    letter-spacing: 0.5px;
    padding: 3px 5px;
    color: var(--col2);
    box-sizing: border-box;
}

select,
option {
  color: var(--col2);
  text-transform: lowercase;
}

/* button */
.button,
.hvStickerPackModalTab {
    background: var(--col1) !important;
    border: none !important;
    padding: 6px 10px !important;
    text-transform: lowercase;
    font-size: 10px !important;
    color: var(--pun);
    font-weight: 600 !important;
    transition: all 0.5s;
    cursor: pointer;
    border-radius: 0 !important;
}

.button:hover,
.hvStickerPackModalTab:hover,
.hvStickerPackModalTab.active {
  background: var(--col2) !important;
}

/* POST-LINKS / LINKST / LINSKB
--------------------------------------------------------------------------------------------------------------------------*/
.post-links {
  width: 100%;
}

#pun-viewtopic .post-links {
  padding-left: 10px;
  margin-bottom: -1px;
}

.post-links ul {
  text-align: right;
  margin: 0;
}

#pun-searchposts .post-links ul {
  text-align: left;
}

#pun-searchposts .post:last-child .post-links {
  margin-bottom: 10px;
}

.post-links ul,
#pun-viewtopic .linkst {
  padding-right: 30px;
}

.endpost .post-links ul,
#pun-messages .post-links ul {
  padding-right: 0;
}

.post-links li {
  display: inline-block;
}

.pl-email {
  float: left;
}

.pl-email.pm,
.pl-email.email {
  margin-left: 10px;
}

#pun-viewtopic .pl-delete,
.pl-edit,
#pun-messages .pl-quote {
  margin-right: 8px;
}

#pun-viewtopic h3,
#pun-searchposts h3,
#pun-multimove h3 {
  margin: 0 0 10px 0;
}

.post h3 span,
.linkst,
.linksb {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post h3 span {
  flex-direction: row-reverse;
  margin-top: -10px;
  padding-left: calc(var(--prof-w) + var(--main-p)*2) !important;
  box-sizing: border-box;
}

.pagelink {
  order: 1;
}
.postlink {
  order: 3;
  width: auto !important;
}
.subscribelink,
#pun-viewforum noindex {
  order: 2;
}

.post h3 span,
.post-links,
.pagelink,
.postlink,
.subscribelink,
#pun-viewforum .modmenu strong,
.postlink .button {
  font-family: var(--font);
  font-size: 8px !important;
  letter-spacing: 1px;
  font-weight: 600 !important;
  text-transform: uppercase;
}

.post h3 span a,
.post-links a {
  color: var(--col1);
}

.post h3 span,
.post-links .pl-email a,
.pagelink,
.pagelink a,
.postlink a,
.postlink .button {
  color: var(--bg-color);
}

.post h3 span,
.linkst,
.endpost .post-links,
#pun-messages .post-links,
#pun-viewforum .category {
  border-bottom: 5px solid;
  padding-bottom: 10px;
}

.post h3 span, .endpost .post-links, .linksb {
    padding-right: var(--main-p);
margin-left: -20px;
    margin-right: -20px;
width: calc(100% + 40px);
}

.linksb {
  border-top: 5px solid;
  padding-top: 10px;
    box-sizing: border-box;
    padding-left: 20px;
}

.gid3 .linksb {
  margin-top: -1px;
}

.linkst {
  margin-bottom: 10px;
}

.post h3 span,
.linksb,
.linkst,
.endpost .post-links,
#pun-messages .post-links/*,
#pun-viewforum .category*/ {
  border-color: var(--bg-color);
}

#pun-viewtopic .linkst,
#pun-searchposts .linkst,
#pun-multimove .linkst {
  border: none;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: -10px;
}

/* PAGES: VIEWTOPIC / POST / PUN-POST
--------------------------------------------------------------------------------------------------------------------------*/
.post .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 15px;
}

.post-rating .container {
  display: block;
}

.post .post-rating a {
    border: 2px solid var(--col1);
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font);
    font-weight: 600;
    font-size: 11px !important;
    transition: all 0.2s;
    color: var(--bg-color);
}

.post-rating a:hover {
  background: var(--col1);
}

.post-body {
  display: block;
  width: calc(100% - var(--prof-w) - 20px);
    position: relative;
}

.reactions-root {
    padding: 0 5px;
    position: absolute;
    bottom: 0;
}

.post-content {
  width: 100%;
  text-align: justify;
}

.post-content img.postimg {
  vertical-align: middle;
}

.post-content table {
  table-layout: fixed;
}

.post-content table td {
  border: none !important;
}

.post-content p {
  margin: 0;
  padding-bottom: 10px;
  line-height: 150%;
  text-align: justify;
}

#topic-users-in {
  text-transform: lowercase;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.5px;
}

#topic-users-in span {
  font-weight: normal !important;
}

#topic-users-in a:after {
  content: ",";
  margin-right: 2px;
}

.formsubmit {
  display: flex;
  gap: 10px;
  align-items: center;
  text-transform: lowercase;
  font-family: var(--font);
  letter-spacing: 0.5px;
  color: var(--bg-color);
}

#pun-post .pa-author {
  margin: auto;
  text-align: center;
  position: relative;
  top: auto;
}

#pun-post #post-preview legend span,
#pun-userlist legend span,
#pun-search legend span,
.modal-inner legend span,
#pun-delete legend span {
  display: block !important;
  margin-bottom: 10px;
}

/* fntslider */
.FNTslider {
  width: 160px;
  height: 4px;
  border: 1px solid var(--bg-color);
  box-sizing: border-box;
}
.FNTslider .before {
  height: 4px;
  margin: 0px;
  background: var(--bg-color);
}
.FNTslider .thumb {
  width: 13px;
  height: 7px;
  position: relative;
  top: -6px;
  cursor: pointer;
  background: var(--notify);
}

/* new theme */
.required label,
.datafield .input,
.selectfield label,
.inputfield label,
.inputfield.required.longinput,
#pun-admain legend span,
#setmods dt {
  background-color: transparent !important;
  font-family: var(--font);
  font-weight: 300;
  text-transform: lowercase;
  font-size: 10px !important;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 7px;
}

.inputfield.required.longinput:last-child {
  display: flex;
  align-items: center;
}

/* checkboxes */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  vertical-align: middle;
  font-family: var(--font);
  font-weight: 300;
  font-size: 10px;
  padding: 2px 0;
  display: inline-block;
}

/* PAGES: VIEWFORUM, SEARCHPOSTS, ETC
--------------------------------------------------------------------------------------------------------------------------*/
.newtext {
  font-size: 10px;
}

.newtext a {
  color: var(--col1) !important;
}

.pagestext a {
  color: var(--col1) !important;
}

#pun-viewforum .category {
  margin-bottom: 10px;
}

#pun-searchposts h3 span {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  gap: 5px;
}

#pun-searchposts h3 strong {
  position: absolute;
  right: 30px;
}

#pun-searchposts .FNTslider {
  position: absolute;
  right: 50px;
}

#pun-searchposts h3 span a {
  display: inline-flex;
  align-items: center;
}

#pun-searchposts h3 span a:after {
  margin: 0px 0 2px 5px;
  display: inline-block;
  font-family: var(--font);
}

/* PAGES: VIEWPROFILEb
--------------------------------------------------------------------------------------------------------------------------*/
#viewprofile tr {
  display: grid;
  grid-template-columns: 260px 1fr;
  font-family: var(--font);
  gap: 20px;
  border: 1px solid var(--col1);
  align-items: center;
  margin: 30px;
}

#profile-signature ul {
  border: none !important;
}

/* left part */
#viewprofile #profile-left {
    width: inherit !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-transform: lowercase;
    letter-spacing: 1px;
    padding: 15px !important;
    text-align: center;
    color: var(--pun);
    height: 100%;
    box-sizing: border-box;
    background: var(--bg-color);
    font-size: 9px;
    justify-content: center;
}

#profile-name {
  font-size: 15px;
}

#profile-left #profile-title strong,
#profile-left #pa-online strong {
  font-weight: 200 !important;
}

#profile-name strong,
#pa-edit a {
  color: var(--col1) !important;
}

#pa-avatar img {
  outline: 1px solid var(--pun);
  outline-offset: 5px;
  margin: 7px 0;
}

/* right part */
#profile-right {
  width: inherit !important;
  padding: 10px !important;
  display: flex;
  gap: 10px;
  flex-direction: column;
}

#profile-right li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  text-transform: lowercase;
  font-size: 10px;
  align-items: center;
}

#profile-right li span:first-child {
  background: var(--col2);
  text-transform: lowercase;
  font-weight: 600;
  padding: 2px 10px 4px 10px;
  /* display: flex; */
  /* align-items: center; */
  /* height: 18px; */
}

#profile-right li span:first-child,
#profile-right li span:first-child a {
  color: var(--pun);
}

#profile-right strong {
  font-weight: 100;
  padding: 0 !important;
  letter-spacing: 0.5px;
}

#profile-right strong,
#profile-right strong a {
  color: var(--bg-color);
}

/* inside */
#profilenav,
#pun-adnav {
  float: left;
  width: var(--profnav-w);
  font-family: var(--font);
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

#profilenav ul,
#pun-adnav ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#profile fieldset,
.adformal {
  padding: 20px;
}

#pun-profile fieldset,
#pun-profile .adfs-box {
  text-transform: lowercase;
  font-family: var(--font);
  color: var(--bg-color);
  letter-spacing: 0.5px;
  margin-left: var(--profnav-w) !important;
}

#profile fieldset fieldset {
  margin-left: 0px !important;
  padding: 0px;
}

#filetable thead tr {
  display: table-row;
}

#pun-profile #profile {
  min-height: 280px;
}

#pa-fld1 a {
    color: var(--col2) !important;
}

/* PAGES: USERLIST, RESPECT, ONLINE
--------------------------------------------------------------------------------------------------------------------------*/
.usertable .container {
  margin: 20px 0;
}

.usertable td,
.usertable th {
  text-align: center;
}

.usertable .tcl,
#pun-respect .tcl,
#pun-positive .tcl {
  text-align: left;
}

#pun-respect td,
#pun-respect th,
#pun-positive td,
#pun-positive th {
  width: auto !important;
  text-align: center;
}

/* userlist */
.username,
td.pmtc22 {
  display: grid;
  grid-template-columns: 36px auto;
  grid-template-areas: "ava user";
  gap: 10px;
  align-items: center;
}

td.pmtc22 {
  justify-content: end;
}

.usersname,
td.pmtc22 a,
#pun-viewforum td.tcr .byuser,
#pun-searchtopics td.tcr .byuser {
  grid-area: user;
}

/* PAGES: MESSAGES
--------------------------------------------------------------------------------------------------------------------------*/
#pun-messages .hasicon {
  width: auto;
}

#pun-messages h3 {
  margin-top: -21px;
  position: relative;
}

.postlink .button {
  background: transparent !important;
  padding: 0 !important;
}

#profile.formal.messages-container .container {
  min-height: 70px;
}

#notify-settings {
  font-family: var(--font);
  font-weight: 300;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-size: 9px;
  color: var(--bg-color);
  margin-left: calc(var(--profnav-w) + 15px);
}

input#OnOff_Notify {
  margin-top: -2px;
}

#volSlider.vol_slider {
  margin-top: 1px;
}

#pun-messages .post-links {
  margin-bottom: -1px;
}

#pun-messages .post h3 span {
  padding-left: 540px !important;
  white-space: nowrap;
  margin-left: 0 !important;
  gap: 10px;
}

/* SCROLLBAR / SELECTION
--------------------------------------------------------------------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--col1);
}

/* selection */
::selection {
    color: var(--col1);
    background: var(--bg-color);
}

/* HIDDEN ELEMENTS
--------------------------------------------------------------------------------------------------------------------------*/
.acchide,
h1,
#pun-navlinks h2,
#pun-status h2,
#pun-ulinks h2,
.multipage .topic h2,
form#post.container legend span,
.post-sig dt span,
.crumbs strong,
.divider hr,
#pun-userlist .main h2,
#pun .modlist,
.stickytext,
.closedatafield,
#pun-viewforum #pun-main h2,
#pun-announcement h2,
#pun-break4,
#pun-messages .post-sig,
.tipsy-arrow,
.clearer,
#pun-searchtopics #pun-main h2,
.num_msg:before,
/* проверить все ДО этого */
#topic-users-in a:last-child:after,
#topic-modmenu span,
#pun-viewforum .modmenu span,
#post-form h2,
#pun-index th,
#pun-index .tcr br,
#pun-index .tc2,
#pun-index .tc3,
.lastedit,
.pa-reg,
.pa-gifts,
.pa-replies,
.sharelink,
.postlink .closed,
.pl-share,
.pl-reports,
.pa-last-visit,
#viewprofile-next #profilenav,
#pa-invites,
#profile-gifts,
#navadmin span,
#pun-live-rusff,
.crumbs em,
#pun-searchposts em,
#pun-searchtopics .modmenu,
.bubble:after,
#pa-fld4,
#pun-post .topic h2,
.hide-box .qcn,
#topic-feed,
.modal-inner h2 span, 
.catleft, 
.catright, 
#button-files_rusff, 
#button-graffiti_rusff,
#pun-index .subforums em, #pun-title table, #pun-status .item3 {
  display: none !important;
}

/* MOBILE / MOZILLA
--------------------------------------------------------------------------------------------------------------------------*/
@-moz-document url-prefix() {
  * {
    scrollbar-width: thin;
  }
  #form-buttons {
    margin-bottom: -2px;
  }
}

/*html{min-width: 1200px!important;}для мобил*/
@media screen and (max-device-width: 480px) {
  a,
  a:hover,
  a:focus,
  a:active,
  #pun-status,
  .crumbs,
  #pun-stats ul.container,
  .modmenu .container,
  #pun-index .tcr .lastpost {
    -webkit-text-size-adjust: none;
  }
  .hashelp center div a button,
  .button,
/*  input,*/
  select {
    -webkit-appearance: none !important;
    border-radius: 0px !important;
  }
}
