/*************************************************************
A - SETUP
**************************************************************/

/* fonts| root| links
-------------------------------------------------------------*/

/* fonts */
@import url(style_cs.1752424852.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://fonts.googleapis.com/css2?family=Balsamiq+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Caveat:wght@400..700&family=Gabriela&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Russo+One&family=Zen+Kurenaido&display=swap');

/* Font Awesome */
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');


/* root*/
:root, .shinobi{
  --bg: url('https://forumstatic.ru/files/001c/6f/41/97852.webp?v=1') var(--bg-color);
  --title-img: url('https://forumstatic.ru/files/001c/6f/41/93941.png');
  --online: url() #ff5602;
  --icon: url('https://forumstatic.ru/files/001c/6f/41/92920.png');
  --ava-bg: url('https://forumstatic.ru/files/001c/6f/41/49145.webp');
  --qv-1: url('https://forumstatic.ru/files/001c/6f/41/31225.svg');
  --qv-2: url('https://forumstatic.ru/files/001c/6f/41/94635.png');
  --qv-3: url('https://forumstatic.ru/files/001c/6f/41/21555.png');
  
  --notify: var();
  --link: var();

  --bg-color: #282627;
  --pun: # ;
  --color-sub: #e98b3f;
  --color-forum: #fbf2e5;
  --color-txt1: #282627 ;
  --color-txt2: #49250b;
  --color-txt3: var(--color-txt2);
  --color-txt4: var(--color-forum);
  --text-k: var(--color-forum);
  --link-bg: #dbb88e;
  --color-link: #de7444;
  --color-hover: #b66f4f;
  --color-qv: #fce6c8;
  --color-linkintopik: var(--color-hover);
  --color-lnthoverbg: #f7ebda;
  --color-lnt: #ba7e40;
  --colir-qvk: var(--color-forum);
  --color-underava: #a29180;
  --color-bb: var(--color-sub);
  --color-avatop: var(--color-link);
  --color-onlinesadow: #fc7d02;

  --title-h: 456px;
  --prof-w: 250px;
  --profnav-w: 110px;
  --main-w: 1100px;
  --main-p: 20px;
  --post-p: var(--main-p);
  --usav: 30px;
  --intd-gap: 15px;
  --icon-w: 20px;
  --icon-h: 20px;
  --main-icon-w: 20px;
  --main-icon-h: 20px;
  --arrows: 50px;
  --ls-w: 900px;
  --ls-h: 374px;

  --anim: all 0.7s;
  --border: 1px solid #d1b48c;
  --content-icon: '\2AF8';

  --mat: 'Material Symbols Outlined';
  --mat1: 'Material Symbols Rounded';
  --faw: 'Font Awesome 5 Pro';
  --font-k: normal 700 25px 'Russo One';
  --font-kb: normal 700 10px 'Zen Kurenaido';
  --font-1: 'Russo One';
  --font: 'Zen Kurenaido';
  --font-g: 'Nunito Sans';
}

.oto {
      --bg: url('https://forumstatic.ru/files/001c/6f/41/28035.webp') var(--bg-color);
  --title-img: url('https://forumstatic.ru/files/001c/6f/41/65220.png');
  --online: url() #b2a5c0;
  --ava-bg: url('https://forumstatic.ru/files/001c/6f/41/60364.png');
  --qv-1: url('https://forumstatic.ru/files/001c/6f/41/12237.svg');
  --qv-2: url('https://forumstatic.ru/files/001c/6f/41/13185.png');
  --qv-3: url('https://forumstatic.ru/files/001c/6f/41/24209.png');
  
  --notify: var();
  --link: var();

    --bg-color: #3c3b36;
    --pun: #;
     --color-sub: #d6d2cb;
    --color-forum: #e9e9e9;
    --color-txt1: var(--bg-color);
    --color-txt2: #565b68;
    --color-txt3: var(--color-txt2);
    --color-txt4: var(--color-txt1);
    --text-k: var(--color-txt2);
    --link-bg: var(--color-link);
    --color-link: #947faa;
    --color-hover: #a397b6;
    --color-qv: #fdfaf5;
    --color-linkintopik: var(--color-lnt);
    --color-lnthoverbg: #e0dede;
    --color-lnt: #745d8c;
    --colir-qvk: #393f4f;
    --color-underava: #98939d;
    --color-bb: var(--color-link);
    --color-avatop: var(--color-link);
    --color-onlinesadow: #dfcff7;
 
}

.akatsuki {
      --bg: url('https://forumstatic.ru/files/001c/6f/41/67545.webp') var(--bg-color);
  --title-img: url('https://forumstatic.ru/files/001c/6f/41/37470.png');
  --online: url() var(--color-hover);
  --ava-bg: url('https://forumstatic.ru/files/001c/6f/41/32686.png?v=1');
  --qv-1: url('https://forumstatic.ru/files/001c/6f/41/71993.svg');
  --qv-2: url('https://forumstatic.ru/files/001c/6f/41/64579.png');
  --qv-3: url('https://forumstatic.ru/files/001c/6f/41/76391.png');
  
  --notify: var();
  --link: var();

  --bg-color: #250101;
  --pun: # ;
  --color-sub: #5b4c4c;
  --color-forum: #f5f1f1;
  --color-txt2: var(--color-link);
  --color-txt3: #f5f1f1;
  --color-txt4: var(--color-txt3);
  --text-k: var(--color-txt3);
  --link-bg: #;
  --color-link: #863030;
  --color-hover: #b03b3b;
  --color-qv: #fbf8f8;
  --color-linkintopik: var(--color-link);
  --color-lnthoverbg: #e8e3e3;
  --color-lnt: #d55c5c;
  --colir-qvk: #f5f1f1;
  --color-underava: #6a5f5f;
  --color-bb: var(--color-sub);
  --color-avatop: var(--color-link);
  --color-onlinesadow: #fc0202;
}


.green {   --bg: url('https://forumstatic.ru/files/001c/6f/41/53034.webp') var(--bg-color);
  --title-img: url('https://forumstatic.ru/files/001c/6f/41/58540.png');
  --online: url() #f88802;;
  --ava-bg: url('https://forumstatic.ru/files/001c/6f/41/86081.webp');
  --qv-1: url('https://forumstatic.ru/files/001c/6f/41/18384.svg');
  --qv-2: url('https://forumstatic.ru/files/001c/6f/41/10563.png');
  --qv-3: url('https://forumstatic.ru/files/001c/6f/41/58433.png');
  
  --notify: var();
  --link: var();

  --bg-color: #153726;
  --pun: # ;
   --color-sub: #2e6649;
  --color-forum: #fcf4ed;
  --color-txt2: var(--color-link);
  --color-txt3: #fcf4ed;
  --color-txt4: var(--color-txt3);
  --text-k: var(--color-txt3);
  --link-bg: #;
  --color-link: #c86617;
  --color-hover: #ea7d00;
  --color-qv: #fbf8f8;
  --color-linkintopik: var(--color-link);
  --color-lnthoverbg: #f9f0e1;
  --color-lnt: #7f9f8d;
  --colir-qvk: #fcf4ed;
  --color-underava: #6a5f5f;
  --color-bb: var(--color-sub);
  --color-avatop: var(--color-sub);
  --color-onlinesadow: #faa603;
}


/* MANE
-------------------------------------------------------------*/

html, body {
  margin: 0;
  padding: 0;
}

body,
body.redirect-page {
  background: var(--bg)  ;
}


/* Подложка */
#pun {
  position: relative;
  width: var(--main-w);
  background: var(--color-sub);
  font: normal 68.75% verdana, arial, helvetica, sans-serif;
  color: var(--color-txt1);
  margin: var(--title-h) auto 90px auto;
  border: 1px solid var(--color-sub);
  box-sizing: border-box;
  border-radius: 0;
  box-shadow: -5px 5px 10px black;
  
}

