html,
body{
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    overflow:hidden;
	
		font-size:clamp(16px, 3vw, 14px);

	background:#A8B58A;
}
body.gray{
filter: grayscale(100%);
}
input, select{
	width:100%;
	background:lavender;
}
#app{
    width:95%;
	max-width:860px;
    max-height:95vh;
	
	background:#BCC59B;
	palmbackground:#7A8C5A;


    border:3px solid #4a5a4a;
    box-shadow:
        0 0 5px rgba(0,0,0,0.3),
        0 0 15px rgba(0,0,0,0.15);

    margin: auto;
	margin-top: 5px;
	overflow:hidden;
}

/*acopilot v2.0*/
#appname{
	font-size:clamp(24px, 2vw, 24px);
	text-align: center;
	
	border-bottom: 3px solid black;
	margin-bottom: 5px;	
}

/* linea menu superior*/
#apptools{
	display:table;
	width:100%;	
}
.toptools{
	display:table-cell;
	padding:5px;
}
.menuname{
	color:white;
	background:black;
	padding: 3px;
}
#mainMenu{
	cursor: pointer;
}
#contenedor{
	position: relative;
	border-top: 2px solid black;
	border-bottom: 2px solid black;
	min-height: 30vh;
	overflow: auto;
	max-height: 75vh;
}
/* menu desplegable */
.dropdown{
display:none;
position:absolute;
right:0;
top:0;
xbackground:#e0e0e0;
background:#bcc590;
border:1px solid #000;
width:160px;
z-index:100;
}

.dropdown div{
padding:5px;
cursor:pointer;
}

.dropdown div:hover{
background:#cfcfcf;
}
#secMenu{
	
}
#secciones{
	border-bottom: solid 1px black;
}
button.activo{
    background:#aaa;
    transform:translateY(1px);
}
.panel{
    display:none;
}
/*topmenu div*/
#topmenu{
    display:flex;
    gap:10px;
}

#topmenu div{
    cursor:pointer;
    padding:6px 10px;
    transition:.2s;
}

#topmenu div{
    opacity:.5;
}

#topmenu div:hover{
    opacity:.8;
}

#topmenu div.activo{
    opacity:1;
    font-weight:bold;
}

.seccionObjetos {
    padding: 10px;
}

.tituloSeccionObjeto {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rejillaObjetos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 14px;
    margin-top: 12px;
    margin-bottom: 22px;
}

.accesoObjeto {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 4px;
    cursor: pointer;
    text-align: center;
    color: inherit;
    font-family: inherit;
}

.accesoObjeto:hover,
.accesoObjeto:focus {
    background: rgba(0, 0, 0, 0.08);
    outline: 1px dotted #111;
}

.iconoObjeto {
    width: 48px;
    height: 48px;
    margin: 0 auto 5px auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #222;
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.22);

    font-size: 28px;
    line-height: 1;
}

.nombreObjeto {
    display: block;
    overflow-wrap: anywhere;
    font-size: 14px;
}
.nombreObjeto small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    opacity: 0.7;
}

.listaVacia {
    grid-column: 1 / -1;
    opacity: 0.65;
    font-style: italic;
}

/* Controles básicos dentro de las páginas de AcoPilot */

#paginas label {
    display: block;
    margin-bottom: 3px;
}

#paginas input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
#paginas textarea,
#paginas select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font: inherit;
}

#paginas textarea {
    min-height: 140px;
    resize: vertical;
}

#paginas form > div {
    margin-bottom: 10px;
}

.datoFichaPlantilla {
    margin-bottom: 6px;
}

.campoFichaPlantilla {
    margin-bottom: 10px;
    padding: 7px;
    border-bottom: 1px solid #333;
}

.campoFichaPlantilla > div {
    margin-top: 3px;
    opacity: 0.8;
}


.seccionPerfil {
    margin-bottom: 22px;
}

.campoPerfil {
    width: 100%;
    max-width: 420px;
    margin: 10px 0;
}

.campoPerfil label {
    display: block;
    margin-bottom: 4px;
}

.campoPerfil input {
    box-sizing: border-box;
    width: 100%;
    padding: 7px;
    font: inherit;
}

#guardarPerfil {
    width: 100%;
    max-width: 420px;
    padding: 8px;
    margin-top: 4px;
    font: inherit;
    cursor: pointer;
}

.barraAlmacenamiento {
    width: 100%;
    max-width: 420px;
    height: 18px;
    margin: 8px 0 5px 0;
    border: 1px solid #333;
    overflow: hidden;
}

.usoAlmacenamiento {
    width: 0%;
    height: 100%;
    background: #333;
}