.supportdiv {
    position: fixed;
    bottom: 0;
    left: 20px;
    border-radius: 10px 10px 0 0;
    height: 40px;
    padding: 10px 30px;
    width: 300px;
    cursor: pointer;
    z-index: 999;
}

.supportdiv i {
    padding-left: 10px;
}

.supportmain {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    height: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    display: none;
    z-index: 99999999999;
}
.supportmain #closesupport:hover {
    color: #cccccc;
}

.supportmaintitle {
    height: 80px;
    padding: 15px;
}
.supportmaintitle span{
    font-size: 13px
}
.supportmaintitle i {
    float: left;
    cursor: pointer;
}

.supportmain .chatbody {
    padding: 0 10px;
    overflow: hidden;
    overflow-y: auto;
    margin-bottom: 60px;
    box-sizing: border-box;
}

.supportmain .adminside {
    animation-duration: .3s !important;
    animation-fill-mode: both;
    float: left;
    width: 100%;
    margin: 15px 0;
    position: relative;
    word-break: break-word;
}

.supportmain .adminside .adminside_avatar {
    height: 40px;
    width: 40px;
    background: white;
    float: left;
    border-radius: 50%;
    z-index: 999999;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    left: 0;
    bottom: 0;
}

.supportmain .adminside .adminside_content {
    position: relative;
    padding: 5px 15px;
    border-radius: 25px;
    float: left;
    max-width: 70%;
    margin-left: 50px;
    font-size: 13px;
    line-height: 26px;
    word-break: break-word;
}

.supportmain .adminside .adminside_content:before {
    content: "";
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: -6px;
    height: 18px;
    border-bottom-right-radius: 16px 14px;
    -webkit-transform: translate(0, -2px);
}

.supportmain .adminside .adminside_content:after {
    content: "";
    position: absolute;
    z-index: 3;
    bottom: -2px;
    left: 4px;
    width: 26px;
    height: 20px;
    border-bottom-right-radius: 10px;
    -webkit-transform: translate(-30px, -2px);
}

.supportmain .userside {
    animation-duration: .3s !important;
    animation-fill-mode: both;
    float: right;
    width: 100%;
    margin: 15px 0;
    position: relative;
    word-break: break-word;

}
.fadeInLeft{
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}
.fadeInRight{
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}
.supportmain .userside_content {
    position: relative;
    padding: 5px 15px;
    color: white;
    border-radius: 25px;
    float: right;
    z-index: 9999;
    font-size: 12px;
    line-height: 26px;
    background-color: #546270;
    word-break: break-word;
}

.supportmain .userside_content:before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0;
    right: -5px;
    height: 18px;
    border-right: 20px solid #546270;
    border-bottom-left-radius: 16px 14px;
    -webkit-transform: translate(0, -2px);
}

.supportmain .userside_content:after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: -2px;
    right: -56px;
    width: 26px;
    height: 20px;
    background: #fafafa;
    background-image: url("../files/header/congruent.png");
    border-bottom-left-radius: 10px;
    -webkit-transform: translate(-30px, -2px);
}

.supportmain .supportfooter {
    bottom: 0;
    background: #ffffff;
    height: 62px !important;
    position: absolute;
    z-index: 9999999;
    transition: all .3s ease;
    width: 100%;
}
.supportmain .supportfooter textarea {
    position: absolute;
    top: 0;
    bottom: 0;
    text-align: right;
    right: 0;
    padding: 20px;
    color: #626262;
    resize: none;
    border: none;
    transition: background-color .2s ease, box-shadow .2s ease;
    outline: none;
    width: 100%;
    background: none;
    font-family: "MyFont", sans-serif !important;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 61px;
    overflow-y: auto;
    box-sizing: border-box;
    line-height: 21px;
}


.supportmain .chatbody::-webkit-scrollbar {
    width: 6px;
}

.supportmain .chatbody::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.supportmain .chatbody::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}