/* Тело форума */
.punbb {
  padding: var(--main-p);
  box-sizing: border-box;
  background: var(--color-forum);
  width: calc(var(--main-w) - 20px);
  font: var(--font-g) 400 12px;
  margin: 10px 10px;
  box-shadow: -2px 2px 5px var(--color-txt1);
}

/* Шапка */

#pun-announcement {
  background: var(--title-img);
  position: absolute;
  background-size: cover;
  width: 1300px;
  height: 456px;
  top: -456px;
  left: -80px;
}

/* Стиль таблички */

.table {
display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  height: var(--title-h);
}

.leftparp {
width: 50%;
height: var(--title-h);
  box-sizing: border-box;
}

.lptop {
 display: flex;
 height: 70px;
 margin-left: 56px;
 padding-top: 12px;
 align-items: center;
}

.lpbottom{
  display: flex;
  flex-direction: column;
  height: 200px;
  padding-left: 70px;
  padding-top: 150px;
  color: var(--color-forum);
}

.navbar1, .navbar2, .navbar3 {
  display: flex;
  box-sizing: border-box;
  height: 40px;
  width: 150px;
  background: var(--color-forum);
  font-family: var(--font-1);
  text-transform: uppercase;
  margin: 10px;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--color-bb);
  box-shadow: -5px 5px 5px black;
}

.navbar1 a {
  color: var(--color-forum);
}

.navd1 {
    display: block;
  position: absolute;
  padding-right: 10px;
  width: 1px;
  height: 1px;
  background: var(--color-forum);
  top: 263px;
  left: 200px;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.navbar1:hover .navd1{
    display: block;
  opacity: 0.9;
  height: 200px;
  width: auto;
  top: 253px;
  left: 230px;
  box-shadow: -2px 2px 5px var(--color-txt1);
}

.navd2 {
    display: block;
  position: absolute;
  padding-right: 10px;
  width: 1px;
  height: 1px;
  background: var(--color-forum);
  top: 350px;
  left: 216px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.navbar2:hover .navd2{
    display: block;
  opacity: 0.9;
  height: 200px;
  top: 235px;
  left: 230px;
  width: auto;
  box-shadow: -2px 2px 5px var(--color-txt1);
}

.navd3 {
    display: block;
  position: absolute;
  padding-right: 10px;
  width: 1px;
  height: 1px;
  background: var(--color-forum);
  top: 500px;
  left: 216px;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.navbar3:hover .navd3{
    display: block;
  opacity: 0.9;
  width: auto;
  height: 200px;
  top: 213px;
  left: 230px;
  box-shadow: -2px 2px 5px var(--color-txt1);
}


.navd1,
.navd2,
.navd3 {
  box-sizing: border-box;
}

.navbar1 ul,
.navbar2 ul,
.navbar3 ul {
  line-height: 2.5;
  list-style: none;
}

.rightpart{
width: 50%;
  height: var(--title-h);
  color: var(--color-forum);
  font: var(--font);
}

.riptop {
  
  display: flex;
  height: 300px;
  flex-direction: column;
  box-sizing: border-box;
}

.admins {
  display: flex;
  width: 50px;
  height: 70px;
  flex-direction: column;
  box-sizing: border-box;
  align-content: center;
  justify-content: center;
  position: relative;
  left: 570px;
  top: 145px;
}

.admimg {
    width: 40px;
    height: 40px;
    border-radius: 30%;
    margin: 10px;
    opacity: 0.4;
    transition: opacity 0.3s;
    box-shadow: -5px 5px 5px black;
}

.admimg:hover {
  opacity: 1;
}

.newsbox {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  box-sizing: border-box;
}

.nh1{
  font-family: var(--font-1);
  font-size: 25px;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-link);
  position: relative;
  left: 13px;
}

.nvsscroll {
  font-family: var(--font);
  font-size: 14px;
  width: 365px;
  height: 150px;
  margin-left: 150px;
  margin-top: 10px;
  opacity: 0.8;
  overflow: auto;
  background: rgba(0, 0, 0, 0.2);
  border: px solid var(--color-forum);
  box-shadow: -2px 2px 5px black;
  padding: 0 0 0 5px;
}



.ripbottom{
  display: flex;
  height: 140px;
  width: 350px;
  align-items: center;
  text-shadow: -2px 2px 2px black;
  position: relative;
  top: 7px;
  left: 188px;
}

.ripbottom p{
  font-style: var(--font);
  text-transform: uppercase;
  font-size: 16px;
  margin-top: 80px;
  padding: 0 10px;
}

.ripbottom svg {
box-shadow: -2px 2px 5px black;
  border-radius: 50%;
}

/* links */

a {
  text-decoration: none;
  transition: all 0.5s;
  color: var(--color-link);
}

#pun-admain a,
#MyBookmarks span.scrl {
  color: var(--color-link) !important;
}

.punbb a, .punbb a:link {
   color: var(--color-link);
}

a:hover,
a:focus,
a:active {
  color: var(--color-hover);
}

:focus {
  outline: none !important;
}

.adlabel,
.adlabel a {
  color: var(--color-txt2) !important;
}

/* navlinks| ulinks
-------------------------------------------------------------*/

#pun-navlinks {
  position: sticky;
  top: 0;
  z-index: 1000;
}

#pun-ulinks {
  position: sticky;
  top: 42px;
  z-index: 1000;
}

#pun-navlinks .container,
#pun-ulinks .container {
  text-transform: uppercase;
  margin: 0 0 0 calc(0px - var(--main-p));
  width: calc(100% + var(--main-p) * 2);
  text-align: center;
  background: var(--color-forum);
}

#pun-navlinks li,
#pun-ulinks li {
display: inline-block;
}

