.liveChat {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 300px;
    background-color: #FFFFFF;
    z-index: 9999;
    border: 1px #E4E4E4 solid;
}

.liveChat .header {
    background-color: #287484;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
}

.liveChat #messageBox {
    height: 220px;
    padding: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    display: none;
    font-size: 13px;
}

.liveChat #customerInfo > button[type=submit] {
    margin-top: 10px;
    background-color: #287484;
}

.liveChat #customerInfo span.error {
    color: red;
    display: block;
}

.liveChat #registerForm {
    padding: 20px;
    display: none;
}

.liveChat #messageBox ul li {
    list-style: none;
}

.liveChat .handle, .liveChat #restoreBtn {
    display: inline-block;
    width: 15px;
    height: 15px;
    color: #FFFFFF;
    float: right;
}

.liveChat .handle:hover, .liveChat #restoreBtn:hover {
    cursor: pointer;
}

.liveChat #restoreBtn {
    display: none;
}

.liveChat form {
    margin-top: 20px;
    position: relative;
}

.liveChat input[type="text"]{
    height: 40px;
    padding-right: 35px;
    font-size: 13px;
}

#waiting > p:first-letter {
    text-transform:capitalize;
}

#messageBox .imMessage {
    margin-left: 5px;
}

.liveChat #messageBox .my-message {
    color: #0995FF;
}

.liveChat #messageBox .their-message {
    color: #ff2f5d;
    font-size: 13px;
}

.liveChat #messageBox .username {
    font-weight: bold;
    float: left;
}

.liveChat.kandy_hidden .liveChatBody, .liveChat.kandy_hidden .handle{
    display: none;
}

.liveChat.kandy_hidden #restoreBtn {
    display: inline-block;
    margin-top: 7px;
}

.liveChat .formChat {
    padding: 0 10px;
    display: none;
}

.send-file {
    position: absolute;
    right: 4px;
    top: 8px;
}

.send-file > input {
    display: none;
}

.send-file span.icon-file {
    background: #c4ccbe url(../img/icon-file-black.png) no-repeat center center;
    display: none;
    width: 25px;
    height: 25px;
    background-size: 15px 15px;
    border-radius: 50%;
    cursor: pointer;
}

.send-file span.icon-file:hover {
    background-color: #8b9ba5;
}

.imMessage {
    display: inline-block;
}

.imMessage img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    display: block;
}
.imMessage .icon-download {
    cursor: pointer;
    color: #007acc;
    font-size: 13px;
    float: left;
}

.liveChat #restoreBtn {
    border: 2px #FFFFFF solid;
}

.liveChat .customerService {
    padding: 10px 20px;
    background-color: #f6f6f6;
    height: 70px;
    display: none;
}

.liveChat #btnSendRate {
    margin-top: 15px;
}

.liveChat .customerService .helpdeskInfo .title {
    font-size: 13px;
    line-height: 10px;
    padding-top: 5px;
}

.liveChat .customerService .avatar {
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 10px;
}

.liveChat #waiting {
    background-color: #E4E4E4;
    width: 300px;
    height: 300px;
    padding: 100px 30px;
    text-align: center;
    display: none;
}

.liveChat .helpdeskInfo #agentName {
    font-size: 16px;
    font-weight: bold;
}

.liveChat .liveChatBody {
}

.liveChat #ratingForm {
    padding: 20px;
    display: none;
}

.liveChat #ratingForm .message {
    display: none;
}