@import url(style_cs.1755358325.css);
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@font-face {
    font-family: 'Remeslo';
    src: url('//forumstatic.ru/files/0018/3d/6c/86828.eot'),
    url('//forumstatic.ru/files/0018/3d/6c/86195.woff') format('woff'),
    url('//forumstatic.ru/files/0018/3d/6c/23291.woff2') format('woff2'),
    url('//forumstatic.ru/files/0018/3d/6c/92529.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/*************************************************************
Дизайн разработан командой ForumD.ru
Bruksa, Герда © 2020
Дизайн для форумов и техническая поддержка: https://forumd.ru/
**************************************************************/


/* Стили MyBB по умолчанию */

img {border:none; }
.punbb img.sigimage, 
.punbb .post-content img.postimg {max-width: 95% !important; margin: 0.4em 0;}
.punbb .main table {table-layout: fixed; width: 100%;}
.punbb .post-content td {border: none!important;}
.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}
.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 optgroup {font-weight: bold;}
.punbb * {margin: 0 auto;}
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {padding: 0; list-style: none;}
.punbb .fs-box p, .punbb .fs-box fieldset {padding: 0 0 0.8em 0;}

#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
}

select, a, .punbb input {
    cursor: pointer;
}


/* Основной стиль */
body {
font-family: 'Lora', serif;
margin: 0;
font-size: 15px;
color: #1d1408;
}

#pun-title h1, .category thead,
.category .iredirect td.tc2, .category .iredirect td.tc3, .modmenu .container span, a#ip-history {display: none;}

a {
color: #55432f;
text-decoration: none;
font-weight: 700;
}

a:hover, a:focus, a:active {
color: #151c0e;
font-weight: 700;
text-decoration: none;
}

img{
transition: all 0.3s;
-webkit-transition: all 0.3s;
-webkit-filter: sepia(30%);
-moz-filter: sepia(30%);
-ms-filter: sepia(30%);
-o-filter: sepia(30%);
}
img:hover{
-webkit-filter: sepia(0%);
-moz-filter: sepia(0%);
-ms-filter: sepia(0%);
-o-filter: sepia(0%);
}


h2 span, h1 span {
font-size: 17px;
font-weight: 500;
color: #aa8235;
line-height: 51px;
text-shadow: 2px 1px 0 #000;
-webkit-text-shadow: 2px 1px 0 #000;
white-space: nowrap;
text-overflow: ellipsis;
text-transform: uppercase;
overflow: hidden;
display: block;
max-width: 1000px;
}


/* Меню форума */
#pun-navlinks {
position: absolute;
top: 290px;
width: 100%;
left: 0;
}
#pun-navlinks .container {
text-align: center;
width: 1000px;
margin: 0 auto;
padding: 2px 0 0;
}
#pun-navlinks li {display: inline; padding: 0 0.5em;}
#pun-navlinks li a {
font-size: 0px;
color: #b59c6b;
text-transform: uppercase;
font-weight: 700;
}
#pun-navlinks li a:before {font-size: 14px;}
#pun-navlinks li a:hover {color: #856e42;}

#pun-ulinks {
position: absolute;
top: 330px;
width: 100%;
left: 0;
}
#pun-ulinks .container {
text-align: center;
width: 1000px;
margin: 0 auto;
padding: 0;
}
#pun-ulinks li {display: inline; padding: 0 0.3em;}
#pun-ulinks li a {
text-transform: uppercase;
color: #371c04;
font-weight: 900;
font-size: 12px;
}
#pun-ulinks li a:hover {color: #151c0e;}

#pun-ulinks li.item3 {display: none;}

#pun-status {font-size: 14px;}
#pun-status .container {margin-top: -19px;}
#pun-status span {
white-space: nowrap;
margin-left: 0.5em;
}

p.container.crumbs {
font-weight: 500;
padding: 10px;
font-size: 1.1em;
margin: 10px;
}

/* Форумные таблицы */
table .tcl {
width: calc(65% - 24px);
padding: 12px;
}
table .tc2, table .tc3, table .tcmod {
text-align: center;
width: 10%;
color: #442d25;
}
#pun-searchtopics table .tc2 {width: 20%;}

.forum table td.tc3 {color: #442d25;}
table .tcr {width: 30%; padding: 0 12px;}
#pun th {
    font-size: 0.7em;
    text-align: center;
    font-weight: 700;
    color: #856e42;
    text-transform: uppercase;
padding-bottom: 0px;
}
span.closedatafield {font-weight: bolder;}

tr.tr-divider.imp, td.td-divider {
color: #442d25;
text-transform: uppercase;
font-weight: 600;
padding: 6px;
}

.usertable td, #pun-online #pun-main td, hr, #wrapper ul, #similar-topics table td, .forum td {
border-bottom: 1px solid #d3bf9a !important;
}

#pun-index .user-avatar {
    width: 40px !important;
margin-top: 5px !important;
}


.punbb .user-avatar {position: relative !important;}

.punbb .user-avatar .avatar-image {
    border-width: thin;
    border-radius: 0px !important;
    border-color: #856e42;
    border-style: solid;
    height: 36px !important;
    width: 36px !important;
    opacity: 0.85 !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    margin-left: 1px !important;
    margin-top: 2px !important;
}

