/*************************************************************
CODE STRUCTURE BY BLANCHE, GRAPHICS BY JUDASCARE
**************************************************************

FONTS / ROOT / LINKS
-------------------------------------------------------------*/
@import url(style_cs.1728235334.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://forumstatic.ru/files/001a/e6/32/64733.css'); /* helvetica */

@font-face {
  font-family: riviera;
  font-weight: normal;
  src: local('riviera'), url(https://forumstatic.ru/files/001c/14/2a/68359.woff) format('woff');
}

@font-face {
  font-family: 'yeseva one';
  src: url('https://forumstatic.ru/files/001c/14/5b/35162.woff') format('woff'),
    url('https://forumstatic.ru/files/001c/14/5b/48783.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'leotaro';
  src: url('https://forumstatic.ru/files/001c/14/5b/41516.woff') format('woff'),
    url('https://forumstatic.ru/files/001c/14/5b/57932.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: fav;
  font-weight: 500;
  src: local('AlchemiaDecorative'),
    url(https://forumstatic.ru/files/001c/14/5b/60747.otf) format('opentype');
}

@font-face {font-family: Cuprum; 
src: local("Cuprum"), url(https://forumstatic.ru/files/001c/14/5b/41529.ttf);}

@font-face {font-family: Santa Catarina; 
src: local("Santa Catarina"), url(https://forumstatic.ru/files/001c/14/5b/32152.ttf?v=1);}

@font-face {font-family: Halimun; 
src: local("Halimun"), url(https://forumstatic.ru/files/001c/14/5b/64639.ttf);}

@font-face {font-family: Raleway; 
src: local("Raleway"), url(https://forumstatic.ru/files/001c/14/5b/18410.ttf);}

@font-face {font-family: Journalism; 
src: local("Journalism"), url(https://forumstatic.ru/files/001c/14/5b/54048.ttf);}

@font-face {font-family: Comforter; 
src: local("Comforter"), url(https://forumstatic.ru/files/001c/14/5b/23469.ttf);}

@font-face {font-family: Doppelganger; 
src: local("Doppelganger"), url(https://forumstatic.ru/files/001c/14/5b/25969.otf);}

@font-face {font-family: Playfair Display; 
src: local("Playfair Display"), url(https://forumstatic.ru/files/001c/14/5b/82500.ttf);}


/***************************************/

:root {
  --bg: url(https://forumstatic.ru/files/001c/14/5b/73061.jpg);
  --bg1: url(https://forumstatic.ru/files/001c/14/5b/73721.jpg);
  --title-bg: url();
  --foot: url();

  --notify: var(--col1);
  --link: #af261c;

  --bg-color: var(--pun);
  --pun: #d2cdc8;
  --pun1: #202020;
  --col1: #9d4943;
  --col2: #6b201b;

  --font: helv;
  --font-fav: fav;

  --title-h: 210px;
  --prof-w: 240px;
  --profnav-w: 110px;
  --main-w: 1000px;
  --main-p: 20px;
  --usav: 30px;
  --foot-h: 0px;
  --icon-w: 10px;
  --intd-gap: 20px;

  --anim: all 0.7s;

  --mat: 'Material Symbols Outlined';
  --mat1: 'Material Symbols Rounded';
}

/***************************************/

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(--col2);
}

:focus {
  outline: none !important;
}

.adlabel,
.adlabel a {
  color: var(--pun) !important;
}

/* ETO BAZA: BODYb, PUNb, TITLEb
--------------------------------------------------------------------------------------------------------------------------*/
html,
body {
  margin: 0;
  padding: 0;
}

body,
body.redirect-page {
  background: var(--bg) fixed var(--bg-color);
}

body:before {
  content: '';
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: -1;
  right: calc(50% + 260px);
  top: 0;
  background: var(--bg1);
}

/***************************************/

#pun {
  position: relative;
  width: var(--main-w);
  background: var(--pun1);
  font: normal 68.75% verdana, arial, helvetica, sans-serif;
  color: #151515;
  margin: var(--title-h) auto 70px auto;
  border: 1px solid var(--col2);
  border-radius: 30px 0;
}

#pun:before {
  content: '';
  position: fixed;
  background: url(https://forumstatic.ru/files/001c/14/5b/36184.png);
  width: 646px;
  height: 1080px;
  top: -1px;
  left: calc(50% - 750px);
  z-index: -1;
}

#pun:after {
  content: '';
  position: fixed;
  background: url(https://forumstatic.ru/files/001c/14/5b/87010.png);
  width: 647px;
  height: 1080px;
  left: calc(50% + 127px);
  z-index: -3;
  top: 0;
}

.punbb {
  padding: /*var(--main-p)*/ 10px;
  box-sizing: border-box;
}

#pun-index .hasicon tr,
.statscon,
.post-body,
form,
#pun-admain,
.usertable,
#pun-respect .container table,
#pun-positive .container table,
.section.online-list,
.info-box, .info,
#viewprofile,
.forum,
#profile {
  background: var(--pun);
  border-radius: 5px;
  border: 1px solid var(--col2);
  padding: var(--main-p);
  box-sizing: border-box;
}

#pun-index .hasicon tr,
.statscon {
  margin: 0 75px;
}

#pun-viewforum .hasicon {  margin: 0 }

.post-body,
form,
#pun-admain,
.usertable,
#pun-respect .container table,
#pun-positive .container table,
.section.online-list,
.info-box, .info,
#viewprofile,
.forum,
#profile {
  border-radius: 30px 0;
}

#pun-admain {
    padding-left: 16em;
}

#userlist {
    border-bottom-right-radius: 0;
}

.usertable {
    border-top-left-radius: 0;
    margin-top: 20px;
}

form#messages, #pun-messages .post-body, #pun-messages form#post {
    padding: 0;
    border: none;
}

/***************************************/

#pun-announcement {
  margin: 0 0 0 calc(0px - var(--main-p));
  width: var(--main-w);
}

#pun-announcement:before,
#pun-announcement tabla:after {
  position: absolute;
  transition: all 0.5s;
  content: '';
}

#pun-announcement:before {
  left: 30px;
  background: url(https://forumstatic.ru/files/001c/14/5b/22334.png);
  width: 363px;
  height: 366px;
  top: -210px;
}

#pun-announcement tabla:after {
  background: url(https://forumstatic.ru/files/001c/14/5b/55723.png);
  right: 16px;
  top: 0px;
  width: 715px;
  height: 261px;
  z-index: -2;
}

#pun-announcement tabla:hover:after {
  opacity: 0;
}

/* NAVLINKS / ULINKS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-navlinks .container,
#pun-ulinks .container {
    display: flex;
    margin: 0;
    justify-content: flex-end;
    gap: 10px;
    text-transform: uppercase;
    flex-wrap: wrap;
    position: absolute;
    font-family: var(--font);
    right: 20px;
    width: 750px;
    text-align: right;
    z-index: 9;
}

#pun-ulinks a,
#pun-navlinks a {
  padding: 0 3px;
}

#pun-navlinks .container {
  top: 50px;
  font-weight: 600;
  font-size: 13px;
}

/* ulinks */
#pun-ulinks .container {
  font-size: 9px;
  top: 80px;gap: 5px;
}

#pun-navlinks a,
#pun-ulinks a {
  color: var(--pun);
}

#pun-navlinks a:hover,
#pun-ulinks a:hover {
  color: var(--col1);
}

#navadmin a:before {
  content: 'амс';
}

/* STATUS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-status .container {
  font-family: var(--font);
  margin: 0;
  font-size: 10px;
  text-transform: lowercase;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 650px;
  text-align: right;
}

#pun-status strong,
#pun-status a {
  color: var(--col1);
  font-weight: 500;
}

#pun-status,
#pun-status .status-right a {
  color: var(--pun);
}

#pun-status .status-right {
  float: none !important;
}

/* CATEGORY
--------------------------------------------------------------------------------------------------------------------------*/
#pun-index .category .container,
.statscon {
  position: relative;
}

.category h2,
#pun-stats h2 {
  margin: 30px 40px -20px 40px;
  position: relative;
  transition: all 0.5s;
}

#pun-stats h2 {margin-bottom: 0}

.category h2:before,
#pun-stats h2:before {
  background: url(https://forumstatic.ru/files/001c/14/5b/80430.jpg);
  content: '';
  position: absolute;
  top: -30px;
  right: -20px;
  width: 116px;
  height: 125px;
  z-index: 0;
}

/***************************************/

.category h2 span,
#pun-stats h2 span {
    font-family: var(--font-fav);
    font-size: 80px;
    line-height: 1px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #83312a;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    margin-right: 120px;
    white-space: nowrap;
}

.category:hover h2,
#pun-stats:hover h2 {
  transform: translateX(20px);
}

/* 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)*/ 100%;
}

.hasicon tr,
thead tr,
.usertable tr,
#messages tr,
#pun-searchtopics tr,
#pun-respect tr,
#pun-positive tr,
#pun-online tr,
.profile-awards-container tr {
  display: grid;
  gap: 10px;
  grid-template-columns: 50% 8% 8% 30%;
  justify-content: space-between;
  text-transform: lowercase;
  font-family: var(--font);
  color: var(--pun1);
  margin: 0;
  position: relative;
  align-items: center;
}

/***************************************/

#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: 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 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 {
    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';
}

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(--col1);
}

/* PUN-INDEX / PODFORUMS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-index .hasicon {
  gap: 30px;
}

#pun-index .hasicon tr {
  position: relative;
  box-sizing: border-box;
  grid-template-columns: calc(365px + var(--intd-gap) + 67px) 1fr;
  gap: 30px;
  color: #555555;
  padding-right: 30px !important;
  overflow: hidden;
}

/* 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 .tcl h3 {
  font-size: 20px;
  text-align: left;
  margin: 0 0 7px 0;white-space: nowrap;
}

#pun-index .tcl h3 a {
  color: var(--col1);-webkit-text-size-adjust: none;
}

#pun .intd:hover h3 a {
  opacity: 0.5;
}

#pun-index .tclcon {
  grid-area: for;
  font-size: 10px;
  text-align: justify;
  letter-spacing: 1px;
  line-height: 20px;
  text-transform: lowercase;
  font-weight: normal;-webkit-text-size-adjust: none;
}

#pun-index .tclcon span,
#pun-index .subforums,
.f_links {
  position: relative;
  display: flex;
  gap: 0 15px;
  flex-wrap: wrap;
  margin: 7px 0 0 0;
}

#pun-index .tclcon span a,
#pun-index .subforums a,
.f_links a {
  color: #494949;
  font-size: 12px;
  font-family: var(--font);
  text-transform: lowercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

#pun-index .tclcon span a:hover,
#pun-index .subforums a:hover,
.f_links a:hover {
  color: var(--col1);
}

/*#pun-index .tclcon span a:after,
#pun-index .subforums a:after,
.f_links a:after {
  background: var(--bg-color);
  content: '';
  width: 5px;
  height: 5px;
  margin-top: 1px;
  border-radius: 50%;
}

#pun-index .tclcon span a:last-child:after,
#pun-index .subforums a:last-child:after,
.f_links a:last-child:after {
  display: none;
}*/

/* right part */
#pun-index .tcr {
  display: grid;
  grid-template-columns: 200px var(--usav);
  grid-template-rows: auto auto;
  gap: 3px 20px;
  grid-template-areas:
    'lastpost1 ava'
    'lastpost2 ava';
  justify-content: end;
  align-items: center;
  justify-items: end;
  align-content: center;
}

.lastpost-link {
  font-weight: 700;
  grid-area: lastpost1;
  color: var(--col1);
  text-align: right;
  display: flex;
  height: 100%;
  text-transform: lowercase;
  font-size: 12px;
  align-items: flex-end;
  line-height: 15px;
}

.lastpost-link:hover {
  color: var(--col2);
}

.lastpost {
  grid-area: lastpost2;
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 600;
  text-align: right;
}

/* user-avatar */
.user-avatar a {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.user-avatar,
.avatar-image {
  border-radius: 50% !important;
}
.user-avatar {
  margin: 3px 0 0 0 !important;
  background: #bb7b76;
  width: var(--usav) !important;
  height: var(--usav) !important;
  grid-area: ava;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--col1);
}

.avatar-image {
  opacity: 1 !important;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  width: var(--usav) !important;
  height: var(--usav) !important;
}

.isonline {
  background: var(--col2) !important;
  top: auto !important;
  right: auto !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
}

.tcr:hover .user-avatar {
  transform: scale(1.2);
}

/* ICONb
--------------------------------------------------------------------------------------------------------------------------*/
.intd {
  display: grid;
  grid-template-columns: var(--icon-w) 1fr;
  align-items: flex-start;
  gap: var(--intd-gap);
}

#pun-index .intd {
  grid-template-areas: 'icon for';  grid-template-columns: 67px 1fr;
}

#pun-index .intd .icon {width: 67px;
  grid-area: icon;
  margin: calc(0px - var(--main-p) - 1px) 0 0 calc(0px - var(--main-p) - 1px);  height: 118px!important;
}

