@font-face {
    font-family: 'especialistas';
    src: url('../fonts/rawline-500.woff2') format('woff2'), url('../fonts/rawline-500.woff') format('woff'), url('../fonts/rawline-500.ttf') format('truetype');
}

:root {
    --corRoxoEscuro: #2B1953 !important;
    --corRed: #ff161f !important;
    --corRedEscuro: #e6141c !important;
    --corRedOpaco: #e6141c25 !important;
    --corWhite: #fff !important;
    --corGray: #333333 !important;
    --corGraySub: #7c7a7a !important;
    --fontSize: 16px !important;
}

html,
body {
    background: #fff;
    height: 100%;
    font-family: especialistas;
}

.form-floating label {
    transition: all .25s !important;
}

.campos-unificados_sup {
    margin-bottom: 0 !important;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.campos-unificados_inf {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

p {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
}

.form-check {
    margin-bottom: 0 !important;
}

input:focus, select:focus, textarea:focus {
    border: 1px solid var(--corRedOpaco) !important;
    box-shadow: var(--corRedOpaco) 0px 1px 5px 0px !important;
}

.itemDesabilitado {
    pointer-events: none !important;
    pointer-events: none !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

    .itemDesabilitado input,
    .itemDesabilitado select,
    .itemDesabilitado label,
    .itemDesabilitado textarea {
        pointer-events: none !important;
        opacity: 0.7 !important;
        cursor: not-allowed !important;
    }
/* -----------------------------------------------------
    HEADER 
----------------------------------------------------- */
.containerHeader {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ced4da;
}

.txtHeader {
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.bgHeader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100% !important;
    background-color: var(--corRoxoEscuro);
    padding: 0 2rem;
}

.logoMenu {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: .5rem;
    border: 0;
    padding: 2rem;
    background-color: var(--corRoxoEscuro);
}

.txtTitulo {
    color: var(--corGray);
    font-size: 24px;
    font-weight: bold;
    padding-left: 10px;
}

.logosHeader {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: end;
    padding: 10px 40px 10px 20px;
}

    .logosHeader img {
        height: 60px;
    }

/* -----------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 264px;
    max-width: 264px;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -264px;
}

#sidebar .sidebar-header {
    padding: 20px;
}


/* -----------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}


/* -----------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

    #sidebar.active {
        margin-left: 0;
    }

    #sidebarCollapse span {
        display: none;
    }
}

.nome_usuario {
    font-size: 0.8em;
}

.bd-example {
    margin-left: 5px;
    margin-right: 5px;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    border: 1px solid #dee2e6;
}

.center-cell {
    text-align: center;
    vertical-align: middle !important
}

.campo_qtd_sintese {
    width: 50px;
    text-align: center;
}

.menu_sistemas {
    width: 100%;
    float: left;
}

.menu_sistemas ul {
    width: 100%;
    margin: 0px;
    padding: 0px;
    float: left;
    list-style-type: none;
}

.menu_sistemas li {
    padding-bottom: 5px;
    width: 100%;
    float: left;
}

.menu_sistemas a {
    font-size: 1.0rem;
    font-weight: 600;
    color: #666;
}

.menu_sistemas a:hover {
    color: #ED3237
}

.menu_sistemas i {
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
    padding-right: 10px;
    margin-top: 5px;

}

.new_window {
    float: right;
}

.new_window i {
    font-size: 0.8rem;
    color: #cecece;
}

.new_window i:hover {
    color: #0073d3;
}

.offcanvas-title i {
    font-size: 1.5rem;
    color: #ED3237;
    padding-right: 7px;

}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #cecece;
    border-color: #dee2e6 #dee2e6 #fff;
}
.nav-tabs .nav-link {
    margin-bottom: -1px;
    background: 0 0;
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}
.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #949494;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
.nav-item {
    padding-bottom: 0px;
}
.tab-content{
    border-left: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    padding: 10px;
}

.nav-link {
    padding: .5rem !important;
}

.olho-senha {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: grey;
}

.form-check-input:checked {
    background-color: #ff161f;
    border-color: var(--corRed);
}

.link-danger {
    text-decoration: underline !important;
    transition: all .5s;
}

.dropdown-item:active {
    background: var(--corRedEscuro) !important;
}

/* -----------------------------------------------------
    Sweet Alert 2
----------------------------------------------------- */
body.swal2-shown > [aria-hidden="true"] {
    filter: blur(25px);
    transition: 0.5s all;
}

.colored-toast {
    color: white;
    border-radius: 0.5rem;
}

    .colored-toast.swal2-icon-success {
        background-color: #198754 !important;
    }

    .colored-toast.swal2-icon-error {
        background-color: #DC3545 !important;
    }

    .colored-toast.swal2-icon-warning {
        background-color: #f77e1b !important;
    }

/* -----------------------------------------------------
    Feedbacks
----------------------------------------------------- */
.invalid-feedback {
    font-size: 1rem;
    display: block;
    margin: .5rem 0 !important; /*RESOLVE BUG*/
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.vibrate {
    animation: shake 0.25s ease;
}

.campo-invalido {
    border: 1px solid #dc35457e !important;
    box-shadow: #e6141c25 0px 1px 5px 1px !important;
}

/* -----------------------------------------------------
    Customização de modal
----------------------------------------------------- */
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5) !important;
    /*backdrop-filter: blur(25px); COUTO RESOLVE BUG */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .modal.show {
        opacity: 1;
        visibility: visible;
    }

/* Animação de maximização para o conteúdo da modal */
.modal-dialog {
    transform: scale(0);
    transition: transform 0.5s ease; 
}

.modal.show .modal-dialog {
    transform: scale(1);
}

.cabecalho-blur {
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) !important;
    z-index: 1001;
    height: 62.8px !important;
}

.modal-body {
    padding: 70px 1.5rem 1rem 1.5rem !important;
    overflow: scroll;
    overflow-x: hidden;
}

/* Largura da barra de rolagem */
::-webkit-scrollbar {
    width: 7px; /* Para rolagem vertical */
}

/* Fundo da barra de rolagem */
::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

/* Pedaço que se move dentro da barra */
::-webkit-scrollbar-thumb {
    background: #a7a7a7;
    border-radius: 10px;
}

/* -----------------------------------------------------
    Customização de tabela
----------------------------------------------------- */
table, thead, tbody, tr, th, td {
    border: 1px solid #dee2e6 !important;
    text-align: left !important;
    font-size: 1rem;
}

    thead > tr {
        background-color: #f7f7f7 !important;
        color: var(--corGray);
        font-weight: normal;
    }

td {
    vertical-align: middle;
}

    td div.form-check.form-switch {
        display: flex;
        justify-content: center;
        align-items: center;
    }

/* -----------------------------------------------------
    Formulário Especialistas
----------------------------------------------------- */
.titulo-secao {
    font-weight: 800 !important;
    font-size: 1.65rem;
}

/* -----------------------------------------------------
    Arquivos Especialistas
----------------------------------------------------- */
.arquivos-adicionados {
    display: flex;
    justify-content: start !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.card-arquivo {
    display: flex;
    flex-direction: column;
    align-items: start;
    background: transparent;
    width: fit-content;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease-out;
    will-change: transform, opacity;
}

.card-arquivo-conteudo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .65rem .75rem;
    border: 1px solid #dee2e6;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border-radius: .5rem;
    background: #f7f7f7;
    font-size: 1rem;
    font-weight: 600;
    width: fit-content;
    transition: all .25s;
}

    .card-arquivo-conteudo:hover {
        cursor: default;
        background: #ebebeb;
    }

/* Animação para o card */
@keyframes aparecerCard {
    from {
        opacity: 0;
        transform: translateX(-100%) scale(0);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.slide-out {
    transform: translateX(-100%);
    opacity: 0;
}

.animar-card-arquivo {
    animation: aparecerCard 0.4s ease-out;
}

/* -----------------------------------------------------
    Botão padrão (vermelho e arredondado) SweetAlert2
----------------------------------------------------- */
.swal2-confirm {
    margin-right: 0.5em !important;
}

@media print {
    .no-print {
        display: none;
    }

    #containerConteudosModal {
        width: 100%;
        height: 100vh;
    }
}

/* -----------------------------------------------------
    Fundos para situações e status
----------------------------------------------------- */

.bg-verde, .bg-vermelho, .bg-amarelo, .bg-azul {
    font-weight: 600;
    text-align: center !important;
}

    .bg-verde {
        background: #f1fff9 !important;
        color: #198754;
    }

    .bg-vermelho {
        background: #fff1f2 !important;
        color: #DC3545;
    }

    .bg-amarelo {
        background: #fffae9 !important;
        color: #c79500;
    }

.bg-azul {
    background: #f1fdff !important;
    color: #068ca7;
}

/* -----------------------------------------------------
    Outros botões
----------------------------------------------------- */
.botao-formulario {
    width: 100%;
    border-radius: .5rem;
    padding: .5rem 2rem;
}

.btn-azul {
    background: #2C2B64;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem .75rem;
    font-weight: 600;
    transition: all .25s;
    pointer-events: all !important;
    opacity: 1 !important;
    z-index: 1000;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
    .btn-azul:focus {
        background: #2C2B64;
        color: #fff;
    }
    .btn-azul:hover {
        background: #252553;
        color: #fff;
    }
    .btn-azul:active {
        transform: scale(.9);
        background: #1e1e42;
        color: #fff;
    }

.btn-claro {
    font-size: 1rem;
    padding: .375rem .75rem;
    transition: all .25s;
    background-color: #F8F9FA;
    border: 1px solid #DEE2E6;
    border-radius: .375rem;
    font-weight: 600;
    outline: none;
}
    .btn-claro:hover {
        background: #eeeeee;
    }
    .btn-claro:active {
        background: #dddddd;
    }

/* * * Botão com borda vermelha e arredondado * * */
.btnPadrao {
    text-align: center;
    display: block;
    width: 100%;
    border-radius: 30px;
    border: 1px solid var(--corRed);
    background: var(--corWhite);
    padding: .5rem 1.5rem .6rem 1.5rem;
    font-weight: bold;
    color: var(--corGray);
    text-decoration: none;
    transition: all .5s;
}
    .btnPadrao:hover {
        background: var(--corRed);
        color: var(--corWhite);
    }
    .btnPadrao:active, .btnPadrao:focus {
        background: var(--corRedEscuro) !important;
        color: var(--corWhite) !important;
        border: 1px solid var(--corRedEscuro) !important;
    }

/* * * Para componente de arquivos * * */
.btn-excluir-arquivo {
    align-self: end;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #DC3545;
    color: #fff;
    border-radius: 100%;
    border: none;
    width: 21px;
    height: 21px;
    margin: 0px -0.67rem -0.67rem 0;
    z-index: 1000;
    padding: 0;
    transition: all .25s
}
    .btn-excluir-arquivo > i {
        margin: 0;
        padding: 0;
        font-size: .75rem;
    }
    .btn-excluir-arquivo:hover {
        background: #c4313f;
    }
    .btn-excluir-arquivo:active {
        background: #b22e3b;
    }

/* * * Para popups Sweet Alert 2 * * */
.btnPadraoSweetAlert {
    text-align: center;
    display: block;
    border-radius: 30px;
    border: 1px solid var(--corRed);
    background: var(--corWhite);
    padding: .5rem 1.5rem .6rem 1.5rem;
    font-weight: bold;
    color: var(--corGray);
    text-decoration: none;
    transition: all .5s;
    margin-left: 0.5rem;
}
.btnPadraoSweetAlert2:hover {
    background: var(--corRed);
    color: var(--corWhite);
}

.custom-popup {
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px;
}

.custom-error-popup {
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px;
    width: 50vw;
}

.custom-button-popup {
    width: 10rem;
    margin: 0.5rem;
    font-weight: 700;
    border-radius: 0.5rem;
}

/* * * Para tabelas * * */
.btn-tabela, .btn-tabela-dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: .5rem;
    text-decoration: none;
    transition: all .25s;
    background: transparent;
    border: 1px solid #DEE2E6;
    border-radius: .25rem;
}
    .btn-tabela i {
        padding: 0;
        margin: 0;
    }
    .btn-tabela:hover {
        border: 1px solid #dee2e6;
        border-radius: .25rem;
        background: #F7F7F7;
    }
    .btn-tabela:active, .btn-tabela:focus {
        background: #dee2e6;
        border: 1px solid transparent;
    }

.btn-tabela-dropdown {
    background-color: #F8F9FA;
    padding: .5rem 1rem !important;
    font-weight: 600;
    border-radius: .5rem
}
    .btn-tabela-dropdown:hover {
        border-radius: .5rem;
        border: 1px solid #ff8787;
    }

/* * * Para modal * * */
.btn-close:active {
    outline: none !important;
    box-shadow: none !important;
}

/* * * Animação de carregamento * * */
.lds-spinner,
.lds-spinner div,
.lds-spinner div:after {
    box-sizing: border-box;
}

.lds-spinner {
    color: currentColor;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-spinner div {
        transform-origin: 40px 40px;
        animation: lds-spinner 1.2s linear infinite;
    }

        .lds-spinner div:after {
            content: " ";
            display: block;
            position: absolute;
            top: 3.2px;
            left: 36.8px;
            width: 6.4px;
            height: 17.6px;
            border-radius: 20%;
            background: currentColor;
        }

        .lds-spinner div:nth-child(1) {
            transform: rotate(0deg);
            animation-delay: -1.1s;
        }

        .lds-spinner div:nth-child(2) {
            transform: rotate(30deg);
            animation-delay: -1s;
        }

        .lds-spinner div:nth-child(3) {
            transform: rotate(60deg);
            animation-delay: -0.9s;
        }

        .lds-spinner div:nth-child(4) {
            transform: rotate(90deg);
            animation-delay: -0.8s;
        }

        .lds-spinner div:nth-child(5) {
            transform: rotate(120deg);
            animation-delay: -0.7s;
        }

        .lds-spinner div:nth-child(6) {
            transform: rotate(150deg);
            animation-delay: -0.6s;
        }

        .lds-spinner div:nth-child(7) {
            transform: rotate(180deg);
            animation-delay: -0.5s;
        }

        .lds-spinner div:nth-child(8) {
            transform: rotate(210deg);
            animation-delay: -0.4s;
        }

        .lds-spinner div:nth-child(9) {
            transform: rotate(240deg);
            animation-delay: -0.3s;
        }

        .lds-spinner div:nth-child(10) {
            transform: rotate(270deg);
            animation-delay: -0.2s;
        }

        .lds-spinner div:nth-child(11) {
            transform: rotate(300deg);
            animation-delay: -0.1s;
        }

        .lds-spinner div:nth-child(12) {
            transform: rotate(330deg);
            animation-delay: 0s;
        }

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}