/*************************************************************
A - SETUP
**************************************************************/

/* A1 Import the colour scheme
-------------------------------------------------------------*/

/* A1.1 */
  @import url(style_cs.1769610534.css);
  @import "https://forumstatic.ru/files/0010/a8/ca/42983.css";
@import url('https://fonts.googleapis.com/css?family=Abel|Abril+Fatface|Alegreya+Sans+SC|Allerta+Stencil|Amatic+SC|Arizonia|Arvo|Bangers|Cabin+Sketch|Caveat|Chewy|Cinzel|Concert+One|Cormorant+Unicase|Francois+One|Fredericka+the+Great|Gaegu|Gamja+Flower|Gloria+Hallelujah|Hi+Melody|Indie+Flower|Julius+Sans+One|Kaushan+Script|Krona+One|Limelight|Lobster|Merriweather|Nanum+Brush+Script|Nothing+You+Could+Do|Open+Sans|Open+Sans+Condensed:300|PT+Sans|Pacifico|Permanent+Marker|Playfair+Display|Playfair+Display+SC|Prata|Questrial|Raleway|Reenie+Beanie|Roboto+Condensed|Shadows+Into+Light|Six+Caps|Song+Myung|Special+Elite|Spirax|Teko|Ubuntu|Ultra|Yanone+Kaffeesatz|Alex+Brush|Dancing+Script|Dawning+of+a+New+Day|Great+Vibes|Jura|Sail|Satisfy|UnifrakturMaguntia|Zilla+Slab+Highlight');
@import url('https://fonts.googleapis.com/css?family=EB+Garamond:400,400i,500,500i,600,600i,700,700i,800,800i&subset=cyrillic,cyrillic-ext,latin-ext');

  @font-face {font-family: Franklin Gothic Heavy; 
src: local("Franklin Gothic Heavy"), url(https://forumstatic.ru/files/0010/a8/ca/92110.ttf);}

@font-face {
font-family: 'Intro';
font-style: normal;
font-weight: normal;
src: local('Intro'), url('https://forumstatic.ru/files/0019/34/94/34318.woff') format('woff');}

@font-face { font-family: icon; 
src: local("icon"), url(https://forumstatic.ru/files/0017/c0/20/82953.ttf); }

@font-face { font-family: Segoe Ui; 
src: local("Segoe Ui"), url(https://forumstatic.ru/files/0017/c0/20/61080.ttf); }

  @font-face {
    font-family: 'Icons';
    src: local('Icons'), url('https://forumstatic.ru/files/001b/67/90/67409.woff') format('woff');
    font-weight: light;
    font-style: normal;
}

@font-face {
font-family: 'PortRegular';
font-style: normal;
font-weight: light;
src: local('Port Regular'), url('https://forumstatic.ru/files/0015/44/02/83343.woff') format('woff');}


/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html, body {margin: 0; padding: 0 10px;}

/* A2.2 */
.punbb {
    width: 970px;
    margin: 0 auto;
  }

#pun-main {
    margin: 0px;
}

#pun-index .category table  thead {
display:none;
}

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
    list-style: none;
  }

dd {
    margin: 0;
}

/* A2.4 */
.punbb img {
  border:none
  }

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  /*background: url(https://i.imgur.com/HGXvHZt.png);*/
/*  border-radius: 20px;*/
  /*margin-left: 2.5%;*/
  }

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}

/* A2.7 */
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;
  }



/* 3.3 */

/*
 .punbb optgroup{
    background-color: #75391f!important;
}*/

/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4 {
  font-size: 10px;
  font-weight: normal;
  }

.punbb table, .punbb th {
  font-weight: normal;
  }

/* A3.5 */
.main h2 span {
    font-family: verdana;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--primary-text-color);
    letter-spacing: 0.7px;
    margin-left: 5%;
}

.main h1 span {
    font-family: verdana;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--primary-text-color);
    letter-spacing: 0.7px;
    margin-left: -2%;
    display: block;
    width: 1030px;
    /*background-color: var(--third-background-color);*/
    height: 24px;
    padding-top: 4px;
    /*border-bottom: 2px solid var(--primary-border-color);*/
}

#pun-reputation div.inner.post_reputation h1 span{
margin-left: -20%!important;
}

