/* ==========================================================================
   PLUTUSPLAN CSS
   Main stylesheet for the application
   ========================================================================== */

/* ==========================================================================
   Table of Contents:
   1. Layout & Structure
   2. Tables & Data Display
   3. Form Elements
   4. Tree & Hierarchical Elements
   5. Project Display
   6. Utilities & Helpers
   ========================================================================== */

/* ==========================================================================
   1. Layout & Structure
   ========================================================================== */
sl-details.cabecera-control-financiero {
  --sl-spacing-medium: var(--sl-spacing-x-small);
}
.text-derecha{
    text-align: left;
}

.text-izquierda{
    text-align: right;
}
.text-centro{
    text-align: center;
}

.perfil-asociado{
    background: tomato;
}
.popup-gantt {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    z-index: 10;
}

#cont-tabla .gantt-target {
    overflow-y: auto;
}
.gantt .tooltip{
    display: none !important;
}

.hide-leyenda {
    width: 0%;
}

#datos-tabla-gantt {
    overflow: hidden;
    width: 20%;
}



.oculto {
    display: none;
}

.botonera {
    position: sticky;
    /* display: flex; */
    /* align-items: center;
    flex-wrap: wrap;
    flex-direction: row; */
}

#contenedor-capitulos {
    width: 100%;
    margin-right: 10px;
    margin-top: 40px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-bottom: 70px;
}

#contenedor-capitulos .acc-editar {
    white-space: nowrap;
}

.contenedor-medidas {
    width: 100%;
}

/* ==========================================================================
   2. Tables & Data Display
   ========================================================================== */

table {
    max-width: 100%;
    font-size: 14px;
}
.input-facturacion{
    display: flex;
    justify-content: center;
}
.ancho-tabla {
    max-width: 100%;
}

.cabeceras {
    text-align: center;
}

.celdas {
    padding-left: 0;
    text-align: center;
    max-width: 100px;
    width: 100px;
}
/* .estado-facturas{
    text-align: center;
} */

.facturar-cantidad{
    width: 80px;
}
.celda-descripcion {
    /* width: 60%; */
    width: 300px;
    vertical-align: top;
    text-align: left;
    white-space: normal;
}

.celda-factura {
    /* width: 20%; */
    padding-top: 15px;
}
th .importe{
    text-align: center;
}
.celda-importes {
    width: 6%;
    text-align: center;
}

/* .facturar-porcentaje {
    width: 40px;
} */

.rowblanca {
    text-align: center;
}

.fixed-width-cell {
    width: 200px;
    white-space: nowrap;
}

.btn-plus {
    text-align: left;
}

.texto {
    font-size: 12px;
}

table.texto {
    width: 95%;
}



/* ==========================================================================
   3. Form Elements
   ========================================================================== */

.input-numero {
    width: 50px;
    text-align: right;
    border: 1px solid #ddd;
}

.input-texto {
    border: none;
    font-family: Arial, Verdana, sans-serif;
    text-overflow: ellipsis;
}

.input-numero-conceptos {
    width: 70px;
    text-align: center;
    border: 1px solid #ddd;
    font-family: Arial, Verdana, sans-serif;
    margin-top: revert;
}

/* ==========================================================================
   4. Tree & Hierarchical Elements
   ========================================================================== */

#listado-capitulos-arbol {
    font-size: 10px;
    
}
/* Contenedor Capitulos Styles */
/* #contenedor-capitulos tr {
    border-top: solid 1px darkgray;
} */

#contenedor-capitulos .celda-factura tr {
    border-top: none !important;
}

#contenedor-capitulos #tabla-factura {
    border: solid 1px darkgray;
    width: 100%;
}

#contenedor-capitulos ul {
    margin: 1px;
}

#contenedor-capitulos span {
    font-size: 12px;
    width: 150px;
    /* text-align: left; */
}

/* Tree Item Styles */
.tree-item__item {
    width: 10px;
}

.tree-item__indentation {
    width: 10px !important;
}

.tree-item__expand-button {
    width: 10px !important;
}

sl-tree-item::part(label) {
    display: contents !important;
}

/* Hijos Directos Tables */
.tabla-hijosdirectos .fila .campo-dentro {
    padding: 5px;
}

.tabla-hijosdirectos .form-control {
    font-size: 10px;
    border: 1px solid darkgray;
}

.tabla-hijosdirectos .campo-dentro .etiqueta {
    display: none;
}

#table #tabla-hijosdirectos {
    font-size: 12px;
}

.hijosdirectos tbody .control input {
    /* width: 50px; */
}

.hijosdirectos tbody .control textarea {
    width: 386px;
}

.hijosdirectos thead tr {
    font-size: 10px;
}

/* ==========================================================================
   5. Project Display
   ========================================================================== */

.plutus-transition {
    transition-duration: var(--sl-transition-slow);
}

