#imPanel {
    background: white;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #444444;
}

#imSearch {
    width: 100%;
    height: 24px;
    text-align: center;
    background: url("images/search_bg.gif") repeat-x;
}

#im_search_word {
    width: 96%;
    height: 18px;
    margin-top: 6px;
    margin-left: auto;
    margin-right: auto;
    border-width: 0;
    background: url("images/search.gif") right no-repeat;
    color: #444444;
}

#imTabs {
    width: 100%;
    height: 28px;
}

.im_tab_selected, .im_tab_unselected {
    float: left;
    width: 33.33%;
    height: 28px;
    text-align: center;
    cursor: pointer;
}

.im_tab_selected {
    background: url("images/tab_selected.gif") repeat-x;
}

.im_tab_unselected {
    background: url("images/tab_unselected.gif") repeat-x;
}

.im_tab_img_selected, .im_tab_img_unselected {
    width: 61px;
    height: 28px;
    margin-left: auto;
    margin-right: auto;
}

#imUsersTab .im_tab_img_selected {
    background-image: url("images/users_tab_selected.gif");
}

#imUsersTab .im_tab_img_unselected {
    background-image: url("images/users_tab.gif");
}

#imGroupsTab .im_tab_img_selected {
    background-image: url("images/groups_tab_selected.gif");
}

#imGroupsTab .im_tab_img_unselected {
    background-image: url("images/groups_tab.gif");
}

#imSearchTab .im_tab_img_selected {
    background-image: url("images/search_tab_selected.gif");
}

#imSearchTab .im_tab_img_unselected {
    background-image: url("images/search_tab.gif");
}

#imDeptsTab .im_tab_img_selected {
    background-image: url("images/depts_tab_selected.gif");
}

#imDeptsTab .im_tab_img_unselected {
    background-image: url("images/depts_tab.gif");
}

#imMain {
    width: 100%;
}

.im_main_panel {
    width: 100%;
    height: 100%;
    text-align: left;
    overflow-y: auto;
    overflow-x: hidden;
    cursor: pointer;
}

.im_friendGroup {
    width: 100%;
    float: left;
    clear: both;
}

.im_friendGroup_name {
    width: 100%;
    background: no-repeat 6px;
    text-indent: 20px;
    height: 20px;
    padding-top: 7px;
}

.im_friendGroup_name:hover {
    background-color: #edf5fa;
}

.im_friendGroup_name_up {
    background-image: url("/im/images/arrow_left.gif");
}

.im_friendGroup_name_down {
    background-image: url("/im/images/arrow_down.gif");
}

.im_friend {
    clear: both;
    height: 54px;
    margin-left: 2px;
    margin-right: 2px;
}

.im_friend:hover {
    background-color: #c9e9f9;
}

.im_friend_head {
    float: left;
    width: 40px;
    height: 40px;
    margin-top: 7px;
    margin-bottom: 7px;
    margin-left: 10px;
}

.im_friend_head_flash {
    float: left;
    width: 40px;
    height: 40px;
    margin-top: 5px;
    margin-left: 8px;
    margin-bottom: 9px;
    margin-right: 2px;
}

.im_friend_head img {
    width: 40px;
    height: 45px;
}

.im_friend_head_flash img {
    width: 40px;
    height: 45px;
}

.im_friend_right {
    float: left;
}

.im_friend_name {
    float: left;
    margin-top: 10px;
    margin-left: 10px;
    clear: both;
}

.im_friend_signature {
    float: left;
    margin-top: 8px;
    margin-left: 8px;
    color: gray;
    clear: both;
}

#imBootomBar {
    width: 100%;
    height: 25px;
    background-image: url("images/bottom_bar.gif");
}

#imBootomBar .im_button {
    float: left;
    height: 14px;
    padding-top: 2px;
    font-size: 12px;
    text-indent: 20px;
    margin-left: 8px;
    margin-top: 5px;
    cursor: pointer;
    background-repeat: no-repeat;
}

#imAddFriends {
    background-image: url("images/manage.gif");
}

