/* CS1 Background and text colours
-------------------------------------------------------------*/

/* фон */
html, body { background:
  url("http://forumfiles.ru/files/001a/77/1a/23896.jpg") repeat-x top left,
  url("http://forumfiles.ru/files/001a/77/1a/47556.jpg") center; background-color : #392b25;
}

/* Шапка */
#pun-title table {
background-image : url(http://forumfiles.ru/files/001a/77/1a/16100.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 1200px;
height: 372px;
margin-left: -155px;}

/* Тело форума */
#pun {
width: 922px; 
background-color: transparent; 
background-image: url(http://forumfiles.ru/files/001a/77/1a/77329.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 922px;}

/* Футер */
#pun-about p.container {
background-image : url(http://forumfiles.ru/files/001a/77/1a/47706.jpg);
margin: 0px 0px -30px -15px;
background-position : center top;
background-repeat : no-repeat;
width: 922px;
height: 134px; 
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: #3a2c26;
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: #3a2c26;
text-align:center; 
font-size: 12px; 
font-style: normal; font-family: "arial";
}


/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
    background-image: url(http://forumfiles.ru/files/001a/77/1a/63799.jpg);
    background-color: #d2cac1;
    color: #3a2c26;
    border: 2px solid #a95141;
    box-shadow: 0 0 0 1px #53251d63 inset, 0 0 0 3px #afa0915e inset, 0 0 0 1px #a5968470;
}


/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-image: url(http://forumfiles.ru/files/001a/77/1a/63799.jpg);
    background-color: #d2cac1;
    color: #3a2c26;
}

/* Тень и закругление */
.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/001a/77/1a/63799.jpg);
    background-color: #d2cac1;
}





/* 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: #4c2b24;
  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: #4f3e35; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #4f3e35;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 10px;
    color: #4f3e35;
    font-family: roboto;
    /* font-weight: 600; */
    text-transform: lowercase;
}

#pun-ulinks a:hover {
  text-decoration: none;
color: #4c2a23;
}


#pun-navlinks a {
color: #d6cfc6;
}


#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
    color: #c4af8f;
}


/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumfiles.ru/files/001a/77/1a/42351.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumfiles.ru/files/001a/77/1a/65714.jpg) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumfiles.ru/files/001a/77/1a/59779.jpg) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumfiles.ru/files/001a/77/1a/42450.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: 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: #836753; 
border: 1px solid #8e705a;
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #836753; 
border: 1px solid #8e705a;
}

::-webkit-scrollbar {
    background-color: #493930;
    height: 4px;
    width: 4px;
}

::selection {
    background: #493930 !important;
    color: #d7d0c7;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}





/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
    background: url(http://forumfiles.ru/files/001a/77/1a/81228.jpg) 0 0 repeat-y;
    overflow: visible!important;
    margin: 12px 0px 0px 4px!important;
}
.punbb .post .post-author > ul {
    background: url(http://forumfiles.ru/files/001a/77/1a/54156.jpg) 0 top no-repeat, url(http://forumfiles.ru/files/001a/77/1a/75834.jpg) 0 bottom no-repeat;
    margin: 0px 0 -12px 0!important;
    padding: 9px 9px 9px 9px!important;
}



.punbb .post-content a, 
.punbb .post-content a:link {
font-weight: bold;
}


.punbb .pa-avatar img {
    border: 3px solid #dcd2c8;
    outline: 1px solid #af9f93;
    margin-bottom: 4px;
}


#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/001a/77/1a/63799.jpg);
    background-color: #d2cac1;
    z-index: 2;
    height: 150px;
    overflow-y: auto;
}



.podf {
    background-image: url(http://forumfiles.ru/files/001a/77/1a/63799.jpg);
    padding: 5px 7px 7px 7px;
    margin-bottom: 4px !IMPORTANT;
    margin-top: 3px !important;
    font-family: roboto;
    font-size: 10px;
    border: 1px solid #cabeb3;
    box-shadow: 0 0 1px #b3b3b3 inset;
}


.linksp {
    text-align: center;
    margin-top: 8px !important;
}



.linksp a {
    color: #e0d9d2 !important;
    background-color: #82563c;
    padding: 2px 4px 2px 4px;
    font-family: roboto;
    letter-spacing: 0.5px;
    font-size: 9px;
    text-transform: uppercase;
    transition-duration: 2s;
}


.linksp a:hover {
    color: #e0d9d2 !important;
    background-color: #844034;
    padding: 2px 4px 2px 4px;
    font-family: roboto;
    letter-spacing: 0.5px;
    font-size: 9px;
    text-transform: uppercase;
    transition-duration: 2s;
}




.category .container thead {display: none;}



td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: lora;
    font-weight: 600;
    font-size: 13px;
    color: #633c25 !important;
    /* text-transform: uppercase; */
}


.banners {
    position: absolute;
    height: 50px;
    width: 886px;
    text-align: center;
    overflow-y: auto;
    margin-top: -58px !important;
    margin-left: 0px !important;
    margin-bottom: 50px !important;
    /* border: 1px solid red; */
    padding-right: 4px;
}



#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;}






.links2 {
    color: #d7cdc4 !important;
    font-family: roboto;
    font-size: 11px;
    font-weight: 500;
    /* letter-spacing: 0.4px; */
    text-transform: lowercase;
    text-shadow: 1px 1px #3a251e;
}


.links2:hover {
    color: #b5947c !important;
    font-family: roboto;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0px;
    transition-duration: 2s;
    text-transform: lowercase;
    text-shadow: 1px 1px #3e2a23;
}



#postbest {
    color: #e6e6e6;
    text-align: justify;
    font-size: 9px;
    overflow-y: auto;
    display: block;
    overflow: auto;
    height: 95px;
    padding-top: 2px;
    padding-right: 4px;
    line-height: 12px;
}



