/*************************************************************
CODE STRUCTURE BY BLANCHE
**************************************************************

FONTS / ROOT / LINKS
-------------------------------------------------------------*/
@import url(style_cs.1756501796.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@24,400,1,0");
@import url("https://kit-pro.fontawesome.com/releases/v5.15.1/css/pro.min.css");

/* fonts used in design */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Unbounded:wght@200..900&display=swap");
@import url("https://forumstatic.ru/files/001a/e6/32/15560.css"); /* helvetica neue */

@font-face {
  font-family: Offbit;
  font-weight: 500;
  src: url("https://forumstatic.ru/files/001c/84/38/31936.woff") format("woff");
}
@font-face {
  font-family: Offbit;
  font-weight: 600;
  src: url("https://forumstatic.ru/files/001c/84/38/29780.woff") format("woff");
}

/***************************************/

:root {
  --bg: url(https://forumstatic.ru/files/001c/84/38/18876.webp) center / cover
    fixed var(--bg-color);
  --main-w: 1000px;
  --main-p: 20px;

  --title-bg: url(https://forumstatic.ru/files/001c/84/38/63860.jpg);
  --title-h: 290px;

  --font: Helvetica neue;
  --font1: Noto Sans;
  --font-fav: Unbounded;
  --font-sec: Offbit;

  --bg-color: #afafaf;
  --pun: #dddddd;
  --pun1: #d9d9d9;
  --color-accent1: #499972;
  --color-accent2: #6ea88c;
  --color-accent3: #499972;
  --color-gray1: #989898;
--color-gray2: #cccccc;
  --color-dark1: #404040;
  --color-dark2: #636363;
  --color-light1: #f0f0f0;
  --color-light2: #cccccc;

  --notify: var(--color-accent2);
  --link: var(--color-accent1);

  --border: 1px solid var(--color-dark1);
  --border2: 1px solid var(--color-dark2);
--outline: 3px solid var(--color-light1);
  --content-icon: "\2736";

  --prof-w: 240px;
  --profnav-w: 110px;
  --post-p: var(--main-p);
  --usav: 28px;

  --intd-gap: 25px;
  --main-icon-w: 35px;
  --main-icon-h: 15px;
  --icon-w: var(--main-icon-w);
  --icon-h: var(--main-icon-h);

  --arrows: 50px;

  --ls-w: 926px;
  --ls-h: 500px;

  --mat: "Material Symbols Outlined";
  --mat1: "Material Symbols Rounded";
  --faw: "Font Awesome 5 Pro";
}

/***************************************/

a {
  text-decoration: none;
  transition: all 0.5s;
  color: var(--link);
}

#pun-admain a,
#MyBookmarks span.scrl {
  color: var(--link) !important;
}

a:hover,
a:focus,
a:active {
  color: var(--color-accent1);
}

:focus {
  outline: none !important;
}

.adlabel,
.adlabel a {
  color: var(--color-light) !important;
}

/* ETO BAZA: BODYb, PUNb, TITLEb
--------------------------------------------------------------------------------------------------------------------------*/
html,
body {
  margin: 0;
  padding: 0;
}

html * {
  box-sizing: border-box;
}

body,
body.redirect-page {
  background: var(--bg);
}

/***************************************/

#pun {
  position: relative;
  width: var(--main-w);
  background: var(--pun);
  font: normal 68.75% verdana, arial, helvetica, sans-serif;
  color: #151515;
  margin: 65px auto 50px auto;
  box-sizing: content-box;
  border: var(--border);
}

.punbb {
  padding: var(--main-p);
  padding-top: 0;
}

/***************************************/
#pun-title,
#pun-announcement {
  width: var(--main-w);
  height: var(--title-h);
}

#pun-title {
  background: var(--title-bg);
  margin-left: calc(0px - var(--main-p));
}

#pun-announcement {
  position: absolute;
  top: 0;
  left: 0;
}

tabla_anim:after {
  content: "";
  background: url(https://forumstatic.ru/files/001c/84/38/28352.png);
  width: 83px;
  height: 83px;
  position: absolute;
  bottom: 0;
  left: 377px;
  transition: all 0.5s;
}

tabla_anim:before {
  content: "press press press press press";
  font: 500 35px var(--font-sec);
  color: var(--color-light1);
  width: 90px;
  position: absolute;
  bottom: 14px;
  left: 330px;
  transition: all 0.5s;
  letter-spacing: 0.05em;
}

tabla_anim:hover:before {
  animation: 0.9s touch1 infinite;
}
tabla_anim:hover:after {
  animation: 0.9s touch2 infinite;
}

@keyframes touch1 {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes touch2 {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* NAVLINKS / ULINKS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-navlinks,
#pun-ulinks {
  text-transform: lowercase;
  margin: 0 0 0 calc(0px - var(--main-p));
  width: calc(100% + var(--main-p) * 2);
  text-align: center;
}

#pun-ulinks li {
  display: inline-block;
}

/* navlinks */
#pun-navlinks .container {
  position: absolute;
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin: 0;
  top: -30px;
  left: -1px;
  height: 30px;
  align-items: center;
}

#pun-navlinks a:before {
  content: "";
  background: var(--color-accent1);
  width: 14px;
  height: 14px;
  display: block;
}

li#navuserlist a:before {
  mask: url(https://forumstatic.ru/files/001c/84/38/64545.svg);
}

li#navsearch a:before {
  mask: url(https://forumstatic.ru/files/001c/84/38/13786.svg);
}

li#navprofile a:before {
  mask: url(https://forumstatic.ru/files/001c/84/38/17978.svg);
}

li#navpm a:before {
  mask: url(https://forumstatic.ru/files/001c/84/38/33961.svg);
}

li#navadmin a:before {
  mask: url(https://forumstatic.ru/files/001c/84/38/28900.svg);
}

li#navlogout a:before,
li#navlogin a:before {
  mask: url(https://forumstatic.ru/files/001c/84/38/41966.svg) no-repeat center;
}

li#navlogin a:before {
  transform: rotate(45deg);
}

li#navregister a:before {
  mask: url(https://forumstatic.ru/files/001c/84/38/32042.svg) center/cover;
    width: 12px;
    height: 12px;
}

li#navpr_1 a:before {
    mask: url(https://forumstatic.ru/files/001c/84/38/89649.svg) center/cover;
    width: 12px;
    height: 12px;
}

/* ulinks */
#pun-ulinks .container {
  font: 600 10px var(--font);
  margin: 10px 0;
  letter-spacing: 0.05em;
}

#pun-ulinks li {
  margin: 0 8px;
}

/* links color and animation */
#pun-navlinks a {
  background: var(--pun);
  border: var(--border);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s, box-shadow 0.2s;
}

#pun-navlinks a:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 0px var(--color-dark2);
}

li#navindex a {
  border-bottom: none;
  width: 206px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px 10px 0 0;
  transform: none !important;
  box-shadow: none !important;
}

li#navindex a:before {
  content: "pressf.rusff.me";
  font: 300 12px var(--font-fav);
  color: #4b4b4b;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s, color 0.4s;
  border: 0px solid var(--color-light2);
  box-sizing: border-box;
  background: transparent !important;
}

li#navindex a:hover:before {
  border-width: 10px;
  color: var(--color-accent1);
  transition: all 0.2s, color 0.2s 0.15s;
}

#pun-ulinks a {
  color: var(--color-gray1);
}

#pun-ulinks a:hover {
  color: var(--color-dark1);
}

