/*************************************************************
CODE STRUCTURE BY BLANCHE
коды отданы в пользование pious whore
**************************************************************

FONTS / ROOT / LINKS
-------------------------------------------------------------*/
@import url(style_cs.1761492672.css);
@import url('https://forumstatic.ru/files/001a/e6/32/15560.css'); /* helvetica neue */
@import url('https://kit-pro.fontawesome.com/releases/v5.15.1/css/pro.min.css');
@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=Amatic+SC:wght@400;700&family=Roboto:wght@900&display=swap');

@font-face {
  font-family: fav;
  font-weight: normal;
  src: local('Avocade-Free-BF64c3a8a7c4dac'),
    url(https://forumstatic.ru/files/001c/09/79/37221.woff) format('woff');
}

@font-face {
  font-family: fav1;
  font-weight: normal;
  src: local('Catavalo-Light'),
    url(https://forumstatic.ru/files/001c/09/79/65592.woff) format('woff');
}


@import url('https://fonts.googleapis.com/css?family=Montserrat|Montserrat+Alternates|Open+Sans|Oswald');
@import "https://cdn.linearicons.com/free/1.0.0/icon-font.min.css"; 
@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Roboto+Condensed');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,600i,700,700i,800,800i,900,900i&display=swap&subset=cyrillic,cyrillic-ext');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pangolin&display=swap');
@import url(https://alexkolmar.github.io/fonts/Calibri/stylesheet.css);
@import url(https://alexkolmar.github.io/fonts/SegoeUI/stylesheet.css);
@import url(https://alexkolmar.github.io/fonts/Porter/stylesheet.css);
@import url(https://forumstatic.ru/files/001c/3b/8d/40980.css);
@import url(https://alexkolmar.github.io/fonts/Beer_money/stylesheet.css);
@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap');
@import url('https://alexkolmar.github.io/fonts/Lighthaus/stylesheet.css');
@import url('https://fonts.googleapis.com/css2?family=Cuprum:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://alexkolmar.github.io/fonts/Welona/stylesheet.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Updock&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Trochut:ital,wght@0,400;0,700;1,400&display=swap');
@font-face { font-family: Centers George;
src: local("Centers George"), url(https://forumstatic.ru/files/001c/48/6f/21571.otf); }
@font-face { font-family: Frances;
src: local("Frances"), url(https://forumstatic.ru/files/001c/48/6f/89980.otf); }
@font-face { font-family: Agencyfb;
src: local("Agencyfb"), url(https://forumstatic.ru/files/001c/48/6f/35409.ttf); }
@font-face { font-family: Angelic Bonques;
src: local("Angelic Bonques"), url(https://forumstatic.ru/files/001c/48/6f/67920.ttf); }
@font-face { font-family: Blenheim Signature;
src: local("Blenheim Signature"), url(https://forumstatic.ru/files/001c/48/6f/18585.ttf); }
@font-face { font-family: Madelyn Fill;
src: local("Madelyn Fill"), url(https://forumstatic.ru/files/001c/48/6f/42008.ttf); }
@font-face { font-family: Meglona;
src: local("Meglona"), url(https://forumstatic.ru/files/001c/48/6f/76394.ttf); }
@font-face { font-family: Quarantine;
src: local("Quarantine"), url(https://forumstatic.ru/files/001c/48/6f/40043.ttf); }
@font-face { font-family: Specials;
src: local("Specials"), url(https://forumstatic.ru/files/001c/48/6f/79733.ttf); }
@font-face { font-family: Mattvin;
src: local("Mattvin"), url(https://forumstatic.ru/files/001c/48/6f/33859.ttf); }
@font-face { font-family: Kindly Season;
src: local("Kindly Season"), url(https://forumstatic.ru/files/001c/48/6f/78058.ttf); }
@font-face { font-family: Gosznak;
src: local("Gosznak"), url(https://forumstatic.ru/files/001c/48/6f/39878.otf); }
@font-face { font-family: Felixstar;
src: local("Felixstar"), url(https://forumstatic.ru/files/001c/48/6f/26373.otf); }
@font-face { font-family: Emotional Restraint;
src: local("Emotional Restraint"), url(https://forumstatic.ru/files/001c/48/6f/12508.ttf); }
@font-face { font-family: Arco;
src: local("Arco"), url(https://forumstatic.ru/files/001c/48/6f/78114.ttf); }
@font-face { font-family: Nasha Niva;
src: local("Nasha Niva"), url(https://forumstatic.ru/files/001c/48/6f/96676.otf); }
@font-face { font-family: Civons;
src: local("Civons"), url(https://forumstatic.ru/files/001c/48/6f/54105.ttf); }
@font-face { font-family: Magix;
src: local("Magix"), url(https://forumstatic.ru/files/001c/48/6f/86542.otf); }
@font-face { font-family: Wild Olive;
src: local("Wild Olive"), url(https://forumstatic.ru/files/001c/48/6f/65405.ttf); }
@font-face { font-family: Nuqun;
src: local("Nuqun"), url(https://forumstatic.ru/files/001c/48/6f/30790.otf); }
@font-face { font-family: Tsveti;
src: local("Tsveti"), url(https://forumstatic.ru/files/001c/48/6f/79458.ttf); }
@font-face { font-family: Yorkane;
src: local("Yorkane"), url(https://forumstatic.ru/files/001c/48/6f/28017.otf); }
@font-face { font-family: Belkon;
src: local("Belkon"), url(https://forumstatic.ru/files/001c/48/6f/94935.otf); }
@font-face { font-family: Sasha;
src: local("Sasha"), url(https://forumstatic.ru/files/001c/48/6f/58457.otf); }
@font-face { font-family: Anathema;
src: local("Anathema"), url(https://forumstatic.ru/files/001c/48/6f/29113.otf); }
@font-face { font-family: Joey Marine;
src: local("Joey Marine"), url(https://forumstatic.ru/files/001c/48/6f/72176.ttf); }
@font-face { font-family: Elnora;
src: local("Elnora"), url(https://forumstatic.ru/files/001c/48/6f/79850.ttf); }
@font-face { font-family: Artefakt;
src: local("Artefakt"), url(https://forumstatic.ru/files/001c/48/6f/76077.otf); }
@font-face { font-family: Glinty;
src: local("Glinty"), url(https://forumstatic.ru/files/001c/48/6f/19178.otf); }
@font-face { font-family: Konkovo;
src: local("Konkovo"), url(https://forumstatic.ru/files/001c/48/6f/64875.otf); }
@font-face { font-family: Pizza Dude;
src: local("Pizza Dude"), url(https://forumstatic.ru/files/001c/48/6f/14097.otf); }
@font-face { font-family: Urban;
src: local("Urban"), url(https://forumstatic.ru/files/001c/48/6f/66788.otf); }
@font-face { font-family: Cygre;
src: local("Cygre"), url(https://forumstatic.ru/files/001c/48/6f/30347.ttf); }
@font-face { font-family: San Francisco;
src: local("San Francisco"), url(https://forumstatic.ru/files/001b/5b/f8/21597.ttf); }
@font-face { font-family: gotham pro;
src: local("gotham pro"), url(https://forumstatic.ru/files/001c/91/97/50735.ttf); }
@font-face { font-family: fav2;
src: local("no signal"), url(https://forumstatic.ru/files/001c/91/97/99825.otf); }
@font-face { font-family: fav3;
src: local("CURATOR4-ITALIC"), url(https://forumstatic.ru/files/001c/91/97/93009.otf); }

/***************************************/

:root {
  --bg: url(https://forumstatic.ru/files/001c/91/97/72396.jpg);
  --title-bg: url();
  --foot: url();

  --notify: var(--bg-color);
  --link: var(--color-accent);

  --bg-color: #cacfd1;
  --pun: #e9e8e7;
  --pun1: #f5f5f7;
  --color-accent: #4f5f63;
  --color-accent1: #fdfdfd;
  --color-gray: var(--bg-color);
  --color-dark: ;

  --font: arial;
  --font-fav: arial;
  --font-fav1: fav2;

  --title-h: 285px;
  --prof-w: 240px;
  --profnav-w: 110px;
  --main-w: 1102px;
  --main-p: 20px;
  --usav: 30px;
  --foot-h: 0px;

  --intd-gap: 20px;
  --icon-w: 10px;
  --icon-h: var(--icon-w);
  --main-icon-w: 46px;
  --main-icon-h: 61px;

  --fawe: 'Font Awesome 5 Pro';
  --mat: 'Material Symbols Rounded';
}

/***************************************/

a {
  text-decoration: none;
  transition: all 0.5s;
  color: #4f5f63;
    font-weight: 500;
}

#pun-admain a,
#MyBookmarks span.scrl {
  color: var(--link) !important;
}

a:hover,
a:focus,
a:active {
  color: var(--color-gray);
}

: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) top/cover fixed var(--bg-color);
}

/***************************************/

#pun {
    position: relative;
    width: var(--main-w);
    font: normal 68.75% verdana, arial, helvetica, sans-serif;
    color: #5e6d77;
    margin: 30px auto;
    padding-top: 180px;
}

#pun:before {
}

.punbb {
  padding: var(--main-p);
  box-sizing: border-box;
 background: url(https://forumstatic.ru/files/001c/91/97/96397.png);
}

/***************************************/
#pun-title {
    background: url(https://forumstatic.ru/files/001c/91/97/51145.png);
    width: var(--main-w);
    height: var(--title-h);
    border-bottom: none;
    position: absolute;
    top: -40px;
    left: 0px;
}

#pun-announcement {
  position: absolute;
  top: 0px;
  width: var(--main-w);
  height: calc(var(--title-h) - 55px);
  left: 0;
}

#pun-announcement:before {
    content: '';
   background: url(https://forumstatic.ru/files/001c/91/97/70379.png);
    width: 187px;
    height: 107px;
    position: absolute;
    display: block;
    transition: all 1.8s;
    top: 79px;
    left: 851px;
    z-index: 9;
}

#pun-announcement:hover:before {
 transform: translateX(126px);
}

/* NAVLINKS / ULINKS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-navlinks .container,
#pun-ulinks .container {
}

#pun-navlinks li,
#pun-ulinks li {
  display: inline-flex;
  margin-right: 15px;
  align-items: center;
  height: 100%;
}

#pun-navlinks li {
  margin-right: 0px;
}
#pun-navlinks li:nth-child(4) {
    margin-left: 510px;
}
#pun-navlinks .container {
   position: absolute;
    top: -28px;
    left: 55px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin: 0;
    height: 78px;
    z-index: 9;
    font: normal 95.5% gotham pro;
    text-transform: uppercase;
    font-size: 14px;
}

#pun-navlinks a:before {
  
}

#pun-navlinks a:hover:before {

}

/* ulinks */
#pun-ulinks .container {
    font-size: 10px;
    font-family: var(--font);
    font-weight: 500;
    display: block;
    text-transform: lowercase;
    text-align: center;
    border-radius: 15px;
    padding: 4px;
    margin-top: 8px;
    position: absolute;
    left: 82px;
    width: 928px;
    letter-spacing: 0.1px;
}

#pun-ulinks a {
  color: var(--color-accent);
}

#pun-ulinks a:hover {
  color: var(--pun);
}

#pun-navlinks a:hover {
}

#pun-navlinks li a span {display: none;}
#pun-navlinks #navindex a:before {content: "форум";}
#pun-navlinks #navuserlist a:before {content: "участники";}
#pun-navlinks #navsearch a:before {content: "поиск";}
#pun-navlinks #navprofile a:before {content: "профиль";}
#pun-navlinks #navpm a:before {content: "смс";}
#pun-navlinks #navadmin a:before {content: "амс";}
#pun-navlinks #navregister a:before {content: "регистрация";}
#pun-navlinks #navlogin a:before {content: "вход";}
#pun-navlinks #navlogout a:before {content: "выход";}

/* STATUS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-status .container {
    font-family: var(--font);
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    position: absolute;
    left: 666px;
    margin: 0;
    width: 197px;
    z-index: 99;
    top: 175px;
}

#pun-status strong,
#pun-status a,
#pun-status .status-right a {
  color: #fefefe;
  font-weight: 500;
}

#pun-status {
  color: var(--pun);
}

#pun-status .status-right a:before {
  content: '(';
  margin-right: 5px;
}
#pun-status .status-right a:after {
  content: ')';
  margin-left: 5px;
}

#pun-status .status-right {
  float: none !important;
}


#pun-status .status_userava {
  grid-area: ava;
  background: #98a5b1;
  border-radius: 5px;
  overflow: hidden;
}

#pun-status .item1 {
  grid-area: item1;
  display: flex;
  height: 100%;
  align-items: flex-end;gap: 3px;
}

#pun-status .item2 {
  grid-area: item2;
  display: flex;
  height: 100%;
  align-items: flex-start;gap: 3px;
}

#pun-status .status_userava,
#pun-status .status_userava img {
  width: 24px;
  height: 24px;
}

#pun-status .status_userava img {
  mix-blend-mode: soft-light;
  object-fit: cover;
}

#pun-status .item4 {
  display: none;
}

#pun-status .item3 {
position: absolute !important;
    left: 684px;
    width: 300px;
    color: #5e6d77;
    top: 21px;
    letter-spacing: 0.5px;
}

/* CATEGORY
--------------------------------------------------------------------------------------------------------------------------*/
#pun-index .category .container,
.statscon {
 position: relative;
}

.category h2,
#pun-stats h2 {
  margin: 0 0 0 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/***************************************/

.category h2 span,
#pun-stats h2 span {
    display: flex;
    align-items: center;
    font-family: var(--font-fav1);
    font-size: 33px;
    box-sizing: border-box;
    text-transform: lowercase;
    line-height: 1;
     width: calc(30% + 20px);
    height: 33px;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px 0px;
    position: relative;
    margin-left: -320px;
}

.category h2 span:before, #pun-stats h2 span:before {
  font-size: 18px;
  font-family: var(--font-fav);
  margin-left: -75px;
  position: absolute;
}


/* 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: 30px;
    background: linear-gradient(270deg, #c9cacb, #c6d2d4, #d1dcdd, #d7dbe6, #f1f1ef, #f1f1f1);
    border-radius: 50px 0px / 50px;
    padding: 15px;
    box-sizing: border-box;
    margin-left: 30px;
    width: 1000px;
    margin-top: -10px;
    justify-content: center;
    border: 1px solid #c9d6d8;
    box-shadow: inset -1px 0px 13px 0px #bbcbcd;
}

.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(--color-accent);
  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-messages td {
    display: flex;
}

#pun-viewforum .tcr,
#pun-searchtopics .tcr,
.tc2,
.usertable .last_visit,
#pun-respect .tcr,
#pun-positive .tcr {
  text-align: center;
}

#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(--color-accent);
}

/* PUN-INDEX / PODFORUMS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-index .hasicon {
  gap: 30px;
  margin-bottom: 30px;
}

#pun-index .hasicon tr {
  position: relative;
    box-sizing: border-box;
    gap: 30px;
    color: #71706d;
}

/* subforums */
#pun-index .hasicon .isub .tcl {
  padding-left: 0px !important;
}

#pun-index .subforums {
  display: none !important;
}

#pun-index .subforums a:first-of-type {
  margin-left: -15px;
}

#pun-viewforum .isub .tcl h3 {
  margin: 0 0;
}

/* left part */
#pun-index .tclcon {
  grid-area: for;
  font-size: 10px;
  text-align: justify;
  line-height: 15px;
  text-transform: lowercase;
  font-weight: normal;
  -webkit-text-size-adjust: none;
  font-family: var(--font);
  width: 444px;
  letter-spacing: 1px;
}

#pun-index .tcl h3 {
 font-size: 20px;
    text-align: center;
    margin: 0 0 10px 0;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 500;
    font-family: fav3;
    letter-spacing: 0;
}

#pun-index .tcl h3 a {
  color: #404e57;
  -webkit-text-size-adjust: none;
}

#pun .intd:hover h3 a {
  opacity: 0.5;
}

#pun-index .tclcon span,
#pun-index .subforums,
.links {
  position: relative;
  display: flex;
  gap: 10px;
  margin: 10px 0 0 0;
  justify-content: center;
}

#pun-index .tclcon span a,
#pun-index .subforums a,
.links a {
  text-transform: lowercase;
  color: var(--color-accent);
  font-size: 9px;
  display: flex;
  align-items: center;
  background: var(--bg-color);
  justify-content: center;
  padding: 1px 7px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--bg-color);
}

#pun-index .tclcon span a:hover,
#pun-index .subforums a:hover,
.links a:hover {
  background: transparent;
}

/* right part */
#pun-index .tcr {
  display: grid;
  grid-template-columns: var(--usav) 1fr;
  grid-template-rows: auto auto;
  gap: 6px 20px;
  grid-template-areas:
    'ava lastpost1'
    'ava lastpost2';
  justify-content: start;
  align-items: center;
  justify-items: start;
  align-content: center;
}

.lastpost-link {
  grid-area: lastpost1;
    color: #282a29;
    text-align: left;
    display: flex;
    height: 100%;
    text-transform: lowercase;
    font-size: 10px;
    align-items: flex-end;
    line-height: 0px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lastpost-link:hover {
  color: #34464a;
}

.lastpost {
  grid-area: lastpost2;
  font-size: 9px;
  text-transform: lowercase;
  text-align: left;
  letter-spacing: 0.5px;
}

/* user-avatar */
.user-avatar a {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.user-avatar,
.avatar-image {
  border-radius: 35% !important;
}
.user-avatar {
      margin: 3px 0 0 0 !important;
    background: #e4e7e7;
    width: var(--usav) !important;
    height: var(--usav) !important;
    grid-area: ava;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #5d78794f;
}

.avatar-image {
  opacity: 0.5 !important;
  filter: grayscale(1);
  mix-blend-mode: hard-light;
  width: var(--usav) !important;
  height: var(--usav) !important;
  transition: all 0.5s;
}

.isonline {
  background: var(--color-accent) !important;
  top: auto !important;
  right: auto !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
}

.tcr:hover .avatar-image {
  opacity: .8 !important;
}

/* ICONb
--------------------------------------------------------------------------------------------------------------------------*/
.intd {
  display: grid;
  grid-template-columns: var(--icon-w) 1fr;
  align-items: center;
  gap: var(--intd-gap);
}

#pun-index .intd {
  grid-template-areas: 'for icon';
  grid-template-columns: 1fr var(--main-icon-w);
}

#pun-index .intd .icon {
  width: var(--main-icon-w);
  height: var(--main-icon-h);
  grid-area: icon;
 background: url(https://forumstatic.ru/files/001c/91/97/63456.png);
  opacity: 0.3;
}

#pun-index .intd .icon.inew,
#pun-index .intd .icon-new {
  opacity: 1;
}

.intd .icon {
  width: var(--icon-w);
  height: var(--icon-h);
  transition: all 0.2s;
}

.intd .icon:before {
  content: '\2726';
  font-size: 14px;
  color: var(--bg-color);
  line-height: 1;
}

#pun-index .intd .icon:before {
  display: none;
}

.intd .icon.inew,
.intd .icon-new {
}

.intd .icon.inew:before,
.intd .icon-new:before {
  color: var(--color-accent);
}

.isticky .intd .icon {
}

.isticky .intd .icon:before {
  color: var(--color-accent);
  opacity: 0.5;
}

.iclosed .icon {
  opacity: 0.5;
}

/* CRUMBS
--------------------------------------------------------------------------------------------------------------------------*/
.crumbs {
  margin: 25px 0px 20px 0px;
  font-family: var(--font);
  font-size: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
    position: relative;
    z-index: 9;
}

.crumbs a {
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

#pun-index .crumbs {
  font-weight: 500;
}

.crumbs,
.crumbs a:hover {
  color: #161e20;
}

.crumbs a:after,
#pun-searchposts h3 span a:after {
  content: '\2726';
  color: var(--bg-color);
  margin: -3px 0 0px 10px;
}

/* STATSCON
--------------------------------------------------------------------------------------------------------------------------*/
#pun-stats .container {
display: grid;
    grid-template-columns: auto auto auto auto;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    font-size: 10px;
    font-family: var(--font);
    gap: 5px 10px;
    grid-template-areas:
        'tem reg soo last'
        'active active active active'
        'day day day day';
    margin: 0;
    background: linear-gradient(287deg, #b2c7c7, #cfe4df, #c4ddd7, #dae6f2, #f1f1ef, #f1f1f1);
    border-radius: 50px 0px / 50px;
    padding: 15px;
    box-sizing: border-box;
    margin-left: 30px;
    width: 1000px;
    margin-top: 10px;
    border: 1px solid #c9d6d8;
    box-shadow: inset -1px 0px 13px 0px #bbcbcd;
}

.statscon .item1,
.statscon .item2,
.statscon .item3,
.statscon .item4 {
    background: #c4d4d6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 17px;
    gap: 3px;
    box-shadow: inset 0px 0px 0px 1px #ffffff52, inset -1px 0px 9px 2px #ffffff36;
    align-items: center;
    border: 1px solid #bdcfcf;
}

.statscon .item1 {
  grid-area: tem;
}
.statscon .item2 {
  grid-area: soo;
}
.statscon .item3 {
  grid-area: reg;
}
.statscon .item4 {
  grid-area: last;
}

.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 {
  font-weight: 600;
}

/* FOOTER
--------------------------------------------------------------------------------------------------------------------------*/
#pun-about {
   width: 1102px;
    height: 35px;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    background: url(https://forumstatic.ru/files/001c/91/97/45046.png);
    margin: 0px 0 -41px -20px;
}

#pun-about .container {
  font-family: var(--font);
  font-size: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
  margin-top: 100px;
  width: 100%;
}

#pun-about,
#pun-about a {
  color: var(--pun);
}

/* PROFILEb
--------------------------------------------------------------------------------------------------------------------------*/
.post-author {
  width: var(--prof-w);
  min-height: 85px;
  position: relative;
  background: var(--pun);
  border-radius: 10px;
}

.post-author ul {
  /* position: relative; */
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  width: calc(var(--prof-w) - 30px);
  gap: 0px;
  font-family: var(--font);
  padding: 10px;
  box-sizing: border-box;
  color: #838383;
  background: var(--pun1);
  margin: 15px;
  border-radius: 10px;
}

.post-author li {
  width: inherit;
}

/* author & title */
.pa-author {
  font-family: fav3;
  font-size: 16px;
}

.pa-author strong {
  font-weight: 500;
}

.pa-author,
.pa-author a {
  color: var(--color-accent);
}

.pa-author a:hover {
  color: var(--bg-color);
}

.pa-title {
  margin-bottom: 10px;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: lowercase;
}

/* avatar */
.pa-avatar {
  margin: 10px 0px;
}

.pa-avatar img,
#pa-avatar img {
  max-width: 180px;
  max-height: 180px;
  box-shadow: 0 0 0 3px var(--bg-color), 0 0 0 4px var(--pun), 0 0 0 5px var(--bg-color);
  position: relative;
  z-index: 99 !important;
}

/* posts/respect */
.pa-respect,
.pa-posts,
.pa-fld3 {
  width: calc(calc(var(--prof-w) - 50px) / 3) !important;
   font-size: 12px;
    font-family: helvetica neue;
    z-index: 3;
    -webkit-text-size-adjust: none;
    margin-top: 10px;
    height: 44px;
    line-height: 1;
    font-weight: 400;
}

.pa-respect,
.pa-respect a,
.pa-posts,
.pa-fld3 {
  color: #444f6e;
}

.pa-respect .fld-name,
.pa-posts .fld-name,
.pa-fld3 .fld-name {
  display: block;
  font-size: 9px;
  text-transform: lowercase;
  font-family: var(--font);
  font-weight: 500;
  position: relative;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.pa-respect .fld-name,
.pa-respect .fld-name a,
.pa-posts .fld-name,
.pa-fld3 .fld-name {
   color: #444f6e;
}

.pa-respect img {
  filter: grayscale(1);
  vertical-align: middle;
  margin-top: -1px;
}

/* FLDb */
.pa-fld1 {
    margin: 12px 2px;
    background: #f5f5f7;
    padding: 15px 7px;
    border-radius: 10px;
    position: relative;
    color: #5f5f5f;
    border: 1px solid #e5e5e4;
}

.pa-fld1 .name {
    display: block;
    text-transform: uppercase;
    font-size: 7px;
    letter-spacing: 1px;
    margin: -22px 0px 7px 10px;
    border-radius: 5px;
    padding: 2px 10px;
    width: fit-content;
    color: #5f5f5f;
    background: #f5f5f7;
    border: 1px solid #7f888f4d;
}

.pa-fld1 a {
    font-weight: 600;
}


.pa-fld1 .name:hover {
    background: var(--bg-color);
}

.pa-fld1 lz {
    font-size: 9px;
    letter-spacing: .5px;
    line-height: 14px;text-align: center;
}

rank {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #8a9295;
}

plash {
    display: flex;
    width: 210px;
    height: 38px;
    border-radius: 0 0 10px 10px;
    margin: 10px 0 -10px 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--color-accent);
    text-align: center;
    font-family: var(--font);
}

plash b {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
    font-size: 10px;
}

plash i {
    font-style: normal;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.pa-fld5 img {
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: var(--prof-w);
}

.pa-fld4 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -25px 0 10px 0;
    background: var(--pun);
    border-radius: 50%;
    width: 32px !important;
    height: 32px;
}

.pa-fld4 img {
    max-width: 20px;
    max-height: 20px;
}

/* online */
.indOnline,
.indOffline {
  cursor: pointer;
  position: absolute;
  width: 20px;
  height: 20px;
  right: 4px;
  top: 4px;
}

.indOnline:before,
.indOffline:before {
  content: '\2726';
  font-size: 16px;
}
.indOnline:before {
  color: var(--color-accent);
}
.indOffline:before {
  color: var(--bg-color);
}

/* QUOTEb / SPOILERb / TEXTAREA
--------------------------------------------------------------------------------------------------------------------------*/
.quote-box,
.code-box,
textarea,
.inner,
.modal-inner,
.editBookmark,
#MyBookmarks,
.hvStickerPackModal {
  box-shadow: 0 0 10px var(--bg-color) !important;
  border: transparent !important;
  background: var(--pun);
  border-radius: 10px;
}

.quote-box,
.code-box {
  margin: 30px 15px;
  position: relative;
  padding: 10px;
  box-sizing: border-box;
}

.quote-main {
}

td .spoiler-box {
  margin: 20px 10px;
}

cite,
.code-box .legend,
.spoiler-box > div {
  font-style: normal;
  display: block;
  font-size: 13px;
  position: relative;
  text-align: right;
  margin: 0 auto;
  font-family: var(--font);
  padding: 4px 10px !important;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  background: var(--bg-color) !important;
  -webkit-text-size-adjust: none;
  border-radius: 8px;
  margin-bottom: 10px;
}

cite,
cite a,
cite a:hover,
.code-box .legend,
.code-box .legend a,
.spoiler-box > div {
  color: var(--color-accent1);
}

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: 0px;
  width: 100%;
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
  background: var(--pun1);
  border-radius: 10px;
}

blockquote p:last-child {
  padding: 0;
}

.scrollbox {
  overflow: auto;
  font-size: initial;
  max-height: 60px;
}

.code-box .legend a,
.qc-uname {
  position: relative;
}

.spoiler-box > div:before {
    content: '\2726';
    display: inline-block;
    margin-right: 10px;
    transition: all .5s;margin-top: -10px;
}

.spoiler-box > div.visible:before {color: var(--pun);}

.code-box .legend a:before,
.qc-uname:before {
  top: 5px;
  left: -15px;
}

/* textareab */
textarea {
    overflow: auto;
    font-size: 11px !important;
    line-height: 15px !important;
    padding: 10px;
    font-family: Verdana;
    box-sizing: border-box;
    background: var(--pun1);
    border-radius: 0 0 10px 10px;
    box-shadow: none !important;
  -webkit-text-size-adjust: none;
}

/* 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 {
    margin: 0px 0px -3px 0px;
    background: var(--bg-color) !important;
    position: relative;
    border-radius: 10px 10px 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(--color-accent);
}

#form-buttons td {
  background-image: none !important;
  font-family: var(--mat);
  font-size: 12px;
  width: inherit !important;
  cursor: pointer;
  transition: all 0.5s;
}

#plng {
    background: var(--pun1);
    font-size: 9px;
    font-family: var(--font);
    font-weight: 600;
    color: var(--color-accent);
    border-radius: 5px;
    height: fit-content;
    padding: 3px 0;
    margin: 5px;
}

#form-buttons td:hover {
  color: var(--color-accent);
}

#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';
}

#floatbut:before {
  content: '\e3b5';
}

#button-mask:before {
    content: '\f4d6';
}

/* tags */
#tags .container,
#float {
    overflow-y: auto;
    padding: 10px !important;
    height: 167px;
    font-family: var(--font);
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    z-index: 99999;
    font-size: 10px;
    background: var(--pun);
    top: 36px !important;
    margin: 0px 5px 0 11px;
    color: var(--color-accent);
    border-radius: 0 0 10px 10px;
}

#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 div:hover,
#size-area div:hover,
#addition-area div:hover {
  background: var(--bg-color);
}

#font-area div img,
#size-area div img {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
}

#font-area span,
#size-area span,
#addition-area div {
  height: auto !important;
}

#uploaded-images img {
  object-fit: cover;
}

#image-area,
#color-area,
#video-area,
#spoiler-area {
  height: auto !important;
}

#spoiler-area a,
#image-area a {
  color: inherit;
}

#float {
  left: 43%;
  z-index: 2;
  height: auto;
  position: absolute;
  display: none;
}

/* INPUT / BUTTONS
--------------------------------------------------------------------------------------------------------------------------*/
input,
select,
option,
.hvStickerPackModalTab {
background: var(--pun1) !important;
    border: 1px solid var(--bg-color);
    font-family: var(--font) !important;
    font-size: 10px;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    color: #272f31;
    box-sizing: border-box;
    border-radius: 7px;
}

select,
option {
  text-transform: lowercase;
}

#topic-modmenu {
  margin-top: 20px;
}

/* buttonb */
.button,
.hvStickerPackModalTab {
    background: #cacfd1 !important;
    border-color: #cacfd1 !important;
    padding: 3px 10px 4px 10px !important;
    text-transform: lowercase;
    font-size: 11px !important;
    color: #f5f5f7;
    font-weight: 600 !important;
    transition: all 0.5s;
    cursor: pointer;
}

.button:hover,
.hvStickerPackModalTab:hover,
.hvStickerPackModalTab.active {
  background: var(--pun1) !important;color: var(--color-accent) !important;
}

/* 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;
  position: absolute;
  width: calc(100% - 65px);
  margin: 0;
  left: 0;
  bottom: -38px;box-sizing: border-box;
}

#pun-searchposts .post-links ul {
  text-align: left;
}

#pun-searchposts .post:last-child .post-links {
  margin-bottom: 10px;
}


#pun-viewtopic .linkst {
  padding-right: 65px}

.post-links ul,
.linkst {
  padding-left: 20px !important;
}

.endpost .post-links ul,
#pun-messages .post-links ul {
/*  padding-right: 0;*/
}

.endpost .post-links ul {
    /* padding-left: 10px; */
    position: relative;
    bottom: auto;
    width: 100%;padding-right: 20px;    padding-top: 2px;
    padding-bottom: 2px;
}

.endpost .post-links {
    background: var(--bg-color);
    border-radius: 0 0 10px 10px;
    margin: 0 -20px !important;
    width: calc(100% + 40px) !important;
    bottom: -30px;
    position: relative;
}

.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) + 20px) !important;
  padding-right: 20px !important;
  box-sizing: border-box;
  position: relative;
}
.post h3 span {
  background: var(--bg-color);
  border-radius: 10px 10px 0 0;
}

.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;
}

.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: #444f6e;
}
.post-links a,
.postlink a,
.postlink {
  color: var(--color-accent);
}

.pl-email a,
/*.post h3 span,*/
.pagelink,
.pagelink a,
.postlink .button,
.subscribelink a,
.editpole a {
  color: var(--color-accent);
}

.post-links a,
.pagelink,
.postlink {
  position: relative;
  z-index: 99;
}

.post h3 span a,
.post h3 span strong,
.linkst a,
.linkst strong,
.post-links a,
.linksb a,
.linksb strong {
  padding: 2px 7px;
  border-radius: 7px;
  transition: all 0.5s;
}

.post h3 span a:hover,
.linkst a:hover,
.linkst strong,
.post-links a:hover,
.linksb strong,
.post h3 span strong {
  background: var(--pun1);
  color: var(--color-accent);
}

.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: 3px 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: -1px;
}

#pun-multimove .post-links ul {bottom: auto;}

.linkst {
  margin-bottom: 10px;
}

/* PAGES: VIEWTOPIC / POST / PUN-POST
--------------------------------------------------------------------------------------------------------------------------*/
.post .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  position: relative;
  padding: 20px;
  background: var(--pun1);
  border-radius: 0 0 10px 10px;
  align-items: flex-start;
  margin-bottom: 30px;
}
.endpost .container {border-radius: 0}

.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(--color-accent);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-rating p:before,
.post-vote p:before {
  font-family: var(--fawe);
  color: var(--bg-color);
  transition: all 0.5s;
  font-size: 30px;
  position: absolute;
  margin-top: 3px;
}
.post-rating p:before {
  content: '\f004';
}
.post-vote a:before {
  content: '\f075';
}
.post-rating:hover p:before,
.post-vote:hover p:before {
  font-weight: 100;
}

div.post-vote {
  margin-bottom: 65px;
}

div.post-vote {
  margin-bottom: 65px;
}

.post-body {
  display: block;
  width: calc(100% - var(--prof-w) - 20px);
  position: relative;
}

.reactions-root {
  padding: 0 5px;
  position: absolute;
  bottom: 0;
}

.post-content {
  width: 100%;
  text-align: justify;
  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: #6a7881;
}

#topic-users-in a {
  color: #6a7881;
}

#topic-users-in span {
  font-weight: normal !important;
}

#topic-users-in a:after {
  content: ',';
  margin-right: 2px;
}

.formsubmit {
  display: flex;
  gap: 10px;
  align-items: center;
  text-transform: lowercase;
  font-family: var(--font);
  letter-spacing: 0.5px;
  color: var(--bg-color);
}

#pun-post .pa-author {
  margin: auto;
  text-align: center;
  position: relative;
  top: auto;
}

#pun-post #post-preview legend span,
#pun-userlist legend span,
#pun-search legend span,
.modal-inner legend span,
#pun-delete legend span {
  display: block !important;
  margin-bottom: 10px;
}

#pun-login label {
  white-space: nowrap;
}

/* fntslider */
.FNTslider {
  width: 160px;
  height: 8px;
  border: 1px solid var(--pun);
  box-sizing: border-box;
}
.FNTslider .before {
  height: 6px;
  margin: 0px;
  background: var(--pun);
}
.FNTslider .thumb {
  width: 13px;
  height: 6px;
  position: relative;
  top: -6px;
  cursor: pointer;
  background: var(--color-accent);
  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(--color-accent) !important;
}

.pagestext a {
  color: var(--color-accent) !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: 20px;
}

#pun-searchposts .FNTslider {
  position: absolute;
  right: 60px;
}

#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); */
  color: var(--color-accent);
}

/* PAGES: VIEWPROFILEb
--------------------------------------------------------------------------------------------------------------------------*/
#viewprofile tr {
    display: grid;
    grid-template-columns: 260px 1fr;
    font-family: var(--font);
    gap: 20px;
    align-items: center;
    margin: 30px;
    background: var(--bg);
    border-radius: 20px;
}

#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;
  font-size: 9px;
  justify-content: center;
}

#profile-name {
  font-size: 15px;
}

#profile-left #profile-name strong {
  font-weight: 500 !important;    font-family: fav3;
}

#profile-left #profile-title strong,
#profile-left #pa-online strong {
  font-weight: 300 !important;
  color: var(--color-accent);
}

#profile-name strong,
#pa-edit a {
    color: var(--color-accent) !important;
    text-transform: lowercase;
    font-weight: 600;
}

#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;
  background: var(--pun);
  margin: 10px;
}

#viewprofile #pa-fld7 {
  position: absolute;
}

#viewprofile a.profosn {
  left: -306px;
  top: 0;
}

#profile-right a:hover {
  color: var(--link);
}

#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(--color-accent);
    background: var(--bg-color);
    border-radius: 5px;
}

#profile-right strong {
  font-weight: 500;
  padding: 0 !important;
  letter-spacing: 0.5px;
}

#profile-right strong,
#profile-right strong a {
  color: var(--color-accent);
}

/* inside */
#profilenav,
#pun-adnav {
  float: left;
  width: var(--profnav-w);
  font-family: var(--font);
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

#profilenav ul,
#pun-adnav ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#profile fieldset,
.adformal {
  padding: 20px;
}

#pun-profile fieldset,
#pun-profile .adfs-box {
  text-transform: lowercase;
  font-family: var(--font);
  color: var(--bg-color);
  letter-spacing: 0.5px;
  margin-left: var(--profnav-w) !important;
}

#profile fieldset fieldset {
  margin-left: 0px !important;
  padding: 0px;
}

#filetable thead tr {
  display: table-row;
}

thead tr {
    background: var(--bg-color);
    padding: 3px 10px;
    border-radius: 10px 10px 0 0;
}

#pun-profile #profile {
  min-height: 280px;
}

/* 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;
}

.usertable .username {
    display: flex;
}

#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;
}

.usersname,
td.pmtc22 a,
#pun-viewforum td.tcr .byuser,
#pun-searchtopics td.tcr .byuser {
  grid-area: user;
}

.usersname a {
  color: var(--link);
}

/* PAGES: MESSAGESb
--------------------------------------------------------------------------------------------------------------------------*/
#pun-messages .hasicon {
  width: auto;
}

#pun-messages h3 {
  margin-top: -41px;
  position: relative;
}

#pun-messages .FNTslider {
  border-color: var(--pun1);
}
#pun-messages .FNTslider .before {
  background: var(--pun1);
}

#pun-messages .post-body {
    margin-top: 30px;
    width: calc(100% - var(--prof-w) - 40px);
}

#pun-messages .post-author {
    margin: 10px 0 0 0px;
}

#pun-messages .post h3 span {
    margin: 30px 0 -13px 0 !important;
}

#pun-messages .post-links ul {
    position: relative;
    bottom: auto;
    padding-left: 0 !important;
    width: calc(100% - 20px);
    padding-bottom: 10px;
}

.postlink .button {
  background: transparent !important;
  padding: 0 !important;
}

#profile.formal.messages-container .container {
  min-height: 70px;
}

#notify-settings {
  font-family: var(--font);
  font-weight: 300;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-size: 9px;
  color: var(--bg-color);
  margin-left: calc(var(--profnav-w) + 15px);
}

input#OnOff_Notify {
  margin-top: -2px;
}

