.vk_mail{
	font-size: .9em;
    position: relative;
    background: #fff;
}
.vk_mail a {
    color: #4C6B8F;
    text-decoration: none;
    cursor: pointer;
}
.vk_mail a:hover{
	outline: none
}
.button, .small_button, dd, dl, dt, form, h1, h2, h4, h5, input, select, textarea, ul {
    margin: 0;
    padding: 0;
}
.button, .small_button, form, input, select, textarea {
    font-size: 12px;
    border: 0px;
    font-weight: normal;
}
ul {
    list-style: none;
}
.vk_mail .new_item_link{
	display: block;
    padding: 12px;
    background-color: #E4E8ED;
    text-align: center;
    font-weight: 700;
    margin-top: -1px;
}
.vk_mail .head_panel {
    padding: 0 .6em .6em;
    background-color: #f7f7f7;
    border-bottom: 1px solid #e9e9e9;
}
.hp_block {
    padding: 7px 0 0;
    font-size: 1em;
}
.row_table {
    margin: 0;
    border-spacing: 0;
    width: 100%;
}.vk_mail .row_table_main_column {
    padding-right: 0;
}
.row_table_main_column {
    padding: 0 7px 0 0;
    width: 100%;
}.vk_mail .row_table_last_column {
    white-space: nowrap;
}
.row_table_last_column, .row_table_simple_column {
    padding: 0;
}
.qs_field_wrap {
    position: relative;
}

.qsearch .iwrap {
    margin: 0 10px 0 0;
}
.iwrap {
    margin: 0 6px 0 0;
}
.vk_mail .head_panel .textfield {
    border: 1px solid #c1c9d4;
}
.textfield {
    box-sizing: content-box;
    border-radius: 4px;
    vertical-align: top;
    width: 100%;
    min-width: 30px;
    border: 1px solid #B9C4D1;
    padding: 2px;
    margin: 0;
}.qs_textfield {
    padding: 5px 4px;
}

.dialogs_filter_button_important.button.button {
    padding-left: 10px!important;
    padding-right: 10px!important;
}

.qsearch .button {
    padding: 6px 7px;
}
/*.button, .small_button, body, input, select, textarea {
    font-family: Lucida Grande,Verdana,Tahoma,Arial,Sans-Serif,Lucida Sans;
}*/
.button, .small_button, .textfield {
    -webkit-appearance: none;
    background: #fff;
    outline: 0;
    box-shadow: none;
}
.button, .small_button, .small_near_btn {
    display: inline-block;
    background: 0 0;
    border: none;
}


.button {
    padding: 6px 12px;
    text-align: center;
    cursor: pointer;
}
.small_button {
    padding: 4px 7px;
    text-align: center;
    cursor: pointer;
}
.button, .small_button {
    font-weight: 700;
    color: #fff!important;
    background-color: #6182aa;
    border-radius: 4px;
}
.dialog_item {
    background-color: #fff
}
.dialog_item, .msg_item {
    display: block;
    padding: 5px 7px 7px;
    border-bottom: 1px solid #efefef;
}

.di_unread_inbox, .mi_unread {
    background-color: #e4e8ed;
    margin-top: -1px;
    border-radius: 5px;
    margin: 5px;
}

/*
.di_unread_inbox, .mi_unread {
    background-color: #edf1f5;
    border-bottom: 1px solid #dfe5eb;
    border-top: 1px solid #dfe5eb;
    margin-top: -1px;
}
*/
.di_img, .di_iwrap {
    width: 50px;
    height: 50px;
    margin: 2px 7px 0 0;
    float: left;
    border-radius: 50%;
}
.di_iwrap, .mi_iwrap {
    background-color: #f1f1f1;
    overflow: hidden;
}
.di_iwrap .di_img, .mi_iwrap .mi_img {
    margin: 0;
}
.di_cont {
    margin-left: 57px;
    min-height: 52px;
}
.di_date, .mi_date {
    font-size: .90em;
    float: right;
    color: #777;
    padding-left: 4px;
}
.di_date, .di_head, .mi_date, .mi_head {
    line-height: 1.3em;
}
.di_date, .di_head {
    padding: 2px 0;
}
.mi_author {
    font-weight: 700;
    color: #4C6B8F;
}.di_text {
    color: #404040;
}
.di_text, .mi_text {
    padding: 3px 0 0;
    line-height: 1.4em;
    word-wrap: break-word;
}
.di_unread_outbox .di_body {
    padding: 3px 7px;
   /* margin-top: 7px; */
    background-color: #e4eaf0;
    border-radius: 4px;
}