/* STATUS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-status .container {
    font: 800 7px var(--font1);
    text-transform: lowercase;
    margin: 0;
    width: calc(100% / 2);
    text-align: right;
    position: absolute;
    top: -35px;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 27px;
    gap: 2px 10px;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 'item1 ava'
    'item2 ava';
}

#pun-status .container,
#pun-status .status-right a {
  color: var(--color-dark1);
}

#pun-status strong,
#pun-status a {
  color: var(--color-dark2);
  font-weight: 800;
}

#pun-status .status-right {
  float: none !important;display: none;
}

span.status_userava {
    grid-area: ava;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-dark1);
    border: 2px solid var(--color-accent1);
}

span.status_userava, span.status_userava img {    width: 25px;
    height: 25px;}

#pun-status .container span.item1 {
    grid-area: item1;
}

#pun-status .container span.item2 {
    grid-area: item2;
}

span.status_userava img {
    filter: grayscale(1);
    mix-blend-mode: screen;
}

/* CATEGORY
--------------------------------------------------------------------------------------------------------------------------*/
.category .container,
.statscon,
.forum .container {
  position: relative;
  background: var(--pun);
  margin: 0 calc(0px - var(--main-p));
  padding: 10px 40px;
}

.forum .container {    padding: 0 10px;}

.category h2,
#pun-stats h2 {
  margin: 0;
  font-size: 0;
  height: 20px;
}

#pun-category1 h2 {height: 0;}

/***************************************/

.category h2 span,
#pun-stats h2 span {
}

/* HASICON / STRUCTURE EVERYWHERE
--------------------------------------------------------------------------------------------------------------------------*/
table {
  width: 100%;
}

.hasicon,
.statscon .container,
.usertable tbody,
#messages tbody,
#pun-respect .container tbody,
#pun-positive .container tbody,
#pun-online .container tbody {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
  width: auto;
color: var(--color-dark2);
  text-transform: lowercase;
  font: 500 12px var(--font);
  border-radius: 20px;
  border: var(--border);
  padding: 25px;
}

.hasicon tr,
thead tr,
.usertable tr,
#messages tr,
#pun-searchtopics tr,
#pun-respect tr,
#pun-positive tr,
#pun-online .online-list tr,
.profile-awards-container tr {
  display: grid;
  gap: 10px;
  grid-template-columns: 50% 7% 7% 32%;
  justify-content: space-between;
  color: var(--color-gray);
  position: relative;
  align-items: center;
}

#pun-index .hasicon {
  margin: 0;
}

/***************************************/

#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 .online-list tr {
  grid-template-columns: 40% 40% 20%;
}

#pun-mod .container tr,
.profile-awards-container tr {
  grid-template-columns: 20% 10% 40% 30%;
}

.profile-awards-container tr .tcl {
  width: inherit !important;
}

#pun-messages td,
#pun-messages th,
#pun-online .online-list td {
  width: auto !important;
  display: flex;
  font-weight: 600 !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 {
  display: flex;
  align-items: center;
  justify-items: end;
  justify-content: end;
  gap: 7px;
  flex-direction: row-reverse;
}

#pun-viewforum td.tcr a,
#pun-searchtopics td.tcr a {
  grid-area: "time";
  white-space: nowrap;
  color: var(--color-dark);
}

th {
  text-transform: lowercase;
  text-align: left;
  color: var(--color-gray1);
  font: 500 9px var(--font);
}

/* 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;border-radius: 20px;
}

#pun-userlist .fs-box.inline {
  margin-top: -11px;
  position: relative;
}

#pun-login .fs-box.inline {
  margin-top: 10px;
  position: relative;
}

.inline .infofield {
  font: 500 9px var(--font);
  text-transform: lowercase;
  letter-spacing: 0.5px;
  text-align: justify;
  color: var(--color-gray);
}

/* PUN-INDEX / PODFORUMS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-index .hasicon tr {
    position: relative;
    gap: 10px;
    color: var(--color-gray1);
    grid-template-columns: 1fr 1fr 6fr 3fr;
    grid-template-areas: 'tc3 tc2 tcl tcr';
}

#pun-index .hasicon .tcl {
    grid-area: tcl;
}

#pun-index .hasicon td.tc2 {
    grid-area: tc2;
}

#pun-index .hasicon td.tc3 {
    grid-area: tc3;
}

.hasicon td.tc2, .hasicon td.tc3, .statscon .item1, .statscon .item2, .statscon .item3, .statscon .item4 {
    font: 600 10px var(--font-sec);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.statscon .item4 a {    color: var(--color-gray1);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;}

.hasicon td.tc3:before, .statscon .item2:before, #pa-posts #user-posts {
    background: url(https://forumstatic.ru/files/001c/84/38/23869.svg);
}

.hasicon td.tc2:before, .statscon .item1:before, #pa-posts #user-topics {background: url(https://forumstatic.ru/files/001c/84/38/16825.svg);}

.statscon .item4:before {background: url(https://forumstatic.ru/files/001c/84/38/44306.svg);}
.statscon .item3:before {background: url(https://forumstatic.ru/files/001c/84/38/20826.svg);}

.hasicon td.tc2:before, .hasicon td.tc3:before, .statscon .item1:before, .statscon .item2:before, .statscon .item3:before, .statscon .item4:before, #pa-posts strong a {
    content: '';
    width: 16px;
    height: 16px;    margin-bottom: 4px;
}
#pa-posts strong a {margin-bottom: 0;display: block;}

/* subforums */
#pun-index .hasicon .isub .tcl {
  padding-left: 0px !important;
}

#pun-index .subforums {
  display: none !important;
}

#pun-index .subforums a:first-of-type {
  margin-left: -15px;
}

#pun-viewforum .isub .tcl h3 {
  margin: 0 0;
}

/* left part */

#pun-index .tclcon {
    grid-area: for;
    text-align: justify;
    -webkit-text-size-adjust: none;
width: 100%;
    display: flex;
    gap: 20px;
    flex-direction: column;
  /*  display: grid;
  grid-template-columns: 110px 450px;
  grid-template-rows: 30px 1fr;
  grid-template-areas:
    "ssil name"
    "ssil podfor";*/
}

.f_wrap {
  grid-area: podfor;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#pun-index .tcl h3 {
    margin: 0;
    text-align: center;
    grid-area: name;
    font: 600 22px var(--font-fav);
    text-transform: lowercase;
}

#pun-index .tcl h3 a {
  color: var(--color-accent1);
  -webkit-text-size-adjust: none;
  position: relative;
  font-weight: 600;
}

#pun-index .tcl h3 a:hover {
  color: var(--color-gray1);
}

#pun-index .tclcon span,
#pun-index .subforums {
    position: relative;
    display: flex;
    gap: 10px;
    margin: 0;
    grid-area: ssil;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

#pun-index .tclcon span a,
#pun-index .subforums a {
    color: var(--pun1);
    text-align: center;
    position: relative;
    font: 600 9px var(--font-fav);
    background: var(--color-accent2);
    border-radius: 10px;
    text-transform: lowercase;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
    padding: 2px 13px;
    border: 1px solid var(--color-accent2);
}

#pun-index .tclcon span a:hover,
#pun-index .subforums a:hover{
  color: var(--color-accent1);
  background: transparent;
}

/*#pun-index .tclcon span a:after,
#pun-index .subforums a:after {
  content: var(--content-icon);
  color: #424242;
  display: inline-block;
  margin-left: 5px;
  transition: all 0.5s;
  font-size: 10px;
}*/

/* right part */
#pun-index .tcr,
#pun-viewforum .isub .tcr {
  display: grid;
  grid-template-columns: 1fr var(--usav);
  grid-template-rows: auto auto;
  gap: 5px 15px;
  grid-template-areas:
    "lastpost1 ava"
    "lastpost2 ava";
  justify-content: end;
  align-items: center;
  justify-items: end;
  align-content: center;grid-area: tcr;  font: 600 10px var(--font1);
}

.lastpost-link {
  grid-area: lastpost1;
  color: var(--color-accent1);
  text-align: right;
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: flex-start;
  text-transform: lowercase;
}

.lastpost {
  grid-area: lastpost2;
  text-transform: lowercase;
  text-align: right;
}

#pun-viewforum .lastpost {
  text-transform: lowercase;
}

/* user-avatar */
.user-avatar {
  margin: 0 !important;
  background: var(--color-dark1);
  width: var(--usav) !important;
  height: var(--usav) !important;
  grid-area: ava;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-accent1);    box-sizing: content-box;
}

