/* ----убрать прокрутку---- */
body {
overflow-x: hidden !important;
}

/* ----текст---- */
.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: #393e36;
  font-weight: normal;
  font-style: normal;
  text-align: justify;
  line-height: 160%;
}

/* ----фон---- */
body {background-color: #1f171e; background-position: top center; }

/* ----шапка---- */
#pun-title table {
background-image : url(https://i.imgur.com/iT5GSat.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
height: 207px;
width: 1000px;
margin-left: -50px;}

/* ----пан---- */
#pun {background-color: transparent; background-image: url(https://i.imgur.com/fxJJcvB.png);}

/* ----футер---- */
#pun-about p.container {
    background-image: url(https://i.imgur.com/hZf2NdD.png); 
    background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center; 
    font-size:11px !important;
    text-align: center;
    height: 114px;
    width: 1000px; 
    margin-left: -63px;
    margin-bottom: -45px; !important;
}

/* ----текст футера---- */
#pun-about p.container a {
   font-family: Roboto; font-size:9px;
   letter-spacing: 1px;
   line-height: 120%;
}

/* ----первая строка навигации: с наведением и без*/
#pun-navlinks a {
    color: #3f4d45;
    font-family: Alice; font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
}

#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
    color: #4b5951;
    text-decoration: none; 
}

/* ----вторая строка навигации: с наведением и без*/
#pun-ulinks a {
    color: #393e36;
    font-family: Roboto; font-size: 9px;
    text-transform: lowercase;
    letter-spacing: 1px;
    text-decoration: none; 
}

#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {
    color: #4c4a43;
    text-decoration: none; 
}

/* ----ссылки на форуме: с наведением и без */

.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: #34433b; 
  font-weight: bold;
  text-decoration: none; 
}

.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: #25312a;   
  font-weight: bold;
  text-decoration: none; 
}

/* ----иконка старых сообщений----*/
.punbb table Div.icon {float: right; 
display: block; 
border-style: none none none none;
margin-top: -10px;
margin-right: 10px;
width: 30px;
height: 30px;
background-image : url(https://i.imgur.com/TmZjGGu.png);
background-repeat: no-repeat;}

/* ----иконка новых сообщений----*/
TR.inew Div.icon {
background-image : url(https://i.imgur.com/8NTEtGU.png);
background-repeat: no-repeat;
width: 30px;
height: 30px;}

/* ----иконка важных сообщений----*/
TR.isticky Div.icon {
background-image : url(https://i.imgur.com/8NTEtGU.png);
background-repeat: no-repeat;
width: 30px;
height: 30px;}

/* ----иконка закрытых сообщений----*/
TR.iclosed Div.icon {
background-image : url(https://i.imgur.com/TmZjGGu.png);
background-repeat: no-repeat;
width: 30px;
height: 30px;}

/* ----категории----*/
#pun-category1.category h2, #pun-category2.category h2, #pun-category3.category h2, #pun-category4.category h2, #pun-category5.category h2, #pun-category6.category h2 {
    height: 0px;
    width: 0px;
    margin-left: 0px;
    font-size: 0px !important;
    box-shadow: none;
    border: none;
}
#pun-category1.category h2 {background: url(...);}
#pun-category2.category h2 {background: url(...);}
#pun-category3.category h2 {background: url(...);}
#pun-category4.category h2 {background: url(...);}
#pun-category5.category h2 {background: url(...);}

/* ----картинка 24----*/
#pun-stats ul.container { 
background-attachment: scroll;
background-clip: border-box;
background-color: transparent;
background-image: url("адрес");
background-origin: padding-box;
background-position: 10px 10px;
background-repeat: no-repeat;
background-size: auto;
padding-left: 20px;
padding-top: 40px;}

/* ----статистика---- */
#pun-stats.section h2 { 
background-attachment: scroll;
background-clip: border-box;
height: 0px;
width: 200px;
margin-left: 320px;
background-color: transparent;
background-image: url("адрес");
background-origin: padding-box;
background-position: 50% 0%;
background-repeat: no-repeat;
background-size: auto;
font-size: 0px;}

/* ----личное звание---- */

.pa-fld1 {display: block;
color: #29312b;
font-family: Roboto;
font-size: 10px;
text-align: justify;
padding: 5px 8px 8px 8px;
line-height: 11px;
text-shadow: 1px 1px 0 #cbc8bc;
width: 170px;   
margin-left: 18px!important;
margin-top: 8px!important;
padding: 10px!important;  }

.pa-fld1 a {
   color: #353f37!important;    
   font-weight: normal!important;
}

.pa-fld1 h1 {
    display: block;
    font-family: Roboto;
    font-weight: bold;
    font-size: 11px;
}

.pa-fld1 b {
    color: #28412f!important;
    font-weight: bold!important;
}


/* ----репутация и сообщения в одну строку---- */

.pa-respect, .pa-posts, .pa-fld2 { 
  display: inline-block;
  text-align: center; 
  width: 50px;
  font-family: Arial;
  letter-spacing: 1px;
  font-size: 8px;
  color: #333a2b;
  text-shadow: 1px 1px 0 #cbc8bc;
  padding: 5px!important;
}

.pa-respect a, .pa-respect a:hover, .pa-posts a, .pa-posts a:hover {color: #333a2b!important;}


/* ----стили: навигация в подфорумах---- */
.nav1 {
  background-color: transparent; 
  font: 9px Alice; 
  font-weight: bold; 
  text-transform: uppercase;
  text-align: center!important; 
  padding: 5px;
}

/* ----стили: страницы---- */
.page {
  background-color: transparent; 
  font-family: Roboto;
  font-size: 10px;
  text-align: justify; 
  padding: 20px;
}

.page p {
    text-indent: 20px; 
    margin-left: 20px;
   }

.title {
    color: #40475b; 
    font-weight: bold;
    font-family: Alice; font-size: 14px;
    text-transform: uppercase;
    text-align: center;
   }


/* ----шаблоны---- */
.post #a {
    margin: auto;
    width: 581px;
    height: auto;
    padding: 30px;
    background: url(https://i.imgur.com/janMRNr.png) 0px bottom no-repeat, url(https://i.imgur.com/UakV2Qr.png) 0px top no-repeat, url(https://i.imgur.com/K0r4Kmh.png) 0px repeat-y;
}

.post #a1 {
    color: #29302b; 
    font-weight: bold;
    text-decoration: none; 
    font-family: Alice; font-size: 14px;
    text-transform: uppercase;
    text-align: center;
}

.post #a2 {
    color: #343d37; 
    font-weight: none;
    text-decoration: none; 
    font-family: PT Sans; font-size: 10px;
    text-transform: uppercase;
    text-align: center;
}

