/***************************************
A - SETUP
***************************************/

/* A1 Import the colour scheme
------------------------------------------------------*/
/* A1.1 */
  @import url(style_cs.1629483290.css);


/* A2 Deal with browser defaults and wonkiness
------------------------------------------------------*/

.pl-reports  {display:none!important;}

.pa-gifts {display:none!important;}

.topic a.sharelink {display:none!important;}

.quote-box img {
    max-width: 600px;
}


.pun-ulinks li.item7{
          display:none;
        }

/*заполнение профиль*/
li.pa-fld1 {
text-align: center;
    color: #d6a96b;
    position: relative;
    top: 0px;
    font-size: 11px;
    font-family: tahoma;
    line-height: 1.4;
    margin-top: 6px;
    margin-bottom: 6px;
  text-shadow: 1px 1px 2px #000;

}

li.pa-fld1 a{
  text-transform: uppercase;
  font-weight: bold;
  color: #fce392!important;
}

li.pa-fld1 a:hover{
  text-transform: uppercase;
  font-weight: bold;
  color: #fce392!important;
  text-shadow: 0px 0px 5px #000;
}

.pun-modal .modal-inner {
    width: 780px;
/*ширина блока*/
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    box-shadow: 0 0 14px rgba(0,0,0,.3);
    position: relative;
    z-index: 120000;
    overflow: hidden;
    background-color: #c2875b; }


#font-area {height: 300px;
    overflow: auto;}

#main-reply {width: 100%;
    height: 200px;}

#mbheader {
    width: 0px!important;
    height: 0px!important;
    position: relative;
}

/*бэк шапки и бэк самого форума */
/* A2.1 */
body, html {
    background: #000000 url(http://forumstatic.ru/files/001a/84/9f/52010.jpg) repeat-y 50% 00%;
}


#pun-admain .adcontainer th, #pun-admain .adcontainer td, .adcontainer, .adformal {
  border: none!important;
  background-color: transparent!important;
  }


#profile-right {
  text-align: left!important;
  }

#pun-live-rusff, .pl-share, #pun td .modlist {
  display: none!important;
  }

.lastedit {
  display: none;
  }

#post-preview {
  width: 97%;
  margin: 0px 4px 10px;
  padding: 0!important;
  }

#form-buttons {
  width: 100%;
  margin: 15px auto 0;
  }

/*админка*/

#pun-admain  {
    z-index: 5002;
}

#pun-admain .adinput {
  padding-top:5px!important;
  }

#pun-admain fieldset .adfs-box {
  padding: 10px!important;
  }

#pun-admain fieldset p {
  border-top: none!important;
  border-left-width: 190px!important;
  border-left-color: transparent!important;
  border-bottom: none!important;
  border-right: none!important;
  background-color: transparent!important;
  }

.punbb input {
  padding: 3px;
  }

.punbb input[type='radio'] {
  background:none!important;
  }

#pun-status span.item1 {
  margin: 0px 0px 0px 0px;
  display: inline;
  padding-left: 20px;
  padding-bottom: 0.5em;
  }

#pun-status span.item2 {
  margin: 0px 0px 0px 0px;
  display: inline;
  padding-bottom: 0.5em;
  }

#pun-main div.catleft, #pun-main div.catright,
.punbb .divider {
  display: none;
  }

.offline li.pa-online {
  font-weight: normal;
  text-align: center;
  }

#pun-admain fieldset {
  background-color: transparent!important;
  padding: 0!important;
  border: none!important;
  }

/* A2.2 */
.punbb * {
  margin: 0
  }

/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
  padding: 0;
  list-style: none;
  }

/* A2.4 */
.punbb img {
  border:none;
  }

/* A2.5 */
.punbb .main table {
  table-layout: fixed;
  width: 100%;
  }

/* A2.6 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {
  margin: 0 0.4em;
  }

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 1em;
  vertical-align: middle
  }


 /* A3 Text setup
------------------------------------------------------*/
/* A3.1 */
body {
  font-size: 100.01%;
  }

/* A3.2 */
.punbb {
  font: normal 69.75% verdana, arial, helvetica, sans-serif; 

  }

/* 3.3 */
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
  font: 1em verdana, arial, helvetica, sans-serif;
  }

/* 3.3 */ /*выпадающее меню*/
.punbb select {
  font: 1em verdana, arial, helvetica, sans-serif;
  background-color: #a6a48b!important;
  /*border 1px solid #bf8f6e!important;*/
  }

