/*ГРАФИКА -------------------------------------------------------------*/


/* Боди или фон форума */
body{
background: url(http://forumstatic.ru/files/001b/5f/05/81200.png);
background-color: #485151;
background-attachment: fixed;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}


/* Шапка */
#pun-title table {
    background-image: url(http://forumstatic.ru/files/001b/5f/05/30388.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    height: 215px;
    width: 815px;
    margin-left: 0px;}

#pun-title table:hover {
    background-image: url(http://forumstatic.ru/files/001b/5f/05/63733.gif);
    transition: 0.5s;
}


/* Пан или "тело" форума */
#pun {background-color: #828786;
    background-image: url(http://forumstatic.ru/files/001b/5f/05/77419.png);
background-position: center top;
background-size: 100%;
}

/* футер */
#pun-about p.container{
    background-image: url(http://forumstatic.ru/files/001b/5f/05/58549.png);
    background-position: center top;
    background-repeat: no-repeat;
    width: 815px;
    margin-left: -14px;
    text-align: center;
    border-color: transparent;
}

div#pun-about {
   margin-bottom: -58px;
}


#profilenav h2 {text-shadow: none;}

#pun-redirect.punbb  #pun-main h1 {
background: none;}

hr, .banner-line {
border: none;
    height: 1px;
    background: #e2e2e2 center no-repeat;
   }


/* Цвет текста на форуме */
.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, .punbb-admin #pun-admain 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: #000000;
font-weight: normal;
font-style: normal;}

/* двигалка навигации, общие ссылки и пользовательские*/
div#pun-navlinks {     position: relative;
    width: 100%;
    text-align: center;
    top: -75px;
    left: 0px;}
div#pun-ulinks {    position: relative;
    width: 100%;
    text-align: center;
    top: 60px;}


/* Ссылки */

/* 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 {
  color: #800505;
  border-bottom: 0px none #000;
  text-decoration: none;
-moz-transition: color 0.2s 0.02s ease;
 -o-transition: color 0.2s 0.02s ease;
 -webkit-transition: color 0.2s 0.02s ease;}

/* 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: #2c2c2c;
  border-bottom: 0px none #000;}

/* cs2.3. верхняя навигация до наведения */
#pun-navlinks a {
color: #ffffff;
    font-family: arial;
    font-size: 12px !important;
    border-bottom: 0px none #000;
    letter-spacing: -1px;
    font-weight: normal;
text-transform: uppercase;
}
/* cs2.4. нижняя навигация до наведения */
#pun-ulinks a {
    color: #2a2627;
    font-family: arial;
    font-size: 10px !important;
    border-bottom: 0px none #000;
    letter-spacing: 0px;
    text-transform: lowercase;}

/* cs2.5. верхняя навигация после наведения */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  border-bottom: 0px none #000;
  color: #800505;}

/* cs2.5. нижняя навигация после наведения */
#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {
  border-bottom: 0px none #000;
 color: #800505;}

/*ИКОНКИ -------------------------------------------------------------*/

/* Иконка старых сообщений*/
Div.icon {
background-image : url(http://forumstatic.ru/files/001b/5f/05/61044.png);
background-repeat: no-repeat;
}

/* Иконка новых */
TR.inew Div.icon {
background-image : url(http://forumstatic.ru/files/001b/5f/05/83569.png);
background-repeat: no-repeat;
}


/* CS4 Картинки категорий */
#pun-category1.category h2 {
    background: url(http://forumstatic.ru/files/001b/5f/05/20073.png);
    height: 13px;
    width: 152px;
    font-size: 0 !important;
    margin-left: 480px;}

#pun-category2.category h2 {
background: url(http://forumstatic.ru/files/001b/5f/05/32248.png);
    height: 11px;
    width: 133px;
    font-size: 0 !important;
    margin-left: 480px;}

#pun-category3.category h2 {
background: url(--);
height: 59px;
width: 178px;
font-size:0 !important;
margin-left: 310px;}

#pun-category4.category h2 {
background: url(--);
height: 59px;
width: 178px;
font-size:0 !important;
margin-left: 310px;}

#pun-category5.category h2 {
background: url(--);
height: 59px;
width: 178px;
font-size:0 !important;
margin-left: 310px;}


#pun-category6.category h2 {
background: url(--);
height: 59px;
width: 178px;
font-size:0 !important;
margin-left: 310px;}

/* Статус картинки с надписью "статистика" над статистикой форума*/
#pun-stats.section h2 { 
    background-attachment: scroll;
    background-clip: border-box;
