@import url(style_cs.1786894001.css);

/* Иконический шрифт */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");

/* Font Awesome */
@import url("https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css");

@import url('https://fonts.googleapis.com/css2?family=Gilda+Display&family=Grape+Nuts&family=Handlee&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


/****************************************
Чистый стиль by Alex Kolmar (бродяга)
****************************************/

/* Полезные сервисные настройки
-------------------------------------------------------------*/

.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 .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;
}


/* Основные переменные
------------------------------------------*/

/* Светлая тема */

:root {
  --body-bg: darkseagreen;
  --sec-bg: #c1b8b6;
  --text: #333;
  --textarea: lightyellow;
  --link: var(--greencream);
  --link-hover: mediumseagreen;
  --border: blanchedalmond;
  --accent-1: goldenrod;
  --accent-2: tomato;
  --pwidth: 240px;
  --mwidth: 180px;
  --pad1: 10px 20px;
  --pad2: 5px 20px;
  --pad3: 5px 10px;
  --msr: "Material Symbols Rounded";
  --fa: "Font Awesome 6 Pro", "Font Awesome 6 Brands";
	--pun-bg: #D9D9D9;
	--greencream: #3b4739;
	--green-opacity1: rgba(59, 71, 57, 0.3);
	--green-opacity2: rgba(59, 71, 57, 0.16);
	--black-opacity: rgba(0, 0, 0, 0.2);
	--green-opacity3: rgba(19, 31, 19, 0.3);
	--green-opacity4: rgba(59, 71, 57, 0.2);
        --black: #000;
        --white: #fff;
        --taupe: #C7C7C7;
  --font-family: "Inter", sans-serif;
  --second-family: "Arial", sans-serif;
  --third-family: "Gilda Display", sans-serif;
  --font3: "Grape Nuts", sans-serif;
  --font4: "Handlee", sans-serif;
  --fon: url(https://forumstatic.ru/files/000f/be/bc/56919.jpg) no-repeat top center/cover;
  --shapka: url(https://forumstatic.ru/files/000f/be/bc/35688.jpg) no-repeat top center;
  --futer: url(https://forumstatic.ru/files/000f/be/bc/18651.png?v=1) no-repeat top center;
}


/* Средняя тема */

.medium {
  --body-bg: #2d3e3e;
  --pun-bg: #f7ead0;
  --sec-bg: #cddac7;
  --text: #090509;
  --textarea: lightyellow;
  --link: #2d3e3e;
  --link-hover: #4e7877;
  --border: #71b9b5;
  --accent1: #d0b7a8;
  --accent2: #a98681;
}

/* Тёмная тема */

.dark {
  --body-bg: #423a3a;
  --sec-bg: #333;
  --text: whitesmoke;
  --textarea: #366;
  --link: var(--cream);
  --link-hover: cyan;
  --border: lightslategray;
  --accent1: goldenrod;
  --accent2: tomato;
	--pun-bg: var(--brown);
	--green1: #3b4739;
	--green-opacity1: rgba(59, 71, 57, 0.3);
	--green-opacity2: rgba(59, 71, 57, 0.16);
	--black-opacity: rgba(0, 0, 0, 0.2);
	--green-opacity3: rgba(19, 31, 19, 0.3);
	--green-opacity4: rgba(59, 71, 57, 0.2);
	--white: #e5e5e5;
        --greencream: #c5bdbb;
	--cream: #c5bdbb;
	--green2: #3b4739;
	--white-opacity: rgba(217, 217, 217, 0.6);
	--white-opacity2: rgba(230, 230, 229, 0.16);
	--white2: #fff;
	--black-opacity2: rgba(0, 0, 0, 0.2);
	--black-opacity3: rgba(0, 0, 0, 0.2);
	--brown-opacity: rgba(47, 34, 26, 0.3);
	--cream-opacity: rgba(197, 189, 187, 0.3);
	--brown: #423a3a;
	--taupe: #c7c7c7;
	--taupe2: #d3d1d2;
	--white-opacity3: rgba(255, 255, 255, 0.26);
  --font-family: "Inter", sans-serif;
  --second-family: "Arial", sans-serif;
  --third-family: "Gilda Display", sans-serif;
  --font3: "Grape Nuts", sans-serif;
  --font4: "Handlee", sans-serif;
  --fon: url(https://forumstatic.ru/files/000f/be/bc/30949.jpg) no-repeat top center/cover;
  --shapka: url(https://forumstatic.ru/files/000f/be/bc/76938.jpg) no-repeat top center;
  --futer: url(https://forumstatic.ru/files/000f/be/bc/89817.png) no-repeat top center;
}

/* Global
------------------------------------------*/

/* Применяется ко всем элементам */

* {
  margin: 0;
  padding: 0;
  border: none;
  text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* прокрутка 
-------------------------------------------------- */

/* Хром etc */

@supports selector(::-webkit-scrollbar) {

  *::-webkit-scrollbar-thumb {
    background: var(--link);
  }

  *::-webkit-scrollbar-thumb:hover {
    background: var(--link-hover);
    cursor: default;
  }

  *::-webkit-scrollbar-track {
    background: var(--sec-bg);
  }

  *::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }
}

/* Мозилла */

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--link-hover) var(--sec-bg);
  }
}

/* выделение текста */

::selection {
  background: var(--link);
  color: var(--pun-bg);
}

:focus {
  outline: none;
}

/* все ссылки */

a,
.punbb #pun-admain a {
  text-decoration: none;
  color: var(--link);
  transition: all .2s linear 0s;
}

a:hover,
.punbb #pun-admain a:hover {
  color: var(--link-hover);
}

/* все заголовки */

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre {
  margin: 0;
}

h1,
h2 {
  padding: 10px 20px;
  font-weight: normal;
  text-align: center;
}

h1 {
  display: none;
}

ul,
dl,
li,
dd,
dt {
  list-style: none;
}

address,
em {
  font-style: normal;
}

/* выключить список модераторов, отредактировано etc */

.modlist,
.lastedit,
.punbb div#pun-live-rusff,
.punbb .topic a.sharelink {
  display: none;
}

/* модальные окна, репутация, закладки etc */

#tags .container,
.post_report,
.post_reputation,
#MyBookmarks,
.inner.popup_graffiti,
.pun-modal .modal-inner,
.punbb-admin #pun-admin-award-form .inner {
  background: var(--sec-bg);
}

