.scroll-wrapper {
  overflow: hidden !important;
  padding: 0 !important;
  position: relative;
}
.scroll-wrapper > .scroll-content {
  border: none !important;
  box-sizing: content-box !important;
  height: auto;
  left: 0;
  margin: 0;
  max-height: none;
  max-width: none !important;
  overflow: scroll !important;
  padding: 0;
  position: relative !important;
  top: 0;
  width: auto !important;
}
.scroll-wrapper > .scroll-content::-webkit-scrollbar {
  height: 0;
  width: 0;
}

.scroll-element {
  display: none;
  box-sizing: content-box;
}
.scroll-element div {
  box-sizing: content-box;
}
.scroll-element.scroll-x.scroll-scrollx_visible, .scroll-element.scroll-y.scroll-scrolly_visible {
  display: block;
}
.scroll-element .scroll-bar, .scroll-element .scroll-arrow {
  cursor: default;
}

.scroll-textarea {
  border: 1px solid #cccccc;
  border-top-color: #999999;
}
.scroll-textarea > .scroll-content {
  overflow: hidden !important;
}
.scroll-textarea > .scroll-content > textarea {
  border: none !important;
  box-sizing: border-box;
  height: 100% !important;
  margin: 0;
  max-height: none !important;
  max-width: none !important;
  overflow: scroll !important;
  outline: none;
  padding: 2px;
  position: relative !important;
  top: 0;
  width: 100% !important;
}
.scroll-textarea > .scroll-content > textarea::-webkit-scrollbar {
  height: 0;
  width: 0;
}

