

/* Start:/local/templates/bigcenter_locator_2024/components/bitrix/news/messageschat/style.css?174774187813822*/
.m_chat_section {
  --h_messagechat: calc(100vh - 200px);
  --w_messagechat: 100vw;
  --w_pict_section: 80px;
  --w_pict_item: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: var(--h_messagechat);
  width: var(--w_messagechat);
  max-width: 856px;
  margin: 0 auto;
  padding: 15px 0;
}
.m_chat_section .m_chat_top {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 0 10px;
}
.m_chat_section .m_chat_top a {
  line-height: 0;
  margin-right: 15px;
}
.m_chat_section .m_chat_top h2 {
  margin-bottom: 0;
  text-transform: none;
}
@media (max-width: 992px) {
  .m_chat_section .m_chat_top h2 {
    font-size: 30px;
    font-weight: 700;
  }
}
.m_chat_section .m_chat_bottom {
  padding-top: 10px;
  text-align: center;
}
.m_chat_section .m_chat_bottom_reg {
  display: none;
  width: calc(100% - 70px);
  text-transform: none;
  padding: 0 30px;
  margin: 0 10px 20px 10px;
  font-size: 16px;
}

.m_chat_list_sec {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: calc(100% - 40px - 10px);
}
.m_chat_list_sec .m_chat_roll_list {
  height: 100%;
}
.m_chat_list_sec .m_chat_item_sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
  position: relative;
}
.m_chat_list_sec .m_chat_item_sec:not(.is_chat) {
  border: 1.5px solid rgba(20, 18, 26, 0.1019607843);
  margin-top: 20px;
}
.m_chat_list_sec .m_chat_item_sec.is_chat {
  background-color: rgba(237, 28, 36, 0.0980392157);
}
.m_chat_list_sec .m_chat_item_sec.is_chat .m_chat_unread_sec {
  background: var(--bs-main-color);
}
.m_chat_list_sec .m_chat_item_sec.is_unread .m_chat_unread_sec {
  display: flex;
}
.m_chat_list_sec .m_chat_link_sec {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.m_chat_list_sec .m_chat_image_sec {
  line-height: 0;
  width: var(--w_pict_section);
  height: var(--w_pict_section);
  flex-shrink: 0;
}
.m_chat_list_sec .m_chat_image_sec img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}
.m_chat_list_sec .m_chat_title_sec {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: calc(100% - var(--w_pict_section) - 55px);
}
.m_chat_list_sec .m_chat_title_sec span:first-child {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}
.m_chat_list_sec .m_chat_title_sec span:last-child {
  line-height: 1.2;
  font-weight: 500;
  opacity: 0.7;
}
.m_chat_list_sec .m_chat_unread_sec {
  display: none;
  position: absolute;
  right: 15px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
  border-radius: 30px;
  padding: 6px 10px;
  min-width: 30px;
  margin-right: 10px;
  background: rgba(102, 102, 102, 0.6980392157);
}

