/* hide all posted messages in topic where it should be so */
#topic_t1198,
#pun.hidepost #pun-main > .topic,
#pun.hidepost #topic-modmenu,
#pun.hidepost input[name="preview"] {
    display: none;
}

html {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* categories are collapsing/expanding on clicking so need pointer */
.punbb .category h2 {
    cursor: pointer;
}

/* убирание "Поделиться" при выделении текста */
.share_more_selection {
    display: none;
}

/*выравнивание строк описания тем*/
.punbb td div.tclcon {
    padding-left: 24px !important;
}

/*Стрелки навигации*/
#arrow-to-top {
    background: url('http://forumstatic.ru/files/0003/62/30/55378.png') center center; 
}

#arrow-to-bottom {
    background: url('http://forumstatic.ru/files/0003/62/30/81196.png') center center;
}

#arrow-to-top, #arrow-to-bottom {
    width: 45px; 
    height: 45px; 
    cursor: pointer;
    display: inline-block;
    margin: 0 auto;
}

/*Шрифты*/
@font-face {
font-family: 'Majestic X';
src: /*url('http://rpgslayers.7bk.ru/files/0003/62/30/89276.eot?'),
url('http://rpgslayers.7bk.ru/files/0003/62/30/29480.woff') format('woff'),*/
url('http://rpgslayers.7bk.ru/files/0003/62/30/84709.ttf') format('truetype')/*,
url('http://rpgslayers.7bk.ru/files/0003/62/30/82577.svg#svgFontName') format('svg')*/;
}

@font-face {
font-family: 'Mon Amour One';
src: /*url('http://rpgslayers.7bk.ru/files/0003/62/30/37900.eot?'),
url('http://rpgslayers.7bk.ru/files/0003/62/30/35036.woff') format('woff'),*/
url('http://rpgslayers.7bk.ru/files/0003/62/30/74815.ttf') format('truetype')/*,
url('http://rpgslayers.7bk.ru/files/0003/62/30/82164.svg#svgFontName') format('svg')*/;
}

/*Анимация показа объявления*/
@keyframes announcementScroll {
    0% {
       transform: translateY(-50%) scaleY(0.1)
    }
    100% {
       transform: translateY(0) scaleY(1);
    }
}

</style>


/*плашка со смайликами-анимациями*/
#smilies-area {
    width: 550px;
    z-index: 1;
}

/*постраничное отображение рубако-смайлов и анимаций*/
#smilies-area ul.pages li {
    display: inline;
    margin-right: 5px;
}

#smilies-area ul.pages {
    margin-bottom: 5px;
}

/*отступ между разделами видов анимаций*/
#smilies-area div.animationGame, #smilies-area div.animationArt {
    margin-top: 10px;
}  

/*выбранная вкладка*/
#smilies-area li.tab-current a {
    font-weight: bold;
}


/*счетчик символов и слов*/
#input-counter {
    margin: 10px 0 0 2px;
    width: 20%;
}

/*выбор персонажа и диалог проверки события по вероятности*/
.post-content .hide_Nic-SIG {
    display: none;
}

#avtrChang-area, #checkEventArea {
    max-width: 350px;
    position: absolute;
    right: 1%;
    top: 43px;
}

#checkEventArea input[type="text"] {
    margin-left: 20px;
}

#checkEventArea input[type="range"] {
    margin-left: 55px;
    margin-right: 10px;
    position: relative;
    top: 8px;
    width: 140px;
    background: transparent;
    border: none;
}

input#checkEvent {
    font-family: Verdana;
    font-size: 12px;
    text-align: center;
    padding: 2px 10px;
    margin-top: 20px;
    width: 8em;
}

#post fieldset {
    position: relative;
}

#characterChangeSettings {
    padding-top: 1em;
}

#characterChangeSettings > img {
    display: block;
    width: 20px;
}

#characterChange, #checkEventToggle  {
    cursor: pointer;
    position: absolute;
    right: 1em;
    top: 1em;
    padding: 1px 10px;
    z-index: 2;
}

#checkEventToggle {
    top: 3em;
}

img.avaChange {
    width: 20px;
}

#characterChange img.avaChange {
    margin: 0 5px;
}

button#characterChange, button#checkEventToggle {
    font-family: Verdana;
    font-size: 12px;
    text-align: center;
    width: 12em;
}

#avtrChang-area > div, #checkEventArea > div {
    display: inline-block;
    margin: 0 1em;
    text-align: center;
    vertical-align: top;
}

