/* PLACEHOLDER */

::placeholder {
    color: #bbb;
    opacity: 1;
}

::-ms-input-placeholder {
    color: #bbb;
}


/* PAGINATION */

.paginator {
    text-align: center;
}

.paginator p {
    color: rgba(0, 0, 0, 0.54);
    font-size: 14px !important;
}

ul.pagination {
    display: block;
    margin-left: -0.3125rem;
    min-height: 1.5rem;
}

.paginator ul.pagination li {
    float: none;
    display: inline-block;
}

ul.pagination li.active a {
    background-color: #dce47e;
    color: var(--bs-white);
    font-weight: bold;
    cursor: default;
}

ul.pagination li a,
ul.pagination li button {
    border-radius: 3px;
    transition: background-color 300ms ease-out;
    background: none;
    color: #999;
    display: block;
    font-size: 1em;
    font-weight: normal;
    line-height: inherit;
    padding: 0.0625rem 0.625rem 0.0625rem;
}


/* ALERTAS */

.msg-alert-box {
    width: 100%;
    display: block;
    bottom: 0;
    left: 0;
    position: fixed;
    opacity: 0.9;
    z-index: 9999;
    text-align: center;
}

#success-alert-box:hover,
#error-alert-box:hover,
#info-alert-box:hover {
    cursor: pointer;
    box-shadow: rgba(0, 123, 255, 0.25) 0px 0px 0px 3.2px;
}

.button-alert-link {
    background-color: transparent !important;
    color: #444;
    border: none;
    padding: 0 !important;
    font: inherit;
    cursor: pointer;
}

.button-alert-link:hover {
    color: #444;
    cursor: pointer;
}

.button-alert-link:focus {
    color: #444;
}


/* ESPERA */

#loading-page,
#loading-chats,
#loading-messenger {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    opacity: 0.6;
    background-color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.loading-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 128px;
    height: 128px;
    z-index: 999;
    transform: translateY(-50%) translateX(-50%);
}


/* MESSAGES */

.message.self .message-info {
    float: right;
}

.message.self .chat-etiqueta {
    color: #2e245a !important;
}

.message.self.note {
    align-items: center !important;
}

#muro .message .message-info {
    width: fit-content !important;
    max-width: 30rem !important;
    padding: 1rem;
}


/* CHAT */

#wa-content {
    padding: 0;
}

.chat-content {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 74.5vh;
    background-color: transparent;
}

.chat-dia {
    text-align: center;
    margin: 8px;
    padding: 8px;
    clear: both;
}

.chat-dia span {
    width: -moz-min-content;
    width: -webkit-min-content;
    border-radius: 7.5px;
    font-size: 13px;
    color: #888;
    box-shadow: 1px 1px #bbb;
    background-color: #e0f1fa;
    margin: 8px;
    padding: 8px;
}

.chat-botones {
    display: inline-block;
    vertical-align: top;
    font-size: 6px;
}

.chat-botones .btn {
    border-radius: 50% !important;
    box-shadow: 2px 2px #bbb;
    background-color: #e0f1fa;
    padding: 5px;
}

.chat-botones .btn .fa-stack .fa-stack-1x {
    left: -0.6em;
    top: -0.3em;
}

.chat-botones .btn .fa-stack .fa-stack-2x {
    left: -0.3em;
    top: -0.2em;
}

.chat-favorite:hover {
    color: var(--bs-orange);
    cursor: pointer;
}

.chat-burbuja-content {
    display: block;
    width: 100%;
    clear: both;
    min-height: 32px;
}

.chat-burbuja {
    border-radius: 7.5px;
    margin: 2px 6px 2px 10px;
    padding: 1px 8px 1px 8px;
    box-shadow: 1px 1px #bbb;
    position: relative;
    min-height: 28px;
    min-width: 35%;
    width: fit-content;
}

.chat-burbuja:hover {
    cursor: pointer;
    box-shadow: rgba(0, 123, 255, 0.25) 0px 0px 0px 3.2px;
}

