/*Убираем слово объявление из таблицы*/
#pun-announcement h2 {display: none}
#pun-announcement .container {padding-top: 1em}
/*Ставим шапку*/
body {
background-image: url("http://graytest.rolka.su/files/0012/57/ee/28489.jpg");
background-repeat: no-repeat;
background-position: top center; 
background-color: transparent; 
}
/*Ставим фон*/
HTML {
background-color: фоновый цвет;
background-image: url("http://graytest.rolka.su/files/0012/57/ee/52945.jpg");
background-repeat: repeat-xy; 
background-position: center top;
}
/*Ставим низ*/
#pun_wrap {  
background-image: url("http://graytest.rolka.su/files/0012/57/ee/98807.jpg");
background-repeat: no-repeat; 
background-position: center bottom;
}

/* CS1 Background and text colours
-------------------------------------------------------------*/

/* 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: #2e2c27;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
  background-color: transparent;
  color: #2e2c27;
  }

/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  background-color: transparent;
  color: #2e2c27;
  font-size: 20px;
  font-style: oblique;
  font-weight: bold;
  font-family: 'Lucida Console', sans-serif, fantasy;
  text-align: center;  /*выравнивание по центру, также можно поставить left или right*/
  background-position: top center;  /*выравнивание картинки категории*/
  background-repeat: no-repeat;  /*картинка категории не дублируется*/
   }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
  background-color: transparent;
  color: #2e2c27;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
  background-color: transparent;
  color: #2e2c27
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
  background-color: transparent;
  color: #2e2c27
  }

/* CS1.7 */
.punbb .quote-box, .punbb .code-box {
 background-color: #e8deae;
  color: #241f18;
border-top:2px solid #8f171a;
border-right:2px solid #8f171a;
border-bottom: 2px solid #8f171a;
border-left:4px solid  #8f171a;
    border-radius:15px;
    -webkit-border-radius:15px;
    -khtml-border-radius:15px;
    -moz-border-radius:15px;
    -o-border-radius:15px;
  }

/* CS1.8 */
#pun-navlinks .container {
  background-color: transparent;
  color: #000000;
  }

.offline li.pa-online strong {
  font-weight: normal
  }

.punbb textarea, .punbb select, .punbb input {
  background-color: #e8deae;
  color: #241f18;
border-top:2px solid #8f171a;
border-right:2px solid #8f171a;
border-bottom: 2px solid #8f171a;
border-left:4px solid  #8f171a;
    border-radius:15px;
    -webkit-border-radius:15px;
    -khtml-border-radius:15px;
    -moz-border-radius:15px;
    -o-border-radius:15px;
}

/* 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-top:2px solid #8f171a;
border-right:2px solid #8f171a;
border-bottom: 2px solid #8f171a;
border-left:4px solid  #8f171a;
    border-radius:15px;
    -webkit-border-radius:15px;
    -khtml-border-radius:15px;
    -moz-border-radius:15px;
    -o-border-radius:15px;
  }

#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: 1px solid #dedfdf
  }

li.pa-online {
  border-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: #6e0913
  }

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #6e0913
  }

/* 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: #6e0913;
  }

/* CS3.3 */
#pun-navlinks a {
  color: #6e0913;
  text-decoration: none
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #6e0913;
  text-decoration: underline
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #6e0913;
  }

/* CS4 Post status icons
-------------------------------------------------------------*/
/*Старые сообщения*/
Div.icon {
background-image : url('http://perekrestok.rusff.ru/files/0012/5a/c3/59626.png');
background-repeat: no-repeat;
}
/*Новые сообщения*/
TR.inew Div.icon {
background-image : url('http://perekrestok.rusff.ru/files/0012/5a/c3/32671.png');
background-repeat: no-repeat;
}
/*Важные темы*/
TR.isticky Div.icon {
background-image : url('http://perekrestok.rusff.ru/files/0012/5a/c3/23192.png');
background-repeat: no-repeat;
}
/*Закрытые темы*/
TR.iclosed Div.icon {
background-image : url('http://perekrestok.rusff.ru/files/0012/5a/c3/31459.png');
background-repeat: no-repeat;
}


div.AwardAllWindow {
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  position: fixed; top: 0px; left: 0px;
}
div.AwardWindow {
  z-index: 9999; position: fixed;
  top: 10% !important; left: 50% !important;
  width: 400px; padding: 10px; 
  background: #ccbd9f;
  margin-left: -150px !important; 
  vertical-align: middle; 
  border: 3px solid #ccbd9f;
  border-radius: 10px; 
  color: #6c0b0c;
-moz-box-shadow: 9px 10px 17px #000000;
-webkit-box-shadow: 9px 10px 17px #000000;
box-shadow: 9px 10px 17px #000000;
}
div.AwardWindow div#closeBtn { 
  cursor: pointer; 
  background: url(http://uploads.ru/i/P/A/l/PAlLS.png) no-repeat center;
  width: 16px; height: 16px;
  position: relative;
  top: -7px; left: 392px;
}
div.AwardWindow h3 { 
  font-variant: small-caps;
  font-weight: bold;
  font-size: 14px;
 text-align: center;
  margin-top: -20px; 
}
div.AwardWindow div#AwardContent { 
  width: auto; height: auto; 
  min-height: 100px;
  max-height: 300px !important; 
  overflow-y:auto;
}
div.AwardWindow div#AwardContent td#title { 
  font-variant: small-caps;
  font-weight: bold; 
  font-size: 12px;
  width: 100px;
  text-align: center;
}
div.AwardWindow div#AwardContent td#desc { 
  font-size: 10px;  
}
#pun-profile fieldset > span {
  cursor: pointer;
  padding: 3px;
  border: 1px solid black;
  position: relative;
  top: -18px;
  margin-bottom: 10px;
  left: 70px;
  background-color: white;
}


#pun-title table tbody tr .title-logo-tdr {position: absolute; z-index: 1; left: -540px; top: 1px;}