#wrap.ng_device_mobile #ng_win_chat_view_block
{
    width: 100%;
    height: 100%;
}
#wrap.ng_device_mobile #ng_win_chat_view_block_content
{
    height: 32.14285em;
}
#wrap.ng_device_mobile #ng_win_chat_view_scroll_body
{
    width: 100%;
    padding-right: 4.1428em;
}
#wrap.ng_device_mobile #ng_win_chat_view_head
{
    top: 0;
    position: relative;
    padding: 0;
}

#wrap.ng_device_mobile #ng_win_chat_view_message_btn_smiles,
#wrap.ng_device_mobile #ng_win_chat_view_message_btn_texts,
#wrap.ng_device_mobile #ng_win_chat_view_message_btn_gifts,
#wrap.ng_device_mobile #ng_win_chat_view_message_btn_options
{
    display: none;
}

#wrap.ng_device_mobile #ng_win_chat_view_messages [data-chat_message_id].ng_chat_massage_left .ng_chat_massage
{
    background-color: #e8ffc7;
}
#wrap.ng_device_mobile #ng_win_chat_view_messages [data-chat_message_id].ng_chat_massage_right .ng_chat_massage
{
    background-color: #b4afa9;
}
#wrap.ng_device_mobile #ng_win_chat_view_message_input
{
    background-color: #b4afa9;
    height: 1.625em;
    -webkit-border-radius: 0.2em;
    -moz-border-radius: 0.2em;
    border-radius: 0.2em;
}
#wrap.ng_device_mobile #ng_win_chat_view_footer_td_2
{
    width: 14%;
    text-align: left;
}

#wrap.ng_device_mobile #ng_win_chat_view_messages [data-chat_message_id].ng_chat_massage_left .ng_chat_massage::before
{
    border-color: transparent #e8ffc7 transparent transparent;
}
#wrap.ng_device_mobile #ng_win_chat_view_messages [data-chat_message_id].ng_chat_massage_right .ng_chat_massage::before
{
    border-color: transparent transparent transparent #b4afa9;
}

#wrap.ng_device_mobile #ng_win_chat_view_messages .ng_chat_massage_time
{
    border-top: solid 0.0714em #b4afa9;
    border-bottom: none;
    color: #dcdbc9;
    margin: 0.2352em auto;
}

#wrap.ng_device_mobile #ng_win_chat_view_scroll_btn_up
{
    top: 4.1428em;
}

#wrap.ng_device_mobile #ng_win_chat_view_scroll_body
{
    height: -webkit-calc(100% - 3.1428em - 3.1428em);
    height: calc(100% - 3.1428em - 3.1428em);
    border: none;
}

#wrap.ng_device_mobile #ng_win_chat_view_footer
{
    height: auto;
}

#wrap.ng_device_mobile #ng_win_chat_view_user_name:after
{
    margin-left: 0.5em;
}



#wrap[data-orientation|="portrait"].ng_device_mobile.ng_ui_win_chat_view #ng_win_chat_view,
#wrap[data-orientation|="portrait"].ng_device_mobile.ng_ui_win_chat_view #ng_win_chat_view > .ng_win_fog
{
    display: block;
}
#wrap[data-orientation|="portrait"][lang].ng_inited.ng_device_mobile.ng_ui_win_chat_view #ng_body
{
    width: 100%;
    height: 100%;
}

#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_block
 {
    font-size: 2em;
    width: 100%;
    height: 100%;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_scroll_body
{
    overflow-y: auto;
    padding: 0 0.2em;
    height: -webkit-calc(100% - 11em);
    height: calc(100% - 11em);
}

#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_user
{
    position: relative;
    width: 100%;
    top: 0;
    padding: 0.2em 0;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_user_inet,
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_user_name,
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_user_level
{
    display: block;
    position: absolute;
    left: 5.2em;
    margin: auto;
    height: 1em;
    line-height: 1em;
    font-size: 0.9em;
    text-align: left;
    width: auto;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_user_inet
{
    top: 0.3em;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_user_name
{
    top: 0;
    bottom: 0;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_user_level
{
    bottom: 0.6em;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_user_avatar
{
    display: block;
    width: 3em;
    height: 3em;
    margin-left: 0.5em;
    text-align: left;
    line-height: 1em;
    text-align: left;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_messages [data-chat_message_id] .ng_chat_massage [data-smile]
{
    width: 1.4em;
    height: 1.4em;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_block_content
{
    height: 100%;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_scroll_btn_up
{
    top: 7em;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_scroll_btn_down
{
    bottom: 3.5em;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_message_input
{
    color: #000000;
    line-height: 1.625em;
}

#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_messages [data-chat_message_id] [data-chat_message_time].ng_chat_massage:after
{
    display: none;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_footer
{
    height: 3.5em;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_footer .td
{
    vertical-align: middle;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_footer_td_1
{
    padding: 0 0.5em;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_footer_td_2
{
    width: 12%;
    position: static;
}

#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_message_btn_gifts,
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_message_btn_options
{
    display: block;
    position: absolute;
    top: 3.1em;
    right: 0.1em;
}
#wrap[data-orientation|="portrait"].ng_device_mobile #ng_win_chat_view_message_btn_options
{
    right: 4.5em;
}