
html, body {margin: 0; height: 100%; overflow: hidden}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    white-space: wrap !important;
}

#toast-container.toast-top-center > div, #toast-container.toast-bottom-center > div{
    width: 536px !important;
}

.custom-scroll {
    overflow-y: auto; /* Ativar barra de rolagem vertical apenas quando necessário */
    max-height: 350px; /* Altura máxima para a barra de rolagem */
}

.toast-warning{
    width: 100% !important;
    max-width: 70% !important;
}

.toast-top-center{
    pointer-events: none;
}
.toast-warning{
    pointer-events: all;
}

.custom-scroll ul.notification {
    margin: 0;
    padding: 0;
    list-style: none;
}

.parent-container {
    height: 100%; /* Garantir que o contêiner pai tenha uma altura definida */
    display: flex; /* Usar flexbox para layouts flexíveis */
    flex-direction: column; /* Direção de coluna para ajustar a altura */
}

table tbody{
    cursor: pointer !important;
}

.tabs-scroll {
    overflow-x: auto;
    white-space: nowrap;
}

.tabs-scroll .nav-item {
    display: inline-block;
}

.tabs-scroll .nav-link {
    border-radius: 0;
    margin-bottom: 0;
}

.tabs-scroll .nav-tabs {
    overflow: hidden;
    overflow-x: auto;
}

.tabs-scroll .tab-content {
    overflow: hidden;
}

.is-invalid .select2-selection,
.needs-validation ~ span > .select2-dropdown{
    border-color:#ff0000 !important;
    padding-right: calc(1.47em + 3rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23ff0400' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ff0400' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.3675em + 1.25rem) center;
    background-size: calc(0.735em + 0.5rem) calc(0.735em + 0.5rem);
}

.hover_button_primary:hover {
    border: solid 1px #00a859 !important;
    color: #00a859 !important
}

.hover_button_primary:hover > * {
    color: #00a859 !important
}

.main-logo-small{
    content: url("./../../../../dist/img/logo-white.png");
    height: 50px;
}

.mod-skin-light:not(.mod-nav-dark) .main-logo-small {
    content: url("./../../../../dist/img/logo.png");
    height: 50px;
}

.main-logo{
    content: url("./../../../../dist/img/logo.png");
}

.main-logo-login{
    content: url("./../../../../dist/img/logo-login.png");
    width: 75%;
}

.mod-skin-dark:not(.mod-nav-light) .main-logo {
    content: url("./../../../../dist/img/logo-white.png"); }

.mod-skin-dark:not(.mod-nav-light) .main-logo-login {
    content: url("./../../../../dist/img/logo-login-white.png"); }

.logo-home{
    max-width: 80%;

}

.nothing-img{
    background: url("./../../../../dist/img/nothing.png") no-repeat;
    background-size: auto;
}

.loading-css {
    backdrop-filter: blur(2px);
    color: #018043;

    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
}

main{
    padding-top: 15px !important;
}
@media (min-width: 991px) {
    .logo-home{
        max-width: 40%;
        position: absolute;
        top: 30%;
    }
}

@media (min-width: 768px) {
    .header-name {
        display: block; }
}

.card-vertical-scroller{
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 300px;
}

.iframe-Container {
    background: white;
    padding: 0;
    overflow: hidden;
    width: 100%;
    height: 80vh;
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
    width: 100%;
    height: 100%;
}


/*.layout-composed .fullsize-table {*/
/*    max-height: calc(100vh - 140px);*/
/*}*/
/* .layout-composed #CTable-filter{
    max-height: calc(100vh - 125px) ;
} */

