/* для мобильных устройств */
body{
overflow-y: scroll;}

#pun_wrap  {
    min-width: 1100px !important;}

HTML, body {
	min-width: 540px!important;}


/* отключаем на форуме*/
div#pun-live-rusff, .topic a.sharelink, #pun-status .status-right, .pl-reports {display:none!important;}
#post #button-smile{display:none;}
.category .container thead {display: none;}
.punbb .main h1, #pun-debug h2 {display:none;}
.pa-gifts {display: none;}
.pa-awards {display:none;}
#pa-gifts {display: none;}
#pa-awards {display:none;}
#profile-gifts{display: none;}
.closedatafield, #pun-title .title-logo span, .pa-gifts, .lastedit {display: none}
#pun-live-rusff span.cooltext {display: none;}
.admin-advert-block {display: none;}
li#navawards {display: none!important;}
#pun-ulinks .container li.item5 {display: none;}
#button-smile{display: none;}
#pun-userlist .usertable .container thead {display: none;}
#profilenav h2 span {display: none;}
#pun-index .category .tc2,#pun-index .category .tc3, #f-subforums .tc2,#f-subforums .tc3 {
  display:none!important;}
#pa-invites {display: none;}
.topic+.modmenu .container>span {display:none!important;}


/* admin panel
-------------------------------------------------------------*/

/* стиль админки */
#pun-adnav h2, .adformal h2 {background-color: inherit !important;    border: none!important;}
.adcontainer {border: none !important;}
#pun-admain *{border-color: transparent;}
#pun-admain * {margin: 0;}
#pun-admain .adcontainer td { border-color: transparent!important;}
#pun-admain fieldset {border-color: transparent!important;}
.punbb-admin #pun-admain h2 {display: none;}
.punbb-admin #pun-admain h2 {display: none;}
#pun-admain legend {display: none;}
.punbb-admin #pun-admain legend span {display: none;}
#pun-adnav ul.adsubnav a {color: #33333b!important; }
#pun-admain textarea { margin-left: 4px!important; border-radius: 0px;
background: #d5d5d5!important;
-webkit-box-shadow: 0 0 0 1px #adadad;
box-shadow: 0 0 0 1px #adadad;
color: #33333b!important; 


}




/* background 
-------------------------------------------------------------*/
/*фон*/
body {
background:url(http://forumstatic.ru/files/001b/75/7b/79757.png);
background-size: cover;
background-attachment: fixed;
background-position: top center; 
}

/*шапка форума*/
#pun-title table {
  background: url("http://forumstatic.ru/files/001b/75/7b/48532.png") top center  no-repeat; 
  height: 300px;
  width: 1040px; 
  margin-top: -100px;
  margin-left: -45px;}

/*низ форума */
#pun-about {
  background: url(http://forumstatic.ru/files/001b/75/7b/60752.png) center top no-repeat; 
  margin: 0px  0px  -100px  -45px;  
  height: 140px; 
  width: 1040px;}




/*  border colours  and text colours
-------------------------------------------------------------*/

/* убираем рамки на форуме */
.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,.punbb th,.punbb .quote-box, .punbb .code-box,#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 .formal fieldset .post-box, .punbb .info-box, li.pa-online{
  border-color: transparent;
  text-decoration: none;
}

/* настройка текст и убирает подчеркивание*/
.punbb a, .punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.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, .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-adnav ul.adsubnav a {
  color: #333; 
  text-decoration: none!important; 
  border-color: transparent;
}


/* llinks
-------------------------------------------------------------*/

/* ссылки не активные */
.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-admain a,
#pun-adnav .isactive ul.adsubnav a, 
#pun-adnav ul.adsubnav a { 
color: #1F1F1F; text-decoration: none!important; }


/* ссылки активные */
.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, 
#pun-admain a:hover, 
#pun-adnav .isactive ul.adsubnav a:hover {
 color: #8E6942; text-decoration: none;}



/* верхняя навигация*/
#pun-navlinks a {color: #8E6942!important; }
#pun-navlinks a:hover, 
#pun-navlinks a:focus, 
#pun-navlinks a:active {color: #838383!important;}
#pun-navlinks { 
top: -1px; 
z-index: 10; 
position:-webkit-sticky;  
position:sticky; 
height: 24px; 
line-height: 40px;
padding: 0 10px; 
margin: -86px -12px; 
background: url(http://forumstatic.ru/files/001b/75/7b/21456.png?v=1) #1E1E1E;
 border:1px solid #525252; 
width: 100%; }

/* нижняя навигация */
#pun-ulinks a { color: #8E6942!important;  }
#pun-ulinks a:hover, 
#pun-ulinks a:focus, 
#pun-ulinks a:active { color: #838383!important;}


/*  post status icons and category
 -------------------------------------------------------------*/
#pun-main div.catleft, #pun-main div.catright {display: none}

#pun-index div.category .container {
  padding: 0;
  margin: 1px 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 25px;
  background: #c1c1c1;
  -webkit-box-shadow: 0 0 0 1px #adadad;
          box-shadow: 0 0 0 1px #adadad;
}

#pun-index .container table tr {
  position: relative;
  display: block !important;
  margin: 30px 0 30px;
}

.punbb #pun-category1 h2,
.punbb #pun-category2 h2,
.punbb #pun-category3 h2,
.punbb #pun-category4 h2,
.punbb #pun-category5 h2,
.punbb #pun-category6 h2,
.punbb #pun-category7 h2,
.punbb #pun-stats h2 {
  width: auto;
  height: auto;
  background: transparent;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 20px 30px -2px;
  position: relative;
}



