/* CLASSES DO CHAT HEADER (parte preta) */
:focus, a:focus, button:focus {
    outline: 0;
}
.chat-header {
    border-radius: 10px 10px 0px 0px;
    background-color: #08223f;
    padding: 10px 30px;
    color: white;
    width: 100%;
    justify-content: space-between;
    display: flex;
}

.conjunto-target-ia-header {
    align-items: center;
    padding: 10px 0px;
}

.icons-bi-header {
    color: white;
    font-size: 2rem !important;
    display: flex;
}

.icons-bi-header2 {
    color: white;
    font-size: 1.6rem !important;
    display: flex;
}

.chat-header-button:hover {
    background-color: #1e3855;
    border-radius: 10px;
    height: 95%;
}

.chat-header-button {
    background-color: #08223f;
}

.logo-target-ia-header {
    width: 50px;
}

.conjunto-titulo {
    line-height: 26px;
}

    .conjunto-titulo sub {
        padding-top: 5px;
        font-size: 12px;
    }

.botoes-do-header {
    display: flex;
}

.header-icons {
    width: 25px;
}

.mais-informacoes {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px 10px 10px 10px;
    background-color: white;
    flex-direction: column;
    position: absolute;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    z-index: 1000;
    color: black;
    right: 170px;
    top: 55px;
}

/* CLASSES DO CHAT BOX (onde as mensagem são exibidas) */
.chat-box {
    background-color: #f4f4f4;
    flex-direction: column;
    overflow-y: scroll;
    height: 100%;
    width: 100%;
}

.conjunto-mensagens {
    flex-direction: column;
    padding: 20px 20px 0px 20px;
    display: flex;
}

.chat-iniciado {
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    color: #a7a7a7;
    display: flex;
    padding: 10px;
}

.cabecalho-mensagem {
    padding-bottom: 5px;
    margin-top: 15px;
    font-size: 13px;
    color: #797979;
}

.horario-bot {
    justify-content: flex-end;
    padding-top: 10px;
    font-size: 12px;
    color: #939393;
    display: flex;
}

.cabecalho-mensagem-usuario {
    padding-bottom: 5px;
    font-size: 13px;
    color: black;
}

.conjunto-mensagem-usuario {
    justify-items: end;
    display: grid;
}

.horario {
    justify-content: flex-end;
    padding-top: 10px;
    font-size: 12px;
    display: flex;
    color: white;
}

.mensagem-usuario {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px 15px 0px 15px;
    background-color: #08223f;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 15px;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    color: white;
}

.mensagem-chat-bot {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px 15px 15px 0px;
    padding: 15px 21px 15px 21px;
    background-color: #e3e3e3;
    margin-bottom: 15px;
    overflow-y: auto;
    color: black;
    height: 100%;
}

.conjunto-aviso {
    background-color: #e3e3e3;
    z-index: 1000;
    border-radius: 15px 15px 15px 0px;
    padding: 15px;
}

    .conjunto-aviso p {
        font-style: italic;
        padding-left: 10px;
        font-size: 15px;
        color: #646464;
    }

    .conjunto-aviso img {
        width: 65px;
    }

.conjunto-mensagem-de-erro {
    justify-content: center;
    flex-direction: row;
    align-items: center;
    display: flex;
}

.loading {
    width: 30px;
}

.iniciar-novo-topico {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    display: flex;
}

.btn-mais-informacoes {
    background-color: white;
    display: flex;
    padding: 5px;
    align-items: center;
    flex-direction: row;
}

    .btn-mais-informacoes img {
        margin-left: 5px;
        width: 20px;
    }

.btn-novo-topico {
    border: 1px solid #646464;
    background-color: #646464;
    border-radius: 5px;
    font-size: 15px;
    color: #efeeee;
    padding: 6px;
}

.mensagem-chat-bot::-webkit-scrollbar-track {
    background-color: #D0D4CE;
    border-radius: 0;
}

.mensagem-chat-bot::-webkit-scrollbar {
    background-color: #D0D4CE;
    width: 10px;
}

.mensagem-chat-bot::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #686868;
    border-radius: 10px;
}

#chatBox::-webkit-scrollbar-track {
    background-color: #D0D4CE;
    border-radius: 0;
}

#chatBox::-webkit-scrollbar {
    background-color: #D0D4CE;
    width: 10px;
}

#chatBox::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #686868;
    border-radius: 10px;
}

/* CLASSES DO CHAT FOOTER (onde tem o input) */

.chat-footer {
    border-radius: 0px 0px 10px 10px;
    padding: 20px;
    background-color: #f4f4f4;
    align-items: center;
    width: 100%;
}

