/* BASIC LAYOUT
----------------------------------------------- */
.wrapper {min-width: 320px; position: relative; overflow: hidden;}
.wrapper-container {max-width: var(--maximum-width); margin: 0 auto; position: relative; z-index: 20;}
.header {background-color: var(--bg-color); color: var(--third-text-color); 
	margin: 0 -1000px; padding: 15px 1000px; box-shadow: 0 0 15px rgba(0,0,0,0.2); 
	transition: top .2s linear; position: relative; z-index: 100;}
.header.sticky {position: fixed; left: 0; top: 0; width: 100%; margin: 0; padding: 15px 0;}
.header.sticky-hide {top: -100px;}
.header.sticky-vis {top: 0;}
.content {min-height: 100vh; padding: 60px 0; background-color:#fff; padding:10px;}
.footer {padding: 20px 1000px; margin: 0 -1000px; 
	background-color: var(--bg-color-second); color: var(--secondary-text-color);}

#scrolltop {position: fixed; width: 60px; height: 60px; line-height: 60px; right: 10px; bottom: 10px;
	z-index: 990; display: none; background-color: #222; color: #ccc; cursor: pointer; font-size: 2.4rem; 
	border-radius: 50%; text-align: center; box-shadow: 0 5px 10px rgba(0,0,0,0.1);}


/* HEADER, HERO
----------------------------------------------- */
.logo {display: inline-block; text-transform: uppercase; font-size: 2.6rem; font-weight: 700; 
    color: #fff !important; margin-right: 20px; line-height: 40px; padding-left: 55px; }
.logo span {color: var(--primary-color);}

.header__menu > li {margin-left: 20px; position: relative;}
.header__menu > li > a {display: block; height: 40px; line-height: 40px; 
	color: var(--third-text-color); text-transform: uppercase; font-weight: 500; font-size: 1.4rem;}
.header__menu > li:hover > a, .header__menu > li > a.is-active {color: var(--primary-color);}
.header__menu-hidden {background-color: var(--bg-color-second);; width: 350px; padding: 10px;
	box-shadow: 0 10px 20px rgba(0,0,0,0.3), inset 0 0 80px rgba(0,0,0,0.1); 
	position: absolute; left: 0; top: 95%; z-index: 100; color: var(--primary-text-color);
	pointer-events: none; opacity: 0; transform: translateY(30px);}
.hm-col {width: 100%; float: left;}
.hm-col li {height: 26px; line-height: 26px; padding: 0 10px;}
.hm-caption {font-weight: 500;}
.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: 1.4rem; display: block;}
.hm-col a:hover {background-color: var(--primary-color); color: var(--third-text-color); opacity: 1;}
.header__menu > li:hover .header__menu-hidden {pointer-events: auto; opacity: 1; transform: translateY(0px);}
.one-col {width: 180px;}
.one-col .hm-col {width: 100%;}

