/*************************************************************
A - SETUP
**************************************************************/

@import url(style_cs.1750924276.css);
@import url(http://forumstatic.ru/files/001a/db/ed/22696.css);
/* Иконический шрифт */
@import url('https://fonts.googleapis.com/css2?family=Material+Icons+Outlined');

html, body {margin: 0; padding: 0;}
.punbb * {margin: 0;}
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {padding: 0; list-style: none;}
.punbb img {border: none;}
.punbb .main table {table-layout: fixed; width: 100%;}
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

 /* A3 Text setup
-------------------------------------------------------------*/

body {font-size: 96%;}
.punbb {font: normal 75% verdana, arial, helvetica, sans-serif;}
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {font: 1em verdana, arial, helvetica, sans-serif;}
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {font-size: 1em; font-weight: normal;}
.punbb h1 span, .punbb h2 span, .punbb legend span {font-size: 1.1em;}
.punbb pre {font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;}
.punbb address, .punbb em {font-style: normal;}
.punbb .post-content em {font-style: italic;}
.punbb .post-content em.bbuline {font-style: normal; text-decoration: underline;}
.punbb a {text-decoration: underline;}
.punbb optgroup {font-weight: bold;}

/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

#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;}
.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
-------------------------------------------------------------*/

#pun {margin: auto; width: 1024px; position: relative; margin: 91px auto 30px auto; padding-top: 3px;}
.punbb {float: auto; width: 1004px; height: auto; margin: 0 11px;} 

.punbb .section, .punbb .main {margin-bottom: 1em;}
.punbb .category, .punbb .post {/* margin-top: 0.4em; */}
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {margin-top: -5px;}
#pun-post .topic {margin-top: 1em;}

.punbb .category h2, #pun-stats h2 {margin: 0 0 10px 17px; width: 968px; height: 28px; background: url(http://forumstatic.ru/files/001a/db/ed/31021.jpg) no-repeat top center; text-align: center;}
.category h2 span, #pun-stats h2 span {color: #37376d; text-shadow: 1px 0px 1px #ccc4c1; font: 20px "fairbold"; letter-spacing: 1px; text-transform: lowercase;}
#pun-announcement.section h2 span {display: none;}

/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

.punbb .post-content {padding: 0; margin: 0; width: 100%; overflow: hidden;}
.punbb .post-sig dt {display: block; /* border-top: 1px dashed #392e435c; */ margin: 5px 0;}
.punbb .post-content p {margin: 0; padding: 0 0 5px 0; line-height: 160%; text-align: justify;}
.punbb .post-content img {vertical-align: text-bottom;}
.punbb .post-content img.postimg {vertical-align: middle;}
.punbb .post-content .blockcode, .punbb .post-content blockquote {width: 100%; overflow: hidden;}
.punbb .post-content .scrollbox {width: 100%; overflow: auto;}
.punbb .post-content .quote-box, .punbb .post-content .code-box {padding: 8px 8px 5px 11px; margin: 1em 5px 0.7em 7px; border-style: none;}
.punbb .quote-box cite, .punbb .code-box strong.legend {display: block; font-weight: bold !important; font-style: normal !important; border-bottom: 1px dashed #251a1a8c !important; padding: 0px 0px 6px 8px; margin-bottom: 5px; letter-spacing: 1px;}

/* B2 Information boxes
-------------------------------------------------------------*/

.punbb .info-box {padding: 1.1em 1.7em 1em 1.7em; border-style: solid; border-width: 1px; margin: 0 0 1.1em 0;}
.punbb .info-box * {padding: 0 0 0.7em 0;}
.punbb #pun-main .info-box .legend {font-size: 1.1em; font-weight: bold;}

/* B3 Pagination and posting links
-------------------------------------------------------------*/

.punbb .linkst {float: left; position: relative; width: 100%; font-size: 1.1em; height: 0;}
.multipage {margin-top: 3em;}
.linkst .pagelink {position: absolute;top: -2.1em; bottom: 20px; left: 1em;width: 24em;}
.linkst .postlink {position: absolute; top: -2.1em; right: 20px; width: 16em; text-align: right; font-weight: bold;}
.punbb .linksb {text-align: right; padding: 0.4em 1em 0.5em 1em; font-size: 1.1em;}
.linksb .pagelink {color: #181738; float: left; width: 24em; text-align: left;}
.linksb .postlink {float: right; width: 16em; font-weight: bold; margin: 0 0 3px 0; padding-right: 11px;}
.subscribelink {clear:both; padding: 0.3em 9px 0.5em 0;}
.main h1 {color: transparent;}


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

.punbb .formal .container {padding: 0 1.3em 1.3em 1em;}
.punbb .formsubmit {padding: 0 0 0 1.7em; margin: 0;}
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {margin: 0 0.6em 0 0;}
.punbb fieldset {border-style: solid; border-width: 1px; padding: 0 18px 0 18px;}
.punbb fieldset legend {padding-top: 15px; margin: 0 0 0 11px; font-size: 1.1em;}
.punbb fieldset legend span {padding: 0; margin: 0;}
.punbb fieldset fieldset {border-style: none; margin: 0; padding: 0 0 8px 0;}
.punbb .fs-box {padding: 1em 0 0.8em 0;}
.punbb .fs-box p, .punbb .fs-box fieldset {padding-bottom: 5px;}
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {float: left; margin-right: 1em;}
.punbb .inline .infofield {clear: both; padding-top: 10px;}
.punbb .datafield br {display: none;}
.punbb .required label, .punbb .datafield span.input {font-weight: bold;}
.punbb .datafield span.input a {font-weight: normal;}
.punbb .areafield span.input, .punbb p.longinput span.input {display: block; padding: 0 12em 0 0; height: 100%; /* For IE */}
.punbb textarea, .punbb .longinput input {width: 64%; margin: 0;}
.punbb .hashelp {position: relative;}
.punbb .helplinks {display: block; position: absolute; top: 1em; right: 0; font-weight: normal; width: 36%;}
.punbb #profile .helplinks {top: 1.5em;}
.punbb .helplinks span {display: block; padding-bottom: 0.2em;}
#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
-------------------------------------------------------------*/

.punbb .main .tcl {text-align: left; width: 55%;}
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {text-align: center; width: 8%; vertical-align: top; padding-top: 15px;}
.punbb .main .tcr {overflow: hidden; text-align: left; width: 25% !important; vertical-align: top; padding-top: 5px;}
#pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {width: 40%;}
#pun-searchtopics .main .tc2 {text-align: left; width: 20%;}
#pun-debug table .tcl {width: 15%; white-space:normal;}
#pun-debug .tcr {width: 90%; white-space: normal;}
.punbb td span.youposted {font-weight: bold; margin-left: -1em; position: absolute;}
.punbb td .modlist {display: none; visibility: hidden; /* padding-top: 0.3em; */}
.punbb .main td {padding: 8px 10px;}
.punbb .main th {padding: 5px 10px 5px 10px;}

.punbb td div.tclcon {padding: 3px 12px 9px 12px;}
.punbb div.icon {float: left;}
#pun-userlist .main .tcl.username {width: 20%;} /* имя */
#pun-userlist .main .tc2.title {width: 30%;} /* статус */
#pun-userlist .main .tc3.relation, #pun-userlist .main .tc3.posts {width: 10%;} /* репа, сообщения */
#pun-userlist .main .tc3.registered, #pun-userlist .main .tc3.last_visit {width: 15%;} /* регистрация, посл.визит */

/* C3 Topics
-------------------------------------------------------------*/

.punbb .post .container {padding-bottom: 1px; border-style: none;}
.punbb .post h3 {background-color: transparent;}
.punbb .post h3 strong {float: right; width: 125px; text-align: right; margin: -5px -7px 0 0;}
.punbb .post .post-author ul, .punbb .post .post-author p {padding: 0 1em 5px 1em; line-height: 140%;}
.punbb .post h3 span {display: block; margin-left: 25em; padding: 0.5em 1em;}
.punbb .post .post-author {float: left; width: 250px; margin-left: -7px;}
li.pa-online {line-height: 0.8em; padding-left: 0.4em;}
.punbb .post-body {margin-left: 23.5em; border-left-style: solid; border-left-width: 1px; padding: 0 0 1px 0;}
.punbb .post-box {padding: 40px 15px 1em 0px; text-align: justify; margin: 0 0 0 -15px;}
.punbb fieldset .post-box {margin-bottom: 0.8em;}
.punbb .post-links {margin-left: 19em; border-left-style: solid; border-left-width: 1px;}
.punbb .post-links ul {padding: 2px 15px 12px 15px; height: 2em; line-height: 2.5em; margin-left: -20em; border-top-style: dashed; border-top-width: 1px; background: transparent; text-align: right;}
.punbb .post-links li {display: inline; padding-left: 1em;}
.pl-email, .pl-website {float: left;}
.punbb .clearer {clear: both; height: 0; font-size: 0;}

/* C5 Message boxes
-------------------------------------------------------------*/

.punbb .info .container {padding: 0.8em 1em;}
.punbb .info .container .backlink {padding-top: 0.8em;}

/* C6 Profile
-------------------------------------------------------------*/

#profile .container {padding-left: 18.6em;}
#profilenav {float: left; text-align: center; width: 14em; padding: 13px 0 0 0; margin: 22px 0 0 -15.3em; display: inline; font-weight: bold; background-color: #e2d9d58a; box-shadow: inset 0 0 3px #efe2de4d; outline: 1px solid #b7a49f75;}
#profilenav li {padding-bottom: 0.8em; font-weight: bold;}
#viewprofile ul, #profilenav ul {border-style: solid; border-width: 1px; padding: 1.3em 18px 0 18px; margin: 0 0 1em 0;}
#viewprofile h2, #profilenav h2 {width: 125px !important; background: transparent; border: none; padding: 0 0 0 0; margin: 0 14px -0.6em 11px;}
#viewprofile h2 span, #profilenav h2 span {padding: 3px 27px; margin: 0 0 0 6px; position: relative; background-color: #e6e0d654; font-weight: 700;}
#viewprofile li, #setmods dl {padding: 0 0 0 16em; margin-bottom: 0.2em;}
#viewprofile li span {float: left; width: 14em; margin-left: -16em; padding: 0.5em 1em; font-weight: bold;}
#setmods dt {float: left; width: 14em; margin-left: -16em; padding: 0.8em 1em; font-weight: bold; display: inline;}
#viewprofile li strong, #viewprofile li div, #setmods dd {display: block; padding: 0.5em 1em; font-weight: normal;}
.punbb img.avatardemo {float: right; margin: 0 0 0.8em 1.8em;}

/* C7 User list
-------------------------------------------------------------*/

#pun-userlist .formal, #pun-userlist .formal .container {border-bottom: none; margin-bottom: 0;}
#pun-userlist .usertable .container {padding: 10px 0 20px 30px; border-top: none;}
#pun-userlist .usertable table {border-style: solid; border-width: 1px;}


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

#pun-title {margin: 0; border-style: none none none none; border-width: 1px 1px 0 1px;}
#pun-title h1 {display: block; height : 40px; padding: 2em 1em 0 1em;}
#pun-title .container {border-style: none none none none;}
#pun-title h1 span {font-size: 1.5em; display: none;}

/* D2 Page navigation
-------------------------------------------------------------*/

#pun-pagelinks {position: absolute; top: -15px; left: 0; margin: 0; border: none; padding: 0; width: 100%;}
#pun-pagelinks .container {background: transparent; border: none; padding: 0;}
#pun-pagelinks .container li {display: inline;}
#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%;}
#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
-------------------------------------------------------------*/

#pun-navlinks {border: none; margin: 0px;}
#pun-navlinks .container {position: absolute; border-style: none; border-width: 0; text-align: center; width: 957px; top: 123px; left: 35px;}
#pun-navlinks li {display: inline; padding-right: 0;}
#pun-navlinks li a {font-size: 1.0em;}

#pun-navlinks a {color: #cac1bd; text-shadow: 1px 0px 1px #22223c; font: 14px "fairsemi" !important; text-transform: uppercase !important; text-decoration: none; padding: 1px 4px;}
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {color: #b9b1c2; text-decoration: none;}

/* D4 User links
-------------------------------------------------------------*/

#pun-ulinks {margin: 0px;}
#pun-ulinks .container {border-top: none; position: absolute; text-align: center; width: 958px; top: 153px; left: 35px;}
#pun-ulinks li, #pun-ulinks li a {display: inline; border-left-style: solid; border-left-width: 0px;}
#pun-ulinks li a {padding: 0 0.2em;}

#pun-ulinks a {white-space: nowrap; color: #543b30; text-shadow: 0 0 1px #ddd2cb; font: 10px 'Franklin Gothic Medium'; text-transform: uppercase;}
#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {color: #762323;}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

#pun-status, #pun-status .container {text-align: right; border-bottom: none; margin: 18px 0 0 2px;}
#pun-status .container {position: absolute; top: -31px; left: 55px; width: 900px; font: 10px 'Franklin Gothic Medium'; text-transform: uppercase; letter-spacing: 0px; text-align: center; color: #543b30; text-shadow: 1px 0 1px #d6ccca;}
#pun-status .container strong {font-weight: normal; color: #543b30;}
#pun-status .container a {font: 10px 'Franklin Gothic Medium'; text-transform: uppercase; color: #543b30;}
#pun-status span {white-space: nowrap; margin-right: 0.5em; display: inline-block;}
#pun-crumbs1 {font-weight: bold; overflow: hidden;padding: 0 7px; margin: -46px 0 22px 0;}
#pun-crumbs1 p.container {border-top: none; text-align: left; padding: 3px 0 4px 13px; font: 700 11px "cuprum"; text-transform: uppercase; letter-spacing: 1px; color: #3a2c25 !important; text-shadow: 1px 0 1px #e4dbd6 !important; background: #9f8f881a;}
#pun-break1 {border-style: solid none; border-width: 1px 0; height: 0; margin: 0 1em; position: relative; z-index: 1;}

/* D6 Announcement
-------------------------------------------------------------*/

#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;}
#pun-announcement h2 span {display: block; padding: 1em 0 0.8em 0; border-bottom-style: solid; border-bottom-width: 1px;}
#pun-announcement .container {padding: 8.5em 1em 1em 1em; margin-left: -10px;}

/* D7 Statistics
-------------------------------------------------------------*/

#pun-stats .container {padding: 0 3px; margin: 0 0 0 2px; display: inline-block; width: 993px;}
#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {text-align: center; display: inline-block; padding: 3px 0; margin: 0 1px; background-color: #e2d9d58a; font: 10px "cuprum"; text-transform: uppercase; color: #26254d; text-shadow: 1px 0px 1px #d0c6c2 !important;}
#pun-stats li.item1, #pun-stats li.item2 {width: 185px;}
#pun-stats li.item3 {width: 270px;}
#pun-stats li.item4 {width: 330px;}
li#onlinelist {border-top-style: solid; border-top-width: 1px; float: left; padding: 3px 4px 5px 4px; line-height: 150%;}
li#onlinelist div {border-top-style: solid; border-top-width: 1px; padding: 0.7em 0 0 0;}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

#pun-qjump {margin: 0; border: none; width: 50%; position: relative; float: left;}
#pun-qjump .container {border: none; background: transparent; padding: 0.8em 1em;}
#pun-about {margin-top: 0;}
#pun-about .container {border-top-style: none; text-align: right;; font-size: 10px !important; text-transform: lowercase; line-height: 150%; padding: 31px 22px 1em 1em;}
#pun-about p span {display:block; padding-left: 50%; margin-top: -4px;}
#pun-crumbs2 {font-weight: bold; overflow: hidden; margin-bottom: 0; border-bottom: none;}
#pun-crumbs2 .container {border-bottom: none; padding: 5px 0 17px 20px; font: 700 11px "cuprum"; text-transform: uppercase; letter-spacing: 1px; color: #3a2c25 !important; text-shadow: 1px 0 1px #e4dbd6 !important;}

#pun-break4 {margin: -2px 1em; border-style: solid none; border-width: 1px 0; position: relative; height: 0; z-index: 1;}
div.punbb-admin #pun-about .container {border-top-style: solid; border-top-width: 1px;}

/* D9 Help file
-------------------------------------------------------------*/

#pun-help .formal .info-box h3.legend {border-bottom-style: solid; border-bottom-width: 1px; padding-bottom: 0; margin-bottom: 0.8em;}
#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;}
#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-title table tbody tr .title-logo-tdr, .admin-advert-block {position: absolute; top: 20px; left: 350px; z-index: 1;}
a.permalink {display: inline-block; position: relative; z-index: 10;}


.copyright, .forumlogo {display: none;}


/*****************************
-------- МОБИЛЬНЫЙ СТИЛЬ --------
*****************************/


@media screen and (max-width: 540px) {

:root {
--violet: #37365a;
--pun-color: #d5cdcb;
--forum-bg: #e2d9d57a;
}

* Основа и тело форума
-------------------------------------------------------------*/

* {
float: none !important;
box-sizing: border-box;
}

#pun {
width: 100%;
min-width: 360px;
margin: 0;
padding: 0;
background: var(--pun-color);
}

.punbb {
display: flex;
display: -webkit-flex;
flex-direction: column;
width: 100%;
margin: 0;
font-size: 100%;
}

/* Основные настройки содержимого*/

.punbb > div .container {
  padding: 5px 10px !important;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
}


/* Шапка
-------------------------------------------------------------*/

#pun-title {
  height: 50px;
  position: absolute;
  top: 0;
}

#pun-title table {
  background: none;
  max-width: 540px;
  width: 100%;
  margin-left: 0;
}

.tat {
  background: #9f8f8836;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 2px 5px;
  box-sizing: border-box;
}

.tat table, .tat table tbody tr td  {
width: 100% !important;
}

.tat table tbody tr {
  display: flex;
  flex-wrap: wrap;
}

.tatd3 table tbody tr {
  width: 108% !important;
  margin: 0 0px -10px -13px !important;
  display: inline-flex;
  flex-wrap: nowrap;
}


.tat table tbody tr td:not(:last-of-type) {
padding-bottom: 10px;
}

.forumlogo {
display: block;
width: 100%;
}

.copyright {
  display: block;
  width: 100%;
  margin-top: 10px;
  text-align: center;
}


/* Сброс
-------------------------------------------------------------*/

.reactions-root {display: none;}

.go-up, .go-down {
  margin: 0;
  right: 0;
  display: none !important;
}

#pun-navlinks .container, #pun-ulinks .container, #pun-status .container, #pun-crumbs1 {
  position: relative;
  width: 100%;
  top: unset;
  left: unset;
  box-sizing: border-box;
  margin: 0;
}

#pun-stats .container, .banners  {
  margin: 0 !important;
  width: 100%;
  box-sizing: border-box;
}