.category h2 span {
    color: var(--headers-text-color);
    font-size: 50px;
    text-transform: lowercase;
    font-weight: 400;
    /* background-color: var(--third-background-color); */
    /* width: 1020px!important; */
    margin-left: -0%!important;
    text-align: left;
    /* padding-right: 20px; */
    border-top: 4px solid var(--primary-border-color);
    font-family: var(--headers-font);
    letter-spacing: 4px;
}

.punbb legend span {
    font-size: 13px;
    font-weight: 900;
    font-family: Arial;
}

/* 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
  }

.post-content table {
    border-collapse: separate !important; 
    border-spacing: 1px;
}

.post-content td {
    border-width: 0px !important;
}

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* 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 {
    margin-top: 310px;
    margin-bottom: 120px;
    padding: 0px 0px 0px 0px;
}

/* A5.2 */
.punbb {
  float: none;
  height: auto;
  }

/* Переадрессация */
/* A5.3 */
#pun-redirect {
    margin: auto;
    padding: 0;
    left: 0;
    right: 0;
    top: 100px;
    bottom: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    background: var(--background-image)!important;
  }

#pun-redirect #pun-main .info {
    margin-left: 25%;
    width: 50%;
    border-bottom: 5px solid var(--primary-border-color);
    padding: 25px 0px 25px 0px;
    margin-top: -40px;
    background: var(--primary-background-color);
    /* border-radius: 0 0 40px 0;*/
}

#pun-redirect h1 span {
    color: var(--primary-text-color)!important;
    letter-spacing: 2px!important;
    font-size: 40px;
    border: none!important;
  }

#pun-redirect h1 {
    height: 44px!important;
    margin-left: 25%;
}

#pun-redirect #pun-main .info  a {
    color: var(--links-text-color)!important;
  }

#pun-redirect #pun-main .info  a:hover {
    color: var(--visited-links-color)!important;
  }

/* A5.4 */
.punbb .section, .punbb .main {
  margin-bottom: 1em;
  }

/* A5.5 */
.punbb .category, .punbb .post {
  margin-top: 0.4em;
  }

/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
  margin-top: 0;
  }

/* 5.7 */
#pun-post .topic {
  margin-top: 1em;
  }

/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-style: none none none none;
  border-width: 0px 0px 0px 0px;
  }

/* A5.9 */
.punbb .container {
  border-style: none;
  border-width: 0px;
  }

/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
    padding: 0.7em 0;
    border-style: none none none none;
    border-width: 0 0px 0px 0;
    height: 24px;
    font-weight: bold;
   /* margin-left: -13%;
    margin-top: 2%; */
    width: 970px;
  }


/*************************************************************
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;
  margin-top: -1.5em;
  }

/* B1.2 */
.punbb .post-sig dt {
    display: block;
    text-align: center;
    width: 70%;
    margin-left: 140px;
    margin-bottom: 5px;
      }

img.sigimage {
    max-height: 140px;
}

/* B1.3 */
.punbb .post-content p {
  margin: 0;
  padding: 0 0 1em 0;
  line-height: 150%;
  color: var(--primary-text-color);
  }

/* 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;
  padding-top: 6px;
  }

.punbb .post-content blockquote p{
color: var(--primary-text-color)!important;
}

.punbb .post-content .blockcode pre{
color: var(--primary-text-color)!important;
}

/* B1.7 */
.punbb .post-content .scrollbox {
  width: 100%;
  overflow: auto;
  color: #000;
  }

/* B1.8 */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 0.4em 1.8em 1.4em 1.8em;
  padding: 1em;
  }

/* Вложенные цитаты и код, чтобы не сливалось */
.quote-box .quote-box, .quote-box .code-box {
  border-left: 4px solid var(--primary-border-color);
}

/* B1.9 */
.punbb .quote-box cite, .punbb .code-box strong.legend {
    display: block;
    font-size: 14px;
    padding: 2px 5px 5px 8px;
    letter-spacing: 0.4px;
    font-style: normal;
    color: var(--primary-text-color);
    text-transform: lowercase;
    text-align: left;
    font-family: verdana;
    /*border-bottom: 1px solid (--primary-border-color);*/
    max-width: 100%;
    background-color: var(--primary-background-color);
}

.punbb .quote-box cite a, .punbb .code-box strong.legend a {
    color: var(--primary-text-color)!important;
}

.punbb .quote-box cite a:hover, .punbb .code-box strong.legend a:hover {
    color: var(--visited-links-color)!important;
}

