﻿*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    outline: none;
    list-style: none;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0px rgba(0,0,0,0.3);
    background-color: rgba(var(--bs-primary-rgb), .55);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: rgba(var(--bs-primary-rgb), .15);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(var(--bs-primary-rgb), .5);
    border-radius: 10px;
}

[v-cloak] {
    display: none !important;
}

.accordion-collapse {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.table {
    margin: 0;
    border-radius: 5px;
}

    .table thead tr th {
        padding-block: .6rem;
    }

    .table > :not(caption) > * > * {
        padding: .5rem;
    }

.form-control, .form-control:hover,
.form-select {
    background-color: white;
}
    /*.input-group .form-control[type=number] {
    padding-block: 0.2rem;
}*/
    .form-control:disabled {
        color: #6c7780;
        cursor: not-allowed;
    }

    .form-control:invalid,
    .form-select:invalid {
        border-color: #dc3545 !important;
    }

/*font-size*/
.fs-7 {
    font-size: .875rem !important;
}

.fs-8 {
    font-size: .813rem !important;
}

.fs-9 {
    font-size: .75rem !important;
}

.fs-10 {
    font-size: .688rem !important;
}

.fs-11 {
    font-size: .625rem !important;
}

.fs-12 {
    font-size: .75rem !important;
}

.fs-13 {
    font-size: .813rem !important;
}

.fs-32 {
    font-size: 2rem;
}

/*margin*/
.mt-7 {
    margin-block-start: 1.563rem;
}

.mt-8 {
    margin-block-start: 1.625rem;
}

/*padding*/
.py-8 {
    padding-block: 0.5rem !important;
}

.pe-32 {
    padding-inline-end: 2rem !important;
}

/*botões*/
.btn {
    text-transform: uppercase;
    font-size: .7rem;
}

/*coluna resposivel*/
.col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

/*width*/
.w-80 {
    width: 80% !important;
}

.w-85 {
    width: 85% !important;
}

.w-90 {
    width: 90% !important;
}

.w-95 {
    width: 95% !important;
}

.w-20px {
    width: 20px;
}

.w-30px {
    width: 30px;
}

.w-40px {
    width: 40px;
}

.w-50px {
    width: 50px;
}

.w-60px {
    width: 60px;
}

.w-90px {
    width: 90px;
}

.w-100px {
    width: 100px;
}

.w-120px {
    width: 120px;
}

.w-150px {
    width: 150px;
}

.w-200px {
    width: 200px;
}

/*height*/
.h-100vh {
    height: calc(100vh - 180px);
}

.h-50px {
    height: 50px;
}

.h-500px {
    height: 500px;
}

.h-600px {
    height: 600px;
}

.h-max-100px {
    height: 100px;
}

.h-max-200px {
    max-height: 200px;
}

.h-max-250px {
    max-height: 250px;
}

.h-max-300px {
    max-height: 300px;
}

.h-max-350px {
    max-height: 350px;
}

.h-max-400px {
    max-height: 400px;
}

/*botão buscar*/
.btn-buscar {
    background-color: #696cff;
    color: #fff;
    cursor: pointer;
}

/*table custom*/
.table {
    overflow: hidden;
}

    .table thead th {
        background: #f4f4f4;
    }

.offcanvas {
    z-index: 3060;
}

.offcanvas-backdrop {
    z-index: 3059;
    background-color: rgba(0, 0, 0, 0.9);
}

.offcanvas-title {
    text-transform: uppercase;
    font-size: .75rem;
}
/*calendario*/
div.flatpickr-container {
    position: relative;
    width: 200px;
}

div.flatpickr-calendar.open {
    z-index: 3100;
}

.calendar-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
}

