body.chat .ow_page_wrap, body.chat .ow_page_padding{
    height: 100%;
    padding: 0;
}

body.chat .ow_page_container{
    height: calc(100% - 72px);
    box-sizing: border-box;
    margin: 0 auto;
}

body.chat .ow_canvas, body.chat .ow_page, body.chat .ow_content{
    height: 100%;
    
}

.clickable_row{
    cursor: pointer;
}

.contact_list_container{
    height: calc(100% - 142px);
    overflow-y: auto;
}

.contact_list_item{
    cursor: pointer;
    padding: 10px 0px;
}

.contact_list_item a{
    color: var(--blackTextColor);
    text-decoration: none;
}

.contact_list_item:not(:last-child){
    border-bottom: solid 1px #ebe6d7;
}

.contact_list_item.unread{
    background-color: transparent;
}

.contact_list_item .ow_avatar_label{
    bottom: -2px;
    right: -1px;
}

.contact_list_item .contact_list_item_el_wrap{
    padding: 8px 12px;
    border-radius: 40px;
    transition: .3s;
    background-color: transparent;
}

.contact_list_item .contact_list_item_el_wrap:hover,
.contact_list_item.selected .contact_list_item_el_wrap{

}

.chat_box{

}

.chat_box_session{
    display: inline-block;
    vertical-align: middle;    
}

.chat_box_left{
    height: 420px;
    width: 320px;
}

.chat_box_left .search_input{
    padding: 14px 0px 6px 0px;
    position: relative;
}



.chat_box_left .search_input .delete_text{
    position: absolute;
    background-size: 10px;
    right: 0px;
    width: 24px;
    height: 24px;
    top: 14px;
    background-image: url(../images/ic_close_white.png);
    background-position: center;
    background-repeat: no-repeat;
}

.chat_box_left .search_input .delete_text_active{
    background-color: #333;
    cursor: pointer;
}

.chat_box_left .search_input .delete_text_inactive{
    background-color: #999;
}


.online_user_title_tag, .bookmarked_me_title_tag, .my_bookmarks_title_tag, .chat_invite_title_tag{
    padding: 16px 16px 0px 16px;
    font-weight: bold;
}

.chat_box_right{
    background-color: #ffffff9c;
    height: 420px;
    width: calc(60% - 2px);
    position: relative;
    margin-left: -4px;
}

.chat_box_right .input_form input{
    font-size: 14px;
}

.chat_box_right .empty_chat_window_view{
    display: block;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
    background-color: transparent;
}

.chat_box_right .empty_chat_window_view .svg_objects .svg_object{
    display: inline-block;
    vertical-align: bottom;
    margin: 10px;
}

.chat_box_right .empty_chat_window_view .empty_chat_message{
    padding: 14px;
    font-size: 1.5em;
    letter-spacing: 0.3em;
    color: #94A2AB;
}

.chat_box_right .message{
    padding: 4px 16px;
}

.chat_box_right .ow_dialog_item{
    margin: 0
}

.chat_box_right .message.direct_odd .ow_avatar{
    float: left;
}


.chat_box_right .ow_dialog_item .virtualgift_item .user_gift_title{
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
}

.chat_box_right .ow_dialog_item .virtualgift_item img{
    width: 128px;
    height: 128px;
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    margin-bottom: 4px;
}


.chat_box_left .preloading{
    width: 24px;
    height: 44px;
    margin-left: calc(50% - 12px);
}