.lista-proyectos {
    display: flex;
    gap: 10px;
    padding-top: 10px;
    margin-right: 10px;
    flex-wrap: wrap;
}

.proyecto {
    display: flex;
    border-radius: 5px;
    flex: 1 1 200px;
    max-width: 20%;
}



sl-card::part(base){    
    justify-content: space-between;
}

.proyecto img {
    width: 100%;
    height: auto;
}

.logout::part(base) {
    color:#666666;
    border: solid 1px #666666dc;
}

.logout::part(label):hover {
    color: white;
  }





  /* INICIO PROYECTO */
  .lista-btn-menu-proyecto { 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;	
    /* max-width: 600px; */
    max-width: 900px;
    align-self: center;
    margin-top: 150px;
    /* margin-top: 40px; */
}
.btn-menu-proyecto { 
    display: flex;
    width: 160px;
    height: 160px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    align-content: center;
    border-radius: 2px;
    color:black;
    transition: all ease-in-out 0.3s;
}
.btn-menu-proyecto:hover { 
    color:black;
    box-shadow: #666666a3 2px 2px 12px 0px;
}
.btn-menu-proyecto sl-icon { 
    flex: 1 1 100%;
    font-size: 60px;
    transition: inherit;
}
.btn-menu-proyecto:hover sl-icon { 
    font-size: 65px;
}	
.btn-menu-proyecto .title{ 
    text-transform: capitalize;
    text-align: center;
    padding: 5px 20px;
}		


.widget-proyecto {
    display: flex
;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding-bottom: 1rem;
    width: 100%;
    align-content: center;
    margin-bottom: 10px;
    border: solid 1px #f7f5f7;
    border-radius: 4px;
    margin: 9px;
    min-height: 146px;
    background-position: center center;
    background-size: cover;
    background-color: #6a92ba;
    background-blend-mode: luminosity;
    color: white;
    flex-wrap: wrap;
    align-content: flex-end;
    transition: all ease-in-out 0.3s;
}
.widget-proyecto:hover {
    background-blend-mode: normal;
    border: solid 1px #6a92ba;
    color:white !important;
}

.widget-proyecto .proyecto-nombre{
    flex:1 1 100%;
    background: #00000070;
}
.widget-proyecto .proyecto-etapa{
    flex:1 1 100%;
    background: #00000070;
}

.icon_texto_facturar{color: rgb(104 172 12);margin-right: 5px;}
/* .celda-factura td.texto{background-color: red;} */
.celda-factura td.cantidad{text-align: center;}
/* .celda-factura td.importe{background-color: blueviolet;} */
.celda-factura tr.cabecera{font-size: 12px;text-align: justify;}
.cabecera th{width: 150px;}
/* 
.concepto-rechazado { background:#ff000082;}
.concepto-aceptado { background:#08b31482;}
.concepto-pendiente { background:rgb(51 198 239 / 49%);} */

#facturar {
    display: none;
}
#btn-pdf{ border-radius: 4px 4px 4px 4px;}
.garantia {font-size: 12px;}

#total_factura {
    display: none; 
}
#input-codigo {
    display: none; 
}
.total_factura {
    display: inline-block;    
    background: greenyellow;
    border-radius: 6px;
    top:20px;
    margin: 10px;
    padding: 10px;
}
.menu-item{
    width: 800px;
}

.documento-no-validado{
    background: #ff780038;  
}
.factura-rechazada{
    background: #ff260038;
}
.factura-rechazada.fila-activa {
    background: #ff260059;
    transition: 0.2s;
}
.factura-pendiente.fila-activa {
    background: #00b3ff63;
    transition: 0.2s;
}


.factura-pendiente{
    background: #00b3ff38;  
}

.tabla-conceptos tr .td-concepto-factura {

    border-bottom: 1px solid grey !important; 
    padding: 4px 8px !important;
    width: 45%;
}

.tabla-conceptos tr {
    height: auto !important;
}

.disabled {
    pointer-events: none;
    cursor: no-drop;
    opacity: 0.5;
}

.widgets-notificacion .notification-label{

}
.widgets-notificacion .notification-type{
    display: block;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}
.notification-icon{
    width: 100%;
    font-size: 45px;
    display: block;
}

.widgets-notificaciones {
    width: 100%;
    margin: -8px 5px 0px 10px;
    border:none;
    overflow: hidden;
}
.widgets-notificacion {
    /* border-bottom: solid 1px #0000000f; */
    width: 100%;
    border-radius: 5px;
    text-align: left;
    padding: 10px;
    height: 50px;
    margin-bottom: 11px;
    height: auto;


}
.widgets-notificacion a{
    /* color: #000000c7; */
    color: #fff;
    text-shadow: 1px 1px 4px black;

}
.boton-aviso-notificacion {

  animation: pulso 1.2s infinite;
}

