.user_btn {
    top: 50px !important;
}

.reg-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 5px;
    margin: 0 0 0 10px;
}

.navigation .reg-buttons {
    display: none;
}

@media screen and (max-width: 860px) {
    .reg-buttons {
        display: none;
    }

    .navigation .reg-buttons {
        display: flex;
        justify-content: space-between;
        margin: 0 0 5px;
    }
}

.reg-buttons a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #fff;
    font-weight: 500;
    transition: color .3s, background .3s;
    background: var(--active-color);
    border: 1px solid var(--active-color);
    white-space: nowrap;
    cursor: pointer;
}

@media screen and (max-width: 860px) {
    .reg-buttons a {
        width: calc(50% - 5px);
        justify-content: center;
    }
}

.reg-buttons a svg {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin: 0 5px 0 0;
    fill: #fff;
    transition: fill .3s;
}

@media screen and (min-width: 1025px) {
    .reg-buttons a:hover {
        background: var(--card-color);
        color: var(--active-color);
    }
    .reg-buttons a:hover svg {
        fill: var(--active-color);
    }
}

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #fff;
	color: #444;
	text-shadow: none;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}
.fancybox-skin {
	padding: 0!important;
}
.fancybox-inner {
	overflow: hidden;
	/* width: 100%!important;
    overflow: hidden!important; */
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('/static/images/fancybox/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('/static/images/fancybox/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('/static/images/fancybox/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
	overflow: hidden !important;
	width: auto;
}

.fancybox-lock body {
	overflow: hidden !important;
}

.fancybox-lock-test {
	overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
    background: rgb(255 255 255 / 80%);
}

body.dark .fancybox-overlay {
    background: rgb(0 0 0 / 80%);
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min--moz-device-pixel-ratio: 1.5),
	only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('/static/images/fancybox/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('/static/images/fancybox/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}

@media screen and (max-width: 560px) {
	.fancybox-skin {
		padding: 0 !important;
	}
}

.fancybox-skin {
    position: relative;
    color: var(--main-color);
    background: var(--main-background);
    box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    text-shadow: none;
    padding: 50px !important;
}

@media screen and (max-width: 560px) {
    .fancybox-skin {
        padding: 15px 10px !important;
    }
}

.checkbox_holder {
    position: relative;
}

.checkbox_holder label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1px;
    width: 17px;
    height: 17px;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.48);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.48);
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: #fff;
}

.checkbox_holder .radio.checkbox + label::before {
    border-radius: 50%;
}

.checkbox_holder label a {
    color: var(--main-color);
    transition: color .3s;
    text-decoration: underline;
}

@media screen and (min-width: 1025px) {
    .checkbox_holder label a:hover {
        color: var(--active-color);
    }
}

.checkbox_holder label {
    display: block;
    padding-left: 27px;
    cursor: pointer;
    position: relative;
}

.checkbox_holder .checkbox {
    display: none;
}

.checkbox_holder label:after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 6px;
    content: "";
    -webkit-transform: rotate(-50deg);
    -ms-transform: rotate(-50deg);
    transform: rotate(-50deg);
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    background: 0 0;
    display: none;
}

.checkbox_holder .checkbox:checked+label:after {
    display: block;
}

.checkbox_holder .checkbox:checked+label:before {
    background-color: var(--active-color);
}

.popup-title {
    font-size: 28px;
    font-weight: 700;
    flex-grow: 1;
    flex-shrink: 1;
    margin: 0 0 20px 0;
    display: block;
    white-space: nowrap;
}

@media screen and (max-width: 860px) {
    .popup-title {
        font-size: 24px;
        white-space: wrap;
    }
}
.popup-holder .row {
    margin: 0 0 15px;
    position: relative;
}

.fancybox-inner {
    overflow: hidden !important;
    height: auto !important;
}

.popup-holder .row fieldset {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 5px;
}

.popup-holder .row .textarea,
.popup-holder .row .textfield {
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--main-background);
    width: 100%;
    font-family: inherit;
    padding: 11px;
    color: var(--main-color);
}

body.dark .popup-holder .row .textarea,
body.dark .popup-holder .row .textfield {
    background: var(--card-color);
}

.popup-holder .row .textarea {
    min-height: 120px;
    resize: vertical;
}

