/*private messages*/
.private_messages-data .estimate-amount .estimate-amount_free,
.private_messages-data .estimate-status .status-new {
  display: none;
}

.private_messages-data .new_messages .estimate-status .status-new {
  display: inline;
}

.private_message-thread_estimate.estimate-amount_free,
.private_message-thread_estimate.estimate-status0 li:nth-child(2),
.private_message-thread_estimate.estimate-status0 li:nth-child(3) {
  display: none;
}

/*site logo*/
.logo .img_logo img {
  max-width: 280px;
  max-height: 100px;
}

/*chat-html*/
@media only screen and (max-device-width: 1024px), only screen and (max-width: 640px) {
  .chat-html .dialogue {
    margin-top: 30px;
  }
}

/*top text logo*/
@media screen and (max-width: 600px) {
  #page-header .logo .text_logo {
    max-width: 180px;
    height: auto;
    padding: 10px;
    white-space: normal;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/** nyro modal fix */
.nyroModalCont {
  border: none !important;
  z-index: 10;
}

.nyroModalImage .nyroModalPrev, .nyroModalImage .nyroModalNext,
.nyroModalImage .nyroModalPrev:hover, .nyroModalImage .nyroModalNext:hover {
  -ms-background-position-y: center;
  background-position-y: center;
}

.nyroModalImage .nyroModalNext:hover  {
  background-image: url("../images/icon_next-cont.svg");
  right: 24px;
}

.nyroModalImage .nyroModalPrev:hover {
  left: 24px;
  background-image: url("../images/icon_prev-cont.svg");
}

/** qtip reset **/

.qtip.qtip-default {
  background-color: transparent;
  max-width: none;
  border: none;
  color: inherit;
  line-height: normal;
}

.qtip.qtip-default .qtip-tip {
  display: none;
}

.qtip.qtip-default .qtip-close.qtip-icon {
  display: none;
}

.qtip.qtip-default .qtip-content {
  padding: 0;
}

.modal__container {
  display: block;
  width: 360px;
  max-width: 100%;
}

/** bottom footer **/

#wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

#page-content {
  flex: 1 0 auto;
}

.footer-index {

  height: 220px; /* many links */
}

.sidebar {
  /*height: 100%;*/
  margin: 0;
  /*padding-bottom: 220px;*/
}

/** upgrade theme **/

body {
  background: #2a2241;
  color: #e9d5ff;
}

.header.site-header {
  height: 60px;
}

.header.site-header {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 60px;
  padding: 0 12px;
  box-sizing: border-box;
  background-color: #782cad;
  min-width: 320px;
}


/* header */

.header.site-header {
  position: sticky;
  left: 0;
  top: 0;
  right: 0;
  height: 60px;
  z-index: 20;
}

.topline {
  position: sticky;
  top: 60px;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 10;
}

.emoji-picker .header {
  position: static;
  display: block;
  min-height: 0;
  padding: 10px 4px;
  background-color: transparent;
  min-width: 0;
}

/*.page #page-content,*/
.page-model #page-content,
.page-chat #page-content {

}

.cont_page {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 0;
}

.cont {
  padding-left: 10px;
  padding-right: 10px;
}

.site-header.header .mobile-nav:not(.open),
.site-header.header .mobile-submenu:not(.open){
  /*transition:  none;*/
}

a {
  color: #f4d5ff;
}

.nav__item a {
  color: inherit;
  text-decoration: none;
}

a.btn,
a.auth-btn {
  text-decoration: none;
  text-align: center;
}

.btn__text,
.header .mobile-nav .profile .get-tokens {
  padding: 6px 16px;
  text-align: center;
}

.header .mobile-nav .mobile-login__btn .auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-drop__item a {
  color: inherit;
}

.header__profile .profile__preview {
  vertical-align: middle;
}

.header .profile-drop {
  width: 155px;
}

.header .lang__icon svg,
.header .lang__icon img {
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 18px;

}

.header .lang .lang-choice__icon svg,
.header .lang .lang-choice__icon img {
    display: inline-block;
    width: 14px;
    height: 10px;
}

