/* BASIC LAYOUT
----------------------------------------------- */
.wrapper {min-width: 320px; position: relative;}
.wrapper-container {max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 20;}
.wrapper-main {padding: 0 var(--indent); min-height: 100vh; display: flex; flex-direction: column;}
.content {flex: 1 0 auto; padding: 30px 0;}
.header, .nav {background-color: var(--bg-lighter); box-shadow: var(--bsh); padding-top: 15px; padding-bottom: 15px;}
.header {gap: 20px 20px;}
.nav {border-top: 1px solid var(--bdc); position: relative; z-index: 60;}
.cols {display: grid; gap: 30px 30px; grid-template-columns: 260px minmax(0,1fr) 260px;}
.col-side {display: grid; gap: 30px; align-content: start; position: relative; z-index: 60;}
.footer {background-color: var(--bg-darker); color: var(--tt-lighter); 
	padding-top: 30px; padding-bottom: 30px; font-size: 14px; line-height: 1.6;}
.content-block--bg {background-color: var(--bg-lighter); border-radius: 10px; padding: 40px;}
	
#scrolltop {position: fixed; width: 60px; height: 60px; line-height: 60px; right: 10px; bottom: 10px;
	z-index: 990; display: none; background-color: var(--bg-lighter); color: var(--tt-lightest); 
	cursor: pointer; font-size: 24px; border-radius: 50%; text-align: center; box-shadow: var(--bsh);}


/* HEADER
----------------------------------------------- */
.logo {display: inline-flex; align-items: center; height: 40px; position: relative; 
	font-weight: 700; font-size: 28px; letter-spacing: 1px; padding-left: 40px; margin-right: 40px;
	background: url(../images/logo.png) 0 6px / 30px no-repeat; color: var(--tt) !important;}
.logo span {font-weight: 400; font-size: 10px; text-transform: uppercase; color: var(--tt-lightest); 
	position: absolute; right: -10px; top: 0;}
.search-block form {max-width: 400px; position: relative;}
.search-block__input[type="text"], .search-block__input[type="text"]:focus {border-radius: 20px; box-shadow: none; 
	border: 1px solid var(--bdc); background-color: var(--bg-lighter); height: 40px; line-height: 38px; padding: 0 50px 0 20px;}
.search-block__input[type="text"]:not(:focus):placeholder {color: var(--tt-lightest); opacity: 1; font-size: 14px;}
.search-block__btn {position: absolute; right: 0; top: 0; width: 50px;
	background: none; color: var(--tt); border-radius: 20px; padding: 0; font-size: 16px;}


/* NAV
----------------------------------------------- */
.nav__list {margin: 0 -40px;}
.nav__list > li, .side-nav > li {flex-grow: 1; font-size: 14px; position: relative;}
.nav__list > li + li {border-left: 1px solid var(--bdc);}
.nav__list > li > a, .side-nav > li > a {height: 40px;font-weight: 700; text-transform: uppercase; letter-spacing: 1px; 
	display: flex; align-items: center; justify-content: center; padding: 0 20px;}
.nav__list-hidden {width: 240px; padding: 40px; border-radius: 0 0 10px 10px; position: absolute; left: 0; top: 100%; 
	background-color: var(--bg-lighter); box-shadow: var(--bsh-2); display: grid; gap: 10px; 
	visibility: hidden; opacity: 0; transform: translateY(40px);}
.submenu > a::after {content:"\f107"; font-weight: 300; font-family:'Font Awesome 5 Pro'; margin-left:7px; display: inline-block;}
.side-nav {border-radius: 6px; padding: 20px 0px; background-color: var(--bg-lighter);}
.side-nav .nav__list-hidden {left: 100%; top: -40px; border-radius: 0 10px 10px 0;}
.side-nav > li > a {justify-content: flex-start;}


