/* фон
-------------------------------------------------------------*/

body {
background: url() repeat-x top center, url(http://forumfiles.ru/files/0012/71/b4/58184.png) 40% 0%; 
background-color: #d8d8d8;
overflow-x: hidden}



body {overflow-x: hidden}

/* пан
-------------------------------------------------------------*/
#pun {
  margin: -20px auto -10px auto;
  padding: 0px auto -10px auto;
  position: relative;
  width: 972px;
  background: repeat transparent url(http://forumfiles.ru/files/0012/71/b4/72304.png);
  background-position: center;
  }

/* шапка
-------------------------------------------------------------*/
#pun-title table {
    border: none;
    height: 565px;
    width: 1235px;
    margin-left: -177px;
    background: url(http://forumfiles.ru/files/0012/71/b4/53294.png) top center no-repeat;
    margin-top: 20px;
}

/* футер
-------------------------------------------------------------*/
#pun-about p.container {
    background: transparent url(http://forumfiles.ru/files/0012/71/b4/28883.png) bottom center no-repeat;
    width: 1035px;
    margin-bottom: -85px;
    margin-left: -97px;
    height: 169px;
    background-position: 0 50%;
}

/* цвет текста на форуме
-------------------------------------------------------------*/
.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: #464646;
    font-weight: normal;
}

/* ПРОФИЛЬ
-------------------------------------------------------------*/

/* отступ ника от верха профиля
-------------------------------------------------------------*/
.punbb .post .post-author {
  padding-top: 15px;
  font-family: arial;
  font-size: 10px;
  overflow-x: hidden;
  }
#profile-left {
  height: 400px;
 
  left: -50px!important;
  }
#profile-name strong {
  margin-top: 0px;
  height: 150%;
  }
.punbb .post .post-author ul, .punbb .post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
  }
/* последний визит
-------------------------------------------------------------*/
.pa-last-visit, li.pa-online {
  padding-bottom: 0px!important;
  }