punbb .code-box strong.legend{
    margin: -5px 0 5px 420px;
}

.code-box a {
    font-size: 12px;
}

/* 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 {
  float: left;
  position: relative;
  width: 100%;
  font-size: 1.1em;
  height: 15px;
  margin-top: 25px;
  }

/* B3.2 */
.multipage {
  margin-top: 1em;
  }

/* B3.3 */
.linkst .pagelink {
    position: absolute;
    top: -2em;
    left: 4em;
    width: 24em;
/*    text-transform: uppercase;
    font-size: 13px;*/
    color: var(--primary-text-color);
    font-family: verdana;
}

.pagelink a {
    font-family: trebuchet ms;
}

.pagelink strong {
  font-weight: bold;
  color: var(--primary-text-color);
  font-size: 13px;
}

/* B3.4 */
.linkst .postlink {
  position: absolute;
  top: -2em;
  right: 2em;
  width: 16em;
  text-align: right;
  font-weight: bold;
  }

/* B3.5 */
.punbb .linksb {
  text-align: right;
  padding: 0.4em 1.5em 0.5em 1em;
  font-size: 1.1em;
  }

/* B3.6 */
.linksb .pagelink {
  float: left;
  width: 24em;
  text-align: left;
  color: var(--primary-text-color);
  }

/* B3.7 */
.linksb .postlink {
  float: right;
  width: 16em;
  font-weight: bold
  }

/* B3.8 */
.subscribelink {
  clear:both;
  padding-top: 0.3em;
  padding-bottom: 0.5em;
  }

/*************************************************************
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-style: solid;
  border-width: 1px;
  padding: 0 18px 0 18px;
  margin: 0 0 1em 0
  }

/* C1.5 */
.punbb fieldset legend {
  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;
    font-family: verdana;
    font-size: 10px;
    text-transform: uppercase;
}

/* C1.7 */
.punbb fieldset fieldset {
  border-style: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.8 */
.punbb .fs-box {
  padding: 1em 0 0.8em 0;
  width: 96%;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
    padding: 0 0 0.8em 0;
    margin: 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;
  /*background-color: #ededed30;*/
  border-left: 6px solid var(--primary-border-color)!important;
  font: 1em verdana, arial, helvetica, sans-serif;
  transition-duration: 0.5s;
  outline: none;
  padding: 5px;
}


/* 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
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
  overflow: hidden;
  text-align: left!important;
  width: 52%;
/* было 40 */
  }

#pun-index .main .tcl {
  overflow: hidden;
  text-align: left!important;
  width: 52%;
}

/* C2.2 */
#pun-index .main .tc2, #pun-index .main .tc3 {
  display: none;
  }

#pun-viewforum .tc2, #pun-viewforum .tc3, punbb .main .tcmod {
  background-color: transparent;
  text-align: center;
  width: 7%;
  }

/* C2.3 */
.punbb .main .category .tcr {
    text-align: left;
}

#pun-index .main .tcr {
background-color: transparent;
  overflow: hidden;
  text-align: left!important;
/*  padding-right: 5px; */
  width: 30%;
  font-family: verdana;
  padding-left: 3%;
}

#pun-index .main a:hover {
  font-style: normal!important;
}

.punbb .main .tcr {
  background-color: transparent;
  overflow: hidden;
  text-align: right!important;
/*  padding-right: 5px; */
  width: 30%;
  font-family: verdana;
  padding-left: 2%;
  padding-right: 2%;
  }

.punbb .main .tcr a {
    font-family: verdana;
    /*text-transform: uppercase;*/
    font-size: 11px;
    font-weight: normal;
}
/* C2.4 */
#pun-userlist .main .tcl,
#pun-modviewforum .main .tcl {
background-color: transparent;
  width: 30%
  }

#pun-searchtopics .main .tcl, {
background-color: transparent;
  width: 20%
  }

/* C2.5 */
#pun-userlist .main .tc2, {
background-color: transparent;
  text-align: center;
  width: 20%;
  }

#pun-searchtopics .main .tc2 {
background-color: transparent;
  text-align: center;
  width: 15%;
  }

/* C2.6 */
#pun-debug table .tcl {
background-color: transparent;
  width: 15%;
  white-space:normal;
  }

/* C2.7 */
#pun-debug .tcr {
background-color: transparent;
  width: 90%;
  white-space: normal;
  }

