/* CS1 Background and text colours
-------------------------------------------------------------*/

/* фон */
html {
background: url(http://funkyimg.com/i/2L4Ly.jpg);
background-repeat: no-repeat;
background-attachment: fixed; 
background-position: top center;
background-color: #1e100f;
/*overflow-x: hidden !important;*/}

/* Шапка */
#pun-title table {
background-image : url(http://forumfiles.ru/files/0019/c4/9e/55688.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 1200px;
height: 362px;
margin-left: -155px;}

/* Тело форума */
#pun {
width: 942px; 
background-color: transparent; 
background-image: url(http://funkyimg.com/i/2L4WB.jpg); 
background-attachment: scroll; 
background-repeat: repeat; 
background-position: top center;
}

.punbb {
padding: 0px 30px!important;
width: 942px;
margin-top: 0px !important;
}

/* Футер */
#pun-about p.container {
background-image : url(http://forumfiles.ru/files/0019/c4/9e/18703.jpg);
margin: 0px 0px -70px -25px;
background-position : center top;
background-repeat : no-repeat;
width: 942px;
height: 55px; 
overflow-x: hidden;
padding-bottom: 50px;
}






/* 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: #42271d;
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: #42271d;
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/0019/c4/9e/45241.jpg);
    background-color: #d2c7b6;
    color: #3e291c;
    border: 1px solid #e6decdab;
    box-shadow: 2px 2px #9f5e3e, -2px -2px #9f5e3e, 0 0 1px #231810 inset;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-image: url(http://forumfiles.ru/files/0019/c4/9e/45241.jpg);
    background-color: #d2c7b6;
    color: #3e291c;
}

/* Тень и закругление */
.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/c4/9e/45241.jpg);
    background-color: #d2c7b6;
}





/* 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: #5b3726;
  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: #5b2d1f; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #5b2d1f;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 8px;
    color: #e0dbd2;
    text-transform: lowercase;
}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #ebbf9a;
}


#pun-navlinks a, #pun-navlinks .container {
    color: #e0dbd2;
}


#pun-navlinks a:hover {
    color: #ddb494;
}


#pun-index .tcl h3 a {
    color: #e2ddd2 !important;
    text-shadow: 1px 1px 0 #0000004a;
    letter-spacing: 0.6px;
}

#pun-index .tcl h3 a:hover {
    color: #e4baa5 !important;
    text-shadow: 1px 1px 0 #0000004a;
    letter-spacing: 0.6px;
    transition-duration: 1s;
}


/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumfiles.ru/files/0019/c4/9e/22546.png) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumfiles.ru/files/0019/c4/9e/17113.png) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumfiles.ru/files/0019/c4/9e/54375.png) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumfiles.ru/files/0019/c4/9e/89103.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: 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: #d3cabc; height: 4px; border: 2px solid #643f30;
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #d3cabc; height: 4px; border: 2px solid #643f30;
}

::-webkit-scrollbar {
    background-color: #643f30;
    height: 4px;
    width: 8px;
}

::selection {
    background: #794e39 !important;
    color: #ddd9d2;
}


#pun-viewforum.punbb div.icon {
    margin-top: -4px !important;
}



/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
    background: url(http://forumfiles.ru/files/0019/c4/9e/88088.jpg) 0 0 repeat-y;
    overflow: visible!important;
    margin: 5px 0px 0px 0px!important;
}
.punbb .post .post-author > ul {
    background: url(http://forumfiles.ru/files/0019/c4/9e/49755.jpg) 0 top no-repeat, url(http://forumfiles.ru/files/0019/c4/9e/51849.jpg) 0 bottom no-repeat;
    margin: 0px 0 -12px 0!important;
    padding: 9px 9px 15px 7px!important;
    min-height: 50px;
}






.punbb .post-content a, 
.punbb .post-content a:link {
color:#7b4228;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#482b1e;
text-decoration: underline;
}

.punbb .pa-avatar img {
    border: 2px solid #d0c5b5;
}



#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/c4/9e/45241.jpg);
    background-color: #d1c7b7;
    color: #50331f;
}



.category .container thead {display: none;}




td.tcr a {
    color: #50331f !important;
    background-repeat: no-repeat;
    background-position: left center;
    font-weight: bold;
    font-family: pt serif;
    text-transform: lowercase;
}



#quest {
    color: #d5ccba;
    /* border: 1px solid; */
    height: 80px;
    overflow-y: auto;
    text-align: left;
    font-size: 9px;
    line-height: 12px;
    text-shadow: 1px 1px 0 #0000007d;
}






