/**
gestion css
*/
.stepwizard-step p {
    margin-top: 0px;
    color:#666;
}
.stepwizard-row {
    display: table-row;
}
.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}
.stepwizard-step button[disabled] {
    /*opacity: 1 !important;
    filter: alpha(opacity=100) !important;*/
}
.stepwizard .btn.disabled, .stepwizard .btn[disabled], .stepwizard fieldset[disabled] .btn {
    opacity:1 !important;
    color:#bbb;
}
.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content:" ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-index: 0;
}
.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}
.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}



a {
	text-decoration:none !important;
}

a:hover {
	text-decoration:underline !important;
}

.card a:hover {
  background-color: inherit !important;
}

a.disabled {
    pointer-events: none !important;
}


button.table-icon-link:disabled {
  background-color: #adb5bd;   /* gris Bootstrap */
  border-color: #adb5bd;
  color: #6c757d;
  cursor: not-allowed !important;
  opacity: 0.65;
}

button.table-icon-link:disabled .bi {
  color: #6c757d;
}
.nextBtn {
	margin-top: 40px;
}


.ui-autocomplete {
	position: absolute;
	z-index: 999999999999;
	cursor: default;
	padding: 0;
	margin-top: 2px;
	list-style: none;
	background-color: #ffffff;
	border: 1px solid #ccc;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.ui-autocomplete > li {
	padding: 3px 20px;
}
.ui-autocomplete > li.ui-state-focus {
	background-color: #DDD;
}
.ui-helper-hidden-accessible {
	display: none;
}

textarea{
	resize: none;
}

.footerTop {
    display: table-header-group;
}

.table-disable-hover.table tbody tr:hover td,
.table-disable-hover.table tbody tr:hover th {
    background-color: inherit;
}
.table-disable-hover.table-striped tbody tr:nth-child(odd):hover td,
.table-disable-hover.table-striped tbody tr:nth-child(odd):hover th {
  background-color: #f9f9f9;
}

.nav>li>a:hover, .nav>li>a:focus {
  background-color: #eeeeee;
}

.hide { display: none; }

.grilla {
	padding: 10px;
	text-align: center;
  	display: grid;
  	grid-template-columns: auto auto auto;
}

.bar-chart {
    background-color: #C7D9D9;
}

.orden-adm {
    background-repeat: no-repeat;
    background-position: 92% 50%
}

.oa {
    height: 30px;
    background-repeat: no-repeat;
    background-position: 92% 50%
}

.memo {
    height: 50px;
    background-repeat: no-repeat;
    background-position: 92% 50%
}

.doc_uce {
    height: 50px;
    background-repeat: no-repeat;
    background-position: 92% 50%
}

.panel-primary {
-webkit-box-shadow: 10px 10px 5px -4px rgba(0,0,0,0.21);
-moz-box-shadow: 10px 10px 5px -4px rgba(0,0,0,0.21);
box-shadow: 10px 10px 5px -4px rgba(0,0,0,0.21);
}

.info-res{
    font-size: 40px;
    color: #006bb7;
}
.pes{
	font-size: 15px;
	margin-bottom: 0px;
}
.tituloHome{
	font-size: 17px;
}
.calugasReporte{
	width: 300px;
}
.calugasReporteCarta{
	padding-left: 40px;
}
.calugasReporteCarta2{
	padding-left: 230px;
}
.dt-button.excel {
	display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #333;
    background-color: #fff;
    border-color: #ccc;

    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;

    margin-bottom: 10px;
    margin-left: 10px;
    float: right;
}
.dt-buttons {
	float: right !important;
}

.inline-text {
	display: inline;
	white-space:nowrap;
}

.inline-input {
	display: inline;
	white-space:nowrap;
	width: 350px;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 3px;
}

.inline-input-sm {
	display: inline;
	white-space:nowrap;
	width: 150px;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 3px;
}

.m-bot{
	margin-bottom: 10px;
}

.verde{
	color: green !important;
	border-color: green!important;
	background-color: rgb(167, 239, 176)!important;
}

.amarillo{
/*	color: yellow;*/
/*	border-color: yellow;*/
	color: #f0ad4e !important;
	border-color: #f0ad4e!important;
}

.blanco{
	color: white !important;
	border-color: white!important;
}

.negro{
	color: black !important;
	border-color: black!important;
}

.rojo{
	color: red !important;
	border-color: red!important;
}

.azul{
	color: #006bb7 !important;
	border-color: #006bb7!important;
}

.anchoBoton150{
	width:150px;
}

.ancho100{
	width:100px !important;
}

.ancho150{
	width:150px !important;
}

.ancho200{
	width:200px !important;
}

.ancho300{
	width:300px !important;
}

