/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container,
body > .container-fluid {
  padding: 100px 15px 30px 15px;
}

body > .container.with-alert-top,
body > .container-fluid.with-alert-top {
  padding: 150px 15px 30px 15px;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

code {
  font-size: 80%;
}

.form-control.price-val {
  font-size: 1.7rem !important;
  font-weight: bold !important;

  border: none !important;
}

.author-phone a {
  font-size: 1.3rem;
}

a.phone-is-protected {
  color: red;
}

.is_owner_mark_class {
  background-color: #96f0ab;
}

.price-change-label-area {
  margin-bottom: 40px;
}
.sourse-link-area {
  margin-top: 131px;
}

.sourse-link-area a {
  text-decoration: none;
}

.source-image {
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-image: url(/images/source.png);
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.source-image.source-14 {
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-image: url(/images/source-14.jpg);
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.object-map {
  height: 600px;
  width: 100%;
}

.comments-is-exist-input {
  border: 2px solid #ffc107;
  border-radius: 5px;
}

.btn-history-object-price {
  cursor: pointer;
  font-size: 30px;
}

.object-item .card-header,
.object-item .card-body,
.object-item .card-footer {
  padding: 0.5rem;
}

.object-item .form-group {
  margin-bottom: 0.5rem;
}

.object-item .form-group.object-description {
  /*margin-bottom: 0rem;*/
}

/*avito*/
.source-1 {
  background-position: 0 -64px;
}

/*cian*/
.source-2 {
  background-position: 0 -80px;
}

/*iir*/
.source-3 {
  background-position: 0 -96px;
}

/*H1*/
.source-4 {
  background-position: 0 -112px;
}

/*Юла*/
.source-5 {
  background-position: 0 -128px;
}

/*yandex*/
.source-6 {
  background-position: 0 -256px;
}

/*egent*/
.source-8 {
  background-position: 0 -176px;
}

/*купипродай*/
.source-10 {
  background-position: 0 -208px;
}

/*мир квартир*/
.source-11 {
  background-position: 0 -272px;
}

/*life-realty*/
.source-13 {
  background-position: 0 -304px;
}

.ala-input {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

/*перекраска фона заблокированных элемнтов формы в белый цвет*/
.object-item-other-agent .form-control:disabled,
.object-item-other-agent .form-control[readonly] {
  background-color: #ffffff;
  opacity: 1;
}

@media (max-width: 768px) {
  .show-map-area {
    margin-bottom: 20px;
  }
}

.popover.popover-price-history .popover-header {
  text-align: center;
}

.popover.popover-price-history {
  width: 340px !important;
  max-width: 340px !important;
}

.popover-body {
  font-weight: bold;
  max-height: 125px;
  overflow: auto;
}

.popover-body table {
  margin-bottom: 0;
}

.tooltip-inner.other-agents-comments {
  text-align: left;
}

.tooltip-inner hr {
  margin: 5px 0;
  border-color: #ffffff;
}

div.tooltip,
div.tooltip-inner {
  max-width: 400px !important;
}

@media (min-width: 768px) {
  div.tooltip,
  div.tooltip-inner {
    max-width: 600px !important;
  }
}

@media (max-width: 400px) {
  div.tooltip,
  div.tooltip-inner {
    max-width: 97% !important;
  }
}

.bg-d9d9d9 {
  background: #d9d9d9;
}

.bg-ff99cc {
  background: #ff99cc;
}

.bg-cc99ff {
  background: #cc99ff;
}

.bg-99ff99 {
  background: #99ff99;
}

.bg-66ffff {
  background: #66ffff;
}

.bg-ffff00 {
  background: #ffff00;
}

.bg-99ccff {
  background: #99ccff;
}

.bg-ccffcc {
  background: #ccffcc;
}

.bg-green {
  background: #00ff00;
}

.bg-red {
  background: #ff0000;
}

.bg-ccffff {
  background: #ccffff;
}

.bg-ff9999 {
  background: #ff9999;
}

.bg-ffcc99 {
  background: #ffcc99;
}

.bg-ffcccc {
  background: #ffcccc;
}

.bg-ffff99 {
  background: #ffff99;
}

.bg-66ff99 {
  background: #66ff99;
}

.bg-ffccff {
  background: #ffccff;
}

@font-face {
  font-family: "San Francisco Pro Display";
  font-weight: 300;
  font-style: normal;
  src: url("../fonts/sf-300.ttf") format("truetype"),
    url("../fonts/sf-300.woff2") format("woff2");
}
@font-face {
  font-family: "San Francisco Pro Display";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/sf-400.ttf") format("truetype"),
    url("../fonts/sf-400.woff2") format("woff2");
}
@font-face {
  font-family: "San Francisco Pro Display";
  font-weight: 500;
  font-style: normal;
  src: url("../fonts/sf-500.ttf") format("truetype");
}
@font-face {
  font-family: "San Francisco Pro Display";
  font-weight: 700;
  font-style: normal;
  src: url("../fonts/sf-700.ttf") format("truetype"),
    url("../fonts/sf-700.woff2") format("woff2");
}
.item {
  width: 1225px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .item {
    width: 690px;
    margin-bottom: 30px;
  }
}
@media (max-width: 320px) {
  .item {
    width: 290px;
  }
}
.header {
  position: relative;
  padding: 20px 20px 10px;
  height: 88px;
  display: flex;
  background-color: #96efab;
  border-radius: 10px 10px 0 0;
}
.header_agent {
  background-color: #e9ecef;
}
.header__block-container {
  display: flex;
}
.header__date-container {
  width: 176px;
}
.header__date-container > *:not(:first-child) {
  margin-top: 10px;
}
.header__date-container .status {
  display: none;
}
.header__date-wrapper {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
}
.header__date {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.header__estate {
  width: 376px;
  display: flex;
  justify-content: space-between;
  text-align: center;
}
.header__object-name,
.header__size,
.header__floor,
.header__city {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}
.header__size,
.header__floor {
  padding-left: 30px;
}
.header__city {
  margin-top: 10px;
  text-align: start;
}
.header__block:not(:first-child) {
  margin-left: 144px;
}
.header__print {
  margin-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__printing {
  display: flex;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.header__number {
  margin-right: 147px;
  background-color: #96efab;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 768px) {
  .header {
    height: 156px;
    padding: 20px 20px 10px;
    justify-content: space-between;
  }
  .header__block-container {
    flex-direction: column;
  }
  .header__block-container > .header__block:not(:first-child) {
    margin-top: 10px;
  }
  .header__block:not(:first-child) {
    margin-left: 0;
  }
  .header__date-container {
    display: flex;
    width: 299px;
  }
  .header__date-container > *:not(:first-child) {
    margin: 0 0 0 20px;
  }
  .header__date-container .status {
    display: flex;
    align-self: end;
  }
  .header__date-wrapper {
    flex-direction: column;
  }
  .header__date:not(:first-child) {
    margin-top: 10px;
  }
  .header__print {
    height: 100%;
    margin-top: 0;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
  }
  .header__printing {
    margin-bottom: 12px;
  }
  .header__number {
    margin: 12px 0 0;
  }
}
@media (max-width: 320px) {
  .header {
    height: 166px;
    padding: 10px;
    flex-direction: column;
  }
  .header__block-container + .header__block {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .header__date-container {
    width: 156px;
    flex-direction: column;
  }
  .header__date-container > *:not(:first-child) {
    margin: 10px 0 0 0;
  }
  .header__date-container .status {
    align-self: start;
  }
  .header__date-wrapper {
    flex-direction: row;
  }
  .header__date:not(:first-child) {
    margin-top: 0;
  }
  .header__estate {
    width: initial;
  }
  .header__object-name,
  .header__size,
  .header__floor,
  .header__city {
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
  }
  .header__size,
  .header__floor {
    padding-left: 26px;
  }
  .header__number {
    margin: 0;
  }
  .header__printing {
    margin-top: 10px;
  }
}
.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #ffffff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1490196078);
  padding: 10px 20px 20px;
}
.content__block-wrapper {
  display: flex;
  justify-content: space-between;
}
.content__contacts {
  width: 315px;
  display: flex;
  flex-direction: column;
}
.content__contacts,
.content__object-info {
  position: relative;
  margin-left: 20px;
}
.content .slider + .button {
  margin-top: 19px;
}
.content__address {
  max-width: 500px;
}
.content__address,
.content__district,
.content__micro-district {
  color: #6c757d;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}
.content__district,
.content__micro-district {
  margin-top: 15px;
}
.content__description {
  width: 500px;
  height: 168px;
  overflow-y: scroll;
  margin-top: 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 20px;
}
.content__avito-label {
  display: block;
  cursor: pointer;
}
.content__triangle {
  padding-left: 8px;
}
.content__slider > .content__avito-label,
.content__slider > .button_numbers,
.content__slider > .price,
.content__slider > .content__address,
.content__slider > .content__district,
.content__slider > .content__micro-district {
  display: none;
}
.content__object-info > .feedback {
  bottom: 0;
  left: 0;
}
.content__object-info > .price,
.content__object-info > .owner {
  display: none;
}
.content__contacts > .owner {
  margin-top: 20px;
}
.content__contacts > .feedback {
  display: none;
}
.content__contacts > .report-select {
  margin-top: auto;
  align-self: end;
}
.content__contacts > .button_numbers {
  margin-top: 15px;
}
.content__contacts > .phones + .content__avito-label {
  margin-top: 131px;
}
.content__contacts > .phones_open + .content__avito-label {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .content__slider > .content__avito-label,
  .content__slider > .button_numbers {
    display: block;
  }
  .content__slider > .button_numbers {
    margin-top: 20px;
  }
  .content__slider > .phones {
    margin-top: 20px;
  }
  .content__slider > .phones + .content__avito-label {
    margin-top: 150px;
  }
  .content__slider > .phones_open + .content__avito-label {
    margin-top: 50px;
  }
  .content__object-info > .owner {
    margin-top: 10px;
    display: flex;
  }
  .content__object-info > .feedback,
  .content__contacts > .price,
  .content__contacts > .owner,
  .content__contacts > .content__avito-label,
  .content__contacts > .button_numbers {
    display: none;
  }
  .content__contacts > .report-select {
    margin-top: 0;
  }
  .content__object-info > .price {
    display: flex;
  }
  .content__contacts {
    margin: 20px 0 0 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: row;
  }
  .content__contacts > .feedback {
    display: block;
  }
  .content__description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    width: 430px;
    height: 192px;
    margin-top: 10px;
  }
  .content__object-info {
    margin-left: 10px;
  }
  .content__address,
  .content__district,
  .content__micro-district {
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
  }
  .content .slider + .button {
    margin-top: 10px;
  }
}
@media (max-width: 320px) {
  .content {
    padding: 10px;
  }
  .content__block-wrapper {
    flex-direction: column;
  }
  .content__slider > .price,
  .content__slider > .content__address,
  .content__slider > .content__district,
  .content__slider > .content__micro-district {
    display: block;
  }
  .content__slider > .content__address,
  .content__slider > .price,
  .content__slider > .button_numbers,
  .content__slider > .phones,
  .content__slider > .phones + .content__avito-label,
  .content__slider > .phones_open + .content__avito-label {
    margin-top: 8px;
  }
  .content__object-info {
    display: flex;
    flex-direction: column-reverse;
    margin: 0;
  }
  .content__object-info > .price,
  .content__object-info > .content__address,
  .content__object-info > .content__district,
  .content__object-info > .content__micro-district {
    display: none;
  }
  .content__object-info > .owner {
    margin-top: 8px;
  }
  .content__description {
    margin-top: 8px;
    width: 100%;
    height: 264px;
  }
  .content__contacts {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
  }
  .content__contacts > .report-select {
    margin-top: 24px;
  }
}


.text__lg {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}

.text__md {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.text__sm {
  font-weight: 400;
  font-size: 12.8px;
  line-height: 19.2px;
}

.text__h1 {
  font-weight: 500;
  font-size: 40px;
  line-height: 48px;
}

.text__h2 {
  font-weight: 500;
  font-size: 32px;
  line-height: 38.4px;
}

.text__h3 {
  font-weight: 500;
  font-size: 28px;
  line-height: 33.6px;
}

.text__h4 {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}

.text__h5 {
  font-weight: 500;
  font-size: 16px;
  line-height: 19.2px;
}

.display-1 {
  font-weight: 300;
  font-size: 96px;
  line-height: 115.2px;
}

.display-2 {
  font-weight: 300;
  font-size: 88px;
  line-height: 105.6px;
}

.display-3 {
  font-weight: 300;
  font-size: 72px;
  line-height: 86.4px;
}

.display-4 {
  font-weight: 300;
  font-size: 56px;
  line-height: 67.2px;
}

.text__bold-lg {
  font-weight: 700;
  font-size: 24px;
  line-height: 28.8px;
}

.text__bold-md {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 768px) {
  .text__lg {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
  }
}
@media (max-width: 320px) {
  .text__lg {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
  }
}
.slider {
  width: 300px;
}
.slider__slide {
  position: relative;
  width: 300px;
  background-color: #868e96;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider__slide:hover > .slider__prev,
.slider__slide:hover > .slider__next {
  display: block;
}
.slider__prev,
.slider__next {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f8f9fa;
  background-image: url("../image/slider-arrow.svg");
  background-repeat: no-repeat;
  background-position: 7px center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
}
.slider__prev {
  left: 14px;
}
.slider__next {
  right: 14px;
  transform: scaleX(-1) translateY(-50%);
}
.slider__control {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 39px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider__bullets {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  width: 80px;
  height: 24px;
  background-color: rgba(191, 191, 191, 0.4392156863);
  border-radius: 100px;
  backdrop-filter: blur(40px);
}
.slider__bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f8f9fa;
  cursor: pointer;
  opacity: 30%;
}
.slider__bullet_active {
  opacity: 1;
  background-color: #007bff;
}
.slider__track-wrapper {
  width: 100%;
  padding: 0;
  margin-top: 16px;
  position: relative;
  overflow-x: scroll;
  height: 80px;
}
.slider__track-wrapper::-webkit-scrollbar {
  display: none;
}
.slider__track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
}
.slider__item {
  width: 80px;
  height: 80px;
  padding: 4px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  cursor: pointer;
}
.slider__item:not(:first-child) {
  margin-left: 10px;
}
.slider__item_active {
  border: 1px solid #007bff;
}
.slider__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

@media (max-width: 768px) {
  .slider {
    width: 210px;
  }
  .slider__track-wrapper {
    margin-top: 10px;
  }
  .slider__slide {
    width: 210px;
    height: 210px;
  }
  .slider__item {
    width: 70px;
    height: 70px;
  }
}
@media (max-width: 320px) {
  .slider {
    width: 270px;
    height: 270px;
  }
  .slider__track-wrapper {
    display: none;
  }
  .slider__slide {
    width: inherit;
    height: inherit;
  }
}
.button {
  padding: 0 52.5px;
  border: 0;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  height: 46px;
  border-radius: 4.8px;
  background-color: #007bff;
  color: #ffffff;
  letter-spacing: 0;
  cursor: pointer;
  text-wrap: nowrap;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}
.button__left-addon,
.button__right-addon {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.button__left-addon {
  margin-right: 4px;
}
.button__right-addon {
  margin-left: 4px;
}
.button__img {
  max-width: 100%;
  max-height: 100%;
}
.button_feedback {
  padding: 0;
  position: relative;
  width: 62px;
  height: 46px;
}
.button_feedback:before,
.button_feedback:after {
  top: 50%;
  left: 50%;
  content: "";
  position: absolute;
  background-color: #ffffff;
  border-radius: 20px;
  transform: translate(-50%, -50%);
}
.button_feedback:before {
  width: 16.875px;
  height: 2px;
}
.button_feedback:after {
  left: 50%;
  height: 16.875px;
  width: 2px;
}
.button_report {
  padding: 0 16px;
  min-width: 179px;
  height: 46px;
  color: #17a2b8;
  background-color: #ffffff;
  border: 1px solid #17a2b8;
}
.button_numbers {
  padding: 0 16px;
  width: 194px;
  height: 46px;
  background-color: #343a40;
  color: #ffffff;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}
.button_tablet-visible {
  display: none;
}
.button_dropdown {
  width: 193px;
  height: 80px;
  padding: 8px 1px 8px 0;
  border-radius: 4px;
  border: 1px solid #dfdfdf;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.button_sold-badge {
  width: 192px;
  height: 32px;
  padding: 4px 24px;
  background-color: #d1ecf1;
}
.button_agent-badge {
  width: 192px;
  height: 32px;
  padding: 4px 24px;
}

@media (max-width: 768px) {
  .button {
    padding: 0 12px;
    width: 115px;
    height: 36px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
  .button__left-addon,
  .button__right-addon {
    width: 24px;
    height: 24px;
  }
  .button_numbers {
    width: 153px;
  }
  .button_feedback {
    width: 48px;
  }
  .button_feedback:before {
    width: 13.5px;
    height: 1.5px;
  }
  .button_feedback:after {
    width: 1.5px;
    height: 13.5px;
  }
  .button_report {
    width: 160px;
  }
}
@media (max-width: 320px) {
  .button {
    height: 29px;
    justify-content: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
  }
  .button__left-addon {
    width: 21px;
    height: 21px;
    margin-right: 4px;
  }
  .button_feedback {
    width: 37px;
  }
  .button_feedback:before {
    width: 11.81px;
    height: 1.33px;
  }
  .button_feedback:after {
    width: 1.33px;
    height: 11.81px;
  }
}
.feedback__title {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.feedback__form {
  display: flex;
  justify-content: start;
  margin-top: 8px;
}
.feedback__input {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  padding-left: 16px;
  width: 382px;
  height: 46px;
  border-radius: 4.8px;
  border: 1px solid #ced4da;
}
.feedback__input:focus-visible {
  outline: none;
}

@media (max-width: 768px) {
  .feedback {
    width: 100%;
  }
  .feedback__input {
    padding-left: 12px;
    width: 402px;
    height: 36px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
}
@media (max-width: 320px) {
  .feedback__input {
    padding-left: 8px;
    width: 233px;
    height: 29px;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
  }
}
.price {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.price__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 28.8px;
}
.price__icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .price__title {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
  }
}
@media (max-width: 768px) {
  .price__icon {
    margin-top: 10px;
  }
}
.owner__title {
  font-weight: 500;
  font-size: 16px;
  line-height: 19.2px;
  color: #28a745;
}
.owner__name {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  margin-top: 16.5px;
}

@media (max-width: 768px) {
  .owner {
    display: flex;
  }
  .owner__name {
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
    margin: 0 0 0 20px;
  }
}
@media (max-width: 320px) {
  .owner {
    flex-direction: column;
  }
  .owner__name {
    margin: 13px 0 0;
  }
}
.phones {
  display: none;
}
.phones_open {
  display: block;
}
.phones__item {
  margin-top: 20px;
}
.phones__link {
  text-decoration: none;
  color: #007bff;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}
.phones__link:hover,
.phones__link:active {
  color: #007bff;
}
.phones__link_fake {
  color: #dc3545;
}
.phones__link_fake:hover,
.phones__link_fake:active {
  color: #dc3545;
}
@media (max-width: 768px) {
  .phones .phones__item {
    margin-top: 15px;
  }
  .phones .phones__link {
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
  }
}

.status {
  width: 73px;
  height: 18px;
  color: #ffffff;
  background-color: #28a745;
  border-radius: 4px;
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.price-history {
  position: relative;
  width: 360px;
  height: 103px;
  border-radius: 4.8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
}
.price-history__arrow {
  position: absolute;
  z-index: 1;
  right: -8px;
  top: 17.5px;
  width: 8px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.price-history__header {
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  background-color: #f7f7f7;
  border-radius: 4.8px 4.8px 0 0;
  border-bottom: 1px solid #ebebeb;
}
.price-history__close {
  width: 16px;
  height: 16px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  border: 0;
  background-color: transparent;
}
.price-history__title {
  font-weight: 500;
  font-size: 16px;
  line-height: 19.2px;
}
.price-history__optionlist {
  overflow-y: scroll;
  height: 66px;
  padding: 8px 12px;
}
.price-history__optionlist::-webkit-scrollbar {
  width: 13.5px;
}
.price-history__optionlist::-webkit-scrollbar-track {
  background-color: transparent;
}
.price-history__optionlist::-webkit-scrollbar-thumb {
  background-color: #dfdfdf;
  height: 33px;
  border-right: 3.5px solid transparent;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  background-clip: content-box;
  cursor: pointer;
}
.price-history__option {
  display: flex;
  padding-bottom: 10px;
}
.price-history__cell {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  height: 20px;
}
.price-history__cell:not(:first-child) {
  margin-left: 10px;
}
.price-history__cell_sum {
  font-weight: 500;
  font-size: 16px;
  line-height: 19.2px;
}
.price-history__cell_disable {
  color: #6c757d;
}
.price-history__cell_active {
  color: #28a745;
}

@media (max-width: 320px) {
  .price-history {
    width: 300px;
    height: 144px;
  }
  .price-history__arrow {
    transform: scaleX(-1);
    position: absolute;
    z-index: -1;
    left: -8px;
    top: 17.5px;
    width: 8px;
    height: 16px;
  }
  .price-history__optionlist {
    height: 107px;
  }
  .price-history__optionlist::-webkit-scrollbar {
    width: 17px;
  }
  .price-history__optionlist::-webkit-scrollbar-thumb {
    border-right: 7px solid transparent;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
  }
  .price-history__option {
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #ebebeb;
    padding-top: 10px;
  }
  .price-history__cell:not(:first-child) {
    margin-left: 0;
  }
}
.photo-gallery {
  padding: 20px 47px 54px 47px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #343a40;
  overflow: hidden;
  z-index: 100;
}
.photo-gallery__info {
  position: absolute;
  top: 20px;
  left: 51px;
  z-index: 1;
  width: 352px;
  height: 170px;
  background: linear-gradient(to bottom, #000000, rgba(0, 0, 0, 0.1254901961));
  color: #ffffff;
  padding: 1px 1px;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}
.photo-gallery__info-object {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.photo-gallery__info-city {
  margin-bottom: 10px;
}
.photo-gallery__info-location {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.photo-gallery__close {
  margin: 0;
  padding: 0;
  border: 0;
  position: absolute;
  top: 20px;
  right: 47px;
  z-index: 1;
  width: 24px;
  height: 24px;
  background-color: transparent;
}
.photo-gallery__close::before,
.photo-gallery__close::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background-color: #ffffff;
}
.photo-gallery__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.photo-gallery__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.photo-gallery__slider {
  height: 100%;
  padding-top: 34px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.photo-gallery__slide {
  height: 200px;
  flex: 1;
}
.photo-gallery__track {
  margin-top: 40px;
  height: 80px;
  display: flex;
  overflow-x: scroll;
}
.photo-gallery__track::-webkit-scrollbar {
  display: none;
}
.photo-gallery__list {
  display: flex;
}
.photo-gallery__preview {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  background-color: #ffffff;
  cursor: pointer;
  padding: 3px 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photo-gallery__preview:not(:first-child) {
  margin-left: 39.1px;
}
.photo-gallery__img {
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.photo-gallery__prev,
.photo-gallery__next {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f8f9fa;
  background-image: url("../image/slider-arrow.svg");
  background-repeat: no-repeat;
  background-position: 7px center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
}
.photo-gallery__prev {
  left: 47px;
}
.photo-gallery__next {
  right: 47px;
  transform: translateY(-50%) scaleX(-1);
}
.photo-gallery__control {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photo-gallery__bullets {
  padding: 8px 12px;
  width: 80px;
  height: 24px;
  border-radius: 100px;
  background-color: rgba(191, 191, 191, 0.4392156863);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.photo-gallery__bullet {
  padding: 0;
  margin: 0;
  border: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f8f9fa;
  transition: background-color 0.4s;
}
.photo-gallery__bullet_active,
.photo-gallery__bullet:hover {
  background-color: #007bff;
}

@media (max-width: 768px) {
  .photo-gallery {
    padding: 20px 39px;
  }
  .photo-gallery__info {
    left: 39px;
  }
  .photo-gallery__control {
    display: none;
  }
  .photo-gallery__track {
    margin-top: 46px;
  }
  .photo-gallery__prev {
    left: 39px;
  }
  .photo-gallery__next {
    right: 39px;
  }
  .photo-gallery__info {
    width: 298px;
    height: 150px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
  }
}
@media (max-width: 320px) {
  .photo-gallery {
    padding: 15px 15px 9px;
  }
  .photo-gallery__info {
    width: 248px;
    height: 80px;
    left: 15px;
  }
  .photo-gallery__close {
    top: 15px;
    right: 15px;
  }
  .photo-gallery__info-district,
  .photo-gallery__info-micro-district,
  .photo-gallery__prev,
  .photo-gallery__next,
  .photo-gallery__track {
    display: none;
  }
}
.report-select {
  position: relative;
}
.report-select__dropdown {
  position: absolute;
  bottom: -82px;
  left: 0;
  z-index: 1;
  padding: 8px 0;
  width: 193px;
  border-radius: 4px;
  border: 1px solid #dfdfdf;
  background-color: #ffffff;
}
.report-select__option {
  padding: 0 24px;
  height: 32px;
  cursor: pointer;
  transition: 0.5s background-color;
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.report-select__option:hover {
  background-color: #d1ecf1;
}

@media (max-width: 768px) {
  .report-select__dropdown {
    width: 160px;
  }
}
.item,
.item * {
  box-sizing: border-box;
  font-family: "San Francisco Pro Display", sans-serif;
  font-style: normal;
}

/* 

	\application\views\front\default\objects\new_other_agent_objects_list_item.html

*/

.owner-label {
  color: #198754;
}

.phone-number {
  color: #0d6efd;
  margin-bottom: 5px;
}

.phone-number.secondary {
  color: #dc3545;
}

.comment-input {
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.contact-info {
  border-left: 1px solid #dee2e6;
  padding-left: 20px;
}

.description-column {
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex-grow: 1;
}

.is_owner_mark_class {
  background: #96f0ab !important;
}

@font-face {
  font-family: "San Francisco Pro Display";
  font-weight: 300;
  font-style: normal;
  src: url(../fonts/sf-300.ttf) format("truetype"),
    url(../fonts/sf-300.woff2) format("woff2");
}
@font-face {
  font-family: "San Francisco Pro Display";
  font-weight: 400;
  font-style: normal;
  src: url(../fonts/sf-400.ttf) format("truetype"),
    url(../fonts/sf-400.woff2) format("woff2");
}
@font-face {
  font-family: "San Francisco Pro Display";
  font-weight: 500;
  font-style: normal;
  src: url(../fonts/sf-500.ttf) format("truetype");
}
@font-face {
  font-family: "San Francisco Pro Display";
  font-weight: 700;
  font-style: normal;
  src: url(../fonts/sf-700.ttf) format("truetype"),
    url(../fonts/sf-700.woff2) format("woff2");
}
.item {
  width: 1195px;
}
@media (max-width: 768px) {
  .item {
    width: 690px;
  }
}
@media (max-width: 320px) {
  .item {
    width: 290px;
  }
}
.header {
  position: relative;
  padding: 20px 20px 10px;
  height: 88px;
  display: flex;
  background-color: #96efab;
  border-radius: 10px 10px 0 0;
}
.header_agent {
  background-color: #e9ecef;
}
.header__block-container {
  display: flex;
}
.header__date-container {
  width: 176px;
}
.header__date-container > *:not(:first-child) {
  margin-top: 10px;
}
.header__date-container .status {
  display: none;
}
.header__date-wrapper {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
}
.header__date {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.header__estate {
  width: 376px;
  display: flex;
  justify-content: space-between;
  text-align: center;
}
.header__object-name,
.header__size,
.header__floor,
.header__city {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}
.header__size,
.header__floor {
  padding-left: 40px;
}
.header__city {
  margin-top: 10px;
  text-align: start;
}
.header__block:not(:first-child) {
  margin-left: 144px;
}
.header__print {
  margin-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__printing {
  display: flex;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.header__number {
  margin-right: 147px;
  background-color: #96efab;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
@media (max-width: 768px) {
  .header {
    height: 156px;
    padding: 20px 20px 10px;
    justify-content: space-between;
  }
  .header__block-container {
    flex-direction: column;
  }
  .header__block-container > .header__block:not(:first-child) {
    margin-top: 10px;
  }
  .header__block:not(:first-child) {
    margin-left: 0;
  }
  .header__date-container {
    display: flex;
    width: 299px;
  }
  .header__date-container > *:not(:first-child) {
    margin: 0 0 0 20px;
  }
  .header__date-container .status {
    display: flex;
    align-self: end;
  }
  .header__date-wrapper {
    flex-direction: column;
  }
  .header__date:not(:first-child) {
    margin-top: 10px;
  }
  .header__print {
    height: 100%;
    margin-top: 0;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
  }
  .header__printing {
    margin-bottom: 12px;
  }
  .header__number {
    margin: 12px 0 0;
  }
}
@media (max-width: 320px) {
  .header {
    height: 166px;
    padding: 10px;
    flex-direction: column;
  }
  .header__block-container + .header__block {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .header__date-container {
    width: 156px;
    flex-direction: column;
  }
  .header__date-container > *:not(:first-child) {
    margin: 10px 0 0 0;
  }
  .header__date-container .status {
    align-self: start;
  }
  .header__date-wrapper {
    flex-direction: row;
  }
  .header__date:not(:first-child) {
    margin-top: 0;
  }
  .header__estate {
    width: initial;
  }
  .header__object-name,
  .header__size,
  .header__floor,
  .header__city {
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
  }
  .header__size,
  .header__floor {
    padding-left: 26px;
  }
  .header__number {
    margin: 0;
  }
  .header__printing {
    margin-top: 10px;
  }
}
.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1490196078);
  padding: 10px 20px 20px;
}
.content__block-wrapper {
  display: flex;
  justify-content: space-between;
}
.content__contacts {
  width: 315px;
  display: flex;
  flex-direction: column;
}
.content__contacts,
.content__object-info {
  position: relative;
  margin-left: 20px;
}
.content .slider + .button {
  margin-top: 19px;
}
.content__address,
.content__district,
.content__micro-district {
  color: #6c757d;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}
.content__district,
.content__micro-district {
  margin-top: 15px;
}
.content__description {
  width: 500px;
  height: 168px;
  overflow-y: scroll;
  margin-top: 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.content__avito-label {
  display: block;
  cursor: pointer;
}
.content__triangle {
  padding-left: 8px;
}
.content__slider > .content__avito-label,
.content__slider > .button_numbers,
.content__slider > .price,
.content__slider > .content__address,
.content__slider > .content__district,
.content__slider > .content__micro-district {
  display: none;
}
.content__object-info > .feedback {
  position: absolute;
  bottom: 0;
  left: 0;
}
.content__object-info > .price,
.content__object-info > .owner {
  display: none;
}
.content__contacts > .owner {
  margin-top: 20px;
}
.content__contacts > .feedback {
  display: none;
}
.content__contacts > .report-select {
  margin-top: auto;
  align-self: end;
}
.content__contacts > .button_numbers {
  margin-top: 15px;
}
.content__contacts > .phones + .content__avito-label {
  margin-top: 131px;
}
.content__contacts > .phones_open + .content__avito-label {
  margin-top: 20px;
}
@media (max-width: 768px) {
  .content__slider > .content__avito-label,
  .content__slider > .button_numbers {
    display: block;
  }
  .content__slider > .button_numbers {
    margin-top: 20px;
  }
  .content__slider > .phones {
    margin-top: 20px;
  }
  .content__slider > .phones + .content__avito-label {
    margin-top: 150px;
  }
  .content__slider > .phones_open + .content__avito-label {
    margin-top: 50px;
  }
  .content__object-info > .owner {
    margin-top: 10px;
    display: flex;
  }
  .content__object-info > .feedback,
  .content__contacts > .price,
  .content__contacts > .owner,
  .content__contacts > .content__avito-label,
  .content__contacts > .button_numbers {
    display: none;
  }
  .content__contacts > .report-select {
    margin-top: 0;
  }
  .content__object-info > .price {
    display: flex;
  }
  .content__contacts {
    margin: 20px 0 0 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: row;
  }
  .content__contacts > .feedback {
    display: block;
  }
  .content__description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    width: 430px;
    height: 192px;
    margin-top: 10px;
  }
  .content__object-info {
    margin-left: 10px;
  }
  .content__address,
  .content__district,
  .content__micro-district {
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
  }
  .content .slider + .button {
    margin-top: 10px;
  }
}
@media (max-width: 320px) {
  .content {
    padding: 10px;
  }
  .content__block-wrapper {
    flex-direction: column;
  }
  .content__slider > .price,
  .content__slider > .content__address,
  .content__slider > .content__district,
  .content__slider > .content__micro-district {
    display: block;
  }
  .content__slider > .content__address,
  .content__slider > .price,
  .content__slider > .button_numbers,
  .content__slider > .phones,
  .content__slider > .phones + .content__avito-label,
  .content__slider > .phones_open + .content__avito-label {
    margin-top: 8px;
  }
  .content__object-info {
    display: flex;
    flex-direction: column-reverse;
    margin: 0;
  }
  .content__object-info > .price,
  .content__object-info > .content__address,
  .content__object-info > .content__district,
  .content__object-info > .content__micro-district {
    display: none;
  }
  .content__object-info > .owner {
    margin-top: 8px;
  }
  .content__description {
    margin-top: 8px;
    width: 100%;
    height: 264px;
  }
  .content__contacts {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
  }
  .content__contacts > .report-select {
    margin-top: 24px;
  }
}

.text__lg {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}
.text__md {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.text__sm {
  font-weight: 400;
  font-size: 12.8px;
  line-height: 19.2px;
}
.text__h1 {
  font-weight: 500;
  font-size: 40px;
  line-height: 48px;
}
.text__h2 {
  font-weight: 500;
  font-size: 32px;
  line-height: 38.4px;
}
.text__h3 {
  font-weight: 500;
  font-size: 28px;
  line-height: 33.6px;
}
.text__h4 {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}
.text__h5 {
  font-weight: 500;
  font-size: 16px;
  line-height: 19.2px;
}
.display-1 {
  font-weight: 300;
  font-size: 96px;
  line-height: 115.2px;
}
.display-2 {
  font-weight: 300;
  font-size: 88px;
  line-height: 105.6px;
}
.display-3 {
  font-weight: 300;
  font-size: 72px;
  line-height: 86.4px;
}
.display-4 {
  font-weight: 300;
  font-size: 56px;
  line-height: 67.2px;
}
.text__bold-lg {
  font-weight: 700;
  font-size: 24px;
  line-height: 28.8px;
}
.text__bold-md {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}
@media (max-width: 768px) {
  .text__lg {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
  }
}
@media (max-width: 320px) {
  .text__lg {
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
  }
}
.slider {
  width: 300px;
}
.slider__slide {
  position: relative;
  width: 300px;
  background-color: #868e96;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider__slide:hover > .slider__prev,
.slider__slide:hover > .slider__next {
  display: block;
}
.slider__prev,
.slider__next {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f8f9fa;
  background-image: url(../images/slider-arrow.svg);
  background-repeat: no-repeat;
  background-position: 7px center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
}
.slider__prev {
  left: 14px;
}
.slider__next {
  right: 14px;
  transform: scaleX(-1) translateY(-50%);
}
.slider__control {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 39px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider__bullets {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  width: 80px;
  height: 24px;
  background-color: rgba(191, 191, 191, 0.4392156863);
  border-radius: 100px;
  backdrop-filter: blur(40px);
}
.slider__bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f8f9fa;
  cursor: pointer;
  opacity: 30%;
}
.slider__bullet_active {
  opacity: 1;
  background-color: #007bff;
}
.slider__track-wrapper {
  width: 100%;
  padding: 0;
  margin-top: 16px;
  position: relative;
  overflow-x: scroll;
  height: 80px;
}
.slider__track-wrapper::-webkit-scrollbar {
  display: none;
}
.slider__track {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
}
.slider__item {
  width: 80px;
  height: 80px;
  padding: 4px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  cursor: pointer;
}
.slider__item:not(:first-child) {
  margin-left: 10px;
}
.slider__item_active {
  border: 1px solid #007bff;
}
.slider__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
@media (max-width: 768px) {
  .slider {
    width: 210px;
  }
  .slider__track-wrapper {
    margin-top: 10px;
  }
  .slider__slide {
    width: 210px;
    height: 210px;
  }
  .slider__item {
    width: 70px;
    height: 70px;
  }
}
@media (max-width: 320px) {
  .slider {
    width: 270px;
    height: 270px;
  }
  .slider__track-wrapper {
    display: none;
  }
  .slider__slide {
    width: inherit;
    height: inherit;
  }
}
.button {
  padding: 0 52.5px;
  border: 0;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  height: 46px;
  border-radius: 4.8px;
  background-color: #007bff;
  color: #fff;
  letter-spacing: 0;
  cursor: pointer;
  text-wrap: nowrap;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}
.button__left-addon,
.button__right-addon {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.button__left-addon {
  margin-right: 4px;
}
.button__right-addon {
  margin-left: 4px;
}
.button__img {
  max-width: 100%;
  max-height: 100%;
}
.button_feedback {
  padding: 0;
  position: relative;
  width: 62px;
  height: 46px;
}
.button_feedback:before,
.button_feedback:after {
  top: 50%;
  left: 50%;
  content: "";
  position: absolute;
  background-color: #fff;
  border-radius: 20px;
  transform: translate(-50%, -50%);
}
.button_feedback:before {
  width: 16.875px;
  height: 2px;
}
.button_feedback:after {
  left: 50%;
  height: 16.875px;
  width: 2px;
}
.button_report {
  padding: 0 16px;
  min-width: 179px;
  height: 46px;
  color: #17a2b8;
  background-color: #fff;
  border: 1px solid #17a2b8;
}
.button_numbers {
  padding: 0 16px;
  width: 194px;
  height: 46px;
  background-color: #343a40;
  color: #fff;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}
.button_tablet-visible {
  display: none;
}
.button_dropdown {
  width: 193px;
  height: 80px;
  padding: 8px 1px 8px 0;
  border-radius: 4px;
  border: 1px solid #dfdfdf;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.button_sold-badge {
  width: 192px;
  height: 32px;
  padding: 4px 24px;
  background-color: #d1ecf1;
}
.button_agent-badge {
  width: 192px;
  height: 32px;
  padding: 4px 24px;
}
@media (max-width: 768px) {
  .button {
    padding: 0 12px;
    width: 115px;
    height: 36px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
  .button__left-addon,
  .button__right-addon {
    width: 24px;
    height: 24px;
  }
  .button_numbers {
    width: 153px;
  }
  .button_feedback {
    width: 48px;
  }
  .button_feedback:before {
    width: 13.5px;
    height: 1.5px;
  }
  .button_feedback:after {
    width: 1.5px;
    height: 13.5px;
  }
  .button_report {
    width: 160px;
  }
}
@media (max-width: 320px) {
  .button {
    height: 29px;
    justify-content: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
  }
  .button__left-addon {
    width: 21px;
    height: 21px;
    margin-right: 4px;
  }
  .button_feedback {
    width: 37px;
  }
  .button_feedback:before {
    width: 11.81px;
    height: 1.33px;
  }
  .button_feedback:after {
    width: 1.33px;
    height: 11.81px;
  }
}
.feedback__title {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.feedback__form {
  display: flex;
  justify-content: start;
  margin-top: 8px;
}
.feedback__input {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  padding-left: 16px;
  width: 382px;
  height: 46px;
  border-radius: 4.8px;
  border: 1px solid #ced4da;
}
.feedback__input:focus-visible {
  outline: none;
}
@media (max-width: 768px) {
  .feedback {
    width: 100%;
  }
  .feedback__input {
    padding-left: 12px;
    width: 402px;
    height: 36px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
}
@media (max-width: 320px) {
  .feedback__input {
    padding-left: 8px;
    width: 233px;
    height: 29px;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
  }
}
.price {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.price__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 28.8px;
}
.price__icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .price__title {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
  }
}
@media (max-width: 768px) {
  .price__icon {
    margin-top: 10px;
  }
}
.owner__title {
  font-weight: 500;
  font-size: 16px;
  line-height: 19.2px;
  color: #28a745;
}
.owner__name {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  margin-top: 16.5px;
}
@media (max-width: 768px) {
  .owner {
    display: flex;
  }
  .owner__name {
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
    margin: 0 0 0 20px;
  }
}
@media (max-width: 320px) {
  .owner {
    flex-direction: column;
  }
  .owner__name {
    margin: 13px 0 0;
  }
}
.phones {
  display: none;
}
.phones_open {
  display: block;
}
.phones__item {
  margin-top: 20px;
}
.phones__link {
  text-decoration: none;
  color: #007bff;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}
.phones__link:hover,
.phones__link:active {
  color: #007bff;
}
.phones__link_fake {
  color: #dc3545;
}
.phones__link_fake:hover,
.phones__link_fake:active {
  color: #dc3545;
}
@media (max-width: 768px) {
  .phones .phones__item {
    margin-top: 15px;
  }
  .phones .phones__link {
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
  }
}
.status {
  width: 73px;
  height: 18px;
  color: #fff;
  background-color: #28a745;
  border-radius: 4px;
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.price-history {
  position: relative;
  width: 360px;
  height: 103px;
  border-radius: 4.8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: #fff;
}
.price-history__arrow {
  position: absolute;
  z-index: 1;
  right: -8px;
  top: 17.5px;
  width: 8px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.price-history__header {
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  background-color: #f7f7f7;
  border-radius: 4.8px 4.8px 0 0;
  border-bottom: 1px solid #ebebeb;
}
.price-history__close {
  width: 16px;
  height: 16px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  border: 0;
  background-color: rgba(0, 0, 0, 0);
}
.price-history__title {
  font-weight: 500;
  font-size: 16px;
  line-height: 19.2px;
}
.price-history__optionlist {
  overflow-y: scroll;
  height: 66px;
  padding: 8px 12px;
}
.price-history__optionlist::-webkit-scrollbar {
  width: 13.5px;
}
.price-history__optionlist::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0);
}
.price-history__optionlist::-webkit-scrollbar-thumb {
  background-color: #dfdfdf;
  height: 33px;
  border-right: 3.5px solid rgba(0, 0, 0, 0);
  border-top: 8px solid rgba(0, 0, 0, 0);
  border-bottom: 8px solid rgba(0, 0, 0, 0);
  background-clip: content-box;
  cursor: pointer;
}
.price-history__option {
  display: flex;
  padding-bottom: 10px;
}
.price-history__cell {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  height: 20px;
}
.price-history__cell:not(:first-child) {
  margin-left: 10px;
}
.price-history__cell_sum {
  font-weight: 500;
  font-size: 16px;
  line-height: 19.2px;
}
.price-history__cell_disable {
  color: #6c757d;
}
.price-history__cell_active {
  color: #28a745;
}
@media (max-width: 320px) {
  .price-history {
    width: 300px;
    height: 144px;
  }
  .price-history__arrow {
    transform: scaleX(-1);
    position: absolute;
    z-index: -1;
    left: -8px;
    top: 17.5px;
    width: 8px;
    height: 16px;
  }
  .price-history__optionlist {
    height: 107px;
  }
  .price-history__optionlist::-webkit-scrollbar {
    width: 17px;
  }
  .price-history__optionlist::-webkit-scrollbar-thumb {
    border-right: 7px solid rgba(0, 0, 0, 0);
    border-top: 13px solid rgba(0, 0, 0, 0);
    border-bottom: 13px solid rgba(0, 0, 0, 0);
  }
  .price-history__option {
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #ebebeb;
    padding-top: 10px;
  }
  .price-history__cell:not(:first-child) {
    margin-left: 0;
  }
}
.photo-gallery {
  padding: 20px 47px 54px 47px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #343a40;
  overflow: hidden;
  z-index: 100;
}
.photo-gallery__info {
  position: absolute;
  top: 20px;
  left: 51px;
  z-index: 1;
  width: 352px;
  height: 170px;
  background: linear-gradient(to bottom, #000000, rgba(0, 0, 0, 0.1254901961));
  color: #fff;
  padding: 1px 1px;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}
.photo-gallery__info-object {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.photo-gallery__info-city {
  margin-bottom: 10px;
}
.photo-gallery__info-location {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.photo-gallery__close {
  margin: 0;
  padding: 0;
  border: 0;
  position: absolute;
  top: 20px;
  right: 47px;
  z-index: 1;
  width: 24px;
  height: 24px;
  background-color: rgba(0, 0, 0, 0);
}
.photo-gallery__close::before,
.photo-gallery__close::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background-color: #fff;
}
.photo-gallery__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.photo-gallery__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.photo-gallery__slider {
  height: 100%;
  padding-top: 34px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.photo-gallery__slide {
  height: 200px;
  flex: 1;
}
.photo-gallery__track {
  margin-top: 40px;
  height: 80px;
  display: flex;
  overflow-x: scroll;
}
.photo-gallery__track::-webkit-scrollbar {
  display: none;
}
.photo-gallery__list {
  display: flex;
}
.photo-gallery__preview {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  background-color: #fff;
  cursor: pointer;
  padding: 3px 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photo-gallery__preview:not(:first-child) {
  margin-left: 39.1px;
}
.photo-gallery__img {
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.photo-gallery__prev,
.photo-gallery__next {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f8f9fa;
  background-image: url(../images/slider-arrow.svg);
  background-repeat: no-repeat;
  background-position: 7px center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
}
.photo-gallery__prev {
  left: 47px;
}
.photo-gallery__next {
  right: 47px;
  transform: translateY(-50%) scaleX(-1);
}
.photo-gallery__control {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.photo-gallery__bullets {
  padding: 8px 12px;
  width: 80px;
  height: 24px;
  border-radius: 100px;
  background-color: rgba(191, 191, 191, 0.4392156863);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.photo-gallery__bullet {
  padding: 0;
  margin: 0;
  border: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f8f9fa;
  transition: background-color 0.4s;
}
.photo-gallery__bullet_active,
.photo-gallery__bullet:hover {
  background-color: #007bff;
}
@media (max-width: 768px) {
  .photo-gallery {
    padding: 20px 39px;
  }
  .photo-gallery__info {
    left: 39px;
  }
  .photo-gallery__control {
    display: none;
  }
  .photo-gallery__track {
    margin-top: 46px;
  }
  .photo-gallery__prev {
    left: 39px;
  }
  .photo-gallery__next {
    right: 39px;
  }
  .photo-gallery__info {
    width: 298px;
    height: 150px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19.2px;
  }
}
@media (max-width: 320px) {
  .photo-gallery {
    padding: 15px 15px 9px;
  }
  .photo-gallery__info {
    width: 248px;
    height: 80px;
    left: 15px;
  }
  .photo-gallery__close {
    top: 15px;
    right: 15px;
  }
  .photo-gallery__info-district,
  .photo-gallery__info-micro-district,
  .photo-gallery__prev,
  .photo-gallery__next,
  .photo-gallery__track {
    display: none;
  }
}
.report-select {
  position: relative;
}
.report-select__dropdown {
  position: absolute;
  bottom: -82px;
  left: 0;
  z-index: 1;
  padding: 8px 0;
  width: 193px;
  border-radius: 4px;
  border: 1px solid #dfdfdf;
  background-color: #fff;
}
.report-select__option {
  padding: 0 24px;
  height: 32px;
  cursor: pointer;
  transition: 0.5s background-color;
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.report-select__option:hover {
  background-color: #d1ecf1;
}
@media (max-width: 768px) {
  .report-select__dropdown {
    width: 160px;
  }
}
.property-card {
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.fs-5 {
  font-size: 1.15rem !important;
}

.object-card-price {
  margin-bottom: 0;
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 700;
  color: #212529;
}

.object-card-author-type {
  margin-top: 2px;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 600;
}

.property-card .object-card-author-type-owner {
  color: #28a745 !important;
}

.property-card .object-card-author-type-agent {
  color: #dc3545 !important;
}

.object-card-author-name {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
  color: #212529;
  margin-top: 8px;
  max-width: 100%;
}

.property-card .author-phone {
  margin: 0;
  padding: 0;
  list-style: none;
}

.property-card .author-phone li + li {
  margin-top: 10px;
}

.object-card-phone {
  text-decoration: none;
  color: #0d6efd;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}

.object-card-phone:hover,
.object-card-phone:active {
  color: #0d6efd;
  text-decoration: none;
}

.object-card-phone.phone-is-protected,
.object-card-phone.phone-is-protected:hover,
.object-card-phone.phone-is-protected:active {
  color: #dc3545;
}

@media (max-width: 768px) {
  .object-card-price {
    font-size: 1.65rem;
  }

  .object-card-author-type {
    font-size: 1rem;
  }

  .object-card-author-name,
  .object-card-phone {
    font-size: 1rem;
  }
}

/* Card Header */
.card-header-custom {
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #495057;
}

.card-header-custom.owner {
  background-color: #96efab;
}

.card-header-custom.agent {
  background-color: #f0f0f0;
}

.header-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-info .badge {
  font-size: 12px;
  font-weight: 700;
}

.header-dates {
  line-height: 1.2;
}

.header-id {
  font-weight: 600;
}

/* Card Body */
.card-body-custom {
  padding: 1.25rem;
}

/* Image Gallery */
.image-gallery .main-image-container {
  position: relative;
  margin-bottom: 0.5rem;
}

.image-gallery .main-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  background-color: #ccc;
  cursor: pointer;
}

.image-gallery .image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
}

.image-gallery .main-image-container:hover .image-nav {
  opacity: 1;
}

.image-gallery .image-nav-btn {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.2s, transform 0.1s;
}

.image-gallery .image-nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.image-gallery .image-nav-btn:active {
  transform: scale(0.9);
}

.image-gallery .thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 5px;
}

.image-gallery .thumbnail {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}

.image-gallery .thumbnail.active {
  border-color: #0d6efd;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.5);
}

.image-gallery .thumbnail:hover {
  border-color: #adb5bd;
}

.image-gallery .thumbnail-overlay {
  width: 60px;
  height: 45px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.1;
}

/* Details Column */
.details-col .price-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

/* Fancybox Custom Styling */
.fancybox-container {
  font-family: inherit;
}

.fancybox-bg {
  background: #2d3238; /* Темный фон как на скриншоте */
}

.fancybox-infobar-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 800px;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}

.fancybox-infobar-top {
  display: flex;
  gap: 20px;
  font-weight: bold;
  font-size: 16px;
}

.fancybox-infobar-bottom {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: #ccc;
}

.fancybox-button--arrow_left,
.fancybox-button--arrow_right {
  background: none !important;
  color: #007bff !important; /* Синие стрелки как на скрине */
  transition: opacity 0.2s, transform 0.2s !important;
}

.fancybox-button--arrow_left:hover,
.fancybox-button--arrow_right:hover {
  opacity: 0.8 !important;
}

.fancybox-button--arrow_left:active,
.fancybox-button--arrow_right:active {
  transform: scale(0.9) !important;
}

.fancybox-button--close {
  background: rgba(0, 0, 0, 0.3) !important;
  color: #fff !important;
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  z-index: 2000000 !important; /* Еще выше */
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  border-radius: 50% !important;
  transition: background 0.2s, transform 0.1s !important;
}

.fancybox-button--close:hover {
  background: rgba(0, 0, 0, 0.6) !important;
}

.fancybox-button--close:active {
  transform: scale(0.9) !important;
}

.fancybox-button--close svg {
  width: 30px !important;
  height: 30px !important;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

.fancybox-toolbar {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 1000000 !important; /* Увеличил z-index для гарантии */
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.fancybox-dots {
  position: absolute;
  bottom: 190px; /* Над миниатюрами */
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 99999;
}

.fancybox-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background: #888;
  cursor: pointer;
  transition: background 0.2s;
  pointer-events: auto;
}

.fancybox-dots span.active {
  background: #007bff;
}

/* На мобильных опускаем точки пагинации ниже, чтобы они не заползали на фото */
@media (max-width: 768px) {
  .fancybox-dots {
    bottom: 150px;
  }
}

/* Настройка миниатюр Fancybox 3 */
.fancybox-thumbs {
  display: block !important;
  background: #2d3238 !important;
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 180px !important;
  padding: 10px 0 !important;
  position: fixed !important; /* Changed to fixed to ensure it stays at the bottom */
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  z-index: 99999 !important; /* High z-index to be above everything */
  -webkit-overflow-scrolling: touch;
  pointer-events: auto !important;
  touch-action: pan-x;
}

.fancybox-thumbs-active {
  border-color: #007bff !important;
}

.fancybox-thumbs__list a.fancybox-thumbs-active {
  border-color: #007bff !important;
}

.fancybox-thumbs::-webkit-scrollbar {
  height: 10px;
  display: block !important;
}

.fancybox-thumbs::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 5px;
}

.fancybox-thumbs::-webkit-scrollbar-track {
  background: #1a1d21;
}

.fancybox-show-thumbs .fancybox-inner {
  right: 0 !important;
  bottom: 180px !important;
  top: 0 !important;
}

.fancybox-show-thumbs .fancybox-container .fancybox-inner {
  bottom: 180px !important;
}

.fancybox-thumbs__list {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 15px !important;
  width: max-content !important;
  height: 100% !important;
  transform: none !important;
  padding: 0 15px !important;
}

.fancybox-thumbs__list a {
  border: 3px solid transparent !important;
  float: none !important;
  width: 160px !important;
  height: 160px !important;
  flex: 0 0 160px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.fancybox-thumbs__list a:before {
  border-width: 0 !important;
}

.fancybox-thumbs__list a.fancybox-thumbs-active {
  border-color: #007bff !important;
}

.fancybox-thumbs-x {
    overflow-y: hidden;
    overflow-x: auto;
}

.details-col .price {
  font-size: 24px;
  font-weight: 700;
}

.details-col .price-history-btn {
  border: 1px solid #ced4da;
  border-radius: 4px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #212529;
  cursor: pointer;
}

.details-col .price-history {
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 13px;
  display: none;
  /* Hidden by default */
  margin-bottom: 1rem;
}

.price-history .price-change {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.price-history .price-increase {
  color: #198754;
  font-weight: 600;
}

.details-col .address-block {
  margin-bottom: 1rem;
}

.details-col .address-block p {
  margin-bottom: 0.25rem;
}

.details-col .address-block .label {
  color: #6c757d;
  width: 100px;
  display: inline-block;
}

.details-col .description {
  max-height: 100px;
  /* As per reference: 320 symbols is roughly 5-6 lines */
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 5px;
  /* for scrollbar */
}

.details-col .owner-info {
  margin-bottom: 1rem;
}

.details-col .owner-info .owner-name {
  font-weight: 600;
}

.details-col .phone-number {
  font-weight: 600;
}

.details-col .phone-number.real {
  color: #0d6efd;
}

.details-col .phone-number.substitute {
  color: #dc3545;
}

.details-col .source-logo {
  max-height: 20px;
  margin-top: 0.5rem;
}

/* Card Footer */
.card-footer-custom {
  padding: 0.75rem 1.25rem;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.comment-section {
  display: flex;
  gap: 0.5rem;
}

.comment-section .form-control {
  font-size: 14px;
}

.complain-dropdown .dropdown-toggle {
  font-size: 14px;
  border: 1px solid #ced4da;
}

/* Fancybox overlay info box */
.custom-overlay-info {
  position: absolute;
  top: 10;
  left: 10;
  max-width: 280px;
  padding: 15px 20px;
  margin: 32px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  font-size: 14px;
  z-index: 9999;
  pointer-events: none;
  line-height: 1.4;
  font-weight: 500;
  border-bottom-right-radius: 8px;
  user-select: none;
  white-space: pre-line;
  box-sizing: border-box;
}

/* Убираем стандартный фон и отступы caption fancybox */
.fancybox-caption {
  background: transparent !important;
  padding: 0 !important;
  pointer-events: none !important;
}

/* ==========================================
   Overrides: restore v2-style navbar & search form
   ========================================== */

/* Navbar: restore Bootstrap 4 dark background */
#main-menu .navbar.bg-dark,
.navbar.bg-dark {
  background-color: #343a40 !important;
}

#main-menu .navbar {
  padding: 0.5rem 1rem;
}

/* Search form: make compact like v2 */
.search_form_area .card {
  border-radius: 0.25rem;
}

.search_form_area .card-body {
  padding: 0.75rem 1.25rem;
}

.search_form_area .form-group {
  margin-bottom: 0.5rem;
}

.search_form_area .form-row {
  margin-right: -5px;
  margin-left: -5px;
}

.search_form_area .form-row > .col,
.search_form_area .form-row > [class*="col-"] {
  padding-right: 5px;
  padding-left: 5px;
}

.search_form_area label {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.search_form_area .form-control {
  height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.2rem;
}

.search_form_area .input-group-text {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.2rem;
}

.search_form_area .select2-container .select2-selection--multiple {
  min-height: calc(1.5em + 0.5rem + 2px);
  display: flex;
  align-items: center;
}

.search_form_area .select2-container--default .select2-selection--multiple {
  padding-bottom: 0;
}

.search_form_area .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.search_form_area .select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 6px;
  font-size: 0.8rem;
  height: calc(1.5em + 0.5rem - 4px);
  line-height: calc(1.5em + 0.5rem - 6px);
  display: flex;
  align-items: center;
}

.search_form_area .btn.margin-top-30 {
  margin-top: 22px !important;
}

.search_form_area .custom-control {
  font-size: 0.8rem;
}

/* Navbar phone search: keep compact */
.phone-search-area .form-control {
  height: calc(1.5em + 0.75rem + 2px);
  font-size: 0.875rem;
  border-radius: 0.25rem;
}

.phone-search-area .btn {
  border-radius: 0.25rem;
}

/* Navbar links and brand */
#main-menu .navbar .navbar-nav .nav-link {
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}

#main-menu .navbar .text-light {
  font-size: 0.9rem;
}
/* Ужимаем всплывающий блок "История изменения цены" на узких экранах,
   чтобы он не вылезал за границу экрана */
@media (max-width: 575px) {
  .price-history-popup > div {
    padding: 12px 12px !important;
  }
  .price-history-popup > div > div {
    gap: 8px !important;
  }
}

/* Источник (Avito и т.п.) в мобильном виде карточки объекта —
   убираем большой верхний отступ .sourse-link-area */
.source-area-mobile .sourse-link-area {
  margin-top: 0 !important;
}
