/*************************************************************
 - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1666698184.css);
  @import url('https://fonts.googleapis.com/css2?family=Rubik: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');
  @import url('https://fonts.googleapis.com/css2?family=Raleway: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://forumstatic.ru/files/0016/f1/95/90664.css);
  
* {
  text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {
    --gray: #a3a1a1;
    --black: #000000;
    --dblue: #0d3d4d;
    --lblue: #95a0a5;
    --jblue: #7a9db2;
    --jlblue: #658293;
    --red: #5b1010;
    --bbb: solid 3px #000000;
    --bb: solid 2px #000000;
    --gg: solid 3px #a3a1a1;
}

:root .snow {--gray: #d3d3d3; --gg: solid 3px #d3d3d3;}
:root .night {--gray: #7a7a7a; --gg: solid 3px #7a7a7a;}

/* скролл для Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #000 #658293;
}

/* скролл для Chrome/Edge/Safari */
*::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

*::-webkit-scrollbar-track {
  background: #000;
}

*::-webkit-scrollbar-thumb {
  background-color: #658293;
  border: none;
} 
  
/* скрыть rss-atom, убрать Закрыто и Важно, h2 объяву, поделиться */
.punbb .modmenu .container span, .stickytext,.closedatafield, #pun-announcement h2, .topic a.sharelink, td#button-smile, #pun-navlinks .container li#navawards, #pun-status .status-right, li.pa-gifts {display: none !important;}

/* цвета выделения текста */
::selection {background: var(--jlblue);}
::-moz-selection {background: var(--jlblue);}
::-webkit-selection {background: var(--jlblue); color:#fff;}

.post-content hr {opacity: 1 !important; border-color: var(--black);}

.lastedit {display: none;}
abbr {border-bottom: dotted 1px;}

#p46 img, #p61 img, #p62 img, #p39 img, #p58 img, #p59 img, #p44 img, #p43 img, #p42 img {filter: grayscale(1);}

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html, body {margin: 0; padding: 0}

/* A2.2 */
.punbb * {
  margin: 0
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

@supports(-webkit-appearance: none) or (-moz-appearance: none) {
  input[type='checkbox'], input[type='radio'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  }
}

input[type="checkbox"] {
  box-shadow: 0 0 0 1px var(--black) inset;
  padding: 6px;
  cursor: pointer;
  transition: all .3s ease-in-out 0s; 
}

input[type="radio"] {
  box-shadow: 0 0 0 1px var(--black) inset;
  border-radius: 100%;
  padding: 6px;
  cursor: pointer;
  transition: all .3s ease-in-out 0s; 
}

input[type="checkbox"]:checked, input[type="radio"]:checked {
  background: var(--jlblue);
  box-shadow: 0 0 0 2px var(--black) inset;
}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: auto;
  vertical-align: middle
  }

#pun-index thead, #pun-viewforum thead, #pun-online thead, #pun-userlist thead, #pun-searchtopics thead, #pun-respect thead {
  display: none;
}

#pun-index .main .tc2, #pun-index .main .tc3, #pun-index .main .tcmod {
   display: none; 
}

input[type=submit], input[type=button] {
  background: var(--black);
  color: var(--gray);
  outline: none;
  padding: 3px 10px;
  font-size: 12px !important;
  border: var(--bb);
  font-weight: normal;
  text-transform: lowercase;
  transition: all 0.3s linear 0s;
}

input[type=submit]:hover, input[type=button]:hover {
  outline: none;
  color: var(--black);
  background: var(--jlblue);
  transition: all 0.3s linear 0s;
}

input[type=text], input[type=password], .resizable-textarea textarea, .punbb select, textarea#reputationText {
   background: var(--gray); 
   outline: none;
   border: solid 1px var(--black);
}


 /* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
  font-size: 100.01%;
  }

/* A3.2 */
.punbb {
  font: normal 68.75% rubik, verdana, arial, helvetica, sans-serif;
  }

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif
  }

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
  font-size: 1em;
  font-weight: normal;
  }

/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {
  font-size: 1.1em;
  }

/* A3.6 */
.punbb pre {
  font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic
  }

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* A3.10 */
.punbb a {
  text-decoration: none;
  }

/* A3.11 */
.punbb optgroup {
  font-weight: bold;
  }


/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#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.0;
  font-size: 0;
  }

/* A4.2 */
.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.0;
  position:absolute;
  left: -9999px;
  overflow: hidden
  }


/* A5 Basic page layout and borders
-------------------------------------------------------------*/

/* A5.1 */
#pun {
    width: 990px;
    margin: auto;
    margin-top: 80px;
    margin-bottom: 30px;
    box-sizing: border-box;
    position: relative;
}

/* A5.2 */
.punbb {
  float: left;
  width: 100%;
  height: auto;
  margin: 210px 0 100px;
  box-sizing: border-box;
  }

/* A5.3 */
#pun-redirect, #pun-maint {
  margin: 50px 20% 12px 20%;
  width: auto;
  float: none;
  }

/* A5.5 */
.punbb .post {
  margin-top: -25px;
  padding-top: 25px;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

.punbb #pun-category1, .punbb #pun-category2, .punbb #pun-category3, .punbb #pun-category4, .punbb #pun-category5, .punbb #pun-category6, .punbb #pun-category7 {
  display: flex;
  }

#pun-index #pun-main .container {
  border-top: var(--bbb);
  border-bottom: var(--bbb);
  margin-bottom: 5px;
  }
  
#pun-index #pun-main .container:last-child {
   border-bottom: none; 
}

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }



/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-align:justify;
  }

/* B1.2 */
.punbb .post-sig dt {
  display: block;
  border-top:  var(--bb);
  width: 250px;
  margin: 5px auto 15px;
  opacity: 40%;
  }

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  }