.chat-msj-propio {
    background-color: #dcf8c6;
    max-width: 55%;
    border-top-right-radius: 0;
    float: right;
    margin-left: 6px;
    margin-right: 25px;
    margin-bottom: 4px;
}

.chat-msj-propio:before {
    content: '';
    position: absolute;
    right: 0;
    top: 6px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: #bbb;
    border-right: 0;
    border-top: 0;
    margin-top: -5px;
    margin-right: -10px;
}

.chat-msj-propio:after {
    content: '';
    position: absolute;
    right: 0;
    top: 5px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: #dcf8c6;
    border-right: 0;
    border-top: 0;
    margin-top: -5px;
    margin-right: -10px;
}

.chat-msj-ajeno {
    background-color: #fefefe;
    max-width: 62%;
    border-top-left-radius: 0;
    display: inline-block;
}

.chat-msj-ajeno:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: #bbb;
    border-left: none;
    border-top: none;
    margin-top: -5px;
    margin-left: -10px;
}

.chat-msj-ajeno:after {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: #fefefe;
    border-left: none;
    border-top: none;
    margin-top: -5px;
    margin-left: -10px;
}

.chat-msj-note {
    border-radius: 0 !important;
    background-color: rgb(255, 238, 205) !important;
    color: rgb(84, 101, 111) !important;
    box-shadow: none !important;
    font-style: oblique;
    font-size: 12.5px;
    padding-bottom: 8px !important;
}

.chat-insulto {
    background-color: #ff846e;
}

.chat-media-insulto {
    width: 176px;
    height: 116px;
    background-color: #ffe8e4;
    border: 3px solid #ff310c;
    border-radius: 7.5px;
    text-align: center;
    padding-top: 7%;
}

.chat-media-insulto i {
    color: #ff310c;
}

.chat-titulo {
    font-size: 12px;
    line-height: 1.6;
    padding: 1px 5px;
    border-radius: 7.5px;
    margin: 2px 0;
    font-weight: 500;
    display: inline-block;
    color: #5533ff
}

.chat-titulo-ajeno0 {
    background-color: #fdf8da !important;
}

.chat-titulo-ajeno1 {
    background-color: #ffe6f1 !important;
}

.chat-titulo-ajeno2 {
    background-color: #ffad8d !important;
}

.chat-titulo-ajeno3 {
    background-color: #c2def3 !important;
}

.chat-titulo-ajeno4 {
    background-color: #c5bbe0 !important;
}

.chat-titulo-ajeno5 {
    background-color: #f0f1f5 !important;
}

.chat-titulo-ajeno6 {
    background-color: #d2eddc !important;
}

.chat-titulo-ajeno7 {
    background-color: #b3f9ef !important;
}

.chat-titulo-ajeno8 {
    background-color: #fcdfd7 !important;
}

.chat-titulo-ajeno9 {
    background-color: #f3add1 !important;
}

.chat-texto {
    font-size: 14.2px;
    width: 95%;
    overflow-wrap: break-word;
    line-height: 1.4;
    margin-top: 2px;
    margin-bottom: 2px;
    overflow: hidden;
}

.chat-fecha {
    font-size: 11px;
    color: #aaa;
    position: absolute;
    bottom: 2px;
    right: 4px;
}

