.scrolleable {
    max-height: 60vh;
    min-height: 60vh;
    overflow-y: scroll;
    position: relative;
}

.scrolleable-x-y {
    max-height: 600px;
    overflow-y: scroll;
    overflow-x: scroll;
    position: relative;
}

.scrolleable-row {
    max-height: 305px;
    min-height: 305px;
    overflow-y: scroll;
    position: relative;
}

.card-stats {
    padding: .5em;
}

.scrolleable-row-chat {
    max-height: 50vh;
    overflow-y: scroll;
    padding: 0.3em;
    position: relative;
}

.conversaciones {
    position: relative;
    height: 90%;
    overflow-y: scroll;
    overflow-x: hidden !important;
    padding: 0.3em;
}

.padding-none {
    padding: 0px;
}

td {
    max-width: 40px;
    word-wrap: break-word;
}

#filter::placeholder {
    font-size: 0.8em
}

#nuevo {
    border: none;
    resize: none;
    margin-right: 0px;
    min-height: 80px;
}

#nuevo:focus {
    box-shadow: none;
}

.adjuntar {
    display: scroll;
    position: absolute;
    bottom: 21em;
    right: 3%;
    opacity: 0.75;
}

.adjuntar:hover {
    opacity: 1;
}

input[type='file']#adjunto {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.form-group {
    font-weight: 600;
}

.chat {
    height: 85vh;
}

.chat-header {
    background-color: white;
    min-height: 15%;
}

.chat-footer {
    background-color: white;
    position: relative;
    min-height: 17%;
    padding-bottom: 0px;
    padding-top: 5px;
}

.chat-body {
    background-color: #E4E9FF;
    position: relative;
    min-height: 68%;
    max-height: 68%;
    overflow-y: scroll;
    padding: 0.3em;
}

.chat-espera {
    background-color: #E4E9FF;
    position: relative;
    height: 70%;
    overflow: scroll;
}

.chat-menu-item:focus {
    color: white!important;
}

.mensaje {
    margin: none !important;
}

.mensaje:hover,
label[for="adjunto"]:hover,
.details:hover {
    cursor: pointer;
}

.pointer {
    cursor: pointer;
}

.mensaje:hover,
.agreement:hover,
.event:hover {
    background-color: whitesmoke;
}

.agreements-container {
    padding-top: 1px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 1px;
}

.mensaje-seleccionado,
.mensaje-seleccionado:hover {
    background-color: rgb(240, 240, 240);
}

.left-speech:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    z-index: 0;
    border-left: 20px solid transparent;
    border-right: 10px solid white;
    border-top: 20px solid white;
    border-bottom: 0px solid transparent;
    left: -10px;
    top: 0px;
    border-radius: 0.2em;
}

.right-speech:before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    border-left: 10px solid #4e73df;
    border-right: 20px solid transparent;
    border-top: 20px solid #4e73df;
    border-bottom: 0px solid transparent;
    right: -10px;
    top: 0px;
    border-radius: 0.2em;
}

.text-white>a {
    color: white;
    font-weight: bold;
}

.col-msg,
.col-empty {
    position: relative;
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

@media (min-width: 200px) {
    .col-msg {
        flex: 0 0 95%;
        max-width: 95%;
    }
    audio {
        max-width: 160px;
    }
    .col-empty {
        flex: 0 0 5%;
        max-width: 5%;
    }
}

@media (min-width: 768px) {
    .col-msg {
        flex: 0 0 85%;
        max-width: 85%;
    }
    audio {
        max-width: 250px;
    }
    .col-empty {
        flex: 0 0 15%;
        max-width: 15%;
    }
}

@media (min-width: 1200px) {
    .col-msg {
        flex: 0 0 65%;
        max-width: 65%;
    }
    audio {
        max-width: 100%;
    }
    .col-empty {
        flex: 0 0 35%;
        max-width: 35%;
    }
}

.time {
    margin: 0px;
    font-size: 0.75em;
}

.container-fluid {
    overflow: hidden;
}

.chat-header.apichat {
    min-height: 100%;
}

.chat.apichat {
    min-height: 100%;
}

.chat-content.apichat {
    min-height: 100%;
}

.chat-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    -webkit-box-orient: vertical;
}

.dep-container {
    width: 95%;
}

.dep-button {
    max-width: 15px;
    max-height: 15px;
}

.bg-login-image {
    background: url("../img/apicloud.png");
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
}

.bg-register-image {
    background: url("../img/logo-.png");
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
}

.loader {
    margin: auto;
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid gray;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
}


/* Safari */

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.as {
    color: rgba(78, 223, 78, 0.05);
}

.chef {
    max-height: 1.5em;
    max-width: 70%;
}

.item-msg {
    border-radius: 1em;
    margin-bottom: 2px;
    padding: 0.5em;
    min-height: 2.5em;
}

.item-msg-parent {
    min-width: 10%;
    max-width: 85%;
}

.close-chat:hover {
    color: var(--danger)!important;
}

.send {
    max-height: 2.6em;
    fill: white;
    opacity: 0.8;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

@media (min-width: 992px) {
    .modal-dialog.modal-xl {
        min-width: 40em !important;
    }
}

@media (min-width: 1100px) {
    .modal-dialog.modal-xl {
        min-width: 60em !important;
    }
}

@media (min-width: 1400px) {
    .modal-dialog.modal-xl {
        min-width: 100em !important;
    }
}