@import url(style_cs.1752323175.css);

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/v4-font-face.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/fontawesome.min.css');

/* èñïîëüçóþòñÿ â äèçàéíå */
@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700|Open+Sans:400,400i,600,600i,700,700i,800,800i|Roboto:100,300,400,700,900');
@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');

:root {
    --bg1-frame: url(https://forumstatic.ru/files/001b/33/a6/58822.png);
    --bg1-img: url(https://forumstatic.ru/files/001b/33/a6/87327.png);

    --bg2-frame: url(https://forumstatic.ru/files/001b/33/a6/87517.png);
    --bg2-color: #cec5b4;
    --bg2-drop: #776e5e;

--pun-bottom-right: url(https://forumstatic.ru/files/001b/33/a6/70167.png);
--pun-bottom-left: url(https://forumstatic.ru/files/001b/33/a6/17974.png);
--pun-top-right: url(https://forumstatic.ru/files/001b/33/a6/62723.png);
--pun-top-left: url(https://forumstatic.ru/files/001b/33/a6/62343.png);
--pun-bottom-center: url(https://forumstatic.ru/files/001b/33/a6/42497.png);
--pun-top-center: url(https://forumstatic.ru/files/001b/33/a6/89085.png);
--pun-top2-right: url(https://forumstatic.ru/files/001b/33/a6/91002.png);
--pun-top2-left: url(https://forumstatic.ru/files/001b/33/a6/16591.png);

    --category-line: linear-gradient(90deg, #3c3a36 0%, #837657 50%, #3c3a36 100%);
    --cat-top-left: url(https://forumstatic.ru/files/001b/33/a6/12094.png);
    --cat-top-right: url(https://forumstatic.ru/files/001b/33/a6/34225.png);
    --cat-top-center: url(https://forumstatic.ru/files/001b/33/a6/10094.png);
    --cat-bottom-left: url(https://forumstatic.ru/files/001b/33/a6/17050.png);
    --cat-bottom-right: url(https://forumstatic.ru/files/001b/33/a6/32724.png);
    --cat-bottom-center: url(https://forumstatic.ru/files/001b/33/a6/23374.png);

    --foo: url(https://forumstatic.ru/files/001b/33/a6/52246.png);

    --header: url(https://forumstatic.ru/files/001b/33/a6/92645.png);
    --logo: url(https://forumstatic.ru/files/001b/33/a6/17118.png);

    --cover: #c0b6a3;
    --border-light: #cec5b4;
    --border-dark: #978d7b;
    --f-drop: #b9af9d;

    --accent-border: #3c3a36;

    --h3-bg: #c9bfad;
    --h3-border: #cec5b4;
    --main-icons: url(https://forumstatic.ru/files/001b/33/a6/52625.png);

    --link-hover: #746e58;

    --arrows: url(https://forumstatic.ru/files/001b/33/a6/18488.png);

    --text1: #433f36; /* black */
    --text2: #6a614b; /* light black */
    --text3: #6c6861; /*white*/
    --text-accent: #6c6861;
    --text4: #D1CCC2; /*semiwhite*/
    --links: #6a614b;
    --accent: #95855d;

    --font:lol;
    --font-accent: Biza;

    --borders: #B5B0A6;

    --font-size--paragraph: 13px;
}

@font-face {font-family: 'Romul'; 
src: local("Romul"), url(https://forumstatic.ru/files/001b/33/a6/22461.ttf);}


@font-face {font-family: 'Sava'; 
src: local("Sava"), url(https://forumstatic.ru/files/001b/33/a6/78785.otf);}

@font-face {
  font-family: 'Lol';
  font-style: normal;
  font-weight: 200;
  src: url(https://forumstatic.ru/files/001b/71/36/22249.otf);
}

@font-face {
  font-family: 'Lol';
  font-style: normal;
  font-weight: 400;
  src: url(https://forumstatic.ru/files/001b/71/36/66368.otf);
}

@font-face {
  font-family: 'Lol';
  font-style: italic;
  font-weight: 400;
  src: url(https://forumstatic.ru/files/001b/71/36/51435.otf);
}

@font-face {
  font-family: 'Lol';
  font-style: normal;
  font-weight: 500;
  src: url(https://forumstatic.ru/files/001b/71/36/80340.otf);
}

@font-face {
  font-family: 'Lol';
  font-style: normal;
  font-weight: 600;
  src: url(https://forumstatic.ru/files/001b/71/36/41727.otf);
}

/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/

/* A2.1 */
html,
body {
	margin: 0;
	padding: 0
}

/* A2.2 */
.punbb * {
	margin: 0px
}

/* A2.3 */
.punbb ul,
.punbb dl,
.punbb li,
.punbb dd,
.punbb dt {
	padding: 0;
	list-style: none;
}

/* A2.4 */
.punbb img {
	border: none
}

/* A2.5 */
.punbb .main table {
	table-layout: fixed;
	width: 100%;
}

/* A2.6 */
.checkfield input[type="checkbox"],
.radiofield input[type="radio"] {
	margin: 0 0.3em;
}

/* A2.7 */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
	height: auto;
	vertical-align: middle
}


/* A3 Text setup
-------------------------------------------------------------*/

/* A3.1 */
body {
	font-size: 100.01%;
text-rendering: geometricPrecision;
}

/* A3.2 */
.punbb {
	font: normal 70% verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

/* 3.3 */
.punbb textarea,
.punbb input,
.punbb select,
.punbb optgroup {
	font: 1em verdana, arial, helvetica, sans-serif
}


/* A3.4 */
.punbb h1,
.punbb h2,
.punbb h3 {
	font-size: 1em;
	font-weight: bold;
}

.punbb th {
	font-size: 0.9em;
	font-weight: bold;
}

.punbb h4,
.punbb table {
	font-size: 1em;
	font-weight: normal;
}

/* A3.5 */
.punbb h1 span,
.punbb h2 span,
.punbb legend span {
	font-size: 1.1em;
}

/* A3.6 */
.punbb pre {
	font: 1.1em/140% verdana, arial, monaco, "bitstream vera sans mono", "courier new", courier, monospace
}

/* A3.7 */
.punbb address,
.punbb em {
	font-style: normal
}

/* A3.8 */
.punbb .post-content em {
	font-style: italic
}

/* A3.9 */
.punbb .post-content em.bbuline {
	font-style: normal;
	text-decoration: underline;
}

/* A3.10 */
.punbb a {
	text-decoration: none
}

/* A3.11 */
.punbb optgroup {
	font-weight: bold;
}


/* A4 Float clearing and hidden items
-------------------------------------------------------------*/

/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb dl.post-sig dt span,
.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;
}

/* A4.2 */
.acchide,
#pun-ulinks h2,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
	font-size: 0;
	height: 0;
	width: 0;
	line-height: 0.0;
	position: absolute;
	left: -9999px;
	overflow: hidden
}


/* A5 Basic page layout and borders
-------------------------------------------------------------*/
/* A5.1 */
#pun {
	background:
		var(--bg1-img);
	border: solid;
	border-image-source: var(--bg1-frame);
	border-image-slice: 20;
	border-image-repeat: repeat;
	border-collapse: separate;
	border-width: 20px;
	border-bottom: none;
	margin: auto;
	width: 1140px;
	margin-top: 422px !important;
	margin-bottom: 0px;
	padding: 22px 22px 165px;
	box-sizing: border-box
}

.punbb {
	padding: 40px;
	background:
		var(--pun-bottom-right) no-repeat bottom right,
		var(--pun-bottom-left) no-repeat bottom left,
		var(--pun-top-right) no-repeat top right,
		var(--pun-top-left) no-repeat top left,
		var(--pun-bottom-center) repeat-x bottom center,
		var(--pun-top-center) repeat-x top center,
		var(--pun-top2-right) repeat-y top right,
		var(--bg2-color) var(--pun-top2-left) repeat-y top left;
	border: solid;
	border-image-source: var(--bg2-frame);
	border-image-slice: 13;
	border-image-repeat: repeat;
	border-collapse: separate;
	border-width: 13px;
}

/* ëèøíåå */
h1.title-logo,
#pun-navlinks h2,
#pun-ulinks h2,
#pun-status h2,
#pun-crumbs1 strong,
#pun-crumbs2 strong,
thead,
th,
#pun-crumbs1 .container strong+em,
#pun-crumbs2 .container strong+em,
#pun-index #pun-main h1,
.stickytext,
.closedatafield,
#pun-live-rusff,
.pl-reports,
td .modlist,
li#navawards,
.pa-gifts,
.acchide,
.forum h2,
.usertable h2,
.topic h2,
a.sharelink,
#pun .pa-ua,
.pa-author img,
.lastedit,
fieldset legend,
#pun .pl-reports,
#pun .mini_gifts,
#pun-userlist .main h2,
#pun-search .main h1,
#profilenav h2,
#profile-gifts,
#messages li.pl-email,
#pun .email,
.catleft,
.catright,
#pun .pl-share,
p.inputfield label em,
p.selectfield label em,
p.passfield label em,
#pun-announcement h2 {
	display: none
}

.punbb {
	height: auto;
}

#pun {
	color: var(--text2);
}

#pun a {
	color: var(--links)
}

#pun a:hover {
	color: var(--accent)
}

/* A5.3 */
#pun-redirect,
#pun-maint {
	margin: 50px 20% 12px 20%;
	width: auto;
	float: none;
	min-height: 100px;
}

#pun-redirect {
	border: 0 none !important;
	margin: 0;
	padding: 0;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	position: fixed;
	width: 100%;
	height: 100%;
	text-align: center;
	background:
		url(https://forumstatic.ru/files/001b/33/a6/95970.jpg) no-repeat fixed top center,
		#1a1a1a url(https://forumstatic.ru/files/001b/33/a6/14857.jpg) repeat fixed left top !important;
	box-shadow: none !important;
}

#pun-redirect #pun-main {
	background: transparent;
}

#pun-redirect * {
	border: 0 none;
}

#pun-redirect .main-title {
	display: none;
}

#pun-redirect.punbb .info .container {
	text-align: center;
	font: 400 11px var(--font);
	display: inline-block;
	margin: 0 auto;
	width: auto;
	height: auto;
	box-sizing: border-box;
	padding: 40px;
	background:
		var(--bg2-color);
	border: solid;
	border-image-source: var(--bg2-frame);
	border-image-slice: 13;
	border-image-repeat: repeat;
	border-collapse: separate;
	border-width: 13px;
	box-shadow: 0 0 15px var(--bg2-drop) inset;
	border-radius: 15px;
	width: 1016px;
	margin-top: 50px
}

/* A5.4 */
.punbb .section,
.punbb .main {
	margin-bottom: 1em;
}

/* A5.5 */
.punbb .category,
.punbb .post {
	margin-top: 0.4em;
}

/* A5.6 */
.punbb #pun-category1,
.punbb .toppost,
.punbb .topicpost {
	margin-top: 0;
}

/* 5.7 */
#pun-post .topic {
	margin-top: 1em;
}

/* A5.8 */
.punbb .section,
.punbb .forum,
.punbb .formal,
.punbb .modmenu,
.punbb .info,
.punbb .category,
.punbb .post {
	border:  none
}

/* A5.9 */
.punbb .container {
	border:  none
}

/**********************   B - MAIN CONTENT - GENERAL   ***********************************/
/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/

/* B1.1 */
.punbb .post-content {
	padding: 0;
	margin: 0;
	width: 100%;
	overflow: hidden;
}

/* B1.2 */
.punbb .post-sig dt {
	border: none;
	background: rgba(0, 0, 0, .1);
	height: 1px;
	display: block;
	margin: 5px auto 15px;
	width: 80%;
}

/* B1.3 */
.punbb .post-content p {
	margin: 0;
	padding: 0 0 1em 0;
	line-height: 150%;
	font-family: var(--font), sans-serif;
	font-weight: 400;
	/*font-size: 1em;*/
	font-size: var(--font-size--paragraph);
	word-wrap: break-word;
}

.post-content {
	color: var(--text1)
}

/* B1.4 */
.punbb .post-content img {
	vertical-align: text-top
}

/* B1.5 */
.punbb .post-content img.postimg {
	vertical-align: middle;
}

/* B1.6 */
.punbb .post-content .blockcode,
.punbb .post-content blockquote {
	width: 100%;
	overflow: visible;
}

/* B1.7 */
.punbb .post-content .scrollbox {
	width: 100%;
	overflow: auto;
	height: auto !important;
	max-height: 200px
}

/* B1.8 */
.punbb .post-content .quote-box,
.punbb .post-content .code-box {
	border: medium none;
	margin: 0.4em 0em 0.8em;
	padding: 0em;
}


/* B1.9 */
.punbb .quote-box cite,
.punbb .code-box strong.legend {
	display: block;
	font-size: 1.1em;
	font-style: normal;
	font-weight: bold;
	margin: 0;
	padding-bottom: 0.0em;
}

/* B2 Information boxes
-------------------------------------------------------------*/

/* B2.1 */
.punbb .info-box {
	padding: 1.1em 1.7em 1em 1.7em;
	border-style: solid;
	border-width: 1px;
	margin: 0 0 1.1em 0;
}

/* B2.2 */
.punbb .info-box * {
	padding: 0 0 0.7em 0;
}

/* B2.3 */
.punbb #pun-main .info-box .legend {
	font-size: 1.1em;
	font-weight: bold;
}


/* B3 Pagination and posting links
-------------------------------------------------------------*/
/* B3.1 */
.punbb .linkst {
	width: auto;
	height: auto;
	font: 300 11px var(--font);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 20px 0px 10px !important;
	position: relative;
	z-index: 8;
	padding: 0;
	text-transform: uppercase;
	flex-wrap: wrap;
	gap: 5px
}

/* B3.4 */
.linkst .postlink,
.linksb .postlink {
	text-align: right;
	font-weight: 700;
}

/* B3.5 */
.punbb .linksb {
	width: auto;
	height: auto;
	font: 400 11px var(--font);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 10px 0px 0px !important;
	position: relative;
	z-index: 8;
	padding: 0;
	text-transform: uppercase;
	flex-wrap: wrap;
	gap: 5px
}


.linksb {
	height: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: auto;
}

#profile .button {
	margin-top: 0 !important;
}

#profile .clearer {
	display: none
}

#profile .linksb:after,
.linksb:after {
	display: none !important;
}


.postlink span+span {
	margin-left: 5px
}

/* B3.6 */
.linksb .pagelink {
	float: left;
	width: auto;
	text-align: left;
	order: 1
}


/* B3.7 */
.linksb .postlink,
.linksb noindex {
	width: auto;
	order: 3;
	position: relative
}

.subscribelink {
	position: relative;
	order: 2;
	text-align: center;
}

#pun .postlink.long {
	width: auto;
	display: flex;
}

.postlink.long .new-topic {
	padding: 0 !important;
}

.postlink a {
	background: var(--cover);
	padding: 2px 8px;
	border-radius: 4px;
}

.pagelink {
	display: flex;
	gap: 2px;
	align-items: center;
}

.pagelink a {
	background: var(--cover);
	padding: 2px 5px !important;
	border-radius: 4px;
}

.pagelink .ellipsis {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0;
}

.pagelink .ellipsis:before {
	content: "";
	background: var(--text2);
	height: 1px;
	width: 10px
}

.pagelink strong {
	background: transparent;
	border: 1px solid var(--cover);
	box-sizing: border-box;
	padding: 2px 5px !important;
	color: var(--text2) !important;
	border-radius: 4px;
	font-weight: 400
}

/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/

/* C1 Form layout
-------------------------------------------------------------*/
#pun-messages .formal .fs-box .container {
	background: transparent !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

#post.container {
	padding: 0 !important;
}

/* C1.2 */
.punbb .formsubmit {
	padding: 0 0 15px 0em;
	margin: 0em 0 0 0;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center
}

/* C1.3 */
.punbb .formsubmit input,
.punbb .formsubmit a,
.punbb .formsubmit span {
	margin: 0 0.6em 0 0
}

/* C1.4 */
.punbb fieldset {
	border-style: solid;
	border-width: 1px;
	padding: 0 0px 0 0px;
	margin: 0 0 1em 0
}

/* C1.5 */
.punbb fieldset legend {
	padding: 0;
	margin: 0 0 0 11px;
	font-size: 1.1em
}

/* C1.6 */
.punbb fieldset legend span {
	padding: 0 5px;
	margin: 0;
}

#profile .container fieldset legend {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	background: red;
	margin: 15px 0 5px !important;
	font-family: var(--font);
	background: var(--cover);
	padding: 4px 10px;
	border-radius: 6px;
}

/* C1.7 */
.punbb fieldset fieldset {
	border-style: none;
	margin: 0;
	padding: 0 0 8px 0
}

/* C1.8 */
.punbb .fs-box {
	padding: 0em 0 0em 0;
}

/* C1.9 */
.punbb .fs-box p,
.punbb .fs-box fieldset {
	padding: 0 0 1.5em 0
}

form#post .fs-box p {
	padding: 0 !important;
}

form#post .fs-box p + p {
	margin-top: 10px
}

/* C1.10 */
.punbb .inline .inputfield,
.punbb .inline .selectfield,
.punbb .inline .passfield {
	float: left;
	margin-right: 1em;
}

/* C1.11 */
.punbb .inline .infofield {
	clear: both
}

/* C1.12 */
.punbb .datafield br {
	display: none
}

/* C1.13 */
.punbb .required label,
.punbb .datafield span.input {
	font-weight: bold
}

/* C1.14 */
.punbb .datafield span.input a {
	font-weight: normal;
}

/* C1.15 */
.punbb .areafield span.input,
.punbb p.longinput span.input {
	display: block;
	padding: 0 4em 0 0;
	height: 100%;
	/* For IE */
}

/* C1.16 */
.punbb textarea,
.punbb .longinput input {
	width: 64%;
	margin: 0;
}

/* C1.17 */
.punbb .hashelp {
	position: relative;
}

/* C1.18 */
.punbb .helplinks {
	display: block;
	position: absolute;
	top: 1em;
	right: 0;
	font-weight: normal;
	width: 36%;
}

/* c1.19 */
.punbb #profile .helplinks {
	top: 1.5em;
}

/* C1.20 */
.punbb .helplinks span {
	display: block;
	padding-bottom: 0.2em;
}

.punbb .helplinks span INPUT {
	margin: 0px 2px 2px 0px;
}

/* C1.21 */
#pun-post .formal .info-box li {
	padding-left: 4px;
	list-style-type: square;
	list-style-position: inside;
	line-height: 1.5;
	margin: 0;
}


/* C2 Table layout
-------------------------------------------------------------*/

/* C2.1 */
.punbb .main .tcl {
	/*  overflow: hidden;*/
	text-align: left;
	width: 35%;
}

/* C2.2 */
.punbb .main .tc2,
.punbb .main .tc3,
.punbb .main .tcmod {
	text-align: center;
	width: 6%;
}

/* C2.3 */
.punbb .main .tcr {
	text-align: left;
	width: 27%;
}


/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
	width: 40%
}

/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
	text-align: left;
	width: 20%;
}

/* C2.6 */
#pun-debug table .tcl {
	width: 15%;
	white-space: normal;
}

/* C2.7 */
#pun-debug .tcr {
	width: 90%;
	white-space: normal;
}

/* C2.8 */
#pun-index .tcl h3 {
	font-size: 1.2em;
	font-weight: bold;
}

/* C2.9 */
.punbb td span.youposted {
	font-weight: bold;
	margin-left: -1em;
	position: absolute;
}

/* C2.10 */
.punbb td .modlist {
	display: none;
	padding-top: 0.3em
}

/* C2.11 */
.punbb .main td {
	border-style: solid none none solid;
	border-width: 1px 0 0 1px;
	padding: 0.9em 0em;
}

/* C2.12 */
.punbb .main th {
	border-style: none none none solid;
	border-width: 0 0 0 1px;
	padding: 0.4em 1em 0.4em 1em;
}

/* C2.13 */
.punbb .main .tcl {
	border-left-style: none;
	border-left-width: 0;
}

* html .tclcon {
	height: 1px
}

/* C2.14 */
.punbb td div.tclcon {
	line-height: 150%;
	margin-left: 0;
	text-align: left;
	flex: 1
}


/* C3 Topics
-------------------------------------------------------------*/

/* C3.1 */
.punbb .post {
	margin-top: 0px;
	position: relative;
}

.post {
	scroll-margin: 35px
}

/* C3.2 */
.punbb .post .container {
	border: none;
}

/* C3.2 */
.punbb .post h3 {
	border-width: 0px;
	-webkit-text-size-adjust: 100%;
	width: auto;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	font: 400 13px var(--font);
	z-index: 1;
	margin: 0 0px !important;
	padding: 8px 20px !important;
	width: auto;
	box-sizing: border-box;
	text-transform: uppercase;
	background: var(--cover);
	box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
	border: 1px solid var(--border-dark) !important;
	border-radius: 10px;
	position: relative;
	top: 35px;
	margin-left: 250px !important;
}

.post h3 span {
	display: flex !important;
	justify-content: flex-start;
	align-items: center;
	gap: 0px;
	flex-wrap: wrap;
	margin-right: 0px;
	position: relative;
	padding: 0px;
	flex: 1;
}

.post h3 span a,
.post h3 strong {
	font-weight: 400;
	box-sizing: border-box;
}

.post h3 strong {
	order: 2;
	font-weight: normal;
	margin-left: auto
}

.post h3 strong:before {
	content: "#"
}

/* C3.5 */
.punbb .post .post-author {
	float: left;
}

/* C3.6 */
.punbb .post .post-author ul,
.punbb .post .post-author p {
	line-height: 140%;
}

/* C3.7 */
.pa-author {
	font-size: 1.1em;
	font-weight: bold;
}

/* C3.8 */
.pa-author a {
	text-decoration: none
}

/* C3.9 */
li.pa-title {
	padding-bottom: 0.4em;
	font-weight: bold;
}


li.pa-online {
	line-height: 0.8em;
	border-left-style: solid;
	border-left-width: 0.7em;
	padding-left: 0.4em;
	margin-top: 0.7em;
}

/* C3.11 */
.punbb .post-body {
	margin-left: 250px;
	border-left-style: solid;
	border-left-width: 1px;
}

/* C3.12 */
.punbb .post-box {
	padding: 0px 0 1em;
	text-align: justify
}

.post-body .post-box {
	padding-top: 50px
}

.post-body .post-box a {
font-weight: bold;
}

/*C3.13 */
.punbb fieldset .post-box {
	margin-bottom: 0.8em;
}

/*C3.14 */
.punbb .post-links {
	margin: 1em 0px 0px;
	padding: 0px 0px 0px;
	position: relative;
	z-index: 8;
}

.post-links ul {
	text-align: right;
}

.post-links li {
	display: inline;
}

.profile,
.pm,
.email {
	float: left
}

.post-links li+li,
.pa-links li+li {
	margin-left: 20px
}

.punbb .post-links ul li:first-child {
	margin-left: 0
}

.endpost .post-links ul {
	border: 0 !important;
}

#pun .post-links ul a,
.pa-links li a {
	font: 700 11px var(--font);
	text-transform: lowercase
}

.post-links li a {
    display: inline-flex;
    align-items: center;
    gap: 5px
}

/* C3.17 */
.pl-email,
.pl-website {
	float: left;
}

/* C3.18 */
.punbb .clearer {
	clear: both;
	height: 0;
	font-size: 0;
}


/* C4 Moderator menu
-------------------------------------------------------------*/
/* C4.1 */
.punbb .modmenu .container {
	padding: 5px 15px 5px;
	text-align: right;
	font: normal 11px var(--font) !important;
	border: 1px solid var(--cover);
	background: var(--h3-bg);
	border-radius: 10px;
	text-transform: uppercase;
	margin-top: 5px;
	opacity: .7;
	transition: opacity .2s linear 0s
}

.punbb .modmenu .container:hover {
	opacity: 1
}

#topic-modmenu .container {
	margin: 10px 0 !important;
	padding: 0 !important;
	background: transparent;
	border: none;
}

.forum {
	padding: 0px
}

.forum tr + tr {
	margin-top: 5px
}

.forum tr {
	display: flex;
	padding: 8px 15px !important;
	gap: 30px;
	font: 300 13px var(--font);
	align-items: center;
	border: 1px solid var(--cover);
	background: var(--h3-bg);
	border-radius: 10px
}

.forum tr a {
	font-weight: 500;
	text-transform: uppercase;
}

.forum td {
	padding: 0 !important;
}

.forum .tcl {
	flex: auto;
}

.forum .tc2,
.forum .tc3 {
	width: 8% !important;
	font-size: 11px
}

#pun .forum .tcr {
	min-width: 30% !important;
}

.forum table {
	margin: 0px 0
}


.forum thead {
	display: none
}

.forum tr td {
	padding: 0 !important;
}

#pun-viewforum .tcr,
#pun-searchtopics .tcr {
	display: flex;
	align-items: center;
}

#pun .user-avatar {
	width: 30px !important;
	height: 30px !important;
	margin: 0 !important;
	position: relative;
	margin-right: 10px !important;
}

