/* Thanks to @brandonb927
   https://gist.github.com/brandonb927/3874012

   Prepending 'only screen and ' to each media query breaks nested media queries */
/* app common css */
html {
  background: #e7ebf0;
  overflow: visible;
}
body {
  color: #000;
  background: none;
  font: 12px/18px 'Open Sans', "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Verdana, sans-serif;
  overflow: hidden;
}
body.non_osx {
  font: 13px/18px Tahoma, sans-serif, Arial, Helvetica;
}
h1,
h2,
h3,
h4,
h5 {
  color: #222;
}
.non_osx h4 {
  font-size: 17px;
}
.noselect {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.hasselect {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
.copyonly {
  color: transparent;
  display: inline-block;
  vertical-align: baseline;
  width: 1px;
  height: 0px;
  background: none 0 no-repeat;
  font-size: 0px;
  float: left;
  text-rendering: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.nocopy::before {
  content: attr(data-content);
}
pre {
  margin-bottom: 0;
  overflow: auto;
  padding: 3px;
  border: 1px solid #eee;
  max-height: none;
  font-size: inherit;
}
a {
  cursor: pointer;
}
a.disabled {
  cursor: default;
  pointer-events: none;
}
.form-control {
  border: 1px solid #d9dbde;
  border-radius: 2px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.form-control.no_outline:focus {
  border: 1px solid #d9dbde;
  outline: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.form-control::-moz-placeholder,
.form-control:-ms-input-placeholder,
.form-control::-webkit-input-placeholder {
  color: #b3b3b3;
}
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.btn {
  border: 0;
  padding: 7px 13px;
}
.btn:hover,
.btn:active,
.btn.active,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.open .btn.dropdown-toggle {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  outline: none;
}
.btn-success {
  color: #ffffff;
  background-color: #6ec26d;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open .btn-success.dropdown-toggle {
  color: #ffffff;
  background-color: #61b75b;
}
.btn-success:active,
.btn-success.active,
.open .btn-success.dropdown-toggle {
  background: #66b864;
  background-image: none;
}
.btn-danger {
  color: #ffffff;
  background-color: #c05f5a;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open .btn-danger.dropdown-toggle {
  color: #ffffff;
  background-color: #ab5450;
}
.btn-danger:active,
.btn-danger.active,
.open .btn-danger.dropdown-toggle {
  background: #a24f4b;
  background-image: none;
}
.btn-primary {
  color: #ffffff;
  background-color: #6490b1;
  border-radius: 3px;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .btn-primary.dropdown-toggle {
  color: #ffffff;
  background-color: #4a80a9;
}
.btn-primary:active,
.btn-primary.active,
.open .btn-primary.dropdown-toggle {
  background: #41769e;
  background-image: none;
}
.btn-primary[disabled],
.btn-primary.disabled {
  background: #7999b3;
}
.btn-link {
  color: #3a6d99;
  text-decoration: none !important;
  border-radius: 3px;
  overflow: hidden;
}
.btn-link:hover {
  background: #f2f6fa;
}
.btn-link.btn-link-noarea:hover,
.btn-link.dropdown-toggle:hover {
  background: none;
}
.btn-link.dropdown-toggle:active {
  outline: none;
}
.btn-md {
  background: none;
  text-decoration: none !important;
  border-radius: 2px;
  overflow: hidden;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 10px;
  font-weight: bold;
}
.btn-md,
.btn-md:focus,
.btn-md:hover {
  color: #72a0c7;
}
.btn-md:hover {
  background: #f2f6fa;
}
.btn-md-primary,
.btn-md-primary:focus,
.btn-md-primary:hover {
  color: #4680b3;
}
.btn-md-danger,
.btn-md-danger:focus,
.btn-md-danger:hover {
  color: #c05f5a;
}
.btn-md-danger:hover {
  background: #fbe7e6;
}
.md-input-group {
  height: 50px;
  border-bottom: 1px solid #e6e6e6;
  padding: 0;
  margin: 0 0 22px;
}
.md-textarea-group {
  height: 66px;
}
.md-input-grouped {
  margin-bottom: 12px;
}
.md-input-label {
  font-weight: normal;
  color: #999;
  cursor: pointer;
  display: block;
  font-size: 13px;
  margin: 0;
  padding: 0;
  z-index: 1;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  transform-origin: left center;
  -webkit-transform-origin: left center;
  -webkit-transform: translate3d(0, 22px, 0);
  transform: translate3d(0, 22px, 0);
}
.md-input-label span.ng-enter-prepare {
  display: none;
}
.md-input-animated .md-input-group,
.md-input-animated .md-input-label {
  -webkit-transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
  transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
}
.md-input {
  color: #000;
  background: #fff;
  display: inline-block;
  border: 0;
  outline: 0;
  font-size: 13px;
  padding: 3px 0;
  margin: 3px 0 0;
  width: 100%;
  resize: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.md-input-disabled .md-input {
  color: #999;
}
.md-input-focused {
  border-bottom: 2px solid #6bace1;
}
.md-input-error {
  border-bottom: 2px solid #e2726f;
}
.md-input-error .md-input-label {
  color: #d45a58;
}
.md-input-has-value .md-input-label {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}
.md-input-group-centered,
.md-input-group-centered .md-input {
  text-align: center;
}
.md-input-group-centered .md-input-label {
  transform-origin: center center;
  -webkit-transform-origin: center center;
}
.md_modal_head {
  color: #fff;
  background: #5580a3;
  padding: 0 0 28px 26px;
}
.md_modal_head_simple {
  padding-bottom: 13px;
}
.md_modal_actions_wrap {
  float: right;
}
a.md_modal_action {
  display: block;
  float: right;
  color: #dde8f1;
  padding: 19px 15px 5px;
  font-weight: bold;
}
a.md_modal_action:hover {
  color: #fff;
}
a.md_modal_action_close {
  padding-right: 22px;
}
a.md_modal_action:hover,
a.md_modal_action:focus,
a.md_modal_action:active {
  text-decoration: none;
}
.md_modal_title {
  font-weight: bold;
  padding: 18px 0 5px;
  font-size: 13px;
}
.navbar_offline .navbar-header,
.navbar_offline .navbar-offline > li {
  float: left;
}
.navbar-offline {
  max-width: 400px;
  margin: 0 auto;
  float: none;
}
.navbar-offline-text {
  color: #b9cfe3;
  padding: 13px 15px;
  font-size: 13px;
  display: block;
  line-height: 20px;
}
.tg_progress {
  height: 12px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  border: 5px solid rgba(0, 0, 0, 0.5);
  border-radius: 3px;
}
.tg_progress .progress-bar {
  height: 5px;
  line-height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0;
  overflow: hidden;
}
.progress-arc-wrap {
  display: block;
  border-radius: 100%;
  transform-origin: center center;
  -webkit-animation: infinite_rotation 0.8s linear infinite;
  -moz-animation: infinite_rotation 0.8s linear infinite;
  -ms-animation: infinite_rotation 0.8s linear infinite;
  animation: infinite_rotation 0.8s linear infinite;
}
.progress-arc .progress-arc-bar {
  stroke-dashoffset: 0;
  transform-origin: center center;
  fill: transparent;
}
.progress-arc-intermediate .progress-arc .progress-arc-bar {
  stroke: #68a4d1;
}
.composer_progress_icon .progress-arc .progress-arc-bar {
  stroke: #b3b3b3;
}
.progress-arc-percent .progress-arc .progress-arc-bar {
  stroke: #FFF;
  stroke: rgba(255, 255, 255, 0.95);
  transition: stroke-dasharray 500ms linear;
}
.stop0 {
  stop-opacity: 1.0;
  stop-color: #68a4d1;
}
.composer_progress_icon .stop0 {
  stop-color: #b3b3b3;
}
.stop60 {
  stop-opacity: 1.0;
  stop-color: #68a4d1;
}
.composer_progress_icon .stop60 {
  stop-color: #b3b3b3;
}
.stop100 {
  stop-opacity: 0.0;
  stop-color: #68a4d1;
}
.composer_progress_icon .stop100 {
  stop-color: #b3b3b3;
}
/* Infinite rotation */
@-webkit-keyframes infinite_rotation {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-moz-keyframes infinite_rotation {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-ms-keyframes infinite_rotation {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes infinite_rotation {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.dropdown-menu {
  border-radius: 2px;
  padding: 0;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.175);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.175);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.175);
}
.dropdown-menu-to-up {
  top: auto;
  bottom: 100%;
  margin: 0 0 3px;
}
.dropdown-menu > li > a {
  padding: 5px 14px;
  font-size: 13px;
}
.modal-backdrop {
  background: rgba(26, 26, 26, 0.7);
  opacity: 1 !important;
  /*opacity: 0.25 !important;*/
}
.modal.fade .modal-dialog {
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}
.modal.fade,
.modal-backdrop.fade {
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}
.text-invisible {
  visibility: hidden;
}
.modal {
  overflow-y: auto;
  padding: 10px;
}
.modal-dialog {
  margin: 0 auto;
}
.modal-content {
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}
.modal-header {
  padding: 12px 0 4px 3px;
  border-bottom: 2px solid #E1E1E1;
  margin: 0 18px;
}
.modal-title {
  color: #222;
  font-weight: bold;
  font-size: 17px;
  line-height: 1.4;
}
.modal-close-link,
.modal-head-link {
  font-size: 12px;
  line-height: 1.4;
  float: right;
  padding: 0 2px 0;
  margin: 6px 2px 0 0;
}
.modal-close-link:hover,
.modal-head-link:hover {
  text-decoration: none;
}
.modal-head-link {
  margin-right: 15px;
}
.modal-close-button {
  position: absolute;
  z-index: 1051;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
}
.modal-close-button i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 21px;
  opacity: 0.8;
  background-image: url(../img/icons/IconsetW.png);
  background-repeat: no-repeat;
  background-position: -15px -320px;
}
.is_2x .modal-close-button i {
  background-image: url(../img/icons/IconsetW_2x.png);
  background-size: 42px 1171px;
}
.modal-close-button:hover i {
  opacity: 1;
}
.modal-body {
  padding: 14px 14px;
}
.modal-footer {
  padding: 0 14px 13px;
  margin: 0;
  border-top: 0;
}
.modal_simple_header {
  font-size: 14px;
  margin: 0 0 10px;
  text-align: center;
  font-weight: bold;
}
.modal_simple_form {
  max-width: 276px;
  margin: 0 auto;
  /*padding: 70px 0 50px;*/
}
.modal_simple_form h4 {
  font-size: 14px;
  margin-bottom: 38px;
  text-align: left;
}
.modal_simple_form .form-group {
  margin-bottom: 13px;
}
.modal_simple_form_description {
  color: #777;
  line-height: 160%;
  margin: 10px 0 0;
  text-align: justify;
}
.md_simple_header {
  font-size: 14px;
  margin: 0 0 10px;
  font-weight: bold;
}
.md_simple_modal_body {
  padding: 40px 37px 0;
}
.md_simple_modal_body .modal_simple_form {
  max-width: none;
  margin: 0;
  padding: 0;
}
.md_simple_modal_body .modal_simple_form h4 {
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 38px;
  text-align: left;
  font-weight: bold;
}
.md_simple_form_description {
  color: #777;
  line-height: 160%;
  margin: 0 0 10px;
  text-align: justify;
}
.md_simple_modal_footer {
  text-align: right;
  padding: 10px 27px 15px;
}
.md_simple_modal_footer .btn {
  margin-left: 10px;
}
.modal_section_header {
  font-size: 12px;
  line-height: 14px;
  color: #999;
  background: #f5f5f5;
  padding: 7px 14px;
  margin: 0;
}
.modal_section_body {
  padding: 14px 14px;
}
.modal_section_body p,
.modal_section_body dl {
  margin: 5px 0;
}
.modal_section:last-child .modal_section_body {
  padding-bottom: 8px;
}
a.tg_checkbox {
  color: #000;
  display: block;
  line-height: 18px;
  padding: 8px 0;
  margin: 9px 0;
}
a.tg_checkbox:hover {
  text-decoration: none;
}
.tg_checkbox span.icon-checkbox-outer {
  float: right;
  display: inline-block;
  background-color: #e6e6e6;
  width: 36px;
  height: 14px;
  line-height: 14px;
  vertical-align: middle;
  border-radius: 8px;
  margin: 3px 0px 3px 0;
  -webkit-transition: background-color ease-in-out 0.1s;
  transition: background-color ease-in-out 0.1s;
}
.tg_checkbox.tg_checkbox_on span.icon-checkbox-outer {
  background-color: #bfd9ed;
}
.tg_checkbox i.icon-checkbox-inner {
  display: inline-block;
  background: #fff;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
  float: left;
  margin-left: -1px;
  margin-top: -3px;
  -webkit-transition: all ease 0.1s;
  transition: all ease 0.1s;
  border: 1px solid #E7E7E7;
  -webkit-box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.05);
}
.tg_checkbox.tg_checkbox_on i.icon-checkbox-inner {
  background: #6b9bc2;
  margin-left: 16px;
  border: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.tg_checkbox_label {
  display: inline-block;
  line-height: 18px;
  vertical-align: middle;
}
/*a.tg_checkbox:hover span.icon-checkbox-outer {
  background: #bdbdbd;
}
a.tg_checkbox_on:hover span.icon-checkbox-outer {
  background: #5785aa;
}
a.tg_checkbox:hover i.icon-checkbox-inner {
  background: #f2f2f2;
}*/
.tg_radios_wrap {
  margin: 15px 0;
}
a.tg_radio {
  color: #000;
  display: block;
  line-height: 20px;
  padding: 5px 0 6px;
}
a.tg_radio:hover {
  text-decoration: none;
}
.tg_radio .icon-radio-outer {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  vertical-align: middle;
  border-radius: 10px;
  border: 2px solid #d8d8d8;
  overflow: hidden;
  margin: 0 8px 0 0;
  -webkit-transition: border-color ease-in-out 0.1s;
  transition: border-color ease-in-out 0.1s;
}
i.icon-radio {
  display: inline-block;
  background-color: #fff;
  width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 8px;
  border: 3px solid #fff;
  -webkit-transition: background-color ease-in-out 0.1s;
  transition: background-color ease-in-out 0.1s;
}
.tg_radio.tg_radio_on .icon-radio-outer {
  border-color: #5c8db3;
}
.tg_radio.tg_radio_on i.icon-radio {
  background-color: #6b9bc2;
}
a.tg_radio:hover i.icon-radio {
  background-color: #f2f2f2;
}
a.tg_radio_on:hover i.icon-radio {
  background-color: #5785aa;
}
.tg_radio_label {
  display: inline-block;
  line-height: 20px;
  vertical-align: middle;
}
.tg_range_wrap {
  line-height: 18px;
}
.tg_slider_wrap {
  position: relative;
  cursor: pointer;
  line-height: 18px;
  height: 18px;
}
.tg_slider_track {
  position: absolute;
  background: #c4daec;
  height: 4px;
  margin: 7px 0;
  width: 100%;
  z-index: 2;
}
.tg_slider_track_fill {
  background: #83afd2;
  height: 4px;
}
.tg_slider_thumb {
  position: absolute;
  border: 0;
  background: #6b9bc2;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  z-index: 3;
}
.tg_form_group {
  padding: 6px 0;
}
.tg_form_group:first-child {
  padding-top: 0;
}
.tg_form_group:last-child {
  padding-bottom: 0;
}
.img_fullsize_with_progress_wrap {
  position: relative;
  margin: 0 auto;
}
.img_fullsize_progress_overlay {
  position: absolute;
  width: 100%;
  height: 100%;
}
.img_fullsize_progress_wrap {
  position: relative;
}
.img_fullsize_progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25px;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  border-radius: 0;
  padding: 10px;
}
.nano-content {
  outline: none !important;
}
/* Login page */
.login_head_bg {
  background: #5682a3;
  height: 226px;
}
.login_page {
  margin: -131px auto 90px;
  max-width: 404px;
}
.login_head_wrap {
  height: 75px;
}
.login_head_logo_link {
  display: inline-block;
  line-height: 30px;
  padding: 23px 15px 22px;
}
.tg_logo_wrap {
  line-height: 30px !important;
}
.icon-tg-logo {
  width: 30px;
  height: 30px;
  display: inline-block;
  vertical-align: top;
  margin-right: 18px;
  background-image: url(../img/icons/General.png);
  background-repeat: no-repeat;
  background-position: -5px -10px;
}
.is_2x .icon-tg-logo {
  background-image: url(../img/icons/General_2x.png);
  background-size: 40px 948px;
}
.icon-tg-title {
  width: 62px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  background-image: url('../img/Telegram.svg');
  background-repeat: no-repeat;
  background-position: 0 0;
  margin-top: 1px;
}
.login_head_submit_wrap,
.login_head_submit_progress {
  float: right;
}
.login_head_submit_wrap {
  font-weight: bold;
}
.login_head_submit_btn,
.login_head_submit_progress {
  font-size: 13px;
  line-height: 20px;
  padding: 27px 15px 28px;
  display: inline-block;
  color: #fff;
}
.login_head_submit_btn:hover,
.login_head_submit_btn:focus,
.login_head_submit_btn:active {
  color: #fff;
  text-decoration: none;
}
.icon-next-submit {
  width: 7px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px;
  margin-top: -1px;
  background-image: url(../img/icons/General.png);
  background-repeat: no-repeat;
  background-position: -18px -50px;
}
.is_2x .icon-next-submit {
  background-image: url(../img/icons/General_2x.png);
  background-size: 40px 948px;
}
.login_footer_wrap {
  color: #84a2bc;
  font-size: 13px;
  line-height: 16px;
  margin-top: 25px;
  text-align: center;
}
.logo_footer_learn_more_link,
.logo_footer_learn_more_link:hover,
.logo_footer_learn_more_link:focus,
.logo_footer_learn_more_link:active {
  color: #84a2bc;
  font-weight: bold;
}
.login_form_wrap {
  background: #fff;
  padding: 44px 65px 44px;
  -webkit-box-shadow: 0px 1px 1px rgba(97, 127, 152, 0.2), 1px 0px 0 rgba(97, 127, 152, 0.1), -1px 0px 0 rgba(97, 127, 152, 0.1);
  -moz-box-shadow: 0px 1px 1px rgba(97, 127, 152, 0.2), 1px 0px 0 rgba(97, 127, 152, 0.1), -1px 0px 0 rgba(97, 127, 152, 0.1);
  box-shadow: 0px 1px 1px rgba(97, 127, 152, 0.2), 1px 0px 0 rgba(97, 127, 152, 0.1), -1px 0px 0 rgba(97, 127, 152, 0.1);
  border-radius: 2px;
  border: 0;
  margin: 0;
  max-width: none;
}
.login_phone_country_input_group {
  cursor: pointer;
}
.login_phone_num_input_group {
  overflow: hidden;
}
.login_phone_code_input_group {
  float: left;
  width: 50px;
  margin-right: 25px;
}
.login_footer_about_wrap {
  background: #fff;
  margin-top: 12px;
  padding: 44px 65px 44px;
  -webkit-box-shadow: 0px 1px 0 #dfe5ec;
  -moz-box-shadow: 0px 1px 0 #dfe5ec;
  box-shadow: 0px 1px 0 #dfe5ec;
  border-radius: 3px;
  border: 1px solid #dfe5ec;
}
.login_footer_about_wrap h3 {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: bold;
  text-align: left;
}
.login_footer_about_wrap p {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 160%;
}
.login_footer_about_wrap p:last-child {
  margin: 0;
}
.login_form_head {
  color: #222222;
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: bold;
}
.login_form_lead {
  color: #999;
  margin: 15px 0 30px;
  font-size: 13px;
  line-height: 160%;
}
.login_form_hint {
  color: #999;
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 160%;
}
.login_form_messaging {
  color: #999;
  font-size: 13px;
  margin-top: 20px;
  line-height: 160%;
}
.login_phone_head {
  color: #222222;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  margin: 0;
}
.login_edit_phone {
  margin: 5px 0 15px;
  text-align: center;
}
.login_smscode_lead {
  color: #999;
  margin: 15px 0 15px;
  line-height: 160%;
  text-align: center;
}
.login_smscode_lead:last-child {
  margin-bottom: 30px;
}
.login_forgot_button {
  text-align: center;
  margin: 30px 0 10px;
}
.login_reset_button {
  text-align: center;
  margin: 10px 0 0;
}
/* IM page start */
/* Dialogs list */
.im_dialogs_empty_wrap {
  margin: 60px 50px;
  text-align: center;
}
.im_dialogs_empty_header {
  font-size: 15px;
  color: #808080;
  margin: 0 0 15px;
}
.im_dialogs_empty_lead {
  color: #808080;
  margin-bottom: 18px;
}
.im_dialogs_import_phonebook {
  margin-top: 10px;
}
.im_dialogs_panel {
  padding: 12px 12px 12px;
  position: relative;
}
.im_dialogs_modal_col_wrap .im_dialogs_panel {
  padding: 7px 12px 6px;
  -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  z-index: 1;
}
.im_dialogs_search {
  position: relative;
}
.im_dialogs_search_field {
  font-size: 12px;
  line-height: normal;
  border: 1px solid #F2F2F2;
  border-radius: 2px;
  padding: 6px 26px 6px 30px;
  margin: 0 0 0;
  background-color: #F2F2F2;
  background-image: url(../img/icons/IconsetW.png);
  background-repeat: no-repeat;
  background-position: -6px -205px;
}
.is_2x .im_dialogs_search_field {
  background-image: url(../img/icons/IconsetW_2x.png);
  background-size: 42px 1171px;
}
.im_dialogs_modal_col_wrap .im_dialogs_search_field {
  background-color: #fff;
  border-color: #fff !important;
}
.im_dialogs_search_field:focus,
.im_dialogs_search_field:active {
  background-color: #fff;
}
.im_dialogs_search_field::-ms-clear {
  display: none;
}
a.tg_search_clear {
  position: absolute;
  right: 0;
  margin-top: -34px;
  width: 34px;
  height: 34px;
  opacity: 0.6;
}
.contacts_modal_search a.tg_search_clear {
  right: 12px;
}
a.tg_search_clear:hover {
  opacity: 1;
}
i.icon-search-clear {
  display: inline-block;
  color: #999;
  width: 13px;
  height: 13px;
  margin: 10px 0 0 11px;
  vertical-align: text-top;
  background-image: url(../img/icons/IconsetW.png);
  background-repeat: no-repeat;
  background-position: -15px -192px;
}
.is_2x i.icon-search-clear {
  background-image: url(../img/icons/IconsetW_2x.png);
  background-size: 42px 1171px;
}
i.icon-verified {
  display: inline-block;
  width: 17px;
  height: 17px;
  vertical-align: text-top;
  background-image: url(../img/icons/ProfileIcons.png);
  background-repeat: no-repeat;
  background-position: -11px -373px;
}
.is_2x i.icon-verified {
  background-image: url(../img/icons/ProfileIcons_2x.png);
  background-size: 40px 420px;
}
.im_dialogs_scrollable_wrap i.icon-verified {
  display: none;
}
.im_dialogs_col_search i.icon-verified {
  display: inline-block;
}
.im_dialogs_scrollable_wrap {
  outline: none ! important;
}
.im_dialogs_scrollable_wrap .im_dialog_wrap {
  margin-top: 0;
}
.im_dialogs_scrollable_wrap a.im_dialog {
  clear: both;
  overflow: hidden;
  color: #000;
  padding: 8px 9px;
  border-radius: 0;
}
.im_dialogs_scrollable_wrap a.im_dialog:hover,
.im_dialogs_scrollable_wrap a.im_dialog_selected {
  border-radius: 0;
  background: #f2f6fa;
}
.im_dialogs_scrollable_wrap a.im_dialog .icon,
.im_dialogs_scrollable_wrap a.im_dialog .glyphicon {
  display: none;
}
.im_dialogs_scrollable_wrap .active a.im_dialog {
  border-radius: 0;
  background-color: #6490b1;
}
.im_dialogs_scrollable_wrap .active a.im_dialog:hover,
.im_dialogs_scrollable_wrap .active a.im_dialog_selected {
  background-color: #6490b1;
}
.im_dialogs_modal_list {
  padding-top: 10px;
}
.im_dialog_message_wrap {
  overflow: hidden;
  word-wrap: break-word;
}
.im_dialog_message_typing,
.im_dialog_message_wtyping .im_dialog_message_notyping {
  display: none;
}
.im_dialog_message_wtyping .im_dialog_message_typing {
  display: block;
}
a.im_dialog .im_dialog_chat_from_wrap,
a.im_dialog .im_short_message_media,
a.im_dialog .im_short_message_service {
  color: #3a6d99;
}
a.im_dialog .im_short_message_text {
  color: #808080;
}
a.im_dialog .im_dialog_draft_from {
  color: #c05f5a;
}
a.im_dialog:hover .im_short_message_text,
a.im_dialog_selected .im_short_message_text {
  color: #698192;
}
.active a.im_dialog .im_dialog_chat_from_wrap,
.active a.im_dialog .im_short_message_media,
.active a.im_dialog .im_short_message_service,
.active a.im_dialog .im_short_message_text,
.active a.im_dialog .im_dialog_message,
.active a.im_dialog .im_dialog_draft_from {
  color: #fff;
}
.im_dialog_peer {
  color: #222;
  font-weight: bold;
  margin-top: 2px;
  margin-bottom: 2px;
}
.active .im_dialog_peer {
  color: #fff;
}
.im_dialog_badge {
  background: #64c270;
  font-size: 11px;
  padding: 5px;
  border-radius: 11px;
  min-width: 21px;
  text-align: center;
  margin-top: 4px;
}
.active .im_dialog_badge {
  color: #428bca;
  background-color: #fff;
}
.im_dialogs_modal_col .im_dialog_badge {
  display: none;
}
.im_dialog_badge_muted {
  background: #bfbfbf;
}
.im_dialog_unread {
  background: #c1d6e5;
  display: inline-block;
  float: right;
  width: 8px;
  height: 8px;
  border-radius: 5px;
  overflow: hidden;
  margin: 12px 0 0;
}
a.im_dialog:hover .im_dialog_unread,
a.im_dialog_selected .im_dialog_unread {
  background: #a3c0d4;
}
.active .im_dialog_unread {
  background-color: #a4c4dd;
}
.im_dialog_date {
  color: #b3b3b3;
  font-size: 0.85em;
}
a.im_dialog:hover .im_dialog_date,
a.im_dialog_selected .im_dialog_date {
  color: #91a6ba;
}
.active .im_dialog_date,
.active a.im_dialog:hover .im_dialog_date,
.active a.im_dialog_selected .im_dialog_date {
  color: #b8d1e4;
}
.im_dialog_message,
.im_dialog_peer {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.im_dialog_message {
  color: #808080;
}
/* IM history */
.icon-caret {
  width: 8px;
  height: 4px;
  display: inline-block;
  vertical-align: text-top;
  margin-top: 7px;
  margin-left: 6px;
  background-image: url(../img/icons/IconsetW.png);
  background-repeat: no-repeat;
  background-position: -17px -444px;
}
.is_2x .icon-caret {
  background-image: url(../img/icons/IconsetW_2x.png);
  background-size: 42px 1171px;
}
.im_dialogs_empty_header {
  font-size: 15px;
  color: #808080;
  margin: 0 0 15px;
}
.im_dialogs_empty_lead {
  color: #808080;
  margin-bottom: 18px;
}
.im_history_scrollable_wrap {
  outline: none ! important;
  position: relative;
}
.im_history_to_bottom {
  overflow: hidden;
}
.im_history_to_bottom .im_history_scrollable {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.im_history {
  padding: 0;
  position: relative;
}
.im_message_unread_split {
  background: #f0f4f7;
  color: #8096a8;
  text-align: center;
  padding: 4px 10px;
  margin: 10px 0;
}
.im_message_author,
.im_message_fwd_author {
  color: #3a6d99;
  font-weight: bold;
}
.im_message_author_via,
.im_message_fwd_via {
  color: #3a6d99;
}
.im_message_author_via:hover,
.im_message_fwd_via:hover {
  text-decoration: none;
}
.im_message_author_via:hover .im_message_fwd_author,
.im_message_fwd_via:hover .im_message_fwd_author {
  text-decoration: underline;
}
.non_osx .im_message_author_wrap,
.non_osx .im_message_fwd_author_wrap {
  font-size: 12px;
}
.im_message_author_via {
  color: #3a6d99;
  margin-left: 5px;
}
.im_message_fwd_via {
  margin-left: 0;
}
.im_message_from_photo,
.im_message_contact_photo,
.im_message_fwd_photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
}
.im_message_from_photo .peer_initials,
.im_message_contact_photo .peer_initials,
.im_message_fwd_photo .peer_initials {
  line-height: 42px;
}
a.im_message_from_photo,
a.im_message_contact_photo {
  margin: 0 15px 0 0;
}
.non_osx .im_message_contact_name {
  font-size: 12px;
}
.im_message_contact_name {
  font-weight: bold;
}
.im_message_contact_name,
.im_message_contact_phone {
  white-space: nowrap;
}
a.im_message_photo_thumb,
a.im_message_video_thumb {
  display: block;
  overflow: hidden;
  border-radius: 2px;
}
img.im_message_photo_thumb,
img.im_message_video_thumb {
  overflow: hidden;
  border-radius: 2px;
}
.im_message_video,
a.im_message_photo_thumb {
  margin-top: 5px;
}
a.im_message_video_thumb {
  float: left;
  margin-right: 15px;
  position: relative;
}
img.im_message_video_thumb_blurred {
  -webkit-filter: blur(2px);
  -moz-filter: blur(2px);
  -o-filter: blur(2px);
  -ms-filter: blur(2px);
  filter: blur(2px);
  filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='2');
}
div.im_message_video_thumb {
  position: relative;
}
.im_message_video_duration {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  position: absolute;
  bottom: 4px;
  right: 4px;
  padding: 2px 6px;
  font-size: 11px;
  line-height: 15px;
  border-radius: 2px;
  overflow: hidden;
  z-index: 1;
}
.icon-videoplay {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  margin-left: -21px;
  margin-top: -21px;
  width: 42px;
  height: 42px;
  z-index: 1;
  background-image: url(../img/icons/IconsetW.png);
  background-repeat: no-repeat;
  background-position: 0 -590px;
}
.is_2x .icon-videoplay {
  background-image: url(../img/icons/IconsetW_2x.png);
  background-size: 42px 1171px;
}
.is_2x .icon-videoplay {
  background-position: 0 -591px;
}
.im_message_geopoint {
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
  display: block;
  position: relative;
  width: 300px;
  height: 150px;
}
.im_message_venue_geopoint_wrap {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100px;
  height: 100px;
  margin-right: 10px;
  float: left;
  border-radius: 2px;
  background: #f2f2f2;
  text-align: center;
  line-height: 0;
}
.icon-geo-point {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -15px;
  width: 15px;
  height: 19px;
  background-image: url(../img/icons/IconsetW.png);
  background-repeat: no-repeat;
  background-position: -14px -389px;
}
.is_2x .icon-geo-point {
  background-image: url(../img/icons/IconsetW_2x.png);
  background-size: 42px 1171px;
}
.im_message_media_embed {
  position: relative;
  height: 0;
  overflow: hidden;
  margin-top: 5px;
}
.im_message_media_embed iframe,
.im_message_media_embed webview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.im_message_webpage_wrap {
  margin: 3px 0 3px;
  border-left: 2px solid #7eaad1;
  padding-left: 12px;
}
.im_message_webpage_site {
  color: #999;
  font-weight: normal;
  line-height: 120%;
  margin-bottom: 3px;
}
.im_message_webpage_title {
  font-weight: bold;
}
.im_message_sign {
  padding-top: 1px;
}
.im_message_sign_link {
  pointer-events: none;
  color: #adadad;
  font-size: 0.95em;
}
.icon-circle {
  display: none;
  width: 0.5em;
  height: 0.5em;
  border-radius: 0.5em;
  background: #999;
  overflow: hidden;
  vertical-align: middle;
  margin: -2px 3px 0;
}
.im_message_webpage_description {
  margin: 2px 0 2px;
}
.im_message_webpage_article_photo {
  display: block;
  margin: 5px 0 5px 5px;
}
.im_message_video_embed {
  padding-bottom: 56.25%;
  /* 16/9 ratio */
}
.im_message_insta_embed {
  padding-bottom: 122%;
}
.im_message_vine_embed {
  padding-bottom: 100%;
}
.im_message_soundcloud_embed {
  padding-bottom: 56.25%;
  /* 16/9 ratio */
}
.im_message_spotify_embed {
  width: 300px;
  height: 80px;
}
.im_message_twitter_embed > blockquote {
  visibility: hidden;
}
.im_message_webpage_gif .img_gif_with_progress_wrap {
  margin-top: 5px;
  display: block;
}
.im_message_gif_wrap {
  position: relative;
}
.im_message_gif_btn {
  color: #fff;
  font-style: normal;
  font-weight: bold;
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  margin-left: -22px;
  margin-top: -21px;
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 10px;
  z-index: 1;
}
.im_message_video,
.im_message_document,
.im_message_upload_file,
.im_message_audio {
  margin-top: 3px;
  width: 317px;
}
.im_message_audio {
  margin-top: 3px;
}
.im_message_file_button {
  display: block;
  background: rgba(218, 228, 234, 0.5);
  float: left;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 10px;
}
.im_message_file_button_icon {
  display: inline-block;
  line-height: 0;
  width: 12px;
  height: 18px;
  margin: 12px 15px;
  background-image: url(../img/icons/General.png);
  background-repeat: no-repeat;
  background-position: -14px -509px;
}
.is_2x .im_message_file_button_icon {
  background-image: url(../img/icons/General_2x.png);
  background-size: 40px 948px;
}
.im_message_file_button_dl_doc .im_message_file_button_icon {
  background-position: -12px -561px;
  width: 16px;
  height: 18px;
  margin: 13px 13px;
}
.im_message_file_button_dl_audio {
  background: #6490b1;
  border-radius: 50%;
}
.im_message_file_button_dl_audio .im_message_file_button_icon {
  display: block;
  width: 14px;
  height: 16px;
  margin: 13px 16px;
  background-image: url(../img/icons/General.png);
  background-repeat: no-repeat;
  background-position: -13px -611px;
}
.is_2x .im_message_file_button_dl_audio .im_message_file_button_icon {
  background-image: url(../img/icons/General_2x.png);
  background-size: 40px 948px;
}
.im_message_file_button_dl_audio .audio_player_btn_icon_pause,
.is_1x .im_message_file_button_dl_audio .audio_player_btn_icon_pause {
  width: 12px;
  height: 14px;
  background-position: -14px -587px;
  margin: 14px 15px;
}
.im_message_selected .icon-document,
.im_history_select_active .im_message_outer_wrap:hover .icon-document {
  background-color: #dae6f0;
  background-position: -2px -542px;
}
.im_history_select_active a,
.im_history_select_active button,
.im_history_select_active .clickable {
  pointer-events: none;
}
.im_message_document_link_disabled {
  cursor: default;
  pointer-events: none;
}
.im_message_document_info {
  float: left;
}
.im_message_document_thumb_wrap {
  border-radius: 2px;
  overflow: hidden;
  background: #f2f2f2;
  width: 100px;
  min-height: 38px;
  max-height: 100px;
  margin-right: 10px;
  text-align: center;
  float: left;
  line-height: 0;
}
img.im_message_document_thumb {
  max-width: 100px;
  max-height: 100px;
  vertical-align: middle;
}
.im_message_document_name_wrap {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 265px;
  padding: 0 0 1px;
}
.im_message_document_actions {
  width: 265px;
}
.im_message_document_name {
  color: #3a6d99;
  display: inline-block;
  font-weight: bold;
  max-width: 170px;
  overflow: hidden;
  vertical-align: text-top;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.im_message_document_size {
  color: #999;
  padding-left: 2px;
  vertical-align: text-top;
}
.im_message_document_actions a,
.audio_player_actions a {
  margin-right: 10px;
}
.audio_player_title_wrap {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 1px 0 1px;
  line-height: 16px;
  height: 19px;
  width: 200px;
}
.audio_player_title {
  display: inline-block;
  font-weight: bold;
  max-width: 100px;
  overflow: hidden;
  vertical-align: text-top;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.icon-audio-unread {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #4eabf1;
  border: 0;
  border-radius: 4px;
  margin: 5px 5px 0 2px;
  vertical-align: text-top;
}
.audio_player_meta {
  overflow: hidden;
  vertical-align: text-top;
  display: inline-block;
}
.audio_player_size,
.audio_player_duration {
  color: #999;
  padding-left: 2px;
}
.audio_player_actions {
  margin-top: 3px;
}
.audio_player_seek_slider {
  float: left;
  margin-right: 15px;
  width: 200px;
}
.audio_player_seek_slider .tg_slider_wrap {
  height: 18px;
  line-height: 18px;
}
.audio_player_seek_slider .tg_slider_track {
  margin: 7px 0;
  background: rgba(218, 228, 234, 0.5);
  height: 4px;
  border-radius: 0;
}
.audio_player_seek_slider .tg_slider_track_fill {
  background: #6490b1;
  height: 4px;
  width: 0;
}
.audio_player_seek_slider .tg_slider_thumb {
  display: none;
}
.audio_player_seek_slider:hover .tg_slider_thumb {
  display: block;
}
.audio_player_volume_slider {
  width: 50px;
  float: left;
}
.audio_player_volume_slider .tg_slider_wrap {
  height: 18px;
  line-height: 18px;
}
.audio_player_volume_slider .tg_slider_thumb {
  display: none;
  background: #6490b1;
  width: 4px;
  height: 10px;
  line-height: 16px;
  margin-top: 4px;
  border-radius: 0;
}
.audio_player_volume_slider:hover .tg_slider_thumb {
  display: block;
}
.audio_player_volume_slider .tg_slider_track {
  margin: 7px 0;
  background: rgba(218, 228, 234, 0.5);
  height: 4px;
}
.audio_player_volume_slider .tg_slider_track_fill {
  background: #6490b1;
  height: 4px;
  width: 0;
}
.audio_player_progress_wrap {
  overflow: hidden;
}
.audio_player_progress_wrap .tg_down_progress {
  margin-top: 5px;
}
.im_message_upload_progress_wrap,
.im_message_download_progress_wrap {
  margin-top: 5px;
  width: 200px;
}
.im_message_document_thumbed .im_message_document_name_wrap,
.im_message_document_thumbed .im_message_upload_progress_wrap,
.im_message_document_thumbed .im_message_download_progress_wrap,
.im_message_document_thumbed .im_message_document_actions {
  width: 207px;
}
.im_message_document_thumbed .im_message_document_name {
  max-width: 110px;
}
.im_message_video .im_message_document_name_wrap,
.im_message_video .im_message_download_progress_wrap,
.im_message_video .im_message_document_actions {
  width: 152px;
}
.im_message_video .im_message_document_name_wrap {
  margin-top: 5px;
}
.im_message_cancelable_progress_wrap,
.im_message_playback_progress_wrap {
  margin-top: 4px;
  /*width: 265px;*/
}
.im_message_media_progress_cancel {
  margin-left: 15px;
  line-height: 100%;
  width: 50px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tg_up_progress,
.tg_down_progress {
  height: 4px;
  margin: 0;
  padding: 0;
  background: rgba(218, 228, 234, 0.5);
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.tg_up_progress .progress-bar,
.tg_down_progress .progress-bar {
  height: 4px;
  line-height: 4px;
  background: #6B9ABD;
  border-radius: 0;
  overflow: hidden;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.im_service_message_wrap {
  text-align: center;
}
.im_bot_intro_message_wrap {
  max-width: 300px;
  padding: 4px 10px;
  margin: 10px auto;
  color: #000;
  line-height: 1.4;
  text-align: left;
  font-size: 13px;
}
.im_bot_intro_message_header {
  font-weight: bold;
  text-align: center;
}
.im_bot_intro_message {
  margin-top: 10px;
}
.im_service_message {
  display: block;
  min-width: 10px;
  padding: 4px 7px;
  line-height: 1.4;
  color: #999;
  text-align: center;
  border-radius: 10px;
  margin: 5px 0;
}
.im_service_message_photo_thumb {
  display: inline-block;
  margin: 0 auto;
}
.im_service_message .im_service_message_pinned {
  color: inherit;
  font-weight: bold;
  display: inline-block;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.im_message_date,
.im_message_fwd_date {
  color: #adadad;
  font-size: 0.85em;
  padding: 0 0 20px 10px;
}
.im_message_date {
  cursor: pointer;
}
.im_message_date:hover {
  text-decoration: underline;
}
div.im_message_author,
div.im_message_body {
  display: block;
  overflow: hidden;
}
.im_message_body {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
.im_message_error_btn {
  display: none;
}
.im_message_error .im_message_error_btn {
  display: inline;
}
.im_message_error_btn .icon-message-status {
  background: #da564d;
  opacity: 0.85;
  pointer-events: auto;
}
.im_message_error_btn .icon-message-status:hover {
  opacity: 1;
}
.im_message_views_wrap {
  position: relative;
}
.im_message_views {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  line-height: normal;
}
.im_message_views_inline {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.85em;
  margin-left: 5px;
}
.icon-message-views {
  display: inline-block;
  width: 16px;
  height: 11px;
  background-image: url(../img/icons/General.png);
  background-repeat: no-repeat;
  background-position: -12px -850px;
  vertical-align: text-bottom;
  margin-right: 0.3rem;
}
.is_2x .icon-message-views {
  background-image: url(../img/icons/General_2x.png);
  background-size: 40px 948px;
}
.message_focus .icon-message-views,
.im_message_selected .icon-message-views,
.im_history_select_active .im_message_outer_wrap:hover .icon-message-views {
  background-position: -12px -871px;
}
.im_message_views_cnt {
  color: #adadad;
  font-weight: bold;
  vertical-align: top;
}
.im_message_reply_wrap {
  display: block;
  color: inherit;
  text-decoration: none;
  margin-bottom: 5px;
  margin-top: 2px;
  overflow: hidden;
}
.im_message_reply_wrap:hover {
  text-decoration: none;
  color: inherit;
}
.im_message_reply_border {
  background: #7eaad1;
  height: 33px;
  width: 2px;
  position: absolute;
  margin-left: -12px;
}
.im_message_reply {
  padding-left: 12px;
}
.im_message_reply_thumb_wrap {
  display: block;
  float: left;
  width: 42px;
  height: 42px;
  text-align: center;
  position: absolute;
}
.im_message_reply_author {
  font-weight: bold;
  color: #3a6d99;
  line-height: 16px;
  margin-bottom: 3px;
}
.non_osx .im_message_reply_author {
  font-size: 12px;
}
.im_message_reply_loading {
  padding: 7px 0 8px;
}
.im_message_reply_body .im_short_message_service,
.im_message_reply_body .im_short_message_media {
  color: #999;
}
.im_message_reply_body {
  line-height: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 1px;
}
.im_message_reply_thumbed .im_message_reply_wrap,
.im_message_reply_thumbed .im_message_reply_border {
  height: 42px;
}
.im_message_reply_thumbed .im_message_reply_author {
  margin-top: 4px;
}
.im_message_reply_thumbed .im_message_reply_author,
.im_message_reply_thumbed .im_message_reply_body {
  margin-left: 52px;
}
.im_message_reply_wrap .im_message_reply_thumbed {
  margin-bottom: 4px;
}
a.im_message_fwd_photo {
  position: absolute;
  margin-top: 1px;
}
.im_message_fwd_date {
  padding: 0;
}
.im_message_text {
  word-wrap: break-word;
  line-height: 150%;
  white-space: pre-wrap;
}
.im_message_photo_caption,
.im_message_video_caption,
.im_message_document_caption {
  margin-top: 3px;
  clear: both;
  word-wrap: break-word;
  line-height: 150%;
  white-space: pre-wrap;
}
.im_message_mymention {
  background: #fff8cc;
}
.reply_markup_wrap {
  margin: 15px -2px 0;
}
.im_message_keyboard .reply_markup_wrap {
  margin-top: 7px;
}
.reply_markup_row {
  padding: 4px 0;
  line-height: 0;
}
.reply_markup_row:first-child {
  padding-top: 0;
}
.reply_markup_row:last-child {
  padding-bottom: 0;
}
.reply_markup_scrollable_wrap.active-scrollbar .reply_markup_row {
  margin-right: 6px;
}
.reply_markup_button_wrap {
  display: inline-block;
  padding: 0 4px;
}
.reply_markup_button {
  color: #3a6d99;
  display: block;
  width: 100%;
  background: #f0f4f7;
  height: 30px;
  font-size: 13px;
  margin: 0;
  padding: 6px 6px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reply_markup_h1 .reply_markup_button {
  height: 170px;
}
.reply_markup_h2 .reply_markup_button {
  height: 81px;
}
.reply_markup_h3 .reply_markup_button {
  height: 51px;
}
.reply_markup_h4 .reply_markup_button {
  height: 36px;
}
.reply_markup_button:focus,
.reply_markup_button:hover {
  color: #3a6d99;
  background: #dfe8f0;
}
.reply_markup_button_w1 {
  width: 100%;
}
.reply_markup_button_w2 {
  width: 50%;
}
.reply_markup_button_w3 {
  width: 33.3333333%;
}
.reply_markup_button_w4 {
  width: 25%;
}
.reply_markup_button_w5 {
  width: 20%;
}
.reply_markup_button_w6 {
  width: 16.6666666%;
}
.reply_markup_button_w7 {
  width: 14.2857142%;
}
.reply_markup_button_w8 {
  width: 12.5%;
}
.reply_markup_button_w9 {
  width: 11.1111111%;
}
.reply_markup_button_w10 {
  width: 10%;
}
.reply_markup_button_w11 {
  width: 9.09090909%;
}
.reply_markup_button_w12 {
  width: 8.33333333%;
}
.im_history_not_selected_wrap {
  display: none;
}
.im_page_peer_not_selected .im_history_not_selected_wrap {
  display: block;
}
.im_history_selected_wrap {
  display: none;
}
.im_history_loaded .im_history_selected_wrap {
  display: block;
}
.im_page_peer_not_selected .im_history_selected_wrap {
  display: none;
}
.im_history_selected_loading_wrap {
  display: block;
}
.im_history_loaded .im_history_selected_loading_wrap {
  display: none;
}
.im_page_peer_not_selected .im_history_selected_loading_wrap {
  display: none;
}
.im_history_not_selected,
.im_history_empty {
  visibility: hidden;
  text-align: center;
  color: #999;
  font-size: 16px;
  line-height: 18px;
  padding: 1px 50px;
  margin: 0;
}
.im_history_not_selected.vertical-aligned,
.im_history_empty.vertical-aligned {
  visibility: visible;
}
.im_history_to_bottom .im_history_not_selected,
.im_history_to_bottom .im_history_empty {
  display: none;
}
.im_history_loading {
  width: 35px;
  margin: 0 auto;
  visibility: hidden;
}
.im_history_loading.vertical-aligned {
  visibility: visible;
}
.im_history_loading_more {
  display: block;
  width: 26px;
  height: 46px;
  margin: 0 auto;
  padding: 20px 0 0;
  visibility: hidden;
}
.im_history_loading_more .progress-arc-wrap {
  display: none;
}
.im_history_loading_more.im_history_loading_more_active {
  visibility: visible;
}
.im_history_loading_more.im_history_loading_more_active .progress-arc-wrap {
  display: block;
}
.im_history_loading_less {
  display: block;
  width: 26px;
  margin: 0 auto;
  visibility: hidden;
}
.im_history_loading_less .progress-arc-wrap {
  display: none;
}
.im_history_loading_less.im_history_loading_less_active {
  visibility: visible;
}
.im_history_loading_less.im_history_loading_less_active .progress-arc-wrap {
  display: block;
}
.im_send_panel_wrap {
  margin: 0 auto;
  padding: 10px 15px 30px 15px;
}
.im_send_form_wrap {
  position: relative;
}
.im_send_form {
  margin: 0 auto;
  position: absolute;
  bottom: 0;
}
.im_attach_input,
.im_media_attach_input {
  cursor: pointer;
  font-size: 120px !important;
  opacity: 0.01;
  position: absolute;
  z-index: 100;
  margin: 0;
  padding: 0;
  top: 0;
  right: 0;
}
.im_send_dropbox_wrap {
  background: #fff;
  display: none;
  padding: 17px 10px 0;
  border: 1px dashed #999;
  overflow: hidden;
  text-align: center;
  color: #999;
  position: absolute;
}
.im_send_field_wrap {
  position: relative;
}
textarea.im_message_field {
  font-size: 12px;
  margin-bottom: 10px;
  padding: 6px;
  min-height: 50px;
  height: 50px;
  resize: none;
}
.im_inline_placeholder_wrap {
  color: #9aa2ab;
  position: absolute;
  margin-top: 2px;
  white-space: nowrap;
  pointer-events: none;
  text-overflow: ellipsis;
  display: none;
  width: 100%;
  width: calc(100% - 30px);
  overflow: hidden;
}
.im_inline_placeholder_wrap.active {
  display: block;
}
.im_inline_placeholder_prefix {
  visibility: hidden;
}
.icon-online {
  background: #6ec26d;
  border: 1px solid #fff;
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 6px;
  overflow: hidden;
  position: absolute;
  margin-top: -7px;
  margin-left: 33px;
}
.im_send_reply_wrap {
  margin-bottom: 5px;
}
.im_send_reply_form_wrap a.im_panel_own_photo,
.im_send_reply_form_wrap a.im_panel_peer_photo {
  margin-top: 41px;
}
.im_send_reply_cancel {
  float: right;
  display: block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  margin-top: 5px;
  -webkit-transform: translate3d(0, 0, 0);
  padding-top: 7px;
}
.im_send_reply_cancel .icon-reply-bar {
  display: block;
  background: #999;
  width: 18px;
  height: 2px;
  transform-origin: 50% 50%;
}
.im_send_reply_cancel:hover .icon-reply-bar {
  background: #44a1e8;
}
.icon-reply-bar:first-child {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
}
.icon-reply-bar:last-child {
  -webkit-transform: translate3d(0, -2px, 0) rotate(45deg);
  -moz-transform: translate3d(0, -2px, 0) rotate(45deg);
  -o-transform: translate3d(0, -2px, 0) rotate(45deg);
  -ms-transform: translate3d(0, -2px, 0) rotate(45deg);
  transform: translate3d(0, -2px, 0) rotate(45deg);
}
a.img_fullsize,
.img_fullsize_wrap {
  display: block;
  text-align: center;
}
img.img_fullsize {
  margin: 0 auto;
}
.document_modal_image_wrap {
  overflow: auto;
}
.document_fullsize_wrap {
  display: none;
  cursor: zoom-in;
  text-align: center;
}
.document_fullsize_zoomed {
  cursor: zoom-out;
}
.document_fullsize_img {
  /*max-width: 100%;*/
  -webkit-user-select: none;
}
.document_fullsize_zoomed .document_fullsize_img {
  /*min-width: 100%;*/
  -webkit-user-select: none;
  image-rendering: optimizeSpeed;
  /* FUCK SMOOTHING, GIVE ME SPEED  */
  image-rendering: -moz-crisp-edges;
  /* Firefox                        */
  image-rendering: -o-crisp-edges;
  /* Opera                          */
  image-rendering: -webkit-optimize-contrast;
  /* Chrome (and eventually Safari) */
  image-rendering: optimize-contrast;
  /* CSS3 Proposed                  */
  -ms-interpolation-mode: nearest-neighbor;
  /* IE8+                           */
}
.video_full_player video {
  background: #000;
}
.media_modal_info {
  color: #999;
  margin: 20px 0 0;
}
.media_modal_actions {
  margin-top: 20px;
}
.media_modal_action_link {
  margin-left: 15px;
}
.media_modal_author {
  color: inherit;
  font-weight: bold;
}
.media_modal_author:hover {
  color: inherit;
}
.non_osx .media_modal_author {
  font-size: 12px;
}
/* Message composer */
.composer_progress_enabled-add,
.composer_progress_enabled-remove {
  transition-duration: 0.2s;
}
.composer_progress_icon_wrap {
  position: absolute;
  right: 3px;
  top: 2px;
  width: 22px;
  height: 22px;
  overflow: hidden;
  margin-top: 1px;
  pointer-events: none;
  padding: 0;
  display: none;
  opacity: 0;
}
.composer_progress_enabled-add .composer_progress_icon_wrap,
.composer_progress_enabled-remove .composer_progress_icon_wrap {
  transition: opacity cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
  display: block;
}
.composer_progress_enabled .composer_progress_icon_wrap {
  display: block;
  opacity: 1;
}
.composer_emoji_insert_btn {
  position: absolute;
  right: 3px;
  top: 2px;
  cursor: pointer;
  padding: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: block;
  opacity: 1;
}
.composer_progress_enabled .composer_emoji_insert_btn {
  display: none;
  opacity: 0;
}
.composer_progress_enabled-add .composer_emoji_insert_btn,
.composer_progress_enabled-remove .composer_emoji_insert_btn {
  transition: opacity cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
  display: block;
}
.icon-emoji {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: top;
  opacity: 0.8;
  background-image: url(../img/icons/General.png);
  background-repeat: no-repeat;
  background-position: -9px -335px;
}
.is_2x .icon-emoji {
  background-image: url(../img/icons/General_2x.png);
  background-size: 40px 948px;
}
.composer_emoji_tooltip {
  display: none;
  position: absolute;
  z-index: 999;
  width: 286px;
  margin-left: -133px;
  margin-top: -330px;
  border: 1px #dfdfdf solid;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 0;
}
.composer_emoji_tooltip_shown {
  display: block;
}
.composer_emoji_tooltip_tail {
  position: absolute;
  bottom: -14px;
  left: 50%;
  margin-left: -13px;
  overflow: hidden;
  width: 26px;
  height: 14px;
}
.icon-tooltip-tail {
  background: #fff;
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 1px #dfdfdf solid;
  border-width: 0 1px 1px 0;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  position: relative;
  top: -8px;
  left: 4px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.composer_emoji_tooltip_tabs {
  -webkit-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.1);
  padding-top: 2px;
}
.composer_emoji_tooltip_tab {
  cursor: pointer;
  display: inline-block;
  line-height: 33px;
  text-align: center;
  width: 50%;
  text-transform: uppercase;
  font-weight: bold;
  transition: color ease-in-out 0.2s;
}
.composer_emoji_tooltip_tab:hover,
.composer_emoji_tooltip_tab:active,
.composer_emoji_tooltip_tab:focus {
  text-decoration: none;
}
.composer_emoji_tooltip_tab_emoji,
.composer_emoji_tooltip_tabs_stickers_active .composer_emoji_tooltip_tab_stickers {
  color: #53a9ea;
}
.composer_emoji_tooltip_tabs_stickers_active .composer_emoji_tooltip_tab_emoji,
.composer_emoji_tooltip_tab_stickers {
  color: #999;
}
.composer_emoji_tooltip_tab_shadow {
  width: 50%;
  height: 1px;
  background: #53a9ea;
  -webkit-box-shadow: 0px 1px 0px 0px #53a9ea;
  -moz-box-shadow: 0px 1px 0px 0px #53a9ea;
  box-shadow: 0px 1px 0px 0px #53a9ea;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  transition: transform ease-in-out 0.2s;
}
.composer_emoji_tooltip_tabs_stickers_active .composer_emoji_tooltip_tab_shadow {
  -webkit-transform: translate3d(100%, 0, 0);
  -moz-transform: translate3d(100%, 0, 0);
  -o-transform: translate3d(100%, 0, 0);
  -ms-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
}
.composer_emoji_tooltip_categories {
  width: 100%;
  line-height: 0;
}
.composer_emoji_tooltip_tab_emoji_content .composer_emoji_tooltip_categories {
  width: 100%;
  margin: 0 0 3px;
  padding: 0 5px 15px;
  line-height: 0;
}
.composer_emoji_tooltip_tab_stickers_content .composer_emoji_tooltip_categories {
  vertical-align: top;
  padding: 0 5px 15px;
  margin: 0 0 3px;
  overflow-x: scroll;
  white-space: nowrap;
  position: relative;
}
.composer_emoji_tooltip_tab_stickers_content .composer_emoji_tooltip_categories::-webkit-scrollbar {
  display: none;
}
.composer_emoji_tooltip_tab_stickers_content .composer_emoji_tooltip_categories .composer_sticker_btn {
  width: 36px;
  height: 34px;
  padding: 3px 4px;
  vertical-align: top;
  margin: 4px 0 0 0;
}
.composer_emoji_tooltip_tab_stickers_content .composer_emoji_tooltip_categories .composer_sticker_image {
  max-width: 28px;
  max-height: 28px;
}
.composer_emoji_tooltip_category {
  line-height: 0;
  color: white;
  display: inline-block;
  cursor: pointer;
  opacity: 0.3;
  padding: 9px 12px;
}
.composer_emoji_tooltip_category:hover {
  opacity: 0.4;
}
.composer_emoji_tooltip_category.active,
.composer_emoji_tooltip_category.active:hover {
  opacity: 1;
}
.composer_emoji_tooltip_category i {
  display: inline-block;
  width: 21px;
  height: 21px;
  background-image: url(../img/icons/IconsetSmiles.png);
  background-repeat: no-repeat;
}
.is_2x .composer_emoji_tooltip_category i {
  background-image: url(../img/icons/IconsetSmiles_2x.png);
  background-size: 27px 362px;
}
/* Recent */
.composer_emoji_tooltip_category_recent {
  background-position: -3px 0;
}
.active .composer_emoji_tooltip_category_recent {
  background-position: -3px -31px;
}
/* Smile */
.composer_emoji_tooltip_category_smile {
  background-position: -3px -62px;
}
.active .composer_emoji_tooltip_category_smile {
  background-position: -3px -93px;
}
/* Flower */
.composer_emoji_tooltip_category_flower {
  background-position: -3px -124px;
}
.active .composer_emoji_tooltip_category_flower {
  background-position: -3px -155px;
}
/* Bell */
.composer_emoji_tooltip_category_bell {
  background-position: -3px -185px;
}
.active .composer_emoji_tooltip_category_bell {
  background-position: -3px -213px;
}
/* Car */
.composer_emoji_tooltip_category_car {
  background-position: -3px -241px;
}
.active .composer_emoji_tooltip_category_car {
  background-position: -3px -269px;
}
/* Grid */
.composer_emoji_tooltip_category_grid {
  background-position: -3px -297px;
}
.active .composer_emoji_tooltip_category_grid {
  background-position: -3px -324px;
}
.composer_emoji_tooltip_tabs_wrap {
  height: 275px;
  width: 284px;
  position: relative;
  overflow: hidden;
}
.composer_emoji_tooltip_tabs_contents {
  position: absolute;
  width: 568px;
}
.non_msie .composer_emoji_tooltip_tabs_contents {
  transition: transform ease-in-out 0.2s;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.non_msie .composer_emoji_tooltip_tabs_stickers_active .composer_emoji_tooltip_tabs_contents {
  -webkit-transform: translate3d(-284px, 0, 0);
  -moz-transform: translate3d(-284px, 0, 0);
  -o-transform: translate3d(-284px, 0, 0);
  -ms-transform: translate3d(-284px, 0, 0);
  transform: translate3d(-284px, 0, 0);
}
.msie .composer_emoji_tooltip_tabs_contents {
  margin-left: 0;
  transition: margin-left ease-in-out 0.2s;
}
.msie .composer_emoji_tooltip_tabs_stickers_active .composer_emoji_tooltip_tabs_contents {
  margin-left: -284px;
}
.composer_emoji_tooltip_tab_emoji_content,
.composer_emoji_tooltip_tab_stickers_content {
  width: 284px;
  height: 275px;
  float: left;
}
.composer_emoji_tooltip_content_stickers {
  position: relative;
}
.composer_emoji_tooltip_content_wrap {
  padding: 0 2px 0 8px;
}
.composer_emoji_tooltip .scroller_scrollable_container {
  height: 233px;
  position: relative;
}
.composer_emoji_tooltip_content {
  padding-top: 10px;
  padding-right: 8px;
  outline: 0!important;
}
a.composer_emoji_btn {
  margin: 0 2px 0 0;
  padding: 5px;
  display: block;
  float: left;
  border-radius: 2px;
}
a.composer_emoji_btn:hover {
  background-color: #edf2f5;
}
.emoji {
  display: -moz-inline-box;
  -moz-box-orient: vertical;
  display: inline-block;
  vertical-align: baseline;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  height: 18px;
  width: 18px;
  background-repeat: no-repeat;
  text-indent: -9999px;
  border: 0 none;
}
/* widths and heights calculated according to spritesheet dimensions and icon size */
.emoji-spritesheet-0 {
  background-size: 486px 126px;
  background-image: url('../img/emojisprite_0.png');
}
.emoji-spritesheet-1 {
  background-size: 522px 72px;
  background-image: url('../img/emojisprite_1.png');
}
.emoji-spritesheet-2 {
  background-size: 594px 126px;
  background-image: url('../img/emojisprite_2.png');
}
.emoji-spritesheet-3 {
  background-size: 612px 54px;
  background-image: url('../img/emojisprite_3.png');
}
.emoji-spritesheet-4 {
  background-size: 612px 126px;
  background-image: url('../img/emojisprite_4.png');
}
.emoji-w20 {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: inline-block;
}
.emoji-w20.emoji-spritesheet-0 {
  background-size: 540px 140px;
}
.emoji-w20.emoji-spritesheet-1 {
  background-size: 580px 80px;
}
.emoji-w20.emoji-spritesheet-2 {
  background-size: 660px 140px;
}
.emoji-w20.emoji-spritesheet-3 {
  background-size: 680px 60px;
}
.emoji-w20.emoji-spritesheet-4 {
  background-size: 680px 140px;
}
.emoji-w26 {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  display: inline-block;
}
.emoji-w26.emoji-spritesheet-0 {
  background-size: 702px 182px;
}
.emoji-w26.emoji-spritesheet-1 {
  background-size: 754px 104px;
}
.emoji-w26.emoji-spritesheet-2 {
  background-size: 858px 182px;
}
.emoji-w26.emoji-spritesheet-3 {
  background-size: 884px 78px;
}
.emoji-w26.emoji-spritesheet-4 {
  background-size: 884px 182px;
}
.composer_dropdown_wrap {
  background: #FFF;
  display: none;
  position: absolute;
  z-index: 10;
  border: 0;
  -webkit-box-shadow: 0px 1px 1px 0px rgba(60, 75, 87, 0.27);
  -moz-box-shadow: 0px 1px 1px 0px rgba(60, 75, 87, 0.27);
  box-shadow: 0px 1px 1px 0px rgba(60, 75, 87, 0.27);
  border-radius: 0;
  margin-top: -5px;
  margin-left: -1px;
  width: 380px;
}
.composer_dropdown {
  position: static;
  display: block;
  float: none;
  top: auto;
  left: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  z-index: auto;
}
.composer_dropdown > li > a {
  display: block;
  font-size: 13px;
  line-height: 15px;
  padding: 4px 10px;
  color: #52719a;
}
.composer_dropdown li a:hover,
.composer_dropdown li.composer_autocomplete_option_active a {
  color: #52719a;
  background: #f2f6fa;
  text-decoration: none;
}
.composer_emoji_shortcut {
  display: inline-block;
  vertical-align: top;
  margin-left: 15px;
  line-height: 20px;
}
.composer_mention_option {
  line-height: 20px;
}
.composer_user_mention {
  color: #808080;
  margin-left: 7px;
}
.composer_dropdown li a:hover .composer_user_mention,
.composer_dropdown li.composer_autocomplete_option_active a .composer_user_mention {
  color: #698192;
}
span.composer_user_photo {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  vertical-align: top;
}
img.composer_user_photo {
  width: 32px;
  height: 32px;
  vertical-align: top;
}
span.composer_user_photo .peer_initials {
  line-height: 32px;
  font-size: 14px;
}
.composer_user_name,
.composer_user_mention {
  display: inline-block;
  line-height: 32px;
  vertical-align: top;
}
.composer_dropdown a.composer_command_option {
  color: #808080;
  line-height: 32px;
  padding-right: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.composer_dropdown .composer_command_value {
  color: #52719a;
  display: inline;
}
.composer_dropdown .composer_command_desc {
  display: inline;
  color: #808080;
  padding-left: 7px;
  font-weight: normal;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
a.composer_command_option:hover .composer_command_desc,
.composer_autocomplete_option_active a.composer_command_option .composer_command_desc {
  color: #698192;
}
.composer_command_desc .emoji {
  vertical-align: text-bottom;
}
.composer_stickerset_title {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: bold;
  font-size: 13px;
  color: #444;
  margin: 10px 0 3px;
  padding: 0 6px;
}
.composer_stickerset_wrap:first-child .composer_stickerset_title {
  margin-top: 0;
}
.composer_stickerset_title:hover {
  color: #444;
}
.composer_sticker_btn {
  width: 66px;
  height: 66px;
  display: inline-block;
  text-align: center;
  padding: 3px;
  vertical-align: top;
}
.composer_sticker_btn:hover {
  background: #f2f6fa;
}
.composer_sticker_image {
  max-width: 60px;
  max-height: 60px;
  vertical-align: middle;
}
.composer_rich_textarea {
  font-size: 12px;
  margin-bottom: 10px;
  padding: 6px;
  min-height: 38px;
  height: auto;
  width: auto;
  max-height: 284px;
  overflow: auto;
  line-height: 17px;
  border: 1px solid #d2dbe3;
  border-radius: 2px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -ms-box-sizing: content-box;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  word-wrap: break-word;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
.composer_rich_textarea:empty::before {
  content: attr(placeholder);
  color: #9aa2ab;
  display: block;
  margin-top: -1px;
  margin-left: 1px;
  pointer-events: none;
}
.composer_rich_textarea:empty:active::before,
.composer_rich_textarea:empty:focus::before {
  opacity: 0.75;
}
.composer_rich_textarea img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin: -3px 0 0 0;
}
@-moz-document url-prefix() {
  .composer_rich_textarea:empty:active:before,
  .composer_rich_textarea:empty:focus:before {
    display: none;
  }
}
_:-ms-lang(x),
.composer_rich_textarea:empty:active:before {
  display: none;
}
_:-ms-lang(x),
.composer_rich_textarea:empty:focus:before {
  display: none;
}
.composer_command_btn {
  display: block;
  position: absolute;
  right: 37px;
  top: 4px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
}
.icon-slash {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: top;
  opacity: 0.8;
  background-image: url(../img/icons/General.png);
  background-repeat: no-repeat;
  background-position: -10px -790px;
}
.is_2x .icon-slash {
  background-image: url(../img/icons/General_2x.png);
  background-size: 40px 948px;
}
.composer_command_btn.active .icon-slash {
  background-position: -10px -820px;
}
.composer_command_btn:hover .icon-slash {
  opacity: 1.0;
}
.composer_keyboard_btn {
  display: block;
  position: absolute;
  right: 37px;
  top: 4px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
}
.icon-keyboard {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: top;
  opacity: 0.8;
  background-image: url(../img/icons/General.png);
  background-repeat: no-repeat;
  background-position: -10px -730px;
}
.is_2x .icon-keyboard {
  background-image: url(../img/icons/General_2x.png);
  background-size: 40px 948px;
}
.composer_keyboard_btn.active .icon-keyboard {
  background-position: -10px -760px;
}
.composer_keyboard_btn:hover .icon-keyboard {
  opacity: 1.0;
}
.inline_switch_pm {
  text-decoration: none !important;
  display: block;
  font-size: 13px;
  font-weight: bold;
  line-height: 15px;
  padding: 10px 10px;
  text-align: center;
  color: #52719a;
}
.inline_switch_pm:hover {
  background: #f2f6fa;
  color: #52719a;
}
.inline_results_wrap {
  line-height: 0;
}
.inline_result_wrap {
  display: block;
}
.inline_result_gif,
.inline_result_photo,
.inline_result_sticker {
  display: inline-block;
  padding: 1px;
}
.inline_result_article {
  display: block;
}
.inline_article_thumb_wrap {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  pointer-events: none;
  text-align: center;
}
.inline_article_thumb {
  max-width: 50px;
  max-height: 50px;
  line-height: 0;
}
.inline_result_video .inline_article_thumb_wrap {
  width: 90px;
  height: 50px;
}
.inline_result_video .inline_article_thumb {
  max-width: 90px;
  max-height: 50px;
}
.inline_article_thumb_initials {
  color: #999;
  background: #EEE;
  line-height: 50px;
  text-align: center;
  font-size: 25px;
  text-transform: uppercase;
}
li a:hover .inline_article_thumb_initials,
li.composer_autocomplete_option_active a .inline_article_thumb_initials {
  color: #698192;
  background: #e0e9f3;
}
.inline_article_content_wrap {
  overflow: hidden;
  pointer-events: none;
}
.inline_article_thumb_wrap,
.inline_article_title,
.inline_article_description,
.inline_article_url {
  pointer-events: none;
}
.inline_article_title {
  color: #222;
  font-weight: bold;
  font-size: 12px;
}
.inline_article_description {
  color: #808080;
  padding-top: 4px;
  font-size: 12px;
}
li a:hover .inline_article_description,
li.composer_autocomplete_option_active a .inline_article_description {
  color: #698192;
}
.inline_article_url {
  padding-top: 4px;
}
.composer_dropdown > li.inline_result_gif > a,
.composer_dropdown > li.inline_result_photo > a,
.composer_dropdown > li.inline_result_sticker > a {
  padding: 0;
  line-height: 0;
  display: block;
  overflow: hidden;
}
li.inline_result_gif.composer_autocomplete_option_active a,
li.inline_result_photo.composer_autocomplete_option_active a,
li.inline_result_sticker.composer_autocomplete_option_active a {
  position: relative;
}
li.inline_result_gif.composer_autocomplete_option_active a .inline_result_ind,
li.inline_result_photo.composer_autocomplete_option_active a .inline_result_ind,
li.inline_result_sticker.composer_autocomplete_option_active a .inline_result_ind {
  display: block;
  background: rgba(255, 255, 255, 0.3);
  width: 100%;
  height: 100%;
  position: absolute;
}
.inline_result_gif .img_gif_video,
.inline_result_photo .inline_result_photo_image {
  object-fit: cover;
}
.inline_result_sticker img {
  object-fit: contain;
}
.inline_result_gif_mtproto,
.inline_result_gif_http,
.inline_result_photo_mtproto,
.inline_result_photo_http {
  pointer-events: none;
}
.error_modal_window .modal-dialog {
  max-width: 350px;
}
.error_modal_description {
  color: #999;
  padding: 5px 0;
  font-size: 13px;
  line-height: 160%;
}
.md_simple_modal_alert_body .md_simple_header,
.md_simple_modal_alert_body .error_modal_description {
  text-align: center;
}
.error_modal_details textarea {
  display: block;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  padding: 0;
  font-size: 10px;
  line-height: 100%;
  white-space: pre-wrap;
  padding: 4px;
  margin: 10px 0 10px;
  word-break: break-all;
  word-wrap: break-word;
  color: #333333;
  background-color: #f5f5f5;
  border: 1px solid #cccccc;
  border-radius: 4px;
  width: 100%;
  text-align: left;
}
.error_modal_details_link,
.error_modal_details_link:hover {
  font-size: 11px;
  color: #999;
}
.confirm_modal_description {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  line-height: 160%;
}
.confirm_phone_number {
  font-weight: bold;
  padding: 15px 10px 0;
  text-align: center;
}
.confirm_modal_extlink_jump {
  word-break: break-all;
}
.confirm_modal_paste_image {
  max-width: 274px;
  height: 274px;
  background-position: 50% 50%;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 10px auto -10px;
}
.photo_modal_window,
.video_modal_window,
.document_modal_window {
  display: block;
}
.photo_modal_error {
  color: #999;
  position: absolute;
  width: 100%;
  top: 50%;
  margin-top: -20px;
  padding: 0 20px;
  text-align: center;
  font-size: 1.4em;
  line-height: 160%;
}
.video_full_error {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  position: absolute;
  top: 50%;
  margin: -40px 10px 0;
  padding: 10px 10px;
  text-align: center;
  font-size: 1.4em;
  line-height: 160%;
}
.settings_modal_wrap .im_attach_input {
  z-index: 999;
}
.settings_modal_username_link,
.settings_modal_username_link:hover {
  color: inherit;
}
.settings_external_service {
  line-height: 0;
  display: inline-block;
  padding: 7px 9px;
}
.settings_about_section_body {
  padding-right: 0;
}
.settings_about_section_body p {
  margin-top: 7px;
  margin-bottom: 3px;
}
.icon-github {
  display: inline-block;
  width: 59px;
  height: 18px;
  background-image: url(../img/icons/AboutLogos.png);
  background-repeat: no-repeat;
  background-position: 0 -5px;
}
.is_2x .icon-github {
  background-image: url(../img/icons/AboutLogos_2x.png);
  background-size: 60px 136px;
}
a:hover .icon-github {
  background-position: 0 -43px;
}
.icon-twitter {
  display: inline-block;
  width: 20px;
  height: 15px;
  margin-top: 1px;
  background-image: url(../img/icons/AboutLogos.png);
  background-repeat: no-repeat;
  background-position: 0 -81px;
}
.is_2x .icon-twitter {
  background-image: url(../img/icons/AboutLogos_2x.png);
  background-size: 60px 136px;
}
a:hover .icon-twitter {
  background-position: 0 -116px;
}
/* Contacts modal */
.contacts_modal_search {
  position: relative;
  padding: 7px 12px 6px;
  -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  z-index: 1;
}
.contacts_modal_search_field {
  font-size: 12px;
  line-height: normal;
  border: 1px solid #fff  !important;
  border-radius: 2px;
  padding: 6px 27px 6px 30px;
  margin: 0;
  background-image: url(../img/icons/IconsetW.png);
  background-repeat: no-repeat;
  background-position: -6px -205px;
}
.is_2x .contacts_modal_search_field {
  background-image: url(../img/icons/IconsetW_2x.png);
  background-size: 42px 1171px;
}
.contacts_modal_search_field::-ms-clear {
  display: none;
}
a.contacts_modal_search_clear {
  right: 9px;
  margin-top: -24px;
}
.contacts_scrollable_wrap {
  outline: none ! important;
}
.contacts_modal_contacts_empty {
  visibility: hidden;
  text-align: center;
  color: #999;
  font-size: 16px;
  line-height: 160%;
  padding: 1px 50px;
  margin: 0;
}
.contacts_modal_contacts_empty.vertical-aligned {
  visibility: visible;
}
.contacts_modal_members_list .contacts_modal_contact_wrap {
  margin-top: 0;
}
.contacts_modal_members_list a.contacts_modal_contact {
  clear: both;
  overflow: hidden;
  color: #000;
  padding: 8px 9px;
  border-radius: 0;
}
.contacts_modal_members_list a.contacts_modal_contact:hover {
  background: #f2f6fa;
}
.contacts_modal_members_list .active a.contacts_modal_contact,
.contacts_modal_members_list .active a.contacts_modal_contact:hover {
  background: #f2f6fa;
}
.contacts_modal_contact_name {
  display: block;
  color: #3C6E97;
  font-weight: bold;
  margin: 1px 0 2px;
}
.non_osx .contacts_modal_contact_name {
  font-size: 12px;
}
.contacts_modal_contact_photo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  overflow: hidden;
  border-radius: 20px;
}
.contacts_modal_contact_photo .peer_initials {
  line-height: 40px;
  font-size: 15px;
}
.contacts_modal_contact_status {
  color: #999;
}
a.contacts_modal_contact:hover .contacts_modal_contact_status,
.contacts_modal_members_list .active a.contacts_modal_contact .contacts_modal_contact_status,
a.contacts_modal_contact:hover .md_modal_list_peer_description,
.contacts_modal_members_list .active a.contacts_modal_contact .md_modal_list_peer_description {
  color: #91a6ba;
}
h4.chat_modal_migrate_header {
  font-size: inherit;
  font-weight: bold;
  color: inherit;
}
ul.chat_modal_migrate_list {
  margin-top: 10px;
  padding-left: 15px;
}
.chat_modal_participant_wrap {
  padding: 8px 0;
  border-top: 1px solid #F0F0F0;
}
.chat_modal_participant_wrap:first-child {
  border-top: 0;
}
.chat_modal_participant_kick {
  padding: 11px 0;
  display: block;
}
.chat_modal_participant_name {
  display: block;
  color: #3C6E97;
  font-weight: bold;
  margin: 1px 0 2px;
}
.non_osx .chat_modal_participant_name {
  font-size: 12px;
}
.chat_modal_participant_status {
  color: #999;
}
a.chat_modal_participant_photo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 20px;
  overflow: hidden;
}
img.chat_modal_participant_photo {
  width: 40px;
  height: 40px;
}
.chat_modal_participant_photo .peer_initials {
  line-height: 40px;
  font-size: 15px;
}
.chat_modal_members_forbidden {
  color: #999;
}
.icon-contact-tick {
  position: absolute;
  right: 10px;
  top: 17px;
  display: inline-block;
  width: 25px;
  height: 25px;
  opacity: 0.5;
  background-image: url(../img/icons/IconsetW.png);
  background-repeat: no-repeat;
  background-position: -9px -516px;
}
.is_2x .icon-contact-tick {
  background-image: url(../img/icons/IconsetW_2x.png);
  background-size: 42px 1171px;
}
.contacts_modal_members_list .contacts_modal_contact_wrap:hover .icon-contact-tick {
  background-position: -9px -481px;
  opacity: 0.5;
}
.contacts_modal_members_list .contacts_modal_contact_wrap.active .icon-contact-tick {
  background-position: -9px -481px;
  opacity: 1;
}
.contacts_modal_members_list .disabled {
  pointer-events: none;
}
.contacts_modal_members_list .disabled .icon-contact-tick {
  display: none;
}
.sessions_modal_session {
  padding: 8px 24px;
}
.sessions_modal_sessions_header {
  color: #999;
  font-size: 13px;
  margin-left: 16px;
  margin-top: 20px;
  font-weight: bold;
}
.sessions_modal_terminate_all_wrap {
  margin: 5px 0 0 24px;
}
.sessions_modal_sessions_list {
  padding: 14px 0 10px;
  margin-bottom: 10px;
}
.session_active_date_online {
  color: #3a6d99;
}
.sessions_modal_loading {
  text-align: center;
  color: #999;
  font-size: 16px;
  line-height: 18px;
  padding: 1px 50px;
  margin: 0;
}
.session_active_date {
  color: #999;
}
.session_meta_wrap {
  text-align: right;
}
.session_terminate_btn {
  margin-top: 24px;
  display: inline-block;
}
.sessions_modal_session_app {
  font-weight: bold;
  font-style: 12px;
  margin-bottom: 3px;
}
.sessions_modal_session_device {
  margin: 3px 0 3px;
}
.sessions_modal_session_location {
  color: #777;
}
.sessions_modal_other_splitter {
  margin: 15px 0 20px 24px;
}
.stickerset_modal_window .modal-dialog {
  max-width: 642px;
  width: auto;
}
.stickerset_modal_stickers_list {
  padding: 25px;
}
.stickerset_modal_sticker_wrap {
  margin: 0 5px 5px 0;
  padding: 0;
  position: relative;
  display: block;
  width: 192px;
  height: 192px;
  float: left;
  border-radius: 3px;
  overflow: hidden;
}
.stickerset_modal_sticker_wrap:hover {
  background: #f2f6fa;
}
.stickerset_modal_sticker {
  width: 192px;
  height: 192px;
  text-align: center;
}
.stickerset_modal_sticker img {
  max-width: 192px;
  max-height: 192px;
}
.stickerset_modal_sticker_alt {
  position: absolute;
  bottom: 0;
  right: 0;
}
.stickerset_actions {
  padding: 10px 20px;
  height: 50px;
  text-align: center;
}
.stickerset_modal_loading {
  text-align: center;
  color: #999;
  font-size: 16px;
  line-height: 18px;
  padding: 1px 50px;
  margin: 0;
}
.md_simple_modal_window .modal-dialog,
.confirm_modal_window .modal-dialog,
.error_modal_window .modal-dialog {
  max-width: 348px;
}
.im_message_focus_active .im_message_date,
.im_message_focus_active .im_message_document_size,
.im_message_focus_active .audio_player_duration,
.im_message_focus_active .audio_player_size,
.im_message_focus_active .im_message_fwd_date,
.im_message_focus_active .im_message_views_cnt,
.im_message_focus_active .im_message_sign_link {
  color: #899daf;
}
.im_message_focus_active .im_message_outer_wrap {
  background-color: rgba(242, 246, 250, 0);
  animation-name: im_message_focus_fade;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-out;
  animation-duration: 4s;
}
@keyframes im_message_focus_fade {
  from {
    background-color: #f2f6fa;
  }
  to {
    background-color: rgba(242, 246, 250, 0);
  }
}
/* Colorized user names */
.user_color_1,
.user_color_1:hover {
  color: #8365ab;
}
.user_color_2,
.user_color_2:hover {
  color: #539e4f;
}
.user_color_3,
.user_color_3:hover {
  color: #ae9661;
}
.user_color_4,
.user_color_4:hover {
  color: #4979a3;
}
.user_color_5,
.user_color_5:hover {
  color: #b7635d;
}
.user_color_6,
.user_color_6:hover {
  color: #b3577a;
}
.user_color_7,
.user_color_7:hover {
  color: #5397b4;
}
.user_color_8,
.user_color_8:hover {
  color: #c07844;
}
.user_bgcolor_1 {
  background: #cc90e2;
}
.user_bgcolor_2 {
  background: #80d066;
}
.user_bgcolor_3 {
  background: #ecd074;
}
.user_bgcolor_4 {
  background: #6fb1e4;
}
.user_bgcolor_5 {
  background: #e57979;
}
.user_bgcolor_6 {
  background: #f98bae;
}
.user_bgcolor_7 {
  background: #73cdd0;
}
.user_bgcolor_8 {
  background: #fba76f;
}
a.peer_photo_init:hover,
a.peer_photo_init:active,
a.peer_photo_init:focus {
  text-decoration: none;
}
.peer_initials {
  display: block;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.im_dialogs_contacts_wrap h5,
.im_dialogs_messages_wrap h5 {
  color: #999;
  font-size: 13px;
  margin-left: 20px;
  font-weight: bold;
}
/* Gif documents */
.img_gif_image_wrap {
  position: relative;
  overflow: hidden;
}
.img_gif_meta {
  background: rgba(0, 0, 0, 0.4);
  width: 40px;
  height: 40px;
  line-height: 0;
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  top: 50%;
  left: 50%;
  margin-left: -20px;
  margin-top: -20px;
  pointer-events: none;
}
.img_gif_label {
  font-weight: bold;
  color: #FFF;
  display: block;
  line-height: 40px;
  font-size: 13px;
  text-align: center;
}
.icon-cancel {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -9px;
  margin-top: -1px;
}
.icon-cancel .icon-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #FFF;
  transform-origin: 50% 50%;
}
.icon-cancel .icon-bar:first-child {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.icon-cancel .icon-bar:last-child {
  -webkit-transform: translate3d(0, -2px, 0) rotate(45deg);
  -moz-transform: translate3d(0, -2px, 0) rotate(45deg);
  -o-transform: translate3d(0, -2px, 0) rotate(45deg);
  -ms-transform: translate3d(0, -2px, 0) rotate(45deg);
  transform: translate3d(0, -2px, 0) rotate(45deg);
}
.img_gif_thumb {
  -webkit-filter: blur(2px);
  -moz-filter: blur(2px);
  -o-filter: blur(2px);
  -ms-filter: blur(2px);
  filter: blur(2px);
  filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='3');
  transform-origin: center center;
  -webkit-transform-origin: center center;
  -webkit-transform: scale(1.02, 1.02);
  transform: scale(1.02, 1.02);
  max-width: 100%;
  height: auto;
}
.img_gif_meta_contents {
  transition: all cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}
.img_gif_meta_contents.ng-leave.ng-leave-active,
.img_gif_meta_contents.ng-enter {
  opacity: 0;
}
.img_gif_meta_contents.ng-leave,
.img_gif_meta_contents.ng-enter.ng-enter-active {
  opacity: 1;
}
.countries_modal_window .modal-dialog {
  max-width: 392px;
}
.countries_modal_window .modal_simple_header {
  margin-bottom: 12px;
  font-weight: normal;
}
.countries_modal_search {
  padding: 0 0 12px;
  margin: 0 20px;
  position: relative;
}
.countries_modal_search_field {
  font-size: 12px;
  line-height: normal;
  background-size: 42px 1171px;
  border: 1px solid #F2F2F2;
  border-radius: 3px;
  padding: 6px 20px 6px 30px;
  margin-bottom: 0;
  margin: 0;
  background-color: #F2F2F2;
  background-image: url(../img/icons/IconsetW.png);
  background-repeat: no-repeat;
  background-position: -6px -205px;
}
.is_2x .countries_modal_search_field {
  background-image: url(../img/icons/IconsetW_2x.png);
  background-size: 42px 1171px;
}
.countries_modal_search_field:focus,
.countries_modal_search_field:active {
  background-color: #fff;
}
.countries_modal_search_field::-ms-clear {
  display: none;
}
a.countries_modal_search_clear {
  right: 12px;
  margin-top: -34px;
}
.countries_modal_wrap .modal-body {
  padding: 14px 0;
}
.countries_scrollable_wrap a.countries_modal_country {
  clear: both;
  overflow: hidden;
  color: #000;
  padding: 8px 26px;
  font-size: 12px;
  border-radius: 0;
}
.countries_scrollable_wrap a.countries_modal_country:hover {
  border-radius: 2px;
  background: #f2f6fa;
}
.countries_modal_country_code {
  color: #999;
}
.countries_scrollable_wrap a.countries_modal_country:hover .countries_modal_country_code {
  color: #698192;
}
/* Loading dots animation */
.loading_dots {
  display: inline-block;
  font-size: 1em;
  line-height: 1;
  padding: 0.125em 0 0.175em 0.15em;
}
.loading_dots i {
  border: 0.125rem solid;
  border-radius: 50%;
  display: inline-block;
  height: 0.2rem;
  width: 0.2rem;
  margin-left: 0.2rem;
  -webkit-animation: loading_dots 0.8s linear infinite;
  -moz-animation: loading_dots 0.8s linear infinite;
  -ms-animation: loading_dots 0.8s linear infinite;
  animation: loading_dots 0.8s linear infinite;
}
.loading_dots i:nth-child(2) {
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  -ms-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
.loading_dots i:nth-child(3) {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  -ms-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
@-webkit-keyframes loading_dots {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-moz-keyframes loading_dots {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-ms-keyframes loading_dots {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes loading_dots {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.telegram_modal_logo {
  background-image: url(../img/Telegram72.png);
  background-repeat: no-repeat;
  background-position: 0 0;
}
.is_2x .telegram_modal_logo {
  background-image: url(../img/Telegram72_2x.png);
  background-size: 72px 72px;
}
.changelog_modal_window .modal-dialog {
  max-width: 480px;
}
.changelog_card_wrap {
  text-align: center;
  padding: 12px 0 18px;
}
.changelog_header {
  margin-top: 15px;
  font-size: 16px;
}
.changelog_card {
  width: 160px;
  height: 160px;
  display: block;
  background: url(../img/changelog/card_wecandoit.png) no-repeat 0 0;
  background-size: 160px 160px;
  margin: 0 auto;
}
.changelog_card_search {
  width: 133px;
  height: 133px;
  display: block;
  background: url(../img/changelog/search.png) no-repeat 0 0;
  background-size: 133px 133px;
  margin: 0 auto;
}
.changelog_version_title {
  color: #9d9479;
  background: #efede3;
}
.changelog_version_changes_list li {
  line-height: 20px;
}
.changelog_footer_wrap {
  padding: 15px 28px 30px 120px;
}
.changelog_github_link {
  font-size: 13px;
  float: right;
  color: #999;
}
.changelog_more_link {
  font-size: 13px;
}
.bad_browser_wrap {
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #fff;
  max-width: 600px;
  margin: 50px auto 0;
  padding: 40px;
}
.bad_browser_wrap h2 {
  margin-top: 0;
}
.bad_browser_text {
  font-size: 14px;
  line-height: 160%;
  margin: 25px 0 30px;
}
#nacl_listener {
  position: absolute;
  left: -10000px;
}
.peer_modal_profile_wrap {
  padding: 35px 2px 0px;
}
.peer_modal_photo {
  width: 72px;
  height: 72px;
  border-radius: 36px;
  overflow: hidden;
}
a.peer_modal_photo,
div.peer_modal_photo {
  display: block;
  margin-right: 19px;
}
.peer_modal_photo .peer_initials {
  line-height: 72px;
  font-size: 22px;
}
.peer_modal_profile_name {
  font-size: 14px;
  padding: 15px 0 9px;
  font-weight: bold;
}
.peer_modal_profile_description {
  color: #ccdeed;
}
.md_modal_split_action {
  display: block;
  background: #fff;
  float: right;
  position: relative;
  width: 52px;
  height: 52px;
  margin-left: 20px;
  border-radius: 26px;
  overflow: hidden;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.md_modal_split_actions {
  position: absolute;
  right: 25px;
  top: -26px;
}
.md_modal_split_actions_wrap {
  position: relative;
}
.md_modal_split_action_camera {
  display: inline-block;
  width: 20px;
  height: 18px;
  margin: 17px 0 0 16px;
  background-image: url(../img/icons/ProfileIcons.png);
  background-repeat: no-repeat;
  background-position: -10px -164px;
}
.is_2x .md_modal_split_action_camera {
  background-image: url(../img/icons/ProfileIcons_2x.png);
  background-size: 40px 420px;
}
.md_modal_split_action:hover .md_modal_split_action_camera,
.md_modal_split_action:active .md_modal_split_action_camera {
  background-position: -10px -192px;
}
.md_modal_split_action_twitter {
  display: inline-block;
  width: 27px;
  height: 22px;
  margin: 17px 0 0 13px;
  background-image: url(../img/icons/ProfileIcons.png);
  background-repeat: no-repeat;
  background-position: -7px -280px;
}
.is_2x .md_modal_split_action_twitter {
  background-image: url(../img/icons/ProfileIcons_2x.png);
  background-size: 40px 420px;
}
.md_modal_split_action:hover .md_modal_split_action_twitter,
.md_modal_split_action:active .md_modal_split_action_twitter {
  background-position: -7px -312px;
}
.md_modal_split_action_msg {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 18px 0 0 16px;
  background-image: url(../img/icons/ProfileIcons.png);
  background-repeat: no-repeat;
  background-position: -10px -220px;
}
.is_2x .md_modal_split_action_msg {
  background-image: url(../img/icons/ProfileIcons_2x.png);
  background-size: 40px 420px;
}
.md_modal_split_action:hover .md_modal_split_action_msg,
.md_modal_split_action:active .md_modal_split_action_msg {
  background-position: -10px -250px;
}
.md_modal_iconed_section_wrap {
  position: relative;
  border-bottom: 1px solid #ebebeb;
  margin: 19px 0 0 120px;
  padding-right: 28px;
}
.md_modal_iconed_section_wrap:last-child {
  border-bottom: 0;
}
.md_modal_iconed_section_number {
  margin-top: 0;
}
.md_modal_iconed_section_toggle {
  margin-top: 10px;
}
.md_modal_iconed_section_radio {
  margin-top: 1px;
}
.md_modal_sections {
  padding-top: 17px;
}
.md_modal_section_icon {
  display: inline-block;
  margin-left: -64px;
  margin-top: 5px;
  position: absolute;
  background-image: url(../img/icons/ProfileIcons.png);
  background-repeat: no-repeat;
  background-position: 0 0;
}
.is_2x .md_modal_section_icon {
  background-image: url(../img/icons/ProfileIcons_2x.png);
  background-size: 40px 420px;
}
.md_modal_iconed_section_toggle .md_modal_section_icon {
  margin-top: 8px;
}
.md_modal_iconed_section_radio .md_modal_section_icon {
  margin-top: 10px;
}
.md_modal_iconed_section_link .md_modal_section_icon {
  margin-top: 4px;
}
.md_modal_section_icon_phone {
  width: 18px;
  height: 18px;
  background-position: -12px -10px;
  margin-top: 3px;
}
.md_modal_section_icon_about {
  width: 20px;
  height: 20px;
  background-position: -10px -344px;
  margin-top: 0px;
}
.md_modal_section_icon_notification {
  width: 17px;
  height: 20px;
  background-position: -12px -38px;
}
.md_modal_section_icon_keyboard {
  width: 20px;
  height: 14px;
  background-position: -10px -140px;
  margin-left: -66px;
}
.md_modal_section_icon_person {
  width: 16px;
  height: 16px;
  background-position: -12px -90px;
}
.md_modal_section_icon_people {
  width: 22px;
  height: 14px;
  background-position: -9px -116px;
}
.md_modal_section_icon_more {
  width: 18px;
  height: 12px;
  background-position: -11px -68px;
}
.md_modal_section_param_wrap {
  margin-top: 19px;
  margin-bottom: 19px;
}
.md_modal_section_param_wrap:last-child {
  margin-bottom: 16px;
}
.md_modal_section_param_wrap .md_modal_section_param_name {
  color: #909090;
  font-size: 11px;
  line-height: 14px;
  margin-top: 4px;
}
.md_modal_section_param_wrap .md_modal_section_param_value {
  word-break: break-word;
  word-wrap: break-word;
  overflow: hidden;
}
.md_modal_section_range_wrap {
  padding-right: 4px;
  margin-bottom: 25px;
  padding-top: 1px;
}
.md_modal_section_select_wrap {
  margin-bottom: 20px;
}
.md_modal_section_select {
  float: right;
  font-size: 12px;
  padding: 0;
}
.md_modal_section_select_wrap .md_modal_section_param_name {
  padding-top: 1px;
}
.md_modal_section_select .dropdown-toggle {
  font-size: 12px;
  padding: 0;
  line-height: normal;
}
.md_modal_section_select .dropdown-menu {
  left: -15px;
}
.md_modal_section_link {
  color: inherit;
  display: block;
  padding: 4px 0;
}
.md_modal_section_link_wrap {
  padding-bottom: 15px;
}
.md_modal_section_link:hover {
  text-decoration: none;
}
.md_modal_section_link.pull-right {
  color: #3a6d99;
}
.md_modal_section_text {
  display: block;
  padding: 4px 0;
  color: #777;
}
.md_modal_section_version {
  color: #777;
  display: inline-block;
  margin-left: -70px;
  position: absolute;
}
.md_modal_section_splitter {
  border-top: 1px solid #dfdfdf;
  min-height: 12px;
  background: #f5f5f5;
  -webkit-box-shadow: inset 0px 1px 1px #ededed;
  -moz-box-shadow: inset 0px 1px 1px #ededed;
  box-shadow: inset 0px 1px 1px #ededed;
}
.md_modal_section_splitter_content {
  height: auto;
  padding-left: 120px;
  color: #777;
  font-size: 12px;
  padding: 5px 20px 3px 55px;
}
.md_modal_versioned_section_wrap {
  position: relative;
  border-bottom: 1px solid #ebebeb;
  margin: 19px 0 0 120px;
  padding-right: 28px;
}
.md_modal_versioned_section_wrap:last-child {
  border-bottom: 0;
}
.md_modal_list_peer_wrap {
  padding-bottom: 16px;
}
.md_modal_list_peer_action {
  font-size: 13px;
  padding: 3px;
  margin: -3px;
}
.md_modal_list_peer_photo {
  width: 42px;
  height: 42px;
  line-height: 42px;
  border-radius: 50%;
  overflow: hidden;
}
a.md_modal_list_peer_photo,
div.md_modal_list_peer_photo {
  margin-right: 12px;
}
.md_modal_list_peer_name {
  font-size: 13px;
  font-weight: bold;
}
a.md_modal_list_peer_name {
  color: inherit;
}
.md_modal_list_peer_description {
  margin-top: 4px;
  color: #999;
}
.md_modal_list_peer_description.status_online,
.md_modal_list_peer_description .status_online {
  color: #3a6d99;
}
.md_modal_footer {
  padding: 15px 27px 15px;
}
.md_modal_footer_empty {
  padding: 10px 27px 0;
}
.md_photo_loading {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 36px;
  overflow: hidden;
  background: #48769b;
  text-align: center;
  line-height: 72px;
  padding: 0;
}
.md_photo_loading i {
  display: inline-block;
  background: #fff;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  vertical-align: middle;
  border: 0;
  margin-left: 6px;
}
.md_photo_loading i:first-child {
  margin-left: 0;
}
.inactive_page_content {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}
.inactive_image {
  display: block;
  background-image: url(../img/Manytabs.png);
  background-repeat: no-repeat;
  width: 341px;
  height: 262px;
  margin: 0 auto;
}
.is_2x .inactive_image {
  background-image: url(../img/Manytabs_2x.png);
  background-size: 341px 262px;
}
.inactive_title {
  font-size: 18px;
  color: #444444;
}
.inactive_description {
  color: #666666;
  font-size: 15px;
  line-height: 150%;
}
.inactive_actions {
  margin-top: 15px;
}
@media print {
  html,
  body {
    background: #fff;
  }
  body .im_page_wrap {
    border: 0;
    box-shadow: none;
    overflow: visible;
  }
  body .im_dialogs_col_wrap,
  body .im_bottom_panel_wrap,
  body .tg_head_logo_wrap,
  body .tg_head_msgs_edit_btn,
  body .tg_head_peer_return_btn,
  body .tg_head_peer_dropdown {
    display: none;
  }
  body .im_history_wrap {
    height: auto !important;
  }
  body .nano-pane {
    display: none;
  }
  body .nano > .nano-content {
    position: static;
  }
  body .tg_head_peer_info {
    text-align: center;
  }
  body .im_history_col_wrap,
  body .tg_head_main_wrap {
    width: auto;
    max-width: 700px;
    float: none;
    margin: 0 auto;
  }
}