height: 59px;
width: 178px;
    margin-left: 310px;
    background-color: transparent;
    background-image: url("--");
    background-origin: padding-box;
    background-position: 10% 10%;
    background-repeat: no-repeat;
    background-size: auto;
    font-size: 0px;
display: none}


/* CS5.3 Цитаты и коды в сообщениях*/
.punbb .quote-box, .punbb .code-box {
background-color: #c6c6c6;
    background-image: url(http://forumstatic.ru/files/001b/5f/05/29574.png);
    color: #000000;}

/* Закругленные края цитаты и кода с тенью */
.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;
box-shadow: 0px 0px 1px }

.punbb input { border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
box-shadow: 0px 0px 0px;}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input {
background-image: url("http://forumstatic.ru/files/001b/5f/05/29574.png");
    background-color: #c6c6c6;;
    color: #000000;}


/* скрыть название категорий*/
#pun-main .category h2 span {
visibility: hidden;
}


/*------------------------скролинг-----------------------*/

::-webkit-scrollbar-thumb:vertical {
    background-color:#661611;
}

::-webkit-scrollbar-thumb:horizontal {
    background-color:#661611;
}

::-webkit-scrollbar {
width: 8px;
    height: 6px;
    background-color: #1b1b1b;
    border: 3px solid #a10707);
    }

/*---------------оформление названий подфорумов---------------*/
#pun-index.punbb .tclcon h3 > a {
    color: #800505;
    text-shadow: 0px 0 0px rgba(0, 0, 0, 0.33);
    font-family: arial;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0px;
    font-size: 13px !important;
text-transform: uppercase;
    font-weight: bold;
}
#pun-index.punbb .tclcon h3 > a:hover {
   color: #7d7d7d;
}


/*---------------оформление описаний подфорумов---------------*/
.punbb td div .tclcon, .category .container table .hasicon .tc1 {
    line-height: 10px;
    padding: 9px;
 font: 10px arial;
width: 80%;

}

.pf {    width: 91%;
    padding: 6px 6px 6px 6px;
    box-shadow: inset 0px 0 2px rgba(0, 0, 0, 0.25);
    margin-left: 21px !important;
    font: 4px arial;
    color: #5c615f;
    line-height: 12px;}


/*---------------админы---------------*/
.ams {position: absolute;
    top: 33px;
    margin-left: 515px !important;
    padding: 4px 10px;
    background: #936b7a;
    width: auto;
    text-align: right;
    color: #dde0e2 !important;
    text-shadow: 1px 0 1px black;
    font: bold 12px arial;}
.ams a {color: #dde0e2 !important;
    text-shadow: 1px 0 1px black !important;
    font: 300 normal 12px code;
    letter-spacing: 1px;
    text-transform: uppercase !important;}

#pun-ulinks li.item3 {
display: none;
}

#pun-ulinks li.item5 {
display: none;
}



.pa-fld2 {background: none;
    width: 180px;
margin-top: -10px !important;
margin-left: 1px !important;}


/*Фон мини-профиля в Топике*/
.punbb .post .post-author {
  background:url(https://forumupload.ru/uploads/001a/fd/c2/2/194229.png) 0 0 repeat; /*Фон размножаемый по вертикали*/
  overflow: visible!important;
  margin:0px 0!important;
}
.punbb .post .post-author > ul {
  background:url(https://forumupload.ru/uploads/001a/fd/c2/2/31009.png) 0 top no-repeat,url(https://forumupload.ru/uploads/001a/fd/c2/2/293181.png) 0 bottom no-repeat; /*Фон верха - низа*/
  margin:-10px 0 10px 0!importan;
  padding:10px 10px!important;
}

 .pa-avatar img {
        max-width: 180px;
        max-height: 180px;
    }

#podf {background-color: #b1b1b1;
    padding: 10px;
    font-family: arial;
    font-size: 10px;
    margin-top: -9px;
    border-bottom: 2px solid #671712;}

#pun-index .category .tc2,#pun-index .category .tc3 {
display:none!important;
}
.Tems_And_messages {
    display: inline-block;
}
.main table .Add {
    display: block;
    height: 8px;
    margin: -12px 0px 0px 148px;
    padding: 3px 0px 6px 0px;
    font-weight: normal;
    font-size: 10px;
    color: #e7e7e7;
    background-color: #671712;
    font-family: arial;
    text-transform: lowercase;
    letter-spacing: 1px;
    text-align: center;
    width: 225px;
}
.Tems_And_messages .right {
    color: #bdc6d3;
}

.category .container thead {display: none;}

.fld-name a {color: #fff !important}