.chat-container {
    position: fixed;
    right: -154px;
    top: 50px;
    bottom: 0;
    width: 200px;
    background-color: white;
    border-left: 1px solid #e3dfdf;
    border-top: 1px solid #e3dfdf;
    z-index: 200;
    transition: right 0.5s ease 1s;
    overflow: hidden;
}

.chat-container:hover {
    right: 0;
}

.chat-container .chat-list-container {
    position: absolute;
    top: 0;
    bottom: 30px;
    width: 100%;
    background-color: #fdfdfd;
}

.chat-container .chat-list-container .chat-list-view {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 192px;
}

.chat-container .chat-list-container .chat-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 192px;
    background-color: #fdfdfd;
}

.chat-container .chat-list-container .chat-list .chat-alert {
    position: absolute;
    top: 0px;
    width: 5px;
    height: 40px;
    left: 0px;
}

.chat-container .chat-list-container .chat-list .online {
    background-color: #23b84a;
}

.chat-container .chat-list-container .chat-list .offline {
    background-color: #ffd44d;
}

.chat-container .chat-list-container .chat-list .chat-list-item-title {
    position: relative;
    padding: 5px;
    font-family: helvetica, arial, sans-serif;
    font-size: 12px;
    /*background-color: #9f9f9f;*/
    background-color: #5078bf;
    border-bottom: 1px solid #e3dfdf;
    cursor: pointer;
    color: white;
}

.chat-container .chat-list-container .chat-list .chat-list-item-title:hover {
    /*background-color: #b5b5b5;*/
    background-color: #4A66A7;
}

.chat-container .chat-list-container .chat-list .chat-list-item-title .count-student {
    float: right;
}

.chat-container .chat-list-container .chat-list .chat-list-item {
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 5px;
    border-top: 1px solid #fdfdfd;
    border-bottom: 1px solid #fdfdfd;
    cursor: pointer;

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

.chat-container .chat-list-container .chat-list .chat-list-item:hover {
    border-top: 1px solid #e3dfdf;
    border-bottom: 1px solid #e3dfdf;
}

.chat-container .chat-list-container .chat-list .chat-list-item .unread {
    position: absolute;
    left: 0;
    top: 0;
    padding: 2px;
    font-size: 10px;
    font-family: helvetica, arial, sans-serif;
    background-color: #970500;
    border-radius: 2px;
    color: white;
}

.chat-container .chat-list-container .chat-list .chat-list-item img {
    width: 30px;
    height: 30px;
}

.chat-container .chat-list-container .chat-list .chat-list-item .username {
    width: 130px;
    font-size: 12px;
    font-family: helvetica, arial, sans-serif;
    display: inline-block;
    margin-left: 4px;
}

.chat-container .chat-list-container .chat-list .chat-list-item .fa-dot-circle-o {
    position: absolute;
    top: 2px;
    left: 7px;
    color: red;
    border-radius: 50%;
    background-color: white;
}

.chat-container .chat-list-container .chat-scrollbar {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 8px;
    background-color: rgba(140, 140, 140, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.chat-container .chat-list-container .chat-scrollbar .chat-scrollbar-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    border-radius: 4px;
    background-color: #6b6b6b;
    cursor: pointer;
}

.chat-search-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    background-color: #f6f6f6;
    border-top: 1px solid #e3dfdf;
    overflow: hidden;
}

.chat-search-container .chat-search-icon {
    height: 100%;
    display: block;
    width: 25px;
    text-align: center;
    float: left;
    padding: 2px 3px;
    color: #bababa;
}

.chat-search-container input {
    float: left;
    height: 100%;
    width: 174px;
    font-family: candara;
    font-size: 14px;
    box-sizing: border-box;
    border: 0;
    padding-left: 3px;
}

.chat-search-container input:focus {
    outline: 0;
}

.chat-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(143, 162, 255, 0.5);
    opacity: 0.5;
}

.chat-loader .loading-wrapper {
    background-color: rgba(143, 162, 255, 0.5);
}

/*==============================================*/
/*==============================================*/
/*======================CHAT SESSION============*/
/*==============================================*/
/*==============================================*/

.chat-session {
    position: fixed;
    bottom: -231px;
    right: 230px;
    width: 285px;
    height: 260px;
    background-color: white;
    z-index: 200;
    box-shadow: 0 0 4px;
    cursor: pointer;
}

.chat-session-show {
    bottom: 0;
}

