/*************************************************************
СТРУКТУРА
*************************************************************/
/* Не удалять
-------------------------------------------------------------*/
@import url(style_cs.1766046888.css);
/* Шрифты
-------------------------------------------------------------*/
/*------ Гугл шрифты диза ------*/
@import url(https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200);
@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);
/*------ Другие шрифты диза ------*/
@font-face {
  font-family: "raleway";
  font-style: normal;
  font-weight: 400;
  src: url(//forumstatic.ru/files/001b/ce/c4/55308.ttf) format("woff2");
}
@font-face {font-family: 'Andrij Cyrillic'; 
src: local("Andrij Cyrillic"), url(//forumstatic.ru/files/001b/ed/c9/75452.otf?v=1);}
@font-face {font-family: 'Angst'; 
src: local("Angst"), url(//forumstatic.ru/files/001b/ed/c9/23440.otf);}
@font-face {font-family: 'baronmtmoderncyr'; 
src: local("baronmtmoderncyr"), url(//forumstatic.ru/files/001b/ed/c9/31569.ttf);}
@font-face {font-family: 'Borjomi'; 
src: local("Borjomi"), url(//forumstatic.ru/files/001b/ed/c9/15570.ttf);}
@font-face {font-family: 'Bradobrei'; 
src: local("Bradobrei"), url(//forumstatic.ru/files/001b/ed/c9/62190.otf);}
@font-face {font-family: 'Condensed Regular'; 
src: local("Condensed Regular"), url(//forumstatic.ru/files/001b/ed/c9/39158.otf);}
@font-face {font-family: 'ethna'; 
src: local("ethna"), url(//forumstatic.ru/files/001b/ed/c9/65921.ttf);}
@font-face {font-family: 'Ghost Dancer'; 
src: local("Ghost Dancer"), url(//forumstatic.ru/files/001b/ed/c9/81595.ttf);}
@font-face {font-family: 'Good Vibes'; 
src: local("Good Vibes"), url(//forumstatic.ru/files/001b/ed/c9/33443.ttf);}
@font-face {font-family: 'journalism'; 
src: local("journalism"), url(//forumstatic.ru/files/001b/ed/c9/63706.ttf);}
@font-face {font-family: 'Karsten Thin Alt'; 
src: local("Karsten Thin Alt"), url(//forumstatic.ru/files/001b/ed/c9/41810.otf);}
@font-face {font-family: 'Leotaro'; 
src: local("Leotaro"), url(//forumstatic.ru/files/001b/ed/c9/10900.otf);}
@font-face {font-family: 'miamanueva'; 
src: local("miamanueva"), url(//forumstatic.ru/files/001b/ed/c9/27059.ttf);}
@font-face {font-family: 'MiddlLight TYGRA'; 
src: local("MiddlLight TYGRA"), url(//forumstatic.ru/files/001b/ed/c9/31585.ttf);}
@font-face {font-family: 'recolors'; 
src: local("recolors"), url(//forumstatic.ru/files/001b/ed/c9/47921.otf);}
@font-face {font-family: 'Salwey'; 
src: local("Salwey"), url(//forumstatic.ru/files/001b/ed/c9/92659.ttf);}
@font-face {font-family: 'Cuprum';
src: local("Cuprum"), url(http://forumstatic.ru/files/001b/bf/8f/40705.ttf);} 
 @font-face {font-family: 'Rubik';
src: local("Rubik"), url(//forumstatic.ru/files/001a/f5/e3/50092.ttf);}
@font-face {font-family: 'SC Jurer'; 
src: local("SC Jurer"), url(//forumstatic.ru/files/001b/ed/c9/42460.ttf);}
@font-face {font-family:SKNigar ; 
src: local("SKNigar"), url(//forumstatic.ru/files/001b/ed/c9/62092.otf);}
@font-face {font-family: 'Yeseva One';
src: local("Yeseva One"), url(//forumstatic.ru/files/001a/f5/e3/56589.ttf);} 
 @font-face {font-family: 'Salome';
src: local("Salome"), url(//forumstatic.ru/files/001a/f5/e3/11239.otf);} 
@font-face {font-family: 'Pride Signature';
src: local("Pride Signature"), url(//forumstatic.ru/files/001b/bf/8f/78157.otf);}
@font-face { font-family: 'Jost'; src: local("Jost"), url(http://forumstatic.ru/files/001b/bf/8f/36612.ttf); }
 @font-face {font-family: 'AbrilFatface'; src: local("AbrilFatface"), url(//forumstatic.ru/files/0018/6b/8f/54200.woff);} 
@font-face { font-family: 'Agoka Family'; src: local("AgokaFamilyRegular"), url(https://forumstatic.ru/files/001a/28/10/85666.ttf) format('truetype');}
@font-face {font-family: "cessotest"; 
src: local("cessotest"), url(//forumstatic.ru/files/001b/ed/c9/69125.otf);}
@font-face {font-family: "Destroys"; 
src: local("Destroys"), url(//forumstatic.ru/files/001b/ed/c9/86777.otf);}
@font-face {font-family: "elegisepersonaluse"; 
src: local("elegisepersonaluse"), url(//forumstatic.ru/files/001b/ed/c9/47358.otf );}
@font-face {font-family: "fallena moodesty"; 
src: local("fallena moodesty"), url(//forumstatic.ru/files/001b/ed/c9/56018.otf);}
@font-face {font-family: "Geesor Unique"; 
src: local("Geesor Unique"), url(//forumstatic.ru/files/001b/ed/c9/49775.otf);}
@font-face {font-family: "Kahfi 0wzbz"; 
src: local("Kahfi 0wzbz"), url(//forumstatic.ru/files/001b/ed/c9/78964.otf);}
@font-face {font-family: "Revivalia"; 
src: local("Revivalia"), url(//forumstatic.ru/files/001b/ed/c9/88216.otf);}

@font-face {font-family: "Smoothies"; 
src: local("Smoothies"), url(//forumstatic.ru/files/001b/ed/c9/19100.otf);}

@font-face {font-family: 'TTLoveliesScript'; 
src: local("TTLoveliesScript"), url(//forumstatic.ru/files/001b/ed/c9/74054.ttf);}

@font-face {font-family: "vowstest"; 
src: local("vowstest"), url(//forumstatic.ru/files/001b/ed/c9/51459.otf);}
@font-face {font-family: "WinterShort"; 
src: local("WinterShort"), url(//forumstatic.ru/files/001b/ed/c9/58713.otf);}

@font-face {
  font-family: "Arial Black";
  font-style: normal;
  src: url(https://forumstatic.ru/files/001b/6f/ae/31956.eot), url(https://forumstatic.ru/files/001b/6f/ae/31956.eot) format("embedded-opentype"), url(https://forumstatic.ru/files/001b/6f/ae/43588.woff2) format("woff2"), url(https://forumstatic.ru/files/001b/6f/ae/76932.woff) format("woff"), url(https://forumstatic.ru/files/001b/6f/ae/69872.ttf) format("truetype"), url(https://forumstatic.ru/files/001b/6f/ae/10163.svg) format("svg");
}
@font-face {
  font-family: "Helvetica Bold";
  font-style: normal;
  src: url(https://forumstatic.ru/files/001b/6f/ae/45197.eot), url(https://forumstatic.ru/files/001b/6f/ae/45197.eot) format("embedded-opentype"), url(https://forumstatic.ru/files/001b/6f/ae/37261.woff2) format("woff2"), url(https://forumstatic.ru/files/001b/6f/ae/68239.woff) format("woff"), url(https://forumstatic.ru/files/001b/6f/ae/71611.ttf) format("truetype"), url(https://forumstatic.ru/files/001b/6f/ae/52766.svg) format("svg");
}
@font-face {
  font-family: "Helvetica Regular";
  font-style: normal;
  src: url(https://forumstatic.ru/files/001b/6f/ae/36354.eot), url(https://forumstatic.ru/files/001b/6f/ae/36354.eot) format("embedded-opentype"), url(https://forumstatic.ru/files/001b/6f/ae/85193.woff2) format("woff2"), url(https://forumstatic.ru/files/001b/6f/ae/36754.woff) format("woff"), url(https://forumstatic.ru/files/001b/6f/ae/69832.ttf) format("truetype"), url(https://forumstatic.ru/files/001b/6f/ae/99970.svg) format("svg");
}


@import url("https://fonts.googleapis.com/css2?family=Montserrat: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=Jost: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");

@font-face {
  font-family: "Rabert Conan";
  src: url("http://forumstatic.ru/files/001b/8c/26/93651.eot");
  src: local("Rabert Conan Bold Italic"), local("RabertConan-BoldItalic"), 
  url("RabertConan-BoldItalic.eot?#iefix") format("embedded-opentype"), 
  url("http://forumstatic.ru/files/001b/8c/26/11507.woff2") format("woff2"), 
  url("http://forumstatic.ru/files/001b/8c/26/15748.woff") format("woff"), 
  url("http://forumstatic.ru/files/001b/8c/26/20275.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}


/*------ Конец шрифтов ------*/
:root {
  --font-base: verdana, arial, helvetica, sans-serif;
  --montserrat: "Montserrat", verdana, arial, helvetica, sans-serif;
  --arial: arial, verdana, helvetica, sans-serif;
  --helvetica-regular: "Helvetica Regular", helvetica, verdana, arial, sans-serif;
  --helvetica-bold: "Helvetica Bold", helvetica, verdana, arial, sans-serif;
  --font-accent1: "Helvetica Regular", verdana, arial, helvetica, sans-serif;
  --mso: "Material Symbols Outlined";
  --body-img: url(https://forumstatic.ru/files/001a/16/90/45577.png);
  --header-img: url(https://forumstatic.ru/files/001a/16/90/86560.png);
  --profile-img: url(https://forumstatic.ru/files/001a/16/90/45577.png);
  --category-img: url(https://forumstatic.ru/files/001a/16/90/45577.png);
  --footer-img: url(https://forumstatic.ru/files/001a/16/90/45577.png);
  --body-color: #0c0c0c;
  --pun-color: #222222;
  --quote-color: #d5d5d5;
  --text-color: #e2e2e2;
  --accent-color1: #8aa855;
  --accent-color2: #cdcdcd;
  --border-color: #42443f;
  --border-opacity: rgba(190, 190, 190, 1);
  --link-color: #959191;
  --link-hover: #95a06c;
  --button-color: #141414;
  --button-text-color: #e2e2e2;
  --user-avatar-color: #7c7c7c;
  --select-max: rgba(221, 221, 221, 0.6);
  --select-medium: rgba(221, 221, 221, 0.2);
  --select-min: rgba(221, 221, 221, 0.05);
  --select-text-color: #0c0c0c;
  --black: #000000;
  --black-min: rgba(0, 0, 0, 0.01);
  --black-medium: rgba(0, 0, 0, 0.1);
  --black-max: rgba(0, 0, 0, 0.2);
  --black-more: rgba(0, 0, 0, 0.4);
  --white: #ffffff;
  --white-min: rgba(255, 255, 255, 0.15);
  --white-medium: rgba(255, 255, 255, 0.7);
  --white-max: rgba(255, 255, 255, 0.9);
  --grey: #787878;
  --body-width: 1000px;
  --pun-padding: 30px;
  --body-padding: 10px;
  --header-height: 291px;
  --profile-width: 260px;


  --color1: #f8f8f8;
    --color2: #0c0c0cbd;
    --color3: #fbfbfb;
    --color4: #b6d5b3;
    --color5: #e9f5e2;
   --tembackground: url(https://forumstatic.ru/files/001a/08/87/97765.png);
   --border1:  solid 1px #eff1f1;
}

:root .black{
  --footer-img: url(https://i.ibb.co/6rPN662/1.png);
}


:root {
    --bg: url(https://forumstatic.ru/files/001a/a6/af/89954.jpg) top center repeat fixed;
    --bg1: url(https://forumstatic.ru/files/001a/a6/af/43954.jpg) top center repeat fixed;
    --foot: url();
    --bg-color: rgba(var(--col2));
    --bg-color1: rgba(var(--col10));
    --pun: 140, 141, 135;
    --pun1: 178, 177, 177;
    --notify: var(--link2);
    --link: rgba(var(--col2));
    --link1: rgba(var(--col5));
    --link2: rgba(var(--col1));
    --link3: rgba(var(--col9));
    --accent: rgba(var(--col4));
    --accent1: rgba(var(--col11));
    --col1: 153, 159, 122; /*--светл зел--*/
    --col2: 59, 69, 56; /*--темн зел--*/
    --col3: #566351; /*--рамки--*/
    --col4: 182, 188, 150; /*--акцент 1--*/
    --col5: 237, 237, 237; /*--белый--*/
    --col6: #313131; /*--серый--*/
    --col7: 116, 122, 66; /*--акцент 2--*/
    --col8: 215, 170, 79; /*--рыж--*/
 /*--здесь цвета светлого--*/
    --col9: 139, 128, 129; /*--беж светл--*/
    --col10: 84, 74, 74; /*--беж темн--*/
    --col11: 183, 166, 166;  /*--акцент беж--*/
    --col12: #b69d9d;  /*--роз--*/
    --col13: 227, 179, 179;
    --font: lato;
    --font-fav: FashionWacks;
    --font-fav1: Lighthaus;
    --font-awe: 'Font Awesome 5 Pro';
    --title-h: 229px;
    --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';
}


/* Обнуление
-------------------------------------------------------------*/
* {
  border: none !important;
  border-style: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
  -webkit-text-size-adjust: none !important;
  -moz-text-size-adjust: none !important;
  -ms-text-size-adjust: none !important;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  outline: none !important;
  -webkit-text-size-adjust: none !important;
  -moz-text-size-adjust: none !important;
  -ms-text-size-adjust: none !important;
}

.punbb * {
  margin: 0;
}

#pun {
  position: relative;
}

.punbb {
  float: left;
  width: 100%;
  height: auto;
}

#pun-redirect,
#pun-maint {
  margin: 0 auto 10px;
  width: auto;
  float: none;
}

.punbb ul,
.punbb dl,
.punbb li,
.punbb dd,
.punbb dt {
  padding: 0;
  list-style: none;
}

/* Скрытые элементы
-------------------------------------------------------------*/
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

td#title-logo-tdr,
.punbb .datafield br,
#post-form h2 span,
#pun-messages .user-avatar,
#pun-modviewforum .user-avatar,
#pun-searchposts li.pa-replies,
#pun-messages li.pa-reg,
#pun-messages li.pa-posts,
#pun-title h1,
#navawards,
#pun-main div.catleft,
#pun-main div.catright,
.topic a.sharelink,
li.pl-reports,
#pun-live-rusff,
form#register .info-box,
#button-files_rusff,
#button-graffiti_rusff,
#post legend span,
div#topic-modmenu span,
.stickytext,
.closedatafield,
p.lastedit,
lastedit,
div#most_invitations,
#pun-announcement h2,
#pun-viewforum .modmenu .container span,
#pun-searchtopics .modmenu .container,
li#pa-invites,
#pun-multimove li.pa-title,
.punbb .main td .modlist,
.pa-fld1 .fld-name,
.pa-fld2 .fld-name,
.pa-fld3 .fld-name,
.pa-fld4 .fld-name,
.pa-fld5 .fld-name,
li.pa-gifts,
li.pa-gifts a,
li.pa-gifts span,
#pun-searchposts .post-links,
#pun-messages .linksb:after,
li.pl-website.website,
.reactions-root {
  display: none !important;
}

/* Тело
-------------------------------------------------------------*/
body {
  font-size: 100.01%;
  font-family: var(--helvetica-regular);
  font-weight: 400;
}

.punbb {
  font: 500 68.75% var(--helvetica-regular);
  padding: 0;
  box-sizing: border-box;
}

.punbb .post-box {
  font: 1em var(--font-base);
}

.punbb textarea {
  background: var(--white-medium);
  font: 1em var(--font-base);
  border: 1px solid var(--border-color) !important;
}

.punbb input:not(#keyboard-span input) {
  background: var(--white-min);
  font: 1em var(--helvetica-regular);
  border: 1px solid var(--border-color) !important;
  color: var(--text-color);
}

.punbb select {
  background: var(--select-medium);
  font: 1em var(--helvetica-regular);
  text-transform: lowercase;
}

.punbb optgroup {
  background: var(--select-min);
  font: 1em var(--helvetica-bold);
  font-weight: 400;
}

.punbb pre {
  font: 0.8em var(--font-base);
  line-height: 160%;
  white-space: break-spaces;
  text-align: left;
  letter-spacing: 0.4px;
}

.punbb .main table {
  table-layout: fixed;
  width: 100%;
}

#pun-messages .main table:not(#form-buttons table),
#pun-reputation table {
  border-spacing: 0 12px;
}

.punbb .section {
  margin: 0 auto;
  width: 100%;
}

.punbb .main {
  margin-bottom: 0;
}

.punbb .topic {
  margin-top: 0;
}

.punbb .category,
.punbb .post {
  margin-top: 0;
}

.punbb .category {
  cursor: default;
}

.punbb #pun-category1,
.punbb .toppost,
.punbb .topicpost {
  margin-top: 0;
}

.checkfield input[type=checkbox],
.radiofield input[type=radio] {
  margin: 0 0.3em;
}

p[class=checkfield] *,
div[class=checkfield] *,
fieldset[class=radiofield] * {
  height: 1.3em;
  vertical-align: middle;
}

#pun {
  box-sizing: border-box;
}

.punbb {
  margin: 0;
  width: 100% !important;
  padding: 0 !important;
}

/* Шапка
-------------------------------------------------------------*/
#pun-title td.title-logo-tdl {
  width: 100%;
}

#pun-title {
  margin: 0;
}

#pun-title h1 span {
  font-size: 0;
}

/* Меню навигации: форум, участники и т. д.
-------------------------------------------------------------*/
#pun-navlinks {
  display: flex;
}

#pun-navlinks .container {
  background: transparent !important;
  width: 100%;
  height: 100%;
  margin: 0;
}

#navindex a:before,
#navuserlist a:before,
#navsearch a:before,
#navprofile a:before,
#navpm a:before,
#navadmin a:before,
#navlogout a:before,
#navlogin a:before,
#navregister a:before,
#navpr_1 a:before {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  line-height: 1;
  top: 0;
  left: 0;
}

#pun-navlinks {
  z-index: 5;
}

#pun-navlinks li {
  padding: 0;
}

/* Меню навигации 2: новые соо, активные темы и т. д.
-------------------------------------------------------------*/
#pun-ulinks li {
  display: inline-flex;
  white-space: nowrap;
}

#pun-ulinks li a {
  white-space: nowrap;
}

#pun-ulinks {
  position: relative;
  display: flex;
}

#pun-ulinks .container {
  background: transparent !important;
  width: 100%;
  height: 100%;
  margin: 0;
}

#pun-ulinks .item1,
#pun-ulinks .item1 a {
  padding-left: 0;
}

/* Приветствие и хлебные крошки
-------------------------------------------------------------*/
#pun-crumbs1 {
  overflow: hidden;
  margin: 35px 0 20px;
}

#pun-crumbs1 .container {
  padding: 0;
}

#pun-crumbs2 {
  overflow: hidden;
  margin: 30px 0 0;
}

#pun-viewforum #pun-crumbs2,
#pun-searchtopics #pun-crumbs2,
#pun-userlist #pun-crumbs2,
#pun-respect #pun-crumbs2,
#pun-positive #pun-crumbs2,
#pun-searchposts #pun-crumbs2,
#pun-multimove #pun-crumbs2 {
  padding: 0 0 2px;
}

#pun-index #pun-crumbs2 {
  padding: 0 !important;
}

#pun-crumbs2 .container {
  padding: 0;
}

#pun-break1 {
  height: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

#pun-status .container {
  padding: 0;
}

#pun-status .status-right a {
  margin-right: 0;
}

#pun-status span #pun-crumbs1,
#pun-crumbs1 .container,
#pun-crumbs2 .container,
#pun-crumbs2 {
  font-weight: 400 !important;
}

.punbb .divider {
  border-color: transparent !important;
}

/* Объявление и переадресация
-------------------------------------------------------------*/
#pun-announcement .html-box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  height: auto;
}

.pun-modal .modal-inner {
  background: var(--pun-color);
  padding: 10px !important;
  width: 600px !important;
  border-radius: 0;
}

.move_posts_form .modal-inner > .container {
  background: var(--pun-color) !important;
}

#move_posts_form .formal > form.container {
  padding: 15px 15px 7px 15px !important;
}

body.redirect-page #pun {
  margin: calc(var(--header-height) / 2) auto 0 !important;
}

#pun-redirect,
#pun-maint {
  background-color: var(--pun-color);
  padding: 20px !important;
  box-sizing: border-box;
}

#pun-redirect h1 {
  margin-bottom: 0 !important;
  padding: 10px 0 !important;
}

.pun-modal.move_posts_form h2 {
  margin-bottom: 10px !important;
}

.move_posts_form .modal-inner > .container .fs-box {
  text-transform: lowercase;
}

#move_posts_form .tcl {
  text-align: left;
}

#move_posts_form .tc2 {
  width: 15%;
  text-align: right;
}

.forum_name strong {
  font-weight: 400 !important;
  color: var(--text-color);
}

/* Таблица общее
-------------------------------------------------------------*/
.punbb .main .tcmod {
  text-align: center;
  width: 3%;
}

.punbb .main td {
  padding: 0;
}

.punbb .main tr {
  display: block;
  word-break: break-word;
}

#pun-respect tr,
#pun-positive tr {
  border-spacing: 0 6px;
}

#pun-messages tr:not(#form-buttons table tr),
#pun-reputation tr:not(#form-buttons table tr),
.punbb .post-box table tr:not(#form-buttons table tr),
.history_posts_list table tr:not(#form-buttons table tr),
.Form-Table table tr:not(#form-buttons table tr),
.adfs-box table tr:not(#form-buttons table tr),
.fs-box table tr:not(#form-buttons table tr) {
  display: table-row !important;
}

#pun-viewforum .main tr:not(:last-child):not(:first-child),
#pun-searchtopics .main tr:not(:last-child):not(:first-child),
.multipage .main tr:not(:last-child):not(:first-child),
#pun-userlist .main tr:not(:last-child):not(:first-child),
#pun-statistic .main tr:not(:last-child):not(:first-child),
#pun-online .main tr:not(:last-child):not(:first-child),
#pun-modviewforum .main tr:not(:last-child):not(:first-child) {
  margin: 1.5em 0;
}

#pun-viewforum .main tr:last-child:not(:first-child),
#pun-searchtopics .main tr:last-child:not(:first-child),
.multipage .main tr:last-child:not(:first-child),
#pun-userlist .main tr:last-child:not(:first-child),
#pun-statistic .main tr:last-child:not(:first-child),
#pun-online .main tr:last-child:not(:first-child),
#pun-modviewforum .main tr:first-child:not(:last-child) {
  margin: 1.5em 0 1px;
}

#pun-viewforum .main tr:first-child:not(:last-child),
#pun-searchtopics .main tr:first-child:not(:last-child),
.multipage .main tr:first-child:not(:last-child),
#pun-userlist .main tr:first-child:not(:last-child),
#pun-statistic .main tr:first-child:not(:last-child),
#pun-online .main tr:first-child:not(:last-child),
#pun-modviewforum .main tr:first-child:not(:last-child) {
  margin: 0 0 1.5em;
}

#pun-index .main td {
  padding: 0;
}

.punbb .main th {
  padding: 0 0 20px;
  box-sizing: border-box;
  font-size: 0;
}

#pun-index .main th {
  padding: 0 !important;
}

#pun-respect .main th,
#pun-online .main th,
#pun-positive .main th {
  padding: 12px 0 !important;
}

#pun-messages .main th {
  padding: 0 0 8px;
}

.punbb .main td span.youposted {
  position: absolute;
}

.punbb tbody.hasicon td.tcl {
  padding-left: 0;
}

.punbb .user-avatar {
  margin: 0 !important;
  position: relative;
}

.multipage {
  margin-top: 0;
}

.multipage,
div#pun-main,
div#pun-stats,
div#pun-crumbs1,
div#pun-crumbs2,
div#pun-about {
  padding: 0;
}

/* Таблица на index
-------------------------------------------------------------*/
#pun-index .main .tcl,
#pun-index .main .tcr {
  overflow: hidden;
}

#pun-index .main .tc2,
#pun-index .main .tc3 {
  width: 0;
  font-size: 0;
}

/* Таблица на searchtopics и viewforum
-------------------------------------------------------------*/
#pun-searchtopics tr {
  vertical-align: top;
}

#pun-searchtopics .tcl {
  width: calc(var(--body-width) * 0.4) !important;
}

#pun-searchtopics .tc2 {
  width: calc(var(--body-width) * 0.3) !important;
}

#pun-searchtopics .tc3 {
  width: calc(var(--body-width) * 0.1) !important;
}

#pun-searchtopics .tcr {
  width: calc(var(--body-width) * 0.2) !important;
}

#pun-searchtopics div.icon {
  float: none;
  position: absolute;
  line-height: 0;
}

#pun-viewforum .tcl,
.multipage .tcl {
  width: calc(var(--body-width) * 0.55) !important;
}

#pun-viewforum .tc2,
#pun-viewforum .tc3,
.multipage .tc2,
.multipage .tc3 {
  width: calc(var(--body-width) * 0.1) !important;
}

#pun-viewforum .tcr,
.multipage .tcr {
  width: calc(var(--body-width) * 0.35) !important;
}

#pun-viewforum .tcr a,
.multipage .tcr a {
  display: block;
}

#pun-viewforum div.icon,
.multipage div.icon {
  float: none;
  position: absolute;
  line-height: 0;
}

#pun-statistic .tcl:not(.tcl.tc-topic) {
  width: calc(var(--body-width) * 0.275) !important;
}

#pun-statistic .tcl.tc-topic {
  width: calc(var(--body-width) * 0.425) !important;
}

#pun-statistic .tc2 {
  width: calc(var(--body-width) * 0.275) !important;
}

#pun-statistic .tc3 {
  width: calc(var(--body-width) * 0.15) !important;
}

#pun-statistic .tc3:not(:last-child) {
  text-align: center;
}

/* Таблица на userlist
-------------------------------------------------------------*/
#pun-userlist .usertable {
  margin: 20px auto 20px;
}

#pun-userlist .tcl {
  width: calc(var(--body-width) * 0.275) !important;
  text-align: left;
  word-break: break-word;
}

#pun-userlist .tc2 {
  width: calc(var(--body-width) * 0.275) !important;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
}

#pun-userlist .tc3 {
  width: calc(var(--body-width) * 0.15) !important;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
}

#pun-userlist .tc3:last-child {
  text-align: right;
}

.usertable {
  margin: 0 auto;
}

/* Таблица на debug и statistic
-------------------------------------------------------------*/
#pun-debug .tcl {
  width: calc(var(--body-width) * 0.15) !important;
  white-space: normal;
}

#pun-debug .tcr {
  width: calc(var(--body-width) * 0.9) !important;
  white-space: normal;
}

#pun-statistic {
  text-transform: lowercase;
}

#pun-statistic .tcl {
  text-align: left !important;
}

#pun-statistic .tc2 {
  text-align: center !important;
}

#pun-statistic .tc3:not(:last-of-type) {
  text-align: center !important;
}

#pun-statistic .tc3:last-of-type {
  text-align: right !important;
}

#pun-statistic th {
  font-size: 0.8em;
  padding: 20px 0 12px;
  font-weight: 400 !important;
}

#statistic-other span {
  padding-right: 0 !important;
}

#pun-online .tcl,
#pun-online .tc3 {
  width: calc(var(--body-width) * 0.33) !important;
}

#pun-online .tc3 {
  text-align: right;
}

#pun-online td.tcl.username,
#pun-online th.tcl:first-child {
  text-align: left;
}

#pun-online .tcl.action {
  text-align: center;
}

#pun-online .tcl.action strong {
  font-weight: 400 !important;
}

/* Таблица на pun-messages
-------------------------------------------------------------*/
#pun-messages tbody.hasicon td.tcl {
  padding-left: 0;
}

#pun-messages div.icon {
  float: none;
  position: absolute;
  line-height: 0;
}

#pun-messages tr {
  vertical-align: middle;
}

#pun-messages .tcl {
  width: calc(var(--body-width) * 0.3) !important;
  text-align: left;
}

#pun-messages .tc2 {
  width: calc(var(--body-width) * 0.2) !important;
}

#pun-messages .tc2:last-of-type {
  width: calc(var(--body-width) * 0.05) !important;
}

#pun-messages .tc3 {
  width: calc(var(--body-width) * 0.1) !important;
}

#pun-messages .tcr {
  width: calc(var(--body-width) * 0.1) !important;
}

#pun-messages .tcr a {
  display: block;
}

#pun-messages fieldset {
  padding: 0 8px 0 0;
}

/* Личные сообщения
-------------------------------------------------------------*/
#volSlider {
  display: block !important;
  float: right !important;
  margin: 5px 0 0 1em !important;
}

#volSlider .thumb {
  cursor: pointer !important;
  display: inline-block !important;
  position: relative !important;
}

/* Статистика
-------------------------------------------------------------*/
#pun-stats .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}

#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {
  display: flex;
  align-items: center;
  flex-flow: wrap;
  text-align: center;
  padding: 0;
  cursor: default;
  height: 32px;
  width: auto;
  box-sizing: border-box;
  margin: 15px 0 15px;
  text-align: center;
  justify-content: center;
}

#pun-stats li.item1 span,
#pun-stats li.item2 span,
#pun-stats li.item3 span,
#pun-stats li.item4 span {
  margin-right: 3px;
}

li#onlinelist {
  float: left;
  text-align: justify;
  width: 100%;
  margin: 0 0 1em;
  line-height: 1.8;
}

li#onlinelist:last-child {
  margin: 0 !important;
}

li#onlinelist div {
  padding: 0;
}

#onlinelist {
  text-transform: lowercase;
  letter-spacing: 0.2px;
  font-size: 0.9em;
  font-weight: 400;
}

#onlinelist a:not {
  text-transform: initial;
}

