/*#chat_btn{
    position: fixed;
    bottom: 0;
    right: 10px;
    padding: 10px 15px;
    color: #fff;
    background-color: #496172;
    background-image: linear-gradient(bottom, #31487E 22%, #687FB1 87%);
    background-image: -o-linear-gradient(bottom, #31487E 22%, #687FB1 87%);
    background-image: -moz-linear-gradient(bottom, #31487E 22%, #687FB1 87%);
    background-image: -webkit-linear-gradient(bottom, #31487E 22%, #687FB1 87%);
    background-image: -ms-linear-gradient(bottom, #31487E 22%, #687FB1 87%);

    background-image: -webkit-gradient(
            linear,
            left bottom,
            left top,
            color-stop(0.22, #31487E),
            color-stop(0.87, #687FB1)
    );
    border: 1px solid #7084a9;
    border-bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 0 3px rgba(0,0,0,.7);
    text-align: center;
    cursor: pointer;
    z-index: 100;
}

#chat_btn img{
    margin-left: 5px;
    margin-bottom: -3px;
}

#chat_btn:hover{
    background: #3B5287;
}*/

#chat_btn{
    cursor: pointer;
    position: fixed;
    z-index: 1000;
    top: 50%;
    right: 0;
    margin-top: -82px;
    height: 165px !important;
    width: 31px;
    background: url(../../images/bg_2.png);
}

#chat_btn img{
    margin-left: 5px;
}

.chat_global_status{
    display: block;
    width: 12px;
    height: 12px;
    margin: 10px auto;
    background: url(../img/status.png);
    background-repeat: no-repeat;
}

/*.chat_global_status{
    margin-bottom: -3px;
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    border-radius: 5px;
    background: url(../img/status.png);
    background-repeat: no-repeat;
}*/

.chat_global_status.cgs_true{
    background-position: 0 -12px;
    /*background-color: #44cb47;*/
}

.chat_global_status.cgs_false{
    background-position: 0 0;
    /*background-color: #f43e3e;*/
}

.chat{
    display: none;
    box-shadow: 0 0 10px #607483;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -300px;
    margin-top: -250px;
    width: 600px;
    background: #607483;
    z-index: 10000;
    color: #fff;
    border-radius: 10px;
}

#chat{
    height: auto !important;
    overflow: auto;
    position: relative;
    width: 30%;
    min-width: 360px;
    display: none;
    margin-top: 4px;
    z-index: 1000;
    border-left: 1px solid #c3c2c2;
    background: #fff;
    position: fixed;
    right: 0;
    bottom: 32px;
}

#chat .chat_inner{
    padding: 27px 30px;
    height: 90%;
}

.chat .chat_inner input[type=button]{
    background: #cccdce;
    filter: none;
    border-radius: 5px;
    border: 1px solid #656565;
    color: #000;
    text-shadow: 1px 1px 0 #fff;
    box-shadow: none;
}

.chat .chat_inner input[type=button]:hover{
    background: #f0f1f2;
}

.chat .chat_inner{
    padding: 15px;
}

#chat input[type=text],
#chat textarea{
    width: 97%;
}

.chat input[type=text],
.chat textarea{
    width: 97%;
    padding: 7px;
    border-radius: 3px;
    box-shadow: inset 0 0 5px #bebebe;
    border: 1px solid #bebebe
}

#chat_start_message,
#chat_offline_message{
    height: 130px;
}

.chat_start_message,
.chat_offline_message{
    height: 200px;
}

.chat_label{
    display: block;
    margin: 10px 0 10px 0;
}

#chat_start_form{
    /*overflow: hidden;*/
}

#chat_form{
    margin-top: 20px;
    height: 90%;
}
#chat_form,
#chat_offline_form{
    /*overflow: hidden;*/
    display: none;
}

#chat_messages{
    height: 60%;
}

.chat_messages{
    height: 250px;
}

#chat_messages,
.chat_messages{
    border: 1px solid #bebebe;
    box-shadow: inset 0 0 5px #bebebe;
    margin: 10px 0;
    border-radius: 3px;
    background-color: #fff;
    padding: 10px;
    overflow-y: auto;
}

.chat_message{
    padding: 5px;
    margin: 0 0 10px 0;
}


.c_answer{
    border-radius: 3px;
    background-color: #f4f4f4;
}

.chat_message_autor{
    font-weight: bold;
    /*font-style: italic;*/
    margin-bottom: 3px;
    color: #2e2e2e;
}

.chat_message_autor .time{
    font-size: 12px;
    color: #b0b0b0;
    float: right;
    font-weight: normal;
}

.chat_message:hover{
    border-radius: 3px;
    background: #f9f9f9;
}

/*.chat_message_autor span{
}*/

.chat_message_text{
    /*margin-left: 10px;*/
    color: #737373;
}

.chat .chat_send_btn{
    float: left;
    margin-top: 10px;
}

.chat_btn_send{
    text-align: center;
}

.chat_info_message{
    margin: 0 0 15px 5px;
    /*font-style: italic;*/
    color: #00b3a8;
}

#chat .error_message{
    text-align: center;
    display: block !important;
}

.chat .error_message{
    display: inline-block !important;
    margin-top: 13px;
    margin-left: 5px;
}

#chat .chat_inner input[type=button]:disabled{
    opacity: 0.5;
    cursor: default;
}

.chat .chat_inner input[type=button]:disabled{
    background: #cccdce !important;
    opacity: 0.5;
}

.cim_1{
    color: red;
}

.cim_2{
    color: green;
}

#chat .chat_header{
    position: relative;
}

#chat p{
    margin: 20px 0;
}

.chat_btn_send input{
    margin: 10px 0;
}

.chat .chat_header{
    color: #000; 
    position: relative;
    background: #fff;
    padding: 7px;
    border-radius: 3px;
    cursor: move;
}

#close_chat:hover,
.close_chat:hover{
    background-color: #d5d5d5;
}

#close_chat{
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
    position: absolute;
    top: 15px;
    right: 15px;
}

.close_chat{
    cursor: pointer;
    width: 12px;
    height: 12px;
    background: #e9e9e9; 
    padding: 6px;
    position: absolute;
    right: 5px;
    border-radius: 5px;
    top: 50%;
    margin-top: -12px;
    background-image: url(../img/close_icon.gif);
    background-repeat: no-repeat;
    background-position: center center;
}

#chat_state,
.chat_state{
    display: inline;
}

.admin_connect > div{
    margin-top: 15px;
    color: #333333;
}

.admin_connect > div img{
    margin-right: 20px;
    width: 70px;
    height: 70px;
    border-radius: 40px;
    float: left;
}

.admin_about{
    height: 70px;
    border-spacing: 0;
    border: 0;
    padding: 0;
    margin: 0;
}

.admin_about span{
    font-size: 120%;
}

.admin_about div{
    margin-top: 3px;
    font-size: 90%;
}