.popup-holder .bottom .submit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #fff;
    font-weight: 500;
    transition: color .3s, background .3s;
    background: var(--active-color);
    border: 1px solid var(--active-color);
    white-space: nowrap;
    cursor: pointer;
    width: 100%;
}

@media screen and (min-width: 1025px) {
    .popup-holder .bottom .submit:hover {
        background: var(--main-background);;
        color: var(--active-color);
    }
}

.popup-holder .links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 15px;
    color: var(--main-color);
}

.popup-holder .links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: underline;
    color: var(--main-color);
    transition: color .3s;
}

@media screen and (min-width: 1025px) {
    .popup-holder .links a:hover {
        color: var(--active-color);
    }
}

.popup-holder .links.text_popup a,
.popup-holder .links.text_popup {
    display: inline-block;
}

.popup-holder .field-label {
    display: block;
    margin: 0 0 5px;
}

.captcha-control > div {
    margin-bottom: 10px;
}

.field-error {
    color: red;
    display: none;
    margin-top: 3px;
}

.popup-holder .two-sections {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 10px; 
}

@media screen and (max-width: 580px) {
    .popup-holder .two-sections {
        flex-direction: column;
        gap: 0;
    }

    .popup-holder .two-sections .section-one,
    .popup-holder .two-sections .section-two {
        width: 100%;
    }
}

.popup-holder .two-sections .section-title {
    font-weight: 500;
    display: block;
    margin: 0 0 10px;
    font-size: 15px;
}

.header .top-links {
    padding: 6px 20px;
    border-bottom: 1px solid var(--border-color);
}

.header .top-links ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
}

@media screen and (max-width: 860px) {
    .header .top-links ul {
        justify-content: center;
    }
}

.member-links a {
    color: var(--main-color);
    background-color: transparent;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    line-height: 30px;
    display: block;
    border-radius: 10px;
    padding: 0 15px;
}
@media screen and (min-width: 1025px) {
    .member-links a:hover {
        background: var(--active-color);
        color: #fff;
    }
}

@media screen and (max-width: 860px) {
    .member-links a {
        white-space: nowrap;
        line-height: 20px;
        padding: 0 10px;
    }
}

.subscriptions_holder a {
    align-items: center;
    overflow: hidden;
    padding: 0 !important;
}

@media screen and (min-width: 1025px) {
    .subscriptions_holder a:hover {
        background: var(--active-color);
    }
}

.subscriptions_holder a .text {
    padding: 12px 10px;
    max-height: 40px;
}

.subscriptions_holder a .button-info_holder {
    padding: 12px 10px;
    max-height: 40px;
    background: var(--active-color);
    color: #fff;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
}

.subscriptions_holder a .button-info_holder svg {
    fill: #fff;
    width: 16px;
    height: 16px;
    position: relative;
    top: -1px;
}

.user_page .main-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 10px;
}

@media screen and (max-width: 992px) {
    .user_page .main-content {
        flex-direction: column;
    }
}
 
.user_page .member-menu {
    width: 250px;
    min-width: 250px;
    background: var(--card-color);
    position: relative;
    border-radius: 10px;
    padding: 20px;
}

@media screen and (max-width: 992px) {
    .user_page .member-menu {
        width: 100%;
        min-width: 100%;
    }
}


.user_page .member-menu h2 {
    color: var(--main-color);
    font-size: 24px;
    font-weight: 500;
    -webkit-box-flex: 1;
    -ms-flex: 1 1;
    flex: 1 1;
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
}

@media screen and (max-width: 785px) {
    .user_page .member-menu h2 {
        width: 100%;
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        margin: 2px 0;
    }
}

.member-menu .block-main .avatar {
    margin: 0 auto 25px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background: var(--main-background);
}

.member-menu .block-main .avatar .no-thumb {
    color: var(--main-color);
}

.member-menu .block-main .avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 992px) {
    .user_page .member-menu .user-menu {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 5px;
    }
}

