/* CS1 Фон и цвет текста*/

/* 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 h1, .punbb .main h2, #pun-debug 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: #313335;
font-weight: normal;
font-style: normal;}

.punbb-admin #pun-admain h2 {color: #a6abb8;}

/* CS1.2 Боди или фон форума */
html, body { background:  url("http://funkyimg.com/i/26Adn.png") center;}

/* CS1.4 Пан или "тело" форума */
#pun {background-image: url(http://funkyimg.com/i/26AcX.png);}

/* 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 {
  color:  #40434c;
  text-decoration: none;}

/* CS2.2 */
.punbb a:hover, .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 {
  color: #2f313b; 
  text-decoration: none;}

/* CS2.3 */
#pun-navlinks a {
  color: #40434c;
  text-decoration: none;}

/* CS2.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: ##2f313b;
  text-decoration: none;}

/* CS3 Иконки старых, новых, важных, закрытых тем */

/* CS3.1 Иконка старых сообщений*/
.punbb table Div.icon {float: right; 
display: block; 
border-style: none none none none;
    margin-left: 5px;
    margin-right: 0px;
    margin-top: 0px;
background-image : url(http://i.imgur.com/VMYERFx.png);
background-repeat: no-repeat;
width: 46px;
height: 50px;}

/* CS3.2 Иконка новых */
TR.inew Div.icon {
background-image : url(http://i.imgur.com/KYMwGbO.png);
background-repeat: no-repeat;
width: 46px;
height: 50px;}

/* CS3.3 Иконка важных*/
TR.isticky Div.icon {
background-image : url(http://i.imgur.com/vfbS4Rw.png);
background-repeat: no-repeat;
width: 46px;
height: 50px;}

/* CS3.3 Иконка закрытых*/
TR.iclosed Div.icon {
background-image : url(http://i.imgur.com/st3jzn6.png);
background-repeat: no-repeat;
width: 46px;
height: 50px;}


/* CS5 Прочие элементы */

/* CS5.3 Цитаты и коды в сообщениях*/
.punbb .quote-box, .punbb .code-box {
background-image: url("адрес");}

/* Закругленные края цитаты и кода с тенью */
.punbb .quote-box, .punbb .code-box, .punbb textarea, .punbb select  { }

.punbb input {}

/* CS5.4 Область для ввода текста в форме ответа и админке */
.punbb textarea {
    background: url(http://funkyimg.com/i/26Azs.png);
padding: 4px;}

.punbb select, .punbb input {
background-color: #afb1b4;
    color: #25272a;
border:none;}

/* ШАПКА */
#pun-title table {background-color: transparent;
background-image : url(http://funkyimg.com/i/26AcW.png);
background-repeat : no-repeat;
background-position: bottom center;
height: 474px;
width: 904px !important; 
margin-left: -15px;
}

/* ФУТЕР */
#pun-about p.container {
font-size: 0px !important;
background-image: url(http://funkyimg.com/i/26AcY.png);
background-position: top center;
background-repeat: no-repeat;
height: 49px; 
width: 904px !important;
margin-left: -15px;
}

div#html-footer {margin: -21px 0px 0px 0px;} /* отвечает за расположение футера */
div#pun-about {margin-bottom: 0px;} /* чем больше значение, тем выше низ */

#pun-about p.container a {
display: hidden;
}

/*СКРОЛЛ*/

::-webkit-scrollbar {
    width: 10px;
    height: 5px;}
::-webkit-scrollbar-track {
background: #afb1b4;}
::-webkit-scrollbar-thumb {
    background: #1b1c24;}

/* Отправить/Посмотреть */
.post-links li > a, .postlink a, .postlink > input, input.button, #nav > *  {
font: small-caps 700 10pt !important;
display: inline-block;
box-sizing: border-box;
font-weight: bold;
text-transform: lowercase;
}

/*----сообщений----*/
#pun-main .post-author .pa-posts {
background-color: transpanent;
margin-top: 8px;
text-transform: lowercase!important;
line-height: 100%!important;
padding-top: 0px;}

/*----репутация----*/
#pun-main .post-author .pa-respect {
background-color: transpanent;
text-transform: lowercase!important;
line-height: 100%!important;
padding-top: 0px;}

/*----написание ника----*/
li.pa-author {font-size: 15px!important; line-height: 100%!important;
margin-top: 5px;}

/*РАМОЧКА*/
.punbb .quote-box cite {border-bottom: 1px dashed #313627;}


/*ЦИТАТКИ*/
.punbb .quote-box cite, .punbb .code-box strong.legend {
display: block;
    text-transform: lowercase;
    padding: 0.7em;
    font-size: 9px;
    font-weight: bold;}

/*  CS5 Категории форума и кнопки 
------------------------------------------------------------*/

#pun-category1.category h2 {
background-repeat: no-repeat;
background: url(http://i.imgur.com/XTUjiq5.png);
height: 78px;
width: 166px;
font-size:0 !important;
margin-left: 300px;}

#pun-category2.category h2 {
background-repeat: no-repeat;
background: url(http://i.imgur.com/4ytxxKO.png);
height: 78px;
width: 166px;
font-size:0 !important;
margin-left: 300px;}

#pun-category3.category h2 {
background-repeat: no-repeat;
background: url(http://i.imgur.com/5JrN4aZ.png);
height: 78px;
width: 166px;
font-size:0 !important;
margin-left: 300px;}

#pun-category4.category h2 {
background-repeat: no-repeat;
background: url(http://i.imgur.com/djl2GHw.png);
height: 78px;
width: 166px;
font-size:0 !important;
margin-left: 300px;}

#pun-category5.category h2 {
background-repeat: no-repeat;
background: url(http://i.imgur.com/i8K41Aj.png);
height: 78px;
width: 166px;
font-size:0 !important;
margin-left: 300px;}

#pun-category6.category h2 {
background-repeat: no-repeat;
background: url(http://i.imgur.com/3x9TNJI.png);
height: 78px;
width: 166px;
font-size:0 !important;
margin-left: 300px;}

 
.lichnoe {
    background: #d5d9db;
    padding: 5px;
    width: 170px;
    border: dashed 1px #7b8086;
    font-family: minion pro;
    font-size: 12px;
}



.heading1 {width: 350px; padding: 10px 5px; border-bottom: 1px dashed #483118; font-family: cambria; font-size: 30px; color: #4d5059; font-weight: 700; font-style: italic; text-align: right; text-transform: lowercase; letter-spacing: -2px; line-height: 25px;}
.heading2 {width: 300px; padding: 10px 5px; font-family: poppins; font-size: 8px; color: #333; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: 2px;}
.textish2 {margin-top: -20px; padding: 10px; font-family: cambria, sans-serif; color: #111; text-align: justify; letter-spacing: 2px; line-height: 12px; width: 300px;}


a.sbla:link, a.sbla:visited {
    display: block;
    margin-bottom: 2px;
    text-transform: lowercase;
    /* font-style: italic; */
    font-family: georgia;
    font-size: 9px;
    letter-spacing: 1px;
    /* border-radius: 10px; */
    background: #5e6269;
    color: #afb1b4;
    text-align: center;
    width: 154px;
    padding: 2px;}

/* ------------- ссылки в описаниях подфорумов ---------*/
.mainlink a {
  display:inline-block;
  font-size:12px;
  font-family: times;
  text-shadow: none;
  padding: 2px;
  margin: 1px!important;
  text-transform:lowercase;
  font-weight: bold;
  transition: 0.1s;
  text-align:center;
  width:100px;
background-color: #afb1b4;
    color: #25272a;
border:none;
}

.mainlink {text-align:center;
margin-top:9px!important;}