
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

div {
    position: relative;
}


A:link    { COLOR: #FFA000; TEXT-DECORATION : none }
A:visited { COLOR: #FFA000; TEXT-DECORATION : none }
A:hover   { COLOR: #FFD000; Text-Decoration : none }

.button A:link     { COLOR: #333; TEXT-DECORATION : none }
.button A:visited  { COLOR: #333; TEXT-DECORATION : none }
.button A:hover    { COLOR: #333; TEXT-DECORATION : none }

a {
    position: relative;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 32px;
    line-height: normal;
}
h2 {
    font-size: 26px;
    line-height: normal;
}
h3 {
    font-size: 24px;
    line-height: normal;
}
h4 {
    font-size: 21px;
    margin-bottom: 7px !important;
}

*:focus {
    outline: none !important;
}

.cursor-pointer {
    cursor: pointer;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


html,body {
 margin: 0;
 padding: 0;
 width: 100%;
 height: auto;
 min-height: 100%;
 /*font-family: 'Roboto Condensed', sans-serif;*/
 font-family: 'Arial', sans-serif;
 font-size:14px;
 font-weight:normal;
 font-style:normal;
 color:#202020;
 overflow-x: hidden;
 background-color: #ffffff;
}

.bg_image {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url(/images/bg.png) repeat-x center center;
    -webkit-background-size: auto 100%;
    -moz-background-size: auto 100%;
    -o-background-size: auto 100%;
    background-size: auto 100%;
    opacity: 0.5;
}


.hardware_acceleration {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}


.clear-all {
    float: none;
    clear: both;
}

.bold {
    font-weight: bold !important;
}

.nobold {
    font-weight: normal !important;
}

.nowrap {
    white-space: nowrap !important;
}


.text-color-white {
    color: #ffffff !important;
}
.text-color-black {
    color: #333333 !important;
}
.text-color-orange {
    color: #ffa000 !important;
}
.text-color-red {
    color: #ff0000 !important;
}
.text-color-blue {
    color: #0000ff !important;
}
.text-color-green {
    color: #00f000 !important;
}
.text-color-greenblue {
    color: #0080a0 !important;
}


.small-fontsize {
    font-size: 13px;
}


.tr {
    display: inline-block;
    width: 100%;
    height: 1px;
    border-top: 1px dashed #bbbbbb;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
}


.margin-top {
    margin-top: 15px !important;
}
.margin-bottom {
    margin-bottom: 15px !important;
}
.margin-left {
    margin-left: 15px !important;
}
.margin-right {
    margin-right: 15px !important;
}


.padding-top {
    padding-top: 20px !important;
}
.padding-bottom {
    padding-bottom: 20px !important;
}
.padding-left {
    padding-left: 20px !important;
}
.padding-right {
    padding-right: 20px !important;
}


.no-margin-top {
    margin-top: 0 !important;
}
.no-margin-bottom {
    margin-bottom: 0 !important;
}



.float-left {
    position: relative;
    float: left;
}
.float-right {
    position: relative;
    float: right;
}

h1,h2,h3,h4,h5,h6 {
    padding: 0;
    margin: 0;
    line-height: normal;
    font-weight: bold !important;
}



.text-right {
    text-align: right !important;
}
.text-left {
    text-align: left !important;
}
.text-center {
    text-align: center !important;
}



.bg_transition {
    -webkit-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
}

.color_transition {
    -webkit-transition: color 100ms linear;
    -ms-transition: color 100ms linear;
    transition: color 100ms linear;
}



.debug {
    display: block;
    position: relative;
    width: auto;
    background-color: #333333;
    color: #ffffff;
    padding: 0;
}
.debug .debug_file_line_info {
    display: inline-block;
    position: relative;
    width: calc(100% - 20px);
    margin: 10px 10px;
    margin-bottom: 0;
    color: #e0e0e0;
    font-size: 12px;
}
.debug pre {
    display: inline-block !important;
    position: relative !important;
    width: auto !important;
    margin: 10px 10px !important;
    font-size: 14px !important;
    color: #ffffff !important;
    background-color: transparent !important;
    padding: 0 !important;
}

pre.debug {
    padding: 5px 7px;
}




.content {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.content .inner {
    display: inline-block;
    position: relative;
    width: 100%;
    text-align: left;
}


.content .header {
    padding: 20px;
}

.content .logo img {
    width: auto !important;
    height: 150px !important;
}


html.is_login,
body.is_login {
    height: 100% !important;
}

body.is_login {
    background: url(/images/bg.png) repeat-x left top;
    -webkit-background-size: auto 100%;
    -moz-background-size: auto 100%;
    -o-background-size: auto 100%;
    background-size: auto 100%;
    overflow: hidden;
}



body.is_login .content.h100 {
    height: 100%;
}

body.is_login .content .content,
body.is_login .content .header {
    padding: 20px;
}

body.is_login .content .header {
    padding: 0 !important;
}
body.is_login .content .header .header_inner {
    padding: 20px !important;
}
body.is_login .content .header .header_inner.no_padding_top {
    padding-top: 0 !important;
}

body.is_login .content .header .header_logo {
    background-color: #000000 !important;
}

body.is_login .dark_background {
    background-color: #d0d0d0 !important;
}


body.is_login .content .logo img {
    height: 50px !important;
}
body.is_login .content .header {
    height: 180px !important;
    overflow: hidden !important;
    border-bottom: 1px solid #c0c0c0;
}
body.is_login .content.contacts_list {
    height: calc(100% - 270px);
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    padding: 0 !important;
}

body.is_login .content a.logo {
    display: inline-block;
}


body.is_login .content .left {
    display: inline-block;
    width: 460px;
    height: 100%;
    float: left;
    border-right: 1px solid #dddddd;
    background-color: #ffffff;
}
body.is_login .content .right.messages {
    display: inline-block;
    width: calc(100% - 460px);
    height: 100%;
    float: left;
    background-color: #f0f0f090;
    overflow: hidden;
}

body.is_login .content .right.messages .content {
    width: 100%;
    height: 100%;
}
body.is_login .content .right.messages .contact_messages .content {
    width: 100%;
    height: auto;
    opacity: 0;
}

html.qrcode,
body.qrcode {
    background-color: #000000 !important;
}


.opacity_transition {
    -webkit-transition: opacity 300ms ease-in-out;
    -ms-transition: opacity 300ms ease-in-out;
    -moz-transition: opacity 300ms ease-in-out;
    -o-transition: opacity 300ms ease-in-out;
    transition: opacity 300ms ease-in-out;
}


body.is_login .content.main_content {
    -webkit-transition: opacity 500ms ease-in-out;
    -ms-transition: opacity 500ms ease-in-out;
    -moz-transition: opacity 500ms ease-in-out;
    -o-transition: opacity 500ms ease-in-out;
    transition: opacity 500ms ease-in-out;
    opacity: 0;
}

.my_profile_image {
    border-radius: 100px;
    width: 70px;
    height: auto;
}

.header .myprofile {
    width: 100%;
    margin-top: 10px;
}
.header .myprofile .image {
    width: 90px;
    float: left;
}
.header .myprofile .userinfo {
    width: calc(100% - 90px);
    float: left;
    line-height: 70px;
}

.header .myprofile .userinfo .name {
    width: 100%;
    font-size: 20px;
    color: #333333;
}
.header .myprofile .userinfo .idn {
    width: 100%;
    font-size: 15px;
    color: #777777;
    margin-top: 6px;
}


body.is_login .content .left .content.contacts_list .item {
    width: 100%;
    padding: 5px 20px;
    cursor: pointer;
}
body.is_login .content .left .content.contacts_list .item:hover {
    background-color: #c8c8c8 !important;
}
body.is_login .content .left .content.contacts_list .item.active {
    background-color: #c0c0c0 !important;
}


body.is_login .content .left .content.contacts_list .item .item_left {
    width: 90px;
    float: left;
}
body.is_login .content .left .content.contacts_list .item .item_center {
    width: calc(100% - 90px - 110px);
    float: left;
}
body.is_login .content .left .content.contacts_list .item .item_right {
    width: calc(110px);
    text-align: right;
    float: left;
}

body.is_login .content .left .content.contacts_list .item .item_name {
    font-size: 14px;
    color: #444444;
    font-weight: bold;
    padding-bottom: 4px;
}
body.is_login .content .left .content.contacts_list .item .item_last_message {
    font-size: 13px;
    color: #666666;
    font-weight: normal;
}
body.is_login .content .left .content.contacts_list .item .item_date {
    font-size: 12px;
    color: #777777;
    font-weight: normal;
}

body.is_login .content .left .content.contacts_list .item .item_left img {
    display: block;
    width: 70px;
    height: auto;
    border-radius: 70px;
    overflow: hidden;
}

body.is_login .content .left .content.contacts_list .item .preview_image {
    display: inline-block;
    width: 42px;
    height: 42px;
    border-radius: 3px;
    overflow: hidden;
    vertical-align: middle;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 5px;
}
body.is_login .content .left .content.contacts_list .item .preview_image img {
    display: block;
    width: 100%;
    height: auto;
}

body.is_login .content .left .content.contacts_list .item .item_last_message span.icon {
    font-size: 24px;
    font-weight: normal;
}

body.is_login .content .left .content.contacts_list .item .item_user_new_messages {
    position: absolute;
    right: 3px;
    top: 0;
    width: 31px;
    height: 31px;
    background-color: #222222;
    text-align: center;
    line-height: 28px;
    font-size: 11px;
    color: #fff;
    border-radius: 16px;
    border: 2px solid #ffffff;
    overflow: hidden;
    opacity: 0;
}

body.is_login .content .left .content.contacts_list .item .item_user_online {
    position: absolute;
    right: 14px;
    bottom: 0;
    width: 9px;
    height: 9px;
    background-color: #009000;
    border-radius: 16px;
    border: none;
    overflow: hidden;
    opacity: 0;
}


body.contact_active .hide_on_contact_active {
    display: none !important;
}
body:not(.contact_active) .hide_on_contact_active {
    display: block !important;
}
body.contact_active .show_on_contact_active {
    display: block !important;
}
body:not(.contact_active) .show_on_contact_active {
    display: none !important;
}



.contact_content {
    width: 100%;
    height: 100%;
}
.contact_content .contact_header {
    width: 100%;
    height: 60px;
    background-color: #fafafa;
    border-bottom: 1px solid #c0c0c0;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0,0,0,0.06);
    z-index: 999999;
}
.contact_content .contact_messages {
    width: 100%;
    height: calc(100% - 60px - 60px);
    overflow-x: hidden;
    overflow-y: scroll;
}

.contact_content .contact_messages_input {
    width: 100%;
    height: 60px;
    overflow: hidden;
    background-color: #ffffff;
    border-top: 1px solid #ededed;
    box-shadow: 0 -5px 10px rgba(0,0,0,0.06);
    z-index: 999999;
}

body.no_contact_header .contact_content .contact_header {
    display: none !important;
    width: 100%;
    height: 0;
}
body.no_contact_header .contact_content .contact_messages {
    height: calc(100% - 60px);
}
.contact_content .contact_messages .message_row {
    width: 100%;
    margin-top: 7px;
    margin-bottom: 7px;
}
.contact_content .contact_messages .message_row .message {
    display: inline-block;
    width: auto;
    max-width: 40vw;
    background-color: #ebebeb;
    border-radius: 7px;
    overflow: hidden;
    float: left;
    padding: 10px 10px;
}

.contact_content .contact_messages .message_row.only_emojis .message {
    font-size: 26px;
    line-height: 34px;
}
.contact_content .contact_messages .message_row.only_emojis.emojis_size_2 .message {
    font-size: 32px;
    line-height: 42px;
}
.contact_content .contact_messages .message_row.only_emojis.emojis_size_3 .message {
    font-size: 40px;
    line-height: 52px;
}

.contact_content .contact_messages .message_row.is_my .message {
    float: right !important;
    background-color: #d0d0d0 !important;
}


.contact_content .contact_messages .message .image {
    width: 440px;
    height: 440px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.contact_content .contact_messages .message .image.video_preview {
    text-align: center;
}
.contact_content .contact_messages .message .image.video_preview .play_image {
    display: inline-block;
    position: relative;
    width: 90px;
    height: 90px;
    top: calc(50% - 45px);
    background-color: #202020;
    border-radius: 90px;
    overflow: hidden;
    text-align: center;
    border: 2px solid #ffffff;
    opacity: 0.9;
}
.contact_content .contact_messages .message .image.video_preview .play_image img {
    display: inline-block;
    position: relative;
    width: 44px;
    height: auto;
    margin-top: 20px;
    margin-left: 7px;
}

.contact_content .contact_messages .message .images {
    width: auto;
    height: auto;
}
.contact_content .contact_messages .message .images.image_w_2 .image {
    width: 220px;
    height: 220px;
    float: left;
    border: 2px solid #f0f0f0;
}

.contact_content .contact_messages .message_row.has_image.has_audio .message .image.video_preview,
.contact_content .contact_messages .message_row.has_video.has_audio .message .image.video_preview,
.contact_content .contact_messages .message_row.has_image.has_audio .message .images.image_w_2 .image,
.contact_content .contact_messages .message_row.has_video.has_audio .message .images.image_w_2 .image {
    width: 325px !important;
    height: 325px !important;
    float: none !important;
    border: 2px solid #f0f0f0;
}


.contact_content .contact_messages .message_row .message .image.video_preview,
.contact_content .contact_messages .message_row .message .images.image_w_2 .image,
.contact_content .contact_messages .message_row .message .images .image {
    border-color: #ebebeb !important;
}

.contact_content .contact_messages .message_row.is_my .message .image.video_preview,
.contact_content .contact_messages .message_row.is_my .message .images.image_w_2 .image,
.contact_content .contact_messages .message_row.is_my .message .images .image {
    border-color: #d0d0d0 !important;
}



.contact_content .contact_messages .message .image.full {
    display: none;
    transition: all 0.1s ease-in-out;
}

.contact_content .contact_messages .message_row .message .other_file {
    width: auto;
    height: auto;
    white-space: nowrap !important;
    cursor: pointer;
    opacity: 0.65;
}
.contact_content .contact_messages .message_row .message .other_file:hover {
    opacity: 1;
}
.contact_content .contact_messages .message_row .message .other_file .file_image {
    display: inline-block;
    width: 48px;
    height: 48px;
    background-image: url("/images/icons/file.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    float: left;
    text-align: center;
    font-size: 12px;
    line-height: 48px;
    padding-top: 5px;
    color: #ffffff;
}
.contact_content .contact_messages .message_row .message .other_file .file_name {
    display: inline-block;
    width: calc(100% - 48px);
    height: auto;
    float: left;
    font-size: 13px;
    line-height: 48px;
}
.contact_content .contact_messages .message_row .message .other_file .file_name span {
    width: auto;
    height: auto;
    font-size: 13px;
    line-height: 17px;
    white-space: normal;
}


.contact_content .contact_messages .preload {
    display: none !important;
}


.audio_message {
    display: block;
    width: 325px;
    height: auto;
    max-width: 325px;
    opacity: 0.3;
    pointer-events: none;
}
.audio_message.is_init {
    opacity: 1;
    pointer-events: auto;
}

.audio_player_extra {
    display: none;
    position: fixed;
    right: 50vw;
    top: 0;
    z-index: 999999;
    padding: 15px;
    background-color: #222222;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    overflow: hidden;
}

.audio_player_extra .audio_message.margin-top {
    margin-top: 0 !important;
}

.audio_message .audio_amp_bar {
    position: relative;
    display: inline-block;
    width: 1px;
    height: 0;
    top: 0;
    margin-top: 0;
    margin-right: 1px;
    float: left;
    background-color: #a5a5a5;
}
.audio_message .audio_amp_bar.active {
    background-color: #111111 !important;
}

.message_row.is_my .audio_message .audio_amp_bar {
    background-color: #888888;
}
.message_row.is_my .audio_message .audio_amp_bar.active {
    background-color: #111111 !important;
}

.audio_player_extra .audio_message .audio_amp_bar {
    background-color: #999999 !important;
}
.audio_player_extra .audio_message .audio_amp_bar.active {
    background-color: #dddddd !important;
}
.audio_player_extra .audio_message .audio_header {
    color: #eeeeee !important;
}

.audio_message .audio_cursor {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    overflow: hidden;
    background-color: #777777;
    opacity: 0;
}
.audio_player_extra .audio_message .audio_cursor {
    background-color: #f0f0f0 !important;
}
.audio_message.is_play .audio_cursor {
    display: block;
}

.audio_message .audio_header {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 7px;
    font-size: 12px;
    color: #666666;
    white-space: nowrap;
}

.audio_message.is_voice .audio_header {
    display: none !important;
}

.audio_message .audio_header .audio_length {
    position: relative;
    width: 47px;
    height: auto;
    overflow: hidden;
    float: left;
    padding-left: 4px;
}
.audio_message .audio_header .audio_filename {
    position: relative;
    width: calc(100% - 47px);
    height: auto;
    overflow: hidden;
    float: left;
    white-space: normal;
}


.audio_message .audio_content {
    display: block;
    width: 100%;
    height: 50px;
}

.audio_message .audio_buttons {
    position: relative;
    display: inline-block;
    width: 37px;
    height: 100%;
    margin-left: 5px;
    margin-right: 5px;
    padding-top: 7px;
    float: left;
}

.audio_player_extra .audio_message .audio_buttons {
    margin-left: 0;
    margin-right: 10px;
}

.audio_message .audio_button {
    position: relative;
    display: inline-block;
    width: 37px;
    height: 37px;
    text-align: center;
    background-color: #aaaaaa;
    border-radius: 100px;
    padding-top: 10px;
    cursor: pointer;
    opacity: 0.8;
}
.audio_message .audio_button:hover {
    opacity: 1;
}

.audio_message .audio_button.button_pause {
    display: none;
}

.audio_message.is_play .audio_button.button_pause {
    display: inline-block;
}
.audio_message.is_play .audio_button.button_play {
    display: none;
}


.audio_message .audio_button img {
    display: inline-block;
    width: 16px;
    height: 16px;
}

.message_row.is_my .audio_message .audio_button {
    background-color: #888888;
}


.contact_content .contact_messages .message_bottom_content {
    margin-top: 10px;
    text-align: right;
    font-size: 12px;
}
.contact_content .contact_messages .message_bottom_content .message_bottom_content_item {
    float: right;
    margin-left: 20px;
    white-space: nowrap !important;
    line-height: 17px;
}
.contact_content .contact_messages .message_bottom_content .message_bottom_content_item img {
    width: 16px;
    height: 16px;
}
.contact_content .contact_messages .message_bottom_content .message_bottom_content_item img.menu_button {
    cursor: pointer;
}

.contact_content .contact_messages .message_bottom_content .message_bottom_content_item img.is_seen {
    width: 16px;
    height: 16px;
    opacity: 0.06;
}

.message_row.is_seen_1 img.is_seen {
    opacity: 0.5 !important;
}

.message_row:not(.is_my) img.is_seen {
    opacity: 0.5 !important;
}


.message_row:not(.has_voice) .message_bottom_content .message_bottom_content_item.item_date {
    margin-left: 0 !important;
}
.message_row.has_voice .message_bottom_content .message_bottom_content_item.item_length {
    margin-left: 0 !important;
}


.padding_div {
    display: block;
    width: 100%;
    height: 1px;
    overflow: hidden;
    padding: 0;
    margin: 9px 0 0;
}


.message_media_viewer {
    position: fixed;
    left: 0;
    top: 0;
    -webkit-transition: opacity 200ms ease-in-out;
    -ms-transition: opacity 200ms ease-in-out;
    -moz-transition: opacity 200ms ease-in-out;
    -o-transition: opacity 200ms ease-in-out;
    transition: opacity 200ms ease-in-out;
    opacity: 0;
    z-index: 9999990;
}
.message_media_viewer .message_media_viewer_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999990;
    background: #000000;
    opacity: 0.92;
}
.message_media_viewer .message_media_viewer_content {
    position: fixed;
    width: 100vw;
    max-width: 1280px;
    height: auto;
    z-index: 9999991;
    left: calc(50vw - 640px);
    top: 40vh;
}
.message_media_viewer .message_media_viewer_content img {
    position: relative;
    width: 100%;
    height: auto;
    cursor: pointer;
}
.message_media_viewer .message_media_viewer_content.portrait img {
    position: relative;
    width: auto;
    height: 95vh;
}

.message_media_viewer .message_media_viewer_button.button_close {
    position: fixed;
    width: 48px;
    height: 48px;
    right: 20px;
    top: 20px;
    z-index: 9999993;
    cursor: pointer;
    background-color: rgba(0,0,0,0.9);
    overflow: hidden;
    border-radius: 32px;
    text-align: center;
    padding-top: 15px;
}
.message_media_viewer .message_media_viewer_button.button_close img {
    width: 18px;
    height: 18px;
}
.message_media_viewer .message_media_viewer_button.button_close:hover {
    background-color: rgba(40,40,40,0.99);
}

.message_media_viewer .message_media_viewer_button.button_download {
    position: fixed;
    width: 48px;
    height: 48px;
    right: 20px;
    top: 80px;
    z-index: 9999993;
    cursor: pointer;
    background-color: rgba(0,0,0,0.9);
    overflow: hidden;
    border-radius: 32px;
    text-align: center;
    padding-top: 10px;
}
.message_media_viewer .message_media_viewer_button.button_download img {
    width: 24px;
    height: 24px;
}
.message_media_viewer .message_media_viewer_button.button_download:hover {
    background-color: rgba(40,40,40,0.99);
}


.message_media_viewer video {
    width: 100vw;
    height: 100vh;
}




.contact_content .contact_header img {
    width: auto;
    height: 40px;
    border-radius: 40px;
    overflow: hidden;
}
.contact_content .contact_header .image {
    display: inline-block;
    width: 50px;
    height: 100%;
    padding-left: 10px;
    padding-top: 10px;
    float: left;
}
.contact_content .contact_header .name {
    display: inline-block;
    width: auto;
    height: auto;
    float: left;
    font-weight: bold;
    font-size: 17px;
    line-height: 58px;
    padding-left: 8px;
}
.contact_content .contact_header .idn {
    display: inline-block;
    width: auto;
    height: auto;
    float: left;
    font-weight: bold;
    font-size: 15px;
    line-height: 58px;
    padding-left: 20px;
    opacity: 0.5;
}


#inactivity_info {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    left: 0;
    top: 0;
    overflow: hidden;
    z-index: 99999000;
    -webkit-transition: opacity 200ms ease-in-out;
    -ms-transition: opacity 200ms ease-in-out;
    -moz-transition: opacity 200ms ease-in-out;
    -o-transition: opacity 200ms ease-in-out;
    transition: opacity 200ms ease-in-out;
    opacity: 0;
}
#inactivity_info .inactivity_info_content {
    position: absolute;
    width: 400px;
    height: auto;
    padding: 30px 35px;
    background-color: #707070;
    color: #ffffff;
    left: calc(50% - 200px);
    top: calc(50vh - 100px);
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px #00000050;
    z-index: 99999001;
}
#inactivity_info .text {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
    font-size: 15px;
    line-height: 20px;
}
#inactivity_info .counter {
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 19px;
}


#infobox {
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    background-color: rgba(10,10,10,0.8);
    overflow: hidden;
    z-index: 99990000;
    -webkit-transition: opacity 200ms ease-in-out;
    -ms-transition: opacity 200ms ease-in-out;
    -moz-transition: opacity 200ms ease-in-out;
    -o-transition: opacity 200ms ease-in-out;
    transition: opacity 200ms ease-in-out;
    opacity: 0;
}
#infobox .infobox_content {
    position: fixed;
    width: 500px;
    height: auto;
    background-color: #ffffff;
    color: #333333;
    left: calc(50vw - 250px);
    top: calc(50vh - 100px);
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px #00000050;
    z-index: 99990001;
    padding: 25px 25px;
    font-size: 15px;
}
#infobox .infobox_content .infobox_title {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
    font-size: 15px;
    font-weight: bold;
}
#infobox .infobox_content .infobox_text {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
    font-size: 15px;
    font-weight: normal;
}
#infobox .infobox_content .infobox_buttons {
    width: 100%;
    height: auto;
}
#infobox .infobox_content .infobox_buttons .infobox_button {
    width: 100%;
    height: auto;
    padding: 10px 13px;
    background-color: #d0d0d0;
    border-radius: 7px;
    text-align: center;
    cursor: pointer;
}
#infobox .infobox_content .infobox_buttons .infobox_button_ok {
    background-color: #d0d0d0;
}
#infobox .infobox_content .infobox_buttons .infobox_button_ok:hover {
    background-color: #c0c0c0;
}



