/*************************************************************
CODE STRUCTURE BY BLANCHE FOR GAYLADRIEL
**************************************************************

FONTS / ROOT / LINKS
-------------------------------------------------------------*/
@import url(style_cs.1751654106.css);
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0');
@import url('https://kit-pro.fontawesome.com/releases/v6.7.2/css/pro.min.css'); /*font awesome*/


@import url(style_cs.1751654106.css);
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

@import url('https://forumstatic.ru/files/001a/e6/32/15560.css'); /*helvetica neue*/
@import url('https://fonts.googleapis.com/css2?family=Lora:ital@1&display=swap');

@import url(https://forumstatic.ru/files/001b/7b/68/43827.css);
@import url('https://fonts.googleapis.com/css?family=Anton|Astloch|Berkshire+Swash|Bigshot+One|Caveat|Chathura|Cookie|Cormorant+Unicase|Cutive+Mono|Geo|Oleo+Script+Swash+Caps|Pirata+One|Share+Tech+Mono');
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface|Dancing+Script:400,700|Handlee|Kaushan+Script|Lobster|Marmelad|Open+Sans+Condensed:300|Roboto+Slab|Rochester|Six+Caps|Yeseva+One&subset=cyrillic,cyrillic-ext,latin-ext');
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,400i,700,700i|Roboto:400,400i,700,700i&display=swap&subset=cyrillic,cyrillic-ext,latin-ext');
@import url('https://fonts.googleapis.com/css?family=Cuprum');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,900&subset=cyrillic,latin-ext');

@font-face {
  font-family: Quindove;
  font-weight: normal;
  src: local('Quindove Italic'),
    url(https://forumstatic.ru/files/001a/a6/af/20174.woff) format('woff');
}

@font-face {
  font-family: The Rivers;
  font-weight: normal;
  src: local('The Rivers Regular'),
    url(https://forumstatic.ru/files/001a/a6/af/12310.woff) format('woff');
}

@font-face {
  font-family: Lato;
  font-weight: normal;
  src: local('Lato-Regular'), url(//forumstatic.ru/files/001a/a6/af/61415.woff) format('woff');
}

@font-face {
  font-family: Circle;
  font-weight: normal;
  src: local('CIRCLE'), url(//forumstatic.ru/files/001a/a6/af/85054.woff) format('woff');
}

@font-face {
  font-family: Iglets;
  src: local('Iglets'), url(//forumstatic.ru/files/001b/7c/28/62690.ttf) format('truetype');
}

@font-face {
  font-family: FashionWacks;
  src: local('FashionWacksRegular'), url(https://forumstatic.ru/files/001a/a6/af/38925.woff) format('truetype');
}


@font-face {
  font-family: Fashionable;
  src: local('Fashionable'), url(https://forumstatic.ru/files/001a/a6/af/17893.woff) format('truetype');
}



/***************************************/

:root {
    --bg: url(https://forumstatic.ru/files/001a/a6/af/17994.jpg) top center repeat fixed;
    --bg1: url(https://forumstatic.ru/files/001a/a6/af/32987.jpg) top center repeat fixed;
    --foot: url();
    --bg-color: rgba(var(--col2));
    --bg-color1: rgba(var(--col1));
    --pun: 149,154,157;
    --pun1: 208, 195, 201;
    --notify: var(--link2);
    --link: rgba(var(--col4));
    --link1: rgba(var(--col3));
    --link2: rgba(var(--col1));
    --link3: rgba(var(--col5));
    --accent: rgba(var(--col8));
    --accent1: rgba(var(--col7));
    --col1: 48, 75, 84;
    --col2: 14, 32, 39;
    --col3: 92, 111, 118;
    --col4: 95, 135, 150;
    --col5: 195, 195, 195;
    --col6: #313131;
    --col7: 166, 124, 75;
    --col8: 49, 125, 143;
    --col9: 204,129,42;
    --wh: 255, 255, 255;
    --font: lato;
    --font-fav: Fashionable;
    --font-fav1: Lighthaus;
    --font-awe: 'Font Awesome 5 Pro';
    --title-h: 211px;
    --prof-w: 240px;
    --profnav-w: 110px;
    --main-w: 934px;
    --main-p: 20px;
    --usav: 25px;
    --foot-h: 100px;
    --icon-w: 19px;
    --intd: 510px;
    --mat: 'Material Symbols Outlined';
    --mat1: 'Material Symbols Rounded';
}
/***************************************/

/*-----------------------LIGHT ОСНОВНЫЕ ЦВЕТА-------------------------*/
.light a, .light .hasicon tr, .light thead tr, .light .usertable tr, .light #messages tr, .light #pun-searchtopics tr, .light #pun-respect tr, .light #pun-positive tr, .light #pun-online tr, .light .profile-awards-container tr, .light .usersname a, .light .inline .infofield, .light .adformal h2, .light #viewprofile h2 span, .light #profilenav h2, .light #pun-adnav h2, .light #pun-admain h2 span, .light legend span, .light legend strong, .light .itoginov .ttan:after, .light .itoginov .tep:before, .light #pun-profile fieldset, .light #pun-profile .adfs-box, .light .formsubmit {
    color: rgba(var(--col9), 1);
}

.light .gost1 a, .light .post-links a, .light #notify-settings {
    color: rgba(var(--col3), .9);
}

.light #pun-viewtopic a:hover {
    color: rgba(var(--col2), 1);
}

.light #pun-viewforum th {color: var(--link1);}

.light .intd .icon:before {
    color: var(--col13);
}

.isticky .intd .icon::before {
    color: rgba(var(--col4));
}

/***************************************/
a {
  text-decoration: none;
  transition: all 0.5s;
  color: var(--link2);
}

#pun-admain a,
#MyBookmarks span.scrl {
  color: var(--link2) !important;
}

a:hover, a:focus, a:active {
    color: rgba(var(--col8));
}

.light a:hover, .light a:focus, .light a:active {
    color: rgba(var(--col10), 1);
}

:focus {
  outline: none !important;
}

.adlabel,
.adlabel a {
  color: rgb(var(--col2)) !important;
}

/* ETO BAZA: BODYb, PUNb, TITLEb
--------------------------------------------------------------------------------------------------------------------------*/
html,
body {
  margin: 0 0 0 0px;
  padding: 0;
}

body {
    background:  var(--bg) var(--bg-color);
    background-size: cover;
}

body.redirect-page {
  background: var(--bg-color) !important;
}

/*----------------------------LIGHT-------------------------*/

body.light {
    background: var(--bg1) var(--bg-color1);
    background-size: cover;
}

body.redirect-page.light {
  background: var(--bg-color1) !important;
}

/***************************************/

#pun {
  position: relative;
  width: var(--main-w);
  font: normal 68.75% verdana, arial, helvetica, sans-serif;
  color: #151515;
  margin: calc(var(--title-h) + 25px) auto 110px auto;
}

#pun-index #pun-main, #pun-stats, .main.multipage, .punbb-admin, #profile.formal.messages-container, #pun-viewforum #pun-main.main.multipage, #punbbsearch, #pun-userlist #pun-main.main.multipage, #register.container, #login.container, #online.container, .show_recent, .show_unanswered, .show_replies, .info-box, .info, #pun-main.main.multipage.show_new, #pun-main.main.multipage.show_subscriptions, #post-preview, #pun-upavatar #pun-main.main .container, .show_user_topics, #edit #pun-main.main, #pun-online #pun-main .container, #viewprofile, #pun-profile #profile, .pages div.container {
  box-shadow: 0 0 40px rgba(var(--col2),.5) inset, 0 0 0 1px rgba(var(--col5),.7), 0 0 5px rgba(var(--col2),.5);
  border-radius: 5px;
  background: rgba(var(--pun),1);
  padding: var(--main-p);
  box-sizing: border-box;
  padding-top: calc(var(--main-p) + 20px);
}

#pun-messages #post-preview {
    box-shadow: none;
}

/*-------------------------------ШАПКА------------------------------*/

#pun-title {
  background: url(https://forumstatic.ru/files/001a/a6/af/22545.jpg);
  border-radius: 15px 15px 0 0;
  position: absolute;
  z-index: -2;
  height: 212px;
  width: 960px;
  left: -13px;
  top: -199px;
  border-bottom: 1px solid rgba(var(--col1));
  box-shadow: inset 0 0 20px rgb(0 0 0 / 49%), inset 0 0 40px rgb(0 0 0 / 53%);
}

.punbb-admin #pun-title {
    position: absolute;
}

.punbb .formal fieldset {
    margin-left: 0px !important;
}

.hideprofile .post-body {
    width: 100%;
    border-radius: 5px !important;
}

#pun:before, #pun:after {
    content: '';
    position: absolute;
  }

  #pun:before {
    background: rgba(var(--col3), .8);
    width: calc(100% + 26px);
    height: calc(100% + 177px);
    top: -200px;
    left: -14px;
    border-radius: 15px;
    border: 1px solid rgba(var(
    --col5), .3);
    box-shadow: inset 0 0 30px rgba(var(
    --col2), .5), 0 0 5px rgba(var(--col2));
    opacity: .8;
    z-index: -2;
}

#pun:after {
  width: calc(100% + 63px);
  height: calc(100% + 267px) !important;
  top: -216px;
  right: -32px;
  background: url(https://forumstatic.ru/files/001a/a6/af/14299.jpg) top center repeat fixed;
  border-radius: 15px;
  border: 1px solid rgba(var(--col1));
  box-shadow: 0 0 2px rgba(var(--col2)), inset 0 0 2px rgba(var(--col2)), inset 0 0 40px rgba(var(--col2));
  visibility: visible !important;
  z-index: -3;
}


.punbb:before {
  content: '';
  z-index: -99;
  position: absolute !important;
  width: calc(100% + 40px);
  height: calc(100% + 120px);
  background: transparent;
  border: 1px solid rgba(var(--col4));
  border-radius: 10px;
  left: 6px;
  top: -170px;
}






