
 #main {
   display: -webkit-flex;
   display:         flex;
   -webkit-flex-flow: column;
    flex-flow: column;
        
   }
 #main > article {
   -webkit-order: 2;
    order: 2;
}
footer
{
  display:none;
}
#dialogAcceso{
      width: fit-content;
      height: fit-content;
      min-height:6.25rem;
      min-width: 6.25rem;
  }
/*  
#edit {
    margin: 0 auto;
    padding-top: 0;      
    clear: both; 
    width: 100px;
    height: 450px;
} 
*/ 
#tablaBusqueda{
     
    clear: both; 
    width: 400px;
    height: 450px;
}


#logo{
    width: 100%; /* El contenedor ocupará como máximo el ancho del contenedor padre */
    height: 115px; /* La altura se ajustará automáticamente */
    overflow: hidden; /* Para evitar que la imagen sobresalga del contenedor si es más grande */	
}
#logo > img{
    width:9.375rem;/*150px*/
    height: 100%;
}
#logo > img {
    display: block; /* Para eliminar cualquier espacio adicional alrededor de la imagen */
    width: 90%; /* La imagen ocupará todo el ancho del contenedor */
    height: 100%; /* La altura se ajusta automáticamente para mantener la proporción */      
}
#page{
    display: grid;         
    grid-row-gap:1rem;
}
#edificio{
    display:grid;
    grid-row-gap:1rem;
    height:100%;
}
#edificio h3{
    margin:.2rem 0;
}
#edificio address{
    font-size:1.5em;
}

#edificio img{
    height:auto;
    width:100%;
    align-self:end;
}
#map2{
    min-height:18.75rem;
}


/******************** formularios popup **************/
#divEdit, #edit{
    padding:0;
}
#divEdit fieldset table div{
    margin-top: 25px !important;
}
#divEdit table {
           width:100%;
       }
#divEdit thead {
           display: none;
       }
#divEdit tr:nth-of-type(2n) {
           text-align:left;
       }
#divEdit tr td:first-child {
           
       }
#divEdit tbody td {
           display: block;
           overflow:hidden;
       }
#divEdit tbody td label{
           width: 100%;
           float:left;
}
#divEdit tbody td select,#divEdit tbody td input{
           width: 90%;
           float:left;
       }
#divEdit input#fecha{
    margin-bottom: .5rem;
}
#divEdit tbody td:before {
           content: attr(data-th);
           display: block;
           text-align:center;
       }
       
#formedit #editguardar, #formedit #editcancelar, #formedit #editvolver{
    float:left;      
}

/************************** popup configuración columnas jtable ********************/
#configTabla ul {   
   margin: 0;
   padding: 0;
}

#configTabla ul li{
    margin-top:5%;
}

#configTabla ul li input[type="text"]{
    background-color: transparent;
    width:98%;
}

/********** adaptar correctamente los jtable *********/
/* barra de titulo y de herramientas*/
.jtable-title-text{
    width:100%;
    margin-bottom: 5%;
}
.jtable-toolbar{
    width:100%;
    position:relative;
    text-align: right;
    top: 40%;
}

/* paginacion */
.jtable-page-list{
    width:100%;
}