#pun .user-avatar .avatar-image {
	width: 30px;
	height: 30px;
	border-radius: 6px;
	transition: all .5s linear 0s;
	box-sizing: border-box;
	opacity: .75;
	mix-blend-mode: luminosity;
	border: 2px solid var(--border-dark)
}

#pun .user-avatar .avatar-image:hover {
	filter: none;
	opacity: 1;
	mix-blend-mode: normal
}


#pun .user-avatar .isonline {
	background: var(--links);
	margin-right: 0px;
	margin-top: 0px !important;
	box-sizing: border-box;
	z-index: 1;
	animation: none;
	border-radius: 3px !important;
	width: 8px;
	height: 8px;
	border-radius: 6px;
	top: -2px;
	z-index: 1;
	right: -2px;
}

.user-avatar .avatar-image[style*=default_avatar] {
	background-image: url(https://forumupload.ru/uploads/001c/44/10/4/988005.png) !important;
}

/* C4.2 */
.punbb .modmenu strong,
.punbb .modmenu a {
	height: auto;
	line-height: 1.8em;
}

/* C4.3 */
.punbb .modmenu .container strong {
	float: left;
}

/* C4.4 */
.punbb .modmenu input {
	margin-left: 1em;
}


/* C5 Message boxes
-------------------------------------------------------------*/

/* C5.1 */
.punbb .info .container {
	padding: 0.8em 1em
}

/* C5.2 */
.punbb .info .container .backlink {
	padding-top: 0.8em;
}


/* C6 Profile
-------------------------------------------------------------*/

/* C6.1 */
#profile .container {
	padding-left: 18.6em;
}

