
/* ---------- Overall Specifications ---------- */

a.tachado_1 {
  text-decoration: line-through;
  pointer-events: none; 
}
 
a.tachado_0{
  text-decoration: initial;
  pointer-events: initial; 
}

a.tachado_0:hover {
  text-decoration: underline;
  color: rgb(0,0,100);
}

a.firmar_3{
  color: lightgray;
  pointer-events: none;
}
a.expirado_1, a.firmado_1{
  color: lightgray;
  pointer-events: none;
}
a.expirado_0, a.firmado_0{
  color: initial;
  pointer-events: initial;
}
span.firmar{
  color: inherit!important;
}

a.firmar_0{
  display:block;
}

span.firmado_1{
  display: initial;
}
span.firmado_0{
  display:none;
}
span.expirado_0{
  display:none;
}
span.expirado_1{
  display: initial;
  float: left;
  margin-right: 10px;
  color: #ab3011
}

.inferior{
  display:block;
}

.item1 {
  grid-area: myArea;
}

.grid-container {
  display: grid;
  grid-template-areas: 'myArea myArea . . .';
  grid-gap: 1px;
  padding: 5%;
}

.grid-container > div {
  padding: 8% 0;
}
tr.debito {
  background: inherit!important;
  background-color:rgba(220, 220, 223, 0.3)!important;
}

tr.credito {
  background: inherit!important;
  background-color:rgba(255, 173, 173, 0.3)!important;
}

.active {
  display: block;
  }
.inactive {
  display: none;
}

.spanAsLink {
    font-size: 100%;
    font-family: inherit;
    border: 0;
    padding: 0;
    color: rgb(0,0,100);
    background-color: transparent;
    text-decoration: none;
    text-align: left;
}

.spanAsLink:hover {
    text-decoration: underline;
    cursor: pointer;
}

/* Autor: Hugo Vigoya */
.buttonAsLink {
    font-size: 100%;
    font-family: inherit;
    border: 0;
    padding: 0 10px 0 10px;
    color: rgb(0,0,100);
    background-color: transparent;
    text-decoration: none;
    text-align: left;
}

.buttonAsLink:hover {
    text-decoration: underline;
    cursor: pointer;
}

div.tabsAction > a.butAction {
	margin-bottom: 0px !important;
}