.m_chat_list_items {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
  padding: 0 15px;
}
.m_chat_list_items .m_chat_link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}
.m_chat_list_items .m_chat_link > a {
  font-weight: 500;
  color: #666666;
  display: flex;
  align-items: center;
  width: var(--w_pict_item);
  height: var(--w_pict_item);
  flex-shrink: 0;
}
.m_chat_list_items .m_chat_link > a::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-left: 1px solid #666666;
  border-bottom: 1px solid #666666;
  transform: rotate(45deg) translate(10px, -10px);
}
.m_chat_list_items .m_chat_link .m_chat_image {
  line-height: 0;
  width: var(--w_pict_item);
  height: var(--w_pict_item);
  flex-shrink: 0;
  margin-left: -10px;
}
.m_chat_list_items .m_chat_link .m_chat_image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}
.m_chat_list_items .m_chat_link .m_chat_title {
  display: flex;
  flex-direction: column;
  width: calc(100% - var(--w_pict_item) * 2 - 40px);
}
.m_chat_list_items .m_chat_link .m_chat_title span:first-child {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
@media (min-width: 992px) {
  .m_chat_list_items .m_chat_link .m_chat_title span:first-child {
    font-size: 20px;
  }
}
.m_chat_list_items .m_chat_link .m_chat_title span:last-child {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  opacity: 0.7;
}
@media (min-width: 992px) {
  .m_chat_list_items .m_chat_link .m_chat_title span:last-child {
    font-size: 16px;
  }
}
.m_chat_list_items .m_chat_roll_list {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  position: relative;
}
.m_chat_list_items .m_chat_roll_list.is_unread .m_chat_roll_arrow {
  display: block;
}
.m_chat_list_items .m_chat_roll_arrow {
  display: none;
  cursor: pointer;
  position: sticky;
  top: 85%;
  margin-left: auto;
  margin-right: 30px;
  width: 38px;
  background-color: #FFF;
  border-radius: 1px;
  z-index: 5;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.07);
}
.m_chat_list_items .m_chat_roll_arrow svg {
  transform: rotate(90deg);
}
.m_chat_list_items .m_chat_roll_arrow .m_chat_roll_arrow_img {
  position: relative;
}
.m_chat_list_items .m_chat_roll_arrow .m_chat_roll_arrow_unread {
  position: absolute;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
  background: var(--bs-main-color, #ED1C24);
  border-radius: 30px;
  padding: 6px 10px;
  min-width: 30px;
  margin-right: 10px;
  display: flex;
  top: -15px;
  left: 22px;
}
.m_chat_list_items .m_chat_roll_item {
  margin-top: 20px;
}
.m_chat_list_items .m_chat_roll_item_date {
  position: sticky;
  top: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid rgba(20, 18, 26, 0.6980392157);
  color: rgba(20, 18, 26, 0.6980392157);
  font-weight: 500;
  max-width: -moz-max-content;
  max-width: max-content;
  margin: 0 auto 20px;
  background-color: #fff;
  z-index: 1;
}
.m_chat_list_items .m_chat_roll_item_time {
  font-weight: 500;
  color: rgba(20, 18, 26, 0.6980392157);
  text-align: right;
}
.m_chat_list_items .m_chat_roll_item_body {
  padding: 30px;
  background-color: var(--bs-five-color);
  border-radius: 8px;
  position: relative;
}
.m_chat_list_items .m_chat_roll_item_img {
  margin-bottom: 20px;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  line-height: 0;
  aspect-ratio: 16/9;
}
.m_chat_list_items .m_chat_roll_item_img img {
  width: 100%;
  height: auto;
  display: block;
}
.m_chat_list_items .m_chat_roll_item_title {
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  display: inline-block;
}
.m_chat_list_items .m_chat_roll_item_description {
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 20px;
  display: inline-block;
}
.m_chat_list_items .m_chat_roll_item_description span {
  opacity: 0.7;
}
.m_chat_list_items .m_chat_btn {
  display: inline-block;
  bottom: 40px;
  padding: 11px 43px;
  background-color: #235789;
  border-radius: 3px;
  max-width: 100%;
  color: #FFF;
  transition: 0.3s;
}
@media (hover: hover) {
  .m_chat_list_items .m_chat_btn:hover {
    background-color: #1E4770;
  }
}

.register_form {
  display: none;
  flex-direction: column;
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #FFF;
  border-radius: 5px;
  overflow: hidden;
  justify-content: center;
}
.register_form.unregister {
  display: flex;
}
.register_form_content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.register_form .head {
  background-color: #F7F7F7;
  width: 100%;
  display: none;
}
.register_form .img {
  line-height: 0;
  display: inline-block;
  margin: 15px;
}
.register_form .title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  margin: 15px;
  text-align: center;
}
@media (min-width: 992px) {
  .register_form .title {
    font-size: 40px;
  }
}
.register_form .h2 {
  margin: 15px 0 10px 15px;
  text-align: center;
}
.register_form .subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.7;
  margin: 15px 15px 20px 15px;
  text-align: center;
}
@media (min-width: 992px) {
  .register_form .subtitle {
    max-width: 80%;
  }
}
.register_form .reg {
  margin: 0 15px 25px 15px;
  width: -moz-max-content;
  width: max-content;
  padding: 0 30px;
  height: 59px;
  text-transform: none;
  font-size: 16px;
}
.register_form .outreg {
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  margin: 0 15px 30px 15px;
}
.register_form .outreg_error {
  font-size: 14px;
  line-height: 1.4;
  color: var(--bs-second-color);
  text-align: center;
  margin: 0 15px;
}
@media (min-width: 768px) {
  .register_form .outreg_error {
    max-width: 60%;
  }
}

body:has(.m_online_wrap.mobile) {
  background-color: #FFF;
}

