/* CS1 Background and text colours
-------------------------------------------------------------*/

body {
  background-color: #dedede !important;
  background-image: url("http://mefondation.f-rpg.ru/files/0017/46/03/61636.jpg");
}
/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  color: #333;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  color: #333;
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  color: #fff;
  }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  color: #0a141d;
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  color: #333
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background-color: #efefef;
  color: #333
  }

/* CS1.8 */
#pun-navlinks .container {
  color: #0a141d;
  }

.offline li.pa-online strong {
  font-weight: normal
  }

/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
  border-color: #ccc #ccc #aaa #ccc
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: #f5f5f5
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  }

/* 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: #C9D6E0;
  }

/* CS2.5 */
.punbb th {
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #ccc #fff #fff #ccc;
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: #ccc
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: #fff
  }

.punbb .divider {
  border: 0;
  display: none;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid #dedfdf
  }

li.pa-online {
  border-left-color: #0a141d;
  }


/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 */
.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited {
  color: #0a141d
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #333
  }

/* CS3.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active,  .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
  color: #B42000;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #0a141d;
  text-decoration: none;
  font-weight: 600;
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #fff;
  text-decoration: underline
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/

div.icon {border-color: #E6E6E6 #DEDEDE #DADADA #E2E2E2}
tr.iredirect div.icon {border-color: #F7F7F7 #F7F7F7 #F7F7F7 #f7f7f7}
div.inew {border-color: #0080D7 #0065C0 #0058B3 #0072CA}

#pun-main div.catleft, #pun-main div.catright {display: none}

#pun{
  width: 1024px;
  margin: 0 auto;
  background: #ececec;
  -webkit-box-shadow: 0px 0px 11px 7px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 11px 7px rgba(0,0,0,0.3);
  box-shadow: 0px 0px 11px 7px rgba(0,0,0,0.3);
}

#pun-navlinks ul,
#pun-ulinks{
  background-color: #FFF;
}

#pun-navlinks .container{
  padding: 0 0 10px 0 !important;
}

#pun-navlinks ul a{
  display: inline-block;
  border-top: 5px solid transparent;
  padding-top: 10px;
  color: #000 !important;
}

#pun-navlinks ul a:hover{
  border-color: #740000;
  text-decoration: none;
  transition: border-color linear 0.3s;
}

#pun-navlinks:after{
  content: "";
  display: block;
  width: 100%;
  height: 441px;
  background: url("http://mefondation.f-rpg.ru/files/0017/46/03/92870.jpg") no-repeat;
}

.category thead{
  display: none;
}

.category .tc2,
.category .tc3,
#pun-viewforum thead,
#pun-searchtopics thead{
  display: none;
}

.category .tclcon h3 a,
.category .tcr a{
  text-transform: uppercase;
  text-decoration: none !important;
  margin-bottom: 10px;
  font-weight: 600;
}

#pun-status,
#pun-crumbs1,
.category .container,
.statscon,
#pun-searchtopics table{
  padding: 0 20px !important;
}

.category h2,
#pun-stats h2,
#pun-viewtopic h1,
#post-form h2,
.topic h2,
#pun-viewforum h1,
#pun-userlist h1,
#pun-search h1,
#pun-online h1,
#pun-profile h1,
#pun-post h1,
#pun-message h1,
#pun-changepass h1,
#pun-messages #messages legend,
#pun-searchtopics h1,
#pun-login h1,
#pun-register h1,
#pun-searchposts h1,
#pun-edit h1,
#pun-movetopic h1,
h1{
  background: #1e0000;
  border: 7px solid #FFF !important;
  border-width: 7px 0 !important;
  padding: 10px 0 !important;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px !important;
}

.punbb .main .tcr{
  padding-top: 20px;
  vertical-align: top;
}

.punbb table .tcl .intd:after,
.statscon:after,
.punbb .post-links ul:after{
  content: "";
  clear: both;
  display: table;
}

.punbb table div.icon{
  position: relative !important;
  margin-left: 0 !important;
  float: left;
  height: 71px;
  width: 91px;
  background: url(http://mefondation.f-rpg.ru/files/0017/46/03/59860.png) no-repeat;
}

.punbb table div.icon.inew,
.punbb table div.icon.icon-new{
  background: url(http://mefondation.f-rpg.ru/files/0017/46/03/84863.png) no-repeat;
}

#pun-viewforum .tcl .intd{
  width: 91px;
  float: left;
}

#pun-viewforum .forum > .container{
  padding: 0 20px;
}

#pun-viewforum .tclcon .byuser{
  display: block;
  margin-left: -2px;
  font-weight: 300;
}

#pun-viewforum .tclcon .newtext{
  margin-left: -5px;
  margin-top: 5px;
}

#pun-viewforum .tclcon a{
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
}

#pun-viewforum .main .tcl{
  width: 40%;
}

#pun-viewforum .main .tc2,
#pun-viewforum .main .tc3{
  vertical-align: top;
  padding-top: 20px;
}

.punbb table div.tclcon{
  float: left;
  width: calc(100% - 91px);
  padding-top: 10px;
  text-align: justify;
}

.statscon{
  margin-top: 10px !important;
}

.statscon:before{
  content: "";
  background: url("http://mefondation.f-rpg.ru/files/0017/46/03/12554.png") no-repeat;
  width: 91px;
  height: 71px;
  float: left;
}

.statscon ul.container{
  float: left;
  width: calc(100% - 91px);
}

#pun-viewtopic .post-body{
  background-color: #fcfcfc;
  margin-left: 0 !important;
  padding-left: 19em;
}

.pa-author a{
  color: #FFF !important;
  text-decoration: none !important;
}

.pa-posts,
.pa-respect{
  display: inline-block;
  width: 49%;
  text-align: center;
  color: #FFF !important;
}

.pa-posts{
  word-spacing: 90px;
}

.pa-respect a{
  color: #FFF !important;
  text-decoration: none !important;
}

.pa-respect a:first-child{
  display: block;
  text-align: center;
}

.post-links li a{
  padding: 5px 0;
  border-bottom: 5px solid transparent;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: 10px;
  color: #FFF !important;
}

.post-links li a:hover{
  border-color: #740000;
  transition: all linear 0.3s;
  color: #FFF;
}

.punbb .quote-box, 
.punbb .code-box,
#main-reply{
  border: 3px solid #1e0000;
  border-width: 3px 0;
  border-bottom-color: #740000;
}

#pun-userlist .main th,
#pun-userlist .main td,
#pun-online th,
#pun-online td{
  background: #FFF;
  padding: 10px;
  text-align: center !important;
}

#pun-userlist .main th,
#pun-online th{
  font-weight: 600;
  font-size: 9px;
  padding: 10px 0;
  text-transform: uppercase;
}

#pun-online th{
  font-size: 12px;
}

#pun-userlist .main .tcl{
  width: 30% !important;
}

.pagelink a,
.pagelink strong{
  padding: 5px 3px;
  background: #FFF;
  margin-right: 5px;
}

.pagelink strong{
  background: #1e0000;
  color: #FFF;
  font-weight: 300;
}

#pun-online table{
  padding: 20px;
}

#profilenav{
  margin-left: -230px !important;
  margin-top: -28px;
  background: #1e0000;
  color: #FFF;
  border: 7px solid #FFF;
}

#profilenav ul li{
  padding-bottom: 15px;
}

#profilenav ul li a{
  color: #FFF;
  text-decoration: none;
  text-transform: uppercase;
  border-left: 5px solid #740000;
  padding-left: 5px;
  font-weight: 300;
}

#profilenav h2{
  display: none;
}

#pun-post #post-preview .post-box,
#pun-edit #post-preview .post-box{
  background: #fcfcfc;
}

#pun-messages #messages legend{
  width: 1024px;
  position: absolute;
  top: 0;
  left: -11px;
}

#pun-messages #messages legend span{
  font-size: 16px !important;
  margin: 0 !important;
  color: #FFF !important;
}

#pun-messages .main{
  position: relative;
}

#pun-messages #messages .fs-box{
  margin-top: 50px;
}

#pun-messages #profilenav{
  margin-top: 20px;
}

#onlinelist div > a:first-child{
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
}

#onlinelist a{
  text-decoration: none;
}

#pun-register .info-box{
  background: #fcfcfc;
}

#pun-searchtopics .main .tc3{
  vertical-align: top;
}

.pa-replies{
  color: #FFF !important;
  text-align: center;
}

#pun-messages .post-body{
  background: #fcfcfc;
  padding-left: 19em;
  margin-left: 0;
}

.topic{
  background-color: #fcfcfc;
}

.topic .post:last-child .post-links{
  margin-bottom: 0;
}

.me-desc-link{
  text-decoration: none !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  font-size: 10px;
}

#pun-crumbs1, #pun-crumbs2{
    background: #FFF;
    text-transform: uppercase;
    font-size: 10px;
    margin-bottom: 10px !important;
    font-weight: 300 !important;
}

#pun-crumbs1 a, #pun-crumbs2 a{
  text-decoration: none !important;
}
#pun-status{
  display: none;
}

#html-footer{
  margin-bottom: 0 !important;
}

#pun-redirect{
  margin-top: 0 !important;
}

.post-content p{
  text-align: justify;
}

.pa-fld1{
  color: #dddddd !important;
}

.pa-fld1 a{
  text-transform: uppercase;
  text-decoration: none !important;
  color: #dddddd !important;
}

#pun-respect table{
  padding: 0 20px;
}

.lastedit{
  display: none;
}

.me-profile-links{
  width: 42%;
    display: inline-block;
    border: 1px solid #a19393;
}