html {
  font-size: 1rem;
}

@media screen and (max-width: 1000px) {
  html {
    font-size: 0.8rem;
  }
}

@media screen and (min-width: 1000px) {
  .container-fluid {
    padding-left: 0;
  }
}

div.w2p_flash.alert {
  display: none;
  position: fixed;
  top: 70px;
  left: 75px;
  cursor: pointer;
  z-index: 1000;
  background-color: #f9edbe;
  border-color: #f0c36d;
}

div.w2p_flash {
  max-width: 310px;
  padding: 15px;
}

form {
  padding: 0 70px;
  width: 100%
}

@media screen and (max-width: 1000px) {
  form {
    padding: 0 10px;
    width: 100%
  }
}

.form-control-label.col-sm-3 {
  margin-bottom: 0;
  text-align: end;
}

@media screen and (max-width: 1000px) {
  .form-control-label.col-sm-3 {
    margin-bottom: 0;
    text-align: start;
  }
}

.form-group.row {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 15px;
}

.btn-primary {
  color: #fff;
  background-color: #941BBF;
  border-color: #941BBF;
}

.btn-primary:hover {
  background-color: #941BBF/90;
  border-color: #941BBF/90;
}

.dropdown-item:hover {
  background-color: #941BBF/90;
  border-color: #941BBF/90;
}

.btn-outline-primary {
  color: #941BBF;
  background-color: transparent;
  background-image: none;
  border-color: #941BBF;
}

.btn-outline-primary:hover {
  background-color: #941BBF;
  border-color: #941BBF;
}

.form-group.row:has(> .col-sm-9) {
  justify-content: end;

  .col-sm-9 {
    padding-right: 0;
  }
}

.col-sm-9:not(:has(> .form-check)) {
  display: flex;
  justify-content: end;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #941BBF;
}

.navbar-toggler {
  padding: 0 0.25rem;
  height: 30px;
  width: 30px;

  span {
    width: 20px;
  }
}

thead {
  position: sticky;
  top: 0;
  background-color: #f8f9fa;
  z-index: 1;
}

/* Configura um espaço para o scrollbar vertical */
tbody {
  overflow-y: scroll;
  max-height: 400px;
  /* Ajuste conforme necessário */
  display: block;
}

@media screen and (max-width: 1000px) {
  tbody {
    overflow-y: scroll;
    max-height: 312px;
    /* Ajuste conforme necessário */
    display: block;
  }
}

/* Estiliza a tabela */
/* .scrollTable {
  background: #fff;
  border: 1px solid #888;
  overflow: auto;
  white-space: nowrap;
  height: 400px;
  width: 100%;
} */

.scrollTable {
  overflow-x: auto;
  width: 100%;
  min-height: 300px;
  max-height: 430px;
}

.scroller {
  min-height: 300px;
  max-height: 410px;
}

@media screen and (max-width: 1000px) {
  .scrollTable {
    overflow-x: auto;
    width: 100%;
    min-height: 300px;
    max-height: 355px;
  }

  .scroller {
    min-height: 300px;
    max-height: 355px;
  }
}

.table-wrapper {
  width: fit-content;
}

.header,
.border {
  min-width: 550px;
  table-layout: fixed;
}

table.header {
  text-align: center;
}

div.scrollTable table.header,
div.scrollTable div.scroller table {
  width: 100%;
  border-collapse: collapse;
}

/* .scrollTable th,
.scrollTable td {
  padding: 8px;
  border: 1px solid #dee2e6;
  white-space: nowrap;
}

.table-container {
  max-height: 400px;
  overflow: auto;
} */

.header-and-search {
  flex-direction: row;
}

@media screen and (max-width: 1000px) {
  .header-and-search {
    flex-direction: column;
  }
}

.table-container {
  padding-left: 3rem;
  padding-right: 3rem;
}

@media screen and (max-width: 1000px) {
  .table-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.search {
  width: 25%;
  padding-right: 2.25rem;
}

@media screen and (max-width: 1000px) {
  .search {
    width: 70%;
    padding-right: 0;
    margin-top: 20px;
  }
}

.buttons>div {
  display: flex;
  gap: 6px;
}

.orange:hover {
  background-color: #FFA56E !important;
}

.red:hover {
  background-color: #FF5C5C !important;
}