/* CSS Variables */
:root {
  --primary-color: #045f04;
  --primary-hover: #037a03;
  --white: #fff;
  --light-bg: #f8f9fa;
  --dark-bg: #1e1e1e;
  --footer-bg: #1a1a1a;
  --text-color: #444;
  --link-hover: #045f04;
  --border-color: rgba(0, 0, 0, 0.1);
  --box-shadow-light: rgba(0, 0, 0, 0.15);
  --shadow-thumb: rgba(0, 0, 0, 0.25);
  --accent-color: #094106;
  --btn-bg: #045f04;
  --btn-hover-bg: #094106;
  --btn-font-color: #fff;
  --input-border: #e3e3e3;
  --input-focus-border: #045f04;
  --footer-text: #ccc;
  --footer-link-hover: #45d845;
  --shadow-overlay: rgba(0, 0, 0, 0.8);
  --transition-speed: 0.3s;
}

/* 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: 14px 'Open Sans', sans-serif;
  line-height: 1.4;
  padding: 0;
  margin: 0;
  color: var(--text-color);
  background: var(--dark-bg) center top no-repeat;
  min-height: 100%;
  width: 100%;
  font-weight: 400;
}
a {
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}
a:hover,
a:focus {
  color: var(--link-hover);
  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: 'Open Sans', sans-serif !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: 3px;
  cursor: pointer;
  text-transform: uppercase;
  color: var(--btn-font-color);
  background-color: var(--btn-bg);
  font-size: 14px;
  font-weight: 600;
  transition: background-color var(--transition-speed) ease,
              color var(--transition-speed) ease,
              box-shadow var(--transition-speed) ease;
}
.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: var(--accent-color);
  color: var(--btn-font-color);
  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);
}

/* Поля ввода, textarea и select */
input[type="text"], input[type="password"] {
  height: 40px;
  line-height: 40px;
  border-radius: 4px;
  padding: 0 15px;
}
select {
  height: 40px;
  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: var(--white);
  color: #000;
  box-shadow: inset 0 0 0 1px var(--input-border),
              inset 1px 2px 5px rgba(0, 0, 0, 0.2);
}
select {
  width: auto;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  box-shadow: inset 0 0 0 1px var(--input-focus-border),
              inset 1px 2px 5px rgba(0, 0, 0, 0.1);
}
input::placeholder, textarea::placeholder {
  color: #000;
  opacity: 0.4;
  font-size: 13px;
}
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;
}

/* Flexbox Helpers */
.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 {
  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 var(--transition-speed), background-color var(--transition-speed), opacity var(--transition-speed);
}
.anim-all {
  transition: all 1s;
}
.mtitle, .sub-title h1, .form-wrap h1 {
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
}
.hmenu > li > a {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

/* BASIC GRID
----------------------------------------------- */
.wrap {
  min-width: 320px;
  position: relative;
  padding-top: 20px;
}
.wrap-center {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}
.wrap-main {
  background-color: #ededed;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}
.header {
  background-color: var(--white);
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.15);
  transition: top 0.2s linear;
  position: relative;
  z-index: 99;
  border-radius: 10px;
}
.header-in {
  padding: 0 20px;
}
.content {
  padding: 20px;
}
.header.sticky {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
}
.header.sticky-hide {
  top: -70px;
}
.header.sticky-vis {
  top: 0;
}
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 20px;
}

/* HEADER
----------------------------------------------- */
.logo {
  width: 180px;
  height: 70px;
  display: block;
}

.logo-text {
  display: flex;
  align-items: center;
  font-family: 'Righteous', sans-serif;
  font-weight: 400;
  color: #000;
  text-transform: uppercase;
  font-size: 24px;
  height: 40px;
  letter-spacing: 1px;
  text-decoration: none;
  position: relative;
  padding-left: 50px;
  transition: color var(--transition-speed) ease;
}