.bestpost {
    color: #e0dbd0;
    font-size: 9px;
    line-height: 11px;
    position: absolute;
    text-align: justify;
}

.bestpost img {
    float: left;
    padding-right: 5px;
opacity:0.4;
filter:alpha(opacity=40);
}


.bestpost img:hover {
    opacity:1;
filter:alpha(opacity=100);
}


#questp {
    overflow-y: auto;
    height: 40px;
    padding-right: 4px;
}


.links1 {
    color: #d7d5d2 !important;
    font-family: pt serif;
    text-transform: uppercase;
    font-size: 9px;
    margin: 0 6px 0 6px !important;
    font-weight: bold;
    letter-spacing: 0.6px;
}



.links1:hover {
    color: #e7bc9b !important;
    font-family: pt serif;
    text-transform: uppercase;
    font-size: 9px;
    margin: 0 6px 0 6px !important;
    font-weight: bold;
    letter-spacing: 0.6px;
}




.banners {
    position: absolute;
    margin-top: 27px !important;
    margin-left: -25px !important;
    width: 937px;
    height: 40px;
    text-align: center;
    padding-right: 4px;
    overflow-y: auto;
    color: #c3cdca;
    /* border: red 1px solid; */
}


#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;}


.podflink {
    /* border: 1px solid red; */
    margin: 6px 0 0px 0 !important;
    padding: 2px 2px 2px 2px;
    text-align: center;
}


.podflink a {
    color: #553624 !important;
    font-family: pt serif;
    font-size: 9px;
    padding: 1px 3px 1px 3px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 3px 0 3px;
}


.podflink a:hover {
    color: #e2ddd2 !important;
    font-family: pt serif;
    font-size: 9px;
    letter-spacing: 0.3px;
    background-color: #7f4629;
    padding: 1px 3px 1px 3px;
    font-weight: bold;
    transition-duration: 1s;
    text-transform: uppercase;
    margin: 0 3px 0 3px;
}


.podforum {
    color: #3d251b;
    margin-top: 5px !important;
    padding: 5px;
}



.pa-fld5 {
margin-top: -10px !important;
}


.pa-fld1 {
    color: #422c21;
    width: 182px;
    text-align: justify;
    /* border: 1px solid red; */
    margin-left: 7px !important;
    margin-top: 6px !important;
    margin-bottom: 5px !important;
    font-size: 9px;
}



.lzlink {
    /* border: 1px solid red; */
    font-family: pt serif;
    font-weight: bold;
    font-size: 13px;
}






.tooltip {
    border: none;
    text-decoration: none;
    position: relative;
    padding: 0px 10px;
    color: #e0dbd2 !important;
}

.tooltip span {
  margin-left: -999em;
  position: absolute;
  }

.tooltip:hover span {
  font-family: Verdana;
  position: absolute;
  left: -51px;
  top: 24px; 
  z-index: 99;
  margin-left: 0;
  }

.top {
    z-index: 200;
    position: absolute;
    color: #433227;
    font-family: Verdana;
    font-size: 9px;
    text-transform: lowercase;
    font-weight: normal;
    padding: 5px;
    background-color: #d1c8b9;
    width: 120px;
    border: 2px solid #5b2c1e;
}

.ams {
    font-family: pt serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}



/*Выравниваем в одну строку число постов и Уважение*/
.pa-fld5, .pa-respect, .pa-fld3 {
    text-align: center;
    display: inline-block;
    padding: 0 2px!important;
    width: 46px;
    margin-left: 0;
    margin-bottom: 5px !important;
}




/* Safari 6.1-10.0 (10.1 is the latest version of Safari at this time) */

@media screen and (min-color-index:0) 
and(-webkit-min-device-pixel-ratio:0) { @media
{
    .safari_only { 
#pun-navlinks, #pun-navlinks .container {
    font-size: 7px !important;
}


    }
}}






/* Эти грёбанные смайлы */

#smiles {
    text-align: center;
}
#smiles a {
    line-height: 50px;
    cursor: pointer;
    text-decoration: none;
    font-family: 'century gothic', 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/0019/bf/1a/44742.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-replies {
margin-top: 10px !important;
}



.lzlinka {
    /* border: 1px solid red; */
    font-family: arial;
    font-weight: bold;
    font-size: 10px;
}