/* 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: 40px 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: 40px 40px; grid-template-columns: minmax(0,1fr) 300px;}
.col-side {display: grid; gap: 40px 40px; align-content: start;}
.footer {color: var(--tt-lighter); padding-top: 40px; padding-bottom: 40px; font-size: 14px; line-height: 1.6;
background: #232526;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #414345, #232526);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #414345, #232526); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.content-block--bg {background-color: var(--bg-lighter); /*padding: 40px;*/}
	
#scrolltop {position: fixed; width: 45px; height: 45px; line-height: 45px; right: 10px; bottom: 10px;
	z-index: 990; display: none; background-color: #0078d7; color: #fff; 
	cursor: pointer; font-size: 18px; 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.svg) 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 #dbdfea; 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: 18px; position: relative;}
.nav__list > li + li {border-left: 1px solid var(--bdc);}
.nav__list > li > a, .side-nav > li > a {height: 40px;font-weight: bold; text-transform: uppercase; /*letter-spacing: 1px;*/ 
	display: flex; align-items: center; justify-content: center; padding: 0 20px;}
.nav__list-hidden {width: 240px; padding: 30px; border-radius: 0 0 6px 6px; position: absolute; left: 0; top: 100%; font-size: 16px; 
	background-color: var(--ui-bg-darker); 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; background-color: var(--bg-lighter);}
.side-nav .nav__list-hidden {left: auto; right: 100%; top: -40px; border-radius: 10px 0 0 10px;}
.side-nav > li > a {justify-content: flex-start;}


/* TOP
----------------------------------------------- */
.top {gap: 15px 15px; margin-bottom: 40px;}
.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: 16px;}
.top-item__date {font-size: 12px;}
.top-item::before {height: 100%; background: var(--gradient); opacity: 0.6;}


