/* Фон
--------------------------------- */

html {
    background: url(http://forumstatic.ru/files/001a/71/30/44513.png) repeat top center;
  }

/* Шапка и тело
--------------------------------- */
body {
    background: url(http://forumstatic.ru/files/001a/f4/51/14361.png) top center no-repeat,
    url(http://forumstatic.ru/files/001a/71/30/68304.png) top center repeat-y;
    }
#pun {      
    width: 940px!important;
    }


/* Футер
--------------------------------- */
#pun-about p.container {
    background-image: url(http://forumstatic.ru/files/001a/f4/51/88170.png);
    background-position: left top;
    background-repeat: no-repeat;
    height: 220px;
    width: 1042px;
     margin: 50px -250px -170px -51px;
  }




/* Разделитель сообщений
--------------------------------- */
#pun-main .post h3 {
    margin: 0px 0px -10px 226px;
  }


/* Дата и номер поста
--------------------------------- */
.punbb .post h3 span {
    font-size: 0.7em;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-left: 32px;
    line-height: 350%;
    color: ##84504c !important;
  }



.punbb .post h3 span a {
    font-weight: bold;
}

.punbb .post h3 strong {
    float: right;
    font-size: 0.7em;
    letter-spacing: 2px;
    text-align: right;
    width: 3em;
    color: ##84504c;
  }

.punbb .post h3 strong:before {
    content: '#';
    padding-right: 1px;
    font-size: 0.7em;
    font-weight: normal;
}


/* Общие заголовки
--------------------------------- */
.punbb .main h2, #pun-debug h2, .punbb .main h1, #viewprofile h2, #profilenav h2, #pun-stats h2 {
    font-size: 2em!important;
    font-weight: bold;
    color: #442d25;
    line-height: 250%;
    border-color: transparent;
  }

#pun-viewforum h1, #pun-viewtopic h1 {
    padding-bottom: 20px;
}

  #pun-profile h1 span a {
    font-size: 0.7em;
    letter-spacing: 2px;
    margin-right: 10px;
  }
  #pun-profile h1 span a:before {
    content: '(';
  }
  #pun-profile h1 span a:after {
    content: ')';
  }

 #post-form h2  {
    text-align: center;
    }

/* Переадресация
--------------------------------- */

#pun #pun-redirect{
  border:0 none!important;
  background-image : url("http://forumstatic.ru/files/001a/71/30/44513.png"); !important;
  margin: auto;
  padding:0;
  left:0;
  right:0;
  top:0;
  bottom:0;
  position:fixed;
  width:100%;
  height:100%;
  text-align:center;
}
#pun-redirect *{
  border:0 none;
  margin:0;
  padding:0;
}
#pun-redirect .main-title {
  display:none;
}
 
#pun-redirect.punbb .info .container{
  padding:70px 100px 0 100px!important;
  height:200px;
  width:400px;
  text-align:center;
  margin:auto!important;
  padding:0;
  left:0;
  right:0;
  top:0;
  bottom:0;
  position:absolute;
  font-weight:bold;
  display:block;
  padding:0;
  background:url(http://forumstatic.ru/files/001a/71/30/29290.png) center top no-repeat!important;
}
#pun-redirect.punbb .info a{
  color:#293e31;
  font: italic normal 400 14px/normal Times New Roman;
}
#pun-redirect.punbb .info a:hover{
  color:#293e31;
}




/* Иконки
--------------------------------- */
#pun-main .category div.icon {
    background: url(http://forumstatic.ru/files/001a/71/30/20720.png) no-repeat center top;
    border-style: none;
    display: block;
    position: absolute;
    width: 60px;
    height: 60px;
margin-left: -10px;
}

#pun-main .category TR.inew Div.icon {
    background: url(http://forumstatic.ru/files/001a/71/30/95220.png) no-repeat center top;
    border-style: none;
    display: block;
    position: absolute;
    width: 60x;
    height: 60px;
margin-left: -10px;
}

#pun-viewforum table Div.icon, #pun-modviewforum table Div.icon, #pun-messages table Div.icon, #pun-searchtopics table Div.icon {
    background: url(http://forumstatic.ru/files/001a/71/30/20720.png) no-repeat center top;
    float: left;
    border-style: none;
    display: block;
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0px 0px 0px 0;
  }