div.flatpickr-calendar {
    font-size: 0.6rem;
    inline-size: 14rem;
}

    div.flatpickr-calendar .flatpickr-days .dayContainer {
        max-inline-size: 13rem;
        min-inline-size: 13rem;
    }

    div.flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
        font-size: .7rem;
    }

    div.flatpickr-calendar .flatpickr-prev-month,
    div.flatpickr-calendar .flatpickr-next-month {
        inline-size: 22px;
        block-size: 15px;
    }

    div.flatpickr-calendar .flatpickr-current-month {
        padding-block: 0;
    }

    div.flatpickr-calendar .flatpickr-month {
        block-size: 20px;
    }

    div.flatpickr-calendar .flatpickr-current-month .numInputWrapper {
        inline-size: 8ch;
    }

    div.flatpickr-calendar .flatpickr-weekdays span.flatpickr-weekday {
        font-size: 10px;
    }

    div.flatpickr-calendar .flatpickr-weekdays {
        block-size: 1rem;
    }

    div.flatpickr-calendar .flatpickr-days .flatpickr-day {
        block-size: 1.3rem;
        max-inline-size: 1.7rem;
    }

button.flatpickr-clear {
    padding: 2px 10px;
    font-size: 10px;
    margin-top: 5px;
}

/*accordion*/
.accordion-button {
    text-transform: uppercase;
    font-size: 0.719rem;
}

/*border-bottom last child*/
.last-child-border-bottom-1 > *:last-child {
    border-bottom: 1px solid #e4e6e8 !important;
}

/*Modal enviar e-mail - custom*/
.card .card-header-py-8,
.card .card-body-py-8,
.card .card-footer-py-8 {
    padding-block: 0.5rem !important;
}

/*Menu vertical*/
.layout-menu-collapsed .menu-item .badge {
    display: none;
}

.layout-menu-hover .menu-item .badge {
    display: block;
}

/*Custom Chat search*/
.chat-search-bar {
    position: absolute;
    width: 270px;
    z-index: 10;
    background-color: #fff;
    right: 29px;
    top: 54px;
}

    .chat-search-bar .input-group:focus, .chat-search-bar input:focus {
        outline: none !important;
        border: 0 !important;
        box-shadow: none !important;
        transform: translateY(0px);
    }

    .chat-search-bar .btn:hover {
        transform: translateY(0px);
    }

