@font-face {
font-family: raleway;
src: url('../fuentes/Raleway-Italic-VariableFont_wght.ttf');
font-display: swap;
}

@font-face {
font-family: brush;
src: url('../fuentes/BrushScriptOpti-Regular.otf');
font-display: swap;
}

@font-face {
font-family: didot;
src: url('../fuentes/TheanoDidot-Regular.ttf');
font-display: swap;
}

@font-face {
font-family: agent;
src: url('../fuentes/AgentOrange.ttf');
font-display: swap;
}

@font-face {
font-family: coming;
src: url('../fuentes/ComingSoon.ttf');
font-display: swap;
}

@font-face {
font-family: musica;
src: url('../fuentes/music.ttf');
font-display: swap;
}

@font-face {
font-family: late;
src: url('../fuentes/lmroman10-regular.otf');
}

@font-face {
font-family: late12;
src: url('../fuentes/lmroman12-regular.otf');
}

#fontFamily option[value="Arial"] { font-family: Arial; }
#fontFamily option[value="sans-serif"] { font-family: sans-serif; }
#fontFamily option[value="Tahoma"] { font-family: Tahoma; }
#fontFamily option[value="Verdana"] { font-family: Verdana; }
#fontFamily option[value="Courier New"] { font-family: Courier New; }
#fontFamily option[value="Georgia"] { font-family: Georgia; }
#fontFamily option[value="Times New Roman"] { font-family: Times New Roman; }
#fontFamily option[value="Impact"] { font-family: Impact; }
#fontFamily option[value="Comic Sans MS"] { font-family: Comic Sans MS; }
#fontFamily option[value="Palatino Linotype"] { font-family: Palatino Linotype; }
#fontFamily option[value="cursive"] { font-family: cursive; }
#fontFamily option[value="monospace"] { font-family: monospace; }

#fontFamily option[value="raleway"] { font-family: raleway; }
#fontFamily option[value="brush"] { font-family: brush; }
#fontFamily option[value="didot"] { font-family: didot; }
#fontFamily option[value="agent"] { font-family: agent; }
#fontFamily option[value="coming"] { font-family: coming; }
#fontFamily option[value="musica"] { font-family: musica; }

#alis {
	counter-reset: item;margin-left: 0; 
	list-style:none;
}   

ul.leaders {
    max-width: 90%;
    padding: 0;
    overflow-x: hidden;
    list-style: none
}
	
ul.leaders li:before {
    float: left;
    width: 0;
    white-space: nowrap;
    content:

 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 }

ul.leaders span:first-child {
    padding-right: 0.33em;
    background: white
}

ul.leaders span + span {
    float: right;
    padding-left: 0.33em;
    background: white
}

#alis {counter-reset: item;margin-left: 0; list-style:none;}
#alis li{display: block;counter-increment: listStyle;}
#alis li::before{display:inline-block; content: counter(listStyle, lower-alpha) ") ";font-style: oblique;	margin-right: 0.3em;counter-increment: item;}

.tabl{
	border:1px solid black;
	width:90%;\n";
	box-shadow: 3px 3px 5px grey;
	border-radius: 20px 20px 20px 20px;
	background-color:rgba(100,200,100,0.2);
}
.tabl td{border:1px solid rgba(0,0,100,0.05);}

body{
       background-color: rgba(240,230,20,0.02); 
       height: 90%;
}

td{
	border: 1px ;
}

.penta{border: 1px solid blue;font-family:musica;size:5vw;}

.men{
	color: beige;
	position:relative;
	float:left;
	width:3%;
	margin-left: 5pt;
	padding-left: 1px;
	padding-right: 1px;
	cursor:pointer;
	opacity:0.5;
	transition:0.2s;
	padding:2px;
	margin:3px;
}

.men:hover{
	opacity:1;
	transition:0.2s;
	transform:scale(1.1);
}

#men1{
	color: red;
	position:relative;
	border: 1px solid;
	padding-left: 2px;
	padding-right: 2px;
}

#men2{
	color: beige;
	position:relative;
	float:left;
	width:5%;
	padding-left: 4px;
	padding-right: 4px;
}

.primero{
	position:relative;
	background-color:transparent;
}

.sy { position: relative; text-align: center;padding-right:1%;} 

.oxbr{text-indent:0;position: absolute;top: +1.4em;left: 0px; width: 100%; font-size: 60%;text-align: center;}

.but{
	size:1;
	font-family: Cursive;
	padding-top: 0;
	padding-bottom:0;
	background-color:rgba(220,230,250,.9);
	border-radius: 10px 10px 10px 10px;
	box-shadow: 6px 6px 10px grey;
}

.but1{
	size:2;
	font-family: Cursive;
	padding-top: 0;
	padding-bottom:0;
	background-color:rgba(200,100,100,0.7);
	border-radius: 10px 10px 10px 10px;
	box-shadow: 6px 6px 10px grey;
}