/*----------------------------LIGHT-------------------------*/


.light #pun-index #pun-main, .light #pun-stats, .light .main.multipage, .light .punbb-admin, .light #profile.formal.messages-container, .light #pun-viewforum #pun-main.main.multipage, .light #punbbsearch, .light #viewprofile, .light #pun-userlist #pun-main.main.multipage, .light #register.container, .light #login.container, .light #online.container, .light .show_recent, .light .show_unanswered, .light .show_replies, .light .info-box, .light .info, .light #pun-main.main.multipage.show_new, .light #pun-main.main.multipage.show_subscriptions, .light #post-preview, .light #pun-upavatar #pun-main.main .container, .light .show_user_topics, .light #edit #pun-main.main, .light #pun-online #pun-main .container, .light #viewprofile, .light #pun-profile #profile, .light .pages div.container, .light #pun-main.topic {
    box-shadow: 0 0 40px rgba(var(--col2),.3) inset, 0 0 0 1px rgba(var(--col5),.7), 0 0 5px rgba(var(--col2),.3);
    border-radius: 5px;
    background: rgba(var(--pun1),1);
    padding: var(--main-p);
    box-sizing: border-box;
    padding-top: calc(var(--main-p) + 20px);
}

.light #pun:after {
    background: url(https://forumstatic.ru/files/001a/a6/af/84575.jpg) top center repeat fixed;
    border: 1px solid rgba(var(--col5), .4);
    box-shadow: 0 0 2px rgba(var(--col9), .5), inset 0 0 2px rgba(var(--col9), .5), inset 0 0 40px rgba(var(--col9), .5);
}

.light #pun:before {
    background: url(https://forumstatic.ru/files/001a/a6/af/67326.jpg) top center repeat fixed;
    border: 1px solid rgba(var(--col3), .3);
    box-shadow: inset 0 0 30px rgba(var(--col11), .5), 0 0 5px rgba(var(--col2));
}

.light #pun-title {
    background: url(https://forumstatic.ru/files/001a/a6/af/34234.jpg);
    border-bottom: 1px solid rgba(var(--col5), .8);
    box-shadow: inset 0 0 20px rgba(var(--col11), 1), inset 0 0 40px rgba(var(--col11), .5);
    opacity: .8;
}


/***************************************/
/*





/* NAVLINKS / ULINKS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-navlinks .container,
#pun-ulinks {
  position:absolute
}

.punbb-admin #pun-navlinks .container {
    margin-left: -20px;
}

#pun-navlinks {
    position: sticky;
    top: 0px;
    z-index: 99999 !important;
}

#pun-navlinks .container {
    margin: 40px 0 0 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#pun-navlinks a {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    font-size: 0px;
    text-transform: uppercase;
    color: rgba(var(--col5), 1);
    background: rgba(var(--col7), 1);
    border: 1px solid rgba(var(--col5), .3);
    margin: 0px 0 0 -30px;
    font-weight: 600;
}

#pun-index #navindex a, #pun-userlist #navuserlist a, #pun-search #navsearch a, #pun-profile #navprofile a, #pun-messages #navpm a, #pun-register #navregister a, #pun-login #navlogin a {
    background: rgba(var(--col4));
    box-shadow: 0 0 0 1px inset rgba(var(--col4));
    color: rgba(var(--col5), 1) !important;
    border: 1px solid rgba(var(--col5), .3);
}

#pun-navlinks a:hover {
    color: rgba(var(--col9), 1) !important;
    width: 85px;
    margin: 0px 0 0 -90px;
    background: rgba(var(--wh), .8);
    border: 1px solid rgba(var(--col5), .3);
    transition: all 1s cubic-bezier(0.2, 0.2, 0.2, 1), color 0.3s 0.2s linear;
    gap: 5px;
    justify-content: space-between;
    display: flex;
}

#navuserlist a:hover:after, #navprofile a:hover:after, #navindex a:hover:after, #navsearch a:hover:after, #navadmin a:hover:after, #navpm a:hover:after, a#New-exit:hover:after, #navregister a:hover:after, #navlogout a:first-child:hover:after, #navlogin a:hover:after, #navpr_1 a:hover:after {
    font-size: 8px;
    margin-left: 10px;
}

a#New-exit, a#New-exit:hover {
    margin-top: 10px;
    margin-right: 5px;
}

#pun-navlinks a:before {
    font-family: var(--font-awe);
    font-size: 16px;
    font-weight: 600;
    color: rgba(var(--wh), .7);
    transition: all 0.5s;
}

#navuserlist a:hover:before, #navprofile a:hover:before, #navindex a:hover:before, #navsearch a:hover:before, #navadmin a:hover:before, #navpm a:hover:before, a#New-exit:hover:before, #navregister a:hover:before, #navlogout a:hover:before {
  margin-right: 5px;
  color: rgba(var(--col9), 1) !important;
  opacity: .8;
  transform: rotateX(360deg);
}

/* ulinks */
#pun-ulinks {
    top: -217px;
    margin: 0;
    width: 100%;
}

#pun-ulinks .container {
    margin: -16px auto auto auto;
    font-family: var(--font);
    display: flex;
    justify-content: center;
    gap: 10px;
    text-transform: lowercase;
    font-size: 11px;
    padding: 0 33px 2px 33px;
    width: fit-content;
    flex-direction: row;
}

#pun-ulinks a {
  color: rgba(var(--col4), 1);
}

#pun-ulinks a:hover {
  color: rgba(var(--col4), .6);
}

/*--navpm--*/

#navpm {
  position: relative;
}

#navindex a:before {
  content: '\f4c9';
}
#navuserlist a:before {
  content: '\f500';
}
#navsearch a:before {
  content: '\f002';
}
#navprofile a:before {
  content: '\f004';
}
#navpm a:before {
  content: '\f2b6';
}
#navadmin a:before {
  content: '\f013';
}

/*#navlogout a:before,*/
#navlogin a:before,
a#New-exit:before {
  content: '\f2f5' !important;
}

#navregister a:before {content: '\f067'}

#navlogout a:before {
  content: '\f2f1';
}


#navpr_1 a:before {
  content: '\f0a1';
}

#navindex a:after {
  content: 'форум';
}

#navuserlist a:after {
  content: 'игроки';
}

#navsearch a:after {
  content: 'поиск';
}

#navprofile a:after{content: 'профиль';}

#navadmin a:after {
  content: 'амс';
}
#navpm a:after {
  content: 'почта';
}

#navlogout a:first-child:after {
  content: 'твинки';
}

a#New-exit:after {
  content: 'выход';
}

#navregister a:after {
  content: 'join us';
}

#navpr_1 a:after {
    content: 'PR-вход';
}

#navlogin a:after {
    content: 'войти';
}


#navadmin a:before {
  font-family: var(--font-awe);
  content: '\f013';
  font-size: 16px;
  font-weight: 600;
}


#navlogout a:before {
  content: '\f2f5';
}



#pun-index #navindex a:before, #pun-userlist #navuserlist a:before, #pun-search #navsearch a:before, #pun-profile #navprofile a:before, #pun-messages #navpm a:before, #pun-register #navregister a:before, #pun-login #navlogin a:before {
    color: rgba(var(--wh), 1);
}

/*----------------------------LIGHT-------------------------*/
.light #pun-index #navindex a, .light #pun-userlist #navuserlist a, .light #pun-search #navsearch a, .light #pun-profile #navprofile a, .light #pun-messages #navpm a, .light #pun-register #navregister a, .light #pun-login #navlogin a {
    background: var(--accent);
    box-shadow: 0 0 0 1px inset var(--accent);
}

.light #pun-navlinks a {
    color: rgba(var(--col3), .7);
    background: rgba(var(--col7), .4);
    border: 1px solid rgba(var(--col7), .5);
}

.light #pun-navlinks a:hover {
    background: rgba(var(--col4), .7);
    color: rgba(var(--col3), .8) !important;
    border: 1px solid rgba(var(--col5), .3);
}

.light #pun-navlinks a:hover:before {
  color: rgba(var(--col2), .8);
  opacity: .8;
}

.light #pun-navlinks a:before {  color: rgba(var(--col3), .7);}

.light #pun-ulinks a {color: rgba(var(--col3), .7);}

.light #pun-ulinks a:hover {
    color: rgba(var(--col2), .7);
}


/* STATUS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-status .container {
    position: absolute;
    top: -198px;
    left: 0px;
    display: flex;
    align-items: flex-start;
    color: rgba(var(--wh), .8);
    text-transform: lowercase;
    letter-spacing: 0.3px;
    font-size: 9px;
    width: 238px;
    flex-direction: column;
}

#pun-status,
#pun-status a{
  color: rgba(var(--col1));
}

#pun-status, #pun-status strong {
  font-weight: 500;
}

/*----------------------------LIGHT-------------------------*/
.light #pun-status .container {
    color: rgba(var(--col3), .8);
}

.light #pun-status, .light #pun-status a {
    color: rgba(var(--col4), .8);
}


/* CATEGORY
--------------------------------------------------------------------------------------------------------------------------*/
.category h2, #pun-stats h2 {
  height: 40px;
  margin: 0px 0 0 31px !important;
  width: calc(100% - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(var(--col3), 1);
}


.category h2 span, #pun-stats h2 {
  display: block;
  font-family: var(--font-fav) !important;
  color: rgba(var(--col3), 1) !important;
  font-size: 60px !important;
  box-sizing: border-box;
  text-align: center;
  font-weight: 500 !important;
  margin: 30px 0 0 0;
}

#pun-category1 h2 {
/*    display: none; */
}

.category, #pun-stats {
  margin: 0 !important  ;
}

#pun-index .category .container,
.statscon {
  position: relative;
}


.category h2 span:before {
  content: 'chapter';
  margin-right: 5px;
}

#pun-stats {
  margin-top: 10px !important;
}

#pun-stats h2 span {
  font-size: 0;
}

