/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 Import */
@import url(style_cs.1761923333.css);

@font-face {
    font-family: 'Yiggivoo';
    src: url('https://forumstatic.ru/files/001b/f7/21/77708.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
  
/* A1.2 Variables */  
html {
    --back: url(http://forumstatic.ru/files/001b/f7/21/66883.jpg);
    --head: url();

    --main-font: Arial;
    --dec-font: 'Yiggivoo';
    
    --back-color: #A3A8B3;
    --main-color: #C5C5C9;
    --forum-color: rgba(240, 242, 252, 0.27);
    --border-color: rgba(116, 125, 135, 0.50);
    
    --blue-color: #45515E;
    --pink-color: #855471;
    --main-tr: rgba(211, 211, 222, 0.50);
    
    --text-color: #444444;
    --links-color: #0C4265;
    --links-hover-color: #855471;
    --old-color: #B0B0BC;
    --menu-color: #D3D3DE;
    
    
    --forum-tr: rgba(108, 93, 106, 0.28);
    
    --menu-hover-color: #AC7596;
    --off-color: #AA9AAB;
    --code-color: #BEBFCB;
    
    --input-color: #E0E0E9;
    
    --anim: 0.5s ease all;
}

  

/* 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 */
#pun-index .main table thead {
    display: none;
}

/* A2.7 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {
    margin: 0 0.3em;
}

/* A2.8 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
    height: 1.8em;
    vertical-align: middle
}


/* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
    font-size: 100.01%;
}

/* A3.2 */
.punbb {
    font: normal 68.75% verdana, arial, helvetica, sans-serif;
}

/* A3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
    font: 1.1em verdana, arial, helvetica, sans-serif;
    background: var(--menu-color);
    padding: 4px;
    border: var(--border-color) 2px solid;
    border-radius: 0;
}

/* 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 {*/
/*}*/

/* 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;
    color: var(--links-color);
    transition: var(--anim);
}

/* A3.11 */
.punbb a:hover {
    color: var(--links-hover-color);
}

/* A3.12 */
.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 */
html {
    background: var(--back)no-repeat fixed center top, var(--back-color);
    background-size: cover;
}

/* A5.2 */
#pun {
    margin: 20px auto;
    position: relative;
    width: 1000px; 
}

/* A5.3 */
.punbb {
    float: left;
    height: auto;
    background: var(--main-color);
    margin: 30px 0;
    width: 1000px; 
}

/* A5.4 */
#pun-redirect, #pun-maint {
    margin: 50px 20% 12px 20%;
    width: auto;
    float: none;
}

/* A5.5 */
.punbb .section, .punbb .main {
    margin-bottom: 0;
}

/* A5.6 */
.punbb .category, .punbb .post {
  margin-top: 0.4em;
  }

/* A5.7 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* A5.8 */
#pun-post .topic {
  margin-top: 1em;
  }

/* A5.9 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
    border: none;
}

/* A5.10 */
.punbb .container {
    border: none;
}

/* A5.11 */
/*.punbb .section h2*/
#pun-main h1, #pun-debug h2 {
    padding: 0;
    text-align: center;
    color: var(--text-color);
    font-family: var(--main-font);
    font-size: 20px;
    text-transform: uppercase;
}

/*************************************************************
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: 1px solid #888;
  width: 250px;
  margin: 5px 0;
  }

/* 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 1.8em 1.4em 1.8em;
    padding: 1em 1em 0 1em;
}

/* B1.9 */
.punbb .post-content .quote-box {
    border: var(--border-color) 2px solid;
    background: var(--menu-color);
    margin: 0 0 12px;
}

/* B1.10 */
.punbb .post-content .code-box {
    border: var(--menu-color) 2px solid;
    background: var(--blue-color);
    color: var(--menu-color);
    margin: 0 0 12px;
}

/* B1.11 */
.punbb .code-box strong.legend {
    display: block;
    margin-bottom: 10px;
    font-style: normal;
    width: 60%;
    border-bottom: var(--menu-color) 1px solid;
    padding-bottom: 4px;
    font-size: 16px;
    font-weight: 600;
}

/* B1.12 */
.punbb .quote-box cite {
    display: block;
    margin-bottom: 10px;
    font-style: normal;
    width: 60%;
    border-bottom: var(--blue-color) 1px solid;
    padding-bottom: 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--blue-color);
}


/* B1.14 */
.punbb .code-box strong.legend a {
    color: var(--menu-hover-color);
}

/* B1.15 */
.punbb .code-box strong.legend a:hover {
    color: var(--off-color);
}