div[id^="character"] img {
    max-height: 90px;
    max-width: 90px;
    margin-top: 5px;
    cursor: pointer;
}

/*автосохранение постов*/
#autoSavedPost {
    cursor: pointer;
    position: absolute;
    right: -1.5em;
    top: 0.25em;
}

img#insertSavedPost {
    width: 30px;
}


/*объявление*/
.announcement.categories
{
    display: flex;
}

#pun-announcement {
    display: none;
    justify-content: center;
    margin-top: 25px;
}

#pun-announcement, #pun-announcement .container {
    overflow-x: hidden;
}

#pun-announcement .container {
    background: url("http://forumstatic.ru/files/0003/62/30/48045.png");
    background-size:100% 100%;
    width: 95%;
}

#pun-announcement #wrapper {
    width: 100%;
}

#pun-announcement .announcement.categories, #pun-announcement .tab-text {
    margin-left: 4%;
    margin-right: 3%;
}

/*.announcement.categories > li.tab 
{
    display: inline;
    width: 22%;
    background: rgba(0, 0, 0, 0) url("http://s5.uploads.ru/jqWTr.png") no-repeat scroll 0 center / 100% auto;
    position: relative;
    margin: 0 2%;
/*    transition-duration: 1s;
    transition-property: background-image;*/
}

.announcement.categories > li.tab-current
{
    background: rgba(0, 0, 0, 0) url("http://s3.uploads.ru/R1XLw.png") no-repeat scroll 0 center / 100% auto;
}*/

.announcement.categories .overlay
{
    left: 35%;
    opacity: 0.75;
    pointer-events: none;
    position: absolute;
    top: 55%;
    width: 12.06px;
    height: 15.36px;
    z-index: 2;
}


.announcement.categories > li::before {
    content: "";
    display: block;
    padding-top: 35%;
}
.announcement.categories > li::after {
    content: "";
    display: block;
    padding-bottom: 40%;
}

div.tab-link {
    cursor: pointer;
    height: 3em;
    padding: 0 20%;
}

#announcement-navigation-container {
    position: absolute;
    left: 55%;
    width: 335px;
    height: 200px;
    z-index: 10;
}

#announcement-navigation-container > .talisman {
    width: 110px;
    height: 95px;
    position: absolute;
    display: flex;
    justify-content: center;
}

#announcement-navigation-container > .talisman-red {
    background: url("http://forumstatic.ru/files/0003/62/30/48528.png") 0 0 / 100% 100% no-repeat;
    left: calc(50% - 55px);
    top: 2%;
}

#announcement-navigation-container > .talisman-red.active {
    background: url("http://forumstatic.ru/files/0003/62/30/50960.png") 0 0 / 100% 100% no-repeat;
}

#announcement-navigation-container > .talisman-white {
    background: url("http://forumstatic.ru/files/0003/62/30/11817.png") 0 0 / 100% 100% no-repeat;
    top: 25%;
}

#announcement-navigation-container > .talisman-white.active {
    background: url("http://forumstatic.ru/files/0003/62/30/86937.png") 0 0 / 100% 100% no-repeat;
}

#announcement-navigation-container > .talisman-blue {
    background: url("http://forumstatic.ru/files/0003/62/30/75544.png") 0 0 / 100% 100% no-repeat;
    left: calc(100% - 110px);
    top: 25%;
}

#announcement-navigation-container > .talisman-blue.active {
    background: url("http://forumstatic.ru/files/0003/62/30/35297.png") 0 0 / 100% 100% no-repeat;
}

#announcement-navigation-container > .talisman-black {
    background: url("http://forumstatic.ru/files/0003/62/30/27460.png") 0 0 / 100% 100% no-repeat;
    left: calc(50% - 55px);
    top:calc(100% - 95px);
}

#announcement-navigation-container > .talisman-black.active {
    background: url("http://forumstatic.ru/files/0003/62/30/38148.png") 0 0 / 100% 100% no-repeat;
}

.announcement-navigation-button {
    background-color: transparent;
    border: none;
    color: #ead092;
    text-shadow: 1px 3px 5px black, -1px -1px 1px black, 2px -1px 1px black;
    font-family: Majestic X;
    font-size: 18px;
    letter-spacing: 0.1ex;
    width: 100%;
    cursor: pointer;
}

.talisman .announcement-navigation-button {    
    margin-bottom: 20%;
}