#pun-stats h2 span:before {
  content: 'Epilogue';
  font-size: 60px;
}

#pun-stats h2 {
  margin: 0px 0 0px 31px;
  height: 43px;
}

/*---category light---*/
.light .category h2, .light #pun-stats h2 {
}

.light .category h2 span, .light #pun-stats h2, .light .category h2 span:before {
    color: rgba(var(--col12), 1) !important;
}



/* HASICON / STRUCTURE EVERYWHERE
--------------------------------------------------------------------------------------------------------------------------*/
table {
  width: 100%;
}

.hasicon,
.usertable tbody,
#messages tbody,
#pun-respect .container tbody,
#pun-positive .container tbody,
#pun-online .container tbody {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--font);
  margin: 20px 0;
  width: calc(var(--main-w) - var(--main-p) * 2);
}

#pun-online #pun-main .container {
    margin-left: -60px;
    width: var(--main-w);
}

.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(--bg-color);
    margin: 0;
    position: relative;
    align-items: center;
}

#pun-main h2 span {
    color: var(--link2);
    font-family: var(--font);
}

#profile.formal.messages-container h2 span {
    color: var(--link);
}

/***************************************/

#pun-searchtopics tr {
    grid-template-columns: 50% 20% 6% 20%;
}

.usertable tr {
  grid-template-columns: 20% 32% 6% 6% 10% 10%;
}

#pun-messages .hasicon tr, #messages thead tr {
    grid-template-columns: 60% 18% 10% 3%;
    align-items: center;
    margin: 0;
}

#pun-respect tr,
#pun-positive tr {
  grid-template-columns: 12% 2% 15% 30% 30%;
}

#pun-online tr {
  grid-template-columns: 40% 40% 20%;
}

#pun-mod .container tr, .profile-awards-container tr {
    grid-template-columns: 20% 10% 40% 30%;
}

.profile-awards-container tr .tcl {
    width: inherit !important;
}

#pun-messages td,
#pun-messages th,
#pun-online td {
  width: auto !important;
}

#pun-viewforum .tcr,
#pun-searchtopics .tcr,
.tc2,
.usertable .last_visit,
#pun-respect .tcr,
#pun-positive .tcr {
  text-align: right;
}

#pun-viewforum td.tcr, #pun-searchtopics td.tcr {
    grid-template-areas: 'time user';
    display: grid;
    align-items: center;
    justify-items: end;
    justify-content: end;
    gap: 7px;
    grid-template-columns: 60% 40%;
}

#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: rgba(var(--col2));
}


/* PUN-INDEX / PODFORUMS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-index .hasicon {
  gap: 30px;
}

#pun-index .hasicon tr {
    position: relative;
    box-sizing: border-box;
    grid-template-columns: auto 1fr;
    gap: 30px;
    color: var(--link2);
    margin: 0;
    font-family: var(--font);
    font-size: 11px;
    padding: 5px 5px 5px 5px;
    border-radius: 5px;
    width: 100%;
    transition: all 1s;
}


#pun-index .hasicon tr:hover {
    background: rgba(var(--col5), .2);
    transform: scale(0.99);
}

#pun-index .hasicon tr:before {
    content: '';
    position: absolute;
    width: calc(100% - 17px);
    border-bottom: 1px solid rgba(var(--col2), .5);
    height: 1px;
    margin-left: 10px;
}

#pun-index .hasicon tr.inew:before {
  border-bottom: 1px solid rgba(var(--col4), .7);
}




/* subforums */
#pun-index .hasicon .isub .tcl {
  padding-left: 0px !important;
}

.subforums {
  font-size: 10;
}

#pun-index .subforums a:first-of-type {
    margin-left: -10px;
}

#pun-viewforum .isub .tcl h3 {
  margin: 0 0;
}


.category,
.forum,
.usertable, #pun-stats, .section.online-list, #pun-positive #pun-main .container, #pun-respect #pun-main .container {  margin: 40px 0;}

.section.online-list {padding: 20px 60px; margin: 0;}
#pun-positive #pun-main .container, #pun-respect #pun-main .container {margin: 0; /*padding: 20px 0;*/}
#pun-stats {margin-bottom: 10px;}

.category:first-of-type {
  margin-top: 10px;
}

/* left part */

#pun-index .tcl h3 {
  font-family: var(--font-fav1);
  font-size: 22px;
  font-weight: 500;
  margin: 2px 0 0px 0;
}

#pun-index #forum_f23 .tcl h3, #pun-index #forum_f21 .tcl h3 {
    margin-top: -12px;
}

#pun-index .tcl h3 a {
  color: var(--link2);
  padding-right: 5px;
  display: block;
  width: var(--intd);
}

.alt1:hover a, .alt1:hover .tcr .lastpost, .alt2:hover a, .alt2:hover .tcr .lastpost, .alt1:hover .intd .icon, .alt2:hover .intd .icon, .alt2:hover .intd .icon:before, .alt1:hover .intd .icon:before {
color: var(--accent1) !important;
}

#pun-index .hasicon tr:hover:before {
    border-bottom: 1px solid rgba(var(--col7), 1);
}

#pun-index .inew .tcl, #pun-index .inew .tcl h3 a, #pun-index .inew .tcl .podfl a, #pun-index .inew .tcr, #pun-index .inew .lastpost, #pun-index .inew .tcr a {
    color: var(--accent);
}

.podfl a:after {
  content: '\2022';
  margin: 0 2px 0 4px;
}

.podfl a:last-child:after {content: ''}

.podfl {
  color: var(--link);
  font-weight: 600;
}



#pun-index .tclcon {
}

#pun-index .tclcon span,
#pun-index .subforums, .f_links {
}

#pun-index .tclcon span a,
#pun-index .subforums a, .f_links a {
}

#pun-index .tclcon span a:hover,
#pun-index .subforums a:hover, .f_links a:hover {color: rgba(var(--col1))}

#pun-index .tclcon span a:after,
#pun-index .subforums a:after, .f_links a:after {
}

#pun-index .tclcon span a:last-child:after,
#pun-index .subforums a:last-child:after, .f_links a:last-child:after {
  display: none;
}

/*----------------------------LIGHT-------------------------*/
.light #pun-index .tcl h3 a, .light .lastpost-link a, .light .podfl a {
    color: var(--col13);
    text-shadow: none !important;
}


.light .alt1:hover a, .light .alt1:hover .tcr .lastpost, .light .alt2:hover a, .light .alt2:hover .tcr .lastpost {
color: rgba(var(--col4), 1) !important;
}




.light #pun-index .inew .tcl, .light #pun-index .inew .tcl h3 a, .light #pun-index .inew .tcl .podfl a, .light #pun-index .inew .tcr, .light #pun-index .inew .tcr a {
  color: rgba(var(--col9), 1);
}


.light .podfl {
    color: var(--bg-color1);
    font-weight: 600;
}

.light #pun-index .hasicon tr.inew:before {
    border-bottom: 1px solid rgba(var(--col9), .7);
}



 .light #pun-index .hasicon tr:hover:before {
    border-bottom: 1px solid rgba(var(--col4), .7);
}

/* right part */
#pun-index .tcr {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  justify-content: center;
  gap: 8px;
  margin-bottom: 3px;
}

.lastpost-link {
  text-transform: uppercase;
  font-weight: 600;
}

.lastpost {
  text-transform: lowercase;
  font-weight: 500;
}

.light #pun-index .hasicon tr:before {
    border-bottom: 1px solid rgba(var(--col9), .5);
}


/* ICONb
--------------------------------------------------------------------------------------------------------------------------*/
.intd {
  display: grid;
  grid-template-columns: var(--icon-w) var(--intd);
  align-items: center;
  margin-left: 2px;
  gap: 20px;
}


.intd .icon {
  width: var(--icon-w);
  height: var(--icon-w);
  transition: all 0.2s;
  position: relative;
}

.intd .icon:before {
  font-family: var(--font-awe);
  content: '\f4d8';
  font-weight: 600;
  font-size: 21px;
  color: var(--link2);
}

#pun-viewforum .intd .icon {
  width: 15px;
  height: 15px;
  margin-left: 8px;
}

.intd:hover .icon {
    transform: scale(1.3);
}

#pun-index .intd:hover .icon {
    transform: none !important;
}

.intd .icon.inew, .intd .icon-new {
}

.intd .icon.inew:before {
    font-family: var(--mat);
    font-weight: 100;
    font-size: 27px;
    color: var(--accent);
    content: '\e545';
    margin-left: -2px;
}

#pun-index .intd .icon.inew:before {
    font-family: var(--font-awe);
    font-size: 21px;
    content: '\f4d8';
    font-weight: 600;
}

.isticky .intd .icon {
  color:var(--link1)
}

.iclosed .icon {
  filter:grayscale(1);
}
.intd:before {
  content: '';
  width: var(--icon-w);
  height: var(--icon-w);
  border-radius: 2px;
  position: absolute;
}
#pun-index .intd:before {
  display: none;
}


/*----------------------------LIGHT-------------------------*/



/* CRUMBS
--------------------------------------------------------------------------------------------------------------------------*/

.crumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
    font-size: 10px;
    font-family: var(--font);
    text-transform: uppercase;
    margin: 0px 4px -30px 4px;
    font-weight: 600;
    color: rgba(var(--col5), 1);
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.crumbs a:hover, .crumbs a:first-of-type:hover {
  color: rgba(var(--col3)) !important;
}

.crumbs a:after {
  content: '»';
  border-radius: 100%;
  color: var(--link1);
  margin-bottom: 3px;
  font-size: 18px;
}

.crumbs a:after,
#pun-searchposts h3 span a:after {
}

.crumbs a {
  color: rgba(var(--col1), 1);
}

#pun-index .crumbs {display: none;}

#pun-index #pun-crumbs2 .crumbs, #pun-crumbs2 .crumbs a {
    color: rgba(var(--col1), 1);
}

