/* CS1 Background and text colours
-------------------------------------------------------------*/

/* фон */
html, body { background:
  url("http://forumfiles.ru/files/0019/e5/47/57167.jpg") repeat-x top left,
  url("http://forumfiles.ru/files/0019/e5/47/94377.jpg") center; background-color : #362c1f;
}

/* Шапка */
#pun-title table {
background-image : url(http://forumfiles.ru/files/0019/e5/47/31212.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 1200px;
height: 327px;
margin-left: -146px;}

/* Тело форума */
#pun {
width: 978px; 
background-color: transparent; 
background-image: url(http://forumfiles.ru/files/0019/e5/47/16729.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 978px;}

/* Футер */
#pun-about p.container {
background-image : url(http://forumfiles.ru/files/0019/e5/47/98416.png);
margin: 0px 0px -30px -46px;
background-position : center top;
background-repeat : no-repeat;
width: 998px;
height: 170px; 
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: #322a1d;
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: #322a1d;
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://forumfiles.ru/files/0019/e5/47/76904.jpg);
    background-color: #9a9788;
    color: #322a1d;
    border: 1px solid #a9a493;
    box-shadow: 0 0 1px #00000030 inset;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-image: url(http://forumfiles.ru/files/0019/e5/47/76904.jpg);
    background-color: #9a9788;
    color: #322a1d;
}

/* Тень и закругление */
.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: 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://forumfiles.ru/files/0019/e5/47/76904.jpg);
    background-color: #9a9788;
}





/* 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: #403628;
  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: #332a1e; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #332a1e;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #332a1e;
    text-transform: lowercase;
}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #3c301c;
}


#pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #b1ad9c;
}

#pun-navlinks a {
    color: #aca591;
    background: linear-gradient(rgb(117, 77, 47) 20%, rgb(172, 65, 65) 80%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    -o-background-clip: text !important;
    text-shadow: 1px 1px 0 rgb(17, 20, 14), 0 0 5px rgba(8, 11, 7, 0.13);
}


#pun-navlinks a:hover {
    color: #796954;
}


#pun-index .tcl h3 a {
color: #30281c;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumfiles.ru/files/0019/e5/47/39305.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumfiles.ru/files/0019/e5/47/58065.png) no-repeat;
}

#pun-viewforum TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
        background: url(http://forumfiles.ru/files/0019/e5/47/81078.jpg) no-repeat;
        height: 14px;
        width: 14px;
}

#pun-viewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
        background: url(http://forumfiles.ru/files/0019/e5/47/27121.jpg) no-repeat;
        height: 14px;
        width: 14px;
}

#pun-viewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
        background: url(http://forumfiles.ru/files/0019/e5/47/94981.jpg) no-repeat;
        height: 14px;
        width: 14px;
}


#pun-viewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
        background: url(http://forumfiles.ru/files/0019/e5/47/27755.jpg) no-repeat;
        height: 14px;
        width: 14px;
}



/* 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-thumb:vertical {
background-color: #8a7c67; height: 4px;
}
::-webkit-scrollbar-thumb:horizontal {
background-color: #8a7c67; height: 4px;
}

::-webkit-scrollbar {
    background-color: #382e20;
    height: 4px;
    width: 5px;
}

::selection {
    background: #453b2b !important;
    color: #aeaa98;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}


.punbb .pa-avatar img {
    border: 2px solid #52463a;
    max-width: 180px !important;
    margin-bottom: 5px;
    margin-left: -1px;
}




#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://forumfiles.ru/files/0019/e5/47/76904.jpg);
    background-color: #9a9788;
}

.category .container thead {display: none;}


#pun-index .tcr a {
    font-family: pt serif;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    color: #5d543b;
}

#pun-index div.category h2, #pun-index #pun-stats h2 {
    background-image: url(http://forumfiles.ru/files/0019/e5/47/83081.jpg);
    box-sizing: border-box;
    text-align: center;
    font-size: 10px !important;
    color: #ada794;
    position: relative;
    z-index: 5;
    font-family: 'pt serif';
    letter-spacing: 0.8px;
    padding: 18px 0px 0;
    margin: 0px -9px 16px;
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    height: 53px;
    text-shadow: 0 0 1px #110d0b;
    width: 926px;
}



#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: 1s;}


.punbb .post-content a, .punbb .post-content a:link {
    color: #342b1d;
    font-weight: bold;
}



.podf {
background-image: url(http://forumfiles.ru/files/0019/e5/47/76904.jpg);
    background-color: #9a9788;
    color: #322a1d;
    border: 1px solid #949083;
    border-radius: 3px;
    padding: 3px 8px 5px 8px;
}


.podlink {
    text-align: center;
    background-color: #00000017;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    padding: 2px 2px 2px 2px;
    border-radius: 3px;
}


.podlink a {
    text-transform: uppercase;
    font-family: tahoma;
    margin: 0px 4px 0px 4px !important;
    font-size: 7px;
}



#pun-viewtopic .post h3 {
    height: 35px;
    width: 922px;
    text-transform: uppercase;
    font-family: alice;
    font-size: 8px;
    font-weight: bold;
    margin-left: -7px;
    background-image: url(http://forumfiles.ru/files/0019/e5/47/30961.jpg);
}


body {
	image-rendering: pixelated;
}




.titlepr {
    position: absolute;
    overflow: hidden;
    text-align: center;
    font-size: 10px;
    font-family: 'Alice';
    letter-spacing: 0.1px;
    font-weight: bold;
    line-height: 14px;
    color: #b0aa99;
    text-transform: uppercase;
    text-shadow: 0 0 3px #000;
    width: 292px;
    height: 30px;
    /* border: red 1px solid; */
    margin: 44px 0 0 -14px !IMPORTANT;
}