.logo-text::before {
  content: '';
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url('../images/logo.svg') center / contain no-repeat;
  filter: invert(100%) sepia(100%) saturate(1000%) hue-rotate(80deg);
  transition: transform var(--transition-speed) ease;
}

.logo-text:hover::before {
  transform: translateY(-50%) scale(1.05);
}

.logo-text span {
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}

.search-box {
  width: 100%;
  position: relative;
}

.search-box input,
.search-box input:focus {
  padding: 0 45px 0 10px;
  border-radius: 3px;
  height: 34px;
  line-height: 34px;
  transition: border-color var(--transition-speed) ease;
}

.search-box input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.search-box button {
  position: absolute;
  right: 0;
  top: -3px;
  z-index: 10;
  padding: 0 !important;
  background: transparent !important;
  color: var(--primary-color) !important;
  font-size: 16px !important;
  width: 40px;
  box-shadow: none !important;
  border: none;
  cursor: pointer;
}

.btn-login {
  height: 34px;
  line-height: 34px;
  margin-left: 10px;
  cursor: pointer;
  transition: background var(--transition-speed) ease;
}

.hmenu {
  padding: 0 20px 0 40px;
  display: flex;
  list-style: none;
}

.hmenu > li {
  margin-right: 20px;
  position: relative;
}

.hmenu > li > a {
  display: block;
  height: 70px;
  line-height: 70px;
  opacity: 0.6;
  font-size: 15px;
  transition: opacity var(--transition-speed) ease,
              box-shadow var(--transition-speed) ease,
              color var(--transition-speed) ease;
}

.hmenu > li:hover > a,
.hmenu > li > a.is-active {
  opacity: 1;
  box-shadow: inset 0 -3px var(--primary-color);
  color: var(--primary-color);
}

.hidden-menu {
  background-color: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 100;
  position: absolute;
  left: 0;
  top: 95%;
  width: 600px;
  padding: 10px;
  border-top: 3px solid var(--primary-color);
  pointer-events: none;
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-speed) ease;
}

.hm-col {
  width: 33.33%;
  float: left;
}

.hm-col li {
  height: 26px;
  line-height: 26px;
  font-weight: 600;
  padding: 0 10px;
}

.hm-col a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  opacity: 0.8;
  margin: 0 -10px;
  padding: 0 10px;
  font-size: 13px;
  display: block;
  transition: background-color var(--transition-speed) ease,
              color var(--transition-speed) ease;
}

.hm-col a:hover {
  background-color: var(--primary-color);
  color: var(--white);
  opacity: 1;
}

.hmenu > li:hover .hidden-menu {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.one-col {
  width: 180px;
}

.one-col .hm-col {
  width: 100%;
}

/* SECTION
----------------------------------------------- */
.sect {
  margin-bottom: 2.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px var(--border-color);
  padding: 1.5rem;
  transition: box-shadow var(--transition-speed) ease;
}

.sect:hover {
  box-shadow: 0 6px 12px -2px var(--border-color);
}

.sect-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sect-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: background var(--transition-speed) ease, color var(--transition-speed) ease;
}

.sect-title:hover {
  background: var(--primary-hover);
  color: var(--white);
}

.sect-items {
  margin: 0 -5px -10px -5px;
}

.sect-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sect-tabs span {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: var(--light-bg);
  cursor: pointer;
  border: 1px solid transparent;
  color: inherit;
  transition: background var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.sect-tabs span.is-active {
  background: var(--white);
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: 500;
}

.sect-tabs span:hover {
  background: var(--light-bg);
}

.sect-cont > .fa {
  font-size: 4rem;
  color: var(--light-bg);
  margin: 2rem auto;
  display: block;
  text-align: center;
}

/* THUMB
----------------------------------------------- */
.th-item {
  float: left;
  width: 16.66%;
  padding: 0 5px;
  margin-bottom: 10px;
}

.th-in {
  display: block;
  position: relative;
  box-shadow: 0 0 3px 0 var(--shadow-thumb);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition-speed) ease;
}

