/* ОСНОВНАЯ ГРАФИКА
-------------------------------------------------------------*/

/* Фон форума */
body {background:
url(http://forumstatic.ru/files/001b/67/2c/58943.png) repeat; background-attachment: scroll;
-webkit-text-size-adjust: 100%;}


/* Шапка */
#pun-title table {
background-image : url(http://forumstatic.ru/files/001b/67/2c/66827.png); 
background-repeat : no-repeat;
background-position: top center;
border: none;
width: 1112px;
height: 378px; 
margin-left: -112px;}


/* Тело форума */
#pun {
width: 965px;
margin-left: -0.17em;
background-image: url(http://forumstatic.ru/files/001b/67/2c/11086.png); 
background-attachment: scroll; 
background-repeat: repeat;}

.punbb {
margin: 0px 45px;
width: auto;}


/* Футер */
#pun-about p.container {
background: url(http://forumstatic.ru/files/001b/67/2c/92903.png) transparent no-repeat;
width: 990px;
height: 154px;
margin-left: -60px;
text-align: center;   
background-repeat: no-repeat;}

div#pun-about {margin-bottom: -20px;}


/* Прокрутка */
::-webkit-scrollbar {background: #080401; width: 7px; height: 5px;}
::-webkit-scrollbar-thumb {background: #0d3142; width: 7px; box-shadow: inset 0px 0px 3px #000000; border-radius: 1px;}
::-webkit-scrollbar-corner {background: #0d3142;}

/* в мозиле */
html, body, .code-box .scrollbox, textarea, #font-area, div {
scrollbar-color: #080401 #0d3142;
scrollbar-width: thin;}


/* Плашки */
.plashka {
display: inline-block;
background: #080401;
border: solid 1px #486d79;
box-shadow: 0 0 0 2px #31311d inset;
padding: 7px 8px;
font-family: Playfair Display;
font-weight: 600;
text-transform: uppercase;
font-size: 11px;
text-shadow: 1px 1px 2px rgba(0,0,0,1);}

.plashka a {
color: rgb(128 166 175 / 56%) !important;
background: linear-gradient(rgb(111 200 222) 10%, rgba(0 0 0) 90%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    -o-background-clip: text !important;
text-shadow: 1px 1px 1px  rgba(0,0,0,0.5);}

.plashka a:hover {
color: rgb(111 200 222 / 66%) !important;
background: linear-gradient(rgb(166 232 248) 10%, rgba(0 0 0) 90%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    -o-background-clip: text !important;
text-shadow: 1px 1px 1px  rgba(0,0,0,0.5);}


/* Аватар на главной */

.punbb .user-avatar .avatar-image {
border-radius: 20% !important;
box-shadow: 0 0 0 1px #e4d4bf, 0 0 0 2px #496e81;
margin-top: -4px;}

.punbb .user-avatar .isonline {
top: -5px !important;
background: #0099ff !important}



/* НОВОСТНЫЕ ТАБЛИЦЫ
-------------------------------------------------------------*/

/* Новости */

#news1-genre {
margin-left: -65px;
color: #496e81;
}

#news2-post {
margin-left: 730px;
color: #496e81;
}

#news1-genre, #news2-post {
position: absolute;
z-index: 200;
top: 94px;
width: 218px;
height: 34px;
padding: 2px;
font-family: Playfair Display;
font-size: 11px;
font-weight: normal;
line-height: 12px;}

#news1, #news2 {
position: absolute;
overflow: auto;
z-index: 200;
width: 218px;
text-align: justify;
padding: 2px;
font-family: Playfair Display;
font-size: 11px;
font-weight: normal;
line-height: 12px;}

#news1 {
margin-left: -65px;
color: #496e81;
top: 130px;
height: 85px;}

#news2 {
margin-left: 730px;
color: #496e81;
top: 120px;
height: 95px;}

#news1 a, #news2 a, #news2-post a {
color: #917164 !important}

#news1 a:hover, #news2 a:hover, #news2-post a:hover {
color: #b9734c !important;}

#bestepisod {
position: absolute;
margin-left: 735px;
height: 22px;
z-index: 200;
top: 232px;
width: 215px;
text-align: center;}

/* Нужные */

