

/* Start:/local/templates/leveno/components/bitrix/forum/new-template/style.css?178706393143125*/
div.forum-info-box
{
	padding:0.5em 1.117em;
	border-width: 1px;
	border-style: solid;
	line-height: 1.5em;
	margin-bottom:1em;
	zoom: 1;
}
div.forum-info-box-inner
{
/*	zoom:1;*/
}

/* Forum Menu */
div.forum-menu-box { margin-bottom: 1em;}
div.forum-menu-box span.forum-menu-item { margin-right:0.25em; padding-right:0.25em; white-space:nowrap; }

/* Menu Items*/
span.forum-menu-item { border-right-width: 1px; border-right-style: solid; }
span.forum-menu-item-last { border: none;}

/* Breadcrumb */
div.forum-breadcrumb-top {padding:0 1.117em 1em;}
div.forum-breadcrumb-bottom {padding:0 1.117em 1em;}
div.forum-breadcrumb { line-height:1.5em;}
div.forum-breadcrumb span {white-space:nowrap;}
div.forum-breadcrumb a {text-decoration: none;}
span.forum-crumb-last { font-weight: normal;}

/* Header Box*/
div.forum-header-box { padding:0 1.117em; border-style: solid; border-width: 1px; }
div.forum-header-title a {text-decoration: underline;}

/* Header Box Right Links*/
div.forum-header-options { float: right; padding:0.5em 0; }
div.forum-header-options a:hover { text-decoration: underline;}

/* Header Title */
div.forum-header-title { font-size:1em; padding:0.462em 5em 0.426em 0; }


/*div.forum-block-container {margin-bottom: 1em;}*/

/* Main Forum/Topic List Table */
table.forum-table { width: 100%; }
table.forum-forum-list {margin-bottom: 1em;}
table.forum-topic-list {}

/* Table Header */
table.forum-table th
{
	font-size:1em;
	padding:0.462em 1em;
	font-weight:normal;
	vertical-align:middle;
	text-align: left;
}

/* Table Cell */
table.forum-table td
{
	border-bottom-width: 1px;
	border-bottom-style: solid;

	border-right-width: 1px;
	border-right-style: solid;

	vertical-align:top;
	padding:0.4em 1em;
}

/* First Row Cell */
table.forum-table tr.forum-row-first td { border-top-width:1px; border-top-style: solid; }

/* Last Row Cell*/
table.forum-table tr.forum-row-last td { border-bottom-width:1px; border-bottom-style: solid;}

/* Odd Row Cell */
table.forum-table tr.forum-row-odd td { }

/* Even Row Cell */
table.forum-table tr.forum-row-even td { }

/* Selected (via checkbox) Table Cell and Row */
table.forum-table tr.forum-row-selected td, table.forum-table td.forum-cell-selected, table.forum-post-selected td.forum-cell-post, table.forum-post-selected td.forum-cell-actions {}

/* Hidden Table Cell and Row */
table.forum-table tr.forum-row-hidden td, table.forum-table td.forum-cell-hidden, table.forum-post-hidden td.forum-cell-post, table.forum-post-hidden td.forum-cell-actions {}

/* Sticky Table Cell and Row */
table.forum-table tr.forum-row-sticky td, table.forum-table td.forum-cell-sticky {}

/* Forum Category Separator */
table.forum-table tbody.forum-category-separator { display: none; }

/* Forum Icon Column */
table.forum-table td.forum-column-icon { padding:0; border-left-width:1px; border-left-style: solid; }
table.forum-table td.forum-column-alone { border-left-width:1px; border-left-style: solid; }

div.forum-icon-container { width:3.3em; text-align: center;}

/* Forum Topic Icons (New Post Icon, Sticky Topic Icon, Closed Topic Icon, Moved Topic Icon)*/
div.forum-icon
{
	height:20px;
	width:20px;
	margin:0.667em auto;
}

/* Forum/Topic Title Column*/
table.forum-table th.forum-column-title, table.forum-table td.forum-column-title { width: 66%; text-align: left; }
table.forum-table td.forum-column-title { padding:0; line-height:1.4em; padding:0; }
table.forum-table th.forum-column-title { padding-left: 1.117em; border-left-width: 1px; border-left-style: solid; }

div.forum-item-info { padding:6px 14px 5px; }

div.forum-item-subforums { line-height:1.4em; margin-top: 0.9em;}


span.forum-status-sticky, span.forum-status-closed { font-weight: bold; }

span.forum-item-desc-sep { vertical-align:middle; font-size:1em; }

div.forum-moderator-stat { margin-top: 0.9em; }
div.forum-moderator-stat span { font-weight: bold; }

table.forum-table td.forum-column-topics,
table.forum-table td.forum-column-replies,
table.forum-table td.forum-column-views
{
	text-align: center;
	padding: 1em 0.2em;
}

table.forum-table th.forum-column-topics,
table.forum-table th.forum-column-replies,
table.forum-table th.forum-column-views
{
	padding-left: 0.5em;
	padding-right: 0.5em;
}

/* Last Post Cells */
table.forum-table th.forum-column-lastpost, table.forum-table td.forum-column-lastpost { padding:0; width: 30%; text-align: left; }
table.forum-table td.forum-column-lastpost { line-height:1.4em; }
table.forum-table th.forum-column-lastpost { padding-left: 1em; border-right-width: 1px; border-right-style: solid;}

div.forum-lastpost-box { padding:6px 14px 5px; }
span.forum-lastpost-date, span.forum-lastpost-title {display: block;}

/* Forum and Topic Checkbox*/
div.forum-select-box
{
	float:right;
	/*
	border-left-width:1px;
	border-left-style: solid;
	border-bottom-width:1px;
	border-bottom-style: solid;
	*/
	padding:0.1em;
	text-align:center;
}


/* Table Footer and Alone Footer Box */
table.forum-table td.forum-column-footer, table.forum-post-table td.forum-column-footer, div.forum-footer-box
{
	padding:0.5em 1em;
	border-width:1px;
	border-style: solid;
	line-height:1.5em;
}

div.forum-footer-box {margin-bottom: 1em;}

table.forum-table td.forum-column-footer { border-top: none; }

div.forum-footer-inner { text-align:center; zoom:1; }
span.forum-footer-option { margin-left:0.5em; padding-left:0.5em; border-left-width:1px; border-left-style: solid; }
span.forum-footer-option-first { border-left: none; }
span.forum-footer-rss { background: transparent url(/local/templates/leveno/components/bitrix/forum/new-template/images/feed-icon.png) no-repeat scroll left center; padding-left:20px; padding-top:2px; }

/* Birthdays Box*/ 
div.forum-users-online { }
span.forum-users-online span { font-weight: bold; }
div.forum-users-online span.forum-user-online { }
div.forum-users-online span.forum-user-online-hidden { }

/* Birthdays Box*/ 
div.forum-users-birthday {  }
span.forum-users-birthday span { font-weight: bold; }

/* Statistics Box*/
div.forum-statistics { zoom: 1; }
div.forum-statistics-allusers { clear:both; float:left; white-space:nowrap; min-height: 55px; }
div.forum-statistics-users { clear:both; float:left; white-space:nowrap; }
div.forum-statistics-topics { text-align:right; white-space:nowrap; }
div.forum-statistics-replies { text-align:right; white-space:nowrap; }
div.forum-statistics-users span, div.forum-statistics-allusers span, div.forum-statistics-topics span, div.forum-statistics-replies span { font-weight: bold; }

/* Page navigation */
div.forum-navigation-box
{
	padding:0 1.117em;
	border-width: 1px;
	border-style: solid;
	line-height:1.5em;
	overflow: hidden;
	zoom:1;
}

div.forum-page-navigation { float:left; padding:0.5em 0;}
div.forum-navigation-top { border-bottom: none; }
div.forum-navigation-bottom { border-top: none; margin-bottom: 1em;}
div.forum-page-navigation a, span.forum-page-current, span.forum-page-dots
{
	border-left-width: 1px;
	border-left-style: solid;
	padding-left:0.75em;
	padding-right: 0.5em;
	text-decoration: none;
}


div.forum-page-navigation a.forum-page-previous { border-right-width:1px; border-right-style: solid; border-left: none; }
div.forum-page-navigation a.forum-page-first, div.forum-page-navigation span.forum-page-first { border-left: none; padding-left: 0.5em; }
span.forum-page-current { font-weight: bold; }
div.forum-new-post
{
	float:right;
	text-align:right;
	padding:0.5em 0;
	font-weight: bold;
}

/* For abstract tables */
table.forum-table td.forum-first-column { border-left-width: 1px; border-left-style: solid;}
table.forum-table th.forum-first-column {border-left-width: 1px; border-left-style: solid;}
table.forum-table th.forum-last-column {border-right-width: 1px; border-right-style: solid;}


/* Topic posts table */
table.forum-post-table
{
	width: 100%;
	line-height:1.5em;
	border-collapse: separate;
	border-top-width: 1px;
	border-top-style: solid;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	table-layout:fixed;
}

/* First Post Table */
table.forum-post-first { border-top: none; }

/* Odd Post Table */
table.forum-post-odd {}

/* Even Post Table */
table.forum-post-even {}

/* Last Post Table */
table.forum-post-last {}

/* Post Table Cell */
table.forum-post-table td { padding: 0; vertical-align: top; width:100%}

/* Post Table: User Info and User Contacts Cells*/
table.forum-post-table td.forum-cell-user, table.forum-post-table td.forum-cell-contact
{
	/*width:15em;*/
	width:200px;
	border-right-width: 1px;
	border-right-style: solid;
	border-left-width: 1px;
	border-left-style: solid;
	overflow: hidden;
}

/* Post Table: User Info Cell */
table.forum-post-table td.forum-cell-user {
	width:178px;
}

/* Post Table: Post and Actions Cell */
table.forum-post-table td.forum-cell-post, table.forum-post-table td.forum-cell-actions { border-right-width: 1px; border-right-style: solid; }

/* Post Table: User Contacts and Actions Cell */
table.forum-post-table td.forum-cell-contact, table.forum-post-table td.forum-cell-actions { border-top-width: 1px; border-top-style: dashed; height: 2.5em; }

div.forum-post-date, div.forum-post-entry { padding:0.5em 1em 0.5em 1em; font-size:1em; font-weight:normal; }

div.forum-post-date { border-bottom-width:1px; border-bottom-style: dashed; }

div.forum-post-number { float:right; display: inline; /* IE fix */ }
div.forum-post-number input { margin:0 0 0 0.2em; vertical-align: middle;}
div.forum-post-number a {vertical-align: middle;}
div.forum-post-number span { font-weight: bold; }

div.forum-post-text { padding:0.5em 0; }

/* Post Attachments */
div.forum-post-attachments {
	margin:1.5em 0;
	padding: 0.6em 1em 0.9em 1em;
	border-width:1px;
	border-style: solid;
	line-height:1.5em;
}
div.forum-post-attachments label { }
div.forum-post-attachments fieldset { border: none; padding: 0; margin: 0; }
div.forum-post-attachments fieldset .forum-attach { margin: 1.2em 1.2em 0 0; }
div.forum-post-attachments ul { padding:0; }
div.forum-post-attachments div.forum-post-attachment { margin-top: 1em; }

div.forum-post-lastedit { padding:0.5em 0; font-style: italic;}
span.forum-post-lastedit-user { font-weight: bold;}

/* User Signature*/
div.forum-user-signature { margin-top: 1em; }
div.forum-signature-line
{
	border-top-width: 1px;
	border-top-style: solid;
	width:200px;
	height:1px;
	/* IE Fix */
	line-height:1px;
	font-size:1px;
}

div.forum-user-signature span {line-height: 0.95em; padding-top:0.5em; display: block; font-size: 0.95em;}

div.forum-user-info { padding:0.5em 1em 1.5em 1em; }

div.forum-user-avatar { margin: 0.5em 0; }

div.forum-user-status { margin-bottom: 6px; }

div.forum-user-additional { font-size: 0.95em; }
div.forum-user-additional span { display: block;}
div.forum-user-additional span span { display: inline;}

div.forum-user-name span { font-size:1em; font-weight:bold; line-height:1.1em;}

span.forum-vote-user a { text-decoration: none; vertical-align: top; font-size:1.1em;}

div.forum-user-name a { text-decoration:none; font-size: 1.1em; }

div.forum-user-status span { font-weight:bold; line-height:normal; }

div.forum-contact-links { padding:0.5em 1em; }

div.forum-action-links { padding:0.5em 1.5em 0.5em 1em; text-align:right; }
div.forum-action-links span {white-space: nowrap;}

div.forum-post-entry { font-size:1em; padding-bottom:1em; height:100%; }

/* Post Table Footer */
table.forum-post-table td.forum-column-footer { border-bottom: none; }

div.forum-post-moderate { float: right; }
div.forum-topic-moderate { text-align: left; }
div.forum-topics-moderate { float: right; }
div.forum-topics-moderate input, div.forum-topics-moderate select { font-size: 1.1em;}

/*BBCode: List*/
div.forum-post-text ul, div.forum-post-text ol { padding:0.5em 0 0.5em 2em; }

/*BBCode: Quote and Code*/
table.forum-quote, table.forum-spoiler, table.forum-code
{
	font-size:1em;
	width:100%;
	border-width:1px;
	border-style: solid;
	border-collapse: collapse;
	width:100%;
	table-layout:fixed;
}

table.forum-code pre {
	margin:0;
	width:100%;
	padding-bottom:5px;
	overflow:auto;
}

table.forum-quote table.forum-quote, table.forum-spoiler table.forum-spoiler, table.forum-code table.forum-code { width: 95%; margin: 0.5em 0 0;}


table.forum-quote th, table.forum-spoiler th, table.forum-code th {font-weight:bold; padding: 0.25em 1em; text-align:left;}
table.forum-quote td, table.forum-spoiler td, table.forum-code td { padding:0.9em 1em; }

div.forum-code-box
{
	font-family: "Consolas", "Monaco", "Courier New", Courier, monospace;
	font-size: 1em;
	width: 100%;
	overflow: auto;
	border-width:1px;
	border-style: solid;
	margin:0.5em 0;
}

div.forum-code-box ol, div.forum-code-box ol li, div.forum-code-box ol li span { margin: 0; padding: 0; border: none; }

div.forum-code-box ol { list-style: decimal; margin-left: 3em; padding:0.5em 0;}

div.forum-code-box ol li
{
	list-style: decimal-leading-zero;
	list-style-position: outside !important;
	padding: 0 0.5em 0 1.5em !important;
	margin: 0;
	line-height: 1.5em;
}
a.forum-spoiler-hide
{
	float: right;
}
/*BBCode: Table*/
div.forum-post-text table.data-table tbody td {
	width: auto;
}

/* Reply Form*/
div.forum-reply-form
{
	border-style:solid;
	border-width:1px;
	line-height:1.5em;
	margin-bottom:1em;
}

div.forum-reply-header
{
	font-size:1em;
	padding:0.462em 1.117em;
	vertical-align:middle;
}

div.forum-note-box {border-width:1px; border-style: solid; margin: 1.117em 0; padding: 0.4em 1.117em;}
div.forum-reply-form div.forum-note-box { margin: 1.117em;}
div.forum-note-box ul {padding:0.3em 0 0.3em 2em; margin:0;}
div.forum-note-box ul li {margin:0; padding:0;}

div.forum-reply-fields { padding:0 1em 0.8em; }

div.forum-reply-field { margin-top: 0.462em; position:relative; z-index:1;}

div.forum-reply-field-title input, div.forum-reply-field-desc input { width: 80%;}

div.forum-reply-field-title label, div.forum-reply-field-desc label, div.forum-reply-field-tags label, div.forum-reply-field-captcha-label label,
div.forum-reply-field-lastedit-reason label {display: block;}

div.forum-reply-field-user {width: 100%; /*IE Fix or zoom:1 */}

div.forum-reply-field-author, div.forum-reply-field-email { float:left; width:39%; }

div.forum-reply-field-user-sep { width:2%; float: left;}

div.forum-reply-field-author input, div.forum-reply-field-email input { width:100%; }

div.forum-reply-field-tags { display: none; }
div.forum-reply-field-tags input { width:80%; }

div.forum-reply-field-switcher-tag { margin-right: 0.8em; }

div.forum-reply-field-vote-duration { margin: 0.82em 0; }
div.forum-reply-field-vote-question { margin-bottom: 0.462em; }
div.forum-reply-field-vote-question label { margin-left:0.27em; }
div.forum-reply-field-vote-question-title input{ width: 80%; }
ol.forum-reply-field-vote-answers input { width: 60%; }
ol.forum-reply-field-vote-answers li { margin-top: 0.462em; }

div.forum-reply-field-lastedit-reason input { width: 80%;}

div.forum-reply-field-captcha input { width: 180px;}

div.forum-reply-field-settings input, div.forum-uploaded-file input, div.forum-reply-field-lastedit-view input { width:1.55em; margin:0 0 0 -0.25em; vertical-align: middle; font-size:1em; }
div.forum-reply-field-settings label, div.forum-uploaded-file a, div.forum-reply-field-lastedit label { vertical-align: middle; }

div.forum-reply-field-upload a { outline: none;}
div.forum-upload-file-hint { display: none;}
div.forum-upload-file-hint span { font-weight: bold;}
div.forum-upload-file {display: none; margin-top: 0.262em;}
div.forum-upload-file input {font-size:1.184em; }

div.forum-reply-buttons { margin-top: 1em;}
div.forum-reply-buttons input { padding:0 0.5em; font-size:1.184em; overflow: visible; /*IE paddings*/}

/* Utils */
div.forum-clear-float { clear: both; }

/* Moved topic list*/
div.forum-topic-move
{
	clear: both;
	float: none;
	position: relative;
	margin-top:0.5em;
	margin-bottom:0.5em;
	width:100%; /*IE*/
}

div.forum-topic-move input
{
	position: absolute;
	top: 0;
	left:0;
	font-size:1em;
	height:1.55em;
	margin:0 0 0 -0.25em;
	width:1.55em;
}

div.forum-topic-move label, div.forum-topic-move a { display: block; margin-left: 1.8em;}
div.forum-topic-move-buttons {margin-top: 1em;}
div.forum-topic-move-buttons select {width:200px;}
div.forum-topic-move-buttons select {font-size:1.184em;}
div.forum-topic-move-buttons input {font-size:1.184em; padding:0 0.417em; overflow: visible; /*IE paddings*/}

.forum-action-note { float: right; font-style: italic; padding: 0.5em 1.5em 0.5em 1em; }

div.forum-popup-image{}
div.forum-popup-image div.empty{
	background-image:url("/local/templates/leveno/components/bitrix/forum/new-template/images/close.gif");
	background-repeat:no-repeat;
	background-position:center;
	cursor:pointer;
	cursor:hand;
	width:14px;
	height:14px;
	margin:0px;}
