* {padding:0;margin:0;border:0;box-sizing:border-box}

.left, h1 ~ .pagelink {float:left}
.right, .postlink, .post h3, .pl-delete, .pl-edit, .pl-quote, .pl-reports {float:right}
.clearist, .post-links {clear:both;}

a {text-decoration:none; color: #5c0505}
a:hover {text-decoration:underline; color: #cb1a1a}

ul {list-style:none}

hr {
    display: block;
    width: 171px;
    height: 13px;
    margin: 0 auto;
    background: url(//co.forum4.ru/files/0017/9b/96/43469.png) center center no-repeat;
}

fieldset {position: relative}

.acchide,
.forum h2,
.forum th,
.topic h2,
#pun-title,
.forum .tc2,
.forum .tc3,
#pun-break1,
#pun-break2,
#pun-break3,
#pun-break4,
#post legend,
#pun-post h1,
#pun-profile h1,
#pun-index th,
#pun-search h1,
#post-form h2,
#pun-ulinks h2,
#pun-status h2,
.post h3 strong,
#pun-index .tc2,
#pun-live-rusff,
#pun-index .tc3,
#pun-navlinks h2,
.usertable h2,
#pun-crumbs1 strong,
#topic-modmenu span,
#pun-announcement > h2,
#pun-main .formal h2,
#pun-index #pun-main h1,
#pun-viewtopic .postlink,
#pun-viewforum .modmenu p > span,
#post fieldset > div > p.inputfield label,
#post fieldset #font-area div:nth-child(6),
#post fieldset #font-area div:nth-child(12) {display:none}

body {
    font: 0.625em 'Verdana', 'Arial', sans-serif;
    background: url(//co.forum4.ru/files/0017/9b/96/35652.png) top center no-repeat,
                url(//co.forum4.ru/files/0017/9b/96/19924.jpg) repeat,
                #141b10;
}

section a,
#pun-about,
#pun-status,
.pa-author a,
#pun-about a,
#pun-crumbs1,
#pun-crumbs2,
#pun-status a,
#pun-crumbs1 a,
#pun-crumbs2 a,
section:first-child p,
#pun-index .tclcon h3 a {
    font-size:1.12em;
    text-shadow:0 0 3px rgba(0,0,0,.47);
    color:#865d3d;
}

.linksb a,
.post-author,
.post-author a,
#topic-users-in,
#pun-mod h2 a,
#profilenav a,
.post-links li a,
#topic-users-in a,
#pun-viewforum .modmenu a,
#profile fieldset legend,
.pagelink, .postlink, section p {color:#865d3d;}

.statscon,
#pun-status,
#pun-crumbs1,
#pun-announcement,
.forum .container {margin-top: 2em}

.category h2,
#pun-stats h2,
#pun-viewtopic h1,
#pun-userlist h1,
#pun-viewforum #pun-main h1 {
    height: 39px;
    background: url(//co.forum4.ru/files/0017/9b/96/51850.png) center center no-repeat;
    text-align: center;
    font: bold small-caps 2em 'Times New Roman', serif;
    padding-top: .34em;
    color: #843f18;
    text-shadow: 0 0 5px rgba(13,7,7,.4);
}

fieldset,
#topic-modmenu,
.category > .container,
#pun-viewforum .modmenu {margin: 2em 0}

.wrapper,
.forum table,
#profile table,
.category table {width: 100%}

.forum,
.statscon,
.post-body,
.cell.center,
#post fieldset,
#userlist,
#punbbsearch,
.usertable table,
#profile fieldset > div,
.category > .container {
    background: url(//co.forum4.ru/files/0017/9b/96/76681.jpg) #b6a384 padding-box;
    border:26px solid #b6a384;
    border-image: url(//co.forum4.ru/files/0017/9b/96/91518.png) 26 26 32 26 round;
    padding: 0;
}

.forum tr:not(:first-child) .tcl,
#profile tr:not(:first-child) .tcl,
#pun-index #pun-main tr:not(:first-child) .tcl {
    display: block;
    margin-top: 3em;
}

#pun, #pun-navlinks {
    border: 30px solid #2e1a0f;
    border-image: url(//co.forum4.ru/files/0017/9b/96/84012.png) 30 repeat repeat;
    background: url(//co.forum4.ru/files/0017/9b/96/37718.jpg) repeat #3e2612;
}

#pun {
    width: 100em;
    margin: 252px auto 0 auto;
}

#pun-ulinks {margin-top:1em;text-align:center}

#pun-navlinks {
    width: 90em;
    margin: -8em auto 0 auto;
    border-bottom: 0;
}

#pun-navlinks ul {
    margin-top: -1em;
    padding-bottom: 1em;
    text-align: center;
}

#pun-ulinks li,
#pun-navlinks li {
    display: inline-block;
    padding: 0em .5em;
}

#pun-ulinks a,
#pun-navlinks a {
    font: bold small-caps 2em 'Times New Roman', serif;
    color: rgba(22,13,7,.5);
    text-shadow: -3px 0px 4px #45301a, 1px 0px 4px rgba(0,0,0,.2);
}

#pun-ulinks a:hover,
#pun-navlinks a:hover {
    color: rgba(201,112,47,.6);
}

#pun-ulinks a {font-size:1.5em}


section h1,
.cell h3 {
    font: bold small-caps 1.8em 'Times New Roman', serif;
    text-shadow: 0 0 3px rgba(181,161,128,.47);
    text-align: center;
}

section:not(:first-child) {margin-top:1em}
.wrapper {display: table;}
.row {display:table-row;}
.cell {
    display: table-cell;
    width: 25%;
    padding: 1em;
    vertical-align: top;
}

.cell.center {width:50%;}

section a {color:#877d45}

section ul {list-style:none}

.top {text-align:center; margin:1em 0}

.cell.center section {
    float: left;
    width: 33%;
}

.cell.center section h1 {font-size:1.4em}

.cell.center a {
    display: block;
    color: #5c0505;
    text-shadow: none;
    margin-top: .4em;
}

.cell.center > a {
    margin-top: 1em;
    text-align: center;
}



.forum .tcl, #pun-index .tcl, #profile .tcl {width:75%}
.tclcon {padding-left: 2.6em;}

#pun-index .tclcon h3 a {
    font: bold small-caps 1.8em 'Times New Roman', serif;
    margin-left: -1.2em;
    color: #3e1b07;
}

div.icon {
    width: 14px;
    height: 45px;
    float: left;
    margin: 2.6em 0em 0 0;
    background: url(http://co.forum4.ru/files/0017/9b/96/64155.png) 0 0 no-repeat;
}

div.icon.inew {
    background-position: -20px 0;
}

tr.isticky div.icon {
    background-position: -20px -48px;
}

tr.isticky div.icon.inew {
    background-position: 0 -48px;
}

tr.iclosed div.icon.inew {
    background-position: -20px -100px;
}

tr.iclosed div.icon.inew {
    background-position: 0 -100px;
}

#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {
    display: inline-block;
}

#pun-stats li {
    margin-left: 1em;
}

