body {
    font-family: 'Roboto Slab', sans-serif;
}

.background-img1 {
    opacity: 1;
    background-image:
        linear-gradient(to right, rgba(0, 128, 0, 0.2), rgba(0, 0, 0, 0.1)),
        url("../img/login.jpg"),
        radial-gradient(circle, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.brand-link {
    padding: 0.4125rem 0.5rem;
    /*background-color: rgb(0, 128, 0) !important;*/
}

.navbar {
    padding: 0.1rem 0.1rem;
}

.content-header {
    padding: 5px 0.5rem;
}

.header-content {
    margin-top: 0;
    margin-bottom: 0;
}

.main-footer {
    padding: 0.3rem;
    font-size: 0.8rem;
    margin-bottom: -10px !important;
}

.nav-sub-icon {
    margin-left: 10px !important;
}

html {
    line-height: 0 !important;
}

/* Estilização da barra de rolagem */
::-webkit-scrollbar {
    width: 12px;
    /* Largura da barra de rolagem */
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Cor do polegar da barra de rolagem */
    border-radius: 5px;
    /* Borda arredondada */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    /* Cor do polegar da barra de rolagem quando passa o mouse por cima */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Cor de fundo da barra de rolagem */
}

::-webkit-scrollbar-button {
    display: none;
    /* Ocultar os botões de rolagem */
}



h3 {
    color: rgb(0, 128, 0);
    font-weight: bold;
}



/* TABLE */
.table th {
    vertical-align: middle;
    padding-top: 4px;
    border-top: 4px;
    padding-bottom: 4px;
}

.table td {
    vertical-align: middle;
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: 80% !important;
    color: #212529;
    line-height: 1;
}

.dataTables_wrapper .row:nth-child(2) {
    background-color: white;
    border: 1px solid rgb(223, 217, 217);
    /* Adiciona uma borda fina e cinza */
    border-radius: 5px;
    padding-bottom: 0px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
}

.dataTables_wrapper {
    padding: 5px !important;
}

.table td {
    white-space: nowrap;
}




/* CARD */

.modal-header {
    background-color: rgb(0, 128, 0);
    color: white;
    padding: 0.5rem 1rem !important;
}

.close {
    color: white;
}

.close {
    color: white;
}

.modal label {
    margin-top: 4px;
    margin-bottom: 2px;
    font-weight: 400 !important;
}

/* Cores DNA */
.dna-verde {
    color: rgb(0, 128, 0);
}

.bg-dna-verde {
    background-color: rgb(0, 128, 0);
}

.dna-cinza {
    color: rgb(128, 128, 128);
}

.bg-dna-cinza {
    background-color: rgb(128, 128, 128);
}

.dna-laranja {
    color: rgb(255, 165, 0);
}

.bg-dna-laranja {
    background-color: rgb(255, 165, 0);
}

.active-organizacao {
    background-color: #007bff !important;
    color: white !important;

}

/* Classes para tabelas de modal Show */

.table-show {
    margin-bottom: 10px !important;
    padding: 0px !important;
    border: 0px !important;
}

.label-show {
    font-size: 14px;
    font-weight: 450 !important;
    color: #757575 !important;
    margin-bottom: 0px !important;

}

.span-show {
    font-size: 15px !important;
    font-weight: 550 !important;
    color: #2b2b2b !important;
    margin-bottom: 0px !important;
}

.tr-label-show {
    line-height: 1.1 !important;
}

.tr-span-show {
    line-height: 1.1 !important;
}

.td-show {
    padding: 0px !important;
    margin: 0px !important;
}


/* Classes para tabelas de modal Edit */

.label-edit {
    font-size: 14px;
    font-weight: 450 !important;
    color: #757575 !important;
    margin-bottom: 0px !important;
    margin-top: 14px !important;

}

.input-edit {
    font-size: 15px !important;
    font-weight: 550 !important;
    color: #2b2b2b !important;
}

.form-control-border {
    padding: 0.2rem 0px !important;
    height: calc(1.5rem + 2px)
}

.form-group {
    margin-bottom: 0px !important;
}

/* Classes para Select2 autocomplete */
.select2-selection--single {
    font-size: 15px !important;
    font-weight: 550 !important;
    color: #2b2b2b !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    box-shadow: inherit !important;
    padding: 0.2rem 4px !important;
}

.select2-selection__rendered {
    padding: 0.2rem 0px !important;
}

.select2-search__field {
    line-height: 1 !important;
    border-radius: 5px !important;
}

/* Classes para Select2 autocomplete */
.ui-front {
    z-index: 9999 !important;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

* html .ui-autocomplete {
    height: 200px;
}

.select2-selection__clear {
    color: grey;
}

.modal-xxl {
    max-width: 90%;
}

/* Modal Expandido - Ocupa 100% da tela */
.modal-expandido {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.modal-expandido .modal-body {
    padding: 15px;
    height: 100vh !important;
    max-height: calc(100vh - 120px) !important;
}

.modal-expandido .modal-content {
    border-radius: 0;
    height: 100vh;
}

.modal-expandido .modal-header,
.modal-expandido .modal-footer {
    flex-shrink: 0;
    border-radius: 0 !important;
}