#center-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#chat-circle {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background: #5a5eb9;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    color: white;
    padding: 28px;
    cursor: pointer;
    box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.6),
        0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.btn#my-btn {
    background: white;
    padding-top: 13px;
    padding-bottom: 12px;
    border-radius: 45px;
    padding-right: 40px;
    padding-left: 40px;
    color: #5865c3;
}
#chat-overlay {
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: none;
}

.chat-box {
    display: none;
    background: #efefef;
    position: fixed;
    z-index: 999;
    right: 30px;
    bottom: 50px;
    width: 350px;
    max-width: 85vw;
    max-height: 100vh;
    border-radius: 5px;
    /*   box-shadow: 0px 5px 35px 9px #464a92; */
    box-shadow: 0px 0px 12px 0px #00000047;
}
.chat-box-toggle {
    float: right;
    margin-right: 15px;
    cursor: pointer;
}
.chat-box-header {
    background: #5a5eb9;
    height: 70px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: white;
    text-align: center;
    font-size: 20px;
    padding-top: 17px;
}
.chat-box-body {
    position: relative;
    height: 370px;
    height: auto;
    border: 1px solid #ccc;
    overflow: hidden;
}
.chat-box-body:after {
    content: "";
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAgOCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBzdHJva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wMDAiIGN4PSIxMy41IiBjeT0iMjMuNSIgcj0iMS41Ii8+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTkzIDcxaDN2M2gtM3ptMzMgODRoM3YzaC0zem0tODUgMThoM3YzaC0zeiIvPjxwYXRoIGQ9Ik0zOS4zODQgNTEuMTIybDUuNzU4LTQuNDU0IDYuNDUzIDQuMjA1LTIuMjk0IDcuMzYzaC03Ljc5bC0yLjEyNy03LjExNHpNMTMwLjE5NSA0LjAzbDEzLjgzIDUuMDYyLTEwLjA5IDcuMDQ4LTMuNzQtMTIuMTF6bS04MyA5NWwxNC44MyA1LjQyOS0xMC44MiA3LjU1Ny00LjAxLTEyLjk4N3pNNS4yMTMgMTYxLjQ5NWwxMS4zMjggMjAuODk3TDIuMjY1IDE4MGwyLjk0OC0xOC41MDV6IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS4yNSIvPjxwYXRoIGQ9Ik0xNDkuMDUgMTI3LjQ2OHMtLjUxIDIuMTgzLjk5NSAzLjM2NmMxLjU2IDEuMjI2IDguNjQyLTEuODk1IDMuOTY3LTcuNzg1LTIuMzY3LTIuNDc3LTYuNS0zLjIyNi05LjMzIDAtNS4yMDggNS45MzYgMCAxNy41MSAxMS42MSAxMy43MyAxMi40NTgtNi4yNTcgNS42MzMtMjEuNjU2LTUuMDczLTIyLjY1NC02LjYwMi0uNjA2LTE0LjA0MyAxLjc1Ni0xNi4xNTcgMTAuMjY4LTEuNzE4IDYuOTIgMS41ODQgMTcuMzg3IDEyLjQ1IDIwLjQ3NiAxMC44NjYgMy4wOSAxOS4zMzEtNC4zMSAxOS4zMzEtNC4zMSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuMjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvZz48L3N2Zz4=");
    opacity: 0.1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    position: absolute;
    z-index: -1;
}
#chat-input {
    background: #f4f7f9;
    width: 100%;
    position: relative;
    height: 47px;
    padding-top: 10px;
    padding-right: 50px;
    padding-bottom: 10px;
    padding-left: 15px;
    border: none;
    resize: none;
    outline: none;
    border: 1px solid #ccc;
    color: #888;
    border-top: none;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    overflow: hidden;
}
.chat-input > form {
    margin-bottom: 0;
}
#chat-input::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #ccc;
}
#chat-input::-moz-placeholder {
    /* Firefox 19+ */
    color: #ccc;
}
#chat-input:-ms-input-placeholder {
    /* IE 10+ */
    color: #ccc;
}
#chat-input:-moz-placeholder {
    /* Firefox 18- */
    color: #ccc;
}
.chat-submit {
    position: absolute;
    bottom: 3px;
    right: 10px;
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 50%;
    color: #5a5eb9;
    width: 35px;
    height: 35px;
}
.chat-logs {
    padding: 15px;
    height: 370px;
    overflow-y: scroll;
    margin: 4px 0 6px 0;
}