#needful {
position: absolute;
margin-left: -65px;
top: 55px;
height: 43px;
width: 300px;
transition-duration: 1;
-webkit-transition-duration: 1s;
-o-transition-duration: 1s;
-moz-transition-duration: 1s;
} 

#needful img:hover {
opacity: 0.5;}

/* Активисты */

#activists {
position: absolute;
margin-left: 730px;
top: 55px;
height: 43px;
width: 300px;
transition-duration: 1s;
-webkit-transition-duration: 1s;
-o-transition-duration: 1s;
-moz-transition-duration: 1s;} 

#activists img:hover {
opacity: 0.5;}

#activists:after, #needful:after, #news2-post:after, #news1-genre:after {
content: "";
display: block;
height: 5px;
background-image: url(http://forumstatic.ru/files/001b/67/2c/17026.png);
background-repeat: no-repeat
}

/* Навигация от вещего духа*/

/* настройка кнопки */
.spirit-navigation1 {
background: url(http://forumstatic.ru/files/001b/67/2c/52843.png) no-repeat;
height: 35px;
width: 270px;
top: 12px;
margin-left: -83px !important;
display: inline-block;
cursor: pointer; 
font-size: 0px;
color: transparent;
position: absolute;
transition: all 0.3s ease-in-out 0s;}

/* вид кнопки после клика по ней */
.spirit-navigation1 .spirit-navigation_hover {
background: url(http://forumstatic.ru/files/001b/67/2c/52843.png) no-repeat;}

/* настройка позиции выпадающего по клику окна и его ширина */
#navigblock1 {width: 233px;
margin-left: -70px !important;
position: absolute;
top: 37px;
z-index: 999;}

/* Админы от вещего духа*/

/* настройка кнопки */
.spirit-navigation2 {
background: url(http://forumstatic.ru/files/001b/67/2c/50707.png) no-repeat;
height: 35px;
width: 270px;
top: 12px;
margin-left: 715px !important;
display: inline-block;
cursor: pointer; 
font-size: 0px;
color: transparent;
position: absolute;
transition: all 0.3s ease-in-out 0s;}

/* вид кнопки после клика по ней */
.spirit-navigation2 .spirit-navigation_hover {
background: url(http://forumstatic.ru/files/001b/67/2c/50707.png) no-repeat;}

/* настройка позиции выпадающего по клику окна и его ширина */
#navigblock2 {width: 233px;
margin-left: 725px !important;
position: absolute;
top: 37px;
z-index: 999;
text-align: justify;}

.spirit-navigation2-ams {
font-size: 10px;
font-family: Arial;
color: #496e81 !important;}

/* Квесты от вещего духа*/

/* настройка кнопки */
.spirit-navigation {
background: url(http://forumstatic.ru/files/001b/67/2c/31082.png) no-repeat;
height: 22px;
width: 171px;
top: 232px;
margin-left: -30px !important;
display: inline-block;
cursor: pointer; 
font-size: 0px;
color: transparent;
position: absolute;
transition: all 0.3s ease-in-out 0s;}

/* вид кнопки после клика по ней */
.spirit-navigation.spirit-navigation_hover{
background: url(http://forumstatic.ru/files/001b/67/2c/19215.png) no-repeat;}

/* настройка позиции выпадающего по клику окна и его ширина */
#navigblock {width: 233px;
margin-left: -70px !important;
position: absolute;
top: 242px;
z-index: 999;}

/* настройка блока ссылок, цвет фона, тени, прозрачность, отступы */
.sslka {display: block;
opacity: .98;
padding: 5px;
background: #080e12;
box-shadow: 0 0 0 1px rgb(0 0 0 / 20%) inset, 1px 2px 2px 1px rgb(0 0 0 / 40%);}

/* настройка вида самой ссылки, ширина, цвет, фон, шрифты и так далее */
#pun .sslka a {
background: #2b1b11;
margin: 4px auto;
border: solid 1px #0b3349;
text-align: center;
transition: all 0.3s linear 0s;
display: block;
padding: 3px;
letter-spacing: 0.5px;
text-transform: uppercase;
width: 200px;
font-family: Playfair Display;
font-size: 11px;
font-weight: 500;
color: rgb(175 138 122 / 26%) !important;
background: linear-gradient(rgb(162 128 107) 10%, rgba(0 0 0) 90%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    -o-background-clip: text !important;
text-shadow: 1px 1px 1px  rgb(0 0 0 / 64%);
box-shadow: 0px 0 5px 1px #31311d inset;}

/* ссылка при наведении */
#pun .sslka a:hover {
background-color:#2b1b11;
opacity: .9;
transform: scale(1.03);
color: rgb(255 224 179 / 38%) !important;
background: linear-gradient(rgb(247 197 125) 10%, rgba(0 0 0) 90%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    -o-background-clip: text !important;
text-shadow: 1px 1px 1px  rgba(0,0,0,0.5);}


/* ФОРУМЫ
-------------------------------------------------------------*/

#pun-index td div.tclcon  {
margin-left: 30px;
margin-top: -15px;
width: 591px;
background: url(http://forumstatic.ru/files/001b/67/2c/38062.png) 0 top no-repeat, 
url(http://forumstatic.ru/files/001b/67/2c/50203.png) 0 bottom no-repeat, 
url(http://forumstatic.ru/files/001b/67/2c/25355.png) 0 top repeat-y;
min-height: 150px;}


/* Заголовок */
#pun-index .tcl h3 {
width: 500px;
padding-top: 15px;
margin-bottom: 15px;
font-size: 15px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
font-family: Playfair Display;
text-align: center;
position:absolute;
z-index:900;}

#pun-index .tcl h3 a {
color: rgba(73 110 129 / 47%) !important;
background: linear-gradient(rgb(48 125 184) 10%, rgba(0 0 0) 90%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    -o-background-clip: text !important;
text-shadow: 1px 1px 1px  rgba(0,0,0,0.2);}

#pun-index .tcl h3 a:hover  {
color: #112630 !important; 
background: linear-gradient(rgb(192 223 235) 10%, rgba(0 0 0) 90%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    -o-background-clip: text !important;
text-shadow: 1px 1px 1px  rgba(0,0,0,0.2);}


/* Расшифровка */
#pun-index .forumcom {
width: 475px;
height: 13px;
padding-left: 10px !important;
padding-top: 40px !important;
background-color: #0f1921;
background-clip: content-box;
color: #c7bcb0;
font-family: Bona Nova;
font-weight: 600;
text-align: center;
font-size: 10px;
text-transform: lowercase !important;
letter-spacing: 0.2em;
}


/* Описание */
#pun-index .forumop {
padding: 10px 0px 5px 20px;
font-family: Playfair Display;
text-align: justify;
font-weight: 500;
letter-spacing: 1px;
line-height: 13px;
font-size: 10px;
color: #39291c;
width: 450px;}

#pun-index .forumlinks {
width: 450px;
padding: 8px 0px 5px 30px;
font-family: Bona Nova;
text-align: center;
font-weight: 600;
text-transform: uppercase;
word-spacing: 1px;
letter-spacing: 1px;
line-height: 14px;
font-size: 10px;}

#pun-index .forumlinks a {
color: #0b3349 !important;}

#pun-index .forumop a:hover {
color: #2b5268 !important;}


/* Перенос тем и сообщений под форум */
.category .container thead {display: none;}
#pun-index .main .tc2, #pun-index .main .tc3 {display: none;}

.Add {
width: 500px;
height: 35px;
}

.Tems_And_messages {
float: left;
padding-top: 5px;
width: 50%;
background-color: transparent;
color: #251a13;
text-align: center;
font-family: Playfair Display;
font-size: 9px;
font-weight: 700;
text-transform: lowercase;
letter-spacing: 1px;}



/* КАТЕГОРИИ
-------------------------------------------------------------*/
#pun-index .category h2, #pun-index .section h2 {
background: url(http://forumstatic.ru/files/001b/67/2c/42521.png);
width: 958px;
height: 120px;
margin-top: -20px;
margin-left: -40px;
padding: 0;
text-align: center;
line-height: 89px;
font-family: Playfair Display;
font-weight: 600;
color: #565c28;
font-size: 11px;
letter-spacing: 0px;
text-transform: uppercase;
text-shadow: 0px 0px 1px #000;}



/* ИКОНКИ
-------------------------------------------------------------*/

/* Иконки на главной */
#pun-index table Div.icon {
display: block;
position: absolute;
background-repeat: no-repeat;
margin-left: 458px;
margin-top: 8px !important;
z-index: 100;}


#pun-index table tr.inew Div.icon {
background-image : url(http://forumstatic.ru/files/001b/67/2c/37141.png);
width: 591px;
height: 72px;}


/* В разделе */
#pun-viewforum table Div.icon, #pun-searchtopics table Div.icon, #pun-messages table Div.icon {
float: left;
width: 30px;
height: 30px;    
margin-right: 8px;
margin-top: -7px;
background-image: url(http://forumstatic.ru/files/001b/67/2c/57256.png);}

#pun-viewforum TR.inew Div.icon, #pun-searchtopics TR.inew Div.icon, #pun-messages TR.inew Div.icon {
background-image: url(http://forumstatic.ru/files/001b/67/2c/49926.png);}
#pun-viewforum TR.iclosed Div.icon, #pun-searchtopics TR.iclosed Div.icon, #pun-messages TR.iclosed Div.icon {
background-image: url(http://forumstatic.ru/files/001b/67/2c/98261.png);}
#pun-viewforum TR.isticky Div.icon, #pun-searchtopics TR.isticky Div.icon, #pun-messages TR.isticky Div.icon {
background-image: url(http://forumstatic.ru/files/001b/67/2c/83298.png);}



/* ПРОФИЛЬ
-------------------------------------------------------------*/

/* Профиль */
.punbb .post .post-author {
float: left;
width: 271px;
margin-left: -40px;
margin-top: -81px;
min-height: 107px;
font-family: Playfair Display;
color: #574937;
text-align: center;
padding: 33px 0px 22px 0px;
/*background: url(http://forumstatic.ru/files/001b/67/2c/37896.png) top left 0.01em  no-repeat,*/ 
background: url(https://i.imgur.com/mgujAgH.png) top left no-repeat, 
url(http://forumstatic.ru/files/001b/67/2c/20977.png) bottom no-repeat,
url(http://forumstatic.ru/files/001b/67/2c/33891.png) repeat-y;}

/* Ссылки в профиле */
.post-author ul li a {
color: #9c5333;}
.post-author ul li a:hover  {
color: #cb6c42;}


/* Ник */
.pa-author {
font-size: 20px!important; 
font-style: normal; 
text-transform: lowercase;
font-family: LombardinaTwo!important;
padding-left: 17px;
padding-top: 17px;}

.punbb .pa-author a {
color: rgb(160 115 95 / 58%) !important;
background: linear-gradient(rgb(95 101 41) 10%, rgba(0 0 0) 90%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    -o-background-clip: text !important;
text-shadow: 1px 1px 1px  rgba(0,0,0,0.5);}

.punbb .pa-author a:hover  {
color: rgb(153 106 63 / 58%) !important;
background: linear-gradient(rgb(146 155 60) 10%, rgba(0 0 0) 90%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -moz-background-clip: text !important;
    -o-background-clip: text !important;
text-shadow: 1px 1px 1px  rgba(0,0,0,0.5);}


/* Статус */
li.pa-title {
font-family: Playfair Display;
font-size: 9px;
font-weight: 400;
text-transform: lowercase;
text-align: center;
letter-spacing: 1px;
padding-top: 0px;
max-width: 180px;
padding-left: 38px;
padding-top: 12px;
color: #7f5d4e;}


/* Аватар */
.pa-avatar {
padding-left: 8px;
padding-top: 8px;
margin-left: -10px;}

.pa-avatar.item2 > img {
border-color: rgba(56, 37, 26, 0.7);
border-style: solid;
border-width: 3px;
border-radius: 5px;
max-width: 180px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);} 


/* Плашка */
li.pa-fld3 {
margin-top: -2px;
margin-left: 17.5px;}

.plashkalz {
width: 218px;
height: 40px;
background-image: url(http://forumstatic.ru/files/001b/67/2c/65444.png);
z-index: 200;
padding-top: 5px;}

.plashkalz img {
float: left;
width: 45px;
margin-left: 10px;
margin-top: -5px;}

.plashkalz max {
display: block;
padding-right: 15px;
margin-top: 3px;
color: #864f31;
font-family: Playfair Display;
font-size: 9px;
font-weight: 600;
letter-spacing: 1px;
text-align: center;
text-transform: uppercase;}

.plashkalz min {
display: block;
padding-right: 15px;
margin-top: -4px;
color: #c28a61;
font-family: Playfair Display;
font-size: 9px;
font-weight: 500;
letter-spacing: 1px;
text-align: center;
text-transform: lowercase;}

/* Личное звание */
.lzfon  {
width: 218px;
margin-left: 17.5px!important;
margin-top: -3px!important;
background: url(http://forumstatic.ru/files/001b/67/2c/20571.png) top right -1px no-repeat, 
url(http://forumstatic.ru/files/001b/67/2c/66495.png) bottom right -1px no-repeat,
url(http://forumstatic.ru/files/001b/67/2c/98311.png) left 1px repeat-y;
min-height: 30px;}

#viewprofile .lzfon {
background: none;
box-shadow: none;
border: none;}

.niklz {
padding: 9px 10px 2px 14px;
font-size: 10px;
font-weight: 700;
letter-spacing: 1px;
font-family: Playfair Display;
text-transform: uppercase;}

.niklz a {
color: #486d79 !important;}

.niklz a:hover {
color: #6897a6 !important;}

.twinlz {
padding: 1px 10px 20px 20px;
font-size: 8px;
font-weight: 600;
letter-spacing: 1px;
font-family: Playfair Display;
text-transform: uppercase;}

.twinlz a {
color: #a2806b !important;}
.twinlz a:hover {
color: #e0834b !important;}

.lz {
padding: 13px 13px 13px 13px;
font-family: Playfair Display;
font-size: 10px;
line-height: 13px;
text-align: justify;
letter-spacing: 0.5px;
color: #a2806b;}

.lz a {
color: #cb7039 !important;}
.lz a:hover {
color: #e0834b !important;}


/* Уважение и сообщения; банк и посты */
li.pa-respect, li.pa-posts {
display: inline-block;
text-align: center;
width: 75px;
height: auto;
line-height: 10px;
padding-left: 10px;
margin: 4px -5px 27px -2px;
position: relative;
z-index: 55;
font-size: 11px;
font-weight: 500;
font-family: Playfair Display;
text-transform: lowercase;
color: #a2806b;}

.pa-respect a {
color: #486d79 !important;}
}

.pa-respect a:hover {
color: #486d79 !important;}

li.pa-fld4, li.pa-fld5 {
display: inline-block;
text-align: center;
width: 75px;
height: auto;
line-height: 10px;
padding-left: 15px;
margin: 8px -5px 3px -2px;
position: relative;
z-index: 55;
font-size: 11px;
font-weight: 500;
font-family: Playfair Display;
text-transform: lowercase;
color: #a2806b;}

/* Айпи */
li.pa-ip {
margin-top: -16px;
margin-bottom: 20px;
}

/* Онлайн */
li.pa-online {
color: #486d79;
font-size: 10px;
margin-top: -10px;
margin-left: 5px;
margin-bottom: 25px;
}

/* Раса */
li.pa-fld2 {
position: absolute;
margin-top: -20px;
margin-left: 13px;
margin-bottom: 20px; }


/* ЦВЕТА ТЕКСТА
-------------------------------------------------------------*/

/* Основные */
.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, #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 {
background-color: transpanent;
color: #100a06;
font-weight: normal;
font-style: normal;}

#pun-admain .adformal, #pun-admain .adcontainer
{border: none;
border-color:  transparent;}

#pun-main h1 span {
color: #39291c;}

.permalink {
color: #996a3f !important;}


/* Название темы */
.punbb .main h1, #pun-debug h2, .punbb-admin #pun-admain h2 {
background-color: transparent;
color: #496e81 !important;
text-shadow: 0px 0px 1px  rgb(0 0 0 / 54%);
text-align:center; 
font-size: 11px;
font-style: normal; 
font-weight: normal; 
text-transform: uppercase;
font-family: Playfair Display;} 

/* Название форума */
#pun-crumbs1 .container, #pun-crumbs2 p.container {
font-size: 12px;
font-weight: bold; 
font-family: Playfair Display;} 

/* Статистика */
#pun-stats .container, li#onlinelist, li#onlinelist div {
font-size: 12px;
font-family: Arial;
color: #1b0d01;} 

#pun-stats h2 span {
visibility: hidden;}

#pun-stats a {
color: #0b3349;
font-weight: 600;}



/* НАВИГАЦИЯ
-------------------------------------------------------------*/

/* Основная навигация */
#pun-navlinks a, #pun-navlinks a:focus, #pun-navlinks a:active {
font-family: LombardinaTwo;
font-size: 20px; 
font-weight: 500;
letter-spacing: 1px;
text-transform: lowercase;
text-shadow: 1px 1px 1px  rgba(0, 0, 0, 0.2);
color: #49372d;
}

#pun-navlinks a:hover {
font-family: LombardinaTwo;
font-size: 20px;
font-weight: 500;
letter-spacing: 1px;
color: #9c5600 !important; 
text-transform: lowercase;
text-shadow: 1px 1px 1px  rgba(0, 0, 0, 0.1);}


/* Пользовательская навигация */
#pun-ulinks a, #pun-ulinks a:focus, #pun-ulinks a:active {
color: #49372d; 
font-family: Bona Nova;
font-size: 11px;
font-weight: 600;
letter-spacing: 1px;
text-transform: lowercase !important;
transition-duration: 0.7s;
-webkit-transition-duration: 0.7s;
-moz-transition-duration: 0.7s;
-o-transition-duration: 0.7s;
-ms-transition-duration: 0.7s;}

#pun-ulinks a:hover {
color: #9c5600; 
font-family: Bona Nova;
font-size: 11px;
font-weight: 600;
letter-spacing: 1px;
text-transform: lowercase !important;
transition-duration: 1s;
-webkit-transition-duration: 1s;
-moz-transition-duration: 1s;
-o-transition-duration: 1s;
-ms-transition-duration: 1s;}

#pun-status .container {
font-family: Bona Nova;
font-weight: 600;
font-size: 11px;
letter-spacing: 1px;
text-align: center;
color: #80a6af; 
text-shadow: 0px 0px 3px #7669606e;
text-transform: lowercase !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, .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
color: #0b3349;
text-decoration: none;
transition-duration: 0.5s;
-webkit-transition-duration: 0.5s;
-moz-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
-ms-transition-duration: 0.5s;}


.punbb a:focus, .punbb a:active, .punbb a:hover, .punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active {
color: #496e81;
text-decoration: none;
transition-duration: 0.7s;
-webkit-transition-duration: 0.7s;
-moz-transition-duration: 0.7s;
-o-transition-duration: 0.7s;
-ms-transition-duration: 0.7s;}



/* ТЕМЫ И СООБЩЕНИЯ
-------------------------------------------------------------*/

/* Цитата и выделить код */
.punbb .quote-box, .punbb .code-box {
background-color: rgb(194 183 169 / 85%);
border: double;
border-width: 1px;
border-color: rgb(162 128 107 / 38%); 
padding: 5px; 
box-shadow: 0 0px 2px 0 rgb(73 54 29);} 

/* Спойлер */
.post-content .spoiler-box > div {
padding-bottom: 1.0em;
background: url(http://forumstatic.ru/files/001b/67/2c/19649.png) no-repeat !important;
background-position: left 2px !important;}

/* Область для ввода текста в форме ответа и админке */
.punbb textarea, .punbb select, .punbb input, #pun_wrap #post .container[id$="-area"], #move_posts_form, .punbb .section h2, .pun-modal .container  {
background-color: #c2b7a9;
color: #1b0d01;
border: none;}

textarea { 
-ms-text-size-adjust: 100%; 
-moz-text-size-adjust: 100%; 
-webkit-text-size-adjust: 100%;}

.button, #pa-edit strong a {
background-color: #080401 !important;
border: solid 1px #486d79;
box-shadow: 0 0 0 2px #31311d inset;
font-family: Playfair Display!important;
font-size: 10px !important;
font-weight: normal !important;
color: rgb(247 197 125 / 36%) !important;
padding: 2px 15px 4px 15px !important;
text-decoration: none;
transition: all 0.5s cubic-bezier(0.6, 0.06, 0.58, 1) 0s;
vertical-align: middle;
text-transform: uppercase;
text-shadow: 1px 1px 1px #333;
}

.button:hover,  #pa-edit strong a:hover {
background: #14151c !important;
color: rgb(255 224 179 / 38%) !important;
filter: brightness(1.2);
cursor: pointer;
}



/* Фон окна наград и репутации */
#pun-popup_awards div, #pun-reputation div, .editBookmark, #pun-admin-award-form .inner, #vse tbody {
background-color: #c2b7a9;}

#pun-reputation textarea, #pun-reputation input {
border: solid !important;
border-width: 1px !important;
border-color: rgb(50 54 22 / 38%) !important;
}



/* Отделитель подписи */
.punbb .post-sig dt {
content: "";
display: block;
text-align: center;
width: 400px;
height: 3px;
background: url(http://forumstatic.ru/files/001b/67/2c/17026.png) repeat-x;
margin: 5px 0 5px 120px;}


/* Разделитель между сообщениями */ 
#pun .post h3 {
background: transparent url(http://forumstatic.ru/files/001b/67/2c/65167.png) no-repeat scroll center top;
width: 953px !important;
height: 114px;
margin-top: -18px;
margin-left: -38px;
padding-top: 37px;
font-family: Playfair Display;
color: #a6755f;}

.punbb .post h3 strong {
color: #a6755f;}

#pun .post h3 a {
color: #496e81;}
#pun .post h3 a:hover {
color: rgb(111 200 222 / 66%);}

.topic a.permalink{
margin-left: 65px!important;}

/* поиск */ 
#pun-searchposts .post h3 strong {margin-right: 35px;}
#pun-searchposts .post h3 span {margin-left: 300px; color: #a6755f;}


/* Быстрый ответ */
#post-form h2 {
background: transparent url(http://forumstatic.ru/files/001b/67/2c/51842.png?v=1) no-repeat scroll center top;
width: 956px !important;
height: 115px;
margin-top: -20px !important;
margin-bottom: -66px !important;
margin-left: -51.5px;
padding-top: 37px !important;}

#post-form h2 span {
visibility: hidden;}


/* Регулировка размера шрифта */
#pun-viewtopic .FNTslider {display: block}
.FNTslider {
border-radius: 0px;
position:absolute;
z-index:100;
background: #293d40;
width: 110px;
height: 2px;
border: solid 1px transparent;
float: left;
margin-left: 300px !important;
margin-top: 8px !important;
display: none;}

.FNTslider .before {
height: 2px;
border: solid 1px transparent;
border-right: none 0;
border-radius: 0px;
position: abso1ute;
background: #293d40;
margin-top: -1px;
margin-left: -1px;}

.FNTslider .thumb {
width: 5px;
height: 9px;
border-radius: 30%;
position: relative;
top: -7px;
background: #3f626e;
cursor: pointer;
box-shadow: 0 0 0 1px rgba(0,0,0,.2) inset, 0 0 3px 1px rgba(0,0,0,.05) inset;} 


/* Шрифты */
#post .container[id$="font-area"] {
height: 220px;
overflow: hidden;
overflow-y: auto;
z-index: 100;}



/* ОСТАЛЬНОЕ
-------------------------------------------------------------*/


/* Всё подряд*/
#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;}
#pun-announcement .container {font-size: 101%; font-family: "Times New Roman";}
.punbb td .modlist {display:none; font-size: 0px;}
.lastedit {display:none}
#pun-announcement h2 {display: none}
#pun-ulinks .item5 {display: none}
img.iblank {z-index: 9999999999;}
#pun th {font-size: 0px;}
.punbb .post-content p {text-align: justify;}
#pun-status .item4 {display:none;} 
.punbb .post h3 .sharelink, li.pl-share {font-size:0px!important; display: none;}


#pun-messages table tr.inew .pmtcl1 .tclcon a { 
font-weight: bold;}
#pun-messages .post h3 {background: none;}
#pun-messages .pa-title {background: none}
#pun-messages .post .post-author {background: none}


/* Смена картинок при наведении */
.image.UP,
.image.Down {
border:0px solid transparent;
margin:0;
padding:0;}
.image.UP{
opacity:1.0;
display:block;
position:absolute;z-index:100;
transition-duration: 1.2s;
-webkit-transition-duration: 1.2s;
-moz-transition-duration: 1.2s;
-o-transition-duration: 1.2s;
-ms-transition-duration: 1.2s; /* IE9+ */}
.image.UP:hover {
opacity:0.00;}
 
div.ImgWrap{
display:inline-block;
padding:0;margin:0;
background-position:center center;
background-repeat:no-repeat;}


/* темный фон в теме */
div.exmod {
background: url(http://forumstatic.ru/files/001b/67/2c/28760.png);
border-style: solid;
border-width: 10px 10px 10px 10px;
border-image: url(http://forumstatic.ru/files/001b/67/2c/65504.png) 10 10 10 10 repeat;
box-shadow: 0px 0px 4px 3px rgba(0, 0, 0, 0.4);
padding: 8px 8px;}

div.exmod span {
display: block; 
color: #a2806b;}

div.exmod a {
color: #486d79 !important;}


/* страница персонажа */
.reveal-modal-bg { 
position: fixed; 
height: 100%;
width: 100%;
background: #000;
background: rgba(0,0,0,.8);
z-index: 100;
display: none;
top: 0;
left: 0;}

.reveal-modal {
visibility: hidden;
top: 100px; 
left: 50%;
margin-left: -300px;
width: 659px;
height: 465px;
position: absolute;
z-index: 101;
padding: 30px 40px 34px;
background: url(http://forumstatic.ru/files/001b/67/2c/31651.png) no-repeat scroll center top;}

.reveal-modal.xlarge { 
width: 659px; 
margin-left: -270px;}
	
.reveal-modal .close-reveal-modal {
font-size: 22px;
line-height: .5;
position: absolute;
top: 8px;
right: 11px;
color: #917164;
text-shadow: 0 -1px 1px rbga(0,0,0,.6);
font-weight: bold;
cursor: pointer;
text-decoration: none;}

.menu span {
cursor: pointer;
display: inline-block;
margin-left: 80px;
margin-right: 15px;
text-align: center;
width: 10px;
font-family: Playfair Display;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
color: #917164;}

.menu-links {
float: left;}

#submenu {
display: inline-block;}


.menu .tabactive {
color: #486d79;}

#submenu { 
padding: 0px 10px 0px 40px;
height: 180px;
font-size: 12px;
width: 580px;
height: 342px;
overflow: auto;
margin-top: 38px;
color: #917164;
text-align: justify} 
   
.submenutext {
display: none; 
height: 40px;}


/* Закладки  */
#MyBookmarks .container, #MyBookmarks h2, #MyBookmarks h1 {
background-color: rgb(8 4 1 / 96%);
color: #496e81;}

#MyBookmarks h2 span {
color: #0b3349;
margin-left: 50px;
font-size: 14px;
font-weight: 700;
text-transform: uppercase;
font-family: Playfair Display;}

#MyBookmarks a {
color: #496e81 !important;}

#MyBookmarks a:hover  {
color: #0b3349 !important;}

.post .bookmark {color: #475727 !important;} /*цвет флажка*/
#BookmCntToggle.default-style {color: #0b3349 !important;} /*цвет элементов кнопки*/




/*  Оглавление с точками */

ul.leaders li { clear: both; }

ul.leaders li span:first-child {
  float: left;
  padding: 0 .4em 0 0;
  margin: 0;
}
ul.leaders li span + span {
  float: right;
  padding: 0 0 0 .4em;
  margin: 0;
}

ul.leaders li:after {
  content: "";
  display: block;
  overflow: hidden;
  height: 1em;
  border-bottom: 1px dotted;
}



/*  Маска профиля */
.pa-avatar img {
max-width: 180px;
max-height: 180px;}

#mask_dialog .inner {
background: url('');
background-color: #c2b7a9 !important;
border: solid;
border-width: 1px;
border-color: rgb(50 54 22 / 38%); 
}

#mask_dialog .hv-form-block input, #mask_dialog .hv-form-block textarea {
border: solid !important;
border-width: 1px !important;
border-color: rgb(50 54 22 / 38%) !important; 
}