div#container2 ul {
    padding-left: 1em;
}

div#container2 ul li {
    list-style: unset;
}

.layout .content .chat {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-right: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
    max-width: 483px !important;
}

.layout .content .chat .chat-body:not(.no-message) {
    display: flex;
    flex-direction: column;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    flex-direction: column-reverse;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
}

section {
    max-width: 1100px;
    margin: auto;
    text-align: center;
    padding: 0 1rem;
}

.chat-btn {
    position: fixed;
    right: 38px;
    bottom: 83px;
    background: none;
    /* color: white; */
    /* width:60px;
    height: 60px; */
    /* border-radius: 50%; */
    /* opacity: 0.8; */
    transition: opacity 0.3s;
    /* box-shadow: 0 5px 5px rgba(0,0,0,0.4); */
    z-index: 9999999;
}

.chat-btn:hover,
.submit:hover,
#emoji-btn:hover {
    opacity: 1;
}

.chat-popup {
    display: none;
    position: fixed;
    bottom: 230px;
    right: 150px;
    height: 500px;
    width: 500px;
    background-color: white;
    /* display: flex; */
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 2px 2px 2px rgba(128, 128, 128, 0.1);
    border-radius: 10px;
    z-index: 9999999;
}

.head {
    background: #7e5c9f;
    display: flex;
    border-radius: 10px 10px 0 0;
    height: 12%;
    font-size: 22px;
    padding-left: 15px;
    align-items: center;
}

.header {
    background: none;
    padding: 4%;
    display: flex;
    width: 100%;
    color: #fff;
}

.svg-icon {
    padding-right: 3%;
}

.svg-icon svg {
    width: 90%;
}

.show {
    display: flex;
}

.chat-area {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.75rem;
}

.income-msg {
    display: flex;
    align-items: center;
}

.avatar-chat {
    width: 250px;
    /* height: 45px; */
    /* border-radius: 50%; */
    object-fit: scale-down;
}

.avatar {
    width: 250px !important;
    height: 39px;
    border-radius: 50%;
    object-fit: scale-down;
    background: #c1549c;
    margin-bottom: auto;
}

.message {
    display: inline-grid;
}

.img-chat {
    width: 100%;
    box-shadow: 0px 3px 9px #888879;
}

.income-msg .msg-img {
    margin-left: 1rem;
    margin-bottom: 0.6rem;
    width: 75%;
}

.income-msg .msg {
    background-color: #c1549c;
    color: white;
    padding: 0.5rem;
    border-radius: 0 10px 10px;
    margin-left: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    margin-bottom: 0.6rem;
    width: 75%;
    font-size: 0.9rem;
    text-align: start;
}

.text {
    word-break: break-word;
}

.badge {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: red;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -10px;
    right: -10px;
}

.input-area {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0.75rem;
}

#emoji-btn {
    position: absolute;
    font-size: 1.2rem;
    background: transparent;
    right: 66px;
    top: 17px;
    opacity: 0.5;
}

.emoji-picker__emojis::-webkit-scrollbar {
    display: none;
}

.emoji-picker__emojis {
    height: 258px !important;
}

.emoji-picker__preview {
    padding: 1.5em !important;
}

.submit {
    padding: 0.25rem 0.5rem;
    margin-left: 0.5rem;
    background-color: #82ac26;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    opacity: 0.7;
}

.out-msg {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.my-msg {
    display: flex;
    justify-content: flex-end;
    margin: 0.75rem;
    padding: 0.5rem;
    background-color: #f2f0ed;
    border-radius: 10px 0 10px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    word-break: break-all;
    text-align: justify;
    width: 74%;
    font-size: 0.9rem;
}

@media (max-width: 500px) {
    .chat-popup {
        bottom: 220px;
        right: 10%;
        width: 80vw;
    }
}

.chat-area iframe {
    width: 100%;
    border: none;
}

.icon-bar {
    z-index: 99999;
    position: fixed;
    right: -10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.icon-bar a {
    display: block;
    text-align: center;
    padding: 3px 5px;
    transition: all 0.3s ease;
    color: white;
    cursor: pointer;
}

.icon-bar a:hover {
    display: block;
    text-align: center;
    padding: 5px;
    transition: all 0.3s ease;
    color: white;
}

.navbar-default .nav-pills>li>ul.dropdown-menu.active {
    visibility: visible;
    opacity: 1;
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    -mos-transition: -mos-transform 0.4s, opacity 0.1s;
    -o-transition: -o-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}

ul .dropdown>.dropdown-menu.sub-menu.active {
    visibility: visible;
    opacity: 1;
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    -mos-transition: -mos-transform 0.4s, opacity 0.1s;
    -o-transition: -o-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}

.mFont button {
    width: 50px;
    height: 20px;
    text-align: center;
    display: block;
    float: left;
    background-color: #000000;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #666666;
    margin-right: 2px;
    line-height: 17px;
    cursor: pointer;
    font-family: tahoma;
}