/* ПОЛЯ ПРОФИЛЯ
-------------------------------------------------------------*/
/* соо
-------------------------------------------------------------*/
.pa-posts {
    display: inline-block;
    margin-left: 1px !important;
    text-align: center;
    max-width: 63px;
    line-height: 13px;
    padding: 1px 3px! important;
    color: #575671;
    background: linear-gradient(#e8e8e8, #d2d2d2);
    border-radius: 20px;
    box-shadow: inset 0 0 13px #0000003b;
    border: 1px solid #ffffff61;
    text-shadow: 1px 0 #ffffff4a;
    margin-top: 5px!important;
}
/* репа
-------------------------------------------------------------*/
.pa-respect {
    display: inline-block;
    margin-left: 1px !important;
    text-align: center;
    max-width: 63px;
    line-height: 13px;
    padding: 1px 3px! important;
    color: #575671;
    background: linear-gradient(#e8e8e8, #d2d2d2);
    border-radius: 20px;
    box-shadow: inset 0 0 13px #0000003b;
    border: 1px solid #ffffff61;
    text-shadow: 1px 0 #ffffff4a;
    margin-bottom: 25px!important;
}
.pa-respect a{
    color: #575671!important;
    text-shadow: 1px 0 #ffffff4a;!important;}

/* поля
-------------------------------------------------------------*/
#prof_sticker {    position: absolute;}
#prof_sticker img {
    width: 50px;
    margin-left: -24px;
    margin-top: -39px;
}
.pa-fld1 {
    display: inline-block;
    text-align: justify;
    width: 195px;
    margin-left: 1px!important;
    margin-top: -1px!important;
    margin-bottom: 4px!important;
    color: #5a5a5a;
    line-height: 130%;
    position: absolute;
}
.pa-fld2 {
    display: inline-block;
    margin-left: 1px !important;
    text-align: center;
    max-width: 63px;
    line-height: 13px;
    padding: 1px 6px 1px 7px! important;
    color: #575671;
    background: linear-gradient(#e8e8e8, #d2d2d2);
    border-radius: 20px;
    box-shadow: inset 0 0 13px #0000003b;
    border: 1px solid #ffffff61;
    text-shadow: 1px 0 #ffffff4a;
}
.pa-fld1 b {    color: #947355!important;
    font-weight: normal!important;
}
.pa-fld1 a {    color: #947355!important;
    font-weight: normal!important;
}



/* авик
-------------------------------------------------------------*/
.punbb .pa-avatar img{
    margin-top: 4px;
    margin-left: 0px;
    margin-bottom: 0px;
}

.pa-avatar img {
    margin-top: 20px;
}

.punbb .pa-avatar img{
    border: 1px solid #ffffff96;
    box-shadow: 0 0 3px #00000069;
}

/* регистрация, айпи и визит
-------------------------------------------------------------*/
.pa-reg, .pa-ip, li.pa-online, .pa-last-visit {
    font-family: arial;
    letter-spacing: 1px;
    font-size: 8px;
    text-shadow: none!important;
}

.pa-ip {
    margin-bottom: 6px!important;
    text-align: center;
    margin-top: 3px!important;
}

/* категории
-------------------------------------------------------------*/
#pun-stats.section h2 {
    background: url(http://forumfiles.ru/files/0012/71/b4/80308.png) no-repeat top center;
    height: 71px;
    margin-left: -70px;
    margin-top: 15px;
    width: 980px;
}
#post-form h2 {
    background: url(http://forumfiles.ru/files/0012/71/b4/76889.png) no-repeat top center;
    height: 71px;
    margin-left: -70px;
    margin-top: 15px;
    width: 980px;
}
#pun-category1.category h2 {
    background: url(http://forumfiles.ru/files/0012/71/b4/94119.png) no-repeat top center;
    height: 71px;
    margin-left: -70px;
    margin-top: 15px;
    width: 980px;
}
#pun-category2.category h2 {
    background: url(http://forumfiles.ru/files/0012/71/b4/74719.png) no-repeat top center;
    height: 71px;
    margin-left: -70px;
    margin-top: 15px;
    width: 980px;
}

#pun-category3.category h2 {
    background: url(http://forumfiles.ru/files/0012/71/b4/65264.png) no-repeat top center;
    height: 71px;
    margin-left: -70px;
    margin-top: 15px;
    width: 980px;
}


#pun-stats.section h2 span, #pun-main .category h2 span, #post-form h2 span {display: none;}

/* иконки
-------------------------------------------------------------*/
.punbb table Div.icon {
    background-image: url(http://forumfiles.ru/files/0012/71/b4/16128.png);
    width: 57px;
    height: 57px;
    float: right;
    margin-top: 38px;
    margin-left: 7px;
    border-style: none;
    display: inline-block;
    background-repeat: no-repeat;
}

TR.inew Div.icon {
    background-image: url(http://forumfiles.ru/files/0012/71/b4/92589.png);
  background-repeat: no-repeat;
    width: 57px;
    height: 57px;
  opacity: 1.0;
  }


TR.iclosed Div.icon {
  background-image : url(http://forumfiles.ru/files/0019/80/04/91613.png);
  background-repeat: no-repeat;
    width: 57px;
    height: 57px;
  opacity: 1.0;
  }

TR.isticky Div.icon {
  background-image : url(http://forumfiles.ru/files/0012/71/b4/58850.png);
  background-repeat: no-repeat;
    width: 57px;
    height: 57px;
  opacity: 1.0;
  }

/* статистика
-------------------------------------------------------------*/
#pun-stats ul.container {
    background-image: url(http://forumfiles.ru/files/0012/71/b4/85678.png);
    padding-left: 104px;
    margin-left: -28px;
    padding-right: 21px;
    margin-top: 5px;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-origin: padding-box;
    background-position: 36px 3px;
    background-repeat: no-repeat;
    background-size: auto;
    text-align: justify;
}


/* цитата, код и спойлер
-------------------------------------------------------------*/
#pun-main .quote-box, #pun-main .code-box, .post-content .spoiler-box{
    padding: 11px;
    font-size: 11px;
    text-shadow: 0 0 2px #ffffff6b;
    color: #565656;
    border: 1px solid white;
    box-shadow: 0 0 2px #00000024;
    border-radius: 30px;
    background-color: whitesmoke;
}
.post-content .spoiler-box > div {
    text-align: left;
    display: block;
    text-transform: lowercase;
    letter-spacing: 1px;
    color: #585858!important;
    margin-left: -2px;
    margin-top: -3px;
    margin-bottom: -5px;
    font-family: bebasneueregular;
    font-weight: normal;
    font-size: 14px;
}
/* текстэрия
-------------------------------------------------------------*/
.punbb textarea {
    padding: 13px;
    color: #565656;
    background-color: #f3f3f3;
    border: 1px solid white;
    box-shadow: 0 0 2px #00000024;
}

/* поле для ввода
-------------------------------------------------------------*/
.punbb input {
    vertical-align: middle;
    padding: 6px 13px 6px 14px!important;
    color: #565656;
    background-color: #f3f3f3;
    border: 1px solid white;
    box-shadow: 0 0 2px #00000024;
    margin-top: 9px;
}


/* подложки
-------------------------------------------------------------*/
#size-area, #color-area, #table-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #addition-area, #pun-reputation div, #pun-popup_awards div  {
    padding: 10px;
    background: #f4f5f9;
    border: 2px solid #e4e4e4;

}
#font-area  {
    padding: 10px;
    background: #f4f5f9;
    border: 2px solid #d6d6d6;
    border-radius: 14px;
    overflow-y: auto;
    height: 207px;
}

/* прокрутка
-------------------------------------------------------------*/
::-webkit-scrollbar {
    width: 6px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background-color: #b5b5b5;
    border: 1px solid #d8d8d8;
    box-shadow: inset 0 0 2px #e8e8e8;
}
::-webkit-scrollbar-thumb {
    background-color: #9d3f49;
    border: 1px solid #da8289;
    box-shadow: inset 0 0 2px #fb9ca6;
}

/* кнопки
-------------------------------------------------------------*/
input.button, #post fieldset .hashelp div input, .button, #pun-admain input {
    font-weight: bold!important;
    font-size: 10px!important;
    cursor: pointer!important;
    color: #6d6d6d;
    border: 1px solid #ffffff;
    background-color: #f3f3f3;
    border-radius: 20px;
    box-shadow: 0 0 2px #0000002b;
}
input.button:hover, #post fieldset .hashelp div input:hover, .button:hover {
    color: #f3f3f3;
    border: 1px solid #e0cac6;
    background-color: #a0454c;
    border-radius: 20px;
    box-shadow: inset 0 0 18px #00000045;
    text-shadow: 1px 0 #00000052;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;}


/* админы в табле
-------------------------------------------------------------*/
.ams { 
position: relative; 
display: inline-block
} 
.ams span { 
display: none; 
} 
.ams a { 
    color: #c0bfbe!important;
}
.ams a:hover {    color: #828282!important;
}
.ams:hover span{ 
position:absolute; 
text-align:center; 
display:inline-block; 
margin-top: 32px; 
left:-80px; 
height: 122px!important;
z-index:100000;

}


/* текст и ссылки в таблице
-------------------------------------------------------------*/
#tab_inf {
    position: absolute;
    width: 172px;
    top: 64px;
    margin-left: 109px;
    line-height: 100%;
    font-family: Arial;
    color: #a8a5a1;
    text-shadow: 1px 1px #404040bd;
    text-align: justify;
    font-size: 9px;
    padding-right: 5px;
}
#tab_inf2 {
    position: absolute;
    width: 189px;
    line-height: 100%;
    font-family: Arial;
    color: #a8a5a1;
    text-shadow: 1px 1px #404040bd;
    text-align: justify;
    font-size: 8px;
    overflow: auto;
    height: 24px;
    padding-right: 5px;
    margin-left: 439px;
    margin-top: 87px;
}

#tab_inf2::-webkit-scrollbar-thumb {background: #c5c5c5;}
#tab_inf2::-webkit-scrollbar {width: 2px; background: #808080;     border: none!important}
#tab_inf2::-webkit-scrollbar-track {    background-color: #2d2d2d; border: none!important}

#tab_inf::-webkit-scrollbar-thumb {background: #c5c5c5;}
#tab_inf::-webkit-scrollbar {width: 2px; background: #808080; border: none!important}
#tab_inf::-webkit-scrollbar-track {    background-color: #2d2d2d; border: none!important}

/* описание подфорума
-------------------------------------------------------------*/

.discr {
    font-size: 11px;
    font-family: arial;
    width: 305px;
    text-align: justify;
    color: #4a4a4a;
    margin: 1px 53px!important;
    text-transform: lowercase;
    padding-bottom: 38px;
}

/* навигация в подфорумах
-------------------------------------------------------------*/
.link a {
    display: inline-block;
    background: #969696;
    cursor: pointer;
    color: #f3f3f3!important;
    font-family: arial!important;
    font-size: 11px!important;
    padding-left: 8px!important;
    padding-right: 8px!important;
    padding-bottom: 2px;
    padding-top: 1px;
    text-shadow: 1px 0 #5d5d5d!important;
    margin-bottom: 14px;
    border: 2px solid #d6d6d6;
    border-radius: 9px;
    box-shadow: inset 0 0 10px #3107076b;
}
.link a:hover {
    background: #a94955!important;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    -o-transition: .3s all;
    transition: .3s all;
}
.link {    text-align: center;    margin-top: 12px!important;}



/* выделение и скролл
-------------------------------------------------------------*/

::-moz-selection{        background: #70b5b1;
    color: #ffffff;
}
::webkit-selection{        background: #70b5b1;
    color: #ffffff;
} 
::selection{
    background: rgb(189, 107, 111);
    color: #ffffff;
    text-shadow: none!important;
}

.lastedit {
  display:none !important;
  }


/*поле шрифтов*/
#font-area {
height: 150px;
overflow-y: auto;}



