/* 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__top {background-color: var(--bg-dark); --tt: var(--tt-on-dark); color: var(--tt-on-dark); gap: 10px;}
.header__mid {padding-top: 20px; padding-bottom: 20px; gap: 10px 20px; 
	background-color: var(--accent-lighter); --tt: #fff; color: #fff;}
.header__btm {background-color: var(--accent); --tt: #fff; gap: 10px;}
.sidebar {gap: 30px; grid-area: sidebar; padding-bottom: 30px;}
.content {grid-area: main; padding: 30px 0 50px 0;}
.footer {background-color: var(--bg-dark); --tt: var(--tt-on-dark); color: var(--tt-on-dark);}
.footer__top {background-color: rgba(255,255,255,0.06); gap: 20px; padding-top: 15px; padding-bottom: 15px;}
.footer__btm {padding-top: 20px; padding-bottom: 20px; gap: 20px;}

.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
----------------------------------------------- */
.header__menu {gap: 10px 25px;}
.header__menu .blue a {color: #4cbbfc;}
.header__login {position: relative; padding-right: 44px; height: 45px; line-height: 1; font-size: 15px;}
.header__link {font-size: 12px; margin-top: 3px;}
.logo {display: block; position: relative; font-size: 20px; font-weight: 500;
	line-height: 1; white-space: nowrap; padding-left: 50px; 
	background: url(../images/logo.svg) 0 center / 40px no-repeat;}
.logo div span {background-color: var(--red); display: inline-block; border-radius: 3px; padding: 3px 6px;}
.logo p {font-size: 12px; font-weight: 300; margin-top: 8px;}
.logo > span {position: absolute; left: 95%; top: -14px; font-size: 12px; 
	text-transform: uppercase; pointer-events: none; font-weight: 300;}
.header__login-img {width: 34px; height: 34px; cursor: pointer;
	position: absolute; right: 0; top: 50%; margin-top: -17px; border-radius: 50%;}
.header__login-open {cursor: pointer;}
.header__menu-btns {gap: 30px; margin: 0 30px;}
.header__menu-btns a {display: block; font-size: 12px; padding-left: 35px; position: relative;}
.header__menu-btns a::before {position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 24px; opacity: 0.66;}
.header__menu-btns a div {font-size: 18px; font-weight: 400;}
.header__menu2 {gap: 10px 30px;}
.header__menu2 a {display: flex; align-items: center; height: 60px; font-size: 15px;}
.header .header__menu2 a.is-active {padding: 0 30px; background-color: var(--bg); color: #000;}
.theme-toggle {font-size: 24px; background-color: var(--accent); height: 30px; border-radius: 15px;
	padding: 5px; gap: 5px; width: 60px; justify-content: space-between;}
.theme-toggle::before, .theme-toggle::after {background: url(../images/sun.svg) 0 0 / contain no-repeat; content: ''; 
	width: 20px; height: 20px; border-radius: 10px;}
.theme-toggle::after {background-image: url(../images/moon.svg); filter: grayscale(1); opacity: 0.5;}
.dt-is-active .theme-toggle::after {filter: none; opacity: 1;}
.dt-is-active .theme-toggle::before {filter: grayscale(1); opacity: 0.5;}

.search-block {position: relative;}
.search-block__input, .search-block__input:focus {border-radius: 4px; padding: 0 30px 0 15px; 
	border: 0; box-shadow: none; color: #000;}
.search-block__input:not(:focus)::placeholder {opacity: 1; font-size: 14px; color: var(--tt-fade);}
.search-block__btn {position: absolute; right: 0; top: 0; width: 50px; font-size: 16px; color: var(--accent);}


/* SIDEBAR
----------------------------------------------- */
.sb__title {margin-bottom: 30px; font-size: 18px; font-weight: 500;}
.sb__menu {gap: 10px;}
.sb__menu a {display: block;}
.release {background-color: var(--bg); border-radius: 3px; padding: 10px; gap: 10px; font-weight: 400;}
.release__img {width: 60px; height: 74px; border-radius: 3px;}
.release .item__meta {position: static; background-color: var(--bg-darker);}
.sb__top {display: grid; gap: 15px; grid-template-columns: repeat(auto-fill,minmax(100px,1fr));}
.sb--menu {background-color: var(--bg-darker); padding: var(--indent); gap: 25px; --indent: 30px; --indent-1: -30px}
.sb--menu .sb__title {border-bottom: 1px solid var(--bdc); font-size: 16px;
	padding-bottom: 15px; margin: 0 var(--indent-1); margin-bottom: 15px; padding-left: 30px;}


/* SECTION
----------------------------------------------- */
.sect:not(:last-child) {margin-bottom: 50px;}
.sect--bdt1 {border-top: 1px solid var(--bdc); padding-top: 20px;}
.sect__header {margin-bottom: 30px; gap: 10px;}
.sect__title {font-size: 24px; font-weight: 500; border-left: 5px solid var(--red); padding-left: 15px;}
.sect__link {display: flex;	align-items: center; gap: 10px; cursor: pointer;}
.sect__link::before {display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; 
	border: 1px solid var(--red); color: var(--red); font-size: 10px; box-sizing: border-box;}
.sect__btn {padding: 0 60px; max-width: 100%; font-size: 12px; text-transform: uppercase;
	display: flex; width: max-content; margin: 0 auto; margin-top: 20px;}

.speedbar {color: #fff; --tt: #fff; font-size: 12px;}
.speedbar::before {margin-right: 6px;}
.site-desc {display: grid; gap: 20px; padding-top: 30px; padding-bottom: 30px; border-top: 1px solid var(--bdc);}
.site-desc :is(h1,h2,h3) {font-size: 18px; color: var(--tt); 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:"\e926"; font-weight: 400; font-family:'fa-custom'; 
	color: var(--accent); position: absolute; left: 0; top: 0;}
.sorter {position:relative; cursor:pointer; height: 34px; display: flex; align-items: center;
	padding: 0 10px; border: 1px solid var(--bdc); min-width: 185px;}
.sorter > span {display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;}
.sorter > span > span {color: var(--accent); font-size: 12px;}
.sorter form {display: none; background-color: var(--bg-white); padding: 0px; 
	box-shadow: 0 0 15px 0 rgba(0,0,0,0.1); position: absolute; right: 0; top: 100%; 
	width: 100%; z-index: 99; border: 1px solid var(--accent); font-weight: 400;}
.sorter a {display: block; border-bottom: 1px solid var(--bdc); padding: 6px 10px;}
.sort li.asc a::after, .sort li.desc a::after {content:"\e903"; font-family:"fa-custom"; 
	display: inline-block; margin-left: 10px; font-weight: 400;}
.sort li.desc a::after {content:"\e925"}


/* ITEM
----------------------------------------------- */
.item {display: block; position: relative; font-weight: 400;}
.item__img {padding-top: 140%; box-shadow: 0 8px 16px rgba(0,0,0,0.1); border-radius: 3px; 
	position: absolute; left: 0; top: 0; width: 100%;}
.item__title {padding-top: calc(140% + 15px); overflow: hidden; position: relative; border-radius: 3px;}
.items-label .item__title::before {width: 100px; height: 100px; background-color: var(--green); color: #fff; 
	display: flex; align-items: flex-end; justify-content: center; transform: rotate(-45deg); 
	position: absolute; left: -58px; top: -58px; pointer-events: none; content: ''; z-index: 1; 
	border-bottom: 1px solid #fff; box-shadow: inset 0 -2px rgba(0,0,0,0.15), 0 0 20px rgba(0,0,0,0.5);}
.items-label .item__title::after {content:"\e918"; font-weight: 400; font-family:'fa-custom'; 
	color: #fff; position: absolute; left: 5px; top: 4px; z-index: 2; 
	font-size: 20px; transform: scale(-1,1); pointer-events: none;}
.items-label--star .item__title::after {content:"\e921"; left: 3px; top: 3px;}
.item__meta {position: absolute; right: 5px; top: 5px; z-index: 5; 
	font-size: 12px; background-color: var(--bg); border-radius: 2px; overflow: hidden;}
.item__meta span {display: flex; align-items: center; height: 22px; padding: 0 5px;}
.item__meta span:first-child {background-color: var(--orange); color: #fff;}


/* SHORT
----------------------------------------------- */
.short {display: grid; gap: 10px 20px; grid-template-columns: 200px 1fr; grid-template-rows: auto 1fr auto; 
	grid-template-areas: "simg sheader" "simg sdesc" "simg sfooter";}
.short__header {grid-area: sheader;}
.short__img {grid-area: simg; display: block; height: 300px; border-radius: 3px;}
.short__footer {grid-area: sfooter;}
.short__header-title {font-size: 18px; font-weight: 500;}
.short__desc {grid-area: sdesc;}
.short__tech {font-size: 13px; gap: 5px;}
.short__tech li > span:first-child {margin-right: 5px; color: var(--tt-fade);}
.short__text {margin: 10px 0; -webkit-line-clamp: 4;}
.short__scr ul {display: grid; gap: 10px; grid-template-columns: repeat(3,1fr); width: 300px;}
.short__scr li:nth-child(3) ~ li {display: none;}
.short__scr a, .short__scr img {display: block; position: relative; width: 100%; aspect-ratio: 3 / 2; height: auto; border-radius: 2px;}
.short__scr img {object-fit: cover;}
.short .page__header-meta {margin: 0;}


/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__menu {gap: 10px 30px; text-decoration: underline;}
.footer__btn-top::before {border-color: var(--tt-on-dark); color: var(--tt-on-dark);}
.footer__logo {background-size: 24px; padding-left: 32px;}

.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; border: 2px solid var(--bdc);}
.pagination__btn-loader {width: 100%;}
.pagination__btn-loader a, .pagination__btn-loader span {height: 40px; border-radius: 6px;
	background-color: var(--bg-darker); color: var(--tt-fade); border: 0; width: 100%;}
.pagination__pages {gap: 10px 10px; font-size: 16px;}
.pagination__pages span:not(.nav_ext) {background-color: var(--accent); color: #fff; border-color: var(--accent);}


/* INNER PAGE
----------------------------------------------- */
.page__header-main h1 {font-size: 24px; font-weight: 500;}
.page__header-main h1 a {font-size: 16px; margin-left: 10px;}
.page__header-meta {font-size: 13px; gap: 10px 20px; margin-top: 6px; color: var(--tt-fade);}
.page__header-meta-item {gap: 5px;}
.page__poster {width: 200px; height: 300px; border-radius: 4px 4px 0 0;}
.page__col-left {width: 200px; margin-right: 30px;}
.page__subtitle {color: var(--accent); margin-bottom: 20px; font-size: 18px; font-weight: 400;}
.page__release .page__subtitle {color: var(--red);}
.page__subtitle--dl {font-size: 18px; font-weight: 500; text-align: center;}

.page__tech li {position: relative; padding-left: 260px; min-height: 14px;}
.page__tech li + li {margin-top: 9px;}
.page__tech li > span:first-child {position: absolute; left: 0px; top: 0; color: var(--tt-fade);}
.page__tech-caption {font-weight: 500; font-size: 16px; margin-top: 20px; margin-bottom: 8px;}
.page__tech a {color: var(--blue); text-decoration: underline;}

.page__subscribe {background-color: var(--bg-darker); text-align: center; 
	border-radius: 0 0 3px 3px; padding-bottom: 10px; font-size: 12px;}
.page__subscribe-btn {padding: 0; width: 100%; background-color: var(--green); 
	font-size: 10px; margin-bottom: 10px; text-transform: uppercase; border-radius: 0;}
.page__subscribe-count span {color: red; font-weight: 500;}
.page__text {margin: -10px 0;}
.page__header-rating {height: 30px; border-radius: 3px; padding: 0 10px; --gray: #d9d9d9;
	background-color: var(--gray); color: #fff; margin-left: auto; gap: 5px;}
.page__header-rating > span {font-size: 12px; font-weight: 500; text-shadow: 0 2px 3px rgba(0,0,0,.35);}
.page__header-rating a span {-webkit-text-stroke: 1px var(--green); color: #fff;}
.page__header-rating a:first-child span {-webkit-text-stroke: 1px var(--red);}
.page__header-rating a {display: flex; align-items: center; height: 100%; font-size: 14px; padding: 0 5px;}
.page__header-rating:has(.ratingminus) {background-color: #dd8585;}
.page__header-rating:has(.ratingplus) {background-color: #94dd85;}
.page__header-rating.gold {background-color: #e6c200;}
.page__header-rating.black {background-color: #333;}
.page__upd a {color: var(--accent);}
.page__upd {padding: 10px; margin-top: 10px; font-size: 12px; border: 1px dashed var(--red); border-radius: 4px;}
.page__fav {position: absolute; left: 0; top: 0; z-index: 5;}
.page__fav a {display: grid; place-items: center; width: 40px; height: 40px; 
	background-color: var(--blue); color: #fff; font-size: 18px; border-radius: 3px 0 3px 0;}

.page__scr ul {display: grid; gap: 10px; grid-template-columns: repeat(3,1fr);}
.page__scr li:nth-child(6) ~ li {display: none;}
.page__scr a, .page__scr img {display: block; position: relative; width: 100%; aspect-ratio: 3 / 2; height: auto;}
.page__scr img {object-fit: cover;}
.page__scr a::before {content:"\e91f"; font-family:'fa-custom'; font-weight: 400;
	width: 40px; height: 40px; display: grid; place-items: center; background-color: #fff; color: #464646; 
	position: absolute; left: 50%; top: 50%; margin: -20px 0 0 -20px; z-index: 5; border-radius: 50%; font-size: 18px;}
	
.dl {padding: 10px; padding-left: 20px; gap: 10px 20px; background-color: var(--bg-darker); 
	isolation: isolate; position: relative; overflow: hidden; border-radius: 3px; border: 1px solid var(--bdc);}
.dl::after {content: ""; position: absolute; left: .25rem; right: .25rem; top: -30px; height: 3.75rem;
	margin-top: .25rem; background-size: 1rem 1rem; opacity: .05; z-index: -1;
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNiAxNic+PHBhdGggZmlsbD0nIzE0MjYzNicgZD0nTTIsOGEyLDIsMCwxLDAsMiwyQTIsMiwwLDAsMCwyLDhabTgtOGEyLDIsMCwxLDAsMiwyQTIsMiwwLDAsMCwxMCwwWicvPjwvc3ZnPg==);
}
.dl::before {font-size: 24px; width: 40px; height: 40px; display: grid; place-items: center; 
	border-radius: 50%; border: 1px solid var(--bdc); background-color: var(--bg);}
.dl__btn {width: 200px; background-color: var(--green);}
.dl__title {font-weight: 500;}
.dl__meta {font-size: 12px; color: var(--tt-fade); margin-top: 5px;}
.dl__extension {font-weight: 500; color: var(--orange);}
.page__install {margin-top: -40px; box-shadow: none !important;}


/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.page__title {margin-bottom: 20px; font-size: 24px;}
.full-text {line-height: 1.5; font-size: 15px; 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: 15px;}
.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: 400;
	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: 60%; position: relative; background-color: #000;}
.video-responsive > iframe, .video-responsive > video, .video-responsive > img {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: 15px;}
.full-text iframe {width: 100%; height: 400px; margin-bottom: 20px;}
.video-responsive > img {opacity: 0.6; object-fit: cover;}

/* COMMENTS
----------------------------------------------- */
.page__comments {margin-top: 0px;}
.page__comments-title {font-size: 19px; margin-bottom: 20px;}
.page__comments-info {color: var(--tt-fade); display: block; margin: -15px 0 20px; 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-toggle.ac-form {cursor: pointer;}
.ac-form__header input, .ac-toggle .ac-form__editor textarea {border-radius: 4px;}
.ac-toggle, .ac-toggle .ac-form__editor {position: relative;}
.ac-toggle .ac-form__bottom button {position: absolute; bottom: 20px; right: 10px; z-index: 10; pointer-events: none;}
.ac-form .bb-btn {display: none;}
.ac-form .bb-pane {background: none; box-shadow: none; border: 0; position: absolute; left: 0; bottom: 0; right: 0;}
.ac-form #b_emo, .ac-form #b_leech, .ac-form #b_quote, .ac-form #b_spoiler, 
.ac-form #b_b, .ac-form #b_u, .ac-form #b_s, .ac-form #b_color, .ac-form #b_hide {display: grid;}
.ac-toggle .bb-btn {pointer-events: none;}
.ac-toggle .ac-form__editor .bb-editor textarea {height: 140px; resize: none;}
.ac-form__editor .bb-editor textarea {height: 140px; line-height: 1.4; padding-bottom: 40px;}
.comments_subscribe + br, .ac-form .bb-editor + br {display: none;}
.ac-toggle .has-checkbox {display: none;}

.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; margin-bottom: 20px;}
.cguest .bb-pane {display: none;}
.bb-pane b {font-weight: 400 !important;}

.comm {margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--bdc);}
.comm__img {width: 40px; height: 40px; border-radius: 20px; margin-right: 15px;}
.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(--accent); font-weight: 400; font-size: 14px;}
.comm__date {color: var(--tt-fade); font-size: 12px; margin-top: 2px;}
.comm__main {margin: 10px 0 10px 0; position: relative; padding-left: 15px;}
.comm__main::before {position: absolute; left: 0; top: 5px; font-size: 12px;}
.comm__action {gap: 20px; font-size: 12px; margin-right: auto;}
.comm__action li, .comm__action li a {color: var(--tt-fade); cursor: pointer; gap: 4px; 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: 500;}
.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; color: var(--ui-accent); text-decoration: underline;}
.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 {font-weight: 500; gap: 10px; background-color: var(--ui-bg-darker);}
.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(--blue);}
.header__login-menu-border {border-top: 1px solid var(--bdc); 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: 280px; height: 100%; overflow-x: hidden; overflow-y: auto;
	z-index: 999; position: fixed; left: -360px; top: 0; transition: left 0.4s; background-color: var(--bg);}
.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-color: var(--accent-lighter); --tt: #fff;}
.mobile-menu__btn-close {font-size: 24px; width: 40px; height: 40px; margin-right: 0px;}
.mobile-menu .logo {transform: scale(0.8,0.8); transform-origin: left center; margin: 0;}
.mobile-menu__content {padding: 20px; padding-top: 15px; display: flex; flex-direction: column; gap: 20px;}
.mobile-menu__content .header__menu2 a {height: auto;}
.mobile-menu__content .sb__title {margin-bottom: 10px;}
.mobile-menu__content .header__menu-btns {margin: 0; gap: 10px; flex-direction: column;}

@media screen and (max-width: 1220px) {
	:root {--indent-negative: -20px; --indent: 20px;}
	.wrapper {overflow: hidden;}
	.wrapper__container {max-width:1000px;}
	.header .header__menu2, .header .header__menu-btns, .sidebar .js-this-in-mobile-menu {display: none;}
	.header__btn-menu {display: flex; font-size: 18px; border-radius: 50%; 
		padding: 0; background-color: var(--red); width: 40px;}
	.cols {display: block;}
	.sb--menu {--indent: 20px; --indent-1: -20px;}
}

@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;}
	.short__scr ul {width: 200px;}
}

@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__search {min-width: 100%; order: 10;}
	.header__logo {flex: 1 1 0; min-width: 100px; max-width: 100%;}
	.header__mid {gap: 10px; padding-top: 10px; padding-bottom: 10px;}
	.short {gap: 9px 10px; grid-template-columns: 110px minmax(0,1fr); grid-template-rows: 1fr auto auto;
		grid-template-areas: "simg sheader" "simg sfooter" "sdesc sdesc";}
	.short__header-title {font-size: 16px;}
	.short__scr ul, .short__scr {width: 100%;}
	.short__img {height: 160px;}
	.short .page__header-meta {flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 10px;}
	.short .page__header-meta-item:nth-child(2) {display: none;}

	.page__header-main {text-align: center;}
	.page__header-meta {justify-content: center;}
	.page__header-rating {margin-left: 0;}
	.page__cols {display: block;}
	.page__col-left {margin: 0 auto; margin-bottom: 20px;}
	.dl__desc {min-width: calc(100%	- 60px);}
	.dl__btn {flex-grow: 1;}
	.dl {padding: 10px; gap: 10px;}

	.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;}
	.comm__rating {font-size: 12px;}
}

@media screen and (max-width: 590px) {
	.wrapper__container {max-width:480px;}
	.sect:not(:last-child) {margin-bottom: 40px;}
	.sect__header {margin-bottom: 20px; gap: 5px;}
	.sect__title {font-size: 20px;}
	.sect__title, .sect__sort {min-width: 100%;}
	.d-grid-items {grid-template-columns: repeat(2,minmax(100px,1fr));}
	.sorter {flex-grow: 1;}
	.footer__menu, .footer__text {min-width: 100%; justify-content: center; text-align: center;}
	.sb--menu {margin-left: var(--indent-negative); margin-right: var(--indent-negative);}
	.sect__btn {width: 100%; padding: 0;}
	.sb--menu:last-child {margin-bottom: -30px;}
	.content {padding-bottom: 30px;}
	.header__login {padding-right: 34px;}
	.header__login-open, .header__link, .speedbar::before {display: none;}
	.sidebar {gap: 20px;}
	.sidebar .sb__title {margin-bottom: 20px;}

	.page__tech li {padding-left: 0; font-size: 12px;}
	.page__tech li > span:first-child {position: static; margin-right: 5px;}
	.page__install {margin-top: -30px;}
}

@media screen and (max-width: 470px) {
	.wrapper__container123 {max-width:360px;}
	.header__logo {padding-left: 0; background: none;}
	
	.page__scr ul {grid-template-columns: repeat(2,1fr);}
	.page__header-meta-item {font-size: 12px;}
	.page__subtitle--dl, .page__related .sect__title {font-size: 18px;}
	.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;}
}
