* {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}

@keyframes slideInRight {
    from {
        transform: translate3d(100%, 0, 0);
        visibility: visible;
    }
    80%,
    90% {
        transform: translate3d(-40px, 0, 0);
    }
}

#Chatbot {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

button#btn-chat,
#btn-input {
    border-radius: 0 !important;
}

#IdCommentList {
    list-style: none;
    padding: 0;
    margin: 11px 5px 5px;
}

#IdCommentList li span.author {
    font-size: 0.6em;
    width: 100% !important;
    margin: 0;
    line-height: 1em;
    height: fit-content;
    padding: 0;
    display: block;
    color: rgba(0, 0, 0, 0.3);
    margin-bottom: -7px;
    text-align: right;
}

.btn {
    cursor: pointer;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

button.chatLauncher {
    background-image: url(../img/avatar-02.png);
    background-repeat: no-repeat;
    background-position: center;
    animation-name: slideInRight;
    animation-duration: 0.5s;
    transition-duration: 0.5s;
    position: fixed;
    z-index: 9000;
    padding: 0em;
    border-radius: 25px;
    margin: 0;
    text-decoration: none;
    background-color: #7066d3;
    color: #454545;
    font-family: sans-serif;
    cursor: pointer;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline;
    display: inline-block;
    width: 90px;
    height: 90px;
    bottom: 0px;
    right: 0px;
    border-radius: 0 !important;
    background-color: transparent;
    background-size: 85px 85px;
    border: none;
}

button.chatLauncher.open {
    animation-name: slideInRight;
    animation-duration: 0.5s;
    transition-duration: 0.5s;
    display: inline;
}

#uname_telsur,
#pass_telsur {
    padding: 5px!important
}

button.chatLauncher:focus {
    border: 4px solid rgb(70, 179, 242);
}

button.chatLauncher:focus {
    outline: 1px solid #0053ba;
    outline-offset: -4px;
}

.form-control {
    border: 1px solid #d9d9d9;
    border-bottom: 2px solid #b0b0b0;
}

button.chatLauncher.open {
    animation-name: slideInRight;
    animation-duration: 0.5s;
    transition-duration: 0.5s;
    display: inline;
}

button.chatLauncher.close {
    animation-name: slideInRight;
    animation-duration: 0.5s;
    transition-duration: 0.5s;
    display: none;
}

button.chatLauncher.open.tiriton {
    animation-name: shake_55;
    animation-duration: 0.5s;
}

@keyframes shake_55 {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }
    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }
    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

body {
    height: 400px;
    position: fixed;
    bottom: 0;
    z-index: 9999;
}

.col-md-2,
.col-md-10,
.col-md-12 {
    padding: 0;
}

.panel {
    margin-bottom: 0px;
}

.chat-window {
    bottom: 0;
    display: inline-table !important;
    position: fixed;
    width: fit-content;
    height: fit-content;
}

.chat-window>div>.panel {
    border-radius: 5px 5px 0 0;
}

.msg_container_base {
    background: #e5e5e5;
    margin: 0;
    height: 300px;
    padding: 0 10px 10px;
    max-height: 320px;
    width: 305px;
    overflow-x: hidden;
}

.top-bar {
    background: rgb(8, 146, 178);
    color: white;
    padding: 10px;
    position: relative;
    overflow: hidden;
    height: 60px;
}

.msg_receive {
    border-radius: 3px !important;
    background-color: rgb(8, 146, 178, 0.2) !important;
    color: rgba(0, 0, 0, 0.8);
    margin-left: 0;
}

.msg_receive a {
    color: rgba(8, 146, 178, 0.8);
}

.msg_sent a {
    color: rgba(0, 0, 0, 0.4) !important;
}

.msg_sent p,
.msg_receive p {
    font-size: 15px !important;
}

.msg_sent {
    margin-right: 0;
    border-radius: 3px !important;
    background-color: rgba(255, 255, 255, 1) !important;
    color: rgba(0, 0, 0, 0.6) !important;
}

.messages {
    background: white;
    padding: 10px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

.messages>p {
    font-size: 13px;
    margin: 0 0 0.2rem 0;
}

.messages>time {
    font-size: 11px;
    color: #ccc;
}

.msg_container {
    padding: 10px;
    display: flex;
}

img {
    display: block;
    width: 100%;
}

.avatar {
    position: left;
}

.base_receive>.avatar:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border: 5px solid #fff;
    border-left-color: rgba(0, 0, 0, 0);
    border-bottom-color: rgba(0, 0, 0, 0);
}

.base_sent {
    justify-content: flex-end;
    align-items: flex-end;
}

.base_sent>.avatar:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 5px solid white;
    border-right-color: transparent;
    border-top-color: transparent;
    box-shadow: 1px 1px 2px rgba(black, 0.2);
}

.msg_sent>time {
    float: right;
}

.imagenAvatar {
    width: 40px;
    height: 40px;
    float: left;
    margin-bottom: auto;
}

.msg_container_base::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
}

.messages span {
    margin-top: 11px !important;
    font-size: 12px;
    text-align: right;
    display: block;
    width: 100%;
    color: rgba(0, 0, 0, 0.5);
}

.msg_sent select {
    font-weight: bolder;
    text-align: center;
    font-size: 15px !important;
    border: 0;
    font-size: 15px !important;
    background: transparent;
    padding: 0;
    color: rgba(0, 0, 0, 0.4) !important;
    border-radius: 0;
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.msg_container_base::-webkit-scrollbar {
    width: 12px;
    background-color: #f5f5f5;
}

.msg_container_base::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #555;
}

.btn-group.dropup {
    position: fixed;
    left: 0px;
    bottom: 0;
}

.detailBox {
    width: fit-content;
    height: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.commenterImage {
    width: 30px;
    margin-right: 5px;
    height: 100%;
    float: left;
}

.commenterImage img {
    width: 100%;
    border-radius: 50%;
}
.msg_sent a {
    color: rgb(23, 7, 250) !important;
    text-decoration: underline;
}
.msg_sent img.iconwsp {
    width: 8%;
    height: auto;
    float: left;
}