#pun-viewforum TR.inew Div.icon, #pun-modviewforum TR.inew Div.icon, #pun-messages TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon {
    background: url(http://forumstatic.ru/files/001a/71/30/95220.png) no-repeat center top;
    width: 60px;
    height: 60px;
    margin: 0px 0px 0px 0;
  }

#pun-viewforum TR.iclosed Div.icon, #pun-modviewforum TR.iclosed Div.icon #pun-messages TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon {
    background: url(http://forumstatic.ru/files/001a/71/30/14770.png) no-repeat center top;
    width: 60px;
    height: 60px;
    margin: 0px 0px 0px 0;
}

#pun-viewforum TR.isticky Div.icon, #pun-modviewforum TR.isticky Div.icon, #pun-messages TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon {
    background: url(http://forumstatic.ru/files/001a/71/30/58043.png) no-repeat center top;
    width: 60px;
    height: 60px;
    margin: 0px 0px 0px 0;
}
/*Перенесенные*/
.icon-new{
  background-image: url('http://forumstatic.ru/files/001a/71/30/64096.png')!important;
}



/* Профиль
------------------------------------------------------------- */
.punbb .post .post-author {
overflow: hidden;
float: left;
padding: 28px 0px 0px 0px!important;
}

/* Шрифт в оформлении профиля */
.punbb .post .post-author ul, .punbb .post .post-author p {
line-height: 140%;
text-align: center; 
color: #84504c;
margin-top: -1px !important;
margin-left: 15px !important;
margin-right: 15px !important;
margin-bottom: 10px !important;

}

/* рамка верх-низ-середина */
.post-author {
background: url("http://forumstatic.ru/files/001a/71/30/64966.png") no-repeat scroll center top, url("http://forumstatic.ru/files/001a/71/30/11793.png") no-repeat scroll center bottom, url("http://forumstatic.ru/files/001a/71/30/94036.png") repeat-y scroll center center rgba(0, 0, 0, 0);
margin-right: -15px !important;
    margin-left: 0px !important;
    margin-top: -20px !important;
        width: 200px !important;
}



.pa-author a {
font-family: verdana !important;
color: #83764a !important;
font-size: 15px!important;
font-weight: bold !important;
text-transform: uppercase;
font-variant: small-caps !important;
text-shadow: #312a13 1px 1px !important;
text-align: center;
  }

.punbb .pa-avatar img {
    max-width: 180px;
    height: auto;
margin-left: -5px !important;
}

/* статус */
.pa-title {text-align: center;
z-index: 1000;
font-size: 13px!important;
font-style: normal;
font-stretch: normal;
line-height: normal;
color:#84504c !important;
font-family: "verdana" !important;
    text-shadow: 0 0 1px fff!important;
    margin-top: 5px !important;
   margin-bottom: 0px!important;
   width: 190px;
    margin-left:0px !important;
font-variant: small-caps !important;
margin-left: -10px !important;
}

.post-author a, .post-author a:hover, .post-author a:focus, .post-author a:active{color: #83764a !important; text-shadow:none;
 } 

.pa-author a:hover, .pa-author  a:focus, .pa-author  a:active 
{
color: #83764a !important; 
text-shadow: 0px 0px 0px #83764a;
text-align: center;
}


.pa-fld1 img, .pa-fld2 img, .pa-fld3 img, .pa-fld4 img, .pa-fld5 img, .pa-fld6 img, .pa-fld7 img, .pa-fld8 img, .pa-fld9 img, .pa-fld10 img, .pa-fld11 img, .pa-fld12 img, .pa-fld13 img, .pa-fld14 img, .pa-fld15 img, .pa-fld16 img, .pa-fld17 img, .pa-fld18 img, .pa-fld19 img, .pa-fld20 img{
  margin-left: -5px !important;
  }



/* Оформление цитат, кнопок и полей ввода
------------------------------------------------------------- */
#pun-main .code-box, #pun-main .quote-box, #pun_wrap #post .container[id$="-area"] {
    background-image: url(http://funkyimg.com/i/28aif.png);
    padding: 8px 10px 8px 10px;
    border-radius:15px;
  -webkit-border-radius:10px;
  -moz-border-radius:5px;
  -khtml-border-radius:3px;
color: #363030;
text-shadow: 0px 0px 0px #000c;
  border-width:1px;
  border-color:#403014;
  border-radius: 15px;
   border-left: 5px solid #584322;
  border-right: 5px solid #584322;
  }