/* Футер
-------------------------------------------------------------*/
#pun-qjump {
  width: 50%;
  margin: 0;
  position: relative;
  float: left;
}

#pun-qjump .container {
  background: transparent;
}

#pun-about {
  margin: 0;
}

#pun-about .container {
  line-height: 150%;
}

#pun-about p span {
  display: block;
  padding: 0;
}

#pun-break4 {
  position: relative;
  height: 0;
  margin: 0;
  z-index: 1;
}

/* Посты
-------------------------------------------------------------*/
#main-reply {
  line-height: 170%;
  padding: 10px;
}

.punbb textarea,
.punbb input,
.punbb select,
.punbb optgroup {
  outline: none;
  padding: 3px 5px;
  box-sizing: border-box;
  margin: 0;
}

#pun-viewtopic #post-form textarea,
#pun-messages textarea,
#pun-edit textarea,
textarea#reputationText {
  border-radius: 0 !important;
  border: 1px solid var(--border-color) !important;
}

.submitfield input#sub4,
#pun-profile p.inputfield a,
#pun-profile p.datafield a {
  text-transform: lowercase;
  padding: 5px 20px 7px !important;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  background: var(--button-color);
  color: var(--button-text-color) !important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 125px;
  box-sizing: border-box;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--border-color);
}

