@import url(style_cs.1789034337.css);
@import url('https://fonts.googleapis.com/css2?family=Jura:wght@500;600;700&family=Open+Sans:wght@400;500;600&display=swap');
@import url(https://alexkolmar.github.io/fonts/komika_axis/stylesheet.css);
@import url(https://alexkolmar.github.io/fonts/AvengeanceMA/stylesheet.css);
@import url('//forumstatic.ru/files/001a/e1/7e/82877.css');

/* Полезные сервисные настройки
-------------------------------------------------------------*/

.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;
}

#pun: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;
}


/* Основные переменные
------------------------------------------*/

:root {
  --body: #FFECC7;
  --dark: #000;
  --light: #fff;
  --dark-green: #243a2c;
  --top-green: #29493A;
  --link: #e8b100;
  --green-gray: #8a9994;
  --green-yellow: #cac277;
  --flash-red: #8d1c18;
  --input-bg: #fff7ec;
  --light-yellow: #efefe4;
  --padding: 10px 30px;
  --tpad: 5px 30px;
  --mpad: 5px 10px;
  --font-family: Open Sans, sans-serif;
  --second-family: komika_axis_cyr;
  --third-family: Avengeance MA;
  --fa: 'Font Awesome 5 Pro', 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
}


/*****************************
---------- МОБИЛЬНЫЙ СТИЛЬ ----------
*****************************/

@media screen and (max-width: 540px) {

* {
float: none !important;
box-sizing: border-box;
}

#pun {
width: 100%;
margin: 0 auto;
padding-top: 50px;
}

.punbb {
display: flex;
display: -webkit-flex;
flex-direction: column;
font: 100%/150% var(--font-family), sans-serif;
}

/* Порядок основных блоков */

#html-header {order: initial;}
#pun-title {order: initial;}
#pun-navlinks {order: -1;}
#pun-ulinks {order: initial;}
#pun-status {order: initial;}
#pun-crumbs1 {order: initial;}
#pun-main {order: initial;}
#pun-stats {order: initial;}
#pun-crumbs2 {order: initial;}
#pun-about {order: initial;}
#html-footer {order: initial;}

/* Основные настройки содержимого*/

.punbb > div .container {
  padding: 5px 10px !important;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
}

/* Поля ввода*/

input[type="text"], input[type="password"], textarea, select {
  max-width: 100%;
}

/* Шапка
-------------------------------------------------------------*/

#pun-title table {
  background: url(https://forumstatic.ru/files/001c/09/2b/62889.jpg) no-repeat top center/cover;
}

#html-header {
  margin: 0;
}

#pun-title {
  min-height: 50px;
  margin: 0;
}

.tablica {
  width: 100%;
}

.tablica_hover {
  padding: 10px;
}

.dc_logo {
  top: 10px;
  left: 10px;
}

.dc_name {
  top: 50px;
  height: 100%;
  flex-direction: column;
  gap: 20px;
}

.dc_name span {
  line-height: 100%;
  font-size: 30px;
}

.dc_name span.un {
  font-size: 50px;
}

.tablica .about {
  padding: 0 10px 0 120px;
  top: 10px;
  height: auto;
}

.tablica_hover {
  width: 100%;
  background: url(https://forumstatic.ru/files/001c/09/2b/62889.jpg) no-repeat top center/cover;
}

.tabside {
  display: none;
}


/* Меню навигации
-------------------------------------------------------------*/


#pun-navlinks {
  position: fixed;
  top: 0;
  height: fit-content;
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
}

#pun-navlinks .container {
  margin: 0;
  min-height: 50px;
  position: relative;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  align-content: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 5px 60px 5px 10px !important;
}

#pun-navlinks li {
  display: block;
}

#pun-navlinks li a {
  font-size: 0;
  padding: 0;
  display: flex;
  display: -webkit-flex;
  position: relative;
}

#pun-navlinks li a:after, #pun-ulinks:after  {
  content: "";
  font: normal 30px/100% var(--fa);
}

