.custom_tag_indent {
display: inline-block;
width: 20px;
height: 20px;
    }

#tr-list h1 {background:none;width:auto}

#tr-list input[name="n"], #tr-list input[name="u"], #tr-list input[name="c"] {
    border-radius: 0px;
}

#tr-list {
    background: #6b5142;
    box-shadow: 0 0 3px 0px #000;
    border: 1px solid #ccbfb7;
    font-size: 11px;
    color: #d0d0d0;
    padding: 10px;
}


#tr-list input[name="n"]::placeholder, #tr-list .input[name="u"]::placeholder
{
    background: inherit;font-size: inherit;
}


#mask_dialog .inner {
    cursor: default;
    margin: 0;
    width: 760px;
    max-width: 99%;
    max-height: 90%;
    overflow-x: auto;
    z-index: 100;
    padding: 8px;
    background: #ded2bc;
    box-shadow: 0px 0px 10px 5px #654b3c inset, 0px 0px 5px 1px black;
    border: 1px solid #938c80;
    color: #2e2722;
}


#mask_dialog .hv-form-block input, #mask_dialog .hv-form-block textarea {
    width: 97%;
}

#pun-viewtopic #post #post-preview > legend {display:block;}
#pun-viewtopic #post #post-preview > .fs-box img {display:none;}

#pun-viewtopic .post.Dise .container div.post-links {
    display: block !important;
}

#forumVersions {display: inline-block;
margin-left: 4px;
position: relative;
top: 2px;}

#forumVersions a {cursor:pointer;}


a[data-style="full"] {display:none}



.mobile #forumVersions {display:block;margin:10px 0;margin-left: 0px;top:0;}
.mobile a[data-style="mobile"] {display:none}
.mobile a[data-style="full"] {display:block;}

.mobile img {
    max-width: 100%;
}

.mobile textarea {width: calc(100% - 12px) !important;}

.mobile input {max-width: calc(100% - 14px);
border-left: none;
border-right:none;}

.mobile #pun-viewtopic .post-links .mobileSpoiler > p {color: #9c2c00;
text-decoration: underline; text-align:center;
padding: 11px 0px;}

.mobile #pun-viewtopic .post-links .mobileSpoiler > p:before {content:"+"}

.mobile #pun-viewtopic .post-links .mobileSpoiler > p.open:before {content:"-"}

.mobile,
.mobile #pun,
.mobile .punbb {
    width: 100% !important;
    margin: 0;
    padding: 0;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    overflow-wrap: break-word;
    float: none;
}



.mobile {
    position: relative;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overflow-y: scroll !important;
    z-index: 1;
min-width: 0px;
max-width: 941px;
    margin: 0 auto;
min-width: auto;
}

.mobile #pun {
    background: url(http://forumstatic.ru/files/001a/af/e5/62687.png?v=1) center top no-repeat;
}

.mobile .punbb {
    background: #ded2bc;
box-shadow: 0px 0px 14px 0px #55301a inset;
position: relative;
top: 65px;
}

.mobile #pun-navlinks {margin: 0px;
padding: 5px;
text-align: center;
background: #20170e;
border: 1px solid #4a3219;
box-shadow: 0px 0px 5px 0px black inset;
line-height: 2;}

.mobile #pun-navlinks ul.container li {    position: initial;
padding: 0px 6px;
margin-top: 0px;
}

.mobile #pun-ulinks {
position: initial;
background: #4f463a;
border: 1px solid #2e2f31;
padding: 10px;
line-height: 2;
}

.mobile #pun-ulinks a {
    color: #cacaca;
    text-shadow: none;
}


.mobile #pun-status {
    margin: 0px;
    padding: 10px;
    box-shadow: 0px 5px 5px -3px #55301a inset;
}

.mobile #pun-status .status-right {
    float: none;
    margin-top: 5px;
    display: block;
}

.mobile #forumVersions, .mobile #annRaiting {position: inherit;}