.post-content .spoiler-box > div {
    margin-bottom: 1em;
}

.post-content .spoiler-box > div.visible {
    margin-bottom: 0;
}

/* 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 */
.punbb .linkst {
    /*position: relative;*/
    font-size: 12px;
    height: 26px;
    font-family: var(--main-font);
    margin: 5px 0 10px;
    line-height: 26px;
}

/* B3.2 */
.multipage {
    margin-top: 0;
}

/* B3.3 */
.linkst .pagelink {
    display: inline-block;
    width: 49%;
}

/* B3.4 */
.linkst .postlink {
    text-align: right;
    font-weight: bold;
    float: right;
    display: inline-block;
    width: 50%!important;
}

/* B3.5 */
.postlink.long a {
    font-family: var(--main-font);
}

/* B3.7 */
.punbb .linksb {
    text-align: right;
    padding: 7px 0 3px;
    font-size: 12px;
    font-family: var(--main-font);
    line-height: 16px;
    margin: 0;
}

/* B3.8 */
#pun-viewtopic.punbb .linksb {
    border: none;
    padding: 3px 0;
}

/* B3.9 */
.linksb .pagelink {
    float: left;
    width: 24em;
    text-align: left;
}

/* B3.10 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

/* B3.11 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 12px 0;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0;
  margin: 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
    margin: 0 1em 0 0;
    border: none;
    padding: 8px 20px;
    font-size: 12px;
    font-family: var(--main-font);
    font-weight: 600;
    cursor: pointer;
    transition: var(--anim);
    text-transform: uppercase;
    background: var(--blue-color);
    color: var(--old-color);
    line-height: 12px;
  }

/* C1.4 */
.punbb .formsubmit input:hover, .punbb .formsubmit a:hover, .punbb .formsubmit span:hover {
    transition: var(--anim);
    background: var(--links-hover-color);
}

/* C1.5 */
.punbb fieldset {
    border-style: none;
    padding: 0;
    margin: 0;
}

/* C1.6 */
.punbb fieldset legend {
  padding: 0;
  margin: 0;
  font-size: 1.1em
  }

/* C1.7 */
.punbb fieldset legend span {
    padding: 0;
    margin: 0;
    font-family: var(--main-font);
    font-size: 1.15em;
  }

/* C1.8 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.9 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  }

/* C1.10 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
  }

/* C1.11 */
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
  float: left;
  margin-right: 1em;
  }

/* C1.12 */
.punbb .inline .infofield {
  clear:both
  }

/* C1.13 */
.punbb .datafield br {
  display: none
  }

/* C1.14 */
.punbb .required label, .punbb .datafield span.input {
  font-weight: bold
  }

/* C1.15 */
.punbb .datafield span.input a {
  font-weight: normal;
  }

/* C1.16 */
.punbb .areafield span.input, .punbb p.longinput span.input {
  display: block;
  padding: 0 12em 0 0;
  height: 100%; /* For IE */
  }

/* C1.17 */
.punbb textarea, .punbb .longinput input {
  width: 64%;
  margin: 0;
  }

/* C1.18 */
.punbb .hashelp {
  position: relative;
  }

/* C1.19 */
.punbb .helplinks {
  display: block;
  position: absolute;
  top: 1em;
  right: 0;
  font-weight: normal;
  width: 36%;
  }

/* C1.20 */
.punbb #profile .helplinks {
  top: 1.5em;
  }

/* C1.21 */
.punbb .helplinks span {
  display: block;
  padding-bottom: 0.2em;
  }

/* C1.22 */
#pun-post .formal .info-box li {
  padding-left: 4px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.5;
  margin: 0;
  }

/* C1.23 */
#post-form {
    padding: 10px;
}

/* C1.24 */
#post-form h2 span {
    font-size: 16px;
    line-height: 16px;
}

/* C1.25 */
#post-form .container {
    padding: 10px 0;
}

/* C1.26 */
#post-form .container legend small {
    padding: 2px 9px;
    font-size: 1.15em;
    border: var(--border-color) 1px solid;
    margin-right: 10px;
    background: var(--menu-color);
}

/* C1.27 */
#post-form .container #form-buttons {
    background: var(--menu-color);
    border: var(--border-color) 1px solid;
    margin-bottom: -1px;
}

/* C1.28 */
#tags .container {
    position: absolute;
    top: 40px;
    z-index: 2;
    padding: 5px 10px;
    background: var(--code-color);
    margin-top: -6px;
}