.chat-image {
    width: 220px;
    height: 220px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: #aaa solid thin;
    border-radius: 7.5px;
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

.chat-audio-propio {
    filter: invert(6%) sepia(5%) saturate(2900%) hue-rotate(155deg) brightness(95%) contrast(101%);
}

#chat-avatar>img {
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

.chat-with-avatar {
    display: table;
    border-collapse: separate;
    border-spacing: 2px 1px;
}

.chat-audio-icon {
    border-radius: 50%;
    width: 55px;
    text-align: center;
    vertical-align: top;
    margin-top: 2px;
    padding-top: 2px;
    display: inline-block;
    cursor: default;
}

.chat-audio-icon>img {
    width: 55px;
    height: 55px;
}

.chat-with-avatar>.chat-audio-icon>img {
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

.chat-avatar-image {
    border-radius: 50%;
    height: 46.5px;
    width: 46.5px;
}

.chat-audio-button {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    background-color: #f1f3f4;
    vertical-align: top;
    padding: 0;
    line-height: 1;
}

.chat-audio-button span {
    font-size: x-small;
    font-weight: bold;
    color: #5c5d5d;
}

.chat-audio-button:hover {
    background-color: #e5e7e8;
}

.chat-video {
    width: 330px;
    height: 248px;
    border: 0px;
    border-radius: 7.5px;
}

.chat-youtube-player {
    position: relative;
    padding-bottom: 56.23%;
    /* Use 75% for 4:3 videos */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background-color: #000;
    margin: 5px;
    border-radius: 7.5px;
    border: 0px;
}

.chat-youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: transparent;
}

.chat-youtube-player img {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: auto;
    cursor: pointer;
    -webkit-transition: .4s all;
    -moz-transition: .4s all;
    transition: .4s all;
}

.chat-youtube-player img:hover {
    filter: brightness(75%);
    -webkit-filter: brightness(75%);
}

.chat-youtube-player .play {
    height: 72px;
    width: 72px;
    left: 50%;
    top: 50%;
    margin-left: -36px;
    margin-top: -36px;
    position: absolute;
    background: url("../img/play-button.png") no-repeat;
    cursor: pointer;
}

.chat-youtube-title {
    display: inline-block;
    padding-left: 6px;
    vertical-align: top;
    font-size: 14.2px;
}

.chat-checkbox {
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
    margin-top: 5px;
    opacity: 1;
    border-width: 3px;
}

.chat-ranking {
    display: inline;
    cursor: context-menu;
    margin-left: 1em;
    color: #aaa;
    font-size: 12px;
}

.chat-etiqueta {
    font-size: 12.5px;
    color: #888;
    margin-bottom: 4px;
    display: block;
}


/* IMAGE POPUP */

#media-content {
    height: 71.5vh;
    display: block;
    margin: auto;
}

#media-content:hover {
    cursor: move !important;
}


/* AVATAR */
.avatar-perfil {
    margin: auto;
    border-radius: 50%;
    display: block;
    font-size: 35px;
    padding: 25px;
    height: 100px;
    width: 100px;
}

.avatar.avatar-asignado:before,
.avatar.avatar-espera:before,
.avatar.avatar-atendido:before,
.avatar.avatar-chatbot:before,
.avatar.avatar-cerrado:before {
    border: 3px solid #fff;
    border-radius: 50%;
    bottom: 0;
    content: '';
    display: block;
    height: 45%;
    position: absolute;
    right: -2px;
    transform: translate(8%, 8%);
    width: 45%;
}

.avatar.avatar-asignado::after,
.avatar.avatar-espera::after,
.avatar.avatar-atendido::after,
.avatar.avatar-chatbot::after,
.avatar.avatar-cerrado::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    position: absolute;
    bottom: -3px;
    right: -1px;
    font-size: 16px;
}

.avatar.avatar-asignado:before {
    background-color: #fff;
}

.avatar.avatar-asignado::after {
    content: '\f2bd';
    /* Código Unicode del icono 'circle-user' */
    color: #4a4a7f;
}

.avatar.avatar-espera:before {
    background-color: #ec221f;
}

.avatar.avatar-espera::after {
    content: '!';
    font-family: emoji;
    font-weight: 900;
    bottom: 0px;
    right: 5px;
    font-size: 12px;
    color: #fff;
}

.avatar.avatar-atendido:before {
    background: aquamarine;
}

.avatar.avatar-atendido::after {
    content: '\f2bd';
    /* Código Unicode del icono 'circle-user' */
    color: darkgreen;
}

.avatar.avatar-chatbot:before {
    background-color: #fff;
}

.avatar.avatar-chatbot::after {
    content: '\f058';
    /* Código Unicode del icono 'circle-check' */
    color: #4a4a7f;
}

.avatar.avatar-cerrado:before {
    background-color: #fff;
}