/* A3.4 */
.punbb h1, .punbb h2, .punbb h4, .punbb table {
  font-size: 1em;
  font-weight: normal;
  text-align: center;
  }

.punbb h3, .punbb th {
  font-size: 1em;
  font-weight: normal;
  }

.punbb h1 {
  width: 100%;
  color: #250804;
  }

/* A3.5 */ /*заголовок темы тёмный*/
.punbb h1 span {
  text-align: center;
  font-size:  20px;
  color: #b4b786;
  }

/*цвет заголовка подфорумов на главной*/
.punbb h2 span {
  font-size:  24px;
  color: #000!important;
  letter-spacing: 1px;
    text-shadow: 0px 0px 5px #fff7ac;
  }

.punbb legend span {
  font-size: 16px;
  color: #56151b;
  }

/* A3.6 */ /*оформление кода*/
.punbb pre {
  font: 1em tahoma;
color: #282921;
  }

/* A3.7 */
.punbb address, .punbb em {
  font-style: normal;
  }

/* A3.8 */
.punbb .post-content em {
  font-style: italic;
  display: inline!important;
  }

/* A3.9 */
.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
  }

/* A3.10 */
.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 {
    position: relative;
    margin-top: 0px!important;
    margin-bottom: 0px!important;
    margin: 0 auto;
    width: 1130px;
    background-image: url(http://forumstatic.ru/files/001a/84/9f/17809.jpg);
    background-position: center;
    background-color: #cbc8b6;
    box-shadow: 0px 0px 8px #000000;
}

/* A5.2 */ /*ширина текста тут*/
.punbb {
  width: 950px;
  margin: 0 auto;
  height: auto;
  }

/* A5.3 */ /*переадресация*/
#pun-redirect {
  width: 500px;
  text-align: center;
  background-image: url(http://forumstatic.ru/files/001a/79/5e/92711.jpg);
  background-position: center;
  }

#pun-redirect, #pun-maint {
  margin-top: 200px;
  border: none;
  border-radius: 5px;
  padding-bottom: 11px;
  width: auto;
  float: none;
  }

/* 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, .punbb .container {
  border:none;
  }

/* A5.9 */

.punbb .section h2, #pun-main h1, #pun-main h2, #pun-debug h2 {
    padding: 19px 0px;
    margin: 7px 0px;
}

/***************************************
B - MAIN CONTENT - GENERAL
***************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
------------------------------------------------------*/
/* B1.1 */
.punbb .post-content {
  font-size: 12px;
  padding: 0;
  margin: 0 auto;
  width: 97.5%;
  }

/* B1.2 */
.punbb .post-sig {
  margin-top: 5px;
  }

.punbb .post-sig p {
  font: normal 10px/15px Verdana;
  }
/*hr в подписи*/
.punbb .post-sig dt {
  display: block;
  border-top: 1px dotted #424837;
  width: auto;
  margin-top: 10px;
  padding-top:5px;
  text-align: center;
  }

/* B1.3 */
.punbb .post-content p {
  line-height: 150%;
  padding-top: 7px;
  padding-bottom: 7px;
  /*text-align: justify;*/
    overflow: hidden;
  }

.punbb .post-content table  {
  /*text-align: justify*/;
  }

/* 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%;
  }


/* B1.7 */
.punbb .post-content .scrollbox {
  min-height: 4em!important;
  overflow: auto;
  }

/* B1.8 */ /*оформление цитаты*/
.punbb .post-content .quote-box, .punbb .post-content .code-box {
    width: 90%;
    margin: 15px auto;
    padding: 17px;
    border-radius: 3px;
    opacity: 0.9;
    background-color: #c5c4b7;
    color: #181818;
    box-shadow: -5px -5px #6f714a;
    border: 3px solid #2c2d25;
    outline: 1px solid #c6c4b7;
}

.punbb .post-content .code-box {
  overflow: auto;
  max-width: 95%!important;
  margin-bottom: 0!important;
  /*max-height:40px;*/
  }

.punbb .post-content .quote-box p, .punbb .post-content .spoiler-box p {
  line-height: 150%;
  }

/* B1.9 */ /*текст цитаты*/
.punbb .quote-box cite, .punbb .code-box strong.legend {
    display: block;
    font-style: normal;
    padding-bottom: 10px;
    margin-bottom: 5px;
    color: #2c3226;
    letter-spacing: 1px;
    font-size: 16px!important;
    font-family: Guru;
    text-transform: uppercase;
  }