/* C6.2 */
#profilenav {
	float: left;
	width: 14em;
	margin-left: -18.7em;
	display: inline;
}

/* C6.3 */
#profilenav li {
	padding-bottom: 0.8em;
	font-weight: normal;
}

/* C6.4 */
#viewprofile ul,
#profilenav ul {
	border: none;
	padding: 0;
	margin: 0;
}

/* C6.5 */
#viewprofile h2,
#profilenav h2 {
	padding: 3px 0 0 10px;
	margin: 0 14px -0.6em 14px;
	text-align: center !important;
}

/* C6.6 */
#viewprofile h2 span,
#profilenav h2 span {
	padding: 0 5px;
	position: relative;
}

/* C6.7 */
#viewprofile li,
#setmods dl {
	padding: 0 0 0 16em;
	margin-bottom: 0.2em;
}

/* C6.8 */
#viewprofile li span {
	float: left;
	width: 14em;
	margin-left: -16em;
	padding: 0.5em 1em;
	font-weight: normal;
}

/*C6.9 */
#setmods dt {
	float: left;
	width: 14em;
	margin-left: -16em;
	padding: 0.8em 1em;
	font-weight: bold;
	display: inline;
}

/* C6.10 */
#viewprofile li strong,
#viewprofile li div,
#setmods dd {
	display: block;
	padding: 0.5em 1em;
	font-weight: normal;
}

/* C6.11 */
.punbb img.avatardemo {
	float: right;
	margin: 0 0 0.8em 1.8em
}


/* C7 User list
-------------------------------------------------------------*/

/* C7.1 */
#pun-userlist .formal,
#pun-userlist .formal .container {
	border-bottom: none;
	margin-bottom: 0;
}

/* C7.2 */
#pun-userlist .usertable .container {
	padding: 0 2.3em 2.3em 2.3em;
	border-top: none;
}

/* C7.3 */
#pun-userlist .usertable table {
	border-style: solid;
	border-width: 1px;
}


/***********************  D - PUNBB SECTIONS OTHER THAN MAIN CONTENT   ****************************/
/* D1 Logo and description
-------------------------------------------------------------*/

/* D1.1 */
#pun-title {
	margin: 0;
	border: none;
	margin-bottom: -35px;
}

/* D1.2 */
#pun-title h1 {
	display: block;
	height: 10px;
	margin: -1px 0px 0px -30px;
}

/* D1.3 */
#pun-title .container {
	border: none;
	padding: 0.2em 1em 0.8em 1em;
}

/* D1.4 */
#pun-title h1 span {
	display: none;
}

#pun-title TD.title-logo-tdl {
	border: none;
	width: 100%;
}

#pun-title TD.title-logo-tdr {
	border: none;
	width: 420px;
}

/* D2 Page navigation
-------------------------------------------------------------*/

/* D2.1 */
#pun-pagelinks {
	position: absolute;
	top: -15px;
	left: 0;
	margin: 0;
	border: none;
	padding-left: -20px;
	width: 100%;
}

/* D2.2 */
#pun-pagelinks .container {
	background: transparent;
	border: none;
	padding: 0
}

/* D2.3 */
#pun-pagelinks .container li {
	display: inline
}

/* D2.4 */
#pun-pagelinks li a,
#pun-pagelinks a:link,
#pun-pagelinks a:hover {
	height: 2em;
	line-height: 2em;
	padding: 0;
	font-size: 1.2em;
	margin-left: -9999px;
	display: block;
	float: left;
	width: 100%;
}

/* D2.5 */
#pun-pagelinks a:active,
#pun-pagelinks a:focus {
	position: relative;
	margin: 0;
}

#pun-pagelinks li a span {
	display: block;
	margin: 0 1em
}

/* D3 Forum navigation
-------------------------------------------------------------*/

/* D3.1 */
#pun-navlinks {
	border: none;
	margin: 0;
}

#pun-navlinks .container {
	border: none;
	margin: 0;
}

/* D3.2 */
#pun-navlinks .container {
	font-weight: normal;
}

/* D.3 */
#pun-navlinks li {
	display: inline;
	margin: 0;
}

/* D3.4 */
#pun-navlinks li a {
	font-family: tahoma;
	font-size: 0.8em;
	padding: 10px 5px 10px 7px;
}

/* D4 User links
-------------------------------------------------------------*/

/* D4.1 */
#pun-ulinks {
	border: none;
}

#pun-ulinks li,
#pun-ulinks li a {
	display: inline;
	white-space: nowrap;
    position: relative
}

#pun-ulinks li a {
	font-size: 0.8em;
	padding: 0 0 0 5px;
}

/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/

/* D5.1 */
#pun-status,
#pun-status .container {
	border-bottom: none;
	margin-bottom: 0;
}

#pun-status {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 0 0;
	box-sizing: border-box;
	gap: 5px;
	margin: 0px 0;
	position: absolute;
	top: 422px;
	height: 38px;
	width: 100%;
	left: 0;
	color: var(--text3);
	text-shadow: 1px 1px 0 #000;
}

.punbb-admin #pun-status {
	position: relative;
	top: 0;
	text-shadow: none
}


/* D5.2 */
#pun-status .container {
	text-align: center;
	font: 300 12px var(--font);
	position: relative;
	height: auto;
	border: none;
	display: flex;
	align-items: center;
}

#pun-status a {
	font-weight: 300;
	color: var(--accent);
}

#pun-status a:hover {
	color: var(--text3)
}

#pun-status .container strong {
	font-weight: 300 !important;
}

#pun-status .status-right {
	float: none !important;
}

#pun-status .item3,
#pun-status .item4 {
	margin-left: 0px !important;
}

#pun-status .item4 {
	display: none
}


/* D5.3 */
#pun-status span {
	white-space: pre-line;
	margin-right: 0.5em;
}

/* D5.4 */
#pun-crumbs1 {
	font-weight: bold;
	overflow: hidden;
	margin-top: 15px;
	position: relative
}

/* D5.5 */
#pun-crumbs1 p.container {
	border-top: none;
}

/* D5.6 */
#pun-break1 {
	margin: 0 1em;
	border-style: solid none;
	border-width: 1px 0;
	height: 0;
	margin: -2px 1em;
	position: relative;
	z-index: 1;
}

/* D6 Announcement
-------------------------------------------------------------*/

/* D6.1 */
#pun-announcement h2 {
	display: none
}

#pun-announcement.section,
#pun-announcement .container {
	border: none;
	margin: 0;
}

/* D6.3 */
#pun-announcement .container {
	padding: 0;
}

.news__container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.news__container a {
		background: var(--cover);
	box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
	border: 1px solid var(--border-dark) !important;
	border-radius: 10px;
	padding: 7px 28px;
	text-transform: uppercase;
	font: 400 12px var(--font);
	transition: all .2s ease-in-out !important
}

.news__container a:hover {
	background: var(--link-hover);
	color: var(--h3-border)!important;
	border: 1px solid var(--link-hover) !important;
}