.loading {
    background-image: url('img/ajax-loader.gif');
    height: 100px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.loading-notify {
    background-image: url('img/ajax-loader.gif');
    height: 100px;
    background-position: center;
    background-repeat: no-repeat;
    background-color:  rgba(220, 220, 220, 0.8);
    border-radius: 10px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(220, 220, 220,.7);
    z-index: 999;
    opacity: 1;
    transition: all 0.5s;
}

.overlay .loading {
    background-image: url('img/ajax-loader.gif');
    height: 100px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1000;
    top: 20%;
}

.overlay.hidden {
    display: none;
}


th.actions {
    text-align: center;
}

.actionsButtons {
    text-align: center;
    white-space: nowrap;
}

.actionButton {
	color: #555;
	cursor: pointer;
	vertical-align: middle;
	padding: 5px;
}

.actionButtonDisabled {
  cursor: not-allowed !important;
  opacity: 0.3;
}

.buttonActionSmall {
    cursor: pointer;
    width: 80px;
}

.buttonActionSmall:disabled {
    cursor: not-allowed;
}

.spanButtonAction:disabled {
  cursor: not-allowed;
}

input[type=text].mayuscula {
        text-transform: uppercase; 
}

input.minuscula {
        text-transform: lowercase; 
}

.formLabels {
    padding-right: 18px;
    vertical-align: bottom;
    text-align: right;
    font-weight: bold;
    color: #000055;
}

.formInputs {
    vertical-align: bottom;
    text-align: left;
}

.formInputs input {
    width: 80%;
}

.formInputs select {
    width: 80%;
}

.linkConEnfasis {
    text-decoration: underline;
    font-weight: bold;
    font-size: large;
}

.buttonSection {
    display:flex;
    align-items: center;
}

.elementGroup {
    display: flex;
    border: 1px solid black;
    padding: 10px;
    justify-content: center;
    align-items: center;
}

.elementGroup .elementItem {
    display: flex;
    flex-direction: column;
}

.buttonCorrection {
    height: fit-content;
    padding: 0.8em;
}

.dialogListItem {
    padding: 5px 0;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}

.dialogListItem:hover {
    cursor: pointer;
    box-shadow: inset 1000px 0 0 0 #ddd;
    color: white;
}

.dialogListItemSelected { 
    background: #bbb;
}

.cursorpointer {
    cursor: pointer;
}

span.estado {
  border-radius: 0.8em;
  -moz-border-radius: 0.8em;
  -webkit-border-radius: 0.8em;
  display: inline-block;
  font-weight: bold;
  line-height: 1.6em;
  margin-right: 5px;
  margin-left: 15px;
  text-align: center;
  width: 1.6em;
}

span.estado.ABIERTA {
  background: red;
  color: red;
}

span.estado.BORRADOR {
  background: yellow;
  color: yellow;
}

span.estado.ENVIADO {
  background: darkgreen;
  color: darkgreen;
}

span.estado.CERRADA {
  background: green;
  color: green;
}

span.estado.DESCONOCIDO {
  background: grey;
  color: grey;
}

span.estado.resumen {
	color: white;
	border-radius: 1.2em;
    -moz-border-radius: 1.2em;
    -webkit-border-radius: 1.2em;
	line-height: 2.4em;
	width: 2.4em;
}

/* Estilos para arbol de inmuebles*/
.tree {
  list-style-type: none;
}

.tree ul {
  list-style: none;
}

.tree li {
  cursor: pointer;
}

.tree .caret {
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
  display: flex;
  align-items: center;
}

.tree .caret::before {
  content: "\25B6";
  color: black;
  display: inline-block;
  margin-right: 6px;
}

.tree .caret-down::before {
  -ms-transform: rotate(90deg); /* IE 9 */
  -webkit-transform: rotate(90deg); /* Safari */
  transform: rotate(90deg);  
}

.tree .normal {
	display: flex;
	align-items: center;
}

.tree .label {
	height: 20px;
    display: flex;
    align-items: center;
    padding: 10px;
}

.tree .nested {
  display: none;
}

.tree .active {
  display: block;
}

.tree .inactive {
  display: none;
}

.tree .selected {
	background-color: gray;
}

.ui-dialog .form-row {
	display: flex;
    align-items: center;
}

.ui-dialog .dialog-form label {
	display:inline;
	width: 150px;
}

.crud-form {
  margin-bottom: 10px;
}

.crud-form .form-row {
	display: flex;
  align-items: center;
}

.crud-form label {
	display:inline;
	width: 200px;
}

/* Estilos para la tabla con div*/
.table-div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.table-div .row {
  display: flex;
  flex-direction: row;
}

.table-div .cell {
  flex: 1;
  padding: 8px;
  text-align: left;
}

/* Estilo para listas como tabla*/
.table-ul {
  padding: 0;
}

.table-ul li {
  display: flex;
  justify-content: flex-start;
}

.table-ul .column {
  flex: 1;
}

.lista-celda {
  padding-inline-start: 10px;
}

.acordeon {
  display: block;
}

.acordeon-oculto {
  height: 0px;
  overflow: hidden;
}

.etiquetaQR {
  font-size: 1.3em;
}
/* Fin estilos Hugo Vigoya */
.formatoDerecha {
  text-align: right;
}

.mosaico {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  grid-gap: 10px;
  justify-items: center;
  align-items: center;
  padding: 1px;
}

.mosaico img {
  max-width: 100px;
  width: 40%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.mosaico img:hover {
  transform: scale(2.05);
}    