.conjunto-input-envio {
    border-radius: 5px 5px 5px 5px;
    border: 1px solid #cdcdcd;
    background-color: white;
    align-items: center;
    display: flex;
    width: 100%;
    height: 63px;
}

    .conjunto-input-envio img {
        background-color: white;
    }

    .conjunto-input-envio button {
        background-color: white;
    }

    .conjunto-input-envio textarea {
        border: 0px;
        width: 100%;
        resize: none;
        height: 61px;
    }

.user-input {
    border-radius: 10px 10px 10px 10px;
    background-color: white;
    border: 1px solid #ccc;
    padding: 15px;
    width: 100%;
    resize: none;
}

.btn-enviar {
    height: 30px;
    width: 30px;
}

.mensagem-input-vazio {
    padding: 5px;
    color: red;
    text-align: center;
}

textarea::placeholder {
    font-style: italic;
    color: #878787;
    font-size: 15px;
}

/* CLASSES QUE ALTERAM O MARKDOWN (biblioteca) */

.mensagem-chat-bot table {
    width: 100%;
}

.mensagem-chat-bot thead, .mensagem-chat-bot tbody, .mensagem-chat-bot tfoot, .mensagem-chat-bot tr, .mensagem-chat-bot td, .mensagem-chat-bot th {
    border: 1px solid black;
    padding: 8px;
}

.mensagem-chat-bot h1, .mensagem-chat-bot .h1, .mensagem-chat-bot h2, .mensagem-chat-bot .h2, .mensagem-chat-bot h3, .mensagem-chat-bot .h3, .mensagem-chat-bot h4, .mensagem-chat-bot .h4, .mensagem-chat-bot h5, .mensagem-chat-bot .h5, .mensagem-chat-bot h6, .mensagem-chat-bot .h6 {
    font-family: "Roboto Mono", monospace !important;
}

.chat-box p, .chat-box span, .chat-box h1, .chat-box h2, .chat-box h3, .chat-box h4, .chat-box h5 {
    margin-top: 16px !important;
}

h3 {
    font-size: 25px;
}

/* CLASSES GERAIS DO CHAT */

.chat-container {
    /*font-family: "Roboto Mono", monospace !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px 20px 20px 20px;
    transition: opacity .4s ease;
    background-color: #fafafa;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: fixed;
    display: flex;
    z-index: 1000;
    bottom: 40px;*/
    /* top: 188px;*/
    /*height: 75%;
    right: 58px;
    width: 40%;
    opacity: 1;*/
}

button {
    border: 0px;
}

/* RESPONSIVIDADE */

@media(max-width: 1050px) {
    .chat-container {
        /*font-family: "Roboto Mono", monospace !important;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transition: opacity .4s ease;
        background-color: #fafafa;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        display: flex;
        right: 0;
        bottom: 0;
        z-index: 1000;
        height: 100%;
        width: 100%;
        opacity: 1;*/
    }

    .chat-header {
        justify-content: space-between;
        background-color: #08223f;
        display: flex;
        color: white;
        width: 100%;
    }

    .conjunto-titulo {
        align-items: flex-start;
        flex-direction: column;
        padding-left: 30px;
        line-height: 20px;
        font-size: 15px;
        display: flex;
    }
}

@media(max-width: 650px) {
    .conjunto-titulo {
        align-items: flex-start;
        flex-direction: column;
        padding-left: 0px;
        line-height: 20px;
        font-size: 15px;
        display: flex;
    }

    .chat-header {
        border-radius: 0px 0px 0px 0px;
        background-color: #08223f;
        padding: 10px 30px;
        color: white;
        width: 100%;
        justify-content: space-between;
        display: flex;
    }
}

.font-color-protomedi {
    color: #08223F !important;
}


/*o novo css*/
.lead-text {
    color: #414141;
    max-width: 900px;
    font-size: 16px;
}

.query-box {
    background-color: #F4F4F4;
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: relative;
}

    .query-box textarea {
        width: 100%;
        border: none;
        background: transparent;
        resize: none;
        font-size: 16px;
        color: #08223F;
        min-height: 120px;
    }

        .query-box textarea:focus {
            box-shadow: none;
            outline: none;
        }

.query-chat-box {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    position: relative;
}

    .query-chat-box textarea {
        width: 100%;
        border: none;
        background: transparent;
        resize: none;
        font-size: 16px;
        color: #08223F;
        min-height: 50px;
    }

        .query-chat-box textarea:focus {
            box-shadow: none;
            outline: none;
        }

.btn-send {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 40%;
    background-color: #08223F;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-send i {
        font-size: 1.5rem;
        color: #ffffff;
    }

.base-select span {
    font-weight: bold;
    color: #08223F;
}

.form-check-input:checked {
    background-color: #0A1F44;
    border-color: #0A1F44;
}

.form-check-label {
    font-weight: 500;
    color: #343a40;
    margin-right: 2rem;
}

.font-bold {
    font-weight: bold;
}