/* D7 Statistics
-------------------------------------------------------------*/
/* D7.1 */
#pun-stats {
	padding:25px 0px 10px;
	margin: 0px 0px 0px !important;
	height: auto;
	position: relative;
	text-align: left;
	background: var(--dark-bg);
	border-radius: 20px
}

#pun-stats .container {
	display: flex;
	font: 300 12px/150% var(--font);
	text-align: justify;
	position: relative;
	padding: 0 !important;
	flex-direction: column;
	gap: 15px;
	margin: 0;
}


.ststitems {
	display: flex;
	flex-wrap: wrap;
	font: 300 12px var(--font);
	text-transform: none;
	margin: 0px 0px 0px;
	padding: 6px 0px 6px;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 5px 20px;
	background: var(--cover);
	box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
	border: 1px solid var(--border-dark) !important;
	border-radius: 10px;
}

.ststitems li {
	padding: 0 !important;
}

.ststitems li strong {
	font-weight: 400
}

.onlinelist {
	padding-top: 0px !important;
}

#onlinelist {
	font-weight: 300;
}

#onlinelist span {
	font-weight: 300
}

#onlinelist strong {
	font-weight: 300
}

#onlinelist a {
	font-weight: 500
}

/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/

/* D8.1 */
#pun-qjump {
	margin: 0;
	border: none;
	width: 50%;
	position: relative;
	float: left;
}

/* D8.2 */
#pun-qjump .container {
	border: none;
	background: transparent;
	padding: 0.8em 1em;
}

/* D8.3 */
#pun-about {
	margin-top: 0;
}

/* D8.4 */
#pun-about .container {
	border-top-style: none;
	line-height: 150%;
	padding: 0.8em 1em;
}

/* D8.5 */
#pun-about p span {
	display: block;
}

/* D8.6 */
#pun-crumbs2 {
	font-weight: bold;
	margin-bottom: 0;
}

/* D8.7 */
#pun-crumbs2 .container {
	font-size: 1.1em;
}

/* D8.8 */
#pun-break4 {
	margin: -2px 1em;
	border-style: solid none;
	border-width: 1px 0;
	position: relative;
	height: 0;
	z-index: 1;
}

/* D8.9 */
div.punbb-admin #pun-about .container {
	border-top-style: solid;
	border-top-width: 1px;
}


/* D9 Help file
-------------------------------------------------------------*/

/* D9.1 */
#pun-help .formal .info-box h3.legend {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	padding-bottom: 0;
	margin-bottom: 0.8em;
}

/* D9.2 */
#pun-help .formal .info-box h3.legend span {
	padding-bottom: 0.6em;
	display: block;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	font-size: 1.1em;
}

/* D9.3 */
#pun-help .formal p,
#pun-help .formal dd {
	margin-bottom: 1em
}

/* D9.4 */
#pun-help .formal ul,
#pun-help .formal dl {
	padding: 0 0 0 1em
}

/* D9.5 */
#pun-help .formal li {
	padding: 0;
	line-height: 130%
}

/* D9.6 */
#pun-help .formal li * {
	vertical-align: text-top
}

/* D9.7 */
#pun-help .formal dt span {
	font: 1.4em/120% monaco, "bitstream vera sans"
}

.stickytext,
.closedatafield,
#pun-live-rusff,
.pl-reports {
	display: none
}


input,
textarea {
	outline: none;
}

input:active,
textarea:active {
	outline: none;
}

:focus {
	outline: none;
}

#pun-messages .fs-box {
	padding: 15px;
	background: var(--cover);
	border-radius: 10px;
}

#pun-messages #post-form .fs-box {
	padding: 0 0px;
}

#pun-messages #post-form {
	padding: 0 0px !important;
}

#pun-messages #post-form.formal .fs-box.hashelp {
    padding: 0 0;
    margin-bottom: 10px
}

#pun-messages .pa-posts {
	display: none
}

#pun-messages .pa-online {
	clear: both
}

#pun-messages .post-content {
	margin-top: 0px !important;
	margin-left: 0px !important;
}

#main-reply {
	height: 200px;
}


#mask_dialog .inner,
.modal-inner.section,
#pun-report .inner,
#pun-reputation .inner,
#pun-admin-award-form .inner,
.editBookmark {
	border-radius: 10px;
	background: var(--cover);
	border: 1px solid var(--border-dark);
	padding: 15px !important
}

#post legend span {
	display: none
}


#font-area,
#size-area,
#color-area,
#table-area,
#smilies-area,
#image-area,
#imageup-area,
#imageattach-area,
#keyboard-area,
#video-area,
#addition-area {
	top: 55px !important;
}

.pl-reports {
	display: none !important;
}

.post-content td {
	border: none transparent !important;
	overflow: hidden !important;
}

::selection {
	background: var(--accent);
	color: #fefefe;
}

@-moz-document url-prefix() {
	body {
		scrollbar-width: thin;
		scrollbar-color: var(--accent) rgba(20, 18, 15, 0.01);
	}

	html {
		scrollbar-width: thin;
		scrollbar-color: var(--accent) rgba(0, 0, 0, 0.01);
	}

	#pun .punbb {
		scrollbar-width: thin;
		scrollbar-color: var(--accent) var(--cover);
	}
}

::-webkit-scrollbar {
	width: 4px;
	height: 4px;
	background-color: rgba(20, 18, 15, 0.1);
	border-radius: 10px !important;
}

::-webkit-scrollbar-thumb {
	background-color: var(--accent);
	width: 4px !important;
	border-radius: 100px !important;
}

.punbb *::-webkit-scrollbar {
	width: 4px;
	height: 4px;
	background-color: rgba(20, 18, 15, 0.1);
}

.punbb *::-webkit-scrollbar-thumb {
	background-color: var(--accent);
	width: 4px !important;
}

#html-header {
	color: var(--text-accent);
        text-shadow: 1px 1px 0 #000
}

#html-header a {
	color: var(--accent)
}

#html-header a:hover {
	color: var(--links)
}

.post-content abbr {
	text-decoration: none;
	border-bottom: 1px dashed var(--border-dark);
	display: inline-block
}


#pun #pun-ulinks #Rz {
	display: none !important;
}

.punbb-admin textarea {
	width: 100% !important;
}

input[type="checkbox"] {
	border-radius: 0%;
	appearance: none;
	padding: 5px !important;
	cursor: pointer;
	transition: all .2s ease-in-out 0s;
    margin-right: 10px !important;
	border: 1px solid var(--border-dark) !important;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

input[type="radio"] {
	border-radius: 100%;
	appearance: none;
	padding: 5px !important;
	cursor: pointer;
	transition: all .2s ease-in-out 0s;
    margin-right: 10px !important;
	border: 1px solid var(--border-dark) !important;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

input[type="checkbox"]:checked:after,
input[type="radio"]:checked:after {
	content: "\f00c";
	font-family: FontAwesome;
	font-size: 10px;
	position: absolute;
}

span.checkfield,
p.checkfield {
	display: flex;
	margin-top: 10px !important;
	align-items: center
}

.pl-share {
	display: none !important
}

.pl-email.email {
	display: none !important;
}

body.post-content {
	width: 100%;
}

.bottom_wrap {
	background:
		var(--ulnav);
	border-top: 1px solid #E4E2D4 !important;
	height: 112px;
	margin: 0px -41px -43px;
	padding: 0px 40px;
	display: flex;
	flex-direction: row-reverse;
	gap: 20px;
	align-items: center;
}

.bottombanners {
	box-sizing: border-box;
	width: auto;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start
}

.bottombanners div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 5px;
	overflow-y: auto;
	padding-right: 5px;
	height: 68px;
	width: auto;
}

.bottombanners img {
	transition: all .6s ease-in-out 0s;
	mix-blend-mode: luminosity;
	opacity: .35
}

.bottombanners img:hover {
	mix-blend-mode: normal;
	opacity: 1
}

#post-form {
	padding: 0px 0px !important;
}


.intd {
	display: flex;
	align-items: center
}

#post-form h2 {
	display: none
}

#charcounter {
	font: 400 12px arsenal;
	background: var(--fill);
	border: 1px solid var(--borders);
	border-radius: 3px;
	text-align: center;
	padding: 4px 25px 6px;
	display: inline-block;
}

.charcount {
	font-weight: 700
}

#profile fieldset #charcounter {
	display: none
}


#viewprofile-next {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
}

#viewprofile-next #profilenav {
	display: none
}

#viewprofile-next tr {
	display: flex;
	gap: 5px;
}

#viewprofile .container {
	background: 
		#161616 url(https://forumstatic.ru/files/001b/33/a6/81429.jpg);
	border-radius: 10px;
	position: relative;
	box-shadow: 0 0 0 1px #000 inset, 0 0 0 2px #3c3a36 inset, 0 0 0 3px #000 inset, 0 0 15px -4px #463b28;
	outline: 1px solid var(--bg2-color);
	text-shadow: 1px 1px 0 #000;
	color: var(--text3);
	padding: 10px;
}

#pun #profile-left {
	background: 
		url(https://forumstatic.ru/files/001b/33/a6/91947.png) repeat-x top left;
	width: 220px !important;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 20px !important;
	box-sizing: border-box;
	align-items: center;
	justify-content: flex-start;
	font-family: var(--font);
	box-shadow: 0 0 0 1px #000 inset, 0 0 0 2px #3c3a36 inset, 0 0 0 3px #000 inset;
}

#profile-name {
	font: 400 14px var(--font) !important;
	text-align: center !important;
	padding: 6px 10px !important;
	background: url(https://forumstatic.ru/files/001b/33/a6/24047.jpg);
	position: relative;
	box-shadow: 0 0 0 1px #3c3a36 inset, 0 0 0 2px #000 inset;
	border: 1px solid #000;
	border-bottom: none;
	border-radius: 10px 10px 0 0;
	text-transform: uppercase;
	display: block !important;
	margin-bottom: -7px !important;
	width: 100%;
	text-shadow: 0 0 10px rgba(151,133,88, .6), 1px 1px 0 #000;
}

#profile-name:after {
	content: "";
	background: red;
	position: absolute;
	display: block;
	height: 6px;
	width: calc(100% - 2px);
	z-index: 1;
	bottom: -2px;
	left: 1px;
	background: 
		url(https://forumstatic.ru/files/001b/33/a6/30860.png) no-repeat center center,
		url(https://forumstatic.ru/files/001b/33/a6/24047.jpg)
}

#profile-title {
	font-size: 10px;
	text-align: center;
	font-weight: 400 !important;
	position: relative;
  background: url(https://forumstatic.ru/files/001b/33/a6/24047.jpg);
	box-shadow: 0 0 0 1px #3c3a36 inset, 0 0 0 2px #000 inset;
	border: 1px solid #000;
	border-top: none;
	border-radius: 0px 0px 10px 10px;
	position: relative;
	padding: 5px 10px !important;
	width: 100%;
}

#pun #profile-name strong, #pun #profile-title strong {
	font-weight: 400 !important;
}

#pa-avatar img {
	border: 1px solid #000 !important;
	outline: 1px solid #3c3a36;
}

#profile-left li strong {
	padding: 0 !important;
	margin: 0 !important;
}

#pa-edit {
	margin-top: 10px !important;
}

#pa-online strong {
	text-transform: uppercase;
	font-weight: 300 !important;
	font-size: 8px
}