#volSlider.vol_slider {
  margin-top: 1px;
}

/* SCROLLBAR / SELECTION
--------------------------------------------------------------------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 4px;
  height: 3px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent);
}

.scrollbox::-webkit-scrollbar-track {
  background: var(--pun);
}

/* selection */
::selection {
  color: var(--color-accent);
  background: var(--bg-color);
}

/* HIDDEN ELEMENTS
--------------------------------------------------------------------------------------------------------------------------*/
.acchide,
h1,
#pun-navlinks 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,
.lastedit,
.sharelink,
.pa-reg,
.pa-gifts,
.pa-replies,
.pl-share,
.pl-reports,
.pa-last-visit,
#viewprofile-next #profilenav,
#pa-invites,
#profile-gifts,
.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,
#pun-searchposts h3 span a:last-child:after,
#pa-fld5,
#pun-index thead tr,
#pun-stats h2 span
 {
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;
  }
  .go-up,
  .go-down, #pun:before {
    display: none !important;
  }
#pun-announcement:after {
    width: 180px;
    overflow: hidden;
    right: 0;
}
#pun-announcement:hover:after, #pun-announcement:hover:before, #pun-announcement:between, #pun-announcement:hover .container:before {
transform: none;
}
#pun-about {
    width: 1036px;
}