.chat_box_left .chat_list_footbar{
    height: 36px;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.chat_box_left .chat_list_footbar .full_screen_chat{
    float: right;
    margin-top: 8px;
    margin-right: 7px;
}

.chat_box_left .chat_list_footbar .footer{
    border: none;
    border-radius: 20px;
}

.chat_box_left .chat_list_footbar .footer_button{
    cursor: pointer;
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
    height: 26px;
    width: 26px;
}

.chat_box_left .chat_list_footbar .sound_mode_enabled{
    background-image: url(../images/ic_volume.png);
}

.chat_box_left .chat_list_footbar .sound_mode_disabled{
    background-image: url(../images/ic_muted.png);
}

.chat_box_left .chat_list_footbar .video_chat_enabled{
    background-image: url(../images/ic_video_enabled.png);
}

.chat_box_left .chat_list_footbar .video_chat_disabled{
    background-image: url(../images/ic_video_disabled.png);
}

.chat_box_left span.ow_lbutton {
    line-height: 24px;
    font-size: 12px !important;
    padding-left: 8px;
    padding-right: 8px;
}

.chat_box_right .preloading{
    width: 24px;
    height: 44px;
    margin-left: calc(50% - 12px);
}

.contact_list_item .text_info ul.text_ellipsis{
    max-height: 20px;
    max-width: calc(100% - 32px);
}

.contact_list_item .text_info, .ow_mail_info_wrap .text_info{
    padding: 5px;
    display: inline-block;
    vertical-align:  middle;
    position: relative;
    width: calc(100% - 60px);
    padding-left: 10px;
}

.contact_list_item .text_info{
    opacity: 0.6;
}

.contact_list_item .text_info .proloader, .ow_mail_info_wrap .text_info .proloader{
    width: 20px;
    height: 20px;
    position: absolute;
    top: calc(50% - 10px);
    right: 6px;
}

.contact_list_item.unread .text_info, .contact_list_item.selected .text_info{
    opacity: 1;
}

.contact_list_item .ow_avatar, .ow_mail_info_wrap .ow_avatar{
    vertical-align:  middle;
    padding: 0;
}

.chat_list_template{
    display: none;
}



.contact_list_item .last_contact_time{
    position: absolute;
    top: 6px;
    right: 0px;
}

.contact_list_item .unread_message_mark{
    position: absolute;
    top: 23px;
    right: 0px;
    padding: 1px 7px 1px 7px;
    background-color: #02C874;
    color: white;
    font-size: 12px;
    border-radius: 16px;
    display: flex;
    min-width: 22px;
    box-sizing: border-box;
    text-align: center;
}

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

.chat_box_right form {
    padding: 3px;
    position: relative;
    bottom: 0;
    width: calc(100% - 6px);
}

.chat_box_right form input { 
    border: 0;
    padding-left: 10px;
    padding-right: 84px;
    width: calc(100% - 94px);
    height: 52px;
    border-radius: 4px;
}

.chat_box_right form textarea { 
    border: 0;
    padding-left: 10px;
    margin-top: 6px;
    margin-bottom: 6px;
    width: calc(100% - 54px);
    height: 40px;
    border-radius: 4px;
    font-size: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 40px;
    max-height: 64px;
    resize: none;
    box-shadow: none;
    background-color: transparent;
}

.chat_box_right form button, .chat_box_right form .submit_button {
    position: absolute;
    bottom: 8px;
    right: 10px;
    height: 40px;
    margin-top: 10px;
    width: 40px;
    border-radius: 50%;
    background-color: #2c96f1;
    border: 0;
    background-image: url(../images/ic_send.png);
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}


.chat_box_right .ow_attachment_icons{
    right: 52px;
    position: absolute;
    bottom: 8px;
}

.input_message_input_form .ow_attachment_icons .ow_attachments a {
    
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    height: 28px;
    width: 36px;
    margin-right: 6px;
    border: solid 1px #999;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    cursor: pointer;
    background-size: cover;
}

.input_message_input_form .ow_attachment_icons .ow_attachments a.attach{
    background-image: url(../images/picture.png);
    position: relative;
}

.input_message_input_form .ow_attachment_icons .ow_attachments a.attach input[type="file"]{
    cursor: pointer;
    padding-right: 200px;
}

.input_message_input_form .ow_attachment_icons .ow_attachments a.gifpro_btn{
    background-image: url(../images/ic_gif.png);
}

.input_message_input_form .ow_attachment_icons .ow_attachments a.virtual_gift{
    background-image: url(../images/ic_virtualgift.png);
}

.input_message_input_form .ow_attachment_icons .ow_attachments a.secretphoto_btn{
    background-image: url(../images/ic_image.png);
}


.input_message_input_form .ow_attachment_icons .ow_attachments a.uploading{
    background: url(../images/ajax_preloader_button.gif) no-repeat center center;
}

.chat_box_right #messageItemContanier { 
    list-style-type: none; 
    margin: 0; 
    padding: 0; 
    overflow-y: scroll; 
    height: calc(100% - 116px);
    position: relative;
    border-bottom: 1px solid #d8d8d8;
    box-sizing: border-box;
}

#messageItemContanier span.id_verified_mark{
    padding-left: 4px;padding-right: 14px;
}

#messageItemContanier .bref_message_5, #messageItemContanier .bref_message_7{
    text-align: center;
    padding: 10px;
    font-size: 12px;
}

#messageItemContanier .bref_message_5 span, #messageItemContanier .bref_message_7 span{
    background-color: #d8d8d8;
    padding: 3px;
    border-radius: 3px;
}

#messageItemContanier .conversationMessageGroup .message .video_call_answer_btn {
    text-align: center;
    padding: 10px;
    background-color: #3eb75c;
    width: fit-content;
    border-radius: 30px;
    color: white;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    padding-left: 38px;
    background-image: url(../images/ic_videocam_white.png);
    background-repeat: no-repeat;
    background-position: 9px center;
    background-size: 24px;
    border: 1px solid #486b8a;
    margin-bottom: 10px;
    cursor: pointer;
}

#messageItemContanier .chat_window_welcome_message_view{
    text-align: center;
    position: absolute;
    width: 100%;
    height: calc(50% + 130px);
    top: calc(50% - 130px);
    
}

#messageItemContanier .chat_window_welcome_message_view img{
    width: 96px;
    border-radius: 50%;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}

#messageItemContanier .chat_window_welcome_message_view .welcome_message_text_1{
    margin-bottom: calc(50% - 96px);
    font-size: 12px;
}

#messageItemContanier .chat_window_welcome_message_view .welcome_message_text_2{
    font-size: 12px;
    position: absolute;
    width: 100%;
    bottom: 20px;
}

#messageItemContanier .welcome_message_text_user_info{
    padding: 8px;
}

#messageItemContanier .welcome_message_text_user_info .user_title_text{
    margin-right: 6px;
}

.chat_window_recipient_info{
    padding: 17px;
    background-color: var(--themeTextColor);
    box-sizing: border-box;
}

.chat_window_recipient_info .ow_avatar{
    display: none;
}

.chat_window_recipient_info .ow_avatar_label{
    right: 4px;
}

.chat_window_recipient_info .online_tag{
    display: none !important;
}

.contact_list_header{
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    background-color: var(--contentBackgroundColor);
    border-radius: 60px;
}