.punbb .user-avatar .isonline {
border-radius: 0% !important;    
top: 32px !important;
    right: -3px !important;
    background: #b7ac8f !important;}

#pun-index .user-avatar .isonline {
    right: 1px !important;
}

div#pun-about {
    text-align: center;
    font-size: 12px;
}

.subforums {padding: 5px;
    background-color: rgba(169,148,104,0.3);
    border: 1px solid rgba(169,148,104,0.8);
    margin: 10px auto;
    text-transform: uppercase;}

/* Пагинация и кнопки */
.multipage {
padding: 36px 0;
position: relative;
}
.linkst .pagelink {position: absolute; top: 5px; left: 0;}
.linkst .postlink {
text-align: right;
position: absolute;
right: 0;
top: 5px;
text-transform: uppercase;
}
.linksb .pagelink {position: absolute; bottom: 5px; left: 0;}
.linksb .postlink {
text-align: right;
position: absolute;
right: 0;
bottom: 5px;
text-transform: uppercase;
}

.linksb .subscribelink {
text-align: right;
position: absolute;
right: 10px;
margin-top: -31px;
 text-transform: uppercase;
}

.linksb .subscribelink a {font-size:15px;}

.modmenu .container span.fastnav {display: block;}



/* Иконки: общие настройки */
.forum div.icon, .forum TR.inew Div.icon {
margin-top: 0px;
float: left; 
display: block; 
margin-left: 0px;
margin-right: 8px;
width: 33px;
height: 32px;
}

.category div.icon, .category TR.inew Div.icon {
margin-top: 3px;
float: left; 
display: block; 
margin-left: 0px;
margin-right: 8px;
width: 61px;
height: 60px;
}

/* Главная */
.category .tcl h3 a {
color: #775d33;
position: relative;
}

.category .tcl h3 a:after {
    display: block;
    content: "";
    background-color: #775d33;
    height: 3px;
    width: 0%;
    left: 50%;
    position: absolute;
    -webkit-transition: width .3s ease-in-out;
    -moz--transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
}
.category .tcl h3 a:hover:after,
.category .tcl h3 a:focus:after {width: 100%;}
.punbb #pun-category1 {margin-top: 0;}
.punbb .category, #pun-stats {margin-top: 1em;}

.category tr,
#pun-stats li {
background: rgba(57, 25, 4,.1);
box-shadow: 0 0 0 1px #b7ac8f inset, 0 0 5px 0 #f3e6cd inset, 0 0 10px 0 #d3bf9a inset, 0 0 3px 0 #9f9287;
}
.category tr {
display: block;
margin: 10px 5px;
width: calc(100% - 10px);
position: relative;
}

.category td {display: inline-block; vertical-align: top;}
.category td.tc2, .category td.tc3 {
position: absolute;
color: #856e42;
font-size: 14px;
top: 56px;
text-align: left;
}
.category td.tcr {width: calc(35% - 30px); padding: 12px;}
.category td.tc2 {right: 172px; width: 100px;}
.category td.tc3 {right: 22px; width: 150px;}
.category td.tc2:before {content: 'Тем: '; text-transform: uppercase;}
.category td.tc3:before {content: 'Сообщений: '; text-transform: uppercase;}

.category td.tcr br {display: none;}
.category td.tcr .lastpost {margin-left: 2px; font-size: 12px;}
.category td.tcr .user-avatar a {width: auto; margin-top: 0;}
.category td.tcr a {
overflow: hidden;
width: calc(100% - 50px);
text-overflow: ellipsis;
white-space: nowrap;
display: block;
margin-top: 3px;
}

#pun-stats li {
display: inline-block;
margin: 15px 10px 0;
padding: 4px 8px;

}
#pun-stats li.item1, #pun-stats li.item2 {
  clear: both;
  line-height: 150%;
font-size: 12px;
}
#pun-stats li.item3, #pun-stats li.item4 {
  text-align: right;
  line-height: 150%;
font-size: 12px;
}

li#onlinelist {line-height: 130%;}

#pun-online table {font-size: 14px;}

.tclcon .modlist {
    font-size: 12px!important;
}