.punbb .post-content p a {
    text-decoration: none;
    font-weight: bold;
}


/************************* 
Стиль для Быстрой смены аккаунтов 
Deff 
*************************/ 
/*Cкрытие формы входа без клика*/ 
#pun-navlinks a:not(.NextShow)+span.odd{ 
display:none!important; 
}

/*Стиль доп-иконки Выход!*/ 
#pun-navlinks a#New-exit {
    background: transparent !important;
    position: absolute;
    z-index: 100000 !important;
    top: 10px;
    margin-left: 40px;
    display: inline-block !important;
}

#pun-navlinks #New-exit img{ 
display: none;
}
.punbb #pun-navlinks #form-login input {
    display: inline-block !important;
    width: 100%;
}

.punbb #form-login #fld1,#form-login #fld2{ 
background-color: rgb(235 221 221);
} 

.punbb #pun-navlinks #form-login input[type="submit"]{ 

} 
.punbb #pun-navlinks #form-login input[type="submit"]:hover{
  opacity: 0.8;
}

/*Стиль формы входа*/ 
.punbb #pun-navlinks #form-login, #List-UserNames {
    background: var(--bg-color);
    border: 1px solid var(--color-accent);
    border-radius: 0px 0px 10px 10px;
    color: var(--color-accent);
    padding: 10px;
    font-family: var(--font);
    font-size: 10px;
    text-transform: lowercase;
}
.punbb #pun-navlinks #form-login { 
    min-height: 170px;
    display: block;
    left: 0px;
    position: absolute !important;
    text-align: center;
    word-spacing: normal;
    top: 23px;
    width: 145px;
    height: 190px;
    z-index: 100000 !important;
}