.post #a3 {
   width: auto;
   margin: auto;
   background-color: transparent;
   font-family: Roboto;
   color: #1e2621;
   text-shadow: 0 0 3px #c7c6bd, 1px 1px 0 #c0bdb2;
   font-size: 10px;
   text-transform: uppercase;
}

.post #a3 img{
    filter: grayscale(100%);
    border: 1px solid #918a79;
    outline: 1px solid #ada89d;
    outline-offset: 1px;
    margin-right: 5px;
}

.post #a4 {
   width: auto;
   color: #29312b!important; 
   font-weight: bold!important;
}

.post #w {   
   width: 550px;
   margin: auto;
   text-align: center;
   font-family: Roboto;
   font-size: 8px;
   color: #1e2621;
   text-shadow: 0 0 3px #c7c6bd, 1px 1px 0 #c0bdb2;
   text-transform: uppercase;
   background: url(https://i.imgur.com/IWZBkTS.png) 0px bottom no-repeat;
   padding-bottom: 20px;}


.post #at {
    color: #3e3c36;
    font-family: Roboto; font-size: 11px;
    letter-spacing: 0px;
    padding: 2px 15px 30px 15px;
    color: #2c2b27;
}

/* ----важно: прокрутка---- */
::-webkit-scrollbar {width: 5px; height: 5px; background-color: #1f171e;}
::-webkit-scrollbar-thumb {background-color: #3f4d45; 
  box-shadow: 0 0 3px 0 #747064 inset, 0 0 3px 0 #8f897a;}

/* ----важно: размытые текста---- */
.post-box del {
    text-decoration: none;
    filter: blur(2px);
-webkit-transition: 1s ease;
-moz-transition: 1s ease;
-ms-transition:1s ease;
-o-transition:1s ease;
transition: 1s ease;
}

.post-box del:hover {
    filter: blur(0px);
}


#pun th, #pun-main h2 {text-align: center; font: 10px Calibri;}


#p5198 .post-author {
    display: none;
}
#p5198 .post-body {
    margin-left: 0!important;
}