#pun-navlinks li#navindex a:after {content: "\f57d";}
#pun-navlinks li#navuserlist a:after {content: "\f0c0";}
#pun-navlinks li#navrules a:after {content: '\f022';}
#pun-navlinks li#navsearch a:after {content: '\f3eb';}
#pun-navlinks li#navprofile a:after {content: '\f2c2';}
#pun-navlinks li#navpm a:after {content: '\f0e0';}
#pun-navlinks li#navadmin a:after {content: '\f085';}
#pun-navlinks li#navlogout a:after {content: '\f2f5';}
#pun-navlinks li#navregister a:after {content: '\f234';}
#pun-navlinks li#navlogin a:after {content: '\f2f6';}
#pun-navlinks li#navpr_1 a:after {content: '\f0a1';}
#pun-navlinks li#navextra1 a:after {content: '\f392';}

#pun-navlinks li#navpm a span[data-last-unread]:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 110%;
  height: 110%;
  display: block;
  animation: blinkColor 2s linear infinite;
  -moz-animation: blinkColor 2s linear infinite;
  -webkit-animation: blinkColor 2s linear infinite;
  background: var(--dark);
}

.punbb #pun-navlinks li#navpm span.num_msg {
  margin-top: 5px;
  line-height: 15px !important;
}

#pun-navlinks li#navpm span.num_msg::before {
  margin-left: 2px;
  top: -2px !important;
  z-index: 100;
}

li#navextra1 {display: none;}

/* Меню пользовательских ссылок
-------------------------------------------------------------*/

#pun-ulinks {
  position: fixed;
  right: 0;
  top: 0;
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 0 0 auto;
  border: none;
  z-index: 100;
}

#pun-ulinks::after {
  content: "\f0c9";
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: var(--body);
  font: normal 36px/50px var(--fa);
  text-align: center;
  cursor: pointer;
}

#pun-ulinks:hover::after {
  color: var(--light);
}

#pun-ulinks .container {
    padding: 0;
    margin: 0;
    height: auto;
    border: none ;
    text-align: left;
    background: var(--green-yellow);
}

#pun-ulinks ul {
    padding: 0 !important;
    display: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
    z-index: 100;
    position: absolute;
    top: 50px;
    right: 0;
}

#pun-ulinks:hover ul, #pun-ulinks:focus ul {
    display: block;
}

#pun-ulinks li {
  padding: 0 !important;
  display: block !important;
  white-space: nowrap;
}

#pun-ulinks li a {
    display: block;
    border: none;
    font: normal 16px/200% sans-serif !important;
    padding: 0 15px !important;
    color: #000;
    text-decoration: none !important;
}

#pun-ulinks li a:hover {
    background: var(--green-gray);
}

#pun-ulinks > span.notify-bubble {display: block !important;}

/* Статус и путь
-------------------------------------------------------------*/

#pun-status .container {
  text-align: right;
  justify-content: center;
  font-size: 12px;
}

.punbb .container.crumbs {
  display: block;
  font-size: 14px;
}

/* Главная форумная таблица
-------------------------------------------------------------*/

/* Заголовки */
.punbb h1, .punbb h2 {
width: initial !important;
}

.punbb h1 span, .punbb h2 span {font-size: 20px;}

.punbb thead {display: none;}

.punbb .main .hasicon, .punbb .main tr {
  position: relative;
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.punbb .main tr {
  padding: 5px 0;
  gap: 0 !important;
}

.punbb .main .hasicon tr:not(:last-of-type) {
  box-shadow: 0 1px rgba(0, 0, 0, .3), 0 2px rgba(255, 255, 255, .75);
}

.punbb .main td {padding: 5px 10px;}

.punbb .main .tcl, .punbb .main .tcr, #pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 5px 10px !important;
}

.punbb tbody.hasicon td.tcl {
  padding: 5px 10px !important;
}

.punbb .main .intd {
  display: flex;
  display: -webkit-flex;
  width: 100%;
}

.punbb .tclcon {
  padding-right: 70px;
  flex-grow: 1;
}

.punbb div.icon {
  position: relative;
  order: 2;
  flex-shrink: 0;
}

#pun-index div.icon {
  right: 0;
}

.punbb .main .tc2, .punbb .main .tc3, #pun-searchtopics .main .tc2, #pun-searchtopics .main .tc3 {
text-align: left;
width: auto;
}

.punbb .main .tc2:before, .punbb .main .tc3:before {
content: "";
}

#pun-index .hasicon td.tcl {
  padding-left: 10px !important;
}

#pun-index .main .tc2:before {content: "Тем: ";}
#pun-index .main .tc3:before {content: "Сообщений: ";}

#pun-viewforum .main .tc2:before, #pun-searchtopics .main .tc3:before {content: "Ответов: ";}
#pun-viewforum .main .tc3:before {content: "Просмотров: ";}