#imManage {
    background-image: url("images/manage.gif");
}

#imGroupManage {
    background-image: url("images/manage.gif");
}

#imConfig {
    background-image: url("images/config.gif");
}

#imSystemMessage {
    background-image: url("images/sound.gif");
}

#imSystemMessage_flash {
    float: left;
    height: 14px;
    padding-top: 2px;
    font-size: 12px;
    text-indent: 20px;
    margin-left: 8px;
    margin-top: 5px;
    cursor: pointer;
    background-image: none;
}

.im_user_window_head {
    float: left;
    width: 30px;
    height: 32px;
    margin-top: 2px;
}

.im_user_window_head img {
    width: 24px;
    height: 32px;
    cursor: pointer;
    border: 1px solid white;
    margin-bottom: 6px;
    margin-left: 5px;
}

.im_user_window_right {
    float: left;
    line-height : normal
}

.im_user_window_name {
    float: left;
    margin-left: 6px;
    color: black;
    font-weight: bold;
    clear: both;
}

.im_user_window_signature {
    float: left;
    /*margin-top: 4px;*/
    margin-left: 6px;
    color: black;
    font-weight: normal;
    clear: both;
}

.im_user_window_main {
    float: left;
    width: 100%;
    height: 100%;
    background-color: white;
}

.im_user_window_main_right {
    float: left;
    width: 180px;
    height: 100%;
}

.im_user_window_main_right1 {
    float: left;
    width: 287px;
    height: 100%;
}

.im_user_window_main_right_message {
    float: left;
    width: 100%;
    height: 100%;
    border-left: 5px solid #C7D5E7;
    display: none;
}

.im_user_window_main_right_message_title {
    width: 100%;
    height: 23px;
    border-bottom: 1px solid #ddd;
}

.im_user_window_main_right_message_content {
    width: 100%;
    float: left;
    height: 380px;
    overflow-y: auto;
    overflow-x: visible;
}

.im_user_window_main_right_message_record {
    float: left;
    clear: both;
    width: 100px;
    height: 18px;
    padding-left: 5px;
    padding-top: 5px;
    border-right: 1px solid #CCD8E7;
}

.im_user_window_main_right_message_close {
    float: right;
    width: 15px;
    height: 14px;
    line-height: 11px;
    margin-right: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    color: #858585;
}

.im_user_window_main_right_message_type {
    margin-top: 8px;
    float: left;
    width: 100%;
    height: 20px;
    text-align: center;
    /* border-top: 1px solid #DDDDDD;
     border-bottom: 1px solid #DDDDDD;*/
}

.im_user_window_main_right_message_all {
    float: left;
    width: 20%;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
    background-color: rgb(204, 216, 231);
    border-radius: 3px;
    margin-left: 10px;
}

.im_user_window_main_right_message_file {
    float: left;
    width: 20%;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
    background-color: #FFFFFF;
    border-radius: 3px;
    margin-left: 10px;
}

.im_user_window_main_right_user {
    float: left;
    width: 100%;
    height: 100%;
    border-left: 5px solid #C7D5E7;
}

.im_user_window_main_right_user_img {
    float: left;
    width: 100%;
    height: 135px;
    padding-top: 15px;
    text-align: center;
}

.im_user_window_main_right_user_img img {
    border: 1px solid white;
    width: 90px;
    height: 120px;
}

.im_user_window_main_right_userName {
    float: left;
    line-height: 18px;
    margin-left: 20px;
    padding-left: 25px;
    margin-right: 10px;
    min-width: 50px;
    background: url("/im/images/user_userName.png") no-repeat;
}

.im_user_window_main_right_userDept {
    float: left;
    line-height: 18px;
    margin-top: 10px;
    margin-left: 20px;
    padding-left: 25px;
    margin-right: 10px;
    min-width: 50px;
    background: url("/im/images/user_deptName.png") no-repeat;
}

.im_user_window_main_right_userDuty {
    float: left;
    line-height: 18px;
    margin-top: 10px;
    margin-left: 20px;
    padding-left: 25px;
    margin-right: 10px;
    min-width: 50px;
    background: url("/im/images/user_station.png") no-repeat;
}