/* Посты */
.post {border-bottom: 2px solid #aa9569; margin-bottom: 1px;}
.post h3 {
background-color: rgba(169,148,104,0.5);
padding: 4px 10px;
border-radius: 4px;
font-size: 13px;
}
.post h3 strong:before {content: 'постъ нумер ';}
.post h3 strong {float: right;}
.post h3 span {padding-left: 210px;}

#pun-searchposts .post h3 span {padding-left: 0px;}
#pun-searchposts .post-author,
#pun-post .post-author {margin: 10px 0 0;}
#pun-searchposts .post-author ul {min-height: 50px;}

.pa-author a, .pa-author strong {text-transform: uppercase; color: #314216 !important; font-size: 13px;}
.pa-title {font-size: 12px; margin-bottom: 4px;}
.pa-avatar img,
#profile-left #pa-avatar img {border: 2px solid #442d25; width: 183px;}

.pa-fld1 .fld-name, .pa-fld2 .fld-name, .pa-fld3 .fld-name {display: none;}
.punbb .pa-fld1 {font-size: 12px; padding: 8px 0 4px;}
.pa-fld3 {font-size: 12px;}

.punbb .post-author {
display: inline-block;
vertical-align: top;
}
.punbb .pa-respect, .punbb .pa-posts {
display: inline-block;
font-size: 12px;
padding: 5px;
width: calc(50% - 12px);
}
.pa-respect .fld-name, .pa-posts .fld-name {display: block;}
.pa-last-visit {color: #55432f !important; font-size: 12px;}
.pa-online {font-size: 13px; text-transform: uppercase; color: #816b50;}

#pun-post #post_form {margin-bottom: 20px;}
#pun-post .post {padding-bottom: 10px;}
#pun-post .post-author {
text-transform: uppercase;
font-weight: bold;
color: #314216;
text-align: center;
background-image: none;
}

.punbb .post-body {
display: inline-block;
width: calc(100% - 230px);
vertical-align: top;
margin: 10px 0px 0px 10px;
}

.post-links {
border-top: 1px dashed #aa9569; 
margin-top: 10px;
text-transform: uppercase;
text-align: right;
font-size: 13px;
}
.post-links ul {margin: 5px 0;}
.post-links li {display: inline; padding: 0 10px 0 0;}
.pl-email, .pl-website {float: left;}

.punbb .post-content p {padding-bottom: 12px;}
.post-content .highlight-text {
    background: #dac79b !important;
    color: #171000 !important;
    padding: 3px;
}
.punbb .quote-box, .punbb .code-box, #pun-viewtopic .podarok {
margin: 0.5em;
padding: 0.5em;
border: 1px solid #b7ac8f;
background: rgba(57, 25, 4, 0.1);
box-shadow: 0 2px 4px #b7aa90;
}
.quote-box cite, .code-box strong.legend {
display: block;
padding-bottom: 0.7em;
font-size: .9em;
font-weight: 600;
font-style: normal;
margin: 0;
}
.punbb .post-content .scrollbox {width: 100%;  overflow: auto;}
.punbb pre {font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;}

.punbb .post-sig dt {
    display: block;
    border-top: 1px solid #b7ac8fa6;
    width: 100%;
    margin: 5px 0;
}

.lastedit {display:none;}

 .post-content {word-wrap: break-word; hyphens: auto; text-align: justify;}
    td p {text-indent: 0 !important;}
    .post-content p, .literature-post p {
        text-indent: 20px;
    }
    
    .literature-post p:first-child::first-letter {
    font-family: Remeslo;
    font-size: 60px;
    float: left;
    line-height: 60px;
    padding-right: 8px;
    margin-top: -3px;
    text-indent: 0;
    color: #856e42;}
    
    .hideprofile .post-body, #pun-viewtopic[data-forum-id="6"] .post-body, #pun-viewtopic[data-forum-id="23"] .post-body  {width: 98%;}
    
    .hideprofile .post-author,.hideprofile .pl-email,.hideprofile .pl-website, 
    #pun-viewtopic[data-forum-id="6"] dl.post-sig, #pun-viewtopic[data-forum-id="6"] .post-author,
    #pun-viewtopic[data-forum-id="23"] dl.post-sig, #pun-viewtopic[data-forum-id="23"] .post-author 
    {display:none}
    
img.loading {display: none;}

/* Формы */
.punbb textarea, .punbb select  {border-radius: 3px;}
.punbb input {border-radius: 1px;}

.punbb textarea, .punbb select, .punbb input, .postlink a, .subscribelink a, #sTheme, #isk  {
background-image: url("https://forumstatic.ru/files/0018/3d/6c/52952.webp"); /*2rpB6*/
border: #b7ac8f groove 3px;
color: #371c04!important;
padding: 4px;
}
.punbb textarea:focus, .punbb select:focus, .punbb input:focus, .postlink a:hover, .subscribelink:hover a:before {
border: #754d29 groove 3px;
}

.formal fieldset {
background-color: rgba(169,148,104,0.3);
border: 1px solid rgba(169,148,104,0.8);
margin: 10px auto;
position: relative;
}
.formal fieldset legend {color: #280f08; text-transform: uppercase; background-color: #dac79b; border: 1px solid #856e42;}
.formal .infofield {font-style: italic; color: #514733;}
.formal .inline .inputfield, .formal .inline .selectfield, .formal .inline .passfield {display: inline-block; margin-right: 1em;}

#tags .container, #mask_dialog .inner {
border: #b7ac8f groove 3px !important;
background: url(https://forumstatic.ru/files/0018/3d/6c/46122.webp); /*46122*/
padding: 9px;
font: normal normal 400 11px/normal Lora;
color: #856e42;
overflow: auto;
max-height: 400px;
}

#tags .container {top: 60px!important;}
#tags .container a, #mask_dialog .inner a {color: #b7ac8f;}
#tags .container a:hover, #mask_dialog .inner a:hover {color: #ebd7ae;}

small#plng {border: none!important;}

div#smilies-area {text-transform: uppercase;}

#smilies-area img {
    background: #c9b38a;
    border: 1px solid #9e875c;
    margin: 2px;}

#smilies-area, #video-area, #spoiler-area {width: 500px;}

/* Админка */
.punbb .modmenu .container {
padding: 0.5em 1em;
font-size: 0.9em;
}
.punbb-admin {margin-top: -288px;}
.punbb-admin .adminmain {padding-left: 0;}
.punbb-admin #pun-adnav {
margin-left: 0;
display: block;
width: 100%;
float: inherit;
}
.punbb-admin #pun-adnav li {display: inline;}
.punbb-admin #pun-navlinks {top: 2px;}
.punbb-admin #pun-ulinks {top: 40px;}
.punbb-admin .adformal h2, .punbb-admin #pun-adnav h2 {
padding: 0;
border: none;
background-color: transparent;
color: inherit;
}
.punbb-admin #pun-adnav li.isactive ul.adsubnav li {display: block;}
.punbb-admin #pun-adnav li.isactive ul.adsubnav {
position: fixed;
left: 10px;
background: #ccc;
padding: 14px;
}
.punbb-admin .admin-advert-block {display:none;}