.pr0{
	padding-right: 0px;
}

.ancho10por{
	width: 10%;
}

.ancho20por{
	width: 20%;
}

.letra17{
	font-size: 17px;
}

a.disabled {

    cursor: default;
    pointer-events: none;
  }
.row-left-footer-button-sdim{

    margin-right: 15px;
}

.row-left-footer-button-amb{

    margin-right: 30px;
}

.row-left-footer-button-dim{

    margin-right: 25px;
}

.sube{
	margin-bottom: 38px;
}

.mr8{
	margin-right: 8px;
}

.mLeft{
	margin-left: 10px;
}

.mLeft16{
	margin-left: 16px;
}

.mbot10{
	margin-bottom: 10px;
}

.mt9{
	margin-top: 9px;
}

.mt12 {
	margin-top: 12px;
}

.mt22 {
	margin-top: 22px;
}
.mt33 {
	margin-top: 33px;
}
.mt20 {
	margin-top: 20px;
}

.mt14{
	margin-top: 14px;
}

.pr14{
	padding-right: 14px;
}

.p20{
	padding: 20px;
}

.pspecial{
	padding-left: 14px;
	padding-right: 14px;
}

.autoAjuste{
	word-wrap: break-word;
}


.multiselect-container {
  width: 100%;
  min-width: 100%;
}

.multiselect-native-select,
.multiselect-native-select .btn-group,
.multiselect-native-select .multiselect {
  width: 100%;
}

.multiselect {
  text-align: left;
}

.divAddCol{

    float: right;
}

#global-loader .loader-backdrop{
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,.35);
  z-index: 20000; /* por sobre casi todo */
}

#global-loader .loader-content{
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20001;
  text-align: center;
  font-size: 18px;
  padding: 15px 30px;
  background-color: white;
  border-radius: 5px;
}

#global-loader .loader-spin{
  color: black;
  font-size: 42px;
  display: inline-block;
  animation: loaderSpin 1s linear infinite;
}

#global-loader .loader-text{
  color: black;
  margin-top: 10px;
}

@keyframes loaderSpin{
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Bootstrap 5 fixes for shared UI components */
#breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  list-style: none;
}

#breadcrumb .breadcrumb-label {
  color: #6c757d;
}

#breadcrumb > li:not(.breadcrumb-label) + li:not(.breadcrumb-label)::before {
  content: "/";
  color: #6c757d;
  padding-right: 6px;
}

#breadcrumb .breadcrumb-item a {
  text-decoration: none;
}

#breadcrumb .breadcrumb-item a:hover {
  text-decoration: underline;
}

/* Navbar menu spacing for legacy markup inside Bootstrap 5 navbar */
#menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

#menu > li > a {
  display: block;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

#menu > li > a:hover,
#menu > li > a:focus {
  text-decoration: none;
}

/* Fix para ancho de dropdowns en menú - ajuste automático al contenido */
#menu .dropdown-menu {
  padding: 0.5rem 0;
  margin-top: 0.25rem;
  min-width: max-content;  /* Ajusta al contenido más ancho */
  width: auto;             /* Ancho automático */
}

#menu .dropdown-item {
  padding: 0.35rem 1rem;
  line-height: 1.4;
  white-space: nowrap;     /* Evita que el texto se envuelva */
}

/* Fix para contraste de texto en dropdown-items activos */
#menu .dropdown-item.active {
  color: #fff !important;  /* Texto blanco sobre fondo azul para mejor contraste */
}

a.btn {
  color: inherit;
}

a.btn.btn-primary,
a.btn.btn-success,
a.btn.btn-danger,
a.btn.btn-info,
a.btn.btn-warning,
.btn-primary-gradient,
.btn-primary-gradient:hover,
.btn-primary-gradient:focus {
  color: #fff !important;
}

.card {
	padding-left: 0 !important;
	padding-right: 0 !important;
	cursor: default;
}

/* ============================================
   Heading Size Control - Bootstrap 5
   ============================================ */

/* Ensure headers inside cards have correct sizing */
.card-body h1,
.card-body h2,
.card-body h3,
.card-body h4,
.card-body h5,
.card-body h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: 'museo-sans', sans-serif;
 /* font-weight: 700; */
  line-height: 1.2;
}

.card-body h1 {
  font-size: 1.7rem;
}

.card-body h2 {
  font-size: 1.5rem;
}

.card-body h3 {
  font-size: 1.3rem;
}

.card-body h4 {
  font-size: 1.1rem;
}

.card-body h5 {
  font-size: 1rem;
}

.card-body h6 {
  font-size: 1.2rem;
}

/* ============================================
   Tabs Size Control - Bootstrap 5
   ============================================ */