#pun-searchtopics .main .tc2:before {content: "Форум: ";}

.punbb .main .tcr {position: relative;}

.punbb .tcr .user-avatar {
  margin: 0 10px;
  position: absolute;
  right: 0;
  top: 0;
}

.punbb .tcr > a, .punbb .tcr .lastpost, .punbb .tcr > .byuser {
  width: calc(100% - 60px);
  text-align: right;
}

#pun-index .user-avatar {
  left: 10px;
}

#pun-index .tcr > a, #pun-index .tcr .lastpost, #pun-index .tcr > .byuser {
  text-align: left;
  margin-left: 60px;
}

.punbb .user-avatar .avatar-image {
  display: flex;
  display: -webkit-flex;
}

.post-content td {
  width: 100%;
}

/* Статистика
-------------------------------------------------------------*/

.punbb #pun-stats .container {
  padding: 0 0 10px !important;
  justify-content: right;
}

.statstop {
  flex-wrap: wrap;
  gap: 0;
}

.punbb #pun-stats .container li:not(#onlinelist) {
width: 100%;
text-align: right;
}

/* Футер
-------------------------------------------------------------*/

#html-footer .banners {
  left: 0;
}

#html-footer .banners .container {
  height: 67px;
  overflow: auto;
  padding: 0 !important;
}

/* Темы и страницы
-------------------------------------------------------------*/

/* Верхние ссылки в топике и списках тем */
.punbb .linkst {padding: 5px 10px;}

/* Меню модератора */
.punbb .modmenu .container span {flex-grow: 1;}

.punbb #topic-users-in.modmenu .container span {flex-grow: 0;}

#topic-users-in .container {gap: 5px;}

/* Нижние ссылки в топике и списках тем */
.punbb .linksb {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: initial;
  padding: var(--mpad);
}

.linksb .pagelink {
  order: 1;
  flex-grow: 1;
  width: auto;
}

.punbb .postlink, .punbb .linksb noindex {
  order: 2;
  flex-grow: 1;
  width: auto;
  text-align: right;
}

.subscribelink {
  order: 3;
  width: 100%;
}

.punbb .postlink.long {width: auto;}

.punbb .modmenu strong, .punbb .modmenu a {height: initial;}

#pun-viewforum .modmenu .container strong a {font-size: 0;}

#pun-viewforum .modmenu .container strong a:after {
content: "Действия с темами";
font-size: initial;
}

/* Список пользователей
-------------------------------------------------------------*/

#pun-userlist tr:not(:last-of-type) {
  border-bottom: 1px solid var(--green-yellow);
}

#pun-userlist tr td, #pun-userlist .tcl, #pun-userlist .tc2 {
  width: 100%;
  padding: 0 !important;
  min-height: 30px;
  line-height: 30px;
}

#pun-userlist .tcl, #pun-userlist .tc2 {
  margin-left: 62px;
  height: auto;
}

#pun-userlist em.user-avatar {
  position: absolute;
  left: 0;
}

#pun-userlist .tc3 {display: none;}


/* Топик
-------------------------------------------------------------*/

/* Пост */
.punbb .post {margin: 0;}

/* Дата поста */
.punbb .post h3 {
  margin: 0;
}

.punbb .post h3 span {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 5px 10px;
}

.punbb .post h3 span .permalink {
  flex-grow: 1;
  order: 1;
}

.punbb .post h3 span strong {order: 3;}

.punbb .post h3 .sharelink {
order: 3;
margin-left: 5px;
display: none;
}

/* Содержимое поста */
.punbb .post .container {
  margin: 0;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  padding: 0 !important;
}

/* Автор */
.punbb .post .post-author {
  position: relative;
  margin: 0;
  padding: 5px 10px;
  top: 0;
  width: 100%;
  min-height: 90px;
  box-sizing: border-box;
}

.punbb .post .post-author ul {
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: initial;
}

/* Скрыть поля профиля */
.pa-reg, .pa-from, .pa-invites, .pa-positive, .pa-icq, .pa-sex, .pa-age, .pa-ip, .pa-time-visit, .pa-last-visit, .pa-online, .pa-offline, .pa-awards, .pa-title, .pa-fld1, .pa-posts, .pa-fld4 {
    display: none !important;
}

