body{
    background: #f3f3f3;
}
#cont {
    margin:20px 0 20px;
    padding:0;
}
.box2 {
    background: none;
    border: none;
}

#messages_list_body{
    overflow: hidden;
    border-radius:6px;
    border-bottom:1px solid #cccccc;
}

#messages_list_body .inb_title{
    background: url('../../../v3_imgs/ci/messages/messages_head_bg.png') repeat-x 0 0;
    border:0;
    height:41px;
    margin:0;
    padding:0;
    overflow: hidden;
}

#messages_list_body .message_head_items{
    float:left;
    height:40px;
    border-left:1px solid #FFF;
	border-right:1px solid #FFF;
}

#messages_list_body .message_head_buttons{
    float:right;
}

#messages_list_body .message_head_items a{
    display: block;
    padding:15px 15px 13px 44px;
    font-size:13px;
    color:#424242;
    font-weight: normal;
    position: relative;
}

#messages_list_body .message_head_items a.inbox,
#messages_list_body .message_head_items a.system{
    padding:15px 33px 13px 44px;
}

#messages_list_body .message_head_items a span{
    background: none repeat scroll 0 0 #E5E5E5;
    border-radius: 4px 4px 4px 4px;
    color: #000000;
    float: right;
    font-family: Arial;
    font-size: 11px;
    font-weight: bold;
    min-width: 20px;
    padding: 4px 0;
    position: absolute;
    right: 8px;
    text-align: center;
    top: 11px;
    display: block;
}

#messages_list_body .message_head_items a.inbox span.unread{
    background: #FFC7C7;
    color: #E70000;
}

#messages_list_body .message_head_items a.system span.unread{
    background: #E8EBF6;
    color: #1A3EA5;
}

#messages_list_body .message_head_items a.inbox{
	background: url('../../../v3_imgs/ci/messages/ico_mess_in.png') no-repeat 15px 11px;
}

#messages_list_body .message_head_items a.outbox{
	background: url('../../../v3_imgs/ci/messages/ico_mess_out.png') no-repeat 15px 12px;
}

#messages_list_body .message_head_items a.system{
	background: url('../../../v3_imgs/ci/messages/ico_mess_in_sys.png') no-repeat 15px 14px;
}

#messages_list_body .message_head_items a.banlist{
    background: url('../../../v3_imgs/ci/messages/lock_ico.png') no-repeat 15px 14px;
}

#messages_list_body .message_head_items.active{
	
}

#messages_list_body .message_head_items.active a{
	border-left:1px solid #e5e5e5;
	border-right:1px solid #e5e5e5;
}

#messages_list_body .message_head_items.active a.inbox{
	background:#FFF url('../../../v3_imgs/ci/messages/ico_mess_in.png') no-repeat 15px 11px;
	border-left:0;
}

#messages_list_body .message_head_items.active a.outbox{
	background:#FFF url('../../../v3_imgs/ci/messages/ico_mess_out.png') no-repeat 15px 12px;
}

#messages_list_body .message_head_items.active a.system{
	background:#FFF url('../../../v3_imgs/ci/messages/ico_mess_in_sys.png') no-repeat 15px 14px;
}

#messages_list_body .message_head_items.active a.banlist{
    background:#FFF url('../../../v3_imgs/ci/messages/lock_ico.png') no-repeat 15px 14px;
}

#messages_list_body .inb_inbox{
	border:0;
	margin:0;
	padding:0;
}

#messages_list_body #inbox{
	padding:0 10px 0;
	
	height:600px; 
	overflow:auto;
	overflow-x: hidden;
}

#messages_list_body .inb_table{
	border-collapse: collapse;
	width: 889px;
}

#messages_list_body .inb_table tr{
	border-top:1px solid #ebebeb;
}

#messages_list_body .inb_table tr td{
	background: #FFF;
}

#messages_list_body .inb_table tr.opened_message td{
    background: #fffff0;
}


#messages_list_body .inb_table tr td.selTr {
    background-color: #F9F9F9 !important;
}

#messages_list_body .avatarimg{
	border:1px solid #ebebeb;
	padding:3px;
	display: block;
	float:left;
	margin-right:10px;
}

#messages_list_body td a.message_big_link{
	display: block;
	padding:5px 0;
	overflow: hidden;
}

#messages_list_body td .mess_add_info{
	float:left;
	margin-top:5px;
}

#messages_list_body td .mess_add_info .mess_user_name{
	font-family: Arial;
	font-weight: bold;
	font-size:12px;
	color:#438bc9;
}