/* C2.8 названия подфорумов*/ 
#pun-index .tcl h3 {
    padding: 3px 0px 3px 3px;
    /* width: 448px; */
    /* height: 7px; */
    font-size: 16px;
    text-align: center;
    text-transform: lowercase;
    position: relative;
    /* border-radius: 15px; */
    /* font-family: 'El Messiri'; */
    /*font-weight: 700;*/
    z-index: 50;
    letter-spacing: 1.2px;
    line-height: 12px;
    margin: 0 10px 10px 10px;
    width: 96%;
}

#pun-index .tcl h3 a {
    color: var(--links-color);
    text-weight: bold;
}

#pun-index .tcl h3 a:hover {
    color: var(--visited-links-color);
    filter: none;
    transition-duration: 0.5s;
    font-style: normal!important;

}

/* C2.9 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.10 */
.punbb td .modlist {
  padding-top: 0.3em
  }

/* C2.11 */
.punbb .main td {
  border-style: solid none none solid;
  border-width: 1px 0 0 1px;
  padding: 0.8em 0em;
  }

/* C2.12 */
.punbb .main th {
  border-style: none none none solid;
  border-width: 0 0 0 1px;
  padding: 0.4em 1em 0.4em 1em;
  }

/* C2.13 */
.punbb .main .tcl {
   
}

    * html .tclcon {height: 1px}

/* C2.14 */
#pun-index td div.tclcon {
font-size: 10px;
    line-height: 11px;
    padding-top: 7px;
    padding-bottom: 20px;
    /*padding-left: 10px;*/
}
  
/* C2.15 */
.punbb .category div.icon {
    position: absolute;
    height: 15px;
    width: 15px;
    background-size: 15px;
}

.punbb .category div.intd {
    position: relative;
    height: 100%;
    /*border: 2px solid var(--primary-border-color);*/
    background: var(--third-background-color);
    box-shadow: 1px 1px 5px var(--profile-shadow);
}

#pun-main .category div.icon {
    margin-top: 35px!important;
    margin-left: 155px;
}

#pun-messages.punbb div.icon{
  margin-top: 10px!important;
}

.punbb div.icon {
  float: left;
  display: block; 
  margin-right: 5px;
  }
  

 /* C3 Topics

-------------------------------------------------------------*/
#pun-title, #pun-navlinks {
  border-color: #1a0f0f ;
}

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3 {
  border-color:  transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
    border-style: none;
    border-width: 0;
  }

/* 10-07 */
.punbb .formal{
    padding-top: 20px;
    border-style: none;
    border-width: 0;
  }

/* CS2.3 */
.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent ;
  }


/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: transparent;

  }

/* CS2.5 */
.punbb th {
  border-color: transparent ;
  }


/* CS2.6 */

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;

  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent ;

  }

.punbb .divider {
  border-color: transparent;

  }

.punbb .info-box {
  border: 1px solid transparent ;

  }

/* правки от 10-07 */
.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid transparent ;
  margin-left: -30px!important;
  width: 104%!important;
  }

li.pa-online {
  border-left-color: transparent;
  /*margin-bottom: 15px;*/
  }

li.pa-replies {
    margin-bottom: 9px;
  }


/* C3.1 */
.punbb .post .container {
    background: var(--primary-background-color);
    width: 98%;
  }

/* C3.2 */
.punbb .post h3 {
  border-style: solid solid none solid;
  border-width: 1px;
  }

/* C3.3 */
.punbb .post h3 span {
    padding: 3em 1.9em 1em 2.2em;
    display: block;
    margin-left: -34px;
    font-size: 10px;
    margin-bottom: 40px;
    border-bottom: 1.8px solid var(--secondary-border-color);
   
  
  }

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
  }

/* C3.5 */
.punbb .post .post-author {
    float: left;
    width: 200px;
    margin-left: -90px!important;
    margin-top: -25px!important;
       }

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
    margin-top: 1px;
    width: 220px;
    padding: 0em 0em 1em 0em;
    line-height: 110%;
    padding-top: 5px!important;
    padding-bottom: 5px!important;
    border-left: 4px solid var(--primary-border-color);
    background-color: var(--third-background-color);
  }


/* C3.7 */
.pa-author {
    padding: 5px 0px 10px 0px!important;
    margin: 0px 0px 0px 0px;
    text-align: center!important;
    background: var(--primary-background-color);
}