.header__search {position:relative; margin: 0 15px 0 40px;}
.header__search input, .header__search input:focus {padding: 0 50px 0 20px; border-radius: 20px; 
	background-color: rgba(255,255,255,1); color: #333; box-shadow: 0 20px 50px rgba(0,0,0,0.1);}
.header__search input:not(:focus)::placeholder {color: var(--fourth-text-color); opacity: 1; font-size: 1.4rem;} 
.header__search button {position:absolute; right:0px; top:0px; z-index:10; width: 50px; cursor: pointer; 
	background: none; color: var(--fourth-text-color); line-height: 40px; text-align: center; font-size: 1.6rem;}

.header__hero-title {font-size: 3rem; font-weight: 700; line-height: 1.4;}
.header__hero-title span {color: var(--primary-color);}
.header__hero-text {opacity: 0.9; line-height: 1.7; margin: 15px 0 30px 0; max-width: 560px;}
.header__hero-btn {align-self: start; text-transform: uppercase; background-color: #fff; overflow: hidden;
	font-size: 1.4rem; font-weight: 400; line-height: 40px; padding-left: 20px; border-radius: 3px; display: inline-block;}
.header__hero-btn span:last-child {display: inline-block; padding: 0 20px; margin-left: 20px; 
	background-color: var(--primary-color); color: #fff;}


/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__menu a {display: block; margin: 0 20px 0 0; color: var(--third-text-color);
	text-transform: uppercase; font-weight: 500; font-size: 1.2rem;}
.footer__copyright {margin-top: 8px; font-size: 0.9em;}
.footer__copyright span {color: var(--primary-color); border-bottom: 1px dotted var(--primary-color); font-weight: 400;}
.footer__logo {font-size: 2.2rem; background-size: 30px; padding-left: 40px; margin-right: 60px;}

.pagination {text-align: center; font-weight: 400; padding-top: 10px;}
.pagination a, .pagination span {display: inline-block; margin: 10px 5px 0 5px; line-height: 60px; padding: 0 10px;}
.pagination span:not(.nav_ext) { background-color: var(--primary-color); color: #fff; border-radius: 30px;
	min-width: 60px; margin: 10px 10px 0 10px; font-size: 2.4rem; font-weight: 500;}


/* SECTION
----------------------------------------------- */
.section {margin-bottom: 60px;}
.section__header {margin-bottom: 20px;}
.section__title {font-size: 1.2rem; font-weight: 500; text-align:justify; padding:10px;}
.section__link-more {color: var(--primary-color); border-bottom: 1px dotted var(--primary-color); 
	font-size: 1.4rem; font-weight: 400;}
.section__items {margin: 0 -10px -20px -10px;}
.section__items-10 {margin: 0 -5px -10px -5px;}
.section__tab {cursor: pointer; height: 30px; line-height: 30px; border-radius: 15px; padding: 0 15px; 
	font-size: 1.2rem; font-weight: 500; text-transform: uppercase; 
	margin-right: 15px; background-color: rgba(0,0,0,0.6); color: var(--secondary-text-color);}
.section__tab.is-active, .section__tab:hover {background-color: var(--secondary-color); color: var(--third-text-color);}
.section__content > .far {font-size:100px; color: var(--secondary-text-color); display:block; 
	text-align:center; margin: 0 auto 20px auto; width: 100px;}
.side-block__title span, .section__title span, .inner-page__caption span, 
	.text h1 span, .text h2 span, .text h3 span {color: var(--primary-color);}


/* MOVIE ITEM
----------------------------------------------- */
.movie-item {width: 50%; padding: 0 10px; margin-bottom: 20px;}
.movie-item__link {display: block;}
.movie-item__img {box-shadow: 0 3px 3px 0 rgba(0,0,0,0.25); margin-bottom: 15px;}
.movie-item__label {position: absolute; z-index: 5; left: 0px; top: 15px; text-transform: uppercase;
	background-color: var(--primary-color); color: var(--third-text-color); padding: 4px 15px; font-size: 1.2rem; font-weight: 500;}
.movie-item__title {text-align:center; font-size: 2rem; font-weight: 500; line-height: 1.2; color: var(--primary-text-color);}
.movie-item__meta {margin-top: 5px; font-size: 1.3rem; color: var(--secondary-text-color);}
.hover__overlay, .hover__overlay::before {position: absolute; left: 0; top: 0; 
	width: 100%; height: 100%; z-index: 10; opacity: 0;}
.hover__overlay span {font-size: 3.4rem; color: #fff; position: relative; z-index: 11;}
.hover__overlay::before {content: ''; opacity: 0.8; background-color: var(--secondary-color);}
.hover:hover .hover__overlay {opacity: 1;}


/* INNER PAGE
----------------------------------------------- */
.inner-page__column-left {width: 200px; margin-right: 20px;}
.inner-page__sidebar {width: 240px; margin-left: 60px;}
.inner-page__main {background-color: var(--bg-color-second); box-shadow: 0 20px 50px rgba(0,0,0,0.6); padding: 20px;}

.inner-page__img {height: 300px; box-shadow: 0 20px 50px rgba(0,0,0,0.6);}
.inner-page__title {font-weight: 500; font-size: 2.4rem;}
.inner-page__title a {font-size: 1.6rem; color: var(--primary-color); margin-left: 2px;}
.inner-page__header {margin-bottom: 20px; position: relative;}
.inner-page__subtitle {margin-top: -16px; color: var(--primary-color); font-size: 1.8rem; font-weight: 500;}
.inner-page__list {font-size: 1.4rem; line-height: 1.6;}
.inner-page__list li {padding-left: 120px; position: relative;}
.inner-page__list li > span:first-child {font-weight: 400; color: var(--secondary-text-color);
	position: absolute; left: 0; top: 0;}
.inner-page__list li a {color: var(--primary-color); border-bottom: 1px dotted var(--primary-color);}
.inner-page__rating {font-size: 1.3rem; white-space: nowrap;}
.inner-page__rating a {display: block; height: 30px; line-height: 30px; border-radius: 15px; padding-right: 15px; 
	background-color: rgba(242, 211, 211, 0.6); margin-right: 15px; font-weight: 400;}
.inner-page__rating a div {background-color: #6ab04c; color: #fff; margin-right: 10px; 
	width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 15px; 
	display: inline-block; vertical-align: top; padding-top: 3px;}
.inner-page__rating a + a div {background-color: #eb4d4b;}
.inner-page__rating a img {display: inline-block; width: 20px; height: 20px;}
.inner-page__rating a + a img {transform: scale(-1,-1); position: relative; top: 4px;}
.inner-page__rating a:hover {opacity: 0.9;}

.inner-page__player-controls {padding: 15px 0; border-bottom: 2px solid #000; margin-bottom: 20px;}
.inner-page__complaint a {color: var(--secondary-color); font-size: 1.4rem; font-weight: 400;}
.tabs-block__select span {cursor: pointer; display: inline-block;}
.tabs-block__select--player span {height: 30px; line-height: 30px; border-radius: 15px; padding: 0 15px; 
	font-size: 1.2rem; font-weight: 500; text-transform: uppercase; 
	margin-right: 15px; background-color: rgba(0,0,0,0.6); color: var(--secondary-text-color);}
.tabs-block__select--player span.is-active, .tabs-block__select--player span:hover {background-color: var(--secondary-color); color: var(--third-text-color);}
.video-inside {box-shadow: 0 20px 50px rgba(0,0,0,0.1);}

.soon-item:not(:last-child) {margin-bottom: 20px;}
.soon-item__img {width: 60px; height: 60px; margin-right: 20px; border-radius: 30px;}
.soon-item__title {font-weight: 500; font-size: 1.4rem; line-height: 20px; 
	max-height: 40px; overflow: hidden; color: var(--primary-text-color);}
.soon-item__meta {margin-top: 6px; font-size: 1.2rem; color: var(--secondary-text-color);}

.inner-page__desc {margin-top: 20px;}
@media screen and (min-width: 1220px) {
	.inner-page__sidebar .movie-item {width: 50%;}
}
.show-comms {text-align: center; padding-top: 20px;}
.show-comms > a {height: 30px; line-height: 30px; border-radius: 15px; padding: 0 15px; 
	font-size: 1.2rem; font-weight: 500; text-transform: uppercase; display: inline-block;
	margin-right: 15px; background-color: var(--secondary-color); color: var(--third-text-color);}


/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.text {line-height: 1.7; font-size: 1.6rem; word-wrap: break-word; color: var(--secondary-text-color);}
.text a {text-decoration: underline; color: var(--primary-color);}
.text img:not(.emoji), .text p, .text h1, .text h2, .text h3, .text h4, .text h5, 
.text > ul, .text > ol, .text table {margin-bottom: 20px;}
.text > img[style*="left"], .text > .highslide img[style*="left"] {margin:0 10px 10px 0;}
.text > img[style*="right"], .text > .highslide img[style*="right"] {margin:0 0 10px 10px;}
.text > ul li {list-style:disc; margin-left:40px;}
.text > ol li {list-style:decimal; margin-left:40px;}
.text table, .video-inside > * {width:100%;}
.text table tr td {padding:10px; border:2px solid #fff;}
.text table tr:nth-child(2n+1) {background-color:#f2f6f9;} 
.text table tr:nth-child(1) {background-color:#cee0ed;}
.text table img:not(.emoji) {margin:0; max-width:350px}
.text > *:last-child {margin-bottom: 0;}
.video-responsive {padding-top: 60%; position: relative;}
.video-responsive > iframe, .video-responsive > video {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
.inner-page__title {margin-bottom: 20px;}
.text h1, .text h2, .text h3, .text h4, .text h5 {font-size: 1.8rem;}


/* COMMENTS
----------------------------------------------- */
.add-comments-form-wrapper {margin: 20px -20px; padding: 20px; background-color: rgba(187, 187, 187, 0.6);}
.add-comments-form__input {margin-left: 20px;}
.add-comments-form .hidden, .comments_subscribe + br {display: none;}
.mass_comments_action {display: flex; align-items: center; max-width: 800px;}
.mass_comments_action select {flex: 1 1 0; margin: 0 16px 0 20px;}

.comment-item__title {font-weight: 500; font-size: 2rem; margin-bottom: 20px;}
.comment-item {margin-top: 20px;}
.comment-item__img {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.comment-item__letter {width: 100%; height: 100%; text-transform: uppercase; font-weight: 500; 
	position: absolute; left: 0; top: 0; z-index: 5; color: #fff; font-size: 1.8rem;}
.comment-item__author {font-weight: 400;}
.comment-item__date {color: var(--secondary-text-color); margin-top: 2px; font-size: 1.2rem;}
.comment-item__main {margin: 6px 0 3px 0;}
.comment-item__rating {margin-left: 20px; height: 30px; line-height: 30px; border-radius: 4px; 
	background-color: rgba(0,0,0,0.6); padding: 0 10px; font-size: 1.2rem; color: #97a9b7;}
.comment-item__rating a {color: #97a9b7;}
.comment-item__rating > span {margin: 0 5px;}
.comment-item__rating > span > span.ratingtypeplus, .comment-item__rating > span > span.ratingplus {color: #06b601;}
.comment-item__rating > span > span.ratingminus {color: #ff0e0e;}
.comment-item__reply a {color: var(--primary-color); border-bottom: 1px dotted var(--primary-color); font-size: 1.4rem;}
.comment-item__controls {text-align: right; font-size: 1.2rem;}
.comment-item__controls li {display: inline-block; vertical-align: middle; margin: 0 0 0 10px; height: 20px; line-height: 20px;}
.comment-item__controls a:not(:hover) {color: var(--secondary-text-color);}


/* LOGIN
----------------------------------------------- */
.overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
	opacity: 0.6; background-color: #000; cursor: pointer;}
.login {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%); overflow: hidden;
	background-color: #242634; border-radius: 4px; width: 400px; 
	box-shadow: 0 0 0 10px rgba(255,255,255,0.2), 0 15px 45px rgba(0,0,0,1);}
.login__header {padding: 20px 40px; background-color: #15161e;}
.login__title {font-size: 2rem; font-weight: 500; padding: 1px 0;}
.login__close {cursor: pointer; font-size: 2.4rem; opacity: 0.6; margin-left: 20px;}
.login__title a {border-bottom: 1px dotted var(--secondary-text-color); margin-left: 10px; font-weight: 400; color: var(--secondary-text-color);}
.login__content {padding: 20px 40px;}
.login__row {margin-bottom: 20px; position: relative; display: block; font-size: 1.2rem; color: var(--secondary-text-color);}
.login__caption {font-size: 1.2rem; color: var(--primary-text-color); margin-bottom: 10px;}
.login__caption a {text-decoration: underline; margin-left: 6px; color: var(--secondary-color);}
.login__input input {padding-left: 40px;}
.login__row .far {opacity: 0.6; position: absolute; left: 0; bottom: 0; line-height: 40px; width: 40px; text-align: center;}
.login__row button {width: 100%;}
.login__social {background-color: #15161e; padding: 20px 40px; text-align: center;}
.login__social-caption {font-size: 1.2rem; text-transform: uppercase; margin-bottom: 10px;}
.login__social-btns a {display:inline-block; margin: 0 3px; vertical-align:top;}
.login__social-btns img {display:block; width:30px; height: 30px; border-radius: 50%;}
.login__avatar {width: 40px; height: 40px; border-radius: 50%; margin-right: 10px;}
.login__menu {padding-left: 35px; padding-right: 35px; margin-bottom: -10px;}
.login__menu li {flex: 1 1 0; min-width: auto; max-width: 100%; margin: 0 5px 10px 5px;}
.login__menu a {display: block; border-radius: 6px; padding: 10px; text-align: center; white-space: nowrap;
	background-color: #15161e; box-shadow: inset 0 0 10px rgba(0,0,0,0.1); font-size: 1.2rem;}
.login__menu .far {display: block; height: 30px; font-size: 2.4rem; opacity: 0.6;}



/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.mobile-menu {width: 280px; height: 100%; overflow-x: hidden; overflow-y: auto; background-color: #fff;
	padding: 15px 20px; z-index: 999; position: fixed; left: -320px; top: 0; transition: left .4s; 
	background-color: var(--bg-color); color: var(--third-text-color);}
.mobile-menu.is-active {left: 0;}
.mobile-menu-close {cursor: pointer; display: block; left: 280px; top: -40px; position: fixed; z-index: 999;
	width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 1.8rem; opacity: 0;
	background-color: #e84e36; color: #fff; transition: top .4s, opacity .4s;}
.mobile-menu-close.is-active {top: 0px; opacity: 1;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu .header__menu {margin: 0; padding: 0; display: block;}
.mobile-menu .header__menu > li {width: 100%; margin: 0; padding: 0;}
.mobile-menu .header__menu > li > a {height: 40px; line-height: 40px; margin: 0; padding: 0; color: #fff;}
.mobile-menu .header__search {width: 100%; margin: 0 0 10px 0; padding: 0; display: block;}
.mobile-menu .header__menu-hidden {width: 100%; display: block; position: static; 
width: calc(100% + 40px); margin: 0 -20px; opacity: 1; pointer-events: auto; transform: none;}
.mobile-menu .hm-col {width: 50%;}
.mobile-menu .one-col .hm-col {width: 100%;}
.mobile-menu .hm-caption {white-space: nowrap;}

@media screen and (max-width: 1220px) {
	.wrapper {padding: 0;}
	.wrapper-container {max-width:1000px !important;}
	.header, .footer {padding-left: 1015px; padding-right: 1015px;}
	.content {padding-left: 15px; padding-right: 15px;}
	.header__menu, .header__search {display: none;}
	.header__btn-mobile-menu {display: flex; cursor: pointer; font-size: 1.8rem; margin-left: 15px; 
		background-color: rgba(0,0,0,0.8); border-radius: 3px; justify-content: space-between; 
		width: 80px; height: 40px; line-height: 40px; padding: 0 15px;}
	.header__btn-mobile-menu > * {line-height: 40px !important;}
	.header__logo {flex: 1 1 0; max-width: 100%; min-width: 100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
	.content, .site-desc {padding-top: 20px;}
	.section {margin-bottom: 20px;}
	.footer {display: block; text-align: center;}
	.footer__logo {margin-right: 0;}
	.footer__menu, .footer__counter {justify-content: center; margin-top: 15px;}
	.header.sticky {padding: 15px;}

	.inner-page__sidebar {width: 100%; margin: 0; margin-top: 20px;}
}

@media screen and (max-width: 950px) {
	.wrapper-container {max-width:768px;}
	.movie-item {width: 25%;}
}

@media screen and (max-width: 760px) {
	.wrapper {overflow: hidden;}
	.wrapper-container {max-width:640px;}
	.section__tabs {white-space: nowrap; overflow-y: hidden; overflow-x: auto; display: block;}
	.section__tab {display: inline-block; vertical-align: top; margin-right: 5px;}
	.section__link-more {display: none;}

	.inner-page__columns {display: block;}
	.inner-page__column-left {margin: 0 auto 20px auto;}
	.tabs-block__select--player {min-width: 100%; justify-content: center; margin-bottom: 15px;}
	
	.add-comments-form__input {min-width: 100%; margin: 0 0 10px 0;}
	.add-comments-form__btn {width: 100%; order: 10;}
	.add-comments-form .form__row--protect .form__caption {width: 100%; margin: 0 0 10px 0;}
	.mass_comments_action, .comment-item__controls {display: none;}
}

@media screen and (max-width: 590px) {
	.wrapper-container {max-width:480px;}
	.header__logo {font-size: 2rem; margin-right: 20px;}
	.header__sign-in {padding: 0 15px;}
	.section__title {line-height: 1.1;}
	.movie-item {width: 50%;}

	.inner-page__main {margin: -20px -15px 20px -15px; padding: 15px; max-width: calc(100% + 30px); width: calc(100% + 30px);}
	.tabs-block__select--player span {white-space: nowrap; flex: 1 1 0; max-width: 100%; min-width: auto; 
		text-align: center; margin: 0; border-radius: 0;}
	
	.login {max-width: 90%; max-height: 90%; overflow-x: hidden; overflow-y: auto;}
	.login__header, .login__content, .login__social, .pages-bg {padding-left: 20px; padding-right: 20px;}
}

@media screen and (max-width: 470px) {
	.wrapper-container {max-width:360px;}
	.header__logo {background-image: none; padding-left: 0;}
}

/* 200 - отступ от верха. Для брендирования нужно раскомментировать код ниже */
/*
body {background: #444; padding-top: 200px; position: relative;}
body::before {content: 'пример брендирования'; text-transform: uppercase; font-size: 5rem; font-weight: 700; 
color: #fff; position: absolute; left: 50%; top: 60px; transform: translateX(-50%);}
.wrapper {max-width: 1100px; margin: 0 auto; background: #04060f url(../images/bg.jpg); padding: 0 30px;}
.header.sticky .header__inner {padding: 0 30px;}
.inner-page__sidebar {margin-left: 30px;}
@media screen and (max-width: 1220px) {
	.wrapper {padding: 0;}
	body::before {display: none;}
	.header.sticky .header__inner {padding: 0;}
}
@media screen and (max-width: 760px) {
	body {padding-top: 0;}
}
*/