.mobile .category h2, .mobile #pun-stats h2, .mobile .main h1 {
margin: 0px;
background: #20170e;
min-height: 17px;
box-shadow: 0px 0px 3px 0px black;
width: 100%;
height: auto;
padding: 5px 0px;
}

.mobile .category table, .mobile .forum table {
    margin-left: 0px;
    width: 100%;
}


.mobile .category table tr, .mobile .forum table tr {border-bottom: 3px double #a6a094;}

.mobile .category table tr:last-child, .mobile .forum table tr:last-child {
border-bottom:none;
box-shadow: 0px 3px 4px -3px #665e51 inset;}



.mobile .category .tcl, .mobile .category .tcr, .mobile #pun-viewforum .tcl, .mobile #pun-viewforum .tcr, .mobile #pun-searchtopics .tcl, .mobile #pun-searchtopics .tcr {width:auto!important; display:block;}

.mobile .category .tcr, .mobile #pun-viewforum .tcr, .mobile #pun-searchtopics .tcr {text-align:right}

.mobile .subforums {
margin: 15px 0;}

.mobile #pun-index .tcl {
    padding: 10px;
}

.mobile #pun-index .tcr {
    padding: 10px 20px;
}

.mobile #pun-stats h2 span, .mobile .main h1 span {
	position: initial;
}

.mobile #pun-stats .statscon {padding: 0px 10px;
margin-top: 10px;}


.mobile  #pun-index #pun-stats .item3, .mobile #pun-index #pun-stats .item4 {text-align: left;
position: inherit;
top: 0px;
margin-left: 0px;}

.mobile  #pun-index #pun-stats .item1,.mobile  #pun-index #pun-stats .item2,.mobile  #pun-index #pun-stats .item3, .mobile #pun-index #pun-stats .item4 {margin-bottom:10px;}

.mobile  #pun-stats .onlinelist {margin-top: 20px;}

.mobile  #pun-stats #statistic-other span {display: inline-block;
min-width: 48%;
padding: 6px 0px;}

.mobile .modmenu {
    width: 100%;
    margin: 0px;
    background: none;
text-align:left;
border-top: 3px double rgba(115, 109, 100, 0.5);
}

.mobile .modmenu .container > strong {float:none;}

.mobile .punbb .user-avatar {
    float: right;
    margin: 0px 0px 0px 12px !important;
    height: 30px !important;
    width: 30px !important;
}

.mobile #pun-userlist .user-avatar, .mobile #pun-messages #messages tr .user-avatar {float:left;
margin: 0px 12px 0px 0px !important;}

.mobile .punbb .user-avatar .avatar-image {
    height: 30px !important;
    width: 30px !important;
    margin: 0px 10px 0px 0px !important;
}


.mobile #pun-status h2, .mobile #pun-userlist.usertable .tc2, .mobile #pun-userlist .usertable .posts, .mobile #pun-userlist .usertable .registered,  .mobile #pun-userlist .usertable .relation,  .mobile #pun-userlist .usertable .tc2, .mobile #pun-userlist .usertable .num_posts, .mobile #pun-statistic .tc-title, .mobile #pun-statistic .tc-registered, .mobile #pun-statistic #administration .tc-posts, .mobile #pun-statistic #most_active .tc-percent, .mobile #pun-statistic #most_connected .tc-posts, .mobile #pun-statistic #most_invitations .tc-lastvisit, .mobile #pun-statistic #most_viewed_topics .tc2, .mobile #pun-statistic #most_viewed_topics .tc3, .mobile #pun-statistic #most_replied_topics .tc2, .mobile #pun-statistic #most_replied_topics .tc3, .mobile #pun-viewforum .tc2, .mobile #pun-viewforum .tc3, .mobile #pun-viewforum thead, .mobile #pun-searchtopics .tc2, .mobile #pun-searchtopics .tc3, .mobile #pun-searchtopics thead, .mobile  .post > .container:after, .mobile .pa-online, .mobile .pa-fld5, .mobile .togglepa-Container img, .mobile .div-info img, .mobile .pa-replies, .mobile #pun-messages #messages .fs-box thead {display:none!important;}


