.chat-shortcut {
    position: fixed;
    z-index: 1;
    background: #333333;
    right: 20px;
    line-height: 1;
    bottom: 70px;
    text-align: center;
    padding-top: 5px;
    width: 40px;
    height: 40px;
    border: 1px solid #666666;
}

.chat-shortcut:hover {
    background: #000000;
}

.chat-shortcut .badge {
    background: #df2607;
    color: #FFFFFF;
    position: absolute;
    font-size: 10px;
    right: 1px;
    top: 3px;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    line-height: 1.6;
    padding: 0;
    text-align: center;
}

.chat-bot-container {
    width: 100%;
    max-width: 290px;
    position: fixed;
    right: 15px;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.15) !important;
}

.chat-shortcut a:hover,
.chat-shortcut a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
}

.direct-chat .card-body {
    overflow-x: hidden;
    padding: 0;
    position: relative;
}

.direct-chat.chat-pane-open .direct-chat-contacts {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.direct-chat.timestamp-light .direct-chat-timestamp {
    color: #30465f;
}

.direct-chat.timestamp-dark .direct-chat-timestamp {
    color: #ccc;
}

.direct-chat-messages {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    height: 250px;
    overflow: auto;
    padding: 10px;
}

.direct-chat-msg,
.direct-chat-text {
    display: block;
}

.direct-chat-msg {
    margin-bottom: 10px;
}

.direct-chat-msg::after {
    display: block;
    clear: both;
    content: "";
}

.direct-chat-contacts,
.direct-chat-messages {
    transition: -webkit-transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
}

.direct-chat-text {
    border-radius: 0.3rem;
    background: #d2d6de;
    border: 1px solid #d2d6de;
    color: #444;
    margin: 5px 0 0 50px;
    padding: 5px 10px;
    position: relative;
}

.direct-chat-text::after,
.direct-chat-text::before {
    border: solid transparent;
    border-right-color: #d2d6de;
    content: " ";
    height: 0;
    pointer-events: none;
    position: absolute;
    right: 100%;
    top: 15px;
    width: 0;
}

.direct-chat-text::after {
    border-width: 5px;
    margin-top: -5px;
}

.direct-chat-text::before {
    border-width: 6px;
    margin-top: -6px;
}

.right .direct-chat-text {
    margin-left: 0;
    margin-right: 50px;
}

.right .direct-chat-text::after,
.right .direct-chat-text::before {
    border-left-color: #d2d6de;
    border-right-color: transparent;
    left: 100%;
    right: auto;
}

.direct-chat-img {
    border-radius: 50%;
    float: left;
    height: 40px;
    width: 40px;
}

.right .direct-chat-img {
    float: right;
}

.direct-chat-infos {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.direct-chat-name {
    font-weight: 600;
}

.direct-chat-timestamp {
    color: #697582;
}

.card-header>.card-tools {
    float: right;
    margin-right: -0.625rem;
}

.card-header>.card-tools .input-group,
.card-header>.card-tools .nav,
.card-header>.card-tools .pagination {
    margin-bottom: -0.3rem;
    margin-top: -0.3rem;
}

.card-danger:not(.card-outline) .card-header {
    background-color: #df2607;
}

.card-danger:not(.card-outline) .card-header,
.card-danger:not(.card-outline) .card-header a {
    color: #fff;
}

.card-danger:not(.card-outline) .card-header a.active {
    color: #1f2d3d;
}

.card-danger.card-outline {
    border-top: 3px solid #df2607;
}

.card-danger.card-outline-tabs .card-header a:hover {
    border-top: 3px solid #dee2e6;
}

.card-danger.card-outline-tabs .card-header a.active {
    border-top: 3px solid #df2607;
}

.bg-danger .btn-tool,
.bg-gradient-danger .btn-tool,
.card-danger:not(.card-outline) .btn-tool {
    color: rgba(255, 255, 255, 0.8);
}

.bg-danger .btn-tool:hover,
.bg-gradient-danger .btn-tool:hover,
.card-danger:not(.card-outline) .btn-tool:hover {
    color: #fff;
}

.direct-chat .btn {
    min-width: unset;
    border-radius: 5px;
}

.card-title {
    float: left;
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}

.direct-chat .form-control[type="text"],
.direct-chat .form-control[type="email"],
.direct-chat textarea {
    background: #FFF !important;
    border: 1px solid #cccccc !important;
}