.submitfield input#sub4:hover,
#pun-profile p.inputfield a:hover,
#pun-profile p.datafield a:hover {
  opacity: 0.4;
}

.punbb .post .container {
  margin-top: 0 !important;
  padding-bottom: 0;
  position: relative;
}

.punbb .post .post-author ul,
.punbb .post .post-author p {
  padding: 0;
  line-height: 140%;
}

.punbb fieldset {
  padding: 0;
  margin: 0;
}

.punbb fieldset legend {
  padding: 0;
  margin: 0;
}

.punbb fieldset legend span {
  padding: 0;
  margin: 0;
}

.punbb fieldset .post-box {
  margin-bottom: 0.8em;
}

.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

#pun-messages .post-content {
  width: 100% !important;
}

.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 170%;
}

.punbb .post-content blockquote p:last-of-type {
  padding: 0;
}

.punbb .post-content img {
  vertical-align: text-bottom;
}

.punbb .post-content img.postimg {
  vertical-align: middle;
}

.punbb .post-content blockquote,
.punbb .post-content .blockcode {
  overflow: hidden;
  margin: 0;
  padding: 12px 16px;
}

.punbb .post-content .scrollbox {
  height: auto !important;
  max-height: 68px !important;
  overflow-y: auto;
}

.punbb .post-content .spoiler-box > div {
  padding: 8px 12px !important;
  line-height: 170%;
}

