/* Theme version: 1.50-alt. */
:root {
	--post-text-font-size: 16px; /* Будет изменяться через JS */
}

body {
	background: #1A202C;
	color: #555;
	text-align: center;
	line-height: 1.5;
	margin: 0;
	overflow-y: scroll;
	text-rendering: optimizeLegibility;
	background: url(https://i.ibb.co/fztTz3Pk/be16a6e9ad0e.jpg) no-repeat center center fixed;
	background-size: cover;

	font-family: "Open Sans", Arial, Sans-serif;
	font-size: 13px;
}

/*Картинки внутри превью*/
.custom_preview_post img.mycode_img {
	max-width: 100%;  /* Максимальная ширина = 100% родителя */
	height: auto;     /* Высота подстраивается автоматически */
	display: block;   /* Убирает лишние отступы у inline-элементов */
}

/*Маски выпадашка*/
.custom-select-wrapper {
	position: relative;
	width: 100%;
	max-width: 300px;
}

.custom-select {
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
	background: white;
}

.selected-option {
	padding: 8px 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.custom-options {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	border: 1px solid #ddd;
	border-top: none;
	background: white;
	z-index: 1000;
	max-height: 300px;
	overflow-y: auto;
}

.option {
	padding: 8px 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.option:hover {
	background-color: #f5f5f5;
}

.option-avatar {
	width: 48px;
	height: auto;
	border-radius: 4px;
	object-fit: cover;
}

.option-text {
	flex: 1;
	min-width: 0;
	padding-left: 4px;
}

.option-name {
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.option-status {
	color: #666;
	font-size: 0.85em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*Конец выпадашек маски*/

.user_browsing_thread {
	background: #DCE6F2;
	padding: 4px;
}

#custom-bbcode-mask-avatar.dragover {
	border: 2px dashed #4CAF50 !important;
	background-color: rgba(76, 175, 80, 0.1) !important;
}

/* Доп. инфа о юзере. */
.author_information .smalltext.description {
	width: 100%;
	display: block;
	background: #9BBBD4;
	border: 1px solid #39415E;
	border-radius: 4px;
	max-width: 192px;
	left: 50%;
	transform: translateX(-50%);
	position: relative;
	margin-top: 4px;
	padding: 4px;
}

.user_points_wrapper {
	display: flex;
	justify-content: center; 
	align-items: center;    
	gap: 5px;               
	width: 100%;
}

.largetext.username {
	display: flex;
	justify-content: center;
	gap: 4px;
}

.mycode_table_data,
.mycode_table_data div,
.mycode_table_data p,
.spoiler-box,
.spoiler-title,
.spoiler-content {
	vertical-align: top;
	margin: 0;
}

/* Список форумов в поиске */
.forumlist {
	width: 100%;
	height: 100%;
}

/* Спойлеры */
.spoiler-box {
	background: #C3D8F3;
}

.spoiler-title {
	cursor: pointer;
	background: #39415E;
}

.spoiler-title .post-text {
	color: white;
	padding-left: 10px;
}

.spoiler-content {
	padding: 0px 10px 10px 10px;
}

/* Текст для закрепления/открепления поста */
.stick_post {
	cursor: pointer;
}

/* Чекбокс и лейбл к нему*/
.custom-bbcode-checkbox {
	float: left;
}

.custom-bbcode-label {
	color: black;
}

/* Кнопочка лайка и подсчета символов*/
.additional_buttons {
	display: flex;
	justify-content: space-between;
}

/* Подсчет символов в постах. Обновляемое. */
.char_count_box {
	background: linear-gradient(to right, #C3D8F3, #C3D8F3);;
	color: #5C6BC0;
	padding: 5px 10px;
	border-radius: 5px;
	box-shadow: 0 8px 8px rgba(60, 100, 160, 0.12), 0 2px 4px rgba(60, 100, 160, 0.08);
	opacity: 0.7;
	display: unset;
	float: right;
	
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
}

/* Стикеры */
#custom-bbcode-set-stickers {
	width: 440px;
}

#custom-bbcode-set-mask {
	width: 300px;
}

.sticker-tabs {
	display: flex;
	margin-bottom: 10px;
}

.sticker-tab-button {
	padding: 5px 10px;
	margin-right: 5px;
	cursor: pointer;
	border: none;
	border-radius: 5px;
}

.sticker-tab-button.active {
	background-color: #2c82c9;
	font-weight: bold;
}

/* Стилировка таб-контента */
.sticker-tab-content {
	display: none;
	flex-wrap: wrap;
	width: 100%; 
	min-height: 150px;
}

.sticker-group {
	display: flex;
	flex-wrap: wrap;
}

.sticker-img {
	/*    
	width: 50px;
	height: 50px;
	*/
	width: 90px;
	height: auto;
	margin: 5px;
	cursor: pointer;
	max-width: 100%;
	max-height: 100%;
	border: 2px solid rgba(0,0,0,0.15);
	box-shadow: 0 0 8px 2px rgba(0,0,0,0.15);
}

/* Кнопка репутации юзера в постах */
.user_rep {
	float: right;
	position: relative;
}

/* Тег для обёртки постов. Если есть место, где менять не надо, то нужно обернуть в какой-нибудь тег+класс и переназначить параметры. */
.profile_field .post-text, .smalltext .post-text {
	font-size: 13px;
	margin: 0px;
}

.post-text {
	color: #1a1a1a;
	font-size: var(--post-text-font-size);	
	white-space: pre-wrap;
}

a .post-text {
	color: #5c6bc0;
}

/* */

.post_body::after {
	content: "";
	display: table;
	clear: both;
}

.user_mask {
	display: none;
}

.custom-labels {
	color: black;
}

.postbit_quote, .postbit_edit, .postbit_mention {
	cursor: pointer;
}

/* Быстрый предпросмотр. */
/* Стили для <td> */
.custom_preview_post {
	padding: 0px;
	margin: 0;
	border: none;
	width: auto;
	height: auto;
	overflow: visible; /* Разрешает элементам внутри управлять переполнением */
	background: white;
}

/* Стили для родительского <div> внутри <td> */
.custom_preview_post > div {
	position: relative;
	width: 100%;
	height: 100%;

	/* max-height: 300px;  Максимальная высота контейнера */
	overflow: hidden; /* Скрывает переполнение, позволяет прокрутку внутри вложенных элементов */
}

/* Стили для #custom_preview_post */
#custom_preview_post {
	display: none;
	font-size: 14px;
	padding: 7px 8px;
	color: #555;
	word-wrap: break-word;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	max-height: 100%; /* Высота ограничена высотой родительского <div> */
	overflow-y: auto;
	resize: vertical;
}

.postbit_buttons {
	cursor:pointer;
}

/* Редактура в быстром ответе */
#cancelEditing {
	display: none;
}

#cancelEditing[data-visible="true"] {
	display: inline-block;
}

/* Свои BB-коды в быстром ответе. */
.custom_bbcodes {
	padding: 5px;
	background: #f5f7f9;
	border-left: 1px solid #d7dfe3;
	border-top: 1px solid #d7dfe3;
	border-right: 1px solid #d7dfe3;
}