.punbb .post-content .spoiler-box blockquote.visible {
  margin-top: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  }

.punbb .post-content table { 
  border-collapse: separate; 
  border-spacing: 3px 3px!important;
  }

.punbb .post-content td {
  border: 1px solid transparent!important;
  padding-top: 5px!important;
  vertical-align: top;
  }

.punbb .post-content td p {
  text-align: center;
  }

/* B2 Information boxes
------------------------------------------------------*/
/* B2.1 */
.punbb .info-box {
  padding: 1.1em 1.7em 1em 1.7em;
  border:none;
  margin: 0 0 1.1em 2em;
  }

/* B2.2 */
.punbb .info-box * {
  padding: 0 0 0.7em 0;
  }

/* B2.3 */
.punbb #pun-main .info-box .legend {
  font-size: 1.1em;
  font-weight: bold;
  }


/* B3 Pagination and posting links
------------------------------------------------------*/

/* B3.1 - Linkst */
.punbb .linkst {
  margin-top:10px;
  margin-bottom:30px!important;
  padding: 0.4em 1em;
  font-size: 1.1em;
  color: #333333;
  }

.linkst .pagelink {
  display: inline;
  float: left;
  margin-left: 10px;
  text-align: left;
  }

.linkst .postlink {
  display: inline;
  float: right;
  text-align: right;
  font-weight: bold;
  }

/* B3.3 - Linksb */
.punbb .linksb {
  margin-top:10px;
  margin-bottom:10px;
  padding: 0.4em 1em;
  font-size: 1.1em;
  color: #333333;
  }

.linksb .pagelink {
  display: inline;
  float: left;
  text-align: left;
  }

.linksb .postlink {
  display: inline;
  float: right;
  text-align: right;
  font-weight: bold;
  }

/* B3.3 - Multipage and Subscribe */
.multipage {
  margin-top: 0;
  }


/***************************************
C - MAIN CONTENT - SPECIFIC
***************************************/
/* C1 Form layout
------------------------------------------------------*/

/* C1.1 */
.punbb .formal .container {
  padding: 1em 2.3em 1.1em 2.3em;
  }

/* C1.2 */
.punbb .formsubmit {
  padding: 0 0 0 30px;
  margin: 0;
  }

/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
  margin: 0 0.4em 0 2px;
  }

/* C1.4 */
.punbb fieldset {
  border: none;
  width: 97%;
  margin: 0 -5px;
  }

/* C1.5 */
.punbb fieldset legend {
  padding: 0;
  margin: 0 0 0 11px;
  font-size: 1.1em
  }

/* C1.6 */
.punbb fieldset legend span {
  display: none;
  }

/* C1.7 */
.punbb fieldset fieldset {
  border: none;
  margin: 0;
  padding: 0 0 8px 0
  }

/* C1.8 */
.punbb .fs-box {
    padding: 0;
    max-width: 840px!important;
    margin-top: 5px;
    margin-left: 30px;
  }

/* C1.9 */
.punbb .fs-box p, .punbb .fs-box fieldset {
  padding-top: 7px;
  padding-bottom: 7px;
  }

/* 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 {
    width: 100%;
    margin: 7px 0 0 0;
    border: 1px #454e3b dotted;
    border-radius: 5px;
    box-shadow: inset 0px 0px 10px #b0ad8f;

    padding: 10px;
  }

/* 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 page */
.punbb .main th {
  visibility:hidden;
  border: none;
  font-size:0.8em;
  padding: 0em 1em 0.4em 1em;
  }

.punbb .main td {
  border: none;
  padding: 1em;
  }

.punbb .main .tcl {
  overflow: hidden;
  text-align: left;
  width: 55%;
  position: relative; left: 10px;
  padding: 1em;
  line-height: 1.6;
  }

.punbb .main .tc2 {
  text-align: center!important;
  position: relative; left: 5px;
  width: 3%;
  line-height: 1.4;
  }

.punbb .main .tc3 {
  text-align: center;
  width: 5%;
  line-height: 1.4;
  padding-right: 3em;
  }

.punbb .main .tcr {
  overflow: hidden;
  text-align: right;
  width: 25%;
  padding: 1em 2em 1em 1em;
  line-height: 1.4;
  }

/* C2.1.1 - Icons */
.punbb tbody.hasicon td.tcl {
  padding-left: 1em;

  }
/*иконка новых сообщений*/
.punbb div.icon {
    position: relative;
    float: left;
    margin-right: 10px;
    height: 77px;
    width: 70px;
  }

