/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
html, body { background:
  url("http://forumstatic.ru/files/001a/b5/99/11933.jpg") repeat-x top left,
  url("http://forumstatic.ru/files/001a/b5/99/79496.jpg") center; background-color : #4b3222;
}

/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001a/b5/99/36477.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    width: 954px;
    height: 313px;
    margin-left: -20px;
}

/* Тело форума */
#pun {
width: 954px; 
background-color: transparent; 
background-image: url(http://forumstatic.ru/files/001a/b5/99/56955.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 954px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/001a/b5/99/56686.jpg);
    margin: 0px 0px -20px -20px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 954px;
    height: 184px;
    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: #211b18;
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: #211b18;
    text-align: center;
    font-style: normal;
font-family: 'Montserrat Alternates', sans-serif;
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumstatic.ru/files/001a/b5/99/10830.jpg);
    background-color: #a39e96;
    color: #211b18;
    border: 1px solid #908b7a6e;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb input {
    background-image: url(http://forumstatic.ru/files/001a/b5/99/10830.jpg);
    background-color: #a39e96;
    color: #211b18;
}

/* Тень и закругление */
.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://forumstatic.ru/files/001a/b5/99/10830.jpg);
    background-color: #a39e96;
}




/* 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: #472f20;
  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-ulinks a:focus, #pun-ulinks a:active {
    color: #446842;
    transition-duration: 1s;
  }

.punbb a:hover {
  color: #446842;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 10px;
    color: #304e2e;
    text-transform: lowercase;
    font-family: roboto;
    word-spacing: 0px;
}

#pun-ulinks a:hover {
  text-decoration: none;
  color: #4f3323;
  transition-duration: 1s;
}


#pun-navlinks a {
    color: #bdbbba;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #beb3a6;
}


#pun-navlinks a:hover {
  color: #beb3a6;
  transition-duration: 1s;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumstatic.ru/files/001a/b5/99/32571.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumstatic.ru/files/001a/b5/99/75691.jpg) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumstatic.ru/files/001a/b5/99/70904.jpg) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumstatic.ru/files/001a/b5/99/21133.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:#506e48; 
   border: 1px solid #6d9063;
}
::-webkit-scrollbar-thumb:horizontal {
   background-color:#506e48; 
   border: 1px solid #6d9063;
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #4b3322;
}



::selection {
    background: #4b3322 !important;
    color: #bdbab0;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: roboto;
    font-size: 12px;
    font-weight: 600;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    border: 3px solid #a5a092;
    box-shadow: 0 0 0 1px #88837a99;
    margin-top: 4px;
    margin-bottom: 4px;
}


#pun-viewtopic .post h3 {
    height: 17px;
    border-radius: 1px;
    margin: 0 10px 0 10px;
    font-family: roboto;
    font-size: 11px;
    border: 1px solid #9e9a9057;
    background-image: url(http://forumstatic.ru/files/001a/b5/99/10830.jpg);
    background-color: #a39e96;
}



#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-image: url(http://forumstatic.ru/files/001a/b5/99/10830.jpg);
    background-color: #a39e96;
    border: 1px solid #8e7855;
}


#counters A IMG{opacity:0.4; -moz-opacity:0.4; filter:alpha(opacity=30);}
#counters a:hover img {opacity:1.0; -moz-opacity:1.0;
filter:alpha(opacity=70); transition-duration: 2s;}



#pun-index div.category h2, #pun-index #pun-stats h2 {
    font-weight: 600;
    background-image: url(http://forumstatic.ru/files/001a/b5/60/41409.jpg);
    box-sizing: border-box;
    text-align: center;
    position: relative;
    text-shadow: 1px 1px #8c847a;
    z-index: 5;
    padding: 7px 0 0 0;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #dcdad4 !important;
    margin: 0px -4px 16px;
    background-repeat: no-repeat;
    background-position: top center;
    height: 18px;
    width: 922px;
}



.links2 {
    color: #cacac9!important;
    font-family: roboto;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.6px;
    text-shadow: 1px 1px #3e281b;
}


.links3 {
font-family: playfair display;
    color: #d4d4d3 !important;
    text-transform: uppercase;
    font-size: 13px;
    text-shadow: 1px 1px #355434;
}


.linkn {
    font-family: roboto;
    font-size: 10px;
    font-weight: 600;
}


.punbb .post-content a, .punbb .post-content a:link {
    font-weight: bold;
}


.pa-posts, .pa-respect {
    display: inline-block;
    font-family: roboto;
    width: 63px;
    font-size: 10px;
    margin-top: 2px !important;
    padding: 1px 0 0 0;
    text-transform: lowercase;
    height: 15px;
}




/***  Заплатка для поля ответа ***/
textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 205px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }



.banners {
    position: absolute;
    padding-right: 6px;
    margin: -60px 0 20px -20px !IMPORTANT;
    width: 946px;
    height: 33px;
    overflow-y: auto;
    /* border: 1px solid red; */
    text-align: center;
}