.button-container {
	display: flex;
	flex-wrap: wrap; /* Автоматически переносит кнопки на новую строку, если не хватает места */
	gap: 10px; /* Расстояние между кнопками */
	align-items: center; /* Центрирует кнопки по вертикали */
}

.custom-bbcode-button {
	padding: 3px;
	margin: 0;
	box-sizing: border-box; /* Учитывает паддинг и бордер в общей ширине */
	width: 30px;
	height: 30px;
	vertical-align: middle;
	font-size: 16px;
	position: relative;
}

.custom-bbcode-span {
	padding: 3px;
	margin: 0;
	box-sizing: border-box; /* Учитывает паддинг и бордер в общей ширине */
	vertical-align: middle;
	font-size: 14px;
	background: #039be5;
	display: block;
}

.custom-bbcode-select {
	display: block;
	font-size: 14px;
	padding: 3px;
	margin: 0;
	box-sizing: border-box; /* Учитывает паддинг и бордер в общей ширине */
}

.custom-bbcode-span:hover {
	background:#0288d1;
	cursor: pointer;
}

.custom-bbcode-popup-menu {
	cursor: default;
}

.custom-bbcode-popup-menu, .custom-bbcode-dropdown-menu {
	flex-direction: column; /* Если нужно вертикальное размещение */
	gap: 10px; /* Отступ между элементами */
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	padding: 10px;
	margin-top: 5px;
	min-width: 200px;
	max-height:250px;
	overflow:auto;
	border: 1px solid black;
}

.custom-bbcode-popup-menu > button {
	width: 100%;
}

.custom-bbcode-dropdown-menu > button {
	display: block;
	background-color: #4CAF50;
	color: white;
	padding: 5px;
	width: 100%;
	border: none;
	cursor: pointer;
	text-align: left;
}

/* Конец своих ББ-кодов. */

/* Стили для модального окна */
.user_card_modal {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	visibility: hidden;
	z-index:9999;
	opacity: 0;
	transition: visibility 0s linear 0.3s, opacity 0.3s;
	background-color: rgba(0, 0, 0, 0.5);
}

.user_card_modal.active {
	visibility: visible;
	opacity: 1;
	transition-delay: 0s;
}

.modal-content {
	position: relative;

	width: 75vw;
	/*
	max-width: 44.8%;
	height: 76vh;
	*/
	height: 40vw;
	max-height: 40vw;

	background: #DCE6F2;
	border: 2px solid #39415E;
	padding: 10px;
	border-radius: 8px;

	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start; /* Выравниваем элементы по началу вертикальной оси */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	overflow: auto;
	box-sizing: border-box; /* Чтобы padding не ломал ширину */
}

@media screen and (orientation: portrait) {
	.modal-content {
		max-height:75vw;
		height: 75vw;
		width: 95vw;
}


}

.card_name {
	display: flex;
	background: #39415E;
	border-radius: 8px;
	height: 40px;
	font-size: 16px;
	color: white;
	align-items: center;
	justify-content: center;
}

.card_avatar_section {
	box-sizing: border-box; 
	border-radius: 8px;
}

/* Статы (левый блок) */
.card_stats_section,
.card_description {
	box-sizing: border-box; /* Фикс переполнения */
	border: 2px solid #39415E;
	background: #C3D8F3;
	border-radius: 8px;
	padding: 10px;
}

.card_flex_row {
	display: flex;
	gap: 10px;
	width: 100%;
}

/* Первая строка - фиксированная высота 200px */
.card_flex_row.card_first_row {
	height: 200px; /* Фиксируем высоту */
	flex-shrink: 0; /* Запрещаем сжатие */
}

/* Остальные строки - растягиваются равномерно */
.card_flex_row:not(.card_first_row) {
	flex: 1; /* Занимают всё доступное пространство */
	min-height: 0; /* Важно! Иначе flex не будет работать */
}

/* Подгоняем ширину остальных блоков */
.card_stats_section {
	flex: 1; /* Занимает всё доступное пространство слева */
	min-width: 0; /* Фикс переполнения текста */
}

.card_stats_section {
	display: flex;
	flex-direction: column;
	justify-content: space-between; /* Равномерно распределяем по высоте */
	height: 100%; /* Занимаем всю высоту родителя */
	padding: 10px;
	box-sizing: border-box;
	gap: 10px; /* Отступ между рядами */
}

.card_stat_row {
	display: flex;
	gap: 10px;
	width: 100%;
	flex: 1; /* Растягиваем ряды по высоте */
	max-height: calc(33.33% - 7px); /* Примерно 1/3 высоты с учетом gap */
}

.card_stat_row > div {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between; /* Название слева, значение справа */
	padding: 8px;
	background-color: #f5f5f5;
	border-radius: 4px;
	min-width: 0;
}

/* Для однострочных статов (Телосложение) */
.card_stat_row.card_single_stat > div {
	justify-content: center; /* Центрируем если стат один в строке */
}

.card_info_section {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%; /* Занимаем всю высоту родителя */
}

.card_avatar_section {
	width: 200px; /* Фиксированная ширина */
	height: 200px; /* Фиксированная высота */
	flex: 0 0 auto; /* Отключаем flex-растяжение */
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden; /* Обрезаем всё, что вылезает */
}

/* Строка навыка */
.card_row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding: 8px 12px;
	background-color: white;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	transition: all 0.3s ease; /* Плавные переходы для изменений */
}

/* Текст навыка (левая часть) */
.card_text {
	flex: 1;
	font-size: 14px;
	color: #333;
	font-weight: 500;
}

/* Значение навыка (правая часть) */
.card_value {
	font-size: 16px;
	font-weight: bold;
	color: #1d1d1d;
	background-color: #C3D8F3;
	padding: 4px 10px;
	border-radius: 8px;
	/*min-width: 24px;*/
	text-align: center;
}

