/* Shared layout corrections; keep the existing content and controls. */
.footer,
.footer > .wrapper {
  height: auto;
}
.footer .footer_left .RomanAdvert {
  position: static;
  margin: 0;
}
.footer .footer_left .logo {
  margin: 0 0 20px;
}
.content > main {
  clear: both;
}
.footer > .wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding: 0 24px;
  box-sizing: border-box;
}
.footer .footer_left {
  position: static;
  display: block;
  height: auto;
  flex: 0 0 180px;
  width: auto;
  margin: 0;
  float: none;
}
.footer .footer_middle {
  display: flex;
  flex: 1 1 600px;
  flex-wrap: wrap;
  gap: 28px 40px;
  width: auto;
  margin: 0;
  float: none;
}
.footer .footer_middle__menu,
.footer .footer_middle__right,
.footer .footer_middle__info {
  position: static;
  float: none;
  margin: 0;
  width: auto;
}
.footer .footer_middle__right {
  flex: 1 1 220px;
}
.footer .footer_middle__info {
  flex: 0 0 210px;
}
.news_block:not(:has(.news_image)) .news_right {
  margin-left: 0;
  width: 100%;
}
.fixed .icon_block__overflow {
  position: relative;
}
@media (max-width: 959px) {
  .fixed .icon_toggle .icon_block__overflow {
    display: none;
  }
  .fixed.phone_open .icon_phone .icon_block__overflow,
  .fixed.email_open .icon_email .icon_block__overflow {
    display: block;
    position: fixed;
    top: 37px;
    right: 12px;
    width: auto;
    padding: 12px;
    background: #702450;
    border-radius: 0 0 6px 6px;
  }
  .fixed .icon_toggle .icon_block__overflow div {
    margin-left: 0;
    white-space: nowrap;
  }
}
@media (max-width: 600px) {
  .fixed .menu {
    flex: 0 0 74px;
    margin-left: 0;
  }
  .fixed .menu_control > span {
    left: 25px;
    margin-left: 0;
  }
  .fixed_flex__right {
    min-width: 0;
  }
  .fixed .personal_button_wrap {
    min-width: 0;
    max-width: 140px;
  }
  .fixed .personal_button_wrap > .button {
    display: flex;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
  }
  .fixed .personal_button_wrap .lk_user {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

.quote-workflow-count { display:inline-block; margin-left:5px; padding:1px 6px; border-radius:10px; font-size:12px; line-height:18px; font-weight:700; vertical-align:middle; }
.quote-workflow-count-new { background:#be1836; color:#fff; }
.quote-workflow-count-in_progress { background:#ffcf40; color:#29210a; }
