/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.mobile-menu {width: 320px; height: 100%; overflow-x: hidden; overflow-y: auto;
	z-index: 999; position: fixed; left: -360px; top: 0; transition: left 0.4s; background-color: var(--bg);}
.mobile-menu.is-active {left: 0;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu__header {padding: 15px 20px; gap: 10px; background-color: var(--bg-darker-1);}
.mobile-menu__header .logo {font-size: 20px;}
.mobile-menu__btn-close {font-size: 24px; width: 40px; height: 40px; margin-right: -10px;}
.mobile-menu__content {padding: 20px;}
.mobile-menu__content .filmlord-header__search, .mobile-menu__content .filmlord-header__btn-login {display: none;}
.mobile-menu__content .header__menu {display: flex; flex-direction: column; gap: 0; margin: 0;}
.mobile-menu__content .header__menu > li > a {height: 50px;}
.mobile-menu__content .header__menu-hidden {opacity: 1; visibility: visible; translate: 0 0; position: static;
	background-color: var(--bg-darker); width: calc(100% + 40px); margin: 0 -20px; box-shadow: none; padding: 20px;}
.mobile-menu__content div.header__menu-hidden {grid-template-columns: repeat(2,minmax(0,1fr));}
.mobile-menu__content .filmlord-header__menu-rand {order: -1;}
.mobile-menu__content .filmlord-header__menu-rand a {justify-content: center; border-radius: 3px; background: rgba(0,0,0,0.1);}
.dt .mobile-menu__content .filmlord-header__menu-rand a {background: rgba(0,0,0,0.4);}

.filmlord-mpanel {position: fixed; z-index: 980; left: 0; bottom: 0; width: 100%;
	background-color: var(--bg); box-shadow: var(--bsh-block);}
.filmlord-mpanel li {flex-grow: 1; min-width: 20%; font-size: 12px; line-height: 1; position: relative;}
.filmlord-mpanel li > a, .filmlord-mpanel li > span {display: grid; place-items: center; padding: 10px 0; cursor: pointer; gap: 0; position: relative;}
.filmlord-mpanel li > a::before, .filmlord-mpanel li > span::before {font-size: 18px; height: 22px; color: var(--tt-fade);}
.filmlord-mpanel li > span img {width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: block;}
.filmlord-mpanel li > *:not(div) > span {background-color: var(--blue); color: #fff; font-size: 10px; padding: 2px 4px; 
	position: absolute; top: 5px; left: 50%; margin-left: 10px; border-radius: 3px;}
.filmlord-msett {border-radius: 10px; position: absolute; bottom: 100%; right: 0; padding: 20px;
	box-shadow: var(--bsh-long); background-color: var(--bg); min-width: 300px; display: none;}
.filmlord-msett.is-active {display: flex;}
.filmlord-msett a, .filmlord-msett > span {cursor: pointer; min-height: 20px; 
    white-space: nowrap; flex-wrap: nowrap; font-size: 15px;}
.filmlord-msett .has-checkbox {padding-left: 40px;}
.dt .filmlord-msett__theme input, .t1 .filmlord-msett__transparent input {background-color: var(--green);}
.dt .filmlord-msett__theme input::before, .t1 .filmlord-msett__transparent input::before {left: 20px;}
.lt .filmlord-msett__theme input, .t0 .filmlord-msett__transparent input {background-color: var(--ui-bg-darker) !important;}
.lt .filmlord-msett__theme input::before, .t0 .filmlord-msett__transparent input::before {left: 0px !important;}
.filmlord-msett__lang {position: relative; cursor: pointer;}
.filmlord-msett__lang select {position: absolute; inset: 0; z-index: 1; opacity: 0; font-weight: 400; cursor: pointer;}
.filmlord-msett__lang-flag img {display: block; height: 20px; width: 30px; border: 0px solid var(--bdc);}
.filmlord-header__sett .filmlord-js-show-login {display: none;}
.filmlord-header__sett .filmlord-msett {bottom: auto; top: 100%;}

@media screen and (max-width: 1220px) {
	:root {--indent-negative: -20px; --indent: 20px;}
	.filmlord-wrapper__container {max-width:1000px;}
	body, .filmlord-has-branding {padding-top: 0;}
    .filmlord-has-branding .filmlord-header {margin-bottom: 0px;}
	.wrapper::before, .wrapper::after {background: none; display: none;}
	.wrapper::before, .wrapper::after {height: auto; aspect-ratio: 3 / 2;}
	.wrapper::before {mask-image: none; background-size: cover;}
	.filmlord-header .header__menu {display: none;}
	.filmlord-header-in {padding: 20px var(--indent);}
	.filmlord-header__search {flex: 1 1 0; max-width: 100%; min-width: 50px; margin-right: 10px;}
	.filmlord-header__btn-menu {display: flex;}
	.filmlord-header__logo {flex: 1 1 0; max-width: 100%; min-width: 50px;}

	.page__cols {display: block;}
	.page__cols-right:has(.filmlord-filter-block) {display: none;}
	/*.page__cols:has(.page__player) .page__cols-right {padding: 0;}
	.page__fr {position: static;}
	.page__fr .sect__content {height: auto; max-height: 150px;}*/
	.filmlord-schedule-item {padding: 6px 20px; gap: 10px 20px;}
	.filmlord-schedule-item__number {width: 140px;}
}
@media screen and (max-width: 1220px) and (min-width: 590px) {
	.filmlord-sect:has(.sect__tabs) .grid-items, .filmlord-grid-collections {display: flex; overflow-y: hidden; overflow-x: auto;}
	.filmlord-sect:has(.sect__tabs) .grid-items > .grid-items__item {flex-shrink: 0; width: 170px;}
	.filmlord-grid-collections > .grid-items__item {flex-shrink: 0; width: 340px;}
}

@media screen and (max-width: 950px) {
	.filmlord-wrapper__container {max-width:768px;}
	.footer__notify {margin: 0;}
	.footer__menu {width: 100%;}

	.pagination {gap: 10px;}
	.pagination__btn-loader a, .pagination__btn-loader span:not([class]) {width: 100%;}
	.pagination > a, .pagination > span {flex-grow: 1; order: 10;}
	.pagination__pages, .pagination__btns {min-width: 100%;}
	.pagination__pages a, .pagination__pages span, .pagination__btns > * {flex-grow: 1;}
}

@media screen and (max-width: 760px) {
	.filmlord-wrapper__container {max-width:640px;}
	.filmlord-header .filmlord-header__search, .filmlord-header .filmlord-header__btn-login, .header__btn1 {display: none;}
	.mobile-menu__content .filmlord-header__search, .mobile-menu__content .filmlord-header__btn-login {display: block; 
		width: 100%; margin: 0; margin-bottom: 10px;}
	.mobile-menu__content .filmlord-header__btn-login {display: flex;}
	.filmlord-header__logo {flex: 1 1 0; max-width: 100%; min-width: 50px;}
	.filmlord-header__btn-menu, .filmlord-header__btns {order: 10; padding: 0;}
	.filmlord-sect__header:has(.sect__tabs) .sect__title {width: 100%;}
	.sect__tabs {margin-top: 10px; gap: 10px; width: 100%;}
	.sect__tabs button {flex: 1 1 0; max-width: 100%; min-width: max-content; padding: 0 10px; font-size: 12px; height: 30px;}
	.filmlord-sect .filmlord-filter-block {display: none;}
	.filmlord-sect .filmlord-filter-block.is-active {display: block;}
	.filmlord-sect__btn-filter {display: flex;}

	.filmlord-page__main {display: block;}
	.filmlord-page__main > * + * {margin-top: 20px;}
	.page__header h1, body:has(.page__header) .speedbar, .filmlord-page__main-title-original {text-align: center;}
	.filmlord-page__poster {margin-left: auto; margin-right: auto; width: 200px;}
	.filmlord-page__list-rates {padding: 10px 0; justify-content: center;}
	.filmlord-schedule-item {gap: 0 10px;}
	.filmlord-schedule-item__number {width: 100px; text-align: right;}
	.filmlord-schedule-item__descr {min-width: calc(100%	- 130px); order: -1;}
	.page__complaint {display: none !important;}
	.page__player .filmlord-tabs-block__select button {flex-grow: 1;}
	.filmlord-page__player-bottom {padding: 20px;}
	.filmlord-ya-share2 {width: 100%; text-align: center;}
	.page__fav {margin: 0;}
	.page__likes a {padding: 0 10px; height: 30px; font-size: 12px; gap: 8px;}
	.filmlord-page__list-hint div span {max-width:calc(100vw - 190px); padding:10px;
		background-color:var(--bg); box-shadow: var(--bsh-long); display:none;}
	
	.filmlord-page__ac {margin-bottom: 20px;}
	.ac-form__bottom {gap: 10px;}
	.ac-form__bottom button {padding: 0 20px; width: 100%;}
	.ac-form__header input + input {min-width: 100%; order: 10;}
	.ac-form__header > span, .comm::before {display: none;}
	.filmlord-ac-form #b_color {display: none;}
	.filmlord-ac-toggle .ac-form__bottom button {position: static; width: 100%;}
	.comm {padding: 15px 20px;}
	.filmlord-comm__img {width: 40px; height: 40px; position: relative; left: 0; top: 0;}
	.filmlord-comm__meta {display: block;}
	.filmlord-comm__user-rating, .filmlord-comm__group {translate: -50% -100%; display: none;}
}

@media screen and (max-width: 590px) {
	.filmlord-wrapper__container {max-width:480px;}
	.filmlord-lgn__content {padding: 30px 20px;}
	.lgn__ctrl > * {font-size: 17px; height: 40px;}
	.lgn__btn-close {right: 0; top: 0; color: var(--tt); font-size: 24px;}
	.filmlord-lgn__header {padding-left: 60px;}
	.filmlord-lgn__avatar {width: 40px; font-size: 18px;}
	.lgn__title {font-size: 17px;}
	.filmlord-lgn__caption {font-size: 14px; margin-top: 0;}
	.header__login a, .header__btn1, .scrolltop {display: none;}
	.footer__notify {width: 100%; padding: 0; border: 0; text-align: center;}
	.filmlord-footer__copyright {margin: 0; text-align: center; width: 100%;}
	.filmlord-mpanel {display: flex;}
    .wrapper {padding-bottom: 54px; background-size: auto 100vh;}
    .filmlord-header__sett {display: none;}
	
	.page__scr ul:has(li:nth-child(6)) {grid-template-columns: repeat(2,1fr);}
	.page__scr ul:not(:has(li:nth-child(6))) {gap: 10px;}
}

@media screen and (max-width: 470px) {
	.wrapper__container123 {max-width:410px;}
	.wrapper::before, .wrapper::after {aspect-ratio: 1 / 1.2;}
	.header__theme-select {height: 30px;}
	.pagination__btn-loader a {min-width: 0; width: 100%;}
	.filmlord-filter__col--ranges {padding: 0 0;}
	.filmlord-filter__cell--submit, .filmlord-filter__col--submit {flex-direction: row; width: 100%;}
	.filmlord-filter__cell--submit input {flex: 1 1 0; max-width: 100%; min-width: 50px;}
	.filmlord-page__tabs-mylists li {white-space: nowrap; flex: 1 0 auto; min-width: auto;}
}

@media screen and (max-width: 400px) {
	.wrapper__container123 {max-width:360px;}
	
	.ac-form__bottom .comments_subscribe {font-size: 13px;}
	.full-text iframe {width: calc(100% + 40px); max-width: calc(100% + 40px); height: 260px; margin-left: -20px; margin-right: -20px;}
}