/* C1.29 */
#main-reply {
    margin: 0;
    border: none;
    background: var(--menu-color);
    width: calc(100% - 14px)!important;
    padding: 6px;
    border: var(--border-color) 1px solid;
}


/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 50%;
  }

/* C2.2 */
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
  text-align: center;
  width: 10%;
  }

/* C2.3 */
.punbb .main .tcr {
    text-align: right;
    width: 30%;
}

/* C2.4 */
#pun-userlist .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 {

  }

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  display: none;
  }

/* C2.11 */
.punbb .main td {
    border-style: none;
    /*padding: 0.8em 1em;*/
}

/* C2.12 */
.punbb .main th {
  border: none;
  }

/* C2.13 */
.punbb .main .tcl {
  border-left-style: none;
  border-left-width: 0
  }

/* C2.14 */
#pun-viewforum table tbody, #pun-searchtopics table tbody {
    background: var(--menu-color);
    outline: var(--border-color) 2px solid;
}

/* C2.15 */
#pun-viewforum table tbody tr, #pun-viewforum table thead tr, #pun-searchtopics table tbody tr, #pun-searchtopics table thead tr {
    font-family: var(--main-font);
    display: flex;
    width: 100%;
    padding: 10px 10px 10px 0;
    align-items: center;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 16px;
    text-transform: lowercase;
}

/* C2.16 */
#pun-viewforum table thead tr, #pun-searchtopics table thead tr {
    background: none;
    padding: 6px 0;
}

/* C2.17 */
#pun-viewforum table tbody tr .tcl, #pun-searchtopics table tbody tr .tcl {
    padding: 0;
}

#pun-viewforum table tbody tr .tcl .intd, #pun-searchtopics table tbody tr .tcl .intd {
    display: grid;
    grid-template-columns: 59px auto;
    align-items: center;
}

/* C2.18 */
#pun-viewforum table tbody tr .tclcon, #pun-searchtopics table tbody tr .tclcon {
    /*margin-left: 13px;*/
}

/* C2.19 */
#pun-viewforum table tbody tr .tcr, #pun-searchtopics table tbody tr .tcr {
    display: grid;
    grid-template-columns: 50px auto;
    grid-template-rows: minmax(18px, 60%) auto;
}

/* C2.20 */
#pun-viewforum table tbody tr .tcr .user-avatar, #pun-searchtopics table tbody tr .tcr .user-avatar {
    grid-area: 1 / 1 / 3 / 2;
    margin: auto;
}

/* C2.21 */
#pun-viewforum table tbody tr .tcr .user-avatar .avatar-image, #pun-searchtopics table tbody tr .tcr .user-avatar .avatar-image {
    border-radius: 0;
    transition: var(--anim);
}

/* C2.22 */
#pun-viewforum table tbody tr .tcr .user-avatar .isonline, #pun-searchtopics table tbody tr .tcr .user-avatar .isonline {
    top: -3px;
    right: -3px;
    animation: none;
    background: var(--accent-color);
}

/* C2.23 */
#pun-viewforum table tbody tr .tcr a, #pun-searchtopics  table tbody tr .tcr a {
    grid-area: 1 / 2 / 2 / 3;
    align-self: end;
}

/* C2.24 */
#pun-viewforum table tbody tr .tcr .byuser {
    grid-area: 2 / 2 / 3 / 3;
}

/* C2.25 */
.punbb div.icon {
    width: 42px;
    height: 19px;
    background: var(--old-color);
}

.punbb div.icon-new, .punbb div.inew {
    background: var(--blue-color);
}

/* C2.26 */
#pun-index div.icon {
    display: none;
}


/* C2.28 */
.punbb .main .post-content td {
    border: none!important;
}

 /* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
#pun-viewtopic #pun-main, #pun-searchposts #pun-main, #pun-post #pun-main {
    padding: 7px 15px;
}

/* C3.2 */
.punbb .post h3 {
    border-top: var(--menu-color) 1px solid;
    margin: 0 -15px;
    padding: 10px 15px;
    font-size: 13px;
    font-family: var(--main-font);
    font-weight: 600;
}

/* C3.6 */
#pun-searchposts .post h3 span a {
    background: none;
    border: none;
    border-radius: none;
    padding: 0;
}

/* C3.8 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

/* C3.9 */  
.punbb .post .container {
    margin-top: 8px;
}

/* C3.10 */
.punbb .post .post-author {
    float: left;
    width: 220px;
    text-align: center;
    font-family: var(--main-font);
    border: var(--border-color) 1px solid;
    background: linear-gradient(var(--main-color), var(--main-color)) no-repeat center top 0 / 100% 6px, var(--menu-color);
    padding-top: 6px;
}