.user_page .member-menu .user-menu span,
.user_page .member-menu .user-menu a { 
    color: var(--main-color);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.user_page .member-menu .user-menu span em,
.user_page .member-menu .user-menu a em {
    color: var(--active-color);
    margin: 0 0 0 10px;
}

.user_page .member-menu .user-menu span:after,
.user_page .member-menu .user-menu a::after {
    content: '';
    background: var(--active-color);
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    display: block;
    transition: width .3s;
}

.user_page .member-menu .user-menu span {
    color: var(--active-color);
}

.user_page .member-menu .user-menu span::after {
    width: 100%;
}

@media screen and (min-width: 1025px) {
    .user_page .member-menu .user-menu a:hover {
        color: var(--active-color);
    }

    .user_page .member-menu .user-menu a:hover::after {
        width: 100%;
    }
}

.main-container-user {
    width: 100%;
}

.block-profile {
    background: var(--card-color);
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
}
.profile-list {
    width: 100%;
    overflow: hidden;
}
.profile-list .margin-fix {
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.2;
    color: var(--second-color-text);
}
.profile-list .about-me {
    width: 100%;
}
.profile-list .about-me em {
    display: block;
    padding: 8px 0 0;
    color: var(--main-color);
}
.profile-list .column {
    width: 33%;
    padding-right: 10px; 
}

@media screen and (max-width: 640px) {
    .profile-list .column {
        width: 100%;
        padding-right: 0; 
    }
}

.profile-list .column .item {
    margin: 0 0 10px;
    overflow: hidden;
}

.profile-list .column .item em {
    margin: 0 0 0 5px;
}

.profile-list .column .item a {
    margin: 0 0 0 5px;
    color: var(--active-color);
    text-decoration: underline;
    transition: color .3s;
}

@media screen and (min-width: 1025px) {
    .profile-list .column .item a:hover {
        color: var(--main-color);
        text-decoration: underline;
    }
}

.profile-list .item em {
    color: var(--main-color);
}

.dropped {
    position: relative;
}

.dropped .button-lang.link .text:first-child {
    margin-right: 5px;
}
.dropped .button-lang.link .text {
    margin: 0;
}

.dropped .button-lang.link svg {
    transition: all .3s;
}

.dropped.show .button-lang.link {
    background-color: var(--active-color);
    color: var(--static-second-color);
}

@media screen and (max-width: 480px) {
    .dropped .drop-hidden {
        min-width: 115px;
        right: auto;
        left: 0;
    }
}
.dropped .drop-hidden {
    position: absolute;
    z-index: 10;
    background: var(--main-background);
    width: 100%;
    min-width: 140px;
    border-radius: 10px;
    right: 0;
    top: calc(100% + 10px);
    max-height: 150px;
    overflow-y: auto;
    opacity: 0;
    transform: translate3d(0, -10%, 0);
    visibility: hidden;
    transition: opacity .3s, transform .3s, visibility .3s;
}
.dropped.show .drop-hidden {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    visibility: visible;
}
.drop-hidden .item:last-child {
    margin-bottom: 0;
}

.dropped .drop-hidden a {
    display: flex;
    align-items: center;
    padding: 5px;
    color: var(--main-color);
    transition: color .3s, background .3s;
}
@media screen and (min-width: 1025px) {
    .drop-hidden a:hover {
        background: var(--active-color);
        color: #fff;
    }
}

.sort-wrap .link {
    cursor: pointer;
}
.sort-wrap .link {
    background-color: var(--card-color);
    color: var(--main-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 9px 20px;
    font-weight: 500;
    transition: color .3s, background .3s;
    min-height: 36px;
}

@media screen and (min-width: 1025px) {
    .video-box .link:hover {
        background-color: var(--active-color);
        color: var(--static-second-color);
    }
}

form .selectbox {
    width: 100%;
    border-radius: 20px;
    border-radius: 10px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: var(--main-background);
    padding: 11px;
    color: var(--main-color);
}

form .selectbox {
  cursor: pointer;
  padding: 10px 20px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0,0,51,32' width='10' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4.544c-0 0.005-0 0.011-0 0.017 0 1.277 0.486 2.44 1.284 3.315l-0.004-0.004 21.248 22.784c0.767 0.827 1.859 1.343 3.072 1.343s2.305-0.516 3.070-1.34l0.002-0.003 21.248-22.784c0.803-0.873 1.296-2.043 1.296-3.328s-0.492-2.455-1.299-3.332l0.003 0.004c-0.773-0.861-1.89-1.401-3.133-1.401-1.212 0-2.305 0.513-3.073 1.334l-0.002 0.002-18.112 19.456-18.112-19.456c-0.77-0.823-1.862-1.337-3.075-1.337-1.243 0-2.36 0.539-3.13 1.397l-0.003 0.004c-0.794 0.871-1.28 2.034-1.28 3.311 0 0.006 0 0.012 0 0.018v-0.001z'%3E%3C/path%3E%3C/svg%3E"), linear-gradient(to bottom, var(--main-background) 0%,var(--main-background) 100%);
  background-repeat: no-repeat, repeat;
  background-position: right 10px top 50%;
  background-size: auto;
}

form .selectbox option {
    font-weight: normal;
}

body.dark form .selectbox {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0,0,51,32' stroke='white' fill='white' width='10' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4.544c-0 0.005-0 0.011-0 0.017 0 1.277 0.486 2.44 1.284 3.315l-0.004-0.004 21.248 22.784c0.767 0.827 1.859 1.343 3.072 1.343s2.305-0.516 3.070-1.34l0.002-0.003 21.248-22.784c0.803-0.873 1.296-2.043 1.296-3.328s-0.492-2.455-1.299-3.332l0.003 0.004c-0.773-0.861-1.89-1.401-3.133-1.401-1.212 0-2.305 0.513-3.073 1.334l-0.002 0.002-18.112 19.456-18.112-19.456c-0.77-0.823-1.862-1.337-3.075-1.337-1.243 0-2.36 0.539-3.13 1.397l-0.003 0.004c-0.794 0.871-1.28 2.034-1.28 3.311 0 0.006 0 0.012 0 0.018v-0.001z'%3E%3C/path%3E%3C/svg%3E"), linear-gradient(to bottom, var(--card-color) 0%,var(--card-color) 100%);
    background-repeat: no-repeat, repeat;
    background-position: right 10px top 50%;
    background-size: auto;
}

form .file-control {
    position: relative;
    width: 100%;
}
form .file-control .textfield {
    padding-left: 29px !important;
}
form .file-control .button {
    position: absolute;
    left: 6px;
    top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    height: 30px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--active-color);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: color .3s, background .3s;
}

form .file {
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 0;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    cursor: pointer;
}

form .list-selector-popup {
    position: absolute;
    width: 100%;
    height: 160px;
    left: 0;
    bottom: 52px;
    border-radius: 5px;
    -webkit-box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.5);
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    background-color: var(--card-color);
}
form .list-selector-popup:after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    background-color: var(--card-color);
    left: 50%;
    -webkit-transform: translateX(-50%) rotate(45deg);
    transform: translateX(-50%) rotate(45deg);
    -webkit-box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.5);
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.5);
    bottom: -5px;
    z-index: 10000;
}
form .list-selector-popup:before {
    position: absolute;
    content: "";
    width: 40px;
    height: 7px;
    background-color: var(--card-color);
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 0;
    z-index: 10001;
}
form .list-selector-popup .button-group {
    overflow-y: scroll;
    overflow-x: hidden;
    position: absolute;
    top: 8px;
    left: 8px;
    bottom: 30px;
    right: 8px;
}