.talisman.active .announcement-navigation-button {
    color: #884535;
    text-shadow: 1px 3px 5px white, -1px -1px 1px white, 2px -1px 1px white;
}

.announcement.categories a, .announcement.categories a:hover {
    color: #ead092;
    font-family: Majestic X;
    font-size: 20px;
    text-shadow: 1px 3px 5px black, -1px -1px 1px black, 2px -1px 1px black;
    letter-spacing: 0.1ex;
}

#pun-announcement .tab-current a {
    color: #884535;
    text-shadow: 1px 3px 5px white, -1px -1px 1px white, 2px -1px 1px white;
}

#pun-announcement div#news div
{
    margin: 20px 5% 5px;
}

#pun-announcement p, #pun-announcement .tab-text a
{
    font-family: "Mon Amour One";
    margin: 10px 0;
    font-size: 11pt;
    text-align: justify;
    text-indent: 25px;
    line-height: 1.6;
    letter-spacing: 0.1ex;
}

#pun-announcement div#role img
{
    vertical-align: middle;
}

#pun-announcement p.title {
    font-size: 20pt;
    font-family: "Majestic X";
    color: #a04231;
    margin: 20px 0 10px;
    line-height: 1;
    text-align: center;
    text-indent: 0;
}

#pun-announcement .character 
{
    display: inline-block; 
    width: 45%;
    margin: 0 2%;
}

#pun-announcement .name
{
    color: #a04231;
    font-size: 12pt;
    text-indent: 0;
    text-align: center;
    height: 3em
}

#pun-announcement .description, #pun-announcement .start
{
    font-size: 9pt;
    max-height: 300px;
    overflow-y: hidden;
//    padding: 0 5px 2px;
}

#pun-announcement .start span, #pun-announcement #info span {
    color: #a04231;
}

#pun-announcement #info2 p {
    text-align: center;
}

#pun-announcement .character, #pun-announcement #link div  {
    vertical-align: top;
}

#pun-announcement div#link > div
{
    display: inline-block; 
    width: 33%;
}

#pun-announcement #link .title {
    height: 2em;
}

#pun-announcement #top {
    margin-top: 20px;
    margin-bottom: 5%;
}

#pun-announcement span.title {
    color: #a04231;
    font-size: 14pt;
    margin: 0 20px;
    font-family: "Mon Amour One";
    vertical-align: top;
}


#pun-announcement #tab-description{
    color: #a04231;
    font-size: 16pt;
    font-family: "Mon Amour One";
    text-align: center;
}

/*Вкладки-всплывашки*/
.side-panel:hover {
    z-index: 20;
}

#time-weather:hover {
    margin-right: 200px;
}

#locations:hover {
    margin-right: 260px;
}

.side-panel {
    height: 122px;
    opacity: 0.86;
    position: fixed;
    transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    -webkit-transition-delay: 0.5s;
    transition-duration: 0.33s;
    -moz-transition-duration: 0.33s;
    -webkit-transition-duration: 0.33s;
    z-index: 10;
}

#time-weather {
    right: -200px;
    top: 10px;
}

#locations {
    right: -260px;
    top: 130px;
}

.side-panel > div {
    background: #FAF6D2;
}

.side-panel > div.tab-container, .side-panel > div.tab-title {
    border: 2px solid #6f2b08;
    box-shadow: 0px 5px 5px #626262;
    -webkit-box-shadow: 0px 5px 5px #626262;    
}

.side-panel .tab-title {
    border-radius: 10px 0 0 10px;
    -webkit-border-radius: 10px 0 0 10px;
    border-right: none !important;
    color: #a04231;
    float: left;
    font-family: "Majestic X";
    font-size: 15pt;
    height: 110px;
    overflow: visible;
    padding: 4px 2px 4px 6px;
    text-align: center;
    width: 25px;
/*    writing-mode: sideways-lr;*/
/*    -webkit-writing-mode: vertical-lr;*/
}

.side-panel .tab-title p {
    width: 115px;
    height: 20px;
    position: relative;
    left: -48px;
    top: 45px;
    transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

.side-panel .border-closer {
    height: 119px;
    left: 28px;
    position: absolute;
    top: 1px;    
    width: 20px;
}

.side-panel .tab-container {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    float: right;
    max-height: 100vh;
    overflow: auto;
    padding: 12px;
}

.side-panel:first-of-type .tab-container {
    border-radius: 0 10px 10px;
    -webkit-border-radius: 0 10px 10px;
}

#time-weather .tab-container {
    min-height: 130px;
    width: 170px;
    border-radius: 0 10px 10px 10px;
}