/* B1.4 */
.punbb .post-content img {
  vertical-align: text-bottom
  }

/* B1.5 */
.punbb .post-content img.postimg {
  vertical-align: middle;
  }

/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {
  width: 100%;
  overflow: hidden;
  }

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 0.5em 0.7em 0.7em 0.7em;
  padding: 0.7em;
  border: var(--bb);
  }
  
.punbb .post-content .quote-box p {
   padding: 0;
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
  display: block;
  padding: 5px;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  margin-bottom: 5px;
  background: var(--black);
  color: var(--gray);
  }
  
.punbb .code-box strong.legend a {color: var(--jblue) !important;}
.punbb .code-box strong.legend a:hover {color: var(--lblue) !important;}
  
.post-content .spoiler-box > div {
  background: url(https://forumstatic.ru/files/0015/1b/9c/60771.svg) no-repeat left center !important;
  background-size: 11px !important;
  }

.post-content .spoiler-box > div.visible {
  background-image: url('https://forumstatic.ru/files/0015/1b/9c/35872.svg') !important;
  background-size: 11px !important;
  }

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border-style: solid;
  border-width: 1px;
  margin: 0 0 1.1em 0;
  }

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }


/* B3 Pagination and posting links
-------------------------------------------------------------*/

/* B3.1 */

.linkst, .linksb {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 1em;
  line-height: 2;
  box-sizing: border-box;
  }


.linksb {
  display: block;
  width: 100%;
  padding: 0 1em;
  clear: both;
  line-height: 2;
  box-sizing: border-box;
  }
  
/* B3.2 */
.multipage {
  margin-bottom: 3em;
  }

/* B3.3 */
.linkst .pagelink {
  font-size: 12px;
  }

/* B3.4 */
.linkst .postlink {
  float: right;
  font-weight: bold;
  font-size: 12px;
  }

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1em 0.5em 1em;
  font-size: 1.1em;
  }

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

/* B3.8 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }
  
.postlink.long {width: auto !important;} 

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1.7em 2.3em 1.1em 2.3em;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 1.7em;
  margin: 1em 0 0 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.6em 0 0
  }

/* C1.4 */
.punbb fieldset {
  border: none;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  display: none;
  }
  
#pun-profile fieldset legend {
  display: block;  
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em
  }

/* C1.6 */
.punbb fieldset legend span {
  padding: 0 5px;
  margin: 0 0 0 -15px;
  }

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

/* C1.10 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.11 */
.punbb .inline .infofield {
  clear:both
  }

/* C1.12 */
.punbb .datafield br {
  display: none
  }

/* C1.13 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* C1.14 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.15 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.16 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }

/* C1.17 */
.punbb .hashelp {
  position: relative;
  }

/* C1.18 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* c1.19 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* C1.20 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.21 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }


/* C2 Table layout
-------------------------------------------------------------*/

#pun-index tbody.hasicon tr {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 55%;
  }
  
.punbb tbody.hasicon td.tcl {padding-left: 2em;}
#pun-index tbody.hasicon td.tcl {padding-left: 1em;}

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  overflow-wrap: anywhere;
  }

/* C2.3 */
.punbb .main .tcr {
  overflow: hidden;
  text-align: left;
  width: 30%;
  line-height: 20px;
  }
  
a.lastpost-link {
  text-transform: uppercase;
  font-weight: bold;
  }
  
.punbb .user-avatar {  
height: 36px !important;
    width: 36px !important;
    border: var(--bb) !important;
    padding: 2px !important;
  }

#pun-index .user-avatar {
  float: right !important;
  margin: 0 0 0 10px !important;
  }

.punbb .user-avatar .avatar-image {
  border-radius: 0 !important;
  filter: grayscale(1);
  opacity: 0.5 !important;
  transition: all 0.3s linear 0s;
  }

.punbb .user-avatar .avatar-image:hover {
  opacity: 1 !important;
  filter: grayscale(0);
  transition: all 0.3s linear 0s;
  }

.punbb .user-avatar .isonline {
  border-radius: 0 !important;
  background: var(--jblue) !important;
  animation: blinkColor 2s linear infinite !important;
  -moz-animation: blinkColor 2s linear infinite !important;
  -webkit-animation: blinkColor 2s linear infinite !important;
  top: -3px !important;
  right: -3px !important;
  }

/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
  width: 40%
  }

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
  }

/* C2.6 */
#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

/* C2.8 */
#pun-index .tcl h3 {
  font-family: Raleway;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0;
  }

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }

/* C2.11 */
.punbb .main td {
  padding: 0.8em 1em;
  border: none !important;
  }

/* C2.12 */
.punbb .main th {
  padding: 0.4em 1em 0.4em 1em;
  }

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0
  }

/* C2.15 */
.punbb div.icon {
  line-height: 0.0;
  margin-top: 0.1em;
  }

/* C2.16 */
.punbb  table div.icon {
  position: absolute;
  margin-left: -18px;
  }

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  margin-top: -1px;
  }


/* C3.3 */
.punbb .post h3 span {
  padding: 2px 5px;
  display: block;
  background: var(--black);
  color: var(--gray);
  }

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  color: var(--gray);
  }
  
.punbb .post h3 a.permalink, .punbb .post h3 span a {
  color: var(--gray) !important;
}

.punbb .post h3 a.permalink:hover, .punbb .post h3 span a:hover {
  color: var(--jlblue) !important;
}

/* C3.5 */
.punbb .post .post-author {
  float: left;
  width: 220px;
  margin: 10px 0;
  overflow: hidden;
  position: relative;
  }

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 7px 10px 0;
  width: 220px;
  line-height: 140%;
  border: var(--bb);
  background: var(--black);
  color: var(--gray);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  }