/* Нижние секции (должны быть равными) */
.card_description,
.card_skills_section,
.card_artifacts_section,
.card_gifts_section,
.card_achievements_section {
	flex: 1; /* Занимают равное пространство */
	min-height: 80px;
	background: #C3D8F3;
	border: 2px solid #39415E;
	border-radius: 8px;
	padding: 10px;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	text-align: left;
	word-wrap: break-word;

	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

/*
#data-table {
width: 100%;
height: 100%;
table-layout: fixed;
}

#data-table tr:first-child {
height: 27%;
}

#data-table tr:nth-child(2),
#data-table tr:nth-child(3) {
height: 36.5%;
}

.close-wrapper {
position: absolute;
top: 10px;
right: 10px;
}

.close_user_card {
cursor: pointer;
font-size: 1.2em;
}

#data-table td,
#data-table th {
padding: 10px;
word-wrap: break-word;
}

#user-card-avatar {
width: 20%; 
height: auto;
}

#user-card-avatar-image {
width: 100%;
height: auto;
object-fit: contain;
}

.user-card-table-cell {
word-wrap: break-word;
padding: 10px;
border: 1px solid #ddd;
background-color: #f9f9f9;
border-radius: 4px;
}

#user-card-skills-info {
min-height: 150px;
max-height: 150px; 
overflow-y: auto; 
overflow-x: hidden; 
padding: 10px;
border: 1px solid #ddd;
background-color: #f9f9f9;
border-radius: 4px;
}

#user-card-own-info {
min-height: 150px;
max-height: 150px; 
overflow-y: auto; 
overflow-x: hidden; 
padding: 10px;
border: 1px solid #ddd;
background-color: #f9f9f9;
border-radius: 4px;
}

hr.user-card-hr {
border: 1px solid #ccc;
}

#user-card-physical-table,
#user-card-giftsl-table {
width: 100%;
}

#user-card-username {
font-size: 1.5em;
}

#user-card-additional {
word-wrap: break-word;
overflow-y: auto; 
min-height: 150px;
max-height: 150px; 
padding: 10px;
border: 1px solid #ddd;
background-color: #f9f9f9;
border-radius: 4px;
}

*/
/* Конец карточки персонажа */

a:link,
a:visited,
a:active {
	color: #5c6bc0;
	text-decoration: none;
}

a:hover {
	color: #283593;
}

strong, b {
	font-weight: 600;
}

#container {
	font-size: 13px;
	margin: 0;
	color: #1d1d1d;
	text-align: left;
	min-width: 900px;
}

.wrapper {
	margin: auto auto;
	max-width: 80vw;
}

#logo {
	background: url(https://i.ibb.co/QFSRh7Nk/7f8ba11efd2f.png) no-repeat 0% 10% / cover;
	width: 100%;
	height: 220px;
	display: flex;
	padding: 0 15px;
	display: -webkit-flex;
	display: -ms-flexbox;
	box-sizing: border-box;
}

#logo .wrapper {
	width: 100%;
}

#logo h2 {
	font-size: 24px;
	color: #fff;
	margin: 0;
	font-weight: 400;
	font-family: inherit;
}

#logo .sub {
	color: #ccc;
	font-size: 14px;
}

#content {
	width: auto !important;
	padding: 40px 10px;
}

#header {
	position: sticky;
	top: 0px;
	z-index: 777;
}

#header ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
	float: none;
	display: flex;
	flex-wrap: wrap;
}

#header ul.menu li {
	margin: 0 9px;
	display: inline;
}

#header ul.menu li a {
	display: inline-block;
}

#logo ul.top_links {
	font-weight: 600;
	text-align: right;
	margin: -10px 5px 0 0;
}

#panel .upper a.logout {
	font-weight: 400;
	padding-right: 20px;
	margin-left: 10px;
}

#panel .upper a.login,
#panel .upper a.lost_password {
	padding: 7px 21px 7px 20px;
	background: #2c82c9;
	border-radius: 2px;
}

#panel .upper a.register {
	padding: 7px 21px 7px 20px;
	margin-left: 7px;
	background: #d98b3a;
	border-radius: 2px;
}

#panel .upper a.login:hover {
	background: #6e88ea; 
	color: #fff; 
	text-decoration: none;
}

#panel .upper a.register:hover {
	background: #fcb941; 
	color: #555; 
	text-decoration: none;
}

#panel .upper {
	position: relative;
	overflow: hidden;
	color: #fff;
	line-height: 63px;
	min-height: 62px;
	padding: 0px 15px;
	clear: both;
	background: #262e38;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
	color: #fff;
}

#panel .upper ul li a:hover {
	color: #9fa8da;
	text-decoration: none;
}

#panel .upper ul li {
	margin: 0 15px;
}

#panel .upper ul li:last-child {
	margin-right: 0;
}

a#dropmenu:hover {
	color: #9fa8da !important;
	text-decoration: none;
}

#search {
	border: 0;
	padding: 0;
	margin: 0;
	float: right;
	vertical-align: middle;
}

#search input.button,
#search input.textbox {
	border-color: #000;
}

#search input.button {
	background: #0066a2 url(../../../images/thead.png) top left repeat-x;
	color: #fff;
}

#search input {
	margin: -3px 0;
}

#quick_login .remember_me input {
	vertical-align: middle;
	margin: -3px 0 0 5px;
}

#footer {
	clear: both;
	background: #263238;
}

#footer ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer ul.menu li {
	margin: 0 5px;
	display: inline;
}

#footer .upper {
	margin: 0px auto;
	max-width: 1370px;
	font-size: 13px;
	overflow: hidden;
	color: #fff;
	padding: 1.25rem;
	border-bottom: 1px solid rgba(255, 255, 255, .05);
}

#footer .upper a:link,
#footer .upper a:visited,
#footer .upper a:active{
	text-transform: uppercase;
	color: #fff;
	font-weight: 600;
}

#footer .upper a:hover {
	text-decoration: underline;
}

#footer .upper ul.menu li:first-child {
	margin-left: 0;
}

#footer a:link,
#footer a:visited,
#footer a:active {
	color: #888;
}

#footer a:hover {
	color: #555;
}

#footer .upper .language {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .language select {
	border-color: #ccc;
}

#footer .upper .theme {
	float: right;
	margin: -1px;
}

#footer .upper .theme select {
	border-color: rgba(0, 0, 0, .34);
	background: #1c262b url(../../../images/flatty/arrow-down.png) no-repeat 93% 55%;
	background-size: 10px;
	-moz-appearance: none;
	-webkit-appearance: none;
}

#footer .lower .theme select {
	border-color: rgba(0, 0, 0, .34);
	background: #1c262b url(../../../images/flatty/arrow-down.png) no-repeat 93% 55%;
	background-size: 10px;
	-moz-appearance: none;
	-webkit-appearance: none;
}

#footer .upper ul.bottom_links {
	float: left;
	margin: 4px 0 0 0;
}

#footer .lower {
	margin-bottom: -1px;
	overflow: hidden;
	color: #ccc;
	font-size: 12px;
	padding: 1.25rem;
}

#footer .lower a:link,
#footer .lower a:visited,
#footer .lower a:active {
	color: #fff;
}

#footer .lower a:hover {
	text-decoration: underline;
}

#footer .lower #current_time {
	float: right;
	color: #777;
}

#debug {
	float: right;
	text-align: right;
	margin-top: 20px;
	font-size: 11px;
}

.scaleimages img {
	max-width: 100%;
}

.forum_status {
	cursor: default;
	font-size: 28px;
	padding-left: 8px;
	margin-right: -8px;
	text-align: center;
}

.forum_status i {
	display: inline-block;
	line-height: 50px;
	color: #8fa8f6;
}

.forum_on {
	color: #0094d1;
}

.forum_off, 
.forum_offlock, 
.forum_offlink {
	color: #333;
}

.forum_off i {
	opacity: .7;
}

.forum_offclose i:before {
	content: "\f023";
	color: #ef7351;
}

.forum_offlink i:before {
	content: "\f0c1"; 
	color: #44ce9d;
}

.subforumicon {
	display: inline-block;
	font-size: 10px;
	height: 10px;
	width: 10px;
	margin: 0px 3px 0px 4px;
}