form .list-selector-popup .button-group .item {
    display: inline-block;
    width: 31%;
    padding: 3px 0 10px;
    vertical-align: top;
}

.fancybox-inner form .list-selector-popup .button-group .item {
    width: 100%;
}

form .list-selector-popup .filter {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--main-color);
    border: none;
    border-top: 1px solid var(--border-color);
}
form .list-selector-popup .filter input {
    width: 100%;
    height: 100%;
    padding: 8px 10px;
    border: none;
    background-color: var(--card-color);
    color: var(--main-color);
    font-weight: 400;
    line-height: 14px;
}

.main-grid form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.list-members form .bottom:not(.item_bottom),
.main-grid form .bottom:not(.item_bottom) {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.list-members form .item .item-control .item-control-holder,
.main-grid form .item .item-control .item-control-holder {
    margin: 5px 0 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5px;
}

.list-members form .item .item-control .item-control-holder {
    justify-content: center;
}
.list-members form .item .item-control .toggle-button,
.main-grid form .item .item-control .toggle-button {
    display: inline-block !important;
    height: auto !important;
    padding: 5px 10px !important;
    line-height: 1.2;
}

.list-members form .bottom .submit,
.list-members form .item .item-control .toggle-button,
.main-grid form .item .item-control .toggle-button,
.main-grid form .bottom .submit {
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--second-color);
    color: var(--main-color);
    font-size: 14px;
    font-weight: 500;
    transition: color .3s, background .3s;
}

