@font-face {
  font-family: "Alegreya Sans";
  src: url('../fonts/Alegreya_Sans/AlegreyaSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya Sans";
  src: url('../fonts/Alegreya_Sans/AlegreyaSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Alegreya Sans";
  src: url('../fonts/Alegreya_Sans/AlegreyaSans-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  font-family: "Alegreya Sans", Arial, sans-serif;
}

.select2-container--bootstrap-5 .select2-selection--multiple::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #666;
  pointer-events: none;
}

.select2-container--bootstrap-5
  .select2-selection--multiple
  .select2-selection__clear {
  right: 2rem;
}

html {
  height: -webkit-fill-available;
}

main {
  display: flex;
  flex-wrap: nowrap;
  height: 100vh;
  height: -webkit-fill-available;
  max-height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
}

.b-example-divider {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow:
    inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

span.novo-alerta {
  padding: 0.35rem !important;
}

/* .bi {
  vertical-align: -0.125em;
  pointer-events: none;
  fill: currentColor;
}

.dropdown-toggle {
  outline: 0;
}
 */
.nav-flush .nav-link {
  border-radius: 0;
}

/* .btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
  background-color: transparent;
  border: 0;
}

.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(0, 0, 0, 0.85);
  background-color: #d2f4ea;
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform 0.35s ease;
  transform-origin: 0.5em 50%;
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(0, 0, 0, 0.85);
}

.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  display: inline-flex;
  padding: 0.1875rem 0.5rem;
  margin-top: 0.125rem;
  margin-left: 1.25rem;
  text-decoration: none;
}

.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #d2f4ea;
}

.scrollarea {
  overflow-y: auto;
} */

.fw-semibold {
  font-weight: 600;
}

.lh-tight {
  line-height: 1.25;
}

.pad-c {
  padding: 50px;
}

.col-criterio {
  width: 35%;
}

.col-responsavel {
  width: 35%;
}

.col-data {
  width: 10%;
}

.col-validade {
  width: 10%;
}

.col-arquivo {
  width: 10%;
}

.border-linha {
  border: 1px solid #0250a5;
}

.border-color-box {
  background-color: #557ab9;
  color: #ffff;
  border: 1px solid #0250a5;
}

.footer-h {
  height: 300px;
}

.border-navbar {
  border-bottom: 2px dashed white;
}

/*.form-control:focus {
  box-shadow: 0px 5px 0px 0px #84b9f1;
}

.form-select:focus {
  box-shadow: 0px 5px 0px 0px #84b9f1;
}*/

.header,
.footer {
  background: linear-gradient(to right, #007bff, #6610f2);
  color: #fff;
  padding: 80px 20px;
  width: 100%;
  box-sizing: border-box;
}

.footer {
  padding: 20px 20px;
}

.header h1 {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Alegreya Sans", Arial, sans-serif;
  font-weight: 300;
  font-style: italic;
}

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

.header-buttons h1 {
  margin: 0;
  display: flex;
  align-items: center;
  font-family: "Alegreya Sans", Arial, sans-serif;
  font-weight: 300;
  font-style: italic;
  text-align: center;
}

.header-buttons h1 i {
  margin-right: 10px;
  color: #fff;
  background: transparent;
}

.section-title {
  background: linear-gradient(to right, #007bff, #6610f2);
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px 5px 5px 5px;
  font-weight: bold;
  font-family: "Alegreya Sans", Arial, sans-serif;
  margin-bottom: 0;
  text-align: center;
}

.form-section {
  background: #fff;
  padding: 20px;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  border-top: none;
}

.form-section + .section-title {
  margin-top: -20px;
}
/*
.form-control {
  border-color: #007bff;
}

.form-control:focus {
  border-color: #0056b3;
  box-shadow: none;
}

textarea.form-control {
  background-color: #f8f9fa;
  border-color: #007bff;
}*/

.modal-header .btn-save-modal {
  padding: calc(var(--bs-modal-header-padding-y) * 0.5)
    calc(var(--bs-modal-header-padding-x) * 0.5);
  margin: calc(-0.5 * var(--bs-modal-header-padding-y))
    calc(-0.5 * var(--bs-modal-header-padding-x))
    calc(-0.5 * var(--bs-modal-header-padding-y)) auto;
}

.bom_pagador {
  color: green;
}

.mau_pagador {
  color: black;
}

.em_debito {
  color: red;
}

.border-linha {
  border: 1px solid #02458d;
  /* Contornos azuis */
}

.search-bar {
  border-color: 1px solid #0056b3;
  box-shadow: none;
  position: relative;
}

.search-bar input:focus {
  border-color: #0056b3;
  box-shadow: none;
}

.search-bar input {
  width: 100%;
  max-width: 100%;
  /* Garante que a largura máxima seja 100% */
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-60%) translateX(-90%);
  color: #007bff;
  pointer-events: none;
  /* Para que o ícone não interfira na digitação */
}

.footer {
  padding: 20px;
}

/*ESTILIZAÇÃO DOS CAMPOS*/
.btn-add-form {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 0;
  font-size: 16px;
  color: #fff;
  background-color: #28a745;
  /* Verde, você pode alterar a cor */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-add-form:hover {
  background-color: #218838;
}

/* Estilo para o botão de deletar */
.btn-delete-form {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 0;
  width: auto;
  box-sizing: border-box;
  font-size: 16px;
  color: #fff;
  background-color: #dc3545;
  /* Vermelho, você pode alterar a cor */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-delete-form:hover {
  background-color: #c82333;
}

.table .add-row-exp,
table .dynamic-formset1-add,
table .dynamic-formset2-add,
table .dynamic-formset3-add,
table .dynamic-formset4-add,
table .dynamic-formset5-add,
table .dynamic-epi-add,
table .dynamic-evolucao-add,
table .dynamic-atestado-add {
  visibility: hidden !important;
  display: none !important;
}

a.btn.btn-primary.call-add-button-exp {
  float: right;
  margin: -24vh -34vw 0px 0px;
}

#file-icon-no-file {
  color: gray;
  cursor: pointer;
}

tr.selected + tr > td {
  background-color: #cfcfcf !important;
}
table.table.dataTable > tbody > tr.selected > * > a {
  color: #fff !important;
}
