/* CS1 Background and text colours
-------------------------------------------------------------*/

body {
background: url(http://forumstatic.ru/files/0016/33/e9/72811.jpg) repeat fixed center 0 #201810;
margin: 0 0 0 0 !important;
padding: 0 0 0 0 !important;
}

.category h2 {background: url() transparent no-repeat top center !important;
  margin-left: 0px;
  width: 908px;
  height: 40px;}

.punbb {
margin: 0 auto !important;
width: 990px !important;
background-color:#e3dcca;
background-image:  url(http://forumstatic.ru/files/0016/33/e9/57804.jpg), url("http://forumstatic.ru/files/0016/33/e9/48369.jpg");  
background-position: bottom center, top center;
background-repeat: no-repeat, repeat-y;}

/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend {
  background-color: transparent;
  color: #2B251E;
  }

/* CS1.2 */
.punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  background-color: transparent;
  color: #2B251E;
  }

#pun-admain {margin-left: 50px; margin-right: 50px;
}

#pun-adnav .adcontainer {width: 150px;}

.punbb .main .container {
  background-color: transparent;
  margin: 0 55px 0 55px !important;
  color: #2B251E;
  }

/* CS1.3 */
.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
  background-color: transparent;
  color: #2B251E;
  font-weight: normal;
  font-style: normal;
  }

#pun-main h2 {
  background: transparent;
  color: #2B251E;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  font-style: normal;
  vertical-align: middle;
  font-family: cambria, book antiqua, georgia;
  border: #606060 0px double;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  }

/* CS1.4 */

#pun-title, #pun-title .container, .punbb .modmenu .container {
  background-color: transparent;
  color: #2B251E;
  }

#pun-title TABLE {background: url(http://forumstatic.ru/files/0016/33/e9/10835.jpg) no-repeat top center; padding: 0 0 0 0 !important;
  min-height: 484px !important;
  min-width: 990px;
  margin-left: 0px;
  margin-top: -3px !important;}

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: transparent;
  color: #2B251E
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  background-color: transparent;
  color: #2B251E
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background-color: transparent;
  color: #2B251E;
  }

/* CS1.8 */
#pun-navlinks {
  background-color: transparent;
  }

.offline li.pa-online strong {
  font-weight: normal
  }

.punbb select, .punbb input {
  background-color: #EDE8D4;
  color: #111;
  border-color: #BEAD8C !important;
  border-style: solid;
  border-width: 1px;
  border-radius: 2px !important;
  -webkit-border-radius: 2px !important;
  -moz-border-radius: 2px !important;
}

.punbb textarea {
  background-color: #EDE8D4;
  color: #2B251E;
}

#font-area, #size-area, #color-area, #smilies-area, #image-area, #video-area, #keyboard-area, #table-area, #addition-area {
  background-color: #EDE8D4;
  border: solid 1px #D8C9AE;
  border-radius: 2px !important;
  -webkit-border-radius: 2px !important;
  -moz-border-radius: 2px !important;
  opacity: 0.9 !important;
  }

#table-area td {
  background-color: #B0A48B !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #BEAD8C !important;
  }

#table-area td:hover {
  background-color: #F3ECD4 !important;
  }



/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .post h3, #pun-title {
  border-color: transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: #BEAD8C;
  }

/* CS2.3 */
.punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent;
  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: transparent;
  }

.punbb .post-content td {
  border-color: #BEAD8C;
  }

/* CS2.5 */
.punbb th {
  border-color: transparent
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #D8C9AE;
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: #D8C9AE;
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: #F3ECD4;
  }

.punbb .divider {
  border-color: #D8C9AE #F3ECD4 #F3ECD4 #F3ECD4;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  }

li.pa-online {
  border-left-color: transparent;
  }

/* 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: #644C2C;
  border-bottom: 0px none #000;
  text-decoration: none;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -khtml-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #2B251E
  }

/* 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: #917850;
  border-bottom: 0px none #000;
  text-decoration: none;
  transition: color 0.3s ease;
  -webkit-transition: color 0.3s ease;
  -khtml-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #594626;
  border: 0 0 0 0;
  text-decoration: none;
  text-shadow: 2px 2px 1px #000000 !important;
  transition: color 0.6s ease;
  -webkit-transition: color 0.6s ease;
  -khtml-transition: color 0.6s ease;
  -moz-transition: color 0.6s ease;
  -o-transition: color 0.6s ease;
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #938266;
  font-weight: bold;
  font-style: normal;
  text-decoration: none;
  transition: color 0.6s ease;
  -webkit-transition: color 0.6s ease;
  -khtml-transition: color 0.6s ease;
  -moz-transition: color 0.6s ease;
  -o-transition: color 0.6s ease;
  }

/* CS3.3 */
#pun-ulinks a {
  color: #615845;
  transition: color 0.5s ease;
  -webkit-transition: color 0.5s ease;
  -khtml-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
  }

/* CS3.4 */
#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #A0957D;
  transition: color 0.5s ease;
  -webkit-transition: color 0.5s ease;
  -khtml-transition: color 0.5s ease;
  -moz-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
  }


#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }

/* CS4 Post status icons
 -------------------------------------------------------------*/