.list-members form .bottom .submit[disabled],
.main-grid form .bottom .submit[disabled] {
    cursor: default;
    pointer-events: none;
    opacity: .6;
}

@media screen and (min-width: 1025px) {
    .list-members form .bottom .submit:hover,
    .main-grid form .item .item-control .toggle-button:hover,
    .main-grid form .bottom .submit:hover {
        background: var(--active-color);
        color: #fff;
    }
}

.checkbox_holder.toggle-button:not(.inversed) {
    position: absolute;
    top: 21px;
    left: 51px;
}

.list-members .checkbox_holder.toggle-button {
    left: 0;
    top: 0;
}

.list-subscriptions .checkbox_holder.toggle-button,
.list-playlists .checkbox_holder.toggle-button {
    top: 16px;
    left: 16px;
}

.checkbox_holder.toggle-button:not(.inversed) label {
    width: 17px;
    height: 17px;
}

.checkbox_holder.toggle-button .checkbox {
    display: block;
    opacity: 0;
    width: 17px;
    height: 17px;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 2;
    cursor: pointer;
}

.list-playlists .related-videos-card img.video2,
.list-playlists .related-videos-card img.video3,
.list-playlists .related-videos-card img.video4,
.list-playlists .related-videos-card img.video5 {
    position: absolute;
    width: 7rem;
    height: 4rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    z-index: 2;
    -webkit-transition: border 0.3s;
    transition: border 0.3s;
    left: auto;
    border-radius: 10px;
}

body.dark .list-playlists .related-videos-card img.video2,
body.dark .list-playlists .related-videos-card img.video3,
body.dark .list-playlists .related-videos-card img.video4,
body.dark .list-playlists .related-videos-card img.video5 {
    border: 2px solid rgba(0, 0, 0, 0.5);
}

.no-touch .list-playlists .item .related-videos-card .video3:hover,
.no-touch .list-playlists .item .related-videos-card .video4:hover,
.no-touch .list-playlists .item .related-videos-card .video2:hover {
  z-index: 3;
  border: 2px solid  var(--active-color-second);
}

.list-playlists .related-videos-card img.video2 {
  right: 25px;
  top: 5px;
}
.list-playlists .related-videos-card img.video3 {
  right: 15px;
  top: 15px;
}
.list-playlists .related-videos-card img.video4 {
  right: 5px;
  top: 25px;
}

.headline_second .wrap .title a {
    color: var(--active-color);
    text-decoration: underline;
    transition: color .3s;
}

.no-touch .headline_second .wrap .title a:hover {
    color: var(--main-color);
}

.btn-favourites ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.btn-favourites ul li.hidden {
    display: none;
}

.btn-favourites svg {
    /* margin-right: 0; */
}

.btn-favourites .tabs-link {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-favourites .tabs-link {
    padding: 10px;
}

@media screen and (max-width: 400px) {
    .btn-favourites .tabs-link {
        padding: 7px 15px;
        font-size: 12px;
    }
}

.btn-favourites .tabs-link.delete {
    background-color: var(--active-color);
    color: var(--static-second-color);
}

@media screen and (min-width: 1025px) {
    .btn-favourites .tabs-link.delete:hover {
        color: #fff;
        background: var(--second-color);
    }
}

.btn-favourites .sort-wrap {
    padding: 0;
}

.btn-favourites .sort-wrap .item {
    display: inline-block;
}

.btn-favourites .sort-wrap .link {
    margin: 0;
    padding: 10px;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
}

@media screen and (max-width: 400px) {
    .btn-favourites .sort-wrap .link {
        padding: 7px 15px;
        min-height: 32px;
    }
}
.btn-favourites .sort-wrap .link svg:nth-child(1) {
    transform: none !important;
    margin-left: 0;
}

.btn-favourites .sort-wrap .link .show_desktop {
    margin-left: 5px;
}

.btn-favourites .sort-wrap .link .show_desktop+ svg,
.btn-favourites .sort-wrap .link svg:nth-child(2) {
    font-size: 11px;
}

.btn-favourites .sort-wrap .dropped.show .link .show_desktop+ svg, 
.btn-favourites .sort-wrap .dropped.show .link svg:nth-child(2) {
        transform: rotate(180deg);
}

.btn-favourites .sort-wrap .drop-hidden span {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
} 

.btn-favourites .dropped .drop-hidden {
    min-width: 180px;
    overflow-x: hidden;
    background: var(--card-color);
}

.btn-favourites .dropped .drop-hidden a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    white-space: nowrap;
    width: 100%;
}

