/* 
Datalife Engine template,
name: HDRezka redesign, creation date: 28 september 2023, version dle: 16 and higher
*/

:root {
	--bg: #fff; --bg-2: #f2f2f2; --bg-dark: #363851;
	--tt: #161616; --tt-2: #757b85; --tt-3: #424464; --tt-accent: #2a99d9; --tt-dark: rgba(255,255,255,1);
	--bdc: #f2f2f2;
	--accent-green: #00a0b0; --accent-red: #eb5757; --accent-grass: #216d2b;
	--accent-gray: #696969; --accent-gold: #c9af1c;
	--bg-btn: #363851; --bg-btn-hover: #5a5d81;
	--ui-bg: #fff; --ui-bg-darker: #f7f7f7; --ui-bg-darkest: #f0f0f0;
	--ui-bg-accent: #11222c; --ui-text-color-on-accent: #fff; --ui-bdc: #ccc;
	--indent-negative: -40px; --indent: 40px; --max-width: 1240px;
}
@media screen and (max-width: 950px) {
	:root {
		--indent-negative: -20px;
		--indent: 20px;
	}
}
.page__player{position:relative;}

#simple-episodes-tabs::-webkit-scrollbar-button { background-image: url(""); background-repeat: no-repeat; width: 100%; height: 0px; }
#simple-episodes-tabs::-webkit-scrollbar-track { background-color: rgb(38, 38, 39);box-shadow: none !important;border: none !important;  }
#simple-episodes-tabs::-webkit-scrollbar-thumb { background: #de0e1d; }
#simple-episodes-tabs::-webkit-resizer { background-image: url(""); background-repeat: no-repeat; width: 4px; height: 0px; }
#simple-episodes-tabs::-webkit-scrollbar { width: 4px; }

#player {  min-height: 460px; }
.b-player { background: rgb(28, 28, 29); position: relative; }
.b-player iframe { overflow: hidden; width: 100% !important; }
.b-player iframe::-webkit-scrollbar { display: block; }
.b-post__lastepisodeout { position: relative; background: rgb(238, 68, 56); color: rgb(255, 255, 255); height: 25px; line-height: 22px; }
.b-post__lastepisodeout_full { position: relative; background: rgb(238, 68, 56); color: rgb(255, 255, 255); height: 25px; line-height: 22px; }
@media only screen and (max-width: 590px) {
  .b-post__lastepisodeout_full { position: relative; background: url("../dle_serials/dle_serials.png") rgb(18, 23, 27); color: rgb(204, 204, 204); height: 40px; }
}
.b-post__lastepisodeout_full a { color: rgb(220, 219, 219); text-decoration: none; }
.b-episodes__list { margin-left: -16px; padding: 32px 0px 15px; transition: opacity 0.5s ease 0s; }
.b-episodes__list li { float: left; margin: 0px 0px 17px 17px; }
.b-simple_seasons__list { margin: 0px auto; padding: 4px 10px 12px 13px; list-style: none; }
.b-simple_seasons__title { color: rgb(255, 255, 255); font-size: 15px; font-weight: bold; padding-top: 10px; padding-left: 11px; text-align: left; }
.b-simple_season__item { background: rgb(45, 45, 45); color: rgb(255, 255, 255); cursor: pointer; float: left; font-size: 13px; min-width: 11.8%; padding: 5px 7px; text-align: left; margin: 0px 2px 2px 0px !important; list-style: none !important; }
.b-simple_episodes__list { margin: 0px auto; padding: 10px 10px 12px 13px; text-align: left; }
.b-simple_episode__item { display: inline-block; font-size: 12px; background: rgb(43, 41, 48); color: rgb(240, 240, 240); border: 1px solid rgb(22, 22, 24); cursor: pointer; padding: 10px 15px; margin: 0px 3px; transition: background 0.3s ease 0s; text-align: left; }
#serial_player { min-height: 460px; }
#simple-episodes-tabs { white-space: nowrap; overflow: auto; margin: 0px 30px; display: block; position: relative; }
@media only screen and (max-width: 590px) {
  #simple-episodes-tabs { overflow-x: scroll; }
  #serial_player { min-height: 300px; }
  #player { min-height: 300px; }
}
.page__player-date{
    background: #141414;
    text-align: center;
    margin-left: 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    padding: 0 7px;
    position: relative;
    height: 22px;
    margin-right: 10px;
}
#player-hd1 {
	position: relative;
	box-sizing: border-box;
	margin-bottom: 90px;
}
.b-simp1 {
	margin-left: 5px;
	padding-top: 10px;
	display: block;
	width: 100%;
}
.b-simp1 a {
	display: inline-block;
	font-size: 12px;
	background: rgb(42 42 42);
	color: rgb(240, 240, 240);
	border: 1px solid rgb(22, 22, 24);
	cursor: pointer;
	padding: 8px 12px;
	margin: 0px 3px;
	transition: background 0.3s ease 0s;
	text-align: left;
	border-radius: 5px;
}
.b-simp1 a:hover {
	background: #eb5757;
}
#simple-episodes-list { padding-inline-start: 0px; text-align: left; }
.b-simple_episode__item { display: inline-block; font-size: 12px; background: rgb(42 42 42); color: rgb(240, 240, 240); border: 1px solid rgb(22, 22, 24); cursor: pointer;  transition: background 0.3s ease 0s; text-align: left; border-radius: 5px;padding: 8px 12px; }
.prenext { position: relative; }
.prevpl, .nextpl { position: absolute; top: 3px; font-size: xx-large; width: 25px; height: 20px; color: rgb(213, 217, 217); cursor: pointer; font-weight: bold; z-index: 999; }
.prevpl { left: 0px; }
.nextpl { right: 0px; }
.b-simple_season__item.active, .b-simple_episode__item.active {
	cursor: default;
	color: rgb(240, 240, 240);
	background: #eb5757;
}
.b-simp1 a.active {
	background: #eb5757;
}
.b-changeplayer__list li:hover, .b-simple_season__item:hover, .b-simple_episode__item:hover {
	color: rgb(240, 240, 240);
	background: #eb5757;
}
.seaser { padding: 2px; background: rgb(171, 85, 135); color: rgb(255, 255, 255); }
.sharepod { text-align: center; background-color: rgb(30, 29, 33); border: 1px solid rgba(0, 0, 0, 0.3); box-shadow: rgba(0, 0, 0, 0.05) 0px 1.1875rem 2.125rem -0.9375rem; padding: 10px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; }

