﻿div.chat_panel
{
    display:block;
    left:10px;
    position:absolute;
    top:50px;    
    width:299px;  
    z-index: 500;
}

.chat_body{
    background:  url('../image/chat_body.png') repeat-y;
    width: 279px;    
    padding: 10px;
}


.chat_button_block 
{
    float: right;
    height: 35px;
    padding-top: 3px;
}

.chat_footer_mini .chat_button_block
{
    float: right;     
}

.chat_footer_mini
{
    height: 35px;
    width: 100%;    
}

li.chat_link
{
    cursor: pointer !important;
}
.chat_footer_mini .chat_minimize_button_left
{
    background:  url('../image/left_part.png') no-repeat;
    height:35px;
    width: 3px;
    float: left;
}
.chat_footer_mini .chat_minimize_button_center
{
    background:  url('../image/center_part.png') repeat-x;
    height:35px;
    float: left;
    line-height: 35px;
}
.chat_footer_mini .chat_minimize_button_right
{
    background:  url('../image/rigth_part.png') no-repeat;
    height:35px;
    width: 3px;
    float: left;
}


.chat_footer {
    background:  url('../image/chat_footer.png') no-repeat;
    height: 35px;
    width: 100%;    
}

.chat_minimize_button_left
{
    background:  url('../image/minimize_b_left.png') no-repeat;
    height:35px;
    width: 7px;
    float: left;
}

.chat_minimize_button_center
{
    background:  url('../image/minimize_b_center.png') repeat-x;
    height:35px;
    float: left;
    line-height: 35px;
    /*width: 60px;*/
    
}

.chat_minimize_button_right
{
    background:  url('../image/minimize_b_right.png') no-repeat;
    height:35px;
    width: 6px;
    float: left;
} 

#userCountPanel
{
       background: url('../image/chat_head.png') no-repeat;
       width: 299px;
       height: 35px;
       text-align:center;
       line-height: 35px;
       color: #FFFFFF;
       font-weight:bold;
        
}

#messageTextBox {
    background:  url('../image/chat_message.png') no-repeat;
    background-position: top left;
    border: 1px solid #b9b9b9;
    width: 238px;
    margin: 4px;
    height: 22px;
    line-height: 22px;
    overflow: auto;
    padding-left: 30px;
    font-size: 12px;
}

div.chat_panel div.all_messages
{
    /*float:right; width:180px;*/
}

/********* User Managment panel ************************/
div.chat_panel div.user_mng_panel
{
    width:120px;float: left;
}

div.chat_panel div.user_mng_panel div.user_list_disable{  background-color:Gray; }
div.chat_panel div.user_mng_panel div.user_list_active{ background-color:White; }

div.chat_panel div.user_mng_panel div.user_panel_disable
{
    display:none;
}
div.chat_panel div.user_mng_panel div.user_panel_active{display:block;}

/******* Chat single window****************************/
div.chat_panel div.all_messages div.message_open
{
    /*float:right; 
    width:178px;  
    border-color:Blue; 
    border-style:solid; 
    border-width:1px;*/
    margin: 0 5px;
    padding: 3px;
}

.new_messages, .title_new
{    
    font-weight: bold !important;
    color: Orange !important;
    cursor: pointer !important;
}

li.active
{
    background-color: White;
    color: Blue;
}


.chat_minimize_button_center span
{
    padding-left: 3px;
}

div.chat_panel div.all_messages ul.message_queue
{ 
    height:250px; overflow:auto;
        padding-top:10px;    
}
div.chat_panel div.all_messages div.chat_header{clear:both; height:20px;}
div.chat_panel div.all_messages div.chat_header a.close_chat_window{float:right; display:block; width:15px;}
div.chat_panel div.all_messages div.chat_header {float:left;}


/*  sad but true ((((( */

#userNamePanel {
    float: left; 
    text-align: left; 
    padding: 0 0 0 20px;
    text-transform: capitalize;    
    width: 200px;
}

#userInfo {
    text-transform: capitalize;
    color: #197D4D;
    font-size: 17px;
    font-weight: bold;
    line-height: 60px;
    display:block;
    float:left;
    vertical-align: middle;
    height: 60px;
}

.chat_delim {
    margin: 0;
    background:  url('../image/chat_h_delim.png') no-repeat;
    background-position: center center;
    height: 2px;
    width: 100%;
    clear:both;
}

#userAvatar {
    width: 40px; 
    height: 40px; 
    padding: 15px 15px 14px 5px;
    float:left;
}

.close_chat_window {
    background: url('../image/chat_close.png') no-repeat;
    width: 14px;
    height: 13px;   
    left: 10px;
}

.minimize_chat_window {
    background: url('../image/chat_minimize.png') no-repeat;
    height: 13px;
    width: 13px;
}


.close_chat_window, 
.minimize_chat_window {
    text-decoration: none;
    float: left;
    position: relative;
    top: 12px;
}

.clear_history 
{
    float: left;
    text-align: right;
    padding-right: 5px;
    color: White;
}

.close_chat_window:hover,
.minimize_chat_window:hover,
.clear_history:hover {
    text-decoration: none;
}

.userName { 
    font-weight: bold; 
    color: #197D4D;
}

.chat_minimize_button_center .close_chat_window {
    text-decoration: none;
    background: url('../image/cross.png') no-repeat;
    width: 12px;
    position: static;
    float: left;
    margin: 11px 2px 0 6px;
    height: 12px;       
}

.chat_minimize_button_center .close_chat_window:hover {
    text-decoration: none;
}


#messageList li
{
/*    height: 15px; */
    line-height: 15px;
}

#userMiniNamePanel
{
    float:left;
    color:#848484;
    font-weight: bold;
    text-align:center;
}
#chat_window .selected
{
    color:Orange !important;
    text-decoration:blink;
}