.header .mobile-submenu .nav__item svg,
.header .mobile-submenu .nav__item img {
    width: 22px;
    height: 16px;
    margin-right: 10px;
}

.header .mobile-nav.unauth .mobile-login__btn {
  display: flex;
}

.header .mobile-nav.unauth .nav__item:last-of-type {
  display: block;
}

.form-forgot__success-text {
  background-color: rgba(33, 209, 237, 0.3);
  display: block;
  width: 100%;
  border-radius: 2px;
  font-size: 14px;
  color: #fff;
  border-left: 2px solid #21d1ed;
  padding: 16px;
  margin-bottom: 24px;
}
.form-forgot__error-text {
  display: block;
}

@media screen and (max-width: 930px) {

  /*body:not(.role-quest) .header__right {*/
  /*    display: -ms-inline-flexbox;*/
  /*    display: inline-flex;*/
  /*}*/
}

.page__wrapper, .page-model__wrapper, .page-terms__wrapper {
  /*height: calc(100% - 60px);*/
}

.footer {
  background-color: #2a0f2f;
}

.footer__inner .partners {
  max-width: 652px;
  margin-top: 30px;
}

.footer__inner .navigate {
  position: static;
}

.footer__inner .navigate ul.menu {
  display: flex;
}

.footer__inner .corporate {
  position: absolute;
  top: 30px;
}


select { /* inherited from input */
  display: block;
  width: 100%;
  height: 40px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: normal;
  line-height: 15px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  border: 1px solid transparent;
  border-radius: 2px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
  padding: 11px 11px 0;
  box-sizing: border-box;
  letter-spacing: 0.02em;
  background: #392247;
  transition: border 0.3s ease, padding 0.4s ease;
}

.modal__container select {
  background-color: rgba(251,241,255,0.15);
}

input, textarea,
.input input, .input textarea {
  -webkit-user-select: initial;
  -moz-user-select: initial;
  -ms-user-select: initial;
  user-select: initial;
}

.input input:-moz-placeholder {color: transparent;}
.input input::-moz-placeholder {color: transparent;}
.input input:-ms-input-placeholder {color: transparent;}
.input input::-webkit-input-placeholder {color: transparent;}

.input input:focus ~ .input__label,
.input textarea:focus ~ .input__label  {
    color: #da36ae;
    line-height: 10px;
    font-size: 8px;
    top: 14px;
}

.input textarea:not(:placeholder-shown) ~ .input__label,
.input input:not(:placeholder-shown) ~ .input__label {
    line-height: 10px;
    font-size: 8px;
    top: 14px;
}

#tip .tip-popup__group .input input:not(:placeholder-shown) ~ .input__label {
  top: 7px;
}

@media screen and (max-width: 767px) {
  .input input:not(:placeholder-shown) ~ .input__label,
  .input textarea:not(:placeholder-shown) ~ .input__label {
    top: 11px;
  }
}

/** fix offline and off classes **/

.models__card.offline {
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: transparent;
}

.models__card:hover .models__preload {
    opacity: 1;
    z-index: 4;
    pointer-events: none;
}

.models__card.offline .models__preload {
    opacity: 1;
    z-index: 4;
    pointer-events: none;
}

.models__card.offline .models__preload .models__preload-ring {
  display: none;
}

.models__card.offline .models__view .icon-offline {
    width: 35px;
    height: 10px;
}

.models__card:not(.offline) .models__badges .badge__item--live {
  display: inline-block;
}

.models__badges .badge__item.badge__item--live {
  width: 22px;
}

/** fix lang at models list **/

.models__flag {
  width: auto;
}

.models__flag img {
  width: 16px;
  height: 12px;
  display: inline-block;
  margin-right: 2px;
}

.models__profile a,
.menu__item a {
  color: inherit;
  text-decoration: none;
}

.models__view .icon-like {
  display: inline-block;
}

.models__view .icon-like.isFavorite svg {
  fill: #fade53;

}

