.module-Empresa input[type="file"]{ color:#fff !important; }

.notifications-menu  .menu li a{
  font-size: 0.9em !important;
}

.productoImagen{
  margin: auto;
}
.fileinputs{
  margin-top: 5px !important;
}
.tr-notificaciones td{
  padding-top: 5px !important;
}

.notificacion-leida-false, .notificacion-leida-false a{ 
  color: #777 !important;
}
.notificacion-leida-false{
  background-color: #b3c6ff !important;
  
}

.notificacion-leida-false .fa-check{
  color: #777 !important;
}

.notificacion-leida-true .fa-check{
  color: #0066cc !important;
}

.notificacion-leida-true{
  /*color: #eee !important;*/
}



.foot-report td{
  background-color: #ddd;
  font-weight: bold;
}

.module-Usuario li,
.list-groups li{
  padding:0px;
  list-style: outside none none;
}

.module-DetalleMovimiento .thnumber, .module-DetalleEgresosVariosGrid .thnumber, .module-DetalleIngresosVariosGrid .thnumber, .module-DetalleNotaDebito .thnumber, .module-DetalleNotaCredito .thnumber, .module-ContratoDetalleFacturaGrid .thnumber, .module-ContactoSucursal .thnumber, .module-ProductoComponentesList .thnumber, .module-ContactoAsociado .thnumber{
  display: none;
}
.th-actions a {
    /*border: 1px solid #aaa;*/
    /*border-radius: 4px;*/
    color: #333;
    /*margin-left: 3px !important;*/
    padding: 1px 1px 1px 4px;
    /*text-align: center !important;*/
    
}

.open > .dropdown-menu {
    border: 1px solid #555;
}

.personaImagen{
  width: 160px;
}
.th-actions{
  text-align: center !important;
  width: 80px !important;
  
  
}



input[type="checkbox"], input[type="radio"] {
   /* width: 25px !important;
    height: 25px !important;*/
}

#saving-indicator{
    /*position: absolute;
    top: -20px;
    width: 100px;*/
    display: none;
    float: right;
}

#saving-indicator img{
    width: 20px;
    height: 20px;
}


.classy-editor{
    max-height: 500px;

    overflow-y: auto;
}
.requerimiento_desc{
    max-height: 60px;
    overflow: hidden;    
}
.tabla-historial  th{
    font-weight: 'bold' !important;
    background-color: #eee !important;
}

.module-PrTarea .data-tarea{
    max-height: 40px;
    overflow: hidden;
}

 .label-proyecto{
     color: #555;
 }
 .task-options{
    clear: both;
    padding-top: 20px;
    /*padding: 20px;*/
 }
 .task-left{
     border-right: 1px solid #ccc;
     padding-right: 0;
     margin-bottom: 5px;
 }
 .btn-new-task{
    bottom: 20px;
    position: fixed !important;
    right: 20px;
    z-index: 2000;
 }
.scroll-tasks{
    height:520px;
    overflow: auto;
}
.task-min{
    max-height: 40px;
    overflow: hidden;
}

.tasks-column{
    padding: 10px;
}
.tasks-column:hover{
    background-color: #ddd;
}


.editing-in-place{
    width: 100% !important;
}

.table-hover > tbody > tr:hover {
  background-color: #ddd !important;
}
/*************** tareas **************/

.btn-float{
    position: fixed;
    right: 10px;
    z-index: 1000;
}
.task-rojo{
    background-color: #FFC0C0 !important;
}
.task-amarillo{
    background-color: #FFFFCC !important;
}
.task-naranja{
    background-color: #FFD699 !important;
}
.task-verde{
    background-color: #def2de !important;
}
.module-Tasks td .btn {

    padding: 2px 4px !important;
}
.module-Tasks .thnumber{
    width: 50px !important;
}

.module-Tasks .fecha_fin, .module-Tasks .fecha_inicio{
    width: 80px !important;
}

.module-Tasks .porcentaje{
    width: 50px !important;
}


.module-PrTarea td .btn {

    padding: 2px 4px !important;
}
.module-PrTarea .thnumber{
    width: 60px !important;
}
.module-PrTarea th{
    font-size: 0.9em !important;
}
.module-PrTarea td{
    font-size: 0.9em !important;
}
.module-PrTarea .descripcion span > span{
    font-weight: bold;
}

.module-PrTarea .fecha_fin, .module-PrTarea .fecha_inicio{
    width: 60px !important;
}

.module-PrTarea .porcentaje{
    width: 50px !important;
}
/**************requerimientos *******/