/* navlinks */
#pun-navlinks .container {
  font: 600 20px var(--font-1);
  letter-spacing: 0.05em;
  padding: 15px 0;
  background: var(--color-forum);
}

#pun-navlinks li {
margin: 0 5px;
}

#navadmin a:before {
content: 'власть';
}

/* ulinks */
#pun-ulinks .container {
  font: 500 12px var(--font) ;
  letter-spacing: 0.1em;
  padding: 0px 0 15px 0;
  margin-bottom: -10px;
}

#pun-ulinks li {
margin: 0 5px;
}

/* links color and animation */
#pun-navlinks a {
color: var(--color-link);
}

#pun-navlinks a:hover {
color: var(--color-hover);
}

#pun-ulinks a {
color: var(--color-txt2);
}

#pun-ulinks a:hover {
color: var(--color-hover);
}

/* status
-----------------------------------------------------------------------------------*/

/*Привет, гость...*/
#pun-status .container {
  font: 700 9px var(--font);
  text-transform: uppercase;
  color: var(--color-txt1);
  position: absolute;
  top: 20px;
  margin: 0;
  left: 0;
  letter-spacing: 0.1em;
  width: 100%;
  text-align: center;
}
/*Войди, зарегистрируйся*/
#pun-status strong,
#pun-status a,
#pun-status .status-right a {
  color: var(--color-txt2);
}

#pun-status .status-right {
  float: none !important;
  display: none;
}

/* category
------------------------------------------------------------------------------------*/
#pun-index .category .container,
.statscon {
  position: relative;
}

#pun-category1 {
    margin-top: -60px;
}

.category h2,
#pun-stats h2 {
  margin: 60px calc(0px - var(--main-p) - 1px) 40px calc(0px - var(--main-p) - 1px);
  position: relative;
  background: url() var(--color-sub);
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: none;
  box-shadow: -2px 2px 5px var(--color-txt1)
}

/* text category*/


.category h2 span {
  color: var(--text-k);
  text-transform: uppercase;
  font: var(--font-k);
  padding: 0 45px;
  text-align: left;
  margin-top: 0px;
  position: relative;
  width: 100%;
  letter-spacing: 2px;
}

#pun-stats h2 span {
  color: var(--text-k);
  text-transform: uppercase;
  font: var(--font-k);
  padding: 0 45px;
  text-align: left;
  margin-top: -px;
  position: relative;
  width: 100%;
  letter-spacing: 2px;
}

.category h2 span:before {
  letter-spacing: 0.1em;
  font: var(--font-kb);
  width: 700px;
  color: var(--colir-qvk);
  height: 50px;
  position: absolute;
  text-align: right;
  justify-content: flex-end;
  top: -8px;
  right: 80px;
  display: flex;
  align-items: center;
  line-height: 2;
}

#pun-stats h2 span:before {
  letter-spacing: 0.1em;
  font: var(--font-kb);
  width: 500px;
  color: var(--colir-qvk);
  height: 50px;
  position: absolute;
  justify-content: flex-end;
  top: -5px;
  right: 70px;
  display: flex;
  align-items: inherit;
  text-align: left;
  line-height: 2;
}


.category:nth-child(2n + 1) h2 span:before {
  text-align: left;
  width: 700px;
  right: 345px;
  justify-content: flex-start;
}

.category:nth-child(2n + 1) h2 span {
  text-align: right;
  padding: 0 85px;
}

/* текст категории */
.category-2 h2 span:before {
  content: '"Ничего не понимаю! Ладно, притворюсь, что понял..."';
}

.category-3 h2 span:before {
  content: '"Очень просто сложить руки и сказать: Это невозможно."';
}

.category-4 h2 span:before {
  content: '"А теперь у меня вопрос к вам. Вам клонов с Сусаноо или без?"';
}

.category-5 h2 span:before {
  content: '"Ты талантлив... и ты, действительно, отличаешься от остальных. Но быть другим — не значит быть лучше. Иначе говоря, гвоздь, который торчит, забьют первым."';
}

.category-14 h2 span:before {
  content: '"Жена моего друга для меня не женщина. Но если она хорошенькая — он мне не друг!"';
}

.category-15 h2 span:before {
  content: '"Какого чёрта нам нужны бани? Опять будешь мне что-то впаривать?"';
}

.category-16 h2 span:before {
  content: '"Беги, Ли, беги на свет заходящего солнца!... Но помни — береги причёску."';
}

/* текст статистики */
#pun-stats h2 span:before {
  content: '"Да, в мире шиноби те, кто не следуют приказам, считаются мусором. Но те, кто предают друзей, хуже мусора... "';
}

/* structure forum
------------------------------------------------------------------------------------*/
table {
  width: 100%;
}

.hasicon,
.statscon,
.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;
  box-sizing: border-box;
  text-transform: uppercase;
  font: 400 11px var(--font);
}

.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% 7% 7% 32%;
  justify-content: space-between;
  color: var(--color-dark);
  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;
    display: flex;
    font-weight: 500 !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;
}

th {
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
  color: var(--color-txt1);
  font: 400 10px 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;
}

#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;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  text-align: justify;
  color: var(--color-dark);
}


/* Up & Down Arrows 
------------------------------------------------------------------ */

.go-up,.go-down {
display:none;
position:fixed; 
margin-left: 1083px !important; 
z-index:9999; 
cursor:pointer;
opacity: 0.3; 
transition: opacity 0.3s;
margin-bottom: 5px; 
width: 100px; 
height: 100px; 
justify-content: center;
}
.go-up {
bottom: 100px; 
}
.go-down {
bottom: 5px; 
}
.go-down:hover,.go-up:hover {
opacity:1;
}

.upper::before,
.dvnr::before {
    font: 400 75px/100% 'Font Awesome 6 Pro';
    margin-left: 0px;
  color: var(--color-sub);
  text-shadow: -2px 2px 5px black;
}

.upper:before {
  content: '\f151';
}

.dvnr::before {
  content: '\f150';
}

/* pun-index podforum
------------------------------------------------------------------------------------*/
#pun-index .hasicon {
  margin: 0 60px 0 calc(-2px - var(--main-p));
}

.statscon {
  margin: 0 35px;
}

#pun-index .hasicon tr {
  position: relative;
  grid-template-columns: auto 1fr;
  gap: 30px;
  color: var(--color-txt1);
}