.punbb .quote-box cite {
    display: block;
    margin-left: 5px;
    font-size: 1em;
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 20px!important;
    border-radius:15px;
  -webkit-border-radius:10px;
  -moz-border-radius:5px;
  -khtml-border-radius:3px;
color: #363030;
text-shadow: 0px 0px 0px #000c;
  border-width:1px;
  border-color:#403014;
  border-radius: 15px;
   border-left: 5px solid #584322;
  border-right: 5px solid #584322;
  }

.punbb .code-box strong.legend a {
    font-weight: bold;
    border-radius:15px;
  -webkit-border-radius:10px;
  -moz-border-radius:5px;
  -khtml-border-radius:3px;
    color: currentColor;
    display: block; 
    line-height: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1em!important;
    margin: 0 0 5px 5px;
color: #363030;
text-shadow: 0px 0px 0px #000c;
  border-width:1px;
  border-color:#403014;
  border-radius: 15px;
   border-left: 5px solid #584322;
  border-right: 5px solid #584322;
    }

.inner, .punbb .pun-modal .section {
    background-image: url(http://funkyimg.com/i/28aif.png);
    border-radius:15px;
  -webkit-border-radius:10px;
  -moz-border-radius:5px;
  -khtml-border-radius:3px;
    padding-top: 10px;  
color: #363030;
text-shadow: 0px 0px 0px #000c; 
  border-width:1px;
  border-color:#403014;
  border-radius: 15px;
   border-left: 5px solid #584322;
  border-right: 5px solid #584322;
}  

.inner textarea, .punbb .pun-modal .section textarea {
    border-radius:15px;
  -webkit-border-radius:10px;
  -moz-border-radius:5px;
  -khtml-border-radius:3px;

color: #363030;
text-shadow: 0px 0px 0px #000c;
  border-width:1px;
  border-color:#403014;
  border-radius: 15px;
   border-left: 5px solid #584322;
  border-right: 5px solid #584322;
    }

.punbb .post-content .blockcode div {
    margin: 2px 5px;
    line-height: 120%;
    font-size: 1.2em;
  }

#pun-report .bg, #pun-reputation .bg, #pun-admin-award-form .bg {
    background: #0d0d0d !important;
    }



/* Поля ввода и кнопки
--------------------------------- */
.punbb textarea {
    border: none;
    padding: 10px;
    background-image: url(http://funkyimg.com/i/28aif.png);
  }

 .punbb input.button {
    border: none;
    padding: 5px 10px 10px 10px;
    color: #000;
    background: #dad2d2;
    border-style: solid;
    border-width: 1px;
    background-image: url(http://funkyimg.com/i/28aif.png); !important;
    letter-spacing: 0.5px;
    transition-duration: 0.3s;
    font-size: 0.9em!important;
  }

 .punbb input:hover, .punbb button:hover, .punbb input:focus, .punbb button:focus {
    cursor: pointer;
    }

body #post .fs-box.hashelp .container, #post-sig .container {
    padding-top: 10px;
    background-image: url(http://funkyimg.com/i/28aif.png);
    border: 1px  solid #490810 !important;
    padding: 10px;
    padding-left: 10px!important;
  }

#keyboard-span input {
    font-size: 1.1em;
    color: #000;
    background-image: url(http://funkyimg.com/i/28aif.png);
    border: 1px  solid #490810 !important;
    filter: brightness(105%);
    border-radius: 5px;
    cursor: pointer;
    min-width: 20px;
}

.punbb select, .punbb input { 
    background-image: url(http://funkyimg.com/i/28aif.png);
    border: 1px  solid #490810 !important;
    padding: 5px;
    font-size: 1em!important;
    letter-spacing: 0.5px;
margin-bottom: 5px;
  }

#font-area, #size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area {
    position: absolute;
    right: 60px;
    top: 43px;
}

#form-buttons table, .punbb .formal textarea {
    width: 99%!important;
}




/* Цвета ссылок и всё что с ними связанно
-------------------------------------------------------------*/

.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 {
    border-bottom: none;
    color: #84504c;
    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 {
    border-bottom: none;
    color: #000;
    font-weight: bold;
    text-decoration: none;
  }


/* Навлинки
--------------------------------- */
#pun-navlinks {
    margin: 330px 0 29px 0px;
  }

#pun-navlinks a {
    padding: 0 10px;
    color: #363030;
    transition-duration: 0.3s;
    -webkit-text-size-adjust: 100%; /* приоритет стиля на iOS */
  }