.btn-favourites .dropped .drop-hidden a svg {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 0 0;
}

.btn-favourites .dropped .drop-hidden a span {
    display: inline-block;
    vertical-align: middle;
}

.btn-favourites .dropped .drop-hidden a:nth-child(2) {
    width: 28px;
    min-width: 32px;
}

.main-card .wrap {
    display: flex;
    align-items: center;
    flex-grow: 1;
    flex-shrink: 1;
}

.main-card .detail {
    display: flex;
    font-weight: 500;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .3s;
}
.main-card .flag {
    flex-grow: 0;
    flex-shrink: 0;
    margin-left: 5px;
    width: 16px;
    height: 16px;
    object-fit: cover;
}

.block-comments .links {
    margin: 0;
}

.block-comments.row {
    display: block !important;
}

.block-comments .row {
    display: block !important;
    padding-top: 0;
    border: none;
}

.message-form.popup-holder .bottom .submit,
.block-comments .popup-holder .bottom .submit {
    width: auto;
}

.block-comments .list-comments {
    border-top: 1px solid var(--second-border-color);
    margin-top: 20px;
    padding-top: 20px;
    width: 100%;
}

.block-comments .list-comments.hidden {
    display: none;
}
.list-comments .item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.2;
    margin: 0 0 20px;
}

.list-comments .image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--second-color);
    overflow: hidden;
    margin: 0 10px 0 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
}

.list-comments .image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.list-comments .image svg {
    position: absolute;
    top: 50%;
    left: 50%;
    fill: #fff;
    font-size: 22px;
    width: 22px;
    height: 23px;
    transform: translate(-50%, -50%);
}