#pun-edit #pun-crumbs2 .crumbs, #pun-edit #pun-crumbs1 .crumbs, #pun-post #pun-crumbs2 .crumbs, #pun-post #pun-crumbs1 .crumbs {margin: 0;}

#pun-index #pun-crumbs2 .crumbs {
    margin: 0;
}

.crumbs a:first-of-type {
  color: rgba(var(--col2)) !important;
}

#pun-crumbs2 .crumbs {
    margin: -27px 0 2px 0;
}

#pun-crumbs1 {
  margin: 10px 0 -2px 0;
}

#pun-crumbs2 {
  margin-top: 2px;
}

.punbb-admin .crumbs, .punbb-admin .crumbs a:after {
    color: var(--link1) !important;
}

/*----------------------------LIGHT-------------------------*/

.light .crumbs a {
    color: rgba(var(--col9));
}

.light .crumbs {
    color: rgba(var(--col10)) !important;
}

.light .crumbs a:hover {
  color: var(--col6) !important;
}

.light .crumbs a:after {
    color: rgba(var(--col9), 1);
}

.light #pun-index .crumbs {
  color: var(--link2) !important;
}

.light .crumbs a:first-of-type {
  color: var(--link2) !important;
}

/* STATSCONb
--------------------------------------------------------------------------------------------------------------------------*/

#pun-stats .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-size: 10px;
  margin: 20px 0px;
  font-family: var(--font);
  gap: 5px;
  grid-template-areas: 'tem soo last'
  'active active active'
  'day day day';
}

#pun-stats .item1, #pun-stats .item2, #pun-stats .item4 {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  line-height: 0;
  color: rgba(var(--wh), .7);
  background: var(--accent1);
  border-radius: 3px;
  padding-bottom: 1px;
  font-weight: 500;
}

#pun-stats .item1, #pun-stats .item2, #pun-stats .item4, .statscon .item5.onlinelist, .statscon .item5.users_24h {
  padding: 0px 7px;
  font-family: var(--font);
  text-transform: lowercase;
  font-size: 10px;
  height: 18px;
  gap: 5px;
  min-width: 90px;
  transition: all .5s;
}

#pun-stats .item1 strong, #pun-stats .item2 strong, #pun-stats .item4 a {
    color: rgba(var(--col5));
}

.statscon .item5.onlinelist, .statscon .item5.users_24h {
  line-height: 1.5;
  height: auto;
  min-height: 18px;
  color: var(--link2);
  font-weight: 600;
}

.light .statscon .item5.onlinelist, .light .statscon .item5.users_24h {
    color: var(--link3);
}

.statscon .item1 {
  grid-area: tem;
}
.statscon .item2 {
  grid-area: soo;
}

.statscon .item4 {
  grid-area: last;
  text-align: center;
}

.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(--link2);
  font-weight: 500;
}


.statscon a:hover {
  color: rgba(var(--col4), 1);
}

/*----------------------------LIGHT-------------------------*/
.light .statscon .item5.onlinelist, .light .statscon .item5.users_24h {
}

.light #pun-stats .item1, .light #pun-stats .item2, .light #pun-stats .item4 {
    color: rgba(var(--col3), .8);
    background: rgba(var(--col4), 1);
}

.light #pun-stats .item1 strong, .light #pun-stats .item2 strong, .light #pun-stats .item4 a {
  color: rgba(var(--col3), .8);
}

.light .statscon strong, .light .statscon a {
    color: rgba(var(--col1), 1);
}

.light .statscon a:hover {
  color: rgba(var(--col4), 1);
}

/* FOOTERb
--------------------------------------------------------------------------------------------------------------------------*/
#pun-about {
}

#pun-about .container {
    display: flex;
    justify-content: center;
    text-transform: lowercase;
    font-size: 10px;
    color: rgba(var(--col5), 1);
    position: absolute;
    width: 100%;
    margin-top: 57px;
}

#pun-about .container a {
  color: rgba(var(--col5), .7);
}
#pun-about .container a:hover {
    color: rgba(var(--col4), .8) !important;
}

#pun-about,
#pun-about a {
}

#html-footer {
}

#html-footer .container {
}

/*----------------------------LIGHT-------------------------*/
.light #pun-about .container a {
    color: rgba(var(--col3), .6);
}

.light #pun-about .container {
    color: rgba(var(--col3), .7);
}

.light #pun-about .container a:hover {
    color: rgba(var(--col9), 1) !important;
}

/* PROFILEb
--------------------------------------------------------------------------------------------------------------------------*/
/* structure */
/*
#pun-viewtopic .main.multipage:before {
    content: '';
    position: absolute;
    width: calc(var(--prof-w) + 10px);
    height: calc(100% + -378px);
    /* box-shadow: 0 0 40px 0 rgba(var(--col1), .5) inset, 0 0 0 1px rgba(var(--col5), .3); */
    margin: -20px;
    border-radius: 5px 0 0 0;
    background: linear-gradient(0deg, rgba(var(--col9), 0), rgba(var(--col9), .1), rgba(var(--col9), .2), rgba(var(--col9), .1), rgba(var(--col9), 0));
}
*/

.post-author {
  width: calc(var(--prof-w) - 20px);
  min-height: 85px;
  position: relative;
  padding-left: 20px;
  margin-left: -21px;
}


.post-author ul {
    position: sticky;
    top: 20px;
    display: flex;
    gap: 5px 5px;
    font-family: var(--font);
    text-transform: lowercase;
    background: url(https://forumstatic.ru/files/001a/a6/af/20035.jpg);
    width: calc(var(--prof-w) - 10px);
    text-align: center;
    box-sizing: border-box;
    margin: 10px 0px 15px -20px;
    border-radius: 0 4px 4px 0px;
    box-shadow: 0 0 40px 0 rgba(var(--col1), .5) inset, 0 0 0 1px rgba(var(--col5), .3);
    justify-content: center;
    flex-wrap: wrap;
    padding: 5px 0 10px 0;
}


.post-author li {
  width: inherit;
}

/* pa */
.pa-author {
  font-family: var(--font-fav1);
  font-size: 13px;
  text-align: center;
  height: 32px;
}

.pa-author:first-letter {
  font-size: 35px;
  font-family: 'Iglets';
  color: rgba(var(--col9));
  font-style: italic;
  text-shadow: 0px 0px 1px rgba(var(--col1), 1);
}

.pa-author, .pa-author a {
  color: rgba(var(--col5));
}

.pa-author a:hover {
    color: rgba(var(--col8));
}

.pa-title {
  margin: 0;
  color: rgba(var(--col5));
  letter-spacing: 0.2px;
  font-size: 10px;
}

.pa-avatar, .pa-fld1 {
  margin: 0px 8px;
  padding: 0px 0;
  width: 220px !important;
}

.pa-fld1 a:hover {
    color: var(--accent) !important;
    text-shadow: none;
}


.pa-avatar img, #pa-avatar img {
    max-width: 180px;
    max-height: 180px;
    border-radius: 4px 4px 0 0;
    border: 1px solid rgba(var(--col1), .6);
    box-shadow: 0px 0px 22px rgb(28 33 26);
}

.pa-respect, .pa-posts, .pa-fld3 {
  color: rgba(var(--col5));
  font-size: 11px;
  letter-spacing: 0.6px;
  font-weight: 600;
  width: calc(100% / 3.5) !important;
  margin: 11px 0;
  border-radius: 5px;
}


.pa-respect .fld-name, .pa-respect .fld-name a, .pa-posts .fld-name, .pa-fld3 .fld-name {
  color: rgba(var(--col5));
}

.pa-respect .fld-name, .pa-posts .fld-name, .pa-fld3 .fld-name {
  display: block;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.2px;
  font-weight: 600;
}

.pa-respect img {
  mix-blend-mode: multiply;
  filter:grayscale(1)
}




/* FLDb */

.pa-fld1 {
  padding: 10px;
  text-align: justify;
  text-align-last: center;
  color: rgba(var(--col5), 1);
  line-height: 13px;
  font-size: 10px;
  letter-spacing: 0.2px;
  margin-bottom: -15px;
}

.pa-fld1 a {
  color: rgba(var(--col9));
  text-shadow: 1px 1px 1px rgba(var(--col3), .3);
  font-weight: 600;
}

.pa-fld1 alz {
  font-style: italic;
  text-transform: lowercase;
  font-size: 14px;
  margin: -2px 0 -9px 0 !important;
  display: block;
  text-align: center;
}

.pa-fld1 alz a {
  font-weight: 500 !important;
}

.pa-fld2 {
  margin: -8px 0 -15px 0px;
  position: relative;
}

.pa-fld5 {
  display: flex;
  align-items: center;
  margin: 0 0 10px 0;
  justify-content: center;
  position: absolute;
  top: calc(100% - 20px);
}

.pa-fld5:before {
  content: '';
  width: calc(var(--prof-w) + 1px);
  height: 10px;
  position: absolute;
  margin: 10px 0 0 0px;
  z-index: -1;
}



.pa-fld5 a {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(var(--col5), .5);
}

.pa-fld5 img {
  max-width: 40px;
  max-height: 40px;
}

/* online */
.indOnline, .indOffline {
  cursor: pointer;
  position: absolute;
  top: -10px;
  left: -10px;
  height: 20px;
  width: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
}

.indOnline:before,
.indOffline:before {
content: '';
}

.indOnline:before {
    background: rgba(var(--col9), 1);
    width: 7px;
    height: 7px;
    display: block;
    border-radius: 50%;
    transition: all 0.5s;
}

.indOnline:hover:before {
    background: rgba(var(--col4), 1);
}


/*----------------------------LIGHT-------------------------*/


.light .indOnline:before {
    background: rgba(var(--col8), .7);
}

.light .indOnline:hover:before {
    background: rgba(var(--col8), .8);
}

/* pa */
.light .pa-author:first-letter {
  color: rgba(var(--col9), 1);
}

.light .pa-author, .light .pa-author a {
  color: rgba(var(--col3), .9);
}

