/* 
Datalife Engine template,
name: Serial, creation date: 22 october 2022, version dle: 15 and higher
*/

:root {
    --accent: #e0e1eb; 
    --accent-light: #f0f1f5; 
    --accent-dark: #c0c1c7; 
    --ui-bg: #222;
    --ui-bg-darker: #111;
    --ui-bg-darkest: #000;
    --ui-bg-accent: #111;
    --ui-text-color-on-accent: #fff;
    --ui-bdc: #111;
}
/* RESET, BASIC UI SETTINGS
----------------------------------------------- */
* {
  background: #2a008700;
  margin: 0;
  padding: 0;
  outline: none;
  border: 0;
  box-sizing: border-box;
}
ol, ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  max-width: 100%;
    display: block; /* Превращаем изображение в блочный элемент */
    margin: 0 auto; /* Центрируем изображение */
}
table {
  max-width: 100%;
}
iframe,
video,
frame,
embed,
object {
  max-width: 100%;
}
body {
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  line-height: normal;
  padding: 0;
  margin: 0;
  color: #f0ebe5;
  background-color: #000;
  min-height: 100%;
  width: 100%;
  font-weight: 400;
  overflow-x: hidden;
  height: 100vh;
}
a {
  color: #fff;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #fff;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  font-size: 24px;
  text-align: left; /*  Оставлено выравнивание по левому краю для остальных заголовков */
}
::selection {
  background: #9a394d;
  color: #fff;
}
b,
strong,
.bolder {
  font-weight: 900;
    text-align: center; /* Добавляем свойство для центрирования текста */
}

button,
select,
textarea,
input[type="text"],
input[type="password"],
input[type="button"],
input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  font-size: 16px;
  font-family: inherit;
}
button,
.btn,
input[type="button"],
input[type="reset"],
input[type="submit"],
.form__btn,
.qq-upload-button,
.pm__links a,
.usp__btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  padding: 0 15px;
  height: 40px;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  background-color: #c1873100;
  color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  gap: 10px;
}
button:hover,
.btn:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.form__btn:hover,
.qq-upload-button:hover,
.pm__links a:hover,
.usp__btn a:hover {
  background-color: #4b45468f;
  color: #fff;
  border-color: #923637;
}
button:active,
input[type="button"]:active,
input[type="submit"]:active {
  box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}
.color-btn,
[class*=fr],
[class*=plyr],
[class*=owl-],
[id*=mceu] {
  padding: 0;
  margin: 0;
  line-height: normal;
  border: 0;
  box-shadow: none;
  background: none;
  border-radius: 0;
}

input[type="text"],
input[type="password"] {
  height: 40px;
  line-height: 40px;
  border-radius: 4px;
  padding: 0 15px;
}
select {
  height: 40px;
  padding: 0 15px;
  display: block;
}
select:not([multiple]) {
  background-image: url(../dleimages/chevron.svg);
  padding-right: 30px;
  background-repeat: no-repeat;
  background-position: right 15px top 50%;
  background-size: .6em auto;
}
select option {
  padding: 6px 10px;
}
select[multiple] {
  padding: 0 5px;
}
textarea {
  padding: 15px;
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}
input[type="text"],
input[type="password"],
select,
textarea {
  width: 100%;
  background-color: rgba(0, 0, 0, .5);
  color: #fff;
  box-shadow: inset 0 0 0 1px #000;
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
  box-shadow: inset 0 0 0 1px #923637;
}
input::placeholder,
textarea::placeholder {
  color: #fff;
  opacity: 0.5;
  font-size: 14px;
}
input:focus::placeholder,
textarea:focus::placeholder {
  color: transparent;
}