.contact_list_header .title{
    text-align: left;
    line-height: 34px;
    font-size: 1.4em;
    font-weight: bold;
    padding-left: 12px;
    letter-spacing: 0.2em;
    display: none;
}

.contact_list_header .my_avatar{
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}
.contact_list_header .my_avatar .ow_avatar{
    width: 60px;
    height: 60px;
}

.contact_list_header .my_avatar .ow_avatar img{
    height: 100%;
    width: 100%;
}

.contact_list_header .my_avatar .display_name{
    font-weight: var(--p-font-weight-medium);
    letter-spacing: 1px;
    font-size: 1.1em;
}

.contact_list_header .my_avatar .username{
    font-size: .9em;
    color: var(--contentTextColorLight);
    line-height: 1;
}

.contact_list_header .my_avatar .ow_avatar, .contact_list_header .my_avatar .avatar_info{
    display: inline-block;
    vertical-align: middle;
}

.chat_window_recipient_info .text_info{
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    box-sizing: border-box;
}

.contact_list_item .online_status, .ow_mail_info_wrap .text_info .online_status{
    margin-left: 6px;
}

.contact_list_item .online_status, .ow_mail_info_wrap .text_info .online_status,
.chat_window_recipient_info .text_info .online_tag, .chat_window_welcome_message_view .online_status{
    font-size: 10px;
    line-height: 10px;
    color: #fff;
    font-weight: bold;
    padding: 0px 4px;
    border-radius: 14px;
    background-color: #09a909;
    text-transform: uppercase;
}

.contact_list_item .online_status.available, .ow_mail_info_wrap .text_info .online_status.available,
.chat_window_recipient_info .text_info .online_tag.available, .chat_window_welcome_message_view .online_status.available{
    background-color: #fc0;
}

.contact_list_item .online_status.offline, .ow_mail_info_wrap .text_info .online_status.offline,
.chat_window_recipient_info .text_info .online_tag.offline, .chat_window_welcome_message_view .online_status.offline{
    background-color: #a7a7a7;
}