/* C3.7 */
.pa-author {
  width: 190px;
  padding-bottom: 3px !important;
  font-size: 16px;
  font-family: 'Raleway';
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  }

/* C3.8 */
.pa-author a {color: var(--lblue) !important; text-shadow: 1px 1px var(--black);}
.pa-author a:hover {color: var(--gray) !important;}

.pa-avatar {width: 190px; text-align: center;}
.pa-avatar img {border: var(--gg) !important;
    max-width: 180px;
    max-height: 180px;
}

/* C3.9 */
li.pa-title {
  width: 190px;
  font-size: 10px;
  text-align: left;
  padding-bottom: 3px;
  }

li.pa-online {
  padding-top: 5px;
  width: 190px;
  }
  
li.pa-online strong {
  font-size: 0;
  width: 120px;
  height: 2px;
  margin: 0 auto;
  display: block;
  animation: blinkColor 3s linear infinite;
  -moz-animation: blinkColor 3s linear infinite;
  -webkit-animation: blinkColor 3s linear infinite;
  background: var(--jblue);
  z-index: 100;
}

.pa-fld1 .fld-name {display: none;}

/* C3.11 */
.punbb .post-body {
  margin-left: 220px;
  padding: 0 0 1px 0;
  }

/* C3.12 */
.punbb .post-box {
  padding: 0.95em 2em;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  }

/* C3.15 */
.punbb .post-links ul {
  padding: 0 1em 0 0;
  height: 2em;
  line-height: 2em;
  margin-left: -19em;
  background: transparent;
  text-align: right;
  }

/* C3.16 */
.punbb .post-links li {
  display: inline;
  padding-left: 1em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }
  
.pa-reg {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.pa-posts, .pa-respect, .pa-fld4, .pa-fld3 {
  text-align: center;
  font-size: 10px;
  margin: 5px 0;
  display: flex;
  gap: 5px;
  align-items: center;
}
  
.post .post-author .pa-posts span, .post .post-author .pa-respect .fld-name a, 
.isguest .post-author .pa-respect .fld-name, .post-author li.pa-reg span, .post-author .pa-fld4 .fld-name, .post-author .pa-fld5 .fld-name {
  display: flex;
  position: relative;
  font-size: 0;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  padding: 2px 0;
  text-align: center;
}

.post-author .pa-posts span:before, .post-author .pa-respect .fld-name a:before, .isguest .post-author .pa-respect .fld-name:before, .post-author li.pa-reg span:before, .post-author .pa-fld4 .fld-name:before, .post-author .pa-fld5 .fld-name:before {
 content: "";   
 position: absolute;
 width: 10px;
 height: 10px;
 display: flex;
 justify-content: center;
 align-items: center;
 left: 0;
 top: 0;
 pointer-events: none;
 font-family: FontAwesome;
 font-size: 11px;
 color: var(--gray);
 transition: all 0.3s linear 0s; 
}

.post-author .pa-respect .fld-name a:hover:before {
  color: var(--jlblue);
  outline: none;
  transition: all 0.3s linear 0s;    
}

.post-author li.pa-posts span:before {content: "\f075";}
.post-author li.pa-respect .fld-name a:before {content: "\f005";}
.isguest .post-author li.pa-respect .fld-name:before {content: "\f005";}
.post-author li.pa-fld4 .fld-name:before {content: "\f044";}
.post-author li.pa-fld5 .fld-name:before {content: "\f51e";}
.post-author li.pa-reg span:before {content: "\f234";}


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
  padding: 0.5em 1em;
  text-align: right;
  }

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
  height: 1.8em;
  line-height: 1.8em;
  }

/* C4.3 */
.punbb .modmenu .container strong {
  float: left;
  }

/* C4.4 */
.punbb .modmenu input {
  margin-left: 1em;
  }


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* C6.2 */
#profilenav {
  float: left;
  width: 14em;
  margin-left: -16.3em;
  display: inline;
  }

/* C6.3 */
#profilenav li {
  padding: 5px;
  margin: 5px 0;
  background: var(--black);  
  text-align: center;
  }

#profilenav li a {color: var(--gray) !important;}
#profilenav li a:hover {color: var(--jblue) !important;}

/* C6.4 */
#viewprofile ul, #profilenav ul {
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

/* C6.5 */
#viewprofile h2, #profilenav h2 {
  background: transparent;
  border: none;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 16em;
  margin-bottom: 0.2em;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.5em 1em;
  font-weight: bold;
  }
  
#viewprofile tbody tr {
    display: flex;
    align-items: stretch;
}
  
#profile-left {
    width: 30%;
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: var(--black);
    color: var(--gray);
    padding-bottom: 10px !important;
}

#viewprofile li#pa-edit {
    background: var(--gray);
    border: var(--bb);
}

#profile-right {
    width: 70%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 10px 0 0 10px;
}

#viewprofile #profile-name strong {
    font-family: raleway;
    font-size: 18px;
    font-weight: 700 !important;
    text-transform: uppercase;
}

#viewprofile li#pa-avatar img {
    border: var(--bb) !important;
    padding: 3px;
}

#profile-signature ul {
    border-top: var(--bb) !important;
}

.punbb #profile-signature .sigimage {
    max-width: 100% !important;
}


/*C6.9 */
#setmods dt {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 0.8em 1em;
  font-weight: bold;
  display: inline;
  }

/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
  display: block;
  padding: 0.5em 1em;
  font-weight: 400 !important;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border-bottom: none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  border-top: none;
  }

/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
  display: none;
  }

/* D1.2 */
#pun-title h1 {
  display : block;
  height : 40px;
  padding: 2em 1em 0 1em;
  }

