/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
body {background-image : url("http://i.imgur.com/1UC0ZBI.jpg");
background-repeat: repeat; background-attachment: scroll;
background-position : top center; background-color: #c2bebe;}


/* Шапка */
#pun-title table {
background-image : url(http://i.imgur.com/Ozogkk2.jpg); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 936px;
height: 317px;
margin-left: -20px;}

/* Тело форума */
#pun {
width: 936px; 
background-color: transparent; 
background-image: url(http://i.imgur.com/T9IsnMK.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 936px;}

/* Футер */
#pun-about p.container {
background-image : url(http://i.imgur.com/FsW80wv.jpg);
margin: 0px 0px -30px -20px;
background-position : center top;
background-repeat : no-repeat;
width: 936px;
height: 126px; 
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: #7f3434;
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: #7f3434;
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://i.imgur.com/0TCsL00.jpg);
    background-color: #c3bfbf;
    color: #733131;
    box-shadow: 0 0 0 5px rgba(181, 177, 176, 0.44);
    border: 1px solid rgba(212, 207, 206, 0.71);
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-image: url("http://i.imgur.com/0TCsL00.jpg");
    background-color: #c3bfbf;
    color: #733131;
}

/* Тень и закругление */
.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://i.imgur.com/0TCsL00.jpg");
background-color: #c3bfbf;}





/* 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: #743030;
  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: #743030; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #9c5252;
  text-decoration: none;
  }

#pun-ulinks a {
  font-size: 10px;
  color: #743030;
  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: #9c5252;
}





/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
            background: url(http://i.imgur.com/iP0dJ6b.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(http://i.imgur.com/PVkFgwD.jpg) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://i.imgur.com/q1ERIwA.jpg) no-repeat;
}

tr.isticky div.icon {
        background: url(http://i.imgur.com/mjwpuNV.jpg) 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:#3a1b1b;
border: 1px solid #5c2a2a;
}
::-webkit-scrollbar-thumb:horizontal {
background-color:#3a1b1b;
border: 1px solid #5c2a2a;
}
::-webkit-scrollbar {
width: 5px;
height: 6px;
background-color: #5c2a2a;
border: 2px solid #c2bebe;
    }


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}



/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(http://i.imgur.com/sfl1sWE.jpg) 0 0 repeat-y; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:12px 0!important;
}
.punbb .post .post-author > ul {
  background:url(http://i.imgur.com/SKeMWyJ.jpg) 0 top no-repeat, url(http://i.imgur.com/ZyGrBNK.jpg) 0 bottom no-repeat; /*Фон верха - низа*/
  margin:-12px 0 -12px 0!important;
  padding:9px 9px!important;
}

.punbb .pa-avatar img {
    max-width: 190px;
    height: auto;
}


.pa-avatar img {
    border: 3px solid #d4d1d0 !important;
    box-shadow: 0px 0px 0px 1px #bbb5b5;
}



.topic .post {
  margin-left:10px;
}


.bestpost {
    color: #c2bebd;
    font-size: 10px;
    line-height: 11px;
    font-family: franklin gothic;
    position: absolute;
    text-align: justify;
}

.bestpost img {
    float: left;
    padding-right: 5px;
}



.links1 {
    height: 0px;
    padding: 6px 6px 6px 6px;
    background: #702e2f;
    color: #bcbdbf !important;
    /* border: 1px solid #353a4c; */
    font-family: tahoma;
    font-size: 9px;
    text-align: center;
    letter-spacing: 0.4px!important;
    line-height: 0px !important;
    margin-left: 0px!important;
    /* text-transform: uppercase; */
    display: inline-block;
    width: 150px;
}

.links1:hover {
    height: 0px;
    padding: 7px 7px 7px 7px;
    background: #652a2a;
    color: #b9bcbc !important;
    font-family: tahoma;
    font-size: 9px;
    text-align: center;
    letter-spacing: 0.4px!important;
    line-height: 0px !important;
    margin-left: 0px!important;
    /* text-transform: uppercase; */
    display: inline-block;
}




.pa-fld1 {
    text-align: justify;
    z-index: 100;
    margin-bottom: 0px!important;
    display: inline-block;
    letter-spacing: 0px;
    width: 180px;
    padding-bottom: 5px;
    border-bottom: dashed 1px #a9b598;
}



.pa-fld2 {
    z-index: 100;
    display: inline-block;
margin-left: -6px;
}



.links {
    height: 0px;
    padding: 6px 4px 4px 4px;
    background: rgba(210, 208, 207, 0.42);
    color: #64312e !important;
    border: 1px solid rgb(220, 217, 216);
    font: bold 7px arial !important;
    text-align: center;
    letter-spacing: 1px!important;
    line-height: 0px !important;
    margin-left: 0px!important;
    text-transform: uppercase;
    display: inline-block;
    -moz-transition: all 0.2s 0.02s ease;
    -o-transition: all 0.2s 0.02s ease;
    -webkit-transition: all 0.2s 0.02s ease;
}