#pun-navlinks #navlogin #form-login {
  margin-left: -30px;/*Подвижки формы влево от вход*/ 
} 
#pun-navlinks #navlogout #form-login { 
  margin-left: -20px;/*Подвижки формы влево от выход*/
} 
.ismoderator #pun-navlinks #navlogout #form-login {
  margin-left: -20px!important;/*Подвижки формы влево от выход для АМС*/
} 
/*Стиль ссылок в форме "Не зарегистрированы" и "Забыли пароль" */ 
#pun-navlinks #form-login input[value="Войти"]+p{ 
 margin: 11px auto;
} 
.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.4px!important; 
display:inline;
background: none!important;
padding: 0 0 0 3px!important;
color: #76333C;
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: -11px;
    min-height: 90px;
    width: 220px;
    right: 100%;
    text-align: center;
} 


/*Стиль контейнера под список Ников*/ 
.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: var(--color-accent);
    text-align: left;
    padding: 3px 3px 3px 7px !important;
    letter-spacing: 0.4px;
    margin: 1px auto !important;
    transition: .33s;
    border-radius: 5px;
}

.punbb #List-UserNames li:hover{ 
opacity:.84; 
} 

/*Стиль Ников*/ 
.punbb #List-UserNames li>b{ 
    cursor: pointer;
    opacity: 1;
    color: #fffefe;font-weight: 600;
} 
.punbb #List-UserNames li>b:hover{ 
} 
/*Скролл контейнера с никами*/ 
#List-UserNames ul::-webkit-scrollbar { 
width: 3px; 
height: 5px; 
} 
#List-UserNames ul::-webkit-scrollbar-track { 
background-color: #393A38; 
border: 0px solid #d7d8d9; 
box-shadow: none; 
} 
#List-UserNames ul::-webkit-scrollbar-thumb {
background-color: #C0BFBD;
border: 0px solid #d7d8d9; 
box-shadow: none; 
} 