.th-in:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.th-img:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  height: 50%;
}

.th-desc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 10px;
  color: var(--white);
  text-align: center;
}

.th-title {
  font-weight: 600;
}

.th-year {
  font-size: 12px;
  margin-top: 3px;
  opacity: 0.8;
}

.th-rates {
  margin-top: 3px;
}

.th-rate:before {
  content: attr(data-text);
  display: inline;
  margin-right: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

.th-rate-kp:before {
  color: #f60;
}

.th-rate-imdb:before {
  color: #fc0;
}

.th-series {
  position: absolute;
  z-index: 5;
  left: 10px;
  top: 10px;
  padding: 3px 5px;
  border-radius: 3px;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
}

.th-mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  z-index: 11;
  transition: opacity var(--transition-speed) ease;
}

.with-mask:hover .th-mask {
  opacity: 1;
}

.th-mask .fa {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  padding-left: 5px;
  font-size: 24px;
  color: var(--white);
  background-color: var(--primary-color);
}

/* SEO DESCRIPTION
----------------------------------------------- */
/* Добавьте стили для SEO описания, если требуется */

/* FOOTER
----------------------------------------------- */
.footer {
  background: var(--footer-bg);
  padding: 40px 0;
  color: var(--white);
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer__logo.logo-text {
  color: var(--white);
}

.footer__info {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  max-width: 800px;
}

.footer__text {
  margin: 5px 0;
  opacity: 0.8;
}

.footer__email {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color var(--transition-speed) ease;
}

.footer__email:hover {
  color: var(--footer-link-hover);
}

.footer__email::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--footer-link-hover);
  transform: scaleX(0);
  transition: transform var(--transition-speed) ease;
}

.footer__email:hover::after {
  transform: scaleX(1);
}

/* BOTTOM NAVIGATION
----------------------------------------------- */
.bottom-nav {
  text-align: center;
  padding-top: 10px;
}

.pagi-load > span {
  display: none;
}

.pagi-load a {
  margin-bottom: 15px;
  padding: 0 80px;
}

.navigation a:hover {
  background-color: var(--nav-hover-bg);
  color: var(--nav-hover-color);
}

.pagi-nav {
  max-width: 100%;
  display: inline-block;
}

.pagi-nav > span {
  display: inline-block;
}

.pnext a, .pprev a, .pprev > span, .pnext > span {
  display: block;
  width: 36px;
  text-align: center;
}

.navigation {
  line-height: 36px;
}

.navigation a, .navigation span, .pnext a, .pprev a, .pprev > span, .pnext > span {
  display: inline-block;
  padding: 0 10px;
  margin: 5px 2px 0 2px;
  border-radius: 4px;
  min-width: 36px;
  box-shadow: inset 0 0 0 1px var(--input-border);
  background-color: var(--white);
  transition: background-color var(--transition-speed) ease,
              color var(--transition-speed) ease;
}

.navigation span, .pagi-nav a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.navigation span.nav_ext {
  background: var(--white);
  color: #ccc;
}

.pagi-nav a:hover {
  color: var(--white);
}

.dle-comments-navigation .pagi-nav {
  margin-bottom: 0;
}

/* FULL
----------------------------------------------- */
.speedbar {
  font-size: 12px;
  margin: -10px 0 10px;
  color: #888;
}

.fmain {
  background-color: var(--white);
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.15);
  margin: 0 -20px;
}

.fright {
  width: 280px;
  padding: 20px;
  padding-bottom: 1px;
  background-color: #e1e1e1;
}

.fleft {
  padding: 20px;
}

.fleft-img {
  width: 200px;
  margin-right: 20px;
}

.fposter {
  border-radius: 3px 3px 0 0;
}

.fleft-img-in {
  box-shadow: 0 0 0 1px #ccc, 2px 3px 3px 0 rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.fleft-desc h1 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.fedit {
  position: absolute;
  z-index: 10;
  right: 10px;
  top: 10px;
  font-size: 18px;
}