.banners {
  left: 0;
  position: relative;
  background: var(--violet);
}

#pun-about {
  background: none;
  margin: 0 !important;
  width: 100%;
  height: unset;
}

.punbb .main .tcr {width: 100% !important;}

.punbb .category h2, #pun-stats h2 {
  background: none;
  width: 100%;
  margin: 0;
}

#pun-index .intd {
  position: relative;
  width: 100%;
  margin: 0;
}

#pun-index  table Div.icon {
  margin: 0 0 0 10px !important;
  padding: 0;
  position: absolute;
  right: 0;
}

.forum .container .icon {
  flex-shrink: 0;
  padding: 0;
}

#pun-index td div.tclcon {
padding: 5px 10px;
}

.punbb td div.tclcon {
  padding: 0;
}

#pun-viewtopic .post h3 {
  margin: 0;
  width: 100%;
  height: auto;
}

h3 > span > a.permalink {
position: relative;
margin: 0;
}

/* Меню навигации
-------------------------------------------------------------*/

#pun-navlinks {
  top: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
}

#pun-navlinks .container {
  height: auto;
  position: relative;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-content: center;
  box-sizing: border-box;
  padding: 0 !important;
  background: var(--violet);
}

#pun-navlinks li {
  display: block;
  margin: 5px 7px;
}

