/*body font*/
body {
    color: var(--bs-gray-dark) !important;
}


@font-face {
    font-family: 'Roboto';
    src: local('Roboto'), local('Roboto'), url('../font/Roboto-Regular.ttf') format('truetype');
}

body, ul, ol, dl {
    font-family: "Roboto", sans-serif !important;
    font-size: 0.85rem !important;
}


li {
    list-style-type: none !important;
}


/*sidebar filtro derecho*/
.sidefiltro {
    display: block;
}


/*chat y mensajes*/
.message.self .message-content {
    background-color: #c2def3;
    border-radius: 0.875rem 0.375rem 0.375rem 0.875rem;
    box-shadow: inset 0 -0.125rem 0 0 #98afc1;
    color: #030303;
}

.message .message-content {
    background-color: #f9f9f9;
    border-radius: 0.375rem 0.875rem 0.875rem 0.375rem;
    box-shadow: inset 0 -0.125rem 0 0 #ecedef;
    color: #030303;
    display: inline-block;
    max-width: 40rem;
    padding: 1rem;
    border: solid 1px #cecece;
}

.message.self .message-content a {
    color: var(--bs-pink);
}

.message+.message {
    margin-top: 1rem;
}

.navigation .nav .nav-link.active {
    background: #e9eaf1;
    color: var(--bs-primary);
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
}

.navigation .nav .nav-link:hover {
    background: #f6f7f9;
    border-radius: 50%;
}


.card.contact-item.active {
    border-color: #98afc1;
    box-shadow: 0 0 0 0.1875rem #c2def3;
}


.text-muted {
    --bs-text-opacity: 1;
    color: #797e8f !important;
}


.message-info {
    background: #ebebeb;
    width: 90px;
    padding: 2px;
    border-radius: 8px;
}

.message-info {
    background: #ebebeb;
    width: auto !important;
    border-radius: 8px;
    padding: 8px;
    display: inline-flex !important;
}

span.small.text-muted {
    margin-right: 10px !important;
    margin-left: 0px !important;
}


.chat-respuesta-content {
    float: bottom;
    margin-bottom: 6px;
}

.chat-respuesta {
    border-left: 3px solid var(--bs-pink);
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-style: oblique;
    color: #888;
    background: #f6f7f9;
    font-size: 12px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.chat-respuesta:hover {
    cursor: pointer !important;
    box-shadow: 0 0 0 0.1875rem #c2def3;
}


/* elementos */
input:placeholder-shown,
textarea:placeholder-shown {
    background-color: #fff;
}

input:not(:placeholder-shown),
textarea:not(:placeholder-shown) {
    background-color: #e8f0fe;
}

.form-check-input {
    border-color: #ccd0dd;
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}


/* botones */
.btn.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background-color: #423678;
    border-color: #423678;
    box-shadow: 1px 1px 1px;
}

.btn.btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.btn.btn-outline-primary i {
    color: var(--bs-primary);
}

.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus {
    background-color: #423678;
    border-color: #423678;
    color: #fff;
    box-shadow: 1px 1px 1px;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.btn.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: #fff;
}

.btn.btn-secondary:hover,
.btn.btn-secondary:focus {
    background-color: var(--bs-gray-dark);
    border-color: var(--bs-gray-dark);
    color: #fff;
    box-shadow: 1px 1px 1px;
}

.btn.btn-light {
    background-color: #e9eaf1;
    border-color: #e9eaf1;
    color: #abb0c1;
}

.btn.btn-light:hover,
.btn.btn-light:focus {
    background-color: #cecfd2;
    border-color: #e9eaf1;
    color: #abb0c1;
    box-shadow: 1px 1px 1px;
}

.btn.btn-white {
    background-color: #fff !important;
    border: solid 1px #cecfd2 !important;
    color: var(--bs-gray-dark) !important;
    box-shadow: 1px 2px 4px 0px rgb(34 37 47 / 18%);
}

.btn.btn-white:hover,
.show>.btn.btn-white.dropdown-toggle {
    background-color: #ffffff;
    border-color: #f6f7f9;
    color: #abb0c1;
    box-shadow: 1px 1px 1px;
}

.btn.btn-base i:hover,
.btn.btn-base svg:hover {
    color: var(--bs-gray-dark) !important;
}

.text-primary {
    color: var(--bs-primary) !important;
}


/* modales */
.modal.fade.show,
.modal-backdrop.fade.show {
    backdrop-filter: blur(2px);
    opacity: 1;
    background-color: transparent;
}

.modal-header {
    background: transparent;
}

.modal-body {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.modal-title {
    font-weight: 400;
    color: var(--bs-gray-dark);
    font-size: 1.25rem;
}

@media (min-width: 992px) {
    .modal-xxl {
        max-width: 800px
    }
}

@media (min-width: 1200px) {
    .modal-xxl {
        max-width: 1140px
    }
}

@media (min-width: 1366px) {
    .modal-xxl {
        max-width: 1286px
    }
}


/*!
 * Bootstrap v5.0.2 (https://getbootstrap.com/)
 * Copyright 2011-2021 The Bootstrap Authors
 * Copyright 2011-2021 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #e42d7f;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray-light: #abb0c1;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-primary: #2e245a;
    --bs-secondary: #6c757d;
    --bs-success: #28a745;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-muted: #bdb9a6;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-assigned: #e1ebff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


/*hack convert all success to primary*/
.btn.btn-outline-success,
.btn.btn-outline-success i {
    border-color: #2bdaa8;
    color: var(--bs-primary) !important;
}



/*aca lo anterior*/
.dropdown-menu.show {
    box-shadow: 0 2px 5px 0 lightgray, 0 2px 10px 0 lightgray;
    border-radius: 0 !important;
}

#chats-tab ul {
    list-style-type: none;
}