.chat_window_recipient_info .text_info .title_text{
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.chat_window_recipient_info .text_info .title_text a{
    color: white;
    text-decoration: none;
}

.chat_window_actions{
    display: inline-block;
    vertical-align: top;
    top: 11px;
    position: absolute;
    left: 10px;
}

.chat_window_actions .action{
    cursor: pointer;
    position: relative;
    display: inline-block;
    width: 26px;
    height: 36px;
    margin-right: 4px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
}

.chat_window_actions .action-bookmark-st2{
    background-image: url(../images/ic_bookmark_st2.png);
    background-size: 60%;
}

.chat_window_actions .action-bookmark-st1{
    background-image: url(../images/ic_bookmark_st1.png);
    background-size: 60%;
}

.chat_window_actions .action-more{
    background-image: url(../images/ic_more.png);
    background-size: 16px;
    display: none;
}

.chat_window_actions .action-close{
    background-image: url(/ow_static/themes/showcase/images/icon/ic_arrow_left_white_line.svg);
    background-size: 23px;
    display: none;
}

.chat_window_actions .action-expand{
    background-image: url(../images/ic_expand.png);
    background-size: 50%;
    display: none;
}

.chat_window_actions .action-videocall{
    background-image: url(../images/ic_videocam_white.png);
    background-size: 70%;
    display: none;
    background-color: #b9b9b9;
    border-radius: 50%;
}

.chat_window_actions .action-videocall.active{
    background-color: #3eb75c;
}

.chat_window_actions .ow_tooltip_body .ow_context_action_list li a{
        padding: 4px 12px;
}

.chat_window_actions .action-videocall{
    background-color: #fc0; 
    border: 1px solid #486b8a; 
    box-sizing: border-box;
}

.earlier_message_button{
    text-align: center;
    margin-top: 10px;
}

.earlier_message_button span.ow_lbutton{
    font-size: 10px;
    padding: 4px;
}

.text_ellipsis{
    max-width: calc(100% - 32px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.two_line_ellipsis{
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.last_message_icon_image div{
    background-image: url(../images/picture.png);
    width: 18px;
    height: 18px;
    background-position: center;
    background-size: 100%;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
}

.input_form{
    position: relative;
}

.input_message_not_auth{
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: #ffffffd6;
}

.bold_text{
    font-weight: bold;
}

.mobile_float_chat_window{
    position: fixed;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 91;
    margin-left: 0px;
    max-height: calc(100% - 90px);
    bottom: 0;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    overflow: hidden;
}

.disable_scroll{
    overflow-x: hidden;
    overflow-y: hidden;
}

.disable_scroll_2{
    overflow-x: hidden;
    overflow-y: hidden;
}



.chat_list_actions{
    position: absolute;
    top: 7px;
    right: 4px;
    display: none;
}

.contact_list_sider_widget .chat_list_actions{
    display: block;
}

.contact_list_sider_widget{
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 300px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f2f2f2; 
    z-index: 90;   /*if set to 90, in mobile mode can not see header.*/
    border-left: solid 1px #d6cece;
    border-top: solid 1px #d6cece;

}

.contact_list_sider_widget .chat_box_left{
    height: calc(100% - 2px);
    width: 100%;
}

.contact_list_sider_widget .chat_list_actions .action{
    cursor: pointer;
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 6px;
    background-color: white;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
}

.contact_list_sider_widget .chat_list_actions .action-close {
    background-image: url(../images/ic_close.png);
    background-size: 44%;
}


.chat_window_sider_widget .chat_window_actions .action-close{
    display: inline-block;
    border-radius: 50%;
}


.chat_window_sider_widget{
    position: fixed;
    background-color: #f2f2f2; 
    z-index: 92;
    border: solid 1px #d6cece;
    display: none;
}

.chat_window_sider_widget .mobile_float_chat_window{
    position: relative;
}

.chat_window_sider_widget .chat_box_right{
    height: 100%;
    width: 100%;
    margin-left: 0px;
}


.ow_mail_compose_window #mailbox_att_btn_c{
    margin-bottom: 10px;
}

.mail_viewer_wrapper .ow_mail_info_wrap{
    margin-top: 20px;
    padding: 4px 0;
}

.ow_mail_compose_window .ow_mail_info_wrap{
    margin-bottom: 4px;
    margin-left: 4px;
}


.mail_compose_result{
    font-size: 20px;
    margin-top: 20px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 0;
    padding-left: 32px;
    margin-bottom: 20px;
    text-align:left;
}

.mail_compose_result_success{
    background-image: url(../images/ic_checked_green.png);
}

.mail_compose_result_failed{
    background-image: url(../images/ic_warning.png);
}

.mail_compose_result_error{
    text-align:left;
    margin-bottom: 20px;
}

.mail_compose_result_wrap .action_list .action_button{
    text-align: center;
    padding: 10px;
    font-size: 14px;
    box-shadow: 0px 0px 5px #666;
    border-radius: 2px;
    margin-bottom: 12px;
    font-weight: bold;
    cursor: pointer;
    display: block;
}

.mail_compose_result_wrap .action_list .chat_button{
    background-color: #33cc33;
    color: white;
    background-repeat: no-repeat;
    background-position-y: 11px;
    background-position-x: calc(50% - 80px);
}

.mail_compose_result_wrap .action_list .loading{
    background-image: url(../images/ajax_preloader_button.gif);
}

.mail_compose_result_wrap .action_list .virtual_gift_button{
    background-color: #ffcc00;
    color: white;
}

.mail_compose_result_wrap .action_list .event_button{
    background-color: #ffcc00;
    color: white;
}

.mail_compose_result_wrap .action_list .back_to_inbox{
    background-image: url(../images/lbutton_bg.png);
    background-size: 100% 100%;
}
.mail_compose_result_wrap .action_list .back_to_outbox{
    background-image: url(../images/lbutton_bg.png);
    background-size: 100% 100%;
}

.mail_compose_result_wrap .action_list .mail_button{
    background-image: url(../images/lbutton_bg.png);
    background-size: 100% 100%;
}
.mail_compose_result_wrap .action_list .action_list_description{
    text-align: left;
    margin-bottom: 10px;
    font-size: 14px;
}

.mail_compose_result_wrap .middle_line{
    background-color: #cacaca;
    height: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.mail_compose_result_wrap{
    max-width: 400px;
    background-color: white;
    padding: 20px;
    border-radius: 4px;
}

.mail_item{
    padding: 6px;
    background-color: white;
    margin-bottom: 1px;
    cursor: pointer;
    
}

.mail_item:last-child{
    border-bottom: 1px solid var(--boxBorderColor);
}

.mail_item:hover{
    background-color: #e7fffd;
}

.unread{
    background-color: var(--pet-theme-color-0);
}

.mail_item .sender_avatar{
    display: inline-block;
    vertical-align: middle;
}

.mail_item .mail_info{
    display: inline-block;
    vertical-align: middle;
}
.mail_item .mail_info .sender_name{
    font-size: 14px;
}
.mail_item .mail_info .time_sent{
    margin-left: 4px;
    color: #999;
    font-size: 12px;
}

.mail_item .mail_info .unread_label{
    margin-left: 4px;
    font-size: 9px;
    color: white;
    background-color: red;
    padding: 2px;
    border-radius: 2px;
    font-weight: bold;
}

.mail_item .read_button{
    vertical-align: middle;
    float: right;
}

.mail_item .read_button .new_mail_button{
    background-color: #33cc33;
    color: white;
}
.mail_item .read_button .old_mail_button{
    background-image: url(../images/lbutton_bg.png);
    background-size: 100% 100%;
    border: 1px solid rgba( 174, 174, 174, 0.7);
}


.mail_item .read_button .read_mail_button{
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-radius: 2px;
    font-weight: bold;
    box-shadow: 0px 0px 2px #666;
}

.mail_item .mail_bref_text{
    display: inline-block;
    width: calc(100% - 120px);
    vertical-align: middle;
}
.mail_item .attachment_info{
    display: inline-block;
    vertical-align: middle;
    height: 20px;
    margin-right: 4px;
}
.mail_item .attachment_info div{
    display: inline-block;
    vertical-align: middle;
    background-size: 100% auto;
    width: 20px;
    height: 20px;
    margin-right: 4px;
    background-repeat: no-repeat;
    background-position: center;
}

.mail_item .attachment_info .image{
    background-image: url(../images/ic_image.png);
}

.mail_item .attachment_info .video{
    background-image: url(../images/ic_video.png);
}

.mail_item .attachment_info .gif{
    background-image: url(../images/ic_gif.png);
}

.mail_item .attachment_info .virtualgift{
    background-image: url(../images/ic_rose.png);
}

.mailbox_outbox .ow_content_menu_wrap{
    border-bottom: 1px solid var(--boxBorderColor);
}

.mailbox_list .load_more_items{
    text-align: center;
    padding: 18px;
    background-color: white;
    color: #1b5282;
    font-size: 14px;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position-y: 19px;
    background-position-x: calc(50% - 80px);
    cursor: pointer;
}

.mailbox_list .loading{
    background-image: url(../images/ajax_preloader_button.gif);
}


.mailbox_inbox_intro_wrap, .mailbox_outbox_intro_wrap, .mailbox_inbox_note_wrap, .mailbox_outbox_note_wrap, .mailbox_intro_note_wrap{
    display: none;
}

.empty_content_view{
    background-color: #f9f1ca;
    text-align: center;
    padding: 17px 17px 4px 17px;
}


.mail_list_wrap .empty_message_wrap{
    padding: 40px;
    text-align: center;
    background-color: white;
}

.extra_attachment_wrap{
    display: inline-block;
    margin-top: 8px;
    display: none;
}

.message_body{
    padding: 16px;
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: #f0f2f3;
    margin-top: 2px;
}

.message_body .attachment_title{
    padding-bottom: 10px;
    border-bottom: 1px solid #d6d6d6;
}

.message_body .attachment_description{
    margin-top: 10px;
    border-top: 1px solid #d6d6d6;
}

.message_body .mail_photo_item{
    width: 158px;
    margin: 12px 8px 6px 8px;
    border: 1px solid #f1f1f1;
}

.reply_message_label{
    margin-bottom: 8px;
}

.action_list{
    margin-bottom: 10px;
}

.action_button{
    display: inline-block;
}

.action_button .ow_lbutton{
    padding: 6px;
    font-size: 11px;
}

.action_list .delete_button{
    float: right;
}

.action_list .ow_lbutton div{
    background-repeat: no-repeat;
    height: 16px;
    line-height: 16px;
}

.action_list .ow_lbutton .ow_ic_delete, .action_list .ow_lbutton .ow_ic_reply, .action_list .ow_lbutton .ow_ic_add{
    padding-left: 20px;
}

#mailbox_att_btn_scretphoto{
    display: inline-block;
    vertical-align: top;
    max-height: 94px;
    position: relative;
    overflow: hidden;
}

#socketchat-mail-send-btn{
    margin-top: 10px;
    padding-top: 24px;
    /** border-top: 1px solid var(--boxBorderColor); **/
}

.mail_composer_secretphoto_btn{
    text-align: center;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    cursor: pointer;
    color: white;
    font-size: 14px;
    color: #004d7e;
    background-image: url(../images/ic_image.png);
    background-size: 24px 17px;
    background-repeat: no-repeat;
    background-position: 50% 20px;
    padding-top: 47px;
    height: 94px;
    width: 94px;
    background-color: white;
    position: relative;
    margin-bottom: 10px;
}

.mail_compose_wrapper .extra_attachments{
    position: relative;
    display: inline-block;
}

.mail_compose_wrapper .extral_attachment{
    position: relative;
    width: 94px;
    height: 94px;
    display: inline-block;
    border: 1px solid #f2f2f2;
    margin-bottom: 8px;
    margin-right: 8px;
}

.mail_compose_wrapper .extral_attachment img{
    height: 94px;
}

.mail_compose_wrapper .extral_attachment .attachment{
    text-align: center;
    background-color: #f2f2f2;
    overflow: hidden;
}

.mail_compose_wrapper .extral_attachment .remove{
    background-color: red;
    padding: 4px;
    line-height: 18px;
    color: white;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    border-bottom-left-radius: 10px;
    width: 14px;
    text-align: center;
}

.mail_compose_wrapper #newmessage-mail-send-btn{
    margin-top: 30px;
}

.intro_template_list_page_wrap{
    margin-bottom: 10px;
}

.intro_template_viewer_wrap{
    padding: 0px 10px 10px 10px;
    margin-bottom: 10px;
}

.intro_template_viewer_wrap .admiere_mail_body{
    margin-bottom: 10px;
    padding: 10px;
}

.intro_template_viewer_wrap .attachments{
    padding: 10px;
}

.intro_template_list_wrap, .intro_template_viewer_wrap{
    border: 1px solid rgba( 105, 105, 105, 0.2); 
    background-color: white;
}

.intro_template_list_wrap .template_item{
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    background-color: white;
    border-bottom: 1px solid #f2f2f2;
}

.intro_template_viewer_wrap .time_and_title{
    border-bottom: 1px solid #f2f2f2;
}

.intro_template_viewer_wrap .title{
    font-size: 14px;
}

.intro_template_list_wrap .title, .intro_template_viewer_wrap .title{
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 130px);
    line-height: 32px;
    font-size: 16px;
    padding-left: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-weight: 600;
}