@keyframes pulso {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ----------------------- Fin Notificaciones ------------------------------ */
.btn-home-facturas-revisar{
    background-color: #F4A36B;
}
.btn-home-actas{
    background-color: #52B4A4;
}
.btn-home-vencimiento{
    background-color: #E79999;
}
.btn-home-rechazadas{
    background-color: #E8C988;
}

.facturar-porcentaje {
    display: none;
    width: 80px;
}

.filas-concepto:hover {
    background-color:#2958892b !important;
}

.celda-descripcion .acc-editar:hover {
    font-weight: bold;
}
.arbol-total-capitulos{
    /* display:flex;
    flex-direction: row-reverse; */
    text-align: right;
    width: 100%;
}
.total-capitulos tbody{
    border-bottom: solid 1px #7eb4e157;
    border-top: solid 1px #7eb4e157;
}

/* .tabla-facturacion {
    border-left: solid 1px #dddddd;
} */

.importe-total{
    white-space: nowrap;
    font-size: bold;
    display: flex;
    align-items: center;
}
/* .presupuesto-barra-asociado{
    
    border-top:1px solid #6a92ba;
    border-bottom:1px solid #6a92ba;
} */
/* MEDIDAS TABLA APOYO DE FACTURACIÓN */
.tabla-arbol-tarea{
    width: 350px ;
}
.tabla-arbol-cfc{
    vertical-align: top;
    width: 50px !important;
}
.columna-arbol-medidas{
    width: 180px !important;    
}
.columna-arbol-cantidad{
    /* width: 100px !important; */
    text-align: right;
}
.columna-arbol-facturacion{
    width: auto;
}
.columna-arbol-facturar{
    width: 100px !important;
    text-align: right;

}
.columna-arbol-facturar2{
    width: 100px !important;
    text-align: right;
}
.columna-arbol-facturado{
    width: 100px !important;
    text-align: right;
}
.columna-arbol-certificacion{
    width: 200px !important;
    text-align: center;
}
.columna-arbol-factura{
    width: 100px !important;
}
.tabla-apoyo{
    width: 100%;
}



.menu-panel {
    background-color: #29B7E5;
}

.texto-menu {
    font-size: 12px;
}
#entorno-pestanas .show-hide-menu a {
    color: white;
}
.perfil-estilo-0, .perfil-estilo--1000, .perfil-estilo-1 { background: #484A4B; color: white; } /* Admin gris oscuro */
.perfil-estilo-2 { background: #074998;  color: white;  } /* Cliente azul oscuro  */
.perfil-estilo-3 { background: #055371;  color: white; } /* Rosa empolvado */
.perfil-estilo-8 { background: #2AAA91;  color: white; } /* Externo verde agua  */

.contenedor-item-menu-boton {
    border-bottom: solid 1px #81cadb;
    padding-bottom: 5px;
    padding: 10px 0px 16px 10px;
}

#menu-principal .menu_nivel1 a {
    padding: 0px 10px;    
}
.logout::part(base){
    color:white;
}
/*
  PERFIL_SU = 0;
  PERFIL_SU_ID = -1000;
  PERFIL_COMITE = 1;
  PERFIL_CLIENTE = 2;
  PERFIL_ASOCIADO = 3;
  PERFIL_EXTERNO = 8;
*/
   
.factura-sin-cobrar{
    background: #ff8b0054 ;
}
.factura-sin-cobrar.fila-activa {
    background: #ff8c0099;
    transition: 0.2s;
}
.factura-pagada{
    background: #bdff9aa1 ;

}
.factura-pagada.fila-activa {
    background: #9aff9a;
    transition: 0.2s;
}

.list-group-item {
    background: #045c711a;
}

.organizar-capitulo {

}
.organizar-concepto {
    background: #0471451a;
}
.organizar-capitulo:hover, .organizar-concepto:hover {
    background: #045c712e;
    cursor: grab;
}
.contrato-sin-firmar{
    text-align: center;
    background: rgba(255, 0, 0, 33%);
}


/* alteracion buscar autorrelleno cfc */
.cfc-grid {
    gap: 1rem;
    display: flex;
    justify-content: center;
    padding: 0px 15px;
}

.cfc-publicos, .cfc-privados {
    flex:1;min-width:250px;
flex:1;min-width:250px;
}

.cfc-publicos sl-heading,
.cfc-privados sl-heading {
  color: var(--sl-color-primary-600);
  display: block;
  margin-bottom:0.5rem;
}

.cfc-publicos sl-menu-item::part(base),
.cfc-privados sl-menu-item::part(base) {
  padding: 0.35rem 0.75rem;
  border-radius: var(--sl-border-radius-small);
}

.cfc-publicos sl-menu-item:hover::part(base),
.cfc-privados sl-menu-item:hover::part(base) {
  background-color: var(--sl-color-neutral-100);
}