body {
    background-image: url(../img/mozaico.png);
}

.bg-Custom {
    background-image: linear-gradient(to bottom, #022231, #088fcc) !important;
}

.btn-icon {
    padding: .20rem .2rem;
    font-size: .7rem;
    border-radius: .2rem;
}

.areaLogoPrincipal {
    background-color: #fff;
    /*background-image: linear-gradient(to bottom, #066693, #088fcc) !important;*/
    border: 1px solid #05557a;
    text-align: center;
    padding: 2px;
}

    .areaLogoPrincipal img {
        width: 80%;
        height: auto;
    }

.areaLogoEmpresa {
    width: 200px;
}

    .areaLogoEmpresa img {
        width: 50%;
        height: auto;
    }

.tituloCol {
    /*width: 20px;*/
    border: 1px solid #00f;
}

.tituloCol-nomeForm {
    text-align: center;
    padding: 4px;
    font-size: 1.2em;
    color: #002C51;
    text-shadow: 0.08em 0.08em 0.1em #ccc;
    font-weight: normal;
}

/*=== Menu ===*/
.navbar-Custom .navbar-brand {
    color: #fff;
}

    .navbar-Custom .navbar-brand:hover, .navbar-Custom .navbar-brand:focus {
        color: #fff;
    }

.navbar-Custom .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1);
}

    .navbar-Custom .navbar-nav .nav-link:hover, .navbar-Custom .navbar-nav .nav-link:focus {
        color: rgba(59, 187, 247, 0.9);
        text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
    }

    .navbar-Custom .navbar-nav .nav-link.disabled {
        color: rgba(255, 255, 255, 0.25);
    }

    .navbar-Custom .navbar-nav .show > .nav-link,
    .navbar-Custom .navbar-nav .nav-link.active {
        color: #fff;
    }

.navbar-Custom {
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.1);
}

    .navbar-Custom .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-Custom .navbar-text {
        color: rgba(255, 255, 255, 0.55);
    }

        .navbar-Custom .navbar-text a,
        .navbar-Custom .navbar-text a:hover,
        .navbar-Custom .navbar-text a:focus {
            color: #fff;
        }

/* .navbar-nav .nav-link {
}

.dropend .dropdown-toggle {    
} */

.dropdown-item:hover {
    background-color: #bbb !important;
}

.dropdown .dropdown-menu {
    display: none;
    margin-top: 0;
}

.dropdown:hover > .dropdown-menu,
.dropend:hover > .dropdown-menu {
    display: block;
    /* margin-top: 0.125em; */
    /*margin-left: 0.125em;*/
}

@media screen and (min-width: 769px) {
    .dropend:hover > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
    }

    /*.dropend .dropdown-toggle {
        margin-left: 0.5em;
    }*/
}

/*==== CSS Senha ====*/
#pwdsSenha_info ul li {
    list-style-type: none;
    text-align: left;
}

#pwdsSenha_info {
    position: absolute;
    width: 300px;
    padding: 5px;
    background: #fefefe;
    font-size: .875em;
    border-radius: 5px;
    box-shadow: 0 1px 3px #ccc;
    border: 1px solid #ddd;
    display: none;
}

    #pwdsSenha_info::before {
        content: "\25B2";
        position: absolute;
        top: -12px;
        left: 20px;
        font-size: 14px;
        line-height: 14px;
        color: #fefefe;
        text-shadow: none;
        display: block;
    }

    #pwdsSenha_info h4 {
        margin: 0 0 5px 0;
        padding: 0;
        font-weight: bold;
    }

.invalid {
    position: relative;
    background: url(../img/invalid.png) no-repeat 0 50%;
    left: -20px;
    padding-left: 22px;
    line-height: 24px;
    color: #ec3f41;
}

.valid {
    position: relative;
    background: url(../img/valid.png) no-repeat 0 50%;
    left: -20px;
    padding-left: 22px;
    line-height: 24px;
    color: #3a7d34;
}