.but3{
	size:1;
	font-family: Cursive;
	padding: 1;
	padding-left:2;
	padding-right: 2;
	background-color:transparent;
	border-radius: 2px 2px 2px 2px;
	box-shadow: 1px 1px 1px grey;
}



.dat{
	size:1;
	font-family: Cursive;
	padding-top: 0;
	padding-bottom:0;
	background-color:rgba(0,250,200,0.2);
	border-radius: 3px 3px 3px 3px;
	box-shadow: 2px 2px 2px grey;
}

#segundo{
	position:relative;
}

#sn {width: 50%; height:20%;}

#sn td{
	font-size: 11px;
	text-align: center;
	padding: 0px;
	border: 1px solid black;
	width: 30%;
	height: 10%;

}

#sn1 {width: 90%; height:70%;}

#sn1 td{
	font-size: 11px;
	text-align: center;
	padding: 0px;
	border: 1px solid black;
	width: 8%;
	height: 1%;
}

#sn1 tr{height:2%;}



.canvas3 {
	float:left;
	margin-left:0;
	padding:0;
	border-style:solid;

	height:1200px;
	border-color:#000000;
	border-radius:5px;
	border-width:1px;
	position:absolute;
	background-color:transparent;
	z-index:1;
}

.canvas4 {
	float:left;
	border-style:solid;

	height:1200px;
	border-color:#000000;
	border-radius:5px;
	border-width:1px;
	position:absolute;
	background-color:transparent;
	z-index:0;
}

.es {
	margin-top: 1%;
	font-size: 10pt;
	float:center;
	border-style:solid;
	width:90%;
	height:10%;
	border-color:#000000;
	border-radius:5px;
	border-width:1px;
	position:relative;
	background-color:transparent;
}

.escritura{
	line-height: normal;
	text-align: left;
	border-style:solid;
	border-color:#000000;
	border-radius:5px;
	border-width:1px;
	position:absolute;
	height:1200px;
	background-color:transparent;
	z-index:3;
}

#test {
	width: 50%;
	margin-left:3%;
	border-style: solid;
	border-width: 1px;
	color: black;
	padding: 2%;
	margin-top:1%;
	border-radius: 10px 10px 10px 10px;
	background-color:rgba(200,200,100,0.5);
	box-shadow: 6px 6px 10px grey;  
}

#im{
	padding:1%;
	border: 1px solid blue;
}

a {
	padding: 1%;
	padding:0 5px 5px 0; 
}

a img {
	top: -3px; /* Desfasamos la imagen hacia arriba */
	left:-3px; /*Desfasamos la imagen hacia la izquierda */
	padding:5px;
	background:#FFFFFF; /*Definimos un color de fondo */
	border:1px solid;
	border-color: #CCCCCC #666666 #666666 #CCCCCC /*Creamos un marco para acentuar el efecto */
}

#imag{
	width:16%;
	opacity:0.7;
	transition: 1s;
	animation: im 2s ease-out 1;
	-webkit-animation: im 2s ease-out 1;
	-moz-animation: im 2s ease-out 1;
	-ms-animation: im 2s ease-out 1;
}

#fin{
	background-color:transparent;
	position: absolute;
  	bottom: 0;
  	width: 100%;
  	height: 20px;
}

#imag:hover{
	opacity: 1;
	transition: 1s;
}

#pro{
	min-height: 10px;
	padding:1px;
	border: 1px solid rgba(200,50,50,0.4);
}

#tabla_titulo{
	background-color: rgba(100,200,100,0.1);
	opacity:0.8;
	border-radius: 20px 20px 20px 20px;
	margin-top: 2%;
	padding: 1%;
	border:3px solid white;
	width:90%;
	box-shadow: 6px 6px 0px grey;
	animation: aparecer 1s ease-out 1;
	-webkit-animation: aparecer 1s ease-out 1;
	-moz-animation: aparecer 1s ease-out 1;
	-ms-animation: aparecer 1s ease-out 1;
}

#conectado{
	background-color: rgba(100,200,100,0.1);
	opacity:0.8;
	border-radius: 20px 20px 20px 20px;
	margin-top: 2%;
	padding: 1%;
	border:3px solid white;
	width:90%;
	box-shadow: 6px 6px 0px grey;
}

.editore{
	text-align: left;
	border-radius: 2px 2px 2px 2px;
	box-shadow: 3px 3px 3px grey;
	border: 1px solid black;
	background-color: rgba(250,250,200,0.1);
	
}

.content{
	
	width: 85%;
	height: 75%;
	background-color: transparent; 
	position: absolute;
	z-index:1;
}

#contenido{

	width: 90%;
	height: 95%;
	padding-left:3%;
	border-radius: 6px 6px 6px 6px;
	box-shadow: 6px 6px 10px grey;
	border: 1px solid black; 
}