.card.contact-item:hover {
    cursor: pointer;
}

div#formFileSm {
    position: relative;
    overflow: hidden;
}

input#formFileSm {
    position: absolute;
    font-size: 50px;
    opacity: 0;
    right: 0;
    top: 0;
}

.radiosel label {
    margin-right: 10px;
}

.image-upload>input {
    display: none;
}

.image-upload svg {
    width: 22px;
    cursor: pointer;
}

.image-upload label {
    display: table-caption !important;
}

.botfiltro {
    height: 48px;
}

.panelopciones {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.setting-option {
    display: inline-flex;
    text-align: center;
    justify-content: center;
    width: 25%;
}

.setting-option>a {
    color: var(--bs-gray-light) !important;
}

.setting-option>a:hover {
    color: #2e245a !important;
}


/*MEDIA QUERIES */

@media (min-width: 576px) {
    .chat-info {
        max-width: 30rem;
        min-width: 25rem;
        position: fixed;
        left: 0;
        top: 0;
    }

    .offcanvas-start {
        min-width: 25rem !important;
    }

    button.btn.btn-primary.chat-info-toggle {
        width: 100%;
    }

    .botfiltro {
        width: 100%;
    }
}


.panel {
    width: 100%;
    min-width: 100px;
    height: 100%;
}

.panel:hover {
    cursor: pointer;
    color: #212529;
}

.panel.btn-lg {
    padding: 0.1em;
}

.panel label {
    font-size: .8em;
    display: block;
    font-weight: 400;
    line-height: normal;
}

.panel label:hover {
    cursor: pointer;
    color: #212529;
}

.panel svg {
    height: 22px;
    width: 22px;
}

.panel svg {
    height: 22px;
    width: 22px;
}

.btn.disabled,
.btn:disabled {
    opacity: 0.35 !important;
    pointer-events: none;
}

.chat-footer,
.chat-header {
    min-height: 5rem;
    background: #f6f7f9;
}

#collapseIcons {
    background: #f6f7f9;
}

.zeta4 {
    z-index: 4;
    position: relative;
}





@media (min-width: 1200px) {
    .offcanvas-start {
        min-width: 30rem !important;
    }

    .mob {
        display: none;
    }

    .desk {
        display: flex;
    }

    div#chat .container-fluid {
        padding: 5rem !important;
    }



}

@media (min-width: 1400px) {
    .chat-info {
        position: fixed;
        left: 0;
        top: 0;
        max-width: 30rem;
        min-width: 25rem;
    }

    .offcanvas-start {
        min-width: 30rem !important;
    }
}



@media (max-width: 1199px) {
    .mob {
        display: block;
    }

    .desk {
        display: none;
    }

    .sidefiltro {
        display: none;
    }

    .spoter-btn-content {
        display: none !important;
    }

}

@media (max-width: 640px) {
    .botfiltro {
        width: 100%;
    }

    .panelopciones {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

}

/*avatars*/
.avatar-label:hover {
    cursor: pointer !important;
    box-shadow: 0 0 0 0.1875rem #c2def3;
}

span.avatar-label.red {
    height: 1.7em;
    width: 1.7em;
    background-color: #f05564;
}

span.avatar-label.yellow {
    height: 1.7em;
    width: 1.7em;
    background-color: #f8dd57;
}

span.avatar-label.green {
    height: 1.7em;
    width: 1.7em;
    background-color: #2bdaa8;
}


/* Calendar */
div.calendar {
    border-radius: .75rem !important;
}

div.disabled-background {
    backdrop-filter: blur(2px);
}

div.event-editor {
    border-radius: .75rem !important;
    border: 2px solid rgba(0, 0, 0, .05) !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

div.title-bar {
    font-size: 1rem !important;
    font-weight: 400 !important;
    background-color: var(--bs-primary) !important;
    border-top-left-radius: .75rem !important;
    border-top-right-radius: .75rem !important;
}

div.calendar div.row-cells div.cell div.event,
div.calendar div.timeline-view div.title-bar div.title,
div.calendar div.row-cells div.cell {
    font-weight: 400 !important;
}

div.calendar div.row-cells div.cell div.expired {
    opacity: 0.4 !important;
}

div.calendar-context-menu div.separator,
div.calendar div.row-cells div.cell div.separator {
    margin: .2rem 0 !important;
}

div.calendar div.full-month-view div.row-cells div.cell div.event {
    border: 1px solid;
    font-weight: 500 !important;
}


/*menu-contextual*/
#menu-contextual {
    position: absolute;
    display: none;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ccc;
    list-style: none;
    padding: 10px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.2);
  }

  #menu-contextual li {
    padding: 5px 10px;
    cursor: pointer;
  }
  
  #menu-contextual li:hover {
    background-color: #f1f1f1;
  }