/* SET BASE
----------------------------------------------- */
* {background: transparent; margin: 0; padding: 0; outline: none; border: 0;
-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
table {border-collapse: collapse; border-spacing: 0;}
input, select {vertical-align: middle;}
article, aside, figure, figure img, hgroup, footer, header, nav, section, main {display: block;}
img {max-width: 100%;}
.clr {clear: both;}
.clearfix:after {content: ""; display: table; clear: both;}

body {font: 16px 'Source Sans Pro', sans-serif; line-height: normal; padding: 0; margin: 0;        
color: #ccc; background-color: #828999; min-height: 100%; width: 100%; font-weight: 400; 
background: linear-gradient(45deg, #384660, #c2d2cd);}
a {color: #ccc; text-decoration: none;}
a:hover, a:focus {color: #f1793a; text-decoration: none;}
h1, h2, h3, h4, h5 {font-weight: 600; font-size: 18px;}

button, textarea, input[type="text"], input[type="password"] {appearance: none; -webkit-appearance: none; 
	font-size: 16px; font-family: 'Source Sans Pro' !important;}

.button, .btn, .pagi-load a, .up-second li a, .usp-edit a, .qq-upload-button, button:not(.color-btn):not([class*=fr]), 
html input[type="button"], input[type="reset"], input[type="submit"], .meta-fav a, .usp-btn a {
display: inline-block; text-align: center; padding: 0 20px; height: 40px; line-height: 40px; 
border-radius: 4px; cursor: pointer; 
color: #fff; background-color: #3ce7b5; font-size: 16px; font-weight: 600;}
.button:hover, .btn:hover, .up-second li a:hover, .usp-edit a:hover, .qq-upload-button:hover, 
.pagi-load a:hover, .usp-btn a:hover,
button:not(.color-btn):hover, html input[type="button"]:hover, input[type="reset"]:hover, 
input[type="submit"]:hover, .meta-fav a:hover 
{background-color: #2bc095; color: #fff; box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0);}
button:active, input[type="button"]:active, input[type="submit"]:active {box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.1);}

input[type="text"], input[type="password"] {height: 40px; line-height: 40px;
border-radius: 4px; border: 0; padding: 0 15px;}
select {height: 40px; border: 0; padding: 0 15px;}
textarea {padding: 15px; overflow: auto; vertical-align: top; resize: vertical;}
input[type="text"], input[type="password"], select, textarea {width: 100%; background-color: #111; color: #fff; 
box-shadow: inset 0 0 0 1px #000, inset 1px 2px 5px rgba(0, 0, 0, 0.1);}
select {width: auto;}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus 
{box-shadow: inset 0 0 0 1px #f1793a, inset 1px 2px 5px rgba(0, 0, 0, 0.1);}
input::placeholder, textarea::placeholder {color: #fff; opacity: 0.5;} 
input:focus::placeholder, textarea:focus::placeholder {color: transparent}

.img-box, .img-wide, .img-square, .img-resp, .img-resp-vert, .img-resp-sq, .img-fit 
{overflow: hidden; position: relative; background-color: #222;}
.img-resp {padding-top: 60%;}
.img-resp-vert {padding-top: 145%;}
.img-resp-sq {padding-top: 100%;}
.img-box img, .img-square img, .img-resp img, .img-resp-vert img, .img-resp-sq img {width: 100%; min-height: 100%; display: block;}
.img-resp img, .img-resp-vert img, .img-resp-sq img {position: absolute; left: 0; top: 0;}
.img-wide img {width: 100%; display: block;}
.img-fit img {width: 100%; height: 100%; object-fit: cover;}
.nowrap {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

.mar30 {margin-top: 30px;}
.fx-row {display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;
-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;}
.fx-col {display:-ms-flexbox;display:-webkit-flex;display:flex; 
-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}
.fx-center {-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}
.fx-middle {-ms-flex-align:center;-webkit-align-items:center;align-items:center}
.fx-start {-webkit-justify-content:flex-start;justify-content:flex-start;}
.fx-top {-ms-flex-align:flex-start;-webkit-align-items:flex-start;align-items:flex-start}
.fx-first {-ms-flex-order: -1;-webkit-order: -1;order: -1;}
.fx-last {-ms-flex-order: 10;-webkit-order: 10;order: 10;}
.fx-1 {-ms-flex-preferred-size: 0; flex-basis: 0; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; 
	max-width: 100%; min-width: 50px;}

b, strong, h1, h2, h3, h4, h5, .fw700 {font-weight: 600;}
.icon-left .fa, .icon-left .icon {margin-right: 10px;}
.icon-right .fa, .icon-right .icon {margin-left: 10px;}
.hidden, #dofullsearch {display: none;}
.anim {transition: color .3s, background-color .3s, opacity .3s;}
.anim-all {transition: all 1s;}
.mtitle, .sub-title h1, .form-wrap h1 {margin-bottom: 30px; font-size: 24px; font-weight: 400;}
.pages {padding: 30px;}


/* BASIC GRID
----------------------------------------------- */
:root{
  --sidebar-w: 260px;           /* ширина левой колонки */
  --logo-w: var(--sidebar-w);   /* логотип = ширина левой колонки */
  --logo-h: calc(var(--logo-w) * 0.5625); /* 16:9 */
}

.wrap {min-width:320px; position: relative;}
.wrap-center {max-width:100%; margin:0 auto; position:relative; z-index:20;}
.wrap-main {background-color: #202328; box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);}
.header {height: 60px;}
.col-left, .col-right-in {background-color: #1b1d22; color: #ccc; width: 260px; padding: 20px 0;}
.col-right-in {width: 240px; padding: 20px 15px;}
.main {padding: 30px; min-height: 100vh;}
.footer {border-top:5px solid #f1793a; background-color: #111; color: #ccc; 
	padding: 15px 130px 15px 85px; position: relative;}

#gotop{position:fixed; width:40px; height:40px; line-height:40px; right:10px; bottom:10px;
z-index:9998; display:none; background-color:#000; color:#ccc; cursor:pointer; font-size:24px; 
border-radius:50%; text-align:center; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);}


/* HEADER
----------------------------------------------- */
.logo {display:block; position: relative; overflow: hidden;}
.btn-login, .btn-fav {height: 60px; line-height: 60px; cursor: pointer; display: block; 
background-color: #f1793a; color: #fff; text-align: center; width: 160px;}
.btn-fav {background-color: #3ce7b5; font-size: 18px; width: 80px;}
.btn-login:hover {background-color: #2bc095;}
.btn-fav:hover {background-color: #2bc095; color: #fff;}
.hd-menu li {display: inline-block; vertical-align: middle; margin-right: 30px; font-weight: 600;}
.search-wrap {border-left: 2px solid #2a2d34; padding: 10px 30px;}
.search-box {width:100%; position:relative;}
.search-box input, .search-box input:focus {box-shadow:none; padding: 0 0 0 45px;}
.search-box button {position:absolute; left:0px; top:0px; z-index:10; padding:0 !important; 
background-color:transparent !important; color:#ccc !important; font-size: 24px !important}


/* LOGIN
----------------------------------------------- */
.login-overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
background-color: #828999; background: linear-gradient(45deg, #384660, #c2d2cd); opacity: 0.9; display: none;}
.login-box {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%); 
background-color: #333; padding: 30px 60px 40px 60px; border-top: 5px solid #f1793a; width: 400px; 
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); display: none;}
.login-close {width: 26px; height: 26px; line-height: 26px; text-align: center; font-size: 24px; 
	cursor: pointer; position: absolute; top: -30px; right: -30px; color: #fff;}
.login-title {font-size: 24px; font-weight: 600; margin-bottom: 15px; text-align: center; text-transform: uppercase; color: #fff;}
.login-title:first-letter {color: #f1793a;}
.login-avatar {width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 15px auto; 
text-align: center; line-height: 60px; font-size: 24px; background-color: #111; color: #939393;}
.login-input {margin-bottom: 15px;}
.login-btn button {width: 100%; margin: 15px 0;}
.login-btm a {border-bottom: 1px dotted #f1793a; color: #f1793a; font-size: 14px;}
.login-check {position: relative; font-size: 14px;}
.login-check input {opacity: 0; position: absolute; cursor: pointer;}
.login-check span {display: block; padding-left: 36px; height: 30px; line-height: 30px; color: #939393;}
.login-check span:before, .login-check span:after{content: '';position: absolute;top: 50%;transition: .3s;}
.login-check span:before{left: 0; height: 10px; margin-top: -5px; width: 26px; border-radius: 5px; 
	background: #111; box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);}
.login-check span:after{left: 1px; height: 12px; width: 12px; margin-top: -6px; background: #2ecc71;
	border-radius: 6px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0);}
.login-check input:checked + span:before {background-color: #111;}
.login-check input:checked + span:after {left: 13px; background-color: #999; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);}
.login-menu {border-top: 1px solid #111; border-left: 1px solid #111;}
.login-menu li {text-align: center; border-right: 1px solid #111; border-bottom: 1px solid #111; width: 50%;}
.login-menu a {display: block; padding: 10px 5px; font-size: 14px;}
.login-menu li .fa {display: none; height: 28px; font-size: 22px; color: #06c;}
.login-admin {text-align: center; margin: -10px 0 25px 0;}
.login-soc-title {display: flex; align-items: center; margin: 30px 0 15px 0;}
.login-soc-title:before, .login-soc-title:after {content: ''; height: 1px; background-color: #111; flex: 1;}
.login-soc-title:before {margin-right: 15px;}
.login-soc-title:after {margin-left: 15px;}
.login-soc-btns {text-align: center;}
.login-soc-btns a {display:inline-block; margin: 0 3px; vertical-align:top;}
.login-soc-btns img {display:block; width:30px; height: 30px; border-radius: 50%;}


/* SIDE, NAV
----------------------------------------------- */
.nav {}
.nav li {position: relative; color: #ccc;}
.nav li a {display: block; padding: 0 15px; line-height: 34px; border-bottom: 1px solid #333; color: #ccc;}
.nav li a:hover, .nav li a.is-active {background-color: #f1793a; color: #fff;}
.nav li a.is-active + span {color: #fff;}
.nav li span {position: absolute; right: 15px; top: 0; display: inline-block; 
	line-height: 32px; font-size: 12px; opacity: 0.8;}
.side-bt {color: #fff; font-weight: 600; margin-bottom: 15px;}
.col-right-in .th-item:not(:hover) .th-title {color: #ccc;}
@media screen and (min-width: 950px) {
.col-right-in .th-item {width: 100%; padding: 0; margin-bottom: 15px;}
.col-right-in .th-desc, .col-right-in .th-title {height: auto; font-size: 14px; max-height: none; overflow: visible;}
}


/* SECTION
----------------------------------------------- */
.sect + .sect {margin-top: 30px;}
.sect-header {margin-bottom: 30px;}
.sect-title {font-size: 24px; font-weight: 600; color: #fff;}
.sect-items {margin: 0 -8px;}


/* THUMB SCROLL
----------------------------------------------- */
.sect-top {margin: -30px; background-color: #111; padding: 30px; color: #fff; 
box-shadow: inset 0 1000px rgba(0, 0, 0, 0.8);}
.sect-top .th-item:not(:hover) .th-title {color: #ccc;}
.viewport .th-item {margin: 0; padding: 0 16px 0 0;}
.viewport {position: relative; overflow: hidden;}
.overview {position: relative;}
.scrollbar {margin-top: 15px;}
.track {position: relative; height: 3px; background-color: #555;}
.thumb {height: 16px; width: 32px; border-radius: 8px; background-color: #f1793a;
 position: absolute; top: -6px; cursor: pointer;}


/* THUMB
----------------------------------------------- */
.th-item {float: left; width: 33.33%; padding: 0 8px;}
.th-in {display: block; position: relative;}
.th-img {margin-bottom: 10px; transition: box-shadow .2s linear;}
.th-img:before {content: ''; position:  absolute; left:0; top: 0; width: 100%; height: 50px; z-index: 5;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%,rgba(0, 0, 0, 0) 100%);}
.th-img:after {content: ''; position:  absolute; left:0; bottom: 0; width: 100%; height: 50px; z-index: 5;
background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%,rgba(0, 0, 0, 0) 100%);}
.th-desc {height: 80px;}
.th-title {line-height: 20px; max-height: 40px; overflow: hidden; font-size: 16px; font-weight: 400;}
.th-cat {margin-top: 5px; font-size: 12px; }
.th-meta {position: absolute; z-index: 10; display: inline-block; color: #fff; font-size: 14px;}
.th-views {right: 7px; bottom: 95px;}
.th-time {left: 7px; top: 7px;}
.th-rating {left: 7px; bottom: 95px;}
.th-views .icon, .th-rating .icon {margin-right: 5px;}
.th-rating .icon {color: #2ecc71; font-size: 18px;}
.th-percent {opacity: 0;}
.wdone {opacity: 1;}
.th-edit {position: relative; top: -10px;}

.sect-link {color: #f1793a; text-decoration: underline;}
.sect-link:hover {text-decoration: none;}
.th-model {width: 16.66%;}
.th-model .th-views, .th-model .th-rating {bottom: 8px;}
.th-model .th-desc {height: 60px;}


/* SEO DESCRIPTION
----------------------------------------------- */
.desc-text {background-color: #2a2d34; margin: 30px -30px; padding: 30px;}
.desc-text h1, .desc-text h2, .desc-text h3 {font-size: 18px; font-weight: 600; margin-bottom: 10px;}
.desc-text span {color: #f1793a;}
.desc-text p {line-height:1.7; font-size: 14px;}
.desc-text p + p {margin-top:15px;}
.desc-text p + h1, .desc-text p + h2, .desc-text p + h3 {margin-top:20px;}
.desc-text a {text-decoration: underline; color: #2661c5;}


/* FOOTER
----------------------------------------------- */
.footer > span {background-color:#f1793a; color:#fff; display:inline-block; padding: 15px; 
position: absolute; left: 0; top: 0; font-size: 24px;}
.ft-two {font-size:14px; margin-top: 5px;}
.ft-counter {position: absolute; right: 30px; top: 15px;}
.footer a {text-decoration: underline; color: #e3e3e3;}


/* BOTTOM NAVIGATION
----------------------------------------------- */
.bottom-nav {line-height:40px; text-align:center; padding:30px 0 0 0;}
.pagi-nav {max-width:100%; display:inline-block;}
.pagi-nav > span {display:inline-block;}
.pprev, .pnext {}
.pprev {}
.pnext a, .pprev a, .pprev > span, .pnext > span {display:block; width:46px; text-align:center;}
.navigation {text-align:center;}
.navigation a, .navigation span, .pnext a, .pprev a, .pprev > span, .pnext > span {display:inline-block; padding:0 15px; 
background-color:#1b1d22; margin:5px 2px 0 2px; border-radius:0px; font-size:18px;}
.navigation span, .pagi-nav a:hover {background-color:#f1793a; color:#fff;}
.navigation span.nav_ext {background-color:#1b1d22; color:#ccc;}
.pagi-nav a:hover {background-color:#f1793a; color:#fff;}
.dle-comments-navigation .pagi-nav {margin-bottom:0;}


/* FULL
----------------------------------------------- */
.full {margin:-30px;}
.fone {padding: 30px; box-shadow: inset 0 800px rgba(0, 0, 0, 0.8);}
.ftwo {background-color: #2a3134; color: #fff; padding: 15px 30px;}
.fthree {background-color: #1a1919; padding: 15px 30px;}
.ffour {background-color: #2a3134; padding: 20px 30px 30px 30px;}
.ffive {padding: 30px;}
.fplayer {margin: 0 auto; background-color:#000;}
.ftwo h1 {font-weight: 600; font-size: 18px;}
.ftwo h1 a {color: #ccc; margin-left: 15px;}
.fctrl {color: #ccc; text-align: center; font-size: 14px; width: 14.2%; 
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.fctrl .icon {display: block; height: 34px; font-size: 24px;}
.fctrl a {color: #ccc; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.fctrl a:hover, .js-fshare:hover, .fctrl.js-login:hover {color: #f1793a; cursor: pointer;}
.fdesc + .ftags {margin-top: 10px;}
.ftags {line-height:24px; font-size: 14px;}
.ftags a {color: #f1793a; text-decoration: underline;}
.ftags a:hover {text-decoration: none;}
.fbtm {padding: 0 30px;}

.vpm-rate {white-space:nowrap; text-align:center; width: 180px; height: 40px; 
	margin-left: 15px; position: relative;}
.rate-plus, .rate-minus, .rate-counts {display:inline-block; vertical-align:middle;}
.rate-data {display:none;}
.rate-counts {width:180px; height:40px; position: relative; font-size: 12px; color: #ccc;}
.rate-plus, .rate-minus {cursor:pointer; width:30px; height:30px; text-align:center; font-size:18px; 
line-height:30px; border-radius: 50%; position: absolute;}
.rate-plus {color:#2ecc71; top: 0; left: 0;}
.rate-minus {color:#3ce7b5; top: 0; right: 0;}
.rate-plus:hover, .rate-minus:hover {background-color: #2661c5; color: #fff;}
.rate-bar {width:100%; min-height:6px; height:6px; border-radius:4px; overflow:hidden; 
position:absolute; background-color:#3ce7b5; left: 0; right: 0; bottom: 0;}
.rate-fill {width:50%; height:100%; position:absolute; left:0; top:0; background-color:#2ecc71; transition:width 1s linear;}
.rate-perc {margin-right:5px; font-size:18px; font-weight: 600; color:#2ecc71;}

.fshare {background-color: #222; padding: 30px; display: none;}
.fshare-capt, .fshare textarea {margin-bottom: 10px;}
.fshare textarea {padding: 10px; height: auto; font-size: 14px; overflow: hidden;}


/* FULL STORY STATIC
----------------------------------------------- */
.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame 
{max-width:100% !important; display:block; width:100%; height:400px;}
.mejs-container {max-width:100% !important;}
.full-text {line-height: 1.7; font-size: 14px; color:#ccc;}
.full-text img:not(.emoji) {max-width:100%; margin:10px 0;}
.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 a {text-decoration:underline; color:#f1793a;}
.full-text a:hover {text-decoration:none;}
.full-text h2, .full-text h3, .full-text h4, .full-text h5 {margin:10px 0; font-size:18px; font-weight:700;}
.full-text p {margin-bottom:10px;}
.full-text ul, .full-text ol {margin:0;}
.full-text ul li {list-style:disc; margin-left:40px;}
.full-text ol li {list-style:decimal; margin-left:40px;}

.full-taglist a {color:#05cd93;}
.full-taglist {margin-top:20px;}
.full-taglist span:not(.fa):not(:last-child):after {content:","; display:inline;}


/* COMMENTS
----------------------------------------------- */
.add-comms {margin: 20px -30px 0 -30px; padding: 30px 200px 0 30px; border-top: 1px solid #1a1919;}
.ac-inputs input {width: 48.5%; margin-bottom: 15px;}
.ac-textarea textarea {height: 100px; margin-bottom: 15px;}
.add-comms input, .add-comms textarea, .ac-submit button {box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);}
.ac-protect, .ac-textarea .bb-editor + br {display: none;}
.comments_subscribe input {margin-right: 10px;}
.comments_subscribe {display: block;}
.mass_comments_action {padding:10px; background-color:#333; margin:20px 0 0 0; text-align: right;}
.last-comm-link {font-size:16px; margin-bottom:10px; text-decoration: underline;}

.comm-item {margin-bottom: 30px; font-size: 14px;}
.comm-left {width: 50px; margin-right: 15px;}
.comm-img {height: 50px; border-radius: 50%; background-color: transparent;}
.comm-two {margin: 5px 0 10px 0;}
.comm-one > span {margin-right: 15px; color: #939393;}
.comm-one > span.comm-author, .comm-one > span.comm-author a {font-size: 18px; color: #ccc;}
.comm-three-left > a, .comm-three-right li a {color: #939393;}
.comm-three-right li {display: inline-block; margin-left: 15px;}
.comm-rate3 {white-space:nowrap; font-size:18px; margin-right: 15px; height: 20px; line-height: 20px; 
	display: inline-block; vertical-align: top; color: #909090; position: relative; top: -3px;}
.comm-rate3 a {display: inline-block; vertical-align: middle; color: #909090; 
position: relative; top: -2px;}
.comm-rate3 a:hover {color: #000;}
.comm-rate3 a:last-child {margin-bottom: -6px;}
.comm-rate3 > span {margin: 0 5px; font-size: 16px;}
.comm-rate3 > span > span.ratingtypeplus {color: #06b601;}
.comm-rate3 > span > span.ratingplus {color: #95c613;}
.comm-rate3 > span > span.ratingminus {color: #14f9b6;}
.comm-three a:hover {text-decoration: underline;}





/* ADAPTIVE
----------------------------------------------- */
.btn-menu, .btn-menu2 {display: none;}
.side-panel {width:280px; height:100%; overflow-x:hidden; overflow-y:auto; background-color:#222;
padding:15px 0; z-index:99999; position:fixed; left:-320px; top:0; transition:left .4s; -webkit-transition:left .4s;}
.side-panel.active {left:0;}
.close-overlay {width:100%; height:100%; background-color:rgba(0, 0, 0, 0.5); 
position:fixed; left:0; top:0; z-index:99998; display:none;}
.btn-close {cursor:pointer; display:block; left: 280px; top: -40px; position: fixed; z-index: 99999;
width:40px; height:40px; line-height:40px; text-align:center; font-size:18px; 
background-color: #36e8b4; color: #fff; transition:top .4s; -webkit-transition:top .4s;}
.btn-close.active {top:0px;}
body.opened-menu {overflow: hidden; width: 100%; height: 100%;}
.side-panel a {color: #ccc;}
.side-panel .hd-menu {display: block; margin-bottom: 15px;}
.side-panel .hd-menu li {display: block; margin: 0; line-height: 34px; padding: 0 15px; border-bottom: 1px solid #333;}


@media screen and (max-width: 1220px) {
.wrap-center {max-width:1000px; overflow: hidden;}
.cols {display: block;}
.col-left, .hd-menu {display: none;}
.main {padding-left: 15px; padding-right: 15px;}
.desc-text, .sect-top {margin-left: -15px; margin-right: -15px; padding-left: 15px; padding-right: 15px;}
.btn-menu {display: block; width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 28px; 
cursor: pointer; margin-right: 15px; color: #fff;}
#gotop {display: none !important;}
.not-logged .login-avatar {display: none;}
.login-close {top: -5px;}
.login-title {font-size: 18px;}
.login-box {max-width: calc(100% - 60px); padding: 15px;}

.full, .add-comms {margin-left: -15px; margin-right: -15px;}
.fone {padding: 0;}
.ftwo, .fthree, .ffour, .add-comms, .ffive, .fbtm {padding-left: 15px; padding-right: 15px;}
}

@media screen and (max-width: 950px) {
.wrap-center {max-width:768px;}
.btn-menu2 {display: block; width: 30px; height: 40px; line-height: 40px; text-align: center; font-size: 28px; 
cursor: pointer; margin-right: 15px; margin-left: -10px; color: #fff;}
.search-wrap {min-width: 100%; padding: 15px; -ms-flex-order: 9;-webkit-order: 9;order: 9; 
border: 0; border-top: 1px solid #2a2d34; display: none;}
.search-box input {background-color: #2a2d34 !important; border-radius: 0; padding-left: 50px;}
.search-box button {left: 15px;}
.btn-login {width: calc(100% - 80px);}
.btn-login, .btn-fav {-ms-flex-order: 10;-webkit-order: 10;order: 10; display: none;}
.header.is-active {height: auto;}
.is-active .btn-login, .is-active .btn-fav, .is-active .search-wrap {display: block;}
.logo {-ms-flex-preferred-size: 0; flex-basis: 0; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; 
	max-width: 100%; min-width: 50px; margin-right: 15px; overflow: hidden;}
.th-model {width: 25%;}

.col-right-in {width: 100%;}
}

@media screen and (max-width: 760px) {
.wrap-center {max-width:640px;}
.th-item {width: 50%;}
.footer {text-align: center; padding: 15px;}
.footer > span, .ft-counter {position: static; display: inline-block; margin-bottom: 10px;}
.ft-counter {margin: 15px 0 0 0;}
.th-model {width: 33.33%;}

.fthree, .ftwo {display: block;}
.fthree {white-space: nowrap; overflow-y: hidden; overflow-x: auto;}
.fctrl {display: inline-block; vertical-align: top; width: 80px; margin-right: 15px;}
.ftwo {text-align: center;}
.vpm-rate {margin: 15px auto 0 auto;}

.dcont button {font-size:12px; padding:0 15px !important;}
.comments-tree-list .comments-tree-list {padding-left:0px !important;}
.comments-tree-list .comments-tree-list:before {display:none;}
.mass_comments_action {display:none;}
}

@media screen and (max-width: 590px) {
.wrap-center {max-width:480px;}

.ac-inputs input {width: 100%;}
.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {height:300px;}

.ui-dialog {width:100% !important;}
.upop-left, .upop-right {float:none !important; width:100% !important; margin:0; padding:0 20px;}
.upop-left {margin-bottom:10px; text-align:center;}
.ui-dialog-buttonset button {display:block; margin:0 0 5px 0; width:100%;}
#dofullsearch, #searchsuggestions span.seperator {display:none !important;}
.attach .download-link {margin:0 -15px 0 0; float:none; display:block; padding:0 10px;}
.attach-info {float:none;}
}

@media screen and (max-width: 470px) {
.wrap-center22 {max-width:320px;}
.sect-scroller .th-item {width: 66.66%;}
.logo {overflow: hidden; position: relative; max-width: 258px;}
.logo img {position:absolute; inset:0; width:100%; height:100%; object-fit:contain;}
.th-model {width: 50%;}
.th-model .th-views .icon {display: none;}

.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {height:250px;}
}






/* Theme toggle button */
.btn-theme{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    margin-right:10px;
    border-radius:12px;
    cursor:pointer;
    border:1px solid rgba(255, 255, 255, .12);
    background:transparent;
    font-size:20px;
    line-height:1;
}
.btn-theme:focus{outline:none;box-shadow:0 0 0 3px rgba(125, 125, 255, .25);}

/* HERO SLIDER
----------------------------------------------- */
.hero-slider{
  position: relative;
  width: 100%;
  height: clamp(220px, 40vh, 520px); /* 40% экрана, но не меньше/не больше диапазона */
  overflow: hidden;
  border-radius: 0;
  /* растягиваем на всю ширину центральной колонки (компенсируем padding .main=30px) */
  margin: -30px -30px 52px -30px;  /* +30px компенсирует отрицательный margin у .sect-top */
}

.hero-slider .hs-track{
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider .hs-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .55s ease, transform .75s ease;
  pointer-events: none;
}

.hero-slider .hs-slide.is-active{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slider .hs-link{
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slider img,
.hero-slider video{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hero-slider .hs-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: transform .15s ease, opacity .15s ease;
  opacity: .95;
}

.hero-slider .hs-nav:hover{ transform: translateY(-50%) scale(1.05); }
.hero-slider .hs-nav:active{ transform: translateY(-50%) scale(.98); }

.hero-slider .hs-prev{ left: 12px; }
.hero-slider .hs-next{ right: 12px; }

.hero-slider .hs-nav span{
  font-size: 28px;
  line-height: 1;
}

.hero-slider .hs-dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
}

.hero-slider .hs-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  opacity: .55;
  transition: transform .15s ease, opacity .15s ease;
}

.hero-slider .hs-dot.is-active{
  opacity: 1;
  transform: scale(1.25);
}

/* Мобильный: немного меньше скругления/кнопки */
@media (max-width: 760px){
  .hero-slider{ border-radius: 14px; }
  .hero-slider .hs-nav{ width: 40px; height: 40px; }
}

/* HERO SLIDER theme (dark) */
.hero-slider{ box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.hero-slider .hs-nav{ background: rgba(10, 10, 12, .35); color: rgba(255, 255, 255, .95); }
.hero-slider .hs-dot{ background: rgba(255, 255, 255, .75); }


/* HERO SLIDER: force square corners (no rounding anywhere) */
.hero-slider,
.hero-slider * ,
.hero-slider__viewport,
.hero-slider__track,
.hero-slider__slide,
.hero-slider__slide img,
.hero-slider__slide video{
  border-radius: 0 !important;
  box-shadow: none !important;
}


/* HERO SLIDER: force media to fully cover (override global img rules) */
.hero-slider img,
.hero-slider video{
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}
.hero-slider .hs-link{height:100% !important;}
.hero-slider .hs-slide{overflow:hidden;}


/* HERO SLIDER: responsive height tweaks */
@media (max-width: 480px){
  .hero-slider{ height: clamp(180px, 40vh, 420px); }
}
@media (max-height: 560px){
  .hero-slider{ height: clamp(180px, 45vh, 420px); }
}

/* LOGO 16:9 responsive */
@media screen and (max-width: 950px){
  :root{ --logo-w: 180px; } /* на мобилках/планшетах уменьшаем логотип */
  .header{ min-height: calc(var(--logo-w) * 0.5625); }
}
@media screen and (max-width: 590px){
  :root{ --logo-w: 160px; }
  .header{ min-height: calc(var(--logo-w) * 0.5625); }
}

/* HERO SLIDER: fill safety */
.hero-slider .hs-track,
.hero-slider .hs-slide,
.hero-slider .hs-link{ height: 100%; }


/* BRAND BAR (desktop logo block 16:9) */
.brandbar{ padding: 0; }
.logo--side{
  width: 260px;                /* ширина левой колонки */
  aspect-ratio: 16 / 9;
  height: auto;
}
.logo--header{
  width: 120px;
  height: 34px;
}

/* Desktop: show side logo, keep header compact */
@media (min-width: 761px){
  .header{ height: 60px; align-items: center; }
  .header .logo--header{ display: none; }
  .brandbar{ display: block; }
}

/* Mobile: hide side logo, show header logo and slightly taller header */
@media (max-width: 760px){
  .brandbar{ display: none; }
  .header{ height: 72px; }
  .header .logo--header{ display: block; }
}

/* Theme toggle button: bigger icon + centered */
.btn-theme{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

/* HERO SLIDER: no overlap with next section + full-bleed width */
.hero-slider{
  width: calc(100% + 60px);
  margin-left: -30px;
  margin-right: -30px;
  margin-top: -30px;
  margin-bottom: -30px;
}
.hero-slider + .sect-top{
  margin-top: 0;               /* убираем наезд вверх */
  margin-left: -30px;
  margin-right: -30px;
  margin-bottom: -30px;
}
/* Mobile paddings: main uses 15px */
@media (max-width: 1000px){
  .hero-slider{
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -15px;
    margin-bottom: -15px;
  }
  .hero-slider + .sect-top{
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: -15px;
  }
}


/* HERO SLIDER: force track/slide fill */
.hero-slider .hs-track,
.hero-slider .hs-slide,
.hero-slider .hs-link{
  width: 100% !important;
  height: 100% !important;
}

/* LOGO PLACEMENT OVERRIDES */
.logo-hd{ display:none; }
.only-desktop{ display:block; }
@media (max-width: 760px){
  .logo-hd{ display:block; }
  .only-desktop{ display:none; }
}
/* Left sidebar logo: full width of sidebar, 16:9 */
.side-logo{ padding: 12px 12px 0; }
.logo-side{
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  position: relative;
  display:block;
  overflow:hidden;
}
.logo-side img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: contain;
}

/* HERO SLIDER: gap fixes (remove bottom/side gaps) */
.hero-slider{ background: transparent; }
.hero-slider .hs-track{ height:100% !important; display:flex !important; line-height:0 !important; }
.hero-slider .hs-slide{ height:100% !important; flex:0 0 100% !important; }
.hero-slider .hs-link{ display:block !important; height:100% !important; line-height:0 !important; }
.hero-slider img, .hero-slider video{ vertical-align: top !important; }

/* HEADER HEIGHT FIX (desktop) */
.header{ min-height:60px; }

/* THEME BUTTON FIX */
.btn-theme{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

/* LOGO RESPONSIVE (FINAL) */
/* Desktop: hide header logo, show sidebar logo */
@media (min-width: 761px){
  .logo-hd{ display:none !important; }
  .side-logo{ display:block !important; }
}
/* Mobile: show header logo, hide sidebar logo */
@media (max-width: 760px){
  .logo-hd{ display:block !important; width: 210px; height: 54px; }
  .logo-hd img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit: contain;
    transform:none;
    top:0; left:0;
  }
  .side-logo{ display:none !important; }
  .header{ min-height:72px; }
}

/* SIDEBAR LOGO 16:9 */
.side-logo{ padding: 12px 12px 0; }
.logo-side{
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  display:block;
  overflow:hidden;
}
.logo-side img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: contain;
}

/* HERO SLIDER: absolute UI (prevents layout gaps) */
.hero-slider{ padding:0 !important; }
.hero-slider .hs-nav{ position:absolute !important; top:50% !important; transform: translateY(-50%) !important; }
.hero-slider .hs-prev{ left: 16px !important; }
.hero-slider .hs-next{ right: 16px !important; }
.hero-slider .hs-dots{
  position:absolute !important;
  left:50% !important;
  bottom: 16px !important;
  transform: translateX(-50%) !important;
  margin:0 !important;
}

/* HERO SLIDER: hard fill */
.hero-slider .hs-track{
  height:100% !important;
  align-items: stretch !important;
}
.hero-slider .hs-slide,
.hero-slider .hs-link{
  height:100% !important;
}

/* HERO SLIDER: cover+center (crop top/bottom when needed) */
.hero-slider img,
.hero-slider video{
  object-fit: cover !important;
  object-position: 50% 50% !important;
}

/* HEADER DESKTOP LAYOUT (mobile unchanged) */
@media (min-width: 761px){
  .header{
    display:flex;
    align-items:center;
    gap: 12px;
    min-height: 60px;
  }

  /* Hide burger/more on desktop */
  .btn-menu, .btn-menu2{ display:none; }

  /* Auth block to the left, fixed width like sidebar logo */
  .hd-auth{
    width: 260px;
    flex: 0 0 260px;
    display:flex;
  }
  /* Make the two buttons together exactly 260px */
  .hd-auth .btn-login,
  .hd-auth .btn-fav{
    width: 50% !important;
    flex: 0 0 50%;
  }
  .hd-auth .btn-fav{ font-size: 18px; }

  /* Links after auth */
  .hd-menu{
    order: 2;
    margin: 0;
  }

  /* Search next and should stretch */
  .search-wrap{
    order: 3;
    flex: 1 1 auto;
    min-width: 280px;
  }

  /* Theme toggle at the very end */
  .btn-theme{
    order: 4;
    margin-left: auto;
  }

  /* Ensure auth is first */
  .hd-auth{ order: 1; }
}

/* THEME BUTTON CENTER */
.btn-theme{
  display:grid;
  place-items:center;
  font-size: 22px;
  line-height: 1;
}



/* =========================
   TinyMCE (tox) — центр иконок + бренд (зелёный/оранжевый)
   ========================= */
:root{
  --brand-green:#27c46b;
  --brand-orange:#f1793a;
}

/* центрируем иконку внутри кнопки */
.tox .tox-tbtn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  min-width: 44px !important;
  width: 44px !important;
  height: 44px !important;
}

.tox .tox-tbtn .tox-icon{
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
}

.tox .tox-tbtn .tox-icon svg{
  display: block !important;
  margin: 0 !important;
}

/* если тулбар где-то выравнивают вправо — центрируем */
.tox .tox-toolbar__primary,
.tox .tox-toolbar__group{
  justify-content: center !important;
}

/* Брендирование кнопок */
.tox .tox-tbtn{
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease !important;
}
.tox .tox-tbtn:hover{
  background: rgba(255, 255, 255, 0.10) !important;
  transform: translateY(-1px) !important;
}
.tox .tox-tbtn[aria-pressed="true"],
.tox .tox-tbtn--enabled{
  background: linear-gradient(90deg,var(--brand-green),var(--brand-orange)) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25) !important;
}
.tox .tox-tbtn[aria-pressed="true"] .tox-icon svg,
.tox .tox-tbtn--enabled .tox-icon svg{
  fill: #111 !important;
}

.tox .tox-toolbar__group:not(:last-child){
  border-right: 1px solid rgba(255, 255, 255, 0.10) !important;
  padding-right: 10px !important;
  margin-right: 10px !important;
}
.tox .tox-toolbar-overlord{
  position: relative;
}
.tox .tox-toolbar-overlord:before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:2px;
  background: linear-gradient(90deg,var(--brand-green),var(--brand-orange));
  opacity:.8;
}

.prodicon {padding: 5px;}
.prodicon img{max-height: 50px;
max-width:auto;
margin: 10px;
}