.intro_template_list_wrap .time, .intro_template_viewer_wrap .time{
    display: inline-block;
    vertical-align: middle;
    line-height: 32px;
    text-align: right;
    width: 115px;
    font-style: italic;
    font-size: 12px;
    color: #666;
}

.intro_template_list_wrap .attachment_item, .intro_template_viewer_wrap .attachment_item{
    display: inline-block;
    vertical-align: middle;
}

.intro_template_list_wrap .attachment_item img{
    height: 90px;
}

.intro_template_list_wrap .action_list{
    margin-top: 12px;
}

.intro_template_viewer_wrap .attachment_item{
    width: calc(100%/3 - 3px);
    max-width: 240px;
}

.intro_template_viewer_wrap .attachment_item img{
    width: 100%;
}

.intro_template_viewer_page_wrap .action_list .delete_button{
    float: none;
}

.ow_chat_invite_btn{
    position: fixed;
    bottom: 18px;
    height: 56px;
    width: 56px;
    background-color: #5fcc35;
    border-radius: 50%;
    margin-left: calc(50% - 28px);
    box-shadow: 0px 0px 10px #7b7979;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
}

.ow_chat_invite_btn.chat_icon{
    background-image: url(../images/ic_messenger.svg);
    background-size: 56%;
}

.ow_chat_invite_btn.close_icon{
    background-image: url(../images/ic_close_white.svg);
    background-size: 36%;
}