.avatar.avatar-cerrado::after {
    content: '\f057';
    /* Código Unicode del icono 'circle-xmark' */
    color: #4a4a7f;
}



/* ESCRIBIR */

.emojionearea {
    font-weight: 400 !important;
}

.escribir-box-cell .emojionearea {
    height: auto;
}

.escribir-box-cell .emojionearea .emojionearea-editor {
    height: 64px;
    min-height: 64px;
}

#escribir-phone {
    font-size: 15px;
    margin: 0px 0px 10px 0px;
    border-radius: 7.5px;
    width: 143px;
}

#escribir-phone:focus {
    box-shadow: 0px 0px 5px rgba(56, 169, 240, 0.75);
}

#escribir-send:hover {
    opacity: 0.5;
}

.escribir-buttons {
    background-color: #ddd !important;
    color: #444 !important;
    border-radius: 3em !important;
}

.escribir-buttons:hover {
    background-color: #007095 !important;
    color: var(--bs-white) !important;
    cursor: pointer;
}

.escribir-buttons:disabled,
.escribir-buttons[disabled] {
    color: #888 !important;
    background-color: #ddd !important;
}

.emojionearea,
.emojionearea.form-control {
    display: block;
    position: relative !important;
    width: 100%;
    height: auto;
    padding: 0;
    font-size: 15px;
    background-color: var(--bs-white);
    border: 1px solid #ccc;
    -moz-border-radius: 0.5rem !important;
    -webkit-border-radius: 0.5rem !important;
    border-radius: 0.5rem !important;

}

.emojionearea .emojionearea-editor {
    display: block;
    height: auto;
    min-height: 8em;
    max-height: 15em;
    overflow: auto;
    padding: 6px;
    line-height: 1.19;
    font-size: inherit;
    color: #555;

}

@media (max-width: 640px) {
    .escribir-box-cell .emojionearea .emojionearea-editor {
        height: 45px !important;
        min-height: 45px !important;
    }

}


/* MODAL */

@media (min-width: 768px) {
    .modal-xl {
        width: 90% !important;
        max-width: 1280px;
    }
}

#modal-responder .btn-outline-secondary {
    border: none !important;
}


/* ACTION */

#qr-code {
    height: 410px;
    width: 410px;
    margin: auto;
    display: block;
}

#no-messages {
    margin: auto;
    display: block;
    width: 128px;
}

#actions-sidebar ul {
    list-style-type: none;
}

.action-title {
    font-size: 12px !important;
    text-transform: uppercase;
    color: #aaa !important;
}

.action-title a {
    float: right;
    padding: 2px 6px 0 6px !important;
    margin: 0 0.3em !important;
    border-radius: 50%;
}

.action-input {
    border: #ccc solid 1px !important;
}

.action-input-group {
    border-top: #ccc solid 1px !important;
    border-right: none !important;
    border-bottom: #ccc solid 1px !important;
    border-left: none !important;
    box-shadow: none !important;
    font-size: 11px !important;
}

.action-input-group:not([value=""]) {
    background-color: #e1ebff !important;
}

.action-label {
    margin-bottom: 2px !important;
    font-style: italic;
    color: #444;
    font-size: 14px;
}

.btn.action-label {
    background-color: var(--bs-pink) !important;
    color: var(--bs-white) !important;
    border-color: var(--bs-pink);
}

.side-nav .btn.action-label {
    width: 100%;
}

.action-textarea {
    border: #ccc solid 1px !important;
    font-size: 11px !important;
    padding: 8px !important;
}