#locations .tab-container {
    margin-top: -120px;
    min-height: 250px;
    width: 230px;
}

.side-panel header {
    color: #a04231;
    font-family: "Majestic X";
    font-size: 16pt;
    margin: 0px 0 10px;
}

.side-panel .grid {
    align-items: center;
    display: grid;
    grid-template-columns: 50% 50%;
}

.side-panel .grid-item {
    margin: 0 1px 5px;
}

#locations .grid-item > div {
    display: inline-block;
    height: 40px;
    overflow: hidden;
    width: 40px;
}

#locations .grid-item > div + div {
    margin-left: 2px;
}

.side-panel .user-avatar {
    margin: 10% 10% 0px;
    max-height: 40px;
    object-fit: contain;
    transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
    -webkit-transform: scale(1.5);
}

.side-panel p {
    margin-bottom: 15px;
}

.side-panel .tab-container p::first-line {
    font-weight: bold;
}

.side-panel div[name="time"], #locations > div {
    text-align: center;
}

.side-panel div[name="weather"] {
    text-align: justify;
}

.side-panel div[name="weather"] p:first-child {
    text-align: center;
    margin-bottom: 5px;
}

.side-panel div[name="weather"] p:nth-child(n+2)::first-line {
    text-decoration: underline;
    font-weight: normal;
}


/*Закладки*/
#MyBookmarks .container
{
   background-color: rgba(250, 246, 210, 0.4);
   color: #3504434;
}

#MyBookmarks > h2 > span {
    position: absolute;
    left: 25%;
}

#BookmCntToggle {
    background: rgba(0, 0, 0, 0) url("http://forumstatic.ru/files/0003/62/30/99154.png") no-repeat scroll 0 0 / 100% auto !important;
    height: 47px !important;
    opacity: 1 !important;
}


/*подгонка аватарок*/
.pa-avatar.item2 > img, img.avatardemo, div#viewprofile td#profile-left img {
    height: auto;
    max-width: 220px;
}

/*блок навигации по категориям*/
#navigation {
    bottom: 55px;
    position:fixed;
    right :0.5%;
    text-align: center;
    z-index: 11;
}

#navigation #categories {
    background-color: #faf6d2;
    border: 2px solid #6f2b08;
    border-radius: 10px;
    opacity: 0.8;
    width: 185px;
}

#categories > li {
    margin: 0.25em;
    padding: 0 5px;
}

#categories-navigation-display, #categories a {
    cursor: pointer;
}

#categories-navigation-display {
    width: 11px;
    height: 11px;
    display: inline-block;
    background: url('http://forumstatic.ru/files/0003/62/30/72033.png') center center;
    margin: 0 auto;
}


/* CS1 Background and text colours
-------------------------------------------------------------*/

/*Выпадающие меню в форме ответа*/
fieldset > div > div.container {background-color: #d2b48c !important;
border-color: #8b6969 !important;
border-width: 1px !important;}

html {background: url("http://forumstatic.ru/files/0003/62/30/72003.jpg") no-repeat fixed center top, #14060e none repeat scroll 0 0;}

/*Оформление постов*/
#pun-main .post .post-body{
  background-color: rgba(250,246,210,0.3);}

#pun-main .post h3 {
 background-color: #C3762A /*#CD853F #B8860B*/;
 border-bottom-width: 1px;
 border-bottom-color: black;
 border-bottom-style: solid;
 border-top-style: solid;
 border-top-width: 1px;
 border-top-color: black;}

#pun-main .post .post-links ul{
  background-color: #D2B48C;
  border-bottom-width: 1px;
  border-bottom-color: black;
  border-bottom-style: solid;}

.punbb .post .post-author ul .pa-title, .punbb .post .post-author ul .pa-avatar{
text-align: center;}

.punbb .post h3 {
margin-left: 1px;
margin-right: 1px;}

.punbb fieldset, .punbb td, .usertable table {
border-color: transparent !important;}

/*Размер строк*/
.punbb td div.tclcon, .punbb td.tcr {
  line-height: 1.2;
}

/*body {
background: url(http://forumstatic.ru/files/0003/62/30/69116.png) no-repeat top center;
}*/

