.personal-menu {
  height: 100%;
}
.userinfo-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: stretch;
      align-content: stretch;
  gap: 15px;
}
.userinfo-line .user-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media (max-width: 991px) {
  .userinfo-line .user-small-wrap {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .userinfo-line .user-small-wrap.user-authorized {
    margin-right: auto;
    text-align: left;
  }
}
.user-info .user-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  white-space: nowrap;
  gap: 15px;
}
@media (max-width: 991px) {
  .user-info .user-title {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}
.user-info .user-title .user-profile-link {
  max-width: 90%;
  display: inline-block;
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
}
@media (max-width: 991px) {
  .user-info .user-title .user-logout-link {
    display: none;
  }
}
.active-contragent {
  --dropdown-font-size: 16px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding-right: 10px;
}
@media (max-width: 767px) {
  .active-contragent {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
}
.active-contragent .data-warp {
  min-width: 320px;
  max-width: 100%;
}
.active-contragent .data select {
  max-width: 100%;
  border: none;
  background: transparent;
  border-bottom: dotted 1px;
  border-radius: 0;
  outline: none;
}
.active-contragent .selected-contragent-name {
  max-width: 100%;
  display: inline-block;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.active-contragent .list-search {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  width: 100%;
}
.active-contragent .list-search input[type="text"] {
  z-index: 1;
  display: block;
  overflow: hidden;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0 5px;
  width: 100%;
  height: var(--ui-field-size-xs);
  outline: none;
  color: #535c69;
  text-align: left;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  white-space: nowrap;
  font: 800 var(--ui-font-family-primary, var(--ui-font-family-helvetica));
  font-size: var(--dropdown-font-size, 1rem);
  -webkit-transition: border 0.3s ease, background-color 0.3s ease, color 0.3s ease, padding 0.3s ease;
  -o-transition: border 0.3s ease, background-color 0.3s ease, color 0.3s ease, padding 0.3s ease;
  transition: border 0.3s ease, background-color 0.3s ease, color 0.3s ease, padding 0.3s ease;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border: solid 1px transparent;
  background-color: transparent;
}
.active-contragent .list-search button[type="clear"] {
  --button-clear-size: 10px;
  cursor: pointer;
  position: absolute;
  top: calc(50% - var(--button-clear-size, 1rem) / 2);
  left: calc(-1px - var(--button-clear-size, 1rem));
  z-index: 10;
  display: block;
  outline: 0;
  border: none;
  background: transparent;
  background-color: transparent;
  -webkit-transform: translate3d(-50%, -50%, 0);
          transform: translate3d(-50%, -50%, 0);
  width: var(--button-clear-size, 1rem);
  height: var(--button-clear-size, 1rem);
  opacity: 0;
  -webkit-transition: 250ms linear opacity;
  -o-transition: 250ms linear opacity;
  transition: 250ms linear opacity;
  -webkit-animation: ui-ctl-show-icon 500ms 1;
          animation: ui-ctl-show-icon 500ms 1;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.666.621a.5.5 0 00-.707 0L5.002 3.58 2.044.62a.5.5 0 00-.707 0l-.714.714a.5.5 0 000 .707L3.581 5 .623 7.957a.5.5 0 000 .708l.714.713a.5.5 0 00.707 0L5.002 6.42l2.957 2.958a.5.5 0 00.708 0l.713-.714a.5.5 0 000-.707L6.422 5 9.38 2.042a.5.5 0 000-.707L8.666.62z' fill='%23828b95'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.active-contragent .list-search input:not(:placeholder-shown) ~ button[type="clear"],
.active-contragent .list-search input:focus ~ button[type="clear"] {
  opacity: 0.5;
}
.active-contragent .list-search input:not(:placeholder-shown) ~ button[type="clear"]:hover,
.active-contragent .list-search input:focus ~ button[type="clear"]:hover {
  opacity: 1;
}
.active-contragent .list .list-search-item {
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  text-align: inherit;
  white-space: nowrap;
  color: var(--dropdown-item-font-color, #212529);
  background-color: var(--dropdown-item-bg-color, transparent);
  border: solid 1px transparent;
  cursor: pointer;
  overflow: hidden;
}
.active-contragent .list .list-search-item.active {
  font-weight: bold;
  color: var(--dropdown-item-active-color, #212529);
  background-color: var(--dropdown-item-active-bg-color, #b0e2ff);
  border-color: var(--dropdown-item-active-bg-color, #b0e2ff);
}
.active-contragent .list .list-search-item:hover:not(.active) {
  color: var(--dropdown-item-color_hover, #212529);
  border-color: var(--dropdown-item-bg-color_hover, #b0e2ff);
}
.active-contragent .list_empty {
  display: block;
  width: 100%;
  clear: both;
  font-weight: 400;
  font-size: var(--dropdown-font-size, 1rem);
  text-align: center;
  white-space: nowrap;
  position: relative;
  padding: 0.75rem 1.25rem;
  color: #0c5460;
  background-color: #d1ecf1;
  border: none;
  border-radius: 1px;
}
.active-contragent .popup-window {
  text-align: left;
  background-color: #fff;
  -webkit-box-shadow: 0 7px 21px rgba(83, 92, 105, 0.12), 0 -1px 6px 0 rgba(83, 92, 105, 0.06), 0 0 100vw 100vw rgba(83, 92, 105, 0.6);
          box-shadow: 0 7px 21px rgba(83, 92, 105, 0.12), 0 -1px 6px 0 rgba(83, 92, 105, 0.06), 0 0 100vw 100vw rgba(83, 92, 105, 0.6);
  padding: 10px;
  font: 14px var(--ui-font-family-primary, var(--ui-font-family-helvetica));
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: stretch;
      -ms-flex-pack: stretch;
          justify-content: stretch;
  border-radius: var(--popup-window-border-radius);
  will-change: opacity;
  position: fixed;
  z-index: 1150;
  width: 1000px;
  max-width: 100vw;
  max-height: calc(100vh - var(--header-min-height, 90px));
  right: 0;
}
.active-contragent .popup-window .popup-window-titlebar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  height: 49px;
  padding: 0 1.5rem;
  margin: 0;
  gap: 15px;
  text-align: center;
  white-space: nowrap;
  font-size: var(--dropdown-font-size, 1rem);
  color: var(--dropdown-header-color, #6c757d);
  border-bottom: 1px solid var(--border-color, #dee2e6);
}
.active-contragent .popup-window .popup-window-titlebar .popup-window-titlebar-text {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #80868e;
  display: inline-block;
  max-width: 100%;
  line-height: 49px;
  padding: 0;
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  white-space: nowrap;
}
.active-contragent .popup-window .popup-window-titlebar .popup-window-close-icon {
  cursor: pointer;
  height: 27px;
  opacity: 0.5;
  position: absolute;
  right: 3px;
  top: 5px;
  width: 27px;
  outline: 0;
  border: none;
  background: transparent;
}
.active-contragent .popup-window .popup-window-titlebar .popup-window-close-icon:hover {
  opacity: 1;
}
.active-contragent .popup-window .popup-window-titlebar .popup-window-close-icon::after {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
          transform: translate3d(-50%, -50%, 0);
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.666.621a.5.5 0 00-.707 0L5.002 3.58 2.044.62a.5.5 0 00-.707 0l-.714.714a.5.5 0 000 .707L3.581 5 .623 7.957a.5.5 0 000 .708l.714.713a.5.5 0 00.707 0L5.002 6.42l2.957 2.958a.5.5 0 00.708 0l.713-.714a.5.5 0 000-.707L6.422 5 9.38 2.042a.5.5 0 000-.707L8.666.62z' fill='%23828b95'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
}
.active-contragent .popup-window .popup-window-titlebar .titlebar-filter {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.active-contragent .popup-window .popup-window-titlebar .titlebar-sort {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
}
.active-contragent .popup-window .popup-window-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow: auto;
  padding: 1.5rem;
  position: relative;
  -webkit-overflow-scrolling: touch;
}
.active-contragent .popup-window .popup-window-content .popup-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.active-contragent .popup-window .popup-window-content .popup-list .popup-list-item {
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
     -moz-column-break-inside: avoid;
          break-inside: avoid;
  padding: 1.5rem;
}
.active-contragent .dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1;
  display: block;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  text-align: left;
  list-style: none;
  font-size: var(--dropdown-font-size, 1rem);
  background-color: var(--dropdown-bg-color, #fff);
  border: 1px solid var(--border-color, #dee2e6);
  border-radius: var(--dropdown-border-radius, 0.25rem);
}
.active-contragent .dropdown-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0 1.5rem;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-size: var(--dropdown-font-size, 1rem);
  color: var(--dropdown-header-color, #6c757d);
  border-bottom: 1px solid var(--border-color, #dee2e6);
}
.active-contragent .dropdown-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.active-contragent .dropdown-list-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
}
.contragent-bonus-list {
  position: absolute;
  background: #fff;
  right: calc(100% - 28px);
}
@media (max-width: 991px) {
  .contragent-bonus-list {
    display: none;
  }
}
.contragent-bonus-list .dropdown-toggle-buttom {
  outline: none;
  padding: 0;
  margin: 0;
  border: 0;
  font-size: 14px;
  line-height: 19px;
}
.contragent-bonus-list .dropright .dropdown-menu {
  top: 100%;
  right: -50%;
  left: auto;
}
.contragent-bonus-list .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: unset;
  z-index: 1000;
  display: block;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  text-align: left;
  list-style: none;
  font-size: var(--dropdown-font-size, 1rem);
  background-color: var(--dropdown-bg-color, #fff);
  border: 1px solid var(--border-color, #dee2e6);
  border-radius: var(--dropdown-border-radius, 0.25rem);
}
.contragent-bonus-list .dropdown .dropdown-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0 1.5rem;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-size: var(--dropdown-font-size, 1rem);
  color: var(--dropdown-header-color, #6c757d);
  border-bottom: 1px solid var(--border-color, #dee2e6);
}
.contragent-bonus-list .dropdown .dropdown-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.contragent-bonus-list .dropdown .dropdown-list .dropdown-list-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
}
.contragent-bonus-list .dropdown .dropdown-list_empty {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  font-size: var(--dropdown-font-size, 1rem);
  text-align: inherit;
  white-space: nowrap;
}