/* C2.2 - User List */
#pun-userlist .main .tcl, 
#pun-modviewforum .main .tcl {
  text-align: left;
  width: 34%;
  }

#pun-userlist .main .tc2 {
  text-align: left;
  width: 22%;
  }

#pun-userlist .main .tc3 {
  text-align: center;
  width: 11%;
  }

/* C2.3 - Search topics */
#pun-searchtopics .main .tcl {
  text-align: left;
  width: 40%;
  }

#pun-searchtopics .main .tc2 {
  text-align: left;
  width: 20%;
  }

#pun-searchtopics .main .tc3 {
  text-align: center;
  width: 10%;
  }

/* C2.4 - Debug?*/
#pun-debug table .tcl {
  width: 15%;
  white-space:normal;
  }

#pun-debug .tcr {
  width: 90%;
  white-space: normal;
  }

/* C2.5 */
#pun-index .tcl h3 {
  /*font-size: 1.2em;*/
  font-weight: normal;
  }

/* C2.6 */
.punbb td span.youposted {
  font-weight: bold;
  margin-left: -1em;
  position: absolute;
  }

/* C2.7 */
.punbb td .modlist {
  display: block;
  padding-top: 0.3em
  }


/* C3 Topics
------------------------------------------------------*/

/* C3.1 */
.punbb .post .container {
  border:none;
  margin-top: -1px;
  padding-bottom: 1px;
  }

/* C3.2 */
.punbb .post h3 {
  border:none; 
  }

/* C3.3 */
.punbb .post h3 span {
  padding: 0.5em 1em;
  display: block;
  margin-left: 19em;
  border:none;
  }

/* C3.4 */
.punbb .post h3 strong {
  float: right;
  width: 5em;
  text-align: right;
  font-weight: normal;
  }

/* C3.5 */
.punbb .post .post-author {
    float: left;
    width: 210px;
    margin-top: -1.8em;
    margin-left: -18px; /*блок аватар тут*/
  }

.post-author a {color:#ebc386!important;}
.post-author a:hover {color:#ebc386!important;}

/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
  }

/* C3.7 */
.pa-author {
    font-size: 20px;
    text-align: center;
    position: relative;
    top: 12px;
    left: -13px;
    font-family: Guru;
    text-transform: uppercase;
    width: 210px;
    height: 42px;
    color: #fdfdb0;
    padding:bottom: 20px;
    text-shadow: 0px 0px 5px #000;
  }

/* C3.8 */ /*ник*/
.pa-author a {
  letter-spacing: 1px;
  text-decoration: none;
  line-height: 1em;
  color: #9d7d48!important;
  }

.pa-author a:hover {
  color: #ffe2a9!important;
  text-shadow: 0px 0px 5px #000;}

/* C3.9 */
li.pa-avatar {
  text-align: center;
  }
/*аватар*/
li.pa-avatar img {
text-align: center;
max-height: 180px!important;
border: 1px dotted #958b56;
border-radius: 2px;
max-width: 180px!important;
box-shadow: 0px 0px 5px #000;
 -webkit-filter: grayscale(80%);
 -moz-filter: grayscale(80%);
 -ms-filter: grayscale(80%);
 -o-filter: grayscale(80%);
 transition: all .5s ease-in-out 0s;
}
li.pa-avatar img:hover {
 -webkit-filter: grayscale(30%);
 -moz-filter: grayscale(30%);
 -ms-filter: grayscale(30%);
 -o-filter: grayscale(30%);
 }

/* C3.10 */ /*статус*/
li.pa-title {
    font-size: 11px;
    font-weight: normal;
    text-align: center;
    color: #ebc386;
    position: relative;
    margin-top: 8px;
    margin-bottom: 10px;
    text-shadow: 0px 0px 10px #000;
  }

/* C3.11 */



li.pa-online {
  text-align: left;
  line-height: 0.8em;
  border:none;
  margin-top: 10px;
  }

li.pa-awards {
  text-align: center;
  margin-top: -15px;
  margin-bottom: -10px;
  }

/* C3.12 */
.punbb .post-body {
  margin-left: 19em;
  border:none;
  padding: 0 0 1px 0;
  }

/* C3.13 */
.punbb .post-box {
  padding: 1em;
  }

/*C3.14 */
.punbb fieldset .post-box {
  margin-bottom: 0.8em
  }

/* C3.15 */
.punbb .post-links {
  border: none;
  }

/* C3.16 */ /*лс и профиль*/
.punbb .post-links ul {
  margin: 0 auto;
  height: 2em;
  line-height: 2em;
  text-align: right;
  padding-top: 3px;
  padding-bottom: 50px;
  height: 29px!important;
  }

/* C3.17 */
.punbb .post-links li {
  display: inline;
  padding-left: 5px;
  padding-right: 5px;
  }

/* C3.18 */
.pl-email, .pl-website {
  float: left;
  }

/* C3.19 */
.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 1em
  }

/* C5.2 */
.punbb .info .container .backlink {
  padding-top: 0.8em;
  }


/* C6 Profile
------------------------------------------------------*/
/* C6.1 */
#profile .container {
  padding-left: 18.6em;
  }