.ow_chat_invite_btn span{
    display: none;
}

.ow_chat_invite_tips{
    display: block;
    position: fixed;
    bottom: 86px;
    background-color: white;
    width: 100px;
    text-align: center;
    margin-left: calc(50% - 60px);
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px #a09d9d;
}

.ow_chat_invite_template_wrap{
    position: fixed;
    bottom: 86px;
    background-color: white;
    height: 360px;
    width: 300px;
    box-shadow: 0px 0px 10px #a09d9d;
    border-radius: 6px;
    margin-left: calc(50% - 150px);
}

.ow_chat_invite_template_wrap .header_item{
    display: inline-block;
    vertical-align: middle;
}

.ow_chat_invite_template_wrap .template_list_title{
    font-size: 14px;
    font-weight: 600;
    height: 44px;
    line-height: 44px;
    padding-left: 12px;
    width: calc(100% - 106px);
}

.ow_chat_invite_template_wrap .template_list_title ul{
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ow_chat_invite_template_wrap .header_btn{
    height: 32px;
    width: 32px;
    border: 1px solid #bbb9b9;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 8px;
    background-position: center;
    background-repeat: no-repeat;
}

.ow_chat_invite_template_wrap .template_header_wrap{
    border-bottom: 1px solid #d6cece;
}

.ow_chat_invite_template_wrap .header_btn.template_refresh_btn{
    background-image: url(../images/ic_reload.svg);
    background-size: 68%;
}

.ow_chat_invite_template_wrap .header_btn.template_setting_btn{
    background-image: url(../images/ic_edit_page.svg);
    background-size: 56%;
}

.ow_chat_invite_template_wrap .template_list{
    padding-bottom: 20px;
    max-height: calc(100% - 65px);
    position: relative;
    overflow: auto;
}

.ow_chat_invite_template_wrap .template_msg_item{
    border: 1px solid #2c96f1;
    background-color: #2c96f1;
    color: #fff;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 20px 20px 0px 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    max-width: 70%;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
}

.ow_chat_invite_template_wrap .template_msg_item:hover{
    background-color: #20639c;
    border-color: #20639c;
}

.ow_chat_invite_template_wrap .template_msg_item .video_tmpl{
    padding: 6px 14px;
    background-image: url(../images/ic_videocam_white.png);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: left center;
}


.notify_popup_container{
    position: fixed;
    top: 64px;
    right: 0px;
    max-width: 100%;
    overflow: auto;
    z-index: 9;
}

.notify_item_wrap{
    margin-top: 10px;
    width: max-content;
    padding-right: 10px;
}

.popup_notify_item{
    background-color: white;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.3);
    margin-left: 16px;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 6px;
    width: 276px;
    position: relative;
    display: inline-block !important;
    vertical-align: top;
    min-height: 60px;
}

.popup_notify_item .action_button{
    margin-top: 10px;
    display: block;
}

.popup_notify_item .action_button>span{
    width: calc(100% - 32px);
}

.popup_notify_item .action_button>span>span{
    width: 100%;
}

.popup_notify_item input[type=button]{
    height: 36px;
    line-height: 36px;
    width: 100%;
}

.popup_notify_item .text_info{
    display: inline-block;
    vertical-align: text-top;
    max-width: calc(100% - 78px);
    width: 100%;
}

.popup_notify_item .ow_avatar{
    vertical-align: text-top;
}

.popup_notify_item .ow_avatar img{
    border-radius: 50%;
}

.notify_content{
    position: relative;
}

.popup_notify_item .close_button{
    background-image: url(../images/ic_close.png);
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    background-size: 50%;
    width: 24px;
    height: 24px;
    top: 6px;
    right: 4px;
    cursor: pointer;
}