.module-UmlRequerimiento .thnumber{
    width: 60px !important;
}
.module-UmlRequerimiento th{
    font-size: 0.9em !important;
}
.module-UmlRequerimiento td{
    font-size: 0.8em !important;
}
.module-UmlRequerimiento .descripcion span > span{
    font-weight: bold;
}

.uml_categoria_id{
    width: 120px !important;
}
.sis_usuario_responsable_id{
    width: 100px !important;
}
.uml_prioridad_id{
    width: 60px !important;
}
.uml_estado_objeto_id{
    width: 60px !important;
}

.codigo{
    width: 60px !important;
}



.porcentaje input{
    max-width: 30px !important;
}

/* consolidación */
.form-peticion_oracion .container-label{
    width: 100% !important;
}
.form-peticion_oracion .container-input{
    width: 100% !important;
}
.convenciones  i{
    border: 1px solid black;
    border-radius: 4px;
    margin-bottom: 10px;
    margin-left: 4px;
    margin-right: 4px;
    padding: 2px;
}
.convenciones .exitoso i, .c_exitoso, .v_exitoso{
    background-color: yellowgreen !important;
}
.convenciones .no-exitosa i, .c_sin_contacto, .v_no_exitoso{
    background-color: yellow !important;
}
.convenciones .no-corresponde i, .c_no-corresponde, .v_no-corresponde{
    background-color: tomato !important
}
.convenciones{
    display: inline !important;
    margin-right: 20px;
}
.convenciones li{
    display: inline;
}
.estado-ubicado-si{
    background-color: yellowgreen !important;
}
.estado-ubicado-no{
    
}
.estado-visita-v_exitoso, .estado-llamada-c_exitoso {
    background-color: yellowgreen !important;
}

.estado-visita-v_no_corresponde, .estado-llamada-c_no_corresponde {
    background-color: tomato !important
}
.estado-visita-v_no_exitoso, .estado-llamada-c_sin_contacto {
    background-color: yellow !important;
}

.table .btn {
    /*display: table-cell !important;*/
    margin-bottom: 1px;
    margin-top: 1px;
}





/******** autocompletar *********/
.top-buffer{
    padding-top:20px;
}
.tags-wrapper {
    position: relative;
    display: inline;
}
.tags-cloud .tag {
   
    border: 1px solid #dddddd;
    float: left;
    font-size: 1em;
    margin-bottom: 5px;
    margin-right: 5px;
    padding: 1px 4px;
}
.tags-cloud .tag:hover {
    border: 1px solid #cccccc;
}
.tags-cloud .tag:hover .cross {
    opacity: 1;
}
.tags-cloud .tag .cross {
    margin-left: 5px;
    margin-right: 3px;
    font-size: 1em;
    color: #20a28e;
    opacity: .7;
    cursor: pointer;
}
.suggestions-list {
    /*position: absolute;*/
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: auto;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
position: absolute;
    /*top: 10px;*/
    z-index: 1500;
}
.suggestions-list li {
    color: #333333;
    font-weight: 600;
    padding: 4px 25px;
    font-size: 1em;
    cursor: pointer;
    background: #f2f2f2;
    border-bottom: 1px solid #dddddd;
}
.suggestions-list li:hover {
    background: #dddddd;
}
.suggestions-list li:active,
.suggestions-list li.active {
    color: #20a28e;
    background: #dddddd;
}
.suggestions-list:focus{
    outline:none;
}
.tags-wrapper .form-control{
    display: inline !important;
    width: 150px !important;
}
.tags-cloud{
    display: inline;
}
.modal-search-open{
  bottom: 5px !important;
    float: right;
    font-size: 14px;
    position: absolute;
    right: -15px;
    z-index: 5000;
}   

.table-crud th:first-child{
  border-radius: 12px 0px 0px 0px !important;
}

.table-crud th:last-child{
  border-radius: 0px 12px 0px 0px !important;
}
.form-control {
    border-radius: 4px !important;
}

#loading_div_home .page-header{
  width:100%;
  display:block;
  float:left;
}

.delete-data{
    /*color: #aaa;*/
    /*float: right;*/
    font-size: 14px;
    position: absolute;
    right: -50px;
    top: 25px !important;
    z-index: 5000;    
}
   
.subtitulo-detalles{
  font-size: 20px;
  margin-left: 20px;
  font-weight: bold;
}

.subtitulo-formulario{
  font-size: 20px;
  font-weight: bold;
}
#single-head h1 > a:last-child{
      color: red;
    padding: 0 6px;
}