.punbb #main-reply {width: calc(100% - 8px) !important;}
#form-buttons td img {height:26px; width:100%}
#form-buttons {
display: block;
width: 100%;
border-top: 1px dashed #856e42a1;
border-bottom: 2px solid #856e42a1;
background-color: rgba(57, 25, 4,.1);
background-repeat: repeat-x;
margin: 5px 0;
}
#form-buttons table {
  width: 100% !important;
}
.punbb #form-buttons td {
  border-left: 1px solid #9f885e !important;
  border-right: 1px solid #b7ac8f !important;
}
.punbb #form-buttons td:hover {
  background-color: #b7ac8f !important;
}
.punbb #form-buttons td:active {
  background-color: #c9d9e9 !important;
  -moz-box-shadow: inset 1px 1px 5px #b7ac8f;
  -webkit-box-shadow: inset 1px 1px 5px #b7ac8f;
  box-shadow: inset 1px 1px 5px #b7ac8f;
}

.adformal .linksb .pagelink,
.adformal .linksb .postlink {position: relative;}
.adformal .linksb {width: 100%; height: auto !important;margin: 10px 10px 20px !important;}
.adformal .linksb .postlink {bottom: auto; text-align: left; margin-top: 10px !important;}

/* Профиль */
#profilenav h2 {display: none;}
#profilenav {
text-align: center;
font-size: 16px;
text-transform: uppercase;
margin: 10px 0;
}
#profilenav li {
display: inline-block;
margin: 0px 5px 5px;
padding: 4px 5px;
border-radius: 5px;
}
#profilenav li:hover {background-color: rgba(169,148,104,0.3);}
#profilenav li.isactive {background-color: rgba(169,148,104,0.6);}

#profile-left, #profile-right {display: inline-block;}

.punbb #profile-name strong {
text-transform: uppercase;
color: #314216;
font-weight: normal !important;
}
#profile-left #pa-avatar strong {font-size: 0;}

.punbb #profile-right {
width: calc(100% - 240px);
margin-left: 20px;
}
.punbb #profile-right li {margin-bottom: 6px;}
.punbb #profile-right li span {color: #7d6958;}
.punbb #profile-right li strong {font-weight: normal; padding: 0;}

li#pa-edit {display: none;}

div#profile-gifts {display: none;}

/* ЛС */
#messages .tclcon strong a {color: #000;}
#messages td {border-bottom: 1px solid #aa9569 !important;}
#messages td.pmtc22 {padding: 5px;}

#messages .inew td {background-color: rgba(169,148,104,0.5);}
#profile #plng {display: none;}

#volume-set #volSlider {
background: #4a6322;
border: solid 1px #4a6322;
box-shadow: inset 0 0 0px rgba(0,0,0,.15);
}
#volume-set #volSlider .before {margin: 0; background: rgb(85, 67, 47);}
#volume-set #volSlider .thumb {
width: 8px;
height: 14px;
background: #82775b;
border-radius: 3px;
top: -11px;
box-shadow: inset 0 0 0px rgba(0,0,0,.4);
}
#profile {position: relative;}
#profile .linksb {margin-top: 30px;}


h2.styl1 {
background: no-repeat;
margin: 0 !important;
height: auto;
width: auto;
}
h2.styl1 span {
font-size: inherit;
line-height: inherit;
color: inherit;
display: inline;
}

#pun-viewtopic .linksb .postlink {
    display: none;
}

/* Поиск в теме */

#sTheme, #isk {border: #b7ac8f groove 3px!important;}

#sTheme {
    height: 34px!important;
    width: 20%!important;
    padding-bottom: 0px!important;
    color: #371c04!important;
font-family: 'Lora'!important;
border-top-left-radius: 0px!important;
border-bottom-left-radius: 0px!important;
border-right: none!important;
}

#isk {
    border-top-right-radius: 0px!important;;
    border-bottom-right-radius: 0px!important;
    padding: 5px 4px 3px 2px !important;
}