/* Аватар */
.punbb .post-author .pa-avatar {
  position: absolute;
  margin: 0 0 5px; 
  width: 75px;
  left: 10px;
  height: auto;
  max-height: 75px;
  max-width: 75px;
  display: block;
  order: -2;
}

.online .pa-author::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 10px #bf0;
  background: radial-gradient(circle at 3px 2px, #98ea36, #81b16f, #8ac176);
  margin: 2px 0 2px 7px;
}

.punbb .post-author .pa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-height: 75px;
  max-width: 75px;
}

/* Ник и статус */
.punbb .post-author .pa-author, .punbb .post-author .pa-title {
  margin-left: 85px;
  padding: 0;
  width: 100%;
  text-align: left;
}

/* Сообщения */
.punbb .post-author .pa-posts {
  margin-left: 85px;
  padding-right: 10px;
}

.pa-respect {
  margin-left: 85px;
  display: flex;
  gap: 5px;
}

.pa-fld3 {
  display: flex;
  gap: 5px;
}

/* Доп. поле 1 (лз) */
.punbb .post-author .pa-fld1 {
  width: 100%;
  order: 1;
}

.post-author li.pa-fld2 {
  margin-top: 15px;
  width: 100%;
  order: 9;
}

li.pa-fld2 #lz, li.pa-fld2 .lz {
  width: 100%;
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  cursor: pointer;
  position: relative;
  justify-content: space-between;
}

.post-author #lz .status, .post-author .lz .status {
  display: none;
}

li.pa-fld2:hover #lz .status, li.pa-fld2:hover .lz .status {
  display: block;
  text-align: justify;
  font-size: 10px;
  line-height: 1.2;
  margin-top: 5px;
  padding-top: 2px;
  width: 100%;
}

.post-author #lz .name, .post-author #lz .cn, .post-author .lz .name, .post-author .lz .cn {
  padding-right: 10px;
  box-sizing: border-box;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 0;
}

.post-author #lz .species, .post-author .lz .species {
  box-sizing: border-box;
  text-align: center;
  position: relative;
  margin: 0;
  line-height: 150%;
  flex-grow: 1;
}

li.pa-ua {
  position: absolute;
  right: 10px;
  top: 0;
}

/* Тело поста */
.punbb .post-body {
  margin: 0;
  width: 100%;
}

/* Содержимое тела поста */
.punbb .post-box {
  padding: 10px;
}

/* Строки поста */
.punbb .post-content p {padding: 0 0 5px 0;}

/* Цитата, спойлер и код */
.punbb .post-content .quote-box, .punbb .post-content .code-box {
  margin: 5px 5px 10px;
  padding: 5px 10px;
}

/* хтмл-содержимое в постах */
.punbb .post-content iframe {
  box-sizing: border-box;
  max-width: 100%;
}

/* Подпись */
.punbb .post-box .post-sig {display: none;}

/* Ссылки профиль, удалить, цитировать и т.п. */
.punbb .post-links {
  margin: 0;
  border-bottom: 1px solid var(--green-gray);
  padding: 0 0 5px;
}

.punbb .post-links ul {
  padding: 0 10px;
  margin: 5px 0 0;
}
.punbb .post-links li a {font-size: 0;}

.punbb .post-links ul li {
  padding: 0 0 0 10px;
  line-height: initial !important;
}

.punbb .post-links ul .pl-email, .punbb .post-links ul pl-website {
  float: left !important;
  padding: 0 10px 0 0;
}

.punbb .post-links li a::before {
  content: "";
  font-size: 24px;
  font-weight: 100;
  font-family: var(--fa);
}

.punbb .post-links li.profile a:before {content: '\f2c2';}
.punbb .post-links li.pm a:before {content: '\f0e0';}
.punbb .post-links li.email a:before {content: '\f1fa';}
.punbb .post-links li.social-telegram.has-display-name a:before {content: '\f3fe';}
.punbb .post-links li.social-vk.has-display-name a:before {content: '\f189';}
.punbb .post-links li.pl-delete a:before {content: '\f2ed';}
.punbb .post-links li.pl-edit a:before {content: '\f044';}
.punbb .post-links li.pl-quote a:before {content: '\f10e';}
.punbb .post-links li.pl-reports a:before {content: '\f071';}
.punbb .post-links li.pl-advlink a:before {content: '\f2b5';}


/* Форма ответа */
.punbb #form-buttons {
  width: 100%;
  display: block;
}

.punbb #form-buttons tr {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: center;
  gap: 5px !important;
  padding: 0 0 5px;
  text-align: center;
}