/* 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: inherit;
  text-align: justify;
  -webkit-text-size-adjust: none;
  display: flex;
  gap: 20px;
  flex-direction: column;
  width: auto;
}

podfor {
  grid-area: podfor;
  letter-spacing: 0.1em;
  font: 500 10px var(--font);
}

#pun-index .tcl h3 {
  margin: 0;
  width: 100%;
  text-align: left;
  grid-area: name;
  font: 400 normal 18px var(--font-1);
  text-transform: uppercase;
}

#pun-index .tcl h3 a {
  color: var(--color-link);
  -webkit-text-size-adjust: none;
  position: relative;
}

#pun-index .tcl h3 a:hover {
  color: var(--color-hover);
}

#pun-index .tclcon span,
#pun-index .subforums {
  position: relative;
  display: flex;
  gap: 10px;
  margin: 0;
  grid-area: ssil;
  background: url() var(--color-sub);
  flex-direction: column;
  align-items: flex-end;
  padding: 20px 0;
}

#pun-index .tclcon span a,
#pun-index .subforums a {
  color: var(--color-link);
  border-bottom: 1px solid var(--color-sub);
  padding-bottom: 2px;
  width: 90px;
  text-align: center;
  position: relative;
  font: 600 9px var(--font) banner;
  letter-spacing: 0.1em;
}

#pun-index .tclcon span a:hover,
#pun-index .subforums a:hover {
  color: var(--color-hover);
  border-color: var(--color-sub);
}

#pun-index .tclcon span a:before,
#pun-index .subforums a:before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent1);
  position: absolute;
  top: 11px;
  left: -5px;
  transition: all 0.5s;
}

#pun-index .tclcon span a:hover:before,
#pun-index .subforums a:hover:before {
  background: var(--color-accent2);
}

/*links in topik*/

 .tclcon #lintop {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      width: 100%;
      height: 30px;
      text-align: center;
  }

.tclcon #lintop a {
   box-sizing: border-box;
  background: var(--color-forum);
  width: 150px;
  height: 30px;
  color: var(--color-linkintopik) !important;
  padding-top: 5px;
  border: 1px solid var(--color-lnthoverbg);
    transition: box-shadow 0.3s ease;
  border-radius: 0px;
}

.tclcon #lintop a:hover {
  box-shadow: -2px 2px 5px var(--color-txt1);
  color: var(--color-link) !important;
}

.bannerpart {
    display: flex;
    width: 30%;
    height: 40px;
    overflow: auto;
}

/* right part */
#pun-index .tcr,
#pun-viewforum .isub .tcr {
  display: grid;
  grid-template-columns: 1fr var(--usav);
  grid-template-rows: auto auto;
  gap: 5px 20px;
  grid-template-areas:
    'lastpost1 ava'
    'lastpost2 ava';
  justify-content: end;
  align-items: center;
  justify-items: end;
  align-content: center;
}

.lastpost-link {
  grid-area: lastpost1;
  color: var(--color-txt1);
  text-align: right;
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: flex-end;
  font: 600 10px var(--font);
  text-transform: uppercase;
}

.lastpost-link:hover {
  color: var(--color-hover);
}

.lastpost {
  grid-area: lastpost2;
  text-transform: uppercase;
  text-align: right;
  font: 700 8px var(--font) deck;
  letter-spacing: 0.1em;
  color: var(--color-txt1);
}

#pun-viewforum .lastpost {
  text-transform: uppercase;
}

/* user-avatar */
.user-avatar {
  margin: 0 !important;
  background: var(--color-underava);
  width: var(--usav) !important;
  height: var(--usav) !important;
  grid-area: ava;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-avatar a {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.user-avatar,
.avatar-image {
  border-radius: 30% !important;
  box-shadow: -2px 2px 5px var(--color-txt1);
}

.avatar-image {
  opacity: 1 !important;
  mix-blend-mode: soft-light;
  width: var(--usav) !important;
  height: var(--usav) !important;
}

.isonline {
  background: var(--color-link) !important;
  top: auto !important;
  right: auto !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
}

.tcr:hover .user-avatar {
  mix-blend-mode: multiply;
}

/* iconblink
------------------------------------------------------------------------------------*/
.intd {
  display: flex;
  gap: var(--intd-gap);
  align-items: baseline;
  justify-content: flex-start;
  margin-left: 10px;
}

.category .intd {
  grid-template-areas: 'for icon';
  grid-template-columns: 1fr var(--main-icon-w);
}

.forum .intd,
#profile .intd {
  grid-template-columns: var(--icon-w) 1fr;
}

.intd .icon {
  transition: all 0.2s;
  background: var(--icon);
  background-size: cover;
  
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fs-box  .icon .inew {
  animation: blink 1.5s linear infinite;
  opacity: 1;
}

.fs-box .icon .inew,
#profile .icon-new {
  filter: none;
}

.category .icon.inew::before {
  background-color: var(--color-link);
}

.forum .icon,
#profile .intd .icon {
  width: var(--icon-w);
  height: var(--icon-h);
  filter: opacity(40%);
}

.category .icon {
  width: var(--main-icon-w);
  height: var(--main-icon-h);
  grid-area: icon;
  opacity: 0;
}

.category .icon.inew {
  animation: blink 1.5s linear infinite;
  opacity: 1;
}
.forum .icon-new,
#profile .icon-new {
  filter: none;
}

.forum .isticky .icon,
#profile .isticky .icon {
  filter: hue-rotate(335deg) grayscale(0.4);
}

.forum .iclosed .icon,
#profile .iclosed .icon {
  opacity: 0.5;
}

/* crumbs
------------------------------------------------------------------------------------*/
.crumbs {
  margin: 20px 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font: 700 12px var(--font-1);
}

.crumbs a {
  color: var(--color-link);
  display: inline-flex;
  align-items: flex-end;
}

.crumbs,
.crumbs a:hover {
  color: var(--color-hover);
}

.crumbs a:after,
#pun-searchposts h3 span a:after {
  content: var(--content-icon);
  margin: -5px 0px -2px 9px;
  font-size: 16px;
  color: var(--color-sub);
  opacity: 0.4;
}

/* stats cont
------------------------------------------------------------------------------------*/
#pun-stats .container {
  display: grid;
  grid-template-columns: auto auto;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 10px;
  gap: 5px;
  grid-template-areas:
    'tem reg'
    'soo last'
    'active active'
    'day day';
    list-style: none;
}

.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(--color-link);
  font-weight: 600;
}

/* footer
------------------------------------------------------------------------------------*/
#pun-about {
  display: flex;
  justify-content: center;
  position: relative;
}

#pun-about .container {
  font: 600 6px var(--font) text;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
  margin-top: 115px;
  width: 100%;
  text-align: center;
}

#pun-stats .container {
  font: 400 12px var(--font) !important;
}

#pun-about,
#pun-about a {
  color: var(--color-light);
}

.copyright {
  font-family: var(--font);
  text-transform: uppercase;
  text-align: right;
  padding: 5px 0;
}

.bannerc{
  display: flex;
  width: 100%;
  height: 40px;
  overflow: auto;
}

.banner{
  width: 88px;
  height: 31px;
  background: var(--color-sub);
  margin-left: 2px;
  opacity: 0.5;
  transition: opacity 0.8s;
  mix-blend-mode: hard-light(50%);
  font-family: var(--font-1);
  text-align: center;
}