Div.icon {
background-image : url(http://forumstatic.ru/files/0016/33/e9/94670.png);
background-repeat: no-repeat; margin: -5px 0 0 0;
}

tr.inew div.icon {
        background: url(http://forumstatic.ru/files/0016/33/e9/89057.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumstatic.ru/files/0016/33/e9/46817.png) no-repeat;
}

tr.iredirect div.icon {
        background: url(http://forumstatic.ru/files/0016/33/e9/94670.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumstatic.ru/files/0016/33/e9/35468.png) no-repeat;
}

#pun-main div.catleft, #pun-main div.catright {display: none}

#navadmin a {
  margin: 2px 0 -2px 0;
  display: inline-block;
  height: 35px;
  width: 35px;
  background: url(http://forumstatic.ru/files/0016/33/e9/94670.png) no-repeat top center;
  opacity: 0.7;}


#navadmin a:hover {
 background: url(http://forumstatic.ru/files/0016/33/e9/89057.png) no-repeat top center;}

#navadmin a span {display: none;}

#pun-main #profile1[action$="id=6"]{
display: none;
}

::selection { 
  background: #B3A17A;
  color: #3f3f3f;
  }  
::-moz-selection { 
  background: #B3A17A;
  color: #3f3f3f;
  } 

#pun-category50 {display: none;}

/* Messages Fix pt.1 */

#pun-messages #profile .container {padding-top: 0px; margin-top: 0px !important;}


#pun-messages #profile .fs-box > div, #pun-messages #profile .post > div {
  width: 100%;
  margin-left: 0 !important;
}

#pun-messages #profile .post-body, #pun-messages #profile .post h3 span {
  margin-left: 0;
  width: 100%;
  max-width: 100%;
}

#pun-messages #profile .post h3 span {
  color: #87745e;
  max-width: 460px;
  padding-left: 145px;
  position: absolute;
  margin-top: 10px;
  text-align: right;
}


#pun-messages #profile legend strong {
  position: absolute;
  margin-top: 105px;
  color: #87745e;
  max-width: 460px;
  width: 100%;
  padding-left: 90px;
  margin-left: 1.5em;
  text-align: center;
  max-height: 30px !important;
  font-family: cambria, book antiqua, georgia, garamond;
  text-transform: uppercase;
  font-size: 13px;
}

#pun-messages fieldset legend {margin-left: 35px !important;}

#pun-messages #profile .post-author {
  width: 100%;
  margin: 0;
  float: none;
  min-height: 110px;
}

#pun-messages #profile .post-author li {
  display: block;
  width: 75%;
  padding-left: 25%;
}

#pun-messages #profile .post-author .pa-avatar.item2 {
  float: left;
  width: 25%;
  padding: 0;
  margin-top: -50px;
}

#pun-messages #profile .post-author .pa-avatar img {
  width: 100px;
  height: auto;
}

#pun-messages #profile .post-author .pa-author {
  margin-top: 10px;
  border: none !important;
  font-size: 16px;
  float: right;
  text-align: left;
}

#pun-messages #profile .post-author .pa-title {
  float: right;
  text-align: left;
}

#pun-messages #profile .post-author .pa-online {
  float: right;
  text-align: left;
  padding: 0;
  margin: 0;
}

#pun-messages #profile .post-author .pa-reg, #pun-messages #profile .post-author .pa-posts {
  display:none;
}

#pun-messages #profile td.pmtc22 a {
  white-space: pre-wrap;
  white-space: -moz-pre-wrap !important;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}

#pun-messages .post-body {margin-top: 10px;}

#pun-messages textarea#main-reply {
  width: 100% !important;
  background-color: #e3dcca !important;
} 

#pun-messages #post-form {
  position: relative;
  z-index: 12000;
}

/* Codebox + Preview Fix and Messages Fix pt.2 */

.punbb .post-content .code-box {
  width: auto;
  overflow: auto;
}

fieldset#post-preview, #pun-messages fieldset {
  padding: 0;
  margin: 0 0 1em 0;
  box-sizing: border-box !important;
  border: none !important;
}

fieldset#post-preview legend {
    display: none !important;
}

fieldset#post-preview .fs-box, #pun-messages fieldset .fs-box {
    width: 95% !important;
    box-sizing: border-box !important;
    margin: 1em auto;
}

fieldset#post-preview .post-box, #pun-messages fieldset .post-box {
    width: 100%;
    padding: 0;
    box-sizing: border-box !important;
}

fieldset#post-preview .post-content, #pun-messages fieldset .post-content {
    width: 95%;
    margin: auto;
    padding: 0.5em 0;
    box-sizing: border-box !important;
}

#pun-messages fieldset .post-content {
    width: 100%;
}

.punbb .post-content .scrollbox {
    width: 100%;
    overflow: auto;
    margin: 0 0 1em;
}

.punbb .post-content pre {
    width: 100%;
    height: auto;
    overflow: auto;
}

#pun-messages #font-area, #pun-messages #size-area, #pun-messages #color-area, #pun-messages #smilies-area, #pun-messages #image-area, #pun-messages #video-area, #pun-messages #keyboard-area, #pun-messages #table-area, #pun-messages #addition-area {
  margin: 0 !important;
  padding: 20px 20px 20px 20px !important;
  }



/* No Hyphens Fix */

.punbb .post-content pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap !important;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.topic .sharelink {display:none}