/*************** SCROLLBAR MAC OS X ************** */
.scrollbar-macosx > .scroll-element {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 10;
}
.scrollbar-macosx > .scroll-element div {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 10;
  display: block;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
}
.scrollbar-macosx > .scroll-element .scroll-element_track {
  display: none;
}
.scrollbar-macosx > .scroll-element .scroll-bar {
  background-color: #CCCCCC;
  display: block;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  -webkit-transition: opacity 0.2s linear;
  -moz-transition: opacity 0.2s linear;
  -o-transition: opacity 0.2s linear;
  -ms-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
}
.scrollbar-macosx:hover > .scroll-element .scroll-bar {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
  opacity: 0.7;
}
.scrollbar-macosx > .scroll-element.scroll-draggable .scroll-bar {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
  opacity: 0.7;
}
.scrollbar-macosx > .scroll-element.scroll-x {
  bottom: 0px;
  height: 0px;
  left: 0;
  min-width: 100%;
  overflow: visible;
  width: 100%;
}
.scrollbar-macosx > .scroll-element.scroll-y {
  height: 100%;
  min-height: 100%;
  right: 0px;
  top: 0;
  width: 0px;
}
.scrollbar-macosx > .scroll-element.scroll-x .scroll-bar {
  height: 7px;
  min-width: 10px;
  top: -9px;
}
.scrollbar-macosx > .scroll-element.scroll-y .scroll-bar {
  left: -9px;
  min-height: 10px;
  width: 8px;
}
.scrollbar-macosx > .scroll-element.scroll-x .scroll-element_outer {
  left: 2px;
}
.scrollbar-macosx > .scroll-element.scroll-x .scroll-element_size {
  left: -4px;
}
.scrollbar-macosx > .scroll-element.scroll-y .scroll-element_outer {
  top: 2px;
}
.scrollbar-macosx > .scroll-element.scroll-y .scroll-element_size {
  top: -4px;
}
.scrollbar-macosx > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size {
  left: -11px;
}
.scrollbar-macosx > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size {
  top: -11px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

*::-webkit-input-placeholder {
  color: #000000;
  opacity: 0.5;
}

*:-moz-placeholder {
  color: #000000;
  opacity: 0.5;
}

*::-moz-placeholder {
  color: #000000;
  opacity: 0.5;
}

*:-ms-input-placeholder {
  color: #000000;
  opacity: 0.5;
}

::selection {
  background: #ccc;
  color: #fff;
}

::-moz-selection {
  background: #ccc;
  color: #fff;
}

::-webkit-selection {
  background: #ccc;
  color: #fff;
}

body input:focus:required:invalid,
body textarea:focus:required:invalid {
  color: #272727;
}

body input:required:valid,
body textarea:required:valid {
  color: #272727;
}

.sticky-footer {
  flex-grow: 1;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}

.main-chat .container {
  width: 100%;
}
.main-chat .message-title {
  font: 22px/40px;
  font-weight: bold;
  color: #202020;
  font-weight: bold;
  margin-top: -35px;
  margin-bottom: 0;
}
.main-chat .message-blocks {
  display: flex;
  margin: 8px 0 100px 0;
}
.main-chat .message-contacts {
  max-width: 300px;
  min-width: 300px;
  width: 100%;
  background: #ffffff;
}
.main-chat .message-contacts--action {
  display: flex;
  padding: 0 30px;
  line-height: 50px;
  min-height: 50px;
  max-height: 50px;
  border-bottom: 1px solid #F2F2F2;
}
.main-chat .message-contacts--action--mess, .main-chat .message-contacts--action--group {
  display: inline-block;
  font-weight: 400;
  color: #0051AA;
  font-size: 14px;
  cursor: pointer;
}
.main-chat .message-contacts--action--mess:hover, .main-chat .message-contacts--action--group:hover {
  text-decoration: none;
  color: #202020;
}
.main-chat .message-contacts--action--mess {
  margin: 0 18px 0 0;
}
.main-chat .message-contacts--action--add {
  cursor: pointer;
  display: inline-block;
  color: #373737;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}
.main-chat .message-contacts--action--add:hover {
  text-decoration: none;
  color: #202020;
}
.main-chat .message-contacts--action--cancel {
  cursor: pointer;
  position: relative;
  display: inline-block;
  min-width: 16px;
  width: 16px;
  height: 16px;
  max-width: 16px;
  min-height: 16px;
  max-height: 16px;
  margin: auto 0 auto auto;
}
.main-chat .message-contacts--action--cancel svg {
  fill: #155fb1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.main-chat .message-inbox {
  background: #fff;
}
.main-chat .message-inbox--item:hover {
  background: #F8F8F8;
}
.main-chat .message-inbox--item.active {
  background: #F8F8F8;
}
.main-chat .message-inbox--item[data-notification]:before {
  content: attr(data-notification);
  position: absolute;
  top: 20px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FF3D54;
  color: #ffffff;
  font-size: 8px;
  font-weight: 400;
}
.main-chat .message-inbox--item[data-notification].dialog-muted:before {
  background-color: #757575;
}
.main-chat .message-inbox--item.field-container {
  min-height: 60px;
  max-height: 60px;
  padding: 10px 30px;
  margin-right: 0;
}
.main-chat .message-inbox .message-inbox--item.link-group {
  display: none;
  min-height: 50px;
  max-height: 50px;
  padding: 15px 30px 15px 30px;
}
.main-chat .message-inbox--item {
  position: relative;
  display: flex;
  padding: 20px 30px 20px 30px;
  min-height: 70px;
  max-height: 70px;
  border-bottom: 1px solid #F2F2F2;
}
.main-chat .message-inbox--item--link-group {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: #0051aa;
  white-space: nowrap;
  line-height: 1;
}
.main-chat .message-inbox--item--link-group svg {
  width: 14px;
  min-width: 14px;
  max-width: 14px;
  height: 16px;
  min-height: 16px;
  max-height: 16px;
  fill: #0051aa;
  margin-left: 8px;
}
.main-chat .message-inbox--item--add, .main-chat .message-inbox--item--added {
  display: inline-block;
  cursor: pointer;
  font-size: 12px;
  color: #0051aa;
  line-height: 1;
  margin: 6px 0 0 0;
}
.main-chat .message-inbox--item--add:hover, .main-chat .message-inbox--item--added:hover {
  color: #202020;
}
.main-chat .message-inbox--item--added {
  color: #7e7e7e;
  cursor: text;
}
.main-chat .message-inbox--item--input {
  height: 38px;
  font-size: 12px;
  color: #7e7e7e;
}
.main-chat .message-inbox--item--input::-webkit-input-placeholder {
  font-size: 12px;
  color: #7e7e7e;
}
.main-chat .message-inbox--item--input:-moz-placeholder {
  font-size: 12px;
  color: #7e7e7e;
}
.main-chat .message-inbox--item--input::-moz-placeholder {
  font-size: 12px;
  color: #7e7e7e;
}
.main-chat .message-inbox--item--input:-ms-input-placeholder {
  font-size: 12px;
  color: #7e7e7e;
}
.main-chat .message-inbox--item--img {
  display: inline-block;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  background-size: cover;
  background-position: center top;
  margin-right: 8px;
}
.main-chat .message-inbox--item--col {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.main-chat .message-inbox--item--main {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.main-chat .message-inbox--item--name {
  display: inline-block;
  max-width: 146px;
  min-width: 146px;
  overflow: hidden;
  font-weight: 400;
  font-size: 12px;
  color: #202020;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.main-chat .message-inbox--item--date {
  display: inline-block;
  font-weight: 400;
  font-size: 10px;
  color: #7e7e7e;
  margin-left: auto;
}
.main-chat .message-inbox--item--text {
  display: inline-block;
  min-width: 200px;
  max-width: 200px;
  font-weight: 400;
  font-size: 12px;
  color: #7e7e7e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.main-chat .messages-container {
  width: 100%;
}
.main-chat .messages-container.loading {
  left: 4px;
}
.main-chat .messages-container.message-small-block.loading {
  left: 0;
}
.main-chat .loading {
  position: relative;
  min-height: 200px;
}
.main-chat .loading:after {
  content: "";
  background-color: white;
  background-image: url("data:image/gif;base64,R0lGODlhgACAAPcAAIDF3Wu71+r1+dTs9L/i7pXP46rY6FWy0kSqzYXH3mC31fb7/XfB206u0On1+VCv0LPc67Xd6+z2+v7+//v9/vj8/YTH3tPr89Xs9P7//0msznXA2vn8/Vez0kqsz7Td6+Ly99/w9qXW52O41dru9fz+/kGozEGpzPf7/fT6/JLO4tLr88Xk76LV5k2uz9nu9a3a6ZbP44PG3uDx91Sx0XrC21u007Db6m692Eqtz/P6/PL5+9ft9Mvn8abW58Lj7/3+/vD4++Tz+Ov2+vX7/KfX58rn8Z/T5d3w9m+92djt9ePy97Lc6s3o8sTk72K41c/p8tvv9Vy107be7Gy82JfQ43bB2vr9/qHU5vL5/KTW54LG3sjm8IHG3d7w9s7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VyJCjEzYGTKE9K4rUDYoUYCHrJnClTwQqOL2PSnGlzpK8eUlIKPQkLBEEJI3YqPQHjIVKlO5lyXEFpqNVPAgSmUAAV6oeBW7sq/UpwxwiraHdtTCBWKYIQAtm2pfmW4BG0eAlgmKt0g6+9fGn6FYjiFV60DGQE3glC8eKZRn0ZOYzXw+OZWnJclulDIBzKVhVtlrlhdC8AAmOAHvrA9BPTOFKvFtp69OvRsX19no1S9OjSo1FL5p3S8ubMozv7Kkz8QOLRjaEPvEtc72a/gB8PFmiWt1pfcgPXRgX/ePxAqquxauUamKyvsO05AqVc9GjStlLtz83PsSTalS09lFNXPbkEE4E3+VTQQQkt1JCCHlV0kQUsbORThCBRaOFAAQEAOw==");
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.main-chat .inactive {
  position: relative;
}
.main-chat .inactive:after {
  content: "";
  background-color: white;
  opacity: 0.9;
  position: absolute;
  width: 100%;
  height: 98%;
  left: 0;
  top: 0;
}
.main-chat .dialogs-list.loading:after {
  background-position: top center;
}
.main-chat .message-actions {
  width: 100%;
  background: #fff;
  margin-left: 4px;
}
.main-chat .message-info {
  display: flex;
  align-items: center;
  line-height: 50px;
  padding: 0 30px;
  border-bottom: 1px solid #F2F2F2;
  min-height: 50px;
  max-height: 50px;
}
.main-chat .message-info .dialog-muted {
  width: 18px;
  height: 18px;
  background-image: url(/images/dialog-muted.png);
  background-size: 16px;
  background-repeat: no-repeat;
  opacity: 0.3;
  margin-top: 3px;
  margin-right: 5px;
}
.main-chat .message-info--title {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  font-weight: bold;
  color: #373737;
  max-width: 480px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: text;
}
.main-chat .message-info--settings.disabled.open-settings {
  color: #e5edf6;
}
.main-chat .message-info--settings.disabled.open-settings svg {
  fill: #e5edf6;
}
.main-chat .message-info--settings {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: #0051aa;
  margin-left: auto;
}
.main-chat .message-info--settings svg {
  min-width: 16px;
  max-width: 16px;
  width: 16px;
  height: 16px;
  min-height: 16px;
  max-height: 16px;
  fill: #0051AA;
  margin-left: 6px;
}
.main-chat .message-info--settings-list {
  display: none;
  position: absolute;
  top: 38px;
  right: 0;
  margin: 0;
  padding: 15px 0 15px 18px;
  list-style: none;
  min-width: 186px;
  max-width: 186px;
  background: #fff;
  box-shadow: 0px 4px 10px 0px rgba(15, 27, 30, 0.2);
  z-index: 4;
}
.main-chat .message-info--settings-list li {
  padding: 0;
  margin: 0;
  line-height: 24px;
  font-size: 12px;
  font-weight: 400;
  color: #0051aa;
  cursor: pointer;
}
.main-chat .message-info--settings-list li:hover {
  color: #202020;
}
.main-chat .message-info--settings-list li:before {
  display: none;
}
.main-chat .message-info--settings-list.loading {
  min-height: inherit;
}
.main-chat .message-info--settings-list.show {
  display: block;
}
.main-chat .dialog-link {
  text-decoration: none;
  cursor: pointer;
}
.main-chat .messages-select-dialog .message-tape {
  padding: 20px 10px;
}
.main-chat .message-ribbon {
  overflow-y: auto;
}
.main-chat .message-ribbon .error-message {
  position: absolute;
  top: 50%;
  margin: auto;
  text-align: center;
  width: 298px;
  font-size: 12px;
}
.main-chat .message-tape {
  max-width: 690px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 10px;
}
.main-chat .message-tape--item {
  display: flex;
  max-width: 570px;
  width: 100%;
  margin-bottom: 10px;
}
.main-chat .message-tape--item.self-message {
  margin-left: auto;
}
.main-chat .message-tape--item.self-message .message-tape--item--img {
  order: 2;
  margin-right: 0;
  margin-left: 10px;
}
.main-chat .message-tape--item.self-message .message-tape--item--col {
  order: 1;
  margin-left: 16px;
  margin-right: 0;
}
.main-chat .message-tape--item.self-message .message-tape--item--col .message-moderation-icon {
  left: -16px;
}
.main-chat .message-tape--item.self-message .message-tape--item--col .message-moderation-icon .message-moderation-list {
  left: 0;
  text-align: left;
}
.main-chat .message-tape--item.system-message {
  margin-left: auto;
  margin-right: auto;
}
.main-chat .message-tape--item.system-message .message-tape--item--title, .main-chat .message-tape--item.system-message .message-tape--item--row, .main-chat .message-tape--item.system-message .message-tape--item--img {
  display: none;
}
.main-chat .message-tape--item.system-message .message-tape--item--col {
  margin-right: auto;
  margin-left: auto;
  padding: 5px 12px 6px 12px;
  width: auto;
  background-color: gray;
}
.main-chat .message-tape--item.system-message .message-tape--item--col p {
  color: white;
}
.main-chat .message-tape--item--img {
  position: relative;
  display: inline-block;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  background-size: cover;
  background-position: center top;
  margin-right: 10px;
}
.main-chat .message-tape--item--col {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 3px;
  background: #F8F8F8;
  padding: 10px 12px 15px 12px;
  margin-right: 16px;
}
.main-chat .message-tape--item--row {
  display: flex;
}
.main-chat .message-tape--item--title {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  color: #202020;
}
.main-chat .message-tape--item--date {
  display: inline-block;
  color: #7e7e7e;
  font-size: 10px;
  margin-left: auto;
  font-weight: 400;
}
.main-chat .message-tape--item--text {
  word-break: break-word;
  white-space: pre-wrap;
  display: inline-block;
  font-size: 12px;
  line-height: 1.5;
  color: #4b4b4b;
  font-weight: 400;
  max-width: 460px;
  margin-bottom: 0;
}
.main-chat .message-form {
  display: flex;
  padding: 20px 10px;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  max-height: 80px;
  border-top: 1px solid #F2F2F2;
}
.main-chat .message-form--input {
  min-height: 38px;
  max-height: 38px;
  font-size: 12px;
  padding: 5px 10px;
  max-width: 520px;
  font-weight: 400;
  color: #4b4b4b;
}
.main-chat .message-form--input::-webkit-input-placeholder {
  font-size: 12px;
  color: #7e7e7e;
  font-weight: 400;
}
.main-chat .message-form--input:-moz-placeholder {
  font-size: 12px;
  color: #7e7e7e;
  font-weight: 400;
}
.main-chat .message-form--input::-moz-placeholder {
  font-size: 12px;
  color: #7e7e7e;
  font-weight: 400;
}
.main-chat .message-form--input:-ms-input-placeholder {
  font-size: 12px;
  color: #7e7e7e;
  font-weight: 400;
}
.main-chat .message-form--input[disabled] {
  background: #F8F8F8;
}
.main-chat .message-form--btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  max-width: 70px;
  height: 38px;
  background: #0051AA;
  margin-left: 10px;
}
.main-chat .message-form--btn svg {
  fill: #ffffff;
  width: 22px;
  height: 16px;
}
.main-chat .message-form.disabled .message-form--input,
.main-chat .message-form.disabled .message-form--btn {
  opacity: 0.1;
  pointer-events: none;
}
.main-chat .message-empty {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #7e7e7e;
  font-weight: 400;
  margin: 36px 0 100px;
}

.avatar-wrap {
  position: relative;
}
.avatar-wrap img {
  cursor: pointer;
}

.avatar-list.new-layout {
  display: none;
  position: absolute;
  top: 43px;
  left: 0;
  padding: 15px 18px 15px 18px;
  margin: 0;
  list-style: none;
  background: #fff;
  min-width: 140px;
  max-width: 140px;
  z-index: 10;
  box-shadow: 0px 6px 30px 0px rgba(0, 0, 0, 0.45);
}
.avatar-list.new-layout:before {
  content: "";
  position: absolute;
  top: -13px;
  left: 30px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 13.5px 13px 13.5px;
  border-color: transparent transparent #fff transparent;
}
.avatar-list.new-layout .avatar-list--item.new-layout {
  padding: 0;
  margin: 0;
  font-size: 12px;
  line-height: 24px;
  color: #0051aa;
  cursor: pointer;
}
.avatar-list.new-layout .avatar-list--item.new-layout:before {
  display: none;
}

.avatar-list.new-layout.show {
  display: block;
}

header .user-auth .user-notif-wrap {
  display: inline-flex;
}

#messenger {
  position: relative;
}

#messenger-widget {
  display: inline-flex;
  vertical-align: middle;
}

.main-chat.separate-window {
  position: fixed;
  z-index: 100;
  right: 100px;
  bottom: 0;
}
.main-chat.separate-window .message-blocks {
  margin: 0;
}

.messenger-mode-widget .message-blocks {
  margin: 0;
}

.messenger-mode-default .message-blocked {
  min-height: 80px;
  max-height: 80px;
  padding: 15px 20px;
  border-top: 1px solid #F2F2F2;
  background-color: white;
}
.messenger-mode-default .message-blocked--text {
  line-height: 50px;
  text-align: center;
  margin-bottom: 0;
}

.messages-notification {
  position: relative;
  margin: -2px 5px 0 5px;
  display: inline-block;
  min-width: 18px;
  max-width: 18px;
  min-height: 16px;
  max-height: 16px;
  cursor: pointer;
}
.messages-notification svg {
  fill: #ffffff;
}

.messages-notification[data-notification]:before {
  content: attr(data-notification);
  line-height: 12px;
  text-align: center;
  position: absolute;
  top: -4px;
  right: -12px;
  width: 12px;
  height: 12px;
  background-color: #ff3d54;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 400;
  color: #ffffff;
}

.user-notif-link {
  position: relative;
}

.user-notification[data-notification] {
  display: inline-block;
  position: relative;
}
.user-notification[data-notification]:after {
  display: flex;
  align-items: center;
  justify-content: center;
  content: attr(data-notification);
  line-height: 12px;
  text-align: center;
  position: absolute;
  top: -20px;
  right: -12px;
  width: 12px;
  height: 12px;
  background-color: #ff3d54;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 400;
  color: #ffffff;
}

.main-chat .message-fluid-container {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  height: 100px;
  min-height: 558px;
}
.main-chat .message-small-block {
  display: inline-block;
  width: 298px;
  min-height: 291px;
  z-index: 4;
  margin-left: 10px;
}
.main-chat .message-small-block .message-info {
  position: relative;
  min-height: 36px;
  max-height: 36px;
  line-height: 36px;
  padding: 0 10px;
}
.main-chat .message-small-block .message-info--users-list {
  position: absolute;
  bottom: 34px;
  left: 0;
  padding: 6px 10px;
  min-width: 160px;
  margin: 0;
  list-style: none;
  background: #4c4c4c;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.main-chat .message-small-block .message-info--users-list:before {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 44px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 6.5px 0 6.5px;
  border-color: #4c4c4c transparent transparent transparent;
}
.main-chat .message-small-block .message-info--users-list li {
  display: block;
  font-size: 10px;
  line-height: 12px;
  color: #d5d5d5;
  padding: 0;
  margin: 0;
}
.main-chat .message-small-block .message-info--users-list li:before {
  display: none;
}
.main-chat .message-small-block .message-info--title {
  font-size: 12px;
  max-width: 290px;
}
.main-chat .message-small-block .message-info--title:hover ~ .message-info--users-list {
  opacity: 1;
  visibility: visible;
}
.main-chat .message-small-block .message-info--settings-list {
  top: 26px;
  right: -36px;
}
.main-chat .message-small-block .message-info--close {
  display: inline-block;
  position: relative;
  min-width: 16px;
  max-width: 16px;
  min-height: 16px;
  max-height: 16px;
  cursor: pointer;
  margin-left: 10px;
}
.main-chat .message-small-block .message-info--close svg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  fill: #155fb1;
  width: 100%;
  height: 100%;
}
.main-chat .message-small-block .message-ribbon {
  min-height: 205px;
  max-height: 205px;
}
.main-chat .message-small-block .message-form {
  min-height: 50px;
  max-height: 50px;
  padding: 6px 10px;
  background: #f2f2f2;
}
.main-chat .message-small-block .message-form--btn {
  min-width: 28px;
  max-width: 28px;
  margin-left: 6px;
}
.main-chat .message-small-block .message-actions {
  min-height: 291px;
  margin-left: 0;
  box-shadow: 0px 5px 29px 5px rgba(0, 0, 0, 0.25);
}

.ui-draggable-handle {
  cursor: move;
}

.message-small-contacts .users-list {
  max-height: 196px !important;
}
.message-small-contacts .message-contacts {
  box-shadow: 0px 5px 29px 5px rgba(0, 0, 0, 0.25);
}
.message-small-contacts .message-contacts--action {
  min-height: 36px;
  max-height: 36px;
  line-height: 36px;
  padding: 0 10px;
}
.message-small-contacts .message-contacts--action--add {
  font-size: 12px;
  font-weight: bold;
}
.message-small-contacts .message-contacts .message-inbox {
  min-height: 256px;
  max-height: 256px;
}
.message-small-contacts .message-contacts .message-inbox--item.field-container {
  display: flex;
  align-items: center;
  height: 10px;
  min-height: 60px;
  max-height: 60px;
  padding: 10px 30px;
  margin-right: 0;
}
.message-small-contacts .message-contacts .message-inbox--item {
  min-height: 50px;
  max-height: 50px;
  padding: 10px 0 10px 30px;
}

.main-chat .message-ribbon.ribbon-smaller {
  min-height: 188px;
  max-height: 188px;
}

.message-blocked {
  min-height: 68px;
  max-height: 68px;
  background: #f2f2f2;
  padding: 15px 20px;
}
.message-blocked--text {
  font-size: 12px;
  color: #7e7e7e;
  line-height: 18px;
}
.message-blocked--text a {
  color: #0051aa;
}

.message-moderation-icon {
  position: absolute;
  top: 0;
  right: -16px;
  width: 12px;
  height: 12px;
  min-width: 12px;
  max-width: 12px;
  min-height: 12px;
  max-height: 12px;
  cursor: pointer;
}
.message-moderation-icon svg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  min-width: 12px;
  max-width: 12px;
  min-height: 12px;
  max-height: 12px;
  fill: #0051aa;
}