#form-buttons td {
display: block;
width: 26px;
height: 26px;
}

#post-form #tags .container {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  left: 0;
  display: flex;
  gap: 5px 10px;
}

#post-form #tags #font-area {
  padding-bottom: 15px !important;
}

#post-form .formsubmit {width: 100%;}

.punbb #wysi-mode {
  float: right !important;
}


/* Поиск сообщений
-------------------------------------------------------------*/

#pun-searchposts .post-author ul {justify-content: space-between;}

#pun-searchposts .post li.pa-author, #pun-searchposts .post li.pa-replies {
text-align: left;
width: auto;
margin: 0;
}

#pun-searchposts .post-links ul {
  margin: 0;
  height: 150%;
}

#pun-searchposts .post-links li a {font-size: initial;}


/* Просмотр профиля
-------------------------------------------------------------*/

#viewprofile-next #profilenav {display: none;}

#viewprofile ul, #profilenav ul {
  padding: 0;
  margin: 0;
}

#viewprofile tr {flex-direction: column;}
#viewprofile td {width: 100%;}

#viewprofile li, #viewprofile li strong, #viewprofile li span, #viewprofile li div, #setmods dd, #setmods dl {
  margin: 0;
  padding: 0;
}

#viewprofile #profile-left {
  margin: 0 auto;
  padding-bottom: 10px !important;
}

#viewprofile #profile-left li#pa-avatar {padding: 5px;}
#viewprofile #profile-right {padding: 10px 0 0;}

#profile-right li {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

#profile-right li span {
  width: auto;
}

#viewprofile #profile-right li strong {
  padding: 0 10px;
  width: auto;
}

#viewprofile #profile-signature {padding: 5px 0;}
#viewprofile #profile-signature ul {padding: 10px 0 0;}


/* Редактирование профиля и ЛС
-------------------------------------------------------------*/

#profile > .container {padding: 5px 10px !important;}

.punbb #profilenav {
  padding: 0;
  width: 100%;
  margin: 0;
  display: block;
}

#viewprofile h2, #profilenav h2 {margin: 0;}

#profilenav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

#profilenav li {
  padding: 0;
  font-weight: bold;
  width: 50%;
  box-sizing: border-box;
}

#pun-messages #notify-settings {width: 100%;}

#pun-messages #notify-settings .inp2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#OnOff_Notify {
  margin: 0 !important;
  order: 1;
}

#OnOff_Notify + label {display: none;}

#volume-set {
 align-items: center;
  display: flex;
}

#profile #messages fieldset, #profile #messages fieldset .fs-box {
  padding: 0;
  margin: 0;
}

.punbb .main #profile #messages .hasicon tr {
justify-content: space-between;
box-shadow: 0 -1px rgba(0, 0, 0, .3), 0 1px rgba(255, 255, 255, .75);
}

.punbb .main #profile #messages .hasicon tr:first-of-type {
box-shadow:0 -1px rgba(255, 255, 255, .9), 0 -2px rgba(0, 0, 0, .3), 0 1px rgba(255, 255, 255, .9);
}

.punbb .main #profile #messages .hasicon tr:last-of-type {
box-shadow: 0 -1px rgba(0, 0, 0, .3), 0 1px rgba(0, 0, 0, .4), 0 2px rgba(255, 255, 255, .9);
}

.punbb .main #profile #messages .hasicon .tcl {width: 100% !important;}

#profile #messages .hasicon .pmtc22 {
  display: flex;
  width: 100% !important;
}

#profile #messages .hasicon .tc3:before {content: "Дата: "}

#profile #messages .hasicon .tc3, #profile #messages .hasicon .pmtc24 {
  display: block;
  width: auto !important;
  padding: 5px 10px !important;
}

#profile #messages .hasicon .pmtc24:before {content: "Выбрать: "}


/* Активные пользователи
-------------------------------------------------------------*/

#pun-online .online-list tr:not(:last-of-type) {
  border-bottom: 1px solid var(--green-yellow);
}

#pun-online .username {gap: 5px;}

#pun-online .tcl.username, #pun-online .tcl.action, #pun-online .tc3 {
  width: 100% !important;
  display: flex;
}

#pun-online .tcl.action {gap: 5px;}


/* Админка
-------------------------------------------------------------*/

.punbb-admin #pun-adnav {margin: 0;}