.mobile #pun-userlist .tcl {width:50%}

.mobile #pun-statistic .tc3 {
    width: 45%;
}


.mobile .postlink.long {width: auto;}

.mobile .linkst, .mobile .linksb {margin:0;width:100%;background: #130f0c;}

.mobile .linkst noindex, .mobile .linksb noindex, .mobile .linkst .postlink, .mobile .linksb .postlink {margin-right:0px;}

.mobile .main > .section > .container {
    padding-top: 0px;
}

.mobile #pun-search .main .formal fieldset .inputfield, .mobile #pun-search .main .formal fieldset .selectfield {display: inline-block;
margin-right: 0px;
width: 100%;}

.mobile #pun-viewforum .forum tr:last-child, .mobile #pun-searchtopics .forum tr:last-child, .mobile  #pun-messages #messages .fs-box tr:last-child {border-bottom:0px;}

.mobile .tclcon .byuser {position:initial;margin: 5px;}

.mobile .modmenu span {float: inherit;
display: block;
text-align: right;
margin-top: 15px;
margin-bottom: 10px;}

.mobile #pun-viewtopic .modmenu span {text-align:right;}

.mobile #pun-viewtopic .linksb {
height: auto;
min-height:40px;}

.mobile #pun-viewtopic .linksb .subscribelink {float: none;
margin-right: 0;
padding: 20px 0px;
font-size: 10px;
margin-top: 11px;
text-align: right;}

.mobile .fnt {
    position: initial;
    margin-left: 40px;
}

.mobile .linksb .fnt {display:none;}


.mobile .post > .container {width:auto;
position: initial;
border-left: none;
border-right: none;
margin: 0px;
}

.mobile .post-author {
    width: 100%;
display: block;
position: initial;
margin: 0px;
float: none;
padding: 0;
}

.mobile .post-author > ul {
margin: 0px;
position:relative;
padding-left: 75px;
width: calc(100% - 75px);
text-align:left;
border:none;
border-top: 1px solid #938c80;
border-bottom: 1px solid #938c80;}

.mobile .pa-author {
float:left;
}

.mobile .Dise .pa-author {
float:none;
}

.mobile .pa-avatar {
display:none;
}

.mobile .pa-avatarMobile {
    width: 75px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background-position: left center;
    background-size: cover;
    background-repeat: no-repeat;
}

.mobile .pa-fld1 {
height: auto;
background: none;
border: none;
color: #aeaeae;
float: right;
}


.mobile .pa-fld1 img {display:none;}

.mobile .post-body {
    width: 100%;
    position: initial;
    display: block;
    padding: 0px;
border-left: none!important;
border-right: none!important;
margin:0px;
}

.mobile .pa-title {
    clear: both;
}

.mobile .post-ul-Sp {
    text-align: center;
}

.mobile .post-box{
    padding: 10px;
}

.mobile .post-box iframe {max-width: 100%;}

.mobile .post h3 {
    position: initial;
    margin: 5px;
background: none;
border: none;
border-top: 3px double rgba(115, 109, 100, 0.5);
padding-top: 8px;
}


.mobile .post h3 strong {
    border: none;
    background: none;
}

.mobile div.post-rating p {
    float: none !important;
    display: block;
    text-align: right;
}

.mobile .post-box div.post-vote p {float: none !important;
display: block;
text-align: right;}

.mobile .post-links {position: initial;
background: none;
width: 100%;
height:auto;
padding: 0px;
margin:0px;}

.mobile .post-links ul li {
text-align:left;
margin:0px;
float:none;
display:block;
position:initial;
}

.mobile .post-links li a {
    display: block;
    box-shadow: none;
    padding: 10px;
}


.mobile #pun-post .topic {width:100%;
margin: 0px;}

.mobile #pun-post .post {background:none;}