.di_unread_outbox .di_text {
    padding: 2px 0;
}
.di_text{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.di_unread_cnt {
    background-color: #8a9bae;
    color: #fff;
    margin: 10px 2px 0 5px;
    border-radius: 4px;
    float: right;
    clear: right;
    padding: 3px 6px;
    line-height: 1.3em;
}
.di_unread_cnt .di_hide {
    display: none;
}
.service_msg_box {
    background: #fff;
    
    border-bottom: 1px solid #efefef;
}
.service_msg {
    padding: 7px;
}
.service_msg_null {
    padding: 14px 7px;
    text-align: center;
    color: #777;
}
.service_msg_error {
    background-color: #FFEFE8;
    border: 1px solid #E89B88;
}
.service_msg_warning {
    background-color: #F9F6E7;
    border: 1px solid #D4BC4C;
}
.service_msg_ok {
    background-color: #F6F7F9;
    border: 1px solid #DBE0EA;
}
.pagination {
    padding: 7px 7px 8px;
    border-bottom: 1px solid #DCDDDE;
    background: #F7F7F7;
    line-height: 1.3em;
}
.pg_link_sel {
    border-bottom: 2px solid #45668E;
    color: #4C6B8F;
}
.pg_link {
    padding: 7px 7px;
}.pg_link:hover {
    background-color: #E4E8ED;
    text-decoration: none;
}.pg_link_sel:hover {
    background: 0 0;
}
.link_header {
    display: block;
}.clearfix {
    display: block;
}
.clearfix:after {
    content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.sub_header {
    font-size: 1em;
    word-wrap: break-word;
    border-bottom: 1px solid #efefef;
    background-color: #ffffff;
    color: #606060;
    padding: 10px;
}
.sub_header_rl {
    font-weight: 400;
    padding-left: 5px;
    text-align: right;
    float: right;
}
.head_actions_wrap .i_actions {
    background: url(/mail/resource/images/post_icons.png?7) no-repeat -105px;
    float: right;
    width: 12px;
}
.head_actions_opened .i_actions {
    background-position: -90px;
}
.head_actions_wrap .head_actions {
    display: none;
}
.head_actions_opened .head_actions {
    display: block;
}
.context_menu {
    list-style: none;
}
.cm_item {
    display: block;
    border-bottom: 1px solid #EEE;
    padding: 5px 7px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.head_actions .cm_item {
    padding: 10px 7px;
}
.cm_item:hover {
    text-decoration: none;
    background-color: #E9EDF1;
}
.create_post {
    background-color: #f1f1f1;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #e1e1e1;
    position: relative;
    margin-top: -1px;
    padding: 7px;
}
.create_post_extra {
    background-color: #f0f2f4;
    border-top: none;
    border-bottom: 1px solid #dfe3e8;
    margin-top: 0;
}
.create_message {
    background-color: #e4e8ed;
    position: relative;
    margin-top: -1px;
}
.iwrap {
    margin: 0 6px 0 0;
}
.create_post .textfield {
    padding-top: 3px;
    padding-bottom: 3px;
}
.create_post_extra .textfield {
    border: 1px solid #d1d7de;
}
.create_message .textfield {
    border: 1px solid #d1d7de;
}
.cp_buttons_block {
    padding-top: 7px;
}
.ibwrap .button {
    padding: 8px 16px;
    font-size: 1em;
    font-weight: 700;
    color: #fff;
    background: none;
    background-color: #6182aa;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    border:0px;
    margin:0px;
}
.ibwrap .button:hover{
    background: none;
    background-color: #6182aa;
    border: 0px;
    margin: 0px 0px 0px;
}


.msg_item * {
    cursor: pointer;
}

.mi_img, .mi_iwrap {
    width: 40px;
    height: 40px;
    margin: 2px 7px 0 0;
    border-radius: 50%;
    float: left;
}
.mi_date {
    position: relative;
    top: 1px;
}
a.mi_date
{
    color: #777!important;
}
a.mi_date:hover
{
    text-decoration: underline;
}
.mi_body {
    clear: none;
}
.mi_text {
    padding-right: 27px;
}

.slim_header {
    padding-left: 12px;
    font-size: 1em;
    word-wrap: break-word;
    background-color: #DEE5EB;
    position: relative;
    padding: 5px 7px;
    margin-top: -1px;
    color: #657e9b;
}
.vk_mail .form_item {
    padding: 0 12px 16px;
    border-bottom: 1px solid #efefef;
}

.near_btn {
    padding: 8px 12px;
    font-size: 1em;
    display: inline-block;
    background: 0 0;
    border: none;
}
.owner_panel {
    padding-top: 7px;
    font-size: 1em;
    display: block;
    padding: 5px 7px 7px;
    border-bottom: 1px solid #e9e9e9;
    background-color: #f7f7f7;
}
.op_fimg, .op_img, .op_iwrap {
    width: 50px;
    height: 50px;
    float: left;
    margin: 2px 7px 0 0;
    background-color: #e6ebef;
    border-radius: 50%;
}
.op_cont, .op_fcont {
    margin-left: 58px;
    min-height: 50px;
}
.op_owner {
    font-weight: 700;
    word-wrap: break-word;
}
.op_owner:hover {
    text-decoration: underline;
}
.op_info {
    padding-top: 4px;
    color: #797979;
}
.item_date {
    color: #777;
}
.single_msg_item {
    padding: 0 0 7px;
}
.mi_cont {
    margin-left: 47px;
    min-height: 42px;
}
.single_msg_item .mi_cont {
    padding: 5px 7px 0;
    margin-left: 0;
    min-height: 0;
}
.mi_links {
    color: #4c6b8f;
    padding: 14px 0 2px;
}

.wide_button {
    display: block;
    text-align: center;
    padding-left: 3px!important;
    padding-right: 3px!important;
}

.button_locked {
    background: url(/mail/resource/images/wupload.gif?1) no-repeat 50%;
}
.messagesActions__button b {
    font-weight: 400;
}
.button_locked_label {
    visibility: hidden;
}
.di_typing {
    color: #8795A5;
    display: none;
    opacity: 0;
    text-align: left;
    -o-transition-duration: 0;
    transition-duration: 0;
}
.near_btn {
    padding: 8px 12px;
}
.cp_buttons_block .near_btn {
    padding-right: 0;
}
.di_typing .i_typing {
    background: url(/mail/resource/images/typing.gif?1) no-repeat 0;
    margin-right: 5px;
    padding: 0 15px 0 0;
}
.di_typing_animated .di_typing {
    opacity: 1;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.di_typing_now .di_typing {
    display: block;
}
.di_typing_now .di_current_peer {
    display: none;
}
.vk_mail .qs_button
{
    padding: 5px 4px;
    margin: 0 0 0 7px;
    font-size: 1em;
    font-weight: 700;
    color: #fff !important;
    background: none;
    background-color: #6182aa;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    border: none;
    -webkit-appearance: none;
    outline: 0;
    box-shadow: none;
}
.vk_mail .qs_button:hover{
    background: none;
    background-color: #6182aa;
    border: 0px;
}
.inline_fit_item, .inline_item {
    display: block;
    padding: 7px;
    border-bottom: 1px solid #efefef;
    line-height: 1.4em;
}
.ii_body {
    display: block;
    padding-right: 22px;
    min-height: 32px;
}
.ii_body, .ii_btn {
    min-height: 40px;
}
.ii_bold, .ii_file, .ii_icon, .ii_img, .ii_label, .ii_owner, .inline_fit_item .lvi, .inline_item .lvi {
    vertical-align: middle;
}
.ii_img {
    width: 40px;
    height: 40px;
    margin-right: 7px;
    border-radius: 50%;
    float: none;
}
.ii_bold, .ii_owner {
    font-weight: 700;
}
.found, .highlight, .match {
    background-color: #E1E7ED;
    padding: 0;
    font-style: normal;
}
.di_folder {
    padding: 7px 0 2px;
}
.di_inbox_fld {
    background-color: #E4EBF1;
    color: #45688E;
}
.di_outbox_fld {
    background-color: #F0EDE4;
    color: #8A8248;
}
.di_fld {
    font-size: .92em;
    padding: 2px 5px;
    border-radius: 2px;
}

.pagination {
    padding: 7px 7px 7px;
    border-bottom: 1px solid #dfe3e8;
    background: #F7F7F7;
    line-height: 1.3em;
}
.pg_link {
    padding: 7px 7px;
}
.pg_link_sel {
    border-bottom: 2px solid #45668E;
}
.pg_link:hover {
    background-color: #E4E8ED;
    text-decoration: none;
}

.found, .highlight, .match {
    background-color: #E1E7ED;
    padding: 0;
    font-style: normal;
}

.lvi {
    background: url(/mail/resource/images/profile_icons.png?5) no-repeat 0;
    width: 0;
    padding: 0 9px 1px 0;
    margin-left: 4px;
    zoom: 1;
}
.mlvi {
    background-position: -9px;
}
.di_activity {
    padding: 8px;
    color: #777;
    background-color: #e6e6e6;
    margin: 7px;
    border-radius: 5px;
}
.di_activity .mlvi {
    background-position: -18px;
}
.show_more_wrap {
    display: none;
    position: relative;
    padding: 7px 7px 12px;
    margin-top: -1px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #efefef;
}
.show_more, .show_more_loading {
    display: block;
    padding: 9px;
    background-color: #e7e7e7;
    color: #707070;
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
}
.show_more_loading .button_locked {
    height: 16px;
    display: block;
}
.message_outbox{ background: #dcf6d8;
    border-radius: 5px;
    margin: 5px;
    
}

.message_inbox {
    background: #e1e9f2;
    border-radius: 5px;
    margin: 5px;
}