/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
body {background-image : url("http://co.forum4.ru/files/0017/44/11/48718.png");
background-repeat: repeat; background-attachment:  fixed;
background-position : top center; background-color: #8c8b8b;}

/* Шапка */
#pun-title table {
background-image : url(http://co.forum4.ru/files/0015/2a/57/27721.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 942px;
height: 298px;
margin-left: -20px; 
}

/* Тело форума */
#pun {
width: 942px; 
background-color: transparent; 
background-image: url(http://co.forum4.ru/files/0018/1b/7e/90544.png); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 942px;}

/* Футер */
#pun-about p.container {
background-image : url(http://co.forum4.ru/files/0015/2a/57/26331.png);
margin: 0px 0px -30px -20px;
background-position : center top;
background-repeat : no-repeat;
width: 942px;
height: 96px; 
overflow-x: hidden;
}


/* CS1.1 Фон и цвет текста на форуме */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, #pun-navlinks .container,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend, .punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer, #pun-stats h2, .punbb .main h2, #pun-title, #pun-title .container, .punbb .modmenu .container, .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl, #pun-navlinks .container  {background-color: transpanent;
color: #1e1e1e;
font-weight: normal;
font-style: normal;
}

#pun-admain .adformal, #pun-admain .adcontainer
{border: none;
border-color:  transparent;}

.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
background-color: transparent;
color: #1e1e1e;
text-align:center; 
font-size: 15px; 
font-style: normal; font-weight: bold; font-family: "Tahoma";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
background-image: url(http://funkyimg.com/i/2jSVw.png);
color: #363030;
text-shadow: 0px 0px 1px #000c;
border-radius:15px;
  -webkit-border-radius:10px;
  -moz-border-radius:5px;
  -khtml-border-radius:3px;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
background-image: url("http://co.forum4.ru/files/0018/1b/7e/55651.png");
background-color: #8a8989;
color: #1e1e1e;}

/* Тень и закругление */
.punbb .quote-box, .punbb .code-box {
border-color: #ccc #fff #fff #ccc;}

.punbb input { border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
background-image: url("http://co.forum4.ru/files/0018/1b/7e/55651.png");
background-color: #8a8989;}


/* CS1.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
font-family: Sylfaen;
padding: 12px;
 font-size:15px;
 font-weight: bold;
 text-align:center;
 height: 29px;
 text-transform:uppercase;
 margin-left: 0px;
 color:#264916 !important;
 text-shadow:0px  0px  3px  #577340;
}


/* CS2 Ссылки
-------------------------------------------------------------*/

/* CS2.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, .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited, #pun-navlinks a, #pun-ulinks a {color: #264916;
  text-decoration: none;
  }

/* CS2.2 */
.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, #pun-navlinks a:focus, #pun-navlinks a:active, #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #264916; 
  text-decoration: none;
  }

.punbb a:hover,  #pun-ulinks a:hover {
  color: #383737;
  text-decoration: none;
  }

#pun-ulinks a {
  font-size: 9px;
  color: #264916; 
  font-family: 'arial';
  text-decoration: normal;
  text-transform: lowercase;
  letter-spacing: 1px;
  }

#pun-ulinks a:hover, #pun-navlinks a:active {
  text-decoration: none;
  color: #383737;
}


#pun-navlinks a, #pun-navlinks {
color: #264916;
 text-shadow: 0px 1px 0px rgba(153,152,152,0.9);
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
            background: url(http://co.forum4.ru/files/0018/1b/7e/91721.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://co.forum4.ru/files/0018/1b/7e/61113.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://co.forum4.ru/files/0018/1b/7e/19273.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://co.forum4.ru/files/0018/1b/7e/77774.png) no-repeat;
}


/* CS3.2 Всё подряд*/
#pun-main div.catleft, #pun-main div.catright {display: none}
#pun-main .post-author ul {text-align: center}
ul.post-ul-Sp, .post-img-Sp {text-align:center;}
#pun th, #pun-main h2 {text-align: center}
#pun-navlinks .container, #pun-ulinks .container {text-align: center;}
.modlist {font-size: 95.05%;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}

/* Плавные ползунки */
.go-up, .go-down {
 display: none;
 position: fixed; /*позиционирование*/
 z-index: 9999; /*поверх все элементов на странице*/
 right: 5%; /*положение на странице, если слева - left*/
 cursor: pointer;
 opacity: .5;
 padding: 3px;
 margin-bottom: 5px;
 width: 64px;
 height: 31px;}
.go-up { bottom: 60px; }
.go-down { bottom: 10px; }
.go-down:hover,
.go-up:hover {
 opacity: 1;}

/* Прокрутка */
::-webkit-scrollbar {background: #222222; width: 4px; height: 3px;}
::-webkit-scrollbar-thumb {background: #2d2d2d; width: 3px}
::-webkit-scrollbar-corner {background: #2d2d2d;}

#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

.punbb .pa-avatar img {
  border: 1px solid rgba(30,30,30,0.4);
}

/* оформляем ссылки */
A.navi:link, A.navi:active, A.navi:visited {background:#000000;font-family: small fonts;padding:10px;font-size: 7px;text-align:left;line-height: 7px;letter-spacing: 2px;color:#ffffff;text-transform: uppercase;display:block;width:218px;margin:1px;font-style:normal;}

A.navi:hover {background-image:url('http://s45.radikal.ru/i109/1008/c9/99903e342ce1.jpg');font-family: small fonts;padding:10px;font-size: 7px;text-align:right;line-height: 7px;letter-spacing: 2px;color:#f0f0f0;text-transform: uppercase;display:block;width:218px;margin:1px; text-decoration: none; font-style:normal;font-weight:normal;}