/* C6.2 */
#profilenav {
    float: left;
    width: 14em;
    margin-left: -18.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;
  padding: 0 0 0 0;
  margin: 0 14px -0.6em 14px;
  }

/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
  padding: 0 5px;
  position: relative;
  color: #464d3b!important;
  text-shadow: none!important;
  }

/* 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;
  }

/*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 */
  }

#profile .fs-box p {
  margin: 5px 0;
  }


/* C7 User list
------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {
  border:none;
  margin-bottom: 0;
  }

/* C7.2 */
#pun-userlist .usertable .container {
  padding: 0 2.3em 2.3em 2.3em;
  border-top: none;
  }

/* C7.3 */
#pun-userlist .usertable table {
  border:none;
  }


/***************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
***************************************/

/* D1 Logo and description
------------------------------------------------------*/
/* D1.1 */
#pun-title {
  margin: 0;
  border: none;
  }

/* D1.2 */
#pun-title h1 {
  display: block;
  height : 40px;
  padding: 2em 1em 0 1em;
  }

/* D1.3 */
#pun-title .container {
  border:none;
  }

/* D1.4 */
#pun-title h1 span  {
  font-size: 1.5em;
  display: none!important;/*название форума*/
  }
/*шапка!!*/
#pun-title table {
    width: 1320px;
    height: 680px;
    border: none;
    background-image: url(http://forumstatic.ru/files/001a/84/9f/73500.jpg);
    background-color: transparent!important;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    position: relative;
    left: -182px;
    top: -8px;
}

#pun-title td.title-logo-tdl {
  border: none;
  width:1px!important;
  }

#pun-title td.title-logo-tdr {
  text-align: left;
  vertical-align: top;
  }


/* D2 Page navigation
------------------------------------------------------*/
/* D2.1 */
#pun-pagelinks {
  position: absolute;
  top: -15px;
  left: 0;
  margin: 0;
  border: none;
  padding: 0;
  width: 100%;
  }

/* D2.2 */
#pun-pagelinks .container {
  background: transparent;
  border: none;
  padding: 0}

/* D2.3 */
#pun-pagelinks .container li {
  display: inline
  }

/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
  height: 2em;
  line-height: 2em;
  padding: 0;
  font-size: 1.2em;
  margin-left: -9999px;
  display: block;
  float:left;
  width: 100%;
  }

/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {
  position:relative;
  margin: 0;
  }

#pun-pagelinks li a span {
  display:block;
  margin: 0 1em
  }


/* D3 Forum navigation
------------------------------------------------------*/
/* D3.1 */ /*меню*/
div#pun-navlinks {
    margin-top: 0px;
    margin-left: 0px;
    width: 960px;
    height: 16px;
    position: relative;
    top: -326px;
    text-align: center;
    background-repeat: repeat-x;
    text-transform: uppercase;
    font-family: Guru;
    text-shadow: 1px 1px 2px black;
  }

/* D3.2 */ 
#pun-navlinks, #pun-navlinks .container {
  border:none;
  }

/*меню*/
#pun-navlinks .container {
  font-size:13px;
  letter-spacing: 1px;
  position: relative; top:0px;
  }

/* D3.3 */
#pun-navlinks li {
  display: inline;
  vertical-align: middle;
  }

/* D3.4 */
#pun-navlinks #navawards {
  /*display: none!important;*/
  }