/* Fix for nav-tabs and nav-pills link sizes */
.nav-tabs .nav-link,
.nav-pills .nav-link {
  font-size: 1rem !important;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.5rem 1rem;
}

/* Ensure nav-fill tabs have correct spacing */
.nav-fill .nav-link {
  font-size: 1rem !important;
}

/* Fix for custom tab classes that might inherit large sizes */
.nav-link.generic-tab-class {
  font-size: 1rem !important;
}

/* Ensure active tabs don't have oversized text */
.nav-tabs .nav-link.active,
.nav-pills .nav-link.active,
.nav-tabs .nav-link:hover,
.nav-pills .nav-link:hover {
  font-size: 1rem !important;
}
/*
.nav-link.active:not(.lidimension){
	color: white !important;
}*/

/* ============================================
   Fix para nav-pills de dimensiones (tabDimension)
   ============================================ */
/* Nav-pills dimensiones activos - texto blanco sobre fondo azul */
#tabDimension .nav-link.active {
  background-color: #006bb7 !important;
  color: #fff !important;
  border-color: #006bb7 !important;
}

/* Hover en nav-pills dimensiones inactivos - fondo gris, texto azul */
#tabDimension .nav-link:not(.active):hover {
  background-color: #e9ecef !important;
  color: #006bb7 !important;
}

/* Fix for nested tabs (seconds-tabs) */
.nav-tabs.seconds-tabs .nav-link,
.nav-tabs.tabs-main .nav-link {
  font-size: 1rem !important;
}

/* Override any invalid font-size values from external CSS */
.nav-tabs-custom .nav-link {
  font-size: 1rem !important;
  font-weight: 300;
  font-family: "museo-sans", sans-serif !important;
}

/* Ensure text inside tabs doesn't inherit large sizes */
.nav-link span {
  font-size: inherit;
  font-weight: inherit;
}

/* ============================================
   Tooltip - Hide arrow (using visibility instead of display)
   ============================================ */
.tooltip .tooltip-arrow {
  visibility: hidden !important;
}

/* Ajuste seguro para TOP */
.tooltip.bs-tooltip-top {
  margin-bottom: .25rem !important;
}

/* (opcional) Si algún theme tocó la variable) */
.tooltip {
  --bs-tooltip-margin: .25rem;
}

/* Tooltips con la descripcion de los criterios al evaluar: texto extenso */
.tooltip.tooltip-criterio {
  --bs-tooltip-max-width: min(900px, 90vw);
}

.tooltip.tooltip-criterio .tooltip-inner {
  text-align: left;
}

.btn.btn-primary:not(.btn-sm):not(.btn-lg) {
  min-height: auto;   /* o el valor que necesites */
  line-height: normal; /* o 1.2rem, etc. */
}

.btn-secondary {
	padding: 4px 8px!important;
}

.dropdown-item:active{
	color: white!important;
}

/* ---------------------------------------------------------------------------
 * Mensajes de validacion de jQuery Validation.
 *
 * El plugin inserta el mensaje como <label class="error">, y main.css de
 * staticv3 declara "label { color: #697680 !important; }" mas un
 * "label { display: flex !important; padding-top: 1% !important; }", que
 * ganaban sobre la regla generica .error y dejaban el mensaje como texto
 * comun. Por eso aqui se necesita !important en color y display.
 * --------------------------------------------------------------------------- */
.error {
	color: #dc3545;
}

label.error {
	color: #dc3545 !important;
	display: block !important;
	width: 100%;
	margin-top: .25rem;
	margin-bottom: 0;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	font-size: .875rem;
	font-weight: 400;
}

/* ==========================================================================
   Selector de perfil (solo interfaz)
   Se usa una clase en vez de style.display para no pelear con las utilidades
   de Bootstrap y para que el elemento recupere su estilo original al volver
   a la opcion "Todos".
   ========================================================================== */
.perfil-ui-oculto {
	display: none !important;
}

.selector-perfil-ui {
	display: inline-block;
}

/* ==========================================================================
   Radios y checkboxes: borde mas marcado (el de Bootstrap casi no se ve)
   ========================================================================== */
.form-check-input {
	border: 1px solid #6c757d;
}

.form-check-input:focus {
	border-color: #495057;
}

/* ==========================================================================
   Enlaces-boton deshabilitados (<a class="btn disabled">): Bootstrap les quita
   los eventos del mouse, lo que oculta su tooltip. Se reactivan solo para los
   que tienen tooltip; al no tener href, el clic no hace nada.
   ========================================================================== */
a.btn.disabled[data-bs-toggle="tooltip"] {
	pointer-events: auto;
	cursor: not-allowed;
}
