/* CS1 Background and text colours
-------------------------------------------------------------*/

/* Фон */
html {
    background: url(http://forumstatic.ru/files/0014/49/dd/29789.png) top center fixed;
    background-color: #1f2e22;
    margin-bottom: 0px !important;
}

/* Шапка */
#pun-title table {
background-image : url(http://forumstatic.ru/files/0014/49/dd/83808.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 1132px;
height: 400px;
margin-left: -102px;
margin-top: -190px;}


.punbb {
padding: 0 30px!important;
width: 938px;}

/* Футер */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/0014/49/dd/10436.png);
    margin: 0px 0px -70px -30px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 1000px;
    height: 140px;
    overflow-x: hidden;
    padding-bottom: 5px;
}


/* 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: #fee9da;
    color: #060606;
    box-shadow: 0 0 0 1px #b8cfbe inset, 0 0px 1px 0px rgba(125, 122, 115, 0.26), 1px 1px 0 0 #b8cfbe 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: #232323;
    transition-duration: 1s;
  text-decoration: none;
  }

#pun-ulinks a {
    font-size: 9px;
    color: #ac383b;
    font-style: normal;
 text-transform: lowercase;
    font-family: arial;
}

#pun-ulinks a:hover {
  color: #92b297;
}


#pun-navlinks a {
    color: #354a5d;
}

#pun-navlinks a:focus, #pun-navlinks a:active {
  color: #d8baa3;
}


#pun-navlinks a:hover {
  color: #d8baa3;
}



/* CS3 Остальное 
-------------------------------------------------------------*/

/* ПОЛЯ ПРОФИЛЯ
-------------------------------------------------------------*/
.pa-posts {    display: inline-block;
    text-align: left;
    width:90px;
    line-height: 10px;
    margin-top: 1px!important;
    font-family: 'calibri'!important;
    font-size: 8.5px;
    letter-spacing: 1px;
    color: #ffffff!important;
    text-transform: uppercase;
margin-left: -3px!important;
}

.pa-respect {    display: inline-block;
    text-align: right;
    width: 105px;
    line-height: 10px;
    margin-top: 1px!important;
    font-family: 'calibri'!important;
    font-size: 8.5px;
    letter-spacing: 1px;
    margin-bottom: 4px!important;
    color: #ffffff!important;
    text-transform: uppercase;
}

.pa-respect a {
    color: #fff!important;
    text-shadow: none!important;}

.pa-reg {display:none!important}

.pa-fld3 {    margin-top: -16px !important; margin-left: -8px!important;
}

.pa-fld1 .fld-name, .pa-fld2 .fld-name, .pa-fld3 .fld-name, .pa-fld3 .fld-name, .pa-fld5 .fld-name {display: none;}

.pa-fld1 b {    color: #811818;
    text-shadow: 0px 0px 2px #caad9a;}

.pa-fld2 {
    background: url("http://forumstatic.ru/files/0014/49/dd/55438.png") no-repeat scroll center top, url("http://forumstatic.ru/files/0014/49/dd/23755.png") no-repeat scroll center bottom, rgba(0, 0, 0, 0) url("http://forumstatic.ru/files/0014/49/dd/84895.png") repeat-y scroll center center;
color: #ffffff!important;
    margin-left: -12px !important;
    margin-top: -6px !important;
    padding: 2px 9px 17px 5px !important;
    width: 210px !important;
    font: 400 10px "Arial";
}}
.pa-fld2 a {color: #f5ffe9!important;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.pa-fld2 name {font-size: 12px!important;
    font-family: 'Dita Sweet'!important;
    display: block;
    letter-spacing: 0.6px;
    color: #fff7e3!important;
    padding-top: 14px;
    padding-bottom: 2px;
    text-shadow: 0 0 1.4px #ffffff;
    text-align: center;
    text-transform: uppercase;}