.contact_content .contact_messages_input .content {
    padding: 11px !important;
}

.contact_content .contact_messages_input_left {
    width: calc(100% - 50px);
    float: left;
    overflow: hidden;
}
.contact_content .contact_messages_input_right {
    width: 50px;
    float: left;
    overflow: hidden;
}

.contact_content .contact_messages_input_left .input_left {
    width: 100px;
    float: left;
    overflow: hidden;
    line-height: 51px;
    white-space: nowrap;
}
.contact_content .contact_messages_input_left .input_right {
    width: calc(100% - 100px);
    float: left;
    overflow: hidden;
    line-height: normal;
}


.contact_content .contact_messages_input img {
    -webkit-user-drag: none;
    user-drag: none;
}


.contact_content .contact_messages_input .content_uploads {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: #ffffff;
}
.contact_content .contact_messages_input .content_uploads.active {
    display: block;
}
.contact_content .contact_messages_input .content_uploads .input_right {
    line-height: 37px !important;
    white-space: nowrap !important;
    font-size: 12px;
}


.contact_content .img_button {
    display: block;
    position: relative;
    width: 38px;
    height: 38px;
    cursor: pointer;
    margin-right: 4px;
    background-color: transparent;
    border-radius: 38px;
    overflow: hidden;
    float: left;
    line-height: 38px;
    text-align: center;
    padding-top: 6px;
    -webkit-user-drag: none;
    user-drag: none;
}
.contact_content .img_button.button_attachments {
    padding-top: 4px;
}
.contact_content .img_button:hover {
    background-color: #eaeaea;
}
.contact_content .img_button.active {
    background-color: #eaeaea !important;
}