#viewprofile #pa-edit a {
	background: var(--foo);
	border: 1px solid #3c3a36 !important;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset, 0 0 0 1px #000;
	text-transform: uppercase;
}

#profile-right {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 5px;
	width: auto !important;
background: var(--foo);
	border: 1px solid #3c3a36 !important;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset, 0 0 0 1px #000;
	border-radius: 15px;
	padding: 20px !important;
	box-sizing: border-box;
	flex: 1
}

#profile-right li {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex: auto;
	text-align: center;
	padding: 10px !important;
	font-size: 11px;
border: 1px solid rgba(255,255,255,.02) !important;
  box-shadow: 0px 0px 15px rgba(0,0,0,.5) inset;
	background: #222;
	border-radius: 10px;
	align-self: stretch;
	font-family: var(--font)
}

#profile-right li strong {
	font-weight: normal;
	padding: 0 !important;
	margin: 0 !important;
}

#pun #profile-right li span {
	float: none;
	margin: 0;
	width: auto;
	font-weight: 600;
	padding: 5px 10px;
	font-size: 10px;
	border-radius: 10px;
	text-transform: uppercase;
	width: 100%;
	margin-bottom: 10px;
	background: rgba(0,0,0,.2);
	box-sizing: border-box
}

#pa-invites,
#pa-gifts {
	display: none !important;
}

#profile {
	display: flex;
	margin-top: 15px
}

#profile form.container {
	width: 100%;
	padding-left: 18.6em !important;
}

#profilenav {
	display: flex;
	margin-left: -17em;
}

#pun-messages #profile>.container {
	display: flex;
	flex-direction: column;
	width: 100% !important;
	padding-left: 0;
	padding: 15px;
	box-sizing: border-box;
	margin-top: 15px !important;
	background: var(--h3-bg);
	border: 1px solid var(--border-dark);
	border-radius: 15px
}

#pun-messages .linksb {
	margin: 10px -15px -5px !important;
	border-top: 1px solid var(--border-dark);
	padding: 10px 15px 0;
}

#pun-messages #profilenav {
	float: none;
	width: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	padding: 15px;
	gap: 15px;
	box-sizing: border-box;
	background: var(--cover);
	border-radius: 10px;
}

#pun-messages #profilenav ul,
#pun-messages #profilenav li {
	padding: 0;
}

#pun-messages #profilenav ul {
	display: flex;
	gap: 5px;
	margin: 0
}

#pun-messages #profilenav li {
	background: var(--h3-bg);
	border: 1px solid var(--border-light);
	border-radius: 8px;
	padding: 5px 25px;
	font: 400 12px var(--font);
	text-transform: uppercase;
}

#pun-messages #profilenav .isactive {
	font-weight: 700;
	border: 1px solid var(--border-dark)
}

#pun-messages #profilenav h2 {
	display: block;
	text-align: left !important;
	padding-left: 0;
	margin-left: 0;
}

#pun-messages .fs-box .container {
	padding: 0px 0 !important;
}

#pun-messages .fs-box .container tr+tr {
	margin-top: 0;
}

#pun-messages .fs-box .container tr {
	display: flex;
	align-items: center;
	padding: 0 10px;
	border: 1px solid var(--border-light) !important;
	border-radius: 10px
}

#pun-messages .fs-box .container tr + tr {
	margin-top: 5px
}

.pmtc22 {
	display: flex;
	align-items: center;
}

#pun-messages .fs-box .container tr:last-child {
	border: none
}

#pun-messages .fs-box .post>.container {
	display: block !important;
}

#pun #pun-messages .post {
	background: transparent;
	border: none !important;
	padding: 0 !important;
	margin-top: 0px !important;
}

#pun #keyboard-span input {
	font-family: Arial, Helvetica, sans-serif !important;
	font-weight: 300;
	font-size: 13px !important;
	color: var(--text1);
	background-color: var(--cover);
	margin: 1px 1px 0 0;
	margin-top: 1px;
	border: 1px solid var(--border-dark) !important;
	cursor: pointer;
	padding: 5px !important;
	height: auto;
	min-width: auto;
}

#pun #keyboard-span input+input {
	margin: 1px
}

#pun-index .lastpost {
	font-size: 0
}

#pun-index .datetime,
#pun-index .byuser {
	font-size: 11px;
	color: var(--text2)
}

#pun-index .datetime:after {
	content: ", "
}

#BookmCntToggle {
	margin-top: 1px !important;
	z-index: 9999;
}

#MyBookmarks {
	background: var(--pun);
	text-shadow: none;
	color: var(--text1);
	padding: 20px 20px 10px 20px;
	box-sizing: border-box;
	width: 280px !important;
}

#MyBookmarks inner {
	padding-top: 40px !important;
}

#BookmCntToggle.default-style {
	background: var(--pun) !important;
	border-radius: 2px;
	box-shadow: 2px 2px 1px #000;
	opacity: .95;
}

#MyBookmarks h2 {
	margin: 0 !important;
	padding: 10px 20px !important;
	border-bottom: 1px dashed var(--borders) !important;
	box-sizing: border-box;
	margin-bottom: 20px !important;
}

.post .bookmark {
	color: var(--links) !important;
}

#BookmCntToggle.default-style {
	color: var(--links) !important;
	z-index: 9999
}

#BookmCntToggle {
	top: 80px !important;
	left: 30px !important;
}

#MyBookmarks {
	z-index: 99999 !important;
}

#bm2 {
	right: 20px !important;
}

#pun .scrl.t,
#pun .scrl.b {
	box-shadow: none !important;
	background: var(--cover);
	border: 1px solid var(--borders);
	border-radius: 6px;
	width: 110px;
}

.scrl.t+.scrl.b {
	margin-left: 10px !important;
}

#imageupload-left input[type=button] {
	width: auto !important
}

#pun-respect td {
	padding: .8em !important;
	overflow-wrap: normal
}

#pun hr {
	opacity: 1;
	filter: none;
	background: var(--border-dark);
	border: none;
	height: 1px;
	margin: .8em auto;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible
}

#pun hr:after {
	content: "";
	display: block;
	background: var(--border-dark);
	height: 7px;
	width: 7px;
	position: absolute;
	transform: rotate(45deg)
}

#topic-feed {
	display: none
}

#navpm {
	position: relative
}

#pun .num_msg {
	position: absolute;
	margin-top: 0;
	margin-left: 0;
	top: 8px;
	right: -15px;
	font-size: 10px;
	font-weight: 700;
	background: red;
	padding: 1px 4px;
	border-radius: 100px;
	height: 14px;
	color: #fff;
	cursor: pointer;
}

#pun .num_msg:before {
	display: none
}

.post-content table {
	border-radius: 5px;
	overflow: hidden
}

img[alt~="hide-autor2"] {
	opacity: 0;
	display: none
}

#form-buttons {
	margin-bottom: 5px !important;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
	width: 100%;
	flex-direction: row
}

#plng {
	font-size: 10px !important;
	font-weight: 300 !important;
	margin-top: 0px !important;
	padding: 2px 15px !important;
	display: flex;
	align-items: center;
	transition: all 0.3s ease-in-out 0s;
	color: var(--text2);
	text-transform: uppercase;
	white-space: nowrap;
	gap: 5px;
	font-family: var(--font);
	border-radius: 10px;
	background: var(--cover);
	border: 1px solid var(--border-dark) !important;
	align-self: stretch;
}

#plng b {
	font-weight: 800;
	color: var(--text1)
}


#form-buttons td img {
	position: relative
}

#form-buttons tr {
	display: flex;
	width: 100%;
	justify-content: center;
	gap: 4px;
	flex-wrap: wrap;
}

#form-buttons table {
	flex: auto;
	display: flex;
	flex-wrap: wrap;
  border-radius: 10px;
	background: var(--cover);
	border: 1px solid var(--border-dark) !important;
	padding: 2px 15px
}

#form-buttons tbody, #form-buttons tr {
	width: 100%
}

#form-buttons td {
	transition: all .5s ease-in-out 0s;
	color: var(--text2);
	width: 25px;
	flex: 1
}

#form-buttons td:hover {
	color: var(--accent);
}

#button-font,
#button-transL,
#button-size,
#button-bold,
#button-italic,
#button-underline,
#button-strike,
#button-indent,
#button-left,
#button-center,
#button-right,
#button-justify,
#floatbut,
#button-link,
#button-spoiler,
#button-image,
#button-video,
#button-hide,
#button-quote,
#button-code,
#button-color,
#button-table,
#button-smile,
#button-sticker,
#button-keyboard,
#button-addition,
#button-mask,
#button-html,
#button-vkladka,
#My_replic_meny,
#button-ChangeÑase,
#button-styles {
	position: relative !important;
	background: none !important;
}

#button-font:before,
#button-transL:before,
#button-size:before,
#button-bold:before,
#button-italic:before,
#button-underline:before,
#button-strike:before,
#button-indent:before,
#button-left:before,
#button-center:before,
#button-right:before,
#button-justify:before,
#floatbut:before,
#button-link:before,
#button-spoiler:before,
#button-image:before,
#button-video:before,
#button-hide:before,
#button-quote:before,
#button-code:before,
#button-color:before,
#button-table:before,
#button-smile:before,
#button-sticker::before,
#button-keyboard:before,
#button-addition:before,
#button-mask:before,
#button-html:before,
#button-vkladka:before,
#My_replic_meny:before,
#button-ChangeÑase:before,
#button-styles:before {
	content: "";
	height: 26px;
	width: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	font-family: FontAwesome;
	text-align: center;
	font-size: 15px;
	line-height: 26px;
	z-index: 0
}

#button-ChangeÑase:before {
	content: "\f15e"
}

#button-font:before {
	content: "\f031"
}

#button-transL:before {
	content: "\f362"
}

#button-size:before {
	content: "\f034"
}

#button-bold:before {
	content: "\f032"
}

#button-italic:before {
	content: "\f033"
}

#button-underline:before {
	content: "\f0cd";
	top: 1px
}

#button-strike:before {
	content: "\f0cc"
}

#button-indent:before {
	content: "\f03c"
}

#button-left:before {
	content: "\f036"
}

#button-center:before {
	content: "\f037"
}

#button-right:before {
	content: "\f038"
}

#button-justify:before {
	content: "\f039"
}

#floatbut:before {
	content: "\f03b"
}

#button-link:before {
	content: "\f0c1"
}

#button-spoiler:before {
	content: "\f070";
	font-size: 17px
}

#button-image:before {
	content: "\f03e";
	font-size: 18px
}

#button-video:before {
	content: "\f167";
	font-size: 18px;
	top: 0px
}

#button-hide:before {
	content: "\f023"
}

#button-quote:before {
	content: "\f10e"
}

#button-code:before {
	content: "\f121";
}

#button-color:before {
	content: "\f576"
}

#button-table:before {
	content: "\f0ce"
}

#button-smile {
	display: none
}

#button-smile:before {
	content: "\f118"
}

#button-sticker:before {
	content: "\f118"
}

#button-vkladka:before {
	content: "\f58d"
}

td#button-files_rusff,
td#button-graffiti_rusff {
	display: none !important;
}

#button-keyboard:before {
	content: "\f11c";
	font-size: 16px
}

#button-addition:before {
	content: "\f0fe"
}

#button-mask:before {
	content: "\f630"
}

#button-html:before {
	content: "\f1c9"
}

