:root {
	--bg-primary: #fafafa;
	--bg-secondary: #fff;
	--bg-header: hsla(0,0%,100%,.8);
	--bg-transparent: hsla(0,0%,100%,.5);
	--bg-highlight: hsla(0,0%,100%,.2);
	--bg-paper: #fff;
	--bg-input: #fff;
	--bg-inverse: #323232;
	--primary: #1976d2;
	--secondary: red;
	--text-primary: rgba(0,0,0,.87);
	--text-secondary: rgba(0,0,0,.6);
	--text-inverse: hsla(0,0%,100%,.87);
	--text-on-primary: #fff;
	--disabled: rgba(0,0,0,.38);
	--shadow-elevation: rgba(0,0,0,.1) 0px 2px 35px 0px;
	--text-margin: 2rem 0;
	--poll-margin: 2.5rem 1rem;
	--heading-margin-top: 4rem;
	--heading-margin-bottom: 2.5rem;
	--li-margin: 0 0 1rem 0;
	--border: 1px solid hsla(0,0%,59%,.1);
	--border-active: 1px solid hsla(0,0%,59%,.2);
	--header-border-bottom: rgba(0,0,0,.1) 0px -1px 0px 0px inset;
	--warning: #ff9800;
	--error: red;
	--success: #4caf50;
	--divider: #e5e5e5;
}

[data-theme=dark] {
	--bg-primary: #121212;
	--bg-secondary: #171717;
	--bg-header: hsla(0,0%,9%,.8);
	--bg-transparent: rgba(0,0,0,.5);
	--bg-highlight: rgba(0,0,0,.1);
	--bg-paper: #171717;
	--bg-input: #222223;
	--bg-inverse: #fff;
	--primary: #1976d2;
	--secondary: red;
	--text-primary: hsla(0,0%,100%,.77);
	--text-secondary: hsla(0,0%,100%,.6);
	--text-inverse: rgba(0,0,0,.87);
	--text-on-primary: #fff;
	--disabled: hsla(0,0%,100%,.38);
	--shadow-elevation: rgba(0,0,0,.5) 0px 2px 35px 0px
}