/* C3.11 */
.punbb .post[data-user-id="1"] .post-author {
    background: none;
}

/* C3.12 */
#pun-searchposts .post .post-author, #pun-post .post .post-author {
    background: none;
    padding-top: 0;
}

/* C3.13 */
.punbb .post .post-author ul, .punbb .post .post-author p {
    padding: 0;
    line-height: 140%;
}

/* C3.17 */
.post-author .pa-author {
    margin: 0;
    padding: 10px 6px 5px;
}

/* C3.18 */
.post-author .pa-author, .post-author .pa-author a {
    text-decoration: none;
    font-family: var(--dec-font);
    font-size: 14px;
    color: var(--blue-color);
    line-height: 20px;
    text-transform: uppercase;
}

.post-author .pa-author a:hover {
    color: var(--pink-color);
}

/* C3.19 */
.post-author .pa-title {
    color: var(--pink-color);
    font-family: var(--main-font);
    font-size: 10px;
    font-weight: 700;
    padding: 0 6px;
    margin-bottom: 10px;
}

/* C3.20 */
.post-author .pa-avatar {
    background: var(--main-color);
    padding: 12px 0;
    line-height: 0;
}

/* C3.21 */
.post-author .pa-avatar img {
    max-width: 180px; 
}

/* C3.22 */
.post-author .pa-fld4 {
    background: var(--pink-color);
    height: 32px;
    font-family: var(--main-font);
    color: var(--main-color);
    display: grid;
    grid-template-columns: 40px auto;
    grid-template-rows: 18px 14px;
    text-align: left;
    overflow: hidden;
    font-size: 9px;
    font-weight: 600;
}

/* C3.23 */
.post-author .pa-fld4 img {
    height: 30px;
    justify-self: center;
    align-self: center;
    grid-area: 1/1/3/2;
}

/* C3.24 */
.post-author .pa-fld4 .plup {
    font-family: var(--main-font);
    color: var(--menu-color);
    font-size: 11px;
    text-transform: uppercase;
    line-height: 22px;
}

/* C3.25 */
.post-author .pa-fld1 .lzname {
    font-weight: 600;
    padding: 5px 16px;
    font-size: 11px;
    font-family: var(--main-font);
}

/* C3.26 */
.post-author .pa-fld1 .lztext {
    padding: 8px 16px;
    background: linear-gradient(var(--border-color), var(--border-color))no-repeat center top 0 / 100px 1px, linear-gradient(var(--border-color), var(--border-color))no-repeat center bottom 0 / 100px 1px;
    font-size: 11px;
    font-family: var(--main-font);
}

.post-author .pa-fld1 .lztext a {
    font-weight: 600;
}

/* C3.27 */
.post-author .pa-fld2, .post-author .pa-respect, .post-author .pa-fld3 {
    display: inline-flex;
    margin: 8px 6px 8px;
    text-transform: lowercase;
    line-height: 11px;
    max-height: 30px;
    width: 50px;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 5px 3px;
    font-size: 11px;
}

.post-author .pa-respect {
    width: 64px;
}

/* C3.36 */
.post-author .pa-online, .post-author .pa-last-visit {
    background: linear-gradient(var(--border-color), var(--border-color))no-repeat center top 0 / 100px 1px;
    padding: 8px 6px 4px;
}

.post-author .post-img-Sp {
    height: 30px;
}

/* C3.37 */
.punbb .post-body {
    margin-left: 225px;
}

/* C3.38 */
.punbb .post-box {
  padding: 0 0 1em 1.5em;
  }

/* C3.39 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.40 */
.punbb .post-links {
    margin-left: 225px;
}

/* C3.41 */
.punbb .post-links ul {
    padding: 0;
    height: 30px;
    line-height: 30px;
    margin-left: -225px;
    background: transparent;
    text-align: right;
}

/* C3.42 */
.punbb .post-links li {
    display: inline;
    padding: 0 0 0 12px;
}

/* C3.43 */
.punbb .post-links li a {
    font-weight: 600;
    font-family: var(--main-font);
}



/* C3.45 */
.punbb .post-links li.pl-email, .punbb .post-links li.pl-website {
    float: left;
    padding: 0 12px 0 0;
  }

/* C3.46 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* C4 Moderator menu
-------------------------------------------------------------*/

/* C4.1 */
.punbb .modmenu .container {
    padding: 6px 0 10px;
    text-align: right;
    font-family: var(--main-font);
    font-size: 12px;
}

/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {
    height: 20px;
    line-height: 20px;
}

