#center-text {
    display: flex;
    flex: 1;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    height:100%;

}
#chat-circle {
    position: fixed;
    bottom: 7px;
    right: 7px;
    background: #002b74;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    padding: 15px;
    cursor: pointer;
    box-shadow: 0 0 10px #01183e;
    z-index: 1001;
}

#chat-input[placeholder]:empty:before {
    content: attr(placeholder);
    color: #555;
}

#chat-input[placeholder]:empty:focus:before {
    content: "";
}

#chat-circle i {
    font-size: 25px;
}

.btn#my-btn {
    background: white;
    padding-top: 13px;
    padding-bottom: 12px;
    border-radius: 45px;
    padding-right: 40px;
    padding-left: 40px;
    color: #002b74;
}
#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;
    right: 10px;
    bottom: 10px;
    width: 500px;
    max-width: 102vw;
    border-radius: 5px;
    box-shadow: 0px 5px 35px 9px #ccc;
    z-index: 1001;
}
.chat-box-toggle {
    float:right;
    margin-right:15px;
    cursor:pointer;
}
.chat-box-header {
    background: #002b74;
    height:70px;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    color:white;
    font-size:20px;
    padding-top:17px;
    padding-left: 15px;
}
.chat-box-header .chat-box-toggle > i {
    font-size: 25px;
}
.chat-box-body {
    position: relative;
    height:auto;
    border:1px solid #ccc;
    overflow: hidden;
    border-bottom: 0;
}
.chat-box-body:after {
    content: "";
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAgOCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZS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display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border: 1px solid #ccc;
}
#chat-input {
    background: #ffffff;
    width: 100%;
    position: relative;
    min-height: 62px;
    padding-top: 10px;
    padding-right: 19px;
    padding-bottom: 10px;
    padding-left: 15px;
    resize: none;
    outline: none;
    color: #525151;
    overflow: hidden;
    font-size: 15px;
    line-height: 21px;
}
.chat-input{
    margin-bottom: 0;
}
#chat-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #8e8e8e;
    font-size: 18px;
}
#chat-input::-moz-placeholder { /* Firefox 19+ */
    color: #8e8e8e;
}
#chat-input:-ms-input-placeholder { /* IE 10+ */
    color: #8e8e8e;
}
#chat-input:-moz-placeholder { /* Firefox 18- */
    color: #8e8e8e;
}
.chat-submit {
    background: white;
    box-shadow: none;
    border: none;
    color: #002b74;
    width: 35px;
    font-size: 25px;
    padding-right: 10px;
}
.chat-submit:hover {
    color:#ff3e00;
}
.disabled{
    cursor: not-allowed;
    color: #484848 !important;
    pointer-events: none;

}
.chat-logs {
    padding:15px;
    height:450px;
    overflow-y:scroll;
}

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

.chat-logs::-webkit-scrollbar
{
    width: 5px;
    background-color: #002b74;
}

.chat-logs::-webkit-scrollbar-thumb
{
    background-color: #ff3e00;
}



@media only screen and (max-width: 776px) {
    .chat-logs {
        height:60vh;
    }
    .chat-box {
        width: 96%;
        max-width: 100%;
    }
    #chat-input {
        height: 60px;
        font-size: 16px;
    }
    .chat-submit {
        bottom: 17px;
    }
}

.chat-msg.user > .msg-avatar img {
    width:45px;
    height:45px;
    float:left;
}
.chat-msg.self > .msg-avatar img {
    width:45px;
    height:45px;
    border-radius:50%;
    float:right;
}
.cm-msg-text {
    background:white;
    padding: 2px 7px 11px;
    font-weight: 500;
    font-size: 15px;
    color: #484848;
    max-width:75%;
    float:left;
    margin-left:10px;
    position:relative;
    margin-bottom:15px;
    border-radius:5px;
    overflow-wrap: anywhere !important;
}
.chat-msg {
    clear:both;
}
.chat-msg.self > .cm-msg-text {
    float:right;
    margin-right:10px;
    background: #002b74;
    color:white;
}
.cm-msg-button>ul>li {
    list-style:none;
    float:left;
    width:50%;
}
.cm-msg-button {
    clear: both;
    margin-bottom: 70px;
}

