/* CS1 Background and text colours
-------------------------------------------------------------*/

/* фон */
html, body { background:
  url("http://forumstatic.ru/files/0019/c0/db/82579.jpg") scroll no-repeat top center,
  url("http://forumstatic.ru/files/0019/c0/db/72093.jpg") top center repeat; background-color : #3d4d49;
}

/* Шапка */
#pun-title table {
background-image : url(https://funkyimg.com/i/2RLzQ.png);
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 948px;
height: 330px;
margin-left: -45px;}

/* Тело форума */
#pun {
width: 948px;
background-color: transparent;
background-image: url(http://forumstatic.ru/files/0019/c0/db/99255.jpg);
background-attachment: scroll;
background-repeat: repeat;
background-position: top center;}

.punbb {
padding: 0 30px!important;
width: 948px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/0019/c0/db/46348.jpg);
    margin: 0px 0px -70px -45px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 948px;
    height: 130px;
    overflow-x: hidden;
    padding-bottom: 40px;
}




/* 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: #111919;
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: #111919;
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://forumstatic.ru/files/0019/c0/db/12841.jpg);
    background-color: #a3abaa;
    color: #1a2121;
    border: 3px solid #b2bbba;
    outline: 1px solid #a7b0af;
    box-shadow: 0 0 1px #020c0e26 inset, 0 0 1px #d1d6d5;
}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
    background-image: url(http://forumstatic.ru/files/0019/c0/db/12841.jpg);   
    background-color: #a3abaa;
    color: #1a2121;
}

/* Тень и закругление */
.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://forumstatic.ru/files/0019/c0/db/12841.jpg);   
    background-color: #a3abaa;
}



/* 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: #446957;
  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: #446957;
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #42634c;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #6c6c6c;
    text-transform: lowercase;
}

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #465865;
}

.category .container thead {display: none;}

#pun-navlinks a, #pun-navlinks .container {
    color: #4a7157;
}

#pun-navlinks a:hover {
    color: #9ca2a1;
}

#pun-index .tcl h3 a {
    color: #d1d6d5;
}

#pun-index .tcl h3 a:hover {
color: #cfcfcf;
}

/* CS3 Остальное
-------------------------------------------------------------*/

/* CS3.1 Иконки*/

div.icon {
        background: url(http://forumstatic.ru/files/0019/c0/db/82704.jpg) no-repeat;
}

tr.inew div.icon {
        background: url(http://forumstatic.ru/files/0019/c0/db/80850.jpg) no-repeat;
}

tr.iclosed div.icon {
        background: url(http://forumstatic.ru/files/0019/c0/db/38638.jpg) no-repeat;
}

tr.isticky div.icon {
        background: url(http://forumstatic.ru/files/0019/c0/db/10216.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}


/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
    background: url(http://forumstatic.ru/files/0019/c0/db/48111.jpg) 0 0 repeat-y;
    overflow: visible!important;
    margin: 5px 0px 0px 0px!important;
}
.punbb .post .post-author > ul {
    background: url(http://forumstatic.ru/files/0019/c0/db/19256.jpg) 0 top no-repeat, url(http://forumstatic.ru/files/0019/c0/db/41470.jpg) 0 bottom no-repeat;
    margin: 0px 0 -12px 0!important;
    padding: 9px 9px 9px 8px!important;
}


/*---Прокрутка---*/
::-webkit-scrollbar-thumb:vertical {
background-color: #b3bcbb; height: 4px; border: 3px double #51705c;
}

::-webkit-scrollbar-thumb:horizontal {
background-color: #b3bcbb; height: 4px; border: 3px double #51705c;
}

::-webkit-scrollbar {
    background-color: #51705c;
    height: 4px;
    width: 8px;
}

::selection {
    background: #476451 !important;
    color: #c0c4c4;
}

#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

.punbb .post-content a,
.punbb .post-content a:link {
color:#2f4a3e;
font-weight: bold;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#697271;
text-decoration: underline;
}

.punbb .pa-avatar img {
    border: 4px solid #a2abaa;
    margin-top: 5px;
    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-image: url(http://forumstatic.ru/files/0019/c0/db/12841.jpg);
    background-color: #cfcfc2;
    color: #22332f;
}

td.tcr a {
    color: #4a6a55 !important;
    background-repeat: no-repeat;
    background-position: left center;
    font-weight: bold;
    font-family: pt serif;
}


.banners {
    position: absolute;
    margin-top: -38px !important;
    margin-left: -20px !important;
    width: 897px;
    height: 60px;
    /* text-align: center; */
    padding: 0px;
    overflow-y: auto;
    /* border: 1px solid red; */
}

#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);}



.links2 {
    color: #c6cecd !important;
    font-family: georgia;
    text-transform: uppercase;
    font-size: 7px;
    letter-spacing: 1px;
}

.links2:hover {
    color: #728e7b !important;
    font-family: georgia;
    text-transform: uppercase;
    font-size: 7px;
    letter-spacing: 1px;
    transition-duration: 1s;
}



#quests {
    text-align: left;
    display: block;
    overflow: auto;
    color: #a1a9a8;
    height: 139px;
    padding-right: 4px;
    width: 264px;
    font-size: 10px;
    /* border: 1px solid; */
    font-family: 'arial';
    line-height: 12px;
}

.bestpost {
    color: #9a9a9a;
    font-size: 10px;
    line-height: 10px;
    position: absolute;
    text-align: justify;
}

.bestpost img {
    float: left;
    padding-right: 5px;
    opacity:0.7;
    filter:alpha(opacity=70);
}

.bestpost img:hover {
opacity:1;
filter:alpha(opacity=100);
}

.pa-fld1 {
    color: #080808;
    margin-top: -3px !important;
    border-bottom: 1px dashed;
    width: 186px;
    padding-bottom: 3px;
    margin-bottom: 2px !important;
    margin-left: 5px !important;
    text-align: justify;
}

.lzlink {
    font-family: pt serif;
    font-weight: bold;
    text-transform: uppercase;
}

/*Выравниваем в одну строку число постов и Уважение*/
.pa-posts, .pa-respect {
    text-align: center;
    display: inline-block;
    width: 49px;
    padding: 3px 13px 3px 23px !important;
    margin-top: 3px;
    margin-bottom: 5px !important;
    margin-left: 6px;
    text-transform: uppercase;
    font-size: 7px;
}

hr {
    border: 0;
    border-bottom: 1px dashed #080808;
    background: #acacac;
}

.tabl {
    font-family: 'PT Serif';
    font-weight: bold;
    font-size: 13px;
}

#pun-viewtopic .post h3 {
    width: 868px;
    margin-left: -6px;
background-image: url(http://forumstatic.ru/files/0019/c0/db/12841.jpg);   
    background-color: #a3abaa;
}


.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://forumstatic.ru/files/0019/c0/db/12841.jpg);
    background-color: #a3abaa;
}