/* C4.3 */
.punbb .modmenu .container strong {
    float: left;
}

/* C4.4 */
.punbb .modmenu input {
    margin-left: 1em;
}

/* C4.5 */
.punbb #topic-modmenu .container span {
    display: none;
}

/* C4.6 */
.punbb #topic-users-in {
    width: 100%;
    border-top: var(--menu-color) 1px solid;
    margin: 0 -15px;
    padding: 0 15px;
}


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
  padding: 0.8em 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }

/* C5.3 */
#pun-messages table tr {
    position: relative;
    display: flex;
    width: 710px;
    margin: 0 auto 5px;
    align-items: center;
    padding: 5px 10px 5px 0;
}

/* C5.4 */
#pun-messages table thead tr {
    background: none;
}

/* C5.5 */
#pun-messages table tr .intd {
    display: flex;
    align-items: center;
}

#pun-messages table tr .tclcon {
    margin-left: 10px;
}

/* C5.6 */
#pun-messages table tr .tc2 {
    display: flex;
    align-items: center;
    justify-content: start;
}

/* C5.6 */
#pun-messages .post .container {
    margin-top: 10px;
}

/* C5.7 */
#pun-messages .post .post-author {
    
}

/* C5.8 */
#pun-messages #form-buttons table tr {
    width: auto;
}

/* 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-bottom: 0.8em;
  font-weight: bold;
  }

/* 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 7px 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  }

/* C6.7 */
#viewprofile li, #setmods dl {
  padding: 0 0 0 18em;
  margin-bottom: 10px;
  }

/* C6.8 */
#viewprofile li span {
  float: left;
  width: 14em;
  margin-left: -16em;
  padding: 7px 12px;
  background: var(--menu-color);
  }

/*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: 7px 12px;
  font-weight: normal;
  }

/* C6.11 */
.punbb img.avatardemo {
  float: right;
  margin: 0 0 0.8em 1.8em
  }

/* C6.12 */
#profile-left {
    width: 220px;
    padding-top: 0 !important;
    text-align: center;
    font-family: var(--main-font);
}

#profile-left li {
    background: var(--menu-color);
}

/* C6.13 */
#profile-left li, #profile-left li strong {
    padding: 0;
    margin: 0;
}

/* C6.14 */
#profile-left #profile-name {
    font-size: 14px;
    line-height: 20px;
    padding: 10px 5px 5px;
    font-family: var(--dec-font);
    text-transform: uppercase;
    color: var(--blue-color);
}

#profile-left #profile-title {
    color: var(--links-hover-color);
    font-size: 10px;
    padding: 2px 5px;
}

/* C6.18 */
#profile-left #pa-online {
    padding: 7px 5px 8px;
    color: var(--blue-color);
    font-size: 14px;
}

/* C6.19 */
#profile-left #pa-edit {
    padding: 2px 5px 8px;
} 

/* C6.20 */
#profile-right #pa-fld4 strong {
    background: var(--pink-color);
    height: 32px;
    font-family: var(--main-font);
    color: var(--main-color);
    display: grid;
    grid-template-columns: 40px auto;
    grid-template-rows: 18px 14px;
    text-align: left;
    overflow: hidden;
    font-size: 9px;
    font-weight: 600;
    background-clip: content-box;
    width: 220px;
    padding-top: 0;
}

#profile-right #pa-fld4 img {
    height: 30px;
    justify-self: center;
    align-self: center;
    grid-area: 1/1/3/2;
}

#profile-right #pa-fld4 .plup {
    font-family: var(--main-font);
    color: var(--menu-color);
    font-size: 11px;
    text-transform: uppercase;
    line-height: 22px;
    padding: 0;
    font-weight: 600;
}

#profile-right #pa-fld4 .pldown {
    padding: 0;
    font-weight: 600;
}

#profile-right #pa-fld1 .lzname {
    padding: 0;
    font-size: 12px;
    font-weight: 600;
}

#profile-right #pa-fld1 .lztext {
    padding: 10px 0 0;
    font-size: 10px;
}

/* C6.25 */
#pun-respect table, #pun-positive table {
    border-spacing: 15px;
}

/* 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: 6px 0 12px;
  border-top: none;
  }

/* C7.3 */
#pun-userlist .usertable table {
    border-style: none;
    width: calc(100% - 4px);
    margin: 0 auto;
}

#pun-userlist .usertable table tbody {
    background: var(--menu-color);
    outline: var(--border-color) 2px solid;
}