.punbb .post-content .spoiler-box > div:before,
.punbb .post-content .spoiler-box > div.visible:before {
  display: inline-block;
}

.punbb .post-content .quote-box,
.punbb .post-content .code-box {
  margin: 1em 0;
  padding: 0;
}

.punbb .info .container {
  padding: 1em 2em;
  text-align: center;
}

.punbb .info .container .backlink {
  padding-top: 0.8em;
}

.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  margin: 0 0 1.1em 0;
}

.punbb .info-box * {
  padding: 0 0 0.7em 0;
}

.punbb .fs-box {
  padding: 1em 0 2em;
}

.punbb .fs-box p,
.punbb .fs-box fieldset {
  padding: 0 0 0.8em 0;
  line-height: 160%;
}

.punbb .inline .inputfield,
.punbb .inline .selectfield,
.punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  line-height: 160%;
}

.punbb .inline .infofield {
  clear: both;
  text-transform: lowercase;
}

.punbb .areafield span.input,
.punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%;
}

.punbb textarea,
.punbb .longinput input {
  width: auto;
  margin: 0;
}

.punbb .post-box {
  padding: 0;
}

.punbb .post-links ul {
  height: auto;
  margin-left: 0;
  padding: 0 0 0;
  background: transparent;
  line-height: 1;
  text-align: right;
}