.pa-author, .pa-author a {
    text-align: center!important;
    color: var(--profile-text-color)!important;
    font-size: 14px;
    margin-top: 5px;
    padding-bottom: 5px!important;
    padding-right: 3px!important;
    font-family: verdana;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    /* font-weight: bold; */
    line-height: 12px;
}

.pa-author a:hover {
  color: var(--primary-text-color)!important;
}

/* C3.8 Поля профиля*/

.pa-fld1 {
    letter-spacing: 6px;
    padding-top: 4px;
    padding-bottom: 4px;
    filter: var(--portfolio-filter);
}

.pa-fld1 img:hover{
   transform: scale(1.1);
}

.pa-fld2 {
   /*margin: 8px 5px 0 6px;*/
    /* margin: 5px 0px 0px 2.5%; */
    padding: 6px 10px 6px 10px;
    /* border-radius: 5px; */
    /* border-bottom: 2px solid var(--primary-border-color); */
    /* border-top: 2px solid var(--primary-border-color); */
    /* border-left: 2px solid var(--primary-border-color); */
    text-align: left;
    background-color: var(--primary-background-color);
    /* border: 1px solid #e8e8e8; */
    font-size: 10px;
    color: var(--primary-text-color);
    /* width: 88%; */
    width: 91%;
}

.pa-fld2 a {
   color: var(--links-color)!important;
}

.pa-fld2 a:hover {
     color: var(--visited-lins-color);
}

.pa-fld2:first-line {
    font-size: 10px !important;
    font-weight: 700;
}

.pa-fld4 {
    margin: -10px 0 0 0px;
}

.pa-fld3, .pa-posts {
    display: inline-block!important;
    position: relative;
    font-family: verdana;
    margin: 5px 2px 2px 0;
    width: 76px!important;
    text-transform: lowercase;
    font-size: 10px;
    text-align: center;
}

.pa-fld3 span.fld-name, .pa-fld5 span.fld-name{
     display: block;
     letter-spacing: 0.5px;
     padding-bottom: 1px;
}

.pa-posts a, .pa-respect span.fld-name {
  letter-spacing: 0.5px;
}

 /*.pa-respect {
    display: inline-block!important;
    font-family: verdana;
    margin: 5px 2px 2px 0;
    width: 76px!important;
    text-transform: lowercase;
    font-size: 10px;
    text-align: center;
}*/

.pa-fld5, .pa-respect {
     display: inline-block!important;
    font-family: verdana;
    margin: 5px 0 2px 5px;
    width: 76px!important;
    text-transform: lowercase;
    font-size: 10px;
    text-align: center;
}

.pa-posts, .pa-respect {
  line-height: 16px;
}

/*.pa-posts{
     display: inline-block!important;
    font-family: verdana;
    margin: 5px 0 2px 5px;
    width: 80px!important;
    text-transform: lowercase;
    font-size: 10px;
    text-align: center;
    margin-right: 10px;
}*/

.pa-avatar.item2{
   width: 95%;
   margin-left: 5px;
}

/* C3.9 */
li.pa-title {
    padding-bottom: 3px;
    padding-top: 2px;
    margin-left: 5px;
    margin-bottom: 5px;
    padding-left: 5px;
    letter-spacing: 1px;
    font-weight: normal;
    font-family: verdana;
    font-size: 9px;
    text-transform: lowercase;
    background: transparent;
    text-align: center;
    margin-right: 10px;
    color: var(--primary-text-color);
}


li.pa-online {
    line-height: 0.8em;
    margin: 10px 0px 12px 0px;
    text-transform: uppercase;
    font-size: 9.2px;
    font-family: verdana;
    color: var(--profile-text-color);
    letter-spacing: 1px;
}

li.pa-last-visit {
    margin: 7px 0 12px 0;
    font-family: verdana;
}

li.pa-awards {
    margin: 6px 0 0 0;
    text-align: center;
    font-family: trebuchet ms;
}

/* C3.11 */
.punbb .post-body {
  margin-left: 22em;
  border-left-style: solid;
  border-left-width: 1px;
  padding: 0 0 1px 0;
  }

/* C3.12 */
.punbb .post-box {
  padding: 36px 25px 25px 25px;
  width: 110%;
  margin-left: -15%;
  }

/*C3.13 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.14 */
.punbb .post-links {
  margin-left: 19em;
  border-left-style: solid;
  border-left-width: 1px;
  }