.chat-session .chat-session-title {
    position: relative;
    padding: 6px 10px;
    font-size: 12px;
    color: white;
    font-family: arial;
    background-color: #5078bf;
}

.chat-session .chat-session-title .fa-circle {
    margin-right: 5px;
    font-size: 10px;
}

.chat-session .chat-session-title .online {
    color: #23b84a;
}

.chat-session .chat-session-title .offline {
    color: #ffd44d;
}

.chat-session .chat-session-title .fa-times {
    float: right;
    font-size: 13px;
    color: #ececec;
    cursor: pointer;
    font-weight: normal;
}

.chat-session .chat-session-title .fa-times:hover {
    color: white;
}

.chat-session .chat-session-title:hover {
    background-color: #4A66A7;
}

.chat-session .chat-session-content {
    position: relative;
    width: 100%;
    height: 201px;
    background-color: #E9EAED;
    overflow-y: scroll;
    padding-bottom: 10px;
}

.chat-session .chat-session-content .their-message, .chat-session .chat-session-content .my-message {
    position: relative;
    width: 100%;
    padding: 2px 5px;
}

.chat-session .chat-session-content .their-message {
    float: left;
}

.chat-session .chat-session-content .their-message img {
    float: left;
}

.chat-session .chat-session-content .their-message .message-content {
    position: relative;
    float: left;
    margin-top: 4px;
    max-width: 200px;
    padding: 2px 5px;
    margin-left: 5px;
    background-color: white;
    display: inline-block;
    border: 1px solid #d8d8d8;
    font-family: helvetica, arial, sans-serif;
    font-size: 12px;
    border-radius: 4px;
    word-wrap: break-word;
    cursor: auto;
}

.chat-session .chat-session-content .their-message .message-content .time {
    font-size: 10px;
    font-weight: bold;
    display: none;
}

.message-arrow-left {
    position: absolute;
    top: 14px;
    left: 41px;
    width: 6px;
    height: 6px;
    background-color: white;
    transform: rotate(-45deg);
    border-top: 1px solid #d8d8d8;
    border-left: 1px solid #d8d8d8;
}

.message-arrow-right {
    position: absolute;
    top: 14px;
    right: 7px;
    width: 6px;
    height: 6px;
    background-color: #C9DFFE;
    transform: rotate(-45deg);
    border-right: 1px solid #b4c9e8;
    border-bottom: 1px solid #b4c9e8;
}

.chat-session .chat-session-content .my-message .message-content {
    position: relative;
    float: right;
    margin-top: 4px;
    text-align: left;
    max-width: 200px;
    padding: 2px 5px;
    margin-right: 5px;
    background-color: #C9DFFE;
    display: inline-block;
    border: 1px solid #b4c9e8;
    font-family: helvetica, arial, sans-serif;
    font-size: 12px;
    border-radius: 4px;
    word-wrap: break-word;
    cursor: auto;
}

.chat-session .chat-session-content .my-message .message-content .time {
    font-size: 10px;
    font-weight: bold;
    display: none;
}

.chat-session .chat-session-input {
    position: relative;
    width: 100%;
    height: 30px;
    border-top: 1px solid #ccc;
}

.chat-session .chat-session-input input[type='text'] {
    height: 100%;
    width: 90%;
    border: 0;
    float: left;
    padding: 0 3px;
    font-size: 13px;
}

.chat-session .chat-session-input .icon {
    height: 100%;
    width: 10%;
    border: 0;
    float: left;
    padding: 0 3px;
    font-size: 13px;
    text-align: center;
}

.chat-session .chat-session-input .icon .fa-smile-o {
    position: relative;
    margin: 2px auto;
    margin-top: 8px;
    color: #606060;
}

.chat-session .chat-session-input .icon .fa-smile-o:hover {
    color: black;
}

.chat-session .chat-session-input input:focus {
    outline: 0;
}

.chat-session .chat-session-input button {
    width: 55px;
    height: 100%;
    float: left;
    background-color: #5078bf;
    border: 1px solid #43538d;
    color: white;
    font-size: 12px;
}

.chat-session .chat-session-input button:hover {
    background-color: #4A66A7;
}

.alert-animate {
    animation: alert-animate 0.2s linear 0s infinite alternate;
}

@keyframes alert-animate {
    from {
        background-color: red
    }
    to {
        background-color: #7d0200
    }
}

@-webkit-keyframes alert-animate {
    from {
        background-color: red
    }
    to {
        background-color: #7d0200
    }
}