.m_online_wrap .m_chat_section {
  max-height: -webkit-fill-available;
  --h_messagechat: calc(var(--dev_height) - 64px);
}
.m_online_wrap.mobile {
  padding-top: 15px;
}
.m_online_wrap.mobile .m_chat_section {
  --w_pict_section: 48px;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_sec {
  padding-top: 20px;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_sec .m_chat_title_sec span:first-child {
  font-size: 16px;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_sec .m_chat_title_sec span:last-child {
  display: none;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_sec .m_chat_unread_sec {
  padding: 3px 8px;
  min-width: 16px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_sec .m_chat_item_sec {
  border: none;
  margin-top: 0;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_sec .m_chat_item_sec.is_chat {
  background-color: inherit;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_sec .m_chat_item_sec:not(:last-child) {
  border-bottom: 1px solid rgba(20, 18, 26, 0.1019607843);
  border-radius: inherit;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_items .m_chat_title span:first-child {
  line-height: 1.5;
  font-size: 16px;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_items .m_chat_title span:last-child {
  display: none;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_items .m_chat_roll_item_date {
  font-size: 12px;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_items .m_chat_roll_item_body {
  padding: 15px;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_items .m_chat_roll_item_title {
  font-size: 16px;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_items .m_chat_roll_item_description {
  font-size: 14px;
}
.m_online_wrap.mobile .m_chat_section .m_chat_list_items .m_chat_roll_item_time {
  font-size: 12px;
}

.messagechat_modal_content.mobile .m_modal_wrap .m_chat_section {
  --h_messagechat: calc(var(--dev_height) - 64px);
  --w_messagechat: 100%;
}

.m_modal_wrap .container {
  padding: 0;
}
.m_modal_wrap .m_chat_section {
  --w_pict_section: 48px;
  --h_messagechat: 522px;
  --w_messagechat: 435px;
}
.m_modal_wrap .m_chat_section .m_chat_bottom_reg {
  font-size: 14px;
}
.m_modal_wrap .m_chat_section .m_chat_list_sec {
  padding: 0 5px;
}
.m_modal_wrap .m_chat_section .m_chat_list_sec .m_chat_title_sec {
  gap: unset;
}
.m_modal_wrap .m_chat_section .m_chat_list_sec .m_chat_title_sec span:first-child {
  font-size: 16px;
}
.m_modal_wrap .m_chat_section .m_chat_list_sec .m_chat_title_sec span:last-child {
  font-size: 11px;
}
.m_modal_wrap .m_chat_section .m_chat_list_sec .m_chat_unread_sec {
  padding: 3px 8px;
  min-width: 16px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}
.m_modal_wrap .m_chat_section .m_chat_list_sec .m_chat_item_sec {
  border: none;
  margin-top: 0;
}
.m_modal_wrap .m_chat_section .m_chat_list_sec .m_chat_item_sec.is_chat {
  background-color: inherit;
}
.m_modal_wrap .m_chat_section .m_chat_list_sec .m_chat_item_sec:not(:last-child) {
  border-bottom: 1px solid rgba(20, 18, 26, 0.1019607843);
  border-radius: inherit;
}
.m_modal_wrap .m_chat_section .m_chat_list_items .m_chat_title span:first-child {
  line-height: 1.5;
  font-size: 16px;
}
.m_modal_wrap .m_chat_section .m_chat_list_items .m_chat_title span:last-child {
  display: none;
}
.m_modal_wrap .m_chat_section .m_chat_list_items .m_chat_roll_item_date {
  font-size: 12px;
}
.m_modal_wrap .m_chat_section .m_chat_list_items .m_chat_roll_item_body {
  padding: 15px;
}
.m_modal_wrap .m_chat_section .m_chat_list_items .m_chat_roll_item_title {
  font-size: 16px;
}
.m_modal_wrap .m_chat_section .m_chat_list_items .m_chat_roll_item_description {
  font-size: 14px;
}
.m_modal_wrap .m_chat_section .m_chat_list_items .m_chat_roll_item_time {
  font-size: 12px;
}
.m_modal_wrap .m_chat_section .m_chat_top a {
  display: none;
}
.m_modal_wrap .m_chat_section .m_chat_top h2 {
  font-size: 30px;
  font-weight: 700;
  margin-left: 10px;
}
.m_modal_wrap .register_form {
  justify-content: flex-start;
}
.m_modal_wrap .register_form .head {
  display: block;
}
.m_modal_wrap .register_form .title {
  font-size: 20px !important;
}
.m_modal_wrap .register_form .subtitle {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0.5;
  margin-bottom: 20px;
  text-align: left;
  max-width: 305px;
}
.m_modal_wrap .register_form .outreg {
  font-size: 14px;
}
.m_modal_wrap .register_form .outreg_error {
  text-align: left;
}
.m_modal_wrap .register_form .reg {
  height: 49px;
  font-size: 14px;
}
.m_modal_wrap .register_form .register_form_content {
  align-items: flex-start;
}

.header_icons_item .messagechat_count {
  position: absolute;
  top: 0;
  left: 13px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  background: var(--bs-main-color, #ED1C24);
  border-radius: 50%;
}

body:has(.m_chat_list_sec .is_unread) .header_icons_item .messagechat_count {
  display: flex;
}/*# sourceMappingURL=style.css.map */
/* End */
/* /local/templates/bigcenter_locator_2024/components/bitrix/news/messageschat/style.css?174774187813822 */