#pun-navlinks a:hover, #pun-navlinks a:active {
    color: #363030;
  }


/* Юзерлинки
--------------------------------- */
#pun-ulinks .container {
    width: 980px;
    margin-left: -20px;
    margin-top: 60px;
    
  }


#pun-ulinks a {
    padding: 0 7px;
    color: #84504c !important;
    -webkit-text-size-adjust: 100%; /* приоритет стиля на iOS */
  }

#pun-ulinks a:hover, #pun-ulinks a:active {
    color: #000 !important;
  }


/* Красим основную текстовую часть
-------------------------------------------------------------*/
.punbb .container, .punbb .post-body, #pun-title, .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post, #pun-debug h2, .punbb-admin #pun-admain h2, .punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body, .post-links ul, .post-links, .usertable table, .punbb th, .punbb .quote-box, .punbb .code-box, #pun-ulinks li, li#onlinelist, #pun-help .formal .info-box h3.legend span, #pun-ulinks li a, li#onlinelist div, #pun-help .formal .info-box h3.legend, .punbb .divider, .punbb .formal fieldset .post-box, .punbb .info-box {
  border: none;
  color: #231921;
  }


/* Граница подписи
--------------------------------- */

.punbb .post-sig dt {
border-top-color: transparent !important;}

#profile-signature ul {
   border-top: 1px solid #dad2d2 !important;
  }






/* Остальные коды для оформления форума
 -------------------------------------------------------------*/

/* Скрытие отдельных элементов
--------------------------------------------- */
#pun-announcement h2, p.lastedit, .topic a.sharelink, .category .container thead, .intd .tclcon .modlist {
    display: none!important;
}


/*  Сглаживание шрифтов
--------------------------------- */
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}


/*  Сдвиг рекламы
--------------------------------- */
#banner_top {
  margin: -2000px -2000px 2000px -2000px!important;
  position: absolute;
}


/* Убираем свечение в Chrome
--------------------------------- */
input, textarea {
    outline: none;
  }  
input:active, textarea:active {
    outline: none;
  } 
:focus {
    outline: none;
  }



/* Выравнивание кнопки загрузки изображений
 -------------------------------------------------------------*/
#imageupload-left input[type=button] {
    width: auto!important;
  }


/* Выделение
--------------------------------- */
::selection {
    color: #fff  !important;
    background: #84504c;
}




/* Подчёркнутый текст
--------------------------------- */
.bbuline {
    background: transparent;
    text-decoration: #000 underline!important;
    transition: 0.3s linear;
}
.bbuline:hover {
    background: transparent;
    text-decoration: none!important;
}


/* Ссылки в постах
--------------------------------- */
#main-reply a:link, .punbb .post-content a:link {
    color: #000;
    font-weight: bold;
    }


/* Ссылка на автора цитаты
-------------------------------------- */
.qc-post-link a {
      border: none!important;
      filter: hue-rotate(190deg);
    }


/* Скролл
--------------------------------- */
::-webkit-scrollbar {
width: 8px;
height: 10px;
}

::-webkit-scrollbar-track { 
background: #0f2313 !important; 
box-shadow: inset 0px 0px 3px 1px #4e3611; 
} 

::-webkit-scrollbar-thumb { 
background: #2f471e !important; 
border-radius: 3px; 
box-shadow: inset 0px 0px 1px 1px #755f3d; 
} 

/* Иконки авторов тем на главной
------------------------------------------- */
.punbb .user-avatar img.on_ {
    background: #796228!important;
}


/* Значок новых ЛС
--------------------------------- */
span.num_msg {
    margin-top: -6px!important;
    margin-left: -8px!important;
    background: #0f2313 !important;
    border-radius: 2px !important;
    color: #eee !important;
    height: 10px !important;
    line-height: 110%;
    font-size: 9px !important;
    -webkit-animation: blinkColor .7s ease infinite;
    padding: 1px 4px!important;
}
span.num_msg:before {
    display: none!important;
}