#s-block {
    display: block!important;
    justify-content: flex-start;
    padding: 2px 0px 6px 10px !important;
}

#sTheme:focus {
    border-color: #371c04!important;
border-right: none!important;
}

#tuser {
    margin-left: 0px!important;
    padding: 1px!important;
    width: 10px!important;
    height: 10px!important;
}

.pa-author:hover #tuser {opacity: 1;}

/* Перемещение сообщений */

div#move_posts_form, .container.moved_success {
    background-image: url("//forumstatic.ru/files/0018/3d/6c/52952.webp"); /*2rpB6*/
    border: 1px solid #af9a6f;}

.pun-modal.move_posts_form .modal-inner {width: 1032px!important;}


/*Стиль к скрипту "Музыка в постах и подписях" (c) Emerael */
td#button-music {
    background: url('//forumstatic.ru/files/0018/3d/6c/38404.png') center center no-repeat; /*иконка music*/
    background-size: 16px; /*размер иконки*/
}

audio {/* Плеер */
    opacity: 0.6;
    height: 16px;
}

.audio-block {
    border: 1px solid rgba(169, 148, 104, 0.8);
    padding: 8px;
    background-color: rgba(169, 148, 104, 0.3);
    width: fit-content;
}

.audio-title {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    display: block;
}


/*Объявление-таблички*/
#pun-announcement h2 {
    display: none;
}

#pun-announcement .container {
    text-align: center;
    padding: 0px 0 25px 0;
    margin-top: -25px;
}


/*************************************************************
Адаптивная версия от ForumD.ru
Bruksa, Герда © 2020
Дизайн для форумов и техническая поддержка: https://forumd.ru/
**************************************************************/
/* Поиск в теме */
@media screen and (min-width: 320px) and (max-width: 768px) and (orientation: portrait) {
    #sTheme {
        width: 70%!important;
    }

    #s-block {
        float: right;
        justify-content: center;
    }
}

@media screen and (max-width: 900px) {

html, body {
width: 100% !important;
height: 100% !important;
margin: 0;
padding: 0;
background-size: contain;
-moz-text-size-adjust: none;
-webkit-text-size-adjust: none;
-ms-text-size-adjust: none;
overflow-wrap: break-word;
float: none;
}
body {
-webkit-overflow-scrolling: touch !important;
overflow-y: scroll !important;
}

.punbb #ToTop, .punbb #OnBottom,
#pun-live-rusff, li.pa-avatar:after, .multipage:before,.category:before, #pun-stats:before, #pun-announcement, #pun-announcement h2  {display: none !important;}

#html-header #shapka .poza {width: 100% !important; height: auto;}

#html-header #shapka .table {opacity: 1 !important; background-image: none; width: auto; height: auto;}
#html-header #shapka .poza {background-image: none;}


#html-header #shapka {background-position: bottom center; height: 260px;}

#html-header #shapka .table .inner {
background-image: url(//forumstatic.ru/files/0018/3d/6c/46406.webp); /*мобильный шапка текстура лето*/
background-size: 100% auto;
position: relative;
top: auto;
margin: 15px;
width: calc(100% - 30px);
}
#html-header #shapka .table .bg-mob {
background: url(//forumstatic.ru/files/0018/3d/6c/41542.png) /*мобильный шапка - право*/ repeat-y top right, url(//forumstatic.ru/files/0018/3d/6c/19514.png) /*мобильный шапка - верх*/ repeat-x top center, url(//forumstatic.ru/files/0018/3d/6c/14882.png) /*мобильный шапка - низ*/ repeat-x bottom center, url(//forumstatic.ru/files/0018/3d/6c/60966.png) /*мобильный шапка - лево*/ repeat-y top left; 
padding: 12px; width: calc(100% - 24px);
}

#html-header #shapka .table .cor {display: block; position: absolute;width: 23px !important; height: 25px;}
#html-header #shapka .topleft {background: url(//forumstatic.ru/files/0018/3d/6c/39545.png); top: 0; left: 0;} /*мобильный-шапка---уголок-2*/
#html-header #shapka .topright {background: url(//forumstatic.ru/files/0018/3d/6c/26660.png); top: 0; right: 0;} /*мобильный-шапка---уголок-3*/
#html-header #shapka .botleft {background: url(//forumstatic.ru/files/0018/3d/6c/15762.png); bottom: 0; left: 0;} /*мобильный-шапка---уголок-1*/
#html-header #shapka .botright {background: url(//forumstatic.ru/files/0018/3d/6c/33357.png); bottom: 0; right: 0;} /*мобильный-шапка---уголок-4*/

#html-header #shapka .table div {width: 100%; max-height: 250px;}
#html-header #shapka .table .mySlides {width: calc(100% - 3%) !important; font-size: 14px; min-height: 195px; max-height: 195px;}

#html-header #shapka .table .sl-but {display: block; width: 21px; height: 100%; position: absolute; top: 0;}
#shapka .table .sl-but.left {background: url(//forumstatic.ru/files/0018/3d/6c/27632.png) no-repeat center center; left: 0;} /*but-left*/
#shapka .table .sl-but.right {background: url(//forumstatic.ru/files/0018/3d/6c/72415.png) no-repeat center center; right: 0;} /*but-right*/
#html-header #shapka .table  h3 {font-size: 18px;}

#pun_wrap #pun {
padding: 258px 0 0 !important;
background: #ecd9af url(//forumupload.ru/uploads/0010/f2/5a/2/60140.jpg) repeat-y top left !important;
width: 100% !important;
}
#pun .punbb {
background: url(//forumupload.ru/uploads/0010/f2/5a/2/731719.jpg) repeat-y top right;
padding: 0 6px;
}
.punbb #pun-title {
width: 100%;
margin: 0;
height: 33px;
}