.slide-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: -25px 0 0 -25px;
  background-color: #e1e1e1;
  box-shadow: 0 0 0 5px var(--white), 0 0 12px 0 rgba(0, 0, 0, 0.8);
  position: absolute;
  left: 50%;
  top: 0;
}

.slide-circle > div {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  padding-top: 10px;
}

.slide-circle > div div {
  display: none;
}

.flikes {
  height: 45px;
  position: relative;
  z-index: 20;
  white-space: nowrap;
  padding: 0 6px;
}

.rate-plus, .rate-minus {
  line-height: 45px;
  cursor: pointer;
}

.flikes .fa {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 16px;
}

.rate-plus .fa {
  background-color: #33a42d;
  margin-right: 8px;
}

.rate-minus .fa {
  background-color: #dd4d1b;
  margin-left: 8px;
}

.rate-plus:hover .fa, .rate-minus:hover .fa {
  opacity: 0.8;
}

.fdesc {
  margin-bottom: 20px;
  color: #888;
  font-size: 13px;
}

.fdesc.slice-masked {
  margin-bottom: 0;
}

.slice {
  overflow: hidden;
  position: relative;
  transition: height 0.2s;
}

.slice-masked:before {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--white) 100%);
}

.slice-btn {
  margin: 1px 0 15px 0;
}

.slice-btn span {
  display: block;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 0 1px #ccc, 2px 3px 3px 0 rgba(0,0,0,0.1);
  text-align: center;
  padding: 8px 10px;
  font-weight: 600;
  border-radius: 3px;
}

.flist {
  width: 48%;
  line-height: 1.7;
  font-size: 13px;
}

.flist li > span:first-child {
  font-weight: 600;
  color: #000;
}

.flist a {
  color: #06c;
  border-bottom: 1px dotted #06c;
}

.flist-wide {
  width: 100%;
}

.frate {
  line-height: 30px;
  border-radius: 3px;
  text-align: center;
  width: 48%;
  margin-top: 7px;
  font-size: 14px;
  font-weight: 600;
}

.frate:before {
  content: attr(data-text);
  display: inline;
  margin-right: 3px;
  text-transform: uppercase;
}

.frate-kp {
  box-shadow: inset 0 0 0 2px #f60;
}

.frate-imdb {
  box-shadow: inset 0 0 0 2px #fc0;
}

.fsubtitle {
  text-align: center;
  margin: 20px -20px -10px -20px;
  padding: 0 20px;
  padding-top: 10px;
  border-top: 1px solid #e3e3e3;
  font-weight: 600;
  font-size: 16px;
  width: calc(100% + 40px);
}

.fplayer {
  position: relative;
}

.fctrl {
  background-color: var(--dark-bg);
  color: #ccc;
  padding-right: 20px;
}

.fplayer .tabs-sel {
  white-space: nowrap;
  overflow-y: hidden;
  overflow-x: auto;
  font-size: 0;
}

.fplayer .tabs-sel span {
  display: inline-block;
  padding: 0 20px;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  background-color: #000;
  color: var(--white);
  transition: background-color var(--transition-speed) ease;
}

.fplayer .tabs-sel span.current {
  background-color: var(--primary-color);
  color: var(--white);
}

.fplayer .tabs-sel span:hover {
  text-decoration: underline;
}

.js .tabs-b {
  background-color: #000;
  display: none;
}

.js .tabs-b.visible {
  display: block;
}

.fcompl a, .ffav a {
  color: #ccc;
}

.fcompl a:hover, .ffav a:hover, .ffav span:hover {
  color: var(--white);
  cursor: pointer;
}

.fcompl, .ffav {
  margin-left: 20px;
}

.flight {
  height: 30px;
  line-height: 30px;
  position: relative;
  padding-left: 50px;
  cursor: pointer;
  display: inline-block;
}