.im_user_window_main_right_userPhone {
    float: left;
    line-height: 18px;
    margin-top: 10px;
    margin-left: 20px;
    padding-left: 25px;
    margin-right: 10px;
    min-width: 50px;
    background: url("/im/images/user_phone.png") no-repeat;
}

.im_user_window_main_right_officePhone {
    float: left;
    clear: both;
    line-height: 18px;
    margin-top: 10px;
    margin-left: 20px;
    padding-left: 25px;
    margin-right: 10px;
    min-width: 50px;
    background: url("/im/images/office_phone.png") no-repeat;
}

.im_user_window_main_right_buttons {
    float: left;
    margin-top: 10px;
    margin-left: 16px;
}

.im_user_window_main_right_buttons button {
    float: left;
}

.im_user_window_main_right_buttons .myFriend {
    color: #858585;
    background: url("/im/images/user_addLinkGray.png") no-repeat;
    float: left;
    width: 143px;
    height: 23px;
    padding-left: 27px;
    border: 0px;
}

.im_user_window_main_right_buttons .noFriend {
    background: url("/im/images/user_addLink.png") no-repeat;
    float: left;
    width: 143px;
    height: 23px;
    padding-left: 27px;
    cursor: pointer;
    border: 0px;
}

.im_user_window_main_right_buttons .addGroup {
    background: url("/im/images/user_group.png") no-repeat;
    float: left;
    width: 143px;
    height: 23px;
    padding-left: 27px;
    cursor: pointer;
    margin-top: 8px;
    border: 0px;
}

.im_user_window_main_left {
    float: left;
    min-width: 50%;
}

.im_user_window_records {
    float: left;
    width: 100%;
    height: 253px;
    background-color: white;
    overflow-y: auto;
}

.im_user_window_record {
    width: 100%;
}

.im_user_window_record_height {
    height: 45px;
}

.im_user_window_record_sign {
    padding-left: 5px;
    height: 16px;
    margin-top: 10px;
    margin-bottom: 4px;
    color: #008040;
}

.im_user_window_record_content {
    padding-left: 20px;
    padding-right: 5px;
    line-height: 16px;
    color: black;
}

.blackColor {
    color: #858585;;
}

.im_user_window_record_content a {
    color: blue;
    text-decoration: underline
}

.im_user_window_split {
    float: left;
    width: 100%;
    height: 28px;
    cursor: s-resize;
    background-image: url("images/split_bar.gif");
}

