/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон форума */
HTML {
    background: #908b8e url(http://forumstatic.ru/files/001b/bf/dd/99433.png) no-repeat fixed top center;
    background-size: cover;
}

/* Шапка */
#pun-title table {
background-image : url(http://forumstatic.ru/files/001b/bf/dd/80966.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 1014px;
height: 285px;
margin-left: -35px;
margin-top: -200px;}


.punbb {
padding: 0 30px!important;
width: 938px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/001b/bf/dd/34043.png);
    margin: 0px 0px -100px -35px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 1014px;
    height: 100px;
    overflow-x: hidden;
    padding-bottom: 25px;
}


/* CS1.1 Фон и цвет текста на форуме */
.punbb .container, .punbb .post-body, .post h3, #pun-title, .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post, #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2, .punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body, .punbb .post h3 span, .post-links ul, .post-links, .usertable table, #pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span, #pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend, .punbb .divider, .punbb .quote-box, .punbb .code-box, .punbb th, .punbb .formal fieldset .post-box, .punbb .info-box, li.pa-online, .punbb .post-sig dt {border-color: transparent;}

#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: #232224;
    text-align: center;
    font-style: normal;
    font-family: 'Code Pro Bold';
    
}


/* Цитата и код */
.punbb .quote-box, .punbb .code-box {
    background-color: #c9d0c9;
    color: #000000;
    box-shadow: 0 0 0 1px #aab2a3 inset, 0 0px 1px 0px rgba(125, 122, 115, 0.26), 1px 1px 0 0 #aab2a3 inset;

}

/* 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: #000000;
  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: #222222;
    transition-duration: 1s;
  }

.punbb a:hover {
  color: #afbba6;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 8px;
    color: #c7ccc2;
    font-style: normal;
 text-transform: lowercase;
    font-family: arial;
}

#pun-ulinks a:hover {
  color: #8f8a8e;
}


#pun-navlinks a {
    color: #c2c7bd;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #c2c7bd;
}


#pun-navlinks a:hover {
  color: #979195;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* ПОЛЯ ПРОФИЛЯ
-------------------------------------------------------------*/
.pa-posts {    display: inline-block;
    text-align: center;
    width:90px;
    line-height: 10px;
    margin-top: 5px!important;
    font-family: 'calibri'!important;
    font-size: 8.5px;
    letter-spacing: 1px;
    color: #586150!important;
    text-transform: uppercase;
margin-left: 2px!important;
}

.pa-respect {    display: inline-block;
    text-align: center;
    width: 90px;
    line-height: 10px;
    margin-top: 5px!important;
    font-family: 'calibri'!important;
    font-size: 8.5px;
    letter-spacing: 1px;
    margin-bottom: 4px!important;
    color: #586150!important;
    text-transform: uppercase;
margin-left: 4px!important;
}

.pa-respect a {
    color: #586150!important;
    text-shadow: none!important;}

.pa-reg {display:none!important}


/* имя автора цвет
-------------------------------------------------------------*/
.punbb .post .post-author a {
color: #d1d7d1;
}


/* авик
-------------------------------------------------------------*/
.punbb .pa-avatar img{
    margin-top: 8px;
    margin-left: 0px;
    margin-bottom: 0px;
}

.pa-avatar img {
    margin-top: 33px;
}

.punbb .pa-avatar img{
    border: 1px solid #ffffff;
    box-shadow: 0 0 2px #787878;
}