.left-button {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.action-square-button {
    background-color: var(--bs-primary);
    border-radius: 4px;
    width: 26px;
    display: inline-block;
    vertical-align: top;
    line-height: 24px;
    margin-top: 1px;
    border-color: transparent;
}

.action-square-button:focus,
.action-square-button:hover {
    background-color: var(--bs-indigo);
    border-color: var(--bs-indigo);
    cursor: pointer !important;
}

a>i.fas.fa-2x {
    color: var(--bs-primary);
}

button.action-square-button {
    padding: 0;
    height: 24px;
}

.action-circle-button {
    width: 28px;
    height: 28px;
    padding: 0;
    border: none !important;
    border-radius: 50% !important;
}

.action-circle-button:focus,
.action-circle-button:hover {
    padding: 0 !important;
}

.action-font-button {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.action-font-button.fa-times {
    color: var(--bs-blue);
}

.action-font-button.fa-reply,
.action-font-button.fa-share,
.action-font-button.fa-star {
    color: var(--bs-primary);
}

.action-font-button:hover {
    color: #444;
    text-shadow: 0px 0px 2px rgba(69, 69, 69, 0.75);
    cursor: pointer !important;
}


.action-inline-group {
    display: inline-block;
    vertical-align: bottom;
}

.form-group .input-group .btn-outline-danger {
    border-top: #ccc solid 1px !important;
    border-right: none !important;
    border-bottom: #ccc solid 1px !important;
    border-left: #ccc solid 1px !important;
    background-color: var(--bs-white) !important;
    border-radius: 5px 0px 0px 5px;
}

.form-group .input-group .btn-outline-success {
    border-top: #ccc solid 1px !important;
    border-right: #ccc solid 1px !important;
    border-bottom: #ccc solid 1px !important;
    border-left: none !important;
    background-color: var(--bs-white) !important;
    border-radius: 0px 5px 5px 0px
}

.side-nav .form-group .input-group .btn-outline-danger:focus,
.side-nav .form-group .input-group .btn-outline-danger:hover {
    color: #89212b !important
}

.side-nav .form-group .input-group .btn-outline-success:focus,
.side-nav .form-group .input-group .btn-outline-success:hover {
    color: #19682B !important;
}


/* LOGIN */

.form-login {
    padding: 1em;
    margin: 0 auto;
    text-align: left;
}

.form-login-input,
.form-login-button {
    width: 100%;
    display: block !important;
    border-radius: 3px !important;
}

.form-login-input:not(:placeholder-shown) {
    background-color: #e1ebff;
}

.form-login-input:focus {
    box-shadow: 0px 0px 5px rgba(2, 117, 216, 0.75);
}

.form-login label {
    font-weight: bold;
    color: #29236c;
}

.form-login .input {
    text-align: left;
}

#spoter-log {
    margin-top: 21px;
    max-width: 300px;
}


/* FORM */

button[type=submit].btn.btn-success {
    float: right !important;
    margin-right: 1rem;
}

.btn.btn-base {
    color: #888;
}

.btn.btn-custom {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 15px;
    font-size: smaller;
}

.btn.btn-custom .small-label {
    font-size: xx-small;
    line-height: 1;
    opacity: 0.7;
}

.overflow-y {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    background-color: transparent;
}

form legend {
    font-size: 20px;
    font-weight: 500;
}

form label {
    color: #4d4d4d;
    cursor: pointer;
    font-size: 0.875rem;
    white-space: nowrap;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.nav-tabs .nav-item .nav-link:not(.active) {
    border: #dee0e8 solid thin !important;
}

.required>label {
    font-weight: 600;
}

.required>label:after {
    content: ' *';
    color: #C3232D;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="color"],
textarea,
select {
    background-color: var(--bs-white);
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
    color: rgba(0, 0, 0, 0.75);
    display: block;
    font-family: inherit;
    font-size: 0.875rem;
    border-radius: 8px;
    margin: 0 0 1rem 0;
    padding: 0.5rem;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: border-color 0.15s linear, background 0.15s linear;
    -moz-transition: border-color 0.15s linear, background 0.15s linear;
    -ms-transition: border-color 0.15s linear, background 0.15s linear;
    -o-transition: border-color 0.15s linear, background 0.15s linear;
    transition: border-color 0.15s linear, background 0.15s linear;
    -moz-appearance: auto;
    -webkit-appearance: auto;
    appearance: auto;
}

input[type=checkbox],
input[type=radio] {
    margin-right: 0.5em;
    cursor: pointer;
}

.select2-container--bootstrap {
    width: 100% !important;
}

.select2-results__option {
    font-size: 14px !important;
    padding: 4px 12px !important;
}

.select2-selection {
    font-size: 14px !important;
}

.select2-container--bootstrap .select2-selection--single {
    height: 39px !important;
}

.form-textarea {
    font-size: 14px;
    height: 50%;
    margin-bottom: 12px;
}

.emojionearea.form-textarea>.emojionearea-editor {
    height: 100px !important;
}

.form-content-create .email,
.form-content-create .password,
.form-content-create .text {
    padding-right: 30px;
}

.form-view-th {
    font-size: 14px;
    color: #1798a5;
    padding-left: 12px;
}

#mensaje-1,
#tipo-1,
#tipo-2 {
    margin-left: 20px;
}

.custom-file input[type=file] {
    margin-left: -2px !important;
}

.custom-file input[type=file]::-webkit-file-upload-button {
    display: none;
}

.custom-file input[type=file]::file-selector-button {
    display: none;
}

.custom-file:hover label {
    background-color: #dde0e3;
    cursor: pointer;
}

.form-content {
    padding: 1rem;
}

.form-control.input-sm {
    font-size: 14px !important;
    margin-bottom: 0;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px;
    appearance: auto;
    height: 38.5px;
}

.input-group.input-group-sm>.form-control.input-sm {
    height: 34.5px !important;
}

.form-control.input-sm:disabled {
    border-color: #eee !important;
}

.gps-content {
    text-align: center;
    border: #bbb solid 1px;
    padding: 14px;
    background-color: #f5f0e5;
    border-radius: 8px;
}

.drive-content {
    float: left;
    margin-right: 24px;
    font-size: 14px;
    padding: 3px;
}

.circle-content {
    border-radius: 50%;
    margin-top: .5rem;
    width: 32px;
    height: 32px;
    border: #ccc solid thin;
}

.circle-content-inline {
    border-radius: 50%;
    margin-left: 0.5rem;
    width: 12px;
    height: 12px;
    border: #aaa solid thin;
    display: inline-block;
}

.hoverable-row:hover {
    opacity: 0.8;
}

.hoverable-tr:hover {
    background-color: #efeff5;
}


/* ADJUNTAR */

.adjunto-div {
    display: inline-block;
    position: relative;
}

.adjunto-file {
    width: 33px;
    height: 40px;
    margin: 0 !important;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    cursor: pointer !important;
}

.adjunto-file:hover {
    cursor: pointer !important;
}

#adjunto-preview,
#adjunto_welcome-preview {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 7.5px;
    margin-bottom: 1em;
    position: relative;
}

#adjunto-preview video,
#adjunto_welcome-preview video {
    width: 100%;
    max-height: 248px;
}