/* SECTION
----------------------------------------------- */
.sect__header {margin-bottom: 40px;}
.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: 14px;}
.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: 20px; margin-top: -20px; font-size: 14px; 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; border: 1px solid #dbdfea;*/}
.short__header {/*padding: 40px 40px 0 40px;*/}
.short__desc {padding: 20px 0;}
.short__title {font-size: 28px; font-weight: 700; color: #000;}
.short__meta {margin-top: 15px; gap: 10px 20px; font-size: 13px; color: var(--tt-lighter);}
.short__meta-item a {color: var(--accent); text-decoration: underline;}
.short__meta .fal {margin-right: 6px; opacity: 1;}
.short__img {height: 260px;}
.short__text {color: var(--tt-lighter); line-height: 1.6; margin-bottom: 38px;}


/* SIDEBAR
----------------------------------------------- */
.side-block__title {font-size:16px;font-weight:700;text-transform:uppercase;color:#fff;letter-spacing:1px;margin-bottom:20px;padding:10px 20px;border-radius:6px;letter-spacing:1px;
background: #f12711;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #f5af19, #f12711);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #f5af19, #f12711); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.side-block__content {display: grid; gap: 20px; grid-template-columns: repeat(auto-fill,minmax(280px,1fr));}
.side-block--sticky {position: sticky; left: 0; top: 20px;}
.popular {background-color: var(--ui-bg); /*border: 1px solid #dbdfea;*/ overflow: hidden; position: relative;}
.popular__desc {padding: 10px 0; padding-top: 14px;}
.popular__title {font-size: 18px; font-weight: 700; var(--tt-lighter);}
.popular__text {font-size: 14px; color: #666; margin-top: 6px; -webkit-line-clamp: 4;}
.popular__foot {font-size: 13px; color: #5d5d5d; margin-top: 10px; -webkit-line-clamp: 4; padding-top: 10px; border-top:1px solid var(--bdc-darker);}
.popular__foot span {margin-right: 12px;}
.popular__foot i {margin-right: 6px; color: var(--tt-lighter);}
.popular__img  {border-radius: 10px;}
.attent {text-align: center; position: relative; border: 1px solid #dbdfea; 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: #aaa;}
.footer__text a {margin: 0 20px 0 0; font-weight: 700; color: var(--ui-tt-on-accent);}

.pagination {text-align: center; display: grid; gap: 20px;}
.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; letter-spacing: 1px; width: 400px;  max-width: 100%;}
.pagination__pages {gap: 10px 10px;}
.pagination__pages a, .pagination__pages span {display: inline-block; line-height: 30px; 
	padding: 0 10px; min-width: 40px; font-size: 16px; border: 1px solid var(--bdc-darker); border-radius: 3px;}
.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: 4px; 
	padding: 4px 10px; font-size: 13px; /*text-transform: uppercase;*/ 
	color: #526484; border: 1px solid #dbdfea;}

.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.6;*/ font-size: 16px; word-wrap: break-word; margin-bottom: 1rem;}
.full-text a {color: #0078d7;}
.full-text a:hover {text-decoration: none;}
.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: 1rem;}
.full-text img:not(.emoji) {display: block; margin-left: auto; margin-right: auto; margin-bottom: 1rem; border-radius: 10px;}
.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 {display: block;list-style-type: disc; padding-left: 40px;padding-bottom:0.6rem;}
.full-text > ul li {line-height:1.5}
.full-text > ol {display: block;list-style-type: decimal; padding-left: 40px;padding-bottom:0.6rem;}
.full-text > ol li {line-height:1.5}
.full-text > ul li ul, .full-text > ol li ol {display: block;list-style-type: circle; padding-left: 40px;padding-top:0.6rem;padding-bottom:0.6rem;}
.full-text > ul li ul li, .full-text > ol li ol li {line-height:1.5}
/*.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 #9096ad; 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: #9096ad; 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: #9096ad; 
	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; border-radius: 6px;
	background: linear-gradient(to top, #27ae60, #2ecc71); color: #fff !important; overflow: hidden;}
.fdl-btn-title {font-weight: 700; 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: 40px;}
.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: 16px;}
.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: 16px; 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(--accent);}
.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: 14px;}
.login__menu .fal {display: block; height: 30px; font-size: 24px; opacity: 0.6; color: #0078d7; }

/*--- Highlight ---*/
.hljs-comment,.hljs-quote{color:#a0a1a7;font-style:italic}
.hljs-doctag,.hljs-keyword,.hljs-formula{color:#a626a4}
.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e45649}
.hljs-literal{color:#0184bb}
.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta-string{color:#50a14f}
.hljs-built_in,.hljs-class .hljs-title{color:#c18401}
.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#986801}
.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#4078f2}
.hljs-emphasis{font-style:italic}
.hljs-strong{font-weight:700}
.hljs-link{text-decoration:underline}
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 .5s ease}
.comments-image-gallery li img:hover{box-shadow:0 0 7px rgba(0,0,0,0.4)}
.mce-toc{border:1px solid #dbdada;margin:0 0 .7rem}
.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:#170000 0 4px 8px -2px,#170000 0 0 0 1px}
.image-padded{padding:.5rem}
.comments-user-profile{font-weight:700;cursor:pointer;color:#3394e6}
.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}


/* 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(--ui-bg-darker);}

@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);}
	.footer {display: block; text-align: center;}
	.footer__text {margin: 20px 0;}
	.footer__logo {margin: 0;}
	.side-block--sticky {position: static;}
}

@media screen and (max-width: 950px) {
	.wrapper-container {max-width:768px;}
    .info-blocks {white-space: nowrap; overflow-y: hidden; overflow-x: auto;}
	.info-block {width:375px; display: inline-block; vertical-align: top; float:none;}
	.info-block p {white-space: normal;}
	.top-item {flex: 1 0 200px !important;}
	.short__header, .short__desc, .content-block--bg {padding: 20px;}
	.short__text {margin-bottom: 20px;}
	.d-grid, #dle-content {gap: 20px 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 {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;}
}

.info-blocks {
    border: 1px solid #dbdfea;
    border-radius: 10px;
	background: #fff;
    margin-top: 30px;
    padding: 26px 0;
}
.info-block {
    padding: 0 30px;
    border-left: 1px solid #ededed;
	float:left;
	width:33.33%;
}
.info-block:first-child {
    border-left: 0;
}
.info-block:hover .info-block-icon {
    transform: rotate(15deg);
}
.info-block-icon {
    float: left;
    font-size: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    transition: all .3s ease;
	color: var(--accent);
}	
.info-block h4 {
    margin-left: 50px;
    font-size: 15px;
    margin-bottom: 5px;
    line-height: 15px;
    color: var(--accent);
}
.info-block p {
    margin-left: 50px;
    color: #5d5d5d;
}

.link_attachment {
    margin-top: 10px;
    margin-bottom: 10px;
	border-top: 1px solid #dab347;
	border-left: 1px solid #c59c2f;
	border-right: 1px solid #c59c2f;
	border-bottom: 1px solid #b38a1d;
	display: block;
	width: 158px;
	text-decoration: none;
	color: #835503;
	font-size: 15px;
	text-transform: uppercase;
	font-weight: 700;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
	position: relative;
	height: 37px;
}

.title_attachment {
	width: 156px;
	height: 35px;
	line-height: 32px;
	border-top: 1px solid #f9f0af;
    font-size: 16px;
	background: #f4e675;
    color: #835503;
	background: -moz-linear-gradient(top,  #f4e675 0%, #edd13a 100%);
	background: -webkit-linear-gradient(top,  #f4e675 0%, #edd13a 100%);
	background: linear-gradient(to bottom,  #f4e675 0%, #edd13a 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f4e675", endColorstr="#edd13a", GradientType=0);
	text-align: center;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	text-shadow: 0 1px 0 #f6e790;
	position: absolute;
	z-index: 9;
}

.link_attachment:hover .title_attachment {
	border-top: 1px solid #faf5c7;
	background: #f7ed9d;
	background: -moz-linear-gradient(top,  #f7ed9d 0%, #eed53f 100%);
	background: -webkit-linear-gradient(top,  #f7ed9d 0%, #eed53f 100%);
	background: linear-gradient(to bottom,  #f7ed9d 0%, #eed53f 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f7ed9d", endColorstr="#eed53f", GradientType=0);
}

.effect_malcov {
	z-index: 5;
	transition: .4s;
	position: absolute;
	right: -13px;
	top: -1px;
}

.link_attachment:hover .effect_malcov {
	right: -119px;
	transition: .4s;
}

.info_attachment {
	box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
	margin: 4px 0 0 0;
	width: 105px;
	height: 29px;
	border-top: 1px solid #bfbfbf;
	border-bottom: 1px solid #8b8b8b;
	background: #e0dfdc;
	background: -moz-linear-gradient(top,  #e0dfdc 0%, #ceccca 100%);
	background: -webkit-linear-gradient(top,  #e0dfdc 0%, #ceccca 100%);
	background: linear-gradient(to bottom,  #e0dfdc 0%, #ceccca 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e0dfdc", endColorstr="#ceccca", GradientType=0);
	float: left;
	text-transform: uppercase;
}

.info_attachment span {
	border-top:1px solid #ecebea;
	display: block;
	height: 29px;
	line-height: 26px;
	color: #5e5e5d;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.right_element_attachment {
	width: 13px;
	height: 37px;
	border-top: 1px solid #dab347;
	border-left: 1px solid #c59c2f;
	border-right: 1px solid #c59c2f;
	border-bottom: 1px solid #b38a1d;
	float: left;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	background: #f3d56d;
	background: -moz-linear-gradient(top,  #f3d56d 0%, #eab135 100%);
	background: -webkit-linear-gradient(top,  #f3d56d 0%, #eab135 100%);
	background: linear-gradient(to bottom,  #f3d56d 0%, #eab135 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f3d56d", endColorstr="#eab135", GradientType=0);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
}

.right_element_attachment span {
	width: 11px;
	height: 35px;
	border-top: 1px solid #f8e7aa;
	border-left: 1px solid #ead88c;
	display: block;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	padding: 13px 0 0 1px;
}

.right_element_attachment span div {
	float: left;
}

.right_element_attachment span div:nth-of-type(1), .right_element_attachment span div:nth-of-type(3), .right_element_attachment span div:nth-of-type(5) {
	height: 7px;
	border-left: 1px solid #f6e0a3;
}

.right_element_attachment span div:nth-of-type(2), .right_element_attachment span div:nth-of-type(4), .right_element_attachment span div:nth-of-type(6) {
	height: 7px;
	border-left: 1px solid #ad8131;
}

.social-share-btns-container {margin-top: 1rem;}

.social-share-btns {
  display: inline-block;
  overflow: hidden;
}
.share-btn {
    float: left;
    margin-right: 8px;
    padding: 6px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    line-height: 18px;
    vertical-align: middle;
    cursor: pointer;
    @include transition(background 0.2s ease-in-out);
}
.share-btn i {
    margin-right: 8px;
    display: inline-block;
    font-size: 18px;
    vertical-align: middle;
}

.share-btn {background-color: #fff;}
.share-btn:hover {background-color: #0078d7;color:#fff;}
.share-btn-facebook {border:1px solid #4267b2;color:#4267b2;}
.share-btn-facebook:hover {background-color: #4267b2;}
.share-btn-twitter {border:1px solid #000;color:#000;}
.share-btn-twitter:hover {background-color: #000;}
.share-btn-pinterest {border:1px solid #cb2027;color:#cb2027;}
.share-btn-pinterest:hover {background-color: #cb2027;}
.share-btn-linkedin {border:1px solid #0077b5;color:#0077b5;}
.share-btn-linkedin:hover {background-color: #0077b5;}
.share-btn-vk {border:1px solid #4c6c91;color:#4c6c91;}
.share-btn-vk:hover {background-color: #4c6c91;}
.share-btn-xing {border:1px solid #227a7b;color:#227a7b;}
.share-btn-xing:hover {background-color: #227a7b;}
.share-btn-reddit {border:1px solid #ff5110;color:#ff5110;}
.share-btn-reddit:hover {background-color: #ff5110;}
.share-btn-mail {border:1px solid #8f8f8f;color:#8f8f8f;}
.share-btn-mail:hover {background-color: #8f8f8f;}

.form__title {color:#364a62}

.demo {
    margin: 1rem 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
    text-align: center;
    white-space: nowrap;    
    overflow: hidden;              /* "overflow" value must be different from  visible"*/ 
    -o-text-overflow: ellipsis;    /* Opera < 11*/
    text-overflow:    ellipsis;    /* IE, Safari (WebKit), Opera >= 11, FF > 6 */
}

.attachments {
    display: block;
    position:relative;
    background-color: #0078d7;
    color: #fff!important;
    /*border:1px solid #0078d7;*/
    border-radius: 4px;    
    padding: 8px 12px;
    text-align: center;
}
.attachments i {margin-right:8px;font-size:18px;}
.attachments .tooltiptext {  
  visibility: hidden;
  /*width: 120px;*/
  background-color: #526484;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 4px 12px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
}

.attachments .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #526484 transparent transparent transparent;
}

.attachments:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.policy {margin-top:1rem;font-size:14px;color:#888;text-align:justify;}
.bank-online {margin-top:1rem;border:1px solid #dbdfea;border-radius:10px;padding:15px 30px;}

.paid-access {position:relative;margin:1rem 0;background-color:#fff;color:#161616;line-height:1.6;padding:20px 30px;border:1px solid #dbdfea;border-radius:10px;}
.paid-access h2 {font-size:20px;color:#15ac59;margin-bottom:.75rem;}
.paid-access h2 i {color:#15ac59;margin-right:8px;}
.paid-access a {font-weight:bold;color:#0078d7;}
.paid-access i {color:#526484;margin-right:8px;}

.view-cart {display:inline-block;margin:1rem 0;background-color:#fff;color:#0078d7;padding:6px 15px;font-weight:bold;border:1px solid #0078d7;border-radius:4px;}
.view-cart:hover {background-color:#0078d7;color:#fff;}

.download-now {position:relative;margin:1rem 0;background-color:#fff;color:#8094ae;font-weight:400;padding:10px 15px;border:1px solid #dbdfea;border-left:4px solid #0078d7;border-radius:4px;}
.download-now a {font-weight:700;color:#0078d7;}
.download-now a:hover {color:#1d9bf0;text-decoration:underline;}

.downloads {display:block;position:relative;color:#666;border-radius:4px;border:1px solid #769e44;padding:10px 15px;border-left-width:44px;border-left-color:#81b536;}
.downloads::before {content:"\f019";font-family:'Font Awesome 5 Pro';font-weight:300;font-size:20px;color:#fff;margin-top:-15px;position:absolute;left:-44px;top:50%;width:44px;text-align:center;}
.downloads a {font-weight:bold;color:#0078d7;}
.downloads a:hover {color:#1d9bf0;text-decoration:underline;}

.versions {position:relative;margin:1rem 0;background-color:#fff;font-weight:700;padding:10px 15px;border:1px solid #dbdfea;border-left:4px solid #e38181;border-radius:4px;}
.versions a {color:#e38181;}
.versions a:hover {color:#e38181;text-decoration:underline;}

.wishlist {margin:1rem 0;padding-bottom:1rem;border-bottom:1px solid #eaeaea;text-align:center;}
.wishlist a {margin-right:8px;padding:6px 12px;font-size:14px;color:#fff;background-color:#0078d7;border-radius:4px;}
.wishlist a:hover {text-decoration:none}

.alert {position:relative;padding:8px;margin:0;color:#fff;text-align:center;
background: #232526;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #414345, #232526);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #414345, #232526); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.alert a {font-weight:bold;color:#fcd949;text-decoration:underline;}

.fullstory__other {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 15px;
    margin-block: 15px;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}
.fullstory__other a {font-size:18px;color:#0078d7;}
.fullstory__other a:hover {text-decoration:underline;}

.mr6 {margin-right:6px;}
.mr8 {margin-right:8px;}
.ml8 {margin-left:8px;}