/* D1.3 */
#pun-title .container {
  border-style: none solid none solid;
  }

/* D1.4 */
#pun-title h1 span  {
  font-size: 1.5em;
  }

#pun-title table {
        border: none;
        height: 40px;
        width: 100%;
}

#pun-title td.title-logo-tdl {
        border: none;
        width: 100%;
}

#pun-title td.title-logo-tdr {
        border: none;
        width: 468px;
        vertical-align: top;
        padding-top: 2px;
}

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline
  }

/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;
  }

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
  }

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em
  }

/* D3 Forum navigation
-------------------------------------------------------------*/

/* D3.1 */
#pun-navlinks, #pun-navlinks .container {
  margin: 0;
  display: flex;
  width: 990px;
  justify-content: flex-start;
  gap: 15px;
  height: 30px;
  align-items: center;
  background: var(--black);
  }


/* D.3 */
#pun-navlinks li {
text-transform: uppercase;
    font-family: Raleway;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    height: 30px;
    display: flex;
    align-items: center;
  }
  
#pun-navlinks a {
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 3px;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
  margin-top: 0;
  }

/* D4.2 */
#pun-ulinks .container {
width: 990px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 4px;
    box-sizing: border-box;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  text-transform: uppercase;
  }

/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {
  border-left-style: none;
  border-left-width: 0;
  padding-left: 0
  }

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status, #pun-status .container {
  border-bottom: none;
  margin-bottom: 0;
  position: absolute;
  top: 80px;
  left: 11px;
  }

/* D5.2 */
#pun-status .container {
  color: var(--gray);
  line-height: 1.6;
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 0fr 1fr;
  align-items: center;
  justify-items: start;
  column-gap: 10px;
  }
  
span.status_userava {
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 5;
    grid-column-end: 2;
}
  
#pun-status .status-right a, #pun-status span a {
   color: var(--gray) !important; 
   transition: all 0.3s linear 0s;
}

#pun-status .status-right a:hover, #pun-status span a:hover {
   color: var(--jlblue) !important; 
   transition: all 0.3s linear 0s;
}


/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

/* D5.4 */
#pun-crumbs1 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 0;
  }

/* D5.5 */
#pun-crumbs1 p.container {
  border-top: none;
  padding: 1em 1em 0.8em 1em;
  font-size: 1.1em;
  text-align: center;
  text-transform: uppercase;
  }

/* D5.6 */
#pun-break1 {
  display: none;
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border-style: none none solid none;
  border-width: 0 0 1px 0;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: block;
  padding: 1em 0 0.8em 0;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  }

/* D6.3 */
#pun-announcement .container {
  padding: 4.3em 1em 1em 1em;
  }

/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats {
  display: flex;
  padding-bottom: 10px;
  width: auto;
}

/* D7.2 */
.ststitems {
  display: flex;
  text-transform: lowercase;
  justify-content: space-between;
  border-top: 1px solid var(--text4);
  border-bottom: 1px solid var(--text4);
  color: var(--text5);
  font-size: 10px
}

.ststitems li {
  flex: auto;
  text-align: center;
  border-left: 1px solid var(--text4);
  padding: 5px 0;
}

.ststitems li:first-child {
  border-left: none
}

#pun-stats h2 {
    display: flex;
    flex-wrap: wrap;
    width: 200px;
    height: 30px;
    justify-content: space-around;
    position: absolute;
    box-sizing: border-box;
    align-items: center;
}


#pun-stats h2 span {
    font-family: 'Raleway';
    font-size: 12px;
    font-weight: 800;
    color: var(--lblue);
    text-align: center;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    width: auto;
    writing-mode: unset;
}

.stat {
   display: flex;
    width: 790px;
    height: 30px;
    gap: 10px;
    background: var(--black);
    color: var(--gray);
    align-items: center;
    box-sizing: border-box;
    justify-content: space-around;
}

#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
  line-height: 150%;
  box-sizing: border-box;
  text-align: center;
  font-size: 12px;
  text-transform: lowercase;
}

#pun-stats li.item4 a {color: var(--lblue);}
#pun-stats li.item4 a:hover {color: var(--dblue);}
  
#pun-stats .statscon {width: 100%;}

#pun-stats .statscon .container {
display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

#pun-stats .statscon .container a {
  font-weight: bold;
}

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  float: left;
  width: 100%;
  padding: 0 10px;
  line-height: 130%;
  box-sizing: border-box;
  }

/* D7.5 */
li#onlinelist div {
  padding: 0.7em 0 0 0;
  }

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
  margin: 0;
  border: none;
  width: 50%;
  position: relative;
  float: left;
  }

/* D8.2 */
#pun-qjump .container {
  border: none;
  background: transparent;
  padding: 0.8em 1em;
  }

/* D8.3 */
#pun-about {
  margin-top: 0;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: center;
  line-height: 150%;
  padding: 0.8em 1em;
  font-size: 9px;
  }

/* D8.5 */
#pun-about p span {
  display:block;
  padding-left: 50%;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
  border-bottom: none;
  font-size: 1.1em;
  text-align: center;
  text-transform: uppercase;
  }

/* D8.8 */
#pun-break4 {
  display: none;
  }


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  font-size: 1.1em;
  }

/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
  margin-bottom: 1em
  }

/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
  padding: 0 0 0 1em
  }

/* D9.5 */
#pun-help .formal li {
  padding: 0;
  line-height: 130%
  }

/* D9.6 */
#pun-help .formal li * {
  vertical-align: text-top
  }

/* D9.7 */
#pun-help .formal dt span {
  font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
  }

/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
  padding-bottom: 0;
  }
  
/* Иконки в форме ответа */ 
.punbb #main-reply {
box-sizing: border-box;
    border: var(--bb);
    outline: none;
    padding: 5px;
    background: var(--gray);
}