.user-avatar a {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.user-avatar,
.avatar-image {
  border-radius: 50% !important;
}

.avatar-image {
  opacity: 1 !important;
  filter: grayscale(1);
    mix-blend-mode: screen;
  width: var(--usav) !important;
  height: var(--usav) !important;
}

.isonline {
    background: var(--pun1) !important;
    top: -2px !important;
    right: -2px !important;
    width: 11px !important;
    height: 11px !important;
    border: 2px solid var(--color-accent1);
    animation: none !important;
}

/* ICONb
--------------------------------------------------------------------------------------------------------------------------*/
.intd {
  display: grid;
  gap: var(--intd-gap);
  align-items: center;
}

.category .intd {
    /* grid-template-areas: "for icon"; */
    /* grid-template-columns: 1fr var(--main-icon-w); */
    display: flex;
}

.forum .intd,
#profile .intd {
  grid-template-columns: var(--icon-w) 1fr;
}

.intd .icon {
  margin: 0;
  position: relative;
}

.forum .icon,
#profile .intd .icon {
  width: var(--icon-w);
  height: var(--icon-h);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font: 600 7px var(--font-fav);
    background: var(--color-light2);
}

.category .icon {
  width: var(--main-icon-w);
  height: var(--main-icon-h);
  grid-area: icon;
    position: absolute;
    left: calc(-20px - var(--main-icon-w) / 2);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font: 600 7px var(--font-fav);margin-top: -4px;
}

/*#pun-index*/ .intd .icon.inew {
  background: var(--color-accent2);
}

.forum .icon:before,
#profile .intd .icon:before {
  content: "old";
    font: 600 7px var(--font-fav);
}

.forum .isticky .icon {
    background: var(--color-light1);
}
.forum .isticky .icon:before {
  content: "imp";
}

.forum .iclosed .icon {
    background: var(--color-gray1);
    color: var(--color-light1);
}
.forum .iclosed .icon:before {
  content: "cls";
}

.forum .icon-new:before,
#profile .icon-new:before,
#profile .intd .icon.inew:before,
#pun-index .intd .icon.inew:before {
  content: "new";
    color: var(--color-light1);
}

/* CRUMBS
--------------------------------------------------------------------------------------------------------------------------*/
.crumbs {
  margin: 20px 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-transform: lowercase;
  font: 600 12px var(--font-sec);
  letter-spacing: 1px;
}

#pun-crumbs2 p {margin-bottom: 0;margin-top: 40px;}

.crumbs,
.crumbs a:hover {
  color: var(--color-accent1);
}

.crumbs a {
  display: inline-flex;
  align-items: flex-end;
  color: var(--color-gray1);
}

.crumbs a:after {
  content: "/";
}

.crumbs a:first-of-type,
.crumbs span {
  font-size: 0px;
}

.crumbs a:first-of-type:before,
.crumbs span:before {
  content: "pressf.rusff.me";
  font-size: 12px;
  margin-right: -8px;
}

.crumbs a:first-of-type:after {
  font-size: 12px;
}

/* STATSCON
--------------------------------------------------------------------------------------------------------------------------*/
#pun-stats .container {
    /* display: grid; */
    /* grid-template-columns: auto auto auto auto; */
    text-transform: lowercase;
    gap: 5px 30px;
    /* grid-template-areas: "tem soo reg last"
    "active active active active"
    "day day day day"; */
    margin: 0;
    font: 500 11px/151% var(--font);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    color: var(--color-gray1);
}

.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: center;
}

.statscon .item5 {
  text-align: justify;
  line-height: 15px;
    width: 100%;
}
.statscon .item5 + .item5 {
  margin-top: 20px;
}
.statscon .item5.onlinelist {
  grid-area: active;
}
.statscon .item5.users_24h {
  grid-area: day;
}

#onlinelist a {
  color: var(--color-dark1);
}

/*li#onlinelist span*/ #onlinelist .e4 {
    display: block;
    margin-top: 10px;
    font: 600 11px var(--font);
}

/*li#onlinelist div>a*/ #onlinelist .e1 a {
    font: 600 16px var(--font-fav);
    display: block;
    color: var(--color-accent2);
    margin-bottom: 10px;
}

/*li#onlinelist div*/ #onlinelist .e2, #onlinelist .e3 {
    font: 600 10px var(--font-sec);
    letter-spacing: 0.05em;
    color: var(--color-gray1);
}

/* FOOTER
--------------------------------------------------------------------------------------------------------------------------*/
#pun-about {
  display: flex;
  justify-content: center;
  position: relative;
  width: var(--main-w);
}

#pun-about .container {
    font: 800 7px var(--font1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: absolute;
    margin-top: 45px;
    width: 100%;
    text-align: center;
}

#pun-about,
#pun-about a {
  color: var(--color-accent1);
}

/* PROFILEb
--------------------------------------------------------------------------------------------------------------------------*/
.post-author {
  width: var(--prof-w);
  min-height: 85px;
  position: relative;
}

#pun-messages .post-author {
     padding: 10px 0 0 10px; 
}

.post-author ul {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    width: var(--prof-w);
    gap: 0px;
    position: relative;
    border-radius: 12px;
    border: var(--border2);
    padding: 15px 20px 10px 20px;
    margin: 0;
    text-transform: lowercase;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
}

#pun-searchposts .post-author ul {
  background: transparent;
  border: none;
}

.post-author li {
  width: inherit;
  position: relative;
}

/* author & title */
.pa-author {
    position: absolute !important;
    font: 500 12px/1 var(--font-fav);
    background: var(--pun);
    border: var(--border);
    top: -12px;
    left: -31px;
    border-radius: 0px 10px 10px 0;
    width: 20px !important;
    padding: 20px 0px;
    display: flex;
    transform: rotate(180deg);
    writing-mode: tb-rl;
    border-left: none;
    align-items: flex-end;white-space: nowrap;
}

.pa-author strong {
  font-weight: 500;
}

.pa-author,
.pa-author a {
  color: var(--color-accent2);
}

.pa-author a:hover{
  color: var(--color-dark2);
}

#pun-post p.pa-author {
    left: -42px;
    top: -11px;
}

div#pun-searchposts .pa-author {
    top: -11px;
    left: -30px;
}

/* avatar */
.pa-avatar {
  margin: 0;
}

.pa-avatar img,
#pa-avatar img {
  max-width: 180px;
  max-height: 180px;
  position: relative;
  z-index: 9;
border: 4px solid var(--color-light2);
box-sizing: content-box;
}

.pa-avatar.item2 img.allow_change:hover {
  outline-color:var(--color-accent1) !important;
}

/* posts/respect */
.pa-respect,
.pa-posts,
.pa-fld4 {
    width: calc(calc(var(--prof-w) - 42px) / 2) !important;
    z-index: 3;
    -webkit-text-size-adjust: none;
    margin: 10px 0 0px 0;
    font: 600 8px var(--font-sec);
}

.pa-respect a {
  margin-right: -3px;
}

.pa-respect,
.pa-respect a,
.pa-posts {
  color: var(--color-gray1);
}

.pa-respect .fld-name,
.pa-posts .fld-name,
.pa-posts a {
    display: inline-block;
    position: relative;
    font-size: 0;
    margin-right: 3px;
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-bottom: 4px;
}