.adjunto-preview {
    width: 100%;
    height: 248px;
    border: 0px;
}

.adjunto-close {
    position: absolute;
    top: .75em;
    right: .65em;
    cursor: pointer;
    color: #dc3545;
    text-shadow: 0px 0px 6px rgba(255, 255, 255, 1);
    z-index: 9999;
}

.adjunto-close:hover {
    cursor: pointer !important;
    color: #ff310c;
}

.adjunto-label {
    background-color: #dfe4e7;
    padding: 6px 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.adjunto-button {
    background-color: #ddd;
    color: var(--bs-secondary) !important;
    padding: 4px;
    margin: 4px 0 0 4px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.adjunto-button:hover {
    color: var(--bs-white) !important;
}

#adjunto-content {
    display: block;
}

.galeria-preview {
    float: left;
    position: relative;
    width: 11.5em;
    height: 11.5em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 3px solid #bbb;
    border-radius: 7.5px;
    margin: 2em 1em 1em 0;
}

.galeria-preview video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.galeria-preview audio {
    width: 100%;
    filter: invert(8%) sepia(28%) saturate(281%) hue-rotate(42deg) brightness(103%) contrast(95%);
}

.galeria-title {
    width: 100%;
    text-align: center;
    color: var(--bs-secondary);
    font-weight: bold;
    margin-top: 2em;
}

.galeria-subtitle {
    width: 100%;
    text-align: center;
    color: var(--bs-secondary);
    font-weight: bold;
    font-size: x-large;
    margin-bottom: 1em;
}

.galeria-foo {
    width: 11.5em;
    height: 11.5em;
    border: 3px dotted #bbb;
    border-radius: 7.5px;
    margin-bottom: 1em;
    padding: 1.1em;
    text-align: end;
}


/* MENU */

.arrow-toggle.collapsed .icon-arrow-up {
    display: none;
}

.arrow-toggle .icon-arrow-up {
    display: inline-block;
}

.arrow-toggle.collapsed .icon-arrow-down {
    display: inline-block;
}

.arrow-toggle .icon-arrow-down {
    display: none;
}

#menu-etiquetas .action-label,
#menu-areas .action-label {
    font-size: small;
}