.punbb #pun-navlinks,
.punbb #pun-ulinks,
#html-header #shapka .menu {
top: 289px;
text-align: center;
z-index: 100;
display: none;
z-index: 10000;
}
.punbb #pun-navlinks.show,
.punbb #pun-ulinks.show,
#html-header #shapka .menu.show {display:block;}
.punbb #pun-navlinks .container,
.punbb #pun-ulinks .container,
#html-header #shapka .menu .inner {
padding: 0;
max-width: 260px;
background: #f8dc9e;
border: 1px solid rgba(55,20,5,0.3);
}
.punbb #pun-navlinks li,
.punbb #pun-ulinks li,
#html-header #shapka .menu a {
display: block;
border-bottom: 1px solid rgba(55,20,5,0.3);
padding: 6px 0;
}
.punbb #pun-navlinks li:hover,
.punbb #pun-ulinks li:hover,
#html-header #shapka .menu a:hover {background: rgba(55,20,5,0.3);}
.punbb #pun-navlinks li:last-child,
.punbb #pun-ulinks li:last-child {border-bottom: none;}
.punbb #pun-navlinks li a,
.punbb #pun-ulinks li a,
.punbb #html-header #shapka .menu a {color: #512509;}

#html-header #shapka .menu {font-size:0; position: absolute;}
#html-header #shapka .menu a {font-size:14px;}

#html-header #mob-but {
display: block !important;
position: absolute;
top: 262px;
color: #a38f62;
text-transform: uppercase;
font-weight: bold;
text-align: center;
width: calc(100% - 12px);
}
#html-header #mob-but div {
display: inline;
cursor: pointer;
padding-left: 10px;
}
#html-header #mob-but div.active {color: #fff;}

.punbb #pun-status .container {margin-top: 15px; padding: 0 10px;}
.punbb h2, .punbb h1 {margin: 0 auto !important;}
.punbb #html-footer {
width: auto;
margin-left: 0;
}
#html-footer .partners_bannr {
width: calc(100% - 6px);
border: 3px ridge #805930;
}

#pun .punbb .main table {width: calc(100% - 10px);}

#pun-main .pagelink {left: 10px;}
#pun-main .postlink {right: 5px;}

.topic .post {margin: 0px 5px 1px;}
/*Переадресация*/
#pun #pun-redirect {height: 258px; padding: 0;}
#pun #pun-redirect #pun-main {
background: url(//forumstatic.ru/files/0018/3d/6c/46085.webp) /*тело форума (низ)*/ no-repeat bottom center, url(//forumstatic.ru/files/0018/3d/6c/91143.webp) /*тело форума (верх)*/ no-repeat top center, url(//forumstatic.ru/files/0018/3d/6c/17838.webp) /*тело форума*/ repeat-y top center !important;
margin: 0;
padding: 40px 0 0;
width: 100%;
height: 218px;
}

#post {margin: 0 10px;}

.usertable table .tcl {width: calc(25% - 24px);}
.usertable table .tc2, .usertable table .tc3 {width: 15%;}

#profile .container {margin: 0 5px;}

#profile .post-author li {width: auto;}
#profile fieldset {padding: 0;}
#profile .post {padding: 5px;}
#profile #post {margin: 0;}

#pun #pun-status span {white-space: normal;}

/* **end** */ }

@media screen and (max-width: 1050px) {

#pun .punbb h2, #pun .punbb h1 {width: auto;height: 38px;background-position: -8px -6px;}
.punbb h2 span, .punbb h1 span {line-height: 40px;}
.inputfield input {width: calc(100% - 30px); margin: 0 5px;}

/* **end** */ }

@media screen and (max-width: 850px) {

#pun-main .forum thead, #pun-main .usertable thead,
#post legend span, #post_form legend span,
#pun .punbb #form-buttons td#button-graffiti_rusff,
#pun .punbb #form-buttons td#button-files_rusff,
#pun .punbb #form-buttons td#button-keyboard, .icon[data-new-topics]:before, .subforums span[data-new-topics]:before {display: none !important;}


#pun-status span {float: none !important; display: block !important; margin: 0 !important;}

#pun .punbb .main .category table {width: 100%;}
#pun-main .category tr {
background: transparent;
box-shadow: 0 0 0 0 transparent;
margin: 0 0 10px;
width: 100%;
}
#pun-main .category table .tcl,
#pun-main .category td.tcr {width: calc(100% - 24px);}
#pun-main .category td.tcr {
background: rgba(143,141,124,0.35);
width: calc(100% - 24px);
border-top: 1px solid rgba(0,0,0,0.1);
border-bottom: 1px solid rgba(0,0,0,0.1);
padding-bottom: 30px;
}

