/* CS1 Background and text colours
-------------------------------------------------------------*/

body {
background-color: #65798e;
background-image: url(http://forumstatic.ru/files/001a/72/e1/72531.png), url(http://forumstatic.ru/files/001a/72/e1/16649.png);
background-position: top center, center;
background-repeat: no-repeat, repeat;
background-attachment: fixed,  fixed; 
margin: 0 0 0 0 !important;
padding: 0 0 0 0 !important;
  color: #111111;
}

.category h2 {
  margin: 15px 250px 15px 250px  !important;
  padding: 3px 0 5px 0 !important;
  font-size: 16px !important;
  font-weight: bold !important;
    background: rgba(209, 192, 160, 0.5) !important;
    border: 3px double #ece8e0 !important;
    outline: 1px solid #d0c0aa;
  color: #252525 !important;
}

.punbb {
margin: 249px auto 80px auto !important;
width: 996px !important;
background-color: #e0d9cd;
background-image: url("http://forumstatic.ru/files/001a/72/e1/86386.png"),  url("http://forumstatic.ru/files/001a/72/e1/12307.png"), url("http://forumstatic.ru/files/001a/72/e1/41150.png");  
background-position: top center, bottom center, top center;
background-repeat: no-repeat, no-repeat, repeat-y;
  color: #111111;
  box-shadow: 0 0 7px -2px #333;
  -webkit-box-shadow: 0 0 7px -2px #333;
  -moz-box-shadow: 0 0 7px -2px #333; 
}

/* 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: #111111;
  }

/* CS1.2 */
.punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  background-color: transparent;
  color: #111111;
  }

#pun-admain {margin-left: 50px; margin-right: 50px;
}

#pun-adnav .adcontainer {width: 150px;}

.punbb .main .container {
  background-color: transparent;
  margin: 0 60px 0 60px !important;
  color: #111111;
  }

/* CS1.3 */
.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
  background-color: transparent;
  color: #111111;
  font-weight: normal;
  font-style: normal;
  }

#pun-main h2 {
  background: transparent;
  color: #111111;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  font-style: normal;
  vertical-align: middle;
  font-family: cambria, georgia, tahoma, sans-serif, arial, book antiqua;
  }

/* CS1.4 */

#pun-title, #pun-title .container, .punbb .modmenu .container {
  background-color: transparent;
  color: #111111;
  }

#pun-title TABLE {background: url) no-repeat top center; padding: 0 0 0 0 !important;
  min-width: 996px;
  margin-left: 0px;
  margin-top: 0px !important;}

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: transparent;
  color: #111111;
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  background-color: transparent;
  color: #111111;
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
  background-color: transparent;
  color: #111111;
  }

/* CS1.8 */
#pun-navlinks {
  background-color: transparent;
  }

.offline li.pa-online strong {
  font-weight: normal
  }

.punbb select, .punbb input, input:-internal-autofill-selected {
  background-color: #dbd2bd;
  color: #111;
  border-color: #d0c0aa !important;
  border-style: solid;
  border-width: 1px;
  outline: 0 none !important;
}

#font-area, #size-area, #color-area, #smilies-area, #image-area, #video-area, #keyboard-area, #table-area, #addition-area, #spoiler-area {
  margin-top: 10px !important;
  margin-right: 0 !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  background-color: #e0d9cd;
  border: solid 1px #d0c0aa;
  opacity: 0.9 !important;
  }



#table-area td {
  background-color: #d0c0aa !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #d0c0aa !important;
  }

#table-area td:hover {
  background-color: #e8e2d9 !important;
  }



/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .post h3, #pun-title {
  border-color: transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: #d0c0aa;
  }

/* 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 table {
  margin-top: 1px;
  outline: 1px solid #d0c0aa;
  }

.punbb .post-content td {
  background: rgba(209, 192, 160, 0.3);
  border: 4px solid #e0d9cd !important;
  }

/* CS2.5 */
.punbb th {
  border-color: transparent
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #d0c0aa;
  }

#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: #d0c0aa;
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: #d0c0aa;
  }

.punbb .divider {
  border-color: #d0c0aa #d2c5af #d2c5af #d2c5af;
  }

.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: #4a6380;
  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: #111111;
  }

/* 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: #af9c7f;
  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: #485b71;
  border: 0 1px 0 1px;
  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.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #af9c7f;
  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: #e2d6bf;
  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: #af9c7f;
  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/001a/72/e1/90409.png);
background-repeat: no-repeat; margin: 0 9px 0 0;
}

tr.inew div.icon {
        background: url(http://forumstatic.ru/files/001a/72/e1/78036.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumstatic.ru/files/001a/72/e1/55415.png) no-repeat;
}

tr.iredirect div.icon {
        background: url(http://forumstatic.ru/files/001a/72/e1/90409.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumstatic.ru/files/001a/72/e1/16067.png) no-repeat;
}

#pun-main div.catleft, #pun-main div.catright {display: none}


/* Messages */

#pun-messages #profile .container {
  background-color: transparent;
  padding: 0px 0px 0px 0px !important;
  margin: 0px 0px 0px 10px !important;}

#pun-messages #profile .container fieldset {
  padding-left: 50px !important;
  padding-top: 0px !important;
  width: 860px;}
#pun-messages #pun-crumbs1 {margin-bottom: 0px;}

#pun-messages #messages {margin-top: 20px; margin-left: 0px; margin-right: 0px;}

#pun-messages #profilenav {float: none; margin-left: 0em; width: auto;}

#pun-messages #profile h2 span, #pun-messages #profilenav h2, #pun-messages #profilenav h2 span {
  display: none;
}

#pun-messages #profile h2 {margin-top: 10px; margin-left: 20px;}

#pun-messages #profile h3 {border: 1px 0 0 0; margin-right: 10px; margin-left: 5px;}