#menu-sidebar {
    max-width: 85px;
    min-height: 100vh;
    background-color: var(--bs-white);
}

.btn-group-toggle .active {
    color: var(--bs-white);
    background-color: #428bca;
    font-weight: bolder;
}

.btn-campo-label {
    margin: 0 0 0 0.2em !important;
    padding: 0 0.4em;
    background: none;
    color: var(--bs-blue);
    border-radius: 50%;
    border-color: transparent;
}

.btn-campo-label:hover {
    background: #888 !important;
    color: var(--bs-white) !important;
}

.btn-campo-label:focus {
    background: var(--bs-blue) !important;
}


/* CONTACTOS */

.contactos-header {
    display: flex;
    font-weight: 600;
}

.contactos>.contactos-header {
    background-color: #f6f7f9;
    border-left: thin solid #ccc;
}

.contactos-icon {
    padding: 3px 5px;
    margin: 3px 5px;
    color: #dfe4e7;
}

.contactos-avatar {
    height: 40px;
    width: 40px;
    max-width: 40px;
}

.contactos-name {
    font-size: 15.5px;
    padding: 5px 1px;
    margin: 5px 1px 1px 1px;
}

.contactos-fecha {
    display: block;
    font-size: 9.5px;
    font-weight: 100;
    color: #888;
    font-style: italic;
    margin-bottom: 3px;
}

.contactos-phone {
    display: block;
    font-size: 12.5px;
    font-weight: 400;
    color: #888;
}

.contactos-label {
    margin-top: .25em;
    width: 104px;
    text-align: right;
    padding-right: 5px;
}

.contactos-status-text {
    font-size: 13px;
    font-weight: 400;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 20px;
}

#contactos-content {
    padding-left: 0px;
    padding-right: 0px;
    width: 70% !important;
}


/* CHECKBOX */
input[type='radio'] {
    accent-color: var(--bs-primary);
}

.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: #ccc solid 1px;
    background-color: var(--bs-white);
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    vertical-align: sub;
    margin-right: .2em;
    text-shadow: none;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    color: #06d656;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"]+.cr>.cr-icon,
.radio label input[type="radio"]+.cr>.cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
}

.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon,
.radio label input[type="radio"]:checked+.cr>.cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled+.cr,
.radio label input[type="radio"]:disabled+.cr {
    opacity: .5;
}


/* MESSENGER */

#messenger-sidebar {
    background-color: #f6f7f9;
    padding-left: 0px !important;
    padding-right: 0px !important;
    width: 30% !important;
}

#messenger-sidebar .side-nav {
    padding-left: 15px;
    padding-right: 15px;
}

#messenger-content {
    padding: 0 0.25rem;
    overflow-y: scroll;
}

.messenger-chat {
    background-color: var(--bs-white);
    padding-left: 8px;
    border: thin solid #e9ebeb;
    border-radius: 0.5rem;
    position: relative;
}

.messenger-chat:hover {
    background-color: rgba(0, 0, 0, 0.025);
    cursor: pointer !important;
}

.messenger-fecha {
    color: #aaa;
    font-size: 12px;
    position: absolute;
    top: 1px;
    right: 10px;
}