#My_replic_meny:before {
	content: "\e2ca"
}

#button-styles:before {
	content: "\f248";
	font-size: 16px
}

#pun .post-content .spoiler-box>div {
	background: transparent;
	position: relative;
	padding: 0 20px !important;
	font-family: var(--font);
	font-size: 13px;
}

#pun .post-content .spoiler-box>div:before {
	content: "\2b";
  font-family: fontawesome;
  font-size: 13px;
	width:15px;
	height: 15px;
	transition: all .5s ease-in-out 0s;
	box-sizing: border-box;
	border-radius: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
	position: absolute;
	top: 0;
	left: 0
}

#pun .post-content .spoiler-box>div.visible:before {
  content: "\f068";
}

#pun-profile fieldset .radio {
    padding-bottom: 10px
}

#pun-messages tr.inew .tclcon a {
    font-weight: bold
}

#togglePreview {
	display: flex;
	margin-left: auto
}

.settings_wrap {
	position: fixed;
	left: 30px;
	top: 30px;
	z-index: 999;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--bg2-color);
	display: flex;
	align-items: center;
	justify-content: center
}

.settings_wrap .slide_button {
	width: 36px;
	height: 36px;
	font-size: 0;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg2-color);
	border-radius: 8px;
}

.settings_wrap .slide_button:before {
	content: "";
	mask: url(https://forumstatic.ru/files/001c/37/2a/84490.svg) no-repeat center center;
	-webkit-mask: url(https://forumstatic.ru/files/001c/37/2a/84490.svg) no-repeat center center;
	mask-size: contain;
	-webkit-mask-size: contain;
	background: var(--text1);
	width: 16px;
	height: 16px;
	display: block;
}

.settings_wrap .slide_block {
	position: absolute;
	width: 230px;
	top: 0;
	display: none;
	left: calc(100% + 10px);
}

.settings_container {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 0px;
}

#chfont {
	text-align: center;
	display: flex;
	gap: 5px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	box-sizing: border-box;
	background: var(--bg2-color);
	border-radius: 8px;
	padding: 10px 15px;
	color: var(--text1);
	text-shadow: none
}

#chfont:before {
	content: "Øðèôò â ïîñòàõ";
	font: 700 10px var(--font);
	color: var(--links);
	display: block;
	margin-bottom: 5px;
	text-transform: uppercase;
	text-shadow: none
}

#chfontbut {
	display: none !important;
}

#chfont select {
	cursor: pointer;
	border: none !important;
}

#chfontsize {
	width: auto;
	display: flex;
	align-items: center;
	font: 300 12px var(--font);
	gap: 5px;
	margin-left: 5px
}


.fsizeplus,
.fsizeminus {
	box-sizing: border-box;
	color: var(--text2);
	cursor: pointer;
	font-size: 0;
	width: 13px;
	height: 13px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center
}

.fsizeplus::after {
	content: "";
	mask: url(https://forumstatic.ru/files/001c/37/2a/27804.svg) no-repeat center center;
	-webkit-mask: url(https://forumstatic.ru/files/001c/37/2a/27804.svg) no-repeat center center;
	mask-size: contain;
	-webkit-mask-size: contain;
	background: var(--text2);
	width: 12px;
	height: 12px;
	display: block;
}

.fsizeminus::after {
	content: "";
	mask: url(https://forumstatic.ru/files/001c/37/2a/92207.svg) no-repeat center center;
	-webkit-mask: url(https://forumstatic.ru/files/001c/37/2a/92207.svg) no-repeat center center;
	mask-size: contain;
	-webkit-mask-size: contain;
	background: var(--text2);
	width: 12px;
	height: 12px;
	display: block;
}

.footer_wrapper {
	position: absolute;
	margin-top: 53px;
	margin-left: -53px;
	height: 165px;
	width: 1052px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}

.footer_items {
	background: var(--foo);
	padding: 17px 11px;
	position: relative;
	z-index: 1;
	border-radius: 11px;
	border: 2px solid #000 !important;
}

.footer_items:before {
	content: "";
	background: var(--category-line);
	position: absolute;
	display: block;
	top: -1px;
	left: -1px;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	border-radius: 10px;
	z-index: -2
}

.footer_items:after {
	content: "";
	background: var(--foo);
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	z-index: -2;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset
}

.footer_items.banners-first {
	width: 295px;
	box-sizing: border-box;
	height: 100px;
	display: flex;
	justify-content: center;
	align-items: center
}

.banners_scroll {
	display: flex;
	gap: 2px;
	line-height: 0;
	flex-wrap: wrap;
	overflow-y: auto;
}

.banners_scroll img {
	opacity: .7;
	filter: grayscale(100%);
	transition: all .4s linear 0s
}

.banners_scroll img:hover {
	filter: none;
	opacity: 1
}

.footer_items.banners-second {
	flex: 1;
	box-sizing: border-box;
	height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 17px 10px;
	box-sizing: border-box
}

.footer_items.banners-second .banners_scroll {
	overflow-y: auto;
	height: 100%;
}

.copy {
	position: absolute;
	bottom: -20px;
	background: var(--foo);
	border: 1px solid var(--accent-border);
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset, 0 0 0 1px #000;
	padding: 8px 25px;
	font: 300 10px var(--font);
	text-transform: uppercase;
	text-shadow: 1px 1px 0 #000
}

.copy a {
	color: var(--text3) !important;
}

.copy a:hover {
	color: var(--accent) !important;
}

#header_wrapper {
	width: 1140px;
	height: 422px;
	position: absolute;
	top: 0px;
	margin-left: -95px !important;
	background: var(--logo) no-repeat center 20px;
	font-family: var(--font);
	padding: 85px 75px 23px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 39px;
}

.header_bg {
	width: 100%;
	height: 100%;
	background: var(--header);
	position: absolute;
	z-index: 2;
	pointer-events: none;
	top: 0;
	left: 0;
}

.header_item.mini-desc {
	text-transform: uppercase;
	font-size: 10px;
	position: relative;
	z-index: 3;
	color: var(--accent);
	display: flex;
	gap: 100px;
	padding-left: 50px
}

.header_item.text-section {
	background: var(--foo);
	padding: 17px 20px;
	position: relative;
	z-index: 1;
	border-radius: 11px;
	border: 2px solid #000 !important;
	width: 900px;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	text-align: justify;
	line-height: 120%
}

.header_item.text-section:before {
	content: "";
	background: var(--category-line);
	position: absolute;
	display: block;
	top: -1px;
	left: -1px;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	border-radius: 10px;
	z-index: -2
}

.header_item.text-section:after {
	content: "";
	background: var(--foo);
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	z-index: -2;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset
}

.header-news {
	font-size: 12px;
	display: flex;
	flex-direction: column;
	gap: 7px;
	height: 80px;
	overflow-y: auto;
	width: 240px;
	padding-right: 10px;
	object-fit: cover;
}

.header-post {
	font-size: 12px;
	height: 80px;
	overflow-y: auto;
	width: 240px;
	padding-right: 10px;
	object-fit: cover;
}

.header-post span {
	text-transform: uppercase
}

.header_item.persons-section {
	width: 100%;
	display: flex;
	justify-content: space-between;
	z-index: 3;
  height: 104px;
}

.persons-container {
	background: var(--foo);
	padding: 25px 15px 15px;
	position: relative;
	z-index: 1;
	border-radius: 11px;
	border: 2px solid #000 !important;
	width: 294px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	text-align: justify;
	line-height: 120%
}

.persons-container:before {
	content: "";
	background: var(--category-line);
	position: absolute;
	display: block;
	top: -1px;
	left: -1px;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	border-radius: 10px;
	z-index: -2
}

.persons-container:after {
	content: "";
	background: var(--foo);
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	z-index: -2;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset
}

.persons-title {
	position: absolute;
	background: var(--foo);
	border: 1px solid var(--accent-border);
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset, 0 0 0 1px #000;
	padding: 8px 25px;
	text-transform: uppercase;
	white-space: nowrap;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--text-accent)
}

.persons-container div {
  border: 1px solid #000;
	border-radius: 10px;
	box-shadow: 0 0 0 1px #3c3a36 inset;
	width: 62px;
	height: 62px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	background: #0e0e0e;
	position: relative;
}

.persons-container div:after {
	content: "";
	position: absolute;
	display: block;
	background: #111111;
	width: calc(100% - 6px);
	height: calc(100% - 6px);
	top: 3px;
	left: 3px;
	opacity: .5;
	transition: all .3s linear 0s
}

.persons-container div:hover:after {
	opacity: 0
}

.persons-container img {
	width: 54px;
	height: 54px;
	border-radius: 8px;
	object-fit: cover;
	filter: grayscale(100%)
}

.header-item.nav-section {
	position: absolute;
	bottom: 12px;
	z-index: 11;
	width: 320px;
	display: flex;
	gap: 10px;
	justify-content: space-between
}

.nav-section .nav_wrap {
	position: relative
}

.nav-section .slide_button {
	background: var(--foo);
	border: 1px solid var(--accent-border);
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset, 0 0 0 1px #000;
	padding: 8px 25px;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer
}

.nav-section .slide_button.i_active {
	color: var(--accent);
	opacity: .75
}

.nav-section .slide_block {
	display: none;
	position: absolute;
	top: calc(100% + 5px);
	background: var(--foo);
	border: 1px solid var(--accent-border);
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset, 0 0 0 1px #000;
	text-transform: uppercase;
	width: 240px;
	left: 50%;
	transform: translateX(-50%)
}

.nav-section .link {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px;
}

.nav-section .link a {
	border: 1px solid rgba(255,255,255,.02) !important;
  box-shadow: 0px 0px 15px rgba(0,0,0,.8) inset;
	background: #222;
	border-radius: 5px;
	padding: 5px 10px;
	font-size: 10px;
	text-align: center
}

.nav-section .link a:hover {
	border-color: var(--accent) !important;
}

/* Ëè÷íàÿ ñòðàíèöà */
.reveal-modal-bg { 
	position: fixed; 
	height: 100%;
	width: 100%;
	background: rgba(0,0,0,.8);
	backdrop-filter: blur(50px);
	-webkit-backdrop-filter: blur(50px);
	z-index: 100;
	display: none;
	top: 0;
	left: 0; 
}
.reveal-modal {
	visibility: hidden;
	top: 100px !important;
	left: 50%;
	position: fixed;
	z-index: 101;
}

.reveal-modal.xlarge { 
	width: 660px;
	height: 472px;
	transform: translateX(-50%);
background: 
		url(https://forumstatic.ru/files/001b/33/a6/91947.png) repeat-x  0 -74px,
		#161616 url(https://forumstatic.ru/files/001b/33/a6/81429.jpg);
	border-radius: 10px;
	box-shadow: 0 0 0 1px #000 inset, 0 0 0 2px #3c3a36 inset, 0 0 0 3px #000 inset;
}
	
.reveal-modal .close-reveal-modal {
	font-size: 22px;
	line-height: .5;
	position: absolute;
	top: 8px;
	right: -30px;
	color: var(--text2);
	text-shadow: 0 -1px 1px rgba(0,0,0,.6);
	font-weight: bold;
	cursor: pointer;
	text-decoration: none;
	transition: unset !important;
}

.menu {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 64px;
}

.menu-links {
	display: flex;
	align-items: center;
	gap: 15px;
}

.menu span, .menu a {
	display: flex;
	height: 39px;
	background: var(--foo);
	border: 1px solid var(--accent-border) !important;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset, 0 0 0 1px #000;
	padding: 8px 25px;
	text-align: center;
	font-family: var(--font);
	font-size: 13px;
	font-weight: 400;
	align-items: center;
	padding: 0 20px;
	text-transform: uppercase;
	cursor: pointer;
	transition: none !important;
}

.menu span:hover, .menu a:hover {
	color: var(--accent) !important;
	text-shadow: var(--accent) 1px 0 8px, #000000 1px 0px 0px;
}

.menu .tabactive {
	color: var(--accent) !important;
	text-shadow: var(--accent) 1px 0 8px, #000000 1px 0px 0px;
}

#submenu {
	padding: 10px;
	height: 405px;
	font-size: 12px;
	width: calc(100% - 10px);
	box-sizing: border-box;
	margin: 12px auto 0;
}

.submenutext {
	display: none; 
}

.personal_page_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	height: 370px;
	overflow-y: auto;
	gap: 20px 0;
	padding: 6px 3px 10px 0px;
	margin-left: -15px;
}

#sm2 .personal_page_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	height: 370px;
	overflow-y: auto;
	gap: 15px;
	padding: 6px 0px 10px;
}