/* autosave */
a.postFormAutosave {
	float: right;
	display:block;
	width:18px;
	height:18px;
	margin:0 -4px 0 0;
	position:relative;
	z-index:2;
}
a.postFormAutosave.bx-core-autosave {background-position: 0 0 !important;}
a.postFormAutosave.bx-core-autosave-ready {background: scroll transparent url("/local/templates/leveno/components/bitrix/forum/new-template/images/autosave/autosave-green.gif") no-repeat 0 0;}
a.postFormAutosave.bx-core-autosave-edited {background: scroll transparent url("/local/templates/leveno/components/bitrix/forum/new-template/images/autosave/autosave-red.gif") no-repeat 0 0;}
a.postFormAutosave.bx-core-autosave-saving {background: scroll transparent url("/local/templates/leveno/components/bitrix/forum/new-template/images/autosave/autosave-write.gif") no-repeat 0 0;}

.forum-notify-bar {
	width: 100%;
	height: 2em;
	background: url("/bitrix/js/main/core/images/panel/sprite04.png") repeat-x scroll 0 -1178px #FFEB8D !important;
	position:relative;
}
.forum-notify-close {
	display: block !important;
	height: 12px !important;
	margin: 3px 6px 0 0;
	padding: 0 !important;
	position: absolute !important;
	right: 5px !important;
	top: 5px !important;
	width: 12px !important;
}
.forum-notify-close a {
	background: url("/bitrix/js/main/core/images/panel/sprite04.png") no-repeat scroll -268px -243px transparent !important;
	display: block !important;
	height: 12px !important;
	width: 12px !important;
	cursor:pointer;
}
.forum-notify-text {
	color: #000000 !important;
	margin: 0 !important;
	padding: 3px 20px 5px !important;
	text-align: center !important;
}
.forum-notify-text a.postFormAutorestore {
	position:relative;
	color: #ff0000;
	cursor:pointer;
	text-decoration:underline;
	margin-right: 9px;
	margin-top: 5px;
	z-index:2;
}

table.forum-icons td{
	white-space: nowrap;
	padding: 0.4em;
}
table.forum-icons input {
	width: auto;
}
table.forum-icons .forum-icon-empty {
	border : 1px solid;
	border-radius: 8px;
	width : 16px;
	height: 16px;
}

@media (max-width: 768px) {

	/* Общие блоки форума */
	div.forum-info-box {
		padding: 12px 16px;
		margin-bottom: 12px;
		line-height: 1.5em;
	}

	/* Меню форума */
	div.forum-menu-box {
		margin-bottom: 12px;
		padding: 0 10px;
	}

	div.forum-menu-box span.forum-menu-item {
		margin-right: 5px;
		padding-right: 5px;
		line-height: 2em;
		white-space: normal;
	}

	/* Хлебные крошки */
	div.forum-breadcrumb-top,
	div.forum-breadcrumb-bottom {
		padding: 0 10px 12px;
	}

	div.forum-breadcrumb {
		line-height: 1.5em;
	}

	/* =========================================
	   ТАБЛИЦА ФОРУМА
	   ========================================= */

	table.forum-table {
		width: 100%;
		table-layout: auto;
	}

	/* Убираем ненужные на мобильном колонки */
	table.forum-table th.forum-column-topics,
	table.forum-table td.forum-column-topics,
	table.forum-table th.forum-column-replies,
	table.forum-table td.forum-column-replies,
	table.forum-table th.forum-column-views,
	table.forum-table td.forum-column-views {
		display: none;
	}

	/* Колонка с иконкой */
	table.forum-table td.forum-column-icon {
		width: 45px;
		min-width: 45px;
		padding: 0;
	}

	div.forum-icon-container {
		width: 45px;
	}

	/* Название форума */
	table.forum-table th.forum-column-title,
	table.forum-table td.forum-column-title {
		width: auto;
	}

	table.forum-table th.forum-column-title {
		padding: 10px 12px;
	}

	table.forum-table td.forum-column-title {
		padding: 0;
	}

	div.forum-item-info {
		padding: 10px 12px;
		word-break: break-word;
	}

	/* Последнее сообщение */
	table.forum-table th.forum-column-lastpost,
	table.forum-table td.forum-column-lastpost {
		width: 35%;
		min-width: 120px;
		padding: 0;
	}

	div.forum-lastpost-box {
		padding: 10px 12px;
		word-break: break-word;
	}

	span.forum-lastpost-date,
	span.forum-lastpost-title {
		white-space: normal;
		word-break: break-word;
	}

	/* =========================================
	   СТАТИСТИКА ФОРУМА
	   ========================================= */

	div.forum-statistics {
		width: 100%;
	}

	div.forum-statistics-allusers {
		clear: both;
		float: none;
		width: 100%;
		min-height: 0;
		margin-bottom: 10px;
		white-space: normal;
	}

	div.forum-statistics-users {
		clear: both;
		float: none;
		width: 100%;
		margin-bottom: 10px;
		white-space: normal;
	}

	div.forum-statistics-topics,
	div.forum-statistics-replies {
		text-align: left;
		white-space: normal;
		margin-bottom: 10px;
	}

	div.forum-statistics-users span,
	div.forum-statistics-allusers span,
	div.forum-statistics-topics span,
	div.forum-statistics-replies span {
		font-weight: bold;
	}

	/* =========================================
	   FOOTER ФОРУМА
	   ========================================= */

	div.forum-footer-box {
		padding: 12px 16px;
		margin-bottom: 12px;
	}

	div.forum-footer-inner {
		text-align: left;
	}

	span.forum-footer-option {
		display: inline-block;
		margin-left: 0;
		padding-left: 0;
		border-left: none;
		margin-right: 10px;
	}

	/* =========================================
	   HEADER
	   ========================================= */

	div.forum-header-box {
		padding: 0 12px;
	}

	div.forum-header-title {
		padding: 10px 0;
	}

	div.forum-header-options {
		float: none;
		padding: 5px 0;
	}

	/* =========================================
	   POST
	   ========================================= */

	div.forum-post-entry {
		padding: 10px 12px;
	}

	div.forum-post-date {
		padding: 8px 12px;
	}

	/* =========================================
	   NAVIGATION
	   ========================================= */

	div.forum-navigation-box {
		padding: 0 12px;
	}

	div.forum-page-navigation {
		float: none;
		padding: 10px 0;
	}

	div.forum-new-post {
		float: none;
		text-align: left;
		padding: 10px 0;
	}

	/* =========================================
	   ФОРМА ОТВЕТА
	   ========================================= */

	div.forum-reply-fields {
		padding: 0 12px 12px;
	}

	div.forum-reply-field-title input,
	div.forum-reply-field-desc input,
	div.forum-reply-field-tags input,
	div.forum-reply-field-lastedit-reason input {
		width: 100%;
		box-sizing: border-box;
	}

	div.forum-reply-field-author,
	div.forum-reply-field-email {
		float: none;
		width: 100%;
		margin-bottom: 10px;
	}

	div.forum-reply-field-user-sep {
		display: none;
	}

	/* =========================================
	   СПОЙЛЕРЫ / ЦИТАТЫ / КОД
	   ========================================= */

	table.forum-quote,
	table.forum-spoiler,
	table.forum-code {
		width: 100%;
		table-layout: fixed;
	}

	table.forum-quote td,
	table.forum-spoiler td,
	table.forum-code td {
		padding: 10px;
		word-break: break-word;
	}

	div.forum-code-box {
		max-width: 100%;
		overflow-x: auto;
	}

	/* =========================================
	   ВЛОЖЕНИЯ
	   ========================================= */

	div.forum-post-attachments {
		margin: 12px 0;
		padding: 10px 12px;
		overflow: hidden;
	}

}

.forum-topic-moderate {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;

    width: 100%;
    box-sizing: border-box;
}


/* Выпадающий список */
.forum-topic-moderate select {
    appearance: none;
    -webkit-appearance: none;

    min-width: 190px;
    min-height: 40px;

    padding: 8px 38px 8px 12px;

    border: 1px solid #d9cdec;
    border-radius: 8px;

    background:
        linear-gradient(45deg, transparent 50%, #7549e8 50%)
            calc(100% - 16px) 17px / 5px 5px no-repeat,
        linear-gradient(135deg, #7549e8 50%, transparent 50%)
            calc(100% - 11px) 17px / 5px 5px no-repeat,
        #fff;

    color: #2d2436;

    font: inherit;
    font-size: 14px;

    cursor: pointer;
    box-sizing: border-box;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.forum-topic-moderate select:hover {
    border-color: #a78be8;
}


.forum-topic-moderate select:focus {
    outline: none;

    border-color: #7048ed;

    box-shadow: 0 0 0 3px rgba(112, 72, 237, .12);
}


/* Кнопка OK */
.forum-topic-moderate input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;

    min-width: 58px;
    min-height: 40px;

    padding: 8px 15px;

    border: 0 !important;
    border-radius: 8px;

    background: linear-gradient(
        100deg,
        #5948f4 0%,
        #8743df 50%,
        #ed32b4 100%
    );

    color: #fff !important;

    font: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(105, 65, 225, .18);

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        opacity .15s ease;
}


.forum-topic-moderate input[type="submit"]:hover {
    transform: translateY(-1px);

    box-shadow: 0 6px 14px rgba(105, 65, 225, .25);
}


.forum-topic-moderate input[type="submit"]:active {
    transform: translateY(0);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 768px) {

    .forum-topic-moderate {
        justify-content: stretch;

        gap: 7px;

        padding: 4px 0;
    }

    .forum-topic-moderate select {
        flex: 1;

        width: 100%;
        min-width: 0;
        min-height: 44px;

        font-size: 16px;
    }

    .forum-topic-moderate input[type="submit"] {
        flex: 0 0 auto;

        min-width: 60px;
        min-height: 44px;
    }
}


/* Совсем узкие телефоны */
@media screen and (max-width: 400px) {

    .forum-topic-moderate {
        flex-wrap: wrap;
    }

    .forum-topic-moderate select {
        flex: 1 1 100%;
    }

    .forum-topic-moderate input[type="submit"] {
        width: 100%;
    }
}

/* =========================================================
   LEVENÓ FORUM — УПРАВЛЕНИЕ СООБЩЕНИЯМИ / ТЕМОЙ
   ========================================================= */

/*
 * Footer сообщения.
 * Убираем старые float, иначе блоки сталкиваются друг с другом.
 */
.forum-post-table .forum-column-footer .forum-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;

    gap: 10px 12px;

    width: 100%;

    text-align: left;

    box-sizing: border-box;
}


/* Все административные блоки */
.forum-post-table .forum-post-moderate,
.forum-post-table .forum-topic-moderate {
    float: none !important;

    display: flex;
    align-items: center;

    gap: 7px;

    width: auto;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   "ВЫДЕЛИТЬ ВСЕ"
   ========================================================= */

.forum-post-table
.forum-footer-selectall {
    display: inline-block;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}

.forum-post-table
.forum-footer-selectall a {
    display: inline-flex;
    align-items: center;

    min-height: 38px;

    padding: 6px 12px;

    border: 1px solid #d9cdec;
    border-radius: 8px;

    background: #fff;

    color: #5948f4;

    text-decoration: none;

    box-sizing: border-box;
}

.forum-post-table
.forum-footer-selectall a:hover {
    border-color: #bda9e5;

    background: #f7f2ff;

    color: #db35b8;
}


/* =========================================================
   SELECT — ОБЩИЙ СТИЛЬ
   ========================================================= */

.forum-post-table .forum-post-moderate select,
.forum-post-table .forum-topic-moderate select {
    appearance: none;
    -webkit-appearance: none;

    width: auto;
    min-width: 205px;
    max-width: 100%;

    min-height: 40px;

    padding: 8px 38px 8px 12px;

    border: 1px solid #d9cdec;
    border-radius: 8px;

    background:
        linear-gradient(
            45deg,
            transparent 50%,
            #7549e8 50%
        ) calc(100% - 16px) 17px / 5px 5px no-repeat,

        linear-gradient(
            135deg,
            #7549e8 50%,
            transparent 50%
        ) calc(100% - 11px) 17px / 5px 5px no-repeat,

        #fff;

    color: #30273a;

    font: inherit;
    font-size: 14px;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.forum-post-table .forum-post-moderate select:hover,
.forum-post-table .forum-topic-moderate select:hover {
    border-color: #ad92e5;
}


.forum-post-table .forum-post-moderate select:focus,
.forum-post-table .forum-topic-moderate select:focus {
    outline: none;

    border-color: #7048ed;

    box-shadow:
        0 0 0 3px rgba(112, 72, 237, .11);
}


/* =========================================================
   КНОПКИ OK
   ========================================================= */

.forum-post-table
.forum-post-moderate input[type="submit"],
.forum-post-table
.forum-topic-moderate input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;

    min-width: 55px;
    min-height: 40px;

    padding: 8px 14px;

    border: 0 !important;
    border-radius: 8px;

    background: linear-gradient(
        100deg,
        #5948f4 0%,
        #8743df 50%,
        #ed32b4 100%
    );

    color: #fff !important;

    font: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 4px 10px rgba(105, 65, 225, .17);

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        opacity .15s ease;
}


.forum-post-table
.forum-post-moderate input[type="submit"]:hover,
.forum-post-table
.forum-topic-moderate input[type="submit"]:hover {
    transform: translateY(-1px);

    box-shadow:
        0 6px 14px rgba(105, 65, 225, .24);
}


/* =========================================================
   ДВЕ ГРУППЫ УПРАВЛЕНИЯ
   ========================================================= */

/*
 * Блок управления сообщениями.
 */
.forum-post-table
.forum-post-moderate:has(select[name="ACTION_MESSAGE"]) {
    order: 1;
}


/*
 * Выделить все располагаем рядом с управлением сообщениями.
 */
.forum-post-table
.forum-post-moderate:has(.forum-footer-selectall) {
    order: 2;
}


/*
 * Управление темой переносим на отдельную строку.
 */
.forum-post-table .forum-topic-moderate {
    order: 3;

    flex-basis: 100%;

    justify-content: flex-end;
}


/* Footer становится немного просторнее */
.forum-post-table td.forum-column-footer {
    padding: 12px 14px;
}


/* =========================================================
   MOBILE <= 768px
   ========================================================= */

@media screen and (max-width: 768px) {

    .forum-post-table
    .forum-column-footer
    .forum-footer-inner {
        display: grid;

        grid-template-columns: 1fr auto;

        gap: 9px;

        width: 100%;
    }


    /*
     * Управление сообщениями:
     * select занимает всё свободное место + OK.
     */
    .forum-post-table
    .forum-post-moderate:has(select[name="ACTION_MESSAGE"]) {
        display: grid;

        grid-template-columns: minmax(0, 1fr) auto;

        grid-column: 1 / -1;

        width: 100%;

        gap: 7px;
    }


    /*
     * "Выделить все" отдельной компактной строкой.
     */
    .forum-post-table
    .forum-post-moderate:has(.forum-footer-selectall) {
        grid-column: 1 / -1;

        justify-content: flex-end;

        width: 100%;
    }


    /*
     * Управление темой.
     */
    .forum-post-table .forum-topic-moderate {
        display: grid;

        grid-template-columns: minmax(0, 1fr) auto;

        grid-column: 1 / -1;

        width: 100%;

        gap: 7px;
    }


    /* Select растягиваем */
    .forum-post-table .forum-post-moderate select,
    .forum-post-table .forum-topic-moderate select {
        width: 100%;
        min-width: 0;

        min-height: 44px;

        font-size: 16px;
    }


    /* OK одинакового размера */
    .forum-post-table
    .forum-post-moderate input[type="submit"],
    .forum-post-table
    .forum-topic-moderate input[type="submit"] {
        min-width: 58px;
        min-height: 44px;
    }


    .forum-post-table td.forum-column-footer {
        padding: 12px;
    }
}


/* =========================================================
   MOBILE <= 420px
   ========================================================= */

@media screen and (max-width: 420px) {

    /*
     * На совсем узком телефоне:
     * select сверху, OK снизу на всю ширину.
     */

    .forum-post-table
    .forum-post-moderate:has(select[name="ACTION_MESSAGE"]),
    .forum-post-table
    .forum-topic-moderate {
        grid-template-columns: 1fr;
    }


    .forum-post-table
    .forum-post-moderate input[type="submit"],
    .forum-post-table
    .forum-topic-moderate input[type="submit"] {
        width: 100%;
    }


    .forum-post-table
    .forum-footer-selectall a {
        min-height: 36px;

        padding: 5px 10px;
    }
}

.forum-post-table td.forum-column-footer {
    padding: 12px 14px !important;
}


/* Главный контейнер */
.forum-post-table
.forum-column-footer
.forum-footer-inner {

    display: grid !important;

    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "selectall selectall"
        "messages topic";

    align-items: center;

    column-gap: 20px;
    row-gap: 10px;

    width: 100%;

    text-align: left !important;

    box-sizing: border-box;
}


/* =========================================================
   УБИРАЕМ СТАРЫЕ FLOAT
   ========================================================= */

.forum-post-table .forum-post-moderate,
.forum-post-table .forum-topic-moderate {

    float: none !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box;
}


/* =========================================================
   "ВЫДЕЛИТЬ ВСЕ"
   Верхняя строка справа
   ========================================================= */

.forum-post-table
.forum-post-moderate:has(.forum-footer-selectall) {

    grid-area: selectall;

    display: flex !important;

    justify-content: flex-end;
    align-items: center;

    width: 100% !important;
}


/* Убираем старые separator-отступы */
.forum-post-table .forum-footer-selectall {

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}


.forum-post-table .forum-footer-selectall a {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 5px 10px;

    border: 1px solid #d9cdec;
    border-radius: 7px;

    background: #fff;

    color: #5948f4;

    text-decoration: none;

    box-sizing: border-box;
}


.forum-post-table .forum-footer-selectall a:hover {

    background: #f7f2ff;

    border-color: #bfa9e5;

    color: #df32b7;
}


/* =========================================================
   ЛЕВЫЙ УГОЛ
   УПРАВЛЕНИЕ СООБЩЕНИЯМИ
   ========================================================= */

.forum-post-table
.forum-post-moderate:has(select[name="ACTION_MESSAGE"]) {

    grid-area: messages;

    display: flex !important;

    align-items: center;
    justify-content: flex-start;

    gap: 7px;

    justify-self: start;
}


/* =========================================================
   ПРАВЫЙ УГОЛ
   УПРАВЛЕНИЕ ТЕМОЙ
   ========================================================= */

.forum-post-table .forum-topic-moderate {

    grid-area: topic;

    display: flex !important;

    align-items: center;
    justify-content: flex-end;

    gap: 7px;

    justify-self: end;

    flex-basis: auto !important;
}


/* =========================================================
   SELECT
   ========================================================= */

.forum-post-table
.forum-post-moderate select[name="ACTION_MESSAGE"],

.forum-post-table
.forum-topic-moderate select[name="ACTION_TOPIC"] {

    appearance: none;
    -webkit-appearance: none;

    width: 215px !important;
    min-width: 0 !important;

    height: 40px;
    min-height: 40px;

    padding: 7px 36px 7px 12px;

    border: 1px solid #d9cdec;
    border-radius: 8px;

    background:
        linear-gradient(
            45deg,
            transparent 50%,
            #7549e8 50%
        )
        calc(100% - 16px) 17px / 5px 5px no-repeat,

        linear-gradient(
            135deg,
            #7549e8 50%,
            transparent 50%
        )
        calc(100% - 11px) 17px / 5px 5px no-repeat,

        #fff;

    color: #30273a;

    font: inherit;
    font-size: 14px;

    cursor: pointer;

    box-sizing: border-box;
}


.forum-post-table
.forum-post-moderate select:focus,

.forum-post-table
.forum-topic-moderate select:focus {

    outline: none;

    border-color: #7048ed;

    box-shadow:
        0 0 0 3px rgba(112, 72, 237, .11);
}


/* =========================================================
   OK
   ========================================================= */

.forum-post-table
.forum-post-moderate input[type="submit"],

.forum-post-table
.forum-topic-moderate input[type="submit"] {

    appearance: none;
    -webkit-appearance: none;

    width: 56px;
    min-width: 56px;

    height: 40px;
    min-height: 40px;

    padding: 6px 10px;

    border: 0 !important;
    border-radius: 8px;

    background: linear-gradient(
        100deg,
        #5948f4 0%,
        #8743df 50%,
        #ed32b4 100%
    );

    color: #fff !important;

    font: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 4px 10px rgba(105, 65, 225, .18);
}


/* =========================================================
   MOBILE
   На телефоне две группы идут вертикально
   ========================================================= */

@media screen and (max-width: 768px) {

    .forum-post-table
    .forum-column-footer
    .forum-footer-inner {

        grid-template-columns: 1fr;

        grid-template-areas:
            "selectall"
            "messages"
            "topic";

        gap: 9px;
    }


    /* Выделить все */
    .forum-post-table
    .forum-post-moderate:has(.forum-footer-selectall) {

        justify-content: flex-end;
    }


    /* Обе группы на всю ширину */
    .forum-post-table
    .forum-post-moderate:has(select[name="ACTION_MESSAGE"]),

    .forum-post-table
    .forum-topic-moderate {

        display: grid !important;

        grid-template-columns: minmax(0, 1fr) 58px;

        width: 100% !important;

        justify-self: stretch;

        gap: 7px;
    }


    .forum-post-table
    .forum-post-moderate select[name="ACTION_MESSAGE"],

    .forum-post-table
    .forum-topic-moderate select[name="ACTION_TOPIC"] {

        width: 100% !important;

        min-width: 0 !important;

        height: 44px;

        font-size: 16px;
    }


    .forum-post-table
    .forum-post-moderate input[type="submit"],

    .forum-post-table
    .forum-topic-moderate input[type="submit"] {

        width: 58px;

        height: 44px;
    }
}


/* Совсем маленькие телефоны */
@media screen and (max-width: 400px) {

    .forum-post-table
    .forum-post-moderate:has(select[name="ACTION_MESSAGE"]),

    .forum-post-table
    .forum-topic-moderate {

        grid-template-columns: 1fr;
    }


    .forum-post-table
    .forum-post-moderate input[type="submit"],

    .forum-post-table
    .forum-topic-moderate input[type="submit"] {

        width: 100%;
    }
}

/* Блок полей создания темы */
.forum-reply-fields {
    width: 100%;
    max-width: 900px;
    margin: 25px auto;
    padding: 25px 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    box-sizing: border-box;
}


/* Каждое поле */
.forum-reply-field {
    margin-bottom: 22px;
    position: relative;
}


/* Названия полей */
.forum-reply-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.3px;
}


/* Звездочка обязательного поля */
.forum-required-field {
    color: #ff3b3b;
    margin-left: 5px;
}


/* Поля ввода */
.forum-reply-field input[type="text"] {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    font-size: 15px;
    color: #333;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: all .25s ease;
    box-sizing: border-box;
}


/* Эффект при наведении */
.forum-reply-field input[type="text"]:hover {
    border-color: #b9b9b9;
    background: #fff;
}


/* Фокус */
.forum-reply-field input[type="text"]:focus {
    background: #fff;
    border-color: #4a8cff;
    box-shadow: 
        0 0 0 4px rgba(74,140,255,.15);
}


/* Поле тегов */
.search-tags {
    background: #fafafa;
}


/* Кнопка добавить теги */
.forum-reply-field-switcher {
    margin-top: -10px;
}


.forum-reply-field-switcher a {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: linear-gradient(135deg,#4a8cff,#6c5ce7);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: .25s ease;
}


/* Наведение кнопки */
.forum-reply-field-switcher a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74,140,255,.35);
}