@media (min-width: 990px){
    .fullsize-table {
        max-height: calc(100vh - 180px);
    }

    .layout-composed .fullsize-table {
        max-height: calc(100vh - 155px);
    }

    .root-text-sm .layout-composed .fullsize-table {
        max-height: calc(100vh - 150px)
    }

    .root-text-lg .layout-composed .fullsize-table {
        max-height: calc(100vh - 180px)
    }

    .root-text-xl .layout-composed .fullsize-table {
        max-height: calc(100vh - 200px)
    }

    .root-text-sm .fullsize-table {
        max-height: calc(100vh - 170px);
    }

    .root-text-lg .dataTables_wrapper {
        max-height: calc(100vh - 180px) ;
    }

    .root-text-xl .dataTables_wrapper {
        max-height: calc(100vh - 210px);
    }

    .root-text-lg .fullsize-table {
        max-height: calc(100vh - 190px);
    }

    .root-text-xl .fullsize-table {
        max-height: calc(100vh - 210px);
    }

    /*.root-text-sm .layout-composed .fullsize-table{*/
    /*    max-height: calc(100vh - 124px);*/
    /*} */

    .root-text-lg .layout-composed .fullsize-table{
        max-height: calc(100vh - 155px);
    }

    .root-text-xl .layout-composed .fullsize-table{
        max-height: calc(100vh - 165px);
    }
}
@media only screen and (max-width: 990px){
    /* .fullsize-table {
        height: calc(100vh - 120px) !important;
    }

    .root-text-sm .fullsize-table{
        height: calc(100vh - 80px) !important;
    }

    .root-text-lg .fullsize-table{
        height: calc(100vh - 90px) !important;
    }

    .root-text-xl .fullsize-table{
        height: calc(100vh - 100px) !important;
    }  */
}

.root-text-sm .conciliacao-table {
    max-height: calc(100vh - 170px);
}

.root-text-lg .conciliacao-table {
    max-height: calc(100vh - 210px);
}

.root-text-xl .conciliacao-table {
    max-height: calc(100vh - 220px);
}

@media (min-width: 990px){
    .fullsize-table {
        max-height: calc(100vh - 180px);
    }

    /*.layout-composed .dataTables_wrapper {*/
    /*    max-height: calc(100vh - 340px);*/
    /*}*/

    /*.root-text-sm .fullsize-table {*/
    /*    max-height: calc(100vh - 170px);*/
    /*}*/

    .root-text-lg .dataTables_wrapper {
        max-height: calc(100vh - 180px);
    }

    .root-text-xl .dataTables_wrapper {
        max-height: calc(100vh - 210px);
    }

    .root-text-lg .fullsize-table {
        max-height: calc(100vh - 190px);
    }

    .root-text-xl .fullsize-table {
        max-height: calc(100vh - 210px);
    }

    /*.root-text-sm .layout-composed .fullsize-table{*/
    /*    max-height: calc(100vh - 124px);*/
    /*} */

    .root-text-lg .layout-composed .fullsize-table{
        max-height: calc(100vh - 155px);
    }

    .root-text-xl .layout-composed .fullsize-table{
        max-height: calc(100vh - 165px);
    }
}
@media only screen and (max-width: 990px){
    body{
        overflow: auto;
    }

    .fullsize-table  {
        max-height: 100% !important;
        overflow-y: auto !important;
        overflow-x: auto !important;
    }

    .fullsize-table .dataTables_wrapper{
        max-height: 100% !important;
    }
}

@media(max-width: 765px)
{
    .financeiro-table{
        max-height: 100% !important;
        overflow-y: auto !important;
        overflow-x: auto !important;
    }

    .financeiro-table .dataTables_wrapper{
        max-height: 100% !important;
    }

    #financeiro-card-div, #dataTable-cadDiv{
        height: auto !important;
    }
}

.layout-composed .financeiro-table, .root-text .layout-composed .financeiro-table{
    max-height: calc(100vh - 157px) !important;
}

.layout-composed .financeiro-table .dataTables_wrapper, .root-text .layout-composed .financeiro-table {
    max-height: calc(100vh - 157px) !important;
}

.root-text-sm .layout-composed .financeiro-table {
    max-height: calc(100vh - 140px) !important;
}

.root-text-sm .layout-composed .financeiro-table .dataTables_wrapper {
    max-height: calc(100vh - 140px) !important;
}

.root-text-lg .layout-composed .financeiro-table {
    max-height: calc(100vh - 171px) !important;
}

.root-text-lg .layout-composed .financeiro-table .dataTables_wrapper {
    max-height: calc(100vh - 171px) !important;
}

.root-text-xl .layout-composed .financeiro-table {
    max-height: calc(100vh - 202px) !important;
}