/* C3.15 */
.punbb .post-links ul {
  padding: 0 10px 0 10px;
  margin-left: -225px;
  border-top-style: solid;
  border-top-width: 1px;
  width: 1015px;
  background: transparent;
  text-align: right;
  }

/* C3.16 */


.punbb .post-links li {
  display: inline;
  padding-left: 0.8em;
  }

/* C3.17 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.18 */
.punbb .clearer {
  clear: both;
  height: 0;
  font-size: 0;
  }


/* 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 2em
  }

/* 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-bottom: 0.8em;
  font-weight: bold;
  }

/* C6.4 */
#viewprofile ul {
  border-style: solid;
  border-width: 1px;
  padding: 1.5em 18px 0.8em 18px;
  margin: 0 0 1em 0;
  }

/* -------- ССЫЛКИ ВНУТРИ ПРОФИЛЯ ----- */
#profilenav ul {
  border-style: solid;
  border-width: 1px;
  /*padding: 1.5em 18px 0.8em 18px;*/
  padding: 1.5em 18px 0.8em 0px;
  margin: 10px 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;
  text-align: right;
  }

/*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: normal;
  }

/* 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 1.5em 2.3em 1.5em;
  border-top: none;
  }

/* C7.3 */
#pun-userlist .usertable table {
  border-style: solid;
  border-width: 1px;
  }


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
  margin-top: -280px;
  border-style: none none none none;
  border-width: 0px 0px 0 0px;
  position: absolute;
  height: 250px;
}

/* D1.2 */
#pun-title h1 {
  display : block;}

/* D1.3 */
#pun-title .container {
  border-style: none none none none;}


/* D1.4 */
#pun-title h1 span  {
  display: none;}

#pun-title h1 span  {
  font-size: 1.5em;}


/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: 55px;
  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 {
    display: block;
    position: absolute;
    margin-top: -295px;
    text-align: left!important;
    font-family: 'Yeseva One';
    text-transform: uppercase;
    width: 300px;
    margin-left: 400px;
    color: var(--links-color)!important;
     -ms-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
     -webkit-text-size-adjust: 100%;
}

#pun-navlinks li>a:after {visibility: visible!important; transition: 0.5s;}

#pun-navlinks li:hover>a:after { color: var(--visited-links-color); transition: 0.5s; opacity: 0.7; font-style: normal!important;}

/* D3.2 */
#pun-navlinks .container {
  padding: 0.2em 1em;
  padding-top: 0px;
  margin-left: -510px;
  margin-top: 50px;
  line-height: 24px;
  width: 22px;
  display: inline-block;
  color: var(--links-color)!important;
}




/* D.3 */
#pun-navlinks li {
  /*display: inline;*/
  padding-right: 1em;
  }


/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
    position: absolute;
    width: 815px;
    height: 10px;
    margin-top: -325px;
    margin-left: 0px;
    font-size: 8px;
    letter-spacing: 1px;
    text-align: right;
  }

/* D4.2 */
#pun-ulinks .container {
    text-transform: lowercase;
    padding: 0px;
}

#pun-ulinks .container li.item5 {
  display: none;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  border-left-style: solid;
  border-left-width: 1px;
  white-space: nowrap;
  }

/* D4.4 */
#pun-ulinks li a {
  padding: 0 0.3em 0 0.6em
  }

/* 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 */
/* D5.1 */
#pun-status, #pun-status .container {
  border-bottom: none;
  padding-top: 10px;
  margin-bottom: 0;
  }

/* D5.2 */
#pun-status .container {
  padding: -0.3 em 1em 1em 1em;
  margin: 10px 0px 0px 10px;
  }

/* 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;
  }

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border-style: solid none;
  border-width: 1px 0;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  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: 0em 0em 0em 0em;
    line-height: 1.1;
    text-align: center;
    margin-top: 10px;
}


/* D7 Statistics
-------------------------------------------------------------*/

/* D7.1 */
#pun-stats .container {
  padding: 0.8em 1em
  width: 94%;
  margin-left: 15px;
  }

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
  display: inline-block;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 150%;
  clear: none;
  padding: 10px 15px;
  margin-right: 5px;
  margin-left: 5px;
  background-color: var(--third-background-color);
  color: var(--primary-text-color)!important;
  }

#pun-stats li.item4 a, #pun-stats li.item4 a:hover {
color: var(--visited-links-color)!important;
}