#pun-index .intd .icon.inew,
#pun-index .intd .icon-new {
  background: url(https://forumstatic.ru/files/001c/14/5b/30204.jpg);
}

.intd .icon {
  width: var(--icon-w);
  height: calc(var(--icon-w) * 2);
  transition: all 0.2s;
}

.intd .icon:before {
    content: '';
    width: var(--icon-w);
    height: calc(var(--icon-w)* 2);
    background: var(--pun1);
    display: block;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.intd .icon.inew,
.intd .icon-new {
}

.intd .icon.inew:before,
.intd .icon-new:before {
background: var(--col2);
}

.isticky .intd .icon {
}

.isticky .intd .icon:before {
background: var(--col1)
}


.iclosed .icon {
opacity: .5
}

/* CRUMBS
--------------------------------------------------------------------------------------------------------------------------*/
.crumbs {
    margin: 20px 0px;
    font-family: var(--font);
    font-weight: 800;
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    text-transform: lowercase;
    align-items: center;
}

.crumbs a {
  color: var(--col1);
  display: inline-flex;
  align-items: center;
}

.crumbs {
  color: var(--pun);
}
.crumbs a:hover {
  color: var(--pun);
}

.crumbs a:after,
#pun-searchposts h3 span a:after {
    content: '';
    background: var(--col1);opacity: .5;
    margin: 3px 0 0 10px;
    height: 10px;
    width: 7px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* STATSCON
--------------------------------------------------------------------------------------------------------------------------*/
#pun-stats .container {
  display: grid;
  grid-template-columns: auto auto;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-size: 10px;
  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: inherit;
  height: var(--foot-h);
  text-align: center;
  display: flex;
  justify-content: flex-start;
  background: var(--foot);
  position: relative;
}