.punbb .post-links li {
  line-height: 1 !important;
}

.punbb .post-links li:not(:first-of-type) {
  margin-left: 1.5em;
}

.punbb .hashelp {
  position: relative;
}

.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
}

#pun-messages .clearer {
  display: none;
}

.punbb .post-sig dt {
  display: block;
  width: 50%;
  margin: 10px auto;
}

.punbb dl.post-sig p,
#profile-signature p,
dl.parsedsig p {
  line-height: 100% !important;
}

.punbb .helplinks {
  display: block;
  position: absolute;
  width: 36%;
  top: 1em;
  right: 0;
  font-weight: 400;
}

.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
}

.punbb .quote-box cite,
.punbb .code-box strong.legend {
  box-sizing: border-box;
}

.punbb #profile .helplinks {
  top: 1.5em;
}

.punbb .formal .container {
  padding: 0;
}

#pun-post .formal .info-box li {
  list-style-type: square;
  list-style-position: inside;
  margin: 0;
  padding-left: 4px;
  line-height: 1.5;
}

.pl-email,
.pl-website {
  float: left;
}

.pl-delete,
.pl-edit,
.pl-quote,
.pl-reports {
  float: none;
}

form#rep_form .tc2 input {
  cursor: pointer;
  margin: 0 0 8px 0 !important;
  padding: 4px 13px 7px !important;
}

.punbb .post h3 {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

#pun-messages .post h3 {
  margin: 0 !important;
  background: transparent;
  height: auto;
  width: auto;
  padding: 0;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#pun-messages .post h3 span {
  font-weight: 400 !important;
}

.punbb .post h3 span {
  text-align: left;
  letter-spacing: 0.4px;
  line-height: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
  box-sizing: border-box;
  margin: 0 !important;
}

#pun-multimove .post h3 strong,
#pun-searchposts .post h3 strong {
  right: 0;
  position: absolute;
}

.punbb .post-box {
  text-align: justify;
  padding: 0 !important;
}

.punbb #pun-main .info-box .legend {
  font-size: 1em;
  font-weight: 400;
}

.punbb address,
.punbb em,
em {
  font-style: normal;
}

a.qc-post-link img {
  display: none;
}

.punbb .required label,
.punbb .datafield span.input a {
  font-weight: 400 !important;
}

em.bbuline {
  font-style: normal;
  text-decoration: none;
}

hr {
  opacity: 1 !important;
  margin-bottom: 0.8em;
  filter: none;
  border-bottom-style: none !important;
}

.linkst .postlink span.closed,
.linksb .postlink span.closed {
  display: none;
}

span.closed {
  margin-right: 10px;
}

#plng {
  padding: 0;
  margin: 0 20px 0 0;
  font-weight: 400 !important;
  text-transform: uppercase;
  font-size: 0.75em;
  letter-spacing: 0.2px;
  line-height: 1;
}

#plng b {
  font-weight: 400 !important;
}

#restore-post {
  position: absolute;
  right: -33px;
  top: 47px;
  z-index: 200;
  cursor: pointer;
}

span#restore-post:before {
  content: "\f044";
  font-family: var(--mi);
  color: var(--text-color);
  font-size: 1em;
  display: block;
}

.post-content .highlight-text {
  padding: 0 4px 2px 4px;
}

