/* 浮動聊天視窗 */
.div-shadow {
    -moz-box-shadow: 1px 1px 1px rgba(10%, 10%, 20%, 0.3), 2px 2px 3px rgba(10%, 10%, 20%, 0.2), 3px 3px 6px rgba(10%, 10%, 20%, 0.2);
    -webkit-box-shadow: 1px 1px 1px rgba(10%, 10%, 20%, 0.3), 2px 2px 3px rgba(10%, 10%, 20%, 0.2), 3px 3px 6px rgba(10%, 10%, 20%, 0.2);
    box-shadow: 1px 1px 1px rgba(10%, 10%, 20%, 0.3), 2px 2px 3px rgba(10%, 10%, 20%, 0.2), 3px 3px 6px rgba(10%, 10%, 20%, 0.2);
}

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.float-chat-box {
    position: fixed;
    width: 135px;
    height: 30px;
    bottom: 0px;
    right: 20px;
    background: #fff;
    z-index: 9999;
    border: 1px solid rgba(208, 108, 29, 0.4);
    border-bottom: 0px;
    border-radius: 10px 10px 0px 0px;
}

.float-chat-box .box-title {
    cursor: pointer;
    background: url(../Image/jquery-float-chat/chat_icon.png) no-repeat 20px 9px, #D06C1D;
    border-radius: 10px 10px 0px 0px;
    height: 30px;
    line-height: 31px;
    color: #fff;
    padding-left: 50px;
    font-size: 16px;
}

.float-chat-box .chat-content {
}