#pun-about .container {
  font-family: var(--font);
  font-size: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
  margin-top: 110px;
  left: 10px;
}

#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: 0px;
  font-family: var(--font);
  padding: 10px 10px 31px 10px;
  box-sizing: border-box;
  margin: 10px 0 30px 0px;
  color: #838383;
}

.pa-avatar:before, .pa-avatar:after {
  content: '';
  background: var(--col2);
  position: absolute;
  left: 0;
  width: 100%;
}

.pa-avatar:before {  top: 21px; height: 82px;}
.pa-avatar:after {  bottom: 25px;  height: 115px;}

.post-author ul:before, .post-author ul:after {
    position: absolute;
    content: '';
    background: url(https://forumstatic.ru/files/001c/14/5b/56329.png);
    width: 218px;
    z-index: 1;
    border: 1px solid var(--col2);
}

.post-author ul:before {
    top: 0;
    height: 100px;
}

.post-author ul:after {
    height: 80px;
    bottom: 0;
}

.post-author.no-avatar .pa-avatar:before {
    height: calc(100% - 60px);
}

#pun-messages .post-author.no-avatar .pa-avatar:before {height: 82px;}
#pun-messages .no-avatar .pa-title {
    margin-bottom: -10px;
}

#pun-messages .no-avatar ul {
    padding-bottom: 10px;
}