/* TOP
----------------------------------------------- */
.top {gap: 15px 15px; margin-bottom: 30px;}
.top-item {flex: 1 1 30%; box-shadow: var(--bsh); border-radius: 6px; padding: 0;}
.top-item:nth-child(2), .top-item:nth-child(3) {flex-basis: 60%;}
.top-item__desc {position: relative; z-index: 5; min-height: 140px; padding: 20px; color: #fff; gap: 10px; max-width: 100%;}
.top-item__title {font-weight: 600; color: #fff !important; font-size: 15px;}
.top-item__date {font-size: 12px;}
.top-item::before {height: 100%; background: var(--gradient); opacity: 0.6;}
@media screen and (min-width: 1220px) {
	.top {display: grid; grid-template-columns: repeat(6,1fr);}
	.top-item {grid-column: span 1;}
	.top-item:nth-child(3), .top-item:nth-child(4) {grid-column: span 2;}
	.top-item:nth-child(1) {grid-column: span 3; grid-row: span 2;}
	.top-item__desc {height: 100%;}
	.top-item:nth-child(1) .top-item__title {font-size: 24px; margin-bottom: 30px;}
}


/* SECTION
----------------------------------------------- */
.sect__header {margin-bottom: 30px;}
.sect__sort {height: 36px;}
.sect__sort ul {height: 36px; background-color: var(--bg-lighter);
	border-radius: 6px; position: relative; z-index: 50; cursor: pointer; text-align: center;}
.sect__sort ul li {height: 36px; line-height: 36px; visibility: hidden; padding: 0 10px; font-size: 13px;}
.sect__sort ul li[class], .sect__sort ul:hover li {visibility: visible;}
.sect__sort ul:hover {height: auto; box-shadow: var(--bsh);}
.sect__sort ul li[class]::before {content: 'Сортировать по:'; margin-right: 6px;}
.sect__sort li.asc a::after, .sect__sort li.desc a::after {content: "\f063"; font-family: "Font Awesome 5 Pro"; 
	display: inline-block; margin-left: 6px; font-weight: 300; font-size: 10px;}
.sect__sort li.desc a::after {content: "\f062"}
.speedbar {margin-bottom: 15px; margin-top: -15px; font-size: 13px; color: var(--tt-lightest);}
.descr {display: grid; grid-gap: 20px; line-height: 1.7; color: var(--tt-lighter); grid-column: 1 / -1; padding: 20px 0;}
.descr h1, .descr h2, .descr h3 {font-weight: 400; font-size: 18px; color: var(--tt); line-height: 1.3;}
.descr a {text-decoration: underline; color: var(--accent);}
.descr ul li {position: relative; padding-left: 25px; margin-left: 25px;}
.descr ul li::before {content:"\f00c"; font-weight: 300; font-family:'Font Awesome 5 Pro'; 
	color: var(--accent); position: absolute; left: 0; top: 0;}


/* SHORT STORY
----------------------------------------------- */
.short {background-color: var(--bg-lighter); border-radius: 10px; overflow: hidden;}
.short__header, .short__desc {padding: 30px;}
.short__title {font-size: 24px; font-weight: 700;}
.short__meta {margin-top: 15px; gap: 10px 20px; font-size: 12px; color: var(--tt-lighter);}
.short__meta-item a {color: var(--accent); text-decoration: underline;}
.short__meta .fal {margin-right: 6px; opacity: 0.6;}
.short__img {height: 260px; display: block;}
.short__video {display: block;}
.short__text {color: var(--tt-lighter); line-height: 1.6; margin-bottom: 38px;}
.short.grid-item {position: relative; padding-bottom: 60px;}
.short.grid-item .short__header, .short.grid-item .short__desc {padding: 20px;}
.short.grid-item .short__header {padding-bottom: 0;}
.short.grid-item .short__title {font-size: 16px;}
.short.grid-item .short__img {height: 0;}
.short.grid-item .short__meta {gap: 10px 10px;}
.short.grid-item .short__text {-webkit-line-clamp: 4; font-size: 14px; margin: 0;}
.short__btn .fal {opacity: 1; font-size: 18px; margin: 0;}
.short__btn {padding: 0; width: 40px;}
.short__btn2 {padding: 0; width: 400px;}
.short__desc .short__meta {position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;}


/* SIDEBAR
----------------------------------------------- */
.side-block__title {font-weight: 700; text-transform: uppercase; letter-spacing: 1px; 
	margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--bdc-darker);}
.side-block__content {display: grid; gap: 15px; grid-template-columns: repeat(auto-fill,minmax(240px,1fr));}
.side-block--sticky {position: sticky; left: 0; top: 20px;}
.popular {background-color: var(--bg-darker); border-radius: 6px; overflow: hidden; position: relative;}
.popular__desc {padding: 16px 20px; padding-top: 14px;}
.popular__title {font-weight: 700;}
.popular__text {font-size: 13px; color: var(--tt-lighter); margin-top: 6px; -webkit-line-clamp: 4;}
.attent {text-align: center; position: relative; border-radius: 6px; padding: 20px; background-color: var(--bg-lighter);}
.attent__title {font-weight: 700; margin: 20px 0;}
.attent .short__meta {margin: 0; margin-bottom: 20px;}
.int {position: relative; gap: 20px; height: 60px;}
.int__img {width: 60px; height: 60px; box-shadow: var(--bsh); border-radius: 6px;}
.int__title div {-webkit-line-clamp: 3; font-size: 14px;}


/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__text {color: var(--tt);}
.footer__text a {margin: 0 20px 0 0; color: var(--accent);}

.pagination {text-align: center; display: grid; gap: 20px; padding-top: 15px;}
.pagination__btn-loader a, .pagination__btn-loader span {display: inline-flex; justify-content: center; align-items: center; 
	height: 60px; padding: 0 50px; border-radius: 30px; background: var(--bg-darker); color: var(--tt-lighter);
	font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; width: 400px;  max-width: 100%;}
.pagination__pages {gap: 10px 10px;}
.pagination__pages a, .pagination__pages span {display: inline-block; line-height: 38px; 
	padding: 0 10px; min-width: 40px; font-size: 16px; border: 1px solid var(--bdc-darker); border-radius: 20px;}
.pagination__pages span:not(.nav_ext) {background: var(--accent); color: #fff; border-color: var(--accent);}


/* INNER PAGE
----------------------------------------------- */

.page__tags {font-size: 0; gap: 10px 4px; margin-top: 40px;}
.page__tags .fal {height: 30px; line-height: 30px; font-size: 16px; margin-right: 6px;}
.page__tags a {display: flex; align-items: center; white-space: nowrap; height: 30px; border-radius: 2px; 
	padding: 0 10px; font-size: 11px; text-transform: uppercase; 
	color: var(--tt-lighter); border: 1px solid var(--bdc-darker);}

.page__tags + .page__footer {margin-top: -10px;}
.page__footer {font-size: 14px; border-top: 1px solid var(--bdc); padding-top: 20px;}
.page__fav a {padding-left: 50px; position: relative; display: block; 
	color: var(--tt-lightest); line-height: 1.3; font-size: 13px;}
.page__fav .fal {width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; 
	border: 1px solid var(--bdc); border-radius: 50%; color: var(--accent);
	position: absolute; left: 0; top: 50%; margin-top: -20px;}
.page__btn-comments {height: 30px; padding: 0 10px; font-size: 11px; 
	text-transform: uppercase; margin-left: 20px;}

.page__prev-next {background-color: var(--bg-2); width: 300px; padding: 20px; 
	float: left; margin: 0 20px 10px 0; padding-bottom: 3px;}
.page__prev-next-link {line-height: 1.5; display: block; margin-bottom: 20px; font-weight: 300;}
.page__prev-next-link div {font-size: 12px; color: var(--tt-lightest); margin-bottom: 5px;}
.popular-item__img {width: 100px; height: 60px; margin-right: 20px;}
.popular-item__title {line-height: 1.4; -webkit-line-clamp: 3;}
.popular-item:hover, .page__prev-next-link:hover {text-decoration: underline;}


/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.full-text {line-height: 1.7; font-size: 15px; word-wrap: break-word;}
.full-text a {text-decoration: underline; color: #5278b1;}
.full-text img:not(.emoji), .full-text p, .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5, 
.full-text > ul, .full-text > ol, .full-text table, .page__title {margin-bottom: 30px;}
.full-text > img[style*="left"], .full-text > .highslide img[style*="left"] {margin:0 10px 10px 0;}
.full-text > img[style*="right"], .full-text > .highslide img[style*="right"] {margin:0 0 10px 10px;}
.full-text > ul li, .full-text > ol li {padding-left: 60px; position: relative;}
.full-text > ul li:before {content: ''; width: 8px; height: 8px; border-radius: 50%; 
	border: 3px solid var(--accent); position: absolute; top: 5px; left: 34px;}
.full-text > ol {counter-reset: num;}
.full-text > ol li:before {content: counter(num); counter-increment: num; background-color: var(--accent); color: #fff; 
	position: absolute; top: -2px; left: 17px; width: 24px; height: 30px; font-size: 14px; font-weight: 600;
	display: flex; justify-content: flex-end; align-items: center; padding-right: 6px; box-sizing: border-box;}
.full-text > ol li:after {content: ''; border: 10px solid transparent; border-left-color: var(--accent); 
	position: absolute; left: 41px; top: -2px; transform: scale(0.66,1.5); transform-origin: 0 0;}
.full-text > ul li + li, .full-text > ol li + li {margin-top: 10px;}
.full-text table, .video-inside > * {width:100%;}
.full-text table tr td {padding:10px; border:2px solid #fff;}
.full-text table tr:nth-child(2n+1) {background-color:#f2f6f9;} 
.full-text table tr:nth-child(1) {background-color:#cee0ed;}
.full-text table img:not(.emoji) {margin:0; max-width:350px}
.full-text > *:last-child {margin-bottom: 0;}
.video-responsive {padding-top: 60%; position: relative;}
.video-responsive > iframe, .video-responsive > video {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 21px;}
.full-text iframe {width: 100%; height: 400px; margin-bottom: 20px;}
.fdl-btn {display: block; position: relative; box-shadow: 0 3px 10px rgba(0,0,0,0.1); 
	text-decoration: none !important; padding: 15px 15px 15px 130px;
	background: linear-gradient(to top, #27ae60, #2ecc71); color: #fff !important; overflow: hidden;}
.fdl-btn-title {font-weight: 500; text-transform: uppercase; word-wrap: break-word;}
.fdl-btn-size {font-size: 14px; margin-top: -2px; margin-bottom: 6px; opacity: 0.9;}
.fdl-btn-caption {opacity: 0.7; font-size: 14px;}
.fdl-btn-dl {font-size: 12px; text-transform: uppercase; margin-left: 15px;}
.fdl-btn > * {position: relative; z-index: 3;}
.fdl-btn-icon {width: 50px; height: 50px; border-radius: 50%; margin-top: -25px; font-size: 24px;
	position: absolute; left: 40px; top: 50%; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 15px rgba(0,0,0,0.13), 0 0 0 30px rgba(0,0,0,0.08), 0 0 0 45px rgba(0,0,0,0.04);}


/* COMMENTS
----------------------------------------------- */
.page__comments {margin: 0; margin-top: 30px; padding: 20px; border-radius: 10px; background: var(--bg-lighter);}
.page__comments-title {font-size: 21px; font-weight: 700; margin-bottom: 20px;}
.page__comments-info {font-size: 14px; margin-bottom: 15px; margin-top: -15px; 
	color: var(--tt-lighter); line-height: 1.5;}
.page__comments-info .fal {color: #eb4d4b; margin-right: 6px;}
.page__comments-header {position: relative; padding-right: 130px;}
.page__comments-btn {position: absolute; right: 0; top: 0;}
.ac-form {display: grid; gap: 20px; margin-bottom: 40px;}
.ac-form__bottom {gap: 10px 20px;}
.ac-form .message-info {margin: 0;}
.ac-form .tox-tinymce {height: 160px !important;}
.comments_subscribe + br {display: none;}
.mass_comments_action {display: flex; align-items: center; max-width: 800px; white-space: nowrap; margin-bottom: 20px;}
.mass_comments_action select {flex: 1 1 0; margin: 0 -8px 0 20px;}
.mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}
.has-comms {margin-bottom: -20px;}

.comment-item__title {font-weight: 700; font-size: 18px; margin-bottom: 20px;}
.comment-item {margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--bdc-darker);}
.comment-item__img {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.comment-item__letter {width: 100%; height: 100%; text-transform: uppercase; font-weight: 700; 
	position: absolute; left: 0; top: 0; z-index: 5; color: #fff; font-size: 18px;}
.comment-item__author {font-weight: 600; font-size: 14px;}
.comment-item__date {color: var(--tt-lightest); margin-top: 4px; font-size: 12px;}
.comment-item__main {margin: 8px 0 6px 0; font-size: 15px;}
.comment-item__rating {white-space: nowrap; font-size: 14px;}
.comment-item__rating a {margin-left: 6px;}
.comment-item__rating a > span:first-child {color: #6ab04c; margin-right: 2px;}
.comment-item__rating a:last-child > span:first-child {color: #eb4d4b;}
.comment-item__reply a {font-size: 12px; margin-right: 20px; color: var(--tt-lightest);}
.comment-item__reply a .fal {margin-left: 5px;}
.comment-item__reply + .comment-item__reply a .fal {margin-left: 0; margin-right: 5px;}
.comment-item__controls {text-align: right; font-size: 12px; margin-right: -15px;}
.comment-item__controls li {display: inline-block; vertical-align: middle; margin: 0 0 0 10px; height: 16px; line-height: 16px;}
.comment-item__controls a:not(:hover) {color: var(--tt-lightest);}
.comment-item__footer a:hover {text-decoration: underline;}
.comment-item__rating a:hover > span:first-child {text-decoration: none;}
.comment-item__controls .checkbox {transform: scale(0.8,0.8); margin-left: 5px;}


/* LOGIN
----------------------------------------------- */
.login {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%); overflow: hidden;
	background-color: var(--ui-bg); border-radius: 4px; width: 400px; 
	box-shadow: 0 0 0 10px rgba(255,255,255,0.2), 0 15px 45px rgba(0,0,0,1);}
.login__header {padding: 20px 40px; background-color: var(--ui-bg-darker);}
.login__title {font-size: 18px; font-weight: 600; padding: 1px 0; text-transform: capitalize;}
.login__close {cursor: pointer; font-size: 24px; opacity: 0.6; margin-left: 20px;}
.login__title a {border-bottom: 1px dotted var(--tt-lighter); margin-left: 10px; font-weight: 400; color: var(--tt-lightest);}
.login__content {padding: 20px 40px;}
.login__row {margin-bottom: 20px; position: relative; display: block; font-size: 14px; color: var(--tt-lightest);}
.login__caption {font-size: 14px; color: var(--tt); margin-bottom: 10px;}
.login__caption a {text-decoration: underline; margin-left: 6px; color: var(--accent);}
.login__input input {padding-left: 40px;}
.login__row .fal {opacity: 0.5; position: absolute; left: 0; bottom: 0; line-height: 40px; width: 40px; text-align: center;}
.login__row button {width: 100%;}
.login__social {background-color: var(--ui-bg-darker); padding: 20px 40px; text-align: center;}
.login__social-caption {font-size: 11px; text-transform: uppercase; margin-bottom: 10px;}
.login__social-btns a {display:inline-block; margin: 0 3px; vertical-align:top;}
.login__social-btns img {display:block; width:34px; height: 34px;}
.login__avatar {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.login__menu {padding-left: 35px; padding-right: 35px; margin-bottom: -10px;}
.login__menu li {flex: 1 1 0; min-width: auto; max-width: 100%; margin: 0 5px 10px 5px;}
.login__menu a {display: block; border-radius: 6px; padding: 10px; text-align: center; white-space: nowrap;
	background-color: var(--ui-bg-darker); box-shadow: inset 0 0 10px rgba(0,0,0,0.1); font-size: 13px;}
.login__menu .fal {display: block; height: 30px; font-size: 24px; opacity: 0.3;}


/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
	opacity: 0.6; background-color: #000; cursor: pointer; display: none;}
.mobile-menu {width: 280px; height: 100%; overflow-x: hidden; overflow-y: auto;
	padding: 10px 20px; z-index: 999; position: fixed; left: -320px; top: 0; transition: left .4s; 
	background-color: var(--bg-lighter); color: var(--tt);}
.mobile-menu.is-active {left: 0;}
.mobile-menu-close {cursor: pointer; display: block; left: 280px; top: -40px; position: fixed; z-index: 999;
	width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 18px; opacity: 0;
	background-color: #e84e36; color: #fff; transition: top .4s, opacity .4s;}
.mobile-menu-close.is-active {top: 0px; opacity: 1;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu ul {margin: 0; padding: 0; display: block;}
.mobile-menu ul > li {width: 100%; margin: 0; padding: 0; border: 0;}
.mobile-menu ul > li > a {height: 40px; line-height: 40px; padding: 0; display: block;}
.mobile-menu .nav__list-hidden {width: 100%; height: auto; display: block; position: relative; left: 0; top: 0;
	width: calc(100% + 40px); margin: 15px -20px; padding: 10px 20px; border-radius: 0 !important;
	opacity: 1; visibility: visible; transform: none; background: var(--bg);}

@media screen and (max-width: 1220px) {
	body {background-image: none;}
	.wrapper {padding: 0; background-image: none; overflow: hidden;}
	.wrapper-container {max-width:1000px;}
	#scrolltop {width: 40px; height: 40px; line-height: 40px; font-size: 18px;}
	.nav, .col-side .js-this-in-mobile-menu, .header__link, .hm {display: none;}
	.header__btn-menu {display: inline-flex; width: 40px; padding: 0; font-size: 18px;}
	.cols {grid-template-columns: minmax(0,1fr);}
	.col-side {order: 10;}
	.footer {display: block; text-align: center;}
	.footer__text {margin: 20px 0;}
	.footer__logo {margin: 0;}
	.side-block--sticky {position: static;}
	.top-item {flex: 1 0 30% !important;}
}

@media screen and (max-width: 950px) {
	.wrapper-container {max-width:768px;}
	.top-item {flex: 1 0 200px !important;}
	.short__header, .short__desc, .content-block--bg {padding: 20px;}
	.short__text {margin-bottom: 20px;}
}

@media screen and (max-width: 760px) {
	.wrapper-container {max-width:640px;}
	.header {gap: 20px 10px;}
	.header__search {min-width: 100%; order: 10; margin: 0;}
	.header__search form {max-width: 100%;}
	.header__logo {flex: 1 1 0; max-width: 100%; min-width: 100px; margin: 0;}
	.header__logo span {position: static; font-size: 1em; text-transform: none; margin-left: 3px;}
	.top {gap: 10px 10px;}
	.short__title, .sect__title, h1, h2, h3, h4, h5 {font-size: 18px;}
	.header__btn-login {width: 40px; overflow: hidden; font-size: 0; padding: 0; display: block;}
	.header__btn-login::before {display: block; width: 40px; height: 40px; line-height: 40px; text-align: center; 
		font-size: 18px; content:"\f007"; font-weight: 300; font-family:'Font Awesome 5 Pro';}
	
	.page .short, .content-block--bg, .page__comments {margin-left: -20px; margin-right: -20px; border-radius: 0;}
	.page__text .quote {margin-left: var(--indent-negative); margin-right: var(--indent-negative); padding-right: var(--indent);}
	.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 18px;}
	
	.ac-form__bottom > * {min-width: 100%;}
	.ac-form__bottom button {width: 100%; order: 10;}
	.mass_comments_action, .comment-item__controls, .comment-item__rating-caption {display: none;}
}

@media screen and (max-width: 590px) {
	.wrapper-container {max-width:480px;}
	.login {max-width: 90%; max-height: 90%; overflow-x: hidden; overflow-y: auto;}
	.login__header, .login__content, .login__social, .pages-bg {padding-left: 20px; padding-right: 20px;}		

	.page__share {display: flex; min-width: 100%; margin: 0 0 20px 0px;}
	.page__yadzen {width: 100%; margin-bottom: 20px;}
	.page__meta, .page__date {font-size: 12px;}
	.page__header h1 {line-height: 1.4; font-size: 19px;}
	.page__poster {height: 240px;}
	.page__date {position: absolute; left: 0px; top: 30px;}
	.page__rating {top: 20px; bottom: auto; font-size: 13px;}
	.page__rating > * {width: 40px; padding: 5px; text-align: center; height: 70px;}
	.page__rating .fal {margin: 0; margin-bottom: 6px;}
}

@media screen and (max-width: 470px) {
	.wrapper-container22 {max-width:360px;}
	.header__logo {font-size: 22px;}
	.hm2, .page__comments-info {display: none;}
	.short__img {height: 160px;}
	.short__text {font-size: 13px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;}
	.pagination__btn-loader > * {width: 100% !important; padding: 0 !important;}
	.hm {display: block;}
	
	.full-text iframe {width: calc(100% + 40px); max-width: calc(100% + 40px); height: 260px; margin-left: -20px; margin-right: -20px;}
}
figure {
    margin: 0;
}

figure.align-left {
    float: left;
}

figure.align-right {
    float: right;
}

figure.image.align-center {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

figure.image figcaption {
	padding: 1rem;
    background-color: #fafafa;
    font-size: .8rem;
    caption-side: bottom;
    word-break: break-word;
    text-align: center;
}

figure.image.align-center figcaption {
	display: table-caption;
}
.comments-image-gallery {
  margin: 0;
  padding: 0;  
  list-style: none;
  clear: both;
}

.comments-image-gallery li{
	list-style: none;
	margin: 0;
	padding: 0;  
}
.comments-image-gallery li img{
  float: left;
  margin-right: 5px;
  border: 5px solid #fff;
  width: 100px;
  height: 100px;
  transition: box-shadow 0.5s ease;
}

.comments-image-gallery li img:hover {
  box-shadow: 0px 0px 7px rgba(0,0,0,0.4);
}

.mce-toc {
  border: 1px solid #dbdada;
  margin: 0 0 .7rem 0;
}

.mce-toc h2 {
  margin: 4px;
}

.mce-toc ul {
  padding-left: 20px;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 1em;
  margin-block-end: 1em;
}

.mce-toc ul ul {
  padding-left: 20px;
  margin-block-start: 0;
  margin-block-end: 0;
}

.mce-toc li {
  list-style-type: none;
}
.image-bordered {
	border: 1px solid #ddd;
}

.image-shadows {
	box-shadow: rgb(9 30 66 / 25%) 0px 4px 8px -2px, rgb(9 30 66 / 8%) 0px 0px 0px 1px;
}

.image-padded {
	padding: 0.5rem;
}

.comments-user-profile {
  font-weight: bold;
  cursor: pointer;
  color: #3394e6;
}	
.title_spoiler svg{
	vertical-align: middle;
	margin-top: -4px;
	margin-right: 7px;
	height: 16px;
	width: 16px;
}	
.mce-accordion summary {
	cursor: pointer;
}

.self_delete_link {
	border: 0 none;
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	padding: 12px 27px;
	border-radius: 10px;
	outline: none;
	background-color: #f44336;
	color: #fff;
	text-shadow: 0 1px #333;
	text-decoration: none !important;
	box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
	box-sizing: border-box;
	transition: all ease .1s; transition: all ease .1s;
}
.DLEPush {
	z-index: 2001;
	position: fixed;
	right: 20px;
	top: 20px
}

@keyframes DLEPush-show {
	0% {
		transform: translateY(100%);
		opacity: 0;
	}

	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

.DLEPush-notification.wrapper {
	animation-name: DLEPush-show;
	animation-duration: 1s;
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
	max-width: 400px;
	box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
	background-color: #fff;
	border-radius: 10px
}

.DLEPush-notification .DLEPush-icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	width: 45px;
	height: 100%;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	text-align: center;
}

.DLEPush-notification .DLEPush-icon svg {
	scale: .8;
}

.DLEPush-notification .DLEPush-header {
	font-weight: 500;
	grid-column: 2;
	grid-row: 1;
	font-size: 1rem;
	margin-left: 1rem;
	margin-top: .5rem;
}
.DLEPush-notification .DLEPush-header:empty {
	margin-top: 0;
}

.DLEPush-notification .DLEPush-message {
	grid-column: 2;
	grid-row: 2;
	font-size: .875rem;
	margin: 1rem;
}

.DLEPush-notification .DLEPush-message li, .DLEPush-notification .DLEPush-message ul {
	list-style-type: none;
	padding-left: 0;
}

.DLEPush-notification .DLEPush-close {
	position: absolute;
	top: 8px;
	right: 10px;
	font-weight: 300;
	background: none;
	border: 0;
	font-size: 1.15rem;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	color: inherit;
	outline: 0;
	opacity: 0.75;
}

@media only screen and (min-width: 601px) {
	.DLEPush-notification.wrapper {
		min-width: 400px;
	}
}

.DLEPush-notification .DLEPush-close:hover {
	opacity: 1;
}

.DLEPush-notification.wrapper.push-success {
	background-color: #e0f2f1;
}

.DLEPush-notification.wrapper.push-success .DLEPush-icon {
	background-color: #00897b;
}

.DLEPush-notification.wrapper.push-warning {
	background-color: #FFF3E0;
}

.DLEPush-notification.wrapper.push-warning .DLEPush-icon {
	background-color: #FF9800;
}

.DLEPush-notification.wrapper.push-error {
	background-color: #FBE9E7;
}

.DLEPush-notification.wrapper.push-error .DLEPush-icon {
	background-color: #FF5722;
}

input[type="text"].comments_author_field {
	width: 100%;
	margin-bottom: 10px;
}	
.ui-dialog-buttonset button.ui-button-delete {
    background-color: #f44336;
    border-color: #f44336;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}
.ui-dialog-buttonset button.ui-button-delete:hover {
    background-color: #db3a2f;
    border-color: #db3a2f;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}
.form-check-label {
    cursor: pointer;
}
.form-check-input {
    color: #0c5f7eed;
    flex-shrink: 0;
    width: 1.12rem;
    height: 1.12rem;
    margin: -0.188rem 0.625rem 0 0;
    appearance: none;
    background-color: transparent;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #0c5f7eed;
    vertical-align: middle;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%230c5f7eed' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%230c5f7eed'/%3e%3c/svg%3e");
}

.form-check-input[type=checkbox] {
    border-radius: .25rem;
}

.form-check-input[type=radio] {
    border-radius: 50%;
}
.pm th{
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
}
.pm th.pm_checkbox {
	text-align: center;
}
.pm_list.pm_subj, .pm_list.pm_icon, .pm_list.pm_last_user {
 cursor: pointer;
}
.pm_list.pm_icon svg {
	width: 1.4rem;
	height: 1.4rem;
	vertical-align: middle;
}

.pm_list.pm_icon.pm-unread-image {
 color: #3394e6;
}
.pm td.pm_list.pm_icon, .userstop td, th.pm_head.pm_icon {
	border-bottom: none;
}
.pm_list.pm_icon.pm-reply-image {
	color: #087e02c4;
}
.pm_list.pm_icon.pm-read-image {
	color: #afafaf;
}

.pm_list .pm_last_message, .pm_list .pm_last_date, .pm_list .pm_with_user {
	color: #64748b;
	font-size: .8rem;
}
.pm tbody > tr:hover {
    background-color: #e2e8f099;
}
.pm_navigation {
	margin-top: 1rem;
}
.pm_navigation .navigation {
	display: inline-block;
	color: #333333;
	background-color: #f5f5f5;
	border-radius: 0.188rem;
	padding: .4rem;
}

.pm_navigation .navigation a, .pm_navigation .navigation span {
    padding: 0.5rem;
    min-width: 2.25rem;
}
.pm_navigation .navigation span {
    background-color: #4581d0;
    color: #fff;
}
.pm_navigation .navigation a {
    text-decoration: none;
    color: #000;
}
.pm_navigation .navigation a:hover {
    background-color: #e2e8f0;
}
.quote_link {
	float: right;
}
.quote_link svg {
	color: #6c838e;
	vertical-align: middle;
}


.footer {
	background: #1e1e1e;
}

	.footer-w {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		max-width: 1366px;
		margin: 0 auto;
		box-sizing: border-box;
		padding: 30px 30px;
		text-align: left;
	}
	
		.footer-l {
			width: 400px;
			margin: 0 40px 0 0;
		}
		
			.footer-w .logo {
				margin: 0 0 20px 0;
				color: #fff !important;
			}
				
				.footer-soc {
					display: flex;
					margin: 0 0 20px 0;
				}
				
					.footer-soc a {
						display: flex;
						justify-content: center;
						align-items: center;
						width: 30px;
						height: 30px;
						border-radius: 100%;
						background: #3f3f3f;
						margin: 0 5px 0 0;
						transition:all 0.2s ease;
					}
					
						.footer-soc a img {
							height: 14px;
							opacity: 0.5;
							transition:all 0.2s ease;
						}
						
						.footer-soc a:hover {
							background: #4c4068;
						}
						
							.footer-soc a:hover img {
								opacity: 1;
							}
							
				.footer-text {
					color: #fff;
					font-size: 13px;
					line-height: 18px;
				}
				
					.footer-text a {
						color: #fff;
						text-decoration: underline;
					}
					
						.footer-text a:hover {
							color: #4c4068;
						}
						
		.footer-col {
			
		}
		
			.footer-col > div {
				color: #fff;
				font-size: 18px;
				margin: 0 0 20px 0;
			}
			
			.footer-col a {
				color: #adadad;
				font-size: 14px;
				display: block;
				margin: 0 0 10px 0;
			}
			
				.footer-col a:hover {
					color: #fff;
				}
				
.page .short__meta-item {
	padding: 5px 0 0 0;
}
				
.page .short__meta-item a {
	height: 30px;
	line-height: 30px;
    border-radius: 2px;
    padding: 0 10px;
    font-size: 11px;
    /* text-transform: uppercase; */
    color: var(--tt-lighter);
    border: 1px solid var(--bdc-darker);
	display: inline-block;vertical-align: top;
	    transition: color 0.3s, background-color 0.3s, opacity 0.3s, box-shadow 0.3s, transform 0.3s;
	margin: -4px 10px 5px 0;
	text-decoration: none;
	
}

	.page .short__meta-item a:hover {
		background: var(--accent);
        color: #fff;
        border-color: var(--accent);
	}
	
::selection {
	background: #686de0; 
	color: #fff;
}

#searchsuggestions {
	z-index: 99998; width: 360px; 
	background: #fff; 
	box-shadow: 0 0 30px rgba(0,0,0,0.1);
	box-sizing: border-box;
	padding: 20px;
}

.frez {
	display: flex;
	justify-content: space-between;
	padding: 20px;
	box-sizing: border-box;
	padding: 0 0 20px 0;
	margin: 0 0 20px 0;
	border-bottom: 1px #eee solid;
	align-items: center;
}

	.frez-image {
		width: 100px;
		height: 60px;
		overflow: hidden;
		border-radius: 5px;
		
	}
	
		.frez-image img {
			width: 100%;
			height: 100%;
			border-radius: 5px;
			object-fit: cover;
		}
		
	.frez-r {
		width: calc(100% - 120px);
	}
	
		.frez-title {
			color: #000;
			font-size: 13px;
			display: block;
			font-weight: 600;
		}
		
	.frez:hover	.frez-title { 
		color: var(--accent);
	}
	
.msort {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 5px;
	padding: 8px;
	margin: 0 0 30px 0;
}

	.msort-title {
		padding: 0 16px 0 16px;
		font-size: 13px;
		color: #000;
		font-weight: 500;
	}
	
	.msort form {
		
	}
	
	.msort ul {
		margin: 0;
		padding: 0;
	}
	
	.msort li {
		display: inline-block;vertical-align: top;
		list-style-type: none;
		margin: 0 10px 0 0;
		padding: 0;
	}
	
	.msort li a {
		display: block;
		height: 30px;
		line-height: 30px;
		padding: 0 5px;
		color: #949494;
		font-size: 13px;
		transition:all 0.2s linear;
		text-decoration: underline;
	}
	
	.msort li a:hover {
		color: #000;
	}
	
	.msort li.asc a {
		background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.7099 12.71C17.617 12.6163 17.5064 12.5419 17.3845 12.4911C17.2627 12.4403 17.1319 12.4142 16.9999 12.4142C16.8679 12.4142 16.7372 12.4403 16.6154 12.4911C16.4935 12.5419 16.3829 12.6163 16.2899 12.71L12.9999 16V6C12.9999 5.73478 12.8946 5.48043 12.707 5.29289C12.5195 5.10536 12.2652 5 11.9999 5C11.7347 5 11.4804 5.10536 11.2928 5.29289C11.1053 5.48043 10.9999 5.73478 10.9999 6V16L7.70994 12.71C7.61697 12.6163 7.50637 12.5419 7.38451 12.4911C7.26266 12.4403 7.13195 12.4142 6.99994 12.4142C6.86793 12.4142 6.73722 12.4403 6.61536 12.4911C6.4935 12.5419 6.3829 12.6163 6.28994 12.71C6.10369 12.8974 5.99915 13.1508 5.99915 13.415C5.99915 13.6792 6.10369 13.9326 6.28994 14.12L10.5899 18.41C10.9633 18.7856 11.4704 18.9978 11.9999 19C12.526 18.9951 13.029 18.7832 13.3999 18.41L17.6999 14.12C17.8875 13.934 17.9939 13.6813 17.9957 13.4171C17.9976 13.1529 17.8949 12.8987 17.7099 12.71Z' fill='%23257ada'/%3E%3C/svg%3E%0A") 10px center no-repeat;
		background-size: 18px auto;
		padding: 0 5px 0 28px;
		color: var(--or);
	}
	
	.msort li.desc a {
		background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.7102 9.88001L13.4102 5.59001C13.0355 5.21751 12.5286 5.00842 12.0002 5.00842C11.4718 5.00842 10.9649 5.21751 10.5902 5.59001L6.29018 9.88001C6.10393 10.0674 5.99939 10.3208 5.99939 10.585C5.99939 10.8492 6.10393 11.1026 6.29018 11.29C6.38315 11.3837 6.49375 11.4581 6.61561 11.5089C6.73746 11.5597 6.86817 11.5858 7.00018 11.5858C7.13219 11.5858 7.2629 11.5597 7.38476 11.5089C7.50662 11.4581 7.61722 11.3837 7.71018 11.29L11.0002 8.00001V19C11.0002 19.2652 11.1055 19.5196 11.2931 19.7071C11.4806 19.8947 11.735 20 12.0002 20C12.2654 20 12.5198 19.8947 12.7073 19.7071C12.8948 19.5196 13.0002 19.2652 13.0002 19V8.00001L16.2902 11.29C16.4772 11.4783 16.7313 11.5846 16.9966 11.5856C17.262 11.5865 17.5169 11.482 17.7052 11.295C17.8935 11.108 17.9998 10.8539 18.0007 10.5885C18.0017 10.3232 17.8972 10.0683 17.7102 9.88001Z' fill='%23257ada'/%3E%3C/svg%3E%0A") 10px center no-repeat;
		background-size: 18px auto;
		padding: 0 15px 0 28px;
		color: var(--or);
	}
		
.lbm {
	margin: 0 0 20px 0;
}

	.lbm a {
		display: block;
		margin: 0 0 20px 0;
	}
	
		.lbm img {
			max-width: 65%;
			display: block;
			margin: 0 0 20px 0;
		}
		
		
@media (max-width: 1220px) {
	
	.footer-w {
		max-width: 1000px;
	}
	
	.msort-title {
		display: none;
	}
	
	.msort li a {
		height: 24px;
		line-height: 24px;
	}
	
}


@media (max-width: 950px) {
	
	.footer-w {
		max-width: 768px;
		justify-content: space-between;
	}
	
	.footer-l {
		width: 100%;
		margin: 0 0 40px 0;
	}
	
	.footer-col {
		width: 48%;
	}
	
}

@media (max-width: 760px) {
	
	.footer-w {
		max-width: 640px;
	}
	
}


@media (max-width: 590px) {
	
	.footer-w {
		max-width: 480px;
	}
	
	.footer-col {
		width: 100%;
		margin: 0 0 20px 0;
	}
	
}