#pun-stats li.item1, #pun-stats li.item3{
width: 17%;
}

#pun-stats li.item2{
width: 20%;
}

#pun-stats li.item4 {
width: 27%;
}


/* D7.3 */
/*#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
  clear: none;
  padding: 10px 15px;
  margin-right: 40px;
  border-radius: 32px 0;
  background-color: var(--third-background-color);
  border-bottom: 2px solid var(--primary-border-color);
  }*/

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  margin-left: 5px;
  border-top-style: solid;
  border-top-width: 1px;
  float: left;
  width: 96%;
  line-height: 130%;
  text-align: justify;
  }

/* D7.5 */
li#onlinelist div {
  border-top-style: solid;
  border-top-width: 1px;
  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: 180px;
  margin-bottom: -234px;
  margin-left: 5px;
  }

/* D8.4 */
#pun-about .container {
  border-top-style: none;
  text-align: center;
  line-height: 150%;}

/* D8.5 */
#pun-about p span {
  padding-left: 50%;
  margin-top: -200px;
  }

/* D8.6 */
#pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: none;
  }

/* D8.7 */
#pun-crumbs2 .container {
  border-bottom: none;
  padding: 0.8em 1em;
  font-size: 1.1em;
  }

/* D8.8 */
#pun-break4 {
  margin: -2px 1em;
  border-style:  none;
  border-width: 0px 0;
  position: relative;
  height: 0;
  z-index: 1;
  }



/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border-bottom-style: none;
  border-bottom-width: 0px;
  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: none;
  border-bottom-width: 0px;
  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;
  }

blockquote {
    margin: 0;
}

/* отключаем награды */
#pun-navlinks #navawards{display:none;}

 .leftimg {
    float:left; /* Выравнивание по левому краю */
    /* margin: 7px 7px 7px 0; Отступы вокруг картинки */
   }


   .rightimg  {
    float: right; /* Выравнивание по правому краю  */ 
    margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
   }

.tooltip {
    position: relative;
    display: inline-block;
    margin-right: 5px;
}
.tooltip em {
    display: inline;
    transform: scale(0);
    transition: all 0.5s ease-in-out 0s;
    opacity: 0;
    color: #333;
    font-family: arial !important;
    font-size: 10px !important;
    font-style: normal;
    line-height: 12px;
    left: -125px !important;
    padding: 5px;
    position: absolute;
    overflow-y: hidden;
    width: 150px;
    top:16px;
    border-radius: 24px 0!important;
    text-align: center;
}

.tooltip:hover em {
    top: 16px;
    background: var(--third-background-color);
    color: var(--visited-links-color);
    font-family: verdana !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-style: normal;
    border-radius: 0!important;
    font-weight: 500;
    left: -125px !important;
    padding: 5px;
    position: absolute;
    overflow-y: hidden;
    width: 150px;
    z-index: 99;
    transform: scale(1);
    opacity: 1;
    transition: all 0.5s ease-in-out 0s;
}

.tooltip:hover em img {
    border-radius: 0!important;
}

.tooltip a {
    letter-spacing: 1px;
    color: var(--primary-text-color)!important;
    font-family: verdana;
    opacity: 100%;
    font-size: 9px;
    text-transform: lowercase;
    display: block;
    text-align: left;
    line-height: 13px;
}

.tooltip a:hover {
color: var(--primary-text-color)!important;
}

/*
.tooltip a:before {
    content: '•';
}
*/

.headerImg {
    position: absolute;
    z-index: 2;
}

.headerImg img{
    margin-right: -1px;
    opacity: 1;
    transition: ease 1s;
    filter: contrast(0.65) brightness(1) grayscale(1);
}

.headerImg img:hover{
    opacity: 1;
    transition: ease 1s;
    filter: none;
}

.headerImg a:hover{
    filter: none!important;
}

.headerLinks a, .headerLinks a:visited {
    color: var(--header-links)!important;
    letter-spacing: 1px;
    font-family: sans-serif;
    opacity: 100%;
    font-size: 8px;
    text-transform: lowercase;
}

.headerLinks a:hover {
   color: var(--header-links-visited)!important;
}

.headerLinks a:focus, .headerLinks a:active  {
   color: var(--header-links-visited)!important;
}

/* отключение rss-atom*/
.modmenu .container span {display: none;}


/* запятая между ников в теме */
#topic-users-in a:after {content: ','; font-size: 13px;}
#topic-users-in a:last-child:after {display: none;}