.messenger-pill {
    color: var(--bs-white);
    background-color: #06d656;
    position: absolute;
    top: 1px;
    right: 60px;
}

.messenger-name {
    font-size: 15px;
    width: 75%;
    font-weight: 400;
    color: rgb(0, 0, 0);
}

.messenger-texto {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.8);
    font-weight: lighter;
}

.messenger-sidebar {
    margin-bottom: -99999px;
    /* Force equal height by overflowing */
    padding-bottom: 99999px;
}


/* SWITCH */

.switch input {
    position: absolute;
    opacity: 0;
}


/**
* 1. Adjust this to size
*/

.switch {
    display: inline-block;
    font-size: 18px;
    margin-bottom: 0;
    height: 1em;
    width: 2em;
    background-color: #bdb9a6;
    border-radius: 1em;
    cursor: pointer;
}

.switch:hover {
    opacity: 0.9;
}

.switch div {
    height: 1em;
    width: 1em;
    border-radius: 1em;
    background-color: var(--bs-white);
    border: #ccc solid 1px;
    cursor: pointer;
}

.switch input:checked+div {
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}


/* INTERES */

.interes {
    padding-top: 4px;
    padding-bottom: 4px;
    text-align: center;
}

.interes-pri {
    background-color: #4effa9;
    font-size: small;
}

.interes-sec {
    background-color: #4ea4ff;
    font-size: x-small;
}

.interes-ter {
    background-color: #ff4ea4;
    font-size: xx-small;
}

.interes-cua {
    background-color: #ffa94e;
    font-size: xx-small;
}


/* DASHBOARD */

.dashboard-title {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 0;
}

.dashboard-item {
    padding: 5px !important;
    font-size: 14px;
    border: none !important;
}

.dashboard-legend {
    font-size: 12px !important;
    font-family: "Baloo Thambi 2", "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: var(--bs-gray-dark);
    margin-bottom: 0px !important;
}


/* TABLAS */

.vertical-table th {
    padding: 0.5625rem 0.625rem;
    font-size: 0.875rem;
    color: #81baec;
    border: none;
    text-align: left;
}

.vertical-table td {
    font-size: 0.875rem;
    text-align: right;
}

.table {
    table-layout: fixed;
    width: 100% !important;
}

.table td,
.table th {
    vertical-align: middle !important;
}

.table .thead-light th {
    color: #888 !important;
    background-color: transparent !important;
    border-color: #ccc !important;
    border-top: none;
}

.table .thead-light th a {
    color: #29236c !important;
}

.table .thead-light th a:after {
    content: '\f0dc';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    margin: 0px 0px 0px 10px;
    text-decoration: none;
    color: #888;
}

.table-sm th,
.table-sm td {
    font-size: 13.5px;
}

.import-table.table-responsive th,
.import-table.table-responsive td {
    width: 128px !important;
}



/* TREE VIEW */

.text-multiline {
    overflow-wrap: break-word;
    word-break: normal;
    line-break: strict;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
}

.text-orange {
    color: var(--bs-orange) !important;
}

.text-yellow {
    color: var(--bs-yellow) !important;
}

.text-gray {
    color: var(--bs-gray-light) !important;
}

.text-gray-dark {
    color: var(--bs-gray) !important;
}

.treeview .list-group-item {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px;
    padding: 6px 12px;
    text-transform: uppercase;
}

#tree {
    height: 710px;
    overflow-y: scroll;
}

#tree .list-group {
    margin-left: 0 !important;
}

#tree span.badge {
    text-transform: lowercase;
}

.card-tree-data {
    margin-top: 38px;
}

.etiquetas-content {
    height: 100px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.etiquetas-table tr {
    border: none !important;
}

.etiquetas-table td {
    border: none !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

#data_nivel {
    padding: 8px 12px 2px 12px;
}

#acciones-content {
    max-height: 348px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 15px;
}

.vertical-scroll-300 {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 15px;
}

.vertical-scroll-600 {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 15px;
}

.vertical-scroll-900 {
    max-height: 900px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 15px;
}