#quotebest {
    color: #e6e6e6;
    text-align: justify;
    font-size: 9px;
    overflow-y: auto;
    display: block;
    overflow: auto;
    height: 65px;
    padding-top: 2px;
    padding-right: 4px;
    margin-bottom: 4px;
    line-height: 12px;
}


#pun-viewtopic .post h3 {
    margin-left: 5px;
    height: 16px;
    margin-right: 4px;
    border: 1px solid #bbb1a7;
    font-family: roboto;
    border-radius: 1px;
    font-size: 11px;
    background-image: url(http://forumfiles.ru/files/001a/77/1a/63799.jpg);
}


.links3 {
    color: #a4bbac !important;
}



#pun-index div.category h2, #pun-index #pun-stats h2 {
    background-image: url(http://forumfiles.ru/files/001a/77/1a/35828.jpg);
    box-sizing: border-box;
    text-align: center;
    font-size: 12px !important;
    color: #e6ded6;
    position: relative;
    z-index: 5;
    font-family: playfair display;
    font-weight: 400;
    letter-spacing: 1.4px;
    padding: 6px 0px 0;
    text-shadow: 1px 1px #0000003b;
    margin: 0px -5px 16px;
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    height: 29px;
    width: 902px;
}



.charname a {
    color: #863b2e !important;
    background: #d6ccc2;
    padding-left: 3px;
    padding-right: 3px;
    letter-spacing: -0.5px;
}
div.charname {
    position: absolute;
    margin-top: -5px!important;
    font-family: Nautilus Pompilius;
    font-size: 13px;
    text-align: left;
    margin-left: -6px !important;
    text-transform: lowercase;
    width: 188px;
    padding-bottom: 2px;

}

.charinfo {
    padding: 8px !important;
    background: #d6ccc2;
    padding-top: 15px !important;
    border: 1px double #8f8270;
    /* border-top: 0px; */
    /* border-bottom: 0px; */
    color: #3a271f;
    font-family: arial;
    font-size: 9px;
    line-height: 0.9;
    overflow-y: auto;
    /* padding: 5px!important; */
    text-align: justify;
    width: 162px;
    margin-left: -2px !important;
    margin-top: 5px!important;
}

div.fandom {
    margin-left: -1px !important;
    width: 182px;
    padding-top: 5px;
    font-family: adam;
    font-size: 8px;
    color: #d3d3d3;
    margin-top: -12px !important;
    margin-bottom: 7px !important;
    text-transform: uppercase;
    text-align: right;
    letter-spacing: 1px;
}

.fandom a {
    color: #85322a !important;
    padding-left: 5px;
    padding-right: 5px;
    background: #d6ccc2;
}





.pa-fld2 {
    color: #826138;
    text-transform: lowercase;

}

li.pa-fld2 {
    margin-top: 10px;
}

.pa-gifts{
    display: none;
}

.pa-awards, .pa-ip {
    color: #996d38;
    text-transform: lowercase;
    font-weight: bold;
    font-size: 9px;
}

textarea#main-reply {
    height: 245px;
    position: relative;
    z-index: 1;
}



#MyBookmarks {
    display: none;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 0;
    right: 0;
    height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
    width: 240px;
    background-image: url(http://forumfiles.ru/files/001a/77/1a/63799.jpg);
}



.pun-modal .modal-inner {
    width: 700px;
    max-width: 94%;
    height: auto;
    max-height: 44em;
    margin: 12% auto 0;
    box-shadow: 0 0 14px rgba(0,0,0,.3);
    position: relative;
    z-index: 120000;
    overflow: hidden;
    background-image: url(http://forumfiles.ru/files/001a/77/1a/63799.jpg);
}



/* Эти грёбанные смайлы */

#smiles {
    text-align: center;
}
#smiles a {
    line-height: 50px;
    cursor: pointer;
    text-decoration: none;
    font-family: 'adam', sans-serif;
    font-size: 11px;
    color: #373f4e!important;
    padding: 2px 8px 3px 8px;
    border-radius: 4px;
    margin: 0 15px;
    background-image: url(http://forumfiles.ru/files/001a/77/1a/63799.jpg);
    background-color: #b5b6b7;
    box-shadow: 2px 2px #898989, -2px -2px #e0dede;
}
#smiles a:hover, #smiles a.active {
    color: #0c261b!important;
}
#smiles p {
    display: none;
}
#smiles p > img {;
    transition: all .3s ease-out;
}
#smiles p > img:hover {
    opacity: .8;
}

/* End. Эти грёбанные смайлы */



.pa-avatar img {
    max-width: 180px;
    max-height: 180px;
}



/***  Заплатка для поля ответа ***/
textarea#main-reply {
  width: 100%;
  height: 100%;
  height: 205px;
  margin: 0 auto !important;
  padding: 0.75em;
  box-sizing: border-box;
  overflow: auto;  }