.banner img {
  height: 31px;
}

.banner:hover{
  opacity: 1;
  mix-blend-mode: normal;
}

/* profile in post
------------------------------------------------------------------------------------*/
.post-author {
  width: var(--prof-w);
  min-height: 85px;
  position: relative;
  background: var(--ava-bg) top no-repeat
    var(--color-avatop);
  border-top: 0px solid var(--color-txt1);
  margin-bottom: 20px;
  box-shadow: -5px 5px 10px var(--color-txt1);
}

.post-author:before {
  content: '';
  background: url();
  position: absolute;
  top: -6px;
  left: calc(50% - 80px);
  width: 160px;
  height: 6px;
}

.post-author ul {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: space-around;
  width: var(--prof-w);
  gap: 0px;
  padding: 10px;
  box-sizing: border-box;
  margin: 125px 0 0px 0;
  border: 1px solid var(--color-txt2);
  background: var(--color-forum);
  border-radius: 0% 50% 0px 0px;
  list-style: none;
}

#pun-searchposts .post-author ul {
    background: transparent;
    border: none;
}

.post-author li {
  width: inherit;
  position: relative;
}

/* author & title */
.pa-author {
    font: 600 18px/15px var(--font-1);
    height: 40px;
    position: absolute !important;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    letter-spacing: 0.05em;
    padding: 0 10px;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
}

.pa-author strong {
  font-weight: 600;
}

.pa-author,
.pa-author a {
  color: var(--color-txt4) !important;
  z-index: 100;
}

.pa-author a:hover {
  color: var(--color-hover);
}

.pa-title {
  position: absolute !important;
  top: 45px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  color: var(--color-txt3);
  font: 600 8px var(--font) banner;
  letter-spacing: 0.15em;
  padding: 0 10px;
  box-sizing: border-box;
  z-index: 100;
}


/* avatar */
.pa-avatar {
  margin: -60px 0 0 0;
}

.pa-avatar img,
#pa-avatar img {
  max-width: 180px;
    max-height: 180px;
    position: relative;
    border: none;
  z-index: 100;
  box-shadow: -5px 5px 10px var(--color-txt1);
}

/* posts/respect */
.pa-respect,
.pa-posts{
  width: calc(calc(var(--prof-w) - 22px) / 3) !important;
  z-index: 3;
  -webkit-text-size-adjust: none;
  margin-top: 20px;
  font: 400 12px var(--font-1);
}

.pa-fld3 {
  z-index: 3;
  -webkit-text-size-adjust: none;
  margin-top: 20px;
  font: 400 12px var(--font-1);
}


.pa-respect,
.pa-respect a,
.pa-posts{
  color: var(--color-txt2);
}

.pa-respect .fld-name,
.pa-posts .fld-name,
.pa-fld2 .fld-name {
  display: flex;
  position: relative;
  margin-bottom: 7px;
  font: 600 10px var(--font-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  justify-content: right;
}

.pa-respect .fld-name,
.pa-respect .fld-name a,
.pa-posts .fld-name,
.pa-fld2 .fld-name {
  color: var(--color-txt2);
}

.pa-respect .fld-name a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.pa-respect img {
    display: none;
  filter: grayscale(1);
  vertical-align: middle;
  margin-top: -1px;
}


/* fld */

.pa-fld4, .pa-fld2, .pa-fld3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 10px 0 10px;
  gap: 10px;
  font: 12px var(--font) 400;
}

.pa-fld2 {
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-sub);
  padding-bottom: 5px
}

.pa-fld4 {
  text-transform: uppercase;
  font-family: var(--font-1);
  font-size: 16px;
  letter-spacing: 3px;
  border: solid 1px var(--color-sub);
}

.pa-fld1 .fld-name,
  .pa-fld2 .fld-name,
  .pa-fld3 .fld-name,
.pa-fld4 .fld-name
{
      display: none;
  }

lz2 {
  font: 500 9px/15px var(--font) banner;
  color: #6c6c6c;
  text-transform: lowercase;
  letter-spacing: 0.1em;
  text-align: justify;
}

lz2 a {
  font-weight: 700;
}

plash {
  background: url();
  display: flex;
  flex-direction: column;
  color: var(--color-light);
  width: 218px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

plash b,
plash i {
  font: 500 9px var(--font) banner;
  letter-spacing: 0.15em;
}

.pa-fld5 {
  margin-top: 20px;
}


.pa-fld1 {
    position: absolute !important;
    top: -10px;
    display: flex;
    justify-content: center;
  z-index: 10;
}

.pa-fld1:before {
    content: '';
    position: absolute;
    background: var(--ava-bg);
    width: 150px;
    height: 50px;
    border-radius: 50% 50% 0 0;
    z-index: -100;
}

.band {
    max-width: 50%;
    display: flex;
    position: relative;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    background-position: center !important;
    background-repeat: no-repeat !important;
    mix-blend-mode: darken;
}

.akatsuki .band {
  mix-blend-mode: hard-light;
}


/* online */
.pa-online {
   position: absolute !important;
    top: 70px;
    right: 30px;
    background: var(--online) no-repeat center bottom;
    height: 15px;
    width: 15px !important;
    border-radius: 50%;
    font-size: 0;
    overflow: hidden;
    transition: all .5s;
    box-shadow: -1px 1px 5px var(--color-onlinesadow);
  z-index: 400;
}



/* quote spoiler textarea
-----------------------------------------------------------------------------------*/
/*.quote-box,
.code-box,*/
blockquote,
.blockcode,
textarea,
.inner,
.modal-inner,
.editBookmark,
#MyBookmarks,
.hvStickerPackModal {
  box-shadow: none !important;
  border: 1px solid var(--color-txt1) !important;
  background: var(--color-qv) !important;
  border-radius: 0 0 13px 13px;
}




.code-box {
  display: flex;
  flex-direction: column;
}


.code-box {
  margin: 30px 15px;
  position: relative;
}

td .spoiler-box {
  margin: 20px 10px;
}

.quote-box:before,
.code-box:before,
{
  content: '';
  width: 100%;
  height: 30px;
  border: 1px solid var(--color-txt1);
  box-sizing: border-box;
}



.quote-box.answer-box:before,
.hide-box:before {
  background: var(--color-qv) right -30px bottom -50px !important;
}

.code-box:before,
.spoiler-box:before {
  background: var(--color-qv) left -80px top -40px !important;
}

.answer-box,
.spoiler-box {
  align-items: center;
}

.hide-box {
  align-items: flex-start;
}

.code-box {
  align-items: flex-end;
}


.code-box .legend{
  display: block;
    position: relative;
    margin: 0 30px;
    padding: 7px 27px;
    text-transform: uppercase;
    box-sizing: border-box;
    text-align: center;
    letter-spacing: 0.1em;
    background: var(--color-qv) !important;
    font: 700 9px var(--font) banner;
    border-radius: 0px;
    z-index: 9;
  box-shadow: -2px 2px 10px var(--color-txt1);
}
.spoiler-box > div {
    display: block;
    position: relative;
    margin: 0 30px;
    padding: 7px 27px;
    text-transform: uppercase;
    box-sizing: border-box;
    text-align: center;
    letter-spacing: 0.1em;
    background: var(--color-forum) !important;
    font: 700 9px var(--font) banner;
    border-radius: 0px;
    z-index: 9;
  margin-bottom: 10px;
  margin-top: 10px;
  box-shadow: -2px 2px 10px var(--color-txt1);
}


.code-box .legend,
.code-box .legend a,
.spoiler-box > div {
  color: var(--color-link);
}

.post-content .spoiler-box > div {
  position: relative;
}

.post-content .spoiler-box > div:before {
  content: var(--content-icon);
  font: 500 15px var(--mat1);
  display: inline-block;
  transition: all 0.2s;
  vertical-align: middle;
  height: 10px;
  line-height: 4px;
  margin-right: 10px;
}

.post-content .spoiler-box > div.visible:before {
  color: var(--color-hover);
  transform: scale(1.3) rotate(90deg) translate(-1px, 1px);
}

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;
}