/* Формы
------------------------------------------- */

/* ОФОРМЛЕНИЕ КНОПОК */

input.button,
#pun-admain input.button,
#sub4,
input[type="button"],
input[type="submit"] {
  padding: 2px 10px;
  border: 1px solid currentColor;
  cursor: pointer;
  transition: all .2s linear 0s;
}

input.button:hover,
#pun-admain input.button:hover,
#sub4:hover,
input[type="button"]:hover,
input[type="submit"]:hover {}

/* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА */

input[type="text"],
input[type="password"],
textarea,
select {
  padding: 2px 5px;
  border: 1px solid var(--greencream);
  background: var(--sec-bg);
  color: var(--text);
  border-radius: 5px;
}

textarea,
input,
select,
optgroup {
  font-size: 12px;
}

optgroup {
  font-weight: bold;
}

/* флажки и чекбоксы */

.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
  margin: 0 3px;
}

p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  height: 20px;
  vertical-align: middle;
}

.formal .container {
  padding: var(--pad1);
}

.formsubmit {
  padding: 0;
  margin: 10px 0 0 0;
}

.formsubmit input,
.formsubmit a,
.formsubmit span {
  margin: 0 6px 0 0;
}

fieldset {
  border: none;
}

fieldset legend {
  font-weight: bold;
}

fieldset fieldset {
  border: none;
  margin: 0;
  padding: 0 0 8px 0
}

.fs-box {
  padding: 5px 0;
}

.fs-box p,
.fs-box fieldset {
  padding: 0 0 8px 0;
}

.inline .inputfield,
.inline .selectfield,
.inline .passfield {
  float: left;
  margin-right: 10px;
}

.inline .infofield {
  clear: both
}

.datafield br {
  display: none
}

.required label,
.datafield span.input {
  font-size: 10px;
}

textarea,
.longinput input {
  width: 64%;
  margin: 0;
}

.hashelp {
  position: relative;
}


/* Админка
------------------------------------------*/

.punbb-admin .adcontainer,
.punbb-admin .adformal {
  border: none;
}

/* боковое меню админки */

.punbb-admin .adminmain {
  padding-left: calc(var(--mwidth) + 20px);
}

.punbb-admin .adformal h2 {
  text-align: center;
}

.punbb-admin #pun-adnav {
  width: var(--mwidth);
  margin-left: calc(var(--mwidth) * -1);
}