/* Grilla de direcciones: control explícito para que no la pisen estilos que sobrescriben Bootstrap */
.panel-body .row.direccion-form-row {
  margin-left: -15px;
  margin-right: -15px;
  display: block;
  box-sizing: border-box;
}
.panel-body .row.direccion-form-row::after {
  content: "";
  display: table;
  clear: both;
}
.panel-body .row.direccion-form-row .form-group {
  float: left;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
.panel-body .row.direccion-form-row .direccion-col-1 {
  width: 8.33333333%;
}
.panel-body .row.direccion-form-row .direccion-col-2 {
  width: 16.66666667%;
}
/* Barrio: botón + dentro del campo */
.input-barrio-wrap {
  position: relative;
}
.input-barrio-wrap .input-barrio-field {
  padding-right: 28px;
}
.input-barrio-wrap .btn-barrio-add {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 22px;
  padding: 0;
  border: none;
  background: #f5f5f5;
  color: #555;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  border-radius: 3px;
  z-index: 2;
}
.input-barrio-wrap .btn-barrio-add:hover {
  background: #e8e8e8;
  color: #333;
}
.input-barrio-wrap .btn-barrio-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 991px) {
  .panel-body .row.direccion-form-row .direccion-col-1,
  .panel-body .row.direccion-form-row .direccion-col-2 {
    width: 50%;
  }
}
@media (max-width: 767px) {
  .panel-body .row.direccion-form-row .direccion-col-1,
  .panel-body .row.direccion-form-row .direccion-col-2 {
    width: 100%;
  }
}

/* Estado del contrato: chips por identificador (fact_contrato_estado.identificador) */
.module-ContratoFactura .fact-contrato-estado-chip {
  display: inline-block;
  padding: 0.28em 0.65em;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 3px;
  border: 1px solid transparent;
  vertical-align: middle;
  white-space: nowrap;
}

/* Chip de estado clicable (confirmación suspender / reconectar) */
.module-ContratoFactura button.fact-contrato-estado-chip.fact-contrato-estado-chip--accion {
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.module-ContratoFactura button.fact-contrato-estado-chip.fact-contrato-estado-chip--accion:hover {
  filter: brightness(0.97);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.module-ContratoFactura button.fact-contrato-estado-chip.fact-contrato-estado-chip--accion:focus {
  outline: 2px solid rgba(51, 122, 183, 0.45);
  outline-offset: 1px;
}

.module-ContratoFactura .fact-contrato-estado--activo {
  background-color: #d4edda;
  color: #155724;
  border-color: #b8dfca;
}

/* Rojo pastel (no saturado): estado final irreversible */
.module-ContratoFactura .fact-contrato-estado--cancelado {
  background-color: #fde8ea;
  color: #8b2f38;
  border-color: #f5c6cb;
}

/* Próximo a suspenderse: mismo tono familia Bootstrap warning, legible sobre fondo blanco */
.module-ContratoFactura .fact-contrato-estado--a_suspender {
  background-color: #fff3cd;
  color: #856404;
  border-color: #ffe69c;
}

/* Ya suspendido: gris‑azulado neutro (“pausado”, distinto del aviso ámbar) */
.module-ContratoFactura .fact-contrato-estado--suspendido {
  background-color: #e9ecef;
  color: #495057;
  border-color: #ced4da;
}

/* Pendiente de reconexión: azul información (transición, no equivale aún a activo) */
.module-ContratoFactura .fact-contrato-estado--a_reconectar {
  background-color: #d1ecf1;
  color: #0c5460;
  border-color: #abdde5;
}

.module-ContratoFactura .fact-contrato-estado--unknown {
  background-color: #f8f9fa;
  color: #6c757d;
  border-color: #dee2e6;
}

/* Lápiz + historial de estados en la misma agrupación */
.module-ContratoFactura .contrato-acciones-editar-historial {
  display: inline-block;
  white-space: nowrap;
}

.module-ContratoFactura .contrato-btn-historial-estados {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 4px;
  border-radius: 3px;
  color: #3c8dbc;
  opacity: 0.92;
  vertical-align: middle;
}

.module-ContratoFactura .contrato-btn-historial-estados:hover {
  color: #286090;
  background-color: rgba(60, 141, 188, 0.12);
  text-decoration: none;
}

.module-ContratoFactura .contrato-btn-historial-estados .fa-history {
  font-size: 15px;
}

/* Modal historial: chips compactos y scroll */
.modal-historial-estados-body .historial-estados-tabla-wrap {
  max-height: 58vh;
  overflow-y: auto;
}

.modal-historial-estados-body .historial-motivo-cell {
  max-width: 280px;
  word-break: break-word;
}

.module-ContratoFactura .fact-contrato-estado-chip--xs {
  padding: 0.16em 0.45em;
  font-size: 11px;
  font-weight: 600;
}

.module-ContratoFactura .historial-estados-tabla .nowrap {
  white-space: nowrap;
}

