.container-chatbot {
    position: fixed;
    bottom: 0;
    right: 0px;
    z-index: 1072;
}

.chatbot-form {
    height: 400px;
    width: 500px;
    box-shadow: 0px 0px 10px #666666;
    background-color: white;
    border-radius: 5px 5px 0px 0px;
    z-index: 900;
    position: relative;
}

.chatbot-form {
    width: 100%;
}

@media (min-width: 576px) {
    .chatbot-form {
        width: 500px;
        /* margin-left: 10px; */
    }
}

.container-chatbot .head-form {
    background-color: #001f79;
    height: 35px;
    border-bottom: solid #0c74bb 1px;
    border-radius: 5px 5px 0px 0px;
    width: 100%;
}

.container-chatbot .head-form .tieude {
    float: left;
    color: white;
    padding: 9px;
    height: 35px;
    width: calc(100% - 80px);
}

.container-chatbot .head-form .button-close-chatbot {
    color: white;
    height: 35px;
    width: 25px;
}

.container-chatbot .head-form .button-close-chatbot i {
    color: white;
    font-size: 18px;
    margin-top: 8px;
    cursor: pointer;
}

.container-chatbot .list_message {
    height: 325px;
    padding: 20px 5px 20px 5px;
    overflow-y: scroll;
    background-color: #e0eef2;
}

.container-chatbot .list_message::-webkit-scrollbar {
    width: 10px;
}

.container-chatbot .list_message::-webkit-scrollbar-track {
    background-color: #eaebed;
    border-left: solid #d6d6d6 1px;
}

.container-chatbot .list_message::-webkit-scrollbar-thumb {
    background-color: #b2b9c4;
    border-radius: 1.5px;
    background-clip: content-box;
    cursor: pointer;
}

.container-chatbot .input-form {
    bottom: 0px;
    /*height: 50px;*/
    border-top: solid #e8e3e5 1px;
    width: 100%;
}

.container-chatbot .textarea-container {
    position: relative;
    width: 100%;
}

.container-chatbot textarea,
.textarea-size {
    min-height: 40px;
    font-family: sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    padding: 4px;
    border: 1px solid;
    /* overflow: hidden; */
    width: calc(100% - 50px);
    max-height: 100px;
    border: none;
    padding: 10px;
    font-family: roboto;
    font-size: 13px;
}

.container-chatbot textarea {
    height: 100%;
    position: absolute;
    resize: none;
    white-space: normal;
}

.container-chatbot textarea:focus {
    border: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.container-chatbot .textarea-size {
    visibility: hidden;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.button-send_message {
    position: fixed;
    display: block;
    right: 0px;
    bottom: 0px;
    height: 40px;
    width: 50px;
    cursor: pointer;
}

.container-chatbot .item_chat {
    /*background-color: #0c74bb;*/
    padding: 3px;
}

.container-chatbot .item_chat .text {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /*box-shadow: 0px 0px 10px #9c9c9c;*/
    padding: 7px 15px;
    max-width: calc(100% - 50px);
}

.container-chatbot .item_chat .text.bot {
    float: left;
    background-color: #1564e8;
    color: white;
    border-radius: 15px 15px 15px 15px;
}

.container-chatbot .item_chat .text.user {
    float: right;
    border-radius: 15px 15px 15px 15px;
    background-color: #fff;
    text-align: right;
}

.container-chatbot .item_chat.chatting .text {
    background-image: url(../images/lazy-loading.gif);
    height: 30px;
    width: 50px;
    background-position: 7px -3px;
    background-origin: 6px;
    background-size: 36px;
    background-repeat: no-repeat;
    background-color: #1564e8;
    /*background-image: url(../images/resource-loading.gif);*/
    /*height: 30px;*/
    /*width: 50px;*/
    /*background-position: -29px -39px;*/
    /*background-origin: 6px;*/
    /*background-size: 107px;*/
    /*background-repeat: no-repeat;*/
    /*background-color: #dcdcdc;*/
}

.container-chatbot .item_chat .text a,
.container-chatbot .item_chat .text a * {
    color: white;
}

.container-chatbot .item_chat .text a:hover,
.container-chatbot .item_chat .text a:hover * {
    text-decoration: underline;
}

.div-btn-chatbot {
    margin-left: -15px;
    margin-right: -15px;
    background-color: #dceaf9;
    border-radius: 0px 0px 15px 15px;
    border: solid #b8cbdc 1px;
    margin-bottom: -10px;
    padding: 0px 0px 5px 0px;
    margin-top: 5px;
    text-align: center;
}

.btn-link-chatbot {
    background-color: #ffffff;
    color: #2f8bdf !important;
    border-bottom: none;
    border: solid #dadada 1px;
    margin: 5px 7px 0px 7px;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 5px;
}

.btn-link-chatbot:hover {
    background-color: #2f8bdf;
    color: white !important;
    text-decoration: none !important;
    cursor: pointer;
}