.blockcode {
  padding: 20px 30px 10px 30px !important;
  position: relative;
  margin: -1px 0;
  width: 100%;
  box-sizing: border-box;
  background: #fce6c8;
}



.scrollbox {
  overflow: auto;
  font-size: initial;
  max-height: 60px;
}

/* textarea */
textarea {
  overflow: auto;
  padding: 10px;
  font: 500 11px/15px Verdana !important;
  box-sizing: border-box;
  width: 95%;
}

del {
    filter: blur(3px);
    text-decoration: none;
    transition:.33s;
}
del:hover {
    filter: initial;
    transition:.63s;
}

/* answer form
------------------------------------------------------------------------------------*/
#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;
  height: 100%;
}

#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) text;
}

#pun-edit #tags .container {
  top: 49px !important;
}

.hashelp {
  position: relative;
}

#main-reply {
  height: 213px;
}

.grippie {
  margin-top: 5px;
}

/* CUSTOM FORM-BUTTONS WITH WRITTEN SYMBOLS © BLANCHE. free for use only with copy */
#form-buttons {
  display: grid;
  grid-template-columns: 145px 1fr;
  margin: 0px 0px 3px 0px;
  background: var(--quote-bg1) !important;
  position: relative;
  border: 1px solid var(--color-dark);
  padding: 5px;
  height: 30px;
  box-sizing: border-box;
}

#form-buttons table {
  width: 100% !important;
}

#form-buttons tr {
  position: absolute;
  width: 850px;
  display: flex;
  height: 18px;
  justify-content: space-around;
  top: 10px;
}


#form-buttons td {
  display: flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
  height: 18px;
  box-sizing: border-box;
  color: var(--color-light);
}

#plng {
  display: flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
  height: 18px;
  box-sizing: border-box;
  color: var(--color-txt1);
}

#form-buttons td {
  font: 500 18px var(--mat);
  background-image: none !important;
  width: inherit !important;
  cursor: pointer;
  transition: all 0.5s;
}

#plng {
  font: 700 9px var(--font);
  padding-top: 2px;
  background: var(--color-dark);
  border-radius: 13px;
  letter-spacing: 0.05em;
  position: relative;
  right: -930px;
  top: 20px;
  text-transform: uppercase;
}

#form-buttons td:hover {
  color: var(--color-hover);
}

#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-sspoiler:before {
  content: '\ef9e';
}

#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&#209;ase:before {
  content: '\e262';
}

/* tags */
#tags .container,
#float {
  overflow-y: auto;
  padding: 10px !important;
  height: 180px;
  font: 400 10px var(--font) text;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  z-index: 99999;
  top: 29px !important;
  color: var(--color-txt1);
  background: var(--color-qv);
  border-radius: 0 0 15px 15px;
}

#font-area {
  display: flex;
  flex-wrap: wrap;
  border-radius: 0 0 0 10px;
  gap: 2px 15px;
  flex-direction: column;
  justify-content: space-between;
}

#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;
}

#font-area div:hover,
#size-area div:hover,
#addition-area div:hover {
  background: var(--color-forum);
  color: var(--color-txt2);
}

#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(--color-forum);
  border: 0px solid var(--color-sub);
  font: 500 10px/10px var(--font) text !important;
  letter-spacing: 0.5px;
  padding: 5px 7px;
  color: var(--color-txt1);
  box-sizing: border-box;
    border-radius: 0px;
  transition: box-shadow 0.3s ease;
}

input:hover,
select:hover,
option:hover,
.hvStickerPackModalTab{
  box-shadow: -2px 2px 5px var(--color-txt1);
}

select,
option {
  text-transform: uppercase;
}

#topic-modmenu {
  margin-top: 20px;
}

/* button */
.button,
.hvStickerPackModalTab {
    background: var(--color-forum) !important;
    border: none !important;
    padding: 8px 15px !important;
    text-transform: uppercase;
    font-size: 10px !important;
    color: var(--color-txt1);
    font-weight: 700 !important;
    transition: all 0.5s;
    cursor: pointer;
    min-width: max-content;
    
}

.button:hover,
.hvStickerPackModalTab:hover,
.hvStickerPackModalTab.active {
  color: var(--color-link) !important;
  background: var(--color-forum) !important;
}

/* post link links
------------------------------------------------------------------------------------*/
.post-links {
  width: 100%;
}

#pun-viewtopic .post-links,
#pun-searchposts .post-links {
  margin-bottom: -11px;
}

.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;
}

.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: 10px;
}

#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: -29px;
  padding-left: calc(var(--prof-w) + var(--post-p) + 10px) !important;
  box-sizing: border-box;
  position: relative;
}

#pun-main .pagelink {
  order: 1;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  font: 10px var(--font);
  padding: 1px 10px;
  text-transform: uppercase;
}

#pun-main .pagelink strong,
#pun-main .pagelink a {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  padding: 1px;
  box-sizing: border-box;
  color: var(--color-txt4);
}

#pun-main .pagelink strong,
#pun-main .pagelink a:hover {
  box-shadow: -2px 2px 5px black;
  color: var(--color-txt4);
}

.postlink {
  order: 3;
  width: auto !important;
}
.subscribelink {
  order: 2;
}

#pun-viewforum noindex {
  order: 3;
}