.im_user_window_split span {
    margin: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.im_user_window_face {
    float: left;
    background-image: url("images/face.gif");
}

.im_user_window_img {
    float: left;
    background-image: url("images/img.gif");
}

.im_user_window_attachment {
    float: left;
    background-image: url("images/attachment.gif");
}

.im_user_window_clear {
    float: left;
    background-image: url("images/clear.gif");
}

.im_user_window_chat_record {
    float: right;
    background-image: url("images/chat_record.gif");
}

.im_user_window_chat {
    float: left;
    width: 100%;
    height: 100px;
    background-color: white;
}

.im_user_window_chat textarea {
    width: 99%;
    height: 100px;
    border: 0;
    overflow-y: auto;
}

.im_user_window_phone {
    float: left;
    margin-top: 6px;
    margin-left: 6px;
    height: 20px;
    line-height: 20px;
}

.im_user_window_phone input {
    margin-right: 6px;
    vertical-align: text-bottom;
    *vertical-align: middle;
}

.im_user_window_bottom_right {
    float: right;
    height: 100%;
    margin-top: -3px;
    margin-right: -1px;
    width: 175px;
    background-color: #ffffff;
    border-left: 5px solid #C7D5E7;
}

.im_user_window_bottom_right1 {
    float: right;
    height: 100%;
    margin-top: -3px;
    margin-right: -1px;
    width: 280px;
}

.im_user_window_bottom_more_message {
    float: right;
    height: 100%;
    width: 30%;
    cursor: pointer;
    line-height: 16px;
    padding-top: 10px;
    padding-right: 3px;
    text-align: right;
}

.im_user_window_bottom {
    float: right;
    height: 26px;
    margin-right: 10px;
}

.im_user_window_bottom button {
    height: 20px;
    line-height: 16px;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 5px;
    margin-right: 3px;
    font-size: 12px;
}

.im_group_window_bottom button {
    height: 20px;
    line-height: 16px;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 5px;
    margin-right: 3px;
    font-size: 12px;
}

.im_group_window_main {
    float: left;
    width: 100%;
    height: 100%;
    background-color: white;
}

.im_group_window_main_right_message_title {
    width: 100%;
    height: 23px;
    border-bottom: 1px solid #ddd;
}

.im_group_window_main_right_message_content {
    width: 100%;
    float: left;
    height: 322px;
    overflow-y: auto;
    overflow-x: visible;
}

.im_group_window_main_right_message_record {
    float: left;
    clear: both;
    width: 100px;
    height: 18px;
    padding-left: 5px;
    padding-top: 5px;
    border-right: 1px solid #CCD8E7;
}

.im_group_window_main_right_message_close {
    float: right;
    width: 15px;
    height: 14px;
    line-height: 11px;
    margin-right: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    color: #858585;
}

.im_group_window_main_right_message_type {
    margin-top: 8px;
    float: left;
    width: 100%;
    height: 20px;
    text-align: center;
    /* border-top: 1px solid #DDDDDD;
     border-bottom: 1px solid #DDDDDD;*/
}

.im_group_window_main_right_message_all {
    float: left;
    width: 20%;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
    background-color: rgb(204, 216, 231);
    border-radius: 3px;
    margin-left: 10px;
}

.im_group_window_main_right_message_file {
    float: left;
    width: 20%;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
    background-color: #FFFFFF;
    border-radius: 3px;
    margin-left: 10px;
}

.im_group_window_head {
    float: left;
    width: 30px;
    height: 30px;
    background-color: white;
    margin-top: 2px;
}

.im_group_window_head img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    border: 1px solid white;
    margin-bottom: 6px;
}

.im_group_window_right {
    float: left;
}

.im_group_window_name {
    float: left;
    margin-left: 6px;
    color: black;
    font-weight: bold;
    clear: both;
    padding-top: 10px;
}

.im_group_window_signature {
    float: left;
    margin-top: 4px;
    margin-left: 6px;
    color: black;
    font-weight: normal;
    clear: both;
}

.im_group_window_records {
    float: left;
    width: 100%;
    height: 250px;
    background-color: white;
    overflow-y: auto;
}

.im_group_window_chat_record {
    float: right;
    background-image: url("images/chat_record.gif");
}

.im_group_window_chat {
    float: left;
    width: 100%;
    height: 100px;
    background-color: white;
}

.im_group_window_chat textarea {
    width: 100%;
    height: 100px;
    border: 0;
    overflow-y: auto;
}

.im_group_window_bottom {
    float: right;
    height: 26px;
    margin-right: 208px;
}

.im_group_window_bottom_more_message {
    position: absolute;
    float: right;
    right: 15px;
    bottom: 18px;
    cursor: pointer;
}

.im_group_window_bottom button {
    height: 22px;
    line-height: 12px;
    margin-top: 4px;
    margin-right: 3px;
}

.im_group_window_face {
    float: left;
    background-image: url("images/face.gif");
}

.im_group_window_img {
    float: left;
    background-image: url("images/img.gif");
}

.im_group_window_attachment {
    float: left;
    background-image: url("images/attachment.gif");
}

.im_group_window_clear {
    float: left;
    background-image: url("images/clear.gif");
}

.im_group_window_chat_record {
    float: right;
    background-image: url("images/chat_record.gif");
}

.im_group_window_records {
    float: left;
    width: 100%;
    height: 250px;
    background-color: white;
    overflow-y: auto;
}

.im_group_window_record {
    width: 100%;
}