.contact_content .img_button img {
    display: inline-block;
    position: relative;
    width: 20px;
    height: auto;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.contact_content .img_button.button_attachments img {
    width: 17px;
}

.contact_content .img_button.button_send,
.contact_content .img_button.button_mic {
    margin-left: 10px;
    margin-right: 0;
    background-color: #509050;
    line-height: 36px;
    padding-left: 4px;
}
.contact_content .img_button.button_send:hover {
    background-color: #408040;
}

.contact_content .img_button.button_mic {
    background-color: #606060 !important;
    line-height: 36px;
    padding-left: 0;
}
.contact_content .img_button.button_mic:hover {
    background-color: #505050 !important;
}
.contact_content .img_button.button_mic img {
    display: inline;
}


.contact_content .contact_messages_input_right .img_button.button_send {
    display: none;
}
.contact_content .contact_messages_input_right.is_upload .img_button.button_send,
.contact_content .contact_messages_input_right.is_text_input .img_button.button_send {
    display: block !important;
}
.contact_content .contact_messages_input_right.is_upload .img_button.button_mic,
.contact_content .contact_messages_input_right.is_text_input .img_button.button_mic {
    display: none !important;
}

.contact_content .contact_messages_input_right .img_button.button_mic img.abort {
    display: none !important;
}

.contact_content .contact_messages_input_right.is_mic_abort .img_button.button_mic img.mic {
    display: none !important;
}
.contact_content .contact_messages_input_right.is_mic_abort .img_button.button_mic img.abort {
    display: inline !important;
    width: 16px;
}
.contact_content .contact_messages_input_right.is_mic_abort .img_button.button_mic {
    line-height: 32px;
    margin-left: 10px;
    margin-right: 0;
    background-color: #aa0000 !important;
}


.pulse {
    opacity: 1;
    animation: pulseOpacity 1s infinite;
}
@keyframes pulseOpacity {
    0%   { opacity: 1; }
    50%  { opacity: 0.5; }
    100% { opacity: 1; }
}


.contact_content .contact_messages_input_left .input_left span {
    width: auto;
    height: auto;
    font-size: 28px;
    cursor: pointer;
}

.contact_content .contact_messages_input_left .input_right input {
    width: 100%;
    height: auto;
    padding: 10px 10px 10px 0;
    border: none !important;
    background-color: transparent !important;
    font-size: 15px;
    color: #333333;
}

.contact_content .contact_messages_input_left .input_right input::-webkit-input-placeholder,
.contact_content .contact_messages_input_left .input_right input::placeholder {
    color: #a0a0a0 !important;
    opacity: 1 !important;
}


.attachments_box {
    display: none;
    position: absolute;
    left: calc(50vw - 210px);
    top: calc(50vh - 165px);
    width: 420px;
    height: 330px;
    overflow: hidden;
    background-color: #fbfbfb;
    border-radius: 10px;
    z-index: 99999995;
    -webkit-transition: opacity 200ms ease-in-out;
    -ms-transition: opacity 200ms ease-in-out;
    -moz-transition: opacity 200ms ease-in-out;
    -o-transition: opacity 200ms ease-in-out;
    transition: opacity 200ms ease-in-out;
    opacity: 0;
    border: 1px solid #dddddd;
    box-shadow: 0 0 20px #00000050;
}
.attachments_box.active {
    display: block;
}



.emojis_list_box {
    display: none;
    position: absolute;
    left: calc(50vw - 210px);
    top: calc(50vh - 165px);
    width: 420px;
    height: 330px;
    overflow: hidden;
    background-color: #fbfbfb;
    border-radius: 10px;
    z-index: 99999995;
    -webkit-transition: opacity 200ms ease-in-out;
    -ms-transition: opacity 200ms ease-in-out;
    -moz-transition: opacity 200ms ease-in-out;
    -o-transition: opacity 200ms ease-in-out;
    transition: opacity 200ms ease-in-out;
    opacity: 0;
    border: 1px solid #dddddd;
    box-shadow: 0 0 20px #00000050;
}
.emojis_list_box.active {
    display: block;
}
.emojis_list_box .emojis_group {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    left: 0;
    top: 0;
    background-color: #fbfbfb;
    padding: 20px;
    -webkit-transition: opacity 150ms ease-in-out;
    -ms-transition: opacity 150ms ease-in-out;
    -moz-transition: opacity 150ms ease-in-out;
    -o-transition: opacity 150ms ease-in-out;
    transition: opacity 150ms ease-in-out;
    opacity: 1;
}
.emojis_list_box .emojis_group.active {
    display: block;
}
.emojis_list_box .emojis_group_name {
    width: 100%;
    height: 24px;
    overflow: hidden;
}

.emojis_list_box .emojis_group_name .icon_button {
    position: absolute;
    width: 16px;
    height: auto;
    cursor: pointer;
    opacity: 0.8;
}
.emojis_list_box .emojis_group_name .icon_button:hover {
    opacity: 1;
}
.emojis_list_box .emojis_group_name .icon_button_left {
    right: 40px;
    top: 0;
}
.emojis_list_box .emojis_group_name .icon_button_right {
    right: 0;
    top: 0;
}

.emojis_list_box .emojis_list {
    width: 100%;
    height: calc(100% - 24px);
    overflow-y: auto;
}
.emojis_list_box .emojis_list .emoji {
    display: inline-block;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    font-size: 24px;
    cursor: pointer;
}
.emojis_list_box .emojis_list .emoji:hover {
    background-color: #cccccc;
}


.emojis_list_box.show_loader {
    pointer-events: none;
}
.emojis_list_box .emojis_loader {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 9990;
}
.emojis_list_box.show_loader .emojis_loader {
    display: block;
}

.emojis_list_box.show_loader .emojis_group {
    opacity: 0.4;
}

.emojis_list_box .emojis_loader .emojis_loader_spin {
    display: block;
    position: absolute;
    left: calc(50% - 16px);
    top: calc(50% - 16px);
    width: 32px;
    height: 32px;
}

.emojis_list_box .emojis_loader .lds-dual-ring {
    display: inline-block;
    width: 32px;
    height: 32px;
}
.emojis_list_box .emojis_loader .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 24px;
    height: 24px;
    margin: 1px;
    border-radius: 50%;
    border-width: 3px;
    border-style: solid;
    border-color: #555 transparent #555 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}


.scroll_down_arrow {
    display: none;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 99990;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: #444444;
    overflow: hidden;
    box-shadow: 0 0 10px #00000050;
    text-align: center;
    padding-top: 14px;
    cursor: pointer;
}
.scroll_down_arrow:hover {
    background-color: #555555;
}
.scroll_down_arrow img {
    display: inline-block;
    position: relative;
    width: 24px;
    height: 24px;
}
body.show_arrow_down .scroll_down_arrow {
    display: block;
}


.audio_recorder_info {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    border-radius: 7px;
    overflow: hidden;
}
body.audio_recorder_active .audio_recorder_info {
    display: block;
}
.audio_recorder_info .audio_recorder_volume_bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #e0e0e0;
}
.audio_recorder_info .audio_recorder_time {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #333333;
    font-size: 14px;
    z-index: 999;
    line-height: 38px;
}