/* новостные плашки
-------------------------------------------------------------*/

#nov_plah img {width: 40px;}

#nov_1 {
    margin-left: 17px;
    margin-top: 450px;
    position: absolute;
}

#nov_2 {
    margin-left: 78px;
    margin-top: 450px;
    position: absolute;
}

#nov_3 {
    margin-left: 137px;
    margin-top: 450px;
    position: absolute;
}

#nov_4 {
    margin-left: 682px;
    margin-top: 450px;
    position: absolute;
}

#nov_5 {
    margin-left: 741px;
    margin-top: 450px;
    position: absolute;
}

#nov_6 {
    margin-left: 800px;
    margin-top: 450px;
    position: absolute;
}

/* ТОПИКИ
-------------------------------------------------------------*/
/* оформление обычной темы
-------------------------------------------------------------*/
.u_body {
    position: relative;
    left: 50px;
    top: 63px;
    padding: 5px;
    color: #596767;
    width: 402px;
    text-shadow: 0 0px 2px #ffffff7d;
    text-align: justify;
    font-family: arial;
    line-height: 12px;
    padding-bottom: 110px;
    font-size: 11px;
}
    .u_title {
    text-align: center;
    position: relative;
    width: 500px;
    font-family: bebasneueregular;
    top: 37px;
    color: #717a86;
    text-transform: lowercase;
    font-size: 19px;
    text-shadow: 0 0 5px #f7f7f7;
}