/* Убираем лишние пробелы Bitrix */
.forum-clear-float {
    clear: both;
}


/* Адаптив */
@media(max-width:768px){

    .forum-reply-fields {
        padding:20px 15px;
        border-radius:12px;
    }


    .forum-reply-field input[type="text"] {
        height:42px;
    }

}
/* End */


/* Start:/local/templates/leveno/components/bitrix/forum/new-template/themes/fluxbb/style.css?178706798742578*/
/*----------------------------------------------------Table Cells And Backgrounds------------------------------------------------ */

/* Table Header, Reply Form Header, BBCode Icons Highlighting */
table.forum-table th, div.forum-reply-header,
div.forum-bbcode-line a:hover, div.forum-bbcode-line a:hover img { background-color: #dfe6ed; }

/* Table Cell Border, Forum and Topic Checkbox */
table.forum-table td, div.forum-select-box { border-color: #dde4eb; }

table.forum-table th.forum-column-lastpost, 
table.forum-table th.forum-column-title, 
table.forum-table th.forum-first-column,
table.forum-table th.forum-last-column { border-left:none; border-right:none;}

/* Table Cell, Info Box, Reply Form */
table.forum-table td, div.forum-info-box, div.forum-reply-form { background:#fbfbfb; }
div.forum-reply-form table.bxlhe-frame-table td.bxlhe-editor-buttons { background-color:#fbfbfb!important; }
div.forum-reply-field td.bxlhe-editor-cell, div.forum-reply-field .feed-add-post-form-but-wrap {border-color: #ced0d1;}

/* Hidden Table Cell and Row */
table.forum-table tr.forum-row-hidden td, 
table.forum-table td.forum-cell-hidden,
table.forum-table tr.forum-row-inactive td.forum-column-icon,
table.forum-post-hidden td.forum-cell-post, 
table.forum-post-hidden td.forum-cell-actions { background: #ecfaea !important; }

/* Selected (via checkbox) Table Cell and Row */
table.forum-table tr.forum-row-selected td, 
table.forum-table td.forum-cell-selected, 
table.forum-post-selected td.forum-cell-post, 
table.forum-post-selected td.forum-cell-actions { background: #f2f4fa !important; }

/* Table Footer and Alone Footer Box */
table.forum-table td.forum-column-footer, table.forum-post-table td.forum-column-footer, div.forum-footer-box { background: #dde4eb; }

/* Post Table: User Info and User Contacts Cells*/
table.forum-post-table td.forum-cell-user, table.forum-post-table td.forum-cell-contact { background: #edf1f5; }

/* Post Table: Post and Actions Cell */
table.forum-post-table td.forum-cell-post, table.forum-post-table td.forum-cell-actions { background: #f9f9f9; }

div.forum-post-date { background: #e9ebee; border-bottom-color: #dde4eb; }


/* ---------------------------------------------------Borders----------------------------------------------------- */

/* Menu Items, Page Navigation */
span.forum-menu-item, div.forum-page-navigation a, span.forum-page-current, div.forum-page-navigation a.forum-page-previous, span.forum-page-dots { border-color: #dedfdf; }

/* First Row Cell */
table.forum-table tr.forum-row-first td { border-top-color: #cbd1d8;}

/* Last Row Cell */
table.forum-table tr.forum-row-last td { border-bottom-color: #cbd1d8; }

/* Table Footer and Alone Footer Box */
table.forum-table td.forum-column-footer, table.forum-post-table td.forum-column-footer, div.forum-footer-box { border-color: #cbd1d8; }

/* Footer Item Separator */
span.forum-footer-option { border-color: #abafb6; }

/* Topic posts table (separator line) */
table.forum-post-table { border-top-color: #fff; border-bottom-color: #ccc; }

/* Post Table: User Info and User Contacts Cells*/
table.forum-post-table td.forum-cell-user, table.forum-post-table td.forum-cell-contact { border-left-color: #dfe6ed; border-right-color: #dde4eb; }

/* Post Table: Post and Actions Cell */
table.forum-post-table td.forum-cell-post, table.forum-post-table td.forum-cell-actions { border-right-color: #dfe6ed; }

/* Post Table: User Contacts and Actions Cell */
table.forum-post-table td.forum-cell-contact, table.forum-post-table td.forum-cell-actions { border-top-color: #dde4eb; }

/* User Signature*/
div.forum-signature-line { border-top-color: #dde4eb; }

/* ---------------------------------------------------Text Color-------------------------------------------------- */

/* Header Box Right Links*/
div.forum-header-box a:link, 
div.forum-header-box a:visited, 
div.forum-header-box a:active, 
div.forum-header-box a:hover { color: #fff; }

.forum-required-field { color: red; }

/* --------------------------------------------------Special Elements---------------------------------------------- */

div.forum-info-box, div.forum-reply-form {border-color:#dfe6ed #dfe6ed #cbd1d8;}

div.forum-header-box { color: #dddddd; background:#294f6e; border-color: #1f537b;}

div.forum-note-box {border-color: #E6D190; background: #FEFFE6; }

/* Page navigation */
div.forum-navigation-box { background:#ffffff; border-color: #dde4eb; }

/*BBCode: Quote and Code*/
table.forum-quote, table.forum-spoiler, table.forum-code, div.forum-code-box, div.forum-post-attachments {  border-color: #ddd; }
table.forum-quote td, table.forum-spoiler td, table.forum-code td, div.forum-code-box ol, div.forum-post-attachments {background:#fff !important; color:#696969;}
table.forum-quote th, table.forum-spoiler th, table.forum-code th, div.forum-code-box {background:#e9ebee !important; color: #606264;}


/* --------------------------------------------------Icons---------------------------------------------- */
div.forum-icon
{
	border-style:solid;
	border-width:0.5833em;
	height:0;
	width:0;
	margin:0.667em auto;
}

div.forum-icon-default { border-color: #edf1f5 #dde0e4 #c6cbd3 #babfc6;}
div.forum-icon-newposts { border-color:#2b75ad #235e8c #1f537b #266799; }
div.forum-icon-sticky { border-color: #d7e5f3 #c3cfdc #9fb3c7 #90a2b4; }
div.forum-icon-sticky-newposts { border-color: #d7e5f3 #c3cfdc #9fb3c7 #90a2b4; }
div.forum-icon-closed, div.forum-icon-sticky-closed { border-color: #acacac #979797 #898989 #7a7a7a; }
div.forum-icon-closed-newposts, div.forum-icon-sticky-closed-newposts { border-color: #acacac #979797 #898989 #7a7a7a; }
div.forum-icon-moved { border-color:#edf1f5 #dde0e4 #c6cbd3 #babfc6; }

/* --------------------------------------------------Votes---------------------------------------------- */
div.vote-answer-item-bar-inner {background-color:#dde4eb;}


table.forum-table th,
div.forum-reply-header,
div.forum-bbcode-line a:hover,
div.forum-bbcode-line a:hover img {
    background: #f3efff;
}


/* Границы таблицы */
table.forum-table td,
div.forum-select-box {
    border-color: #e7e0f5;
}


table.forum-table th.forum-column-lastpost,
table.forum-table th.forum-column-title,
table.forum-table th.forum-first-column,
table.forum-table th.forum-last-column {
    border-left: none;
    border-right: none;
}


/* Основной фон */
table.forum-table td,
div.forum-info-box,
div.forum-reply-form {
    background: #ffffff;
}


div.forum-reply-form table.bxlhe-frame-table td.bxlhe-editor-buttons {
    background-color: #ffffff !important;
}


div.forum-reply-field td.bxlhe-editor-cell,
div.forum-reply-field .feed-add-post-form-but-wrap {
    border-color: #e5ddf3;
}


/* Скрытая строка */
table.forum-table tr.forum-row-hidden td,
table.forum-table td.forum-cell-hidden,
table.forum-table tr.forum-row-inactive td.forum-column-icon,
table.forum-post-hidden td.forum-cell-post,
table.forum-post-hidden td.forum-cell-actions {
    background: #faf8ff !important;
}


/* Выбранная строка */
table.forum-table tr.forum-row-selected td,
table.forum-table td.forum-cell-selected,
table.forum-post-selected td.forum-cell-post,
table.forum-post-selected td.forum-cell-actions {
    background: #f5efff !important;
}


/* Footer таблицы */
table.forum-table td.forum-column-footer,
table.forum-post-table td.forum-column-footer,
div.forum-footer-box {
    background: #f0eaff;
}


/* Информация о пользователе */
table.forum-post-table td.forum-cell-user,
table.forum-post-table td.forum-cell-contact {
    background: #f8f5ff;
}


/* Сообщение */
table.forum-post-table td.forum-cell-post,
table.forum-post-table td.forum-cell-actions {
    background: #ffffff;
}


div.forum-post-date {
    background: #f3efff;
    border-bottom-color: #e6ddf4;
}



/* ---------------------------------------------------------
   BORDERS
   --------------------------------------------------------- */

span.forum-menu-item,
div.forum-page-navigation a,
span.forum-page-current,
div.forum-page-navigation a.forum-page-previous,
span.forum-page-dots {
    border-color: #e5ddf2;
}


table.forum-table tr.forum-row-first td {
    border-top-color: #ded4ed;
}


table.forum-table tr.forum-row-last td {
    border-bottom-color: #ded4ed;
}


table.forum-table td.forum-column-footer,
table.forum-post-table td.forum-column-footer,
div.forum-footer-box {
    border-color: #ded4ed;
}


span.forum-footer-option {
    border-color: #cbbddd;
}


table.forum-post-table {
    border-top-color: #ffffff;
    border-bottom-color: #ded4ed;
}


table.forum-post-table td.forum-cell-user,
table.forum-post-table td.forum-cell-contact {
    border-left-color: #e7dff2;
    border-right-color: #e7dff2;
}


table.forum-post-table td.forum-cell-post,
table.forum-post-table td.forum-cell-actions {
    border-right-color: #e7dff2;
}


table.forum-post-table td.forum-cell-contact,
table.forum-post-table td.forum-cell-actions {
    border-top-color: #e7dff2;
}


div.forum-signature-line {
    border-top-color: #e7dff2;
}



/* ---------------------------------------------------------
   TEXT / LINKS
   --------------------------------------------------------- */

div.forum-header-box a:link,
div.forum-header-box a:visited,
div.forum-header-box a:active,
div.forum-header-box a:hover {
    color: #ffffff;
}


.forum-required-field {
    color: #ff2ca8;
}


/* Ссылки форума оставляем привычными,
   но делаем ближе к цветам Levenó */

.section .forum-table a,
.section .forum-info-box a,
.section .forum-menu-box a {
    color: #563cff;
}

.section .forum-table a:hover,
.section .forum-info-box a:hover,
.section .forum-menu-box a:hover {
    color: #e82db5;
}



/* ---------------------------------------------------------
   SPECIAL ELEMENTS
   --------------------------------------------------------- */

div.forum-info-box,
div.forum-reply-form {
    border-color: #e7dff2 #e7dff2 #dcd1eb;
}


/* Главная синяя полоса "Форумы" */
div.forum-header-box {
    color: #ffffff;

    background: linear-gradient(
        100deg,
        #5148f4 0%,
        #8146df 45%,
        #e636ba 100%
    );

    border-color: transparent;
}


/* Заголовок внутри */
div.forum-header-title {
    color: #ffffff;
}


/* Предупреждения */
div.forum-note-box {
    border-color: #ead7aa;
    background: #fffbed;
}


/* Навигация */
div.forum-navigation-box {
    background: #ffffff;
    border-color: #e7dff2;
}



/* ---------------------------------------------------------
   QUOTE / CODE
   --------------------------------------------------------- */

table.forum-quote,
table.forum-spoiler,
table.forum-code,
div.forum-code-box,
div.forum-post-attachments {
    border-color: #e2d8ef;
}


table.forum-quote td,
table.forum-spoiler td,
table.forum-code td,
div.forum-code-box ol,
div.forum-post-attachments {
    background: #ffffff !important;
    color: #4e4658;
}


table.forum-quote th,
table.forum-spoiler th,
table.forum-code th,
div.forum-code-box {
    background: #f3efff !important;
    color: #51475e;
}



/* ---------------------------------------------------------
   ICONS
   --------------------------------------------------------- */

div.forum-icon {
    border-style: solid;
    border-width: 0.5833em;

    height: 0;
    width: 0;

    margin: 0.667em auto;
}


/* Нет новых сообщений */
div.forum-icon-default {
    border-color:
        #f4f0fa
        #e6dff1
        #d8cde8
        #cabddd;
}


/* Есть новые сообщения */
div.forum-icon-newposts {
    border-color:
        #f03abf
        #d832c4
        #843ee5
        #5948f4;
}


/* Закреплённая тема */
div.forum-icon-sticky,
div.forum-icon-sticky-newposts {
    border-color:
        #e8deff
        #d8c8fa
        #b99cea
        #9675dc;
}


/* Закрытая тема */
div.forum-icon-closed,
div.forum-icon-sticky-closed,
div.forum-icon-closed-newposts,
div.forum-icon-sticky-closed-newposts {
    border-color:
        #ded9e5
        #c9c1d2
        #aea4ba
        #94899f;
}


div.forum-icon-moved {
    border-color:
        #f4f0fa
        #e6dff1
        #d8cde8
        #cabddd;
}



/* ---------------------------------------------------------
   VOTES
   --------------------------------------------------------- */

div.vote-answer-item-bar-inner {
    background: linear-gradient(
        90deg,
        #5948f4,
        #e636ba
    );
}
/* =========================================================
   LEVENÓ FORUM — MOBILE + PURPLE/PINK STYLE
   Добавить В САМЫЙ КОНЕЦ additional.css
   ========================================================= */


/* =========================================================
   ОБЩИЙ СТИЛЬ ФОРУМА
   ========================================================= */

/* Основные ссылки */
.section .forum-menu-box a,
.section .forum-breadcrumb a,
.section .forum-table a,
.section .forum-info-box a {
    color: #5948f4;
}

.section .forum-menu-box a:hover,
.section .forum-breadcrumb a:hover,
.section .forum-table a:hover,
.section .forum-info-box a:hover {
    color: #e832b6;
}


/* Информационные блоки */
.section .forum-info-box {
    background: #fff;
    border-color: #e7dff5;
}


/* Верхняя цветная полоска форума */
.section .forum-header-box {
    color: #fff;

    background: linear-gradient(
        100deg,
        #5148f4 0%,
        #8644df 48%,
        #ed32b4 100%
    );

    border-color: transparent;
}

.section .forum-header-title,
.section .forum-header-title span {
    color: #fff;
}


/* Заголовки таблиц */
.section table.forum-table th {
    background: #f2edff;
    color: #211b2c;
}


/* Основные ячейки */
.section table.forum-table td {
    background: #fff;
    border-color: #e8e0f3;
}


/* Footer таблицы */
.section table.forum-table td.forum-column-footer {
    background: #f0eaff;
    border-color: #dfd4ee;
}


/* =========================================================
   ФИЛЬТР
   ========================================================= */

.section .forum-filter {
    background: #fff;
    border-color: #e4daf2;
}

.section .forum-filter select,
.section .forum-filter input[type="text"] {
    border: 1px solid #d9cdec;
    background: #fff;
    color: #211b2c;

    min-height: 34px;
    padding: 5px 8px;

    border-radius: 6px;
    box-sizing: border-box;
}

.section .forum-filter select:focus,
.section .forum-filter input[type="text"]:focus {
    outline: none;
    border-color: #7350ec;

    box-shadow: 0 0 0 2px rgba(115, 80, 236, 0.12);
}


/* Кнопки Показать / Сбросить */
.section .forum-filter input[type="submit"] {
    min-height: 34px;

    padding: 6px 14px;

    border: 0;
    border-radius: 7px;

    background: linear-gradient(
        100deg,
        #5948f4,
        #d936bc
    );

    color: #fff;
    cursor: pointer;
}

.section .forum-filter input[type="submit"]:hover {
    opacity: 0.9;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media screen and (max-width: 768px) {

    /* -----------------------------------------------------
       Защита от горизонтального выхода
       ----------------------------------------------------- */

    .section,
    .section .forum-info-box,
    .section .forum-header-box,
    .section .forum-block-container,
    .section .forum-block-outer,
    .section .forum-block-inner {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }


    /* -----------------------------------------------------
       МЕНЮ
       ----------------------------------------------------- */

    .section .forum-menu-box {
        padding: 10px 12px;
    }

    .section .forum-menu-box .forum-info-box-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;

        gap: 7px 10px;
    }

    .section .forum-menu-box span.forum-menu-item {
        display: inline-block;

        margin: 0;
        padding: 0 10px 0 0;

        line-height: 1.5;
        white-space: nowrap;
    }


    /* -----------------------------------------------------
       ХЛЕБНЫЕ КРОШКИ
       ----------------------------------------------------- */

    .section .forum-breadcrumb {
        max-width: 100%;
        white-space: normal;
    }

    .section .forum-breadcrumb span {
        white-space: normal;
    }

    .section .forum-breadcrumb-top {
        padding-left: 0;
        padding-right: 0;
    }


    /* -----------------------------------------------------
       ФИЛЬТР "НОВЫЕ ТЕМЫ"
       ----------------------------------------------------- */

    .section .forum-filter {
        padding: 12px;
    }

    .section .forum-filter-field {
        margin-bottom: 12px;
    }

    .section .forum-filter-field-title {
        display: block;

        margin: 0 0 5px;

        font-weight: 500;
    }

    .section .forum-filter-field-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;

        width: 100%;
        max-width: 100%;

        gap: 6px;
    }

    .section .forum-filter select {
        width: 100%;
        max-width: 100%;
    }


    /* Два поля даты */
    .section .forum-filter input[name="find_date1"],
    .section .forum-filter input[name="find_date2"] {
        width: calc(50% - 27px);
        min-width: 105px;
    }

    .section .forum-filter img.calendar-icon {
        flex: 0 0 auto;

        width: auto;
        max-width: 18px;
        height: auto;

        margin: 0 2px;
    }

    .section .forum-filter .date-interval-hellip {
        flex: 0 0 auto;

        padding: 0 2px;
    }


    /* Кнопки фильтра */
    .section .forum-filter-footer {
        display: flex;
        flex-wrap: wrap;

        gap: 8px;

        margin-top: 4px;
    }

    .section .forum-filter-footer span {
        margin: 0;
    }


    /* -----------------------------------------------------
       ЦВЕТНАЯ ШАПКА
       ----------------------------------------------------- */

    .section .forum-header-box {
        padding: 0 14px;

        border-radius: 8px 8px 0 0;
    }

    .section .forum-header-title {
        padding: 10px 0;
    }


    /* =====================================================
       СПИСОК ТЕМ

       На ПК остаётся обычной таблицей.
       На телефоне строки превращаются в компактные блоки.
       ===================================================== */

    .section table.forum-topic-list {
        display: block;

        width: 100%;
        max-width: 100%;

        border-collapse: collapse;
    }

    .section table.forum-topic-list thead {
        display: none;
    }

    .section table.forum-topic-list tbody {
        display: block;
        width: 100%;
    }

    .section table.forum-topic-list tbody tr {
        display: grid;

        grid-template-columns: 42px 1fr 1fr;
        grid-template-areas:
            "icon title title"
            "replies views lastpost";

        width: 100%;

        border-bottom: 1px solid #e5dcf1;

        background: #fff;

        box-sizing: border-box;
    }


    /* Иконка */
    .section table.forum-topic-list tbody td.forum-column-icon:not([colspan]) {
        grid-area: icon;

        display: flex;

        width: auto !important;
        min-width: 0 !important;

        align-items: flex-start;
        justify-content: center;

        padding: 8px 4px !important;

        border: 0;
    }

    .section table.forum-topic-list
    tbody td.forum-column-icon:not([colspan])
    .forum-icon-container {
        width: 32px;
    }


    /* Название темы */
    .section table.forum-topic-list tbody td.forum-column-title {
        grid-area: title;

        display: block;

        width: auto !important;
        min-width: 0 !important;

        padding: 9px 10px !important;

        border: 0;
    }

    .section table.forum-topic-list .forum-item-info,
    .section table.forum-topic-list .forum-item-name,
    .section table.forum-topic-list .forum-item-title {
        max-width: 100%;
    }

    .section table.forum-topic-list .forum-item-title a {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }


    /* Ответы */
    .section table.forum-topic-list tbody td.forum-column-replies {
        grid-area: replies;

        display: block !important;

        width: auto !important;

        padding: 8px 6px !important;

        text-align: left;

        background: #faf8ff;
        border: 0;
    }

    .section table.forum-topic-list
    tbody td.forum-column-replies::before {
        content: "Ответы: ";

        color: #716879;
        font-size: 0.9em;
    }


    /* Просмотры */
    .section table.forum-topic-list tbody td.forum-column-views {
        grid-area: views;

        display: block !important;

        width: auto !important;

        padding: 8px 6px !important;

        text-align: left;

        background: #faf8ff;
        border: 0;
    }

    .section table.forum-topic-list
    tbody td.forum-column-views::before {
        content: "Просмотры: ";

        color: #716879;
        font-size: 0.9em;
    }


    /* Последнее обновление */
    .section table.forum-topic-list tbody td.forum-column-lastpost {
        grid-area: lastpost;

        display: block;

        width: auto !important;
        min-width: 0 !important;

        padding: 8px 6px !important;

        background: #faf8ff;
        border: 0;
    }

    .section table.forum-topic-list
    tbody td.forum-column-lastpost::before {
        content: "Обновление";

        display: block;

        margin-bottom: 3px;

        color: #716879;
        font-size: 0.9em;
    }

    .section table.forum-topic-list .forum-lastpost-box {
        padding: 0;
    }

    .section table.forum-topic-list .forum-lastpost-title,
    .section table.forum-topic-list .forum-lastpost-date,
    .section table.forum-topic-list .forum-lastpost-author,
    .section table.forum-topic-list .forum-lastpost-title a {
        max-width: 100%;

        white-space: normal !important;
        overflow-wrap: break-word;
        word-break: normal;
    }


    /* -----------------------------------------------------
       ВАЖНО:
       "Список обновленных тем пуст."

       У тебя эта строка имеет:
       td class="forum-column-icon" colspan="5"

       Её нельзя превращать в 42px колонку.
       ----------------------------------------------------- */

    .section table.forum-topic-list
    tbody td.forum-column-icon[colspan] {
        display: block;

        grid-column: 1 / -1;
        grid-row: 1;

        width: auto !important;
        min-width: 0 !important;

        padding: 12px 14px !important;

        border: 0;

        background: #fff;
    }

    .section table.forum-topic-list
    tbody td.forum-column-icon[colspan] .forum-item-info {
        padding: 0;
    }


    /* Если строка содержит только colspan=5,
       сетка не должна оставлять лишнее место */
    .section table.forum-topic-list
    tbody tr:has(td.forum-column-icon[colspan]) {
        display: block;
    }


    /* -----------------------------------------------------
       FOOTER ТАБЛИЦЫ
       ----------------------------------------------------- */

    .section table.forum-topic-list tfoot {
        display: block;
        width: 100%;
    }

    .section table.forum-topic-list tfoot tr {
        display: block;
    }

    .section table.forum-topic-list
    tfoot td.forum-column-footer {
        display: block;

        width: 100% !important;

        padding: 9px 12px;

        box-sizing: border-box;

        background: #f0eaff;
    }


    /* -----------------------------------------------------
       ТЕКСТ И ДЛИННЫЕ ССЫЛКИ
       ----------------------------------------------------- */

    .section .forum-item-info,
    .section .forum-lastpost-box,
    .section .forum-info-box-inner {
        overflow-wrap: break-word;
    }
}


/* =========================================================
   ОЧЕНЬ УЗКИЕ ТЕЛЕФОНЫ
   ========================================================= */

@media screen and (max-width: 480px) {

    .section .forum-menu-box {
        padding: 9px 10px;
    }

    .section .forum-menu-box .forum-info-box-inner {
        gap: 5px 8px;
    }


    /* Даты становятся вертикальными */
    .section .forum-filter input[name="find_date1"],
    .section .forum-filter input[name="find_date2"] {
        flex: 1 1 calc(100% - 30px);

        width: calc(100% - 30px);
        min-width: 0;
    }

    .section .forum-filter .date-interval-hellip {
        flex-basis: 100%;

        padding-left: 0;

        line-height: 1;
    }


    /* Данные темы немного компактнее */
    .section table.forum-topic-list tbody tr {
        grid-template-columns: 36px 1fr 1fr;
    }

    .section table.forum-topic-list tbody td.forum-column-replies,
    .section table.forum-topic-list tbody td.forum-column-views,
    .section table.forum-topic-list tbody td.forum-column-lastpost {
        font-size: 0.92em;
    }
}
/* =========================================================
   FORUM FILTER — БОЛЬШЕ ОТСТУПОВ
   ========================================================= */

@media screen and (max-width: 768px) {

    /* Больше воздуха внутри рамки фильтра */
    .section .forum-filter {
        padding: 18px 16px;
    }

    /* Расстояние между строками фильтра */
    .section .forum-filter-field {
        margin-bottom: 18px;
    }

    /* Последняя строка перед кнопками */
    .section .forum-filter-field:not(.forum-filter-footer) {
        padding-bottom: 2px;
    }

    /* Подпись "Форум:", "Обновление:" */
    .section .forum-filter-field-title {
        display: block;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    /* Поля внутри одной группы */
    .section .forum-filter-field-item {
        gap: 10px;
    }

    /* Select и поля даты немного выше */
    .section .forum-filter select,
    .section .forum-filter input[type="text"] {
        min-height: 38px;
        padding: 7px 10px;
    }

    /* Отступ над кнопками */
    .section .forum-filter-footer {
        margin-top: 6px;
        margin-bottom: 0;
        gap: 10px;
    }

    /* Кнопки чуть крупнее */
    .section .forum-filter input[type="submit"] {
        min-height: 38px;
        padding: 7px 16px;
    }
}
@media screen and (max-width: 768px) {
    .section .forum-filter-field {
        margin-bottom: 22px;
    }

    .section .forum-filter-footer {
        margin-top: 4px;
        margin-bottom: 0;
    }
}

.section .forum-reply-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 16px;
    padding-top: 14px;

    border-top: 1px solid #ebe3f4;
}


/* Общие стили кнопок */
.section .forum-reply-buttons input[type="submit"] {
    min-width: 130px;
    min-height: 42px;

    padding: 9px 20px;

    border-radius: 8px;

    font: inherit;
    font-weight: 600;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        background .15s ease,
        border-color .15s ease;
}


/* =========================================================
   ОТВЕТИТЬ — основная кнопка
   ========================================================= */

.section .forum-reply-buttons input[name="send_button"] {
    border: 0;

    background: linear-gradient(
        100deg,
        #5948f4 0%,
        #9140dc 52%,
        #ed32b4 100%
    );

    color: #fff;

    box-shadow:
        0 4px 12px rgba(105, 65, 224, .20);
}


.section .forum-reply-buttons input[name="send_button"]:hover {
    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(105, 65, 224, .28);
}


.section .forum-reply-buttons input[name="send_button"]:active {
    transform: translateY(0);

    box-shadow:
        0 2px 7px rgba(105, 65, 224, .18);
}


/* =========================================================
   ПРОСМОТР — вторичная кнопка
   ========================================================= */

.section .forum-reply-buttons input[name="view_button"] {
    border: 1px solid #d7caea;

    background: #fff;

    color: #6546df;

    box-shadow: none;
}


.section .forum-reply-buttons input[name="view_button"]:hover {
    border-color: #bca7e4;

    background: #f6f1ff;

    color: #d632b5;

    transform: translateY(-1px);
}


.section .forum-reply-buttons input[name="view_button"]:active {
    transform: translateY(0);

    background: #eee7fb;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {

    .section .forum-reply-buttons {
        display: grid;

        grid-template-columns: 1fr 1fr;

        width: 100%;

        gap: 8px;

        margin-top: 14px;
        padding-top: 12px;

        box-sizing: border-box;
    }


    .section .forum-reply-buttons input[type="submit"] {
        width: 100%;
        min-width: 0;

        min-height: 44px;

        margin: 0;

        padding: 9px 12px;
    }
}


/* Совсем узкие телефоны */
@media screen and (max-width: 380px) {

    .section .forum-reply-buttons {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   LEVENÓ FORUM — ОТПРАВКА E-MAIL ПОЛЬЗОВАТЕЛЮ
   ========================================================= */

/* Общий контейнер формы */
.section .forum-reply-form {
    margin: 0 0 20px;
    padding: 0;

    border: 1px solid #e4daf2;
    border-radius: 0 0 10px 10px;

    background: #fff;

    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================================
   БЛОКИ С ПОЛЯМИ
   ========================================================= */

.section .forum-reply-form .forum-reply-fields {
    padding: 16px;

    box-sizing: border-box;
}


/* Подписи */
.section .forum-reply-form .forum-reply-field label {
    display: block;

    margin-bottom: 7px;

    color: #32283c;
    font-weight: 500;
    line-height: 1.4;
}


/* Звёздочка */
.section .forum-reply-form .forum-required-field {
    margin-left: 2px;

    color: #ed32b4;

    font-weight: 700;
}


/* =========================================================
   ТЕМА СООБЩЕНИЯ
   ========================================================= */

.section .forum-reply-form #SUBJECT {
    display: block;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;

    min-height: 40px;

    padding: 8px 11px;

    border: 1px solid #d9cdec;
    border-radius: 7px;

    background: #fff;
    color: #211a2b;

    font: inherit;

    box-sizing: border-box;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.section .forum-reply-form #SUBJECT:focus {
    outline: none;

    border-color: #7350ec;

    box-shadow:
        0 0 0 3px rgba(115, 80, 236, .11);
}


/* =========================================================
   ЗАГОЛОВОК "ТЕКСТ СООБЩЕНИЯ"
   ========================================================= */

.section .forum-reply-form .forum-reply-header {
    padding: 11px 16px;

    border: 0;

    background: linear-gradient(
        90deg,
        #f3efff 0%,
        #f7effc 50%,
        #fff0fa 100%
    );

    color: #392d45;

    font-weight: 600;

    box-sizing: border-box;
}


/* =========================================================
   TEXTAREA
   ========================================================= */

.section .forum-reply-form .forum-reply-field-text {
    width: 100%;
    max-width: 100%;
}


.section .forum-reply-form
.forum-reply-field-text textarea[name="MESSAGE"] {
    display: block;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    min-height: 230px;

    padding: 12px 14px;

    border: 1px solid #d9cdec;
    border-radius: 8px;

    background: #fff;

    color: #211a2b;

    font: inherit;
    line-height: 1.55;

    resize: vertical;

    box-sizing: border-box;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.section .forum-reply-form
.forum-reply-field-text textarea[name="MESSAGE"]:focus {
    outline: none;

    border-color: #7350ec;

    box-shadow:
        0 0 0 3px rgba(115, 80, 236, .11);
}


/* =========================================================
   КНОПКА ОТПРАВИТЬ
   ========================================================= */

.section .forum-reply-form .forum-reply-buttons {
    display: flex;
    align-items: center;

    margin-top: 16px;
    padding-top: 14px;

    border-top: 1px solid #eee6f5;
}


.section .forum-reply-form
.forum-reply-buttons input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;

    min-width: 135px;
    min-height: 42px;

    padding: 8px 20px;

    border: 0 !important;
    border-radius: 8px;

    background: linear-gradient(
        100deg,
        #5948f4 0%,
        #8743df 50%,
        #ed32b4 100%
    );

    color: #fff !important;

    font: inherit;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 5px 12px rgba(108, 66, 225, .18);

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        opacity .15s ease;
}


.section .forum-reply-form
.forum-reply-buttons input[type="submit"]:hover {
    transform: translateY(-1px);

    box-shadow:
        0 7px 16px rgba(108, 66, 225, .25);
}


.section .forum-reply-form
.forum-reply-buttons input[type="submit"]:active {
    transform: translateY(0);

    box-shadow:
        0 3px 8px rgba(108, 66, 225, .18);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 768px) {

    .section .forum-reply-form {
        width: 100%;
        max-width: 100%;

        box-sizing: border-box;
    }

    .section .forum-reply-form .forum-reply-fields {
        padding: 14px 12px;
    }

    .section .forum-reply-form .forum-reply-header {
        padding: 11px 12px;
    }

    .section .forum-reply-form #SUBJECT,
    .section .forum-reply-form
    .forum-reply-field-text textarea[name="MESSAGE"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box;
    }

    .section .forum-reply-form
    .forum-reply-field-text textarea[name="MESSAGE"] {
        min-height: 220px;
    }

    .section .forum-reply-form .forum-reply-buttons {
        width: 100%;
    }

    .section .forum-reply-form
    .forum-reply-buttons input[type="submit"] {
        min-height: 44px;
    }
}


/* =========================================================
   УЗКИЕ ТЕЛЕФОНЫ
   ========================================================= */

@media screen and (max-width: 480px) {

    .section .forum-reply-form .forum-reply-fields {
        padding: 12px 10px;
    }

    .section .forum-reply-form
    .forum-reply-field-text textarea[name="MESSAGE"] {
        min-height: 200px;
    }

    .section .forum-reply-form
    .forum-reply-buttons input[type="submit"] {
        width: 100%;
        min-width: 0;

        min-height: 46px;
    }
}

@media screen and (max-width:768px){

    .section table.forum-topic-list tbody tr:has(td.forum-column-alone){
        display:block !important;
        width:100%;
    }


    .section table.forum-topic-list td.forum-column-alone{
        display:block !important;
        width:100% !important;
        min-width:100% !important;
        box-sizing:border-box;
    }


    .section table.forum-topic-list .forum-empty-message{
        width:100% !important;
        padding:15px;
        box-sizing:border-box;
        word-break:normal;
        overflow-wrap:normal;
    }

}

.forum-post-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Правая часть сообщения */
.forum-cell-post {
    vertical-align: top;
    overflow: hidden;
}

/* Дата сообщения */
.forum-post-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 15px;
}


/* Текст сообщения */
.forum-post-entry {
    padding: 15px;
}

.forum-post-text {
    line-height: 1.6;
    word-break: break-word;
}


/* IP и ID пользователя */
.forum-user-additional {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
}


/* Кнопки Сообщение / Email */
.forum-contact-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px;
}


/* Кнопки управления темой */
.forum-action-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 25px;
}


.forum-action-links span {
    display: inline-flex;
}


/* Нижний блок управления */
.forum-column-footer {
    padding: 15px !important;
}



/* Каждый блок управления отдельно */
.forum-post-moderate,
.forum-topic-moderate {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}


/* Выпадающие списки */
.forum-post-moderate select,
.forum-topic-moderate select {
    width: 300px;
    max-width: 100%;
    height: 42px;
    border-radius: 8px;
    padding: 0 12px;
}


/* Кнопка OK */
.forum-post-moderate input[type="submit"],
.forum-topic-moderate input[type="submit"] {
    height: 42px;
    min-width: 60px;
    border-radius: 8px;
    border:0;
    cursor:pointer;
}


/* Убираем лишние nbsp от Bitrix */
.forum-action-links {
    font-size: 0;
}

.forum-action-links a {
    font-size:14px;
}


/* Чекбокс */
.forum-post-number {
    display:flex;
    align-items:center;
    gap:8px;
}


/* Адаптив */
@media(max-width:768px){

   .forum-post-table {
    width:100%;
    table-layout:fixed;
}


/* левая колонка пользователя */
.forum-cell-user {
    width:180px;
    vertical-align:top;
}


/* сообщение */
.forum-cell-post {
    vertical-align:top;
}


/* дата */
.forum-post-date {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 15px;
    flex-wrap:wrap;
}


/* текст */
.forum-post-entry {
    padding:15px;
}


/* IP блок НЕ flex */
.forum-user-moderate-info {
    display:block !important;
    padding:15px;
}


.forum-user-moderate-info span {
    display:block;
    margin-bottom:8px;
}


/* кнопки сообщения/email */
.forum-contact-links {
    padding:10px;
}


.forum-contact-links span {
    display:inline-block;
}


/* кнопки управления */
.forum-action-links {
    padding:10px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}


.forum-action-links span {
    display:inline-block;
}


/* нижняя панель */
.forum-footer-inner {
    padding:10px;
}


.forum-post-moderate,
.forum-topic-moderate {
    margin-bottom:15px;
}


.forum-post-moderate select,
.forum-topic-moderate select {
    width:100%;
    max-width:400px;
    height:42px;
}


/* OK */
.forum-post-moderate input[type="submit"],
.forum-topic-moderate input[type="submit"] {
    height:42px;
    margin-top:8px;
}


    .forum-post-moderate select,
    .forum-topic-moderate select {
        width:100%;
    }

}
.custom-user-info {
    display:flex;
    flex-direction:column;
    gap:10px;
}


/* ===============================
   MODERATOR INFO
================================ */

.custom-moderator-info {
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    padding:15px;
}


/* ===============================
   CONTACT BUTTONS
================================ */

.custom-contact-links {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    padding:10px;
}


.custom-contact-links span {
    display:inline-flex;
}


/* ===============================
   ACTION BUTTONS
================================ */

.custom-action-links {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    padding:10px;
}


.custom-action-links span {
    display:inline-flex;
}

.forum-action-links,
.forum-contact-links {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    padding:10px;
}


/* сами ссылки */
.forum-action-links a,
.forum-contact-links a {

    display:inline-flex;
    align-items:center;
    justify-content:center;

    height:36px;
    padding:0 16px;

    border-radius:8px;

    background:#ffffff;

    border:1px solid #ddd2f3;

    color:#5948f4 !important;

    text-decoration:none;

    font-size:14px;
    font-weight:500;

    box-sizing:border-box;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .15s ease,
        box-shadow .2s ease;
}


/* наведение */
.forum-action-links a:hover,
.forum-contact-links a:hover {

    background:linear-gradient(
        100deg,
        #5948f4,
        #e636ba
    );

    border-color:transparent;

    color:#fff !important;

    transform:translateY(-2px);

    box-shadow:
        0 5px 15px rgba(89,72,244,.25);
}


/* активное нажатие */
.forum-action-links a:active,
.forum-contact-links a:active {

    transform:translateY(0);

    box-shadow:none;
}
/* End */


/* Start:/local/templates/leveno/components/bitrix/forum/new-template/styles/additional.css?178706180573927*/
div.forum-info-box
{
	padding:0.5em 1.117em;
	border-width: 1px;
	border-style: solid;
	line-height: 1.5em;
	margin-bottom:1em;
	zoom: 1;
}
div.forum-info-box-inner
{
/*	zoom:1;*/
}

/* Forum Menu */
div.forum-menu-box { margin-bottom: 1em;}
div.forum-menu-box span.forum-menu-item { margin-right:0.25em; padding-right:0.25em; white-space:nowrap; }

/* Menu Items*/
span.forum-menu-item { border-right-width: 1px; border-right-style: solid; }
span.forum-menu-item-last { border: none;}

/* Breadcrumb */
div.forum-breadcrumb-top {padding:0 1.117em 1em;}
div.forum-breadcrumb-bottom {padding:0 1.117em 1em;}
div.forum-breadcrumb { line-height:1.5em;}
div.forum-breadcrumb span {white-space:nowrap;}
div.forum-breadcrumb a {text-decoration: none;}
span.forum-crumb-last { font-weight: normal;}

/* Header Box*/
div.forum-header-box { padding:0 1.117em; border-style: solid; border-width: 1px; }
div.forum-header-title a {text-decoration: underline;}

/* Header Box Right Links*/
div.forum-header-options { float: right; padding:0.5em 0; }
div.forum-header-options a:hover { text-decoration: underline;}

/* Header Title */
div.forum-header-title { font-size:1em; padding:0.462em 5em 0.426em 0; }


/*div.forum-block-container {margin-bottom: 1em;}*/

/* Main Forum/Topic List Table */
table.forum-table { width: 100%; }
table.forum-forum-list {margin-bottom: 1em;}
table.forum-topic-list {}

/* Table Header */
table.forum-table th
{
	font-size:1em;
	padding:0.462em 1em;
	font-weight:normal;
	vertical-align:middle;
	text-align: left;
}

/* Table Cell */
table.forum-table td
{
	border-bottom-width: 1px;
	border-bottom-style: solid;

	border-right-width: 1px;
	border-right-style: solid;

	vertical-align:top;
	padding:0.4em 1em;
}

/* First Row Cell */
table.forum-table tr.forum-row-first td { border-top-width:1px; border-top-style: solid; }

/* Last Row Cell*/
table.forum-table tr.forum-row-last td { border-bottom-width:1px; border-bottom-style: solid;}

/* Odd Row Cell */
table.forum-table tr.forum-row-odd td { }

/* Even Row Cell */
table.forum-table tr.forum-row-even td { }

/* Selected (via checkbox) Table Cell and Row */
table.forum-table tr.forum-row-selected td, table.forum-table td.forum-cell-selected, table.forum-post-selected td.forum-cell-post, table.forum-post-selected td.forum-cell-actions {}

/* Hidden Table Cell and Row */
table.forum-table tr.forum-row-hidden td, table.forum-table td.forum-cell-hidden, table.forum-post-hidden td.forum-cell-post, table.forum-post-hidden td.forum-cell-actions {}

/* Sticky Table Cell and Row */
table.forum-table tr.forum-row-sticky td, table.forum-table td.forum-cell-sticky {}

/* Forum Category Separator */
table.forum-table tbody.forum-category-separator { display: none; }

/* Forum Icon Column */
table.forum-table td.forum-column-icon { padding:0; border-left-width:1px; border-left-style: solid; }
table.forum-table td.forum-column-alone { border-left-width:1px; border-left-style: solid; }

div.forum-icon-container { width:3.3em; text-align: center;}

/* Forum Topic Icons (New Post Icon, Sticky Topic Icon, Closed Topic Icon, Moved Topic Icon)*/
div.forum-icon
{
	height:20px;
	width:20px;
	margin:0.667em auto;
}

/* Forum/Topic Title Column*/
table.forum-table th.forum-column-title, table.forum-table td.forum-column-title { width: 66%; text-align: left; }
table.forum-table td.forum-column-title { padding:0; line-height:1.4em; padding:0; }
table.forum-table th.forum-column-title { padding-left: 1.117em; border-left-width: 1px; border-left-style: solid; }

div.forum-item-info { padding:6px 14px 5px; }

div.forum-item-subforums { line-height:1.4em; margin-top: 0.9em;}


span.forum-status-sticky, span.forum-status-closed { font-weight: bold; }

span.forum-item-desc-sep { vertical-align:middle; font-size:1em; }

div.forum-moderator-stat { margin-top: 0.9em; }
div.forum-moderator-stat span { font-weight: bold; }

table.forum-table td.forum-column-topics,
table.forum-table td.forum-column-replies,
table.forum-table td.forum-column-views
{
	text-align: center;
	padding: 1em 0.2em;
}

table.forum-table th.forum-column-topics,
table.forum-table th.forum-column-replies,
table.forum-table th.forum-column-views
{
	padding-left: 0.5em;
	padding-right: 0.5em;
}

/* Last Post Cells */
table.forum-table th.forum-column-lastpost, table.forum-table td.forum-column-lastpost { padding:0; width: 30%; text-align: left; }
table.forum-table td.forum-column-lastpost { line-height:1.4em; }
table.forum-table th.forum-column-lastpost { padding-left: 1em; border-right-width: 1px; border-right-style: solid;}

div.forum-lastpost-box { padding:6px 14px 5px; }
span.forum-lastpost-date, span.forum-lastpost-title {display: block;}

/* Forum and Topic Checkbox*/
div.forum-select-box
{
	float:right;
	/*
	border-left-width:1px;
	border-left-style: solid;
	border-bottom-width:1px;
	border-bottom-style: solid;
	*/
	padding:0.1em;
	text-align:center;
}


/* Table Footer and Alone Footer Box */
table.forum-table td.forum-column-footer, table.forum-post-table td.forum-column-footer, div.forum-footer-box
{
	padding:0.5em 1em;
	border-width:1px;
	border-style: solid;
	line-height:1.5em;
}

div.forum-footer-box {margin-bottom: 1em;}

table.forum-table td.forum-column-footer { border-top: none; }

div.forum-footer-inner { text-align:center; zoom:1; }
span.forum-footer-option { margin-left:0.5em; padding-left:0.5em; border-left-width:1px; border-left-style: solid; }
span.forum-footer-option-first { border-left: none; }
span.forum-footer-rss { background: transparent url(/local/templates/leveno/components/bitrix/forum/new-template/styles/images/feed-icon.png) no-repeat scroll left center; padding-left:20px; padding-top:2px; }

/* Birthdays Box*/ 
div.forum-users-online { }
span.forum-users-online span { font-weight: bold; }
div.forum-users-online span.forum-user-online { }
div.forum-users-online span.forum-user-online-hidden { }

/* Birthdays Box*/ 
div.forum-users-birthday {  }
span.forum-users-birthday span { font-weight: bold; }

/* Statistics Box*/
div.forum-statistics { zoom: 1; }
div.forum-statistics-allusers { clear:both; float:left; white-space:nowrap; min-height: 55px; }
div.forum-statistics-users { clear:both; float:left; white-space:nowrap; }
div.forum-statistics-topics { text-align:right; white-space:nowrap; }
div.forum-statistics-replies { text-align:right; white-space:nowrap; }
div.forum-statistics-users span, div.forum-statistics-allusers span, div.forum-statistics-topics span, div.forum-statistics-replies span { font-weight: bold; }

/* Page navigation */
div.forum-navigation-box
{
	padding:0 1.117em;
	border-width: 1px;
	border-style: solid;
	line-height:1.5em;
	overflow: hidden;
	zoom:1;
}

div.forum-page-navigation { float:left; padding:0.5em 0;}
div.forum-navigation-top { border-bottom: none; }
div.forum-navigation-bottom { border-top: none; margin-bottom: 1em;}
div.forum-page-navigation a, span.forum-page-current, span.forum-page-dots
{
	border-left-width: 1px;
	border-left-style: solid;
	padding-left:0.75em;
	padding-right: 0.5em;
	text-decoration: none;
}


div.forum-page-navigation a.forum-page-previous { border-right-width:1px; border-right-style: solid; border-left: none; }
div.forum-page-navigation a.forum-page-first, div.forum-page-navigation span.forum-page-first { border-left: none; padding-left: 0.5em; }
span.forum-page-current { font-weight: bold; }
div.forum-new-post
{
	float:right;
	text-align:right;
	padding:0.5em 0;
	font-weight: bold;
}

/* For abstract tables */
table.forum-table td.forum-first-column { border-left-width: 1px; border-left-style: solid;}
table.forum-table th.forum-first-column {border-left-width: 1px; border-left-style: solid;}
table.forum-table th.forum-last-column {border-right-width: 1px; border-right-style: solid;}


/* Topic posts table */
table.forum-post-table
{
	width: 100%;
	line-height:1.5em;
	border-collapse: separate;
	border-top-width: 1px;
	border-top-style: solid;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	table-layout:fixed;
}

/* First Post Table */
table.forum-post-first { border-top: none; }

/* Odd Post Table */
table.forum-post-odd {}

/* Even Post Table */
table.forum-post-even {}

/* Last Post Table */
table.forum-post-last {}

/* Post Table Cell */
table.forum-post-table td { padding: 0; vertical-align: top; width:100%}

/* Post Table: User Info and User Contacts Cells*/
table.forum-post-table td.forum-cell-user, table.forum-post-table td.forum-cell-contact
{
	/*width:15em;*/
	width:200px;
	border-right-width: 1px;
	border-right-style: solid;
	border-left-width: 1px;
	border-left-style: solid;
	overflow: hidden;
}

/* Post Table: User Info Cell */
table.forum-post-table td.forum-cell-user {
	width:178px;
}

/* Post Table: Post and Actions Cell */
table.forum-post-table td.forum-cell-post, table.forum-post-table td.forum-cell-actions { border-right-width: 1px; border-right-style: solid; }

/* Post Table: User Contacts and Actions Cell */
table.forum-post-table td.forum-cell-contact, table.forum-post-table td.forum-cell-actions { border-top-width: 1px; border-top-style: dashed; height: 2.5em; }

div.forum-post-date, div.forum-post-entry { padding:0.5em 1em 0.5em 1em; font-size:1em; font-weight:normal; }

div.forum-post-date { border-bottom-width:1px; border-bottom-style: dashed; }

div.forum-post-number { float:right; display: inline; /* IE fix */ }
div.forum-post-number input { margin:0 0 0 0.2em; vertical-align: middle;}
div.forum-post-number a {vertical-align: middle;}
div.forum-post-number span { font-weight: bold; }

div.forum-post-text { padding:0.5em 0; }

/* Post Attachments */
div.forum-post-attachments {
	margin:1.5em 0;
	padding: 0.6em 1em 0.9em 1em;
	border-width:1px;
	border-style: solid;
	line-height:1.5em;
}
div.forum-post-attachments label { }
div.forum-post-attachments fieldset { border: none; padding: 0; margin: 0; }
div.forum-post-attachments fieldset .forum-attach { margin: 1.2em 1.2em 0 0; }
div.forum-post-attachments ul { padding:0; }
div.forum-post-attachments div.forum-post-attachment { margin-top: 1em; }

div.forum-post-lastedit { padding:0.5em 0; font-style: italic;}
span.forum-post-lastedit-user { font-weight: bold;}

/* User Signature*/
div.forum-user-signature { margin-top: 1em; }
div.forum-signature-line
{
	border-top-width: 1px;
	border-top-style: solid;
	width:200px;
	height:1px;
	/* IE Fix */
	line-height:1px;
	font-size:1px;
}

div.forum-user-signature span {line-height: 0.95em; padding-top:0.5em; display: block; font-size: 0.95em;}

div.forum-user-info { padding:0.5em 1em 1.5em 1em; }

div.forum-user-avatar { margin: 0.5em 0; }

div.forum-user-status { margin-bottom: 6px; }

div.forum-user-additional { font-size: 0.95em; }
div.forum-user-additional span { display: block;}
div.forum-user-additional span span { display: inline;}

div.forum-user-name span { font-size:1em; font-weight:bold; line-height:1.1em;}

span.forum-vote-user a { text-decoration: none; vertical-align: top; font-size:1.1em;}

div.forum-user-name a { text-decoration:none; font-size: 1.1em; }

div.forum-user-status span { font-weight:bold; line-height:normal; }

div.forum-contact-links { padding:0.5em 1em; }

div.forum-action-links { padding:0.5em 1.5em 0.5em 1em; text-align:right; }
div.forum-action-links span {white-space: nowrap;}

div.forum-post-entry { font-size:1em; padding-bottom:1em; height:100%; }

/* Post Table Footer */
table.forum-post-table td.forum-column-footer { border-bottom: none; }

div.forum-post-moderate { float: right; }
div.forum-topic-moderate { text-align: left; }
div.forum-topics-moderate { float: right; }
div.forum-topics-moderate input, div.forum-topics-moderate select { font-size: 1.1em;}

/*BBCode: List*/
div.forum-post-text ul, div.forum-post-text ol { padding:0.5em 0 0.5em 2em; }

/*BBCode: Quote and Code*/
table.forum-quote, table.forum-spoiler, table.forum-code
{
	font-size:1em;
	width:100%;
	border-width:1px;
	border-style: solid;
	border-collapse: collapse;
	width:100%;
	table-layout:fixed;
}

table.forum-code pre {
	margin:0;
	width:100%;
	padding-bottom:5px;
	overflow:auto;
}

table.forum-quote table.forum-quote, table.forum-spoiler table.forum-spoiler, table.forum-code table.forum-code { width: 95%; margin: 0.5em 0 0;}


table.forum-quote th, table.forum-spoiler th, table.forum-code th {font-weight:bold; padding: 0.25em 1em; text-align:left;}
table.forum-quote td, table.forum-spoiler td, table.forum-code td { padding:0.9em 1em; }

div.forum-code-box
{
	font-family: "Consolas", "Monaco", "Courier New", Courier, monospace;
	font-size: 1em;
	width: 100%;
	overflow: auto;
	border-width:1px;
	border-style: solid;
	margin:0.5em 0;
}

div.forum-code-box ol, div.forum-code-box ol li, div.forum-code-box ol li span { margin: 0; padding: 0; border: none; }

div.forum-code-box ol { list-style: decimal; margin-left: 3em; padding:0.5em 0;}

div.forum-code-box ol li
{
	list-style: decimal-leading-zero;
	list-style-position: outside !important;
	padding: 0 0.5em 0 1.5em !important;
	margin: 0;
	line-height: 1.5em;
}
a.forum-spoiler-hide
{
	float: right;
}
/*BBCode: Table*/
div.forum-post-text table.data-table tbody td {
	width: auto;
}

/* Reply Form*/
div.forum-reply-form
{
	border-style:solid;
	border-width:1px;
	line-height:1.5em;
	margin-bottom:1em;
}

div.forum-reply-header
{
	font-size:1em;
	padding:0.462em 1.117em;
	vertical-align:middle;
}

div.forum-note-box {border-width:1px; border-style: solid; margin: 1.117em 0; padding: 0.4em 1.117em;}
div.forum-reply-form div.forum-note-box { margin: 1.117em;}
div.forum-note-box ul {padding:0.3em 0 0.3em 2em; margin:0;}
div.forum-note-box ul li {margin:0; padding:0;}

div.forum-reply-fields { padding:0 1em 0.8em; }

div.forum-reply-field { margin-top: 0.462em; position:relative; z-index:1;}

div.forum-reply-field-title input, div.forum-reply-field-desc input { width: 80%;}

div.forum-reply-field-title label, div.forum-reply-field-desc label, div.forum-reply-field-tags label, div.forum-reply-field-captcha-label label,
div.forum-reply-field-lastedit-reason label {display: block;}

div.forum-reply-field-user {width: 100%; /*IE Fix or zoom:1 */}

div.forum-reply-field-author, div.forum-reply-field-email { float:left; width:39%; }

div.forum-reply-field-user-sep { width:2%; float: left;}

div.forum-reply-field-author input, div.forum-reply-field-email input { width:100%; }

div.forum-reply-field-tags { display: none; }
div.forum-reply-field-tags input { width:80%; }

div.forum-reply-field-switcher-tag { margin-right: 0.8em; }

div.forum-reply-field-vote-duration { margin: 0.82em 0; }
div.forum-reply-field-vote-question { margin-bottom: 0.462em; }
div.forum-reply-field-vote-question label { margin-left:0.27em; }
div.forum-reply-field-vote-question-title input{ width: 80%; }
ol.forum-reply-field-vote-answers input { width: 60%; }
ol.forum-reply-field-vote-answers li { margin-top: 0.462em; }

div.forum-reply-field-lastedit-reason input { width: 80%;}

div.forum-reply-field-captcha input { width: 180px;}

div.forum-reply-field-settings input, div.forum-uploaded-file input, div.forum-reply-field-lastedit-view input { width:1.55em; margin:0 0 0 -0.25em; vertical-align: middle; font-size:1em; }
div.forum-reply-field-settings label, div.forum-uploaded-file a, div.forum-reply-field-lastedit label { vertical-align: middle; }

div.forum-reply-field-upload a { outline: none;}
div.forum-upload-file-hint { display: none;}
div.forum-upload-file-hint span { font-weight: bold;}
div.forum-upload-file {display: none; margin-top: 0.262em;}
div.forum-upload-file input {font-size:1.184em; }

div.forum-reply-buttons { margin-top: 1em;}
div.forum-reply-buttons input { padding:0 0.5em; font-size:1.184em; overflow: visible; /*IE paddings*/}

/* Utils */
div.forum-clear-float { clear: both; }

/* Moved topic list*/
div.forum-topic-move
{
	clear: both;
	float: none;
	position: relative;
	margin-top:0.5em;
	margin-bottom:0.5em;
	width:100%; /*IE*/
}

div.forum-topic-move input
{
	position: absolute;
	top: 0;
	left:0;
	font-size:1em;
	height:1.55em;
	margin:0 0 0 -0.25em;
	width:1.55em;
}

div.forum-topic-move label, div.forum-topic-move a { display: block; margin-left: 1.8em;}
div.forum-topic-move-buttons {margin-top: 1em;}
div.forum-topic-move-buttons select {width:200px;}
div.forum-topic-move-buttons select {font-size:1.184em;}
div.forum-topic-move-buttons input {font-size:1.184em; padding:0 0.417em; overflow: visible; /*IE paddings*/}

.forum-action-note { float: right; font-style: italic; padding: 0.5em 1.5em 0.5em 1em; }

div.forum-popup-image{}
div.forum-popup-image div.empty{
	background-image:url("/local/templates/leveno/components/bitrix/forum/new-template/styles/images/close.gif");
	background-repeat:no-repeat;
	background-position:center;
	cursor:pointer;
	cursor:hand;
	width:14px;
	height:14px;
	margin:0px;}
/* autosave */
a.postFormAutosave {
	float: right;
	display:block;
	width:18px;
	height:18px;
	margin:0 -4px 0 0;
	position:relative;
	z-index:2;
}
a.postFormAutosave.bx-core-autosave {background-position: 0 0 !important;}
a.postFormAutosave.bx-core-autosave-ready {background: scroll transparent url("/local/templates/leveno/components/bitrix/forum/new-template/styles/images/autosave/autosave-green.gif") no-repeat 0 0;}
a.postFormAutosave.bx-core-autosave-edited {background: scroll transparent url("/local/templates/leveno/components/bitrix/forum/new-template/styles/images/autosave/autosave-red.gif") no-repeat 0 0;}
a.postFormAutosave.bx-core-autosave-saving {background: scroll transparent url("/local/templates/leveno/components/bitrix/forum/new-template/styles/images/autosave/autosave-write.gif") no-repeat 0 0;}

.forum-notify-bar {
	width: 100%;
	height: 2em;
	background: url("/bitrix/js/main/core/images/panel/sprite04.png") repeat-x scroll 0 -1178px #FFEB8D !important;
	position:relative;
}
.forum-notify-close {
	display: block !important;
	height: 12px !important;
	margin: 3px 6px 0 0;
	padding: 0 !important;
	position: absolute !important;
	right: 5px !important;
	top: 5px !important;
	width: 12px !important;
}
.forum-notify-close a {
	background: url("/bitrix/js/main/core/images/panel/sprite04.png") no-repeat scroll -268px -243px transparent !important;
	display: block !important;
	height: 12px !important;
	width: 12px !important;
	cursor:pointer;
}
.forum-notify-text {
	color: #000000 !important;
	margin: 0 !important;
	padding: 3px 20px 5px !important;
	text-align: center !important;
}
.forum-notify-text a.postFormAutorestore {
	position:relative;
	color: #ff0000;
	cursor:pointer;
	text-decoration:underline;
	margin-right: 9px;
	margin-top: 5px;
	z-index:2;
}

table.forum-icons td{
	white-space: nowrap;
	padding: 0.4em;
}
table.forum-icons input {
	width: auto;
}
table.forum-icons .forum-icon-empty {
	border : 1px solid;
	border-radius: 8px;
	width : 16px;
	height: 16px;
}

/* =========================================================
   FORUM MOBILE OVERRIDES
   ВСЕГДА ОСТАВЛЯТЬ В КОНЦЕ ФАЙЛА
   ========================================================= */

@media screen and (max-width: 768px) {

    /* ---------- общая ширина ---------- */

    .forum-info-box,
    .forum-header-box,
    .forum-block-container,
    .forum-block-outer,
    .forum-block-inner {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }


    /* ---------- меню ---------- */

    div.forum-menu-box .forum-info-box-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 10px;
    }

    div.forum-menu-box span.forum-menu-item {
        display: inline-block;
        margin: 0;
        padding-right: 10px;

        white-space: nowrap;
        line-height: 1.6;
    }


    /* ---------- таблица форумов ---------- */

    table.forum-forum-list {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
    }


    /* Скрываем счётчики на телефоне */

    table.forum-forum-list th.forum-column-topics,
    table.forum-forum-list td.forum-column-topics,

    table.forum-forum-list th.forum-column-replies,
    table.forum-forum-list td.forum-column-replies,

    table.forum-forum-list th.forum-column-views,
    table.forum-forum-list td.forum-column-views {
        display: none !important;
    }


    /* Иконка */

    table.forum-forum-list td.forum-column-icon {
        width: 45px;
        min-width: 45px;
        padding: 0;
    }

    table.forum-forum-list div.forum-icon-container {
        width: 45px;
    }


    /* Название форума */

    table.forum-forum-list th.forum-column-title,
    table.forum-forum-list td.forum-column-title {
        width: auto;
        min-width: 0;
    }

    table.forum-forum-list td.forum-column-title {
        padding: 0;
    }

    table.forum-forum-list div.forum-item-info {
        padding: 9px 10px;

        overflow-wrap: break-word;
        word-break: normal;
    }


    /* Последнее сообщение */

    table.forum-forum-list th.forum-column-lastpost,
    table.forum-forum-list td.forum-column-lastpost {
        width: 38%;
        min-width: 0;
        padding: 0;
    }

    table.forum-forum-list div.forum-lastpost-box {
        padding: 9px 10px;
        min-width: 0;
    }

    table.forum-forum-list span.forum-lastpost-title,
    table.forum-forum-list span.forum-lastpost-date,
    table.forum-forum-list span.forum-lastpost-author,

    table.forum-forum-list span.forum-lastpost-title a {
        display: block;
        max-width: 100%;

        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }


    /* ---------- footer таблицы ---------- */

    table.forum-forum-list td.forum-column-footer {
        padding: 10px;
    }

    table.forum-forum-list div.forum-footer-inner {
        text-align: center;
    }

    table.forum-forum-list span.forum-footer-option,
    table.forum-forum-list span.forum-footer-option a {
        white-space: normal;
        overflow-wrap: break-word;
    }


    /* ---------- пользователи онлайн ---------- */

    div.forum-users-online,
    div.forum-users-online .forum-info-box-inner {
        max-width: 100%;

        white-space: normal;
        overflow-wrap: break-word;
    }


    /* ---------- статистика ---------- */

    div.forum-statistics-allusers,
    div.forum-statistics-users,
    div.forum-statistics-topics,
    div.forum-statistics-replies {

        float: none;
        clear: both;

        width: 100%;
        min-height: 0;

        margin: 0 0 8px;

        text-align: left;

        white-space: normal;

        box-sizing: border-box;
    }


    /* ---------- легенда ---------- */

    div.forum-legend-item {
        max-width: 100%;
        box-sizing: border-box;
    }
}


@media screen and (max-width: 480px) {

    div.forum-info-box {
        padding: 10px 12px;
    }


    table.forum-forum-list td.forum-column-icon {
        width: 40px;
        min-width: 40px;
    }

    table.forum-forum-list div.forum-icon-container {
        width: 40px;
    }


    table.forum-forum-list div.forum-item-info,
    table.forum-forum-list div.forum-lastpost-box {
        padding: 8px;
    }


    table.forum-forum-list th.forum-column-lastpost,
    table.forum-forum-list td.forum-column-lastpost {
        width: 40%;
    }
}
@media screen and (max-width: 768px) {

    /* ВАЖНО: fixed здесь ломает colspan="2" */
    table.forum-forum-list {
        width: 100%;
        max-width: 100%;
        table-layout: auto !important;
    }

    /* Темы / Сообщения скрыты только на мобильном */
    table.forum-forum-list th.forum-column-topics,
    table.forum-forum-list td.forum-column-topics,
    table.forum-forum-list th.forum-column-replies,
    table.forum-forum-list td.forum-column-replies,
    table.forum-forum-list th.forum-column-views,
    table.forum-forum-list td.forum-column-views {
        display: none !important;
    }

    /* Иконка */
    table.forum-forum-list td.forum-column-icon {
        width: 48px !important;
        min-width: 48px !important;
        padding: 0 !important;
    }

    table.forum-forum-list td.forum-column-icon .forum-icon-container {
        width: 48px;
    }

    /* Название форума */
    table.forum-forum-list td.forum-column-title {
        width: auto !important;
        min-width: 140px;
        padding: 0 !important;
    }

    table.forum-forum-list td.forum-column-title .forum-item-info {
        padding: 9px 10px;
    }

    table.forum-forum-list .forum-item-title,
    table.forum-forum-list .forum-item-title a {
        word-break: normal !important;
        overflow-wrap: normal !important;
        white-space: normal;
    }

    /*
       Заголовок имеет colspan="2",
       поэтому не задаём ему ширину 66% или auto как обычной ячейке
    */
    table.forum-forum-list th.forum-column-title {
        width: auto !important;
        padding: 9px 10px !important;
    }

    /* Последнее сообщение */
    table.forum-forum-list th.forum-column-lastpost,
    table.forum-forum-list td.forum-column-lastpost {
        width: 46% !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    table.forum-forum-list th.forum-column-lastpost {
        padding: 9px 10px !important;
    }

    table.forum-forum-list .forum-lastpost-box {
        padding: 9px 10px;
    }

    table.forum-forum-list .forum-lastpost-title,
    table.forum-forum-list .forum-lastpost-title a,
    table.forum-forum-list .forum-lastpost-author,
    table.forum-forum-list .forum-lastpost-date {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word;
    }
}


/* Узкие телефоны */
@media screen and (max-width: 480px) {

    table.forum-forum-list td.forum-column-icon {
        width: 42px !important;
        min-width: 42px !important;
    }

    table.forum-forum-list td.forum-column-icon .forum-icon-container {
        width: 42px;
    }

    table.forum-forum-list td.forum-column-title {
        min-width: 110px;
    }

    table.forum-forum-list th.forum-column-lastpost,
    table.forum-forum-list td.forum-column-lastpost {
        width: 48% !important;
    }
}

/* =========================================================
   LEVENÓ FORUM — СТРАНИЦА ПРАВИЛ
   Добавить в самый конец additional.css
   ========================================================= */

/* Сам блок с правилами */
.section .forum-info-box.forum-rules {
    padding: 0;
    background: #fff;
    border: 1px solid #e7dff5;
    box-sizing: border-box;
}

/* Внутренние отступы */
.section .forum-rules > .forum-info-box-inner {
    padding: 22px 26px 28px;
    box-sizing: border-box;
    color: #211b2c;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   СПИСКИ
   --------------------------------------------------------- */

.section .forum-rules ul,
.section .forum-rules ol {
    margin-top: 8px;
    margin-bottom: 22px;
    padding-left: 28px;
}

/* Расстояние между отдельными правилами */
.section .forum-rules li {
    margin-bottom: 8px;
    padding-left: 4px;
    line-height: 1.6;
}

/* Маркеры обычного списка */
.section .forum-rules ul li::marker {
    color: #7047ed;
}

/* Номера правил */
.section .forum-rules ol li::marker {
    color: #7047ed;
    font-weight: 600;
}


/* ---------------------------------------------------------
   ЗАГОЛОВКИ РАЗДЕЛОВ
   Регистрация / Запрещено / Не рекомендуется и т.д.
   --------------------------------------------------------- */

.section .forum-rules .forum-bold {
    display: block;

    margin: 26px 0 12px;
    padding: 10px 14px;

    font-weight: 600;
    line-height: 1.4;

    color: #39275c;
    background: #f5f0ff;

    border-left: 4px solid #7448ee;
    border-radius: 0 7px 7px 0;
}

/* Первый заголовок после вводного списка */
.section .forum-rules ul + .forum-bold {
    margin-top: 20px;
}


/* ---------------------------------------------------------
   ШАПКА "ПРАВИЛА ФОРУМА"
   --------------------------------------------------------- */

.section .forum-header-box {
    background: linear-gradient(
        100deg,
        #5148f4 0%,
        #8644df 48%,
        #ed32b4 100%
    );

    border-color: transparent;
}

.section .forum-header-title,
.section .forum-header-title span {
    color: #fff;
}


/* =========================================================
   ПЛАНШЕТ / ТЕЛЕФОН
   ========================================================= */

@media screen and (max-width: 768px) {

    /* Немного пространства вокруг хлебных крошек */
    .section .forum-breadcrumb {
        margin-bottom: 14px;
        line-height: 1.5;
    }

    /* Блок правил */
    .section .forum-rules > .forum-info-box-inner {
        padding: 18px 16px 22px;

        font-size: 15px;
        line-height: 1.6;
    }

    /* Списки */
    .section .forum-rules ul,
    .section .forum-rules ol {
        margin: 8px 0 20px;
        padding-left: 24px;
    }

    .section .forum-rules li {
        margin-bottom: 10px;
        padding-left: 2px;

        line-height: 1.6;

        overflow-wrap: break-word;
        word-break: normal;
    }

    /* Заголовки разделов */
    .section .forum-rules .forum-bold {
        margin: 24px 0 12px;
        padding: 10px 12px;

        border-left-width: 4px;
        border-radius: 0 7px 7px 0;
    }
}


/* =========================================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ
   ========================================================= */

@media screen and (max-width: 480px) {

    .section .forum-rules > .forum-info-box-inner {
        padding: 16px 13px 20px;
        font-size: 14px;
    }

    .section .forum-rules ul,
    .section .forum-rules ol {
        padding-left: 22px;
        margin-bottom: 18px;
    }

    .section .forum-rules li {
        margin-bottom: 9px;
        line-height: 1.55;
    }

    .section .forum-rules .forum-bold {
        margin: 22px 0 11px;
        padding: 9px 11px;
    }
}
.forum-pm-progress-bar-out,
.forum-pm-progress-bar-out1 {
    box-sizing: border-box;
}

/* Фоновая полоска */
.forum-pm-progress-bar-out {
    width: 220px;
    height: 7px;

    margin: 0 0 6px auto;

    overflow: hidden;

    border-radius: 20px;
    background: #eee8f8;
}

/* Заполнение */
.forum-pm-progress-bar-in {
    height: 100%;

    border-radius: 20px;

    background: linear-gradient(
        90deg,
        #5948f4 0%,
        #8b43df 50%,
        #ed32b4 100%
    );
}

/* Текст "Заполнение ящика" */
.forum-pm-progress-bar-out1 {
    width: 220px;

    color: #62596d;

    font-size: 0.92em;
    text-align: right;
}

.forum-pm-progress-bar-in1 {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   ШАПКА ПЕРСОНАЛЬНЫХ СООБЩЕНИЙ
   --------------------------------------------------------- */

.section .forum-header-box {
    min-height: 44px;

    background: linear-gradient(
        100deg,
        #5148f4 0%,
        #8943df 48%,
        #ed32b4 100%
    );

    border: 0;
    border-radius: 9px 9px 0 0;

    box-sizing: border-box;
}

.section .forum-header-title {
    padding: 12px 14px;
}

.section .forum-header-title span {
    color: #fff;
    font-weight: 600;
}


/* Ссылки справа:
   "Новое сообщение" / "Новая папка" */

.section .forum-header-options {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 7px 10px;
}

.section .forum-header-options span {
    display: inline-block;
}

.section .forum-header-options a {
    display: inline-flex;
    align-items: center;

    min-height: 30px;

    padding: 4px 10px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 7px;

    color: #fff !important;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.section .forum-header-options a:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.8);
}


/* ---------------------------------------------------------
   ТАБЛИЦА ПАПОК
   --------------------------------------------------------- */

.section .forum-block-container {
    overflow: hidden;

    border-radius: 0 0 9px 9px;
}

.section .forum-block-inner {
    overflow: hidden;
}

.section .forum-block-inner > table.forum-table {
    margin: 0;

    border-collapse: collapse;
}


/* Заголовок */
.section .forum-table thead th {
    padding: 10px 14px;

    background: #f3efff;

    color: #30273c;

    border-color: #e3d8f1;
}


/* Строки */
.section .forum-table tbody td {
    padding: 11px 14px;

    background: #fff;

    border-color: #ebe4f3;

    vertical-align: middle;
}

.section .forum-table tbody tr:nth-child(even) td {
    background: #fcfaff;
}

.section .forum-table tbody tr:hover td {
    background: #f7f2ff;
}


/* Названия папок */
.section .forum-column-foldername a {
    color: #5948f4;

    font-weight: 500;
    text-decoration: none;
}

.section .forum-column-foldername a:hover {
    color: #e832b6;
    text-decoration: underline;
}


/* Количество сообщений */
.section .forum-column-message {
    text-align: center;
}


/* Чекбоксы */
.section .forum-table input[type="checkbox"] {
    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: #7546eb;

    cursor: pointer;
}

.section .forum-table th.forum-column-action,
.section .forum-table td.forum-last-column {
    width: 55px;

    text-align: center;
}


/* ---------------------------------------------------------
   НИЖНЯЯ ПАНЕЛЬ
   --------------------------------------------------------- */

.section .forum-table td.forum-column-footer {
    padding: 10px 12px;

    background: #f1ebff;

    border-color: #dfd3ef;
}

.section .forum-topics-moderate {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 7px;
}

.section .forum-topics-moderate select {
    min-height: 34px;

    padding: 5px 30px 5px 9px;

    border: 1px solid #d7caea;
    border-radius: 6px;

    background: #fff;
    color: #30283a;

    box-sizing: border-box;
}

.section .forum-topics-moderate input[type="submit"] {
    min-width: 42px;
    min-height: 34px;

    padding: 5px 11px;

    border: 0;
    border-radius: 6px;

    background: linear-gradient(
        100deg,
        #5948f4,
        #db35ba
    );

    color: #fff;

    cursor: pointer;
}

.section .forum-topics-moderate input[type="submit"]:hover {
    opacity: 0.9;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media screen and (max-width: 768px) {

    /* ---------------------------------
       Прогресс заполнения ящика
       --------------------------------- */

    .section .forum-breadcrumb + div[style*="float:right"] {
        float: none !important;

        width: 100%;

        margin: 4px 0 16px;

        box-sizing: border-box;
    }

    .forum-pm-progress-bar-out,
    .forum-pm-progress-bar-out1 {
        width: 100%;
        max-width: 100%;
    }

    .forum-pm-progress-bar-out1 {
        margin-top: 5px;

        text-align: left;
    }


    /* ---------------------------------
       Шапка
       --------------------------------- */

    .section .forum-header-box {
        display: flex;
        flex-direction: column;

        border-radius: 8px 8px 0 0;
    }

    .section .forum-header-title {
        order: 1;

        padding: 11px 12px;
    }

    .section .forum-header-options {
        order: 2;

        float: none;

        display: flex;
        flex-wrap: wrap;

        width: 100%;

        padding: 0 12px 12px;

        gap: 7px;

        box-sizing: border-box;
    }

    .section .forum-header-options a {
        min-height: 34px;

        padding: 5px 10px;
    }


    /* ---------------------------------
       Таблица папок
       --------------------------------- */

    .section .forum-table {
        width: 100%;
        max-width: 100%;

        table-layout: auto;
    }

    .section .forum-table thead th,
    .section .forum-table tbody td {
        padding: 10px;
    }

    /* Папке отдаём основное пространство */
    .section .forum-table th.forum-column-foldername,
    .section .forum-table td.forum-column-foldername {
        width: auto !important;
    }

    /* Количество сообщений */
    .section .forum-table th.forum-column-message,
    .section .forum-table td:nth-child(2) {
        width: 90px;

        text-align: center;
    }

    /* Checkbox */
    .section .forum-table th.forum-column-action,
    .section .forum-table td.forum-last-column {
        width: 48px;
        min-width: 48px;

        padding-left: 5px;
        padding-right: 5px;

        text-align: center;
    }


    /* ---------------------------------
       Footer
       --------------------------------- */

    .section .forum-table td.forum-column-footer {
        padding: 10px;
    }

    .section .forum-topics-moderate {
        float: none;

        display: flex;
        justify-content: flex-end;

        width: 100%;

        gap: 7px;
    }

    .section .forum-topics-moderate select {
        width: auto;
        max-width: calc(100% - 55px);
    }
}


/* =========================================================
   УЗКИЕ ТЕЛЕФОНЫ
   ========================================================= */

@media screen and (max-width: 480px) {

    /* Кнопки шапки занимают удобную ширину */
    .section .forum-header-options {
        gap: 6px;
    }

    .section .forum-header-options span {
        flex: 1 1 auto;
    }

    .section .forum-header-options a {
        justify-content: center;

        width: 100%;

        box-sizing: border-box;
    }


    /* Таблица */
    .section .forum-table thead th,
    .section .forum-table tbody td {
        padding: 9px 8px;

        font-size: 0.95em;
    }

    /* Сокращаем ширину цифрового столбца */
    .section .forum-table th.forum-column-message,
    .section .forum-table td:nth-child(2) {
        width: 72px;
    }

    .section .forum-table th.forum-column-action,
    .section .forum-table td.forum-last-column {
        width: 42px;
        min-width: 42px;
    }


    /* Нижнее управление */
    .section .forum-topics-moderate {
        justify-content: stretch;
    }

    .section .forum-topics-moderate select {
        flex: 1 1 auto;

        max-width: none;
    }

    .section .forum-topics-moderate input[type="submit"] {
        flex: 0 0 44px;
    }
}

/* =========================================================
   LEVENÓ FORUM — ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ
   ========================================================= */


/* ---------------------------------------------------------
   ШАПКА ПРОФИЛЯ
   --------------------------------------------------------- */

.section .forum-header-box {
    background: linear-gradient(
        100deg,
        #5148f4 0%,
        #8743df 48%,
        #ed32b4 100%
    );

    border: 0;
    border-radius: 9px 9px 0 0;

    box-sizing: border-box;
}

.section .forum-header-title {
    padding: 12px 14px;
}

.section .forum-header-title span {
    color: #fff;
    font-weight: 600;
}


/* Кнопки Подписки / Изменить профиль */

.section .forum-header-options {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 7px 10px;
}

.section .forum-header-options span {
    display: inline-block;
}

.section .forum-header-options a {
    display: inline-flex;
    align-items: center;

    min-height: 30px;

    padding: 4px 11px;

    border: 1px solid rgba(255,255,255,.45);
    border-radius: 7px;

    color: #fff !important;
    text-decoration: none;

    transition: .2s ease;
}

.section .forum-header-options a:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.8);
}


/* =========================================================
   ОСНОВНОЙ БЛОК ПРОФИЛЯ
   ========================================================= */

.section table.forum-post-table {
    width: 100%;

    border-collapse: collapse;
    border: 1px solid #e3d9f0;
    border-top: 0;

    background: #fff;

    border-radius: 0 0 9px 9px;
    overflow: hidden;
}


/* ---------------------------------------------------------
   ЛЕВАЯ КОЛОНКА — ПОЛЬЗОВАТЕЛЬ
   --------------------------------------------------------- */

.section table.forum-post-table td.forum-cell-user {
    width: 210px;

    background: #f7f3ff;

    border-color: #e4daf2;
}

.section .forum-user-info {
    padding: 16px;
}


/* Имя */
.section .forum-user-name {
    margin-bottom: 4px;
}

.section .forum-user-name span,
.section .forum-user-name a {
    color: #21192d;

    font-size: 1.08em;
    font-weight: 700;
}


/* Статус */
.section .forum-user-status {
    margin-bottom: 14px;
}

.section .forum-user-status span {
    display: inline-block;

    padding: 3px 8px;

    border-radius: 20px;

    background: linear-gradient(
        100deg,
        rgba(89,72,244,.12),
        rgba(232,50,182,.12)
    );

    color: #6842d9;

    font-size: .9em;
    font-weight: 600;
}


/* Дополнительные данные */

.section .forum-user-additional {
    display: flex;
    flex-direction: column;

    gap: 6px;

    color: #554c5f;
}

.section .forum-user-additional > span {
    display: block;

    line-height: 1.45;
}

.section .forum-user-additional > span > span {
    color: #21192d;
}


/* "+" для голоса */

.section .forum-vote-user a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: #eee8ff;

    color: #5948f4 !important;

    text-decoration: none;
}

.section .forum-vote-user a:hover {
    background: #5948f4;
    color: #fff !important;
}


/* ---------------------------------------------------------
   ПРАВАЯ КОЛОНКА — ИНФОРМАЦИЯ
   --------------------------------------------------------- */

.section table.forum-post-table td.forum-cell-post {
    background: #fff;

    border-color: #e8e0f2;
}

.section .forum-user-information {
    min-height: 180px;

    padding: 18px 20px;

    color: #504758;

    line-height: 1.55;
}

.section .forum-user-information i {
    color: #7d7385;
}


/* =========================================================
   КОНТАКТЫ / ДЕЙСТВИЯ
   ========================================================= */

.section table.forum-post-table td.forum-cell-contact,
.section table.forum-post-table td.forum-cell-actions {
    background: #fcfaff;

    border-color: #e6ddf2;
}


/* Левые ссылки */
.section .forum-contact-links {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    padding: 11px 14px;
}


/* Правые ссылки */
.section .forum-action-links {
    display: flex;
    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 7px;

    padding: 11px 14px;
}


/* Кнопки-ссылки */

.section .forum-contact-links a,
.section .forum-action-links a {
    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 4px 9px;

    border: 1px solid #ddd2ee;
    border-radius: 6px;

    background: #fff;

    color: #5948f4;

    text-decoration: none;
}

.section .forum-contact-links a:hover,
.section .forum-action-links a:hover {
    border-color: #bfa9e8;

    background: #f5efff;

    color: #d931b5;
}


/* =========================================================
   БЛОК ГОЛОСОВАНИЯ
   ========================================================= */

.section table.forum-post-table td.forum-column-footer {
    padding: 16px;

    background: #f2edff;

    border-color: #ded3ed;
}

.section .forum-vote-block {
    max-width: 650px;

    margin: 0 auto;

    text-align: center;

    color: #4c4355;

    line-height: 1.5;
}

.section .forum-vote-block > div {
    margin-bottom: 12px;
}


/* Форма голосования */
.section .forum-vote-block form {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;
}


/* Поле количества голосов */
.section .forum-vote-block input[type="text"] {
    width: 72px;
    min-height: 34px;

    padding: 5px 8px;

    border: 1px solid #d5c8e9;
    border-radius: 6px;

    background: #fff;

    text-align: center;

    box-sizing: border-box;
}

.section .forum-vote-block input[type="text"]:focus {
    outline: none;

    border-color: #7350ec;

    box-shadow: 0 0 0 2px rgba(115,80,236,.12);
}


/* Голосовать */
.section .forum-vote-block input[type="submit"] {
    min-height: 34px;

    padding: 5px 14px;

    border: 0;
    border-radius: 6px;

    background: linear-gradient(
        100deg,
        #5948f4,
        #db35ba
    );

    color: #fff;

    cursor: pointer;
}

.section .forum-vote-block input[type="submit"]:hover {
    opacity: .9;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 768px) {

    /* -----------------------------------------
       ШАПКА
       ----------------------------------------- */

    .section .forum-header-box {
        display: flex;
        flex-direction: column;

        border-radius: 8px 8px 0 0;
    }

    .section .forum-header-title {
        order: 1;

        padding: 11px 12px;
    }

    .section .forum-header-options {
        order: 2;

        float: none;

        display: flex;
        flex-wrap: wrap;

        width: 100%;

        padding: 0 12px 12px;

        box-sizing: border-box;
    }

    .section .forum-header-options a {
        min-height: 34px;
    }


    /* =====================================================
       ТАБЛИЦУ ПРОФИЛЯ ПРЕВРАЩАЕМ В ВЕРТИКАЛЬНУЮ
       ===================================================== */

    .section table.forum-post-table,
    .section table.forum-post-table tbody {
        display: block;

        width: 100%;
        max-width: 100%;
    }

    .section table.forum-post-table tbody tr {
        display: block;

        width: 100%;
    }

    .section table.forum-post-table td.forum-cell-user,
    .section table.forum-post-table td.forum-cell-post,
    .section table.forum-post-table td.forum-cell-contact,
    .section table.forum-post-table td.forum-cell-actions {
        display: block;

        width: 100% !important;
        max-width: 100%;

        box-sizing: border-box;
    }


    /* Пользователь */
    .section table.forum-post-table td.forum-cell-user {
        border-right: 0;
        border-left: 0;

        background: #f7f3ff;
    }

    .section .forum-user-info {
        padding: 16px;
    }


    /* Информация */
    .section table.forum-post-table td.forum-cell-post {
        border-right: 0;
    }

    .section .forum-user-information {
        min-height: 0;

        padding: 16px;
    }


    /* Контакты */
    .section table.forum-post-table td.forum-cell-contact {
        border-left: 0;
        border-right: 0;
        border-top: 1px solid #e4daf1;
    }

    .section .forum-contact-links {
        padding: 12px;

        gap: 7px;
    }


    /* Действия */
    .section table.forum-post-table td.forum-cell-actions {
        border-right: 0;
    }

    .section .forum-action-links {
        justify-content: flex-start;

        padding: 12px;

        gap: 7px;
    }


    /* -----------------------------------------
       FOOTER
       ----------------------------------------- */

    .section table.forum-post-table tfoot,
    .section table.forum-post-table tfoot tr,
    .section table.forum-post-table tfoot td {
        display: block;

        width: 100% !important;

        box-sizing: border-box;
    }

    .section table.forum-post-table td.forum-column-footer {
        padding: 15px 12px;
    }

    .section .forum-vote-block {
        max-width: 100%;
    }
}


/* =========================================================
   УЗКИЕ ТЕЛЕФОНЫ
   ========================================================= */

@media screen and (max-width: 480px) {

    /* Кнопки в цветной шапке */
    .section .forum-header-options span {
        flex: 1 1 auto;
    }

    .section .forum-header-options a {
        justify-content: center;

        width: 100%;

        box-sizing: border-box;
    }


    /* Ссылки действий */
    .section .forum-contact-links a,
    .section .forum-action-links a {
        flex: 1 1 auto;

        justify-content: center;

        text-align: center;
    }


    /* Голосование */
    .section .forum-vote-block form {
        flex-wrap: wrap;
    }

    .section .forum-vote-block input[type="text"] {
        width: 90px;
    }

    .section .forum-vote-block input[type="submit"] {
        min-height: 36px;
    }
}

.section .forum-tabs {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


/* Контейнер вкладок */
.section .forum-tabs-header {
    margin-bottom: 14px;
}

.section .forum-tabs-header .forum-profile-edit-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 8px;
}


/* Каждая вкладка */
.section .forum-tabs-header .forum-info-box {
    margin: 0;
    padding: 0;

    border: 1px solid #e2d7f1;
    border-radius: 8px;

    background: #fff;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.section .forum-tabs-header .forum-info-box-inner {
    padding: 11px 14px;

    color: #5948f4;

    font-weight: 500;

    box-sizing: border-box;
}


/* Наведение */
.section .forum-tabs-header .forum-info-box:hover {
    border-color: #cbb8eb;

    background: #faf7ff;

    transform: translateY(-1px);
}


/* Активная вкладка */
.section .forum-tabs-header .tab-container-selected {
    border-color: transparent;

    background: linear-gradient(
        100deg,
        #5148f4 0%,
        #8843df 50%,
        #ed32b4 100%
    );

    box-shadow: 0 4px 12px rgba(105, 67, 222, .15);
}

.section .forum-tabs-header
.tab-container-selected
.forum-info-box-inner {
    color: #fff;
}


/* =========================================================
   ОСНОВНОЙ БЛОК ФОРМЫ
   ========================================================= */

.section .forum-tabs-body > .forum-profile-edit {
    margin: 0;

    padding: 16px;

    border: 1px solid #e5daf2;
    border-radius: 10px;

    background: #fff;

    box-sizing: border-box;
}


/* Таблица формы */
.section table.forum-tab {
    width: 100%;

    border-collapse: separate;
    border-spacing: 0;

    table-layout: auto;

    background: #fff;
}


/* Левые подписи */
.section table.forum-tab th {
    width: 34%;

    padding: 11px 14px;

    background: #faf7ff;

    border: 0;
    border-bottom: 1px solid #eee7f5;

    color: #4c4258;

    font-weight: 500;

    text-align: left;
    vertical-align: middle;

    box-sizing: border-box;
}


/* Правая часть */
.section table.forum-tab td {
    width: 66%;

    padding: 9px 14px;

    background: #fff;

    border: 0;
    border-bottom: 1px solid #eee7f5;

    vertical-align: middle;

    box-sizing: border-box;
}


/* Скругление первой строки */
.section table.forum-tab tr:first-child th {
    border-radius: 8px 0 0 0;
}

.section table.forum-tab tr:first-child td {
    border-radius: 0 8px 0 0;
}


/* =========================================================
   ПОЛЯ
   ========================================================= */

.section table.forum-tab input[type="text"],
.section table.forum-tab input[type="password"],
.section table.forum-tab input[type="email"],
.section table.forum-tab select,
.section table.forum-tab textarea {
    width: 100%;
    max-width: 440px;

    min-height: 38px;

    padding: 7px 10px;

    border: 1px solid #d9cdec;
    border-radius: 7px;

    background: #fff;

    color: #241d2d;

    font: inherit;

    box-sizing: border-box;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


/* Textarea */
.section table.forum-tab textarea {
    min-height: 100px;

    resize: vertical;
}


/* Focus */
.section table.forum-tab input[type="text"]:focus,
.section table.forum-tab input[type="password"]:focus,
.section table.forum-tab input[type="email"]:focus,
.section table.forum-tab select:focus,
.section table.forum-tab textarea:focus {
    outline: none;

    border-color: #7350ec;

    box-shadow:
        0 0 0 3px rgba(115, 80, 236, .11);
}


/* Checkbox */
.section table.forum-tab input[type="checkbox"] {
    width: 17px;
    height: 17px;

    margin: 3px 6px 3px 0;

    accent-color: #7148e8;

    vertical-align: middle;
}


/* File */
.section table.forum-tab input[type="file"] {
    max-width: 100%;

    padding: 6px;

    border: 1px solid #ded4ec;
    border-radius: 7px;

    background: #faf8ff;

    box-sizing: border-box;
}


/* Календарь */
.section table.forum-tab img.calendar-icon {
    margin-left: 7px;

    vertical-align: middle;

    cursor: pointer;
}


/* =========================================================
   ВНУТРЕННИЕ ЗАГОЛОВКИ
   Например "Место жительства"
   ========================================================= */

.section table.forum-tab tr.header th {
    width: 100%;

    padding: 11px 14px;

    border-bottom: 0;

    background: linear-gradient(
        100deg,
        rgba(81, 72, 244, .10),
        rgba(237, 50, 180, .10)
    );

    color: #563fc5;

    font-weight: 600;
}


/* =========================================================
   ОБЯЗАТЕЛЬНЫЕ ПОЛЯ
   ========================================================= */

.section .starrequired {
    color: #e832b6;

    font-weight: 700;
}


/* Строка с пояснением обязательных полей */
.section table.forum-tab th[colspan="2"] {
    width: 100%;

    padding: 10px 14px;

    background: #f3edff;

    color: #665c70;

    font-size: .92em;

    border-radius: 0 0 8px 8px;
}


/* =========================================================
   КНОПКИ СОХРАНИТЬ / ОТМЕНА
   ========================================================= */

.section .forum-user-edit-buttons {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 16px;
}

.section .forum-user-edit-buttons input[type="submit"] {
    min-height: 40px;

    padding: 8px 18px;

    border: 0;
    border-radius: 8px;

    font: inherit;
    font-weight: 500;

    cursor: pointer;

    box-sizing: border-box;
}


/* Сохранить */
.section .forum-user-edit-buttons #save {
    background: linear-gradient(
        100deg,
        #5948f4,
        #dc35ba
    );

    color: #fff;

    box-shadow:
        0 4px 10px rgba(108, 66, 225, .17);
}


/* Отмена */
.section .forum-user-edit-buttons #cancel {
    border: 1px solid #d9cdec;

    background: #fff;

    color: #5948f4;
}


.section .forum-user-edit-buttons #save:hover {
    opacity: .9;
}

.section .forum-user-edit-buttons #cancel:hover {
    background: #f6f1ff;

    border-color: #c3afe5;
}


/* =========================================================
   MOBILE <= 768
   ========================================================= */

@media screen and (max-width: 768px) {

    /* -----------------------------------------
       Вкладки
       ----------------------------------------- */

    .section .forum-tabs-header .forum-profile-edit-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 7px;
    }

    .section .forum-tabs-header .forum-info-box-inner {
        padding: 10px 11px;

        line-height: 1.35;
    }


    /* -----------------------------------------
       Внешний блок
       ----------------------------------------- */

    .section .forum-tabs-body > .forum-profile-edit {
        padding: 12px;
    }


    /* =========================================
       Таблица -> обычная вертикальная форма
       ========================================= */

    .section table.forum-tab,
    .section table.forum-tab tbody,
    .section table.forum-tab tr {
        display: block;

        width: 100%;
        max-width: 100%;
    }


    .section table.forum-tab tr {
        margin-bottom: 14px;
    }


    /* Label */
    .section table.forum-tab th {
        display: block;

        width: 100% !important;

        padding: 0 0 6px;

        border: 0;
        border-radius: 0 !important;

        background: transparent;

        color: #554a60;

        font-weight: 500;

        box-sizing: border-box;
    }


    /* Input area */
    .section table.forum-tab td {
        display: block;

        width: 100% !important;

        padding: 0;

        border: 0;
        border-radius: 0 !important;

        background: transparent;

        box-sizing: border-box;
    }


    /* Все поля на всю ширину */
    .section table.forum-tab input[type="text"],
    .section table.forum-tab input[type="password"],
    .section table.forum-tab input[type="email"],
    .section table.forum-tab select,
    .section table.forum-tab textarea {
        width: 100% !important;
        max-width: 100% !important;
    }


    /* Заголовки групп */
    .section table.forum-tab tr.header {
        margin: 20px 0 14px;
    }

    .section table.forum-tab tr.header th {
        padding: 10px 12px;

        border-radius: 7px !important;

        background: linear-gradient(
            100deg,
            rgba(81, 72, 244, .10),
            rgba(237, 50, 180, .10)
        );

        color: #6042cf;
    }


    /* Пояснение обязательных полей */
    .section table.forum-tab th[colspan="2"] {
        padding: 10px 12px;

        border-radius: 7px !important;

        background: #f4efff;
    }


    /* Настройки с checkbox */
    .section #forum_4_edit_table td {
        line-height: 1.8;
    }


    /* -----------------------------------------
       Кнопки
       ----------------------------------------- */

    .section .forum-user-edit-buttons {
        margin-top: 14px;

        gap: 8px;
    }

    .section .forum-user-edit-buttons input[type="submit"] {
        min-height: 42px;
    }
}


/* =========================================================
   MOBILE <= 480
   ========================================================= */

@media screen and (max-width: 480px) {

    /* Вкладки по одной строке */
    .section .forum-tabs-header .forum-profile-edit-inner {
        grid-template-columns: 1fr;
    }


    .section .forum-tabs-body > .forum-profile-edit {
        padding: 10px;
    }


    /* Чуть выше поля — удобнее пальцем */
    .section table.forum-tab input[type="text"],
    .section table.forum-tab input[type="password"],
    .section table.forum-tab input[type="email"],
    .section table.forum-tab select {
        min-height: 42px;
    }


    /* Кнопки на всю ширину */
    .section .forum-user-edit-buttons {
        display: grid;

        grid-template-columns: 1fr 1fr;

        width: 100%;
    }

    .section .forum-user-edit-buttons input[type="submit"] {
        width: 100%;

        margin: 0;
    }
}

.section .forum-messages-folder {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    padding: 14px 16px;

    color: #342b3d;
    font-weight: 500;
}


/* Обертки input и кнопки */
.section .forum-messages-folder > span {
    display: inline-flex;
    align-items: center;
}


/* Название папки */
.section .forum-messages-folder input[type="text"] {
    width: 320px;
    max-width: 100%;
    height: 40px;

    padding: 8px 12px;

    border: 1px solid #d9cdec;
    border-radius: 8px;

    background: #fff;
    color: #251d2d;

    font: inherit;

    outline: none;
    box-sizing: border-box;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


/* Фокус */
.section .forum-messages-folder input[type="text"]:focus {
    border-color: #7048ed;

    box-shadow:
        0 0 0 3px rgba(112, 72, 237, .12);
}


/* Кнопка OK */
.section .forum-messages-folder input[type="submit"] {
    min-width: 70px;
    height: 40px;

    padding: 8px 17px;

    border: 0;
    border-radius: 8px;

    background: linear-gradient(
        100deg,
        #5848f4 0%,
        #9140dc 52%,
        #ed32b4 100%
    );

    color: #fff;

    font: inherit;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 4px 10px rgba(106, 66, 225, .18);

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        opacity .15s ease;
}


.section .forum-messages-folder input[type="submit"]:hover {
    transform: translateY(-1px);

    box-shadow:
        0 6px 14px rgba(106, 66, 225, .24);
}


.section .forum-messages-folder input[type="submit"]:active {
    transform: translateY(0);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {

    .section .forum-messages-folder {
        display: grid;
        grid-template-columns: 1fr;

        gap: 9px;

        padding: 14px;
    }


    /* Обертки */
    .section .forum-messages-folder > span {
        display: block;
        width: 100%;
    }


    /* Поле */
    .section .forum-messages-folder input[type="text"] {
        width: 100% !important;
        max-width: 100% !important;
        height: 44px;
    }


    /* Кнопка */
    .section .forum-messages-folder input[type="submit"] {
        width: 100%;
        height: 44px;

        margin-top: 2px;
    }
}

/* =========================================================
   LEVENÓ FORUM — НОВОЕ ЛИЧНОЕ СООБЩЕНИЕ
   ========================================================= */


/* ---------------------------------------------------------
   ОБЩИЙ БЛОК ФОРМЫ
   --------------------------------------------------------- */

.section form#REPLIER {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.section #REPLIER .forum-reply-fields {
    width: 100%;
    max-width: 100%;

    padding: 16px;

    border: 1px solid #e4d9f1;
    background: #fff;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   ПОЛЯ
   --------------------------------------------------------- */

.section #REPLIER .forum-reply-field {
    margin-bottom: 14px;
}

.section #REPLIER .forum-reply-field > label {
    display: block;

    margin-bottom: 7px;

    color: #3c3346;
    font-weight: 500;
}


/* Название сообщения + адресат */
.section #REPLIER #POST_SUBJ,
.section #REPLIER #input_USER_ID {
    width: 100%;
    max-width: 100%;
    height: 42px;

    padding: 8px 12px;

    border: 1px solid #d9cdec;
    border-radius: 8px;

    background: #fff;
    color: #271f30;

    font: inherit;

    outline: none;
    box-sizing: border-box;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.section #REPLIER #POST_SUBJ:focus,
.section #REPLIER #input_USER_ID:focus {
    border-color: #7048ed;

    box-shadow:
        0 0 0 3px rgba(112, 72, 237, .11);
}


/* Обязательная звездочка */
.section #REPLIER .forum-required-field {
    margin-left: 3px;

    color: #ed32b4;
    font-weight: 700;
}


/* =========================================================
   АДРЕСАТ
   ========================================================= */

.section #REPLIER .forum-reply-field-user {
    display: flex;
    align-items: flex-end;

    gap: 12px;

    margin-bottom: 4px;
}


.section #REPLIER .forum-reply-field-author {
    flex: 1 1 400px;

    min-width: 0;
    margin: 0;
}


.section #REPLIER .forum-reply-field-author > span {
    display: block;
    width: 100%;
}


.section #REPLIER .forum-reply-field-user-sep {
    display: none;
}


/* Найти адресата */
.section #REPLIER .forum-reply-field-email {
    flex: 0 0 auto;

    margin: 0;
}

.section #REPLIER .forum-reply-field-email br {
    display: none;
}


.section #REPLIER .forum-pmessage-recipient {
    display: block;
}


.section #REPLIER .forum-pmessage-recipient > a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 8px 14px;

    border: 1px solid #d8caeb;
    border-radius: 8px;

    background: #f8f4ff;

    color: #6546df !important;

    text-decoration: none;

    box-sizing: border-box;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}


.section #REPLIER .forum-pmessage-recipient > a:hover {
    border-color: #bfa9e7;

    background: #f1e9ff;

    color: #d832b5 !important;
}


/* =========================================================
   ЗАГОЛОВОК 'ТЕКСТ СООБЩЕНИЯ'
   ========================================================= */

.section #REPLIER .forum-reply-header {
    padding: 12px 16px;

    border: 0;

    background: linear-gradient(
        100deg,
        #5148f4 0%,
        #8a41df 50%,
        #ed32b4 100%
    );

    color: #fff;

    font-weight: 600;

    box-sizing: border-box;
}


.section #REPLIER .forum-reply-header .forum-required-field {
    color: #fff;
}


/* =========================================================
   BITRIX HTML EDITOR
   ========================================================= */

/*
   В исходной разметке Bitrix ставит:
   min-width:350px.
   Переопределяем его.
*/
.section #REPLIER .bx-html-editor {
    width: 100% !important;
    max-width: 100% !important;

    min-width: 0 !important;

    border: 1px solid #ded3ed;
    border-radius: 8px;

    overflow: hidden;

    box-sizing: border-box;
}


/* Toolbar */
.section #REPLIER .bxhtmled-toolbar-cnt,
.section #REPLIER .bxhtmled-toolbar {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box;
}


.section #REPLIER .bxhtmled-toolbar {
    background: #f8f5ff;
}


/*
   Bitrix прописывает этим элементам inline width в px.
   !important нужен намеренно.
*/
.section #REPLIER .bxhtmled-area-cnt {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box;
}


.section #REPLIER .bxhtmled-iframe-cnt,
.section #REPLIER .bxhtmled-textarea-cnt {
    width: 100% !important;
    max-width: 100% !important;

    left: 0 !important;

    box-sizing: border-box;
}


.section #REPLIER .bx-editor-iframe,
.section #REPLIER .bxhtmled-textarea {
    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box;
}


/* =========================================================
   НАСТРОЙКИ СООБЩЕНИЯ
   ========================================================= */

.section #REPLIER .forum-reply-field-settings {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin: 16px 0 4px;
}


.section #REPLIER .forum-reply-field-setting {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    padding: 10px 12px;

    border: 1px solid #ebe3f4;
    border-radius: 7px;

    background: #faf8ff;

    color: #4c4356;

    line-height: 1.45;

    box-sizing: border-box;
}


.section #REPLIER .forum-reply-field-setting input[type="checkbox"] {
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    margin: 1px 0 0;

    accent-color: #7048ed;

    cursor: pointer;
}


.section #REPLIER .forum-reply-field-setting label {
    cursor: pointer;
}


/* =========================================================
   КНОПКА ОТПРАВИТЬ
   ========================================================= */

.section #REPLIER .forum-reply-buttons {
    display: flex;

    margin-top: 16px;
}


.section #REPLIER #SAVE_BUTTON {
    min-width: 140px;
    min-height: 42px;

    padding: 9px 20px;

    border: 0;
    border-radius: 8px;

    background: linear-gradient(
        100deg,
        #5948f4 0%,
        #9140dc 52%,
        #ed32b4 100%
    );

    color: #fff;

    font: inherit;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 4px 12px rgba(105, 65, 224, .20);

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        opacity .15s ease;
}


.section #REPLIER #SAVE_BUTTON:hover {
    transform: translateY(-1px);

    box-shadow:
        0 6px 15px rgba(105, 65, 224, .26);
}


.section #REPLIER #SAVE_BUTTON:active {
    transform: translateY(0);
}


/* =========================================================
   MOBILE — до 768px
   ========================================================= */

@media screen and (max-width: 768px) {

    .section #REPLIER {
        width: 100%;
        max-width: 100%;

        overflow: hidden;
    }


    .section #REPLIER .forum-reply-fields {
        padding: 12px;
    }


    /* -----------------------------------------
       Адресат становится вертикальным
       ----------------------------------------- */

    .section #REPLIER .forum-reply-field-user {
        display: block;

        width: 100%;
    }


    .section #REPLIER .forum-reply-field-author {
        width: 100%;

        margin-bottom: 9px;
    }


    .section #REPLIER .forum-reply-field-email {
        width: 100%;

        margin-bottom: 14px;
    }


    .section #REPLIER .forum-pmessage-recipient {
        width: 100%;
    }


    .section #REPLIER .forum-pmessage-recipient > a {
        width: 100%;
    }


    /* -----------------------------------------
       Поля
       ----------------------------------------- */

    .section #REPLIER #POST_SUBJ,
    .section #REPLIER #input_USER_ID {
        width: 100% !important;
        max-width: 100% !important;

        height: 44px;
    }


    /* -----------------------------------------
       Редактор
       ----------------------------------------- */

    .section #REPLIER .forum-reply-field-text {
        width: 100%;
        max-width: 100%;

        overflow: hidden;
    }


    .section #REPLIER .bx-html-editor {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /*
       Панель инструментов Bitrix довольно широкая.
       Разрешаем горизонтальную прокрутку только панели,
       а не всей странице.
    */
    .section #REPLIER .bxhtmled-toolbar-cnt {
        width: 100% !important;
        max-width: 100% !important;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;
    }


    .section #REPLIER .bxhtmled-toolbar {
        width: max-content !important;
        min-width: 100%;

        white-space: nowrap;
    }


    /*
       Само поле текста остается строго
       в пределах мобильного экрана.
    */
    .section #REPLIER .bxhtmled-area-cnt,
    .section #REPLIER .bxhtmled-iframe-cnt,
    .section #REPLIER .bxhtmled-textarea-cnt {
        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;

        left: 0 !important;
    }


    /* -----------------------------------------
       Настройки
       ----------------------------------------- */

    .section #REPLIER .forum-reply-field-setting {
        width: 100%;

        padding: 10px;

        font-size: .95em;
    }


    /* -----------------------------------------
       Отправить
       ----------------------------------------- */

    .section #REPLIER .forum-reply-buttons {
        width: 100%;
    }


    .section #REPLIER #SAVE_BUTTON {
        width: 100%;

        min-height: 44px;
    }
}


/* =========================================================
   УЗКИЕ ТЕЛЕФОНЫ — до 480px
   ========================================================= */

@media screen and (max-width: 480px) {

    .section #REPLIER .forum-reply-fields {
        padding: 10px;
    }


    .section #REPLIER .forum-reply-header {
        padding: 11px 12px;
    }


    /* Немного увеличиваем редактор */
    .section #REPLIER .bx-html-editor {
        height: 260px !important;
    }


    .section #REPLIER .bxhtmled-area-cnt {
        height: 220px !important;
    }


    .section #REPLIER .bxhtmled-iframe-cnt,
    .section #REPLIER .bxhtmled-textarea-cnt {
        height: 220px !important;
    }
}


/* End */
/* /local/templates/leveno/components/bitrix/forum/new-template/style.css?178706393143125 */
/* /local/templates/leveno/components/bitrix/forum/new-template/themes/fluxbb/style.css?178706798742578 */
/* /local/templates/leveno/components/bitrix/forum/new-template/styles/additional.css?178706180573927 */