.light .pa-author a:hover {
    color: rgba(var(--col2), .9) !important;
}

.light .pa-title {
  color: rgba(var(--col3), .9);
}

.light .pa-fld1 {
  color: rgba(var(--col3), .9);
}


.light .pa-fld1 a {
    color: rgba(var(--col9)) !important;
}

.light .pa-fld1 a:hover {
    color: var(--accent1)!important;
}


.light .pa-avatar img, .light #pa-avatar img {
    border-radius: 4px 4px 0 0;
    border: 1px solid rgba(var(--col9), .8);
    box-shadow: 0px 0px 22px rgba(var(--col1), 1);
}

.light .pa-respect, .light .pa-posts, .light .pa-fld3 {
    color: rgba(var(--col3), 1) !important;
}


/* QUOTES / SPOILER / TEXTAREA
--------------------------------------------------------------------------------------------------------------------------*/
.quote-box, .code-box, .inner, .modal-inner, .editBookmark, #MyBookmarks, .hvStickerPackModal {
  border-radius: 0px;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 0 60px rgba(var(--col2), .2) inset, 0 0 0 1px rgba(var(--col2), .4), 0 0 0 1px rgba(var(--col5), .2);
  background: rgba(var(--col5), .2);
}

.light .quote-box, .light .code-box, .light .inner, .light .modal-inner, .light .editBookmark, .light #MyBookmarks, .light .hvStickerPackModal {
    box-shadow: 0 0 60px rgba(var(--col1), .2) inset, 0 0 0 1px rgba(var(--col5), .3), 0 0 0 2px rgba(var(--col1), .4);
    background: rgba(var(--col9), .2);
}

.hvStickerPackModal {  background: rgba(var(--col9),1) !important;}

.quote-box {
  margin: 15px;
  position: relative;
}

.code-box {
  margin: 15px;
  position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.spoiler-box {

}

td .spoiler-box {
/*  margin: 20px 10px;*/
}

cite, .code-box .legend, .spoiler-box > div {
  font-style: normal;
  display: block;
  font-size: 13px;
  letter-spacing: 0.2px;
  position: relative;
  text-align: center;
  padding: 0px 0px 3px 0px;
  font-family: var(--font-fav1);
  border-bottom: 1px solid rgba(var(--col5), .4);
  margin: 2px 0px;
  text-transform: lowercase;
  width: 100%;
  font-weight: 600;
}

.light cite,
.light cite a,
.light cite a:hover,
.light .code-box .legend,
.light .code-box .legend a,
.light .spoiler-box > div {
  color: var(--bg-color1) !important;
}

.light cite, .light .code-box .legend {  border-bottom: 1px solid rgba(var(--col1), .4);}

.quote-box:before, .code-box:before {
}

.quote-box .quote-box:before, .quote-box .code-box:before {display: none;}
.quote-box  .spoiler-box > div, .quote-box .code-box .legend {
    padding-top: 3px;
}

.spoiler-box > div {
  margin-top: 5px;
  padding-left: 15px !important;
    border: none;
width: auto;
}

cite,
cite a,
cite a:hover,
.code-box .legend,
.code-box .legend a,
.spoiler-box > div {
  color: var(--link2) !important;
}

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 {
  position: relative;
  z-index: 3;
  margin: 0;
    width: 100%;
    box-sizing: border-box;
}

blockquote p:last-child {
  padding: 0;
}

.scrollbox {
  overflow: auto;
  font-size: initial;
  max-height: 60px;
}

/* SPOILER ANIMATION © BLANCHE. free for use only with copy */

/* .spoiler-box > div:before {
    content: '';
    font-family: var(--mat);
    transition: all 0.5s;
    transform: rotate(0deg);
    position: absolute;
    left: 15px;
    font-style: normal;
    top: 40%;
    width: 6px;
    height: 6px;
    background: var(--link1);
    border-radius: 50%;
    opacity: .2;
}

.spoiler-box > div.visible:before {
opacity: 1; background: rgba(var(--col1));
}
*/

/* textarea */
textarea {
  overflow: auto;
  font-size: 10.5px !important;
  line-height: 15px !important;
  padding: 10px;
  font-family: Verdana;
}

#pun textarea {
  box-shadow: 0 0 60px rgba(var(--col2), .2) inset, 0 0 0 1px rgba(var(--col5), .5), 0 0 0 2px rgba(var(--col2), .4);
  background: rgba(var(--pun),1);
  padding: var(--main-p);
  border: none;
  box-sizing: border-box;
}

#pun-viewtopic textarea {
    border-radius: 0 0 5px 5px;
}

#pun-admain textarea {
    border-radius: 0 !important;
}

#mask_dialog .hv-form-block input, #mask_dialog .hv-form-block textarea {
    width: 100%;
    border-radius: 0 !important;
    background: rgba(var(--col9), .3);
    box-shadow: none;
    border: 1px solid rgba(var(    --col1), .3);
    color: var(    --link2);
}

#video-area-msg a, #image-source-list a, #image-area-actions a, #spoiler-sels a{color: var(--link) !important;}
#video-area-msg a:hover, #image-source-list a:hover, #image-area-actions a:hover, #spoiler-sels a:hover{color: var(--link1) !important;}

.light #pun textarea {
    box-shadow: 0 0 60px rgba(var(--col1), .2) inset, 0 0 0 1px rgba(var(--col5), .7), 0 0 0 2px rgba(var(--col1), .4);
    background: rgba(var(--pun1), 1);
}

.light #plng {
    color: rgba(var(--col3));
    border-top-left-radius: 5px;
    border-right: 1px solid rgba(var(--col5), 1);
    background: rgba(var(--col4), 1);
}

.light #form-buttons {
    background: rgba(var(--col4), .8);
    box-shadow: 0 0 0 1px rgba(var(--col5), .4), 0 0 0 2px rgba(var(--col10), .6);
}

.light #form-buttons td:before {
    color: rgba(var(--col3), .8);
}

.light #plng b {
    color: rgba(var(--col3));
}





/* 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;
    margin: 25px 0px 0 0px;
}

#post .areafield {
  margin: 2px 0 0 0px;
}

#pun-edit #post .areafield span.input a {
  margin: 10px 0;
  display: block;
  text-transform: lowercase;
  font-family: var(--font);
  letter-spacing: 0.5px;
}

#post.container.formal {
    display: block !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;
    border-bottom: none !important;
    border-radius: 5px 5px 0 0;
    background: rgba(var(--col2), .6);
    box-shadow: 0 0 0 1px rgba(var(--col9), .3), 0 0 0 2px rgba(var(--col2), .5);
}

#form-buttons table {
  width: 100% !important;
}

#form-buttons tr {
  width: 100%;
  display: flex;
  height: 26px;
  justify-content: space-between;
}

#plng,
#form-buttons td {
  display: flex;
  justify-content: center;
  gap: 3px;
  align-items: center;
  height: 26px;
  box-sizing: border-box;
}

#form-buttons td,
#Knopa2-2 {
  background-image: none !important;
  font-family: var(--mat);
  font-size: 15px;
  color: rgba(var(--col2));
  width: inherit !important;
  cursor: pointer;
  transition: all 0.5s;
}

#form-buttons td:hover {
  color: rgba(var(--col2), 0.5);
}

#plng {
    font-size: 10px;
    font-family: var(--font);
    color: rgba(var(--col5));
    font-weight: 500;
    border-top-left-radius: 5px;
    border-right: 1px solid rgba(var(--col5), .6);
    background: var(--col3);
    letter-spacing: 0.5px;
}

#plng b {
    color: rgba(var(--col7));
    font-family: var(--font-fav1);
    font-size: 13px;
}

#form-buttons td img {
  z-index: 9;
}

#form-buttons td:before {
    position: absolute;
    color: rgba(var(--col5));
}

#form-buttons td:hover:before {
    transform: scale(1.5);
    transition: all 0.2s;
}

#button-font:before {
  content: '\e264';
}

#button-gid:before {
  content: '\e0e0';
}

#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: '\e813';
}

#button-sticker:before {
  content: '\e87d';
}

#button-keyboard:before {
  content: '\f028';
}

#button-addition:before {
  content: '\e145';
}

#button-mask:before {
  content: '\e853';
}

#floatbut:before {
  content: '\e3b5';
}
#Knopa2-2:before {
  content: '\f0ec';
  font-family: var(--mat1);
  color: rgba(var(--col4), 0.8);
  text-shadow: 1px 1px rgba(var(--col2), 0.5);
  transition: all 0.5s;
}

#Knopa2-2:hover:before {
  color: rgba(var(--col4), 1);
}


/* tags */
#tags .container, #float {
    overflow-y: auto;
    padding: 10px !important;
    height: 192px;
    font-family: var(--font);
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    z-index: 99999;
    font-size: 10px;
    background: #d9d9d6;
    top: 27px !important;
    margin: 1px -7px 0 -1px;
    color: rgba(var(--col2));
}

#font-area div,
#size-area div,
#addition-area div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  transition: all 0.5s;
  margin: -10px;
  padding: 10px;
  position: relative;
}

/*#font-area:hover div,
#size-area:hover div,
#addition-area:hover div {
  color: rgba(var(--col2));
}*/

#font-area div:hover,
#size-area div:hover,
#addition-area div:hover {
  background: rgba(var(--col1));
  color: var(--bg-color);
}

#font-area div img,
#size-area div img {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
}

#font-area span,
#size-area span,
#addition-area div {
  height: auto !important;
}

#uploaded-images img {
  object-fit: cover;
}

#image-area,
#color-area,
#video-area,
#spoiler-area {
  height: auto !important;
}

#spoiler-area a,
#image-area a {
  color: inherit;
}

#float {
  left: 43%;
  z-index: 2;
  height: auto;
  position: absolute;
  display: none;
}