.punbb #form-buttons table {width: 100%;}

.punbb #form-buttons tr {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 0 5px;
  width: 100%;
}

#form-buttons td {
  background: none !important;
  position: relative;
  width: 30px;
  height: 30px;
  line-height: unset !important;
}

#form-buttons td:before {
 content: "";   
 position: absolute;
 width: 30px;
 height: 30px;
 display: flex;
 justify-content: center;
 align-items: center;
 left: 0;
 top: 0;
 pointer-events: none;
 font-family: FontAwesome;
 font-size: 18px;
 color: var(--black);
 transition: all 0.3s linear 0s; 
}

#form-buttons td:hover:before {
  color: var(--dblue);
  outline: none;
  transition: all 0.3s linear 0s;    
}

#form-buttons td#button-font:before {content: "\f031";}
#form-buttons td#button-size:before {content: "\f034";}
#form-buttons td#button-bold:before {content: "\f032";}
#form-buttons td#button-italic:before {content: "\f033";}
#form-buttons td#button-underline:before {content: "\f0cd";}
#form-buttons td#button-strike:before {content: "\f0cc";}
#form-buttons td#button-indent:before {content: "\f03c";}
#form-buttons td#button-left:before {content: "\f036";}
#form-buttons td#button-center:before {content: "\f037";}
#form-buttons td#button-right:before {content: "\f038";}
#form-buttons td#floatbut:before {content: "\f1de";}
#form-buttons td#button-link:before {content: "\f0c1";}
#form-buttons td#button-spoiler:before {content: "\f2a8";}
#form-buttons td#button-image:before {content: "\f03e";}
#form-buttons td#button-video:before {content: "\f144";}
#form-buttons td#button-hide:before {content: "\f023";}
#form-buttons td#button-quote:before {content: "\f4ad";}
#form-buttons td#button-code:before {content: "\f121";}
#form-buttons td#button-color:before {content: "\f53f";}
#form-buttons td#button-table:before {content: "\f00b";}
#form-buttons td#button-smile:before {content: "\f118";}
#form-buttons td#button-sticker:before {content: "\f6be";}
#form-buttons td#button-keyboard:before {content: "\f11c";}
#form-buttons td#button-addition:before {content: "\f107";}
#form-buttons td#button-mask:before {content: "\f630";}

#pun-messages td#button-mask {display: none;}

/* всплывающие окна */ 
#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner, #pun-multimove .pun-modal .modal-inner {
  box-shadow: none !important;
  background: var(--gray);
}

#tags .container {background: var(--gray);border: var(--bb); padding: 10px;}



/**---------- МОБИЛЬНЫЙ СТИЛЬ ----------**/

@media screen and (max-width: 540px) { 
    
/**подпись**/
img.sigimage {max-width: 100%;} 
/**окошки видео**/
iframe {width: 100%;}

#pun {
  background: url(https://forumstatic.ru/files/0016/f1/95/11088.jpg) top center no-repeat, 
  url(https://forumstatic.ru/files/0016/f1/95/11088.jpg) bottom center no-repeat;
}

#pun, #html-header, .punbb .main .tcl, .punbb .main .tcr, #pun-stats h2 {width: 100%; margin-top: 0; margin-bottom: 0;} 

.punbb .post {margin-top: 0; padding-top: 0;}

.punbb .post-content .quote-box, .punbb .post-content .code-box { margin: 0 0 1em 0; padding: 0.5em;}
.punbb .post-content p {overflow-wrap: anywhere;}
.punbb .main td {padding: 10px 0;}
.punbb .post-content {overflow: initial !important; height: auto !important;}

#pun_wrap .formal .container, #pun-userlist .usertable .container {padding: 10px 0;}

#pun .post .post-content td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
}

.punbb {
  padding: 0 10px;  
  margin: 250px 0 110px;
}

input[type="text"] {
  width: 100%
}

#pun-viewtopic input[type="text"] {width: auto;}

#pun-index .tcl h3 {font-size: 16px; text-align: right;}

.punbb #pun-category1, .punbb #pun-category2, .punbb #pun-category3, .punbb #pun-category4, .punbb #pun-category5, .punbb #pun-category6, .punbb #pun-category7 {display: initial;}

/**иконки**/

#pun-index div.icon {
    margin: 5px 1px;
}

/**название**/
.name {font-size: 20px; top: 6px; left: 90px;}

/**плеер**/
.audioplay-object {top: 8px !important; left: 60px !important;}
.audioplay-button {height: 20px !important; width: 20px !important;}

/**таблица**/
.tabl {
display: flex;
    flex-direction: column;
    width: 100%;
    top: 35px;
    left: 0;
    gap: 15px;
    height: auto;
    padding: 0;
    align-items: center;
    background: var(--black);
    padding: 10px 0;
    transition: all 0.3s linear 0s;
}

#tab-content-0 div {align-items: flex-start;}

.lefti {
   order: 2; 
   align-items: center;
   display: flex;
   flex-direction: column;
   width: auto;
   height: auto;
}
    
.righti {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.dropbtn, .dmg {border: var(--bw); box-sizing: border-box;}
.dmg {text-align: center;}
.dmg p {padding: 0 5px;}

.ba, .bp {width: 35px; height: 35px;}
.ba img, .bp img {width: 35px;}

.ep {height: 36px;}
.epi div, .ep span {height: 30px;}
.epi div img {height: 30px; width: 100%;}

/**бокс событий**/
.time {display: flex; flex-direction: column-reverse; padding: 5px 0;}
.tabs {width: 100%; display: none;}
.tab-content {
    height: 70px;
    overflow-y: auto;
    text-align: justify;
    padding: 0 10px;
}

label[for="tab-first"], label[for="tab-second"], label[for="tab-third"], label[for="tab-fourth"] {
    position: initial;
}

.tabs label {color: var(--black); margin: 0 15px;}
.tabs label p {font-size: 16px;}

/**бокс очереди**/
.carousel-wrapper {width: 100% !important;}
.kv {font-size: 17px;}

/**оформление кнопок ночного режима**/
#stylelist {
    display: flex;
    flex-direction: row;
    top: 1px;
    right: 1px;
}