.post-author li {
    width: inherit;
}

/* pa */
.pa-author {
    text-transform: lowercase;
    font-size: 15px;
    font-weight: 600;
    margin: 5px 0 15px 0;
    font-family: var(--font);
    z-index: 3 !important;
}

.pa-author,
.pa-author a {
  color: #9B958D;
}

.pa-author a:hover {
  color: var(--pun);
}

.pa-title {
  font-size: 9px;text-transform: lowercase;    z-index: 2;    margin-top: 10px;
}

.pa-avatar {
    margin: 10px 0 0px 0;
}

.pa-avatar img,
#pa-avatar img {
    max-width: 180px;
    max-height: 180px;
    box-shadow: 0 0 0 2px var(--pun), 0 0 0 4px var(--col2);
    position: relative;
    z-index: 99 !important;
}

/* posts/respect */
.pa-respect,
.pa-posts,
.pa-fld3,
.pa-fld4 {
    width: calc(calc(var(--prof-w) - 22px) / 3) !important;
    font-size: 20px;
    font-family: var(--font-fav);
    z-index: 3;
    -webkit-text-size-adjust: none;
    margin-top: 20px;
    height: 38px;    line-height: 1;
}

.pa-respect a {
  margin-right: -3px;
}

.pa-respect,
.pa-respect a,
.pa-posts,
.pa-fld3,
.pa-fld4 {
  color: var(--pun);
}

.pa-respect .fld-name,
.pa-posts .fld-name,
.pa-fld3 .fld-name,
.pa-fld4 .fld-name {
  display: block;
  font-size: 8px;
  text-transform: lowercase;
  font-family: var(--font);
  font-weight: 600;
  margin-bottom: 11px;
}

.pa-respect .fld-name,
.pa-respect .fld-name a,
.pa-posts .fld-name,
.pa-fld3 .fld-name,
.pa-fld4 .fld-name {
    color: var(--col1);
}

.pa-respect .fld-name:before,
.pa-fld3 .fld-name:before,
.pa-fld4 .fld-name:before {
content: '#';
}

.pa-respect img {
  filter: grayscale(1);
  vertical-align: middle;
  margin-top: -1px;
}

/* FLDb */
.pa-fld1 {
    font-size: 10px;
    text-transform: lowercase;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-weight: 600;
    margin: -8px -10px 0 -10px;
    background: var(--pun1);
    padding-top: 3px;
}

.pa-fld1,
.pa-fld1 a,
.pa-fld2 a {
  color: #9B342D;
}

.pa-fld1:before {
  content: '#';
  font-size: 10px;
  margin-right: 2px;
}

.pa-fld2 {
    font-size: 9px;
    padding: 10px 20px;
    text-align: justify;
    line-height: 16px;
    letter-spacing: 1px;
    margin: -5px -10px 5px -10px;
    background: var(--pun1);
    z-index: 1;
}

.pa-fld2 a {
font-weight: 600;
}

.pa-fld5 {
    margin: 0px 0 2px 0;
    z-index: 2;
}

