:root {
  --brand-color: #754be9;
  --brand-color-dark: #47096a;
  --brand-second-color: #d4a373;
}

/**/

/* LOGO -------------------------------------------------------------------- */
.main-logo__center {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0.4;
}

.main-logo__center span {
  margin-top: 26px;
}

.main-logo__center .logo-font__title,
.main-logo__center .logo-font__title span {
  font-size: 24px !important;
}

.main-logo__center span p {
  font-size: 18px;
  text-align: center;
}

.logo-font__title {
  border-radius: 4px;
  border: 2px solid var(--brand-color-dark);

  margin-top: 6px !important;
  height: 50px !important;
  padding: 14px !important;
}

.logo-font__title,
.main-logo__center .logo-default p {
  color: var(--brand-color-dark) !important;
}

.main-logo__center .logo-default p:before,
.main-logo__center .logo-dark p:before {
  background-color: black;
}

/**/

/* FEEDBACK -----------------------------------------------------------------*/
.feedback__modal-wrapper {
  max-width: 368px !important;
  border: 2px solid var(--brand-color);

  h3,
  p,
  input[name="feed-back-modal-name"],
  input[name="feed-back-modal-phone"] {
    text-align: center !important;
  }

  .text-start {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* SLIDER ------------------------------------------------------------------ */
.slider__title_font-size {
  font-size: 80px !important;

  @media (max-width: 991px) {
    font-size: 40px !important;
  }

  @media (max-width: 540px) {
    font-size: 24px !important;
  }
}

.slider__wrapper-button {
  display: flex;
  justify-content: left;
}

#slider.inspiro-slider.dots-creative .flickity-page-dots .dot:after,
.carousel.dots-creative .flickity-page-dots .dot:after {
  background: var(--brand-color-dark) !important;
  border-radius: 0 !important;
}

/* HOME_Document ----------------------------------------------------------- */
.home-document__link-wrapper:hover {
  border-color: var(--brand-color) !important;
}

.home-document__link-wrapper:hover .icon i {
  color: var(--brand-color) !important;
}

/* HOME_CREDIT ------------------------------------------------------------------ */
.plan:hover .credit-menu__icons i,
.plan:hover .plan-price__title {
  color: var(--brand-color) !important;
}

.plan:hover .plan-button a {
  color: var(--brand-color) !important;
  border-color: var(--brand-color) !important;
}

.credit-menu__icons i,
.plan-price__title,
.credit__button {
  transition: color 0.5s ease;
}

.plan-price__title {
  font-size: 70px !important;
  font-weight: 600 !important;
  position: relative !important;
  text-align: center !important;
  padding: 20px 0 !important;
  color: #3c4043 !important;
}

/* HOME_BANKS -------------------------------------------------------------- */
.banks_links li a {
  display: flex;
  height: 40px;
  align-items: center;
}

.banks_links li a img {
  height: inherit;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: grayscale(100%);
}

.banks_links li:hover img {
  filter: grayscale(0);
}

/* APARTMENTS -------------------------------------------------------------- */
.apartments-detail__nav .active {
  color: var(--brand-color) !important;
  border-bottom-color: var(--brand-color-dark) !important;
}

.apartments-detail__nav ul {
  display: flex;
  justify-content: center;

  @media (max-width: 480px) {
    flex-direction: column;
    align-items: center;
  }
}

.apartments-detail__nav ul li a:hover {
  color: var(--brand-color-dark) !important;
}

.apartments-detail__wrapper {
  width: 180px !important;
  margin-right: 1px !important;
  margin-left: 5px !important;
  --bs-gutter-x: 0 !important;

}

.apartments-detail__wrapper .card-body {
  padding: 0.7rem 0.7rem !important;
  height: 92px !important;
}

.apartments-detail__wrapper .card {
  transition: all 1s ease;
}

.apartments-detail__wrapper .card:hover {
  border-color: var(--brand-color) !important;
  transition: all 1s ease;
}

.apartments-sheet__detail-layout_wrapper {
  position: relative;
  padding: 0;
  margin-bottom: -2px !important;

  display: block;
  /*justify-content: center;*/
  /*align-content: center;*/
}

.apartments-sheet__detail-layout_wrapper .post-item .post-image {
  display: flex;
  justify-content: center;
  align-content: center;
}

.apartments__detail-room_slider-wrapper .polo-carousel-item {
  height: 306px !important;

  @media (max-width: 991px) {
    height: 543px !important;
  }

  @media (max-width: 767px) {
    height: 395px !important;
  }

  @media (max-width: 575px) {
    height: 323px !important;
  }

  @media (max-width: 460px) {
    height: 223px !important;
  }
}

.apartments__detail-room_slider-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Режет и адаптирует картинку без искажения пропорций */
  object-position: center center !important;
}

/* корректировки по слайдеру в разделе .../kvartira/58/ */
.room-detail__carousel-wrapper .polo-carousel-item {
  display: flex !important;
  justify-content: center !important;
}

.portfolio-description a:hover i {
  background: var(--brand-color) !important;
  border-color: var(--brand-color-dark) !important;
}

.building-status__wrapper {
  background: var(--brand-color) !important;
}


/* QUIZ -------------------------------------------------------------------- */
.quiz-tab__custom {
  cursor: default !important;
}

.quiz-tab__custom:hover {
  color: rgba(60, 64, 67, 0.8) !important;
}

.quiz-tab__li .active {
  color: var(--brand-color) !important;
  border-bottom-color: var(--brand-color) !important;
}

.quiz-choice__custom {
  accent-color: var(--brand-color);
}


/* различный текст --------------------------------------------------------- */

/* текст для header - ДЛЯ главных страниц приложений */
.header-menu__wrapper_color-dark .header__slogan {
  color: #3c4043 !important;
  font-size: 14px !important;
}

/* header меню текст */

.header-menu__font-color li a span {
  color: #151515 !important;
}

/* разделитель текста (полоска) */

.heading-text.heading-section h2:before {
  background-color: var(--brand-color) !important;
}

/* меню */

#mainMenu nav > ul > li:hover > a,
#mainMenu nav > ul > li > ul > li:hover > a {
  color: var(--brand-color) !important;
}