.post h3 span,
.post-links,
#pun-main .pagelink a,
#pun-main .pagelink strong,
.postlink,
.subscribelink,
#pun-viewforum .modmenu strong,
.postlink .button {
  font: 700 10px var(--font)!important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.post h3 span a,
.post-links a,
.postlink a,
.postlink,
.pl-email a,
.postlink .button,
.subscribelink a,
.editpole a {
  color: var(--color-txt3) !important;
}

.post h3 span,
.pagelink a {
  color: var(--color-txt3);
}

.post-links a,
.pagelink,
.postlink {
  position: relative;
  z-index: 9;
}

.post h3 span,
.linkst,
.endpost .post-links,
.linksb,
#pun-messages .post-links {
  background: var(--color-sub);
  padding: 8px 10px;
  color: var(--color-txt3);
}

.post h3 span,
.endpost .post-links,
.linksb,
#pun-viewforum .linkst {
  margin-left: -20px;
  width: calc(100% + 40px);
}

.endpost .post-links {
    margin-right: -20px;
}

.linksb,
.linkst {
    padding-top: 4px;
    padding-bottom: 4px;
    box-sizing: border-box;
}

#pun-viewtopic .linkst,
#pun-searchposts .linkst,
#pun-multimove .linkst {
  border: none;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 5px;
}

#pun-multimove .post {
    margin-bottom: 30px;
}

.linkst {
  margin-bottom: 10px;
}

.permalink, .postlink a, .subscribelink {position: relative;}
.post-links a:before, .permalink:before, .postlink a:before, .subscribelink:before {
    content: '';
    position: absolute;
    width: 50px;
    height: 1px;
    border-radius: 50%;
    background: var(--color-txt2);
    left: calc(50% - 5px);
    bottom: -5px;
    transform: translateY(-10px);
    transition: all .5s;
    opacity: 0;
}

.post-links a:hover:before, .permalink:hover:before, .postlink a:hover:before, .subscribelink:hover:before {
    transform: translate(-15px, 1px);
    opacity: 1;
}

/* viewtopic post rating
------------------------------------------------------------------------------------*/
.post .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--post-p);
  justify-content: center;
  position: relative;
  padding: 20px 0;
  align-items: flex-start;
}

.post .post-rating p,
.post .post-vote p {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font: 600 16px;
  transition: all 0.2s;
  position: relative;
  left: -5%;
  box-sizing: border-box;
}

.post .post-rating a,
.post .post-vote a {
  font-size: 11px !important;
  position: relative;
  color: var(--color-forum);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bolder;
  padding-top: 1px;
}

.post-rating p:before,
.post-vote p:before {
  font: 500 30px var(--mat1);
  color: var(--color-sub);
  transition: all 0.5s;
  position: absolute;
  margin-top: 3px;
}
.post-rating p:before {
  content: '\e87d';
}
.post-vote p:before {
  content: '\e147';
}
.post-rating:hover p:before,
.post-vote:hover p:before {
  color: var(--color-hover);
}

.mylike .post-rating p:before {
  color: var(--color-txt1);
}

.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: uppercase;
  letter-spacing: 0.5px;
  margin: 10px 0;
  color: var(--color-txt2);
  font: 400 10px var(--font);
}

#topic-users-in a {
  color: var(--color-link);
}

#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: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-txt2);
  font: 500 10px var(--font);
}

#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;
}

/* fntslider */
.FNTslider {
    width: 180px;
    height: 10px;
    border: 1px solid var(--color-txt3);
    box-sizing: border-box;
    border-radius: 10px;
}
.FNTslider .before {
    height: 8px;
    margin: 0px 0 0 0px;
    background: var(--color-txt3);
}
.FNTslider .thumb {
    width: 5px;
    height: 14px;
    position: relative;
    top: -11px;
    cursor: pointer;
    background: var(--color-txt3);
    margin-left: -2px;
    border-radius: 50%;
}


/* 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) text !important;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 7px;
  color: var(--color-gray);
}

.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) text;
  padding: 2px 0;
  display: inline-block;
}

/* vievforum serchpost ect
------------------------------------------------------------------------------------*/
.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: 5px;
}

#pun-searchposts h3 strong {
  position: absolute;
  right: 10px;
}

#pun-searchposts .FNTslider {
  position: absolute;
  right: 0;
  top: -15px;
}

#pun-searchposts h3 span a {
  display: inline-flex;
  align-items: center;
}

/* vievprofile
------------------------------------------------------------------------------------*/
#viewprofile tr {
  display: grid;
  grid-template-columns: 260px 1fr;
  font: 500 11px var(--font) text;
  gap: 20px;
  align-items: center;
  margin: 30px;
  border: px solid var(--color-sub);
  background: var(--color-forum);
  padding: 20px;
  box-shadow: -5px 5px 15px var(--color-txt1);
}

#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: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
  justify-content: center;
}

#profile-left li {
  list-style: none;
}


#profile-name strong {
  font: 700 20px var(--font-1) !important;
  color: var(--color-link);
  text-transform: uppercase;
}

#profile-left #profile-title strong,
#profile-left #pa-online strong {
  color: var(--color-txt2);
  font: 600 9px var(--font) !important;
}

#pa-edit a {
  color: var(--color-txt2);
  border: px solid var(--color-sub);
  padding: 3px 15px !important;
  display: block;
  border-radius: px;
  font: 700 11px var(--font);
}

#pa-edit a:hover {
  background: var(--color-forum);
  color: var(--color-hover);
}

/* right part */
#profile-right {
  width: 100% !important;
  padding: 15px !important;
  display: flex;
  gap: 10px 5px;
  position: relative;
  overflow: visible !important;
  flex-wrap: wrap;
  justify-content: space-around;
  height: 100%;
  align-items: baseline;
  align-content: space-around;
  box-sizing: border-box;
}

#profile-right li {
  display: flex;
  gap: 5px;
  text-transform: uppercase;
  flex-direction: column;
  font: 400 9px var(--font);
}

#profile-right li span:first-child,
#pa-email strong a {
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 15px;
  border-radius: px;
  font-size: 11px;
  font-family: var(--font-1);
  text-align: center;
}

#profile-right li span:first-child{
  color: var(--color-txt1);
  background: var(--color-forum);
}

#profile-right li span:first-child a {
  color: var(--color-txt1);
} 

#profile-right strong {
  font-weight: 600;
  padding: 0 !important;
  letter-spacing: 0.5px;
  text-align: center;
}

#profile-right strong,
#profile-right strong a {
  color: var(--color-txt1);
}

#pa-fld1 {
position: absolute;
  left: -260px;
  top: -20px;
width: 35%;
}

#pa-fld1 strong {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#profile-right #pa-fld1{
  mix-blend-mode: multiply;
}

#pa-posts {
  order: 2;
}

#pa-respect {
  order: 3;
}

#pa-positive {
  order: 3;
}

#pa-fld2 {
  order: 4;
}