#pun-messages #profile fieldset {padding-left: 20px !important; padding-right: 20px !important; border: none; margin: 0px; padding: 0px;}

#pun-messages #profile fieldset legend {margin: 20px 0px 20px 0px;}

#pun-messages #profile legend strong {
    background-color: rgba(209, 192, 160, 0.3);
    border: 1px solid #c1b9a5;
    outline: 1px solid #ede6d9;
    outline-offset: -2px;
  color: #333333;
  padding: 1px 5px 2px 5px !important;
  font-size: 12px !important;
  text-transform: uppercase;}

#pun-messages #profile legend span {margin: 0px 0 0 10px; text-transform: uppercase; font-weight: bold;}

#pun-messages #profile .fs-box .container {margin: 0px; padding: 10px !important;}

#pun-messages #profile .fs-box h3 span {text-align: center;}

#pun-messages .punbb .fs-box {margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px !important;}

#pun-messages blockquote {padding: 0px !important; width: auto;}

#pun-messages .quote-box {padding: 10px !important;}

#pun-messages .punbb fieldset legend span {#333333; font-size: 1em; margin: 0px 100px 0px 0px !important;}

#pun-messages .post-author {width: 216px; margin-top: 2px;}
#pun-messages .post-body {margin-left: 220px; padding-top: 0px;}
#pun-messages .post-box {width: 600px;}
#pun-messages textarea {margin-left: 9px;}
#pun-messages .fs-box {padding-top: 0px;}


#pun-messages #profilenav ul {border: 0px; list-style:none; padding: 0px 0px 0px 49px; background: transparent;}

#pun-messages #profilenav li {text-align:center !important; font-weight: bold; display:inline; float:left; min-width: 70px; padding: 0 10px; height:20px;
    background-color: rgba(209, 192, 160, 0.3);
    border: 1px solid #c1b9a5;
    outline: 1px solid #ede6d9;
    outline-offset: -2px;
  border-collapse: collapse;
  transition: all 0.6s ease;
  -webkit-transition: all 0.6s ease;
  -khtml-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
}

#pun-messages #profilenav li.isactive, #pun-messages #profilenav li:hover, #pun-messages #profilenav li:focus, #pun-messages #profilenav li.isactive:hover {text-align:center !important; font-weight: bold; display:inline; float:left; min-width: 70px; padding: 0 10px; height:20px;
  background-color: #e4ddd0;
  outline: 1px solid #f7f3de;
  outline-offset: -2px;
  transition: all 0.6s ease;
  -webkit-transition: all 0.6s ease;
  -khtml-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
}


#pun-messages #profilenav li a, #pun-messages #profilenav li span { text-decoration:none; text-align:center !important; padding 0 3px;  line-height:20px; display:inline;}
 #pun-messages #profilenav li.isactive a, #pun-messages #profilenav li.isactive span { text-decoration:none; text-align:center !important; padding 0 3px;  line-height:20px; display:inline;}
#pun-messages #profilenav li a:hover, #pun-messages #profilenav li a:focus, #pun-messages #profilenav li.isactive a:hover {margin: 0; padding: 0 !important;}

#pun-messages #profile .post-author .pa-reg, #pun-messages #profile .post-author .pa-posts {
  display:none;
}

#pun-messages td {vertical-align: middle;}

#pun-messages img.postimg {width: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 {
  background-color: #e0d9cd !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;
}

::selection { 
  background: #d6c6ac;
  color: #101010;
  }  
::-moz-selection { 
  background: #d6c6ac;
  color: #101010
  }

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background-color: rgba(19, 17, 16, 0.2);
}

::-webkit-scrollbar-thumb {
    background-color: #d8cdb5;
    width: 7px !important;
}

.post-content del{
  text-shadow: #999 0 0 10px;
  color: transparent;
  text-decoration: none;
  transition: all 0.6s ease;
  -webkit-transition: all 0.6s ease;
  -khtml-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  z-index: 12000;
}

.post-content del:hover{
  background-color: transparent;
  color: #111111;
  text-shadow: none;
  transition: all 0.6s ease;
  -webkit-transition: all 0.6s ease;
  -khtml-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
}

del {background-color: transparent !important;}

#topic-users-in a:not(:last-of-type):after {
  content: ",";
  font-weight: bold;
  color: #111111;
  pointer-events: none;
}

.topic .sharelink {display:none;}
#pun-live-rusff, #pun-live-rusff-peoples {display: none;}
li.pa-gifts, li.pa-awards, .pl-reports {display: none !important;}

#pun-main #profile1[action$="id=4"]{
display: none;
}
#pun-main #profile1[action$="id=8"]{
}


#pun-index .category .tc2,#pun-index .category .tc3,
#f-subforums .tc2,#f-subforums .tc3{
  display:none!important;
}

.threads-messages  {
    display: inline-block;
    width: 100%;
    height: 14px;
    font-size: 8px;
    text-transform: uppercase;
    font-weight: normal;
    text-align: right;
}

.main table .trans-tm {
    display: inline;
    padding: 0px;
    position: absolute;
    top: 10px;
    right: 0px;
    width: auto;
}

.threads-messages span {
     font-weight: bold;
}

.admin-advert-block {
    display: none;
}

#main-reply {
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.avatar-image[style*="default_avatar.jpg"]{
    background-image: url(http://forumstatic.ru/files/001a/72/e1/47842.png) !important;
}

.punbb .user-avatar {
    height:32px !important;
    width:32px !important;
}

.punbb .user-avatar .avatar-image {
    border-radius:0% !important;
    height: 28px !important;
    width: 28px!important;
    border: 2px solid #a08d6f !important;
}

.punbb .user-avatar .isonline {
    top: -2px !important;
    right: -2px !important;
}