.subforum_minion {
	color: #555;
}

.subforum_minioff, 
.subforum_minioffclose,
.subforum_miniofflink {
	color: #555;
}

.subforum_minioff {
	opacity: .5;
}

.subforum_minioffclose i:before {
	content: "\f023";
}

.subforum_miniofflink i:before {
	content: "\f0c1";
}

table {
	color: #555;
	font-size: 13px;
}

.tborder {
	margin: auto auto;
	width: 100%;
	box-shadow: 0 2px 3px -2px rgba(0, 0, 0, .15), 0 2px 1px -1px rgba(0, 0, 0, .03);
}

.tfixed {
	table-layout: fixed;
	word-wrap: break-word;
}

.thead {
	background: #2c82c9;
	color: #fff;
	line-height: 24px;
	padding: 1rem 1.2rem;
	font-size: 14px;
	font-family: inherit;
}

.thead a:link,
.thead a:visited,
.thead a:active {
	color: #fff;
	text-decoration: none;
}

.thead a:hover {
	text-decoration: underline;
}

.thead.sidebar {
	background: #494d5d;
	padding: .95rem 1.2rem;
}

.thead.signin {
	background: #fff;
	font-size: 24px;
	color: #546e7a !important;
	text-align: center;
	padding: 3rem;
	padding-bottom: 2rem;
	margin: -30px -30px 20px -30px;
}

.tcat {
	background: #e0f7fa;
	font-size: 12px;
	box-sizing: border-box;
	color: #607d8b;
	padding: 11px 20px 9px 18px;
	border-bottom: 1px solid #e7e7e7;
}

.tcat a:link,
.tcat a:visited,
.tcat a:active {
	color: #3c699c;
}

.tcat a:hover {
	color: #388e3c;
}

.trow1 {
	background: #dce6f2;
	padding: 0.9rem 1.1rem;
	border-bottom: 1px solid #ececec;
}

.trow1.no_bottom_border {
	background: rgb(254,254,254);
	border: 0px;
}

.trow2 {
	background: #d7e1ee;
	padding: 0.9rem 1.1rem;
	border-bottom: 1px solid #ececec;
}

.trow_shaded {
	background: #ffdde0;
	padding: 0.9rem 1.1rem;
	border-bottom: 1px solid #ececec;
}

.no_bottom_border {
	border-bottom: 0;
}

.post.unapproved_post {
	background: #ffdde0;
}

.post.unapproved_post .post_author {
	border-bottom-color: #ffb8be;
}

.post.classic.unapproved_post .post_author {
	border-color: #ffb8be;
}

.post.unapproved_post .post_controls {
	border-top-color: #ffb8be;
}

.trow_deleted,
.post.deleted_post {
	background: #e0f7fa;
}

.trow_selected,
tr.trow_selected td {
	background: #fffbd9;
	color: #333;
	border-right-color: #f7e86a;
	border-bottom-color: #f7e86a;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: #333;
}

.trow_sep {
	background: #f5f5f5;
	color: #555;
	padding: 9px 18px;
	font-size: 12px;
	border-bottom: 1px solid #eaeaea;
}

.tfoot {
	padding: 10px 11px;
	color: #777;
	background: #f5f7f9;
}

.tfoot a:link,
.tfoot a:visited,
.tfoot a:active {
	color: #555;
	text-decoration: none;
}

.tfoot a:hover {
	text-decoration: underline;
}

.thead input.textbox,
.thead select {
	border: 1px solid #263c30;
}

.bottommenu {
	background: #efefef;
	color: #555
		border: 1px solid #4874a3;
	padding: 10px;
}

.navigation {
	margin-bottom: 13px;
	padding: 0 19px;
	font-family: inherit;
	color: #eee;
	border-radius: 2px;
	font-size: 13px;
	overflow: hidden;
	height: 48px;
	line-height: 48px;
	background: #a19c69;
	border: 1px solid #27ae60;
}

.navigation a:link,
.navigation a:visited,
.navigation a:active {
	color: #eee;
	text-decoration: none;
}

.navigation a:hover {
	color: #fff;
	text-decoration: underline;
}

.navigation .active i:before {
	content: "\f015";
	color: #fff;
}

.navigation .active {
	font-weight: 600;
	color: #fff;
	font-size: 13px;
}

.smalltext {
	font-size: 13px;
}

.smalltext.description {
	color: #607d8b;
}

.smalltext.description a, 
.smalltext.author a {
	color: #546e7a !important;
}

.smalltext.description a:hover, 
.smalltext.author a:hover {
	color: #455a64 !important;
	text-decoration: none;
}

.largetext {
	font-size: 16px;
	font-weight: 600
}

fieldset {
	padding: 12px;
	border: 1px solid #ddd;
	margin: 0;
}

fieldset.trow1,
fieldset.trow2 {
	border-style: dashed;
	border-color: #cfd8dc;
	background: #f9fafb;
}

fieldset.align_right {
	text-align: right;
}

fieldset.inboxBg {
	border-radius: 3px 3px 1px 1px;
	background: #fff;
	padding-top: 0.9rem;
	padding-left: 1.1rem;
	border: 1px solid #d7dfe3;
	border-top: 2px solid #c5cae9;
}

fieldset.attached-files {
	background: #eceff1;
	padding: 15px 20px; 
	border: 1px solid #cfd8dc;
}

fieldset.away-banned {
	background: #fff;
	padding: 15px 20px;
}

input.textbox {
	background: #fff;
	color: #999;
	border: 1px solid #ddd;
	padding: 5px 7px;
	outline: 0;
	box-sizing: border-box;
	font-size: 13px;
	font-family: inherit;
}

input.textbox:focus {
	border: 1px solid #bbb;
	box-shadow: 0 0 3px 0 #ddd;
}

input.textbox.portal_search {
	width: 68%;
}

textarea {
	background: #fff;
	color: #455a64;
	border: 1px solid #ddd;
	padding: 8px;
	line-height: 1.5;
	outline: 0;
	font-family: inherit;
	font-size: 13px;
	box-sizing: border-box;
}

textarea:focus {
	border: 1px solid #b0bec5;
}

select {
	font-family: inherit;
	font-size: 13px;
	border: 1px solid #eaeaea; 
	outline: 0;
	height: 32px;
	padding: 0 45px 0 8px;
	color: #777;
	background: #fff url(../../../images/flatty/arrow-down.png) no-repeat 93% 55%;
	background-size: 10px;
	-moz-appearance: none;
	-webkit-appearance: none;
}

button {
	margin: 8px 6px 0 0;
}

button, input.button {
	padding: 6px 15px 6px 12px;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	background: #DCE6F2;
	border: 0 !important;
	outline: 0 !important;
	color: #1a1a1a;
	border-radius: 2px !important;
	transition: background 0.3s ease, color 0.3s ease !important;
}

button:hover,
input.button:hover {
	border-color: #bbb; 
	background: #2c82c9 ;
}

form {
	margin: 0;
	padding: 0;
}