#pun-navlinks li a {
  font-size: 0;
  padding: 0;
  display: flex;
  display: -webkit-flex;
  position: relative;
}

#pun-navlinks li a span {  font-size: 0;}

#pun-navlinks li a:after, #pun-ulinks:after  {
  content: "";
  font: normal 36px/100% 'Material Icons Outlined';
}

#pun-navlinks li#navindex a:after {content: "\e88a";}
#pun-navlinks li#navuserlist a:after {content: "\f233";}
#pun-navlinks li#navsearch a:after {content: "\e8b6";}
#pun-navlinks li#navprofile a:after {content: "\e853";}
#pun-navlinks li#navpm a:after {content: "\e0be";}
#pun-navlinks li#navadmin a:after {content: "\e8b8";}
#pun-navlinks li#navlogout a:after {content: "\e9ba";}
#pun-navlinks li#navlogin a:after {content: "\ea77";}
#pun-navlinks li#navregister a:after {content: "\e7fe";}
#pun-navlinks li#navpr a:after {content: "\ef49";}
#pun-navlinks li#navawards a:after {content: "\ea23";}
#pun-navlinks li#navrules a:after {content: "\e85f";}
#pun-navlinks li#navchit a:after {content: "\e54b";}
#pun-navlinks li#navpiar a:after {content: "\e7f4";}