.mobile #pun-post .post-author, .mobile #pun-searchposts .post-author {margin: 0px;
width: 100%;
background: url(http://forumstatic.ru/files/001a/af/e5/36991.jpg) repeat #342a21;
height: auto;
box-shadow: 0px 0px 5px 0px black;
border-top: 1px solid #938c80;
border-bottom: 1px solid #938c80;}

.mobile #pun-post .post-author .pa-author, .mobile #pun-searchposts .post-author .pa-author {float:none;}

.mobile #pun-searchposts .post-author ul {padding:0px;text-align:center;width: 100%;}

.mobile #pun-messages .post-links ul li {margin: 0px 5px;
display: inline-block;}

.mobile .post-links ul li.pl-delete, .mobile .post-links ul li.pl-edit, .mobile .post-links ul li.pl-quote{
text-align: right;
}

.mobile .post-links .mobileSpoilerContainer {}


.mobile .post .post-body .bookmark {width: 12px;right: 0px;}

.mobile #pun-viewtopic #topic-users-in span {text-align:left;}

.mobile #topic-modmenu {
    border-top: 3px double rgba(115, 109, 100, 0.5);
}

.mobile #post-form {width:auto;position:initial;}

.mobile #form-buttons td {
    width: 9%;
    display: inline-block;
    margin: 6px 5px;
}

.mobile #mainReplyDopArea {margin: 20px 10px;}

.mobile #mainReplyDopArea input {
    margin-bottom: 20px;
}

.mobile #smilies-area, .mobile #video-area, .mobile #spoiler-area {width:auto}


.mobile #pun-post #post-form {position: initial;
margin-top: -14px;
margin-bottom: 7px;}


.mobile #register input, .mobile #register select, .mobile #pun-profile #profile input, .mobile #profile select, .mobile #punbbsearch input, .mobile #punbbsearch select,  .mobile select *, .post-box input {
    max-width: 70% !important;
}

.mobile #pun-search .main .formal, .mobile #pun-movetopic .main .formal, .mobile #pun-userlist .main .formal {
    margin-top: 0px;
padding:10px;
}


.mobile #pun-profile #profilenav {
    width: 100%;
    height: auto;
    margin: 0px;
    background: #000;
}


.mobile #pun-messages #messages table {width:100%;margin:0px;}


.mobile #pun-messages #profilenav h2:nth-child(3), .mobile #pun-messages #profilenav ul:nth-child(4) {position: initial;}

.mobile #pun-messages #profilenav h2:nth-child(3) {margin-top:10px;}

.mobile #pun-messages #profilenav ul li {display: block;
padding: 5px 0px;}

.mobile #pun-messages #messages .fs-box td.tcl {
    display: block;
    width: calc(100% - 20px) !important;
}

.mobile #pun-messages #messages .fs-box td.tc2,
.mobile #pun-messages #messages .fs-box td.tc3 {
    display: inline-block;
}

.mobile #pun-messages #messages .fs-box td.tc2.pmtc22 {width:40%!important; text-align:left;}

.mobile #pun-messages #messages tr .pmtc33 {width:30%!important;}

.mobile #pun-messages #messages tr .pmtc24 {
    padding: 10px 0px !important;
    width: auto !important;
}

.mobile #pun-messages .post-links .pl-email {display:none}
.mobile #pun-messages .post-links .pl-quote {float:left;}


.mobile #pun-messages #messages .fs-box tr {
    display: block;
border-bottom: 3px double #a6a094;
margin: 5px 0px;
background:none;
}


.mobile #pun-profile #profile #profile1 > fieldset, .mobile #pun-profile #profile #profile8 > fieldset, .mobile #pun-profile #profile form > fieldset {
    width: calc(100% - 20px);
padding: 5px 10px;
}

.mobile #pun-profile span.radio {display:block;}

.mobile #pun-profile span.radio label, .mobile #pun-profile p.checkfield label {display:inline;}

.mobile #pun-profile #profile #profile2 > fieldset p input, .mobile #pun-profile #profile #profile3 > fieldset p input {
    min-width: auto;
}