.im_group_window_record_sign {
    padding-left: 5px;
    height: 16px;
    margin-top: 10px;
    margin-bottom: 4px;
    color: #008040;
}

.im_group_window_record_content {
    padding-left: 20px;
    padding-right: 5px;
    line-height: 16px;
    color: black;
}

.im_group_window_record_content a {
    color: blue;
    text-decoration: underline
}

.im_group {
    clear: both;
    height: 25px;
    margin-left: 3px;
    margin-top: 5px;
}

.im_group:hover {
    background-color: #edf5fa;
}

.im_group_head {
    float: left;
    width: 20px;
    height: 25px;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: 10px;
}

.im_group_head_flash {
    float: left;
    width: 20px;
    height: 25px;
    margin: 0 2px 0 8px;
}

.im_group_head img {
    width: 18px;
    height: 18px;
}

.im_group_head_flash img {
    width: 18px;
    height: 18px;
}

.im_group_window_split {
    float: left;
    width: 100%;
    height: 28px;
    cursor: s-resize;
    background-image: url("images/split_bar.gif");
}

.im_group_window_split span {
    margin: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.im_group img {
    width: 18px;
    height: 18px;
}

.im_group_right {
    float: left;
}

.im_group_name {
    float: left;
    margin-top: 5px;
    margin-left: 6px;
}

.im_group_win_left {
    width: 65%;
    height: 100%;
    float: left;
}

.im_group_win_middle {
    width: 1%;
    height: 100%;
    float: left;
    background-color: #C7D5E7;
}

.im_group_win_right {
    float: right;
    width: 34%;
    height: 100%;
    background-color: white;
    overflow-x: hidden;
    overflow-y: auto;
}

.im_group_win_right_message {
    float: right;
    width: 49%;
    height: 100%;
    background-color: white;
    display: none;
}

.im_group_win_righttitle {
    width: 100%;
    height: 25px;
    line-height: 25px;
    font-weight: bold;
    padding-left: 10px;
    background-color: #D7EDF4;
}

.im_group_win_memberlist {
    margin-top: 2px;
    height: 20px;
    line-height: 20px;
    padding-left: 10px;
    clear: both;
    cursor: pointer;
}

.im_group_win_memberlist:hover {
    background-color: #edf5fa;
}

.group_member_img {
    height: 18px;
    width: 18px;
    float: left;;
}

.group_member_name {
    height: 18px;
    width: 125px;
    float: left;;
    text-indent: 5px;
    overflow: hidden;
    white-space: nowrap;
    word-wrap: normal;
    text-overflow: ellipsis;
}

.im_searchResult_win_memberlist {
    margin-top: 4px;
    height: 20px;
    line-height: 20px;
    padding-left: 20px;
    clear: both;
    cursor: pointer;
}

.im_searchResult_win_memberlist:hover {
    background-color: #edf5fa;
}

.im_searchResult_name {
    float: left;
    margin-top: 0;
    margin-left: 6px;
    clear: both;
}

.im_searchResult_head {
    float: left;
    width: 20px;
    height: 25px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 10px;
}

.im_searchResult_head_flash {
    float: left;
    width: 20px;
    height: 25px;
    margin: 0 2px 0 8px;
}

.im_searchResult_head img {
    width: 18px;
    height: 18px;
}

.im_searchResult_head_flash img {
    width: 18px;
    height: 18px;
}

.im_faces_container {
    background: #e9f6fe;
    border: 1px solid #48e9b8;
    padding: 10px;
    z-index: 10000;
}

.im_faces {
    float: left;
    width: 405px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    background: #ffffff;
}

.im_faces .im_face {
    float: left;
    width: 24px;
    height: 24px;
    padding: 1px;
    border-left: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
}

.im_faces .im_face img {
    float: left;
    width: 24px;
    height: 24px;
    border: 0;
}

.im_faces .im_face:hover {
    width: 26px;
    height: 26px;
    padding: 0;
}

.im_faces .im_face:hover img {
    border: 1px solid blue;
}

.im_image {
    cursor: pointer;
}