
/* BASIC LAYOUT
----------------------------------------------- */
.wrapper {min-width: 320px; position: relative;}
.wrapper__container {max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 20; padding: 0 var(--indent);}
.header {background-color: var(--bg); padding-top: 40px; padding-bottom: 40px; gap: 10px 40px; box-shadow: var(--bsh-item);}
.content {min-height: 80vh; padding-top: 60px;}
.footer {background-color: var(--bg-dark); color: var(--tt-dark); --tt: var(--tt-dark); 
	padding-top: 40px; padding-bottom: 40px; margin-top: 60px;}
.footer__two {margin-top: 20px; gap: 20px 40px; font-size: 14px;}

.scrolltop {position: fixed; width: 50px; height: 50px; right: -60px; bottom: 10px;
	z-index: 990; border-radius: 50%; font-size: 20px; opacity: 0; transition: right 0.2s, opacity 0.2s;}
.scrolltop.is-active {right: 10px; opacity: 1;}


/* HEADER
----------------------------------------------- */
.logo {display: inline-flex; flex-direction: column; justify-content: center; 
	line-height: 1; font-weight: 700; letter-spacing: 1px; height: 60px;}
.logo__title {text-transform: uppercase; font-size: 36px; font-weight: 900;}
.logo__subtitle {font-size: 16px; margin-top: 3px;}
.logo__title span {color: var(--green);}
.header__logo {padding-left: 100px; background: url(../images/logo.png) 0 center / 80px auto no-repeat;}
.header__btn-login, .header__link {height: 60px; border-radius: 30px; font-size: 18px; font-weight: 700; 
	padding: 0 40px; background-color: var(--orange); color: var(--tt);}
.header__link {background-color: var(--bg-darkest); margin-right: -20px;}

.search-block {position: relative;}
.search-block__input, .search-block__input:focus {border-radius: 30px; padding: 0 100px 0 30px; 
	height: 60px; line-height: 60px; border: 0; box-shadow: 0 0 0 5px var(--bg-darkest);}