.mobile #pun-profile #profilenav li {display: inline-block;
font-size:inherit;
margin: 8px 0px;
width: 49%;}


.mobile #profile-left, .mobile #profile-right {width: 100%!important;
display: block;
text-align: center;
margin-top: 10px;}

.mobile #profile-right li {
   display: block;
margin-bottom: 4px;
padding: 0;
}

.mobile #viewprofile li span {
float: none;
display: block !important;
padding: 10px 10px 0px;
width: auto !important;
}

.mobile #profile-right li strong {padding:0px!important;}

.mobile #profile-title {margin-bottom: 5px;}

.mobile #pun-profile #del_file {
    margin: 20px 3px;
}

.mobile .multipage {border-left:0px;border-right:0px;}


.mobile #pun-announcement {width: 100%;
position: initial;
height: auto;
background: #120d07;}

.mobile #pun-announcement .container {padding: 15px 0px;}

.mobile #pun-announcement .container .html-box {height: auto;}

.mobile #annMainTabs, .mobile #annMainTabs .s-tabs > span.mainStabSpan, .mobile #annMainTabs .s-tabs {position: initial;width: 100%;
height: auto;
margin:0px;
padding:0px;}

.mobile #annMainTabs .stab {position: initial;
width: 100%;
margin:0px;
padding:0px;}

.mobile .s-tabs .mobileSpoilerContainer >span {
position: relative;
cursor: pointer;
display: inline-block;
text-transform: uppercase;
font-family: "Times New Roman", Times, serif;
color: #afb4bb;
text-shadow: 0px 0px 3px black;
}

.mobile .s-tabs .mobileSpoilerContainer >span.selected {
    color: #f2efea;
}

.mobile .s-tabs .mobileSpoilerContainer >.stab {
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
}


.mobile #smilies-area,
.mobile #image-area,
.mobile #imageup-area,
.mobile #imageattach-area,
.mobile #keyboard-area,
.mobile #video-area {
    max-width: 90% !important;
}

.mobile #smilies-area div[class^="t-"]:not(.t-0) {width:auto}

.mobile .info, .mobile .adinfofield, .mobile .infofield, .mobile #register {
    padding: 10px;
}

.mobile #sex.infofield {    padding: 0;}

.mobile #pun-announcement .mobileSpoilerContainer .s-tabs * {position: relative;
top: 0;
bottom: 0;
left: 0;
right: 0;}

.mobile #annLeft, .mobile #annRight {
    width: 100%;
height: auto;
background: #24201b;
padding: 5px 0px;
border-top: 1px solid #4f463a;
border-bottom: 1px solid #4f463a;
margin-top: 5px;
margin-bottom: 5px;
border-left: none;
border-right: none;
}

.mobile #annLeft #annHello {
    height: auto;
    padding: 10px;
}

.mobile #annLeft #annTops span {
    width: auto;
padding: 10px;
display: block;
float: none;
}

.mobile .annBut2 {
	font-family: bookman old style, serif;
	text-transform: uppercase;
	font-size: 13px;
	color: rgba(255, 241, 241, 0.55);
	text-shadow: 0px 0px 3px black;
	background: linear-gradient(rgb(255, 255, 255) 10%, rgb(89, 58, 0) 60%);
	background-clip: text !important;
	-webkit-background-clip: text !important;
	-moz-background-clip: text !important;
	-o-background-clip: text !important;
	font-weight: normal;
	width: auto;
	height: auto;
	box-shadow: none;
	border: none;
}

.mobile .annBut2.selected::before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border: 5px solid rgba(0,0,0,0);
	border-top: 5px solid #a6876b;
	position: absolute;
	bottom: 13px;
	left: 40%;
}

.mobile #annRight:after {
	display: none;
}

.mobile #annRight .ann_person div {
	display: block;
	width: calc(100% - 10px);
	height: auto;
}

.mobile .annButAdmin {
    margin: 5px;
    display: inline-block;
    padding: 5px 10px;
}

.mobile .stab.adminStab > p {
    margin-left: 92px;
}