.mode {
    width: 30px;
    height: 30px;
    box-sizing: border-box;
}

#pun-index tbody.hasicon tr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  padding: 3px 0;
  border-bottom: var(--bb);
}

#pun-index #pun-main .container {border: none; margin: 0;}

.punbb tbody.hasicon td.tcl {padding: 0 !important;}

.podnav {flex-wrap: wrap;}

#pun-index h2 span, #pun-debug h2 span, #pun-redirect h1 span, #pun-userlist h1 span, #pun-mod h2 span, #pun-search h1 span, #pun-profile h1 span, #pun-searchtopics h1 span, #pun-message h1 span, #pun-viewtopic h1 span, #pun-viewforum h1 span, #pun-viewtopic .main h2 span, #post-form h2 span, #pun-edit h1 span, #pun-modviewforum h1 span, #pun-register h1 span, #pun-login h1 span, #pun-online h1 span, #pun-respect h1 span, #pun-poll h1 span, #pun-post h1 span, #pun-post h2 span, #pun-delete h1 span, #pun-searchposts h1 span, #pun-movetopic h1 span, #pun-vip h1 span, #pun-deletetopic h1 span, #pun-upavatar h1 span, #pun-pages h1 span {
    width: 90%;
    font-size: 14px;
}

#pun-index h2 {padding: 3px 0;}
#pun-index h2 span {writing-mode: initial;}

/**форумная навигация**/
#pun-navlinks, #pun-navlinks .container {
  width: 100%;
  height: 30px;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  margin: 10px 0;
  position: initial;
  background: transparent;
  gap: 0;
}

#pun-navlinks li {
  display: flex;
  padding-right: 0;
  padding-left: 15px;
}

#pun-navlinks a {
  display: flex;
  position: relative;
  font-size: 0;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
}

#pun-navlinks a:before {
  content: "";   
  position: absolute;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 0;
  top: 0;
  pointer-events: none;
  font-family: FontAwesome;
  font-size: 24px;
  color: var(--black);
  transition: all 0.3s linear 0s; 
}

#pun-navlinks span:before {display: none;}

#pun-navlinks li#navindex a:before {content: "\f015";}
#pun-navlinks li#navuserlist a:before {content: "\f2bd";}
#pun-navlinks li#navawards a:before {content: "\f559";}
#pun-navlinks li#navsearch a:before {content: "\f002";}
#pun-navlinks li#navprofile a:before {content: "\f2bb";}
#pun-navlinks li#navpm a:before {content: "\f0e0";}
#pun-navlinks li#navadmin a:before {content: "\f552";}
#pun-navlinks li#navlogout a:before {content: "\f057";}
#pun-navlinks li#navregister a:before {content: "\f234";}
#pun-navlinks li#navlogin a:before {content: "\f058";}
#pun-navlinks li#navpr_1 a:before {content: "\f641";}

/* пользовательские ссылки */
#pun-ulinks {position: initial;}

#pun-ulinks h2 {
  position: static;
  overflow: initial;
  width: 85%;
  height: 15px;
  margin: 0 auto;
  background: var(--black);
  padding: 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pun-ulinks h2 span {
font-size: 10px;
    font-family: 'Rubik';
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    height: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pun-ulinks ul{
    display: none !important;
}

#pun-ulinks:hover ul {
  display: block !important;
  position: absolute;
  background: var(--gray);
  border: var(--bb);
  left: 17%;
  width: 65%;
  transform: translateY(10%);
  animation: ani 1s forwards;
  z-index: 9999;
}

@keyframes ani {
  0% {transform: translateY(10%);}
  100% {transform: translateY(0);}
}

#pun-ulinks li, #pun-ulinks li a {
    text-align: center;
    margin: 5px 0;
    font-size: 12px;
}

#pun-ulinks li {padding: 5px;}

#pun-ulinks li:hover {background: var(--jlblue);}

#pun-ulinks li.item1 {padding-left: 5px;}

#pun-status, #pun-status .container {
    position: initial;
    width: 100%;
    line-height: 1.7;
    align-items: center;
    color: var(--gray);
    justify-items: end;
}

#pun-status {padding: 10px 0;}
#pun-status .container {padding: 5px 10px; background: var(--black); box-sizing: border-box;}

/**статистика**/
#pun-stats {
  display: flex;
  flex-direction: column;
  padding: 0;
}

#pun-stats .container {padding-bottom: 10px;}
#pun-stats h2, #pun-stats h2 span {width: 100%; padding: 0; height: 20px; position: inherit;}

/* иконки статистики */
#pun-stats li {width: auto !important; }

.stat {gap: 0; height: 20px;}

#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

#pun-stats li.item1 span, #pun-stats li.item2 span, #pun-stats li.item3 span , #pun-stats li.item4 span {
  font-size: 0;
  display: block;
  width: 15px;
  height: 15px;
  position: relative;
}

#pun-stats li.item1 span:before, #pun-stats li.item2 span:before, #pun-stats li.item3 span:before, #pun-stats li.item4 span:before {
 content: "";   
 position: absolute;
 width: 15px;
 height: 15px;
 display: flex;
 justify-content: center;
 align-items: center;
 left: 0;
 top: 0;
 pointer-events: none;
 font-family: FontAwesome;
 font-size: 14px;
 color: var(--gray);
 transition: all 0.3s linear 0s;  
}