/* Пагинация и соседние строчки
-------------------------------------------------------------*/
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
}

#pun-pagelinks .container {
  background: transparent;
  padding: 0;
}

#pun-pagelinks .container li {
  display: inline;
}

#pun-pagelinks li a {
  display: block;
  float: left;
  width: 100%;
  height: 2em;
  margin-left: -9999px;
  padding: 0;
}

#pun-pagelinks li a span {
  display: block;
  margin: 0 1em;
}

#pun-pagelinks a:link,
#pun-pagelinks a:hover {
  display: block;
  float: left;
  width: 100%;
  height: 2em;
  margin-left: -9999px;
  padding: 0;
}

#pun-pagelinks a:active,
#pun-pagelinks a:focus {
  position: relative;
  margin: 0;
}

.punbb .linkst,
.punbb .linksb {
  float: none;
  position: relative;
  width: 100%;
  height: 30px !important;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.punbb .linksb noindex,
.punbb .linkst noindex {
  display: flex;
  align-items: center;
}

.linkst .postlink {
  right: 0;
  text-align: right;
}

.punbb .linksb {
  padding: 0.5em 0;
}

.linksb .pagelink,
.linkst .pagelink {
  float: none;
  left: var(--pun-padding);
  position: absolute;
  line-height: 1;
  width: auto;
  max-width: calc(var(--profile-width) - var(--pun-padding));
  text-align: left;
}

#pun-messages .linksb .pagelink,
#pun-messages .linkst .pagelink {
  left: 0 !important;
}

.linksb .postlink,
.linkst .postlink {
  float: none;
  right: var(--pun-padding) !important;
  position: absolute;
  line-height: 1;
  width: auto;
  text-align: right;
}

#pun-messages .linksb .postlink,
#pun-messages .linkst .postlink {
  right: 0 !important;
}

.linksb {
  text-align: right;
}

.linkst {
  text-align: left;
}

#pun-viewtopic .linksb {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#pun-viewtopic .linksb .pagelink {
  order: 0;
}

#pun-viewtopic .linksb .postlink {
  float: none;
  width: auto;
  order: 1;
}

#pun-viewtopic .linksb .subscribelink {
  float: none;
  width: auto;
  order: 2;
}

#pun-viewtopic .linksb .postlink,
#pun-viewtopic .linksb .subscribelink {
  text-align: right;
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#pun-viewtopic .linksb .postlink a,
#pun-viewtopic .linksb .subscribelink a {
  width: auto;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

/* Профиль в постах
-------------------------------------------------------------*/
.punbb .post .post-author {
  float: left;
  border: none;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

.punbb .post .post-author ul {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: auto;
  height: auto;
  flex-direction: row;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.pa-author {
  box-sizing: border-box;
}

.pa-title {
  line-height: 1.2;
  box-sizing: border-box;
}

.pa-avatar.item2 {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.pa-avatar.item2 img,
#profile-left #pa-avatar img {
  max-height: 180px;
  max-width: 180px;
}

#profile-left #pa-avatar div {
  padding: 0;
}

.pa-online {
  line-height: 1;
}

.pa-posts,
.pa-respect,
.pa-fld4 {
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex: auto;
  flex-direction: column;
  text-align: center;
  position: relative;
  margin: 20px 0 !important;
}

.pa-posts,
.pa-respect,
.pa-fld4 {
  width: 30%;
}

.pa-respect {
  flex-direction: row !important;
  white-space: nowrap !important;
}

.pa-respect img {
  width: 8px;
  height: 8px;
  mix-blend-mode: normal;
  margin: 0 4px 0 0;
  filter: grayscale(1);
}

.pa-ip {
  color: var(--text-color) !important;
  font-size: 0.8em;
  letter-spacing: 1px;
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 5px !important;
}

.pa-ip a {
  color: var(--accent-color1) !important;
}

.pa-ip a:hover {
  opacity: 0.6 !important;
}

/* Страница профиля
-------------------------------------------------------------*/
#viewprofile .container {
  box-sizing: border-box;
  position: relative;
}

#viewprofile ul {
  margin: 0;
  padding: 0;
}

#viewprofile li {
  margin: 0;
  padding: 0;
}

#viewprofile li strong,
#viewprofile li div {
  padding: 0;
  display: block;
  width: auto;
}

#viewprofile h2 {
  background: transparent;
  padding: 0;
  margin: 0 14px;
}

#viewprofile h2 span {
  padding: 0 5px;
  position: relative;
}

#profile-left {
  margin: 0 !important;
  overflow: hidden;
}

#profile-left li {
  width: 100%;
}

#profile-left #pa-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

#profile-right {
  width: auto !important;
}

#profile-right li {
  margin: 0;
  text-align: left;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: start;
  align-items: center;
}

#profile-right li span {
  float: left;
  min-width: 160px;
  padding: 0;
  margin: 0 30px 0 0;
  white-space: nowrap;
  display: block;
}

td#profile-right {
  display: table-cell;
  margin-left: 0;
  padding: 0 0 0 60px !important;
}

#profile-signature {
  padding: 0 !important;
  margin-top: 30px;
}

#profile-signature:before {
  content: "";
  display: block;
  width: 50%;
  background: var(--white-min);
  height: 1px;
  margin: 0 auto 30px;
}

#profile-signature ul {
  margin: 0;
  padding: 0 1em !important;
}

/* Настройки профиля
-------------------------------------------------------------*/
#profile .container {
  padding-left: 16.6em;
  margin-top: 0;
}

#profilenav {
  float: left;
  width: 13em;
  margin-left: -15.45em;
  display: inline;
  letter-spacing: 0.4px;
}

#profilenav ul {
  margin: 0 0 1em 0;
  padding: 0;
}

#profilenav li {
  padding-bottom: 0.8em;
}

#profilenav h2 {
  background: transparent;
  padding: 0;
  margin: 0 0 10px 0;
  text-align: left;
}

#profilenav h2 span {
  padding: 0;
  position: relative;
}

#setmods dd {
  padding: 0;
}

#setmods dl {
  padding: 0 0 0 8em;
  margin: 0;
}

#setmods dt {
  float: left;
  display: inline;
  width: 14em;
  margin-left: -16em;
  font-weight: 400;
}

#setmods dd {
  display: block;
}

.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em;
}

#profilenav h2 span {
  background-color: transparent;
  color: var(--text-color);
  text-transform: lowercase;
  font-weight: 400 !important;
  font-size: 1em;
  letter-spacing: 0.6px;
}

#profilenav li {
  font-weight: 400 !important;
  text-transform: lowercase;
}

.fs-box label,
.fs-box .label,
p.infofield {
  font-size: 1em;
  letter-spacing: 0.1px;
  font-weight: 400 !important;
  text-transform: lowercase;
  padding: 0px 0 1px;
  box-sizing: border-box;
  line-height: 1;
}

div#setmods {
  padding: 0 0 0.8em 0;
}

.punbb .formal span.input {
  text-transform: lowercase;
}

/* Меню модератора
-------------------------------------------------------------*/
#pun-multimove .modmenu .container {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

#pun-multimove input#messages-selector {
  margin-right: 5px;
}

.punbb .modmenu strong {
  height: 2em;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 400 !important;
  font-family: var(--helvetica-regular);
  text-transform: lowercase;
  margin-right: 5px !important;
}

.punbb .modmenu .container strong {
  float: left;
}

.punbb .modmenu a {
  height: auto;
  line-height: 1;
}

.punbb .modmenu input {
  margin-left: 1em;
}

#topic-modmenu {
  margin-top: 0;
}