.pa-respect .fld-name {
    background: url(https://forumstatic.ru/files/001c/84/38/51645.svg);
}

li.pa-posts a {
    background: url(https://forumstatic.ru/files/001c/84/38/90459.svg);
}

.pa-respect .fld-name,
.pa-respect .fld-name a,
.pa-posts .fld-name,
.pa-fld4 .fld-name {
  color: var(--color-dark);
}

.pa-respect img {
  filter: grayscale(1);
  vertical-align: middle;
  margin: -2px -4px 0 0;
}

/* FLDb */
li.pa-fld1 {
    color: var(--color-dark1);
    font: 500 8px var(--font-fav);
    text-transform: lowercase;
    margin-top: 10px;
}

/* online */
.indOnline,
.indOffline {
    display: flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
}

#pun-messages span.indOnline {
    width: 100%;
}

.indOnline:before {
    content: '';
    background: url(https://forumstatic.ru/files/001c/84/38/14222.svg);
    width: 10px;
    height: 6px;
    display: block;
}

/* ip */
li.pa-ip {
    position: absolute;
    bottom: -30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font: 600 10px var(--font);
    transition: all .5s;
    opacity: 0;
}

li.pa-ip a {
    color: var(--color-dark2);
}

li.pa-ip:hover {opacity: 1;}

/* QUOTEb / SPOILERb / TEXTAREA
--------------------------------------------------------------------------------------------------------------------------*/
/*.quote-box,
.code-box,*/
blockquote,
.blockcode,
textarea,
.inner,
.modal-inner,
.editBookmark,
#MyBookmarks,
.hvStickerPackModal,
#post-mentions #mentions-area {
  box-shadow: 0 0 0 6px var(--color-light1) !important;
  border: var(--border2) !important;
  background: var(--pun) !important;
border-radius: 20px !important;
}

.quote-box,
.code-box {
  display: flex;
  flex-direction: column;
}

.quote-box.answer-box {
    align-items: flex-start;
}

.code-box {
    align-items: flex-start;
}

.hide-box, .spoiler-box {
    align-items: center;
}

.quote-box,
.code-box {
  margin: 20px 6px;
  position: relative;
}

td .spoiler-box {
  margin: 20px 6px;
}

cite,
.code-box .legend,
.spoiler-box > div {
    display: block;
    position: relative;
    margin: 0 40px -10px 40px;
    padding: 4px 10px 1px 10px !important;
    text-transform: lowercase;
    text-align: left;
    font: 600 12px var(--font-sec);
    z-index: 9;
    background: var(--color-accent2) !important;
    border: var(--border2);
    border-radius: 5px;
}

cite,
cite a,
.code-box .legend,
.code-box .legend a,
.spoiler-box > div {
  color: var(--color-light1);
}

a.qc-post-link:before {
  font: 100 11px var(--mat);
  margin: -1px 0 0 5px;
  content: "\e0e6";
  vertical-align: middle;
  display: inline-block;
}

a.qc-post-link img {
  display: none;
}

blockquote,
.blockcode {
  padding: 10px !important;
  position: relative;
  margin: 0;
  width: 100%;

  font: 500 11px var(--font);
  color: #000;
}

.quote-main blockquote {
  padding-top: 10px !important;
}

.spoiler-box blockquote {
  border: none !important;
  padding-top: 10px !important;
}

blockquote p:last-child {
  padding: 0;
}

.scrollbox {
  overflow: auto;
  font-size: 10px;
  max-height: 60px;
}

.scrollbox pre {
  margin: 0;
}

.post-content .spoiler-box > div:before {
    content: '';
    background: var(--color-light1);
    width: 16px;
    height: 16px;
    display: inline-block;
    mask: url(https://forumstatic.ru/files/001c/84/38/23869.svg);
    vertical-align: middle;
    margin: -3px 7px 0px 0;
    transition: all .2s;
}

.post-content .spoiler-box > div:after {
    content: '';
    background: var(--color-light1);
    width: 16px;
    height: 16px;
    display: inline-block;
    mask: url(https://forumstatic.ru/files/001c/84/38/62433.svg);
    vertical-align: middle;
    position: absolute;
    top: 1px;
    left: 10px;
    transition: all .2s;
    opacity: 0;
}

.post-content .spoiler-box > div.visible:after {
    opacity: 1;
}

.post-content .spoiler-box > div.visible:before {
    opacity: 0;
}

/* textareab */
textarea {
  overflow: auto;
  padding: 10px;
  font: 500 11px/15px Verdana !important;margin: 6px;    width: calc(100% - 12px) !important;
}

#form-buttons + div + #tags + p textarea, #form-buttons + div + #tags + p + p + p textarea, #form-buttons + div + #tags + p + p textarea, #form-buttons + div + #tags + span textarea {
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
}

#post-form p.inputfield.required {
    background: var(--color-light1);
    margin: 0;
    padding: 0 10px 10px 10px;
}

#post-form p.checkfield + p.inputfield.required {background: transparent}

/* FORMA OTVETA
--------------------------------------------------------------------------------------------------------------------------*/
#pun-viewtopic .post-box #post,
#pun-viewtopic .post-box fieldset {
  margin: 0 !important;
  padding: 0;
}

.post-box {
  padding-bottom: 20px;
  height: 100%;
    min-height: 109px;
}

#post .areafield {
  margin: 0;
}

#pun-edit #post .areafield span.input a {
  margin: 10px 0;
  display: block;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font: 500 11px var(--font);
}

#pun-edit #tags .container {
  top: 58px !important;
}

.hashelp {
  position: relative;
}

#main-reply {
  height: 213px;
}

.grippie {
  margin-top: 5px;
}

/* FONT CATEGORY © BLANCHE. free for use only with copy */
#font-area div.latynfont, #font-area div.cyrfont {    width: inherit !important;
    box-shadow: none !important;
    text-align: center;
    background: rgba(var(--color-dark),.1) !important;
    font-size: 0;
    margin: 7px 0;
    grid-column: 1 / -1;
    justify-content: center;}
#font-area div.latynfont:before, #font-area div.cyrfont:before {
    font: 600 13px var(--font);
    color: rgba(var(--color-accent1));
}
#font-area div.latynfont:before {    content: 'латинские шрифты';  }
#font-area div.cyrfont:before {    content: 'кириллические шрифты';  }

/* CUSTOM FORM-BUTTONS WITH WRITTEN SYMBOLS © BLANCHE. free for use only with copy */
#form-buttons {
    display: grid;
    grid-template-columns: 150px 1fr;
    margin: 1px 0px -6px 0px;
    position: relative;
    padding: 5px 10px;
    height: 30px;
    border-radius: 20px 20px 0 0;
    background: var(--color-light1);
}

#pun-viewtopic div#form-buttons:before, #pun-post div#form-buttons:before {
    content: '';
    position: absolute;
    width: calc(100% - 40px);
    height: 1px;
    border-top: var(--border);
    margin: 0 20px;
    top: -1px;
}

#form-buttons table {
  width: 100% !important;
}

#form-buttons tr {
  width: 100%;
  display: flex;
  height: 18px;
  justify-content: space-between;
}

#plng,
#form-buttons td {
  display: flex;
  justify-content: center;
  gap: 3px;
  align-items: center;
  height: 18px;
  color: var(--color-dark2);
}

#form-buttons td {
  font: 500 15px var(--mat);
  background-image: none !important;
  width: inherit !important;
  cursor: pointer;
  transition: all 0.5s;
}

#plng {
    font: 400 8px var(--font-fav);
    background: var(--pun);
    border-radius: 15px 5px 5px 5px;
    text-transform: lowercase;
}

#plng b,
#form-buttons td:hover {
  color: var(--color-accent1);
}

#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-spoilerams:before {
  content: "\f835";
}

#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";
  display: none;
}

#button-sticker:before {
  content: "\e813";
}

#button-keyboard:before {
  content: "\f028";
}

#button-addition:before {
  content: "\e145";
}

#button-mask:before {
  content: "\e853";
}

#floatbut:before {
  content: "\e3b5";
}

#button-ChangeСase:before {
  content: "\e262";
}

/* tags */
#tags .container,
#float {
    overflow-y: auto;
    padding: 10px !important;
    height: 201px;
    font: 500 11px/15px var(--font);
    text-transform: lowercase;
    z-index: 99999;
    top: 36px !important;
    margin: 0px 6px 0 12px;
    color: var(--color-dark1);
    background: var(--color-light2);
    border-radius: 5px;
}

#font-area {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2px;
    font-size: 13px !important;
}