#pa-posts,
#pa-respect,
#pa-positive,
#pa-fld2,
#pa-register-date,
#pa-time-visit,
#pa-last-post,
#pa-last-visit {
  width: calc(100% / 4.2);
}

#pa-posts strong {
  display: flex;
  flex-direction: column;
}

#pa-register-date {
  order: 5;
}

#pa-time-visit {
  order: 6;
}

#pa-last-post {
  order: 7;
}

#pa-last-visit {
  order: 8;
}

#profile-right #pa-email {
  flex-direction: row;
  width: 100%;
  order: 9;
  justify-content: center;
  margin-top: 10px;
}

#pa-email strong {
  font-size: 0;
  display: flex;
  gap: 10px;
}

#pa-email strong a {
  background: var(--color-forum);
  color: var(--color-link);
  font-weight: 700;
}

#pa-email strong a:hover {
  color: var(--color-hover);
}

#pa-fld3 {
    position: absolute;
    right: -8px;
    top: -8px;
}


/* inside */
#profilenav,
#pun-adnav {
  float: left;
  width: var(--profnav-w);
  font: 600 11px var(--font) banner;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

#profilenav ul,
#pun-adnav ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: none;
}

#profilenav ul {
  position: relative;
  left: -30px;
}

#profile fieldset,
.adformal {
  padding: 20px 40px;
}

#pun-profile fieldset,
#pun-profile .adfs-box {
  text-transform: lowercase;
  font: 500 11px var(--font) text;
  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;
}

/* 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(--color-accent);
}

/* messeges
-----------------------------------------------------------------------------------*/
#pun-messages .hasicon {
  width: auto;
}

#pun-messages h3 {
  margin-top: -21px;
  position: relative;
}

.postlink .button {
  background: transparent !important;
  padding: 0 !important;
}

#profile.formal.messages-container .container {
  min-height: 70px;
}

#notify-settings {
  font: 400 9px var(--font) text;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  color: var(--color-gray);
  margin-left: calc(var(--profnav-w) + 15px);
}

input#OnOff_Notify {
  margin-top: -2px;
}

#volSlider.vol_slider {
  margin-top: 1px;
}

#pun-messages .pa-avatar {
  order: 2;
}

#pun-messages .pa-author {
  order: 1;
}

#pun-messages .pa-title {
  order: 3;
}

#pun-messages .pa-posts {
  order: 4;
}

/* ls */

.messages-container fieldset #plng {
  display: none;
}

.messages-container fieldset strong {
  display: flex;
  position: relative;
  z-index: 8;
  top: -10px;
  color: var(--color-link);
}

.messages-container #profilenav li {
  margin-left: -25px;
}

#volSlider.vol_slider {
  width: 180px;
    height: 10px;
    border: 1px solid var(--color-sub) !important;
    box-sizing: border-box;
    border-radius: 10px !important;
  box-shadow: none;
}

#volSlider .before {
    height: 8px !important;
    margin: -1px 0 0 0px;
    background: var(--color-sub) !important;
}

#volSlider .thumb {
  width: 5px !important;
    height: 14px !important;
    position: relative;
    top: -12px !important;
    cursor: pointer;
    background: var(--color-sub) !important;
    margin-left: -2px;
    border-radius: 50%;
  box-shadow: none !important;
}

#volume-set {
  display: flex;
  font-family: var(--font);
  text-transform: uppercase;
  align-items: center;
}


/* scrolbar select
------------------------------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--color-forum);
}

.scrollbox::-webkit-scrollbar-track {
  background: var(--color-qv);
}

/* selection */
::selection {
  color: var(--color-txt1);
  background: var(--color-lnt);
}



/* hidden
------------------------------------------------------------------------------------*/
.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,
.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,
#pun-searchposts h3 span a:last-child:after,
#pun-index .tclcon span a:last-child:after,
#pun-index .subforums a:last-child:after,
#pa-fld1 span:first-child,
#pa-email span:first-child,
#pa-fld3 span:first-child,
#pa-fld4, .pa-from {
  display: none !important;
}

.pun-modal.unread-notifications .modal-inner h2 span,
.pun-modal.rating_theme h2 span {
  display: inline-block !important;
}

#tuser {
    display: none;
}

/* mob moz
------------------------------------------------------------------------------------*/
@-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;
  }
    .go-up,.go-down {
      display: none;
  }
  
  .upper::before,
.dvnr::before {
    display: none;
}
  
  .upper:before {
  content: '\f062';
}

.dvnr::before {
  content: '\f063';
}
  
  #pun-announcement {
  width: calc(var(--main-w) + 30px);
  height: 386px;
  left: 0px;
}

.leftparp {
width: 50%;
height: 386px;
}

.lptop {
 display: flex;
 position: relative;
 left: 45px;
 height: 70px;
 margin-left: 0px;
 padding-top: 0px;
 align-items: center;
}

.lpbottom{

  height: 200px;
  padding-left: 40px;
  padding-top: 150px;

}

.navbar1:hover .navd1,
.navbar2:hover .navd2,
.navbar3:hover .navd3 {
    left: 200px;
}

.navbar1:hover .navd1 {
    top: 240px;
}

.navbar3:hover .navd3 {
    top: 200px;
}

.rightpart{
width: 50%;
  height: 386px;

}
.riptop {
  height: 250px;
}

.newsbox {
  position: relative;
  top: -25px;
}

.nh1{
  padding-left: 67px;
}

.admins {
  display: flex;
  width: 70px;
  height: 50px;
  flex-direction: row;
  box-sizing: border-box;
  align-content: center;
  justify-content: center;
  position: relative;
  left: 300px;
  top: 375px;
}

/*links in topik*/

 .suchka {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      width: 100%;
      height: 30px;
      text-align: center;
  }

.suchka a {
  box-sizing: border-box;
  background: var(--color-linkintopik);
  width: 150px;
  height: 30px;
  color: var(--color-lnt) !important;
  padding-top: 5px;
  border: 1px solid var(--color-sub)
}

.suchka a:hover {
  bacground: var(--color-lnthoverbg);
  color: var(--color-hover);
}

/* admin */
.adformal, .adcontainer {
  border-style: none !important;
  }


.adformal h2, #pun-adnav h2 {
  padding: 0.5em 1em;
  border-style: none !important;
  background-color: var(--color-sub) !important;
  color: var(--color-txt2) !important;
  }
  
  /*calculator*/

.calc {
  width: 500px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding 0;
  box-sizing: border-box;
  font-family: var(--font);
  font-size: 14px;
  text-transform: uppercase

}

.calc input {
  width: 500px;
}


.calc label {
  width: 500px;
}


.buttoncalc  {
width: 100px !important;
font-family: var(--font-1) !important;
color: var(--color-link);
  font-size: 12px;
  letter-spacing: 1.5px;
}

#statsh2{
  font-family: var(--font-1);
  color: var(--color-link)
}