input.error, textarea.error, select.error {
	border: 1px solid #f30;
	color: #f30;
}

input.valid, textarea.valid, select.valid {
	border: 1px solid #0c0;
}

label.error {
	color: #f30;
	margin: 5px;
	padding: 0px;
	display: block;
	font-weight: 600
		font-size: 12px;
}

form #message {
	width: 500px;
	box-sizing: border-box;
}

.editor {
	background: #f1f1f1;
	border: 1px solid #ccc;
}

.editor_control_bar {
	padding: 7px 0;
	width: 100%;
	box-sizing: border-box;
}

.post .editor_control_bar {
	background: #f5f5f5;
}

.popup_menu {
	margin-left: -1px;
	z-index: 75;
	box-shadow: 0 2px 3px 0px rgba(0, 0, 0, .25);
	border-radius: 3px !important;
	padding: 3px 0 3px 0;
	background: rgb(255, 255, 255);
}

.popup_menu:before {
	position: absolute; 
	width: 0; height: 0;
	content: "";
	display: block;
	left: 1.4em;
	bottom: 100%;
	border-bottom: 7px solid #fff;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
}

.popup_menu .popup_item {
	color: #444;
}

.popup_menu .popup_item:hover {
	background: none;
	color: #34a0ef !important;
}

.trow_reputation_positive {
	background: #f1f8e9;
}

.trow_reputation_neutral {
	background: #fff;
}

.trow_reputation_negative {
	background: #ffebee;
}

.reputation_positive {
	color: green;
}

.reputation_neutral {
	color: #444;
}

.reputation_negative {
	color: red;
}

.repbox {
	font-weight: 600;
	font-size: 16px;
	padding: 5px 7px 5px 7px;
}

._neutral {
	background: #fafafa;
	color: #999;
	border: 1px solid #ccc;
}

._minus {
	background-color: #fdd2d1;
	color: #cb0200;
	border: 1px solid #980201;
}

._plus {
	background-color: #e8fcdc;
	color: #008800;
	border: 1px solid #008800;
}

img {
	border: none;
}

img.attachment {
	border: 1px solid #e9e5d7;
	padding: 2px;
}

hr {
	background: #000;
	color: #000;
	height: 1px;
	border: 0px;
}