/*шапка*/
/* старый стиль */
/*#pun-title.section {
background: url("http://s7.uploads.ru/NCjwU.png") no-repeat scroll 177px bottom / 46% 100%, url("http://s6.uploads.ru/EOlVF.jpg") no-repeat scroll right -10px / 33% 115%, rgba(0, 0, 0, 0) url("http://s2.uploads.ru/nCoVS.jpg") no-repeat scroll left top / 22% 100%;
height: 400px;
margin-bottom: 110px;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: -moz-use-text-color;
border-image: url("http://forumstatic.ru/files/0003/62/30/76338.png") 9 9 9 9 round round;
    border-style: none none solid;
    border-width: 0 0 9px 0;
}
*/

#pun-title.section {
    background: url("http://forumstatic.ru/files/0003/62/30/30510.png") no-repeat 0 0 / 100% auto;
    height: 205px;
border-image: url("http://forumstatic.ru/files/0003/62/30/83903.png") 5 round round;
    border-style: none none solid;
    border-width: 0 0 9px 0;
    margin-bottom: 55px;
}

/*старый стиль*/
#pun-title TABLE {
  background: rgba(0, 0, 0, 0) url("http://forumstatic.ru/files/0003/62/30/84296.png") no-repeat scroll center bottom;
    margin-left: 0px; /*для старого фона со свитком 9px*/
padding-top:450px;
}

#pun-title TABLE {
    background: rgba(0, 0, 0, 0) url("http://forumstatic.ru/files/0003/62/30/84296.png") no-repeat scroll center bottom;
    margin-left: 0px;
    padding-top: 260px;
    transform: scale(0.55);
   /* filter: hue-rotate(200deg) contrast(1.25) brightness(0.85);*/
}

#pun-title .title-logo span {display: none;}

/* Оформление таблиц*/
#pun-index.punbb thead, #pun-userlist.punbb thead, #pun-searchtopics.punbb thead,
#pun-viewforum.punbb thead
 {
background: url("http://forumstatic.ru/files/0003/62/30/37630.jpg") repeat scroll 0 0 / 100% 100% rgba(0, 0, 0, 0);
}
.punbb .main thead .tcl, .punbb .main thead .tcr, 
#pun-userlist.punbb .usertable thead .tc2,
#pun-searchtopics .main thead .tc2
{
text-align: center;
}

#pun-userlist.punbb .usertable  th:nth-child(5)
{
width: 18%;
}

#pun-userlist.punbb .usertable  th:nth-child(4),
#pun-userlist.punbb .usertable  th:nth-child(6)
{
width: 12%;
}

#pun-main.main tbody.hasicon td,
#pun-userlist.punbb .usertable td
{
border-color: #884535 !important;
border-style: dotted !important;
border-width: 1px 0 0 1px;
}

#pun-index.punbb #pun-main.main tbody.hasicon tr:first-child td,
#pun-userlist.punbb .usertable tr:first-child td
{
border-width: 0 0 0 1px;
}

#pun-viewforum.punbb tbody.hasicon td,
#pun-searchtopics.punbb tbody.hasicon td,
#pun-searchtopics.punbb tbody.hasicon td
{
border-width: 0 0 1px 1px;
}

#pun-userlist.punbb .usertable .container table
{
border-color: #884535 !important;
}

/* CS1.1 */
.punbb .main .container,
.punbb td.tc3,
.punbb .section .container,
.punbb .section .formal .container,
.punbb .formal fieldset,
#viewprofile li strong, #viewprofile li div,
#setmods dd, .punbb .post-body,
.post-box, .punbb .post-links,
.punbb-admin #pun-admain .adcontainer,
.punbb .info-box, .punbb #pun-main .info-box .legend {
background-color:transparent;
  color: #31160c;
  line-height:1.2em/*11px*/;
  }

/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer {
background-color: transparent;
  color: #534a44;
  text-align: left;
  }

/* CS1.3 */
/*background: rgb(0, 0, 0, 0) url("http://forumstatic.ru/files/0003/62/30/22760.png") no-repeat scroll center top;*/
#pun-main h2 {
background: rgb(0, 0, 0);
border-image: url("http://forumstatic.ru/files/0003/62/30/83903.png");
border-image-slice: 7;
border-image-width: 9px;
height: 49px;
line-height: 49px;
  text-align: center;
  font-size: 15px;
  color: #f3e4c9;
  font-family: times;
  letter-spacing: 2px;
width: 910px;
       }

/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
background-color: transparent;
  color: #534a44;
  }

/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
background-color: transparent;
  color: #534a44;
  }

/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl  {
background-color: transparent;
  color: #534a44;
  }