#messages_list_body td .mess_add_info .mess_date{
	font-family: Arial;
	font-size:11px;
	color:#888888;
	font-weight: normal;
	margin-top:5px;
}

#messages_list_body td.messige_new_subject a{
	font-size:13px;
	color:#515151;
	padding:19px 0;
}

#messages_list_body td.messige_new_subject img{
    margin-top:-2px;
}

#messages_list_body td.message_new_checkbox{
	padding:0 18px;
}

#messages_list_body td.message_new_checkbox input{
    width: 15px;
    height: 15px;
}

#message{
	margin-top:27px;
	border-radius:4px;
	border:0;
	border-bottom:1px solid #CCC;
	padding:1px;
}

.inb_title{
	background: #f8f8f8;
	position: relative;
	border:0;
	border-bottom:1px solid #e5e5e5;
	padding:10px 0 10px 10px;
	margin:0;
	height:auto;
	overflow: hidden;
}

.inb_title .avatarimg{
	border:1px solid #ebebeb;
	padding:3px;
	display: block;
	float:left;
	margin-right:10px;
}

.inb_title .inb_title_info{
	float:left;
}

.inb_title .inb_title_subj{
	font-size:14px;
	color:#515151;
	font-weight: normal;
	margin-bottom:5px;
}

.inb_title .inb_title_user a{
	font-family: Arial;
	font-weight: bold;
	font-size:12px;
	color:#438bc9;
	margin-bottom:5px;
	display: block;
}

.inb_title .inb_title_date{
	font-family: Arial;
	font-size:11px;
	color:#888888;
	font-weight: normal;
}

.inb_message{
	color: #333333;
    font-size: 12px;
    line-height: 19px;
    height: 300px;
    padding-bottom: 26px;
    position: relative;
    overflow: auto;
    overflow-x: hidden;
    
}

.inb_message .message_footer{
    border-top: 1px solid #EBEBEB;
    bottom: 0;
    left: 0;
    overflow: hidden;
    padding: 7px 0;
    /*position: absolute;*/
    width: 980px;
    font-size:12px;
    color:#888888;
    background: #FFF;
    margin-top:5px;
}

.inb_message hr{
    border:0;
    border-top:1px solid #ebebeb;
}

#inb_title_buttons{
	position: absolute;
	top:5px;
	right:5px;
}

#inb_title_buttons .new_delete{
	background: #ffffff url('../../../v3_imgs/ci/messages/del_mess.png') no-repeat 15px 9px;
	border-bottom:1px solid #CCC;
	border-radius:4px;
	display: block;
	float:left;
	padding:9px 17px 8px 37px;
	font-size:12px;
	color:#383838;
	font-weight: normal;
}

#inb_title_buttons .new_reply{
    background: #ffffff url('../../../v3_imgs/ci/messages/ico_mess_out.png') no-repeat 15px 6px;
    border-bottom:1px solid #CCC;
    border-radius:4px;
    display: block;
    float:left;
    padding:9px 17px 8px 37px;
    font-size:12px;
    color:#383838;
    font-weight: normal;
    margin-right: 10px;
}