.punbb-admin #pun-adnav li.isactive a {
  color: var(--link-hover);
}

.punbb-admin #pun-adnav .isactive ul.adsubnav a {
  text-decoration: none;
  color: var(--link);
}

.punbb-admin #pun-adnav .isactive ul.adsubnav a:hover,
.punbb-admin sup.new {
  color: var(--link-hover);
}

.punbb-admin #pun-admain fieldset .handle, .punbb-admin #pun-admain fieldset p {
  border-color: var(--border);
  background-color: var(--sec-bg);
}

.punbb-admin #pun-admain fieldset {
  border-color: var(--body-bg);
}

.punbb-admin #pun-admain legend span {
  background-color: var(--body-bg);
  color: var(--sec-bg);
}


/* Тело форума
------------------------------------------*/

/* фон */

html {
  background: var(--body-bg) url() no-repeat top center;
}

/* заплатка для фиксированного фона */

body::before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-width: 100vw;
  min-height: 100vh;
  z-index: -10;
  background: var(--body-bg) var(--fon);
}

/* тело */

#pun {
  margin: 30px auto;
  background: var(--pun-bg);
  border-radius: 29px;
  width: 998px;

}

/* внутреннее тело */

.punbb {
    font: 12px Arial, Verdana;
    color: var(--text);
    display: flex;
    flex-direction: column;
}

/* настройки внутренних блоков */

.punbb > div .container {
  padding: var(--pad1);
}

/* Навигационные ссылки */

#pun-navlinks {
    order: -1;
    background: var(--greencream);
    border-radius: 29px 29px 0 0;
}

#pun-navlinks .container {
    display: flex;
    justify-content: space-evenly;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    color: #fff;
    text-transform: lowercase;

}

#pun-navlinks .container:after {
  display: none;
}

#pun-navlinks li {
  padding: 0 5px;
  display: inline;
}

#pun-navlinks li a {
  color: #fff;
}

/* Пользовательские ссылки */

#pun-ulinks {
    background: var(--greencream);
}

#pun-ulinks a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    color: #fff;
    text-transform: lowercase;
}

#pun-ulinks .container {
    text-align: center;
    display: flex;
    justify-content: space-evenly;
}

#pun-ulinks li {
  padding: 0 5px;
  display: inline;
}

/* Статус */

#pun-status {}

#pun-status span {
  white-space: nowrap;
  margin-right: 5px;
}

.punbb #pun-status .status-right {
/*  float: none; */
}

/* Хлебные крошки */

.crumbs.container {
    text-align: center;
}

/* Копирайт */

#pun-about {
    background: var(--greencream);
    color: var(--pun-bg);
}

#pun-about .container {
    text-align: center;
    padding: 5px 20px;
}

#pun-about a {
    color: var(--pun-bg);
}

/* Основная форумная таблица
------------------------------------------*/

.main table {
  table-layout: fixed;
  width: 100%;
}

.main th {
  padding: 5px 10px;
}

.main td {
  padding: 10px;
}

.tcl {
  width: 50%;
}

.tc2,
.tc3,
.tcmod {
  text-align: center;
  width: 10%;
}

.tcr {
  width: 30%;
}

#pun-searchtopics .tcl,
#pun-modviewforum .tcl {
  width: 40%
}

#pun-searchtopics .tc2 {
  text-align: left;
  width: 20%;
}

#pun-debug table .tcl {
  width: 15%;
}

#pun-debug .tcr {
  width: 90%;
}

tbody.hasicon td.tcl {
  padding-left: 40px;
}

/* аватар */

.punbb td .user-avatar {

}

.punbb td .user-avatar .avatar-image {
   box-shadow: 3px 0 0 1px;

}

/* Иконки */

div.icon {
  position: absolute;
  margin-left: -30px;
  width: 20px;
  height: 20px;
  background: var(--sec-bg) url() no-repeat top center;
  display: none;
}

tr.inew div.icon {
  background: var(--border) url() no-repeat top center;
}

tr.isticky div.icon {
  background: var(--link-hover) url() no-repeat top center;
}

tr.iclosed div.icon {
  background: var(--accent3) url() no-repeat top center;
}


/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка)
--------------------------------------------------------------------------------------------------- */

.multipage {
  margin-top: 10px;
}

.linkst {
  position: relative;
  padding: var(--pad2);
  display: flex;
  justify-content: space-between;
}