#pun-navlinks li#navindex a span, 
#pun-navlinks li#navuserlist a span, 
#pun-navlinks li#navsearch a span, 
#pun-navlinks li#navprofile a span, 
#pun-navlinks li#navpm a span, 
#pun-navlinks li#navadmin a span, 
#pun-navlinks li#navlogout a span, 
#pun-navlinks li#navregister a span, 
#pun-navlinks li#navlogin a span, 
#pun-navlinks li#navpiar a span, 
#pun-navlinks li#navread a span {
  background: no-repeat scroll 0 0 transparent;
  display: inline-block !important;
  font-size: 14;
  height: 20px;
  margin-bottom: 0px;
  margin-right: 15px;
  position: relative; top: 15px;
  z-index:9000000!important;
  }




/* D3.5 */


/* D4 User links
------------------------------------------------------*/
/* D4.1 */ /*навигация*/
#pun-ulinks {
    width: 900px;
    height: 16px;
    text-align: center;
    position: relative;
    top: -90px;
    z-index: 5001;
  }

.punbb-admin #pun-ulinks {
    position: absolute;
  }

/* D4.2 */
#pun-ulinks .container {
    width: 900px;
    margin: 0 auto;
    padding-top: 5px;
    padding-bottom: 7px;
    text-align: center;
  }

/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {
  display: inline;
  text-transform: lowercase;
  white-space: nowrap;
  font-family: Tahoma;
  }

/* D4.4 */
#pun-ulinks li a {
/*  padding: 0 0.1em 0 0.5em; */
  }

/* D4.5 */
#pun-ulinks li.item1 a, 
#pun-ulinks li.item2 a,
#pun-ulinks li.item3 a,
#pun-ulinks li.item4 a,
#pun-ulinks li.item5 a,
#pun-ulinks li.item7 a,
#pun-ulinks li.item6 a {
  display: inline-block!important;
  font-size: 11;
  height: 16px;
  margin-left: 25px;
  }


/* D5 Welcome box and Top Breadcrumbs
------------------------------------------------------*/
/* D5.1 */
#pun-status, #pun-status .container {
    margin-bottom: 0;
    margin-top: -20px;
    margin-bottom: -10px;
  }

/* D5.2 */
#pun-status .container {
  padding: 0em 0em 0em 0em;
  }

/* D5.3 */
#pun-status span {
  white-space: nowrap;
  margin-right: 0.5em;
  }

/* D5.4 */
#pun-crumbs1, #pun-crumbs2 {
  font-weight: bold;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: -20px;
  }

/* D5.5 */
#pun-crumbs1 p.container {
  border: none;
  margin: 1em 0;
  padding: 1em;
  font-size: 1em;
  }

#pun-crumbs2 p.container {
  padding-left: 10px;
  padding-bottom:  20px;
  }

#pun-crumbs2 {
    position: relative;
    top: -10px;
}

/* D5.6 */
#pun-break1 {
  margin: 0 1em;
  border: none;
  height: 0;
  margin: -2px 1em;
  position: relative;
  z-index: 1;
  }


/* D6 Announcement
------------------------------------------------------*/
/* D6.1 */
#pun-announcement h2 {
  padding: 0;
  margin: 0 1em -3.5em 1em;
  border: none;
  position: relative;
  font-weight: bold;
  }

/* D6.2 */
#pun-announcement h2 span {
  display: none;
  }

/* D6.3 */
#pun-announcement .container {
   padding: 2.8em 1em 1em 1em; 
   text-align: justify;
   padding: 10px 25px; 
  }
/*таблица*/
 div#pun-announcement {
    text-align: center;
    width: 970px;
    height: 220px;
    background-color: transparent;
    background-repeat: no-repeat!important;
    /*background-image: url(http://forumstatic.ru/files/001a/84/9f/73500.jpg)!important;*/
    position: relative;
    top: -390px;
    left: -44px;
    color: #d0a76d;
    margin-bottom: -198px;
 }

/* D7 Statistics
------------------------------------------------------*/
/* D7.1 */
#pun-stats .container {
  padding: 0.8em 1em;
  }

/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {
  float: left;
  clear: both;
  line-height: 150%;
  }

/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
  }

/* D7.4 */
li#onlinelist {
  margin-top: 1em;
  border: none;
  float: left;
  width: 100%;
  line-height: 150%;
  }

/* D7.5 */
li#onlinelist div {
  border: none;
  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.4 */
#html-footer {
  width: 850px!important;
  height: 0px!important;
  margin-top: -11px!important;
  position: relative;
  }

#pun-about .section {
  border:none!important;
  }

/* D8.5 */ 
#pun-about p span {
    margin: 0;
    position: relative;
    top: 0px;
    color: #8f6f3a!important;
  }