/* INPUT / BUTTONS
--------------------------------------------------------------------------------------------------------------------------*/
input, select, option, .hvStickerPackModalTab {
    font-family: roboto !important;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 5px 7px;
    color: var(--link3);
    box-sizing: border-box;
    background: rgba(var(--col2), .5);
    border: 1px solid rgba(var(--col2), .5);
}

.light input, .light select, .light option, .light .hvStickerPackModalTab {
    background: rgba(var(--col9), .5);
    color: rgba(var(--col3));
}

.light select, .light option, .light .hvStickerPackModalTab {
    border: 1px solid rgba(var(--col10), .5);
}

select,
option {
  /*  color: rgba(var(--col2));*/
  text-transform: lowercase;
}

#topic-modmenu {
    margin: 20px 0 0 20px;
    width: calc(100% - 50px);
}

/* BUTTONb*/
.button, .hvStickerPackModalTab {
  background: rgba(var(--col4), 1);
  padding: 5px 10px !important;
  text-transform: uppercase;
  font-size: 8px !important;
  color: var(  --link3);
  font-weight: 500 !important;
  transition: all 0.5s;
  cursor: pointer;
  border-radius: 3px !important;
  border: none;
}

.button:hover, .hvStickerPackModalTab:hover, .hvStickerPackModalTab.active {
    background: rgba(var(--col1), .5) !important;
    opacity: 0.8;
    color: rgba(var(--col2), 1) !important;
}

.light .button:hover, .light .hvStickerPackModalTab:hover, .light .hvStickerPackModalTab.active {
    background: rgba(var(--col9)) !important;
    color: rgba(var(--col3), 1) !important;
}

#keyboard-span input {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: rgba(var(--col2));
    margin: 1px 1px 0 0;
    cursor: pointer;
    height: 25px;
    min-width: 30px;
    line-height: 1;
}

/* POST-LINKS / LINKST / LINSKB
--------------------------------------------------------------------------------------------------------------------------*/

.required a {
    background: var(--link1);
    padding: 2px 3px;
}


.post-links, .linkst {
    width: calc(100% - 105px);
}

.post-links, #pun-viewtopic .linkst {
    margin: -4px 0 0 20px;
}

#pun-viewforum .linksb{
    margin: 0px 0 0 0px;
}

#pun-viewforum .linkst {
    margin-top: 10px;
    width: 100%;
}


.endpost .post-links{
    width: calc(100% - 33px);
}

#pun-viewtopic .linksb {
    width: calc(100% - 39px);
    margin: 5px 0 0px 20px;
}

.endpost .post-links {
  margin-top: 6px;
}

.post-links ul {
    text-align: right;
    margin: 0;
}

#pun-searchposts .post-links ul {
text-align: left;
}


.post-links li {
display: inline-block;
margin: 6px 6px 0 0;
}

.pl-email {
    float: left;
    margin-right: 10px !important;
}

.post h3 {
    margin: 0;
}

.post h3 span {
    width: calc(100% - var(--prof-w) - 20px * 2);
    display: flex;
    margin: -15px 0 4px calc(var(--prof-w) + 20px);
    justify-content: space-between;
align-items: center;
}

.post h3 span strong {
    order: 3;
    width: 25px;
    text-align: center;
}

.linkst {
    margin-top: 0;
}

.linkst, .linksb {
    display: flex;
    justify-content: space-between;
}

.pagelink {
    order: 1;
}

.postlink {
    order: 3;
}

.subscribelink {
    order: 2;
}

.post h3 span a, .post h3 span strong, .post-links a, .pagelink, .postlink, .subscribelink, #pun-messages .post h3 span, .modmenu .container strong a, .modmenu .container strong select, .postlink.long {
  font-family: var(--font);
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: inline-block;
  background: rgba(var(--col3), 1);
  padding: 2px 4px;
  border-radius: 3px;
  box-sizing: border-box;
  transition: all 0.5s;
}

.light .post h3 span a, .light .post h3 span strong, .light .post-links a, .light .pagelink, .light .postlink, .light .subscribelink, .light #pun-messages .post h3 span, .light .modmenu .container strong a, .light .modmenu .container strong select, .light .postlink.long {
    color: rgba(var(--col3));
}

.post h3 span a:hover, .post h3 span strong:hover, .post-links a:hover, .pagelink:hover, .postlink:hover, .subscribelink:hover, #pun-messages .post h3 span:hover, .modmenu .container strong a:hover, .postlink.long:hover {
  background: var(--accent1) !important;
  opacity: 0.8 !important;
}

.light .post h3 span a:hover, .light .post h3 span strong:hover, .light .post-links a:hover, .light .pagelink:hover, .light .postlink:hover, .light .subscribelink:hover, .light #pun-messages .post h3 span:hover, .light .modmenu .container strong a:hover, .light .postlink.long:hover {
  background: var(--accent) !important;
}

.post h3 span a, .post h3 span strong, .post-links a,  .pagelink, .pagelink a, .postlink,  .postlink a, .subscribelink, .subscribelink a,  #pun-messages .post h3 span, .modmenu .container strong a, .modmenu .container strong select  {
    color: var(--link3);
}

.gid3 postlink {
    display: none !important;
}

.gid3 .post h3 span {
    margin-top: -15px;
}

.linksb a:hover, .pagelink a:hover, .post-links a:hover, .post h3 span a:hover, .linkst a:hover {
    color: rgba(var(--col5), 1) !important;
}

/*--min-height--*/
#pun-profile #profile{
    min-height: 350px;
}

#login.container, .info-box, .info, .show_unanswered, #profile.formal.messages-container, #pun-main .formal{
    min-height: 260px;}

#pun-premoderation {
    min-height: 400px;
}

/* PAGES: VIEWTOPIC / POST / PUN-POST
--------------------------------------------------------------------------------------------------------------------------*/


.post .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0 !important;
  gap: 20px;
}

.post-rating .container,
.post-vote .container {
  display: block;
  margin: 0 !important;
}

.post .post-rating a,
.post .post-vote a {
    font-family: var(--font);
    font-weight: 600;
    transition: all 0.2s;
    color: var(--link2);
    position: relative;
    z-index: 10;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    letter-spacing: -1px;
    cursor: pointer;font-size: 10px !important;
}

.post-rating a:hover, .post-vote a:hover {
    color: rgba(var(--col5));
}

.post-rating a:after, .post-vote a:after {
    font-family: var(--font-awe);
    color: var(--link2);
    transition: all 0.5s;
    font-size: 28px;
    font-weight: 100;
    position: absolute;
    z-index: -1;
    margin-top: 3px;
}
.post-rating a:after {
    content: '\f004';
}

.post-vote a:after {
  content: '\f004';
    font-weight: 600;
    color: rgba(var(--col5));
}

.post-rating a:hover:after, .post-vote a:hover:after {
    font-family: var(--font-awe);
    color: rgba(var(--col7), .5);
    font-weight: 600;
}


.mylike .post-rating p>a:after {color: rgba(var(--col4),.5);  font-weight: 600;}


.mylike .post-rating a {    color: rgba(var(--col5)) !important;}

.mylike .post-vote {
    display: none;
}


div.post-vote {
  margin-bottom: 65px;
}

.post-body {
  width: calc(100% - var(--prof-w) - 3px);
  position: relative;
  box-sizing: border-box;
  border-radius: 0 5px 5px 0 !important;
}

.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: 10px 0 11px 20px;
    color: rgba(var(--col2));
}

.light #topic-users-in, .light #topic-users-in a  {
    color: rgba(var(--col1));
}

#topic-users-in a {
  color: var(--link3);
}


#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(--link);
  justify-content: center;
  margin-left: 10px;
}

#pun-post .pa-author {
  margin: auto;
  text-align: center;
  position: relative;
  top: auto;
overflow: visible;
}

#pun-post .post h3 span {
    margin-top: 12px;
}

#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;
}

#post-preview legend span {
    position: absolute;
}

#post-preview .fs-box {
    margin-top: 10px;
}


#pun-login label {
  white-space: nowrap;
}

h3 span strong, h3 span a, .post-links li, .post-links, .linkst, .linksb {
  position: relative;
  z-index: 2;
}

/* fntslider */
.FNTslider {
    width: 160px;
    height: 14px;
    border: 1px var(--link2.FNTslider .thumb) solid;
    box-sizing: border-box;
    order: 2;
    border-radius: 3px;
    margin-top: 1px;
    z-index: 2;
}

.FNTslider .before {
    height: 12px;
    background: rgba(var(--col4), .7);
    margin: 0;
    border-radius: 2px 0 0 2px;
}

.FNTslider .thumb {
    background: rgba(var(--col1), .8);
    height: 12px;
    width: 5px;
    cursor: pointer;
    top: -12px;
    position: relative;
}

/*-----LIGHT-----*/
.light .post .post-rating a, .light .post .post-vote a, .light .post-rating a:after, .light .post-vote a:after {
    color: rgba(var(--col9), .7) !important;
}


/* 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: rgba(var(--col2)) !important;
}

.pagestext a {
  color: rgba(var(--col2)) !important;
}

#pun-viewforum .category {
  margin-bottom: 10px;
}

#pun-searchposts .post h3 span {
    justify-content: flex-start;
    gap: 10px;
}

#pun-searchposts h3 strong {
    position: absolute;
    right: 0px;
}

#pun-searchposts .FNTslider {
    position: absolute;
    right: 0px;
    top: 66px;
}

#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);
}

#pun-searchposts .pa-author strong {
    font-weight: 500;
    padding-bottom: 10px;
    display: block;
}

#pun-searchposts .pa-author {
    overflow: visible;
    position: relative;
    top: -13px;
    height: 20px;
}

.modmenu .container strong a, .modmenu .container strong select {
    padding: 1px 5px 2px 5px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .2px;
    border-radius: 3px;
}

.postlink.long {
    width: 302px;
    display: flex;
    gap: 30px;
    justify-content: space-evenly;
}

#pun-viewforum .forum .container {
    display: flex;
    align-items: center;
    margin-top: -5px;
}

#pun-viewforum .forum thead tr:first-child {
    background: rgba(var(--col1),.5);
    padding: 1px 5px 2px 5px;
    border-radius: 3px;
    text-transform: uppercase !important;
}

.light #pun-viewforum .forum thead tr:first-child {
    background: rgba(var(--col1), .5);
}


/* PAGES: VIEWPROFILEb
--------------------------------------------------------------------------------------------------------------------------*/