.linkst .pagelink {}

.linkst .postlink {
  text-align: right;
}

.linksb {
  position: relative;
  padding: var(--pad2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.linksb .pagelink {
  order: -1;
}

.subscribelink {
  width: 100%;
  text-align: right;
}

.linksb noindex {
  order: 1;
}

.linksb .postlink {
  margin-left: auto;
  text-align: right;
}

/* Модераторское меню, RSS, Atom */

.modmenu .container {
  padding: var(--pad3);
  text-align: right;
}

.modmenu .container strong {
  float: left;
}

.modmenu input {
  margin-left: 10px;
}

#topic-users-in a:not(:last-child)::after {
  content: ',';
}

/* Главная страница
------------------------------------------*/

/* скрыть "форум, тем, сообщений" */

#pun-index thead {
  display: none;
}

/* категория */

#pun-index .category, #pun-stats {
    display: flex;
    background: var(--green-opacity2);
    border: 1px solid var(--greencream);
    border-radius: 29px;
    width: 948px;
    margin: 0 auto;
    margin-top: 15px;
}

/* заголовок категории */

#pun-index .category h2 {
    background: var(--greencream);
    transform: rotate(180deg);
    /* height: fit-content; */
    white-space: nowrap;
    transform-origin: bottom-right;
    /* position: absolute; */
    writing-mode: vertical-lr;
    border-radius: 0 29px 29px 0;
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 30px;
    text-align: center;
    color: #fff;
    padding: 10px 5px;
}

#pun-index .category .container {
       box-sizing: border-box;
}

/* левая колонка (форумы) */

#pun-index tbody.hasicon td.tcl {
  padding: 10px;
}

#pun-index .intd {
  display: flex;
  gap: 10px;
}

/* иконки на главной */

#pun-index div.icon {
  position: relative;
  margin: 0;
  flex-shrink: 0;
 display: none;
}

#pun-index .inew div.icon {}

/* аватар в последнем сообщении */

#pun-index td .user-avatar a {
  display: inline-block;
  position: relative;
}

#pun-index td .user-avatar {}

#pun-index td .user-avatar .avatar-image {
    box-shadow: 3px 0 0 1px;
}

/* Статистика */

#pun-stats {    
   margin-top: 20px;
}

/* заголовок статистики */

#pun-stats h2 {
   font-size: 0;
    background: var(--greencream);
    transform: rotate(180deg);
    white-space: nowrap;
    writing-mode: vertical-lr;
    border-radius: 0 29px 29px 0;
    font-family: var(--third-family);
    font-weight: 400;
    text-align: center;
    color: #fff;
    padding: 10px 5px;
}

#pun-stats h2:before {
content: "stats";
font-size: 30px;
}

#pun-stats  .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

/* всего тем, всего сообщений, зарегистрированных, последний зарегистрировавшийся */

#pun-stats li.item1,
#pun-stats li.item2,
#pun-stats li.item3,
#pun-stats li.item4 {

}

/* активны, посетили за сутки */

li#onlinelist {
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

/* Шапка
------------------------------------------*/

#pun-title {
    background: var(--shapka);
    height: 292px;
}

/* скрыть заголовок в шаке */

#pun-title .title-logo {
  display: none;
}

#html-header {
    position: absolute;
    height: 292px;
    width: 998px;
    top: 64px;
}

/* содержимое шапки в html-верх */

.tablica {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-left: 10px;
}

.tab_logo {
    font-family: var(--font3);
    font-weight: 400;
    font-size: 96px;
    text-align: center;
    color: var(--greencream);
   -webkit-text-stroke: 1px #D3D1D2;
}