@font-face {
    font-family: 'Exo 2';
    src: url('../../fonts/Exo2-Light.woff2') format('woff2'),
        url('../../fonts/Exo2-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo 2';
    src: url('../../fonts/Exo2-Medium.woff2') format('woff2'),
        url('../../fonts/Exo2-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo 2';
    src: url('../../fonts/Exo2-Bold.woff2') format('woff2'),
        url('../../fonts/Exo2-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo 2';
    src: url('../../fonts/Exo2-Regular.woff2') format('woff2'),
        url('../../fonts/Exo2-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo 2';
    src: url('../../fonts/Exo2-SemiBold.woff2') format('woff2'),
        url('../../fonts/Exo2-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/*
	Цвета:
	- ссылка: #08с
	- красненькое: #c00
	- серые хуйнюшки: #e0e0e0
*/

a {color:#005580;}
a:hover {color:#08C;}
a.act {color:#4C4B9B;}	/* импортировать, править профиль */
a.ajax {color:#bbb; border-bottom:1px dotted #bbb; text-decoration: none !important;}
a.ajax:hover { text-decoration: none !important;}
a.ajax, a.btn {outline:none;}
.user.user-deleted { text-decoration: line-through !important; }
.user.user-inactive { color: #777 !important; }
small {font-size:11px;}
s {opacity: .5;}
.negative {color:#f00;}
.no-select { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; }

h1 {
	font-size:30px;
	line-height: 36px;
	margin:0 0 20px 0px;
	letter-spacing: -1px;
	font-weight: normal;
}
h2 {
	font-size: 24px;
	line-height: 36px;
	margin-bottom:10px;
	letter-spacing: -1px;
	font-weight: normal;
}
h3 {font-size: 18px; line-height: 27px; margin-bottom: 5px; border-bottom: 1px solid #e0e0e0; }
.modal-header h3 {border-bottom:none; }
.alert-info a {text-decoration:underline;}
.clear {clear:both;}
.shl {background:#ff0;}
.access-denied {text-align:center; background:whitesmoke; border:1px solid #e5e5e5; border-radius:10px; padding:10px;}

/* Новые иконки */
i.i {opacity:.2; cursor:pointer;}
a:hover i.i {opacity:1;}

[class^="icon-"], [class*=" icon-"] {background-image: url("/i/glyphicons-halflings-nb.png");}
.icon-white,
.nav > .active > a > [class^="icon-"],
.nav > .active > a > [class*=" icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"],
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
.dropdown-menu > .active > a > [class*=" icon-"] { background-image: url("/i/glyphicons-halflings-white.png"); }

.icon-comment-empty {background-position:-480px 0;}
.icon-comment-new {background-image: url("/i/glyphicons-halflings-nb-hl.png"); background-position:-240px -120px;}
.icon-xp {background-position:-479px -73px;}
.icon-up {background-position:-479px -120px;}



.deleting {background:url("/i/pacman.gif") center center no-repeat;}
.deleting * {opacity:.4;}

table.table-oneline td {white-space:nowrap;}
table.table-oneline td.main,table.table-oneline th.main {width:100%;}
table.table-oneline td.c,table.table-oneline th.c {text-align:center;}

.in-h2 {
	float:right;
	margin:0 0 20px 0;
}

ul.booklist {margin-bottom:30px;}
ul.booklist li {margin:10px 0;}
ul.booklist li .acts {display:none;}
ul.booklist li:hover .acts {display:inline;}
ul.has-icons {list-style:none; padding-left:0; margin-left:0;}

/* Рейтинговалка */
.rate {
	float:right;
	display:block;
	padding:1px 4px;
	background:#e0e0e0;
	border-radius:2px;
	font-size:12px;
	font-style:normal;
	font-weight:bold;
	min-width: 20px;
	text-align:center;
}
.rate { cursor:pointer; }
.rater { position:relative; }
.rater .p, .rater .m {
	display:none;
	position:absolute;
	width:20px;
	padding:1px 4px;
	background:#444;
	color:white;
	font-weight: bold;
	border-radius:2px;
	top:0px;
	text-align:center;
}
.rater .m { left:-28px; }
.rater .p { right:-28px; }
.rater:hover .m, .rater:hover .p {display:block;}
.rater .m:hover, .rater .p:hover { background:#777; text-decoration: none; }

/* Иконки прав доступа */
i.ac_read, i.ac_trread, i.ac_gen, i.ac_rate, i.ac_comment, i.ac_tr {
	background-image: url("/i/ac.png");
	background-repeat: no-repeat;
	display:inline-block;
	width:11px; height:11px;
	margin:0 1px;
}
i.ac_read, i.ac_read.a	{background-position:   0px 0px;}
i.ac_read.g	{background-position: -11px 0px;}
i.ac_read.m	{background-position: -22px 0px;}
i.ac_read.o	{background-position: -33px 0px;}

i.ac_trread, i.ac_trread.a {background-position:   0px -11px;}
i.ac_trread.g {background-position: -11px -11px;}
i.ac_trread.m {background-position: -22px -11px;}
i.ac_trread.o {background-position: -33px -11px;}

i.ac_gen, i.ac_gen.a {background-position:   0px -22px;}
i.ac_gen.g {background-position: -11px -22px;}
i.ac_gen.m {background-position: -22px -22px;}
i.ac_gen.o {background-position: -33px -22px;}

i.ac_rate, i.ac_rate.a {background-position:   0px -33px;}
i.ac_rate.g {background-position: -11px -33px;}
i.ac_rate.m {background-position: -22px -33px;}
i.ac_rate.o {background-position: -33px -33px;}

i.ac_comment, i.ac_comment.a {background-position:   0px -44px;}
i.ac_comment.g {background-position: -11px -44px;}
i.ac_comment.m {background-position: -22px -44px;}
i.ac_comment.o {background-position: -33px -44px;}

i.ac_tr, i.ac_tr.a {background-position:   0px -55px;}
i.ac_tr.g {background-position: -11px -55px;}
i.ac_tr.m {background-position: -22px -55px;}
i.ac_tr.o {background-position: -33px -55px;}

i.icon-nb-comment {
    background-image:url('/i/ic_cmt.gif');
    background-position: 0 0;
    width:16px;
}
i.icon-nb-comment.new {
    background-image:url('/i/ic_cmtn.gif');
}


/* Аватар */
.upic { width:50px; height: 50px; }


/* Блог */
.post { margin:0 0 40px 0; }
.post.topic-70 h2 a {color:#556b2f;}
.post.topic-70 .body {margin-left:0; border-left:1px dashed #556b2f; padding-left:10px;}

.post.topic-64 h2 a {color:#8b0000; font-weight:bold;}

.post h2 {margin:10px 0; line-height: 28px;}
.post .book {margin-top:-10px;}
.post .body {margin:10px 10px;}
.post .body {
	max-width: 100svh;
	overflow: hidden;
	text-wrap: wrap;
	overflow-wrap: break-word;
}
.post .body a {text-decoration: underline;}
.post .img {margin:10px 10px;}
.post .img img {border:1px solid #777;}
.post .info {
	background:#eee;
	border-bottom:1px dashed #777;
	padding:5px;
	font-size:11px;
}
.post .info .author {}
.post .info .date {}
.post .info .tools {float:right; margin-right:0px;}
.post .info .cmt {float:right; width:100px; text-align:right;}
.post .info .cmt .new {color:#c00; font-weight:bold;}

.announce {margin:0 0 30px;}
.announce .a { width:50px; float: left; text-align: center; padding-top:5px;}
.announce .a .img {
	height:50px; width:50px; margin:0 auto 5px; border-radius: 3px;
	background:#f0f0f0 no-repeat center center;
}
.announce .a .r {font-size:16px; font-weight:bold;}
.announce .b { margin-left:62px; }
.announce .b h2 { margin:0; line-height:30px;}
.announce .b .info {font-size:11px;}
.announce .b .cmt {float:right;}
.announce .b .msg {
	position:relative;
	background:#f0f0f0;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding:10px;
}
.announce .b .msg .v {
	display:block;
	background:url('/i/pizdulina.gif');
	width:7px; height:7px;
	position:absolute;
	top:-7px; left:20px;
}


/* Подсказка, инструменты */
.sr .tools {
	position:relative;
	padding:15px;
	border:1px solid #929292;
	border-bottom-right-radius:10px;
	border-bottom-left-radius:10px;
	background:#fff;
	margin:40px 0 40px 0;
	color:black;
	font-size:11px;
}
.sr .tools * {font-size:11px;}
.sr h5 {
	position:absolute;
	top:-20px;
	margin:0;
	height:16px;
	padding:3px 20px 0 10px;
	background: url("/i/tab_bg_on.2.gif") top right;

	color:white;
	font:10px Tahoma, sans-serif;
	font-weight: bold;
	text-align:right;
}

/* В левой колонке всякие сводки */
.sr dl.info {margin:0; padding:0;}
.sr dl.info dt {color:gray;}
.sr dl.info dd {font-weight:bold; margin:0 0 7px 0; padding: 0 0 7px 10px; border-bottom:1px solid #e7e7e7;}
.sr dl.info dd:last-child { border-bottom: none; margin-bottom: 0; }
.sr dl.info .more_btn {font-weight: normal; color:gray; margin:5px 0 0;}
.sr dl.info .more {margin:5px 0 0; font-weight: normal;}
.sr dl.info table.t td {padding:2px; border-bottom:1px dotted gray; vertical-align:bottom;}
.sr dl.info table.t td.d {text-align:right; font-weight:bold;}


.sr h4 {
	margin:10px 0 5px;
	font-weight:bold;
	font-size:11px;
}

/* Модальное окно просмотра фотографии */
#userinfo_win {
	text-align:center;
	padding:20px;
}

/* Окошко с закладками */
#bookmarks p.loading { text-align:center; margin:50px 0; }
#bookmarks .modal-header .btn-toolbar button {font-weight:bold; line-height:15px;}
#bookmarks-list {list-style: none; margin: 0}
#bookmarks-list > li { position:relative; padding:0px 0 0px 16px; }
#bookmarks-list > li > div { padding:3px 0 }
#bookmarks-list > li > div:hover {background:#eee;}
#bookmarks-list > li .r {display:block; float:right; }
#bookmarks-list > li i.ho {cursor:pointer; display:block; position:absolute; top:4px; left:0; }
#bookmarks-list .origs {list-style:disc; margin-bottom:10px; font-size:11px;}
#bookmarks-list .rm, #bookmarks-list .ed {cursor:pointer; display:none;}
#bookmarks-list.rm .rm {display:inline-block;}
#bookmarks-list.ed .ed {display:inline-block;}

#bookmark-set p.loading { text-align:center; margin:50px 0; }

/* Чат */
#chat-box {
	position:fixed;
	bottom:0;
	left:75%;
	height:300px;
	width:25%;
	background:#000;
	opacity:.85;
	z-index:20;
	color:#fff;
	display:none;
}
#chat-box a { color:#ff8; text-decoration: underline;}
#chat-room {
	position:absolute;
	left:0; top:10px; bottom:40px; right:0;
	padding:10px;
	overflow: auto;
}
#chat-room .my a.user {color:#FFA365;}
#chat-say {
	position:absolute;
	left:10px; bottom:10px; right:10px;
	height:30px;
	margin:0;
}
#chat-say .msg {
	width:70%;
}
#chat-resizer {
	width:100%; height:5px;
	background:#333;
	cursor:n-resize;
}

/* Layout */
/* Шапка */
header {
	position:relative;
	height:130px;
	margin:10px 0 10px;
}
header .container {
	position:relative;
}

header #header-logo {
	display:block;
	position:relative;
	float:left;
}
header #header-logo img {
	display:block;
}


nav ul {margin:0; padding:0; list-style: none;}
nav li {margin:0; padding:0;}
#header-menu, #header-submenu {
	position:absolute;
	left:123px; right:0;
    list-style: none;
	border-left:1px solid #e0e0e0;
	min-width:816px;
}
.container-fluid #header-menu, .container-fluid #header-submenu { left: 144px; }
#header-menu {
	top:32px;
	border-bottom:1px solid #e0e0e0;
}
#header-submenu {
	top:71px;
}

#header-menu li {float:left;}
#header-menu li > a {color:#000;font-weight:bold; display:block; padding:10px 5px; font-size: 12px;}
#header-menu li > a:hover {color:#08c; background:#f0f0f0; border-top-left-radius: 10px; border-top-right-radius: 10px;}
#header-menu li:first-child > a:hover {border-top-left-radius: 0;}

#header-submenu li {
	float:left;
	padding:10px 10px 0px 10px;
	height:40px;
	max-width: 300px;
	border-right:1px solid #e0e0e0;
	font-size:10px;
	color:#777;
}
#header-submenu li:hover {background:#f0f0f0;}
#header-submenu li a {color:#777;}
#header-submenu li p {font-size:10px; line-height: 12px;}
#header-submenu li strong {display:block;font-size:14px; color:#08c;}
#header-submenu strong b {color:#c00;}

#header-menu li.search {float:right;}
#header-menu .search form {margin:0;}


header #header-login {
	font-size:11px;
	padding:10px 15px 0;
	height:47px;
}
header #header-login a {
	padding:4px 10px 4px 8px;
}
header #header-login form {
	margin:0;
}
header #header-login .span1 {
	height:20px;
	font-size:11px;
}
header #header-login .btn {
	height:20px;
	padding:1px 10px 4px;
	font-size:11px;
}

/* Новая шапка */

.logo .header-item_dropdown {
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    margin-left: 6px;
}

.logo_caret-down::before {
	content: "▼";
}

.logo_caret-down {
	font-size: 10px;
    width: auto;
}

.logo_caret-down_wrapper {
	display: flex;
	align-items: center;
	pointer-events: none;
}

header.main-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	margin: 0;
	background: var(--bg-paper);
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
	width: 100%;
	max-width: 100vw;
	height: 72px;
	box-sizing: border-box;
	/* transition: height 0.3s ease;
	transition: box-shadow 225ms cubic-bezier(0,0,.2,1) 0ms,transform 225ms cubic-bezier(0,0,.2,1) 0ms; */
}

.show_menu svg{

	height: 20px;
	width: 20px;
	aspect-ratio: 1;
	display: block;
}

.main-header-mobile {

    justify-content: space-between;
    padding: 10px;
    display: none;
	gap: 10px
}

.auto_expand {
	margin-top: auto;
}

.main-header-mobile form:first-child {
	gap: 10px;
}

/* @media (max-width: 775px) {
	//Мобильное меню 
	.main-header-mobile {
		display: flex;
	}
	.main-header {
		height: 60px;
	}
} */

html {
	height: 100%;
}

body {
	min-height: 100%;
	display: flex;
    flex-direction: column;
}

.auto_expand {
	margin-top: auto;
}

.header-indent {
	/* padding-top: 76px; */
	padding-top: 90px;
	/* margin-top: 10px; //А ЗАЧЕМ ОНО?*/
}

.main-header-inner {
	display: flex;
	font-family: 'Exo 2';
	align-items: center;
	justify-content: space-between;
	align-content: center;
	height: 100%;
	padding: 0 15px;
	max-width: 1200px;
	margin: 0 auto;
	/* min-width: 900px; */
	box-sizing: border-box;
}

.main-header-profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	vertical-align: middle;
}

.main-header-avatar,
.main-header-create,
.main-header-notifications {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition-duration: 0.3s;
	border-radius: 50%;
	padding: 0;
	margin-left: 8px;
	width: 40px;
	height: 40px;
	user-select: none;
	color: var(--text-primary);
	flex-shrink: 0;
	line-height: 1;
	font-size: 1.25rem;
	position: relative;
	border: none;
	background-color: transparent;
	overflow: hidden;
}

.main-header-notifications {
	color: var(--text-secondary);
}

.main-header-avatar_icon,
.main-header-create_icon,
.main-header-notifications_icon {
	fill: currentColor;
	width: 75%;
	height: 75%;
	display: inline-block;
	transition: fill 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	flex-shrink: 0;
	user-select: none;
	pointer-events: none;
	vertical-align: middle;
}

.main-header-avatar img {
	user-select: none;
	pointer-events: none;
}

.main-header-avatar:hover {
	box-shadow: 0 2px 8px rgb(10 46 82 / 50%);
    opacity: 0.95;
}

.main-header-avatar.active {
	box-shadow: 0 2px 8px rgb(10 46 82 / 50%);
    opacity: 0.95;
}

.main-header-create:hover,
.main-header-notifications:hover {
	color: var(--primary);
}

.main-header-create.active,
.main-header-notifications.active {
	color: var(--primary);
}

.main-header-balance {
	display: flex;
	align-items: center;
}

.main-header-balance svg {
	width: 1em;
	height: 0.68rem;
	font-size: 1rem;
	user-select: none;
}

.main-header-balance span {
	white-space: nowrap;
	font-size: 0.68rem;
	font-weight: 600;
}

.header-item.bookmarks {
	margin-left: 8px;
}

.header-item.bookmarks a {
	display: flex;
    align-items: center;
    justify-content: center;
	height: 24px;
	width: 24px;
    color: var(--text-primary);
}

.header-item.bookmarks a:hover {
	color: var(--primary);
	transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.header-item.bookmarks a.active {
	color: var(--primary);
}

.header-item.bookmarks a svg {
	fill: currentColor;
    width: 75%;
    height: 75%;
    display: inline-block;
    transition: fill 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    flex-shrink: 0;
    user-select: none;
    pointer-events: none;
    vertical-align: middle;
}

.header-item_dropdown.notifications {
	display: flex;
	flex-direction: column;
	align-items: center;
	vertical-align: middle;
	margin: 0 8px;
}

.header-item_dropdown.notifications button {
	margin: 0;
}

.header-item_dropdown.notifications b {
	color: #c00;
	font-weight: 600;
}

.header-item_dropdown.notifications span {
	position: absolute;
	top: 85%;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.1;
}

.main-header-left_menu,
.main-header-menu,
.main-header-right_menu {
	display: flex;
	align-items: center;
}

.main-header-menu_nav-container {
	display: flex;
	align-items: center;
	margin-left: 9px;
}

.header-item_dropdown {
	position: relative;
	display: inline-block;
}

.header-item_dropbtn {
	background-color: transparent;
	color: var(--text-primary);
	padding: 0.5rem 1rem;
	font-size: 1rem;
	font-family: 'Exo 2';
    font-weight: 600;
	border: none;
	cursor: pointer;
	user-select: none;
}

.header-item_dropdown-content,
.main-header-avatar_dropdown-menu,
.main-header-create_dropdown-menu,
.main-header-notifications_dropdown-menu {
	display: block;
	visibility: hidden;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 8.8rem;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
    font-weight: 600;
	font-size: 14px;
    transform: translateX(10px);
	transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.header-item_dropdown-content.active,
.main-header-avatar_dropdown-menu.active,
.main-header-create_dropdown-menu.active,
.main-header-notifications_dropdown-menu.active {
	transform: translate(0);
}

.main-header-avatar_dropdown-menu {
	direction: ltr;
}

.main-header-avatar_dropdown-menu_payments {
	display: flex;
	justify-content: space-between;
	width: 9.5rem;
}

.main-header-avatar_dropdown-menu_payments-balance {
	display: flex;
	align-items: center;
}

.main-header-avatar_dropdown-menu_payments-balance svg {
	width: 1em;
	height: 0.68rem;
	font-size: 1rem;
	user-select: none;
}

.main-header-avatar_dropdown-menu_payments-balance span {
	font-size: 0.68rem;
	font-weight: 600;
}

.header-item_dropdown-content a,
.main-header-avatar_dropdown-menu a,
.main-header-create_dropdown-menu a,
.main-header-notifications_dropdown-menu a {
	color: #333;
	padding: 0.5rem 1rem;
	text-decoration: none;
	display: block;
}

.main-header-notifications_dropdown-menu a b {
	color:#c00;
}

.header-item_dropdown-content  a:hover,
.main-header-avatar_dropdown-menu a:hover,
.main-header-create_dropdown-menu a:hover,
.main-header-notifications_dropdown-menu a:hover {
	background-color: #f1f1f1;
}

@media (min-width: 650px) {
	.header-item_dropdown:hover .header-item_dropdown-content,
	.header-item_dropdown:hover .main-header-avatar_dropdown-menu,
	.header-item_dropdown:hover .main-header-create_dropdown-menu,
	.header-item_dropdown:hover .main-header-notifications_dropdown-menu {
		visibility: visible !important;
		z-index: 2;
		transform: translate(0);
	}
}

.main-header-create_direction {
	direction: ltr;
}

.header-item_dropbtn.active {
	background-color: #1976d2;
	color: var(--text-on-primary);
	border-radius: 0.25rem;
}

.header-item_menu-divider {
	height: 1px;
	background-color: var(--divider);
	margin: 0.5rem;
	overflow: hidden;
}
.header-item.user {
	min-height: 35px;
    min-width: 35px;
	max-width: 35px;
	max-height: 35px;
	border-radius: 50%;
	overflow: hidden;
    aspect-ratio: 1;
}

.header-item.user svg,.header-item.user img {
	width: 100%;
    height: 100%;
}
.header-item.search {
	width: 100%;
}
@media (max-width: 775px) {
	.container {
		max-width: 100% !important;
		overflow: hidden !important;
	}
	form, .for_table_container {
		max-width: 100%;
		overflow: auto;
		width: 100%;
	}
	/* .main-header {
		height: 60px !important;
	} */
	.confirm-account {
		display: none;
	}
	.main-header-inner {
		flex-wrap: wrap;
		flex-direction: column-reverse;
		justify-content: space-evenly;
		padding: 5px 4px;
	}
	.mobile_hide {
		display: none;
	}
	.header-indent {
		padding-top: 110px;
	}
	header.main-header {
		height: auto;
	}
	.main-header-create_direction {
		direction: rtl;
	}
	/* .main-header-inner {
		display: none;
	} */
}

@media (max-width: 330px) {
	.main-header-menu_nav-container {
		margin-left: 0;
	}

	.header-item_dropbtn {
		padding: 0.5rem 0.5rem;
	}

	.main-header-create {
		margin-left: 4px;
	}
}

.widget__container {
	text-align: center; 
	margin: 0 auto; 
	width: 300px;
	max-width: 100%;
}

.any_sphere {
	border-radius: 50%;
}
.half_bottom_sphere {
	border-radius: 10px 10px 0 0;
	background: #fff;
	box-shadow: 5px 5px 10px #3333;
	box-sizing: border-box;
}
.half_top_sphere {
	border-radius: 0 0 10px 10px ;
	background: #fff;
	box-shadow: 5px 5px 10px #3333;
	box-sizing: border-box;
}

a.message {
	color: #444;
}
a.message:hover {
	text-decoration: none;
	color: #000;
}

/* Подвал */
footer {
	border-top:1px solid #F4E8E8;
	border-bottom:4px solid #000;
	padding:10px 0;
	margin:20px 0 0 0;
}
footer .counters {
	text-align:right;
}
footer .sape a {
	color:#aaa; font-size:11px;
}


/* Коррективы к bootstrap */
.pagination a {
	padding: 0 7px;
	line-height:24px;
}
.pagination .first, .pagination .last {letter-spacing: -2px;}
.pagination .active a, .pagination .active span { background-color:#949494; color:#fff; }


.radio.inline, .checkbox.inline {
	margin-right: 10px;
}
.radio.inline + .radio.inline, .checkbox.inline + .checkbox.inline {
	margin-left: 0px;
}

.btn-mini {font-size:11px;}

input[type="radio"], input[type="checkbox"] { margin-top: 2px; }





.ui-dialog {
	box-shadow: rgba(0,0,0,0.3) 5px 5px 25px;
}
.ui-sortable { cursor:move; }

.progress {position:relative;}
.progress .bar {border-radius: 4px;}
.progress .text {
	position: absolute; z-index: 999; top: 0; left: 0; width: 100%; text-align: center;
	font-weight:bold; font-size:12px;
}
.progress .text a {color:#000;}
.progress .text a:hover {color:#08c;}

.btn-toolbar .btn-label {
	display:inline-block;
	vertical-align: top;
	line-height: 22px;
}

.debug {
	font-family: monospace;
	background:#eee;
	padding:5px;
}

#yandex_ad_bottom {margin-top:15px;}
.ad-bottom {margin-top:30px;}

.spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
}

.spinner.run {
	background-image: url("/i/loading.gif");
}

.assessing-container {
	display: inline-block;
	width: 100%;
	clear: both;
	margin-bottom: 2px;
	line-height: 16px;
}

.assessing-container .blue-line {
	display: inline-block;
	/*background-color: #4682b4;*/
	background-color: #0088cc;
	text-align: right;
	padding: 3px;
	vertical-align: middle;
}

.assessing-container .blue-line-container:hover {
	opacity: 0.6;
}

.assessing-container .blue-line span {
	color: white;
	margin-right: 3px;
	/*font-weight: bold;*/
}

.assessing-container .blue-line-container {
	display: inline-block;
	width: 92%;
}

.assessing-container .blue-line-counter {
	float: right;
	vertical-align: middle;
	/*margin-left: 10px;*/
	font-weight: bold;
	line-height: 22px;
}
.result_book_poll_voters {
	margin-top:10px;
	padding-top:10px;
	border-top: 1px solid #e7e7e7;
}

.book-header > li.orfo b { color:#c00; }

.single-comment.new {
	border: 1px solid #1d98d6 !important;
	box-shadow: 0 1px 7px #2c729685;
}
.single-comment.new .comment-footer {
	background: #006dcc94;
	color: white;
}
.badges .img-polaroid {
	padding: 1px !important;
}
.btn-group-vertical > .btn + .btn, .btn-group-vertical > .btn + .btn-group, .btn-group-vertical > .btn-group + .btn, .btn-group-vertical > .btn-group + .btn-group {
	margin-top: -1px;
	margin-left: 0;
	display: block;
}

.btn-group-vertical>.btn:last-child {
	border-radius: 4px;
}

.comments-block div.comment-body {
	overflow-y: auto;
}

#up {
	bottom: 75px !important;
}

#up, #down {
	width: 48px;
	height: 48px;
	position: fixed;
	bottom: 20px;
	right: 20px;
	cursor: pointer;
	z-index: 9999;
}

@media (max-width: 767px) {
	.two_fa_modal.in {
		top: 10% !important;
	}
}
#down img {
	transform: rotate(180deg);
}
#Chapters .form-actions {
	padding: 10px 20px 12px 160px;
}
#my_notices .pagination {
	height: inherit !important;
	margin: 0 !important;
}

#promocode_block .radio.control-label {
	text-align: left !important;
}
.mass-chapters-audio { margin-bottom: 5px; }
.mass-chapters-audio > label { float: left; padding: 5px; }

.mass-chapters-audio .loader {
	display: inline-block;
	width: 18px;
	height: 18px;
	background-image: url("/img/slider/bx_loader.gif");
	background-size: 18px 18px;
	margin: auto;
	line-height: 32px;
	vertical-align: middle;
}
.position_relative {
	position: relative;
}
.bookmark-result {
	margin-top: 5px;
	padding-top: 5px;
	border-top: 1px solid rgb(231, 231, 231);
}
th.header {
	background-image: url(../img/bg.gif);
	cursor: pointer;
	font-weight: bold;
	background-repeat: no-repeat;
	background-position: center left;
	padding-left: 20px;
	border-right: 1px solid #dad9c7;
	margin-left: -1px;
}
th.headerSortUp {
	background-image: url(../img/asc.gif);
}
th.headerSortDown {
	background-image: url(../img/desc.gif);
}
.share-btns {
	display: flex;
	flex-wrap: wrap;
}

.share-btns a {
	margin-bottom: 5px;
	width: 20px;
	height: 20px;
}

.share-btns a:not(:last-child) {
	margin-right: 5px;
}

/*.share-btns a.facebook {*/
/*	background: url("../img/share-btns.png") no-repeat left top;*/
/*}*/

.share-btns a.vkontakte {
	background: url(../img/share-btns.png) no-repeat -84px top;
	background-size: cover;
}

/*.share-btns a.ok {*/
/*	background: url("../img/share-btns.png") no-repeat -126px top;*/
/*}*/

/*.share-btns a.twitter {*/
/*	background: url("../img/share-btns.png") no-repeat -42px top;*/
/*}*/

/*.share-btns a.pinterest {*/
/*	background: url("../img/share-btns.png") no-repeat -210px top;*/
/*}*/

/*.share-btns a.mail {*/
/*	background: url("../img/share-btns.png") no-repeat -294px top;*/
/*}*/

.share-btns a.telegram {
	background: url(../img/share-btns.png) no-repeat -336px top;
	background-size: cover;
}
.install_app * {
	box-sizing: border-box;
}
.install_app.open {
	top: 0;
	visibility: visible;
}

.install_app {
	position: absolute;
    top: -120px;
	visibility: collapse;
	transition: top 0.5s ease-in-out, 1s visibility ease-in-out 0.5s;
    left: 0;
    width: calc(100% - 20px);
	background: #fff;
    z-index: 9999;
    display: flex;
	flex-direction: column;
    justify-content: space-between;
    height: auto;
    margin: 0px 10px;
	border: 1px solid #3333;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 10px 10px 10px #3333;
    align-items: center;
}


@keyframes roundtime {
	to {
	  /* More performant than animating `width` */
	  transform: scaleX(0);
	  background: #82c5ff;
	}
}

.install_app__timer {
	top: 0;
	left: 0;
	position: absolute;
	height: 3px;
	border-radius: 10px;	
	background: #0088cc;
	width: 100%;
	animation: roundtime 10s forwards;
}


.install_app__promo {
	font-size: clamp(12px,calc(1.25vw + 1.25vh),22px);
	padding: 3px 5px;
	text-transform: uppercase;
	width: 100%;
	font-weight: 700;
	position: relative;
	text-align: center;
	color: #666;
	
}



.install_app__links {
	display: flex;
	gap: 15px;
	justify-content: center;
	align-items: center;
}

.install_app__link {
	display: flex;
	flex-direction: column;
	gap: 5px;
	color: #666;
	align-items: center;
}

.install_app__content {
	padding: 5px 10px;
	display: flex;
	align-items: center;
	width: 100%;
	gap: 5px;
	justify-content: space-between;
	position: relative;
}


.install_app__link:hover {
	text-decoration: none;
}

.install_app__link span{ 
	font-weight: 700;
	color: #333;
	white-space: nowrap;
}

.install_app__close {
	position: absolute;
	left: 30px;
	bottom: -20px;
	background: #fff;
	width: 40px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 10px 10px 10px #3333;
	border-radius: 0px 0px 10px 10px;
	border: none;
}

@media (max-width: 767px) {
	.form-inline input {
		width: auto;
		display: inline-block !important;
	}
	.comments-block .single-comment .comment-form {
		width: calc(100% - 20px);
	}	
}

.form-inline {
	display: inline ;
}
.form-inline.hide {
	display: none ;
}

.form-inline button[type="submit"] {
	white-space: nowrap;
}

.blogPostImg {
	max-width: 100%;
    object-fit: contain;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.blogPostImg--100W {
	width: 100%;
}

.blogPostImg--100H {
	height: 100%;
}

.blogPostImg--MaxH25 {
	max-height: 25svh;
}

.blogPostImg--MaxH50 {
	max-height: 50svh;
}

.blogPostImg--MaxH75 {
	max-height: 75svh;
}

.blogPostImg--MaxH100 {
	max-height: 100svh;
}

/* Стили для анимации вращения иконки обновления баланса */
.rotating {
	animation: rotate 1s linear infinite;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
.today-income {
	color: #4CAF50;
	margin-left: 5px;
}

.btn-accord {
	width: 48px;
}

.btn-accord::after {
	content: "⬍";
	text-align: center;
	transition: all 0.1s ease-in-out;
}

.btn-accord:hover::after {
	color: #0088cc;
}

.accord {
	transition: max-height 300ms ease-in-out;
}

.accord.accord__hide {
	max-height: 0px;
	overflow: hidden;
}