#pun-help .formal .info-box h3.legend {
  padding-bottom: 0;
  margin-bottom: 0.8em;
}

#pun-help .formal .info-box h3.legend span {
  display: block;
  padding-bottom: 0.6em;
  font-size: 1em;
}

#pun-help .formal p,
#pun-help .formal dd {
  margin-bottom: 1em;
}

#pun-help .formal ul,
#pun-help .formal dl {
  padding: 0 0 0 1em;
}

#pun-help .formal li {
  padding: 0;
  line-height: 130%;
}

#pun-help .formal li * {
  vertical-align: text-top;
}

#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

#pun-help .formal .parsedmsg,
#pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
}

/* Админка
-------------------------------------------------------------*/
#pun-adnav {
  margin-left: -16em !important;
}

#pun-adnav ul {
  padding: 0 !important;
  margin: 0;
}

.ace_editor {
  overflow: hidden !important;
}

#pun-admain legend {
  margin: 0 !important;
  font-size: 1em !important;
}

#pun-admain .adlabel {
  width: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  margin-left: 0 !important;
}

#pun-admain fieldset .handle,
#pun-admain fieldset p {
  margin-bottom: 5px !important;
  padding: 0.6em !important;
}

#pun-admain p.adsubmitfield .adlabel {
  padding-bottom: 0 !important;
}

#pun-admain span.adsubmit {
  position: relative !important;
  left: 0 !important;
  width: 16em !important;
  top: 0.5em !important;
}

#pun-admain .adinput {
  padding: 0 !important;
}

#pun-admin_index #pun-admain .adformal div ul,
#pun-admin_index #pun-admain div p {
  padding: 0.6em !important;
}

.adminmain {
  margin-bottom: 0 !important;
}

.ace_search {
  background-color: var(--button-color) !important;
}

#pun-admain2 fieldset .subforums {
  margin-left: 0 !important;
}

/* Ссылки и переходы
-------------------------------------------------------------*/
a,
#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4,
.punbb .user-avatar .avatar-image,
li.pa-avatar.item2 img,
#profile-left #pa-avatar img,
#pun-ulinks,
input.button,
.bookmark,
.pa-respect .fld-name:before,
.header-text-title no:after,
#profile-left li#pa-edit,
#pun-index .main .tcl h3,
.pa-posts,
.pa-respect,
.punbb .quote-box cite,
a.qc-post-link:before,
#pun-navlinks a:after,
.punbb .post-links li,
#pun-index div.container tbody.hasicon tr,
.submitfield input#sub4,
#pun-profile p.inputfield a,
#pun-profile p.datafield a,
#pun-index .main .user-avatar,
#pun-index .main .user-avatar .avatar-image,
span.num_msg,
#Go_Top:before,
#Go_Bottom:before {
  text-decoration: none !important;
  transition: all 0.4s ease !important;
  -webkit-transition: all 0.4s ease !important;
  -moz-transition: all 0.4s ease !important;
  -o-transition: all 0.4s ease !important;
}

/* Заголовки
-------------------------------------------------------------*/
#pun-main h1,
#pun-main h2,
#pun-debug h2 {
  padding: 0.5em 0;
}

/* Формы и кнопки
-------------------------------------------------------------*/
.punbb .formsubmit {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: lowercase;
  padding: 0;
  margin: 0;
  text-align: center;
}

.punbb .formsubmit input {
  cursor: pointer;
}

.punbb .formsubmit input,
.punbb .formsubmit a,
.punbb .formsubmit span {
  margin: 0 20px 8px 0 !important;
}

input.button:last-of-type,
.punbb .formsubmit input:last-of-type,
.punbb .formsubmit a:last-of-type,
.punbb .formsubmit span:last-of-type {
  margin: 0 0 8px 0 !important;
}

#login .formsubmit input:last-of-type {
  margin: 0 20px 8px 0 !important;
}

.punbb .formsubmit a,
.punbb .formsubmit span {
  margin: 0 0.6em 0 0;
}

#profile .formsubmit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 1em 0 0 0;
  text-align: center;
}

#form-buttons table {
  width: 100% !important;
}

input.button,
button.sml {
  cursor: pointer;
  margin: 0 20px 8px 0 !important;
}

#pun-multimove input.button {
  margin: 0 0 0 20px !important;
}

form#register fieldset {
  padding: 0;
  margin: 0 0 1em 0;
}

/* Всплывающие уведомления: новое лс и проч.
 -------------------------------------------------------------*/
.jGrowl {
  font-size: 1em !important;
}

.jGrowl .messag_theme {
  font-family: arial !important;
  text-transform: lowercase !important;
  box-shadow: none !important;
}

.jGrowl-notification {
  height: auto !important;
  text-align: center !important;
  border-radius: 0 !important;
}

#closet {
  border-radius: 0 !important;
  text-transform: lowercase !important;
}

/* Баббл новых лс
-------------------------------------------------------------*/
span.num_msg {
  box-sizing: border-box;
  line-height: 1;
  letter-spacing: 0;
}

/* Скроллбар
-------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 7px;
  height: 0;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  background-color: transparent;
  background: transparent;
}

textarea::-webkit-scrollbar,
#tags .container::-webkit-scrollbar,
.scrollbox::-webkit-scrollbar,
.hvStickerPackModalContent::-webkit-scrollbar,
#pun-index td .tclcon p::-webkit-scrollbar,
.banners::-webkit-scrollbar {
  width: 3px !important;
  height: 0;
}

/* Панель в форме ответа
 -------------------------------------------------------------*/
.punbb .formal textarea {
  width: 99%;
}

#form-buttons table {
  height: 26px;
}

#font-area,
#size-area,
#color-area,
#table-area,
#image-area,
#imageup-area,
#imageattach-area,
#keyboard-area,
#video-area,
#addition-area,
#smilies-area,
#video-area,
#spoiler-area {
  padding: 7px !important;
  overflow-y: auto;
  max-height: 250px;
}

#tags .container {
  top: auto !important;
  margin-top: 0;
}

div#color-area,
div#table-area,
div#image-area,
div#imageup-area,
div#imageattach-area,
div#keyboard-area,
div#video-area,
div#addition-area,
div#smilies-area,
div#video-area,
div#spoiler-area {
  right: 0 !important;
}

div#color-area table {
  border-spacing: 3px 0;
}

#addition-area div,
#font-area div,
#size-area div {
  padding: 4px 5px 5px 5px !important;
  height: auto !important;
}

#font-area span,
#size-area span {
  height: auto !important;
}

#keyboard-span input {
  cursor: pointer;
  margin: 1px !important;
  height: 29px !important;
  min-width: 30px !important;
  line-height: 100% !important;
}

#smilies-area img {
  margin-right: 4px !important;
  margin-bottom: 2px !important;
}

.uploadQueueItem {
  padding: 5px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#upload-button-container input[type=button],
#imageupload-left input[type=button],
#selected-image-width,
#selected-thumb-width,
#imageupload-left select {
  cursor: pointer !important;
}

#uploaded-images img {
  cursor: pointer !important;
  width: auto !important;
  height: 50px !important;
  max-width: 100px;
  margin-right: 4px !important;
}

#video-area-tinp,
#image-area-tinp {
  margin: 0.8em 0 !important;
  border: none !important;
}

div#video-area-actions {
  text-align: right !important;
  line-height: 2em !important;
}

#form-buttons td {
  padding: 0;
  background-repeat: no-repeat;
  background-color: transparent !important;
  background-image: none !important;
  display: flex;
  font-family: var(--mso) !important;
  font-style: normal !important;
  line-height: 1 !important;
  width: 100%;
  height: 26px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-variant: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#form-buttons tr {
  text-align: center;
  display: flex;
  flex-wrap: nowrap;
}

