/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
body {background-image : url("http://i.imgur.com/AswZhyG.png");
background-repeat: repeat; background-attachment: scroll;
background-position : top center; background-color: #637a63;}


/* Шапка */
#pun-title table {
background-image : url(http://i.imgur.com/XGmqBbB.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 942px;
height: 280px;
margin-left: -30px;}

/* Тело форума */
#pun {
width: 942px; 
background-color: transparent; 
background-image: url(http://i.imgur.com/yfZL51h.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://i.imgur.com/Joxir1o.png);
margin: 0px 0px -30px -30px;
background-position : center top;
background-repeat : no-repeat;
width: 942px;
height: 150px; 
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: #584831;
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: #584831;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://funkyimg.com/i/2qTgx.png);
    background-color: #afaeae;
    color: #253025;
border: solid 1px rgba(40, 52, 41, 0.09);
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-image: url(http://funkyimg.com/i/2qTgx.png);
    background-color: #afaeae;
    color: #293329;
    border: 0px solid rgba(87, 72, 48, 0.34);
}

/* Тень и закругление */
.punbb .quote-box, .punbb .code-box, .punbb textarea, .punbb select  { 
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
 }

.punbb input { border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
background-image: url("http://funkyimg.com/i/2qTgx.png");
background-color: #afaeae;}





/* 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: #2f3a2f;
  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: #2f3a2f; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #997439;
  text-decoration: none;
  }

#pun-ulinks a {
  font-size: 10px;
  color: #9a8056;
  font-family: 'arial';
  font-weight: normal;
  text-transform: lowercase;
  }

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #bcbcbc;
}


#pun-navlinks a, #pun-navlinks .container {
color: #bcbcbc;
}




/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
            background: url(http://funkyimg.com/i/2qTgt.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://funkyimg.com/i/2qTgs.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://funkyimg.com/i/2qTgr.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://funkyimg.com/i/2qTgq.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-announcement .container {font-size: 101%; font-family: "Arial";}
.category h2 span{display: none;}
#pun-stats h2 span {visibility: hidden;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}





/*---Прокрутка---*/

::-webkit-scrollbar-thumb:vertical {
    background-color:#5a4b34;
}

::-webkit-scrollbar-thumb:horizontal {
    background-color:#5a4b34;
}

::-webkit-scrollbar {
width: 5px;
    height: 6px;
    background-color: #5a4b34;
    border: 2px solid #bcbcbc;
    }









#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}



/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(http://funkyimg.com/i/2qTgR.png) 0 0 repeat-y; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:12px 0!important;
}
.punbb .post .post-author > ul {
  background:url(http://funkyimg.com/i/2qTgQ.png) 0 top no-repeat, url(http://funkyimg.com/i/2qTgS.png) 0 bottom no-repeat; /*Фон верха - низа*/
  margin:-12px 0 -12px 0!important;
  padding:9px 9px!important;
}



/*Выравниваем в одну строку число постов и Уважение*/
.pa-posts, .pa-respect {
    text-align: center;
    display: inline-block;
    width: 69px;
    padding: 5px 8px 5px 5px !important;
    margin-top: 3px;
    margin-bottom: 5px !important;
    /* letter-spacing: 2px; */
    /* margin-left: 6px; */
    text-transform: uppercase;
    font-size: 8px;
}




.punbb .post-content a, 
.punbb .post-content a:link {
color:#5e4e36;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#877961;
text-decoration: underline;
}





.punbb .pa-avatar img {
  border: 3px double rgba(205,202,192,0.9);
}



.topic .post {
  margin-left:10px;
}






li#navindex a span {
color: #997439;
}

li#navindex a span:hover, #li#navindex a span:focus, #li#navindex a span:active {
color: #2f3a2f;
}

#pun-crumbs1 p.container {
    border-top: none;
    padding: 1em 1em 0.8em 1em;
    font-size: 1.1em;
    font-weight: bold;
}

#pun-crumbs2 .container {
    border-bottom: none;
    padding: 0.8em 1em;
    font-size: 1.1em;
    font-weight: bold;
}



.bestpost {
    color: #bcbcbc;
    font-size: 10px;
    line-height: 10px;
    position: absolute;
    text-align: justify;
}



.bestpost img {
    float: left;
    padding-right: 5px;
}