img.prof {
    position: absolute;
    width: 218px;
    z-index: 2;
    object-fit: cover;
    border: 1px solid var(--col2);
    left: 10px;
}

img.prof.top {
  top: 0;
  height: 100px;
}

img.prof.bottom {
  bottom: 0;
  height: 80px;
}

.pa-fld7 {
    margin: -10px 0 0 0;
    position: relative;
    display: flex;
    z-index: 9;
    justify-content: center;
}

a.profosn {
    width: 10px;
    height: 9px;
    background: url(https://forumstatic.ru/files/001c/14/5b/49636.png);
}

/* online */
.indOnline,
.indOffline {
    cursor: pointer;
    position: absolute;
    width: 45px;
    height: 31px;
    right: 10px;
    top: -25px;
}

.indOnline {
    background: url(https://forumstatic.ru/files/001c/14/5b/30036.png);
}
.indOffline {

}

/* QUOTEb / SPOILERb / TEXTAREA
--------------------------------------------------------------------------------------------------------------------------*/
.quote-box,
.code-box,
textarea,
.inner,
.modal-inner,
.editBookmark,
#MyBookmarks,
.hvStickerPackModal {
  box-shadow: none !important;
  border: 1px solid;
  border-bottom: 5px solid;
  border-color: var(--col2) !important;
  background: var(--pun);
  border-radius: 5px 5px 0 0;
}

.code-box,
.spoiler-box {
  border-radius: 0px 0px 5px 5px;
  border-bottom: 1px solid;
  border-top: 5px solid;
}

.quote-box {
  margin: 30px 15px;
  position: relative;
}

.quote-main {
  padding-top: 6px;
  margin: 15px;
  border-color: var(--col2);
}

.code-box {
    margin: 30px 15px;
    position: relative;
}

td .spoiler-box {
  margin: 20px 10px;
}

cite,
.code-box .legend,
.spoiler-box > div {
  font-style: normal;
  display: block;
  font-size: 14px;
  position: relative;
  text-align: left;
  margin: 0 auto;
  font-family: var(--font);
  padding: 10px 20px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.05em;
}

.quote-box .spoiler-box > div,
.quote-box .code-box .legend {
  padding-top: 3px;
}

cite,
cite a,
cite a:hover,
.code-box .legend,
.code-box .legend a,
.spoiler-box > div {
  color: var(--pun1);
}

.post-content .spoiler-box > div {
    background-position-x: 5px !important;
    position: relative;
    z-index: 1;
}

.quote-box.answer-box:before, .hide-box:before, .code-box:before {
    content: '';
    position: absolute;
    background: url(https://forumstatic.ru/files/001c/14/5b/87216.png);
    top: 0;
    right: 0px;
    width: 116px;
    height: 53px;
    border-top-right-radius: 5px;
}

.quote-box.quote-main:before, .spoiler-box:before {
    content: '';
    position: absolute;
    background: url(https://forumstatic.ru/files/001c/14/5b/62989.png);
    width: 400px;
    height: 111px;
    top: 0;
    right: 0;
}

.quote-box.quote-main:after, .spoiler-box:after {
    content: '';
    background: url(https://forumstatic.ru/files/001c/14/5b/88475.png);
    width: 349px;
    height: 111px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
}

.quote-box.quote-main, .spoiler-box {
    padding-bottom: 20px;
    padding-top: 20px;
}

.code-box:before, .spoiler-box:before {
    top: auto;
    bottom: 0;
    transform: scale(1,-1);
}

.spoiler-box:after {
    top: 0;
    bottom: auto;
    transform: scale(1,-1);
}

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 {
  padding: 10px 20px;
  position: relative;
  z-index: 3;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

blockquote p:last-child {
  padding: 0;
}

.scrollbox {
  overflow: auto;
  font-size: initial;
  max-height: 60px;
}

/* textareab */
textarea {
  overflow: auto;
  font-size: 12px !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-box {
  padding-bottom: 20px;
}

#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;
}

#keyboard-span input {
  line-height: 10px;
}

/* CUSTOM FORM-BUTTONS WITH WRITTEN SYMBOLS © BLANCHE. free for use only with copy */
#form-buttons {
    display: grid;
    grid-template-columns: 145px 1fr;
    margin: 0px 0px -3px 0px;
    background: var(--col2) !important;
    position: relative;
    border-radius: 5px 5px 0 0;
}

#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;
  color: var(--bg-color);
}

#form-buttons td {
  background-image: none !important;
  font-family: var(--mat);
  font-size: 15px;
  width: inherit !important;
  cursor: pointer;
  transition: all 0.5s;
}

#plng {
  background: transparent !important;
  font-size: 9px;
  font-family: var(--font);
  font-weight: 600;    color: var(--pun);
}

#form-buttons td:hover {
    color: var(--col1);
}

#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';
  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';
}