/*------------ КОД СИРИУС И АСТАРТА ------------------*/

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'Icons', 'Icons' !important;
  speak: never;
  font-style: normal;
  font-weight: light;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#pun-messages #form-buttons table {
    display:inline-table;
}

.punbb-admin div#form-buttons table tr > td {
   width:unset;
}

div#form-buttons table tr > td {
    border: 1px solid #0000;
    border-radius: 3px;
    background-image:none!important;
    width: auto;
    height: 40px;
    position: relative;
    transition: 0.2s ease-in-out;
}

#form-buttons table {
   border-spacing: 0px 10px;
}

#form-buttons td img {
    z-index: 10;
    position: absolute;
    opacity: 0;
    margin-top: -19px;
    margin-left: -7px;
    width: 15px!important;
    height: 100%;
}

#form-buttons td:hover,
#post-form td#button-files_rusff:hover,
#post-form td#button-graffiti_rusff:hover {
   /* background: #f4f1e9!important;
    border: 1px solid #7cc577;
    box-shadow: 0 0 4px #a09c94;*/
}

#form-buttons td:hover:before {
   color:var(--primary-text-color);
}

td#button-font:before,
td#button-size:before,
td#button-bold:before,
td#button-italic:before,
td#button-strike:before,
td#button-underline:before,
td#button-indent:before,
td#button-floatbut:before,
td#button-my:before,
td#button-left:before,
td#button-center:before,
td#button-right:before,
td#button-link:before,
td#button-spoiler:before,
td#button-image:before,
td#button-artp:before,
td#button-video:before,
td#button-hide:before,
td#button-quote:before,
td#button-code:before,
td#button-html:before,
td#button-color:before,
td#button-table:before,
td#button-smile:before,
td#button-sticker:before,
td#button-keyboard:before,
td#button-addition:before,
td#button-files_rusff:before,
td#button-graffiti_rusff:before,
td#floatbut:before,
td#button-mask:before {
    width: 100%;
    max-height: 40px;
    margin-top: -8px;
    font-family: Icons;
    font-size: 16px;
    display: block;
    color: var(--primary-text-color);
    text-align: center;
    vertical-align: middle;
    position: absolute;
    z-index: 0;
}

td#button-font:before {
    content: '\f031';
}

td#button-size:before {
    content: '\f034';
}

td#button-bold:before {
    content: '\f032';
}

td#button-italic:before {
    content: '\f033';
}

td#button-indent:before {
    content: '\f03c';
}

td#button-my:before {
    content: '\f013'; 
   } 

td#button-floatbut:before {
    content: '\f6d3';
}

td#button-underline:before {
    content: '\f0cd';
}

td#button-strike:before {
    content: '\f0cc';
}

td#button-left:before {
    content: '\f036';
}

td#button-center:before {
    content: '\f037';
}

td#button-right:before {
    content: '\f038';
}

td#button-link:before {
    content: '\f0c1';
}

td#button-spoiler:before {
    content: '\f518';
}

td#button-image:before {
    content: '\f083';
}

td#button-artp:before {
   content: '\f03e';
}

td#button-video:before {
    content: '\f03d';
}

td#button-hide:before {
    content: '\f023';
}

td#button-quote:before {
    content: '\f10d';
}

td#button-code:before {
    content: '\f121';
}

td#button-html:before {
    content: '\f1c9';
}

td#button-color:before {
    content: '\f1fb';
}

td#button-table:before {
    content: '\f0ce';
}

td#button-smile:before {
    content: '\f118';
}

td#button-sticker:before {
    content: '\ea76';
}

td#button-keyboard:before {
    content: '\f11c';
}

td#button-addition:before {
    content: '\f161';
}

td#button-files_rusff:before {
    content: '\f07c';
}

td#button-graffiti_rusff:before {
    content: '\f1fc';
}

td#floatbut:before{
    content: '\f1fe';
}

td#button-mask:before{
   content: '\f630';
}

#form-buttons td#button-sticker {
    width:4%;
}

.icons-search:before {
    font-family:'Icons';
    content:'\e986';
    font-size: 16px;
}

ul.tabs li.tab-current a{
   color: var(--primary-text-color)!important;
}

#imgNIK-SIG {
   margin-top: -49px!important;
   margin-left: 100%!important;
}

#form-buttons{
margin-bottom: -15px;
}
