:root {
    --avatar-size: 42px;
}

body>.layout {
    display: flex;
}

body.talk-loading-active>.layout {
    display: none;
}

.circle {
    background-color: #007bff;
    border-radius: 50%;
    height: var(--avatar-size);
    text-align: center;
    width: var(--avatar-size);
}

.initials {
    font-family: 'Inter UI', sans-serif;
    font-size: 12px !important;
    /* 25% of parent */
    line-height: 1 !important;
    position: relative;
    top: 15px;
    /* 25% of parent */
    color: #fff !important;
    margin-left: 0px !important;
    display: block;
}

.icon-online {
    width: 11px;
    height: 11px;
    background: #43b581;
    border-radius: 6px;
    position: absolute;
    margin-top: -11px;
    margin-left: 30px;
}

.icon-offline {
    width: 11px;
    height: 11px;
    background: #bdbac2;
    border-radius: 6px;
    position: absolute;
    margin-top: -11px;
    margin-left: 30px;
}

.last-message-conv {
    word-break: break-all;
}

.corpo-initial {
    height: 100%;
}

.div-dados-inicial {
    text-align: center;
    max-width: 460px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, -50%);
}

.titulo-dados-inicial {
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 22px;
}

.descricao-dados-inicial {
    font-size: 14px;
    line-height: 20px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #1d61e1;
}

.descricao-dados-inicial-2 {
    font-size: 14px;
    line-height: 20px;
}

.img-initial-wifi {
    max-width: 355px;
    max-height: 355px;
}

.dados-topo {
    padding-left: 15px;
}

.chat-item-other {
    -ms-flex-pack: justify !important;
    justify-content: flex-start !important;
    text-align: left !important;
    display: block !important;
}

.chat-item-other img {
    margin-right: 15px;
    margin-left: 0;
    -ms-flex-order: 1 !important;
    order: 1 !important;
}

.chat-item-other .avatar-comp {
    margin-right: 15px !important;
    margin-left: 0 !important;
    -ms-flex-order: 1 !important;
    order: 1 !important;
    display: inline-block;
    vertical-align: bottom;
}

.chat-item-other .avatar-comp .initials {
    display: block !important;
    margin-top: 0px !important;
}

.chat-item-other .content {
    -ms-flex-order: 2 !important;
    order: 2 !important;
    display: block !important;
}

.chat-item-other .message {
    display: inline-block !important;
    vertical-align: bottom;
}

.chat-item-other .bubble {
    background: #f5f5f5;
}

.chat-item-other p {
    color: #716f74;
    word-break: break-word;
    white-space: pre-line;
}

.chat-item-other .attachment .round {
    background: #007bff !important;
}

.chat-item-other .attachment .round .eva {
    fill: #fff !important;
}

.chat-item-other .attachment h5 {
    color: #007bff !important;
}

.chat-item-other .attachment span {
    color: #bdbac2 !important;
}

.chat-item-other span {
    color: #bdbac2;
}

.chat-item-my span {
    color: #bdbac2;
}

.chat-item-my {
    display: block;
    -ms-flex-align: end !important;
    align-items: flex-end !important;
    -ms-flex-pack: justify !important;
    justify-content: flex-end !important;
    text-align: right !important;
}

.chat-item-my img {
    width: 42px;
    height: 42px;
    border-radius: 100% !important;
    margin-left: 15px;
    -ms-flex-order: 2 !important;
    order: 2 !important;
}

.chat-item-my .content {
    display: block !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    -ms-flex-order: 1 !important;
    order: 1 !important;
}

.chat-item-my .message+.message {
    margin-top: 15px !important;
}

.chat-item-my .bubble {
    display: inline-block !important;
    max-width: 360px !important;
    background: #007bff !important;
    text-align: left !important;
    border-radius: 6px !important;
}

.chat-item-my p {
    padding: 12px 14px !important;
    color: #fff !important;
    word-break: break-word;
    white-space: pre-line;
}

.chat-item-my span {
    display: block !important;
    font-size: 13px !important;
    font-weight: 100 !important;
    line-height: 1.2 !important;
    color: #bdbac2;
    margin-top: 15px !important;
}

.chat-item-my span .eva {
    width: 20px !important;
    height: 20px !important;
    fill: #bdbac2;
}

.chat-item-my .attachment {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    padding: 20px !important;
}

.chat-item-my .attachment .round {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -ms-flex-pack: justify !important;
    justify-content: center !important;
    background: #fff !important;
    margin-right: 15px !important;
}

.chat-item-my .attachment .round .eva {
    fill: #007bff !important;
}

.chat-item-my .attachment h5 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin-bottom: 8px !important;
}

.chat-item-my .attachment h5:hover {
    text-decoration: underline !important;
}

.chat-item-my .attachment span {
    line-height: 1 !important;
    color: #fff !important;
    margin-top: 0 !important;
}

.data-mensagem-pre {
    text-align: center;
}

.data-mensagem-pre span {
    margin: 0 auto;
    width: 160px;
    background-color: #f5f5f5;
    color: #716f74 !important;
    padding: 6px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 22px;
    margin-bottom: 15px;
}

.load-div-center {
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
}

.load-div-center img {
    width: 100px;
}

.scroll-conversa #corpo-conversa-ativa {
    overflow-y: scroll;
    height: 100%;
    overflow-anchor: none;
    scroll-behavior: auto;
}