/*Кнопки Удалить (правее ников)*/ 
#List-UserNames ul li>span { 
display:inline-block; 
padding:0 3px; 
position:absolute; 

opacity:.88; 
cursor:pointer; 
top:0;bottom:0; 
right:2px; 
color:#fff; 
font: normal normal
 
700 10.56px/normal Verdana; 
text-shadow:1px 1px 1px rgba(0,0,0,.6); 
} 
/*Текст при отсутствии запомненных Ников!*/ 
#List-UserNames ul:empty:before{ 
display:inline-block; 
content: "У Вас нет запомненных ников, введенных через форму справа, или через перенос ниже!"; 
} 
/*Кнопка выход-2*/ 
#navlogin #exit-2 { 
display:none; 
} 
#pun:not(.isguest) #navlogout .Rega, 
#pun:not(.isguest) #navlogout .Forgot { 
display:none!important; 
} 

/*Стиль блока с инпутом для переноса и вставки запомненных Аккаунтов*/ 
#List-UserNames ul+span{ 
   display: inline-block;
    padding: 6px 3px 8px 3px;
    text-align: left;
    font: normal normal 400 10px / normal Arial;

} 
/*Сам инпут*/ 
.punbb #List-UserNames input { 
    vertical-align: middle;
} 


/*Стрелочки к инпуту*/ 
#List-UserNames ul+span b{ 
font: normal normal 400 11px / normal Arial;
    padding: 0 3px;
    color: #fff8f8;
} 

/*Кликалка слева, чуть выше инпута*/ 
#List-UserNames .a1-copy{ 
display:inline-block!important; 
cursor:pointer; 
float:left; 
} 

/*Кликалка справа*/ 
#List-UserNames .a1-paste{ 
cursor:pointer; 
display:inline-block!important; 
float:right; 
} 

/*сервис рекомендаций*/ 
div#pun-live-rusff {
}