.u_theme {
    width: 506px;
    background: url(http://forumfiles.ru/files/0012/71/b4/97240.png) top no-repeat, url(http://forumfiles.ru/files/0012/71/b4/43843.png) bottom no-repeat, url(http://forumfiles.ru/files/0012/71/b4/67806.png) repeat-y;
    min-height: 180px;
    margin-left: 44px!important;
}

/* гостевая
-------------------------------------------------------------*/
.g_body {
    left: 44px;
    top: 67px;
    padding: 5px;
    padding-bottom: 121px;
    font-size: 11px;
    color: #636363;
    width: 455px;
    text-shadow: 1px 0px 0px #ffffff;
    text-align: justify;
    font-family: arial;
    line-height: 15px;
    text-align-last: center;
    text-transform: lowercase;
}
    .g_title {
    position: absolute;
    width: 229px;
    font-family: roboto;
    text-align: justify;
    font-size: 11px;
    color: #f1f1f1;
    margin-top: 218px!important;
    margin-left: 22px!important;
    height: 75px;
    overflow: auto;
    padding-right: 7px;
    text-shadow: 1px 0 #00000080;
    padding-left: 5px;
    padding-top: 3px;
    padding-bottom: 5px;
    border-radius: 8px;
}

#g_f {
    overflow: auto;
    height: 145px;
    margin-top: 217px!important;
    margin-left: 286px!important;
    position: absolute;
    width: 209px;
    color: #a93142;
    text-shadow: none!important;
    padding-right: 5px;
    text-transform: lowercase;
    font-family: roboto;
}

#g_f a {    text-shadow: none!important;}

#g_f::-webkit-scrollbar {
    width: 3px;
    height: 5px;
}

.g_theme {
    width: 530px;
    height: 407px;
    background: url(http://forumfiles.ru/files/0012/71/b4/64484.png) no-repeat;
    margin-left: 33px!important;
}

/* лотерея
-------------------------------------------------------------*/
.n {
font-family: bebasneueregular;
    font-size: 18px;
    padding-right: 7px;
    text-transform: lowercase;
    margin-top: 24px;
    color: #5b5c80;
    text-shadow: 0 0 3px #ffffff;
    margin-left: 28px;
}

.lt {
    width: 359px;
    height: 400px;
    overflow-y: auto;
    margin-left: 65px!important;
    margin-top: -25px;
    padding-right: 17px;
    text-align-last: justify;
}
.p {
    background-image: url(http://forumfiles.ru/files/0012/71/b4/17975.png);
    width: 70px;
    height: 100px;
    display: inline-block;
    text-align: center;
}

.p0 {
    background-image: url(http://forumfiles.ru/files/0012/71/b4/17975.png);
    width: 70px;
    height: 100px;
    display: inline-block;
    text-align: center;
    filter: grayscale(100%);
    opacity: 0.2;
}