/* C7.4 */
#pun-userlist .usertable table tr {
    position: relative;
    display: flex;
    width: calc(100% - 12px);
    align-items: center;
    padding: 8px;
    font-family: var(--main-font);
    font-size: 12px;
}

/* C7.5 */
#pun-userlist .usertable table thead tr {
    background: none;
}

/* C7.6 */
#pun-userlist .usertable table tr .tcl {
    display: flex;
    align-items: center;
    overflow: visible;
}

#pun-userlist .usertable table tr .tcl .user-avatar {
    height: 42px;
    width: 42px;
    margin: 0 8px 0 0;
}

#pun-userlist .usertable table tr .tcl .user-avatar .avatar-image {
    height: 42px;
    width: 42px;
    border-radius: 0;
    transition: var(--anim);
}

#pun-userlist .usertable table tr .tcl .user-avatar .isonline {
    top: -3px;
    right: -3px;
    animation: none;
    background: var(--pink-color);
}

/* C7.7 */
#pun-online table tr {
    padding: 6px 15px 7px;
    display: inline-table;
    width: 910px;
}

/* C7.8 */
#pun-online table tr .tcl {
    width: 40%!important;
}

/* C7.9 */
#pun-online table tr .tc3 {
    width: 20%!important;
}

/* C8 Homepage
-------------------------------------------------------------*/

/* C8.1 */
#pun-main {
    background: var(--main-color);
    padding: 7px 22px;
}

/* C8.2 */
#pun-main .category h2, #pun-stats h2 {
    background: url(http://forumstatic.ru/files/001b/f7/21/82821.png) no-repeat center top;
    width: 100%;
    height: 50px;
    background-size: contain;
    margin-bottom: 16px;
}

#pun-main div.catleft, #pun-main div.catright, #pun-main .category h2 span, #pun-stats h2 span {
    display: none;
}

#pun-index #pun-main table tbody {
    background: url(https://forumstatic.ru/files/001b/f7/21/12024.png) no-repeat top right, var(--menu-color);
    outline: var(--border-color) 2px solid;
    background-size: 30%;
}

/* C8.3 */
#pun-index #pun-main table tr {
    margin-bottom: 12px;
    display: flex;
}

/* C8.4 */
#pun-index #pun-main table .tcl {
    width: 70%;
    position: relative;
    padding: 0;
}

/* C8.5 */
#pun-index #pun-main table .tclcon {
    margin: 0;
    color: var(--text-color);
    font-size: 13px;
    font-family: var(--main-font);
}

/* C8.6 */
#pun-index #pun-main table .tclcon h3 {
    font-family: var(--main-font);
    font-size: 20px;
    padding: 0 0 0 10px; 
    line-height: 35px;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--old-color);
}

#pun-index #pun-main table .inew .tclcon h3 {
    background: var(--blue-color);
}

#pun-index #pun-main table .tclcon h3 a {
    color: var(--menu-color);
    letter-spacing: 5px;
}

#pun-index #pun-main table .tclcon h3 a:hover {
    color: var(--pink-color);
}

#pun-index #pun-main table .tclcon .f_descr {
    margin: 12px 16px;
}

#pun-index #pun-main table .tclcon .f_links {
    height: 24px;
    line-height: 24px;
    background: var(--main-color);
    border: var(--back-color) solid;
    border-width: 2px 2px 2px 0;
    padding-left: 16px;
    font-weight: 600;
    width: fit-content;
}

#pun-index #pun-main table .tclcon .f_links a {
    font-size: 12px;
    margin-right: 16px;
}

/* C8.10 */
#pun-index #pun-main table .tc2, #pun-index #pun-main .tc3, #pun-index #pun-main .tcmod {
    display: none;
}

/* C8.11 */
#pun-index #pun-main table .tcr {
    width: 30%;
    display: grid;
    grid-template-columns: 60px auto;
    grid-template-rows: auto auto;
    margin: 0 20px;
    align-self: center;
    text-align: left;
}

/* C8.12 */
#pun-index #pun-main table .tcr .user-avatar {
    float: right;
    margin: 0 10px;
    width: 42px;
    height: 42px;
    grid-area: 1 / 1 / 3 / 2;
    align-self: center;
}

/* C8.13 */
#pun-index #pun-main table .tcr .user-avatar .avatar-image {
    border-radius: 0;
    width: 42px;
    height: 42px;
    transition: var(--anim);
}

/* C8.14 */
#pun-index #pun-main table .tcr .user-avatar .isonline {
    top: -3px;
    right: -3px;
    animation: none;
    background: var(--pink-color);
}