#pun-about p span a
{
color: #454e3b!important;
}

/* D8.6 */
#pun-break4 {
  display:none;
  }
/*низ*/
#pun-about {
    margin: 0 auto;
    width: 1320px!important;
    height: 244px!important;
    position: relative;
    left: -182px;
    top: 6px;
    text-align: center;
    background-image: url(http://forumstatic.ru/files/001a/84/9f/31563.jpg);
    font-family: verdana;
    border: none;
    box-shadow: 0px 3px 2px #000000;
}


/* D8.9 */
div.punbb-admin #pun-about .container {
  border: none;
  }


/* D9 Help file
------------------------------------------------------*/
/* D9.1 */
#pun-help .formal .info-box h3.legend {
  border: none;
  padding-bottom: 0;
  margin-bottom: 0.8em;
  }

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
  padding-bottom: 0.6em;
  display: block;
  border: none;
  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;
  }

#pun-report .inner, #pun-reputation .inner {
  background-image: url('http://forumstatic.ru/files/001a/84/9f/17809.jpg');
  background-position: center;
  background-color: #e0e0e0;
 }

#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {
  background: url('http://forumstatic.ru/files/001a/79/5e/92711.jpg') 50%;
  z-index: 9999!important;
  background-color: #e0e0e0;
  border: none!important;
  box-shadow: 1px 1px 5px black;
}

#smilies-area {
width:500px!important;
}

.jFlowControl {
    width:26px!important;
    height:35px!important;
    display:inline-block;
    background-image:url('http://forumstatic.ru/files/0013/67/4d/91525.png');
    background-repeat:no-repeat;
    background-position:center;
    cursor:pointer;
}

.jFlowSelected, .jFlowSelected:hover {
    background-image:url('http://forumstatic.ru/files/0013/67/4d/38746.png');
    background-repeat:no-repeat;
    background-position:center;
}


.subscribelink {
  display: block;
  margin-top: 17px;
  text-align: right;
  font-size: 11px;
  }


/* Скрытие стрелочек на маленьких экранах */
@media screen and (max-width: 540px) {  a[href="#top"] {  display: none;  } }

/* Мобильная версия */

@media screen and (max-width: 540px) {

   body {
    background: #c8c5b1;
}
   
   #pun {
    background: #adaca0;
}

   #pun #html-header {
    overflow-x: hidden !important;
}

   div#pun-navlinks {
    width: 100%;
    height: 114px;
    position: relative;
    top: 0;
    background-image: url(http://forumstatic.ru/files/001a/84/9f/46944.jpg);
    background-position: top center;
    margin-bottom: 20px !important;
    margin-top: -2px !important;
}

#html-header #pun-navlinks .container {
    position: relative;
    top: 300px;
    padding: 1em 0 0 !important;
}

#pun-ulinks .container {
   width: auto;
}

#qpsContainer {
    display: none;
}

  div#pun-announcement {
    text-align: center;
    height: 170px;
    margin-bottom: 70px;
    background-image: unset !important;
    background-repeat: no-repeat !important;
    position: relative;
    top: 0;
    left: 0;
    color: #9d9d91;
    width: 100%;

}

#pun-announcement div.container {
    overflow-x: hidden !important;
    background: #23251a;
}
.container div.html-box {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap-reverse;
    flex-direction: row-reverse;
    width: 100%;
    padding: 0 !important;
}

#info, #news, #admins, #wanteds, #wantedsbutton, #linksh {
    position: inherit;
    top: 0;
    left: 0;
}

#admins, #wanteds, #linksh, #info {
   display: none;
}

#wanteds {
    height: 195px;
    margin-right: 5px;
    margin-top: -150px;
}

#linksh {
    height: 145px !important;
}

#admins {
    height: 50px;
}

#news {
    margin: 20px 0 10px 10px;
}

#pun-category1 h2, #pun-category2 h2, #pun-category3 h2, #pun-category4 h2, #pun-category5 h2, #pun-category6 h2, #pun-category7 h2, #pun-stats h2 {
    width: 100%;
    height: 30px;
    left: 0;
    margin-bottom: 0 !important;
    background: #000;
    background: linear-gradient(#59553f, #1c1f17);
}


#pun .category h2 span, #pun-stats h2 span {
    position: relative;
    top: 5px;
    color: #cdcb8a !important;
    text-shadow: none!important;
    font-size: 2em !important;
}

#pun-index td div.tclcon {
    width: 100%;
}

::-webkit-scrollbar {
    display: none;
    }