.chat-box .loading {
    position: relative;
    background-color: #e2e2e2;
    width: 100%;
    border-radius: 40px;
}

/* The moving element */
.chat-box .loading::after {
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    background: -webkit-gradient(linear, left top,
    right top, from(transparent),
    color-stop(rgba(255, 255, 255, 0.2)),
    to(transparent));

    background: linear-gradient(90deg, transparent,
    rgba(255, 255, 255, 0.2), transparent);

    /* Adding animation */
    animation: loading 1.5s infinite;
    top: 0px;
}

/* Loading Animation */
@keyframes loading {
    100% {
        transform: translateX(100%);
    }
}

.chat-msg.self .cm-msg-text a{
    color:white;
    font-weight: 600;
    text-decoration: underline;
}
.chat-msg.self .cm-msg-text a:hover {
    color: #9ddfff;
    transition: 0.5s;
}

.chat-msg.user .cm-msg-text a{
    color: #2e2e2e;
    font-weight: 600;
    text-decoration: underline;
}
.chat-msg.user .cm-msg-text a:hover {
    color: #002b74;
    transition: 0.5s;
}

.typing-indicator{
    display: none;
}

.dot {
    width: 8px;
    height: 8px;
    background: #bcc1c6;
    display: inline-block;
    border-radius: 50%;
    right: 0px;
    bottom: 0px;
    position: relative;
    animation: jump 1s infinite;
}

.typing-dots .dot-1 {
    -webkit-animation-delay: 100ms;
    animation-delay: 100ms;
}

.typing-dots .dot-2 {
    -webkit-animation-delay: 200ms;
    animation-delay: 200ms;
}

.typing-dots .dot-3 {
    -webkit-animation-delay: 300ms;
    animation-delay: 300ms;
}

@keyframes jump {
    0%   {bottom: 0px;}
    20%  {bottom: 5px;}
    40%  {bottom: 0px;}
}

/*
***********************************************
* Image modal box
***********************************************
*/
.imageModal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
.imageModal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
.imageModal-content {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.imageModal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.imageModal-close:hover,
.imageModal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 680px){
    .messenger-listView{
        display: unset;
    }
}
@media only screen and (max-width: 700px){
    .imageModal-content {
        width: 100%;
    }
}



/*Chat empresa*/

.chat-box-body-empresa {
    position: relative;
    border:1px solid #ccc;
    height: 69vh !important;
    overflow: auto;
    border-bottom: 0;
}

.message-card.mc-sender.chat-msg.user audio::-webkit-media-controls-panel {
    background-color: #d5e3d7 !important;
}

.chat-box-body-empresa .chat-msg > .cm-msg-text {
    padding: 10px;
    color: #343a40;
    line-height: 22px;
    font-weight: 500 !important;
    box-shadow: 0 1px 3px #0b141a21;
    min-width: 150px !important;
    white-space: pre-line;
}

.chat-box-body-empresa .chat-msg > .cm-msg-text sub{
    color: #5f686e;
    font-weight: 400;
}

.chat-box-body-empresa .chat-msg > .cm-msg-text sub > span{
    color: #000000;
}

.chat-box-body-empresa .chat-msg.self > .cm-msg-text {
    background-color: #f1f6ff;
}


.chat-box-body-empresa .chat-msg.self.mc-error > .cm-msg-text {
    background-color:#fadbdd !important;
}

.chat-box-body-empresa .chat-msg.self.mc-sending > .cm-msg-text {
    background-color: #f4eff0 !important;
}


.chat-box-body-empresa .chat-msg.user > .cm-msg-text {
    background: #effff2;
}



#chat-input-empresa[placeholder]:empty:before {
    content: attr(placeholder);
    color: #8b8b8b;
    cursor: text;
}

#chat-input-empresa {
    background: #ffffff;
    width: 100%;
    position: relative;
    min-height: 65px;
    padding-top: 10px;
    padding-right: 19px;
    padding-bottom: 10px;
    padding-left: 15px;
    resize: none;
    outline: none;
    color: #525151;
    overflow: hidden;
    font-size: 15px;
    line-height: 21px;
}


.message-card audio{
    width: 100%;
    min-width: 250px;
}
.message-card video{
    width: 100%;
    min-width: 250px;
}