.page__player-select {
    background-color: #2a2a2a;
    box-shadow: inset 0 0 10px 0 rgba(0,0,0,0.1);
}
.page__player-select span {
    margin-right: 5px;
}
.page__player-select--span div:not(.page__player-date) {
    cursor: pointer;
    line-height: 40px;
    padding: 0 20px;
    color: #fff;
    display: inline-block;
}

.page__player-select--span div.is-active {
    background: #de0e1d;
    color: #fff;
}
.d-none {
    display: none;
}

.video-responsive {
    padding-top: 60%;
    position: relative;
}

.video-responsive > iframe, .video-responsive > video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.serieb > a {
	height: 40px;
	font-size: 13px;
	border-radius: 2px;
	cursor: pointer;
	background-color: #111;
	color: #fff;
	position: relative;
	display: flex;
	align-items: center;
}
.serieb > a, .serieb .notepn, .serieb .watchlist_parent {
	width: 23%;
}
.ght {
	height: 40px;
	width: 40px;
	top: 0;
	background: rgba(0,0,0,0.1);
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
	font-size: 16px;
}
.serieb > a:hover {
	background-color: #202020;
	color: #fff;
}
.serieb {
	padding: 10px;
	margin-bottom: 20px;
	gap: 10px;
	display: flex;
	justify-content: space-between;
}
.serieb > a, .serieb .notepn {
	font-size: 13px;
	cursor: pointer;
	color: #fff;
}
.seasone-pages a:before {
	content: 'Сезон';
	position: absolute;
	top: 4px;
	left: 6px;
}