.dog1 {
    background: url(https://forumstatic.ru/files/000f/be/bc/11073.png);
    width: 119px;
    height: 178px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.dog1_bubble {
    background: url(https://forumstatic.ru/files/000f/be/bc/70046.svg) no-repeat top center;
    height: 100px;
    width: 100px;
    position: absolute;
    left: 90px;
    top: -30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-family: var(--font3);
    font-weight: 700;
    color: black;
    opacity: 0;
    transition: opacity .3s linear 0s;
}

.dog1:hover .dog1_bubble {
    opacity: 1;
}

.dog2 {
    background: url(https://forumstatic.ru/files/000f/be/bc/64343.png);
    width: 155px;
    height: 138px;
    position: absolute;
    bottom: -10px;
    right: 316px;
}

.cat {
    background: url(https://forumstatic.ru/files/000f/be/bc/89556.png);
    height: 130px;
    width: 93px;
    position: absolute;
    right: 150px;
    bottom: 50px;
}

.cat_bubble {
    background: url(https://forumstatic.ru/files/000f/be/bc/70046.svg) no-repeat top center;
    height: 100px;
    width: 100px;
    position: absolute;
    left: 60px;
    top: -60px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-family: var(--font3);
    font-weight: 700;
    color: black;
    opacity: 0;
    transition: opacity .3s linear 0s;
}

.cat:hover .cat_bubble {
    opacity: 1;
}

.portrait {
    width: 20px;
    height: 20px;
    position: absolute;
}

.portrait img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
}

.flooder1 {
    top: 56px;
    left: 68px;
}

.flooder2 {
    top: 68px;
    left: 120px;
}

.writer1 {
    top: 78px;
    right: 351px;
}

.writer2 {
    top: 57px;
    right: 291px;
}

.post_wrapper {
    position: absolute;
    bottom: 15px;
    left: 315px;
}

.post_inner {
    border-radius: 11px;
    width: 177px;
    height: 55px;
    background: var(--taupe);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    line-height: 80%;
    text-align: justify;
    color: #000;
    padding: 10px 15px;
    box-sizing: border-box;
    border: 1px solid var(--greencream);
}

.post_wrapper span {
    border: 1px solid var(--white-opacity3);
    width: 118px;
    line-height: 20px;
    display: block;
    background: var(--greencream);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    text-align: center;
    color: var(--white);
    position: absolute;
    right: -15px;
    bottom: -10px;
}



/* Объявление
------------------------------------------*/

#pun-announcement {}

/* скрываем слово "объявление" */

#pun-announcement h2 {
  display: none;
}


/* Футер
------------------------------------------*/

#html-footer {}

#html-footer .container {padding: 0;}

/* баннеры */

.banners {
    padding: var(--pad1);
    background: var(--futer);
    height: 98px;
    box-sizing: border-box;
    border-bottom: 7px solid var(--greencream);
    border-radius: 0 0 29px 29px;
}

#html-footer .banners .container {
    box-shadow: -3px 4px 4px 0 rgba(0, 0, 0, 0.74);
    background: var(--green-opacity3);
    border-radius: 12px;
    height: 68px;
    padding: 10px 15px;
    box-sizing: border-box;
} 

#html-footer .banners_inner {
    height: 48px;
    overflow: auto;
}
.banners a {
  opacity: .7;
}

.banners a:hover {
  opacity: 1;
}



/* Топик
------------------------------------------*/

.post {
  margin-top: 10px;
}

.toppost,
.topicpost {
  margin-top: 0;
}

/* контейнер поста */

.post .container {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
}

/* дата и номер поста */

.post h3 {
  padding: var(--pad2);
}

.post h3 span {
  display: block;
}

/* номер поста */

.post h3 strong {
  float: right;
  text-align: right;
  font-weight: normal;
}

/* Автор */

.post-author {
  position: relative;
  margin: 0 0 15px;
  width: var(--pwidth);
  text-align: center;
  box-sizing: border-box;
  background: var(--sec-bg);
  border-radius: 32px;
}

.post-author ul {
  padding: 0;
}

.pa-author {
    background: var(--greencream);
    border-radius: 32px 32px 0 0;
    padding: 5px 10px;
    font-family: var(--font4);
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: var(--white);
    text-transform: uppercase;
}

.pa-author a {
    color: var(--white);
}

.pa-title {
  margin: 10px 0;
}

.pa-avatar img {
   border: 1px solid var(--greencream);
}

.lz {
    margin: 10px auto;
    background: #d9d9d9;
    border: 1px solid var(--greencream);
    border-radius: 11px;
    width: 204px;
    padding: 10px 0;
}

.lz .name {
    margin: 0 auto 5px;
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    color: #000;
    text-transform: uppercase;
}

.lz .fandom {
    background: var(--greencream);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    color: var(--white);
    display: block;
    line-height: 18px;
    margin-bottom: 5px;
}

.lz p {
    font-family: var(--font-family);
    padding: 0 10px;
}


.pa-posts,
.pa-respect {
  display: inline-block;
  margin: 0 10px 5px;
}

.pa-posts .fld-name,
.pa-respect .fld-name {
  display: block;
  font-size: 0;
}

.pa-posts .fld-name:before,
.gid3 .pa-respect .fld-name:before, .pa-respect .fld-name a:before {
  content: "";
  font-family: var(--fa);
  font-size: 16px;
}

.pa-posts .fld-name:before {
  content: "\f0e0";
}

.gid3 .pa-respect .fld-name:before, .pa-respect .fld-name a:before {
  content: "\f004";
}

.pa-online,
.pa-last-visit {}

.pa-online {
    box-sizing: border-box;
    position: relative;
    margin: 10px auto 0;
    width: 100%;
    height: fit-content;
    cursor: pointer;
    background: var(--greencream);
    display: block;
    border-radius: 0 0 32px 32px;
    padding: 5px 10px;
    color: white;
}

.pa-online:before {
  content: "online";
  font-weight: bold;
}

.pa-online strong {
  position: absolute;
  margin-right: -50%;
  transform: translate(-50%, 100%);
  padding: 5px 10px;
  left: 50%;
  opacity: 0;
  background: rgba(0,0,0,.7);
  box-sizing: border-box;
  white-space: nowrap;
  transition: opacity .2s linear 0s;
  pointer-events: none;
  color: var(--pun-bg);
}

 .pa-online strong::after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    position: absolute;
    z-index: 10;
    border: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    margin-left: -10px;
    left: 50%;
    border-bottom: 10px solid rgba(0,0,0,.7);
    top: -10px;
}

.pa-online:hover strong {
  opacity: 1;
}


/* Тело поста */

.post-body {
  width: calc(100% - var(--pwidth));
}

.post-box {
  padding: 0 0 10px 10px;
}

.post-links {
  margin-left: var(--pwidth);
  width: 100%;
}

.post-links ul {
  padding: 0;
  margin-left: calc(var(--pwidth) * -1);
  text-align: right;
}

.post-links li {
  display: inline;
}

.post-links li:not(:first-of-type) {
  padding-left: 10px;
}

.pl-email,
.pl-website {
  float: left;
}

.clearer {
  clear: both;
  height: 0;
  font-size: 0;
}


/* Контент поста - цитата, спойлер, таблицы и т.п. */

.punbb .post td {
  border: 0px transparent !important;
}

pre {
  font: 12px/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}

.post-content em {
  font-style: italic;
}

.post .post-content td {
  border-width: 0px !important;
}

.post-content em.bbuline {
  font-style: normal;
  text-decoration: underline;
}

.post-content p {
  margin: 0;
  padding: 0 0 12px 0;
  line-height: 150%;
  text-align: justify;
}

.post-content img {
  vertical-align: middle;
}

.scrollbox {
  width: 100%;
  overflow: auto;
  max-height: 200px;
}

/* цитата и код */

.quote-box,
.code-box {
    margin: 4px 10px 10px;
    padding: 10px 15px;
    border: 1px solid var(--greencream);
    background: var(--sec-bg);
    border-radius: 21px;
}

.quote-box cite {
  display: block;
  padding-bottom: 5px;
  font-weight: bold;
  font-style: normal;
}

.code-box strong.legend {
  display: block;
  padding-bottom: 5px;
  font-weight: bold;
  font-style: normal;
}

.post-sig dt {
  border-bottom: 1px solid var(--link-hover);
  width: 300px;
  margin: 10px auto;
}

.punbb .reactions-root {
  padding: 0 0 10px;
}

.punbb .reactions-container {
  position: relative;
  justify-content: flex-end;
}

.punbb .reaction-picker {
  order: 1;
}

.punbb .reaction-picker-panel {
  right: 0;
}

/* Форма ответа */

#main-reply {
  box-sizing: border-box;
}