#pun-navlinks li#navpm a span[data-last-unread]:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  display: block;
  animation: blinkColor 2s linear infinite;
  -moz-animation: blinkColor 2s linear infinite;
  -webkit-animation: blinkColor 2s linear infinite;
  background: gainsboro;
}

/* Меню пользовательских ссылок
-------------------------------------------------------------*/

#pun-ulinks {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 0 0 auto;
  position: relative;
  border: none;
  z-index: 90;
}

#pun-ulinks:after {
  content: "\e5d2";
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  font: normal 48px/50px 'Material Icons Outlined';
  text-align: center;
  cursor: pointer;
}

#pun-ulinks ul.container {
    padding: 0 !important;
    margin: 0;
    height: auto;
    border: none ;
    text-align: left;
    background: var(--pun-color);
    display: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
    z-index: 100;
    position: absolute;
    top: 50px;
    right: 0;
    width: 200px;
}

#pun-ulinks:hover ul, #pun-ulinks:focus ul {
    display: block;
}

#pun-ulinks li {
    display: block !important;
    padding: 0 !important;
}

#pun-ulinks li a {
    display: block;
    border: none;
    font: normal 16px/200% sans-serif !important;
    padding: 0 15px !important;
    color: #000;
    text-decoration: none !important;
}

#pun-ulinks li a:hover {
    background: var(--forum-bg);
}