.modelslist-msg_empty {
  display: none;
}
.empty .modelslist-msg_empty {
  display: block;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/** chat page **/

.model-previews .model-info__rate .fa {
  font-size: 16px;
  margin-right: 6px;
  color: #FADE53;
}

.model-previews__left {
  display: block;
  width: auto;
  margin: 0 -12px;
  --item-height: 256px;
  
}

.model-previews__left:after {
  content: '';
  display: table;
  clear: both;
}

.model-previews .model-previews__left .model-previews__item {
  float: left;
  width: 25%;
  height: var(--item-height);
  padding: 12px;
  background-color: transparent;
  margin: 0;
}

.model-previews .model-previews__left .model-previews__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.model-previews .model-previews__left .model-previews__item.model-about {
  width: 50%;
}

.model-previews .model-previews__left .model-previews__item.model-about .model-info {
  background-color: #432051;
  height: 100%;
  width: 100%;
  padding: 15px;
}

.model-previews__left .model-previews__item:not(.model-about):nth-child(1) {
  width: 50%;
  height: calc(var(--item-height) * 2);
}

.model-previews__left .model-previews__item:not(.model-about):nth-child(2) {
  margin-top: calc(var(--item-height) * (-1));
}

.model-previews__left .model-previews__item:not(.model-about):nth-child(3) {
  margin-top: calc(var(--item-height) * (-1));
  margin-left: 25%;
}

.model-previews__left .model-previews__item:not(.model-about):nth-child(4) {
  width: 50%;
  height: calc(var(--item-height) * 2);
}

.model-previews__left .model-previews__item:not(.model-about):nth-child(5) {
  height: calc(var(--item-height) * 2);
}

/** profile page **/
.model .top-block .main-video__flag {
  width: auto;
  margin: 21px 0;
}
.model .top-block .main-video__flag img {
  margin-right: 6px;
}

.model .top-block a {
  color: inherit;
  text-decoration: none;
}

.tip-pressets__item button {
  background-color: transparent;
  border: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* footer mobile */

@media screen and (max-width: 650px) {
  .footer__inner .navigate {
    display: none;

  }

  .footer__inner .partners {
    width: 100%;
    height: 80px;
    margin-top: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    justify-content: center;
  }
  .footer__inner .partners__item {
    height: 40px;
  }
  .footer__inner .corporate {
    display: flex;
    flex-wrap: wrap;
    position: static;
    justify-content: space-between;
  }
  .footer__inner .corporate__logo {
    flex: 1 1 48%;
    order: 1;
  }
  .footer__inner .corporate__info {
    flex: 1 0 100%;
    margin-bottom: 0;
    order: 3;
  }
  .footer__inner .corporate__socials {
    flex: 1 1 48%;
    order: 2;
    display: flex;
    justify-content: space-between;
  }
  .footer__inner .corporate__socials a:not(:last-child) {
    margin-right: 0;
  }

}

#terms-inner span {
  display: inline;
}

.filter {
  /*top: 120px;*/
  z-index: 15;

}


.select2-container--default .select2-selection--multiple {
  background-color: #392247;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #782cad;
}

#frm_profile_performer-screenname,
textarea.data,
.btn_circle .btn_text,
.white_box .wb-hdr h2, .white_box .wb-hdr h3 {
  color: #e9d5ff;
}

.select2-dropdown {
  border: 1px solid #6848B7FF;
  padding: 4px 12px 0;
  background: #1E192D;
}
.select2-selection__rendered span,
.select2-results__options span{
  color: #ece0e0 !important;
}
.select2-container--open .select2-dropdown--below {
  border-top: 1px solid transparent;
}
.select2-container--default .select2-results>.select2-results__options {
  max-height: 250px;
  margin-top: 10px;
  padding: 15px 0 0;
  border-top: 1px solid #6848b7;
}
.select2-container--default .select2-results__option[aria-selected=true] {
  display: none;
}
.select2-results__options::-webkit-scrollbar {
  width: 8px;
  background-clip: padding-box;
  margin: 0 4px;
}
.select2-results__options::-webkit-scrollbar-track {
  background-color: #140F22;
  height: 18px;
  padding: 0px 4px;
  border-radius: 4px;
}

.select2-results__options::-webkit-scrollbar-thumb {
  background-clip: padding-box;
  background-color: #6F34A7;
  border-radius: 4px;
}

.select2-results__options::-webkit-scrollbar-button {
  display: none;
}