#pun-main .category div.icon {
    margin-top: 0px;
    width: 32px;
    height: 32px;
background-image: url(//forumstatic.ru/files/0018/3d/6c/23562.png); /*иконка старые маленькая*/
}
#pun-main .category tr.inew div.icon {background-image : url(//forumstatic.ru/files/0018/3d/6c/20783.png);} /*иконка новые маленькая*/

#pun-main .category td.tc2, #pun-main .category td.tc3 {
top: auto;
bottom: 6px;
right: auto;
color: #907b63;
width: auto;
}
#pun-main .category td.tc2 {left: 10px;}
#pun-main .category td.tc3 {left: 90px;}

#pun-main .forum table tr {
width: 100%; 
display: block;
border-bottom: 1px solid #d3bf9a !important;
padding-bottom: 5px;
position: relative;
}
#pun-main .forum table td {
display: block;
width: calc(100% - 10px);
padding: 5px 5px 0;
border-bottom: none !important;
}
#pun-main .forum tr.tr-divider.imp, #pun-main .forum td.td-divider {padding: 5px 0 0px; margin-bottom: 5px;}
#pun-main .forum table .tc2, #pun-main .forum table .tc3 {text-align: left; color: #907b63; text-transform: uppercase; padding-left: 46px; width: calc(100% - 50px);}
#pun-main .forum table .tc2:before {content: 'Ответов: ';}
#pun-searchtopics #pun-main .forum table .tc2:before {content: '';}
#pun-searchtopics #pun-main .forum table .tc2 {width: calc(50% - 40px); margin: 0; font-size: 12px;}
#pun-main .forum table .tc3:before {content: 'Просмотров: ';}
#pun-searchtopics #pun-main .forum table .tc3:before {content: 'Ответов: ';}
#pun-searchtopics #pun-main .forum table .tc3 { font-size: 12px;}

#pun-main .forum table .tcr {position: absolute; bottom: 5px; width: auto; right: 0; font-size: 12px; text-align: right;}
.forum .tcr .byuser {display: block;}

#form-buttons tr {display: block; text-align: center;}
#pun .punbb #form-buttons td {
display: inline-block !important;
border: 1px solid #9f885e !important;
width: 36px;
height: 36px;
margin: 1px;
background-position: center center !important;
}
#pun .punbb #form-buttons td img {
margin: 0 auto !important;
vertical-align: middle;
display: block !important;
width: 24px !important;
height: 24px !important;
padding: 6px;
}
#pun-main #tags .container {
width: auto !important; 
position: relative !important;
top: auto !important;
right: auto !important;
font-size: 15px;
padding: 10px !important;
}
#pun-main #tags .container div {display: inline-block; margin-right: 20px;}

.usertable {text-align: center;}
form#userlist {margin: 0 5px 10px;}
.usertable table tr {
width: calc(50% - 14px);
margin: 5px 5px 10px;
border: 1px solid #d3bf9a;
background: rgba(169,148,104,0.1);
display: inline-block;
}
.usertable table td {
display: block;
width: calc(100% - 10px) !important;
text-align: left;
border: none !important;
padding: 5px;
}
.usertable table td.relation:before {content: 'Уважение: ';}
.usertable table td.num_posts:before {content: 'Сообщений: ';}
.usertable table td.registered:before {content: 'Зарегистрирован: ';}
.usertable table td.last_visit:before {content: 'Последний визит: ';}

#profile .avatardemo {float: none !important;}

#pun #messages fieldset {padding: 0;}
#pun #profile #messages .container {margin: 0;}
#pun .punbb .main #profile #messages table {width: 100%;}

/* **end** */ }

@media screen and (max-width: 670px) {

.post-sig, .post-author li.pa-ua {display: none;}
.punbb .post h3 span {padding-left: 0;}
#pun .punbb .post-author {
margin: 0;
width: 100%;
display: block;
background-image: none;
position: relative;
border-bottom: 1px solid #b7ac8fa6;
}
#pun .punbb .post-author ul {
background-image: none;
padding: 10px 0 0px 115px;
margin: 0;
width: auto;
text-align: left;
}
#pun #pun-searchposts.punbb .topic .post-author ul {padding: 0;}
.post-author ul {min-height: 130px;}
.post-author li {position: relative; z-index: 20; width: calc(100% - 180px); margin: 0;}
#pun .punbb .pa-avatar {
    padding: 0 !important;
    margin: 0;
    width: calc(100% - 10px);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