#pun-ulinks > span.notify-bubble {display: block !important;}


/* Статус и путь
-------------------------------------------------------------*/

#pun-status .container {
  text-align: right;
  justify-content: center;
  font-size: 12px;
}

/* Главная форумная таблица
-------------------------------------------------------------*/

/* Заголовки */
.punbb h1, .punbb h2 {
width: initial !important;
}

.punbb h1 span, .punbb h2 span {font-size: 20px;}

.punbb thead {display: none;}

.punbb .main .hasicon, .punbb .main tr {
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
}

.punbb .main tr {padding: 5px 0;}

.punbb .main .hasicon tr:not(:last-of-type) {
  box-shadow: 0 1px rgba(0, 0, 0, .3), 0 2px rgba(255, 255, 255, .75);
}

.punbb .main td {padding: 5px 10px;}

.punbb .main .tcl, .punbb .main .tcr, #pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 5px 10px !important;
}

.punbb .main .intd {
  display: flex;
  display: -webkit-flex;
  width: 100%;
}

.punbb .tclcon {
padding-right: 55px;
flex-grow: 1;
}

.punbb div.icon {order: 2;}

.punbb .main .tc2, .punbb .main .tc3, #pun-searchtopics .main .tc2, #pun-searchtopics .main .tc3 {
text-align: left;
width: auto;
padding: 5px 10px !important;
}

.punbb .main .tc2:before, .punbb .main .tc3:before {
content: "";
}