#font-area div,
#size-area div,
#addition-area div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  transition: all 0.5s;
  margin: -5px;
  padding: 5px;
  position: relative;
  border-radius: 5px;
}

#font-area div:hover,
#size-area div:hover,
#addition-area div:hover {
    background: var(--pun);
  color: var(--color-accent3);
}

#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(--pun1) !important;
    border: var(--border2);
    font: 500 10px/10px var(--font) !important;
    padding: 3px 10px;
    color: var(--color-dark1);
    border-radius: 5px;
}

select,
option {
  text-transform: lowercase;
}

#topic-modmenu {
  margin-top: 20px;
}

/* button */
.button,
.hvStickerPackModalTab {
    background: #c7c7c7 !important;
    border: none !important;
    padding: 5px 10px !important;
    text-transform: lowercase;
    transition: all 0.5s;
    cursor: pointer;
    font: 500 9px var(
  --font-fav) !important;
    color: var(
  --color-dark2);
}

.button:hover,
.hvStickerPackModalTab:hover,
.hvStickerPackModalTab.active,
#pun-viewtopic .button.submit {
    background: var(--color-accent2) !important;
    color: var(--color-light1);
}

#imageupload-left input[type=button] {
    width: auto !important;
    border: var(--border2) !important;
}

/* POST-LINKS / LINKST / LINSKB
--------------------------------------------------------------------------------------------------------------------------*/
.post-links {
  width: 100%;
}

#pun-viewtopic .post-links,
#pun-searchposts .post-links {
  margin-bottom: -23px;
}

.post-links ul {
    text-align: right;
    margin: 12px 10px 0 20px;
}

#pun-searchposts .post-links ul {
  text-align: left;
}

#pun-searchposts .post:last-child .post-links {
  margin-bottom: 10px;
}

.post-links li {
  display: inline-block;
}

.pl-email {
  float: left;
}

.pl-reply,
.pl-quiet_quote {
  margin-left: 10px;
}

.pl-email + .pl-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;
}

#pun-post h3 {
    margin: 0;
}

.post h3 span,
.linkst,
.linksb {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.post h3 span {
    flex-direction: row-reverse;
    padding-left: calc(var(--prof-w) + var(--post-p) + 10px) !important;
    position: relative;
    margin: -29px 20px -1px 0;
    font: 600 8px var(--font1) !important;
    text-transform: lowercase;
}

.postlink {
    display: flex;
    gap: 10px;
    align-items: baseline;
    height: 13px;
}

#pun-messages .postlink {height: auto;}

.pagelink {
  order: 1;
  display: flex;
  align-items: center;font-size: 0;gap: 5px;
}

.pagelink strong,
.pagelink a  {
  display: inline-flex;
}

.pagelink a {
    color: var(--color-gray1);
}

.pagelink strong {
    color: var(--color-dark1) !important;
}

.pagelink:hover a {color: var(--color-light1)}

.postlink {
  order: 3;
  width: auto !important;
}
.subscribelink {
  order: 2;
}

#pun-viewforum noindex {
  order: 3;
}

.post-links,
.postlink,
.subscribelink,
#pun-viewforum .modmenu strong,
.postlink .button,
h3 span strong,
#pun-searchposts h3 span a,
.pagelink a,
.pagelink strong,
.pagelink span,
#togglePreview .button,
#pa-email strong a {
    font: 400 8px var(--font-fav) !important;
    text-transform: lowercase !important;
}

.post-links a,
.pagelink,
.postlink {
  position: relative;
  z-index: 9;
}

#pun-viewtopic .linkst{
  margin: 0 45px -22px 0;
}

.linkst {
    margin: 0 20px -21px 20px;
}

.linksb {
    margin: -21px 20px 0 20px;
}

h3 span a, .post-links a, .postlink a, .pagelink, h3 span strong, .subscribelink a, #togglePreview .button, #pun-viewforum .modmenu a, #pa-email strong a, .postlink .button {
    border: var(--border) !important;
    padding: 1px 10px 2px 10px !important;transition: all .5s
}

h3 span a, #pun-viewtopic .postlink a, .linkst .postlink a, #pun-viewtopic .pagelink, .linkst .pagelink, h3 span strong, .subscribelink a, #togglePreview .button {
    border-radius: 5px 5px 0 0 !important;
}

h3 span a, .post-links a, .post-links .pl-email a:hover, .postlink a:hover, .pagelink:hover, h3 span strong, .subscribelink a:hover, #togglePreview .button, #pun-viewforum .modmenu a, #pa-email strong a:hover, .postlink .button:hover {    background: var(--color-accent2) !important;    color: var(--color-light1) !important;}

.post-links a:hover, .post-links .pl-email a, h3 span a:hover, .postlink a, .pagelink, .subscribelink a, #togglePreview .button:hover, #pun-viewforum .modmenu a:hover, #pa-email strong a, .postlink .button {
    background: var(--pun1) !important;
    color: var(--color-dark1) !important;
}

.post-links a, .linksb .pagelink, .linksb .postlink a, #pun-viewforum .modmenu a, #pa-email strong a, .postlink .button {
    border-radius: 0 0 5px 5px !important;
}

#pun-viewforum .modmenu {
    position: absolute;
    margin-top: -33px;
    right: 227px;
}

h3 span strong {
    width: 25px;
    display: flex;
    justify-content: center;
}
h3 span strong, .pagelink {
    padding-top: 2px !important;
    padding-bottom: 1px !important;
}

#pun-viewtopic .linksb {
    padding: 0 162px 0 10px;
margin: 40px 0 -35px 0;
}

#togglePreview {
    margin: 0 20px -1px 0 !important;
}

.subscribelink {
    margin-bottom: 3px;
}

#post #post-preview {
    border-top: var(--border) !important;
    margin: 24px -10px 0 -10px !important;
    padding: 10px;
}

/* PAGES: VIEWTOPIC / POST / PUN-POST
--------------------------------------------------------------------------------------------------------------------------*/
.post, #post {
    background: var(--pun);
    margin: 0 calc(0px - var(--main-p));
}

.post {    padding: 35px 10px 20px 0;}
#post {padding: 10px;margin-bottom: -20px;}

.post + .post {
    margin-top: 20px;
}

.post .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--post-p);
    justify-content: center;
    position: relative;
    /* align-items: flex-start; */
    border: var(--border2) !important;
    border-left: none !important;
    border-radius: 0 20px 20px 0;
    padding: 10px;
background: var(--pun)
}

/* rating */

.post .post-rating a,
.post .post-vote a {
    font: 700 10px var(--font-fav) !important;
    color: var(--color-accent3);
    display: flex;
    gap: 7px;
    justify-content: center;
    align-items: center;
}

.post-rating a:before,
.post-vote a:before {
content: '';
  transition: all 0.5s;
background: var(--color-gray1);width: 16px; height: 16px;
}
.post-rating a:before {
mask: url(https://forumstatic.ru/files/001c/84/38/38345.svg);
}
.post-vote a:before {
mask: url(https://forumstatic.ru/files/001c/84/38/63851.svg);
}
.mylike .post-rating a:before, .post-rating a:hover:before {
mask: url(https://forumstatic.ru/files/001c/84/38/63426.svg);
}
.post-vote a:hover:before {
mask: url(https://forumstatic.ru/files/001c/84/38/67233.svg);
}
.post .post-vote a {
    font-size: 0 !important;
}
.post-rating .container, .post-vote .container {
    border: none !important;
}

.mylike .post-rating a, .post-rating a:hover {color: var(--color-dark2);}

.post-rating a:hover:before, .post-vote a:hover:before {background: var(--color-dark2);}


.post-body {
    display: block;
    width: calc(100% - var(--prof-w) - var(--post-p));
    position: relative;
}

.post-content {
  width: 100%;
  text-align: justify;
/*  overflow: hidden;*/
}

.post-content img.postimg {
  vertical-align: middle;
}

.post-content table {
  table-layout: fixed;
}

.post-content table td {
  border: none !important;
  vertical-align: top;
}

.post-content p {
  margin: 0;
  padding-bottom: 10px;
  line-height: 150%;
  text-align: justify;
}

#topic-users-in {
    text-transform: lowercase;
    margin: 15px 0;
    color: var(--color-gray1);
    font: 600 11px var(--font-sec);
    letter-spacing: 0.05em;
}

#topic-users-in a {
    color: var(--color-dark1);
}

#topic-users-in span {
  font-weight: 600 !important;
}

#topic-users-in a:after {
  content: ",";
  margin-right: 2px;
}