.flight:before, .flight:after {
  content: '';
  position: absolute;
  top: 50%;
  transition: 0.3s;
}

.flight:before {
  height: 20px;
  margin-top: -10px;
  width: 40px;
  border-radius: 4px;
  background: #444;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
  left: 0;
}

.flight:after {
  left: 1px;
  height: 18px;
  width: 18px;
  margin-top: -9px;
  background: #ffda13;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.light-overlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
  background-color: var(--shadow-overlay);
  display: none;
}

.light-off .flight:after {
  left: 21px;
  background-color: var(--primary-color);
}

.light-off .light-overlay {
  display: block;
}

.light-off .fplayer {
  z-index: 99999;
}

.light-off #gotop {
  z-index: 10;
}

.fshare {
  padding: 10px;
  text-align: center;
  white-space: nowrap;
}

.fshare .fa {
  width: 50px;
  height: 30px;
  border-radius: 3px;
  text-align: center;
  line-height: 30px;
  background-color: #c70003;
  color: var(--white);
  font-size: 14px;
  margin: 0 2px;
  cursor: pointer;
  transition: opacity var(--transition-speed) ease;
}

.fshare .fa:hover {
  opacity: 0.8;
}

.fa.fa-vk {
  background-color: #5075a5;
}

.fa.fa-facebook {
  background-color: #4b6baf;
}

.fa.fa-twitter {
  background-color: #2daae1;
}

.fa.fa-odnoklassniki, .fa.fa-rss {
  background-color: #fc6d00;
}

.fa.fa-paper-plane {
  background-color: #5682a3;
}

.frels {
  margin: 0 -20px;
  margin-top: -20px;
  padding: 20px;
  background-color: #111;
  color: var(--white);
  position: relative;
  bottom: -20px;
}

.frels-title {
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 10px;
}

.fcomms {
  padding-top: 20px;
}

.full-comms, .add-comms {
  width: 48%;
}

.no-comms {
  -ms-flex-order: -1;
  -webkit-order: -1;
  order: -1;
}

.comm-letter {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: #000;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 50%;
}

/* COMMENTS SUBMISSION */
.add-comms > form {
  position: sticky;
  right: 0;
  top: 90px;
  margin-bottom: 20px;
}

/* 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: 500px;
}

.mejs-container {
  max-width: 100% !important;
}

.full-text {
  line-height: 1.5;
  font-size: 14px;
}

.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: #06c;
}

.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: #d20068;
}

.full-taglist {
  margin-top: 20px;
}

.full-taglist span:not(.fa):not(:last-child):after {
  content: ",";
  display: inline;
}

/* COMMENTS
----------------------------------------------- */
.add-comms {
  /* Дополнительные стили, если требуются */
}

.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 {
  display: none;
}

.last-comm-link {
  display: inline-block;
  padding-bottom: 20px;
  color: #000;
  font-size: 18px;
  font-weight: 600;
}

.comm-item {
  margin-bottom: 20px;
  font-size: 13px;
  padding-left: 40px;
  position: relative;
  min-height: 40px;
}

.comm-two {
  margin: 2px 0 3px 0;
}

.comm-one > span {
  margin-right: 15px;
  opacity: 0.6;
}

.comm-one > span.comm-author, .comm-one > span.comm-author a {
  font-weight: 600;
  color: var(--primary-color);
  opacity: 1;
}

.comm-three-left > a, .comm-three-right li a {
  opacity: 0.6;
}

.comm-three-right li {
  display: inline-block;
  margin-left: 15px;
}

.comm-rate3 {
  white-space: nowrap;
  font-size: 16px;
  margin-right: 15px;
  height: 20px;
  line-height: 20px;
  display: inline-block;
  vertical-align: top;
  position: relative;
  top: -3px;
}

.comm-rate3 a {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px;
  opacity: 0.6;
}

.comm-rate3 a:last-child {
  margin-bottom: -6px;
}

.comm-rate3 > span {
  margin: 0 5px;
  font-size: 14px;
  font-weight: 600;
}