/* CS1.7 */
#pun-main .quote-box, #pun-main .code-box {
background-color: #bcbcca;
color: #554a42;
border-color: #8B6969;
background: #eed7ae;
    border-radius:15px;
    -webkit-border-radius:15px;
    -khtml-border-radius:15px;
    -moz-border-radius:15px;
    -o-border-radius:15px;
  }
/* CS1.8 */
#pun-navlinks .container {
text-align: center;
  background-color: transparent;
  color: #534a44;
  }

.offline li.pa-online strong {
  font-weight: normal
  }

.punbb textarea, .punbb select, .punbb input, .punbb #post button {
  background-color: transparent;
  color: #554a42;
background: #eed7ae;
border: 1px solid #8B6969;
    border-radius:15px;
    -webkit-border-radius:15px;
    -khtml-border-radius:15px;
    -moz-border-radius:15px;
    -o-border-radius:15px;
}


/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {
  border-color: transparent;
  }

/* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
  border-color: transparent;
  }

/* CS2.3 */
#pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {
  border-color: transparent;
  }

/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
  border-color: /*#BB6836transparent*/black;
  }


/* CS2.5 */
.punbb th {
  border-color: transparent;
  }

/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
  border-color: #C4C4C6 #FFFFFF #FFFFFF #C4C4C6;
  }


#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
  border-color: transparent;
  }

#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
  border-color: transparent;
  }

.punbb .divider {
  border-color: transparent;
  }

.punbb .formal fieldset .post-box, .punbb .info-box {
  border: 1px solid #dedfdf
  }

li.pa-online {
  border-left-color: #9b887e;
  }

.punbb .post-sig dt {
  border-top-color: transparent;!important;
  }



/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 */
.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 {
  color: #884535; 
border-bottom: 0px none #000;
 text-decoration: none;
font-style: none; 
}

.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
  color: #5b2411;
 }

/* CS3.2 */
.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 {
  text-decoration: none;
  color: #5b2411; 
}

/* CS3.3 */
#pun-navlinks a {
  color: #6f2b08;
    border-bottom: 0px none #000;
text-transform: uppercase;
  text-decoration: none;
  }

/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {
  color: #644f48;
  border-bottom: 0px none #000;
  text-decoration: none;
  }

#pun-pagelinks a:active, #pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
  }

       .post-content td {border-color: #b7b1a9}


/* CS4 Post status icons
-------------------------------------------------------------*/


div.icon {
        background: url(http://forumstatic.ru/files/0003/62/30/32652.png) no-repeat;
}
tr.inew div.icon {
        background: url(http://forumstatic.ru/files/0003/62/30/80194.png) no-repeat;
}
tr.iclosed div.icon {
        background: url(http://forumstatic.ru/files/0003/62/30/58387.png) no-repeat;
}
tr.isticky div.icon {
        background: url(http://forumstatic.ru/files/0003/62/30/53452.png) no-repeat;
}


#pun_wrap {
background-image: url("..."); 
background-repeat: no-repeat; 
background-position: center bottom;
}


/*  background: url(http://forumstatic.ru/files/0003/62/30/22760.png) no-repeat top center; */
#pun-stats h2 {
background: rgb(0, 0, 0);
border-image: url("http://forumstatic.ru/files/0003/62/30/83903.png");
border-image-slice: 7;
border-image-width: 9px;
   width: 881px;
margin-left: -5px;
height: 40px; // 64px;
line-height: 40px;
  color: #f3e4c9;
  font-family: cambria;
  text-align: center;
  letter-spacing: -1px;
text-transform: uppercase;
  font-size: 15px;}
  background-color: transparent;}

/*Цвет линии, отделяющей подпись*/
#pun #pun-viewtopic #pun-main .topic .container .post-body .post-box .post-content .post-sig dt {background-color: #423189}

/*ссылки на мини-ролевую кроссовера с Diablo*/
a[href*="viewtopic.php?id=1034#"], 
a[href*="viewtopic.php?id=1034&"],a[href$="viewtopic.php?id=1034"]
{
font-family: "Diablo II";
}

/*борьба с табуляцией, см. скрины Теззерета в 10-м флуде, стр. 30 */
.punbb a, .punbb strong
{
    letter-spacing: 0em;
    -moz-tab-size: 1;
    -o-tab-size: 1;
    tab-size: 1;
}

/* mobile */
@media screen and (max-width: 540px) {
	#pun_wrap {
		width: 100%;
		margin: 0;
	}
}