/* SNIPPETS
----------------------------------------------- */
.img-box, .img-wide, .img-responsive, .img-fit-cover {overflow: hidden; position: relative;}
.img-responsive {padding-top: 56%;}
.img-responsive--portrait {padding-top: 140%;}
.img-box > img, .img-responsive > img {width: 100%; min-height: 100%; display: block;}
.img-responsive > img {position: absolute; left: 0; top: 0;}
.img-wide img, .img-wide > a {width: 100%; display: block;}
.img-fit-cover img {width: 100%; height: 100%; object-fit: cover;}
.clr {clear: both;}
.clearfix::after {content: ""; display: table; clear: both;}
.ws-nowrap {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;}
.line-clamp {display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.vw100 {margin:0 calc((100% - 100vw)/2); padding:0 calc((100vw - 100%)/2);}
.img-mask::before {content: ''; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 80%; 
	background: linear-gradient(to top, #000 0%, transparent 100%); opacity: 0.8;}
.expand-link::before {content: ''; position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; top: 0;}
.expand-link {display: block;}
.d-flex, .fx-row {display: flex; flex-wrap: wrap; flex-direction: row;}
.fd-column, .fx-col {flex-direction: column; flex-wrap: nowrap;} 
.jc-space-between, .fx-row {justify-content: space-between;}
.jc-flex-start, .fx-start {justify-content: flex-start;}
.jc-center, .fx-center {justify-content: center;}
.jc-flex-end {justify-content: flex-end;}
.ai-flex-start {align-items: flex-start;}
.ai-center, .fx-middle {align-items: center;}
.ai-flex-end {align-items: flex-end;}
.order-first {order: -1;}
.order-last {order: 10;}
.flex-grow-1, .fx-1, .stretch-free-width {flex: 1 1 0; max-width: 100%; min-width: 50px;}
.btn-icon, .centered-content {display: inline-flex; justify-content: center; align-items: center;}
.icon-at-left [class*="fa-"], .icon-left .icon {margin-right: 0.5em;}
.icon-at-right [class*="fa-"], .icon-right .icon {margin-left: 0.5em;}
.hidden, #dofullsearch, .form__header .form__btn, .comment-item__main .quote + br, .d-none {display: none;}
.anim, button, .btn, .serie-item__img img, .other-item__img img, .snews-item__img img {transition: all .3s;}


/* COLORS FOR THE DARK THEME
----------------------------------------------- */
.bg-basic {background-color: #000;}
.bg-darker {background-color: #292929;}
.bg-grey, .comment-item__reply a {background-color: #b21d098f; color: #fff;}
.bg-accent, .sect__caption a, .pagination__pages span:not(.nav_ext), .pagination__pages a:hover {background-color: #f2ece7; color: #28282d;}
.tt-basic {color: #e7a69d;;}
.tt-fade, .header__menu > li > a, .header__menu-hidden > li a, .speedbar a {color: rgb(236 233 226);}
.tt-fade-2 {color: rgb(242 205 196);}
.tt-accent, .descr a {color: #f9a5a5;}
.brd, .pagination__pages a, .pagination__pages span {border: 1px solid rgba(255,255,255,.08);}
.brd-accent, .cols__side-menu a, .pagination__pages span:not(.nav_ext), .pagination__pages a:hover {border: 1px solid #c3957e;}


/* HOVER EFFECTS
----------------------------------------------- */
@media screen and (min-width: 1220px) {
	.header__menu > li:hover > a, .header__menu-hidden li a:hover {color: var(--accent) !important;}
	.header__menu li:hover .header__menu-hidden {display: flex;}
	.cols__side-menu a:hover {color: #daf2f3; background-color: #3f3f3f;}
	.serie-item:hover .serie-item__img img, .other-item:hover .other-item__img img, 
	.snews-item:hover .snews-item__img img {transform: scale(1.1,1.1);}
	.season-item:hover .season-item__overlay, .serie-item-2:hover .serie-item-2__overlay {opacity: 1;}
	.sect__link:hover, .sect__caption a:hover, .news-item__title:hover, .comment-item__reply a:hover {text-decoration: underline;}
	
	.lt-is-active .cols__side-menu a:hover {color: var(--accent); background-color: #cacaca;}
}

/* COLORS FOR THE LIGHT THEME
----------------------------------------------- */
.lt-is-active a {color: #222;}
.lt-is-active .bg-basic {background-color: #000;}
.lt-is-active .bg-darker, .lt-is-active .speedbar {background-color: #e4e4e4;}
.lt-is-active .bg-grey {background-color: #56776c; color: #fff;}
.lt-is-active .bg-accent, .lt-is-active .sect__caption a {background-color: #923637; color: #fff;}
.lt-is-active .tt-basic, body.lt-is-active {color: #222;}
.lt-is-active .tt-fade, .lt-is-active .speedbar a {color: #4b4b4b;}
.lt-is-active .tt-fade-2 {color: #707070; text-align: center;}
.lt-is-active .header__menu > li > a, .lt-is-active .header__menu-hidden > li a {color: #ccc;}
.lt-is-active .tt-accent, .lt-is-active .descr a {color: #923637;}
.lt-is-active .wrapper-main {background-color: #efefef; border-bottom: 0;}

.lt-is-active .serie-item__link, .lt-is-active .season-item__link, .lt-is-active .comment-item__reply a {color: #fff;}
.lt-is-active .cols__main, .lt-is-active .sect, .lt-is-active .news-item, 
.lt-is-active .pagination__pages a, .lt-is-active .pagination__pages span, 
.lt-is-active .pnews__date, .lt-is-active .comment-item, .lt-is-active .pseason__rating {border-color: #ccc;}
.lt-is-active .owl-nav button {color: #444;}
.lt-is-active input[type="text"], .lt-is-active input[type="password"], .lt-is-active select, 
.lt-is-active textarea {width: 100%; background-color: #fff; color: #000; 
	box-shadow: inset 0 0 0 1px #ccc;}
.lt-is-active input::placeholder, .lt-is-active textarea::placeholder {color: #000; opacity: 0.5;} 
.lt-is-active .pseason__rating-count {background-color: #27ae60;}
.lt-is-active .unit-rating li {background-image: url(../dleimages/rating2.svg);}

.lt-is-active {
	--accent: #923637;
	--ui-bg: #efefef;
	--ui-bg-darker: #dfdfdf;
	--ui-bg-darkest: #d6d6d6;
	--ui-bg-accent: #111;
	--ui-text-color-on-accent: #fff;
	--ui-bdc: #ccc;
}
#dle-content {display: inherit; gap: inherit; grid-template-columns: inherit;  grid-column: 1 / -1;}
.lt-is-active button:hover,  .lt-is-active .btn:hover {background-color: #792c2e !important; color: #fff;}