.formsubmit {
  display: flex;
  gap: 10px;
  align-items: center;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  color: var(--color-gray1);
  font: 500 10px var(--font);
}

#profile1 > p > input {
  margin-left: 123px;
}

#post-form ~ .post {
  margin-top: 40px;
}

#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;
}

#pun-login label {
  white-space: nowrap;
}

#pun-post .post h3 span {
  margin-top: 0px;
}

#pun-messages h3 {
    margin: 0;
}

/* font size */
.settings_wrap {
    position: fixed;
    top: 65px;
    left: calc(50% + 511px);
}

.slide_button:before {
    content: '\e245';
    font: 500 16px var(--mat1);
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .5s;
    background: var(--color-light2);
}

.slide_block {
    display: none;
    position: absolute;
    margin-top: 10px;
    padding: 10px;
    font: 500 11px var(--font-fav);
    text-transform: lowercase;
}

.slide_button.i_active:before {
    color: var(--color-accent3);
}

.slide_button:before, .slide_block {
    color: var(--color-dark2);
    border-radius: 5px;
}

.slide_button.i_active:before, .slide_block {
    background: var(--pun1);
}

div#chfont {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

div#chfontsize {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.fsizeplus, .fsizeminus {
    font-size: 14px;
}

.fsize {
    color: var(--color-accent1);
}

/* new theme */
.required label,
.datafield .input,
.selectfield label,
.inputfield label,
/*.inputfield.required.longinput,*/
#pun-admain legend span,
#setmods dt {
  background-color: transparent !important;
  font: 400 10px var(--font) !important;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 7px;
  color: var(--color-gray1);
}

.inputfield.required.longinput:last-child {
  display: flex;
  align-items: center;
}

/* checkboxes */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  vertical-align: middle;
  font: 400 10px var(--font);
  padding: 2px 0;
  display: inline-block;
}

/* PAGES: VIEWFORUM, SEARCHPOSTS, ETC
--------------------------------------------------------------------------------------------------------------------------*/
.newtext {
  font-size: 10px;
}

.newtext a {
  color: var(--link) !important;
}

.pagestext a {
  color: var(--link) !important;
}

#pun-viewforum .category {
  margin-bottom: 10px;
}

#pun-searchposts h3 span {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  gap: 10px;
}

#pun-searchposts h3 strong {
  position: absolute;
  right: 10px;
}

#pun-searchposts .FNTslider {
  position: absolute;
  right: 0;
  top: -50px;
}

#pun-searchposts h3 span a {
  display: inline-flex;
  align-items: center;
}

/* PAGES: VIEWPROFILEb
--------------------------------------------------------------------------------------------------------------------------*/
#viewprofile tr {
    display: grid;
    grid-template-columns: 190px 1fr;
    font: 500 11px var(--font);
    align-items: start;
    padding: 10px;
    position: relative;
    border-radius: 20px;
    border: var(--border2);
    gap: 10px;
}

#profile-signature tr {
  display: block;
  margin: 0px 0 0 0;
  border: none !important;
  background: none !important;
}
#profile-signature {
  margin-top: -10px;
}

#profile-signature ul {
  border: none !important;
  padding: 0px !important;
}

/* left part */
#viewprofile #profile-left {
    width: inherit !important;
    text-transform: lowercase;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

li#profile-name {
    position: absolute;
    left: calc(190px + 20px);
}

li#pa-avatar {
    margin-top: 12px;
    background: var(--color-gray2);
    width: calc(100% - 2px);
    display: flex;
    justify-content: center;
}

#profile-left #profile-name strong {
    font: 700 25px var(--font-fav) !important;
    color: var(--color-accent1);
}

/*#profile-left #profile-title strong,
#profile-left #pa-online strong {
  color: var(--color-light);
  font: 400 9px var(--font) !important;
}*/

#pa-edit a, #pa-online {
    font-size: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 7px;
    position: absolute;
    top: 10px;cursor: pointer;
}

#pa-online {    right: 10px;  background: var(--color-accent2);    color: var(--color-light1);}
#pa-edit a {    right: 45px;      background: var(--color-light2);
  color: var(--color-dark2);}

#pa-edit a:hover {
    background: var(--color-light2);
  color: var(--color-dark2);
}

#pa-edit a:before {
    content: '\f4fa';
    font: 500 16px var(--mat1);
}

#pa-online:before {
    content: '\e0e5';
    font: 500 16px var(--mat1);
    transform: rotate(-45deg) translate(2px, -2px);
}

/* right part */
#profile-right {
    width: 100% !important;
    padding-top: 35px !important;
    display: flex;
    overflow: visible !important;
    background: var(--pun);
    flex-wrap: wrap;
    justify-content: space-between;
    height: 100%;
    align-items: flex-start;
    align-content: flex-start;
}

#profile-right li {
    display: flex;
    gap: 5px;
    text-transform: lowercase;
    flex-direction: column;
    font: 400 9px var(--font1);
    height: 50px;
    background: var(--color-light2);
    border-radius: 5px;
    padding: 5px;
    justify-content: flex-start;
}

#profile-right li span:first-child,
#pa-email strong a {
    text-transform: uppercase;
    padding: 2px 5px;
    border-radius: 3px;
    font: 600 7px var(--font);
    width: 100%;
    text-align: center;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
}

#pa-email strong a {
    white-space: nowrap;
    width: fit-content;
}

#profile-right li span:first-child,
#profile-right li span:first-child a {
    color: var(--color-dark1);
    background: var(--pun);
}

#profile-right strong {
    font: 500 8px var(--font-fav);
    padding: 0 !important;
    text-align: center;
}

#profile-right strong,
#profile-right strong a {
  color: var(--color-dark2) !important;
}

#profile-right #pa-posts strong a {font-size: 0;}

#pa-fld1 {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 188px;
    height: 16px !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 9;
}

#pa-fld1 strong {
    font: 600 10px var(--font);
}

#pa-posts {
  order: 2;
}

#pa-respect {
  order: 3;
}

#pa-positive {
  order: 3;
}

#pa-fld4 {
  order: 4;
}

#pa-posts,
#pa-respect,
#pa-positive,
#pa-fld4,
#pa-fld5,
#pa-register-date,
#pa-time-visit,
#pa-last-post,
#pa-last-visit {
  width: calc(100% / 6.5);
}

#pa-posts strong {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

#pa-fld5 {
  order: 5;
}

#pa-register-date {
  order: 6;
}

#pa-time-visit {
  order: 6;
}

#pa-last-post {
  order: 7;
}

#pa-last-visit {
  order: 8;
}

#profile-right #pa-email {
    position: absolute;
    background: transparent;
    bottom: -16px;
    height: fit-content;
    left: 0;
    width: 100%;
    padding: 0;
}

#pa-email strong {
    font-size: 0;
    display: flex;
    gap: 5px;
    justify-content: center;
}

#pa-fld3 {
  position: absolute;
  right: -15px;
  top: -15px;
}

#pa-fld3 img {
  max-height: 20px;
  max-width: 20px;
}

#pa-name,
#pa-birthdate,
#pa-location {
  width: calc(100% / 3.1);
}

#pa-name {
  order: 9;
}

#pa-birthdate {
  order: 10;
}

#pa-location {
  order: 11;
}

/* navigation */
#profilenav {
    display: flex;
    justify-content: space-between;
    background: var(--color-light2);
    border-radius: 5px;
    padding: 3px;
}

