@media (max-width: 800px) {html, body}

html {background:url(http://forumstatic.ru/files/0010/9b/9c/13539.jpg) top left no-repeat #1e2013; background-attachment: fixed; background-size: cover; text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust: none;}
body {min-width: 1250px;}
#pun {background-color:transparent; background-image: url(http://forumstatic.ru/files/0010/9b/9c/20046.png);}
#pun-title table {background: transparent url(http://forumstatic.ru/files/0010/9b/9c/58605.png) center top no-repeat; border: none; width: 1404px; height: 420px; margin: -227px 0 0 -234px;}
.punbb {padding: 27px !important;}
#pun-about {background: transparent url(http://forumstatic.ru/files/0010/9b/9c/96944.png) no-repeat top center; margin: 0 0 -7px -27px !important; width: 1052px; height: 127px;}

.punbb textarea, .punbb input {background-color: #d3ccc4 !important; border: 1px solid #998f869e; box-shadow: 0 0 0 1px #ddd5cc91; color: #1d110c !important;}
.punbb textarea, .punbb select, .punbb input {background-color: transparent; color: #2e1111; outline: 0 none transparent! important;}

.punbb select, .forminput {color: #b9afa6 !important; font: 11px 'cuprum' !important; text-shadow: 1px 0px 1px #000; text-transform: uppercase; letter-spacing: 1px; background-color: #232812 !important; box-shadow: inset 0 0 2px 0 #000; border: 0px; padding: 3px 10px 2px 10px;}
.punbb #pun-main .quote-box, .punbb #pun-main .code-box {background: #b9b0a661; box-shadow: inset 0 0 2px 0 #7f736b; outline: 1px solid #dad1c8b5; color: #0d0602;}

#pun-redirect, #pun-maint {color: #20140c !important; text-shadow: #483f39 1px 0px 1px !important; font: 14px "cuprum" !important; text-transform: lowercase; margin: 200px 0 0 260px; padding: 5px 10px 10px 10px; background-position: center; text-align: center; line-height: 13px; width: 500px; float: none; height: auto; background: #1f1913; border: 1px solid #3f4a2b75; box-shadow: inset 0 0 3px 0px #33372b;}
#pun-redirect a, #pun-maint a {color: #9a8d7f !important; text-shadow: #000 0px 0px 1px !important;}

.punbb-admin #pun-admain .adcontainer {background-color: transparent; margin-left: 15px; color: #33241d;}
.punbb .main .container, .punbb .post .container, .punbb .post h3, #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, .punbb textarea, .punbb select, .punbb input,
#pun-status .container, #pun-crumbs1 .container, #pun-crumbs2 .container, #pun-about .container, #pun-stats .container {color: #150d08;}

.punbb .post-links ul a {color: #1e120b; text-shadow: 1px 0 0 #e0dad4; background-color: #cec6bdcf; padding: 0 6px 1px 6px;}
.punbb .post-links ul a:hover {background-color: #e6dbd399;}

.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: #361c0c; text-shadow: 1px 0px 1px #d5cac0; text-decoration: none; -webkit-transition: all 0.8s;}
.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {color: #7a2708; -webkit-transition: all 0.8s;}

.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 {color: #622f04; border-bottom: 0px none; -webkit-transition: all 0.8s; text-decoration: none; text-shadow: 1px 0px 1px #d4c9be;}
#pun-pagelinks a:active, #pun-pagelinks a:focus {background-color: #d1b097; color: #5a3916;}

.punbb table Div.icon {width: 30px; height: 64px; display: block; border-style: none none none none; background-image: url(); background-repeat: no-repeat;}
#pun-index TR.inew Div.icon {background-image: url(http://forumstatic.ru/files/0010/9b/9c/78915.png?v=1); background-repeat: no-repeat;}
TR.isticky Div.icon {width: 29px; height: 28px; background-image : url(http://forumstatic.ru/files/0010/9b/9c/46217.png) !important; background-repeat: no-repeat;}
TR.iclosed Div.icon {width: 29px; height: 28px; background-image : url(http://forumstatic.ru/files/0010/9b/9c/82404.png) !important; background-repeat: no-repeat;}
.forum .container .icon {margin: -6px 0 0 3px !important; padding-right: 10px; width: 29px; height: 28px; background-image: url(); background-repeat: no-repeat;}
#pun-messages div.icon, #pun-searchtopics div.icon, #pun-viewforum div.icon {width: 29px; height: 28px; background-image: url(http://forumstatic.ru/files/0010/9b/9c/86563.png?v=1);}
#pun-messages tr.inew div.icon, #pun-searchtopics tr.inew div.icon, #pun-viewforum tr.inew div.icon {width: 29px; height: 28px; background-image: url(http://forumstatic.ru/files/0010/9b/9c/13833.png?v=1) !important;}
#pun-messages tr.inew div.icon, #pun-messages div.icon {margin: -7px 0 0 0 !important; padding-right: 15px !important;}

.punbb .post .post-author > ul {background: url(http://forumstatic.ru/files/0010/9b/9c/13548.jpg) 0 bottom no-repeat, url(http://forumstatic.ru/files/0010/9b/9c/54735.jpg?v=1) 0 top no-repeat; margin: -37px 0 -15px 0 !important; padding: 2px 5px 10px 5px !important;}

.post-author a {color: #af8e73 !important; font: 11px "cuprum"; text-shadow: #000 1px 0px 1px !important;}
.post-author a:hover, .post-author a:focus, .post-author a:active {color: #6a864d !important;}
.post-author {text-align: center; color: #a8998b !important; /*весь текст*/ text-shadow: 1px 0 1px #040e03 !important; background: url(http://forumstatic.ru/files/0010/9b/9c/54617.jpg) repeat-y;}
.post-author ul li {text-align: center;}
.pa-author a, .pa-author {color: #ac9c88 !important; text-shadow: 1px 0px 1px #000 !important; font: 14px "medieval" !important; letter-spacing: 1px;}
.pa-author a:hover, .pa-author  a:focus, .pa-author  a:active {color: #809563 !important;}
.pa-title {position: relative; width: 194px; z-index: 10; color: #afa496 !important; text-shadow: 1px 0 1px #090402 !important; font: 500 9px "cuprum" !important; letter-spacing: 1px; text-transform: uppercase; margin: 11px 0px 7px 7px !important;}
.post-author ul .item2 img {box-shadow: 0px 0px 3px 1px #040c03; margin-left: -6px !important;}
li.pa-avatar  {z-index: 5; margin: 0 0 5px 6px !important;}
#pun-profile #pun-main h1 {font: 15px "bodoni"; text-transform: uppercase; margin: 0 6px; padding: 3px 11px; background-color: #b9afa494; color: #100c09; text-shadow: 1px 0 1px #d3cfcc;}
#pun-profile #pun-main h1 a {color: #432415 !important; text-shadow: 1px 0 1px #d7cbbf;}
#pun-profile #pun-main h1 a:hover, #pun-profile #pun-main h1 a:active {color: #613520 !important;}

.pa-respect, .pa-posts, .pa-fld5 {vertical-align: text-top; display: inline-table; width: 60px; padding: 2px 0  9px 0!important; font: 11px "cuprum" !important; text-transform: uppercase; margin-bottom: 8px !important; border-bottom: 1px dashed #aa9c8c75;}
.pa-respect span::before, .pa-respect span:after {content: "  ";}

.post-ul-Sp {width: 206px !important; margin: 6px 0 -10px -10px !important;}
img.post-img-Sp {position: relative; padding: 3px 0; left: -0px !important;}
div.tipsy.tipsy-s.Sp-imgSp-img .tipsy-inner{font-size:14px; letter-spacing:1px;}

.pa-fld1 {background: #8d7c6538; margin: 0 9px !important; border-radius: 5px; padding-top: 5px !important;}
.pa-fld2, .pa-fld3 {background: #cdb06f30;}
.pa-fld4 {background: #93aa6e30;}
.pa-fld2, .pa-fld3, .pa-fld4 {margin: 5px 9px 0 9px !important; border-radius: 5px; padding-top: 5px !important;}

.pr_name a, .pr_dragoname a, .pr_moneytext  {color: #b5ac99 !important; font: 13px "medieval" !important; text-shadow: 0 0 1px #000 !important;}
.pr_persinfo span, .pr_dragoinfo span, .pr_money span {display: inline-block; padding: 2px 0px 5px 0px; min-width: 77px; border-top: 1px solid #fff3; margin: 2px;}
.pr_persinfo span b, .pr_dragoinfo span b, .pr_money span b {display: block;}

#pun-profile #viewprofile #profile-right .pr_name, #pun-profile #viewprofile #profile-right .pr_dragoname, #pun-profile #viewprofile #profile-right .pr_moneytext {width: 473px;}
#pun-profile #viewprofile #profile-right .pr_moneytext {text-shadow: none !important;color: #6b2914 !important;}

.pr_moneytext {color: #c5bb9c !important;}

.online ul .pa-online strong, .topic a.sharelink, #pun-main #post-form h2 span, .pa-awards, #pun-viewtopic #pun-main h1 span, .pa-gifts {display: none; visibility: hidden!important;}
#pun-title .title-logo {display: none;}
li#navawards {display: none !important;}
.pa-gifts {text-align: center; margin-top: 0px;}
.lastedit {display: none;}
.post-content .spoiler-box > div {padding-bottom: 2px;}
.post-content .spoiler-box > blockquote {padding-top: 10px !important;}
/* .inputfield {color: transparent;} */
#pun-main div.catleft, #pun-main div.catright {display: none}
#pun-userlist .usertable th {visibility: hidden; padding: 0; font-size: 0;}
.post-content .highlight-text {background-color:  #9e8b7f !important; font: italic 13px "Georgia";}
hr {border: none; border-top: 1px dashed #223c45ad; margin: 5px 0 !important;}
.category th,#pun-viewforum th{padding: 0 !important; font-size: 0 !important; color: transparent !important; visibility: hidden !important;}
::selection {background: none repeat scroll 0 0 #36241f; color: #c5c1bd; opacity: 0.4;}  
*::-moz-selection {background: none repeat scroll 0 0 #36241f; color: #c5c1bd;}
#filetable tr.selected td {background-color: #99a38559 !important;}
#pun-admain .adcontainer td {border-color: #dddddd7a !important;}
.punbb .modmenu .container span {display: none;}

.punbb .container, .punbb .post-body, .post h3, .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post , #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2, .punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body, .punbb .post h3 span, .post-links ul, .post-links, .usertable table, .punbb th,  #pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span, .punbb .divider, .punbb .formal fieldset .post-box, .punbb .info-box, li.pa-online, #pun th, #pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {border-color: transparent;}
.punbb .main .container, .punbb td.tc3, .punbb .section .container,punbb td.tc2,.punbb td.tcr,#pun .tc2, #pun-stats h2, #pun-main .post h3 span, #pun-main .post h3, #pun-main .post-body, #pun-title, #pun-main .formal textarea, #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 {background-color: transparent;}
.punbb .main .post table, .punbb .main .post table tr, .punbb .main .post table td, .post-content table {border: none 0 transparent;}
.post-content td {border: none 0 transparent !important;}

#pun-index .tcl h3 {text-align: left; width: auto; margin: 0 0 8px 0; padding: 0;}
#pun-index .tcl h3 a:before {content: ""; position: absolute; width: 0%; height: 2px; background: #646d47c7; display: block; bottom: 0; left: 0; transition: all .7s cubic-bezier(.88,.13,.25,1.25) 0s;}
#pun-index .tcl h3 a {position: relative; font: 700 14px 'medieval'; text-transform: lowercase; color: #4a3122; text-shadow: 1px 0 1px #e1d1c2 !important; padding: 0 24px 4px 0;}
#pun-index .tcl h3 a:hover:before {width: 100%;}
#pun-index .tcl h3 a:hover, #pun-index .tcl h3 a:active, #pun-index .tcl h3 a:focus {color: #374621 !important; padding: 0 24px 4px 0;}

#pun-index .intd {width: auto; text-align: justify;}
#pun-index .category tr {background: #baaea15e;}
#pun-index .category table {border-spacing: 0px 5px; padding: 7px 13px;}

::-webkit-scrollbar {width:  6px; height: 6px; background-color: #746e67; box-shadow: 0 0 0 2px #1d1f12 inset !important;}
::-webkit-scrollbar-thumb {background-color: #8d8075; width: 4px !important;}

.queue::-webkit-scrollbar {width:  6px; height: 6px; background-color: #3a442f; box-shadow: 0 0 0 2px #23130c inset !important;}
.queue::-webkit-scrollbar-thumb {background-color: #545a36; width: 4px !important;}



.code-box .scrollbox::-webkit-scrollbar-corner, .punbb textarea::-webkit-scrollbar-corner, #font-area::-webkit-scrollbar-corner, .banners::-webkit-scrollbar-corner, .queu::-webkit-scrollbar-corner {background-color: #ccc8c4;}
.code-box .scrollbox::-webkit-scrollbar, .punbb textarea::-webkit-scrollbar, #font-area::-webkit-scrollbar, .banners::-webkit-scrollbar, #font-area::-webkit-scrollbar, .tab-a .post-content::-webkit-scrollbar {width: 7px; height: 7px; background-color: #533d34; box-shadow: 0 0 0 2px #b9b0a6 inset !important;}
.code-box .scrollbox::-webkit-scrollbar-thumb, .punbb textarea::-webkit-scrollbar-thumb, .queu::-webkit-scrollbar-thumb, .banners::-webkit-scrollbar-thumb, .queu::-webkit-scrollbar-thumb, .tab-a .post-content::-webkit-scrollbar-thumb {background-color: #533d34; width: 4px !important;}

h3 > span > a.permalink {position: absolute; margin: -4px 0 7px -35px; text-align: left;}
#pun-main > div.linkst > div.postlink
.punbb .post h3 .sharelink, #topic-modmenu >p> span{display: none;}
#pun-viewtopic div.post h3 strong::before {content: "post # ";}
#pun-viewtopic .post h3 span a, .punbb .post h3 strong {font: 500 14px "oswald" !important; color: #a59b91 !important; text-shadow: 1px 0 0 #000; padding: 3px 13px; text-transform: lowercase;}
#pun-viewtopic .post h3 span a:hover, #pun-viewtopic .post h3 span a:active, #pun-viewtopic .post h3 span a:visited, #pun-viewtopic .post h3 span a:focus {olor: #919a6e !important; padding: 3px 13px 7px 13px;}

#pun-viewtopic .post h3 {background: url(http://forumstatic.ru/files/0010/9b/9c/64670.jpg); margin: 0 0 -20px 5px; width: 988px; height: 28px;}

.pfs {background: #333b1ce3; color: #bbb3ab; text-shadow: #000 1px 0 1px; text-align: center; margin: 7px 0 0px 0 !important;}
.pfs a {color: #bbb3ab !important; text-shadow: #000 1px 0 1px !important; font: 500 14px "cuprum" !important; text-transform: lowercase;}
.pfs a:hover, .pfs a:active {color: #999d81 !important; text-shadow: #000 1px 0 1px !important;}

.punbb .modmenu .container {margin: 0 0 7px 10px;}
.pun-modal .modal-inner, #pun-report .inner, #pun-reputation .inner, #pun-admin-award-form .inner {background-color: #beb6aceb !important;}

#tags .container {background-color: #c8bfb5cc; border: solid 1px #63534c54; box-shadow: 0 0 2px #f1ebe4; height: auto; margin-right: 5px; overflow-y: auto; overflow-x: auto; color: #130d0a; padding: 11px 10px 15px 15px !important;}
div#font-area.container {height: 190px;}

.Hoverbuttons {opacity: 0.6; -webkit-transition: all 1.3s;}
.Hoverbuttons:hover, .Hoverbuttons:active{opacity: 1; -webkit-transition: all 1.3s;}

#pun-index .category .tc2, #pun-index .category .tc3{display: none !important;}
.Tems_And_messages {display: inline-block; width: 125px; font: 11px "cuprum"; text-transform: uppercase; letter-spacing: 0px; word-spacing: 5px;}
.Add{display: none; background-color: transparent; visibility: hidden;}
.Tems_And_messages .right{/* float: right; */}

#pun .user-avatar.user-avatar .avatar-image {width: 33px; height: 33px; border-radius: 0px !important; border: 2px solid #4d5823 !important; margin: -2px 9px 2px -3px !important; opacity: 0.5 !important; -webkit-transition: all 1.3s;}
#pun .user-avatar.user-avatar .avatar-image:hover {opacity: 1 !important;}

.go-up, .go-down {display: none; position: fixed; z-index: 9999; cursor: pointer; opacity: 1;}
.go-up {top: 350px; margin-left: 974px !important; width: 31px; height: 70px;}
.go-down {top: 417px; margin-left: 974px !important; width: 31px; height: 53px;}
.go-down:hover, .go-up:hover {opacity: 1;}

.FNTslider {border-radius: 2px; position: relative; z-index: 1000; background: #dacec57; box-shadow: inset 0 0 1px #000; width: 130px; height: 5px; margin: 5px 150px 6px 6px !important; float: right;}
.FNTslider .before {height: 3px; border: solid 1px transparent; border-right: none 0; border-radius: 1px 0 0 1px; position: absolute; background: #563c2b; box-shadow: inset 0px 0 1px #000;}
.FNTslider .thumb {width: 6px; height: 11px; border-radius: 2px; position: relative; top: -3px; background: #563111; cursor: pointer;}

.banners {position: absolute; margin: -117px 0 0 17px !important; width: 951px; height: 70px; line-height: 17px; word-spacing: 2px; overflow-y: auto !important;}
.banners a {opacity: 0.5;}
.banners a:hover, .banners a:active, .banners a:focus {opacity: 1;}

.queu {position: absolute; top: -87px; left: 375px; width: 299px; height: 18px; color: #a09c97; text-shadow: 1px 0px 1px #000; font: 500 13px "cuprum"; text-align: center; overflow: hidden;}
.queue {position: absolute; width: 285px; height: 150px; top: -58px; right: 382px; color: #a09c97; text-shadow: 1px 0px 1px #000; font: 500 13px "cuprum"; line-height: 14px; text-align: justify; text-indent: 20px; padding: 6px 4px 6px 6px; overflow-x: hidden; overflow-y: auto;}
.queua {position: absolute; width: 300px; height: 41px; top: 78px; right: 43px; letter-spacing: 3px; padding: 5px; overflow: hidden;}

.spirit-navigation {height: 20px; width: 304px; top: 116px; right: 376px; display: inline-block; cursor: pointer; font-size: 0px !important; position: absolute; transition: all 0.3s ease-in-out 0s; background: transparent; text-align: center; line-height: 26px;}
.spirit-navigation.spirit-navigation:hover{background: url() no-repeat;}

#navigblock {width: 297px; margin-left: 349px; position: absolute; top: -59px; z-index: 999;}
.sslka {display: block;opacity: 0.98; padding: 6px; box-shadow: 0 0 0px 2px #0f17032b inset; background: url(http://forumstatic.ru/files/0010/9b/9c/37825.jpg) repeat bottom right;}

#pun .sslka a {white-space: nowrap; margin: 3px auto; border-radius: 2px; text-align: center; transition: all 0.3s linear 0s; display: block; padding: 3px; letter-spacing: 2px; text-transform: uppercase; width: 260px; color: #a8a89a; text-shadow: 1px 0px 1px #000; font: 11px "cuprum"; background-color: #171a0d94;}
#pun .sslka a:hover {width: 220px; letter-spacing: 1px; background-color: #161a07db;}

#slideshow {margin: 0 auto; width: 275px; height: 90px; position: relative;}
#slideshow #slidesContainer {margin: 0 auto; width: 275px; height: 90px; overflow: hidden; position:relative; left: 48px;}
#slideshow #slidesContainer .slide {margin: 0 auto; width: 275px; height: 90px;}
.control {display: block; width: 18px; height: 48px; text-indent:-10000px; position: absolute; cursor: pointer;}
#leftControl {top: 40px; left: -38px; background:transparent url(http://forumstatic.ru/files/0010/9b/9c/53646.png) no-repeat 0 0;}
#rightControl {top: 23px; right: -68px; background:transparent url(http://forumstatic.ru/files/0010/9b/9c/25430.png) no-repeat 0 0;}

.person {width: 70%; text-align: right; overflow: hidden; color: #a09c97; text-shadow: 1px 0px 1px #000; font: 500 13px "cuprum"; line-height: 14px;}
.person a {color: #74845f !important; text-shadow: 1px 0px 1px #000 !important;}
.person a:active, .person a:hover, .person a:focus {color: #8fa572 !important;}

.my-tabs {top: 70px !important; margin: 10px 0 0 130px !important;}
.my-tabs>.tab-a,.my-tabs>span {max-height: 650px;}

/*************************************************************
A - SETUP
**************************************************************/

@import url(http://forumstatic.ru/files/0010/9b/9c/64240.css);

html, body {margin: 0; padding: 0;}
.punbb * {margin: 0;}
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {padding: 0; list-style: none;}
.punbb img {border: none;}
.punbb .main table {table-layout: fixed; width: 100%;}
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}
p[class="checkfield"] *, div[class="checkfield"] *, fieldset[class="radiofield"] * {height: 1.8em; vertical-align: middle;}

 /* A3 Text setup
-------------------------------------------------------------*/

body {font-size: 96%;}
.punbb {font: normal 68.75% verdana, arial, helvetica, sans-serif;}
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {font: 1em verdana, arial, helvetica, sans-serif;}
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {font-size: 1em; font-weight: normal;}
.punbb h1 span, .punbb h2 span, .punbb legend span {font-size: 1.1em;}
.punbb pre {font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;}
.punbb address, .punbb em {font-style: normal;}
.punbb .post-content em {font-style: italic;}
.punbb .post-content em.bbuline {font-style: normal; text-decoration: underline;}
.punbb a {text-decoration: underline;}
.punbb optgroup {font-weight: bold;}

/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

#pun:after, .punbb .container:after, .punbb .post-links ul:after, .punbb .main div.inline:after, .punbb .post-box:after, .punbb .linksb:after {clear: both; content: "."; display: block; height: 0; visibility: hidden; overflow: hidden; line-height: 0.0; font-size: 0;}
.acchide, #pun-index #pun-main h1, #pun-navlinks h2, #pun-pagelinks h2, #pun-status h2, #pun-ulinks h2, .punbb .forum h2, .punbb .multipage .topic h2, .punbb dl.post-sig dt span, .punbb p.crumbs strong, .punbb .divider hr, .punbb .required label em, .punbb .formsubmit label, .punbb .submitfield label, .punbb .modmenu label, #pun-userlist .main h2 {font-size: 0; height: 0; width: 0; line-height: 0.0; position:absolute; left: -9999px; overflow: hidden;}

/* A5 Basic page layout and borders
-------------------------------------------------------------*/

#pun {margin: auto; width: 1052px; position: relative;}
.punbb {float: auto; width: 998px; height: auto; margin-top: 200px; margin-bottom: -100px;} 

.punbb .section, .punbb .main {margin-bottom: 0;}
.punbb .category, .punbb .post {/* margin-top: 0.4em; */}
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {margin-top: -5px;}
#pun-post .topic {margin-top: 1em;}
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post {border-style: none none solid none; border-width: 0px 0px 2px 0px;}
.punbb .container {border-style: solid; border-width: 1px;}
.punbb .section h2, #pun-main h2, #pun-stats h2, #pun-debug h2 {margin: 0 0 0 5px; width: 988px; height: 22px; background: url(http://forumstatic.ru/files/0010/9b/9c/84503.jpg); text-align: center; padding-top: 2px;}
#pun-stats h2 span, .category h2 span {color: #b8b0a8; text-shadow: 1px 0px 1px #000000d1; font: 14px "medieval" !important; text-transform: uppercase !important;}
#pun-announcement.section h2 span {display: none;}


/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/

/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

.punbb .post-content {padding: 0; margin: 0; width: 100%; overflow: hidden;}
.punbb .post-sig dt {border-top: 1px solid #34200c38; display: block; margin: 8px 100px;}
.punbb .post-content p {margin: 0; padding: 0 0 5px 0; line-height: 160%; text-align: justify;}
.punbb .post-content img {vertical-align: text-bottom;}
.punbb .post-content img.postimg {vertical-align: middle;}
.punbb .post-content .blockcode, .punbb .post-content blockquote {width: 100%; overflow: hidden;}
.punbb .post-content .scrollbox {width: 100%; overflow: auto;}
.punbb .post-content .quote-box, .punbb .post-content .code-box {padding: 8px 8px 5px 11px; margin: 0.5em 0.1em 0.7em 0.2em; border-style: none;}
.punbb .quote-box cite, .punbb .code-box strong.legend {display: block; font-weight: bold !important; font-style: normal !important; border-bottom: 1px dashed #251a1a8c !important; padding: 0px 0px 6px 8px; margin-bottom: 5px; letter-spacing: 1px;}

/* B2 Information boxes
-------------------------------------------------------------*/

.punbb .info-box {padding: 1.1em 1.7em 1em 1.7em; border-style: solid; border-width: 1px; margin: 0 0 1.1em 0;}
.punbb .info-box * {padding: 0 0 0.7em 0;}
.punbb #pun-main .info-box .legend {font-size: 1.1em; font-weight: bold;}

/* B3 Pagination and posting links
-------------------------------------------------------------*/

.punbb .linkst {float: left; position: relative; width: 100%; font-size: 1.1em; height: 0;}
.multipage {margin-top: 3em;}
.linkst .pagelink {position: absolute;top: -2.1em; bottom: 20px; left: 1em;width: 24em;}
.linkst .postlink {position: absolute; top: -2.1em; right: 20px; width: 16em; text-align: right; font-weight: bold;}
.punbb .linksb {text-align: right; padding: 0.4em 1em 0.5em 1em; font-size: 1.1em;}
.linksb .pagelink {color: #181738; float: left; width: 24em; text-align: left;}
.linksb .postlink {float: right; width: 16em; font-weight: bold; margin: 0 0 3px 0; padding-right: 11px;}
.subscribelink {clear:both; padding: 0.3em 0 0.5em 0;}
.main h1 {color: transparent;}


/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/

.punbb .formal .container {padding: 0 1.3em 0.3em 1em;}
.punbb .formsubmit {padding: 0 0 0 1.7em; margin: 0;}
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {margin: 0 0.6em 0 0;}
.punbb fieldset {border-style: solid; border-width: 1px; padding: 0 18px 0 18px;}
.punbb fieldset legend {padding-top: 15px; margin: 0 0 0 11px; font-size: 1.1em;}
.punbb fieldset legend span {padding: 0; margin: 0;}
.punbb fieldset fieldset {border-style: none; margin: 0; padding: 0 0 8px 0;}
.punbb .fs-box {padding: 1em 0 0.8em 0;}
.punbb .fs-box p, .punbb .fs-box fieldset {padding-bottom: 5px;}
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {float: left; margin-right: 1em;}
.punbb .inline .infofield {clear: both; padding-top: 10px;}
.punbb .datafield br {display: none;}
.punbb .required label, .punbb .datafield span.input {font-weight: bold;}
.punbb .datafield span.input a {font-weight: normal;}
.punbb .areafield span.input, .punbb p.longinput span.input {display: block; padding: 0 12em 0 0; height: 100%; /* For IE */}
.punbb textarea, .punbb .longinput input {width: 64%; margin: 0;}
.punbb .hashelp {position: relative;}
.punbb .helplinks {display: block; position: absolute; top: 1em; right: 0; font-weight: normal; width: 36%;}
.punbb #profile .helplinks {top: 1.5em;}
.punbb .helplinks span {display: block; padding-bottom: 0.2em;}
#pun-post .formal .info-box li { padding-left: 4px; list-style-type: square; list-style-position: inside; line-height: 1.5; margin: 0;}

/* C2 Table layout
-------------------------------------------------------------*/

.punbb .main .tcr a {font: 15px "cuprum" !important;}
.punbb .main .tcl {text-align: left; width: 55%;}
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {text-align: center; width: 8%;}
.punbb .main .tcr {overflow: hidden; text-align: left; width: 25% !important;}
#pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {width: 40%;}
#pun-searchtopics .main .tc2 {text-align: left; width: 20%;}
#pun-debug table .tcl {width: 15%; white-space:normal;}
#pun-debug .tcr {width: 90%; white-space: normal;}
.punbb td span.youposted {font-weight: bold; margin-left: -1em; position: absolute;}
.punbb td .modlist {display: none; visibility: hidden; /* padding-top: 0.3em; */}
.punbb .main td {border: none; padding: 0.8em 1em;}
.punbb .main th {padding: 6px 1em 6px 1em; border: none; color: #3F4545; font-weight:normal !important;}
.punbb .main .tcl {border-left-style: none; border-left-width: 0;}

.punbb td div.tclcon {padding: 0 15px 5px 15px;}
.punbb div.icon {float: left; display: block; margin: -10px 0 0 -31px !important; padding-right: 0;}
#pun-userlist .main .tcl.username {width: 20%;} /* имя */
#pun-userlist .main .tc2.title {width: 30%;} /* статус */
#pun-userlist .main .tc3.relation, #pun-userlist .main .tc3.posts {width: 10%;} /* репа, сообщения */
#pun-userlist .main .tc3.registered, #pun-userlist .main .tc3.last_visit {width: 15%;} /* регистрация, посл.визит */

/* C3 Topics
-------------------------------------------------------------*/

.punbb .post .container {padding-bottom: 1px; border-style: none;}
.punbb .post h3 {background-color: transparent; border-color: transparent;}
.punbb .post h3 strong {float: right; width: 125px; text-align: right; margin: -5px -9px 0 0;}
.punbb .post .post-author ul, .punbb .post .post-author p {padding: 0 1em 1em 1em; line-height: 140%;}
.punbb .post h3 span {display: block; margin-left: 25em; padding: 0.5em 1em;}
.punbb .post .post-author {float: left; width: 218px; margin-left: 4px;}
li.pa-online {line-height: 0.8em; padding-left: 0.4em;}
.punbb .post-body {margin-left: 22.1em; border-left-style: solid; border-left-width: 1px; padding: 0 0 1px 0;}
.punbb .post-box {padding: 8px; text-align: justify; background-color: #d5cbbf66; border: 1px dashed #00000026; margin: 30px 14px 0px 2px;}
.punbb fieldset .post-box {margin-bottom: 0.8em;}
.punbb .post-links {margin-left: 19em; border-left-style: solid; border-left-width: 1px;}
.punbb .post-links ul {padding: 10px 1em 0 0; height: 2em; line-height: 2.5em; margin-left: -19em; border-top-style: dashed; border-top-width: 1px; background: transparent; text-align: right;}
.punbb .post-links li {display: inline; padding-left: 1em;}
.pl-email, .pl-website {float: left;}
.punbb .clearer {clear: both; height: 0; font-size: 0;}

/* C5 Message boxes
-------------------------------------------------------------*/

.punbb .info .container {padding: 0.8em 1em;}
.punbb .info .container .backlink {padding-top: 0.8em;}

/* C6 Profile
-------------------------------------------------------------*/

#profile .container {padding-left: 18.6em;}
#profilenav {float: left; text-align: center; width: 14em; padding: 13px 0 0 0; margin: 22px 0 0 -15.3em; display: inline; font-weight: bold; background-color: #bab0a554; box-shadow: inset 0px 0px 2px 0px #796a5d; outline: 1px solid #e3d4c894;}
#profilenav li {padding-bottom: 0.8em; font-weight: bold;}
#viewprofile ul, #profilenav ul {border-style: solid; border-width: 1px; padding: 1.3em 18px 0 18px; margin: 0 0 1em 0;}
#viewprofile h2, #profilenav h2 {width: 125px !important; background: transparent; border: none; padding: 0 0 0 0; margin: 0 14px -0.6em 11px;}
#viewprofile h2 span, #profilenav h2 span {padding: 3px 27px; margin: 0 0 0 6px; position: relative; background-color: #e6e0d654; font-weight: 700;}
#viewprofile li, #setmods dl {padding: 0 0 0 16em; margin-bottom: 0.2em;}
#viewprofile li span {float: left; width: 14em; margin-left: -16em; padding: 0.5em 1em; font-weight: bold;}
#setmods dt {float: left; width: 14em; margin-left: -16em; padding: 0.8em 1em; font-weight: bold; display: inline;}
#viewprofile li strong, #viewprofile li div, #setmods dd {display: block; padding: 0.5em 1em; font-weight: normal;}
.punbb img.avatardemo {float: right; margin: 0 0 0.8em 1.8em;}

/* C7 User list
-------------------------------------------------------------*/

#pun-userlist .formal, #pun-userlist .formal .container {border-bottom: none; margin-bottom: 0;}
#pun-userlist .usertable .container {padding: 10px 0 20px 30px; border-top: none;}
#pun-userlist .usertable table {border-style: solid; border-width: 1px;}


/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/

/* D1 Logo and description
-------------------------------------------------------------*/

#pun-title {margin: 0; border-style: none none none none; border-width: 1px 1px 0 1px;}
#pun-title h1 {display: block; height : 40px; padding: 2em 1em 0 1em;}
#pun-title .container {border-style: none none none none;}
#pun-title h1 span {font-size: 1.5em; display: none;}

/* D2 Page navigation
-------------------------------------------------------------*/

#pun-pagelinks {position: absolute; top: -15px; left: 0; margin: 0; border: none; padding: 0; width: 100%;}
#pun-pagelinks .container {background: transparent; border: none; padding: 0;}
#pun-pagelinks .container li {display: inline;}
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {height: 2em; line-height: 2em; padding: 0; font-size: 1.2em; margin-left: -9999px; display: block; float:left; width: 100%;}
#pun-pagelinks a:active, #pun-pagelinks a:focus {position: relative; margin: 0;}
#pun-pagelinks li a span {display: block; margin: 0 1em;}

/* D3 Forum navigation
-------------------------------------------------------------*/

#pun-navlinks {border: none; margin: 0px;}
#pun-navlinks .container {position: absolute; border-style: none; border-width: 0; text-align: center; width: 998px; top: 177px; margin-left: 0;}
#pun-navlinks li {display: inline; padding-right: 0;}
#pun-navlinks li a {font-size: 1.0em;}

#pun-navlinks a {color: #58331d; text-shadow: 0px 0px 1px #e0d7ce; font: 14px "medieval" !important; text-transform: uppercase !important; text-decoration: none; padding: 1px 4px;}
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {color: #434c1c; text-decoration: none;}

/* D4 User links
-------------------------------------------------------------*/

#pun-ulinks {margin: 0px;}
#pun-ulinks .container {border-top: none; position: absolute; width: 998px; top: 207px; text-align: center;}
#pun-ulinks li, #pun-ulinks li a {display: inline; border-left-style: solid; border-left-width: 0px;}
#pun-ulinks li a {padding: 0 0.2em;}

#pun-ulinks a {white-space: nowrap; color: #533b28; text-shadow: 0px 0px 1px #e0d7ce; font: 500 14px "oswald" !important; text-transform: lowercase;}
#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {color: #71482b; text-shadow: 0px 0px 1px #e7dfd6;}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

#pun-status, #pun-status .container {text-align: left; border-bottom: none; margin: 18px 0 0 2px;}
#pun-status .container {position: absolute; top: 226px; right: 42px; width: 420px; font: 10px "cuprum" !important; text-transform: uppercase; letter-spacing: 0px; text-align: right; color: #100c09 !important; text-shadow: 1px 0 1px #d7cbbf !important;}
#pun-status .container strong {font-weight: bold; color: #331a0e;}
#pun-status .container a {font: 700 10px "cuprum" !important; text-transform: uppercase; color: #432415 !important; text-shadow: 1px 0 1px #d7cbbf !important;}
#pun-status span {white-space: nowrap; margin-right: 0.5em; display: inline-block;}
#pun-crumbs1 {font-weight: bold; overflow: hidden;padding: 0 7px; margin: 0 0 18px 0 !important;}
#pun-crumbs1 p.container {border-top: none; text-align: left; padding: 3px 0 1px 13px; font: 700 10px "cuprum" !important; text-transform: uppercase; letter-spacing: 1px; color: #2f201c !important; text-shadow: 1px 0 1px #d7cbbf !important; background-color: #baaea15e;}
#pun-break1 {border-style: solid none; border-width: 1px 0; height: 0; margin: 0 1em; position: relative; z-index: 1;}

/* D6 Announcement
-------------------------------------------------------------*/

#pun-announcement h2 {padding: 0; margin: 0 1em -3.5em 1em; border-style: none none solid none; border-width: 0 0 1px 0; position: relative; font-weight: bold;}
#pun-announcement h2 span {display: block; padding: 1em 0 0.8em 0; border-bottom-style: solid; border-bottom-width: 1px;}
#pun-announcement .container {padding: 8.5em 1em 1em 1em; margin-left: -10px;}

/* D7 Statistics
-------------------------------------------------------------*/

#pun-stats .container {padding: 0 9px; margin: 15px 0 5px 0; display: inline-block; width: 975px;}
#pun-stats li.item1, #pun-stats li.item2, #pun-stats li.item3, #pun-stats li.item4 {text-align: center; display: inline-block; padding: 3px 0; margin: 0 3px; background-color: #baaea15e; font: 11px "cuprum"; text-transform: uppercase; color: #130f0e; text-shadow: 1px 0px 1px #cfc3b9 !important;}
#pun-stats li.item1, #pun-stats li.item2 {width: 179px;}
#pun-stats li.item3 {width: 280px;}
#pun-stats li.item4 {width: 297px;}
li#onlinelist {border-top-style: solid; border-top-width: 1px; float: left; padding: 3px 4px 10px 4px; line-height: 150%;}
li#onlinelist div {border-top-style: solid; border-top-width: 1px; padding: 0.7em 0 0 0;}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

#pun-qjump {margin: 0; border: none; width: 50%; position: relative; float: left;}
#pun-qjump .container {border: none; background: transparent; padding: 0.8em 1em;}
#pun-about {margin-top: 0;}
#pun-about .container {border-top-style: none; text-align: center; font-size: 10px !important; text-transform: lowercase; line-height: 10%; padding: 0; position: absolute; bottom: 48px; right: 53px;}
#pun-about p span {display:block; padding-left: 50%; margin-top: 0; padding-bottom: 10px;}
#pun-crumbs2 {font-weight: bold; overflow: hidden; margin-bottom: 0; padding: 0 14px; margin: 12px 0 0 0 !important;}
#pun-crumbs2 .container {border-bottom: none; border-top: none; text-align: left; padding: 3px 0 1px 13px; font: 700 10px "cuprum"; text-transform: uppercase; letter-spacing: 1px; color: #2f201c !important; text-shadow: 1px 0 1px #e4d8cc !important; background-color: #baaea15e;}
#pun-break4 {margin: -2px 1em; border-style: solid none; border-width: 1px 0; position: relative; height: 0; z-index: 1;}
div.punbb-admin #pun-about .container {border-top-style: solid; border-top-width: 0;}

/* D9 Help file
-------------------------------------------------------------*/

#pun-help .formal .info-box h3.legend {border-bottom-style: solid; border-bottom-width: 1px; padding-bottom: 0; margin-bottom: 0.8em;}
#pun-help .formal .info-box h3.legend span {padding-bottom: 0.6em; display: block; border-bottom-style: solid; border-bottom-width: 1px; font-size: 1.1em;}
#pun-help .formal p, #pun-help .formal dd {margin-bottom: 1em;}
#pun-help .formal ul, #pun-help .formal dl {padding: 0 0 0 1em;}
#pun-help .formal li {padding: 0; line-height: 130%;}
#pun-help .formal li * {vertical-align: text-top;}
#pun-help .formal dt span {font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace;}
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {padding-bottom: 0;}

#pun-title table tbody tr .title-logo-tdr, .admin-advert-block {position: absolute; top: -70px; left: 180px; z-index: 1;}
a.permalink {display: inline-block; position: relative; z-index: 10;}
.punbb textarea, .punbb input {outline: 0 none transparent! important;}