#inb_title_buttons .new_block{
    background: rgb(236,0,0); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VjMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkNTAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(236,0,0,1) 0%, rgba(213,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(236,0,0,1)), color-stop(100%,rgba(213,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(236,0,0,1) 0%,rgba(213,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(236,0,0,1) 0%,rgba(213,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(236,0,0,1) 0%,rgba(213,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(236,0,0,1) 0%,rgba(213,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ec0000', endColorstr='#d50000',GradientType=0 ); /* IE6-8 */
    border-left:1px solid rgb(236,0,0);
    -webkit-box-shadow: 0 1px 0 #c20000;
    -moz-box-shadow: 0 1px 0 #c20000;
    box-shadow: 0 1px 0 #c20000;
    border-radius:4px;
    display: block;
    float:left;
    margin-right:10px;
    font-size:12px;
    color:#FFF;
    font-weight: normal;
}

#inb_title_buttons .new_un_block{
    background: rgb(62,109,52); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzNlNmQzNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzMDU1MjgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(62,109,52,1) 0%, rgba(48,85,40,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(62,109,52,1)), color-stop(100%,rgba(48,85,40,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(62,109,52,1) 0%,rgba(48,85,40,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(62,109,52,1) 0%,rgba(48,85,40,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(62,109,52,1) 0%,rgba(48,85,40,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(62,109,52,1) 0%,rgba(48,85,40,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3e6d34', endColorstr='#305528',GradientType=0 ); /* IE6-8 */
   -webkit-box-shadow: 0 1px 0 #25481e;
    -moz-box-shadow: 0 1px 0 #25481e;
    box-shadow: 0 1px 0 #25481e;   
    border-right: 1px solid rgb(62,109,52);
    float:left;
    margin-right:10px;
    font-size:12px;
    color:#FFF;
    font-weight: normal;
    border-radius:4px;
    display: none;
}

#inb_title_buttons .new_block span{
    background: url("../../../v3_imgs/ci/messages/lock.png") no-repeat scroll 6px 9px transparent;
    color: #FFFFFF;
    display: block;
    padding: 9px 10px 8px 25px;
}

#inb_title_buttons .new_un_block span{
    background: url("../../../v3_imgs/ci/messages/unlock.png") no-repeat scroll 9px 8px transparent;
    color: #FFFFFF;
    display: block;
    padding: 9px 10px 8px 30px;
}

.inb_table_head{
    background:#FFF;
    overflow: auto;
    padding: 0 10px;
    padding-top:20px;
}

.inb_table_head td{
    background: #FFF;
    padding:10px 0;
    color:#515151;
    font-size:14px;
}

.inb_table_head #check_all_new{
    padding: 0 24px;
}


.inb_table_head #check_all_new input{
    width: 15px;
    height: 15px;
}

.dell_all_new{
    background: #f5f5f5 url('../../../v3_imgs/ci/messages/del_mess.png') no-repeat 13px 9px;
    border-bottom:1px solid #CCC;
    border-radius:4px;
    display: block;
    padding:9px 16px 8px 34px;
    font-size:12px;
    color:#383838;
    font-weight: normal;
    width: 168px;
    margin-right: 6px;
    margin-top: 6px;
    display: none;
}

#mesLoaderGif.dell_all_new_pre {
    margin-right: 10px;
    margin-top: 10px;
}

.standart_form.new{
    background:#FFF;
    border:0;
    border-bottom:1px solid #CCC;
    padding:1px;
}

.standart_form_head{
    display: block;
    font-weight: normal;
    background: none;
    font-size:14px;
    padding:0;
    height: auto;
    margin:0;
}

.standart_form.new .reply_box_head{
    background: #f8f8f8;
    border-bottom:1px solid #e5e5e5;
    padding:16px 11px;
}

.standart_form.new .reply_box_head .pl_bord{
    margin-bottom:13px;
}

.standart_form.new label{
    display: block;
    float:none;
    padding:0;
    text-align:left;
    width: auto;
    font-size:13px;
    color:#575656;
    margin:0;
    margin-bottom:6px;
}

.standart_form.new label.left{
    float:left;
    margin-right:5px;
}

.standart_form.new .adress{
    color:#438bc9;
    font-size:13px;
    font-weight: normal;
    font-family:arial;
}

.standart_form.new .reply_box_head .pl_bord input{
    width: 98%;
    border:1px solid #d5d5d5;
    border-top:1px solid #b5b5b5;
    padding:5px;
    font-family:Arial;
    font-size:13px;
    color:#646464;
}

.standart_form.new .message_text_cont{
    margin-top:16px;
}

.standart_form.new .message_text_cont .avatarimg,.pl_bord.addressat .avatarimg{
    border:1px solid #ebebeb;
    padding:3px;
    display: block;
    float:left;
    margin-right:10px;
    margin-left:15px;
    position: relative;
    text-decoration: none;
}

.pl_bord.addressat{
    overflow: hidden;
    width: 88.7%;
}

.pl_bord.addressat .addressat_field{
    float:left;
}

.pl_bord.addressat .addressat_field input{
    background: #fafafa;
    border:1px solid #ededed!important;
    border-top:1px solid #e4e4e4!important;
    color:#646464;
    font-weight: bold;
    font-family: Arial;
    font-size:12px;
}

.pl_bord.addressat .avatarimg{
    margin-left:0;
}

.standart_form.new .message_text_cont .avatarimg .arrow,.pl_bord.addressat .avatarimg .arrow{
    position: absolute;
    right: -6px;
    top: 16px;
    
}

.standart_form.new .message_text_cont textarea{
    min-width: 82.7%;
    border:1px solid #d5d5d5;
    border-top:1px solid #b5b5b5;
    padding:5px;
    font-family:Arial;
    font-size:13px;
    color:#646464;
    float:left;
}

.standart_form.new #button{
    background:#fbfbfb;
    font-size:13px;
    color: #000000;
    border-radius:4px;
    border:1px solid #d3d3d3;
    margin-right: 5px;
    padding:3px 7px;
    cursor: pointer;
}