#form-buttons td img {
  position: absolute;
  z-index: 2;
  margin: 0;
  width: auto !important;
  opacity: 0 !important;
}

#form-buttons #button-font:before {
  content: "\e264";
  position: absolute;
}

#form-buttons #button-transL:before {
  content: "\e8e2";
  position: absolute;
}

#form-buttons #button-size:before {
  content: "\eae2";
  position: absolute;
}

#form-buttons #button-bold:before {
  content: "\e238";
  position: absolute;
}

#form-buttons #button-italic:before {
  content: "\e23f";
  position: absolute;
}

#form-buttons #button-underline:before {
  content: "\e249";
  position: absolute;
}

#form-buttons #button-strike:before {
  content: "\e257";
  position: absolute;
}

#form-buttons #button-left:before {
  content: "\e236";
  position: absolute;
}

#form-buttons #button-center:before {
  content: "\e234";
  position: absolute;
}

#form-buttons #button-right:before {
  content: "\e237";
  position: absolute;
}

#form-buttons #button-justify:before {
  content: "\e235";
  position: absolute;
}

#form-buttons #button-spoiler:before {
  content: "\e875";
  position: absolute;
}

#form-buttons #button-quote:before {
  content: "\e625";
  position: absolute;
}

#form-buttons #button-code:before {
  content: "\ead1";
  position: absolute;
}

#form-buttons #button-color:before {
  content: "\e40a";
  position: absolute;
}

#form-buttons #button-smile:before {
  content: "\e813";
  position: absolute;
}

#form-buttons #button-sticker:before {
  content: "\e87d";
  position: absolute;
}

#form-buttons #button-link:before {
  content: "\e157";
  position: absolute;
}

#form-buttons #button-image:before {
  content: "\e412";
  position: absolute;
}

#form-buttons #button-image2:before {
  content: "\e3f4";
  position: absolute;
}

#form-buttons #button-video:before {
  content: "\e1c4";
  position: absolute;
}

#form-buttons #button-hide:before {
  content: "\e898";
  position: absolute;
}

#form-buttons #button-table:before {
  content: "\f088";
  position: absolute;
}

#form-buttons #button-keyboard:before {
  content: "\f028";
  position: absolute;
}

#form-buttons #button-addition:before {
  content: "\e145";
  position: absolute;
}

#form-buttons #button-indent:before {
  content: "\e23e";
  position: absolute;
}

#form-buttons #button-html:before {
  content: "\ef54";
  position: absolute;
}

#form-buttons #floatbut:before {
  content: "\e949";
  position: absolute;
}

#form-buttons #button-mask:before {
  content: "\e853";
  position: absolute;
}

#form-buttons #button-ChangeСase:before {
  content: "\e262";
  position: absolute;
}

#form-buttons #button-darkcover:before {
  content: "\e51c";
  position: absolute;
}

img.vibor {
  filter: invert(1);
  margin: 0 10px;
}

#button-image > img {
  position: relative;
  z-index: 2;
}

#button-image > center {
  opacity: 0;
  visibility: hidden;
}

#button-image:hover > center {
  opacity: 1;
  visibility: visible;
}

#float {
  width: auto;
  padding: 8px;
  position: absolute;
  top: 37px;
  left: 347px;
  z-index: 20;
  display: none;
}

#float:last-child img {
  margin: 0 5px !important;
  filter: invert(1);
}

/* Репутация
 -------------------------------------------------------------*/
form#rep_form .tc2,
form#rep_form .tc3 {
  width: 100% !important;
}

textarea#reputationText {
  width: 100% !important;
}

#pun-report .inner,
#pun-reputation .inner,
#pun-admin-award-form .inner {
  padding: 20px !important;
  box-sizing: border-box;
  border-radius: 0;
}

#pun-report .inner .container,
#pun-reputation .inner .container,
#pun-admin-award-form .inner .container {
  padding: 0 !important;
}

#pun-respect td:last-child:first-child,
#pun-positive td:last-child:first-child {
  width: 100% !important;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#pun-respect .tcl,
#pun-positive .tcl {
  width: calc(var(--body-width) * 0.2) !important;
  text-align: left;
}

#pun-respect .tc2,
#pun-positive .tc2 {
  width: calc(var(--body-width) * 0.05) !important;
  text-align: center;
}

#pun-respect .tc3,
#pun-positive .tc3 {
  width: calc(var(--body-width) * 0.25) !important;
  text-align: center;
  line-height: 1;
}

#pun-respect .tcr,
#pun-positive .tcr {
  width: calc(var(--body-width) * 0.25) !important;
  text-align: right;
  text-transform: lowercase;
}

.removeReputation {
  background: transparent !important;
  float: none !important;
  height: 12px !important;
  display: inline !important;
}

div.post-rating p {
  padding: 0 !important;
}

#pun-report .inner,
#pun-reputation .inner,
#pun-admin-award-form .inner {
  background: var(--pun-color) !important;
  box-shadow: 0 0 0 1px var(--border-color) !important;
}

div.post-rating,
div.post-vote,
div.post-vote a,
div.post-rating a,
form#rep_form .tcl strong {
  font-weight: 400 !important;
}

.removeReputation:before {
  content: "\e5cd";
  font-family: var(--mso);
  font-size: 0.9em !important;
  font-weight: 300 !important;
}

.edit-reputation {
  border-bottom: 1px dashed var(--body-color) !important;
}

/* Закладки
 -------------------------------------------------------------*/
#MyBookmarks {
  padding: 20px;
  box-sizing: border-box;
}

#MyBookmarks .container {
  margin-top: 20px;
  line-height: 150% !important;
}

input#reputationButtonSend {
  margin: 0 0 8px 0 !important;
}

/* Кнопки вверх/вниз
-------------------------------------------------------------*/
#Go_Top,
#Go_Bottom {
  position: fixed;
  cursor: pointer;
  z-index: 999;
}

/* Смена имиджа маской
-------------------------------------------------------------*/
#mask_dialog .inner {
  background: var(--pun-color) !important;
  box-shadow: none !important;
  max-height: 95% !important;
  border-radius: 0;
}

.hv-preview-block {
  min-width: 120px;
  margin-right: 10px !important;
}

.hv-form-block {
  margin-right: 10px !important;
  margin-bottom: 10px !important;
}

#mask_signature {
  margin: 0;
}

/* Баннеры в футере
-------------------------------------------------------------*/
.banners a {
  opacity: 0.6;
  filter: grayscale(100%);
  mix-blend-mode: luminosity;
  margin: 2px;
}

.banners a:hover {
  filter: none;
  mix-blend-mode: normal;
  opacity: 0.9;
}

/* Дополнительно
 -------------------------------------------------------------*/
#tooltip,
.tipsy-inner {
  border-radius: 0 !important;
  padding: 5px 6px !important;
  font-family: var(--helvetica-regular) !important;
  text-transform: uppercase !important;
  font-size: 0.6em !important;
  letter-spacing: 0.4px !important;
  font-weight: 400 !important;
}

.jGrowl-notification,
.jGrowl-closer,
.notification-spoiler,
.jGrowl-notification a,
.jGrowl-notification em.guest-link {
  font-size: 11px !important;
}

#uploaded-count-block {
  padding: 0.5em 0 !important;
}

table#filetable td {
  padding: 7px 0;
}

.submitend {
  margin-top: 10px;
}

@media screen and (max-device-width: 768px) {
  #Go_Top,
  #Go_Bottom {
    display: none !important;
  }
}