.popup_notify_item .progress{
    height: 4px;
    background-color: #b374b3;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}

.popup_notify_item.chat_invite_popup_item .action_button input{
    background-image: url(../images/ic_messenger.svg);
    background-size: 24px;
    background-position: 10px;
}


.popup_notify_item .title_link{
    font-weight: 600;
}

.popup_notify_item .notify_message_body{
    height: 38px;
    padding-top: 4px;
    position: relative;
}

.popup_notify_item .has_tag .message_text{
    padding-right: 50px;
}

.popup_notify_item .has_tag .popup_tag{
    position: absolute;
    right: 0;
    top: 4px;
    padding: 1px 8px;
    border-radius: 20px;
}

.popup_notify_item.video_call_invitation{
    padding: 0;
    width: 200px;
}

.popup_notify_item.video_call_invitation video{
    width: 100%;
    border-radius: 6px;
    background-color: black; 
    min-height: 260px;
    object-fit: cover;
}

.popup_notify_item.video_call_invitation .caller_information{
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 20px);
    box-sizing: border-box;
    padding: 4px;
    width: 100%;
    background: linear-gradient(#000000a8, #00000000);
    color: white;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}

.popup_notify_item.video_call_invitation .caller_information .ow_avatar{
    vertical-align: middle;
}

.popup_notify_item.video_call_invitation .caller_information .text_info{
    vertical-align: middle;
}

.popup_notify_item.video_call_invitation .video_information{
    max-height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.popup_notify_item.video_call_invitation .caller_information .ow_avatar img{
    border: 2px solid white;
}


.popup_notify_item.video_call_invitation .popup_notify_item .ow_avatar img{
    border: 2px white solid;
}

.popup_notify_item.video_call_invitation .video_call_invite_button{
    display: inline-block;
    vertical-align: middle;
    height: 42px;
    color: white;
    padding-left: 6px;
    background-size: 30px;
    background-position: 6px center;
    cursor: pointer;
    background-repeat: no-repeat;
    line-height: 42px;
    font-size: 14px;
    font-weight: 600;
    width: 50%;
    text-align: center;
    box-sizing: border-box;
    border-radius: 30px;
}

.popup_notify_item.video_call_invitation .video_call_invite_button.anwser_button{
    background-image: url(../images/ic_video_call_accept.svg);
    background-color: green;
    width: calc(70% - 10px);
    background-color: #009900;
}

.popup_notify_item.video_call_invitation .video_call_invite_button .answer-button-icon{
    width: 42px;
    height: 42px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0px;
    z-index: 2;
    background-size: 30px;
}

.popup_notify_item.video_call_invitation .video_call_invite_button.hangup_button{
    background-image: url(../images/ic_video_call_decline.svg);
    background-color: #f34747;
    width: 30%;
    position: absolute;
    background-position: center;
    right: 8px;
}

.popup_notify_item.video_call_invitation .video_call_invite_button.hangup_button span{
    display: none
}

.popup_notify_item.video_call_invitation .progress{
   bottom: 0;
   border-bottom-left-radius: 6px;
}

.popup_notify_item.video_call_invitation .video_call_invite_button_wrap{
    padding: 8px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 8px;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    bottom: 0;
    background: linear-gradient(#00000000, #000000a8);
}


/** Animation Start **/
.answer-button-pulse-container .pulse-box {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 8px;
  bottom: 8px;
}

.answer-button-pulse-container svg.pulse-svg {
  overflow: visible;
  width: 42px;
  height: 42px;
}
.answer-button-pulse-container svg.pulse-svg .first-circle, 
.answer-button-pulse-container svg.pulse-svg .third-circle, 
.answer-button-pulse-container svg.pulse-svg .second-circle {
  fill: #ffffff87;
  transform: scale(1);
  transform-origin: center center;
  animation: answer-button-pulse-me 4s linear infinite;
}


.answer-button-pulse-container svg.pulse-svg .second-circle {
  animation-delay: 0.6s;
}
.answer-button-pulse-container svg.pulse-svg .third-circle {
  animation-delay: 1.2s;
}

@keyframes answer-button-pulse-me {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/** Animation End **/

.notify_popup_container::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.notify_popup_container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}


.move_progess{width:0%;}
@keyframes progress_delay{
    0%{width:100%;}
    /*50%{width:50%;}*/
    100%{width:0%;}
}


.chat_box_left .search_input input{
    font-size: 14px;
    width: calc(100% - 32px);
    border: 1px solid #f1f1f1;
    border-radius: 50px;
    padding-left: 10px;
    height: 24px;
    box-sizing: border-box;
}


.chat_box_left .search_input .delete_text_inactive, .chat_box_left .search_input .delete_text_active{
   border-radius: 50%;
}


@media screen and (max-width: 480px){
  .chat_box_right #messageItemContanier{
        height: calc(100% - 144px);
    }

    .chat_box_right form{
        padding: 0;
        width: 100%;
    }

    .chat_box_right form textarea{
        border: 0;
        margin-bottom: 42px;
        width: calc(100% - 54px);
        height: 32px;
        min-height: 32px;
        max-height: 52px;
    }

    .input_message_input_form .ow_attachment_icons .ow_attachments a{
        height: 24px;
        width: 32px;
        border: none;
        box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    }

    .chat_box_right form button, .chat_box_right form .submit_button{
        box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
        bottom: 8px;
    }

}

@media (max-width: 640px){
    
    body.chat .ow_page::after{
        display: none;
    }
    
    body.chat .ow_page_container{
        padding: 0;
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    body.chat .content_heading_container{
        display: none;
    }
    
    body.chat .chat_box{
        box-sizing: border-box;
        box-shadow: none;
        height: calc(100% - 0px);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        overflow: hidden;
    }
    
    .mail_item .mail_info{
        width: calc(100% - 62px);
    }
    
    .mail_item .read_button{
        display: none;
    }
    
    .chat_box_left{
        width: 100%;
        height: 100%;
        min-height: 480px;
        box-sizing: border-box;
        border: none;
    }
    
    .chat_box_right{
        display: none;
    }
    
    .contact_list_sider_widget{
        width: 100%;
        height: 100%;
        display: none;
        z-index: 91;
    }
    
    .chat_window_sider_widget{
        bottom: 0px;
        top: 0px;
        width: 100%;
        height: 100%;
    }
    
    .contact_list_header .my_avatar{
        display: block;
    }
    
    .contact_list_header .title{
        display: none;
    }
}

@media screen and (min-width: 641px){

/** No modal
    
    .socketchat_widget_container{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #0000008c;
        z-index: 12;
        display: flex;
        box-sizing: border-box;
    }
    
    .socketchat_widget_container .socketchat_widget_wrap{
        display: flex;
        position: relative;
        width: 90%;
        height: 90%;
        margin: auto;
        border: 1px solid var(--boxBorderColor);
        border-radius: 20px;
        max-width: 1200px;
        overflow: hidden;
        background-color: #EFF2F3;
        box-sizing: border-box;
    }
    
    .socketchat_widget_container .contact_list_sider_widget {
        position: relative;
        display: block;
        height: 100%;
        box-sizing: border-box;
        border: none;
        border-right: 1px solid var(--boxBorderColor);
    }
    
    .socketchat_widget_container .chat_window_sider_widget .chat_window_actions .action-expand,
    .socketchat_widget_container .contact_list_sider_widget .chat_list_actions{
        display: none;
    }
    
    .socketchat_widget_container .contact_list_sider_widget .chat_box_left{
        width: 300px;
        height: 100%;
    }
    
    .socketchat_widget_container .chat_window_sider_widget{
        display: block;
        position: relative;
        height: 100%;
        width: 100%;
        right: unset;
        border: none;
        box-sizing: border-box;
    }
**/

    body.chat .ow_content{
        display: flex;
        align-items: center;
    }
    
    .contact_list_sider_widget {
        height: calc(100% - 59px);
    }
    
    .chat_window_sider_widget{
        bottom: 0px;
        right: 300px;
        height: 600px;
        max-height:100%; 
        width:440px; 
        max-width: calc(100% - 300px);
    }
    
    .chat_window_sider_widget .chat_box_right #messageItemContanier{
        height: calc(100% - 144px);
    }

    .chat_window_sider_widget .chat_box_right form{
        padding: 0;
        width: 100%;
    }

    .chat_window_sider_widget .chat_box_right form textarea{
        border: 0;
        margin-bottom: 42px;
        width: calc(100% - 54px);
        height: 32px;
        min-height: 32px;
        max-height: 52px;
    }

    .chat_window_sider_widget  .ow_attachment_icons .ow_attachments a{
        height: 24px;
        width: 32px;
        border: none;
        box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    }

    .chat_window_sider_widget  .chat_box_right form button, .chat_box_right form .submit_button{
        box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
        bottom: 8px;
    }
    
    .mail_item .mail_info{
        width: calc(100% - 182px);
    }
    
    .mail_item .read_button{
        display: inline-block;
    }
    
    .chat_window_sider_widget .chat_window_actions .action-more{
    	display: none;
    }
	
    .chat_window_sider_widget .chat_window_actions .action-expand{
        display: inline-block;
    }
	
    .contact_list_sider_widget .full_screen_chat{
        display: inline-block;
    }
    
    .chat_box{
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        height: 100%;
        max-height: 700px;
        width: 100%;
        display: flex;
        flex-direction: row;
    }
    
    .chat_box .chat_box_session.chat_box_left{
        height:100%;
        margin-right: 40px;
    }
    .chat_box .chat_box_session.chat_box_right{
        height: 100%;
        width: calc(100% - 360px);
        margin-left: 0;
        border: 2px solid var(--themeTextColor);
        border-radius: 28px;
        overflow: hidden;
        box-sizing: border-box;
    }
    

}



/*** mailbox plugin css ***/
.ow_mailbox_grouped_messages .ow_mailbox_date_cap{
     height: 24px;
    border: none;
    background-color: var(--contentBackgroundColor);
    width: 50%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 14px;
    margin-bottom: 14px;
    border-radius: 20px;
    
}

.ow_mailbox_grouped_messages .ow_mailbox_date_cap .ow_mailbox_converstion_date{
    width: 100%;
    text-align: center;
    font-size: 13px;
    line-height: 24px;
}

.ow_mailbox_log .ow_time_block p span.ow_time_text{
    font-size: 12px;
    line-height: 16px;
}

.ow_mailbox_log .ow_dialog_item.even .ow_dialog_in_item {
    border: 1px solid var(--contentBackgroundColor);
    background-color: var(--contentBackgroundColor);
    color: var(--blackButtonColor);
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.ow_mailbox_log .ow_dialog_item.even .ow_dialog_in_item a{
    color: white;
    text-decoration: underline;
}

.ow_mailbox_log .ow_dialog_item.odd .ow_dialog_in_item {
    border: 1px solid var(--contentBackgroundColor);
    background-color: var(--contentBackgroundColor);
    color: var(--blackButtonColor);
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.ow_mailbox_log .ow_dialog_item .ow_dialog_in_item p{
    line-height: 20px;
}

.ow_mailbox_log .ow_dialog_item .ow_dialog_in_item img{
    max-width: 200px;
}

.ow_mailbox_log .ow_dialog_item.even i, .ow_mailbox_log .ow_dialog_item.odd i{
    display: none;
}