/* C8.15 */
#pun-index #pun-main table .tcr .lastpost-link {
    font-family: var(--main-font);
    text-transform: lowercase;
    font-weight: 600;
    font-size: 13px;
    grid-area: 1 / 2 / 2 / 3;
    width: fit-content;
    align-self: end;
}

/* C8.16 */
#pun-index #pun-main table .tcr br {
    display: none;
}

/* C8.17 */
#pun-index #pun-main table .tcr .lastpost {
    text-transform: lowercase;
    font-size: 12px;
    font-family: var(--main-font);
    grid-area: 2 / 2 / 3 / 2;
    line-height: 18px;
    align-self: start;
    color: var(--text-color);
}


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
    display: none;
}



/* 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;
  }

/* D2.6 */
#pun-pagelinks li a span {
  display:block;
  margin: 0 1em
  }

/* D3 Forum navigation and header
-------------------------------------------------------------*/

/* D3.1 */
#pun-navlinks {
    border-style: none;
    height: 34px;
    line-height: 34px;
    margin: -178px 0 144px;
}

.punbb-admin #pun-navlinks {
    margin: 0;
}

/* D3.2 */
#pun-navlinks .container {
    text-align: center;
    height: 34px;
}

/* D3.3 */
#pun-navlinks li {
    display: inline;
    padding: 0 14px;
}

/* D3.4 */
#pun-navlinks li a {
    font-size: 16px;
    font-family: var(--main-font);
    text-transform: uppercase;
    color: var(--blue-color);
    font-weight: 600;
}

/* D3.5 */
#pun-navlinks li a:hover {
    color: var(--pink-color);
}

/* D3.6 */
#forum-header {
    height: 240px;
    background: var(--back)no-repeat fixed center top, var(--back-color);
    background-size: cover;
    display: grid;
    grid-template-columns: 610px 390px;
    grid-template-rows: 60px 42px 84px 54px;
}

#forum-header #forum-name {
    grid-area: 1/1/2/2;
    font-family: var(--dec-font);
    text-transform: uppercase;
    font-size: 80px;
    overflow: hidden;
    line-height: 72px;
    color: var(--blue-color);
    margin-left: 22px;
    letter-spacing: 1.6px;
}

#forum-header #wanted {
    display: flex;
    grid-area: 1/2/2/3;
    margin-right: 22px;
    justify-content: space-between;
    overflow: hidden;
}

#forum-header #wanted a {
    width: 80px;
    height: 60px;
}

#forum-header #wanted a img {
    border: var(--main-color) solid;
    border-width: 1px 1px 0;
    width: 59px;
    height: 59px;
    object-fit: cover;
    filter: contrast(0.4) saturate(0.8);
    transition: var(--anim);
}

#forum-header #wanted a:hover img {
    filter: contrast(1) saturate(1);
}

#forum-header #header-table {
    grid-area: 2/1/5/3;
    border: var(--main-color) solid 2px;
    background: var(--back) no-repeat;
    background-size: 150%;
    background-position-y: 45%;
    background-position-x: center;
}

#forum-header #best-post {
    grid-area: 3/1/4/2;
    margin: 0 22px;
    background: var(--main-tr);
    padding: 8px 20px;
    overflow: auto;
    font-family: var(--main-font);
    color: var(--blue-color);
    font-size: 12px;
    line-height: 15px;
}

#forum-header #best-post a {
    color: var(--pink-color);
    font-size: 14px;
    font-family: var(--dec-font);
}

#forum-header #best-post a:hover {
    color: var(--blue-color);
}

#forum-header #table-right {
    grid-area: 3/2/4/3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 22px 0 0;
}

#forum-header #table-right div {
    height: 20px;
    background: var(--main-tr);
    font-size: 12px;
    padding: 2px 8px;
    font-family: var(--main-font);
    box-sizing: border-box;
}

#forum-header #table-right div span {
    font-family: var(--dec-font);
    font-size: 14px;
    color: var(--blue-color);
}

#forum-header #table-right div a {
    font-weight: 700;
}

#forum-header #navigation {
    grid-area: 4/1/5/2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
}

#forum-header #navigation a {
    font-family: var(--main-font);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
}

#forum-header .playerNode {
    grid-area: 4/2/5/3;
    margin: 8px 22px 0 0;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks  {
    margin: 0;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--back) no-repeat center top fixed;
    background-size: cover;
}

/* D4.2 */
#pun-ulinks .container {
    border: none;
}

/* D4.3 */
#pun-ulinks li {
    display: inline;
    border: none;
}

