/******************************************************************************* 
Created on : 31/01/2020, 00:00:00
Author     : ING ANDRES CHILIQUINGA
*******************************************************************************/

root { 
    display: block;
}

html, body{
    direction:ltr;
    font-family             : 'Inter', sans-serif;
    font-size               : 11px !important;
    color                   : #78767b !important; 
    /*color                   : rgb(119, 121, 126) !important; */
    padding                 : 0px;   
    background-color        : #f0f1f2;
    background-size         : 100% 100%;
    background-attachment   : fixed;
}

.main-container{
    position        : absolute; 
    background-color: #f0eff3;/*#fafafa;*/
    width           : 100%;
    height          : 100%;
    overflow        : hidden;
}

.container{
    width       : 100% !important;
    height      : 100% !important;
    max-width   : 100% !important;
    min-width   : 100% !important;
    padding     : 5px !important;
    overflow    : hidden;
}

.contend{
    width         : 100% !important;
    height        : 90% !important;
    max-width     : 100% !important;
    min-width     : 100% !important;
    padding       : 10px !important;
    background    : #ffffff; 
    overflow      : hidden;
    border-radius : 10px !important;  
}

.offcanvas {
    --bs-offcanvas-width: 300px !important;
}

.accordion-mnu {
    --bs-accordion-color                    : #212529 !important;
    --bs-accordion-transition               : color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,border-radius 0.15s ease;
    --bs-accordion-btn-padding-x            : 1.25rem;
    --bs-accordion-btn-padding-y            : 1rem;
    --bs-accordion-btn-color                : #9ea0a2 !important;
    --bs-accordion-btn-icon                 : url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239ea0a2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-icon-width           : 1.25rem;
    --bs-accordion-btn-icon-transform       : rotate(-180deg);
    --bs-accordion-btn-icon-transition      : transform 0.2s ease-in-out;
    --bs-accordion-btn-active-icon          : url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239ea0a2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-focus-border-color   : #212529;
    --bs-accordion-btn-focus-box-shadow     : 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-accordion-body-padding-x           : 1.25rem;
    --bs-accordion-body-padding-y           : 1rem;
    --bs-accordion-active-color             : #f5f6f6 !important;
}

.card-shadow {
    position        : relative;
    display         : flex;
    flex-direction  : column;
    min-width       : 0;
    word-wrap       : break-word;
    background-color: #fff;
    background-clip : border-box;
    border          : 0px solid transparent;
    border-radius   : 10px !important;  
    box-shadow      : 7px 7px 12px 0 rgba(20, 20, 20, 0.3);
}

.load {
    /*Div que ocupa toda la pantalla*/
    display         : none; /* Hidden by default */
    position        : fixed;
    top             : 0px;
    left            : 0px;
    bottom          : 0px;
    right           : 0px;
    width           : 100%;
    height          : 100%;
    background-color: #FFF;
    filter          : alpha(opacity=60); /*IE*/
    -moz-opacity    : 0.5;
    opacity         : 0.5; /*FireFox Opera*/
    z-index         : 2000;
}

.row-margin{
    margin-top  : 0.5rem !important; 
}

.col-margin{
    margin  : 1rem !important; 
}

.nav-link {
    text-align : left !important;
    color      : #f7f8fa !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color            : #0a2658  !important;
    background-color : #fcea1e !important;
}

.bg-toolbar {
  --bs-bg-opacity: 1;
  background-color: #0f1b63 !important;
}

.accordion-mnu {  
  --bs-accordion-btn-color: #d4e2f0 !important;
}

.required::after {
    content: ' *';
    color: red;
    font-weight: bold;
}

@media (min-width: 90vw) {
  .modal-xl {
    --bs-modal-width: 95vw !important;
  }
}


.nav-tabs .nav-link.active {
  color: var(--bs-nav-tabs-link-active-color);
  background-color: #1461b3 !important;
  border-color: var(--bs-nav-tabs-link-active-border-color);
}

/* TABS DE APROBACION AREA*/
.nav-link-head {
    text-align : center;
    color      : #afafaf;
    background : #ffffff;
    border: solid 1px #dee0e1;
    padding: 7px;
    margin: 1px;
    border-radius: 5px;
}

.nav-pills-head .nav-link-head.active, .nav-pills-head .show > .nav-link-head {
    color            : #ffffff  !important;
    background-color : #8b8b8b !important;
    border: solid 1px #8b8b8b;
    padding: 7px;
    margin: 1px;
    border-radius: 5px;
}

/* TABS DE APROBACION*/
.nav-link-mnu {
    text-align : center;
    color      : #8f9294;
    background : #ffffff;
    border: solid 1px #dee0e1;
    padding: 7px;
    margin: 1px;
    border-radius: 5px;
}

.nav-pills-mnu .nav-link-mnu.active, .nav-pills-mnu .show > .nav-link-mnu {
    color            : #f1f1f1  !important;
    background-color : #0b77d1 !important;
    border: solid 1px #0b77d1;
    padding: 7px;
    margin: 1px;
    border-radius: 5px;
}

  .sticky-header {
    position: sticky;
    top: 0;
    z-index: 1; /* Asegura que la cabecera esté por encima del contenido al hacer scroll */
    background-color: white; /* O el color de fondo que desees para la cabecera */
  }

  /* Opcional: Para una cabecera oscura */
  .sticky-header.thead-dark th {
    background-color: #343a40 !important; /* Reemplaza con el color de fondo oscuro */
    color: white !important;
  }

  /* Opcional: Para una cabecera clara */
  .sticky-header.thead-light th {
    background-color: #f8f9fa !important; /* Reemplaza con el color de fondo claro */
    color: #495057 !important;
  }
  
  
 .img{
    width         : 100px;
    height        : 100px;
    border-radius : 50%;
    object-fit    : cover;
    border        : solid 4px;
    border-color  : #909497;
}


.card-shorcut {
	background-color: #ffffff; /* Fondo blanco */
	border: 1px solid #f0eff3; /* Borde azul marino */
	border-radius: 8px; /* Bordes redondeados */
	padding: 10px 10px; /* Espaciado interno */
	/*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra suave */
	margin: 0 auto; /* Centrado horizontal */
}





/**********************************************************/
.nav-link-mnu-r {
  color: #0b77d1 !important;
  background-color: #f5f5f5 !important;
  border: solid 1px #0b77d1;
  padding: 7px;
  margin: 1px;
  border-radius: 5px;
  transition: all 0.3s ease; /* animación suave */
}

/* Estado activo */
.nav-link-mnu-r.active {
  background-color: #055a9c !important; /* tono más oscuro */
  color: #ffffff !important;
}

/* Hover */
.nav-link-mnu-r:hover {
  background-color: #0d8ae6 !important;
  color: #fff !important;
}