/* Значок новых сообщений в разделе
------------------------------------------------ */
.icon[data-new-topics]:before, .subforums span[data-new-topics]:before {
    background: #490810 url(https://i.imgur.com/bWhEpgq.png) top center repeat-y !important;
    color: #eee !important;
    margin: 64px 0 0 0px!important;
    width: 60px!important;
    padding: 2px 0!important;
    border-radius: 0!important;
}


/* Заголовки в админке
--------------------------------- */
#pun-admain h2, #pun-admain legend span {
    background-color: #eee !important;
    color: #490810;
    text-align: center;
  }


/* Запятая после ников просматривающих тему
------------------------------------------------------------ */
.modmenu a:after {
    content: ",";
}
.modmenu a:last-child:after {
    content: "";
}


/* Правка результатов опроса
---------------------------------------------------------------------------------------- */
#poll-special .poll2 td h1 {
    background: currentColor;
    padding: 1px;
  }


#pun-main h2  {
font-size: 0px !important;
text-align: center;
}


#pun-main h1 {
    margin: auto;
    font-size: 15pt;
    background-position: center;
    color: #490810 !important;
    width: 100%;
    height: 40px;
    padding-top: 1em;
    padding-bottom: 1em;
    font-family: Scriptorama;
    text-transform: none;
}


.post-content td {
border:none transparent !important;
}



/* CS5 Категории форума
-------------------------------------------------------------*/

#pun-stats h2 {
   background-image : url(http://forumstatic.ru/files/001a/f4/51/23206.png);
height: 59px;
width: 940px;
font-size:0 !important;
margin-left: 30px;}
#pun  .section {border-style: none; }
#pun  .tc2, #pun-main .post-author ul  {text-align: center;}
#pun-messages .post-box {
width: 360px;
}

#pun-category1.category h2 {
background: url(http://forumstatic.ru/files/001a/f4/51/20306.png);
height: 59px;
width: 940px;
font-size:0 !important;
margin-left: 0px;}
#pun  .section {border-style: none; }
#pun  .tc2, #pun-main .post-author ul  {text-align: center;}
#pun-messages .post-box {
width: 360px;
}

#pun-category2.category h2 {
background: url(http://forumstatic.ru/files/001a/f4/51/12783.png);
height: 59px;
width: 940px;
font-size:0 !important;
margin-left: 0px;}
#pun  .section {border-style: none; }
#pun  .tc2, #pun-main .post-author ul  {text-align: center;}
#pun-messages .post-box {
width: 360px;
}


#pun-category3.category h2 {
background: url(http://forumstatic.ru/files/001a/f4/51/69802.png);
height: 59px;
width: 940px;
font-size:0 !important;
margin-left: 0px;}
#pun  .section {border-style: none; }
#pun  .tc2, #pun-main .post-author ul  {text-align: center;}
#pun-messages .post-box {
width: 360px;
}

#pun-category4.category h2 {
background: url(http://forumstatic.ru/files/001a/f4/51/92047.png);
height: 59px;
width: 940px;
font-size:0 !important;
margin-left: 0px;}
#pun  .section {border-style: none; }
#pun  .tc2, #pun-main .post-author ul  {text-align: center;}
#pun-messages .post-box {
width: 360px;
}

#pun-category5.category h2 {
background: url(http://forumstatic.ru/files/001a/f4/51/90000.png);
height: 59px;
width: 940px;
font-size:0 !important;
margin-left: 0px;}
#pun  .section {border-style: none; }
#pun  .tc2, #pun-main .post-author ul  {text-align: center;}
#pun-messages .post-box {
width: 360px;
}

#pun-category6.category h2 {
background: url(http://forumstatic.ru/files/001a/f4/51/58205.png);
height: 59px;
width: 940px;
font-size:0 !important;
margin-left: 0px;}
#pun  .section {border-style: none; }
#pun  .tc2, #pun-main .post-author ul  {text-align: center;}
#pun-messages .post-box {
width: 360px;
}

#pun-category7.category h2 {
background: url(http://forumstatic.ru/files/001a/f4/51/38139.png);
height: 59px;
width: 940px;
font-size:0 !important;
margin-left: 0px;}
#pun  .section {border-style: none; }
#pun  .tc2, #pun-main .post-author ul  {text-align: center;}
#pun-messages .post-box {
width: 360px;
}