.clear {
	clear: both;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.hidden {
	display: none;
	float: none;
	width: 1%;
}

.hiddenrow {
	display: none;
}

.selectall {
	background: #fffbd9;
	border-bottom: 1px solid #f7e86a;
	color: #333;
	text-align: center;
}

.expcolimage {
	width: auto;
	float: right;
	top: 1px;
	position: relative;
}

.expcolimage img {
	max-width: 24px;
	height: auto;
}

.thead .expcolimage img {
	opacity: .75;
	transition: all .15s ease;
}

.thead:hover .expcolimage img {
	opacity: .75;
}

.expcolimage img:hover {
	opacity: 1 !important;
}

.tcat_menu > .expcolimage {
	margin-top: 0;
}

blockquote {
	background: #9BBBD4;
	border: 1px solid #ddd;
	margin: 0;
	padding: 17px;
	padding-top: 0;
}

blockquote cite {
	background: #9BBBD4;
	border-bottom: 1px solid #C3D8F3;
	border-radius: 0 !important;
	padding: 12px 15px;
	margin: 0px -17px 17px -17px;
	display: block;
	
	font-family: Arial, Helvetica, Tahoma, sans-serif;
	font-style: italic;
	font-weight: 600;
}

blockquote cite > span {
	float: right;
	font-weight: normal;
	font-style: normal;
	font-size: 12px;
	color: #777;
	margin: 3px 3px 0 0;
}

blockquote cite span.highlight {
	float: none;
	font-weight: 600;
	padding-bottom: 0;
}

blockquote > .reputationBlock,
blockquote > .reasonBlock {
	padding-top: 18px;
}

.codeblock .title::after,
.phpcodeblock .title::after {
	font-family: "FontAwesome", Arial, sans-serif;
	float: right;
	font-size: 24px;
	color: #ddd;
	position: relative;
	transform: rotate(10deg);
	-webkit-transform: rotate(10deg);
}

.codeblock .title::after {
	content: "\f121";
	margin-top: -6px;
}

.phpcodeblock .title::after {
	content: "php";
	font-size: 18px;
	margin-top: -4px;
}

.codeblock {
	border-radius: 0 !important;
	background: #fff;
	border: 1px solid #ddd;
	padding: 15px;
	padding-top: 0px;
}

.codeblock .title {
	border-bottom: 1px solid #ddd;
	font-weight: 600;
	padding: 12px 15px;
	margin: 0px -15px 15px -15px;
	background: #f8f9fa;
}

.codeblock code {
	overflow: auto;
	height: auto;
	max-height: 200px;
	display: block;
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 13px;
}

.postbit_multiquote::before {
	content: "+ ";
}

.postbit_multiquote_on::before {
	content: "– ";
}

.smilie {
	vertical-align: middle;
}

.smilie_pointer {
	cursor: pointer;
}

.separator {
	margin: 5px;
	padding: 0;
	height: 0px;
	font-size: 1px;
	list-style-type: none;
}

.popup_menu .popup_item_container {
	line-height: 23px;
	padding: 7px;
	text-align: left; 
	border-bottom: 1px solid #f8f8f8;
}

.popup_menu .popup_item_container:last-child {
	border-top: 0;
	border-bottom: 0;
}

.popup_menu .popup_item {
	text-decoration: none;
	display: block;
	min-width: 160px;
	white-space: nowrap;
	padding: 4px 10px 5px;	
	color: #78909c !important;
}

.popup_item_container:hover {
	background: #f5f7f9;
}

.popup_menu a.popup_item:hover {
	text-decoration: none;
}

.subject_new {
	font-weight: 600;
}

.highlight {
	background: #ffffcc;
	padding-top: 3px;
	padding-bottom: 3px;
}

.pm_alert {
	background: #b0bec5;
	border: 1px solid #9db0ba;
	text-align: center;
	font-size: 12px;
	padding: 10px 20px;
	margin-bottom: 18px;
}

.pm_alert a {
	font-weight: 600;
}

.red_alert {
	background: #e57373;
	border: 1px solid #ef5350;
	color: #fff;
	text-align: center;
	padding: 10px 20px;
	margin-bottom: 20px;
	font-size: 13px;
	word-wrap: break-word;
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:active {
	color: #fff;
	font-weight: 600;
}

.red_alert a:hover {
	text-decoration: underline;
}

.high_warning {
	color: #cc0000;
}

.moderate_warning {
	color: #f3611b;
}

.low_warning {
	color: #ae5700;
}

.imminent_banned {
	color: #880000;
}

.high_banned {
	color: #ff0000;
}

.moderate_banned {
	color: #ff6600;
}

.low_banned {
	color: #008000;
}

.online {
	color: #15a018;
}

.offline {
	color: #c7c7c7;
}

div.error {
	font-family: inherit;
	padding: 1.2rem 1.4rem 1.2rem 1.4rem;
	font-size: 14px;
	border-radius: 1px;
	color: #555;
	background: #e6ee9c;
	border: 1px solid #cbcbcb;
}

div.error p {
	margin: 0;
	color: #555;
	font-weight: normal;
}

div.error p em {
	font-style: normal;
	font-weight: 600;
	padding-left: 24px;
	display: block;
	color: #c00;
	background: url(../../../images/error.png) no-repeat 0;
}

div.error ul {
	padding-left: 24px;
	margin: 0;
	list-style: none;
}

.pagination {
	font-size: 12px;
	padding-top: 9px;
}

.tfoot .pagination,
.tcat .pagination {
	padding-top: 0;
}

.pagination .pages {
	font-weight: 600;
	padding-right: 5px;
}

.pagination .pagination_current,
.pagination a {
	padding: 4px 9px;
}

.pagination a {
	background: #fff;
	border: 1px solid #ddd;
}

.pagination a:link,
.pagination a:visited,
.pagination a:active {
	color: #888;
}

.pagination .pagination_current {
	background: #3498db;
	border: none;
	font-weight: 600;
	border-radius: 1000px;
	color: #fff;
	border: 1px solid #2980b9;
}

.pagination a:hover {
	background: #3498db;
	color: #fff;
	border-color: #2980b9;
	text-decoration: none;
}

.drop_go_page {
	background: #fff;
	padding: 8px;
	margin: 9px 0 0 -7px;
}

.pagination_breadcrumb {
	background-color: #fff;
	border: 1px solid #fff;
	padding: 1px 12px 0px;
	margin-top: 0px;
	font-weight: normal;
	margin: 10px 0 0 -.75rem;
	border-radius: 2px;
	box-shadow: 0 2px 3px -2px rgba(0, 0, 0, .15), 0 2px 1px -1px rgba(0, 0, 0, .03);
}

.pagination_breadcrumb:before {
	border-bottom: 7px solid #fff;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	width: 0;
	height: 0;
	content: "";
	display: block;
	left: 0.5rem;
	bottom: 100%;
	position: absolute;
}

.pagination_breadcrumb a:link,
.pagination_breadcrumb a:visited {
	color: #607d8b;
	border: none;
}

.pagination_breadcrumb a:hover {
	color: #fff;
}

.pagination_current a:link {
	color: #fff;
}

.pagination_breadcrumb_link {
	vertical-align: middle;
	cursor: pointer;
}

.thread_legend,
.thread_legend dd {
	margin: 0;
	padding: 0;
}

.thread_legend dd {
	padding-bottom: 4px;
	margin-right: 15px;
}

.thread_legend img {
	margin-right: 4px;
	vertical-align: bottom;
}

.forum_legend,
.forum_legend dt,
.forum_legend dd {
	margin: 0;
	padding: 0;
}

.forum_legend dd {
	float: left;
	margin-right: 10px;
	margin-top: 7px;
}

.forum_legend dt {
	margin-right: 10px;
	float: left;
}

.success_message {
	color: #00b200;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.error_message {
	color: #C00;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

#posts_container {
	padding: 0;
}

.ignored_post {
	border-top: 3px solid #333;
	padding: 15px;
}

.ignored_post .show_ignored_post {
	margin-top: -15px;
}

.deleted_post_hidden {
	border-top: 2px solid #ccc;
	padding: 15px;
}

.deleted_post_collapsed {
	background: #fff;
	border-radius: 3px 3px 0 0;
	padding: 15px;
	border: 1px solid #d7dfe3;
	border-top: 2px solid #c5cae9;
}

.deleted_post_collapsed .show_deleted_post {
	margin-top: -15px;
}

.post {
	margin-bottom: 13px;
	border-radius: 3px 3px 0 0;
	background: #fff;
	border: 1px solid #d7dfe3;
	border-top: 2px solid #c5cae9;
}

.post.classic {
	background: #f4f4f4;
	padding: 0px;
	border-radius: 3px 3px 0 0;
	border: 1px solid #d7dfe3;
	border-top: 2px solid #c5cae9;
}

.post.classic .post_author {
	margin: 0px auto;
	position: sticky;
	top: 61px;
	border: 1px solid black;
	border-radius: 4px;
	padding: 21px 10px 20px 10px;
}

.post .post_author {
	position: relative;
	border-bottom: 1px solid #d7dfe3;
	padding: 10px;
	overflow: hidden;
	background: #fafbfc;
}

.post .post_author .buddy_status {
	vertical-align: middle;
	margin-top: -4px;
}

.post.classic .post_author div.author_avatar {
	float: none;
	margin: 0px auto;
	text-align: center;
}

.post .post_author div.author_avatar {
	float: left;
	margin-right: 10px;
	max-width: 200px;
}

.post .post_author div.author_avatar img {
	width: auto;
	height: auto;
	max-height: 200px;
	background: #fff;
	border-radius: 0px 0px 4px 4px;;
}

.default_postbit > .author_avatar img {
	max-width: 64px;
	max-height: 64px;
	margin: 10px 0 0 10px;
}

.post.classic .post_author div.author_information {
	margin-bottom: 0px;
	float: none;
	padding: 0;
	text-align: center;
}

.post .post_author div.author_information {
	float: left;
	padding: 6px 8px;
}

.post .post_author div.author_statistics {
	float: right;
	font-size: 12px;
	padding: 14px 18px 12px 16px;
	color: #666;
	font-family: inherit;
	line-height: 1.4;
}

.post .post_author div.author_statistics_default {
	background: #eee;
	float: right;
	font-size: 12px;
	padding: 11px 18px 6px 16px;
	color: #666;
	font-family: inherit;
	line-height: 1.4;
}

.post.classic .post_author div.author_statistics {
	margin: 0px 0 0 0;
	float: none;
	font-size: 12px;
	padding: 14px 18px 12px 16px;
	color: #666;
	font-family: inherit;
	line-height: 1.4;
}

.post .post_head {
	font-size: 14px;
	padding-bottom: 7px;
	margin-bottom: 7px;
}

.post .post_head span.post_date {
	color: #999;
}

.post .post_head span.edited_post {
	font-size: 10px;
	color: #999;
}

.post .post_head span.edited_post a {
	color: #666;
}

.post_edit .edited_post {
	font-size: 12px;
	color: #90a4ae;
}

.post_body {
	color: #555;
	padding: 12px 0 18px 0;
	min-height: 167px;
	text-align: justify;
	font-size: 14px;
}

.post.classic .post_content {
	margin: 0;
	padding: 1.5rem 1.5rem 1.25rem 1.5rem;
	background: #fff;
	border-radius: 1px;
}

.post_content {
	padding: 1.5rem 1.5rem 1.25rem 1.5rem;
}

.post_content .signature {
	margin-top: 10px;
	border-top: 1px dashed #ddd;
	padding: 12px 0 8px 0;
}

.post .post_meta {
	margin: 4px 0;
	font-size: 11px;
	color: #999;
}

.post .post_meta a:link,
.post .post_meta a:visited,
.post .post_meta a:hover,
.post .post_meta a:active {
	color: #777;
}

.post_controls_default {
	padding: 0.75rem;
	clear: both;
	overflow: hidden;
}

.post_controls {
	display: inline-block;
	padding: 18px;
}

.post_controls ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.post_controls li {
	float: left;
}

.post_controls li a {
	text-decoration: none;
	display: block;
	font-size: 13px;
	color: #9aa4ae;
	margin: 0 14px;
}

.post_controls li a:hover {
	color: #333;
}

a.postbit_reputation_add,
a.postbit_pm {
	padding: 0 3px;
	font-size: 14px;
}

.postbit_buttons > a:link,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	display: inline-block;
	color: #fff;
	padding: 6px 19px 6px 18px;
	margin: 5px 3px 2px;
	font-size: 12px;
	background: rgba(52,152,219 ,1);
	border-radius: 2px;
	border: 1px solid rgba(41,128,185 ,1);
}

.postbit_buttons > a:hover {
	background: #2c82c9;
	color: #fff !important;
	border: 1px solid #2c82c9;
}

.postbit_buttons a span {
	display: inline-block;
	height: 16px;
}

.post:not(.deleted_post) .postbit_qrestore,
.post:not(.deleted_post) .status_type,
.post.deleted_post .postbit_mirage {
	display: none;
}

a.button:link,
a.button:visited,
a.button:active {
	display: inline-block;
	margin: 0 0 10px 0;
	padding: 7px 21px;
	font-size: 13px;
	color: #fff;
	background: #039be5;
}

a.button:hover {
	background: #0288d1;
}

a.button.small_button {
	font-size: 13px;
	margin: 0;
	padding: 4px 12px;
}

a.button span {
	display: inline-block;
}

a.postbit_report {
	color: #03a9f4;
}

a.postbit_report:hover {
	color: #455a64;
}

.quick_jump {
	background: url(../../../images/jump.png) no-repeat 0;
	width: 13px;
	height: 13px;
	padding-left: 13px; /* amount of padding needed for image to fully show */
	margin-top: -3px;
	border: none;
}

.pollbar {
	background: #bdc3c7;
	height: 8px;
}

.pollbar .percent {
	display: none;
}

.pollbar .percent {
	display: none;
}

.posticons_label {
	white-space: nowrap;
}

.pollbar {
	background: #3498db;
	height: 20px;
	line-height: 21px;
	margin-top: -16px;
	color: #fff;
	font-size: 12px;
	text-align: right;
	overflow: hidden;
	box-sizing: border-box;
}

.pollbar .percent {
	display: inline-block; 
	padding: 0 7px;
}

.poll-inner {
	position: relative;
	height: 20px;
	box-sizing: border-box;
	border-radius: 1000px;
	top: 4px;
	overflow: hidden;
	background: #eceff1;
}

.poll-inner::before {
	content: "0%";
	font-size: 13px;
	padding: 0 7px;
}

/** jGrowl Start **/

/** jGrowl Styling **/
.jGrowl {
	z-index: 9999;
	color: #ffffff;
	font-size: 12px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	position: fixed;
}

.jGrowl.top-left {
	left: 0px;
	top: 0px;
}

.jGrowl.top-right {
	right: 0px;
	top: 0px;
}

.jGrowl.bottom-left {
	left: 0px;
	bottom: 0px;
}

.jGrowl.bottom-right {
	right: 0px;
	bottom: 0px;
}

.jGrowl.center {
	top: 0px;
	width: 50%;
	left: 25%;
}

/** Cross Browser Styling **/

.jGrowl.center .jGrowl-notification,
.jGrowl.center .jGrowl-closer {
	margin-left: auto;
	margin-right: auto;
}

.jGrowl-notification {
	background-color: transparent;
	opacity: 0.9;
	zoom: 1;
	width: 250px;
	padding: 10px;
	margin: 10px;
	text-align: left;
	display: none
		border-radius: 5px;
	word-break: break-all;
}

.jGrowl .jGrowl-notification {
	min-height: 40px;
}

.jGrowl-notification .ui-state-highlight,
.jGrowl-notification .ui-widget-content .ui-state-highlight,
.jGrowl-notification .ui-widget-header .ui-state-highlight {
	border: 1px solid #000;
	background: #000;
	color: #fff;
}

.jGrowl-notification .jGrowl-header {
	font-weight: bold;
	font-size: .85em;
}

.jGrowl-notification .jGrowl-close {
	background-color: transparent;
	color: inherit;
	border: none;
	z-index: 99;
	float: right;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
}

.jGrowl-closer {
	background-color: #000;
	opacity: 0.9;
	zoom: 1;
	width: 250px;
	padding: 10px;
	margin: 10px;
	text-align: left;
	display: none;
	border-radius: 2px;
	word-break: break-all;
	padding-top: 4px;
	padding-bottom: 4px;
	cursor: pointer;
	font-size: .9em;
	font-weight: 600;
	text-align: center;
}

.jGrowl-closer .ui-state-highlight,
.jGrowl-closer .ui-widget-content .ui-state-highlight,
.jGrowl-closer .ui-widget-header .ui-state-highlight {
	border: 1px solid #000;
	background: #000;
	color: #fff;
}

.jGrowl .jGrowl-notification.jgrowl_success {
	background: #fff;
	border: 1px solid lightgreen;
	color: #333;
}

.jGrowl .jGrowl-notification.jgrowl_error {
	background: #fff;
	color: #333;
	border: 1px solid #ef9a9a;
}

.jGrowl .jGrowl-notification.jgrowl_process, .jGrowl .jGrowl-closer {
	background: #fff;
	border: 1px solid #cfd8dc;
	color: #555;
}

/** Hide jGrowl when printing **/
@media print {
	.jGrowl {
		display: none;
}


}

/** jGrowl End **/

/** Modal Start **/

.blocker {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.8);
	text-align: center;
}