.search-block__input:not(:focus)::placeholder {color: var(--tt-fade); opacity: 1; font-size: 16px;}
.search-block__btn {position: absolute !important; right: 10px; top: 10px; border-radius: 20px; 
	background-color: var(--orange); color: #fff; text-transform: uppercase; font-size: 18px; width: 80px;}
.search-is-active {overflow: hidden; padding-right: var(--scrWidth);}
.search-is-active .header {position: relative; z-index: 1000;}
.search-is-active .search-block__input, .search-is-active .search-block__btn {position: relative; z-index: 101;}
.search-is-active .search-block::before {content: ''; position: fixed; inset: 0; z-index: 100; 
	background-color: rgba(0,0,0,0.6); backdrop-filter: blur(10px);}


/* NAV, HERO
----------------------------------------------- */
.header__menu, .nav {position: relative; background-color: var(--green); z-index: 100;}
.header__menu > li > a {height: 70px; display: flex; align-items: center; border-right: 1px solid #75a21a;
	gap: 10px; font-weight: 700; color: #fff; padding: 0 40px; font-size: 18px; border-left: 1px solid #9aca62;}
.header__menu > li > a::before {color: var(--orange);}
.header__menu-submenu {position: absolute; top: 100%; left: 0; z-index: 1000; 
	background-color: var(--bg); box-shadow: var(--bsh); width: 700px; padding: 30px 35px; --tt: var(--tt);
	display: grid; gap: 5px 20px; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); display: none;}
.header__menu-submenu a {display: block; padding: 5px 10px;}
.header__menu-has-submenu > a::after {content:"\f13a"; font-weight: 300; font-family:'Font Awesome 5 Pro';}
.header__menu > li > a.is-active {background-color: var(--bg); color: var(--tt);}

.hero {background: #373743 url(../images/bg-hero.png) left center no-repeat; color: #fff; padding-top: 40px; padding-bottom: 40px;}
.hero__title {font-size: 38px; text-transform: uppercase; font-weight: 400; line-height: 1.2; margin-bottom: 20px;}
.hero__title span.block {display: block; font-size: 24px; margin-top: 10px;}
.hero__title span.red {color: var(--red); font-weight: 900;}
.hero__title span.orange {color: var(--orange); font-weight: 900;}
.hero__title span.green {color: var(--green); font-weight: 900;}
.hero__text {font-size: 16px; max-width: 600px; line-height: 1.5;}
.hero__btn {height: 62px; border: 2px solid #fff; background: none; padding: 0 60px; margin-top: 30px; 
	font-weight: 700; font-size: 18px; border-radius: 31px; gap: 20px;}
.hero__inner {position: relative; isolation: isolate;}
.hero--decor .hero__inner::after {content: ''; height: 280px; width: 320px; position: absolute; right: 0px; bottom: -40px; 
	background: url(../images/smart.png) 0 0 no-repeat; z-index: -1;}
.hero__menu {gap: 10px;}
.hero__menu a {display: block; padding: 3px 6px; background-color: rgba(255,255,255,0.15);
	color: #fff; box-shadow: var(--bsh-item);}
.hero__title:last-child {margin-bottom: 0;}


/* SECTION
----------------------------------------------- */
.sect {margin-bottom: 60px;}
.sect__header {margin-bottom: 30px; gap: 10px;}
.sect__title {font-size: 36px; font-weight: 700; line-height: 1;}
.sect--white {padding: 30px; background-color: var(--bg); box-shadow: var(--bsh-item);}
.sect--bg-yellow {background: #f1cd2b url(../images/bg-yellow.png) center center no-repeat; padding-top: 50px; padding-bottom: 60px;}
.sect--bg-grey {background: #524e4e url(../images/bg-grey.png) center center no-repeat; padding-top: 50px; padding-bottom: 60px;}
.sect--bg-green {background: #7db00f url(../images/bg-green.png) center center no-repeat; padding-top: 50px; padding-bottom: 60px;}
.sect--bg-red {background: #cc3627 url(../images/bg-red.png) center center / cover no-repeat; padding-top: 30px; padding-bottom: 30px;}
.sect--bg-green .sect__title, .sect--bg-grey .sect__title, .subscr {color: #fff;}
.subscr {gap: 15px 20px; margin-bottom: -60px;}
.subscr::before {font-size: 60px; margin-right: 10px;}
.subscr .sect__title {line-height: 1.3;}
.subscr__input {width: 500px;}
.subscr__input input {height: 60px; border-radius: 30px; padding: 0 100px 0 30px; border: 0; line-height: 60px; 
	box-shadow: 0 0 0 5px rgba(255,255,255,0.5);}
.subscr__input button {position: absolute; right: 10px; top: 10px; border-radius: 20px; 
	background-color: var(--red); text-transform: uppercase; font-size: 16px; font-weight: 700; width: 80px;}

.speedbar {color: var(--tt-fade); font-size: 14px; margin-top: 20px; margin-bottom: -40px;}
.speedbar::before {margin-right: 6px; color: var(--green);}
.site-desc {display: grid; gap: 15px; line-height: 1.6; padding: 30px 0;}
.site-desc h1, .site-desc h2, .site-desc h3 {font-size: 36px; line-height: 1.3;}
.site-desc a {text-decoration: underline; color: var(--blue);}
.site-desc ul li {position: relative; padding-left: 25px; margin-left: 25px;}
.site-desc ul li::before {content:"\f00c"; font-weight: 300; font-family:'Font Awesome 5 Pro'; 
	color: var(--green); position: absolute; left: 0; top: 0;}


/* ITEM
----------------------------------------------- */
.item {background-color: var(--bg); box-shadow: var(--bsh-item);}
.item__poster {height: 180px;}
.item__img {aspect-ratio: 1 / 1; border-radius: 50%;}
.item__img img {position: absolute; left: 0; top: 0;}
.item__link {display: block;}
.item__title {font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--blue);}
.item__category {text-decoration: underline; font-size: 14px;}
.item__meta {color: var(--tt-fade); font-size: 14px;}
.item__text {font-size: 16px;}
.item__price-free {height: 30px; border-radius: 15px; padding: 0 15px; 
	background-color: var(--orange); color: #fff; text-transform: uppercase; font-weight: 700;}
.item__price-value {color: var(--green); text-decoration: line-through; font-weight: 700;}
.item__labels-group {gap: 5px; position: absolute; left: 5px; top: 5px; z-index: 2;}
.item__label {width: 40px; height: 20px; background-color: var(--blue); color: #fff;
	display: flex; justify-content: center; align-items: center; font-size: 12px; border-radius: 10px;}
.item__label--green {background-color: var(--green);}
.item__label--red {background-color: var(--red);}
.item__label--yellow {background-color: var(--yellow); color: #000;}

.item-card {padding: 20px; text-align: center;}
.item-card .item__title {margin: 20px 0 5px;}
.item-card .item__rating {margin-top: 20px; margin-bottom: -5px;}

.item-ext {padding: 20px;}
.item-ext .item__img {width: 130px; margin-right: 20px;}
.item-ext .item__title {margin: 0px 0 5px 0; font-size: 17px;}
.item-ext .item__text {margin-top: 13px; -webkit-line-clamp: 3;}
.item-ext .item__rating {margin: 20px 0 10px 0;}

.item-article .item__poster {height: 250px;}
.item-article .item__desc {position: absolute; inset: 0; z-index: 5;}
.item__desc-in {padding: 20px; background-color: rgba(0, 0, 0, .5); color: #fff; --tt-fade: #fff; width: 100%;}
.item-article .item__title {color: #fff; margin-bottom: 15px;}

.item-news {background: none; box-shadow: none;}
.item-news .item__title {color: var(--tt); margin: 20px 0;}


/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__soc {gap: 10px;}
.footer__soc-item {display: grid; place-items: center; height: 40px; width: 40px; border-radius: 50%; background-color: #2daae1;}
.vk {background-color: #1877f2;}
.yt {background-color: #df1111;}
.fb {background-color: #295d8f;}
.footer__soc img {width: 20px; height: 20px; filter: invert(1);}
.footer__text {line-height: 1.5;}
.footer__menu {gap: 10px 40px; font-size: 18px; font-weight: 700; --tt: var(--green);}
.footer__logo {background: var(--bg-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;}

.pagination {gap: 20px 60px; padding-top: 0px;}
.pagination a, .pagination span {display: grid; place-items: center;
	height: 40px; min-width: 40px; padding: 0 10px; border-radius: 20px; background-color: var(--bg);}
.pagination__btn-loader {width: 100%;}
.pagination__btn-loader a, .pagination__btn-loader span {height: 60px; border-radius: 30px; max-width: 100%;
	background-color: var(--green); color: #fff; font-size: 18px; font-weight: 700; width: 500px;}
.pagination__pages {gap: 10px 10px; font-size: 14px;}
.pagination__pages span:not(.nav_ext) {background-color: var(--green); color: #fff; border-color: var(--green);}


/* INNER PAGE
----------------------------------------------- */
.page__cols {display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 40px;}
.page__cols-main {background-color: var(--bg); box-shadow: var(--bsh-item); padding: 40px;}
.page__header {display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 10px 40px; 
	grid-template-areas: "pleft ptitle" "pleft pinfo" "pleft pctrl" "pleft plinks"; 
	box-shadow: none; background-color: transparent;}
.page__header-left {grid-area: pleft;}
.page__header-title {grid-area: ptitle;}
.page__header-info {grid-area: pinfo; align-self: center; position: relative;}
.page__header-ctrl {grid-area: pctrl; gap: 10px 20px;}
.page__header-links {grid-area: plinks;}
.page .sect {margin-bottom: 30px;}

.page__img {width: 140px; height: 140px;}
.page__img + .item__price {margin-top: 10px;}
.page__header-title h1 {font-size: 24px; font-weight: 700;}
.page__meta {gap: 10px;}
.page__header .item__category {margin: 10px 0;}
.page__rating-votes, .page__fav a {color: var(--tt-fade); font-size: 14px;}
.page__fav a .fal, .page__fav a::before {color: var(--green); margin-right: 10px;}
.page__header-links a {font-size: 14px; color: var(--tt-fade); border-bottom: 1px dashed var(--tt-fade);}
.page__btn-dl {height: 50px; border-radius: 25px; padding: 0 35px; font-size: 18px; font-weight: 700; 
	background: var(--bg-gradient); gap: 35px;}
.page__header-ctrl > a:not([class]) {background-color: var(--bg-darkest); height: 50px; padding: 0 35px;
	font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 25px;}

.page__scr {margin: 0 -40px; padding: 0 40px; border-top: 5px solid var(--bdc); padding-top: 30px;}
.page__scr ul {display: flex; justify-content: space-between; flex-wrap: wrap; width: 100%; gap: 20px;}
.page__scr li:nth-child(4) ~ li {display: none;}
.page__scr li {width: calc((100% - 60px)/4);}
.page__scr a {display: block; position: relative;}
.page__scr a img {width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover;}
.page__scr a::before {content:"\f00e"; font-family:'Font Awesome 5 Pro'; font-weight: 300; box-shadow: var(--bsh-item);
	width: 40px; height: 40px; display: grid; place-items: center; background-color: var(--bg); color: var(--tt); 
	position: absolute; left: 50%; top: 50%; margin: -20px 0 0 -20px; z-index: 5; border-radius: 50%; font-size: 18px;}
	
.page__text {margin-bottom: 26px;}
.page__info {background-color: var(--bg-darkest); margin: 0 -40px; padding: 30px 40px;}
.page__list {display: grid; gap: 6px;}
.page__list li {position: relative; padding-top: 6px; display: flex; justify-content: space-between;
	border-top: 1px solid rgba(0,0,0,0.1); box-shadow: inset 0 1px rgba(255,255,255,0.5);}
.page__list li > span:first-child {font-weight: 700;}
.page__list li a {color: var(--blue); text-decoration: underline;}
.page__meta2 {font-size: 14px; gap: 10px 20px;}
.page__meta2 li {color: var(--tt-fade); gap: 5px; display: flex; align-items: center;}
.page__meta2 li a {color: var(--tt-fade);}

.page__dl-ggl {font-size: 18px; font-weight: 700; text-decoration: underline; padding: 5px 0 5px 40px;
	background: url(../images/ggl.svg) 0 center / 30px no-repeat;}
.page__dl-title {font-size: 24px;}
.page__dl-content {margin: 0 -40px; border-top: 5px solid var(--bdc);}
.dl {padding: 20px 40px; gap: 10px 20px; border-bottom: 5px solid var(--bdc);}
.dl::before {font-size: 24px; width: 40px; height: 40px; display: grid; place-items: center; 
	border-radius: 50%; color: #fff; background: var(--bg-gradient);}
.dl__title {font-weight: 700; text-decoration: underline; font-size: 17px; line-height: 1.2;}
.dl__meta {font-size: 14px; gap: 10px; margin-left: 20px;}
.dl__meta::before {color: var(--tt-fade);}
	
@media screen and (min-width: 1220px) {
	.page__cols-side .d-grid-items-3 {gap: 20px;}
	.page__cols-side .d-grid-items-6 {grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px;}
}

/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.page__title {margin-bottom: 30px; font-size: 24px;}
.full-text {line-height: 1.6; font-size: 16px; word-wrap: break-word;}
.full-text a {text-decoration: underline; color: var(--blue);}
.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 {margin-bottom: 25px;}
.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 #fcc506; position: absolute; top: 6px; left: 34px;}
.full-text > ol {counter-reset: num;}
.full-text > ol li:before {content: counter(num); counter-increment: num; background-color: #fcc506; color: #000; 
	position: absolute; top: -3px; left: 17px; width: 24px; height: 30px; font-size: 14px; font-weight: 700;
	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: #fcc506; 
	position: absolute; left: 41px; top: -3px; 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: 100%; 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; margin-bottom: 20px;}
.full-text iframe {width: 100%; height: 600px; margin-bottom: 20px;}


/* COMMENTS
----------------------------------------------- */
.page__comments {margin-top: 0px;}
.page__comments-title {font-size: 24px; margin-bottom: 20px;}
.page__comments-info {color: var(--tt-fade); display: block; margin: -15px 0 30px; font-size: 14px; padding-left: 23px; position: relative;}
.page__comments-info::before {color: var(--ui-red); position: absolute; left: 0; top: 2px;}
.ac-form {margin-bottom: 30px; position: relative;}
.ac-form__header, .ac-form__editor, .ac-form .message-info {gap: 10px; margin-bottom: 10px;}
.ac-form__btn {padding: 0 60px;}
.ac-form__bottom {gap: 25px;}
.confidential-check {font-size: 14px;}
.ac-form__header > span {margin-left: 15px;}
.ac-form .comments_subscribe {margin-top: 0px;}

.ac-form {background-color: var(--bg-darker); padding: 30px 40px; margin: 0 -40px; margin-bottom: 30px;}
.ac-toggle.ac-form {cursor: pointer;}
.ac-form__header input, .ac-form__editor textarea {border-radius: 10px; box-shadow: none;}
.ac-form .bb-pane {background-color: var(--bg); border-radius: 10px 10px 0 0;}
.ac-form__editor .bb-pane + textarea {border-radius: 0 0 10px 10px;}
.ac-form__editor textarea {height: 140px;}
.mass_comments_action {display: flex; align-items: center; flex-wrap: wrap; gap: 10px;}
.mass_comments_action select {flex: 1 1 0; margin: 0 -28px 0 0; border-radius: 0; box-shadow: none; min-width: 50%;}
.mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}
.comm__title {font-size: 18px; font-weight: 700; margin-bottom: 20px;}

.comm {margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--bdc);}
.comm__img {width: 40px; height: 40px; border-radius: 50%; margin-right: 15px;}
.comm__img::before {content: ''; width: 8px; height: 8px; border-radius: 50%; background-color: var(--ui-red); 
	position: absolute; right: -1px; top: -1px; z-index: 5; border: 2px solid var(--bg);}
.comm--online .comm__img::before {background-color: var(--ui-green);}
.comm__letter {width: 100%; height: 100%; text-transform: uppercase; border-radius: inherit;
	position: absolute; left: 0; top: 0; color: #fff; font-size: 18px; font-weight: var(--ui-fw-bolder);}
.comm__author, .comm__author a {color: var(--tt-colored); font-weight: 700; font-size: 15px;}
.comm__date {color: var(--tt-fade); font-size: 14px; margin-top: 2px;}
.comm__main {margin: 10px 0 6px 0;}
.comm__action {gap: 20px; font-size: 14px;}
.comm__action li, .comm__action li a {color: var(--tt-fade); cursor: pointer; gap: 8px; display: flex; align-items: center;}
.comm__ctrl, .comm__ctrl a {font-size: 15px; gap: 10px 15px; color: var(--tt-fade);}
.comm__ctrl li.has-checkbox {transform: scale(0.8,0.8); margin: 0 -10px 0 -5px;}
.comm__ctrl li.has-checkbox input {border-color: var(--tt-fade);}
.comm__rating {gap: 10px; font-size: 14px;}
.comm__rating::before {content: attr(data-text); display: inline;}
.comm__rating > * {display: flex; gap: 5px;}
.comm__rating > * > span:first-child {text-decoration: underline; color: var(--ui-green);}
.comm__rating > * + * > span:first-child {color: var(--ui-red);}


/* LOGIN
----------------------------------------------- */
.login {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%);
	background-color: var(--ui-bg); width: 440px; border: 10px solid var(--ui-bg-darker); 
	box-shadow: 0 15px 45px rgba(0,0,0,1); overflow-y: auto;
	 max-width: calc(100vw - 40px); max-height: calc(100vh - 40px);}
.login__header {padding: 20px 50px 25px 50px; border-bottom: 1px solid var(--ui-bdc); position: relative;}
.login__title {font-size: 24px; font-weight: var(--ui-fw-bolder);}
.login__caption {font-size: 13px; color: var(--ui-tt-fade); margin-top: 3px;}
.login__close {font-size: 23px; position: absolute; right: 10px; top: 10px; padding: 0; width: 40px; height: 40px;}
.login__content {display: grid; gap: 20px; padding: 25px 50px; padding-bottom: 50px; position: relative;}
.login__row, .login__row.fal, .login__row.fas {position: relative; display: grid; gap: 10px; justify-content: stretch;}
.login__row-caption a, .login__caption a {margin-left: 10px;}
.login__row::before {position: absolute; left: 2px; bottom: 0; width: 40px; height: 50px; 
	display: grid; place-items: center; opacity: 0.4; font-size: 18px;}
.login__input input {padding-left: 40px; border-radius: var(--ui-bdrs); height: 50px; line-height: 48px;}
.login__row button {width: 100%; height: 40px; border-radius: var(--ui-bdrs);}
.login__social {padding-top: 10px; text-align: center; gap: 10px; margin-bottom: -20px;}
.login__social-caption {font-size: 13px; color: var(--ui-tt-fade); width: 100%;}
.login__social a {padding: 0 10px; border-radius: 20px; position: relative; width: 40px; height: 40px; 
	overflow: hidden; color: #fff; display: flex; align-items: center; justify-content: center;}
.login__social a::before {content: ''; width: 40px; background: rgba(0,0,0,0); position: absolute; left: 0; top: 0; height: 100%;}
.login__social a img {position: absolute; left: 10px; top: 50%; height: 20px; width: 20px; z-index: 1; 
	display: block; filter: invert(1); transform: translateY(-50%);}
.login__social-vk {background-color: #587ba1;}
.login__social-ok {background-color: #ff9800;}
.login__social-fb {background-color: #3b5998;}
.login__social-ml {background-color: #2196f3;}
.login__social-gg {background-color: #f44336;}
.login__social-ya {background-color: #fc3f1d;}

.header__login, .header__login.is-active {background-color: var(--bg-darkest); height: 60px; border-radius: 30px; 
	gap: 10px; width: 220px; justify-content: flex-start; position: relative;
	padding: 0 30px 0 10px; cursor: pointer; color: var(--tt); font-size: 18px; isolation: isolate; }
.header__login:not(:hover)::before {color: var(--green);}
.header__login-login {font-weight: 700;}
.header__login-img {width: 40px; height: 40px; border-radius: 50%; cursor: pointer;}
.header__favlink {font-size: 24px; display: block; position: relative; margin-right: -20px; 
	width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background-color: var(--orange);}
.header__favlink span {background-color: var(--red); color: #fff; width: 30px; height: 30px; border-radius: 15px;
	font-size: 12px; position: absolute; right: -10px; top: -10px; display: grid; place-items: center;}
.header__login-panel {position: absolute; right: 0; top: 100%; width: 220px; padding-bottom: 10px;
	background-color: var(--bg-darkest); border-radius: 0 0 30px 30px; z-index: -1; padding-top: 30px;
	box-shadow: var(--bsh); margin-top: -30px; color: var(--tt); font-size: 16px; font-weight: 400;}
.header__login-header {padding: 20px; color: var(--tt); font-weight: 700; gap: 20px; border-bottom: 1px solid var(--bg);
	margin-bottom: 10px; display: none;}
.header__login-avatar {width: 40px; height: 40px; border-radius: 50%;}
.header__login-group span {font-size: 12px; font-weight: 400; margin-top: 2px; 
	display: block; color: var(--tt-fade) !important;}
.header__login-menu a {display: flex; align-items: center; min-height: 30px; padding: 0 20px 0 0;}
.header__login-menu a::before {width: 40px; text-align: center; color: var(--green);}
.header__login-menu-border {border-top: 1px solid var(--bg); margin-top: 10px; padding-top: 10px;}
.header__login-menu a span {font-size: 12px; margin-left: auto;}


/* 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: 300px; height: 100%; overflow-x: hidden; overflow-y: auto;
	z-index: 999; position: fixed; left: -360px; top: 0; transition: left 0.4s; background-color: var(--green);}
.mobile-menu.is-active {left: 0;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu__header {padding: 10px; gap: 10px; background: var(--bg);}
.mobile-menu__btn-close {font-size: 24px; width: 40px; height: 40px; margin-right: 0px;}
.mobile-menu__content .header__menu {margin: 0; padding: 1px 0; display: block;}
.mobile-menu__content .header__menu > li > a {height: 60px; padding: 0 20px; border: 0; 
	border-bottom: 1px solid #75a21a; border-top: 1px solid #9aca62;}
.mobile-menu__content .header__menu-submenu {width: 100%; height: auto; position: static; display: none;
	border-radius: 0; padding: 20px 20px; background-color: var(--bg-darker);
	opacity: 1; visibility: visible; transform: none; box-shadow: none; font-size: 13px; 
	gap: 12px 20px; grid-template-columns: repeat(2,minmax(0,1fr));}
.mobile-menu__content .header__menu-submenu a {padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.mobile-menu__content .header__menu-has-submenu > a::after {content:"\f067"; font-size: 18px; margin-left: auto; font-weight: 300;}
.mobile-menu__content .header__menu-has-submenu.is-active .header__menu-submenu {display: grid;}
.mobile-menu__content .header__menu-has-submenu.is-active > a::after {content:"\f068";}

@media screen and (max-width: 1220px) {
	:root {--indent-negative: -20px; --indent: 20px;}
	body {background-image: none;}
	.wrapper {padding: 0; background-image: none; overflow: hidden;}
	.wrapper__container {max-width:1000px;}
	.header .header__menu, .nav {display: none;}
	.header {gap: 20px 10px; padding-top: 20px; padding-bottom: 20px;}
	.header__logo {flex: 1 1 0; max-width: 100%; min-width: 50px; height: 40px; padding-left: 60px; background-size: 50px auto;}
	.header__logo .logo__title {font-size: 24px;}
	.header__logo .logo__subtitle {font-size: 12px;}
	.header__search {min-width: 100%; order: 10;}
	.search-block__input, .search-block__input:focus, .subscr__input input {border-radius: 20px; padding: 0 90px 0 20px; 
		height: 40px; line-height: 40px;}
	.search-block__btn, .subscr__input button {right: 0; top: 0;}
	.header__favlink, .header__link, .header__btn-login {margin: 0; height: 40px; border-radius: 20px;}
	.header__link, .header__btn-login {padding: 0 20px; font-size: 14px;}
	.header__btn-menu {display: flex; padding: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 18px;}
	.hero--decor .hero__inner::after {right: -130px;}
	.subscr {padding-top: 10px;}
	.subscr__input {width: 100%; margin-top: 5px;}
	.footer {padding-top: 20px; padding-bottom: 20px;}
	.footer__menu {font-size: 16px; gap: 10px 20px;}
	.footer__two, .footer__one {gap: 20px;}
	.d-grid-items {gap: 20px;}
	.header__favlink {width: 40px; font-size: 18px;}
	.header__login, .header__login.is-active {height: 40px; border-radius: 20px; 
		padding: 0 20px 0 0px; font-size: 16px; width: auto;}
	.header__login-panel {padding-top: 10px; margin-top: 10px; border-radius: 20px;}
	
	.page__cols {display: block;}
	.page__cols-side {margin-top: 30px;}
	.page__cols-main {padding: 20px;}
	.page__scr, .page__info, .ac-form {margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px;}
	.page__dl-content {margin-left: -20px; margin-right: -20px;}
	.page__header {gap: 10px 20px;}
	.dl {padding-left: 20px; padding-right: 20px;}
}

@media screen and (max-width: 1220px) and (min-width: 470px) {
	.sect__content--scroll {display: flex; gap: 20px; overflow-y: hidden; overflow-x: auto; margin-right: var(--indent-negative);}
	.sect__content--scroll > * {flex-shrink: 0; box-shadow: none;}
	.sect__content--scroll > .item-card {width: 170px;}
	.sect__content--scroll > .item-news {width: 270px;}
	.sect__content--scroll > .item-article {width: 370px;}
	.sect__content--scroll > .item-ext {width: 370px;}
}

@media screen and (max-width: 950px) {
	.wrapper__container {max-width:768px;}
	.pagination {gap: 10px;}
	.pagination__btn-loader a, .pagination__btn-loader span {width: 100%;}
	.pagination > a, .pagination > span {flex-grow: 1; order: 10;}
	.pagination__pages {width: 100%;}
	.pagination__pages a, .pagination__pages span {flex-grow: 1;}
	.sect--white {padding: 20px; margin-left: var(--indent-negative); 
		margin-right: var(--indent-negative); margin-bottom: 0 !important;}

	.speedbar {margin-bottom: -20px;}
	.content {padding-top: 40px;}
	.hero--decor .hero__inner::after {display: none; background-image: none;}
	.hero__title {max-width: 100%; font-size: 24px; line-height: 1;}
	.hero__text {max-width: 100%;}
	.hero__btn {height: 44px; border-radius: 22px; padding: 0 22px; font-size: 14px;}
	.sect__title, .site-desc h1, .site-desc h2, .site-desc h3 {font-size: 24px;}
	.sect {margin-bottom: 40px;}
	.sect__header {margin-bottom: 20px;}
	.sect--bg-green, .sect--bg-yellow, .sect--bg-grey {padding-top: 20px; padding-bottom: 20px;}
	.footer {margin-top: 40px;}
	.subscr {margin-bottom: -40px;}
	.site-desc {padding: 0;}

	.page .sect {margin-bottom: 20px;}
	.page__scr {padding-top: 20px;}
	.ac-form {padding: 20px;}
	.page__cols-main {margin-left: var(--indent-negative); margin-right: var(--indent-negative);}
}

@media screen and (max-width: 760px) {
	.wrapper__container {max-width:640px;}
	.login__header, .login__content {padding: 20px;}
	.login__social {margin-bottom: 0;}
	.login__row::before {height: 40px;}
	.login__input input {height: 40px; line-height: 40px; box-shadow: none; border: 0; background-color: var(--bg-darker);}
	.login__social a {border-radius: var(--bdrs); height: 30px; flex: 1 0 30%;}
	.login__social a img {left: 50%; margin-left: -10px;}
	.header__link, .header__favlink, .header__login-login {display: none;}
	.logo__title, .logo__subtitle {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
	.footer__menu, .footer__text {min-width: 100%; justify-content: flex-start;}
	.header__login-header {display: flex; margin-top: -10px;}

	.page__header-title h1 {font-size: 24px;}
	.page__header {grid-template-areas: "ptitle ptitle" "pleft pinfo" "pleft plinks" "pctrl pctrl"; 
		grid-template-columns: 140px minmax(0,1fr); gap: 10px 20px;}
	.page__img {width: 140px; height: 140px;}
	.page__header-ctrl {gap: 10px;}
	.page__header .item__category {margin: 5px 0 2px 0;}
	.page__btn-dl {padding: 0 20px; width: auto; gap: 10px; font-size: 16px; height: 40px; border-radius: 20px; width: 100%;}
	.page__header-ctrl > a:not([class]) {flex-grow: 1; padding: 0; font-size: 16px; height: 40px; border-radius: 20px;}
	.page__scr ul {flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
		margin-right: -20px; width: calc(100% + 20px); scrollbar-width: none;}
	.page__scr ul::-webkit-scrollbar {display: none;}
	.page__scr ul li {flex: 0 0 160px; width: 160px; scroll-snap-align: start;}
	.dl__meta {margin-left: 0;}
	.page__header-links a {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 
		display: inline-block; max-width: 100%; line-height: 1;}

	.page__title {font-size: 24px;}
	.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 20px;}
	.page__intro, .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 {gap: 10px;}
	.ac-form__bottom button {padding: 0 20px;}
	.ac-form__header input + input {min-width: 100%; order: 10;}
	.ac-form__header > span, .comm__rating::before {display: none;}
	.ac-form #b_color {display: none;}
	.ac-form__bottom button {position: static !important; width: 100% !important;}
}

@media screen and (max-width: 590px) {
	.wrapper__container {max-width:480px;}
	.sect {background-image: none;}
	.hero {padding-top: 20px; padding-bottom: 20px; background-size: cover;}
	.hero__title, .hero__title > span {font-size: 20px !important; line-height: 1.3; margin-bottom: 10px;}
	.hero__title span.block {display: inline;}
	.hero__text {font-size: 14px;}
	.hero__btn {margin-top: 20px;}
	.sect__link {height: 30px; border-radius: 15px; padding: 0 15px; font-size: 12px;}
	.subscr .sect__title {line-height: 1; margin-bottom: 5px; font-size: 20px;}
	.subscr {gap: 10px 20px; padding-top: 20px;}
	.subscr::before {margin: 0; font-size: 40px;}
	.footer__text br {display: none;}

	.page__meta, .page__header-links {gap: 5px 10px;}
	.page__rating-votes {min-width: 100%; white-space: nowrap;}
	.dl__desc {min-width: 100%; order: -10;}
	.page__header-title h1 {padding-bottom: 6px;}
}

@media screen and (max-width: 470px) {
	.wrapper__container123 {max-width:360px;}
	.header__btn-login span {display: none;}
	.header__btn-login {padding: 0; width: 40px; font-size: 18px;}
	.header__btn-login::before {content:"\f090"; font-weight: 300; font-family:'Font Awesome 5 Pro';}
	.header__logo .logo__title {font-size: 20px;}
	.footer__logo {width: 100%;}
	.d-grid-items {gap: 10px; grid-template-columns: minmax(0,1fr);}
	.d-grid-items-6 {grid-template-columns: repeat(2,minmax(0,1fr));}
	.item-ext .item__img {width: 120px;}
	.header__login, .header__login.is-active {gap: 5px; padding-right: 10px;}
	
	.page__scr ul li {flex: 0 0 220px; width: 220px;}
	
	.ac-form__bottom .comments_subscribe {font-size: 13px;}
	.full-text iframe {width: calc(100% + 40px); max-width: calc(100% + 40px); height: 260px; margin-left: -20px; margin-right: -20px;}
}

/* fix if dle < 15, фикс если dle < 15 */
#dle-content > *:not(.grid-item) {grid-column: 1 / -1;}
#dle-content {display: inherit; gap: inherit; grid-template-columns: inherit;}

/* fix screenshots if xfield NOT a gallery of images, фикс для скриншотов, если они НЕ поле галерея изображений */
.page__scr {display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;}
.page__scr > a {width: calc((100% - 60px)/4);}
.page__scr a img, .page__scr a {display: block;}
.page__scr br {display: none;}
@media screen and (max-width: 760px) {
	.page__scr {flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
		scrollbar-width: none; padding-right: 0;}
	.page__scr::-webkit-scrollbar {display: none;}
	.page__scr > a {flex: 0 0 160px; width: 160px; scroll-snap-align: start;}
}