.comm-rate3 > span > span.ratingtypeplus {
  color: #06b601;
}

.comm-rate3 > span > span.ratingplus {
  color: #95c613;
}

.comm-rate3 > span > span.ratingminus {
  color: #ff0e0e;
}

.comm-three a:hover {
  text-decoration: underline;
}

.comm-three-left > a {
  opacity: 1;
  color: #06c;
  border-bottom: 1px dotted #06c;
}

/* LOGIN
----------------------------------------------- */
.login-overlay, .mmenu-overlay {
  position: fixed;
  z-index: 998;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  display: none;
  background-color: #000;
}

.login-box {
  position: fixed;
  z-index: 999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  padding: 30px 60px 40px 60px;
  border-top: 5px solid var(--primary-color);
  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: var(--white);
}

.login-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

.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: #f2f6f8;
  color: #939393;
}

.login-input {
  margin-bottom: 15px;
}

.login-btn button {
  width: 100%;
  margin: 15px 0;
}

.login-btm a {
  border-bottom: 1px dotted #06c;
  color: #06c;
  font-size: 14px;
}

.login-check {
  position: relative;
}

.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: 0.3s;
}

.login-check span:before {
  left: 0;
  height: 10px;
  margin-top: -5px;
  width: 26px;
  border-radius: 5px;
  background: var(--white);
  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: var(--white);
}

.login-check input:checked + span:after {
  left: 13px;
  background-color: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.login-menu {
  border-top: 1px solid #e3e3e3;
  border-left: 1px solid #e3e3e3;
}

.login-menu li {
  text-align: center;
  border-right: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3ee;
  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: #e3e3e3;
  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%;
}

/* ADAPTIVE
----------------------------------------------- */
.btn-menu, .fright .filter-btn {
  display: none;
}

.side-panel {
  width: 280px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--white);
  padding: 10px;
  z-index: 99999;
  position: fixed;
  left: -320px;
  top: 0;
  transition: left 0.4s ease;
}

.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: #083b15;
  color: var(--white);
  transition: top 0.4s ease;
}

.btn-close.active {
  top: 0;
}