#pun-index .main .tc2:before {content: "Тем: ";}
#pun-index .main .tc3:before {content: "Сообщений: ";}

#pun-viewforum .main .tc2:before, #pun-searchtopics .main .tc3:before {content: "Ответов: ";}
#pun-viewforum .main .tc3:before {content: "Просмотров: ";}

#pun-searchtopics .main .tc2:before {content: "Форум: ";}

.punbb .main .tcr {position: relative;}

.punbb .tcr .user-avatar {
  margin: 0 10px;
  height: auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
}

.punbb .tcr > a, .punbb .tcr .lastpost, .punbb .tcr > .byuser {
  width: calc(100% - 46px);
  text-align: right;
}

.punbb .user-avatar .avatar-image {
  display: flex;
  display: -webkit-flex;
}

/* Статистика
-------------------------------------------------------------*/

.punbb #pun-stats .container {justify-content: right;}

.punbb #pun-stats .container li:not(#onlinelist) {
width: 100%;
text-align: right;
padding: 5px 10px;
box-sizing: border-box;
margin-bottom: 2px;
}


/* Index
-------------------------------------------------------------*/

#pun-index .category h2 {display: flex;}

#pun-main div.catleft, #pun-main div.catright {
  display: block;
  border-bottom: 2px solid var(--violet);
  height: 16px;
  margin: 0 15px;
  flex-grow: 1;
  width: 100%;
}

#pun-index .category h2 span {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto;
  white-space: nowrap;
}

#pun-index .category h2 span:before, #pun-index .category h2 span:after {
  content: "";
}

#pun-index .tclcon {
  width: 100%;
}

#pun-index .tc2, #pun-index .tc3 {
  width: 50%;
  box-sizing: border-box;
  text-align: left;
  font-size: 11px;
}


/* Userlist
-------------------------------------------------------------*/

#pun-userlist .main tr {
  display: flex !important;
  display: -webkit-flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100% !important;
  position: relative;
  background: var(--forum-bg);
  margin-bottom: 10px;
}

#pun-userlist .main .tcl.username {width: 100%;}

#pun-userlist .tc3 {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: 45%;
}

#pun-userlist .main thead, #pun-userlist .user_title {
  display: none;
}

#pun-userlist .relation:before {
  content: "Уважение: ";
}

#pun-userlist .num_posts:before {
  content: "Сообщений: ";
}

#pun-userlist .registered:before {
  content: "Зарегистрирован: ";
}

#pun-userlist .last_visit:before {
  content: "Последний визит: ";
  white-space: nowrap;
}


/* Темы и страницы
-------------------------------------------------------------*/

.punbb .tc2, .punbb .tc3 {
  width: 100% !important;
}

/* Верхние ссылки в топике и списках тем */
.punbb .linkst {padding: 5px 10px;}

/* Меню модератора */
.punbb .modmenu .container span {flex-grow: 1;}

/* Нижние ссылки в топике и списках тем */
.punbb .linksb {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: initial;
}

.linksb .pagelink {
  order: 1;
  flex-grow: 1;
  width: auto;
}

.punbb .postlink, .punbb .linksb noindex {
  order: 2;
  flex-grow: 1;
  width: auto;
}

.subscribelink {
  order: 3;
  width: 100%;
}

.punbb .postlink.long {width: auto;}

.punbb .modmenu strong, .punbb .modmenu a {height: initial;}

#pun-viewforum .modmenu .container strong a {font-size: 0;}

#pun-viewforum .modmenu .container strong a:after {
content: "Действия с темами";
font-size: initial;
}

.punbb fieldset {padding: 0 5px;}

.punbb fieldset legend span {font-size: 12px;}

/* Топик
-------------------------------------------------------------*/

/* Пост */
.punbb .post {margin: 0;}

/* Дата поста */
.punbb .post h3 {
  box-shadow: 0 1px 2px rgba(255, 255, 255, .3) inset;
  background: rgba(0, 0, 0, .1);
}

.punbb .post h3 span {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
}

#pun-searchposts .post h3 span {
  justify-content: left;
  gap: 5px;
}

.punbb .post h3 span .permalink {
  flex-grow: 1;
  order: -1;
}

.punbb .post h3 span strong {
  order: 2;
  margin: 0;
}

#pun-searchposts .post h3 span strong {flex-grow: 1;}

#pun-searchposts .post-author li.pa-author {margin-left: 0 !important;}

.punbb .post h3 .sharelink {
order: 3;
margin-left: 5px;
display: none;
}

#pun-viewtopic .post h3 span a, .punbb .post h3 strong {padding: 0;}

#fntSlider {margin: 0 !important;}

/* Содержимое поста */
.punbb .post .container {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  padding: 0 !important;
}

/* Автор */
.punbb .post .post-author {
  width: 100%;
  margin: 0;
  padding: 5px 10px;
  box-sizing: border-box;
  background: var(--violet);
  min-height: 90px;
}