.footer-menu__link a:hover {
  color: var(--brand-color) !important;
}

/**/

/* различные элементы ------------------------------------------------------ */

#scrollTop:after,
#scrollTop:before {
  background-color: var(--brand-color) !important;
}

.btn__color-brand {
  background: var(--brand-color) !important;
  border: none !important;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.7) !important;
  border-radius: 5px !important;
}

.btn__color-brand_disabled {
  background: grey !important;
  border: none !important;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.7) !important;
  border-radius: 5px !important;
  cursor: default !important;
}

/* кнопка - ссылка */
.btn-link__box {
  margin-bottom: 20px !important;
  margin-top: 40px !important;
}

.btn-link:hover {
  color: var(--brand-color) !important;
}

.btn-link__color-custom {
  color: var(--brand-color);
}

@media (max-width: 991px) {
  .btn-header__callback {
    float: left !important;
  }
}

/* кнопки для слайдера */
.flickity-prev-next-button:hover {
  background: var(--brand-color) !important;
}

/* кнопки для увеличения в портфолио */
.icon-maximize:hover {
  background: var(--brand-color) !important;
  border-color: var(--brand-color) !important;
}

/* цвет для текста */
.font__color-brand {
  color: var(--brand-color) !important;
}

.font__color-brand-dark {
  color: var(--brand-color-dark) !important;
}

.font__color-black {
  color: black !important;
}

/* whatsapp float */
.whatsapp__right-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 64px;
  height: 64px;
  background-color: #28a745;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: pulse__whatsapp__right-float 2s infinite;
}

.whatsapp__right-float i {
  color: white;
  font-size: 32px;
}

@keyframes pulse__whatsapp__right-float {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(0, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
  }
}
/* end: whatsapp float */

/* phone float */
.phone__ring-float {
  position: fixed;
  bottom: 180px;
  right: 20px;
  width: 64px;
  height: 64px;
  background-color: var(--brand-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: pulse__phone_ring-float 1.5s infinite;
}

.phone__ring-float i {
  color: white;
  font-size: 32px;
}

@keyframes pulse__phone_ring-float {
  0% {
    box-shadow: 0 0 0 0 rgba(250, 132, 11, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(0, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
  }
}
/* end: phone float */

/* sticker float */
.sticker__right-float {
  position: fixed;
  bottom: 54px;
  right: 106px;
  width: 280px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.sticker__right-float .alert {
  border: 2px solid var(--brand-color);
}

.sticker__right-float span {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

.sticker__right-float .custom__btn-close {
  position: absolute;
  top: 5px;
  right: 15px;
  color: var(--brand-color) !important;
  font-size: 18px;
  font-weight: bold;
  background: transparent;
  border: transparent;
  opacity: 1;
}
/* end:sticker float */

.text-shadow__dark-custom {
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.75),
    0 1px 3px rgba(0, 0, 0, 0.9);
}

/**/

/* ПЕРЕОПРЕДЕЛЕНО ---------------------------------------------------------- */

/* контакты */
.testimonial-item {
  padding: 10px !important;
}

@media (max-width: 991px) {
  .testimonial-box {
    width: 100% !important;
  }
}
/* end: контакты */

/* home -> виды декорирования */
.tabs.tabs-vertical .nav-tabs .nav-link.active {
  border-right: 2px solid var(--brand-color) !important;
}
/* end: home -> виды декорирования */

/* end: ПЕРЕОПРЕДЕЛЕНО ---------------------------------------------------------- */