#colores{
    display: none;
	position: fixed;

    top: 80px;        /* 👈 IMPORTANTE */
    left: 2%;

    padding:2%;
    background-color: beige;
    width: 20%;
    height: 60%;

    z-index:10000;

    border-radius: 6px;
    box-shadow: 6px 6px 10px grey;
    border: 1px solid black;
}
#fomu{
	padding:2%;
   	position:absolute;
	background-color: beige;
	width: 30%;
	z-index:70;
	text-align: left;
	height: 50%;
	margin-left:30%;
	margin-top:4%;
	border-radius: 6px 6px 6px 6px;
	box-shadow: 6px 6px 10px grey;
	border: 1px solid black; 
}

#dibujo{
	padding:0.5%;
   	position:absolute;
	background-color: rgba(240,240,250,0.99);
	width: 98%;
	z-index:100;
	height: 22%;
	margin-left:0%;
	margin-top:34%;
	border-radius: 6px 6px 6px 6px;
	box-shadow: 6px 6px 10px grey;
	border: 1px solid black; 
	text-align:left;
	display:none;
}

.obtener{
	padding:0.5%;
   	position:absolute;
	background-color: rgba(250,250,210,1);
	width: 95%;
	z-index:100;
	opacity:95%;
	height: 85%;
	margin-left:1%;
	margin-top:1%;
	border-radius: 6px 6px 6px 6px;
	box-shadow: 6px 6px 10px grey;
	border: 1px solid black; 
	text-align:left;
	display:none;
}

.formato{
	padding:0.5%;
   	position:fixed;
	background-color: rgba(240,240,250,0.99);
	width: 98%;
	z-index:100;
	height: 22%;
	bottom:1%;
	margin-top:34%;
	border-radius: 6px 6px 6px 6px;
	box-shadow: 6px 6px 10px grey;
	border: 1px solid black; 
	text-align:left;
	display:none;
}

#tabla_tit{
	background-color: rgba(100,200,100,0.1);;
	opacity:0.8;
	border-radius: 6px 6px 6px 6px;
	margin-top: 0.5%;
	padding: 0.5%;
	border:1px solid white;
	width:90%;
}

@keyframes aparecer{
	from{opacity: 0; width: 50%;background-color:transparent;}
	50% {opacity:0.2; width:70%;  }
	to  {opacity: 1; width: 90%; background-color:transparent;}
}

@keyframes im{
	from {opacity: 0;}
	to {opacity: 0,5;}
}

@media only screen and (max-width: 768px) {
	
#huella{
	width:15%;
}

#imag{
	width:20%;
	opacity: 1;
}

#tabla_titulo{
	font-size: 20;
}
#unid{
	width: 10%;
	float: left;
	height: 80%;
}

#tabl{
	height: 80%;
	border:1px solid white;
	width:90%;
	box-shadow: 3px 3px 5px grey;
	border-radius: 20px 20px 20px 20px;
	background-color:rgba(100,200,100,0.2);
}
#cona{
	width: 60%;
	font-size: 8;

}

#nombre, #contras, #us, #con, #no_us, #ap_us, #cur{
	width: 100%;
	font-size: 8;
}



#cone{
	width: 60%;
	font-size: 8;
}

#form1{
	width:100%;
	
}

A:link {color: black;  font-family: Open Sans, Sans-serif; text-decoration: none; font-size:10; }
A:hover {color: ; font-size: 10pt; font-family: arial; text-decoration: none }
A:visited {color: black; font-size: 10pt; font-family: arial; text-decoration: none }

}

@media only screen and (min-width: 769px) {

#cona{
	color: black;
	width: 60%;
	font-size: 15;

}

#tabla_titulo{
	font-size: 50;
}

#huella{
	width:6%;
}

#unid{
	width: 10%;
	float: left;
	height: 80%;
}

#tabl{
	margin-top:10%;
	height: 80%;
	border:1px solid white;
	width:90%;
	box-shadow: 3px 3px 7px grey;
	border-radius: 20px 20px 20px 20px;
	background-color:rgba(100,200,100,0.2);
}


A:link {color: rgba(0,0,0,0.8);  font-family: Open Sans, Sans-serif; text-decoration: none; font-size:20; }
A:hover {color: ; font-size: 22pt; font-family: arial; text-decoration: none }
A:visited {color: black; font-size: 22pt; font-family: arial; text-decoration: none }

}