.blocker:before{
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.05em;
}

.blocker.behind {
	background-color: transparent;
}

.modal {
	display: inline-block;
	background: #fff;
	width: 400px;
	text-align: left;
	vertical-align: middle;
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	border-radius: 8px;
	box-shadow: 0 0 10px #000;
}

.modal a.close-modal {
	position: absolute;
	top: -12.5px;
	right: -12.5px;
	display: block;
	width: 0;
	height: 0;
	text-indent: -9999px;
	background: url(../../../images/close.png) no-repeat 0 0;
}

.modal-spinner {
	display: none;
	width: 64px;
	height: 64px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-right: -32px;
	margin-top: -32px;
	background: url(../../../images/spinner_big.gif) no-repeat center center;
	border-radius: 8px;
}

.modal.login-modal {
	max-width: 340px;
	padding: 30px;
	border-radius: 5px 5px 3px 3px;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, .35)
}

/** Modal End **/

/** Impromptu Start **/

/*! jQuery-Impromptu - v6.2.3 - 2016-04-23
* http://trentrichardson.com/Impromptu
* Copyright (c) 2016 Trent Richardson; Licensed MIT */

.jqifade{
	position: absolute;
	background-color: #777;
}

iframe.jqifade{
	display:block;
	z-index:-1;
}