.seasone-pages a {
	display: inline-block;
	background: #151617;
	padding: 4px 4px;
	position: relative;
	min-width: 62px;
	text-align: right;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	cursor: pointer;
	border: 1px solid #f85b49;
	font-weight: 400;
	color: white;
}
/* RESET, BASIC UI SETTINGS
----------------------------------------------- */
* {background: transparent; 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, table, iframe, video, frame, embed, object {max-width: 100%;}
body {font: 14px 'Inter', sans-serif; line-height: normal; padding: 0; margin: 0;       
	color: var(--tt); background: #0c1016; 
	min-height: 100%; width: 100%; font-weight: 400; overflow-x: hidden; letter-spacing: 0.02em;}
a {color: var(--tt); text-decoration: none;}
a:hover, a:focus {color: var(--accent); text-decoration: none;}
h1, h2, h3, h4, h5 {font-weight: 700; font-size: 24px;}
::selection {background: #ff0000; color: #fff;}
b, strong, .bolder {font-weight: 700;}

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 20px; height: 40px; font-size: 14px; font-weight: 400; 
	white-space: nowrap; background-color: var(--bg-btn); color:#fff; border-radius: 4px; box-shadow: none;}
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: var(--bg-btn-hover); color: #fff; border-color: var(--bg-btn-hover);}
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: var(--bg); color: var(--tt); 
	box-shadow: inset 0 0 0 1px var(--bdc), inset 1px 2px 5px rgba(0,0,0,0.1);}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus 
	{box-shadow: inset 0 0 0 1px var(--tt-accent), inset 1px 2px 5px rgba(0,0,0,0.1);}
input::placeholder, textarea::placeholder {color: var(--tt); opacity: 0.4; font-size: 13px;} 
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: 60%;}
.img-responsive--portrait {padding-top: 150%;}
.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;}
.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: 60%; 
	background: linear-gradient(to top, #000 0%, transparent 100%); opacity: 0.8;}
.d-flex, .fx-row, #dle-content {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, #dle-content {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;}
.pi-center {display: grid !important; place-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, a, a img, .btn-accent, .header__btn-search {transition: all .3s;}

.grid-items, #dle-content {display: grid; gap: 20px; grid-template-columns: repeat(auto-fill,minmax(160px,1fr));}
.grid-items > *:not(.grid-item), #dle-content > *:not(.grid-item) {grid-column: 1 / -1;}

@font-face {font-family: 'inter'; src: url('../webfonts/inter-400.woff2') format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: 'inter'; src: url('../webfonts/inter-500.woff2') format('woff2');
	font-weight: 500; font-style: normal; font-display: swap;}
@font-face {font-family: 'inter'; src: url('../webfonts/inter-600.woff2') format('woff2');
	font-weight: 600; font-style: normal; font-display: swap;}
@font-face {font-family: 'inter'; src: url('../webfonts/inter-700.woff2') format('woff2');
	font-weight: 700; font-style: normal; font-display: swap;}
		
.dt-is-active {
	--bg: #263b4d; --bg-2: #1b2935; --bg-dark: #11212e;
	--tt: #fff; --tt-2: #b1b1b1; --tt-3: #fff; --tt-accent: #1ccada; --tt-dark: rgba(255,255,255,1);
	--bdc: #11212e;
	--bg-btn: #00a0b0; --bg-btn-hover: #028894;
	--ui-bg: #263b4d; --ui-bg-darker: #1b2935; --ui-bg-darkest: #11212e;
	--ui-bg-accent: #0b161f; --ui-text-color-on-accent: #fff; --ui-bdc: #11212e;
}
.dt-is-active .sect__ctrl-menu a, .dt-is-active .tabs-block__select button {--bg-dark: #00a0b0;}
.dt-is-active .pmovie__header .poster__fav a, .dt-is-active .card .poster__fav a {color: #fff;}
.dt-is-active .pmovie__list, .dt-is-active .pmovie__text, .dt-is-active .footer__text, 
.dt-is-active .footer__copyright, .dt-is-active .card__rating-ext, 
.dt-is-active .card__list li > span:first-child, .dt-is-active .descr {color: var(--tt-2);}
.dt-is-active .pmovie__list li > span:first-child, .dt-is-active .pmovie__list li > span.bolder {color: var(--tt);}
.dt-is-active .add-comments-form .form__input, .dt-is-active .add-comments-form__input, 
.dt-is-active .add-comments-form .form__textarea-inside textarea, 
.dt-is-active .mass_comments_action select {box-shadow: inset 0 0 0 1px #11212e; background-color: rgba(0,0,0,0.1);}
.dt-is-active .message-info {background-color: rgba(0,0,0,0.1); color: #ccc;}