background-image: none;
}
#pun .punbb .no-avatar .pa-avatar a, 
.post-author .pa-avatar img {max-height: 120px; width: 96px; margin: 10px 5px 0; border: 1px solid rgba(43,24,3,0.3);}
#pun .punbb .pa-respect, #pun .punbb .pa-posts {display: block; padding: 0;}
.post-author .pa-respect .fld-name, .post-author .pa-posts .fld-name {display: inline;}
.punbb .post .post-body {width: 100%; margin: 10px 0px 0px 0px;}
#pun .punbb .pa-fld3, .punbb .post-author .pa-fld1 {margin: 0; padding: 0; width: 40%; right: 0; position: absolute;}
#pun .punbb .pa-fld3 {background-image: none; top: 10px; font-size: 12px; width: 180px; text-align: right;}
.punbb .post-author .pa-fld1 {top: 30px;text-align: right;width: 180px;}
.pa-fld3 img {max-height: 14px; max-width: 14px;}

.post .post-links li {display: inline-block; padding: 0 10px 6px 0;}
.modmenu .container span.fastnav {margin-top: 10px;}

.punbb #profile-left, .punbb #profile-right {display: block;width: calc(100% - 20px) !important; margin: 0 10px !important;}
#pun-main #profilenav {margin: 10px 5px; border-bottom: 1px solid #b7ac8fa6;}

#pun .punbb #profile-left {
padding: 0 !important;
background-image: none;
text-align: center;
margin-bottom: 10px !important;
}
.punbb .no-avatar #profile-left #pa-avatar,
.punbb #profile-left #pa-avatar {
padding: 0;
background-image: none;
margin: 5px auto;
width: auto;
}
.punbb #profile-left #pa-avatar img {width: auto;}
.punbb .no-avatar #profile-left #pa-avatar strong {margin: 0 auto;}

#messages th.pmtcl1,
#messages th.pmtc22,
#messages th.pmtc33 {display: none;}

#messages th.pmtc24 {width: 100% !important; text-align: right;padding: 4px 5px 6px !important;}
#messages th.pmtc24:before {content: 'Выделить всё: '; position: relative; bottom: 2px;}

#messages .inew {background-color: rgba(169,148,104,0.5);}
#messages tbody tr {border-bottom: 1px solid #aa9569; display: block;position: relative;}
#messages tbody td {
display: block;
padding: 5px;
width: calc(100% - 10px) !important;
text-align: left;
border: none !important;
}
#messages tbody .inew td {background-color: transparent !important;}

#messages td.pmtc22 {position: relative; padding-left: 50px !important; width: calc(100% - 50px) !important;}
#messages td.pmtc22:before {content: 'Отправитель: '; display: block;} 
.punbb #messages .user-avatar {position: absolute !important; top: 0; left: 5px;}

#messages td.pmtc33:before {content: 'Дата: ';} 
#messages td.pmtc24 {
position: absolute;
top: 5px;
right: 5px;
width: auto !important;
}

/* **end** */ }    


@media screen and (max-width: 540px) {

.tcl .pagestext, .linksb .subscribelink a {display: none;}

#pun-main .forum table .tcl {padding-bottom: 10px;}
#pun-main .forum table .tc2, #pun-main .forum table .tc3 {font-size: 12px;}

.punbb .multipage {padding: 76px 0;}
#pun-searchtopics.punbb .multipage,
#pun-searchposts.punbb .multipage,
#pun-userlist.punbb .multipage {padding: 36px 0;}
.punbb #pun-main .postlink {right: auto;text-align: left;left: 10px;}
.punbb #pun-main .linkst .postlink {top: 40px; width: auto !important;}
.punbb #pun-main .linksb .postlink {bottom: 40px; width: auto !important;}
#pun-main .linksb .subscribelink {right: auto; bottom: 40px; left: 100px;}

.post-author .pa-online {font-size: 11px;}

#pun .punbb .no-avatar .pa-avatar a, 
#pun .post-author .pa-avatar img {max-height: 90px !important; width: 72px !important;}

#pun .punbb .post-author ul {padding: 10px 0 0px 90px !important;}
#pun #pun-searchposts.punbb .post-author ul {padding: 0 !important;}
.punbb .post-author ul {min-height: 100px;}

.punbb .post-content td {display: block;}

#pun-main .usertable table tr {width: calc(100% - 14px);}

iframe {width: 100%;}

/* **end** */ }


@media screen and (max-width: 375px) {

.post .post-author li {width: auto;}
#pun .punbb .post-author .pa-fld3, 
#pun .punbb .post-author .pa-fld1 {display: none;
padding: 3px;
background: #cab68b;
z-index: 100;}
#pun .punbb .post-author .pa-fld3 {top: 38px;}
#pun .punbb .post-author .pa-fld1 {top: 59px;}
#pun .punbb .post-author .pa-fld3.show, 
#pun .punbb .post-author .pa-fld1.show {display: block;}
.post-author .pa-but {display: block !important; position: absolute; top: 5px; right: 5px;}
.pa-but i {color: #55432f; font-size: 28px; cursor: pointer;}

.forum .user-avatar {display: none !important;}

/* **end** */ }

#logo-RL {max-width:100%;background-size: 100% auto!important;}

    /* Скрываем Страницу поиска пользователей в Админке от модераторов*/
    .gid2 #pun-adnav .item4,.gid2 #pun-admin_users #pun-admain1.adformal{display:none!important;}
    