/*Login*/
.login {
    max-width: 400px;
    width: 100%;
    margin-inline: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

    .login .card-header {
        text-align: center;
    }

/*dropzone*/
.dropzone .dz-message {
    margin-block: 1rem 4rem !important;
    font-size: 12px !important;
}

.dropzone .dz-remove {
    color: #af2227 !important;
    font-size: 11px !important;
    text-transform: uppercase;
}

.dropzone .dz-message::before {
    inset-block-start: 2.7rem !important;
}

/*sweetAlert2*/
.swal2-container {
    z-index: 2100 !important;
}

.swal2-title {
    padding: 0 15px !important;
    font-size: 24px !important;
    max-inline-size: none !important;
    margin-block: 10px !important;
}

.swal2-icon {
    width: 4rem;
    height: 4rem;
}

.swal2-action--custom {
    gap: 10px;
}

.swal2-confirm, .swal2-cancel {
    padding: 5px 10px;
    font-size: 11px;
    text-transform: uppercase;
}

.swal2-html-container {
    font-size: 14px !important;
    padding-top: 0 !important;
}

/*fieldset*/
fieldset {
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
}

    fieldset legend {
        width: auto;
        margin-block-start: -20px;
        background-color: #fff;
        padding-inline: 4px;
        margin-inline-start: -5px;
        color: #af2227;
        font-size: .813rem;
    }

/*tabs*/
.nav-align-left .nav-tabs {
    border: 0;
    padding-block-start: 14px;
}

    .nav-align-left .nav-tabs .nav-link:not(.active):hover {
        border: 0 !important;
        border-inline-end: none !important;
        border-block-end: none !important;
        padding-inline-end: 1rem;
        /*padding-block-end: 10px;*/
        padding-block: 6px;
    }

    .nav-align-left .nav-tabs .nav-link {
        padding-inline-start: 0;
        padding-block: 6px;
        font-size: 11px;
    }

/*Ocorrencias > Realizar cobrança*/
.checked-gerar-boleto-contrato {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 9;
}

.table-cobranca-parcelas,
.table-cobranca-parcelas-pagas,
.table-cobranca-parcelas-pagas--ppi {
    width: 100%;
}

    .table-cobranca-parcelas tr th,
    .table-cobranca-parcelas-pagas tr th,
    .table-cobranca-parcelas-pagas--ppi tr th {
        font-size: 10px;
        text-transform: uppercase;
        font-weight: bold;
    }

    .table-cobranca-parcelas tr td,
    .table-cobranca-parcelas-pagas tr td,
    .table-cobranca-parcelas-pagas--ppi tr td {
        font-size: 11px;
    }

    .table-cobranca-parcelas tr th:nth-child(1) {
        width: 55px;
    }

    .table-cobranca-parcelas tr th:nth-child(2) {
        width: 85px;
    }

    .table-cobranca-parcelas tr th:nth-child(3),
    .table-cobranca-parcelas tr th:nth-child(4) {
        width: 100px;
    }

    .table-cobranca-parcelas tr th:nth-child(5) {
        width: 130px;
    }

    .table-cobranca-parcelas tr th:nth-child(6),
    .table-cobranca-parcelas tr th:nth-child(7),
    .table-cobranca-parcelas tr th:nth-child(8) {
        width: 105px;
    }

    .table-cobranca-parcelas tr th:nth-child(9) {
        width: 110px;
    }

    /*colunas mais encargo*/
    .table-cobranca-parcelas.w-encargo tr th:nth-child(1) {
        width: 50px;
    }

    .table-cobranca-parcelas.w-encargo tr th:nth-child(2) {
        width: 60px;
    }

    .table-cobranca-parcelas.w-encargo tr th:nth-child(3),
    .table-cobranca-parcelas.w-encargo tr th:nth-child(4) {
        width: 85px;
    }

    .table-cobranca-parcelas.w-encargo tr th:nth-child(5) {
        width: 100px;
    }

    .table-cobranca-parcelas.w-encargo tr th:nth-child(6) {
        width: 85px;
    }

    .table-cobranca-parcelas.w-encargo tr th:nth-child(7),
    .table-cobranca-parcelas.w-encargo tr th:nth-child(8) {
        width: 70px;
    }

    .table-cobranca-parcelas.w-encargo tr th:nth-child(9) {
        width: 105px;
    }

    .table-cobranca-parcelas.w-encargo tr th:nth-child(10),
    .table-cobranca-parcelas.w-encargo tr th:nth-child(11) {
        width: 90px;
    }

    .table-cobranca-parcelas.w-encargo tr th:nth-child(12) {
        width: 100px;
    }

    /*parcelas pagas*/
    .table-cobranca-parcelas-pagas tr th:nth-child(1),
    .table-cobranca-parcelas-pagas tr th:nth-child(2) {
        width: 100px;
    }

    .table-cobranca-parcelas-pagas tr th:nth-child(3),
    .table-cobranca-parcelas-pagas tr th:nth-child(4),
    .table-cobranca-parcelas-pagas tr th:nth-child(5),
    .table-cobranca-parcelas-pagas tr th:nth-child(6) {
        width: 120px;
    }

    .table-cobranca-parcelas-pagas tr th:nth-child(7) {
        width: 170px;
    }

/*resumo*/
.card-cobranca-resumo {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    line-height: 1;
    padding-inline: 20px;
    text-align: center;
    padding-block-start: 1rem;
}

    .card-cobranca-resumo h6 {
        font-size: 14px;
        margin: 0;
    }

    .card-cobranca-resumo span {
        font-size: 12px;
        color: #af2227;
        font-weight: 600;
    }

    .card-cobranca-resumo.line-through h6 {
        text-decoration: line-through;
        color: #8d8d8d;
    }

.accordion .accordion-button.ppi {
    cursor: inherit;
}

    .accordion .accordion-button.ppi::after {
        background: #fff;
    }

/*Filas de ocorrenais*/
.abas-criterios-fila .card {
    min-height: 62vh;
}

.abas-criterios-fila .nav-tabs {
    width: 160px;
    gap: 10px;
}

    .abas-criterios-fila .nav-tabs button {
        flex-wrap: wrap;
        line-height: 1.1;
    }

        .abas-criterios-fila .nav-tabs button span {
            /*display: block;*/
            font-weight: normal;
            font-size: 10px;
            text-transform: lowercase;
            width: 100%;
        }

.bloco-comparativos-entre {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

    .bloco-comparativos-entre .flatpickr-wrapper {
        flex: 1;
    }

.circle-tooltip {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
}

/*pagination*/
.pagination.pagination-sm.pagination-rounded .page-item span {
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
}

/*toast*/
.toast-header, .toast-body {
    color: white;
}

/*multi select*/
.select__box {
    width: 100%;
    position: relative;
}

.select__content {
    background: white;
    border: 1px solid #ced1d5;
    position: absolute;
    color: #000;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

    /* Quando o dropdown precisa abrir para cima */
    .select__content.active {
        top: auto;
        bottom: 100%;
        box-shadow: 0 -5px 10px rgba(0,0,0,0.1);
    }

.select__options::-webkit-scrollbar {
    width: 7px;
}

.select__option {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
}

    .select__option input {
        cursor: default;
        padding-right: 20px;
    }

    .select__option::after {
        position: absolute;
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='12' width='12' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.1 by @@fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
        right: 15px;
        transition: all 0.2s ease;
    }

.select__search,
.select__options {
    display: none;
}

    .select__search::after {
        position: absolute;
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='14' width='14' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%23b3b3b3' d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E");
        left: 25px;
    }

.select__options {
    margin: 0;
    padding-inline-start: 0;
    max-height: 200px;
    overflow-y: auto;
}

    .select__options li {
        padding: 5px 12px;
        cursor: pointer;
        transition: all 0.4s ease;
        border-top: 1px solid white;
    }

        .select__options li:hover {
            background-color: #f2f2f2;
        }

.select__box.active .select__content {
    opacity: 1;
    visibility: visible;
}

.select__box.active .select__option::after {
    transform: rotate(-180deg);
}

.select__box.active .select__search {
    display: flex;
    align-items: center;
    padding-inline: 12px;
    margin: 12px 0;
}

    .select__box.active .select__search input {
        padding-inline-start: 35px;
    }

.select__box.active ul.select__options {
    display: block;
}

.select__options li.selected {
    background-color: rgba(105, 108, 255, .2);
    color: #696cff;
}

/*chat custom*/
.chat-history-footer .view-anexo {
    position: absolute;
    z-index: 10;
    width: 300px;
    max-height: 200px;
    overflow-y: auto;
}

.chat-history-body .img-thumbnail,
.chat-history-footer .img-thumbnail {
    width: 50px;
    object-fit: cover;
}

.chat-history-footer .file-icon {
    font-size: 1.5rem;
}

.modal-lg-980 {
    width: 98%;
    max-width: 980px;
}

.modal-lg-1144 {
    width: 98%;
    max-width: 1144px;
}

.spinner-loading {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-top-color: var(--bs-success);
    animation: loading 1s linear infinite;
}

.app-kanban .kanban-wrapper {
    block-size: inherit !important;
}

@keyframes loading {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 768px) {
    .portal-documentos-arquivos {
        height: calc(100vh - 123px);
        overflow-y: auto;
        padding-right: 5px;
    }
}

@media (min-width: 960px) {
    .md-w-75 {
        width: 75%;
    }
}
