@import url("//fonts.googleapis.com/css?family=Poppins:400");
@import url("//fonts.googleapis.com/css?family=Roboto:400");
/********** Template CSS **********/

html {
  font-size: 100%;
}

/*** Section Title ***/
.section-title {
  color: var(--datatable-rojo-dyco);
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.swal2-title {
  flex-grow: 1;
  justify-content: flex-start;
  margin: 0 0.6em;
  font-size: 0.64em;
}

/*Bootstrap-select */

.filter-option {
  font-size: clamp(0.5rem, 0.4167rem + 0.3704vw, 0.625rem);
  font-family: "Roboto", sans-serif;
}

.bs-searchbox > input {
  font-size: 12px;
  font-family: "Roboto", sans-serif;
}

.bootstrap-select .dropdown-menu li a {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 1px;
}

:root {
  --datatable-bg-color: #124c6e;
  --datatable-bg2-color: #adbfcf;
  --datatable-rojo-dyco: #ed3237;
  --datatable-gris-dyco: #727376;

  --letra-negra: #000000;
  --color-negro: #000000;
  --color-blanco: #ffffff;

  --fc-small-font-size: 1.2em;
  --fc-page-bg-color: #fff;
  --fc-neutral-bg-color: rgba(208, 208, 208, 0.3);
  --fc-neutral-text-color: #808080;
  --fc-border-color: #ddd;

  --fc-button-text-color: #fff;
  --fc-button-bg-color: #2c3e50;
  --fc-button-border-color: #2c3e50;
  --fc-button-hover-bg-color: #1e2b37;
  --fc-button-hover-border-color: #1a252f;
  --fc-button-active-bg-color: #1a252f;
  --fc-button-active-border-color: #151e27;

  --fc-event-bg-color: #3788d8;
  --fc-event-border-color: #3788d8;
  --fc-event-text-color: #fff;
  --fc-event-selected-overlay-color: rgba(0, 0, 0, 0.25);

  --fc-more-link-bg-color: #d0d0d0;
  --fc-more-link-text-color: inherit;

  --fc-event-resizer-thickness: 8px;
  --fc-event-resizer-dot-total-width: 8px;
  --fc-event-resizer-dot-border-width: 1px;

  --fc-non-business-color: rgba(215, 215, 215, 0.3);
  --fc-bg-event-color: rgb(143, 223, 130);
  --fc-bg-event-opacity: 0.3;
  --fc-highlight-color: rgba(188, 232, 241, 0.3);
  --fc-today-bg-color: rgba(255, 220, 40, 0.15);
  --fc-now-indicator-color: red;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: var(--color-negro);
}

p {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: var(--color-negro);
}

.badge {
  font-size: 0.5rem;
  font-family: "Roboto", sans-serif;
}

label {
  font-size: clamp(0.563rem, 0.473rem + 0.238vw, 0.688rem);
  padding: 1px;
  padding-inline-end: 2em;
  color: var(--letra-negra);
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #6a737b;
  font-size: 0.6rem;
  font-style: oblique;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #6a737b;
  font-size: 0.6rem;
  font-style: oblique;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #6a737b;
  font-size: 0.6rem;
  font-style: oblique;
}

p {
  font-size: 0.69rem;
  padding: 2px;
  padding-inline-end: 2em;
  color: var(--letra-negra);
  font-family: "Roboto", sans-serif;
}

span {
  font-family: "Roboto", sans-serif;
  font-size: 0.69rem;
  padding: 2px;
}

h1 {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

h2 {
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.75;
}

h3 {
  font-family: "Roboto", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.75;
}

h4 {
  font-family: "Roboto", sans-serif;
  font-size: 0.64rem;
  font-weight: 400;
  line-height: 1.75;
}

h5,
h5,
h6 {
  font-family: "Roboto", sans-serif;
  font-size: 0.64rem;
  font-weight: 400;
  line-height: 1.75;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  margin-left: 5px;
}

input[type="date"] {
  width: 100%;
  padding: 2px 2px 2px 2px;
  margin-bottom: 10px 0;
  box-sizing: border-box;
  font-size: 0.69rem;
  box-shadow: 1px 1px 1px 1px #cdcdcd;
  border-radius: 4px;
  color: var(--letra-negra);
}

input[type="checkbox"] {
  padding: 2px;
  box-sizing: border-box;
  font-size: 0.69rem;
  border-radius: 4px;
  padding-inline-end: 2em;
  vertical-align: middle;
  position: relative;
}

input[type="number"],
input[type="email"],
input[type="text"],
input[type="password"],
input[type="select"],
textarea {
  width: 100%;
  padding: 2px 2px;
  margin-bottom: 10px 0;
  box-sizing: border-box;
  box-shadow: 1px 1px 1px 1px #cdcdcd;
  border-radius: 4px;
  padding-inline-end: 2em;
  color: var(--color-negro);
  font-family: "Roboto", sans-serif;
  font-size: 0.69rem;
  border: 1px solid transparent;
  border-bottom-color: hsla(185, 100%, 62%, 0.2);
  display: inherit;
}

input[type="number"] {
  text-align: right;
}

select {
  width: 100%;
}

select option {
  color: var(--letra-negra);
  font-size: 0.64rem;
  font-family: "Poppins", sans-serif;
  width: auto;
}

.navbar-light .navbar-nav .nav-link {
  color: #000000;
  font-size: clamp(0.5rem, 0.4167rem + 0.3704vw, 0.625rem);
  font-family: "Poppins", sans-serif;
}

.chosen {
  width: 100%;
}

.chosen-select {
  width: 100%;
}

.chosen-results {
  font-size: 0.69rem;
}

.chosen-container {
  font-size: 0.69rem;
  width: 100% !important;
}

input[type="submit"] {
  width: 100%;
  padding: 8px 8px;
  margin: 8px 0;
  box-sizing: border-box;
  font-size: 0.69rem;
  font-weight: 500;
  /* offset-x | offset-y | color */

  border: 1px solid transparent;
  border-bottom-color: hsla(185, 100%, 62%, 0.2);
  background-color: transparent;
}

.efecto_input {
  position: absolute;
  bottom: 0;
  left: 2em;
  right: 2em;
  height: 0.15em;
  box-shadow: 0 0 0.2rem #fff, 0 0 0.2rem #fff,
    0 0 1rem var(--datatable-bg-color), 0 0 0.4rem var(--datatable-bg-color),
    0 0 1.4rem var(--datatable-bg-color),
    inset 0 0 0.5rem var(--datatable-bg-color);
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  padding: 0px;
}

textarea:focus,
input:focus {
  outline: none;
}

textarea:focus ~ span,
input:focus ~ span {
  transform-origin: bottom left;
  transform: scaleX(1);
}

input[type="number"]:disabled,
input[type="email"]:disabled,
input[type="text"]:disabled,
input[type="password"]:disabled,
input[type="date"]:disabled,
textarea:disabled {
  background: #eae7e7;
  border: 1px solid #52565e;
}

input[type="checkbox"]:checked:disabled {
  color: darkblue;
}

input[type="checkbox"]:checked:disabled {
  background-color: darkblue;
}

textarea:required,
input:required {
  border-left: 2px solid #ff4f81;
}

input:invalid {
  border: 1px solid gray;
}

/* mouse over link */
a:hover {
  color: hotpink;
}

/* visited link */
a:visited {
  color: var(--letra-negra);
  font-size: 0.65rem;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

/* unvisited link */
a:link {
  color: var(--letra-negra);
  font-size: clamp(0.5rem, 0.4167rem + 0.3704vw, 0.625rem);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

/* selected link */
a:active {
  color: #323b43;
}

button {
  font-size: 0.69rem;
}

.login-card-img {
  border-radius: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

input:required:invalid,
input:focus:invalid,
textarea:required:invalid,
textarea:focus:invalid {
  background-image: url("../imagenes/error.ico");
  background-position: right center;
  background-repeat: no-repeat;
  border-left: 2px solid #ff4f81;
}

input:required:valid,
textarea:required:valid {
  background-image: url("../imagenes/ok.ico");
  background-position: right center;
  background-repeat: no-repeat;
}

/* Datos internos de la Tabla */
tbody td {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.3;
  font-size: 0.64rem;
  color: var(--letra-negra);
  word-wrap: break-word;
  text-overflow: ellipsis;
}

th,
tfoot {
  background-color: var(--datatable-bg-color);
  border: 1px solid var(--datatable-bg-color);
  color: #eff2f3;
  padding: 0px 0px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.3;
  font-size: 0.64rem;
}

#my_acta_obra th {
  background-color: #4a6985;
  color: #ffffff;
}

table.dataTable td {
  padding: 1 px;
  color: var(--color-negro);
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.3;
  font-size: 0.64rem;
}

table.dataTable tbody tr.selected {
  color: var(--color-negro);
  font-family: "Roboto", sans-serif;
}
.dataTables_wrapper thead th,
.dataTables_wrapper thead td {
    text-align: center !important; /* ¡Solo para pruebas! Elimina si funciona y busca la causa raíz. */
}

table {
  table-layout: fixed;
  margin: 0 auto;
  width: 100%;
  clear: both;
}

div.dataTables_filter > label > input {
  font-family: "Robot", sans-serif;
  font-size: 12px;
  color: var(--letra-negra);
}

table.dataTable thead .sorting_asc {
  background: url("../imagenes/arrow_up_yellow.ico") no-repeat center right;
  background-color: var(--datatable-bg-color);
}

table.dataTable thead .sorting_desc {
  background: url("../imagenes/arrow_down_yellow.ico") no-repeat center right;
  background-color: var(--datatable-bg-color);
}

.dataTables_empty {
  text-align: left;
}

div.dataTables_processing div {
  display: none;
}

.bg-yellow-light {
  background-color: #faf7ed;
  color: var(--color-negro);
}

.negrita {
  font-weight: bold;
}

.texto_resaltado {
  color: #0000ff;
  font-weight: 600;
}

.titulo_capitulo {
  font-size: 14px;
  color: var(--letra-negra);
  font-weight: 800;
  text-decoration: underline #cd595a;
}

.subtitulo_capitulo {
  font-size: 12px;
  color: var(--letra-negra);
  font-weight: 800;
  font-style: italic;
}

.modal-header {
  background-color: var(--datatable-bg-color);
  color: #fff;
}

.modal-title {
  font-size: 12px;
  color: #fff;
  font-weight: 200;
}

.modal-dialog {
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
  vertical-align: middle;
}

.modal-body {
  background-color: #eff2f3;
}

.modal {
  overflow-y: auto !important;
}

.modal-sm {
  max-width: 40% !important;
}

.modal-md {
  max-width: 60% !important;
}

.modal-lg {
  max-width: 80% !important;
}

.modal-xl {
  max-width: 100% !important;
}

/* Darle Estilo al Boton de cerrar las ventanas modales */
.close {
  float: right;
  font-size: 0.64rem;
  font-weight: 100;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: 2;
}

.close span {
  font-size: 1.5rem;
}

/* Darle Estilo al Boton cuando se pasa el ratón de cerrar las ventanas modales */
.close:hover {
  float: right;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: #ff0000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: 1;
}

.columna_horas {
  background-color: #ffc168;
  color: var(--letra-negra);
}

.columna_fija {
  background-color: #004b66;
  color: #ffffff;
}

.loader {
  position: relative;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.blink_me {
  animation: blinker 1s linear infinite;
  color: #ff0000;
  top: 50%;
  left: 50%;
  font-size: 12px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  text-shadow: #fff 2px 0px 10px;
}

.sweet-alert {
  width: 80px;
  height: 80px;
  border: 4px solid gray;
  -webkit-border-radius: 40px;
  border-radius: 40px;
  border-radius: 50%;
  margin: 20px auto;
  padding: 0;
  position: relative;
  box-sizing: content-box;
}

.swal2-popup.swal2-toast.swal2-show {
  border: 1px solid #cccccc;
  -webkit-animation: swal2-show 0.5s !important;
  animation: swal2-show 0.5s !important;
}

.swal-confirm-button {
  width: 850px !important;
}

Botones BOOTSTRAP
/* BOTON PRIMARY  */

.btn-primary {
  color: #08519c;
  background-color: transparent;
  border: 1px solid #08519c;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-primary:hover {
  color: #08519c;
  background-color: #fff;
  border: 1px solid #08519c;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-outline-primary {
  color: #08519c;
  background-color: transparent;
  border: 1px solid #08519c;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-outline-primary:hover {
  background-color: #08519c;
  color: #ffffff;
  border: 1px solid #08519c;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

/* BOTON SUCCESS  */
.btn-success {
  background-color: #279b37;
  border: 1px solid #279b37;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-success:hover {
  color: #279b37;
  background-color: #fff;
  border: 1px solid #279b37;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-outline-success {
  color: #279b37;
  background-color: transparent;
  border: 1px solid #279b37;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-outline-success:hover {
  background-color: #279b37;
  color: #ffffff;
  border: 1px solid #279b37;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

/* BOTON WARNING  */

.btn-warning {
  background-color: #ffc168;
  border: 1px solid #ffc168;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-warning:hover {
  color: #ffc168;
  background-color: var(--letra-negra);
  border: 1px solid #ffc168;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-outline-warning {
  color: #f57d00;
  background-color: transparent;
  border: 1px solid #ffc168;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
  font-style: italic;
}

.btn-outline-warning:hover {
  background-color: #ffc168;
  color: var(--letra-negra);
  border: 1px solid #ffc168;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

/* BOTON DANGER  */

.btn-danger {
  background-color: #ce181e;
  border: 1px solid #ce181e;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-danger:hover {
  color: #ce181e;
  background-color: #fff;
  border: 1px solid #ce181e;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-outline-danger {
  color: #ce181e;
  background-color: transparent;
  border: 1px solid #ce181e;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-outline-danger:hover {
  background-color: #ce181e;
  color: #ffffff;
  border: 1px solid #ce181e;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

/* BUTTON INFO  */

.btn-info {
  background-color: #0033a1;
  border: 1px solid #0033a1;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-info:hover {
  color: #0033a1;
  background-color: #fff;
  border: 1px solid #0033a1;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-outline-info {
  color: #0033a1;
  background-color: transparent;
  border: 1px solid #0033a1;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-outline-info:hover {
  background-color: #0033a1;
  color: #ffffff;
  border: 1px solid #0033a1;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

/* BUTTON SECONDARY  */

.btn-secondary {
  background-color: #505264;
  border: 1px solid #505264;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-secondary:hover {
  color: #505264;
  background-color: #fff;
  border: 1px solid #505264;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-outline-secondary {
  color: #505264;
  background-color: transparent;
  border: 1px solid #505264;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.btn-outline-secondary:hover {
  background-color: #505264;
  color: #ffffff;
  border: 1px solid #505264;
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.letra {
  font-size: 0.69rem;
  font-family: "Poppins", sans-serif;
}

.fc-event-time,
.fc-event-title {
  padding: 2px;
  white-space: normal;
  font-size: 9px;
  font-family: "Roboto", sans-serif;
}

.fc-title {
  white-space: normal;
  font-size: 9px;
  font-family: "Roboto", sans-serif;
}

.letra_badge {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 9px;
  word-wrap: break-word;
}

/*-------------------Juan David----------------------------*/

/* 
.image {

  box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}
 */

#myCarousel {
  height: 100%;
  width: 100%;
  align-items: center;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  text-align: center;
  width: 100%;
}

.carousel-item img {
  display: block;
  margin: auto;
  width: 80%;
  height: 100%px;
  margin-top: 1.3%;
}

.carousel-control-next-icon1 {
  background-color: #1c2833;
}

.carousel-control-prev-icon1 {
  background-color: #1c2833;
}

.me-2 {
  width: 80%;
  max-width: 80px;
  height: auto;
}

@media (min-width: 576px) {
  .navbar-icon-top.navbar-expand-sm .navbar-nav .nav-link {
    text-align: center;
    display: table-cell;
    height: 70px;
    vertical-align: middle;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-icon-top.navbar-expand-sm .navbar-nav .nav-link > .fa {
    display: block;
    width: 48px;
    margin: 2px auto 4px auto;
    top: 0;
    line-height: 24px;
  }

  .navbar-icon-top.navbar-expand-sm .navbar-nav .nav-link > .fa > .badge {
    top: -7px;
  }
}

@media (min-width: 768px) {
  .navbar-icon-top .navbar-expand-md .navbar-nav .nav-link {
    text-align: center;
    display: table-cell;
    height: 70px;
    vertical-align: middle;
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-icon-top .navbar-expand-md .navbar-nav .nav-link > .fa {
    display: block;
    width: 48px;
    margin: 2px auto 4px auto;
    top: 0;
    line-height: 24px;
  }

  .navbar-icon-top .navbar-expand-md .navbar-nav .nav-link > .fa > .badge {
    top: -7px;
  }
}

/* estilos body pagina extra */

.department_area {
  background-image: url(../img/gallery/department.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.department_area .row.custom_align {
  margin-bottom: 60px;
}

.total-sales {
  font-size: clamp(0.625rem, 0.485rem + 0.294vw, 0.75rem);
  color: #fff;
  font-weight: 600;
  margin: 0;
}

.total-cred_disp {
  font-size: clamp(0.625rem, 0.485rem + 0.294vw, 0.75rem);
  color: #fff;
  font-weight: 600;
  margin: 0;
}

.sales-amount {
  font-size: clamp(0.875rem, 0.786rem + 0.238vw, 1rem);
  font-weight: bold;
  color: #fff;
  text-align: right;
}

.saldo_por_avance {
  font-size: clamp(0.875rem, 0.786rem + 0.238vw, 1rem);
  font-weight: bold;
  color: #fff;
  text-align: right;
  padding-inline-end: 0em;
}

.palabra-millones {
  font-size: 12px;
  font-weight: bold;
}

.avance-amount {
  font-size: 12px;
  font-weight: bold;
  color: #00ffff;
}

.avance_interv-amount {
  font-size: 12px;
  font-weight: bold;
  color: #ff6347;
}

.card_fiducia {
  background: linear-gradient(
    45deg,
    hsla(236, 97%, 13%, 1) 0%,
    hsla(211, 100%, 28%, 1) 100%
  );
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 20px;
  /* Ajusta el padding según lo necesites */
}

.card_fiducia_2 {
  background-image: linear-gradient(-20deg, #2b5876, #4e4376);
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 20px;
  /* Ajusta el padding según lo necesites */
}

.card_fiducia_3 {
  background-image: linear-gradient(
    to top,
    #008f7a,
    #00826f,
    #007665,
    #006a5a,
    #005e50
  );
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 20px;
  /* Ajusta el padding según lo necesites */
}

.card_fiducia_4 {
  background: rgba(255, 255, 255, 0.31);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.etiqueta_dash {
  font-size: clamp(0.75rem, 0.661rem + 0.238vw, 0.875rem);
  font-weight: bold;
  color: #000;
  text-align: right;
  padding: 0px;
  padding-inline-end: 0em;
  position: absolute;
}

.input_search_datatable {
  padding: 0.15rem;
  font-size: 0.675rem;
  line-height: 1.5;
  font-family: Arial, Helvetica, sans-serif;
  border: 1px solid #ced4da; /* Borde estándar */
  border-radius: 0.25rem; /* Bordes ligeramente redondeados (típico de Bootstrap) */
}