@media only screen and (max-width: 500px) {
    .chat-logs {
        height: 40vh;
        margin: 4px 0 6px 0;
    }
}

.chat-msg.user > .msg-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    float: left;
    width: 15%;
}
.chat-msg.self > .msg-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    float: right;
    width: 15%;
}
.cm-msg-text {
    background: #afb3f3;
    padding: 6px 15px 7px 15px;
    color: #2e2e2e;
    max-width: 80%;
    float: left;
    margin-left: 0px;
    position: relative;
    margin-bottom: 6px;
    border-radius: 30px;
    font-size: 14px;
}
.chat-msg {
    clear: both;
}
.chat-msg.self > .cm-msg-text {
    float: right;
    margin-right: 10px;
    background: #22268d;
    color: white;
}

.chat-msg.self > .cm-msg-text:hover {
    cursor: pointer;
}
.cm-msg-button > ul > li {
    list-style: none;
    float: left;
    width: 50%;
}
.cm-msg-button {
    clear: both;
    margin-bottom: 70px;
}

.chat-message:hover {
    cursor: pointer;
    background-color: #5a5eb9;
    color: white;
}

#cm-msg {
    padding-left: 16px;
}
#cm-msg:nth-child(1) {
    padding-left: 0px;
}

#cm-msg:nth-child(1) .chat-message {
    background-color: #fff;
    color: #2e2e2e;
}

#cm-msg:nth-child(1) .chat-message:hover {
    background-color: #fff;
    color: #2e2e2e;
}

#chat-circle i.bi-chat-square-dots {
    font-size: 24px;
    vertical-align: top;
    position: relative;
    bottom: 5px;
}
.second-step {
    /* padding-left: 34px; */
    padding-left: 0px;
}

p.hr {
    width: 100%;
    height: 0px;
    border-top: 1px solid #afafaf;
    margin: 4px;
}

div#cm-msg-11:last-child {
    margin-bottom: 42px;
}
div#cm-msg-11:last-child:after {
    border-bottom: 1px solid #000;
}

.chat-msg.self .cm-msg-text.chat-message {
    float: right;
    background: #070d6e;
    color: #fff;
}

#cm-msg-self611 .chat-message-self,
#cm-msg-self221 .chat-message-self {
    background: #ccc;
    border-radius: 0;
    label {
        color: #29158d;
    }
}

#cm-msg-self511 .chat-message-self,
#cm-msg-self121 .chat-message-self {
    background: #ccc;
    border-radius: 0;
    color: #29158d;
    text-align: center;
    p {
        margin: 6px;
    }
}
#cm-msg-self211 .chat-message-self,
#cm-msg-self311 .chat-message-self,
#cm-msg-self411 .chat-message-self,
#cm-msg-self421 .chat-message-self {
    background: none;
    p {
        a {
            text-decoration: none;
        }
    }
}

/* #cm-msg-self611,#cm-msg-self511 {
    display: none;
} */

#body div.zsiq_cnt {
    z-index: 999999;
    animation: 1s zsiqcntanim;
    -webkit-animation: 1s zsiqcntanim;
    -moz-animation: 1s zsiqcntanim;
    -o-animation: 1s zsiqcntanim;
    -ms-animation: 1s zsiqcntanim;
    transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -o-transform: scaleX(1);
    -ms-transform: scaleX(1);
    position: fixed;
    right: 134px;
    overflow: visible;
    bottom: 70px;
    margin: auto;
    width: 200px;
    box-shadow: 1px 1px 10px -1px #aaa;
    border-radius: 5px;
    padding: 10px 15px;
    height: 60px;
    color: #333;
    line-height: 20px;
    background-color: #fff;
    display: block;
    display: -ms-flexbox;
    flex-direction: column;
    justify-content: center;
    min-width: 200px;
}
em.fa.fa-close {
    position: absolute;
    z-index: 999999;
    top: -12px;
    left: -10px;
    color: #fff;
    background-color: #000;
    padding: 5px 6px;
    font-size: 12px;
    border-radius: 16px;
    display: none;
    cursor: pointer;
}
#body div.zsiq_cnt:hover > em.fa.fa-close {
    display: block;
}

#chat_typing {
    position: fixed;
    z-index: 9999;
    right: 58px;
    bottom: 85px;
    font-size: 13px;
    color: #5a5eb9;
    font-weight: 600;
}
