/* CS1 Background and text colours
-------------------------------------------------------------*/
#pun-title table {
    background-image: url("http://co.forum4.ru/files/0015/34/07/67944.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    border: medium none;
    height: 713px;
    margin-left: -25px;
    margin-bottom: -320px!important;
    width: 950px;
}
#pun {
   background-color: #cbcccd;
    background-image: url("http://co.forum4.ru/files/0015/34/07/17118.jpg");
    background-repeat: repeat;
}


html, body {
     background: url("http://co.forum4.ru/files/0015/34/07/42382.jpg") #040f15 repeat scroll center center;
     }

body {
    margin: 0 auto;
    overflow-x: hidden;
}

#pun-about p.container {
      background-color: transparent;
background-image : url(http://co.forum4.ru/files/0015/34/07/54931.jpg); 
background-position: center top; 
background-repeat : no-repeat; 
height : 234px;
width: 924px; 
margin-left: -24px;
margin-top: 0px;
text-align: center;
border-color: transparent;
}


div#pun-about {
   margin-bottom: -234px;
  height: 234px;
}

/*надпись отредактировано*/
.lastedit {
  display: none;
}


/*выравнивание профиля*/
#pun-main .post-author ul, .punbb .post .post-author p {
  text-align: center;
  background: url("http://co.forum4.ru/files/0015/34/07/72494.jpg") #040f15 repeat-y scroll center center !important;
  border-radius: 0px; 
  margin-left: 0px !important;
  color: #cbcccd !important;
}

/*цвет имени пользователя в профиле*/
.pa-author a:hover, .pa-author a:focus, .pa-author a:active {
    color: #cbcccd;
 }

.pa-author a, .pa-author {
    color: #cbcccd !important;
    line-height: 28px !important;
    font-family: 'CharlemagneStd-Bold', Georgia, 'Times New Roman', Times, serif !important;
       text-shadow: -1px 1px 0px #284d63 !important;  
  text-transform: uppercase;  
    margin-left: 0px;
    }

.post-author ul li.pa-avatar img{
    background:transparent none!important;
max-width:190px;
height:auto;
    width:auto!important;
    background:transparent none!important;
  border: #cbcccd double 3px;
    box-shadow: 0px 5px 18px #000;
    -webkit-box-shadow:0px 5px 18px #000;
    -khtml-box-shadow:0px 5px 18px #000;
    -moz-box-shadow:0px 5px 18px #000;
 }

.pa-respect, .pa-posts {
  color: #cbcccd !important;
}

.pa-respect a {
   color: #cbcccd !important; 
  text-shadow: none !important;
}

.pa-fld1 a {
color: #cbcccd !important; 
  text-shadow: none !important;
  text-transform: uppercase;
  text-decoration: underline; 
}

.pa-fld3 {
  text-align: left;
}

.pa-fld2 {
    color: #cbcccd !important;
    line-height: 28px !important;
    font-family: 'CharlemagneStd-Bold', Georgia, 'Times New Roman', Times, serif !important;
    text-transform: uppercase;  
    text-shadow: 0.01em 0.1em 0.1em #251f04;
  font-weight:bold;
  margin-left: 0px !important;
  margin-top: -30px !important;
  width: 220px;
}

.pa-title {
text-align: center;
  font-family: 'Bad script';
    font-size: 14px;
}



/* 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 {
  background-color: transparent;
  color: #333;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  background-color: transparent;
  color: #333;
  }

.punbb-admin #pun-admain .adcontainer {
  background-color: #cbcccd;
  color: #333;
}

/* CS1.3 */
/* Font Setup
-------------------------------------------------------------*/
.punbb {
  font-size: 1.1em;
}
.punbb h1, .punbb h2 {
  text-align: center;
  font-family: 'CharlemagneStd-Bold' !important;
  font-size: 1.1em !important;
  color: #cbcccd;
  background: url(http://co.forum4.ru/files/0015/34/07/34171.png) center no-repeat;
  width: 923px;
  margin-left: -27px!important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.punbb .category h2>span>a{
  font-family:'CharlemagneStd-Bold'!important;
  font-weight:400!important;
  text-shadow:none!important;
}

.punbb-admin #pun-admain h2 {
  background-color: #040f15;
   background-image: none;
  width: auto;
  height: auto;
}
.punbb-admin #pun-admain h2 span {
    background-color: #040f15;
   background-image: none;
    width: auto;
  height: auto;
}

.punbb h1 span, .punbb h2 span {
  min-width: 300px;
  max-width: 450px;
  min-height: 74px;
  max-height: 74px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
  background-image: url(),
                    url(),
                    url();
  background-position: 0% 50%, 100% 50%, 50% 50%;
  background-repeat: no-repeat, no-repeat, repeat-x;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-align: center;
  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

#pun-index h2 span:after {
  display: block;
  font-weight: normal;
  font-family: 'KobzarKS';
  line-height: 12px !important;
  text-transform: none;  
  color: #b5b5b5;
  font-size: 14px;
  width: 90%;
}

#pun-category1 h2 span:after {
  content: '';
}

#pun-category2 h2 span:after {
  content: '';
}

#pun-category3 h2 span:after {
  text-align: right;
  content: '';
}

#pun-category4 h2 span:after {
  content: '';
}

#pun-category5 h2 span:after {
  content: '';
}

#pun-category6 h2 span:after {
  content: '';
}

#pun-stats h2 {
  background-image: url(http://co.forum4.ru/files/0015/34/07/34171.png);
  width: 923px;
  margin-left: 0px;
}

#pun-stats h2 span {
 font-size: 0em;
}

#pun-stats h2 span:before {
  display: block;
  content: 'Statistics';
   text-align: center;
  font-family: 'CharlemagneStd-Bold';
  color: #cbcccd;
 font-size: 15px;
  width: 100%;
}