.float-chat-box .chat-header {
    padding: 10px;
    background: linear-gradient(top, #D06C1D, #FFFFFF);
    background: -moz-linear-gradient(top, #D06C1D, #FFFFFF);
    background: -webkit-linear-gradient(top, #D06C1D, #FFFFFF);
    filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#D06C1D', endColorstr='#FFFFFF');
}

.float-chat-box .chat-content-list {
}

.float-chat-box .user-name {
    margin-bottom: 10px;
    height: 25px;
    line-height: 25px;
    color: #fff;
}

.float-chat-box .chat-online {
    background: url(../Image/jquery-float-chat/chat_online.png) no-repeat 0px 5px;
    padding-left: 20px;
}

.float-chat-box .chat-offline {
    background: url(../Image/jquery-float-chat/chat_offline.png) no-repeat 0px 5px;
    padding-left: 20px;
    color: #888;
}

.float-chat-box .active-switch {
    float: right;
    margin-top: 4px;
    margin-right: 4px;
    position: relative;
    width: 30px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.float-chat-box .active-switch input[type=checkbox] {
    display: none;
}

.float-chat-box .active-switch label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    height: 15px;
    padding: 0;
    line-height: 15px;
    border: 2px solid #CCCCCC;
    border-radius: 15px;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease-in;
}

.float-chat-box .active-switch label:before {
    content: "";
    display: block;
    width: 15px;
    margin: 0px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 11px;
    border: 2px solid #CCCCCC;
    border-radius: 15px;
    transition: all 0.3s ease-in 0s;
}

.float-chat-box .active-switch input[type=checkbox]:checked + label {
    background-color: #49E845;
}

.float-chat-box .active-switch input[type=checkbox]:checked + label,
.float-chat-box .active-switch input[type=checkbox]:checked + label:before {
    border-color: #37A233;
}

.float-chat-box .active-switch input[type=checkbox]:checked + label:before {
    right: 0px;
}

.float-chat-box .search-input input {
    background: url(../Image/jquery-float-chat/search_icon.png) no-repeat 5px 5px, #fff;
    padding-left: 25px;
    width: 150px;
    height: 25px;
    line-height: 25px;
    border: 1px solid #aaa;
    border-radius: 5px;
}

.float-chat-box .call-service {
    cursor: pointer;
    background: url(../Image/jquery-float-chat/service_icon.png) no-repeat 10px 4px, #CAE7F8;
    padding-left: 50px;
    margin-top: 10px;
    text-align: left;
    width: 125px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #aaa;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bolder;
    color: #2E3E4E;
}

.float-chat-box .call-service: hover {
    background: url(../Image/jquery-float-chat/service_icon.png) no-repeat 10px 4px, #DAF7FF;
}

.float-chat-box .call-service: active {
    background: url(../Image/jquery-float-chat/service_icon.png) no-repeat 10px 4px, #A8C5D6;
}

.float-chat-box .user-list-area {
    margin-top: 10px;
    max-height: 215px;
    overflow-y: auto;
    overflow-x: hidden;
}

.float-chat-box .user-list {
    margin-left: 10px;
    margin-bottom: 10px;
    height: 30px;
    overflow: hidden;
}

.float-chat-box .user-list .user-list-folder {
    cursor: pointer;
    font-size: 15px;
    padding-left: 23px;
    margin-bottom: 10px;
}

.float-chat-box .user-list .user-list-folder.open {
    background: url(../Image/jquery-float-chat/user_list_arrow_open.png) no-repeat -9px -6px;
}

.float-chat-box .user-list .user-list-folder.close {
    background: url(../Image/jquery-float-chat/user_list_arrow_close.png) no-repeat -9px -6px;
}

.float-chat-box .user-list .item-user {
    cursor: pointer;
    margin-left: 20px;
    height: 25px;
    overflow-x: hidden;
    text-overflow: ellipsis;
    line-height: 25px;
}

.float-chat-message {
    position: fixed;
    width: 130px;
    height: 30px;
    bottom: 0px;
    right: 170px;
    background: #fff;
    z-index: 9999;
    border: 1px solid rgba(208, 108, 29, 0.4);
    border-bottom: 0px;
    border-radius: 10px 10px 0px 0px;
}

.float-chat-message .message-title {
    z-index: 10000;
    cursor: pointer;
    background: #D06C1D;
    border-radius: 10px 10px 0px 0px;
    height: 30px;
    line-height: 31px;
    color: #fff;
    padding-left: 18px;
    font-size: 16px;
}

.float-chat-message .message-title .title-name {
    float: left;
    height: 30px;
}

.float-chat-message .message-title .set-bottom {
    cursor: pointer;
    float: right;
    width: 21px;
    height: 21px;
    margin-top: 4px;
    margin-right: 4px;
    background: url(../Image/jquery-float-chat/set_bottom.png) no-repeat 0px 9px;
}

.float-chat-message .message-title .set-bottom: hover {
    background: url(../Image/jquery-float-chat/set_bottom.png) no-repeat 0px 9px, #F3A103;
}

.float-chat-message .message-title .set-hidden {
    cursor: pointer;
    float: right;
    width: 21px;
    height: 21px;
    margin-top: 4px;
    margin-right: 8px;
    background: url(../Image/jquery-float-chat/set_hidden.png) no-repeat 0px 1px;
}

.float-chat-message .message-title .set-hidden: hover {
    background: url(../Image/jquery-float-chat/set_hidden.png) no-repeat 0px 1px, #F3A103;
}

.float-chat-message .message-title .unread-count {
    float: left;
    margin: 5px 0px 0px 5px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    border: 1px solid #AA6666;
    background: #FF0000;
    border-radius: 10px;
}

.float-chat-message .room-list {
    border: 1px solid #ddd;
    border-right: 0px;
    margin-top: 5px;
    margin-left: 5px;
    background: #e9eaed;
    float: left;
    width: 173px;
    overflow-x: hidden;
    direction: ltr;
}

.float-chat-message .room-list .scroll-left {
    height: 360px;
    direction: rtl;
    overflow-y: scroll;
    overflow-x: hidden !important;
}

.float-chat-message .room-item {
    background: #e9eaed;
    color: #333;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    width: 145px;
    text-align: left;
}

.float-chat-message .room-item: hover {
    background: #ECF9FA;
    height: 28px;
    line-height: 28px;
    border: 1px solid #999;
    width: 140px;
    padding-left: 10px;
}

.float-chat-message .room-item.selected {
    background: #fff;
    cursor: default;
    height: 28px;
    width: 140px;
    padding-left: 10px;
    line-height: 28px;
    border: 1px solid #999;
    border-right: 0px;
    border-top: 0px;
    border-radius: 5px 0px 0px 5px;
}

.float-chat-message .room-item.hidden {
    display: none;
}

.float-chat-message .room-item .room-name {
    float: left;
    height: 28px;
    width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: ltr;
}

.float-chat-message .room-item .room-close {
    float: right;
    cursor: pointer;
    background: url(../Image/jquery-float-chat/chat_close.png) no-repeat 4px 4px;
    height: 28px;
    width: 28px;
}

.float-chat-message .room-item .unread-count {
    float: left;
    margin-top: 3px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    border: 1px solid #AA6666;
    background: #FF0000;
    color: #fff;
    border-radius: 10px;
}

.float-chat-message .room-content {
    float: right;
    height: 370px;
    width: 330px;
}

.float-chat-message .loading {
    background: url(../Image/jquery-float-chat/loading.gif) no-repeat 150px 165px;
    height: 370px;
    width: 330px;
}

.float-chat-message .room-data {
    background: #FFFFFF;
    height: 370px;
    width: 330px;
}

.float-chat-message .service-close {
    height: 70px;
    margin-top: 10px;
    margin-left: 10px;
}

.float-chat-message .service-close .row {
    height: 20px;
    margin: 5px;
}

.float-chat-message .service-close .btn {
    cursor: pointer;
    float: right;
    height: 22px;
    width: 50px;
    line-height: 22px;
    text-align: center;
    margin-top: -2px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bolder;
}

.float-chat-message .service-close .cancel-btn {
    background: #FFFFFF;
    color: #000000;
}

.float-chat-message .service-close .cancel-btn:hover {
    background: #DDDDDD;
}

.float-chat-message .service-close .cancel-btn:active {
    background: #AAAAAA;
}

.float-chat-message .service-close .confirm-btn {
    background: #FF3333;
    color: #FFFFFF;
}

.float-chat-message .service-close .confirm-btn:hover {
    background: #FF6666;
}

.float-chat-message .service-close .confirm-btn:active {
    background: #FF0000;
}

.float-chat-message .room-message-list {
    background: #e9eaed;
    margin: 5px;
    height: 270px;
    width: 318px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    overflow-x: hidden;
    overflow-y: scroll;
}

.float-chat-message .room-message-list ul li {
    display: inline-block;
    width: 290px;
    min-height: 26px;
    margin: 3px;
}

.float-chat-message .room-message-list ul li div.message {
    line-height: 24px;
    border: 1px solid #aaa;
    border-radius: 5px;
    max-width: 200px;
    word-wrap: break-word;
    padding: 0px 5px 0px 5px;
}

.float-chat-message .room-message-list ul li div.message .photo {
    cursor: pointer;
    margin-top: 6px;
    max-width: 150px;
}

.float-chat-message .room-message-list ul li div.message .face {
    margin-bottom: -6px;
}

.float-chat-message .room-message-list ul li div.time {
    width: 280px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    color: #777;
}

.float-chat-message .room-message-list ul li .right {
    float: right;
    background: linear-gradient(top, #CAE7F8, #A8C5D6);
    background: -moz-linear-gradient(top, #CAE7F8, #A8C5D6);
    background: -webkit-linear-gradient(top, #CAE7F8, #A8C5D6);
    filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#CAE7F8', endColorstr='#A8C5D6');
}

.float-chat-message .room-message-list ul li .left {
    float: left;
    background: linear-gradient(top, #FFFFFF, #E3E3E3);
    background: -moz-linear-gradient(top, #FFFFFF, #E3E3E3);
    background: -webkit-linear-gradient(top, #FFFFFF, #E3E3E3);
    filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFFFFF', endColorstr='#E3E3E3');
}

.float-chat-message .room-input-area {
    margin: 5px;
    height: 70px;
    width: 320px;
}

.float-chat-message .room-input-area .tool-bar {
    cursor: default;
    height: 25px;
    width: 320px;
    font-size: 12px;
}

.float-chat-message .room-input-area .tool-face {
    float: left;
    cursor: pointer;
    background: url(../Image/jquery-float-chat/chat_face.png) no-repeat;
    height: 22px;
    width: 22px;
    margin-left: 10px;
    margin-right: 50px;
}

.float-chat-message .room-input-area .tool-face:hover {
    background: url(../Image/jquery-float-chat/chat_face.png) no-repeat;
    height: 20px;
    width: 20px;
    border: 1px solid #555;
    margin-left: 9px;
    margin-right: 51px;
}

.float-chat-message .room-input-area .tool-face:active {
    background: url(../Image/jquery-float-chat/chat_face.png) no-repeat, #bbb;
}

.float-chat-message .room-input-area .tool-selector {
    float: right;
}

.float-chat-message .room-input-area .tool-close {
    float: right;
    width: 50px;
    border: 1px solid #aaa;
    text-align: center;
    font-weight: bolder;
    margin-left: 5px;
    background: #f33;
    color: #fff;
    cursor: pointer;
}

.float-chat-message .room-input-area .tool-close:hover {
    background: #f66;
}

.float-chat-message .room-input-area .tool-close:active {
    background: #f00;
}

.float-chat-message .room-input-area #facebox {
    border: 2px solid #ccc;
    background: #fff;
    padding: 8px;
}

.float-chat-message .room-input-area #facebox img {
    margin: 2px;
    cursor: pointer;
    height: 26px;
    width: 26px;
}

.float-chat-message .room-input-area #facebox img: hover {
    height: 24px;
    width: 24px;
    border: 1px solid #999;
}

.float-chat-message .room-input-area #chat_textarea {
    font-size: 15px;
    padding: 5px;
    height: 38px;
    width: 308px;
    border: 1px solid #ddd;
    overflow-x: hidden;
    overflow-y: auto;
}

.float-chat-message .room-input-area #chat_textarea img {
    margin-bottom: -6px;
}