@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

main {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.tab-content {
    padding: 0rem !important;
}

.modal-content {
   background-image: linear-gradient(to bottom, #ffffff, #ffffff, #ffffff, #e7e7e7)
}

table td {
    transition: all .5s;
    max-width: 120px;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
}

input[type=text] {
    background-color: #fff !important;
}

.toast-body {
    max-height: 200px;
    overflow-y: auto;
    word-break: break-word;
}

input[type=text]:disabled,
input[type=text]:read-only,
select:disabled {
    background-color: #e9ecef !important;
}

/* nav-adjusts */
.col .dropdown-menu {
    background-color: white !important;
}

.col .dropdown-item {
    color: black !important;
}

.col .dropdown-item:hover {
    background-color: #1765b3 !important;
    color: white !important;
}

#labelInput {
    background-color: #1C1D37;
    color: white;
    padding: 0.5rem;
    font-family: sans-serif;
    border-radius: 0.3rem;
    cursor: pointer;
}

#file-chosen {
    margin-left: 0.3rem;
    font-family: sans-serif;
}

.container-fluid {
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
}

.modal-content {
    padding: 0.5rem 0.5rem;
}

.form-floating>.form-control,
.form-floating>.form-control-plaintext,
.form-floating>.form-select {
  height: calc(2.5rem + 2px) !important;
  line-height: 1 !important;
}

.form-floating>label {
    padding: 0.5rem 0.75rem !important;
}

.form-floating > .form-select {
    height: auto !important;
}

button:disabled,
button[disabled] {
    cursor: not-allowed;
    pointer-events: all !important;
}

/* row selected */
.table.dataTable tbody tr.selected>*{
    box-shadow: inset 0 0 0 9999px rgb(98 102 108 / 84%);
    color: white;
    transition-duration: 0ms;
}

div.dt-buttons {
    float: right !important;
}

/* adicionando asteristico em label cujo campo é required */
.form-floating .label-required::after{
    content: " *" !important;
    color: red !important; /* Cor opcional para o asterisco */
}

/* retirando background do botão de baixar xlsx */
button.dt-button {
    background: none !important;
}

.accordion-button:not(.collapsed) {
    color: #1c1d37 !important;
    background-color: #e3e3e3 !important
}

/* ajuste select search */
/*.select-search{
    padding: .375rem 0.375rem 0.75rem !important;
    background-image: none !important;
}

#tab-dados .selectize-input>*,
#tab-dados .selectize-dropdown-content {
    font-size: 0.7rem;
}*/

/* Estilo para o Selectize */
.selectize-control {
    width: 100%;
}

.selectize-control .item {
    max-width: 150px; /* Define a largura máxima para o texto da opção selecionada */
    white-space: nowrap; /* Impede a quebra de texto */
    overflow: hidden; /* Oculta o texto que excede a largura */
    text-overflow: ellipsis; /* Adiciona um ponto de elipse (...) ao texto cortado */
}

.overflow-modal {
    min-height: 40rem;
    max-height: 20rem;
    overflow: scroll;
}

.form-group .form-control:focus + label {
    top: 8px;
    font-size: 12px;
    color: #007BFF;
}

.form-group .form-control {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.form-group .form-control:focus {
    border-color: #007BFF;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.selectize-dropdown {
    padding: 0 !important;
}


/* buttons style */
.btn-primary{
    background-image: linear-gradient(to right, #0d6efd , #0047b1);
}

.btn-success{
    background-image: linear-gradient(to right, #198754 , #105334);
}

.btn-danger{
    background-image: linear-gradient(to right, #dc3545 , #af0c1c);
}

.btn-sync{
    background-color: #EC661C !important;
    color: #ffffff !important;
}

@keyframes nudge{
    20%,100%{
        transform:translate(0,0)
    }
    0%{
        transform:translate(0,5px);
        transform:rotate(4deg)
    }
    10%{
        transform:translate(0,-5px);
        transform:rotate(-4deg)
    }
}

@media (min-width: 2560px) {
    .container {
        max-width: 150rem !important;
    }
}

@media (min-width: 1400px) AND (max-width: 2500px) {
    .container {
        max-width: 110rem !important;
    }
}

@media (min-width: 992px) AND (max-width: 1395px) {
    .container {
        max-width: 60rem !important;
    }
}