.list-comments .text {
    -webkit-box-flex: 1;
    -ms-flex: 1 1;
    flex: 1 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.list-comments .comment-info {
    display: block;
    color: var(--secondary-color-information);
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    -webkit-box-flex: 1;
    -ms-flex: 1 1;
    flex: 1 1;
}

.list-comments .comment-info a {
    color: var(--active-color);
    text-decoration: underline;
    color: var(--main-color);
    transition: color .3s;
}

@media screen and (min-width: 1024px) {
    .list-comments .comment-info a:hover {
        color: var(--active-color);
    }
}

@media screen and (max-width: 640px) {
    .list-comments .comment-info {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        margin: 0 0 5px;
    }
}

.list-comments .username {
    font-size: 14px;
    margin: 0 10px 0 0;
}

.list-comments p {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    font-size: 14px;
    overflow: auto;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.list-comments p .original-text img {
    display: inline-block;
    vertical-align: middle;
}

.smileys-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    justify-content: flex-start;
    margin: 5px 0;
}

.smileys-bar img {
    cursor: pointer;
}

.members_page {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 10px;
}

@media screen and (max-width: 767px) {
    .members_page {
        flex-direction: column;
    }
}

.members_page .sidebar {
    width: 250px;
    min-width: 250px;
    background: var(--card-color);
    position: relative;
    border-radius: 10px;
    padding: 20px;
}
@media screen and (max-width: 767px) {
    .members_page .sidebar {
        width: 100%;
    }
}
.members_page .sidebar .age_holder {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 5px;
}

.members_page .main-container {
    width: 100%;
}

.list-members {
    width: 100%;
}

.margin-fix {
    margin: -10px 0 0 -10px;
    font-size: 0;
    line-height: 0;
}

@media screen and (max-width: 640px) {
    .margin-fix {
        margin: -5px 0 0 -5px;
    }
}



.list-members .item {
    width: calc(12.5% - 10px);
    display: inline-block;
    text-align: center;
    margin: 10px 0 2.5rem 10px;
    /* padding: 0 5px; */
    vertical-align: top;
    position: relative;
}

@media screen and (max-width: 1700px) {
    .list-members .item {
        width: calc(14.28% - 10px);
    }
}
@media screen and (max-width: 1450px) {
    .list-members .item {
        width: calc(16.66% - 10px);
    }
}
@media screen and (max-width: 1350px) {
    .list-members .item {
        width: calc(20% - 10px);
    }
}

@media screen and (max-width: 1150px) {
    .list-members .item {
        width: calc(25% - 10px);
    }
}
@media screen and (max-width: 960px) {
    .list-members .item {
        width: calc(33.33% - 10px);
    }
}
@media screen and (max-width: 650px) {
    .list-members .item {
        width: calc(50% - 10px);
    }
}
.list-members .item a {
    display: block;
}

.list-members .img {
    display: inline-block;
    width: 10rem;
    height: 10rem;
    position: relative;
    border-radius: 50%;
    overflow: visible;
    background-color: var(--second-color);
}

.list-members .img svg {
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    fill: var(--main-color);
}

.list-members .item .img img:first-child {
    border-radius: 50%;
}

.list-members .item .title {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    display: block;
    color: var(--main-color);
    padding: 1rem 1rem 0;
    margin: 0 0 5px;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    overflow: hidden;
}

@media screen and (min-width: 1024px) {
    .list-members .item a:hover .title {
        color: var(--active-color);
    }
}

.list-members .item .wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 10px 8px;
    color: var(--secondary-color-information);
    font-size: 12px;
    line-height: 1.2;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.list-members .item .wrap .added {
    margin: 0 5px 0;
}

.list-members .item .wrap div {
    position: relative;
}

.list-members .item .wrap div svg {
    margin: 0 5px 0 0;
}

.list-members .item .wrap .views {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.list-members .item .wrap .views .new {
    color: var(--active-color);
}

@media screen and (max-width: 767px) {
    .comments_btn .tabs-link span {
        margin: 0 0 0 5px;
    }
}

.sort-wrap.sort_line {
    padding: 5px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.sort-wrap .link.done {
    background: var(--active-color);
    color: #fff;
    cursor: default;
    pointer-events: none;
}

@media screen and (min-width: 1025px) {
    .sort-wrap.sort_line .link:hover {
        background: var(--active-color);
        color: #fff;
    }
}

.fancybox-overlay .smileys-bar {
    max-width: 400px;
}

.list-messages.list-comments .text {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-start;
}

.list-messages.list-comments .comment-text {
    margin: 5px 0 0;
    display: inline-block;
}

.list-messages.list-comments .original-text img {
    display: inline-block;
    vertical-align: middle;
}

.list-messages.list-comments .bottom.sort-wrap.sort_line .item {
    margin: 0;
}

.list-messages.list-comments .bottom.sort-wrap.sort_line .link {
    padding: 8px 20px;
    border: none;
    min-height: 1px;
}

.list-messages .item.me {
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: row-reverse;
} 

.list-messages .item.me .image {
    margin: 0 0 0 10px;
} 

.list-messages .item.me .text {
    align-items: flex-end;
} 

.list-messages .item.me .comment-info {
    display: flex;
    align-items: center;
} 

.load-more {
    display: flex;
    margin-top: 30px;
    justify-content: center;
}

.load-more a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--second-color);
    color: var(--main-color);
    font-size: 14px;
    font-weight: 500;
    transition: color .3s, background .3s;
    padding: 10px 20px;
    min-width: 40px;
    font-weight: 500;
}

@media screen and (min-width: 1025px) {
    .load-more a:hover {
        background: var(--active-color);
        color: var(--card-color);
    }
}

.list-messages .margin-fix {
    display: flex;
    flex-direction: column;
}

.list-messages .margin-fix .item {
    order: 1;
}

.list-messages .margin-fix .item.load-more {
    order: 0;
}

@media screen and (max-width: 767px) {
    .fancybox-outer {
        max-height: 82vh;
        overflow-y: scroll;
    }
}

.subscriptions_holder {
    margin: 0 10px 0 0;
}

@media screen and (max-width: 1024px) {
    .navigation {
        z-index: 999 !important;
    }
}