/* tags */
#tags .container,
#float {
    overflow-y: auto;
    padding: 10px !important;
    height: 185px;
    font-family: var(--font);
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    z-index: 99999;
    font-size: 10px;
    background: var(--col1);
    top: 25px !important;
    margin: 0px -5px 0 1px;
    color: var(--pun);
    border: 1px solid var(--col2);
}

#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(--col2);
}

#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: 1px solid var(--col1);
  font-family: var(--font) !important;
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 5px 7px;
  color: var(--pun1);
  box-sizing: border-box;
}

select,
option {
  /*  color: var(--col2);*/
  text-transform: lowercase;
}

#topic-modmenu {
  margin-top: 20px;
}

/* 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;*/
  opacity: 0.5;
}

/* POST-LINKS / LINKST / LINSKB
--------------------------------------------------------------------------------------------------------------------------*/
.post-links {
  width: 100%;
  margin-left: 10px;
}

#pun-viewtopic .post-links,
#pun-searchposts .post-links {
  margin-bottom: -8px;
}

.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: 25px;
}

.endpost .post-links ul,
#pun-messages .post-links ul {
  padding-right: 0;
}

.endpost .post-links ul {
    padding-left: 10px;
}

.post-links li {
  display: inline-block;
}

.pl-email {
  float: left;
}

.pl-quiet_quote {
  margin-left: 10px;
}

.pl-email.pm,
.pl-email.email,
.editpole {
  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;
}

.post h3 span,
.linkst,
.linksb {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post h3 span {
  flex-direction: row-reverse;
  margin-top: -8px;
  padding-left: calc(var(--prof-w) + var(--main-p) - 10px) !important;
  box-sizing: border-box;
  position: relative;
}

.gid3 .post h3 span {
    margin-top: 10px;
}

.gid3 .post:first-of-type h3 span {
    margin-top: -11px;
}

.gid4 .post[data-group-id="3"], .gid5 .post[data-group-id="3"], .gid6 .post[data-group-id="3"] {
    margin-bottom: 20px;
}

.pagelink {
  order: 1;
}
.pagelink strong {
    display: inline-block;
    border: 1px solid var(--col1);
    padding: 2px 4px;
    border-radius: 3px;
    color: var(--col1);
}

.pagelink a:hover {
  color: var(--pun);background: var(--col1)
}

.postlink {
  order: 3;
  width: auto !important;
}
.subscribelink {
  order: 2;
}

#pun-viewforum noindex {
  order: 3;
}

.post h3 span,
.post-links,
.pagelink,
.postlink,
.subscribelink,
#pun-viewforum .modmenu strong,
.postlink .button {
  font-family: var(--font);
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: lowercase;
}

.post h3 span a,
.post h3 span {
  color: var(--pun);
}
.post-links a,
.postlink a,
.postlink {
  color: var(--col1);
}

.pl-email a,
/*.post h3 span,*/
.pagelink,
.pagelink a,
.postlink .button,
.subscribelink a,
.editpole a {
  color: var(--col1);
}

.post-links a,
.pagelink,
.postlink {
  position: relative;
  z-index: 99;
}

.post h3 span,
.linkst,
.endpost .post-links,
#pun-messages .post-links,
#pun-viewforum .category {
  /*border-bottom: 1px solid;
  border-top: 1px solid;
    padding-bottom: 10px;*/
  padding: 5px 0;
}

.post h3 span,
.endpost .post-links,
.linksb,
#pun-viewforum .linkst {
  margin-left: 0;
  width: 100%;
}

.linksb,
#pun-viewforum .linkst {
  /*  border-top: 1px solid;
  border-bottom: 1px solid;*/
  padding: 5px 0;
  box-sizing: border-box;
}

.gid3 .linksb {
  margin-top: 7px;
}

.post h3 span,
.linksb,
.linkst,
.endpost .post-links,
#pun-messages .post-links/*,
#pun-viewforum .category*/ {
  /*  border-bottom: 1px solid var(--col1);*/
}

#pun-viewtopic .linkst,
#pun-searchposts .linkst,
#pun-multimove .linkst {
  border: none;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: -19px;
}

.linkst {
  margin-bottom: 10px;
}

/* PAGES: VIEWTOPIC / POST / PUN-POST
--------------------------------------------------------------------------------------------------------------------------*/
.post .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px 0;
  padding-top: 15px;
  justify-content: center;
  margin-left: -10px;
}

.post .post-rating p, .post .post-vote p {
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font);
    font-weight: 600;
    transition: all 0.2s;
    position: relative;
}