body.opened-menu {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.side-panel .hmenu {
  margin: 0;
  padding: 0;
}

.side-panel .hmenu > li {
  width: 100%;
  margin: 0;
  padding: 0;
}

.side-panel .hmenu > li > a {
  height: 40px;
  line-height: 40px;
  margin: 0;
  padding: 0;
  box-shadow: none !important;
  color: var(--text-color);
}

.side-panel .search-wrap, .side-panel .btn-login {
  width: 100%;
  margin: 0 0 10px 0;
  padding: 0;
}

.side-panel .hidden-menu {
  width: 100%;
  display: block;
  position: static;
  background-color: #ededed;
  width: calc(100% + 20px);
  margin-left: -10px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  box-shadow: none;
  border-bottom: 3px solid var(--primary-color);
}

.side-panel .hm-col {
  width: 50%;
}

.side-panel .one-col .hm-col {
  width: 100%;
}

@media screen and (max-width: 1220px) {
  .wrap-center {
    max-width: 1000px;
  }
  .header .hmenu, .header .search-wrap, .header .btn-login {
    display: none;
  }
  .btn-menu {
    display: block;
    font-size: 34px;
    cursor: pointer;
  }
  #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;
  }
  .sect-header.fx-start {
    display: block;
    white-space: nowrap;
    overflow-y: hidden;
    overflow-x: auto;
  }
  .sect-header.fx-start > * {
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
  }
  .sect-tabs span, .sect-title {
    padding: 0 10px;
  }
  .fright {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .fright .frels-title {
    display: none;
  }
  .fright .filter-btn {
    width: 100%;
    display: block;
  }
  .fright .filter-wrap {
    padding: 20px 15px !important;
  }
  .video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {
    height: 400px;
  }
}

@media screen and (max-width: 950px) {
  .wrap-center {
    max-width: 768px;
  }
  .th-item {
    width: 25%;
  }
  .content, .header-in, .footer, .desc-text {
    padding-left: 10px;
    padding-right: 10px;
  }
  .desc-text {
    margin-left: -10px;
    margin-right: -10px;
  }
  .footer {
    text-align: center;
    display: block;
  }
  .ft-desc {
    padding-top: 0;
    padding-bottom: 20px;
    background-image: none;
    width: 100%;
  }
  .fmain, .fsubtitle, .frels {
    margin-left: -10px;
    margin-right: -10px;
  }
  .fleft, .fright, .fsubtitle, .frels {
    padding-left: 10px;
    padding-right: 10px;
  }
  .fsubtitle {
    width: calc(100% + 20px);
  }
  .full-comms, .add-comms {
    width: 100%;
  }
  .add-comms {
    -ms-flex-order: -1;
    -webkit-order: -1;
    order: -1;
  }
}

@media screen and (max-width: 760px) {
  .logo-text {
    font-size: 30px;
  }
  .logo-text::before {
    width: 40px;
    height: 40px;
  }
  .wrap-center {
    max-width: 640px;
  }
  .th-item {
    width: 33.33%;
  }
  .fleft-img {
    margin: 0 auto 20px;
  }
  .fleft-desc {
    min-width: 100%;
  }
  .flist {
    width: 100%;
    margin-bottom: 5px;
  }
  .flight, .fcompl, .ffav {
    display: none;
  }
  .dcont button {
    font-size: 12px;
    padding: 0 15px !important;
  }
  .comments-tree-list .comments-tree-list {
    padding-left: 0 !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;
  }
  .th-item {
    width: 50%;
  }
  .wrap {
    padding-top: 0;
    overflow: hidden;
  }
  body {
    background-image: none;
  }
  .video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {
    height: 250px;
  }
}

/* Стили для контейнера карусели */
.lf-carousel, .owl-carousel {
  width: 100%;
  padding: 0;
  margin: 0 0 5px;
}

.owl-carousel {
  display: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 10;
}

.owl-carousel.owl-loaded {
  display: block;
}

.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
}

.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
}

.owl-carousel .owl-item > img {
  display: block;
  width: 100%;
}

.owl-carousel .owl-dot,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-prev {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.owl-carousel.owl-loading,
.owl-carousel.owl-hidden {
  opacity: 0;
  display: block;
}

.owl-carousel.owl-drag .owl-item {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.owl-carousel.owl-grab {
  cursor: move;
  cursor: grab;
}

.owl-carousel.owl-rtl {
  direction: rtl;
}

.owl-carousel.owl-rtl .owl-item {
  float: right;
}

.owl-carousel .animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {
  z-index: 0;
}

.owl-carousel .owl-animated-out {
  z-index: 1;
}

.owl-carousel .fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

@-webkit-keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.owl-height {
  transition: height 0.5s ease-in-out;
}

.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 0.4s;
}

.owl-carousel .owl-item img.owl-lazy {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.owl-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 500;
}

.owl-next, .owl-prev {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  z-index: 200;
  margin-top: -15px;
  text-align: center;
  color: var(--primary-color);
  font-size: 20px;
  background: var(--white);
  border-radius: 4px;
}

.owl-prev {
  left: -20px;
}

.owl-next {
  right: -20px;
}

.owl-next:hover, .owl-prev:hover {
  background: #e3e3e3;
  color: #000;
}

.owl-dots {
  text-align: center;
  padding-top: 15px;
}

.owl-dot {
  display: inline-block;
  vertical-align: top;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background: #e3e3e3;
}

.owl-dot.active {
  background: #ffdb4c;
}

.lf-carousel .th-item {
  width: 100%;
  padding: 0;
  margin: 0;
}

.age-fix, .status-fix {
  padding: 5px;
  color: var(--white);
}

.fx-center {
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}