.punbb .post .post-author ul {
  padding: 0 !important;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background: none !important;
}

#pun-searchposts  .post .post-author ul {flex-direction: column;}

/* Скрыть поля профиля */
.pa-reg, .pa-from, .pa-invites,  .pa-positive, .pa-icq,  .pa-sex, .pa-age, .pa-ip, .pa-time-visit, .pa-last-visit, .pa-online, .pa-awards {
    display: none !important;
}


/* Аватар */
.punbb .post-author .pa-avatar {
  width: 75px;
  height: auto;
  max-height: 75px;
  max-width: 75px;
  display: block;
  position: absolute;
  margin: 0 0 5px; 
  order: -2;
}

.online .pa-author::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 10px #bf0;
  background: radial-gradient(circle at 3px 2px, #98ea36, #81b16f, #8ac176);
  margin: 2px 0 2px 7px;
}

.punbb .post-author .pa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-height: 80px;
  max-width: 80px;
  outline: none;
}

/* Ник и статус */
.punbb .post-author .pa-author, .punbb .post-author .pa-title {
  margin-left: 85px !important;
  padding: 0;
  width: 100%;
  text-align: left;
}

.post-img-Sp:first-of-type {margin-left: 85px;}

/* Сообщения */
.punbb .post-author .pa-posts {
  margin-left: 85px;
  padding-right: 10px;
}

/* Доп. поле 1 (лз) */
.pa-fld1 {
  padding: 15px 0 7px 8px !important;
  text-align: center;
  order: 1;
}

.pa-fld2 {
  margin-top: 5px;
  text-align: center;
}

/* Тело поста */
.punbb .post-body {
  margin: 0;
  order: 2;
}

/* Содержимое тела поста */
.punbb .post-box {
  padding: 10px;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, .2) inset;
}

/* Строки поста */
.punbb .post-content p {padding: 0 0 5px 15px;}

/* Цитата, спойлер и код */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 5px 5px 10px;
  padding: 5px 10px;
}

/* хтмл-содержимое в постах */
.punbb .post-content iframe {
  box-sizing: border-box;
  max-width: 100%;
}

/* Подпись */
.punbb .post-box .post-sig {display: none;}

/* Ссылки профиль, удалить, цитировать и т.п. */
.punbb .post-links {
  box-shadow: 0 -1px rgb(255, 255, 255) inset, 0 -2px rgba(0, 0, 0, .3) inset;
  background: var(--violet);
  margin: 0;
}

.punbb .post-links ul {
  padding: 0 10px;
  margin: 5px 0 0;
}
.punbb .post-links li a {
  font-size: 0;
  color: #c0bbd5 !important;
  text-shadow: none;
  background: none;
}

.punbb .post-links ul li {
  padding: 0 0 0 10px;
  line-height: initial !important;
}

.punbb .post-links ul .pl-email, .punbb .post-links ul pl-website {
  float: left !important;
  padding: 0 10px 0 0;
}

.punbb .post-links li a::before {
  content: "";
  font-size: 24px;
  font-family: 'Material Icons Outlined';
}

.punbb .post-links li.profile a:before {content: "\ea67";}
.punbb .post-links li.pm a:before {content: "\e0be";}
.punbb .post-links li.email a:before {content: "\e0e6";}
.punbb .post-links li.pl-delete a:before {content: "\e92e";}
.punbb .post-links li.pl-edit a:before {content: "\e3c9";}
.punbb .post-links li.pl-quote a:before {content: "\e244";}
.punbb .post-links li.pl-reports a:before {content: "\e8b2";}

.punbb .post-links ul a:hover {background: none;}

/* Форма ответа */
.punbb #form-buttons {
  width: 100%;
  display: block;
}

.punbb #form-buttons tr {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: center;
  padding: 0 0 5px;
  text-align: center;

}

#form-buttons td {
display: block;
width: 26px;
height: 26px;
}

#post-form #tags .container, #float {top: 24% !important; width: fit-content; font-size: 80%; display: flex; flex-direction: column;}

* Поиск сообщений
-------------------------------------------------------------*/

#pun-searchposts .post-author ul {justify-content: space-between;}

#pun-searchposts .post li.pa-author, #pun-searchposts .post li.pa-replies {
text-align: left;
width: auto;
margin: 0;
}

#pun-searchposts .post-links ul {
  margin: 0;
  height: 150%;
}

#pun-searchposts .post-links li a {font-size: initial;}


/* Просмотр профиля
-------------------------------------------------------------*/

#viewprofile-next #profilenav {display: none;}

#viewprofile ul, #profilenav ul {
  padding: 0 5px;
  margin: 0;
}

#viewprofile tr {flex-direction: column;}
#viewprofile td {width: 100%;}

#viewprofile li, #viewprofile li strong, #viewprofile li span, #viewprofile li div, #setmods dd, #setmods dl {
  margin: 0;
  padding: 0;
}