.achives_wrapper {
	background: rgba(255, 255, 255, .02);
	position: relative;
	width: 170px;
	height: 80px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-family: lol;
	padding: 13px 18px 10px 46px;
	box-sizing: border-box;
	align-items: center;
	justify-content: flex-start;
	transition: background .2s linear 0s;
	border: 1px solid var(--accent-border) !important;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset, 0 0 0 1px #000;
	margin-left: 42px;
}

.achives_img {
	width: 60px;
	height: 60px;
	position: absolute;
	border: 1px solid var(--accent-border) !important;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,.53) inset, 0 0 0 1px #000 inset, 0 0 0 1px #000;
	background: url(https://forumstatic.ru/files/001c/44/10/41179.png?v=1);
	top: 50%;
	left: 0;
	transform: translateY(-50%) translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.achives_img img {
	width: 60px;
	height: 60px;
	filter: grayscale(0.8) brightness(0.7);
	transition: filter .3s ease-in-out;
	border-radius: 10px
}

.achives_img img:hover {
	filter: grayscale(0) brightness(1);
}

#sm2 .achives_img {
	position: unset;
	transform: none;
}

.achives_wrapper span {
	font-size: 11px;
	line-height: 13px;
	height: 60px;
	overflow-y: auto;
	color: var(--text3);
}

.day .achives_wrapper span {
	color: var(--text3);
}

.achives_wrapper span strong {
	font-weight: 400;
} 

.personal_icons .achives_img {
	display: inline-flex;
	margin: 2px;
}

/* êàñòîìèçàöèÿ ðåàêöèé, êîòîðûì äóõ íåèçìåííî æåëàåò â àäó ãîðåòü */
.reactions-root {
	position: relative;
	z-index: 8
}

.reactions-root .reaction-chip {
  cursor: pointer;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cover);
	box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
	border: 1px solid var(--border-dark) !important;
	border-radius: 6px;
}

#pun .reactions-root .reaction-chip .emoji-mart-emoji {
	padding: 0 !important;
}

.reactions-root .reaction-chip:hover {
	background: var(--h3-bg) !important;
}

#pun .reaction-chip.reaction-chip--clicked {
	background: var(--cover);
	box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
	border: 1px solid var(--border-dark) !important;
	font: 600 14px var(--font);
	display: flex;
	align-items: center;
	color: var(--text2)
}

#pun .reaction-counter__count {
	padding: 0;
}

#pun .reaction-chip.reaction-chip--clicked .emoji-mart-emoji {
	padding: 0 !important;
}

#pun .reactions-root .emoji-mart {
	background: var(--cover);
	box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
	border: 1px solid var(--border-dark) !important;
	border-radius: 6px;
	width: 400px !important;
	font-family: var(--font);
	font-size: 10px;
	padding: 10px;
}

#pun .reactions-root .emoji-mart-bar {
	border: none;
	margin-bottom: 10px;
}
#pun .reactions-root .emoji-mart-anchors {
	display: flex;
	gap: 2px;
}

#pun .reactions-root .emoji-mart-anchors button {
	padding: 5px !important;
	background: var(--cover) !important;
	box-shadow: none;
	border: 1px solid var(--border-dark) !important;
	border-radius: 6px;
}

#pun .reactions-root .emoji-mart-search input {
	background: var(--h3-bg);
	border: 1px solid var(--border-light);
	display: flex;
	align-items: center;
}

#pun .reactions-root .emoji-mart-search-icon {
	top: 4px
}

#pun .reactions-root .emoji-mart-category-label span {
	background: var(--h3-bg);
	border: 1px solid var(--border-light);
	border-radius: 5px;
	margin: 10px 0 5px
}

#pun .reactions-root .emoji-mart-scroll {
	padding-right: 10px
}

#pun .emoji-mart-category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

#pun .reactions-root .emoji-mart-emoji {
	padding: 10px !important;
}

#pun .reactions-root .emoji-mart-emoji:before {
	border-radius: 0 !important;
	background: transparent
}

.punbb .post-rating {
	height: 20px;
	display: flex;
	justify-content: flex-end;
	align-items: stretch;
}

.punbb .post-rating p, .punbb .post-rating {
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	padding: 0 !important;
}

.punbb .post-rating {
	margin-top: 20px !important;
}

.punbb .post-rating p, .punbb .post-vote .container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 20px;
	width: 20px;
	font: 400 10px var(--font);
	padding: 0 !important;
	float: none !important;
	margin: 0 !important;
}

.punbb .post-rating a {
	height: 20px;
	width: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 1;
	color: var(--text4) !important;
	text-shadow: 1px 1px 1px var(--text3)
}

.punbb .post-rating a:before {
  content: "\f0f4";
  font: 24px FontAwesome;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 3px;
	left: 2px;
	z-index: -1;
	opacity: .3;
	color: var(--text2);
	transition: all .4s linear 0s;
	text-shadow: none
}

.punbb .post-vote a {
	color: transparent !important;
	height: 20px;
	width: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 1;
}

.punbb .post-vote a:before {
  content: "\f564";
  font: 18px FontAwesome;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -1;
	opacity: .3;
	color: var(--text2);
	transition: all .4s linear 0s
}

.punbb .post-rating a:hover:before, .punbb .post-vote a:hover:before {
	opacity: .55
}

.punbb .post-vote a:hover:before {
	padding-top: 8px
}

.punbb .post-vote {
	position: absolute;
	right: 0;
	margin-top: -41px !important;
}

@media screen and (max-width: 720px) {

	html,
	body,
	#pun,
	.punbb {
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		-webkit-text-size-adjust: none;
		overflow-wrap: break-word;
		float: none;
	}

	body {
		position: relative;
		overflow: hidden !important;
		-webkit-overflow-scrolling: touch !important;
		overflow-y: auto !important;
		z-index: 1;
		background-size: cover;
	}

	img {
		max-width: 100% !important;
		height: auto;
	}

	#pun_wrap #pun {
		width: 100% !important;
		border-width: 0 !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
		border-radius: 0 !important;
	}

	#pun .punbb {
		padding: 15px !important;
		box-sizing: border-box;
		border: 0
	}

	#pun-navlinks.section {
		width: auto !important;
	}

	#pun-navlinks {
		align-self: stretch;
		margin: 10px 0 20px !important;
		background: transparent;
		padding: 0 !important;
	}

	#pun-navlinks ul {
		justify-content: center;
		gap: 5px;
	}

	#pun-navlinks li a {
		display: flex !important;
		justify-content: center;
		align-items: center;
		font-weight: normal !important;
	}

	#pun-navlinks a {
		color: var(--text3) !important;
		background: rgba(0, 0, 0, .05);
		padding: 4px 8px 4px !important;
		border-radius: 10px;
		display: block !important;
	}

	#pun-navlinks li a span, #navextra1 a {
		font-size: 0 !important;
		display: none;
	}

	#navpr_1 li span {
		font-size: 0;
		display: none
	}

	#navpr_2 li span {
		font-size: 0;
		display: none
	}

	#navindex a:before {
		content: "\f015";
		font-family: FontAwesome;
	}

	#navuserlist a:before {
		content: "\f0c0";
		font-family: FontAwesome;
	}

	#navsearch a:before {
		content: "\f002";
		font-family: FontAwesome;
	}

	#navpm a:before {
		content: "\f0e0";
		font-family: FontAwesome;
	}

	#navprofile a:before {
		content: "\f2bb";
		font-family: FontAwesome;
	}

	#navadmin a:before {
		content: "\f085";
		font-family: FontAwesome;
	}

	#navlogin a:before {
		content: "\f090";
		font-family: FontAwesome;
	}

	#navlogout a:before {
		content: "\f08b";
		font-family: FontAwesome;
	}

	#navregister a:before {
		content: "\f067";
		font-family: FontAwesome;
	}

	#navpr_2 a:before {
		content: "\f0f3";
		font-family: FontAwesome;
	}

	#navpr_1 a:before {
		content: "\f21b";
		font-family: FontAwesome;
	}

		#navextra1 a:before {
		content: "\f279";
		font-family: FontAwesome;
			font-size: 17px
	}

	#navindex a span {
		display: block;
	}

	#navuserlist a span {
		display: block;
	}

	#navawards a span {
		display: block;
	}

	#navsearch a span {
		display: block;
	}

	#navpm a span {
		display: block;
	}

	#navprofile a span {
		display: block;
	}

	#navadmin a span {
		display: block;
	}

	#navlogin a span {
		display: block;
	}

	#navlogout a span {
		display: block;
	}

	#navregister a span {
		display: block;
	}

	#navpr_1 a span {
		display: block;
	}

	#navpr_2 a span {
		display: block;
	}

	#navextra1 a {
		display: block;
	}

	#pun-ulinks {
		background: transparent;
		padding: 0;
		height: auto
	}

	#pun-ulinks ul {
		height: auto !important;
		flex-wrap: wrap;
		gap: 5px !important;
	}

	#pun-ulinks ul a {
		background: rgba(0, 0, 0, .05);
		border-radius: 6px;
		padding: 3px 10px 6px !important;
	}

	#header_wrapper {
		position: relative;
		background:
			var(--logo) no-repeat center 20px,
			url(https://forumstatic.ru/files/001b/33/a6/95970.jpg) repeat center top / cover;
		width: auto;
		margin: -20px -15px 0 !important;
		height: 300px;
	}

	#header_wrapper:after {
		content: "";
		display: block;
		position: absolute;
		background: red;
		width: 100%;
		height: 30px;
		bottom: -30px;
		left: 0px;
		z-index: 8;
		background:
			url(https://forumstatic.ru/files/001b/33/a6/62723.png) no-repeat top right,
			url(https://forumstatic.ru/files/001b/33/a6/62343.png) no-repeat top left,
			url(https://forumstatic.ru/files/001b/33/a6/89085.png) repeat-x top center;
	}

	.header_bg {
		background: var(--header) no-repeat bottom center / cover
	}

	.header_item.mini-desc,
	.header_item.text-section,
	.header_item.persons-section {
		display: none
	}
	
	.header-item.nav-section {
		left: 20px;
		width: auto;
		bottom: 20px
	}
	
	#stylelist {
		min-height: 30px
	}
	
	.nav-section .nav_wrap {
		display: none;
	}

	#pun .category h2,
	#pun-stats h2 {
		margin: 0 -15px 15px !important;
		gap: 5px;
		background:
			var(--bg1-img);
		height: auto;
		padding: 5px;
		box-sizing: border-box
	}

	#pun .category h2:before,
	#pun-stats h2:before {
		content: "";
		position: absolute;
		display: block;
		left: 0;
		top: -30px;
		height: 30px;
		width: 100%;
		background:
			url(https://forumstatic.ru/files/001b/33/a6/70167.png) no-repeat bottom right,
			url(https://forumstatic.ru/files/001b/33/a6/17974.png) no-repeat bottom left,
			url(https://forumstatic.ru/files/001b/33/a6/42497.png) repeat-x bottom center;
	}

	#pun .category h2:after,
	#pun-stats h2:after {
		content: "";
		position: absolute;
		display: block;
		left: 0;
		bottom: -30px;
		height: 30px;
		width: 100%;
		background:
			url(https://forumstatic.ru/files/001b/33/a6/62723.png) no-repeat top right,
			url(https://forumstatic.ru/files/001b/33/a6/62343.png) no-repeat top left,
			url(https://forumstatic.ru/files/001b/33/a6/89085.png) repeat-x top center;
	}

	#pun-index .category+.category {
		margin-top: 15px !important;
	}

	#pun-index .category .container {
		position: relative;
		padding: 0px;
		z-index: 1
	}

	.Add,
	#pun .user-avatar {
		display: none
	}

	#pun-status {
		top: 245px;
		z-index: 2;
	}

	#pun-stats {
		margin-top: -20px !important;
	}

	.footer_wrapper {
		margin: 30px 0 0;
		height: 250px;
		width: calc(100% - 30px);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		gap: 25px;
	}

	.footer_items {
		align-self: stretch
	}

	.footer_items.banners-first {
		width: 100%;
	}

	.footer_items.banners-second {
		max-height: 100px !important;
	}

	#pun-about {
		left: 0;
		width: 100%;
		margin-top: 260px !important;
	}
	.settings_wrap {
		top: 10px;
		left: 10px
	}