#pun-about, #pun-about .container {
    text-align: start !important;
    height: 20px !important;
    background: unset;
    box-shadow: none;
}

.punbb .main {
    margin-top: 5px;
}

.go-up, .go-down {
    width: 10%;
}

.go-up {
    bottom: 80px;
}

.go-down {
    bottom: 0px;
}

/* Профиль в сообщении */

.punbb .post .post-author > ul, .post-author {
   background: unset !important;
}

.punbb .post .post-author > ul {
   position: relative;
   min-height: 100px;
}

#pun-main h1 {
    background-image: linear-gradient(to bottom, #000, #1c1f17);
}

#pun-main h1 span {
    color: #cecc8a; /*тут*/
    font-size: 20px !important;
}

.punbb .linkst {
    margin-top: 15px;
}

.linkst .pagelink {
    margin-top: 0 !important;
}

.topic a.permalink, .punbb .post h3 strong {
    color: #3e3722;
    text-decoration: none;
    font: 15px Guru;
    text-transform: uppercase;
    padding-left: 6px;
}

#pun-main .post-author {
    box-shadow: none;
    text-align: right;
    background-color: rgb(183, 182, 171) !important;
}

.topic .post h3 span {
    background-color: transparent !important;
    margin-bottom: -10px !important;
}

.post-author li {
    text-align: right !important;
    display: inline-block;
}

#pun-main .pa-author {
    width: 100%;
    height: auto !important;
    left: 0;
}

.pa-author a {
    float: right;
    color: #103218!important;
    margin-top: 15px;
    text-shadow: none;
}

.online .pa-author:after {
    margin-top: 21px;
    margin-right: 10px !important;
    text-shadow: none;
}

.pa-avatar {
    float: left !important;
    width: 55%;
    position: absolute;
    left: -112px;
    top: 60px;
}

li.pa-avatar img {
    max-width: 35% !important;
    max-height: 35% !important;
    border: none;
}

li.pa-posts, li.pa-title {
    width: 100%;
    color: #0f1c0a;
    position: inherit;
    margin: 0;
    padding: 0;
    text-shadow: none;
}

.post-author li.pa-ip {
    margin-right: 0px;
    color: #0f1c0a;
    text-shadow: none;
}

li.pa-title {
     margin-top: 10px;
    text-shadow: none;
}

/* Пост */

.post-links {
    background-image: unset;
    width: 95%;
    left: 0;
}

.post-links a {
    padding: 0;
}

.punbb .post-links ul {
    width: 100%;
    padding: 0 10px 15px;
    font-size: 11px;
    background: url(http://forumstatic.ru/files/001a/79/5e/88021.gif) repeat-x bottom;
}

.punbb .post-links li {
    display: unset;
}

.post-links a {
    color: #366223 !important;
}

#post-form h2 span {
     font-size: 20px !important;
}

#form-buttons td {
    width: 13px;
    margin-right: 7px;
}

#form-buttons tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.button {
    font-size: 16px!important;
    padding-bottom: 25px !important;
}

.punbb .formsubmit {
    padding: 0;
    width: 100%;
    display: block;
    text-align: center;
}

#html-footer {
    top: 0;
    height: 140px !important;
    width: 100% !important;
    padding-top: 40px;
    box-sizing: border-box;
    background: url(http://forumstatic.ru/files/001a/84/9f/78426.jpg) repeat-x;
}

#banners {
    top: 25px;
    width: 100%;
    height: 88px;
    overflow-y: auto;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}
#banner-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* ЛС */

#pun-messages tbody.hasicon td.tcl {
    display: inline-block;
}

.punbb em.user-avatar {
    display: none;
}

#profilenav {
    float: none !important;
    margin-left: 0;
    display: flex;
    flex-direction: row;
}

#viewprofile ul, #profilenav ul {
    border-width: 0;
}

#notify-settings {
    display: none;
}

#pun-online .main table {
    display: block;
}

/* Иконка */

div.icon.inew {
    display: block !important;
    background-image: none;
    width: 10px !important;
    height: 15px !important;
    background-color: #2c2d22;
    margin-top: 8px;
}


@media screen and (max-width: 480px) {
.linkst .pagelink {
    margin-top: 0 !important;
}



/* Убрать горизонтальный скролл */
html { overflow-x: hidden;
}

hr, .punbb .post-sig dt { 
    height: 31px;
    width: auto;
    border: none;
    margin: 2px auto !important;
}