#tags {
  position: relative;
}

#tags .container {
  padding: var(--pad3) !important;
  top: 0 !important;
  max-height: 300px;
  overflow: auto;
}


/* Профиль + ЛС
------------------------------------------*/

#profile .container {
  padding-left: calc(var(--mwidth) + 20px);
  min-height: 100px;
}

#profilenav {
  float: left;
  width: var(--mwidth);
  margin-left: calc(var(--mwidth) * -1);
}

#viewprofile h2,
#profilenav h2 {
  padding: 0;
  margin: 0;
}

#profilenav li {
  padding: 0 0 5px;
}

#viewprofile li {
  padding: 5px 0;
}

#profile-right li {
  display: flex;
}

#profile-right li span {
  width: 150px;
  flex-shrink: 0;
}

#profile-left li strong, #profile-right li strong {
  font-weight: normal !important;
}

img.avatardemo {
  float: right;
  margin: 0 0 8px 18px;
}

#pun-messages .clearer {
  display: none;
}

li.pa-ua {
    display: none !important;
}

/* Прочие страницы
------------------------------------------*/

/* Список пользователей */

#pun-userlist .formal,
#pun-userlist .formal .container {
  margin-bottom: 0;
}

#pun-userlist .tc2 {
  text-align: left;
  width: 20%;
}