#pun-index .category tr {
		min-width: 100%
	}
	
	#pun-index .category-6 tbody.hasicon {
	flex-direction: column;
	gap: 20px;
}

#pun-index .category-6 tr {
	flex: 1;
	min-width:100%;
	display: flex;
	flex-direction: column;
	margin: 0 0px;
	font: 300 12px var(--font);
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0px !important;
	box-sizing: border-box;
	position: relative;
	background: transparent;
	box-shadow: none;
	border: none !important;
	border-radius: 0px;
	padding: 0 !important;
}

#pun-index .category-6 .tcl {
	padding: 0px !important;
	min-width: 100% !important;
	width: auto;
	background: var(--cover);
	box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
	border: 1px solid var(--border-dark) !important;
	border-radius: 10px;
	padding: 15px 20px 15px !important;
	flex: 1;
}

#pun-index .category-6 td.tcr {
	text-align: left;
	display: flex;
	align-items: flex-start;
	text-transform: uppercase;
	background: var(--cover);
	box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
	border: 1px solid var(--border-dark) !important;
	border-radius: 10px;
	padding: 15px 20px 10px !important;
	box-sizing: border-box;
	flex: 1;
	min-width: 100% !important;
	flex-direction: column;
}

#pun-index .category-6 .user-avatar {
	display: none
}

#pun-index .category-6 .tcr a.lastpost-link {
	font-weight: 500;
	font-size: 13px;
	display: inline-block;
	overflow: hidden;
	text-overflow: ellipsis;
	height: auto;
	width: 100%;
	white-space: nowrap;
	line-height: 120%;
}
	.arrow_wrap {
		display: none !important;
	}
	tr.isub {
	display: flex;
	gap: 5px;
	align-items: stretch;
	margin-bottom: 10px;
		flex-direction: column;
}
	tr.isub .tcl, tr.isub td.tcr {
		min-width: 100%;
		box-sizing: border-box
	}
	.forum .tc2, .forum .tc3 {
		display: none
	}
	.forum tr {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
		padding: 10px !important;
	}
	.forum .tcl {
		background: var(--h3-border);
		padding: 2px 10px !important;
		box-sizing: border-box;
		border-radius: 7px
	}
	.forum .tcl, .forum .tcr {
		min-width: 100%
	}
	#pun .forum .tcr {
		display: flex;
		flex-direction: column;
		text-align: right;
		min-width: 100% !important;
		align-items: flex-end !important;
	}
	#pun .post h3 {
		margin: 20px 0 10px !important;
		top: 0;
	}
	.post-author {
		float: none !important;
		width: 100%;
		margin-bottom: 15px !important;
		padding: 5px 10px;
			background: 
		#161616 url(https://forumstatic.ru/files/001b/33/a6/81429.jpg);
		box-sizing: border-box
	}
	.pa-author, .pa-title {
		text-align: left !important;
		background: transparent;
		box-shadow: none;
		padding: 0 !important;
		border: none
	}
	
.pa-author:after {
	display: none
}
 .pa-fld2, .pa-fld3, .pa-fld5 {
		display: none
	}
	.pa-fld1 {
		text-align: left;
		background: transparent;
		box-shadow: none;
		border: none;
		padding: 0 !important;
	}
	.pa-fld1 lz {
		display: none
	}
	.field_wrap2 {
	background: 
		transparent;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		height: auto;
		padding: 0 !important;
		margin: 0 !important;
	}
	.field_wrap2 li {
		width: 50%;
		text-align: left
	}
	.field_wrap2 li .fld-name {
		display: inline-block
	}
	.pa-avatar img {
		width: 60px;
		height: 100px;
		object-fit: cover;
	}
	.pa-avatar {
		position: absolute;
		right: 15px;
		top: 10px
	}
.indOnline,
	.indOffline {
		padding: 0px 8px 5px;
		text-align: left
	}
	.post-body {
		margin: 0 !important;
	}
	.post-box {
		padding: 0 0 1em !important;
	}
	#pun #form-buttons tr {
		flex-wrap: wrap;
		padding: 0 !important;
	}
	#form-buttons td {
		min-width: 20px
	}
	#form-buttons {
		flex-direction: column-reverse
	}
	#viewprofile .container tr {
		display: flex;
		flex-direction: column
	}
	#viewprofile .container td {
		min-width: 100%
	}
	#pun #profile .container {
		padding: 0 !important;
	}
	#profile #profilenav {
		margin: 0;
		float: none;
		width: 100%;
	}
	#profilenav ul {
		display: flex;
		flex-wrap: wrap;
		gap: 5px;
		width: 100% !important;
	}
	#profilenav li {
		padding: 0;
		margin: 0;
		flex: 1
	}
	#profilenav a {
		background: rgba(0,0,0,.05);
		border-radius: 6px;
		padding: 4px 10px 6px;
		display: block;
		text-align: center
	}
	#pun-messages #profilenav li {
		padding: 0
	}
	#pun #pun-messages #profile > .container {
		padding: 15px !important;
	}
	#pun-messages .messages-container tr {
		display: flex;
		flex-wrap: wrap;
		gap: 2px;
		padding: 5px 10px 10px !important;
	}
	#pun-messages .messages-container tr .tcl {
		min-width: 100% !important;
	}
	#pun-messages .messages-container tr td {
		min-width: 20px !important;
		text-align: left;
		padding: 0;
		flex: 1;
		font-size: 10px !important;
	}
	#pun-messages .messages-container tr td:first-child {
		font-size: 12px !important;
	}
	#pun-messages .messages-container tr td:last-child {
		text-align: right
	}
	.post-content tr {
		display: flex;
		flex-wrap: wrap
	}
	.post-content td {
		min-width: 100%;
		box-sizing: border-box
	}
	#tags .container {
		max-width: 100%;
		box-sizing: border-box;
		top: 30% !important;
	}
	#navprofile .notify-link .unreads,
  #navpm .notify-link .unreads {
    font-size:10px !important;
    line-height:18px;
    height:15px;
    min-width:15px;
    border-radius:10px;
		display: none
  }
}

.night {
    --bg1-frame: url(https://forumstatic.ru/files/001b/33/a6/88001.png);
    --bg1-img: url(https://forumstatic.ru/files/001b/33/a6/11237.png);

    --bg2-frame: url(https://forumstatic.ru/files/001b/33/a6/78214.png);
    --bg2-color: #cec5b4;
    --bg2-drop: #776e5e;

    --category-line: linear-gradient(90deg, #4c2b28 0%, #712723 50%, #4c2b28 100%);
    --cat-top-left: url(https://forumstatic.ru/files/001b/33/a6/10941.jpg);
    --cat-top-right: url(https://forumstatic.ru/files/001b/33/a6/69803.jpg);
    --cat-top-center: url(https://forumstatic.ru/files/001b/33/a6/13074.jpg);
    --cat-bottom-left: url(https://forumstatic.ru/files/001b/33/a6/32849.jpg);
    --cat-bottom-right: url(https://forumstatic.ru/files/001b/33/a6/84079.jpg);
    --cat-bottom-center: url(https://forumstatic.ru/files/001b/33/a6/57356.jpg);

    --foo: url(https://forumstatic.ru/files/001b/33/a6/52246.png);

    --header: url(https://forumstatic.ru/files/001b/33/a6/12249.png);
    --logo: url(https://forumstatic.ru/files/001b/33/a6/42977.png);

    --cover: #c1b9a9;
    --border-light: #cec5b4;
    --border-dark: #9f9b93;
    --f-drop: #bbb3a4;

    --accent-border: #4c2b28;

    --h3-bg: #cac2b2;
    --h3-border: #cec5b4;
    --main-icons: url(https://forumstatic.ru/files/001b/33/a6/68079.png);

    --link-hover: #66635a;

    --arrows: url(https://forumstatic.ru/files/001b/33/a6/72072.png);

    --text1: #433f36; /* black */
    --text2: #615d55; /* light black */
    --text3: #6c6861; /*white*/
    --text4: #D1CCC2; /*semiwhite*/
    --text-accent: #783932;
    --links: #6a614b;
    --accent: #8a261a;

    --borders: #B5B0A6;
}

#awards-content tr {
		background: var(--cover);
	box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
	border: 1px solid var(--border-dark) !important;
	border-radius: 10px;
	padding: 15px 20px 15px !important;
}

#awards-content tr + tr {
	margin-top: 4px
}

#awards-content td {
	flex: 1;
	background: var(--h3-bg);
	border: 1px solid var(--h3-border);
	padding: 8px 20px 8px;
	border-radius: 10px;
	align-self: stretch;
	display: flex;
	justify-content: center;
	align-items: center;
}

#awards-content td.tcl {
	min-width: 40%
}

#awards-content img {
	border-radius: 10px;
	border: 1px solid #000 !important;
	outline: 1px solid #3c3a36;
	box-shadow: 0 0 0 2px #000;
	filter: grayscale(0.8) brightness(0.7);
	transition: all .3s linear 0s
}

#awards-content img:hover {
	filter: none
}

html.punbb {
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
}