.conversation-messages {
    display: flow-root;
}

.scroll-conversa #corpo-conversa-ativa::-webkit-scrollbar {
    width: 5px;
}

.scroll-conversa #corpo-conversa-ativa::-webkit-scrollbar-track {
    background: #fbfbfb;
}

.scroll-conversa #corpo-conversa-ativa::-webkit-scrollbar-thumb {
    background: #007bff;
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity .5s;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}

.chat-item-my.loading .content {
    width: 100%;
}

.chat-item-my.loading .content .message {
    width: 100%;
}

.chat-item-my.loading .content .message .bubble {
    width: 100%;
    max-width: initial !important;
    background: initial !important;
}

.chat-item-my.loading .content .message .bubble p {
    width: 100%;
    text-align: center;
}

.btn-scroll-down {
    top: -55px;
    height: 45px;
    width: 45px;
    background-color: #eceaea;
    border-radius: 50%;
    padding: 0 !important;
    box-shadow: rgba(0, 0, 0, .1) 0px 0px 5px 5px;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: #fbfbfb;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #007bff;
}

.icon-message-sending {
    width: 24px !important;
    height: 24px !important;
    margin-left: 5px !important;
    margin-right: 0 !important;
}

.footerline {
    display: flex;
}

.footerline p {
    margin-right: auto;
}

.footerline span {
    padding: 5px;
    border-radius: 15px;
    background-color: #43b581;
    color: #fff !important;
    font-size: 10px !important;
    max-height: 27px;
}

.footerline span.redatend {
    background-color: #b54343;
}

.message-read-status {
    fill: #007bff !important;
}


/* OTHER */

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 6px;
    width: 13px;
    background: #fff;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
    left: 6px;
    animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
    left: 26px;
    animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
    left: 45px;
    animation-delay: 0;
}

@keyframes lds-facebook {
    0% {
        top: 6px;
        height: 51px;
    }
    50%,
    100% {
        top: 19px;
        height: 26px;
    }
}

.custom-control-label::before {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

.custom-control-label::after {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

#compose::-webkit-scrollbar {
    width: 5px;
}

#compose::-webkit-scrollbar-thumb {
    background: #007bff;
}

#compose::-webkit-scrollbar-track {
    background: #fbfbfb;
}

html {
    width: 100vw;
    height: 100vh;
}

body {
    width: 100% !important;
    height: 100% !important;
}

#app {
    width: 100%;
    height: 100%;
}

#app .navigation .container.container-nav-custom {
    height: 100%;
}

.sidebar {
    height: 100%;
}

.chat {
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.chat .tab-pane {
    height: 100%;
}

.chat .tab-pane .item {
    height: 100%;
}

.chat .tab-pane .item .content {
    width: 100%;
    height: 100%;
}

.chat .tab-pane .item .content .container {
    margin: 0;
    max-width: 100%;
}

.chat .tab-pane .item .content .container .top {
    padding-right: 20px;
    padding-left: 20px;
}

.middle.scroll-conversa {
    height: calc((100% - var(--title-bar-height)) - 192px) !important;
}

.middle.scroll-conversa .container {
    padding-right: 20px;
    padding-left: 20px;
}

.chat .tab-pane .item .content .container .bottom {
    padding-right: 20px;
    padding-left: 20px;
}

nav.navigation .container ul li i.eva-hover svg {
    margin: 0 auto;
}

.whatsapp-logo {
    display: inline-block !important;
}

.chat-item-my span .eva {
    display: inline-block !important;
}

.vue3-emojipicker div.bg-grey-400.rounded-xl.justify-between.pr-4.flex.items-center {
    margin-top: 0 !important;
}

.vue3-emojipicker div.bg-grey-400.rounded-xl.justify-between.pr-4.flex.items-center div.flex.items-center.justify-center {
    width: 80px !important;
}

.vue3-discord-emojipicker__emojibutton {
    width: 22px !important;
}

.vue3-discord-emojipicker__input {
    padding: 12px 20px !important;
    font-weight: 400;
    max-height: 48px;
    resize: none;
}

.maxh-48 {
    max-height: 48px;
    width: calc(100% - 54px) !important;
}

.div-frases-rapidas-discordpicker::-webkit-scrollbar {
    width: 5px;
}
.div-frases-rapidas-discordpicker::-webkit-scrollbar-thumb {
    background: #007bff;
}
.div-frases-rapidas-discordpicker::-webkit-scrollbar-track {
    background: #fbfbfb;
}

.searchbox-tabela {
    background: white;
}

.searchbox-tabela tbody tr.selecionada {
    color: #212529;
}

@media (max-width: 767px) {
    .vue3-discordpicker__container {
        height: calc(100% - 138px) !important;
    }
}

@media (min-width: 768px) {
    .vue3-discordpicker__container {
        height: calc(100% - 167px) !important;
    }
}

.mensagem-cabecalho-data {
    position: sticky;
    top: 36px;
}

/*svg {
    display: inline-block !important;
}*/

@media print {
    #app {
        height: initial !important;
    }

    .navigation {
        display: none !important;
    }

    .sidebar {
        display: none !important;
    }

    .chat {
        height: initial !important;
        max-height: initial !important;
    }

    .settings {
        height: auto !important;
    }

    .row-filtros-dashboard {
        display: none !important;
    }
}