.punbb-admin #pun-admain {padding: 0;}

.punbb-admin #pun-adnav ul {
  display: flex;
  flex-wrap: wrap;
  padding: 5px 10px;
}

.punbb-admin #pun-adnav li {padding: 2px 5px;}

.punbb-admin #pun-admain fieldset .handle, .punbb-admin #pun-admain fieldset p {border: none;}

.punbb-admin #pun-admain .adlabel {
  padding: 0 5px !important;
  margin: 0;
  position: relative;
  width: auto;
  display: block;
  text-align: center;
}

.punbb-admin #pun-admain .adformal div ul, .punbb-admin #pun-admain div p {padding: 5px !important;}

.punbb-admin .adcontainer .adsubmitfield {
  display: flex;
  flex-direction: column;
}

.punbb-admin #pun-admain span.adsubmit {
  position: relative;
  width: auto;
  top: 0 !important;
  margin: 0 auto;
  display: block;
  padding: 5px;
 left: 0;
}

.punbb-admin #pun-admain1 .sortable p input[name^="cat_name"] {
  margin: 0;
  position: relative;
  width: calc(100% - 20px);
}

.punbb-admin #pun-admain input[type="submit"] {
  margin: 0 auto;
  display: block;
}

#pun-admain .adformal p.submittop, #pun-admain .adformal p.submitend {
  display: flex;
  justify-content: center;
}

#pun-admain .adformal p.submittop input[type="submit"], #pun-admain .adformal p.submitend input[type="submit"] {margin: 0 5px;}


/* Корректировка скриптов
-------------------------------------------------------------*/

/* Вкладки с информацией */

#character, .modal_wrap {
  width: 100%;
}

#character .tab-title span {
  display: none;
}

label.tab-title:after {
content: ' ';
font-size: 20px;
line-height: 150%;
font-family: var(--fa);
font-weight: 300;
position: relative;
z-index: 100;
}

.tab :checked + label.tab-title:after {
color: var();
}

#character label[for=tab1].tab-title:after, .character label[for=tab1].tab-title:after {content: '\f47f';}
#character label[for=tab2].tab-title:after, .character label[for=tab2].tab-title:after {content: '\f2eb';}
#character label[for=tab3].tab-title:after, .character label[for=tab3].tab-title:after {content: '\f06b';}
#character label[for=tab4].tab-title:after, .character label[for=tab4].tab-title:after {content: '\f58c';}

.charpic {display: none;}

/* Кнопки вверх и вниз */

.go-up, .go-down {
  right: 0;
  transform: scale(50%);
}

/* Таблица активистов */

#pre_placement, .Form-Table {display: none;}

/* стикеры под формой ответа
-------------------------------------------*/

#stikery table td {
 flex-wrap: wrap;
}

#gifs-nav {
display: inline-block;
text-align: justify;
width: 100%;
padding: 5px 0;
}

#gifs-nav a {margin: 0;}

#all-gifs {
width: auto;
padding: 0;
}

#stikery img {max-width: 44px;}


/* html
------------------------------------------*/

#guestbook {
  background: url(https://forumstatic.ru/files/001c/09/2b/46736.jpg) no-repeat top center/cover;
}

#guestbook .inner {
  height: 100%;
}

#guestbook .faq, #guestbook .rightside, .reserve > div {
  width: 100%;
}

#guestbook .faqblock {height: fit-content;}

#guestbook .hello, #guestbook .forpr {
  background: rgba(255,255,255,.7);
}

.reserve {
  flex-wrap: wrap;
  height: auto;
}

.reserve > div > div, {
  height: auto;
  max-height: 130px;
}

#activity {
  height: auto;
  background: url(https://forumstatic.ru/files/001c/09/2b/30802.jpg) no-repeat top center/cover;
}

#activity .inner {
  height: auto;
  flex-wrap: wrap;
}

#activity .chars-nav, #activity .all-chars {
  width: 100%;
  height: auto;
  max-height: 300px;
  background: rgba(255,255,255,.7);
}

#faces {
  background: url(https://forumstatic.ru/files/001c/09/2b/37862.jpg) no-repeat top center/cover;
}

#faces .reserve {
  max-height: initial;
}

.hair, .eyes, .height, .quenta .species, .age, .identity, .abilities, .weaknesses, .favs, .contacts {width: 100%;}

}

@media screen and (max-width: 430px) {

#pun {
  padding-top: 80px;
}

}