div.jqi{
	position: absolute;
	font-family: inherit;
	width: 400px;
	max-width: 90%;
	font-size: 13px;
	text-align: left;
	background: #fff;
	padding: 7px;
	border-radius: 3px;
	box-shadow: 1px 1px 7px 0px rgba(0, 0, 0, .3);
}

div.jqi .jqicontainer{
}

div.jqi .jqiclose{
	position: absolute;
	top: 5px;
	right: 9px;
	width: 16px;
	cursor: pointer;
	color: #bbb;
	font-size: 18px;
}

div.jqi .jqistate{
	background-color: #fff;
}

div.jqi .jqiclose:hover {
	color: #777;
}

div.jqi .jqititle{
	padding: 5px 10px;
	font-size: 16px;
	line-height: 20px;
	border-bottom: solid 1px #eee;
}

div.jqi .jqimessage{
	line-height: 20px;
	color: #607d8b;
	overflow: auto;
	padding: 13px 18px 20px;
}

div.jqi .jqibuttonshide{
	display: none;
}

div.jqi .jqibuttons{
	margin: 0px -7px -7px -7px;
	text-align: right;
	border-top: solid 1px #efefef;
	background-color: #f5f6f7;
	border-radius: 0px 0 3px 3px;
	padding: 8px 11px 8px 9px;
}

div.jqi .jqibuttons button{
	background-color: #fff;
	margin: 0;
	margin-left: 0px;
	padding: 3px 21px 4px 20px;
	font-weight: normal;
	color: #90a4ae;
	font-size: 13px;
	margin-left: 5px;
	border-radius: 1px !important;
	box-shadow: none !important;
	border: 1px solid #80cbc4 !important;
}

div.jqi .jqibuttons button.jqidefaultbutton{
	color: #00bcd4;
	border: 1px solid #81d4fa !important;
}

div.jqi .jqibuttons button:hover,
div.jqi .jqibuttons button:focus{
	color: #287ade;
	outline: none;
	border: 1px solid #00bcd4 !important;
}

div.jqi .jqibuttons button[disabled]{
	color: #aaa;
}

.jqiwarning .jqi .jqibuttons{
	background-color: #b95656;
}

/* sub states */
div.jqi .jqiparentstate::after{
	background-color: #777;
	opacity: 0.6;
	content: '';
	position: absolute;
	top:0; left:0; bottom:0; right:0;
	border-radius: 6px;
}

div.jqi .jqisubstate{
	position: absolute;
	top:0; left: 20%;
	width: 60%;
	padding: 7px;
	border: solid 1px #eee;
	border-top: none;
	border-radius: 0 0 6px 6px;
}

div.jqi .jqisubstate .jqibuttons button{
	padding: 10px 18px;
}

/* arrows for tooltips/tours */
.jqi .jqiarrow{
	position: absolute; 
	height: 0; 
	width:0; 
	line-height: 0;
	font-size: 0; 
	border: solid 10px transparent;
}

.jqi .jqiarrowtl{
	left: 10px; top: -20px; border-bottom-color: #fff;
}

.jqi .jqiarrowtc{
	left: 50%; top: -20px; border-bottom-color: #fff; margin-left: -10px;
}

.jqi .jqiarrowtr{
	right: 10px; top: -20px; border-bottom-color: #fff;
}

.jqi .jqiarrowbl{
	left: 10px; bottom: -20px; border-top-color: #fff;
}

.jqi .jqiarrowbc{
	left: 50%; bottom: -20px; border-top-color: #fff; margin-left: -10px;
}

.jqi .jqiarrowbr{
	right: 10px; bottom: -20px; border-top-color: #fff;
}

.jqi .jqiarrowlt{
	left: -20px; top: 10px; border-right-color: #fff;
}

.jqi .jqiarrowlm{
	left: -20px; top: 50%; border-right-color: #fff; margin-top: -10px;
}

.jqi .jqiarrowlb{
	left: -20px; bottom: 10px; border-right-color: #fff;
}

.jqi .jqiarrowrt{
	right: -20px; top: 10px; border-left-color: #fff;
}

.jqi .jqiarrowrm{
	right: -20px; top: 50%; border-left-color: #fff; margin-top: -10px;
}

.jqi .jqiarrowrb{
	right: -20px; bottom: 10px; border-left-color: #fff;
}

/** Impromptu End */

/* Обновлённые стили */

.pm-square {
	background: #c3d8f3 !important;
	color: #39415e !important;
	transition: background 0.3s ease, color 0.3s ease !important;
}

.pm-square:hover {
	background: #aac5ec !important;
	color: #ffffff !important;
}

#panel .upper {
	background: #39415e;
	border-bottom: 1px solid rgba(162, 235, 255, 0.25);
	box-shadow: 0px 16px 6px rgba(0, 0, 0, 0.1); /* Тень. 1 параметр - гориз. смещение, 2 - верт. смещение, 3 параметр - размытие, больше - сильнее. */
}

.custom_bbcodes {
	background: #39415e;
	border: 0px;
}

.tfoot {
	background: #39415e;
}

#footer {
	background: #39415e;
	border-top: 1px solid rgba(162, 235, 255, 0.5);
}

.navigation {
	background: #39415e;
	border: 1px solid rgba(162, 235, 255, 0.5);
	border-radius: 4px;
}

.thead {
	background: #39415e;
}

.thead.sidebar {
	background: #39415e;
}

.tborder {
	border: 1px solid rgba(162, 235, 255, 0.5) !important;
	border-radius: 4px !important;
}

.tcat {
	background: #c3d8f3;
}

.tcat .smalltext {
	color: #39415e;
}

.forum-thread a {
	color: #274d7e;
	transition: color 0.3s ease;
}

.forum-thread a:hover {
	color: #3b73cc;
}

.showthread-titleBg {
	background: #39415e !important;
	border-left: 1px solid rgba(162, 235, 255, 0.25) !important;
	border-top: 1px solid rgba(162, 235, 255, 0.25) !important;
	border-right: 1px solid rgba(162, 235, 255, 0.25) !important;
	border-bottom: 0px !important;
}

.tborder.tfixed.clear.no-bs {
	border: 0px !important;
}

.postbit-leftCol, .post_author.scaleimages {
	background: #C3D8F3 !important;
}

.postbit-rightCol, .post_content {
	background: #DCE6F2 !important;
}

.usertitle, .outer-postbit {
	color: #1a1a1a !important;
}

.user_card_button {
	background: #39415E;
	transition: background 0.3s ease, color 0.3s ease;
	color: white;
	width: 100%;
	max-width: 200px;
	left: 50%;
	transform: translateX(-50%);
	position: relative;
	border-radius: 4px 4px 0px 0px !important;
}

.user_card_button:hover {
	background: #DCE6F2;
	color: #1a1a1a;
}

.largetext.username a {
	color: #39415E;
	transition: background 0.3s ease, color 0.3s ease;
}

.largetext.username a:hover {
	color: #DCE6F2;
	transition: background 0.3s ease, color 0.3s ease;
}