.root-text-xl .layout-composed .financeiro-table .dataTables_wrapper {
    max-height: calc(100vh - 202px) !important;
}

/* .root-text-sm .financeiro-table, .root-text-sm .financeiro-table .dataTables_wrapper {
    max-height: calc(100vh - 210px);
} */

.root-text-lg .financeiro-table, .root-text-lg .financeiro-table .dataTables_wrapper {
    height: 100%;
}

.root-text-xl .financeiro-table, .root-text-xl .financeiro-table .dataTables_wrapper {
    height: 100%;
}

/*
    financeiro table
*/
.financeiro-table {
    height: 100%;
}

.financeiro-table .dataTables_wrapper{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.financeiro-table .table-body{
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.financeiro-table .table-body thead{
    position: sticky;
    top: 0;
    background-color: #fafafa;
    z-index: 1;
}

.parcelas-table {
    max-height: 315px;
}

.parcelas-table .dataTables_wrapper{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.parcelas-table .table-body{
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.parcelas-table .table-body thead{
    position: sticky;
    top: 0;
    background-color: #fafafa;
    z-index: 1;
}

.conciliacao-table .dataTables_wrapper{
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 350px);
}

.conciliacao-table .dataTables_scrollBody{
    max-height: calc(100vh - 410px) !important;
}

.root-text-sm .conciliacao-table .dataTables_wrapper{
    max-height: calc(100vh - 300px);
}
.root-text-sm .conciliacao-table .dataTables_scrollBody{
    max-height: calc(100vh - 370px) !important;
}

.root-text-lg .conciliacao-table .dataTables_wrapper{
    max-height: calc(100vh - 370px);
}

.root-text-lg .conciliacao-table .dataTables_scrollBody{
    max-height: calc(100vh - 450px) !important;
}

.root-text-xl .conciliacao-table .dataTables_wrapper{
    max-height: calc(100vh - 410px);
}

.root-text-xl .conciliacao-table .dataTables_scrollBody{
    max-height: calc(100vh - 470px) !important;
}

@media (max-width: 991px) {
    .layout-composed .financeiro-table, .root-text .layout-composed .financeiro-table{
        max-height: calc(100vh - 180px) !important;
    }

    .layout-composed .financeiro-table .dataTables_wrapper, .root-text .layout-composed .financeiro-table {
        max-height: calc(100vh - 180px) !important;
    }

    .root-text-sm .layout-composed .financeiro-table {
        max-height: calc(100vh - 170px) !important;
    }

    .root-text-sm .layout-composed .financeiro-table .dataTables_wrapper {
        max-height: calc(100vh - 170px) !important;
    }

    .root-text-lg .layout-composed .financeiro-table {
        max-height: calc(100vh - 210px) !important;
    }

    .root-text-lg .layout-composed .financeiro-table .dataTables_wrapper {
        max-height: calc(100vh - 210px) !important;
    }

    .root-text-xl .layout-composed .financeiro-table {
        max-height: calc(100vh - 220px) !important;
    }

    .root-text-xl .layout-composed .financeiro-table .dataTables_wrapper {
        max-height: calc(100vh - 220px) !important;
    }

    .root-text-sm .financeiro-table, .root-text-sm .financeiro-table .dataTables_wrapper {
        max-height: calc(100vh - 180px);
    }

    .root-text-lg .financeiro-table, .root-text-lg .financeiro-table .dataTables_wrapper {
        max-height: calc(100vh - 210px);
    }
    .root-text-xl .financeiro-table, .root-text-xl .financeiro-table .dataTables_wrapper {
        max-height: calc(100vh - 220px);
    }

    .financeiro-table {
        max-height: calc(100vh - 200px);
    }

    .financeiro-table .dataTables_wrapper{
        max-height: calc(100vh - 200px);
    }
}

.fullsize-table .dataTables_wrapper{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fullsize-table .table-body{
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
}

.fullsize-table .table-body thead{
    position: sticky;
    top: 0;
    background-color: #fafafa;
    z-index: 1;
}

.div-footer{
    left: 0;
    bottom: 0;
    width: 100%;
    border: 1px solid rgba(0,0,0, 18%);
    background-color: rgba(0,0,0, 10%);
    text-align: center;
    padding-top : 0.25rem;
    padding-bottom: 0.25rem;
}

vr {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    border-left: 1px inset;
}

.ctable-doc-editor{
    background-color: #ffffff ;
    width: 100%;
    height: 100%;
}

code:after {
    display:inline-block;
    border-left:1px solid rgba(0,0,0,.2);
    margin-left:4px;
    padding-left:4px;
    opacity:.5
}

code.option {
    color:#d14; !important;
    white-space:nowrap
}
code.option:after {
    content:"Opções"
}

code.api {
    color: cyan; !important;
    white-space:nowrap
}
code.api:after {
    content:"API"
}

code {
    margin-bottom: 0.5rem;
}
.responsive-text{
    font-size: 2vw;
}
@media (max-width: 991px) {
    .responsive-text{
        font-size: 3vw;
    }
}

.dataTables_processing{
    border-color: #00a859;
    color: #00a859;
}

.stickTop {
    position: sticky;
    top: 0;
    z-index: 1;
}

.stickBottom {
    position: sticky;
    bottom: 0;
    z-index: 1;
}

.bg-body {
    background-color: #fafafa;
}

.modal-body.bg-body {
    background-color: #f0f0f0;
}

.tab-content {
    background-color: #fafafa;
}

.CTable-row {
}

#wrapper {
    position: relative;
}

.family-tree {
    position: relative;
    margin-left: 23vw;
}

.family-tree:before {
    content: "";
    width: 47px;
    border-top: 2px solid #000;
    position: absolute;
    left: -24px;
    top: 50%;
    margin-top: 1px;
}

.entry {
    position: relative;
    min-height: 60px;
}

.entry:before {
    content: "";
    height: 100%;
    border-left: 2px solid #000;
    position: absolute;
    left: 22px;
}

.entry:after {
    content: "";
    width: 20px;
    border-top: 2px solid #000;
    position: absolute;
    left: 22px;
    top: 50%;
    margin-top: 1px;
}

.entry:first-child:before {
    width: 10px;
    height: 50%;
    top: 50%;
    margin-top: 2px;
    border-radius: 1px 0 0 0;
}

.entry:first-child:after {
    height: 10px;
    border-radius: 1px 0 0 0;
}

.entry:last-child:before {
    width: 10px;
    height: 50%;
    border-radius: 0 0 0 1px;
}

.entry:last-child:after {
    height: 10px;
    border-top: none;
    border-bottom: 2px solid #000;
    border-radius: 0 0 0 1px;
    margin-top: -9px;
}

.entry.sole:before {
    display: none;
}

.entry.sole:after {
    width: 50px;
    height: 0;
    margin-top: 1px;
    border-radius: 0;
}

#wrapper .form-control {
    display: block;
    min-width: 200px;
    max-width: 250px;
    padding: 5px 10px;
    position: absolute;
    left: 40px;
    top: 50%;
    margin-top: -15px;
}

@media (max-width: 991px) {
    .family-tree {
        margin-left: 29vw;
    }

    .family-tree:before {
        width: 9px;
        left: -21px;
        margin-top: -2px;
    }

    .entry:before {
        left: -12px;
    }

    .entry:after {
        width: 17px;
        left: -12px;
    }

    #wrapper .form-control {
        min-width: 110px;
        max-width: 120px;
        left: 5px;
    }
}


#wrapper .bg-primary-100::placeholder {
    color: #fff
}
#wrapper .bg-primary-100:focus::placeholder {
    color: #999
}

/*.tab-pane .fade {*/
/*    -webkit-transition-duration: 0.4s; !* Safari *!*/
/*    transition-duration: 0.4s;*/
/*}*/

.select2-hidden-accessible { position: fixed !important; }

@media (min-width: 991px) {
    #img-animal {
        height: 110px !important;
    }
}
@media (min-width: 1134px) {
    #img-animal {
        height: 130px !important;
    }
}
#img-animal {
    height: 200px;
}

.truncate {
    max-width:50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes blink {
    0% { color: red; }
    100% { color: #3d4044 }
}

.blinkRed {
    animation: blink 1s infinite;
}