.punbb h3, .punbb h4 {
  font-size: 1em;
  font-weight: normal;
}

.punbb .main .tcl a {
  -ms-text-size-adjust: 125%;
  -moz-text-size-adjust: 125%;
  -webkit-text-size-adjust: 125%
}

#pun-index .main h3 {
  -ms-text-size-adjust: 150%;
  -moz-text-size-adjust: 150%;
  -webkit-text-size-adjust: 150%
}

.punbb pre {
  font: 1em Georgia, 'Times New Roman', Times, serif;
}

.punbb address, .punbb em {
  font-style: normal;
}

.punbb .post-content em {
  font-style: italic;
}

.punbb .post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

.punbb optgroup {
  font-weight: normal;
}



/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  background-color: transparent;
  color: #010101;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: transparent;
  background-image: none;
  color: #000204;
  display: none;
  }

#pun-viewtopic .post h3 {
    background: url("http://co.forum4.ru/files/0015/34/07/89854.jpg") no-repeat scroll center top;
    height: 40px;
    width: 922px !important;
    margin-left: -12px;
  padding-bottom: 12px;
 padding-top: -3px;
}


/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  background-color: transparent;
  color: #000204
  }


/* CS1.7 */
.punbb #pun-main .quote-box, .punbb #pun-main .code-box {
    background: url();
    border-color: #040f15;
    border-radius: 0px;
    border-style: double;
    border-width: 3px;
    box-shadow: 0 0 50px #040f15 inset;
    color: #040f15;
}

.punbb textarea, .punbb select, .punbb input {
  background-color: #cbcccd;
  color: #040f15;
}

/* CS1.8 */
#pun-navlinks .container {
  background-color: transparent;
  color: #f1f1f1;
  }

.offline li.pa-online strong {
  font-weight: normal
  }

.punbb th {
  color: transparent;
  background: transparent;
}


/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .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: transparent
  }

/* CS2.3 */
#pun-stats h2, .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 .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 */
.punbb .quote-box, .punbb .code-box {
  border-color: #170400;
  }

#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 .formal fieldset .post-box, .punbb .info-box {
  border-color: transparent;
  }

li.pa-online {
  border-left-color: transparent;
  }


/* CS3 Links
-------------------------------------------------------------*/
/* CS3.1 */

#pun-ulinks, #pun-ulinks .container, #pun-ulinks li, #pun-ulinks li a, #pun-ulinks li a {
    color: #040f15 !important;
  font-weight:normal !important;
}

#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {
    opacity: 0.3;
}

.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: #040f15;
  text-decoration: none;
  text-shadow: -1px 1px 0px #e3e7ed;
  font-weight:normal;
  font-family: Georgia, 'Times New Roman', Times, serif;
  background-color: transparent;
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #040f15;
  text-decoration: none;
   text-shadow: -1px 1px 0px #e3e7ed;
  font-weight:normal;
  font-family: Georgia, 'Times New Roman', Times, serif;
  background-color: transparent;
  }

/* 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: #284d63;
  text-decoration: none;
   text-shadow: -1px 1px 0px #e3e7ed;
  font-weight:normal;
  font-family: Georgia, 'Times New Roman', Times, serif;
  background-color: transparent;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #040f15;
  text-decoration: none;
  text-shadow: -1px 1px 0px #b4c3d6;
  }


/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #284d63;
  text-decoration: none;
  }


 #pun-redirect a {
  color: #c1a779;
     text-shadow: -1px 1px 0px #284d63;
  text-transform: none;
    font-family: 'Bad script';
  line-height: 12px !important;
  text-transform: none;  
  color: #b5b5b5;
  font-size: 16px;
      letter-spacing: 0;
  text-decoration: none;
  }


#pun-redirect a:hover, #pun-redirect a:focus, #pun-redirect a:active {
  color: #a3b1b4;
     text-shadow: -1px 1px 0px #284d63;
  text-decoration: none;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  color: #284d63;
  font-weight:normal;
  font-family: Georgia, 'Times New Roman', Times, serif;
  background-color: transparent;
  }



.post h3 span a:link, .post h3 span a:visited {
  color: #cbcccd;
  font-weight: normal;
  font-size: 1em;
    text-shadow: -1px 1px 0px #284d63;
  text-decoration: none;
  font-family: 'CharlemagneStd-Bold', Georgia, 'Times New Roman', Times, serif !important;
  background-color: transparent;
}

#pun-status .container a {
  color: #cbcccd;
     text-shadow: -1px 1px 0px #284d63;
  }

#pun-status .container a:hover, #pun-status .container a:focus, #pun-status .container a:active{
  color: #909497;
     text-shadow: -1px 1px 0px #284d63;
  }


/* CS4 Post status icons
 -------------------------------------------------------------*/

Div.icon {
background-image : url(http://co.forum4.ru/files/0015/34/07/69960.png);
background-repeat: no-repeat;
}
TR.inew Div.icon {
background-image : url(http://co.forum4.ru/files/0015/34/07/10686.png);
background-repeat: no-repeat;
}
TR.isticky Div.icon {
background-image : url(http://co.forum4.ru/files/0015/34/07/64730.png);
background-repeat: no-repeat;
}
TR.iclosed Div.icon {
background-image : url(http://co.forum4.ru/files/0015/34/07/26217.png);
background-repeat: no-repeat;
}

  
#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {
    position: absolute;
    right: 6px;
    top: 43px;
       box-shadow: 0 0 50px #040f15 inset;
  background: #cbcccd;
  border-color: #040f15;
    border-radius: 0px;
    border-style: double;
    border-width: 3px;
} 



 