#profilenav ul {
    margin: 0;
    display: flex;
    gap: 3px;
    font: 500 9px var(--font-fav);
    text-transform: lowercase;
    flex-wrap: wrap;
}

#profilenav a {
    color: var(--color-dark2);
    padding: 2px 9px 4px 9px;
    display: block;
    border-radius: 3px;
}

.messages-container #profilenav ul:first-of-type a {
    background: var(--color-accent2);
    color: var(--color-light1);
}

#profilenav a:hover {
    background: var(--color-gray1);
    color: var(--color-light1);
}

#profilenav .isactive a {
    background: var(--color-accent2);
    color: var(--color-light1);
}

/* inside */
#profile fieldset,
.adformal {
  padding: 20px;
}

#pun-messages #profile fieldset {
    padding: 0;
}

#pun-profile fieldset,
#pun-profile .adfs-box {
  text-transform: lowercase;
  font: 500 11px var(--font);
}

#profile fieldset fieldset {
  margin-left: 0px !important;
  padding: 0px;
}

#filetable thead tr {
  display: table-row;
}

#pun-profile #profile {
  min-height: 280px;
}

span.files-page-select select {
  padding: 0px 7px;
}

/* PAGES: USERLIST, RESPECT, ONLINE
--------------------------------------------------------------------------------------------------------------------------*/
.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;
  overflow: hidden;
}

/* userlist */
.username,
td.pmtc22 {
  display: grid;
  grid-template-columns: 36px auto;
  grid-template-areas: "ava user";
  gap: 10px;
  align-items: center;
}

#pun-online .username {
  display: block;
}

/*td.pmtc22 {
justify-content: end;
}*/

.usersname,
td.pmtc22 a,
#pun-viewforum td.tcr .byuser,
#pun-searchtopics td.tcr .byuser {
  grid-area: user;
}

.usersname a {
  color: var(--color-accent);
}

/* PAGES: MESSAGESb
--------------------------------------------------------------------------------------------------------------------------*/
#pun-messages .hasicon {
margin: 0 0 10px 0;
}

#pun-messages .post-links {
  margin-bottom: -12px;
}

.postlink.long .new-topic {
  padding: 0 !important;
}

#profile.formal.messages-container .container {
  min-height: 70px;
}

#notify-settings {
  font: 400 9px var(--font);
  text-transform: lowercase;
  letter-spacing: 0.5px;
  color: var(--color-gray1);
  margin-left: calc(var(--profnav-w) + 15px);
}

input#OnOff_Notify {
  margin-top: -2px;
}

#volSlider.vol_slider {
  margin-top: 1px;
}

/* SCROLLBAR / SELECTION
--------------------------------------------------------------------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--color-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent1);
}

.scrollbox::-webkit-scrollbar-track {
  background: var(--color-light);
}

/* selection */
::selection,
.highlight-text {
  color: var(--color-light1);
  background: var(--color-accent3) !important;
}

/* 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 thead,
.forum thead,
#profile thead,
#pun-index .tcr br,
/*#pun-index .tc2,
#pun-index .tc3,*/
.lastedit,
.pa-reg,
.pa-gifts,
.pa-replies,
.sharelink,
.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,
#pun-post .topic h2,
.hide-box .qcn,
#topic-feed,
.modal-inner h2 span,
.catleft,
.catright,
#button-smile,
#button-files_rusff,
#button-graffiti_rusff,
#pun-index .subforums em,
.reactions-root,
.qcn,
.pa-ip .fld-name,
#pun-searchposts h3 span a:last-child:after,
#pun-index .tclcon span a:last-child:after,
#pun-index .subforums a:last-child:after,
#pa-email span:first-child,
.pa-online,
.mylike .post-vote,
#pun-navlinks a span,
.statscon .item1 span,
.statscon .item2 span,
.statscon .item3 span,
.statscon .item4 span,
#post #post-preview legend,
#pun-searchtopics td.tc2:before,
#pun-messages .tc2:before, #pun-messages .tc3:before,
#pun-userlist .linkst,
.pa-title,
.postlink .closed,
#profile-title,
#pa-fld1 span,
#profilenav h2,
#messages legend,
#profilenav li.item9,
#profilenav li.item12,
.theme.need:before,
.theme br,
.guest br,
.esthetics br,
#pa-time-visit {
  display: none !important;
}

.pun-modal.unread-notifications .modal-inner h2 span,
.pun-modal.rating_theme h2 span {
  display: inline-block !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,
  #pun-respect td,
  #pun-respect th,
  #pun-positive td,
  #pun-positive th,
  #pun-viewforum td,
  #pun-searchtopics td,
  .quote-box a,
  .quote-box,
  .code-box a,
  .code-box,
  .theme.store theme_block p {
    -webkit-text-size-adjust: none;
  }
  .hashelp center div a button,
  .button,
/*  input,*/
  select {
    -webkit-appearance: none !important;
  }
  .go-up,
  .go-down {
    display: none !important;
  }
.pa-author {
    writing-mode: inherit;
    transform: none;
    top: -20px;
    left: -1px;
    height: 20px;
    width: fit-content !important;
    border-radius: 10px 10px 0px 0;
    padding: 0 20px;
    align-items: center;
    border-left: var(--border);
    border-bottom: none;
}
.post-author ul {
    border-top-left-radius: 0;
}

.firstpost .post-author ul {margin-top: 20px;}
}


.pa-fld5 {
    opacity: 0;
    height: 0;
}

/*****************
Стиль "Тихой Цитаты"
*****************/
.quiet-quote{
  position:relative;
  display: table;
  margin: 4px 15px 0px 19px!important; /*Отступы*/
  font-style: italic;
  font-size: 11px;
  color: #695f5f;
  /*text-align:justify;
  border:red solid 1px;*/
}
.quiet-quote>p{
  line-height:normal!important;
}
.quiet-quote:before, /*Шрифт, Цвет, Размер иконок*/
.quiet-quote:after{
  font-size: 17px;
  display: inline-block;
  position:absolute;
  z-index:1000;
  font-weight: 900;
  color: #695f5f; /*Цвет Кавычек*/
  font-family:System, Arial, sans-serif;
}
.quiet-quote:before{
  content: "\201C";  /*Код левой кавычки к Тихой цитате*/
  left:-13px;
  top:5px;
}
/*Код правой кавычки к Тихой цитате
Cкрыл Правую кавычку
.quiet-quote:after{
  content: "\201D"; 
  right: -15px;
  bottom: -20px;
} */  
/*************************
/END//Стиль "Тихой Цитаты"
*************************/


/************************* 
Стиль для Быстрой смены аккаунтов 
Deff 
*************************/ 
/*Cкрытие формы входа без клика*/ 
#pun-navlinks a:not(.NextShow)+span.odd{ 
display:none!important; 
}
#pun-navlinks a:not(.NextShow)+span.odd{
  display:none!important; 
}
#pun-navlinks a.NextShow+span.odd{
 position: absolute!important; 
}
/*Стиль доп-иконки Выход!*/ 
#pun-navlinks a#New-exit {
  background: transparent!important; 
  position:absolute;
  z-index:100000!important;
  margin-top: -20px !important;
  margin-left: 22px !important;
  display:inline-block!important; 
}
#pun-navlinks #New-exit img{ 
 position: absolute;
 left: 0;
 top: 0px;
 width: 18.5px;
 height: auto;
 transition: .63s;
}
#pun-navlinks #New-exit:hover img{
transition: .63s;
 opacity: .42;
}
.punbb #pun-navlinks a#New-exit:before {
    content:none;
}
.punbb #pun-navlinks #form-login input{
text-align: center;
border: 1px solid #5D6755;
text-rendering: auto; 
color: #000000!important;  
margin-top: 4px!important;
margin-bottom: 3px!important;
border-radius: 5px; 
letter-spacing: 0.2; 
word-spacing: normal; 
text-transform: none; 
text-indent: 0px; 
text-shadow: none; 
display: inline-block!important; 
text-align: center;
box-sizing: border-box;
height:20px;
width:67px;
width: 110px;
padding: 4px;
font: normal normal 400 11px/normal Verdana!important; rgb(250, 255, 189)
background-color: rgba(250,255,189,.88);
}
.punbb #form-login #fld1:empty,#form-login #fld2:empty,
.punbb #form-login #fld1,#form-login #fld2{ 
background-color: #d4d4d4;
} 
.punbb #pun-navlinks #form-login input[type="submit"]{ 
margin: 13px 0 2px!important;
box-sizing: border-box;
height:26px;
width:67px;
font-size: 11px!important;
color: #ffffff !important;
background: #8db39d!important;
border: 1px outset rgba(161,172,152,.8)!important;
text-align: center;
padding: 0 12px!important;
border-radius: 13px;
font-family: Verdana!important;
font-weight: 700!important;
transition: all 0.5s ease-in-out 0s;
letter-spacing: 0.8;
cursor:pointer;