/* 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 {
    font-family: var(--font);
    color: var(--bg-color);
    letter-spacing: 0.5px;
    margin-left: calc(var(--profnav-w) + 30px) !important;
}

#profile fieldset fieldset {
  margin-left: 0px !important;
  padding: 0px;
}

#filetable thead tr {
  display: table-row;
}

#profile-left {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    width: calc(var(--prof-w) - 15px) !important;
    align-items: center;
    padding: 0px 0px 10px 0 !important;
    border-radius: 4px;
    gap: 3px;
    margin-right: 10px;
    font-weight: 500;
    text-transform: lowercase;
    font-family: var(--font);
    color: rgba(var(--col7));
    background: rgba(var(--col9), .7);
    box-shadow: 0 0 6px rgba(var(--col1), 0.3), inset 0 0 30px rgba(var(--col2), .3);
}

#profile-left strong {
    font-weight: 500 !important;
}

#viewprofile #profile-name strong {
    font-size: 17px !important;
    font-weight: 500 !important;
}

#profile-title {
    text-align: center;
}

#profile-name {
    position: relative;
    font-family: var(--font-fav1) !important;
    font-size: 17px!important;
    color: rgba(var(--col3), 1) !important;
    top: 5px;
    letter-spacing: 0.4px;
    font-weight: normal !important;
}

#profile-name:first-letter {
    color: rgba(var(--col2), .8);
    font-size: 35px;
    font-family: 'Iglets';
    font-style: italic;
}

#profile-left li a {
    color: rgba(var(--col3),1);
    font-weight: 500;
}

#viewprofile #pa-avatar {
    background: rgba(var(--col1), .5);
    padding: 5px 5px 3px 5px  !important;
    border-radius: 3px;
    border: 1px solid rgba(var(--col5), .7);
}

#profile-right {
    width: 80% !important;
    border-radius: 4px;
    padding: 10px !important;
    box-sizing: border-box;
    text-transform: lowercase;
    font-family: var(--font);
    letter-spacing: .2px;
    font-weight: 500 !important;
    color: rgba(var(--col3), .8);
    font-size: 11px;
    background: rgba(var(    --col9), .7);
    box-shadow: 0 0 6px rgba(var(    --col1), 0.3), inset 0 0 30px rgba(var(--col2), .3);
}

#profile-right a {
    color: rgba(var(--col7), 1);
} 

#profile-right li {
    padding-bottom: 5px;
    line-height: 160%;
    display: flex;
    gap: 2px;
}

#profile-right li span {
    border-right: 1px solid rgba(var(--col1), .6);
    padding: 3px 10px 3px 5px;
    background: rgba(var(--col2), .5);
    border-radius: 2px 0px 0px 2px;
    display: flex;
    align-items: center;
    width: 128px;
    justify-content: flex-start;
    color: rgba(var(--col7), 1);
}

#profile-right li strong {
    padding: 3px 2em;
    background: rgba(var(--col2), .3);
    width: 100%;
}


#profile .pagelink {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(var(--col7), .8);
    color: var(--link1);
    margin-left: -4px;
}

#profile .pagelink:hover {
    color: var(--link);
}

.light #profile .pagelink {
    background: rgba(var(--col9), .8);
}

.light #profile-left {
    background: rgba(var(--col4), .6);
    box-shadow: 0 0 6px rgba(var(--col4), 0.3), inset 0 0 30px rgba(var(--col10), .3);
    color: rgba(var(--col11), .6);
}

.light  #viewprofile  #pa-avatar img {
    border-radius: 4px 4px 0 0;
    border: 1px solid rgba(var(--col8), .8);
    box-shadow: 0px 0px 22px rgba(var(--col10), 1);
}

.light #viewprofile #pa-avatar {
    background: rgba(var(--col10), .5);
}

.light #profile-name {
    color: rgba(var(--col3), 1) !important;
}

#profile-name:first-letter {
    color: rgba(var(--col8), .7);
   font-weight: 600; }

.light #profile-right {
    color: rgba(var(--col11), .7);
    background: rgba(var(--col4), .6);
    box-shadow: 0 0 6px rgba(var(--col10), 0.3), inset 0 0 30px rgba(var(--col11), .3);
}

.light #profile-right li span {
    border-right: 1px solid rgba(var(--col5), .3);
    background: rgba(var(--col5), .3);
    color: rgba(var(--col10), 1);
    font-weight: 600;
}

.light #profile-right a {
    color: rgba(var(--col10), 1);
}

.light #profile-right li strong {
    background: rgba(var(--col5), .2);
}

/* PAGES: USERLIST, RESPECT, ONLINE
--------------------------------------------------------------------------------------------------------------------------*/
.usertable .container {
  margin: 20px 0;
}

.usertable td,
.usertable th {
  text-align: center;
}

.usertable .tcl,
#pun-respect .tcl,
#pun-positive .tcl {
  text-align: left;
}

#pun-respect td,
#pun-respect th,
#pun-positive td,
#pun-positive th {
  width: auto !important;
  text-align: center;    overflow: hidden;
}

/* userlist */
.username,
td.pmtc22 {
margin: 0 0px 0 30px;
 /* display: grid;
  grid-template-columns: 36px auto;
  grid-template-areas: 'ava user';
  gap: 10px;
  align-items: center;*/
}

#pun-online .username {
  display: block;
}

.usertable .group1.altstyle, .usertable .group2.altstyle, .usertable .group3.altstyle, .usertable .group4.altstyle, .usertable .group5.altstyle, .light .usertable .group1.altstyle, .light .usertable .group2.altstyle, .light .usertable .group3.altstyle, .usertable .group4.altstyle, .light .usertable .group5.altstyle {
    background: none;
    padding: 0;
}

.usertable tr:first-of-type {
    background: rgba(var(--col1),.5);
    padding: 1px 5px 2px 5px;
    border-radius: 3px;
    box-sizing: border-box;
}

.light .usertable tr:first-of-type {
    background: rgba(var(--col9), .5);
}

/*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: rgba(var(--col2));
}

/* PAGES: MESSAGES
--------------------------------------------------------------------------------------------------------------------------*/
#pun-messages .hasicon {
  width: auto;
}

#pun-messages .post-body, #pun-messages .post-author {
    margin: 20px 0;
}

#pun-messages .post-body {
    box-shadow: 0 0 0 1px rgba(var(--pun), 1), 0 0 0 2px rgba(var(--col2), .3);
}

.light #pun-messages .post-body {
    box-shadow: 0 0 0 1px rgba(var(--col5), .7), 0 0 0 2px rgba(var(--col2), .3);
}

#pun-messages h3 {
  margin-top: -21px;
  position: relative;
}

.postlink .button {
  background: transparent !important;
  padding: 0 !important;
}

.adminmain, #viewprofile .container, #profilenav, #pun-adnav {
    min-height: 70px;
    margin-left: 30px;
}


#notify-settings {
  font-family: var(--font);
  font-weight: 300;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-size: 9px;
  color: var(--bg-color);
  margin-left: calc(var(--profnav-w) + 15px);
}

input#OnOff_Notify {
  margin-top: -2px;
}

#volSlider.vol_slider {
  margin-top: 1px;
}

#pun-messages .post h3 span {
    width: auto;
}

#pun-messages .fs-box {
    margin-right: -20px;
    margin-bottom: 20px;
}

#pun-messages .FNTslider {
    position: absolute;
    top: 0;
    right: 30px;
}

#pun-messages .post-links {
    width: calc(100% - 40px);
    margin-left: 20px;
}



/* PAGES: LOGIN / REGISTER
-------------------------------------------------------------------------------------------------------------------*/
#login.container {
    display: flex;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    min-width: 470px;
}


/* SCROLLBAR / SELECTION
--------------------------------------------------------------------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--col1));
}

::-webkit-scrollbar-track {
    background: rgba(var(--col5), .5);
}

.scrollbox::-webkit-scrollbar-track {
  background: rgba(var(--col5), .6);
}

.scrollbox::-webkit-scrollbar-thumb {
  background: rgba(var(--col3));
}

.light .tblock act3 .text::-webkit-scrollbar-thumb, .light .vnen::-webkit-scrollbar-thumb, .light .it2::-webkit-scrollbar-thumb, .light .tem2::-webkit-scrollbar-thumb, .light .itoginov .tposttext::-webkit-scrollbar-thumb, .light .itoginov .tcit::-webkit-scrollbar-thumb, .light .punbb #List-UserNames ul::-webkit-scrollbar-thumb, .light::-webkit-scrollbar-thumb, .light .blockcode .scrollbox::-webkit-scrollbar-thumb, .light .abio1::-webkit-scrollbar-thumb {
    background: rgba(var(--col9));
}

/* selection */
::selection {
    background: rgba(var(--col1), .6);
    color: rgba(var(--col5), .7);
}

.light ::selection {
    background: rgba(var(--col1), .8);
    color: rgba(var(--col7), .7);
}