.titlepr timeco {
    color: #77664d;
}



.newss timeco {
    color: #77664d;
    font-weight: bold;
}



.linkss {
    color: #948d78 !important;
    text-shadow: 1px 1px #000000;
    font-family: alice;
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin: 0 2px 0 2px !important;
}


.linksad {
    font-size: 11px;
    font-family: pt serif;
    letter-spacing: 0.4px;
    font-weight: bold;
    line-height: 14px;
    color: #958f7a !IMPORTANT;
    margin: 0 4px 0 4px !important;
    text-transform: uppercase;
    text-shadow: 0 0 3px #000;
}

/* Доп поля
-------------------------------------------------------------*/

.pa-fld1 {
font-weight: bold;
text-transform: uppercase;
font-family: pt serif;
font-size: 11px;
letter-spacing: 0.4px;
}

.pa-fld2 {
font-weight: normal;
font-size: 9px;
text-transform: uppercase;
letter-spacing: 0.4px;
}

.pa-fld3 {
font-weight: normal;
font-size: 8px;
text-transform: uppercase;
letter-spacing: 0.4px;
text-align: left;
padding-top:5px;
padding-bottom:5px;
}

.pa-fld4 {
font-weight: bold;
text-transform: uppercase;
font-family: pt serif;
font-size: 10px;
letter-spacing: 0.4px;
}

.pa-respect{
font-weight: bold;
font-family: pt serif;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.4px;
}

.pa-respect a{
font-size: 9px;
}


/* смайлики!!!! 
-------------------- */
#smilies-area {
border: 1px solid #ada495;
box-shadow: 0 0 1px #00000045 inset;
}

ul.tabs.tabs1 li {
border: 1px solid #ada495;
box-shadow: 0 0 1px #00000045 inset;
}

ul.tabs.tabs1 li.tab-current {
background-color: #8c887b59;
}

/* html и прочие ссылочки вверху
----------------------- */
.fs-box .container {
border: 1px solid #ada495;
box-shadow: 0 0 1px #00000045 inset;
}