/*border: 2px outset #83693E!important; 
color:#565462!important;
font-weight:700!important; */
} 
.punbb #pun-navlinks #form-login input[type="submit"]:hover{
  opacity:0.6;
}

/*Стиль формы входа*/
.punbb #pun-navlinks #form-login *,
.punbb #pun-navlinks #form-login {
   box-sizing:content-box;
} 
.punbb #pun-navlinks #form-login { 
background: #EFEFEF;
min-height:183px;
border: 1px solid #626262;
border-radius: 0px 0px 6px 6px;
color: #000000;/*BCBCBC;*/
display: block;
font: 11px "Verdana";
left: 0px;
padding: 8px 12px;
margin: 1px 0;
position: absolute !important;
text-align: center;
word-spacing: normal;
white-space: normal;
/*text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.235);*/
text-transform: none;
letter-spacing: 0.2px!important; 
top: 6px;
width: 122px;
z-index: 100000!important;
}
#pun-navlinks #navlogin #form-login {
  margin-left: -30px;/*Подвижки формы влево от вход*/ 
} 
#pun-navlinks #navlogout #form-login { 
  margin-left: -30px;/*Подвижки формы влево от выход*/
} 
.ismoderator #pun-navlinks #navlogout #form-login {
  margin-left: -30px!important;/*Подвижки формы влево от выход для АМС*/
} 
/*Стиль ссылок в форме "Не зарегистрированы" и "Забыли пароль" */ 
#pun-navlinks #form-login input[value="Войти"]+p{ 
 margin: 11px 0;
} 
.punbb #pun-navlinks #form-login a.Rega, 
.punbb #pun-navlinks #form-login a.Forgot{ 
position:relative; 
text-transform: none!important; 
z-index:20; 
cursor:pointer; 
font: normal normal 200 10px/normal Verdana!important; 
letter-spacing: 0.4!important; 
display:inline;
background: none!important;
padding: 0 0 0 3px!important;
color: #76333C!important;
font-size: 9px!important;
/*text-shadow: 1px 1px 1px rgba(40, 52, 61, 0.39);*/
}
.punbb #pun-navlinks #form-login a.Rega:before, 
.punbb #pun-navlinks #form-login a.Forgot:before{
  content:none;
}
/* Помечаем красным незаполненные поля!*/ 
#form-login input.none{ 
outline:red dashed 2px!important; 
} 
/*Форма слева(с Никами) */ 
#List-UserNames { 
position:absolute; 
margin-top:-9px; 
min-height:90px; 
width:220px; 
right:100%; 
padding: 12px 19px 12px 17px; 
background: #EFEFEF;
border-color: #626262; /* Цвет границы */
border-style: solid; /* Стиль границы */
border-width: 1px 1px 1px 1px; /* Толщина границы */ 
border-radius:0 0 0px 6px;
text-align:center; 
/*box-shadow:inset 0.23em 0 3.4em rgba(20,20,11,.99);*/ 
} 
/*Стиль контейнера под список Ников*/ 
.punbb #List-UserNames ul{
padding: 0;
overflow:hidden; 
overflow-y:auto; 
min-height:36px; 
max-height:72px;/*Видимое число Ников без прокрутки! сейчас - 4*/ 
} 
.punbb #List-UserNames li {
display: block!important;
position: relative;
background: #70b996;
text-transform:none!important;
text-align: left;
box-shadow: 2px 2px 1px rgb(106,109,94);
padding-left: 5px!important;
font: normal normal 700 12x/normal Verdana!important;
letter-spacing: 0.4;
margin: 1px auto!important;
padding: 2px 0;
transition: .33s;
}
.punbb #List-UserNames li:hover{ 
opacity:.84; 
/*background:#83693E!important;*/
} 
/*Стиль Ников*/ 
.punbb #List-UserNames li>b{ 
cursor: pointer;
opacity: .9;
color: #fffefe;;
text-shadow: 1px 1px 1px rgb(0, 0, 0);
letter-spacing: 0.3;
} 
.punbb #List-UserNames li>b:hover{ 
opacity:.93; 
text-shadow:1px 1px 1px rgba(0,0,0,.6); 
} 
/*Скролл контейнера с никами*/ 
#List-UserNames ul::-webkit-scrollbar { 
width: 3px; 
height: 5px; 
} 
#List-UserNames ul::-webkit-scrollbar-track { 
background-color: #393A38; 
border: 0px solid #d7d8d9; 
box-shadow: none; 
} 
#List-UserNames ul::-webkit-scrollbar-thumb {
background-color: #C0BFBD;
border: 0px solid #d7d8d9; 
box-shadow: none; 
} 

/*Кнопки Удалить (правее ников)*/ 
#List-UserNames ul li>span { 
display:inline-block; 
padding:0 3px; 
position:absolute; 

opacity:.88; 
cursor:pointer; 
top:0;bottom:0; 
right:2px; 
color:#fff; 
font: normal normal
 
700 10.56px/normal Verdana; 
text-shadow:1px 1px 1px rgba(0,0,0,.6); 
} 
/*Текст при отсутствии запомненных Ников!*/ 
#List-UserNames ul:empty:before{ 
display:inline-block; 
content: "У Вас нет запомненных ников, введенных через форму справа, или через перенос ниже!"; 
} 
/*Кнопка выход-2*/ 
#navlogin #exit-2 { 
display:none; 
} 
#pun:not(.isguest) #navlogout .Rega, 
#pun:not(.isguest) #navlogout .Forgot { 
display:none!important; 
} 
/*Стиль блока с инпутом для переноса и вставки запомненных Аккаунтов*/ 
#List-UserNames ul+span{ 
display:inline-block; 
padding:6px 0 8px 0; 
text-align:left; 
font: normal normal 400 10.56px/normal Verdana;
} 
/*Сам инпут*/ 
.punbb #List-UserNames input { 
border: 1px solid #5D6755!important; 
text-shadow: none!important; 
color:#333!important;
background-color: #D4D4D4;
font: normal normal 400 11px/normal Verdana!important; 
/* box-shadow: inset 0px 0px 3px rgba(100,102,80,.97); */ 
margin-top: 9px; 
padding: 2px !important; 
vertical-align: middle; 
} 
/*Стрелочки к инпуту*/ 
#List-UserNames ul+span b{ 
font: normal normal 400 13px/normal Verdana; 
padding:0 3px; 
color: #000000;
} 
/*Кликалка слева, чуть выше инпута*/ 
#List-UserNames .a1-copy{ 
display:inline-block!important; 
cursor:pointer; 
float:left; 
} 
/*Кликалка справа*/ 
#List-UserNames .a1-paste{ 
cursor:pointer; 
display:inline-block!important; 
float:right; 
} 
/*Подсказки на кликалках*/ 
.tipsy.a11 { 
font: normal normal 400 11px/normal Verdana!important; 
margin-top:-22px!important; 
margin-left: 148px!important; 
max-width:170px; 
} 
/************************* 
//Конец Стиля для Быстрой смены аккаунтов 
*************************/