.post .post-rating a, .post .post-vote a {
    font-size: 11px !important;
    position: relative;
    color: var(--pun);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.post-rating p:before, .post-vote p:before {
  font-family: var(--mat1);
  color: var(--col1);
  transition: all 0.5s;
  font-size: 30px;
  position: absolute;
  margin-top: 3px;
}
.post-rating p:before {
  content: '\e87d';
}
.post-vote a:before {
  content: '\e253';
}
.post-rating:hover p:before,
.post-vote:hover p:before {
  color: var(--col2);
}

div.post-vote {
  margin-bottom: 65px;
}

div.post-vote {
  margin-bottom: 65px;
}

.post-body {
  display: block;
  width: calc(100% - var(--prof-w) /* - 20px*/);
  /*width: auto;*/
  position: relative; 
}

.reactions-root {
  padding: 0 5px;
  position: absolute;
  bottom: 0;
}

.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;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.5px;
  margin: 20px 0;color: var(--col1)
}

#topic-users-in a {color: var(--pun)}

#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 h3 span {
    margin: 0 0 -15px 0;
}

#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;
}

/* fntslider */
.FNTslider {
    width: 160px;
    height: 8px;
    border: 1px solid var(--bg-color);
    box-sizing: border-box;
    border-radius: 3px;
}
.FNTslider .before {
  height: 6px;
  margin: 0px;
  background: var(--bg-color);
}
.FNTslider .thumb {
    width: 13px;
    height: 6px;
    position: relative;
    top: -6px;
    cursor: pointer;
    background: var(--col1);
    border-radius: 3px;
    margin-left: -2px;
}

/* 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;
  align-items: center;
  margin: 30px;
  border: 1px solid var(--col1);
}

#profile-signature tr {
  display: block;
  margin: 0px 0 0 0;
  border: none !important;
  background: none !important;
}
#profile-signature {
  margin-top: -30px;
}

#profile-signature ul {
  border: none !important;
  padding: 0px !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;
  height: 100%;
  box-sizing: border-box;
  background: var(--bg);
  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;
  color: var(--col2);
}

#profile-name strong,
#pa-edit a {
  color: var(--pun1) !important;
}

#pa-avatar img {
  margin: 7px 0;
}

/* right part */
#profile-right {
  width: inherit !important;
  padding: 10px !important;
  display: flex;
  gap: 10px;
  flex-direction: column;
  position: relative;
  overflow: visible !important;
}

#viewprofile #pa-fld7 {
  position: absolute;
}

#viewprofile a.profosn {
  left: -306px;
  top: 0;
}

#profile-right a:hover {
  color: var(--col1);
}

#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 {
  text-transform: lowercase;
  font-weight: 600;
  padding: 2px 10px 4px 10px;
}

#profile-right li span:first-child,
#profile-right li span:first-child a {
    color: var(--pun);
    background: var(--col1);
}

#profile-right strong {
  font-weight: 500;
  padding: 0 !important;
  letter-spacing: 0.5px;
}

#profile-right strong,
#profile-right strong a {
  color: var(--pun1);
}

/* 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(--pun1);
  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-fld4 {
  width: fit-content !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;
  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(--col2);
}

/* PAGES: MESSAGESb
--------------------------------------------------------------------------------------------------------------------------*/
#pun-messages .hasicon {
  width: auto;
}

#pun-messages h3 {
  margin-top: -41px;
  position: relative;
}

#pun-messages .post h3 span a, #pun-messages .post h3 span {color: var(--pun1)}

#pun-messages .FNTslider {
    border-color: var(--pun1);
}
#pun-messages .FNTslider .before {
    background: var(--pun1);
}

#pun-messages .post-author:before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    background: var(--pun1);
    width: 100%;
    height: 200px;
}

#pun-messages .post-body {
    padding-left: 20px;
}

.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(--pun1);
  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(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--col1);
}

.scrollbox::-webkit-scrollbar-track {
  background: var(--pun);
}

/* selection */
::selection {
  color: #222;
  background: #767676;
}

/* 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,
#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,
.pa-online,
.reactions-root,
.qcn,
#viewprofile #pa-fld6,
#viewprofile #pa-fld7 span,
#pun-post .pa-avatar:before, #pun-post .pa-avatar:after,
#pun-searchposts .pa-avatar:before, #pun-searchposts .pa-avatar:after, 
#pun-searchposts .post-author ul:before, #pun-searchposts .post-author ul:after,
#viewprofile img.prof,
#pun-index .intd .icon:before,
#pun-ulinks #h-unanswered {
  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 {
    -webkit-text-size-adjust: none;
  }
  .hashelp center div a button,
  .button,
/*  input,*/
  select {
    -webkit-appearance: none !important;
    border-radius: 0px !important;
  }
}