#pun-userlist .tcl {
  width: 40%
}

.usertable .container {}

/* Собщения об ошибках */

.info .container {
  padding: var(--pad3);
}

.info .container .backlink {
  padding-top: 8px;
}

/* Регистрация */

.info-box {
  margin: 0 0 10px 0;
}

.info-box * {
  padding: 0 0 5px 0;
}

.info-box .legend {
  font-weight: bold;
}

.jGrowl-notification .jGrowl-close {
  position: relative;
  right: 6px;
}

.tipsy #respect figcaption {
  margin-top: 0;
}

/* Кнопки вверх-вниз
-------------------------------------------------------*/

.go-up, .go-down {
  cursor: pointer;
  z-index: 9999;
  display: none;
  position: fixed;
  margin-left: 1000px !important;
  box-sizing: border-box;
  transition: all .3s linear 0s;
  padding: 15px 5px;
  background: var(--pun-bg);
  border-block: 2px solid var(--border);
  border-right: 2px solid var(--border);
}

.go-up {
  top: 260px;
}

.go-down {
  top: 320px;
}

.go-down:hover,
.go-up:hover {
  opacity: 1;
}

/* Form Buttons © max, the murderer!
----------------------------------------------------------------------- */

/* General */

#form-buttons table {
    width: 100% !important;
}

#form-buttons table tr {
    display: flex;
    justify-content: space-between; /* выравнивание кнопок в ряду */
    gap: 4px;
    margin-bottom: 4px;
}

#form-buttons td {
    position: relative;
    background: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; /* ширина кнопки */
    height: 24px; /* высота кнопки */
}

#form-buttons td::before {
    font-family: var(--fa);
    font-size: 16px; /* размер иконки */
    font-weight: 400; /* стиль иконки */
    position: absolute;
    color: var(--link);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

#form-buttons td:hover::before {
    color: var(--link-hover); /* цвет при наведении */
}


/* Icons */

#button-font::before {
    content: '\f031';
}

#button-size::before {
    content: '\f894';
}

#button-bold::before {
    content: '\f032';
}

#button-italic::before {
    content: '\f033';
}

#button-underline::before {
    content: '\f0cd';
}

#button-strike::before {
    content: '\f0cc';
}

#button-left::before {
    content: '\f036';
}

#button-right::before {
    content: '\f038';
}

#button-center::before {
    content: '\f037';
}

#button-link::before {
    content: '\f0c1';
}

#button-spoiler::before {
    content: '\f518';
}

#button-image::before {
    content: '\f302';
}

#button-video::before {
    content: '\f144';
}

#button-hide::before {
    content: '\f30d';
}

#button-quote::before {
    content: '\f27a';
}

#button-code::before {
    content: '\f121';
}

#button-color::before {
    content: '\f53f';
}

#button-table::before {
    content: '\f009';
}

#button-smile::before {
    content: '\f118';
}

#button-keyboard::before {
    content: '\f11c';
}

#button-addition::before {
    content: '\f0d7';
}

#form-buttons td#button-files_rusff::before {
    content: '\f07b';
}

#form-buttons td#button-graffiti_rusff::before {
    content: '\f5bd';
}

#button-transL::before {
    content: '\f891';
}

#button-indent::before {
    content: '\f878';
}

#button-justify::before {
    content: '\f039';
}

#floatbut::before {
    content: '\f03c';
}

#form-buttons #button-image ~ #button-image::before {
    content: '\f03e' !important;
}

#button-mask::before {
    content: '\f630';
}


/* Рейтинг поста */

body div.post-rating,
body div.post-vote {
  float: right;
  position: relative;
  line-height: initial;
}