#pun-stats li.item1 span:before {content: "\f15c";}
#pun-stats li.item2 span:before {content: "\f4ad";}
#pun-stats li.item3 span:before {content: "\f234";}
#pun-stats li.item4 span:before {content: "\f2bd";}

/**футер**/
.fut {
width: 100%;
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    height: 100px;
    bottom: 0;
    left: 0;
    align-items: center;
}

.banneri {
    height: auto;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;}
    
.need {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

/* страница участники */
#pun-userlist .main .tc2, #pun-userlist .user-avatar, #pun-userlist .tc3.relation, #pun-userlist .tc3.num_posts {display: none;}

#pun-userlist .main .tc3 { width: 20% !important;}
#pun-userlist .main .tcl, #pun-userlist .main .tc3 {
    border-bottom: var(--bb) !important;
}

li#onlinelist:last-child {text-align: justify;}

/* страница лс */
#pun-messages .container .user-avatar, #pun-messages li.pa-reg, #pun-messages li.pa-posts {display: none;}
#pun-messages .post-body {width: 100%; border-bottom: var(--bb);}
#pun-messages .post-content p {font-size: 14px;}
#pun-messages .post-box {margin: 0; padding: 10px 0;}
#pun-messages .post-links {width: 100%;}
#pun-messages fieldset {padding: 0 8px;}

#pun-messages div.icon, #pun-messages tr.inew div.icon {width: 5px; height: 5px;}
#pun-messages table div.icon {
    margin-left: 0.2em;
    left: 5px;
    margin-top: 4px;
}

#pun-messages div.icon {background: transparent; border: none;}
#pun-messages tr.inew div.icon {background: var(--red) !important;}

/* страница профиля */
#viewprofile tbody tr { flex-direction: column; }
#profile-left, #profile-right { width: 100% !important; }

#profile-right {
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
}

#viewprofile #profile-right li {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: var(--bb);
}

#viewprofile li span {
    float: initial;
    text-align: center;
    width: auto;
    padding: 3px 10px;
    margin-left: 0;
}

#profile-right li strong {
    padding: 5px !important;
}

#viewprofile li#pa-fld4, #viewprofile li#pa-fld2 span {
    display: none;
}

#viewprofile li#pa-fld1, #viewprofile li#pa-email, #viewprofile li#pa-posts, #pa-register-date, li#pa-fld5, li#pa-fld6 {
    width: 100% !important;
}

/* настройки профиля */
#pun-profile .formal .container {padding: 0;}

#profile .container {
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#profilenav {
    margin: 10px 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    border: var(--bb);
}

#profilenav h2 {
    padding: 5px;
    margin: 0;
    background: var(--black);
    color: var(--gray);
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

#profilenav ul {
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    align-items: center;
    margin: 0;
}

#profilenav li {
    padding: 5px;
    font-weight: bold;
    border: var(--bb);
    margin: 0;
}

#pun-profile .submitfield {padding: 0;}
#pun-profile .submitfield input[type=submit], #pun-profile #update_comments, #pun-profile #del_file {margin: 10px 0;}
#pun-profile #setmods dl {padding: 0; margin: 0;} 
#pun-profile #setmods dt {margin: 0; width: auto; float: none; padding: 0;}
#pun-profile #setmods dd {display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px;}
#pun-profile .formsubmit {padding: 5px; margin: 0 0 10px; display: flex;}


/* страница постов */
#pun-viewtopic .post-box {padding: 7px;}

/* форма быстрого ответа */
#tags .container {
position: relative !important;
    right: 0 !important;
    top: 0 !important;
    margin-bottom: 10px !important;
    background: transparent;
    height: 100px;
    overflow-y: scroll;
    padding: 10px !important;
    width: auto;
}

#form-buttons td#button-smile {display: none;} 
#form-buttons td {border: var(--bb) !important;}
.punbb #form-buttons tr {gap: 10px;}

#pun-viewtopic p.formsubmit, #pun-post p.formsubmit, #pun-edit p.formsubmit {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

#plng {width: 100%; text-align: center;}

/* минипрофиль */
.punbb .post .container {
    margin: 0;
    padding: 4px 0;
}

.punbb .post .post-author {
    float: none;
    width: 100%;
    margin: 0;
}

.punbb .post .post-author ul, .punbb .post .post-author p {
    width: 100%;
    border-radius: 0;
    padding: 0;
    position: relative;
    justify-content: space-evenly;
}

.pa-avatar {
    width: 50px !important;
    display: block;
}

.pa-avatar img {
    border: solid 1px var(--gray) !important;
    width: 100%;
}

li.pa-title {display: none;}
img.post-img-Sp {display: none;}

.punbb .post-body {
    margin: 0;
}

.pa-online {width: 100% !important; padding: 0 !important;}
.pa-online strong {width: 80% !important;}

/* лз */
.pa-fld1 {width: 100%; text-align: center;}
.pa-fld1 .fld-name {position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 22px;
    height: 22px;
    font-size: 0;
    background: url(https://forumstatic.ru/files/001b/a2/0e/82823.svg) no-repeat;
    opacity: 60%;
    filter: invert(1);}
    
.pa-fld1 .fld-name {display: block;}
.pa-fld1 .lz {display: none; border: none;}
.pa-fld1:hover .lz {display: block;}

.lz {width: 98%;}
.ank {text-align: right;}
.ank a {padding: 0;}
.hum {
    width: 100%;
    display: inline-block;
    padding: 5px;
    box-sizing: border-box;
    float: right;
    text-align: right;
}

.pl {top: 0;}

.pa-fld2 {width: 45%; border: none;}
.pa-fld2 a {width: 90%;border-top: var(--bb); text-align: center; font-size: 10px;}
#pun-profile .lz {border: none;}

.night #pun-profile .lz {
    color: var(--black);
    border: none;
    background: transparent;
}