/*==== Formul�rio ====*/
.bg-degradGray {
    --bs-bg-opacity: 1;
    background-image: linear-gradient(#dedede, #f0f0f0, #dedede) !important;
    border: 1px solid #ccc;
}

.bg-degradLight {
    --bs-bg-opacity: 1;
    background-image: linear-gradient(#f2f2f2, #fff, #f2f2f2) !important;
    border: 1px solid #ccc;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #31788b;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(80, 184, 212, 0.25);
}

.form-select:focus {
    border-color: #31788b;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(80, 184, 212, 0.25);
}

/*.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: rgba(80, 184, 212, 0.25) !important;
    color: #f00 !important;
}*/

table tbody.linkLinha tr > td {
    cursor: pointer;
}

/*==== Paginacao ====*/
.ComboPaginacao {
    font-size: 0.9em;
    color: #444;
}

    .ComboPaginacao select {
        font-size: 0.9em;
        color: #444;
        background-color: #ddd;
        border: 0.1em solid #888;
        border-radius: 0.2em;
    }

.actionIcons {
    text-align: center;
}

    .actionIcons img {
        width: auto;
        height: 1.2em;
    }

.paginacaoList nav {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
}

.paginacaoList .pagination {
    margin-bottom: 0.7rem !important; 
    margin-top: 0.4rem;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
}

.page-link {
    position: relative;
    display: block;
    text-decoration: none;
    color: #444;
    background-color: #efefef;
    border: 1px solid #ccc;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .page-link {
        transition: none;
    }
}

.page-link:hover {
    z-index: 2;
    color: #dedede;
    background-color: #444;
    border-color: #999;
}

.page-link:focus {
    z-index: 3;
    outline: 0;
    color: #0a58ca;
    background-color: #e9ecef;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.page-item:not(:first-child) .page-link {
    margin-left: -1px;
}

.page-item.active .page-link {
    z-index: 3;
    background-color: #444;
    border: 1px solid #999;
}

.page-item.disabled .page-link {
    pointer-events: none;
    /*color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;*/
}

.page-link {
    padding: 0.375rem 0.75rem;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.pagination-lg .page-link {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
}

.pagination-lg .page-item:first-child .page-link {
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

.pagination-lg .page-item:last-child .page-link {
    border-top-right-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
}

.pagination-sm .page-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.pagination-sm .page-item:first-child .page-link {
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}

.pagination-sm .page-item:last-child .page-link {
    border-top-right-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
}

/*==== Loader ====*/
#loadingContainer {
    width: 120px;
    height: 120px;
}

#loadingMsg {
    margin: 0 auto;
    max-width: 150px;
    text-align: center;
    padding-top: 4px;
    color: #ccc;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
}

@keyframes animation {
    0% {
        stroke-dasharray: 1 98;
        stroke-dashoffset: -105;
    }

    50% {
        stroke-dasharray: 80 10;
        stroke-dashoffset: -160;
    }

    100% {
        stroke-dasharray: 1 98;
        stroke-dashoffset: -300;
    }
}

#spinner {
    transform-origin: center;
    animation-name: animation;
    animation-duration: 1.2s;
    animation-timing-function: cubic-bezier;
    animation-iteration-count: infinite;
}
/*===== table =====*/
/* .table-responsive {
    display: inline-block; 
    width: auto;
    overflow-x: auto;
}

.table {
    width: auto !important;
    min-width: 100%;
    margin-bottom: 0;
}
 */
.w-table-min {
    width: 100% !important;
    min-width: 450px;
}

/* Se a paginação estiver dentro de uma div centralizada, 
   ela pode estar empurrando a largura. Vamos limitar: */
.pagination {
    flex-wrap: nowrap;
}

table.table-fit {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    table-layout: auto !important;
    border-collapse: collapse;
}
    table.table-fit thead th,
    table.table-fit tbody td,
    table.table-fit tfoot th,
    table.table-fit tfoot td {
        width: auto !important;
        white-space: nowrap;
        vertical-align: middle;
        font-weight: normal !important;
    }

.table-striped.table-custom-red > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: rgba(220, 53, 69, 0.1);
    color: var(--bs-emphasis-color);
}

table.table-fit th,
table.table-fit td {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.table:not(.table-fit) {
    width: 100% !important;
    table-layout: auto;
}
.table:not(.table-fit) td, 
.table:not(.table-fit) th {
    white-space: normal;
    vertical-align: middle;
}
.text-nowrap-cpf {
    white-space: nowrap !important;
}

.border-tables {
    border-color: #adb3b8 !important;
}

.border-light {
    border-color: #bfbfbf !important;
}

/*====== Botoes ======*/
.btn-mini {
    --bs-btn-padding-y: 0.15rem;
    --bs-btn-padding-x: 0.3rem;
    --bs-btn-font-size: 0.600rem;
    --bs-btn-border-radius: 0.15rem
}

.divIcons {
    display: inline-block;
    padding: 0em 0.3em 0.25em 0.3em;
    border-radius: 0.2em;
    border: 0.1em solid #aaa;
    cursor: pointer;
}

    .divIcons img {
        width: 1em;
        height: auto;
    }

    .divIcons:hover {
        padding: 0em 0.3em 0.25em 0.3em;
        background-color: rgba(80, 184, 212, 0.25);
        border: 0.1em solid #666;
    }

/* ==== Table Custom ==== */
.table-tfoot-clean {
    border: none !important;
}

/* 2. Aplicamos bordas apenas ao cabeçalho e corpo */
.table-tfoot-clean thead,
.table-tfoot-clean tbody {
    border-left: 1px solid #6c757d !important; /* Cor correspondente ao border-secondary */
    border-right: 1px solid #6c757d !important;
}

.table-tfoot-clean thead {
    border-top: 1px solid #6c757d !important;
}

/* 3. Fechamos a borda na última linha do tbody para separar da paginação */
.table-tfoot-clean tbody tr:last-child td {
    border-bottom: 1px solid #6c757d !important;
}

/* 4. Garantimos que o tfoot não tenha absolutamente nada */
.table-tfoot-clean tfoot th {
    border: none !important;
    background-color: transparent !important;
}

.paginacaoList ul.pagination {
    display: flex;
    justify-content: center !important;
}
