/* CS1 Background and text colours
-------------------------------------------------------------*/

/*фон*/
body {background-image : url("http://forumstatic.ru/files/0019/a9/ef/57405.jpg");
background-repeat: repeat; background-attachment: scroll;
background-position : top center; background-color: #b8a47b;
overflow-x: hidden;
}



/* Шапка */
#pun-title table {
background-image : url(http://forumstatic.ru/files/0019/a9/ef/46447.jpg); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 1389px;
height: 451px;
margin-left: -264px;}

/* Тело форума */
#pun {
width: 962px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/0019/a9/ef/25457.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 962px;}

/* Футер */
#pun-about p.container {
background-image : url(http://forumstatic.ru/files/0019/a9/ef/48835.jpg);
margin: 0px 0px -30px -50px;
background-position : center top;
background-repeat : no-repeat;
width: 962px;
height: 120px; 
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: #20190f;
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: #20190f;
    text-align: center;
    font-style: normal;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-color: #8c795030;
    color: #20190f !important;
    border: 0px solid #79633c;
    outline: 1px solid #655333c7;
    box-shadow: 0 0 5px #5f4d35c2, 0 0 9px #907e5bab inset;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea { font-size: 1.2em !important; 
    background-color: #8c795030;
    color: #20190f !important;

}

/* Тень и закругление */
.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-color: #b8a57b;
    color: #20190f !important;
}





/* 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: #562320;
  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: #562320; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #581b17;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #5a3d11;
    text-transform: lowercase;
}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #856029;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #b9a47a;
}


#pun-navlinks a:hover {
  color: #b9a47a;
}




/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumstatic.ru/files/0019/a9/ef/95843.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumstatic.ru/files/0019/a9/ef/12529.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumstatic.ru/files/0019/a9/ef/12868.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumstatic.ru/files/0019/a9/ef/52664.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: block;}
#pun-stats h2 span {visibility: visible;}
#pun td .modlist{display:none;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-navlinks #navawards{display:none}



/*---Прокрутка---*/
::-webkit-scrollbar {
    background-color: #70542a;
    height: 5px;
    width: 9px;
    border: 1px solid #8f6c39;
}

::-webkit-scrollbar-thumb:vertical {
background-color: #bba77d; 
height: 5px; 
border: 3px double #70542a;
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #bba77d; 
height: 5px; 
border: 3px double #70542a;
}

::selection {
    background: #51110e !important;
    color: #baa57b;
}

#pun-viewforum.punbb div.icon {
    margin-top: -5px !important;
    padding: 5px;
}


.topic .post {
  margin-left:10px;
}




/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(http://forumstatic.ru/files/0019/a9/ef/15329.jpg) 0 0 repeat-y; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:12px 0!important;
}
.punbb .post .post-author > ul {
    background: url(http://forumstatic.ru/files/0019/a9/ef/30753.jpg) 0 top no-repeat, url(http://forumstatic.ru/files/0019/ae/48/51619.jpg) 0 bottom no-repeat;
    margin: -12px 0 -12px 0!important;
padding: 9px 9px 13px 9px!important;
box-shadow: 0 0 5px #5d5045;
}


td.tcr {  
background-repeat: no-repeat; 
background-position: left center;
}

td.tcr a {
    color: #5e1410;
    background-repeat: no-repeat;
    background-position: left center;
    font-weight: bold;
}



.category .container thead {display: none;}




#pun-index div.category h2, #pun-index #pun-stats h2 {
    background-image: url(http://forumstatic.ru/files/0019/a9/ef/54600.jpg);
    box-sizing: border-box;
    text-align: center;
    font-size: 12px !important;
    color: #b9a67c;
    position: relative;
    z-index: 5;
    font-family: 'Playfair Display';
    text-shadow: 1px 1px #524128;
    padding: 18px 40px 0;
    margin: 0px -26px 0px !IMPORTANT;
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    height: 57px;
    width: 914px;
}



#pun-viewtopic .post h3, #pun-searchposts .post h3, #pun-post .post h3 {
    background: rgba(0, 0, 0, 0) url(http://forumstatic.ru/files/0019/a9/ef/54600.jpg) no-repeat scroll center top;
    color: #b5a278 !important;
    font-size: 10px;
    font-family: 'Playfair Display';
    height: 57px;
    margin-bottom: 0px;
    margin-left: -37px;
    margin-top: 0px;
    padding-top: 15px;
    width: 914px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

#pun-viewtopic .post h3 a {
    color: #a99261 !important;
    font-size: 10px;
    font-family: 'Playfair Display';
    font-weight: bold;
    text-shadow: -1px 1px #0000002b;
}


.punbb .pa-avatar img {
    box-shadow: 0 0 0 2px #6f5733, 0 0 0 3px #4a341d;
    border: 1px solid #4a341d;
    margin-bottom: 5px;
}


.sl {
    color: #5a3d11 !important;
    font-weight: 300;
    font-family: 'Playfair Display';
    font-size: 10px;
    display: block;
    text-transform: uppercase;
    background-color: #e4bc7236;
    width: 212px !IMPORTANT;
    margin-top: 1px !important;
    box-shadow: 0 0 13px #7b622d73 inset;
    margin-left: -5px !important;
    border-top: 1px solid #9d865a;
    border-bottom: 1px solid #9d865a;
}



#linkss {
    color: #705a33;
    border: double 4px #9D865A;
    box-shadow: 0 0 19px #826d496e inset;
    background-color: #9e885f45;
    padding: 0px 5px 5px 5px;
    height: 64px;
    text-align: center;
    margin-bottom: 5px;
}



#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;
    background-color: #b7a178;
}