.pa-fld6 {width: 100%;}
.pka {
    position: initial;
    margin-bottom: 5px !important;
    width: 100%;
    border-left: none;
    border-right: none;
    border-top: var(--bw);
}

.pa-posts, .pa-respect, .pa-fld4, .pa-fld3 {display: block;}

/* иконки редактирвоать/цитировать в постах */
.post-links ul {
    padding: 0 !important;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}

.post-links li {
  display: flex !important;
  padding: 0 0 0 5px !important;
}

li.pl-email.email {
  flex-grow: 1;
}

.post-links a {
  display: flex;
  position: relative;
  font-size: 0;
  width: 20px;
  height: 20px;
  margin: 0 5px;
}

.post-links a:before {
 content: "";   
 position: absolute;
 width: 20px;
 height: 20px;
 display: flex;
 justify-content: center;
 align-items: center;
 left: 0;
 top: 0;
 pointer-events: none;
 font-family: FontAwesome;
 font-size: 18px;
 color: var(--gblue);
 transition: all 0.3s linear 0s; 
}

.post-links li.pl-email.profile a:before {content: "\f2bb";}
.post-links li.pl-email.pm a:before {content: "\f0e0";}
.post-links li.pl-email a:before {content: "\f0e0";}
.post-links li.pl-email.email a:before {content: "\40";}
.post-links li.pl-delete a:before {content: "\f2ed";}
.post-links li.pl-edit a:before {content: "\f044";}
.post-links li.pl-quote a:before {content: "\f10e";}
.post-links li.pl-reports a:before {content: "\f024";}

/* список тем */
#pun-viewforum .container .tc2, #pun-viewforum .container .tc3, #pun-viewforum .container .user-avatar, #pun-modviewforum .container .user-avatar, #pun-modviewforum .container .tc2, #pun-modviewforum .container .tc3, #pun-searchtopics .container .user-avatar, #pun-searchtopics .container .tc2, #pun-searchtopics .container .tc3 {display: none;}

#pun-viewforum .container tbody, #pun-modviewforum .container tbody, #pun-searchtopics .container tbody {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#pun-viewforum .container tr, #pun-modviewforum .container tr, #pun-searchtopics .container tr {
    display: flex;
    width: 80%;
    margin: 0 auto;
}

#pun-viewforum .container td.tcl, #pun-modviewforum .container td.tcl, #pun-searchtopics .container td.tcl{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#pun-viewforum .container td.tcr, #pun-modviewforum .container td.tcr, #pun-searchtopics  .container td.tcr {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}

#pun-modviewforum .modmenu .container {
    display: flex;
    gap: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

#pun-modviewforum .linksb, #pun-searchtopics .linksb {
    padding: 0.4em 1em 0.5em 0;
}

/* пейджлинки верх*/
.punbb .linkst {
    display: flex;
    justify-content: space-between;
    float: initial;
    position: unset;
    width: 100%;
    height: auto;
    padding: 5px 0;
}

.linkst .pagelink, .linkst .postlink {
    width: auto;
    position: unset;
}

/* пейджлинки низ */
#pun-viewforum .linksb {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

#pun-viewforum noindex {order: 1;}
.linksb .pagelink {width: auto !important;}

/* модерация тем */
#pun-modviewforum thead .tcl, #pun-modviewforum thead .tc2, #pun-modviewforum thead .tc3, #pun-modviewforum thead .tcr {font-size: 0;}

/* активные users */
#pun-online .container tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: var(--bb);
    width: 100%;
    padding: 10px 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

#pun-online .container .tcl.username {
    text-align: center;
    width: 30%;
}

#pun-online .container .tcl.action, #pun-online .container .tc3{
    width: 35%;
    padding: 0;
    text-align: center;
}


/* админка */
.adminmain {
    padding-left: 0 !important;
}

#pun-adnav {
    display: flex!important;
    flex-direction: column;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

#pun-adnav ul {
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
}

#pun-adnav li {
    padding: 5px !important;
    background: var(--lavender);
    border-radius: 5px;
}

#pun-adnav li.isactive ul.adsubnav {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

#pun-admain fieldset .handle, #pun-admain fieldset p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto !important;
    border: none !important;
    position: static !important;
    margin-bottom: 6px !important;
    padding: 0 0 6px 0 !important;
}

#pun-admain .adlabel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    float: none !important;
    margin: 0 !important;
    position: static;
}

#pun-admain p.adsubmitfield .adlabel {
    padding-bottom: 0 !important;
}

/**биржа**/
.tab {width: auto; float: none;}
.tabcontent {width: auto; padding: 0;}

/**title**/
#tooltip {display: none !important;}

/**внутренние уведомления**/
.jGrowl-notification {z-index: 99999;}
.jGrowl-close {margin: 0 !important;}

/**закладки**/
#BookmCntToggle {position: absolute !important; top: 8px !important; left: 5px !important;}
#BookmCntToggle.default-style {background: var(--gray) !important; height: 20px !important; width: 20px !important; border-left: solid 3px currentColor !important;}

/**кнопки вверх-вниз**/
.go-up, .go-down {
  margin: 0;
  right: 10px;
  width: 25px;
  height: 25px;
  opacity: .2;
}    

.go-up:before, .go-down:before  {
    font-family: "FontAwesome";
    font-size: 25px;
    display: flex;
    justify-content: center;
} 

.go-up:before {content: '\f102';}
.go-down:before {content: '\f103';}

.go-up {bottom: 30px;}
.go-down {bottom: -20px;}  

}  