#editor_drive { 
      border: 1px solid #dadce0; padding: 15px; max-height: 50px; 
      margin-bottom: 20px; background: #fff; border-radius: 8px;
    }
    .controls { margin-bottom: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
    
.button_drive { 
      padding: 10px 15px; cursor: pointer; border: none; 
      border-radius: 4px; background: #1a73e8; color: white; font-weight: 500;
    }
.button_drive:hover { background: #1557b0; }
.button_drive.secondary { background: #34a853; }
.button_drive.secondary:hover { background: #2d8e47; }
   .status { 
     padding: 12px; border-radius: 4px; background: #e8f0fe; 
     color: #1967d2; font-size: 0.9em; border-left: 4px solid #1a73e8;
 }
    .auto-save-badge {
      margin-left: 10px; font-weight: bold; color: #d93025; display: none;
    }

.oculto {
display:none;
margin-left:2em;

}

#alis {counter-reset: item;margin-left: 0; list-style:none;}
#alis li{display: block;counter-increment: listStyle;}
#alis li::before{display:inline-block; content: counter(listStyle, lower-alpha) ") ";font-style: oblique;	margin-right: 0.3em;counter-increment: item;}

#uno li{
	list-style:none;
}

#uno * {
	margin:0px;
	padding:0px;
}
			
#header {
	margin:auto;
}


		
.nav1 li{
float: left;
width: 33%; 
}

.nav li{
float: left;
width: 20%; 
}
	


.nav1 > li {
	float:left;
	width: 100%;	
}
			
.nav1 li a {
	border: thin solid black;
	background-color:beige;
	text-decoration:none;
	padding:1px 4px;
	display:block;
}
			
.nav1 li a:hover {
	background-color:grey;
}
			
.nav1 li ul {
	display:none;
	position:absolute;
	min-width:10px;
}
			
.nav1 li:hover > ul {
	display:block;
}
			
.nav1 li ul li {
	position:relative;
}
			
.nav1 li ul li ul {
	right:-140px;
	top:0px;

}
		
.nav > li {
	float:left;
	width: 100%;	
}
			
.nav li a {
	border: thin solid black;
	background-color:beige;
	text-decoration:none;
	padding:1px 4px;
	display:block;
}
			
.nav li a:hover {
	background-color:grey;
}
			
.nav li ul {
	display:none;
	position:absolute;
	width:150px;
}
			
.nav li:hover > ul {
	display:block;
}
			
.nav li ul li {
	position:relative;
}
			
.nav li ul li ul {
	right:-140px;
	top:0px;

}

.ecuac {
	border: thin solid blue;
    	display: inline-block;
    	vertical-align: middle; 
}


.apar {
	border-collapse: collapse;
	border: 1px solid black;
	width: 90%;
	margin: 15px;
	padding: 2px;
}

.apar td{
	padding: 2px;
}

#editor_html{
	font-family:"late";
	font-size: 12pt;
}

#tres {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background: rgba(245,245,220,0.95);
}

#confi{
	padding:2%;
   	position:fixed;
	background-color: beige;
	width: 40%;
	height: 60%;
	left:25%;
	top:8%;
	border-radius: 6px 6px 6px 6px;
	box-shadow: 6px 6px 10px grey;
	border: 1px solid black; 
	text-align: left;
    	z-index:300000;
}

#confi #contenido{
    background: beige;
    width:40%;
    height:60%;
    margin:5% auto;
    padding:2%;
    border-radius:6px;
    box-shadow:6px 6px 10px grey;
    border:1px solid black;
}

#sino{
	padding:2%;
   	position:fixed;
	background-color: beige;
	width: 20%;
	height: 10%;
	left:40%;
	top:40%;
	border-radius: 6px 6px 6px 6px;
	box-shadow: 6px 6px 10px grey;
	border: 1px solid black; 
	text-align: left;
    	z-index:300000;
}

.no-break {
    page-break-inside: avoid;
}

#document {
    overflow: auto;
    padding-top: 10px;
    height: 100%;
    margin: 0 auto;     /* 🔥 esto centra */
}

.modo-continuo .page {
    display: block;
    width: 100%;
    box-shadow: none;
    margin: 0;
}

.modo-continuo #editor_html {
    max-width: 800px;     /* ancho tipo lectura */
    margin: 20px auto;    /* centrado */
    padding: 20px;
    background: white;
    box-shadow: none;
    min-height: 80vh; 
}

.page {
	font-family: "late";
	font-size: 12pt;
}

.modo-continuo .page {
    width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    
}

.modo-continuo #document {
    background: #eee;
}

#ia:empty::before {
            content: attr(data-placeholder); /* Coge el texto del HTML */
            color: #999;                     /* Lo pinta de gris */
            pointer-events: none;            /* Evita que estorbe al hacer clic */
            cursor: text;
        }
        
#resultado-ia:empty::before {
            content: attr(data-placeholder); /* Coge el texto del HTML */
            color: #999;                     /* Lo pinta de gris */
            pointer-events: none;            /* Evita que estorbe al hacer clic */
            cursor: text;
        }        
        
#prev1{
	font-family:"late";
}