/* HIDDEN ELEMENTS
--------------------------------------------------------------------------------------------------------------------------*/
.acchide,
h1,
#pun-navlinks h2,
#pun-status h2,
#pun-ulinks h2,
.multipage .topic h2,
form#post.container legend span,
.post-sig dt span,
.crumbs strong,
.divider hr,
#pun-userlist .main h2,
#pun .modlist,
.stickytext,
.closedatafield,
#pun-viewforum #pun-main h2,
#pun-announcement h2,
#pun-break4,
#pun-messages .post-sig,
.tipsy-arrow,
.clearer,
#pun-searchtopics #pun-main h2,
.num_msg:before,
/* проверить все ДО этого */
#topic-users-in a:last-child:after,
#topic-modmenu span,
#pun-viewforum .modmenu span,
#post-form h2,
#pun-index th,
#pun-index .tcr br,
#pun-index .tc2,
#pun-index .tc3,
.lastedit,
.pa-reg,
.pa-gifts,
.pa-replies,
.sharelink,
.pl-share,
.pl-reports,
.pa-last-visit,
#viewprofile-next #profilenav,
#pa-invites,
#profile-gifts,
#navadmin span,
#pun-live-rusff,
.crumbs em,
#pun-searchposts em,
#pun-searchtopics .modmenu,
.bubble:after,
#pa-fld4,
#pun-post .topic h2,
.hide-box .qcn,
#topic-feed,
.modal-inner h2 span, 
.catleft, 
.catright, 
#button-smile,
#button-files_rusff, 
#button-graffiti_rusff,
#pun-index .subforums em,
.pa-online,
.reactions-root,
.qcn,
#pun-status .status-right,
.pa-fld4, 
.statscon .item3,
.admin-advert-block, 
#viewprofile #profile-signature, 
.tpost3, .tpost2, .itoginov .tpostname, .itoginov .tcitname, .itoginov .tpp1, .itoginov .tpp2, .itoginov .tpp3, .itoginov .tpp4, .itoginov .tga, .itoginov .tan, .itoginov .tpost2, .itoginov .tpost3, 
.pa-fld3 br, 
#navadmin span, #navuserlist span, #navpm span:first-child, #navlogout span:first-child, #New-exit img, #navregister span,
 #h-uploads, #pun-index #forum_f22, #pun-index #forum_f24, #pun-index #forum_f12, #pun-index #forum_f14, #pun-index #forum_f17, #pun-index #forum_f18, #pun-stats .item3, #post.container:before, .itoginov .tpostname, .itoginov .tcitname, .itoginov .tpp1, .itoginov .tpp2, .itoginov .tpp3, .itoginov .tpp4, .itoginov .tga, .itoginov .tan, .itoginov .tpost2, .itoginov .tpost3, .pa-fld3 br, #navlogout span:first-child, #New-exit img, .post #tags .container:before  {
  display: none !important;
}

.pun-modal.unread-notifications .modal-inner h2 span, .pun-modal.rating_theme h2 span {display: inline-block !important;}

.pun-modal .modal-inner {background: rgba(var(--pun));}

/* MOBILE / MOZILLA
--------------------------------------------------------------------------------------------------------------------------*/
@-moz-document url-prefix() {
  * {
    scrollbar-width: thin;
  }
  #form-buttons {
    margin-bottom: -2px;
  }
}

@media screen and (max-device-width: 480px) {
html{min-width: 1200px!important;}
  a,
  a:hover,
  a:focus,
  a:active,
  #pun-status,
  .crumbs,
  #pun-stats ul.container,
  .modmenu .container,
  #pun-index .tcr .lastpost, .tem2, #pun-viewforum .tcl, .byuser, .tc2, .tc3, .tcl, .tcr .lastpost, #pun-viewforum #pun-main.main.multipage {
    -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;
  }
#html-header info, .tblock act3 a, .tblock act3 a b, .category h2:after, .category h2:before, #pun-stats h2:after, #pun-stats h2:before {font-weight: 600 !important;}

#stylelist {
    left: calc(50% - 460px)!important;
}

}

@media screen and (max-device-width: 1068px) {
html{min-width: 1100px!important;}
#stylelist {
    left: calc(50% - 460px)!important;
}
  a,
  a:hover,
  a:focus,
  a:active,
  #pun-status,
  .crumbs,
  #pun-stats ul.container,
  .modmenu .container,
  #pun-index .tcr .lastpost, .tem2, #pun-viewforum .tcl, .byuser, .tc2, .tc3, .tcl, .tcr .lastpost, #pun-viewforum #pun-main.main.multipage {
    -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;
  }
#html-header info, .tblock act3 a, .tblock act3 a b, .category h2:after, .category h2:before, #pun-stats h2:after, #pun-stats h2:before {font-weight: 600 !important;}

#stylelist {
    left: calc(50% - 460px)!important;
}

}

/************************* 
Стиль для Быстрой смены аккаунтов 
Deff 
*************************/
/*Cкрытие формы входа без клика*/
#pun-navlinks a:not(.NextShow) + span.odd {
  display: none !important;
}
#pun-ulinks ul {
  /*display: block!important;
 position:relative!important;
 z-index:-1999999!important;*/
}

.punbb #pun-navlinks #form-login {
    position: absolute !important;
    text-align: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(var(--col1), 0.3);
    box-shadow: 0 0 10px rgba(var(--col2), 0.5);
    font-family: var(--font);
    text-transform: lowercase;
    font-size: 10px;
    color: rgba(var(--col5), .8);
    text-shadow: 1px 1px 0px rgba(var(--col2), .5);
    padding: 10px;
    box-sizing: border-box;
    top: -180px;
    left: 56px;
    z-index: 1000000 !important;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 30px auto auto auto;
    grid-template-areas: 'form1 usernames'
        'form2 usernames'
        'form3 usernames'
        'form4 usernames';
    height: 250px;
    gap: 0px 20px;
    align-items: start;
}

#List-UserNames {
  position: relative !important;
  grid-area: usernames !important;
}

.punbb #pun-navlinks #form-login span {
    grid-area: form1;
    color: rgba(var(--col3), 1);
}

.punbb #pun-navlinks #form-login div {
  grid-area: form2;
}

.punbb #pun-navlinks #form-login input[type='submit'] {
  min-width: 102px;
  transform: none !important;
  grid-area: form3;
}

#pun-navlinks #form-login input[value='Войти'] + p {
  margin-bottom: 11px;
  margin-top: 11px;
  grid-area: form4;
}

.punbb #List-UserNames ul {
  padding-right: 10px;
  overflow: hidden;
  overflow-y: auto;
  max-height: 120px;
}

#pun-navlinks #navlogin #form-login, .ismoderator #pun-navlinks #navlogout #form-login {
    margin-left: -40px;
    margin-top: 110px;
}

/*Стиль ссылок в форме "Не зарегистрированы" и "Забыли пароль" */
#pun-navlinks #form-login input[value='Войти'] + p {
  margin-bottom: 11px;
}
.punbb #pun-navlinks #form-login a.Rega,
.punbb #pun-navlinks #form-login a.Forgot {
    position: relative;
    z-index: 20;
    cursor: pointer;
    display: inline;
}
.punbb #pun-navlinks #form-login a.Rega:before,
.punbb #pun-navlinks #form-login a.Forgot:before {
  content: none !important;
}
/* Помечаем красным незаполненные поля!*/
#form-login input.none {
  outline: red dashed 2px !important;
}

.punbb #List-UserNames li {
  position: relative;
  transition: 0.33s;
  background: rgba(var(--col2), 0.5);
  text-align: left;
  padding: 2px 10px;
  margin-bottom: 5px;
  color: rgba(var(--col3), .8);
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 3px;
}

.punbb #List-UserNames li > b {
  font-weight: 400;
}

#List-UserNames ul li > span {
  display: inline-block;
  padding: 0 3px;
  position: absolute;
  opacity: 0.88;
  cursor: pointer;
  top: 0;
  bottom: 0;
  right: 2px;
}

/*Текст при отсутствии запомненных Ников!*/
#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: 10px 0;
  text-align: left;
  font-size: 11px;
}

/*Стрелочки к инпуту*/
#List-UserNames ul + span b {
  font: normal normal 400 13px / normal Verdana;
  padding: 0 3px;
  color: #fcfaf5;
}
/*Кликалка слева, чуть выше инпута*/
#List-UserNames .a1-copy {
  display: inline-block !important;
  cursor: pointer;
  float: left;
}
/*Кликалка справа*/
#List-UserNames .a1-paste {
  cursor: pointer;
  display: inline-block !important;
  float: right;
}
/*Подсказки на кликалках*/
.tipsy.a11 {
  font: normal normal 400 11px / normal Roboto !important;
  margin-top: -22px !important;
  margin-left: 148px !important;
  max-width: 170px;
}

/************************* 
//Конец Стиля для Быстрой смены аккаунтов 
*************************/

/*---------КНОПКИ СМЕНЫ СТИЛЯ----------*/

#stylelist {
    position: absolute;
    top: 70px;
    left: calc(50% - 521px);
    display: flex;
    gap: 5px;
    z-index: 1000;
    margin: 0;
    padding: 0;
    flex-direction: column;
}

#stylelist a {
    display: flex;
    width: 20px;
    height: 47px;
    border-radius: 3px 0px 0px 3px;
    font-size: 0px;
    border: 1px solid rgba(var(--col9), .3);
    transition: all 0.5s;
    align-items: center;
    justify-content: center;
}

#stylelist [data="light"] a {
    background: rgba(var(--col7), 1);
}

#stylelist [data="dark"] a {
    background: rgba(var(--col1));
}

#stylelist [data="light"] a:before, #stylelist [data="dark"] a:before {
    font-size: 10px;
    display: inline-block;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    font-family: var(--font);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: rgba(var(--wh), .7) !important;
}

#stylelist [data="light"] a:before {
    content: 'light';
}

#stylelist [data="dark"] a:before {
    content: 'dark';}

.light #stylelist [data="light"] a:hover, .light #stylelist [data="dark"] a:hover , #stylelist [data="dark"] a:hover, #stylelist [data="light"] a:hover {
    background: rgba(var(--col4), .8);
}

#stylelist [data="dark"] a:hover {
    background: var(--col3);
}

.light #stylelist [data="light"] a {
    background: rgba(var(--col9), .6);
    border: 1px solid rgba(var(--col5), .1);
}

.light #stylelist [data="dark"] a {
    background: var(--link2);
    border: 1px solid rgba(var(--col5), .3);
}