body div.post-rating p,
body div.post-vote p {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

div .post-rating p > a {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 11px/100% verdana, arial, sans-serif !important;
  color: var(--link);
}

div.post-vote p > a {
  font-size: 0 !important;
}

div .post-rating p::before, div .post-vote p a::before {
  content: '\f1b0';
  font-family: var(--fa);
  font-weight: 700;
  font-size: 30px;
  line-height: 100%;
  color: var(--sec-bg);
  transition: all .2s linear 0s;
  text-stroke: 1px var(--link);
  -webkit-text-stroke: 1px var(--link);
}

div .post-vote p a:before {
  content: '\f075';
}

div .post-rating p:hover:before,
div .post-vote p:hover a:before {
  color: var(--link);
}

div .post-rating p:hover > a,
div .mylike .post-rating p > a {
  color: var(--pun-bg);
}

div .mylike .post-rating p:before {
  color: var(--link);
}

.post[data-group-id="3"] .post-rating {
  display: none;
}

.isguest .post .post-rating {
  pointer-events: none;
}


/* Theme switcher © max, the murderer! */

#theme_switcher {
  text-align: right;
  padding: var(--pad1);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  color: var(--accent-1);
  position: absolute;
  left: 430px;
}

#theme_switcher li {
    display: inline-block;
}

#theme_switcher li label {
    display: none;
}

#theme_switcher li input {
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

#theme_switcher li input::before {
  font: 400 16px/100% var(--fa);
  margin-right: 4px;
  cursor: pointer;
  transition: all .3s linear 0s;
}

#theme_switcher li input#light::before {
    content: '\f185';
}

#theme_switcher li input#medium::before {
    content: '\f6c4';
}

#theme_switcher li input#dark::before {
    content: '\f755';
}

#theme_switcher li input:hover::before,
#theme_switcher li input[type="radio"]:checked {
   color: var(--white);
}


/************************* 
Стиль для Быстрой смены аккаунтов 
Deff 
*************************/

/*Cкрытие формы входа без клика*/
#pun-navlinks a:not(.NextShow)+span.odd, #pun-navlinks a:not(.NextShow)+span.odd+a#New-exit {
  display: none !important;
}

li#navlogout .odd, li#navlogin .odd {
  position: absolute !important;
  margin-top: 25px;
  background: var(--sec-bg);
  padding: 15px;
  border: 1px solid var(--border);
  z-index: 110;
}

#form-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  max-width: 200px;
}

#pun:not(.gid3) #form-login > p {
  display: none;
}

#pun-navlinks li#navlogout {
  display: inline-flex;
  align-items: flex-start;
  z-index: 120;
}

#New-exit {
  margin: auto;
  display: inline-flex;
  height: 15px;
  width: auto;
  position: relative;
}

#New-exit img {
  position: absolute;
  height: 15px;
  margin-left: 10px;
  mask-image: url(https://forumstatic.ru/files/0016/01/4e/34290.svg);
  background: var(--link);
  width: 15px;
}

#List-UserNames, #List-UserNames ul {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  gap: 5px;
}

#List-UserNames ul li {
  position: relative;
  padding: 0;
  display: flex;
  transition: all .2s linear 0s;
  justify-content: space-between;
  background: var(--pun-bg);
  box-shadow: 0 2px var(--border);
  border: 1px solid var(--border);
}

#List-UserNames ul li b, #List-UserNames ul li span {
  cursor: pointer;
  transition: all .2s linear 0s;
  color: var(--text);
}

#List-UserNames ul li b {
  padding: 5px 10px;
  display: flex;
  flex-grow: 1;
  box-sizing: border-box;
}

#List-UserNames ul li span {
  font-size: 1.6em;
  position: absolute;
  right: 0;
  display: flex;
  height: 100%;
  width: 25px;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

#List-UserNames ul li b:hover, #List-UserNames ul li span:hover {
  color: var(--link-hover);
}

#List-UserNames > span {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
}

#Paste-And-Copy {
  width: 100% !important;
  box-sizing: border-box;
}

#List-UserNames span.a1-copy, #List-UserNames span.a1-paste {
  margin-bottom: 5px;
  cursor: pointer;
  transition: all .2s linear 0s;
  padding: 5px 10px;
  background: var(--pun-bg);
  box-shadow: 0 2px var(--border);
  border: 1px solid var(--border);
  color: var(--text);
}

#List-UserNames ul li:hover, #List-UserNames span.a1-copy:hover, #List-UserNames span.a1-paste:hover {
  transform: translateY(2px);
  box-shadow: none;
}