/*****************
Стиль "Тихой Цитаты"
*****************/
.quiet-quote {
  position: relative;
  display: table;
  margin: 0px 15px !important; /*Отступы*/
  font-style: italic;
  font-size: 100%;
  color: #616161;
  /*text-align:justify;
  border:red solid 1px;*/
}
.quiet-quote > p {
  line-height: normal !important;
}
.quiet-quote:before, /*Шрифт, Цвет, Размер иконок*/
.quiet-quote:after {
  font-size: 0px;
  display: inline-block;
  position: absolute;
  z-index: 1000;
  font-weight: 900;
  color: #616161; /*Цвет Кавычек*/
  font-family: System, Arial, sans-serif;
}
.quiet-quote:before {
  content: '\201C'; /*Код левой кавычки к Тихой цитате*/
  left: -23px;
  top: -11px;
}
.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#New-exit {
  text-decoration: none !important;
  background: transparent !important;
  position: absolute;
  z-index: 100000 !important;
  margin-top: -5px !important;
  margin-left: 23px !important;
  display: inline-block !important;
}
#pun-navlinks #New-exit img {
  position: absolute;
  width: 28px;
  height: auto;
  transition: 0.63s;
  opacity: 0.92;
}
#pun-navlinks #New-exit:hover img {
  transition: 0.63s;
  opacity: 0.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;
  background-color: rgba(250, 255, 189, 0.88);
}
.punbb #form-login #fld1,
#form-login #fld2 {
  background-color: rgba(250, 255, 189, 0.88);
}
.punbb #pun-navlinks #form-login input[type='submit'] {
  margin: -1px 0 2px !important;
  box-sizing: border-box;
  height: 26px;
  width: 67px;
  font-size: 11px !important;
  color: #e4e4e4 !important;
  background: #b13a3a;
  border: 1px outset rgba(161, 172, 152, 0.8) !important;
  text-align: center;
  padding: 0 4px !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 {
  background: #c7c7c7;
  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: 10px;
  width: 142px;
  z-index: 100000 !important;
}
#pun-navlinks #navlogin #form-login {
  margin-left: -31px; /*Подвижки формы влево от вход*/
}
#pun-navlinks #navlogout #form-login {
  margin-left: -31px; /*Подвижки формы влево от выход*/
}
.ismoderator #pun-navlinks #navlogout #form-login {
  margin-left: -31px !important; /*Подвижки формы влево от выход для АМС*/
}
/*Стиль ссылок в форме "Не зарегистрированы" и "Забыли пароль" */
#pun-navlinks #form-login input[value='Войти'] + p {
  margin: 11px -8px 11px 8px;
}
.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: #b13a3a;
  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: 27px;
  min-height: 90px;
  width: 220px;
  right: 100%;
  padding: 12px 19px 12px 17px;
  background: #c7c7c7;
  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: #b13a3a;
  text-align: left;
  box-shadow: 2px 2px 1px rgb(19, 20, 15);
  padding-left: 5px !important;
  font: normal normal 700 12x / normal Verdana !important;
  letter-spacing: 0.4;
  margin: 1px auto !important;
  padding: 2px 0;
  transition: 0.33s;
}
.punbb #List-UserNames li:hover {
  opacity: 0.84;
  /*background:#83693E!important;*/
}
/*Стиль Ников*/
.punbb #List-UserNames li > b {
  cursor: pointer;
  opacity: 0.9;
  color: #efefef;
  text-shadow: 1px 1px 1px rgb(0, 0, 0);
  letter-spacing: 0.3;
}
.punbb #List-UserNames li > b:hover {
  opacity: 0.93;
  text-shadow: 1px 1px 1px rgba(0, 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: 0.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, 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;
}
/************************* 
//Конец Стиля для Быстрой смены аккаунтов 
*************************/

/* Черный Список */
#panel {
  position: fixed;
  top: 80px;
  left: -270px;
  margin: -40px 0 0 -2px;
  overflow: hidden;
  z-index: 10000;
  font-family: Arial, Tahoma, sans-serif;
  font-size: 13px;
}
#panel-content {
  background: var(--pun);
  border: 1px solid var(--col1);
  box-shadow: none;
  width: 250px;
  height: auto;
  float: left;
  padding: 8px 10px;
  font-family: var(--font);
  font-size: 11px;
  text-transform: lowercase;
}

#panel-sticker {
  float: left;
  position: relative;
  background: var(--col1);
  margin: 0;
  cursor: pointer;
  color: var(--pun);
  font-family: var(--font);
  font-size: 11px;
  font-weight: bold;
}

#panel-sticker span {
  display: block;
  padding: 3px 10px 3px 8px;
}
#blockUsers > li > strong {
  cursor: pointer;
  font-size: 17px;
  color: red;
  font-weight: bold;
  top: 2px;
  position: relative;
}

.toBlock {
  position: relative;
}

.blockButton:before {
  content: 'x';
  cursor: pointer;
  margin-top: -46px;
  left: -4px;
  position: absolute;
  width: 14px;
  text-align: center;
  opacity: 1;
  /* border: 1px solid var(--bg-color); */
  z-index: 2;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--bg-color);
  font-size: 11px;
  line-height: 1;
  padding: 2px 2px 4px 2px;
}

ul#blockUsers {
  list-style-type: none;
  float: left;
  margin-left: 25px;
}