/* D4.4 */
#pun-ulinks li a {
    margin: 0 8px;
    text-transform: lowercase;
    font-family: var(--main-font);
    font-size: 12px;
    color: var(--menu-color);
    font-weight: 600;
}

/* D4.5 */
#pun-ulinks li a:hover {
    color: var(--pink-color);
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status {
    padding: 7px 22px;
    text-transform: lowercase;
}

/* D5.2 */
#pun-status .container {
    text-align: left;
    font-family: var(--main-font);
    font-size: 12px;
    color: var(--text-color);
}

/* D5.3 */
#pun-status span {
    white-space: nowrap;
    margin-right: 0.5em;
    -webkit-text-size-adjust: 100%;
}

/* D5.4 */
#pun-status .status-right {
    display: none;
}

/* D5.5 */
#pun-crumbs1 {
    font-weight: bold;
    overflow: hidden;
    padding: 7px 22px;
}

/* D5.6 */
#pun-crumbs1 p.container {
    text-align: left;
    font-family: var(--main-font);
    font-size: 12px;
    -webkit-text-size-adjust: 100%;
    color: var(--text-color);
}

/* D5.7 */
#pun-break1, #pun-break2, #pun-break3, #pun-break4 {
    display: none;
  }


/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement {
    padding: 20px 22px;
}

/* D6.2 */
#pun-announcement h2 {
    display: none;
}

/* D6.3 */
#pun-announcement .container .html-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* D6.4 */
#pun-announcement .container a {
    width: 160px;
    height: 36px;
    background: var(--blue-color);
    color: var(--input-color);
    font-size: 10px;
    font-family: var(--main-font);
    padding: 8px 0;
    box-sizing: border-box;
    text-transform: lowercase;
    text-align: center;
}

/* D6.5 */
#pun-announcement .container a p {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* D6.6 */
#pun-announcement .container a:hover {
    background: var(--pink-color);
}


/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats {
    padding: 7px 22px;
}

/* D7.2 */
#pun-stats h2 {

}

/* D7.3 */
#pun-stats .container {
    padding: 0 0 12px
}

/* D7.4 */
#pun-stats .statscon {
    background: var(--menu-color);
    color: var(--text-color);
    outline: var(--border-color) 2px solid;
}

/* D7.5 - block by script */
#pun-stats .stats-block {
    display: flex;
    font-family: var(--main-font);
    padding: 12px 100px 7px;
    font-size: 11px;
    line-height: 13px;
    justify-content: space-between;
    text-transform: lowercase;
}



/* D7.7 */
li#onlinelist {
    border: none;
    margin: 5px 15px 0;
    font-family: var(--main-font);
    font-size: 11px;
    line-height: 13px;
    text-align: left;
    -webkit-text-size-adjust: 100%;
    text-transform: uppercase;
}

/* D7.8 */
li#onlinelist div {
    padding: 6px 0 0 0;
}

/* D7.9 */
li#onlinelist div a {
    font-weight: 600;
}

/* 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: 90px;
    margin-bottom: -100px;
}

/* D8.4 */
#pun-about .container {
    text-align: center;
    height: 12px;
}

/* D8.5 */
#pun-about p span {
    display: block;
    font-family: var(--main-font);
    color: var(--text-color);
}

/* D8.6 */
#pun-about p span a {
    color: var(--menu-color);
}

/* D8.7 */
#pun-crumbs2 {
    margin: 0;
    font-weight: bold;
    overflow: hidden;
    padding: 7px 22px 12px;
    text-align: left;
}

/* D8.8 */
#pun-crumbs2 .container {
    font-family: var(--main-font);
    font-size: 12px;
    -webkit-text-size-adjust: 100%;
    color: var(--text-color);
}

/* D8.9 */
div.punbb-admin #pun-about .container {
  border-top-style: solid;
  border-top-width: 1px;
  }

/* D8.10 */
#html-footer {
    background: var(--back) no-repeat bottom center;
    background-size: cover;
    border: var(--main-color) 2px solid;
    padding: 14px 22px;
}

/* D8.11 */
#html-footer .container {
    margin: 0 auto;
    border: none;
}

/* D8.12 */
#html-footer .container #banners {
    height: 50px;
    overflow: auto;
    text-align: justify;
    padding-right: 10px;
}

/* D8.13 */
#html-footer .container #banners img {
    opacity: 0.5;
    transition: var(--anim);
    filter: grayscale(1);
    margin-bottom: 3px
}

/* D8.14 */
#html-footer .container #banners img:hover {
    opacity: 1;
    filter: 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;
  }

div#pun-live-rusff {
    display: none;
}

#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner {
    background: var(--main-color);
}