/* ГРАФИЧЕСКАЯ ЧАСТЬ
-------------------------------------------------------------*/

/* Фон */
body {background:  url("http://forumfiles.ru/files/0008/a5/2b/62285.png") repeat;
background-color: #c8bfae;
  background-position : top center;
background-attachment: fixed;}


/* Шапка */
#pun-title table {background-image: url("http://forumfiles.ru/files/0008/a5/2b/74297.png");
   border: none;
   height: 228px;
   width: 982px;
   margin-left: -33px;
margin-top: -1px;
   margin-bottom: 0px;
   background-repeat: no-repeat;
   background-position : top center;
}


/* Контент */
#pun { background-color: #b9b0ab;
background-image: url("http://forumfiles.ru/files/0008/a5/2b/98525.png");
   background-color: transparent;
   background-position: center;
   }

/* Футер */
#pun-about p.container {
    background-color: transparent;
    background-image: url(http://forumfiles.ru/files/0008/a5/2b/11121.png);
    margin-left: -11px;
    background-position: center top;
    background-repeat: no-repeat;
    width: 937px;
    height: 39px;
margin-bottom:-22px;
}


/* 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: #191919;
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: #191919;
text-align:center; 
font-size: 12px; 
font-style: normal; font-weight: bold; font-family: "arial";
}

/* стиль кнопок */

    .punbb input.button {
    background-color: #c6b7ab;
background-image: url("http://forumfiles.ru/files/0008/a5/2b/67275.png");
    color: #332f25;
    margin: 19px 4px;
    box-shadow: 0px -20px 0 -16px #261d1a, 0px 20px 0 -16px #484545, inset 0 0 0px 1px #777777;
    border: 3px #968c81 solid;
}