#viewprofile #profile-left {
  text-align: center;
  padding-bottom: 10px !important;
  box-shadow: 0 1px rgba(0, 0, 0, .3), 0 2px rgba(255, 255, 255, .75);
}

#viewprofile #profile-left li#pa-avatar {padding: 5px;}
#viewprofile #profile-right {padding: 10px 0 0;}

#profile-right li {
  display: flex;
  flex-wrap: wrap;
}

#profile-right li span {
  width: auto;
  padding-right: 5px;
}

#viewprofile #profile-right li strong {
  width: auto;
  padding: 0;
}

#viewprofile #profile-signature {padding: 5px 0;}
#viewprofile #profile-signature ul {padding: 10px 0 0;}


/* Редактирование профиля и ЛС
-------------------------------------------------------------*/

#profile > .container {padding: 5px 10px !important;}

.punbb #profilenav {
  width: 100%;
  margin: 0;
  display: block;
}

#viewprofile h2, #profilenav h2 {
  margin: 0;
  width: 100% !important;
  display: block;
}

#viewprofile h2 span, #profilenav h2 span {
  display: block;
  width: 100% !important;
  padding: 0;
  margin: 0;
}

#profilenav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#profilenav li {
  padding: 0;
  font-weight: bold;
  width: 50%;
  box-sizing: border-box;
}

#profile #messages fieldset, #profile #messages fieldset .fs-box {
  padding: 0;
  margin: 0;
}

.punbb .main #profile #messages .hasicon tr {
justify-content: space-between;
box-shadow: 0 -1px rgba(0, 0, 0, .3), 0 1px rgba(255, 255, 255, .75);
}

.punbb .main #profile #messages .hasicon tr:first-of-type {
box-shadow:0 -1px rgba(255, 255, 255, .9), 0 -2px rgba(0, 0, 0, .3), 0 1px rgba(255, 255, 255, .9);
}

.punbb .main #profile #messages .hasicon tr:last-of-type {
box-shadow: 0 -1px rgba(0, 0, 0, .3), 0 1px rgba(0, 0, 0, .4), 0 2px rgba(255, 255, 255, .9);
}

.punbb .main #profile #messages .hasicon .tcl {width: 100% !important;}

#profile #messages .hasicon .pmtc22 {
  display: flex;
  width: 100% !important;
}

#profile #messages .hasicon .tc3:before {content: "Дата: "}

#profile #messages .hasicon .tc3, #profile #messages .hasicon .pmtc24 {
  display: block;
  width: auto !important;
  padding: 5px 10px !important;
}

#profile #messages .hasicon .pmtc24:before {content: "Выбрать: "}


/* Админка
-------------------------------------------------------------*/

.punbb-admin #pun-adnav {
  margin: 0;
  width: 100%;
}

.punbb-admin #pun-admain {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.punbb-admin #pun-adnav ul {
  display: flex;
  flex-wrap: wrap;
  padding: 5px 10px;
}

.punbb-admin #pun-adnav li {padding: 2px 5px;}

.punbb-admin #pun-admain fieldset .handle, .punbb-admin #pun-admain fieldset p {border: none;}

.punbb-admin #pun-admain .adlabel {
  padding: 0 5px !important;
  margin: 0;
  position: relative;
  width: auto;
  display: block;
  text-align: center;
}

.punbb-admin #pun-admain .adformal div ul, .punbb-admin #pun-admain div p {padding: 5px !important;}

.punbb-admin .adcontainer .adsubmitfield {
  display: flex;
  flex-direction: column;
}

.punbb-admin #pun-admain span.adsubmit {
  position: relative;
  width: auto;
  top: 0 !important;
  margin: 0 auto;
  display: block;
  padding: 5px;
 left: 0;
}

.punbb-admin #pun-admain1 .sortable p input[name^="cat_name"] {
  margin: 0;
  position: relative;
  width: calc(100% - 20px);
}

.punbb-admin #pun-admain input[type="submit"] {
  margin: 0 auto;
  display: block;
}

#pun-admain .adformal p.submittop, #pun-admain .adformal p.submitend {
  display: flex;
  justify-content: center;
}

#pun-admain .adformal p.submittop input[type="submit"], #pun-admain .adformal p.submitend input[type="submit"] {margin: 0 5px;}


/* Дополнительно
-------------------------------------------------------------*/

/* Отключение закругления текстовых полей в Safari */

button, input.button, input[type="text"], input[type="password"], select {
  border-radius: 4px;
  -webkit-border-radius: 4px;
  border: 1px solid #8f8f9d;
  appearance: auto;
  -webkit-appearance: none;
  -moz-appearance: auto;
  background: #e9e9ed;
  color: currentColor;
  padding: 2px 5px;
  max-width: 90%;
  box-sizing: border-box;
}

button:hover, input.button:hover {background: silver;}

}


    /*Разделение ников пользователей в теме запятой */
#topic-users-in a:not(:last-of-type):after {content: ",";}