.pa-fld2 name a    { color: #f5ffe9!important;
    text-shadow: 0 0 2px #f5ffe9;}

.pa-fld1 {display: inline-block;
    text-align: center;
    width: 180px;
    line-height: 11px;
    margin-top: -3px!important;
    font-family: 'calibri'!important;
    font-size: 8px;
    letter-spacing: 1px;
    font-weight: bold;
    color: #ffffff!important;
    text-transform: uppercase;
    padding: 4px!important;
    margin-bottom: 8px!important;
background: linear-gradient(#708974, #2e4031)!important;}

/* авик
-------------------------------------------------------------*/
.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: right; 
display: block; 
border-style: none none none none;
margin-top: 3px;
margin-left: -35px;
margin-right: 35px;
width: 26px;
height: 23px;
background-image : url(https://i.imgur.com/iKrfP9i.png);
background-repeat: no-repeat;}

/* CS3.2 Иконка новых */
TR.inew Div.icon {
background-image : url(http://forumstatic.ru/files/0014/49/dd/38585.png);
background-repeat: no-repeat;
width: 22px;
height: 20px;}

/* CS3.3 Иконка важных*/
TR.isticky Div.icon {
background-image : url(https://i.imgur.com/norz9Zm.png);
background-repeat: no-repeat;
width: 22px;
height: 20px;
filter: grayscale(100%);}

/* CS3.3 Иконка закрытых*/
TR.iclosed Div.icon {
background-image : url(https://i.imgur.com/iKrfP9i.png);
background-repeat: no-repeat;
width: 22px;
height: 20px;
filter: grayscale(100%);
opacity: 0.5;}

/* 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}



::selection {
    background: #5b7e63 !important;
    color: #ffffff;
}


#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

td.tcr a {
    background-repeat: no-repeat;
    background-position: left center;
    font-family: 'Bahnschrift';
    font-size: 13px;
    text-transform: lowercase;
}


.category .container thead {display: none;}

.punbb .pa-avatar img {
    max-width: 180px !important;
    margin-bottom: 4px;
    border: 4px solid #597c61;
}

#pun-viewtopic .post h3 {
    width: 941px;
    margin-left: -1px;
    height: 15px;
    font-family: tahoma;
    text-transform: uppercase;
    font-size: 8px;
    background: #597c61;
    margin-bottom: 0px !important;
    border: 1px solid #597c61;
    box-shadow: 0 0 2px #597c61 inset;
}



.punbb .post h3 span a {
    color: #140e08 !important;
}

.questlink {
    color: #353a26 !important;
}

.questlink:hover {
    color: #323522 !important;
}



.links1 {
    font-family: montserrat;
    text-align: right;
    color: #cad2da !important;
    margin: 0 3px 0 0 !important;
    font-weight: normal;
    letter-spacing: 0.5px;
}


.links1:hover {
    color: #727741 !important;
}


#counters A IMG{opacity:0.2; -moz-opacity:0.2; filter:alpha(opacity=20);}
#counters a:hover img {
    opacity: 1.0;
    -moz-opacity: 1.0;
    filter: alpha(opacity=50);
    transition-duration: 2s;
}

.punbb .post .post-author a {
color: #e7f7ff;
}

#pun-index .user-avatar img.ava {
    width: 34px;
    height: 34px;
    border-radius: 0 !important;
    border: 1px solid #76843f !important;
}


.links-fon {
    text-align: left;
}

.links1 {
    width: 150px;
    padding: 3px 6px 3px 6px;
    color: #ffffff !important;
    font-family: tahoma;
    font-size: 8px;
    letter-spacing: 0.5px;
    font-weight: bold;
    text-align: center;
    background-color: #121212;
    margin-top: 3px!important;
    text-transform: uppercase;
    display: inline-block;
}

.links2 {
    font-family: roboto;
    text-align: right;
    color: #0f0a06 !important;
    margin: 0 3px 0 0 !important;
    font-weight: normal;
    letter-spacing: 0.5px;
}


.links2:hover {
    color: #e8e6e3 !important;
}


.links3 {
    font-family: Playfair Display;
    text-align: center;
    color: #ffffff !important;
    margin: 0 3px 0 0 !important;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.links3:hover {
    color: #a8bec9 !important;
}

.links5 {
    font-family: roboto;
    text-align: right;
    color: #9c7c3a !important;
    margin: 0 3px 0 0 !important;
    font-weight: normal;
    letter-spacing: 0.5px;
}


.links5:hover {
    color: #e8e6e3 !important;
}

/* категории
-------------------------------------------------------------*/
#pun-stats.section h2 {
    background: url(http://forumstatic.ru/files/0014/49/dd/35493.png) no-repeat top center;
    height: 77px;
    margin-top: 15px;
    width: 990px;
    margin-left: -25px;
}

.category-1.category  h2 {
    background: url(http://forumstatic.ru/files/0014/49/dd/50681.png) no-repeat top center;
    height: 77px;
    margin-top: 15px;
    width: 990px;
    margin-left: -25px;
}
.category-2.category  h2 {
    background: url(http://forumstatic.ru/files/0014/49/dd/21018.png) no-repeat top center;
    height: 77px;
    margin-top: 15px;
    width: 990px;
    margin-left: -25px;
}

.category-3.category  h2 {
    background: url(http://forumstatic.ru/files/0014/49/dd/71647.png) no-repeat top center;
    height: 77px;
    margin-top: 15px;
    width: 990px;
    margin-left: -25px;
}

.category-4.category  h2 {
    background: url(http://forumstatic.ru/files/0014/49/dd/73526.png) no-repeat top center;
    height: 77px;
    margin-top: 15px;
    width: 990px;
    margin-left: -25px;
}

.category-5.category  h2 {
    background: url(http://forumstatic.ru/files/0014/49/dd/90747.png) no-repeat top center;
    height: 77px;
    margin-top: 15px;
    width: 990px;
    margin-left: -25px;
}

.category-6.category  h2 {
    background: url(http://forumstatic.ru/files/0014/49/dd/74439.png) no-repeat top center;
    height: 77px;
    margin-top: 15px;
    width: 990px;
    margin-left: -25px;
}

.category-7.category  h2 {
    background: url(http://forumstatic.ru/files/0014/49/dd/19668.png) no-repeat top center;
    height: 77px;
    margin-top: 15px;
    width: 990px;
    margin-left: -25px;
}

#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/0014/49/dd/58918.png") top center no-repeat;
    height: 77px;
    margin-top: 15px;
    width: 990px;
    margin-left: -25px;}


/* прокрутка
-------------------------------------------------------------*/
::-webkit-scrollbar-track {
    background-color: #39583f;
    border: 1px solid #3e5e44;
    box-shadow: inset 0 0 2px #263028;
}
::-webkit-scrollbar-thumb {
    background-color: #6f2628;
    border: 1px solid #802f31;
    box-shadow: inset 0 0 3px #5c2021;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* навигация в подфорумах
-------------------------------------------------------------*/
.link a {
    display: inline-block;
    cursor: pointer;
    font-family: arial!important;
    font-size: 11px!important;
    padding-left: 8px!important;
    padding-right: 8px!important;
    padding-bottom: 2px;
    padding-top: 0px;
    margin-right: 7px;
    border-radius: 15px;
    box-shadow: inset 0 0 10px #2c4467;
    background: linear-gradient(#97a5b9, #445b7c);
    color: white!important;
    border: 1px solid #8099b3;
    text-shadow: 0 1px 1px #2c4467!important;
}
.link a:hover {
    box-shadow: inset 0 0 10px #153665!important;
    border: 1px solid #507ba9!important;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
.link {    text-align: center;    margin-top: -22px!important;    padding-bottom: 11px!important;    margin-left: 20px!important;}

/* описание подфорума
-------------------------------------------------------------*/


.discr {
    font-size: 10px;
    font-family: arial;
    width: 370px;
    text-align: justify;
    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: 13px !important;
    background: #8aa990 !important;
    border: 1px solid #a9bdc6 !important;
    box-shadow: #ffffff 0px 0px 2px inset, #a7c1aa 0px 0px 1px inset, #95bc9b 0px 0px 15px inset !important;
    color: #18271a !important;
    font-family: cuprum !important;
    font-weight: 600 !important;
    padding: 3px 5px !important;
  position:center;
    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: 14px;
    text-align: center!important;
    padding-top: 6px;
    padding-bottom: 2px;
    text-transform: uppercase!important;
    font: 287 10px cuprum;
    background-color: #acc5ae;
box-shadow: 0 0 0 1px #e0efe1, 0 0 0 2px #aac2ac;
    color: #000000 !important
    font-weight: bold;
}

#pun-stats li.item4 a { color: #103112 !important; }


/*Фон под контейнеры в форме Ответа*/
#pun_wrap #post .container[id$="-area"]{
border: solid 1px #cfc4ba!important;
background: #dbfcdc; /*Можно добавить фон картинкой url(Ccылка на картинку)*/
padding: 9px;
font: normal normal 400 11px/normal Verdana;
    overflow: auto;
    height: 160px;
}

#smilies-area {
   width: 520px!important;
   height: 160px;
}

/* новости */
.pnews {
    /* background-color: rgb(255, 255, 255); */
    background: #7c9c87;
    box-shadow: 2 2px 5px 0 rgba(128, 128, 128, 0.16);
    padding: 4px 5px 4px 6px;
    width: 150px !important;
    display: inline-block;
    font-family: Arial Narrow;
    color: #000000 !important;
    transition-duration: 2s;
}

.pnews:hover {
  background: #838383;
  transition-duration: 2s;
}

.pnews a{
  color: #020202 !important;
  font-size: 14px;
  transition-duration: 2s;
  text-transform: lowercase;
}

/*фикс формы ответа*/
 @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;
}

.fortext {     width: 403px;
    max-height: 47px;
    overflow: auto;
    color: #fffbe8;
    font-family: tahoma;
    letter-spacing: 1px;
    padding-bottom: 4px;
    line-height: 9px;
    font-size: 9px;
    text-align: justify;
    padding-left: 10px;
    margin-top: 6px!important;
    text-transform: lowercase;
}
.forlink {margin-left: 8px!important;
    width: 15px!important;
    margin-top: 10px!important;
    font-family: 'Playfair Display'!important;
    font-size: 10px;
    padding-bottom: 5px;
    letter-spacing: 1px;
    color: #8b4e35;
    position: absolute;}

.nov {font-family: 'cuprum'!important;
    text-transform: lowercase;
    font-size: 10px;
    width: 168px;
    height: 16px;
    display: inline-block;
    padding-bottom: 2px;
    color: #ffffff!important;
    letter-spacing: 1px;
    padding-top: 2px;
    padding-left: -20px;
    background: linear-gradient(#547059, #243b28)!important;
    box-shadow: inset 0 0 5px #688468;
    margin-bottom: 2px;
}
.nov a {    font-family: 'cuprum'!important;
    text-transform: lowercase;
    font-size: 11px;
    display: inline-block;
    color: #ffffff!important;
    margin-top: -1px;
    width: 120px;}
.nov date {display: inline-block;
    margin-top: -1px;
margin-left: -2px;
    height: 16px;
    font-family: 'cuprum'!important;
    text-transform: lowercase;
    font-size: 12px;
    font-weight: bold;
width: 45px;
    color: #882323;}