.punbb textarea, .punbb select, .punbb input, .punbb optgroup, .hashelp center div a button, .button{
background-color: #c6b7ab;
background-image: url("http://forumfiles.ru/files/0008/a5/2b/67275.png");
    color: #332f25;
    bbox-shadow: 0px -20px 0 -16px #261d1a, 0px 20px 0 -16px #484545, inset 0 0 0px 1px #777777;
    border: 3px #968c81 solid;
color: #000000;}

.punbb .quote-box, .punbb .code-box {
background-color: #c6b7ab;
background-image: url("http://forumfiles.ru/files/0008/a5/2b/67275.png");
    min-height: 20px;
    color: #332f25;
    padding: 7px;
    margin: 19px 4px;
   box-shadow: 0px -20px 0 -16px #261d1a, 0px 20px 0 -16px #484545, inset 0 0 0px 1px #777777;
    border: 3px #968c81 solid;
    max-width: 760px;
border: 3px #baada7 solid; 
}

/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div {
background-image : url(http://forumfiles.ru/files/0008/a5/2b/67275.png);
background-color: #b2b2b2;}





/* 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: #7f5416;
  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-navlinks a:focus, #pun-navlinks a:active, #pun-ulinks a:focus, #pun-ulinks a:active {
  color: #7f5416; 
  text-decoration: none;
  }

.punbb a:hover, #pun-navlinks a:hover, #pun-ulinks a:hover {
  color: #7f5416;
  text-decoration: none;
  }

#pun-ulinks a {
  font-size: 10px;
  color: #17151e;
    font-family: 'casper' !important;
  text-transform: lowercase;
  }

#pun-ulinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  text-decoration: none;
  color: #17151e;
}


#pun-navlinks a, #pun-navlinks .container {
    font-family: rubik;
    font-weight: bold;
    color: #17151e!important;
    text-transform: uppercase;
  letter-spacing: 1px;
}

#pun-index .tcl h3 a {
   color: #7f5416!important;
    text-decoration: none;
    font-weight: bold;
    text-transform: lowpercase;
    margin-left: 10px;
    margin-top: 10px!important;
  }

/* CS3 Остальное 
-------------------------------------------------------------*/

/* CS3.1 Иконки*/
/* Старые сообщения */
.punbb table Div.icon {float:right; 
 display: block;
    border-style: none none none none;
    margin-top: 12px;
   margin-right: 10px;
    width: 23px;
    height: 23px;
background-image : url(http://forumfiles.ru/files/0008/a5/2b/49133.png);
background-repeat: no-repeat;}

/* Закрытые темы */
TR.iclosed Div.icon {
width: 23px;
height:23px;
background-image : url(http://forumfiles.ru/files/0008/a5/2b/40328.png);
background-repeat: no-repeat;}

/* Новые сообщения */
TR.inew Div.icon {
background-image : url(http://forumfiles.ru/files/0008/a5/2b/75957.png);
background-repeat: no-repeat;
width: 23px;
height:23px;}

/* Важные темы */
TR.isticky Div.icon {
width: 23px;
height:23px;
background-image : url(http://forumfiles.ru/files/0008/a5/2b/49133.png);
background-repeat: 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: 100%; 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-content a, 
.punbb .post-content a:link {
color:#21181d;
font-weight: bolder;
}
.punbb .post-content a:hover,
.punbb .post-content a:focus,
.punbb .post-content a:active {
color:#000;
text-decoration: underline;
}


/*---Прокрутка---*/
::-webkit-scrollbar{
width: 4px;
height: 4px;
background-color: #000000;
border:solid 1px #403934;}

::-webkit-scrollbar-thumb{
background-color: #ae8d7e;
}
::-webkit-scrollbar-thumb:hover{
background-color: #ae8d7e; }

::selection {background:#3a3836; color:#ffffff;}  
*::-moz-selection {background:#3a3836; color:#ffffff;}

#pun-viewforum.punbb div.icon {
    margin-top: 0 !important;
}

.topic .post {
  margin-left:10px;
}


.punbb .pa-avatar img {
   max-width: 180px;
    height: auto;
    box-shadow: rgb(150, 140, 129) 0px 0px 0px 1px;
    border-width: 4px;
    border-style: solid;
    border-color: rgb(193, 185, 186);
    border-image: initial;
}

.pa-avatar.item2 {
margin-top:19px; 
    padding-bottom: 10px;
}

.podforum {
        padding: 0px 17px 0px 17px;
    text-align: justify;
    font-size: 11px;
    line-height: 12px;
}


.pa-posts {
    text-align: center;
    display: inline-block;
    width: 65px;
    line-height: 13px;
    font-size: 9px;
    padding: 10px!important;
    margin-bottom: 5px!important;
}

.pa-respect {
    text-align: center;
    display: inline-block;
    width: 60px;
    line-height: 13px;
    font-size: 9px;
    padding: 10px!important;
    margin-bottom: 5px!important;
}

.punbb .move_posts_form .container {
  background: url(https://i.imgur.com/sNx0uOJ.png);
}



td.tcr a {
    color: #7f5416!important;
    background-repeat: no-repeat;
    background-position: left center;
    font-size: 12px;
font-weight: bold;
    font-family: 'rubik';
font-weight: 700;
}

/* Окантовка профиля*/
.punbb .post .post-author {
  float: left;
  width: 243px!important;;
  text-transform:lowercase;
  background: url(http://forumfiles.ru/files/0008/a5/2b/86587.png) 0 bottom no-repeat, url(http://forumfiles.ru/files/0008/a5/2b/97175.png) 0 top no-repeat, url(http://forumfiles.ru/files/0008/a5/2b/37282.png) 0 top repeat-y;
  margin-left:-1px;
  margin-top: 2px;
text-align: center;
}


#pun-category1.category h2 {
    background: url(http://forumfiles.ru/files/0008/a5/2b/73375.png);
    background-position: top center;
    height: 38px;
    width: 684px;
    font-size: 0 !important;
    font-size: 0 !important;
    margin-left: 105px;
    margin-top: -5px;
    margin-bottom: 15px;
}

#pun-category2.category h2 {
background: url(http://forumfiles.ru/files/0008/a5/2b/91103.png);
background-position: top center;
height: 38px;
    width: 684px;
font-size:0 !important;
font-size:0 !important;
margin-left: 105px;
margin-top: 5px;
margin-bottom: 15px;
}

#pun #pun-index #pun-stats h2 {
color : #000000;background: url(http://forumfiles.ru/files/0008/a5/2b/12540.png);
background-position: top center;
height: 38px;
    width: 684px;
font-size:0 !important;
font-size:0 !important;
margin-left: 105px;
margin-top: 5px;
    margin-bottom: 15px;
}



.pa-avatar img {
    max-width: 180px;
    max-height: 180px;
}


#pun-adnav .isactive ul.adsubnav a {
 text-decoration: none!important;
  }

#pun-title table tbody tr .title-logo span {
display:none;
}



#font-area span, #font-area img {
    height: 13px;
}

#pun-userlist .usertable th{display:none}

#pun-announcement h2 {
    display: none;
}


.pa-author {
    font-family: rubik!important;
    font-weight: bold;
    font-size: 12px!important;
    font-weight: normal!important;
    color: #17182a!important;
    margin-top: 15px!important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pa-author a {
    font-family: rubik!important;
    font-weight: bold;
    font-size: 12px!important;
    color: #1d1b17!important;
    margin-top: 10px!important;
    margin-Left: -4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category .container thead {display: none;}


#pun-main .post .permalink {
    font-size: 12px;
    font-weight: 500!important;
    font-family: calibri;
    color: #473021!important;
    letter-spacing: 1px;
    margin-top: 2px!important;
    border-bottom: dotted 1px #a99f9c;
text-align: center;}

#podforum {
    padding-bottom: 18px;
}

#opisanie{
    color: #000000;
    font-size: 14px;
    text-align: center;
    margin-right: 5px;
    font-family: 'calibri';
    margin-bottom: 3px;
}

#textopisanie {
    color: #352924;
    font-size: 10px;
    background-image: url(http://forumfiles.ru/files/0008/a5/2b/82507.png);
    padding: 7px 7px 7px 7px;
border: 1px double #9e9d9d;
}

.link{
display: inline-block;
    padding: 3px 6px;
    border: 3px double #c7c7c7;
    background: #9e9d9d;
    color: #181513 !important;
    /* text-shadow: 1px 0 0 #000; */
    font-size: 10px;
}

a.menu:link, a.menu:visited, a.menu:active{text-decoration: none;
background-color: grey;
font:normal 7pt century gothic;
color: #ffffff;
line-height: 14pt;
text-transform: uppercase; 
text-align: center;
display:block;
width:120px;
border-bottom: 2px solid  grey;
}
a.menu:hover {
background-color:#666666;
color:  #FFFFFF ;
border-bottom :2px solid  #ffffff;}