#post-form.formal h2 {
display: none;
}


.punbb #pun-category1 h2 span,
.punbb #pun-category2 h2 span,
.punbb #pun-category3 h2 span,
.punbb #pun-category4 h2 span,
.punbb #pun-category5 h2 span,
.punbb #pun-category6 h2 span,
.punbb #pun-category7 h2 span
 {
border-radius: 25px 25px  0 0 ;
 background:url(http://forumstatic.ru/files/001b/75/7b/79757.png);
 display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
 padding: 4px 0 4px 0 !important;
width: 100%;
  margin: 0 auto;
}


.punbb #pun-category1 h2 span,
.punbb #pun-category2 h2 span,
.punbb #pun-category3 h2 span,
.punbb #pun-category4 h2 span,
.punbb #pun-category5 h2 span,
.punbb #pun-category6 h2 span,
.punbb #pun-category7 h2 span {
 color: #8E6942!important;
text-transform: uppercase;
}

.punbb #pun-stats h2 span {
  font-size: 0 !important;
}

/* code-box quote-box spoiler-box textarea
 -------------------------------------------------------------*/


.punbb input, .punbb select, .punbb .longinput input {
background: #c1c1c1!important;
border:1px solid #adadad;
box-shadow: none !important;
outline: none!important; border-radius: 0px;}




/* над формой ответа */
#form-buttons { 
width:100%; 
border-radius: 25px 25px 0 0; 
background: #d5d5d5!important;
border:1px solid #adadad;
margin: 0px -3px 2px 0px; 
padding: 0 2px!important;}


/* форма ответа*/
.punbb textarea { 
background: #c1c1c1!important;
border:1px solid #adadad;
border-radius: 0; 
outline: none;
}

#main-reply {width:100%; height: 200px;}

.punbb .formal span.input { margin-left: -0px!important;}

.punbb #font-area { height: 200px; overflow: auto; }

#tags .container { position: absolute;  right: 6px; top: 43px!important; z-index: 2;}

#pun-edit #tags .container { top: 60px !important;}

#tags .container {padding: 5px 5px 5px 5px!important; border-radius: 0 0 5px 5px;  color: #333; background: #c1c1c1!important; border:1px solid #adadad;}






/* ostal&#697;noye
-------------------------------------------------------------*/
/* скрыть названия доп. полей */
.pa-fld1 .fld-name, .pa-fld2 .fld-name, .pa-fld5 .fld-name, .pa-fld6 .fld-name {display: none;}

/*прокрутка*/
::-webkit-scrollbar {width: 6px; height: 6px background-color: #c1c1c1;}
::-webkit-scrollbar-track {  background-color: #c1c1c1; width: 6px; height: 6px; }
::-webkit-scrollbar-corner {background: #1E1E1E; }
::-webkit-scrollbar-thumb{background-color: #8E6942;  width: 5px; height: 5px; border-radius:  0px; border: 1px solid #1E1E1E;}
::-webkit-scrollbar:horizontal {width: 6px; height: 6px; background-color: #c1c1c1;}
::-webkit-scrollbar-horizontal {background-color: #8E6942;  width: 5px; height: 5px; border-radius:  0px; 
border: 1px solid #1E1E1E;}

/*выделение*/
body *::-moz-selection { background: rgba(142, 105, 66); color: rgb(30, 30, 30);}
body *::-webkit-selection {background: rgba(142, 105, 66, 0.9);color: rgb(30, 30, 30);}
body *::selection { background: rgba(	142, 105, 66, 0.9); color: rgb(30, 30, 30);}

/*блюр на зачеркнутое*/
.punbb .post-content strike, del {text-decoration: none; filter: blur(1px); }
.punbb .post-content strike:hover, del:hover { text-decoration: none;  filter: none;}



/* настройки остального стиля */
.category .container thead { text-transform:lowercase; }
.offline li.pa-online strong {font-weight: normal;}
 a.menu:link, a.menu:visited, a.menu:active{text-decoration: none;}
#dns-ip-replace-notify {display:none!important;}
#pun_wrap{position:static!important;}
.punbb th {background-color: #transparent !important; color: transparent !important;}




.punbb:not(#pun-userlist):not(#pun-messages) .user-avatar { 
width: 32px!important;  
height: 34px!important; 
transition-duration: 0.25s;
padding: 1px 1px 0px 7px;
float: left; }

#pun .user-avatar .avatar-image {
border-radius: 10px!important; 
height: 30px; 
width: 30px;  
margin-left: -5px; 
margin-top: -24px;  
opacity: 0.8!important;  
outline: 1px solid #c1c1c1; 
border: 2px solid #adadad;}

.punbb .user-avatar .isonline { 
width: 6px!important;
 height: 6px!important; 
z-index: 0!important; 
margin-top: -24px;  
outline: none;  
background-color: #8E6942!important; }


.punbb .main .tcr span.lastpost { 
display: block;  
padding: 4px 0px 0px 0px; 
color: #1E1E1E!important;  
text-transform: lowercase; 
font-size: 11px; }

.punbb .main .tcr a{ 
   font-weight: 500; 
font-size: 12px; 
color: #1E1E1E!important; 
text-transform: lowercase; }

.punbb .main .tcr a:hover{ 
font-weight: 500; 
font-size: 12px; 
color: #8E6942!important; 
text-transform: lowercase;  }