.blur {
    filter: blur(8px);
}


.content_loader {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.6);
    -webkit-transition: opacity 200ms ease-in-out;
    -ms-transition: opacity 200ms ease-in-out;
    -moz-transition: opacity 200ms ease-in-out;
    -o-transition: opacity 200ms ease-in-out;
    transition: opacity 200ms ease-in-out;
    opacity: 0;
    pointer-events: none !important;
    z-index: 99999990;
}
.content_loader.show {
    opacity: 1;
    pointer-events: auto !important;
}
.content_loader_spin {
    display: block;
    position: fixed;
    left: calc(50% - 32px);
    top: calc(50% - 32px);
    width: 64px;
    height: 64px;
}

.content_loader_info {
    display: none;
    position: absolute;
    left: -3px;
    top: 22px;
    width: 64px;
    text-align: center;
    font-size: 12px;
    -webkit-transition: opacity 200ms ease-in-out;
    -ms-transition: opacity 200ms ease-in-out;
    -moz-transition: opacity 200ms ease-in-out;
    -o-transition: opacity 200ms ease-in-out;
    transition: opacity 200ms ease-in-out;
    opacity: 0;
}
.content_loader_info.show {
    display: block;
    opacity: 0.8;
}

.lds-dual-ring {
    display: inline-block;
    width: 64px;
    height: 64px;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border-width: 5px;
    border-style: solid;
    border-color: #888 transparent #888 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



.image_loader {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
    z-index: 99999990;
    opacity: 1;
}

.image_loader .image_loader_spin {
    display: block;
    position: absolute;
    left: calc(50% - 16px);
    top: calc(50% - 16px);
    width: 32px;
    height: 32px;
}

.image_loader .lds-dual-ring {
    display: inline-block;
    width: 32px;
    height: 32px;
}
.image_loader .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 24px;
    height: 24px;
    margin: 1px;
    border-radius: 50%;
    border-width: 3px;
    border-style: solid;
    border-color: #fdd transparent #fdd transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}




input[type=button] {
    cursor: pointer;
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 6px 12px;
    color: #333333;
}
input[type=button]:hover {
    background-color: #eaeaea;
    border: 1px solid #e0e0e0;
}

input[type=button].red {
    background-color: #ff0000;
    border: 1px solid #ff0000;
    color: #ffffff;
}
input[type=button].red:hover {
    background-color: #f00000;
    border: 1px solid #f00000;
}


.logout_button {
    position: fixed;
    left: 20px;
    bottom: 20px;
}
.logout_button:hover {
    opacity: 0.8;
}
.logout_button img {
    width: 48px;
    height: auto;
    cursor: pointer;
}

.hide {
    display: none !important;
}


.bg_color_switch {
    display: block;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 24px;
    height: 24px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
}

body.bg_color_white {
    background-color: #ffffff !important;
}
html.bg_color_white {
    background-color: #ffffff !important;
}
body.bg_color_white .bg_color_switch {
    background-color: #000000 !important;
}



@media all and (max-width: 1280px) {
    .message_media_viewer .message_media_viewer_content {
        max-width: 100%;
        left: 0 !important;
        top: 40vh;
    }
}


@media all and (max-width: 1024px) {
    .hide-mobile {
        display: none !important;
    }
    .show-mobile {
        display: block !important;
    }
}