/* CS3.1 Иконка старых сообщений*/
.punbb table Div.icon {float: left; 
display: block; 
border-style: none none none none;
margin-top: 13px;
margin-left: -13px;
margin-right: 35px;
width: 15px;
height: 47px;
background-image : url(http://forumstatic.ru/files/001b/bf/dd/77098.png);
background-repeat: no-repeat;}

/* CS3.2 Иконка новых */
TR.inew Div.icon {
background-image : url(http://forumstatic.ru/files/001b/bf/dd/13184.png);
background-repeat: no-repeat;
width: 15px;
height: 47px;}

/* CS3.3 Иконка важных*/
TR.isticky Div.icon {
background-image : url(http://forumstatic.ru/files/001b/bf/dd/13184.png);
background-repeat: no-repeat;
width: 15px;
height: 47px;
filter: grayscale(100%);}

/* CS3.3 Иконка закрытых*/
TR.iclosed Div.icon {
background-image : url(http://forumstatic.ru/files/001b/bf/dd/77098.png);
background-repeat: no-repeat;
width: 15px;
height: 47px;
filter: grayscale(100%);
opacity: 0.5;}


/* категории
-------------------------------------------------------------*/
#pun-stats.section h2 {
    background: url(http://forumstatic.ru/files/001b/bf/dd/60911.png) no-repeat top center;
    height: 41px;
    margin-top: 15px;
    width: 595px;
    margin-left: 335px;
}

.category-1.category  h2 {
    background: url(http://forumstatic.ru/files/001b/bf/dd/27570.png) no-repeat top center;
    height: 41px;
    margin-top: 15px;
    width: 595px;
    margin-left: 335px;
}
.category-2.category  h2 {
    background: url(http://forumstatic.ru/files/001b/bf/dd/79775.png) no-repeat top center;
    height: 41px;
    margin-top: 15px;
    width: 595px;
    margin-left: 335px;
}

.category-3.category  h2 {
    background: url(http://forumstatic.ru/files/001b/bf/dd/77508.png) no-repeat top center;
    height: 41px;
    margin-top: 15px;
    width: 595px;
    margin-left: 335px;
}

#pun-stats.section h2 span, #pun-main .category h2 span, #post-form h2 span {display: none;}

/* быстрый ответ */
#post-form h2 {
background: url("http://forumstatic.ru/files/001b/bf/dd/47300.png") top center no-repeat;
width: 595px;
height: 41px;
margin-top: 0px;
margin-left: 335px;}


/* полосочка между соо
-------------------------------------------------------------*/
#pun-viewtopic .post h3 {
    width: 946px;
    margin-left: -1px;
    height: 15px;
    font-family: tahoma;
    text-transform: uppercase;
    font-size: 8px;
    background: #55604f;
    margin-bottom: 0px !important;
    border: 1px solid #55604f;
    box-shadow: 0 0 2px #55604f inset;
}

.punbb .post h3 span a {
    color: #d1d7d1 !important;
}

.questlink {
    color: #353a26 !important;
}

.questlink:hover {
    color: #323522 !important;
}

/* выделение текста
-------------------------------------------------------------*/
::selection {
    background: #828c78 !important;
    color: #ffffff;
}

/* прокрутка
-------------------------------------------------------------*/
::-webkit-scrollbar-track {
    background-color: #858083;
    border: 1px solid #797377;
    box-shadow: inset 0 0 2px #797377;
}
::-webkit-scrollbar-thumb {
    background-color: #85917c;
    border: 1px solid #7a8572;
    box-shadow: inset 0 0 3px #7a8572;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/*-------- рамка аватара ----------*/
.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 3px;
     box-shadow: 0 0 0 1px #bfc4ba, 0 0 0 2px #85907b;
}



/*-------- подфорумы ----------*/
#pun-index .container tr {
    background: #c9d0c9;
     box-shadow: 0 0 0 1px #faf2e7, 0 0 0 2px #afb7af;
}

#pun-index .container thead {
    display: none
width: 800px;
}

#pun-index .container table {
    border-spacing: 0 10px
}

/* аватар возле названия темы*/
.punbb .user-avatar .avatar-image {
    border-radius: 0% !important;
    height: 35px !important;
    width: 35px !important;
    opacity: .5 !important;
    box-shadow: 0 0 0 1px #a9b0a1, 0 0 0 2px #85907c;}

.punbb .user-avatar .isonline {
    top: 3px !important;
    right: -3px !important;
    background: #959f8b !important;}

.punbb .tcr .user-avatar {
    margin: 0 10px !important;
    float: right;}

/* последняя тема и сообщение*/
#pun-index .main .tcr {
    text-align: right;
    width: 35%;
    font-family: Arial Narrow;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;}

#pun-index .main .tcr, #pun-index .main .tcr a {color: #3a3f37; text-shadow: 1px 1px #e1e5e1}

#pun-index .tcr a {    padding: 5px 0 4px 0;    width: 100%;    display: block;  }
#pun-index .tcr .lastpost {     display: block;    margin: -15px 0px 0 0;  }
#pun-index .tcr em.user-avatar a {    border-bottom: none !important;}

/* настройки количества тем и сообщений*/
#pun-index .category .tc2, #pun-index .category .tc3 {
    width: 5%;
     font-family: 'Code Pro';
    color: #3a3f37 !important;
    text-shadow: 1px 1px #e1e5e1;
    font-size: 11px;
    letter-spacing: 1.5px;
    line-height: 0px;}

#pun-index .category .tc2 {text-align: right;}



/* описание подфорума
-------------------------------------------------------------*/
.discr {
    font-size: 10px;
    font-family: arial;
    width: 400px;
    text-align: center;
    margin: 1px 1px!important;
    color: #4a4a4ab;
    text-transform: lowercase;
    padding: 1px 5px 10px 10px;
}

/*кнопки под формой ответа*/
input.button, #post fieldset .hashelp div input, .button, #pun-admain input {
    text-transform: uppercase;
    transition: all 0.5s ease 0s;
    font-size: 11px !important;
    background: #85907b !important;
    border: 1px solid #565f51 !important;
    box-shadow: #ffffff 0px 0px 2px inset, #717b6b 0px 0px 1px inset, #b0b4a8 0px 0px 15px inset !important;
    color: #e6e6e6 !important;
    font-family: Code Pro !important;
    font-weight: 600 !important;
    padding: 3px 5px !important;
    cursor: pointer !important;
}


/*-------- статистика ----------*/
#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item4{
letter-spacing: 0px;
    display: inline-block;
    margin: 1px 8px!important;
    width: 287px;
    height: 12px;
    text-align: center!important;
    padding-top: 4px;
    padding-bottom: 2px;
    text-transform: uppercase!important;
    font: 287 10px cuprum;
    background-color: #a4ac9e;
box-shadow: 0 0 0 0px #dfc8ca, 0 0 0 0px #dfc8ca;
    color: #000000 !important
    font-weight: bold;
}

#pun-stats li.item4 a { color: #2c3128 !important; }


/*Фон под контейнеры в форме Ответа*/
#pun_wrap #post .container[id$="-area"]{
border: solid 1px #8f9a88!important;
background: #c9cfc9; /*Можно добавить фон картинкой url(Ccылка на картинку)*/
padding: 9px;
font: normal normal 400 11px/normal Verdana;
    overflow: auto;
    height: 160px;
}

#smilies-area {
   width: 520px!important;
   height: 160px;
}


/*фикс формы ответа*/
 @media screen and (max-device-width: 900px) {
    #main-reply {width: 100%; height: 150px!important;}
   }

/*Размер плюсика в репу*/
.pa-respect a img {
    height: 8px;
}

/* текст последней темы*/
#pun-index .tcr a {
    font-size: 11px;
    font-weight: normal;
    font-family: montserrat!important;
    font-weight: 700;
    text-transform: uppercase;
}

/* оформлене тем и сообщений */
#pun-index .tc2, #pun-index .tc3 {
    width: 8%;
    font-family: montserrat!important;
    font-weight: 700;
    font-size: 10px;
}

/* размер темы на главной*/
#pun-index .tcr {
    width: 30%!important;
    text-align: center;
}

/* 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: 100%;}
#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}