#onlinelist {margin:1em 0}

#pun-stats li.item1::after, #pun-stats li.item2::after, #pun-stats li.item3::after {
    content: '•';
    margin-left: 1em;
}

.linkst {margin: 3em 0 -2em 2em;}

.forum div.icon, #profile div.icon {margin-top:-1em;}

.postlink {margin-right: -12em;}

#post fieldset .container {
    padding: 1em;
    background: papayawhip;
    border: 1px solid rosybrown;
    font-size: 1.2em;
    color: saddlebrown;
}

span.input {
    display: block;
    margin-bottom: 1em;
}

#post fieldset .container div:not(:last-child) {margin-bottom: .3em;}

input, textarea {
    border-radius: 1em;
    padding: .5em 1em;
    background: white;
    border: 1px solid black;
}

#pun-main {
    overflow: hidden;
}

#pun-viewtopic .linkst, #pun-userlist .linkst {margin:0}

.post-author, #profilenav {
    width: 20em;
    float: left;
}

.post-body, #profile fieldset {margin-left: 20em;padding: 1em;}
.post-body {min-height: 28em;}

.pa-author a {
    text-align: center;
    display: block;
    font: small-caps 2em 'Times New Roman', serif;
}

.pa-title {
    text-align: center;
    font-style: italic;
    font-size: 1.2em;
    color:#865d3d;
}

.pa-avatar {
    text-align: center;
    margin: 1em 0;
}

.post-links li {display: inline-block}

.pl-edit, .pl-quote, .pl-reports {margin-right:.5em}

.post h3 {
    font: normal .9em Verdana;
    margin: 2em 5em 0 0;
}

em.bbuline {text-decoration: underline}

del {
    text-decoration: none;
    color: gray;
    background-color: gray;
}

del:hover {
    background-color: transparent;
    color: darkslategray;
}

.quote-box {
    border: 7px double rgba(0,0,0,.3);
    padding: 1em;
    margin: 1em;
}

span.highlight-text {background: lightgoldenrodyellow!important}

.post:not(:first-child) {
    margin-top: 3em;
}

.post-body .post-box .post-content table tr td {border:none!important}

.usertable table {width:100%}

#pun-mod th, .usertable th {text-align: left}
#pun-mod td, #pun-mod th, .usertable td, .usertable th {
    display: inline-block;
    padding: 1em;
    width: 14em;
}

#pun-mod h2 a {
    font: normal normal 0.5em verdana;
    position: absolute;
    right: 19em;
    margin-top: .5em;
}