.message-moderation-list {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0;
  margin: 0;
  min-width: 186px;
  max-width: 186px;
  width: 186px;
  text-align: right;
  list-style: none;
  padding: 15px 18px 15px 18px;
  box-shadow: 0px 4px 10px 0px rgba(15, 27, 30, 0.2);
  background: #fff;
  z-index: 4;
}
.message-moderation-list li {
  display: block;
  padding: 0;
  margin: 0;
  font-size: 12px;
  line-height: 24px;
  font-size: 12px;
  font-weight: 400;
  color: #0051aa;
  white-space: nowrap;
  cursor: pointer;
}
.message-moderation-list li:hover {
  color: #202020;
}
.message-moderation-list li:before {
  display: none;
}

header .lang-unit {
  margin-left: 95px;
}

.message-moderation-list.show {
  display: block;
}

.message-small-block.marg {
  margin-right: 140px;
}

.nofication-block.show {
  display: block;
}

.nofication-block {
  display: none;
  position: absolute;
  min-width: 300px;
  max-width: 300px;
  left: -104px;
  top: 39px;
  z-index: 100;
  cursor: default;
  box-shadow: 0px 5px 29px 5px rgba(0, 0, 0, 0.25);
}
.nofication-block:before {
  content: "";
  position: absolute;
  top: -13px;
  left: 100px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 13.5px 13px 13.5px;
  border-color: transparent transparent #ffffff transparent;
}
.nofication-block .message-more {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10px;
  min-height: 48px;
  max-height: 48px;
  background: #f2f2f2;
}
.nofication-block .message-more--link {
  font-size: 12px;
  color: #0051aa;
  font-weight: 700;
}
.nofication-block .notification-action {
  display: flex;
  padding: 15px 20px 6px 20px;
  background: #fff;
  border-bottom: 1px solid #f2f2f2;
}
.nofication-block .notification-action span {
  display: inline-block;
  font-size: 12px;
  white-space: nowrap;
  color: #0051aa;
  margin-right: 12px;
  cursor: pointer;
}
.nofication-block .notification-action span:hover {
  color: #202020;
}
.nofication-block .dialogs-list-container {
  min-height: 150px;
  max-height: 150px;
}
.nofication-block .message-inbox {
  min-height: 150px;
  max-height: 150px;
  overflow-y: auto;
  background: #fff;
}
.nofication-block .message-inbox--item.active {
  background: #F8F8F8;
}
.nofication-block .message-inbox--item[data-notification]:before {
  content: attr(data-notification);
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FF3D54;
  color: #ffffff;
  font-size: 8px;
  font-weight: 400;
}
.nofication-block .message-inbox--item.field-container {
  min-height: 60px;
  max-height: 60px;
  padding: 10px 30px;
  margin-right: 0;
}
.nofication-block .message-inbox--item {
  position: relative;
  display: flex;
  padding: 10px 30px 10px 30px;
  min-height: 50px;
  max-height: 50px;
  border-bottom: 1px solid #F2F2F2;
}
.nofication-block .message-inbox--item--add, .nofication-block .message-inbox--item--added {
  display: inline-block;
  cursor: pointer;
  font-size: 12px;
  color: #0051aa;
  line-height: 1;
  margin: 6px 0 0 0;
}
.nofication-block .message-inbox--item--add:hover, .nofication-block .message-inbox--item--added:hover {
  color: #202020;
}
.nofication-block .message-inbox--item--added {
  color: #7e7e7e;
  cursor: text;
}
.nofication-block .message-inbox--item--input {
  height: 38px;
  font-size: 12px;
  color: #7e7e7e;
}
.nofication-block .message-inbox--item--input::-webkit-input-placeholder {
  font-size: 12px;
  color: #7e7e7e;
}
.nofication-block .message-inbox--item--input:-moz-placeholder {
  font-size: 12px;
  color: #7e7e7e;
}
.nofication-block .message-inbox--item--input::-moz-placeholder {
  font-size: 12px;
  color: #7e7e7e;
}
.nofication-block .message-inbox--item--input:-ms-input-placeholder {
  font-size: 12px;
  color: #7e7e7e;
}
.nofication-block .message-inbox--item--img {
  display: inline-block;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  background-size: cover;
  background-position: center top;
  margin-right: 8px;
}
.nofication-block .message-inbox--item--col {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.nofication-block .message-inbox--item--main {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.nofication-block .message-inbox--item--name {
  display: inline-block;
  max-width: 146px;
  min-width: 146px;
  overflow: hidden;
  font-weight: 400;
  font-size: 12px;
  color: #202020;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nofication-block .message-inbox--item--date {
  display: inline-block;
  font-weight: 400;
  font-size: 10px;
  color: #7e7e7e;
  margin-left: auto;
}
.nofication-block .message-inbox--item--text {
  display: inline-block;
  min-width: 200px;
  max-width: 200px;
  font-weight: 400;
  font-size: 12px;
  color: #7e7e7e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*==========  Desktop First  ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
  /**/
}
/* Medium Devices, Desktops */
@media (max-width: 999px) {
  header .header-panel {
    display: block;
  }
  header .header-panel .lang-unit,
  header .header-panel .avatar-wrap,
  header .header-panel .user-auth-name,
  header .header-panel .user-notif-link {
    display: none;
  }
  header .user-auth .user-notif-wrap {
    top: 90px;
    right: 80px;
  }
  .messages-notification {
    margin: 80px 87px 0 15px;
    min-width: 50px;
    max-width: 50px;
    width: 50px;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
  }
  .nofication-block {
    left: auto;
    right: -40px;
  }
  .nofication-block:before {
    left: auto;
    right: 26px;
  }
}
/* Small Devices, Tablets */
@media (max-width: 768px) {
  #messenger {
    margin: -29px -20px 0;
  }
  .main-chat .message-blocks {
    flex-direction: column;
  }
  .main-chat .messages-container {
    display: none;
  }
  .main-chat .message-container {
    position: absolute;
    top: 0;
  }
  header .user-auth .user-notif-wrap {
    top: 38px;
    right: 25px;
  }
  .message-title {
    display: none;
  }
  .main-chat .message-contacts {
    min-width: 100%;
    max-width: 100%;
  }
  .main-chat .message-inbox--item--text,
  .main-chat .message-inbox--item--name {
    max-width: 80%;
  }
  .main-chat .message-blocks {
    margin: 0;
  }
  .main-chat .container {
    padding: 0;
  }
  header .logo img {
    max-width: 168px;
  }
  .messages-notification {
    margin: 40px 45px 0 15px;
    min-width: 30px;
    max-width: 30px;
    width: 30px;
    height: 27px;
    min-height: 27px;
    max-height: 27px;
  }
  .nofication-block {
    left: auto;
    right: -60px;
  }
  .nofication-block:before {
    left: auto;
    right: 46px;
  }
  .main-chat .message-inbox .message-inbox--item.link-group {
    display: block;
  }
  .main-chat .message-contacts--action {
    padding: 0 20px;
  }
  .main-chat .message-inbox--item {
    padding: 20px;
    margin-right: 20px;
  }
  .main-chat .message-inbox--item--input {
    padding: 6px 15px;
  }
  .main-chat .message-inbox--item.field-container {
    padding: 10px 20px;
    margin-right: 0;
  }
  .main-chat .message-inbox .message-inbox--item.link-group {
    padding: 15px 20px 15px 20px;
    margin-right: 0;
  }
  .main-chat .message-info {
    padding: 0 20px;
  }
  .main-chat .message-tape {
    padding: 20px 40px;
  }
  .main-chat .message-form {
    padding: 20px 40px;
  }
  .main-chat .message-info--settings {
    font-size: 0;
  }
  .main-chat .message-ribbon {
    min-height: 350px;
    max-height: 350px;
  }
  .main-chat .message-actions {
    margin-left: 0;
  }
  .main-chat .message-fluid-container {
    flex-wrap: wrap;
    height: auto;
  }
  .main-chat .message-small-contacts .message-contacts {
    min-width: 300px;
    max-width: 300px;
  }
  .main-chat .message-small-block {
    min-width: 300px;
    max-width: 300px;
    margin: 0;
    width: 100%;
  }
}
/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
  .main-chat .message-inbox .message-inbox--item.link-group {
    display: block;
  }
  .main-chat .message-contacts--action {
    padding: 0 20px;
  }
  .main-chat .message-inbox--item {
    padding: 20px;
    margin-right: 20px;
  }
  .main-chat .message-inbox--item.field-container {
    padding: 10px 20px;
    margin-right: 0;
  }
  .main-chat .message-inbox .message-inbox--item.link-group {
    padding: 15px 20px 15px 20px;
    margin-right: 0;
  }
  .main-chat .message-info {
    padding: 0 20px;
  }
  .main-chat .message-tape {
    padding: 20px 20px;
  }
  .main-chat .message-form {
    padding: 20px 20px;
  }
  .main-chat .message-form--btn {
    min-width: 30px;
    max-width: 30px;
  }
  .main-chat .message-ribbon {
    min-height: 320px;
    max-height: 320px;
  }
}
/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {
  /**/
}

