
	body * {
		font-family: "Open Sans", sans-serif;
		color: #222;
	}
	body {
		background: #e8e2f7;
		float: left;
		width: 100%;
		margin: 0;
	}
	#main {
		margin: 160px auto;
		max-width: 1100px;
		width: 98%;
		padding: 1em 1%;
		box-sizing: border-box;
	}
	
	.destacada, .imagen { text-align: center; }
	.destacada img, .imagen img { width: 100%; max-width: 500px; }
	
	.publi-debajo-indice {  }
	.portada #main {  }
	
	.content-box {
		/*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
		border-radius: 2px;
		-moz-border-radius: 2px;
		-webkit-border-radius: 20px;
		margin-top: 1em;
		background: white;*/
	}

	form {
	  background: #eee;
	  padding: 40px;
	  margin: auto;
	  border-radius: 8px;
	  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
	}

	label {
	  display: block;
	  margin-bottom: 6px;
	  font-weight: bold;
	}

	input,
	textarea {
	  width: 100%;
	  padding: 10px;
	  margin-bottom: 15px;
	  border-radius: 4px;
	  border: 1px solid #ccc;
	  font-size: 1em;
	}

	button {
	  padding: 10px 20px;
	  background: #2054aa;
	  color: white;
	  border: none;
	  border-radius: 4px;
	  cursor: pointer;
	  font-size: 1em;
	}

	button:hover {
	  background: #123d7a;
	}

	.success {
	  color: green;
	  font-weight: bold;
	}

	.error {
	  color: red;
	  font-weight: bold;
	}

	#input {
		resize: none;
		border: none;
		outline: none;
		width: 100%;
		height: 100%;
		text-align: center;
		padding-top: 10px;
		font-size: 1.4em;
		border-radius: 10px;
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
	}
	#input-wrapper {
		height: 90px;
		overflow: hidden;
		border: 3px solid #dc267c;
		border-radius: 10px;
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
		z-index: 99999;
		margin: 0 auto;
		max-width: 1075px;
		box-sizing: border-box;
		margin-top: 10px;
	}  
    
	.impresion-fuente, div#moreFontsCtn {
		width: 96%;
		/*height: 70px; PARA HACER LA CAJITA MÃS PEQUEÃ‘A*/
		padding: 10px 2%;
		font-size: 1.4em;
		margin: 20px 0 0;
		border-radius: 10px;
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
		border-color: #ccc;
		text-align: center;
		background: #fff;
	}
	div#moreFontsCtn { /* height: 0; PARA HACER LA CAJITA MÃS PEQUEÃ‘A*/ }
	.impresion-fuente.impar { 
		border-top: 4px solid #237aac; 
		border-right: 2px solid #237aac;
		border-top-left-radius: 0;
		border-top-right-radius: 15px;
		border-bottom-right-radius: 0;
		border-bottom-left-radius: 15px;
	}
	.impresion-fuente.par {
		border-top: 4px solid #6037c7; 
		border-left: 2px solid #6037c7;
		border-top-left-radius: 15px;
		border-top-right-radius: 0;
		border-bottom-right-radius: 15px;
		border-bottom-left-radius: 0;
		background: #fdfdfd;
	}
	.muestra-aviso {
		position: fixed;
		top: 30%;
		right: 10px;
		padding: 8px 14px;
		text-align: center;
		background-color: #2054aa;
		opacity: 0.8;
		font-size: 30px;
		color: #fff;
		display: none;
		z-index: 999999;
		border-radius: 10px;
	}
	.parrafo-fuente { position: relative; margin: 0; }
	.cargar-fuentes {
		width: 100%;
		background-color: #222;
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
		border-radius: 10px;
		border: 1px solid #000;
		display: inline-block;
		cursor: pointer;
		color: #faedfa;
		font-family: Arial;
		font-size: 20px;
		/* font-weight: bold; */
		text-transform: uppercase;
		padding: 16px 31px;
		text-decoration: none;
		text-shadow: 0px 1px 0px #666;
	}
	.cargar-fuentes:hover {
		background-color:#444;
	}
	.cargar-fuentes:active {
		position: relative;
		top:1px;
	}

	#output-wrapper {
		height: fit-content;
		padding: 0;
	}
	#output {
		font-size: 1.4em;
		word-break: break-word;
	}
	#description p:last-child {
		margin-bottom: 0;
	}
	#description h1:first-child {
		margin-top: 0;
	}
	#background {
		z-index: -1;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}
	.header {
		padding: 15px 1% 0;
		border-top: 5px solid #2054aa;
		width: 98%;
		text-align: center;
		height: 162px;
		background: #e8e2f7;
		position: fixed;
		z-index: 999999;
	}
	.logo_web { display: block; }
	.logo img {
		width: 140px;
		/*text-align: center;
		font-size: 5.5vw;
		font-family: "Pacifico", cursive;
		color: white;
		text-shadow: 0px 1px 2px #444;
		margin-top: 0.1em;
		margin-bottom: 0.6em;*/
	}
	.logo_mobile { visibility: hidden; }

	#description *:not(pre) > code {
		background: #f1f1f1;
		font-family: monospace;
		font-size: 1.1em;
		padding: 0.3em;
	}
	#description pre {
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0.5em;
		background: #f1f1f1;
		font-family: monospace;
	}
	.tipo-letra {
		padding: 3px 10px;
		font-size: 12px;
		text-align: center;
		text-transform: uppercase;
		position: absolute;
		top: 6px;
		color: #fff;
	}

	.aviso-tipos { display: none; }
	.tipo-letra.par {float: right; background: #6037c7; right: 5px;}
	div.parrafo-fuente:hover .tipo-letra.par { }
	
	.tipo-letra.impar {float: left; background: #237aac; left: 5px;}
	div.parrafo-fuente:hover .tipo-letra.impar { }
	
	div.parrafo-fuente:hover .tipo-letra { background: #d228c4; }
	
	div.parrafo-fuente:hover .impresion-fuente { 
		border-color: #d228c4; background: #fff; font-size: 1.6em; cursor: pointer; }
	div.parrafo-fuente:hover .impresion-fuente.par { border-color: #d228c4; }
	div.parrafo-fuente:hover .impresion-fuente.impar { border-color: #d228c4; }
	
	div#recomendaciones {
		background: #d8e4f9;
		border: 2px solid #2054aa;
		border-radius: 15px;
		padding: 15px;
		margin: 10px 0 20px;
	}
	div#recomendaciones h2 { color: #2054aa; text-align: center; }
	div#recomendaciones ul { margin-block-start: 0; padding-inline-start: 20px; }

	.publi-debajocabecera-mobile { display: none; }
	
	.publi.publigoogle, .google-auto-placed, .google-auto-placed, .publi.canva {
	    clear: both !important;
		padding: 0; 
		margin: 20px 0;
		border: 10px solid #2054aa;
		border-left: none;
		border-right: none;
		background: #fff;
	}
	.publi.canva { 
		border: 10px solid #2054aa; 
		background: #ffe9e9;     
		border-left: none;
		border-right: none;
	}
	.publi.publigoogle, .google-auto-placed {  }
	.publiweb { display: block; text-align: center; }
	.publimobile { display: none;}
	.publinstagram {
		width: 90%;
		margin: 30px 0;
		padding: 20px 5% 10px 5%;
		text-align: center;
		background: #f5f5f5 url(/img/fondo-publi.png);
	}
	.publinstagram img { width: 100%; max-width: 600px;}
	div.pbutton a.button > span.hover_boton_afiliado {  }
	div.pbutton a.button {	
		display: -webkit-inline-box;
		font-size: 20px;
		overflow: hidden;
		margin: 10px 0;
		clear: both;
		color: #fff !important;
		background: #cc0000;
		padding: 20px;
		text-align: center;
		-webkit-box-shadow: inset 0 1px rgba(255,255,255,0.35);
		box-shadow: inset 0 1px rgba(255,255,255,0.35);
		-moz-border-radius: 6px;
		-webkit-border-radius: 6px;
		border-radius: 6px;
		text-decoration: none;
		-webkit-transition: all 0.2s ease-in-out;
		-moz-transition: all 0.2s ease-in-out;
		-o-transition: all 0.2s ease-in-out;
		transition: all 0.2s ease-in-out;
	}
	div.pbutton a.button span.texto_boton_afiliado { 
	    color: #fff;
		margin-left: 10px; 
		font-weight: bold;
		font-style: italic;
	}
	div.pbutton a.button > span.hover_boton_afiliado {
		padding: 10px 20px;
		opacity: 0;
		visibility: hidden;
		z-index: 10;
		position: absolute;
		font-style: normal;
	}
	div.pbutton a.button:hover > span.hover_boton_afiliado {
		opacity: 1;
		text-decoration: none;
		visibility: visible;
		overflow: visible;
		display: inline;
	}
	div.pbutton a.button:hover span.hover_boton_afiliado {
		display: inline;
		position: absolute;
		color: #d08a0b;
		text-transform: uppercase;
		background: #f2de03;
		border: 1px solid #e99d12;
		-webkit-transform: translateY(-100%);
		transform: translateY(-100%);
	}
    .header.textos_web { position: relative; height: 0; }
	.politica-cookies, .aviso-legal, .privacidad, .contacto {
	    margin: 50px auto;
		max-width: 1100px;
		width: 98%;
		padding: 4em 7%;
		box-sizing: border-box;
		background: #fff;
	}

	/* ============= MENÚ RESPONSIVE CON SUBMENÚS ============= */

	.navbar {
		background-color: #2054aa;
		color: white;
		font-family: sans-serif;
		width: 100%;
		z-index: 9999999;
		position: fixed;
		top: 0;
		left: 0;
	}

	.navbar-container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 60px;
		flex-wrap: wrap;
	}

	.navbar .logo img {
		width: 120px;
		height: auto;
		margin: 10px 0;
	}

	.menu {
		list-style: none;
		display: flex;
		margin: 0;
		padding: 0;
		flex-wrap: wrap;
	}

	.menu li {
		position: relative;
	}

	.menu > li > a {
		display: block;
		padding: 14px 16px;
		text-decoration: none;
		color: white;
		font-weight: bold;
	}

	.menu li a:hover {
		background-color: #237aac;
	}

	.submenu {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		list-style: none;
		background-color: #6037c7;
		min-width: 120px;
		z-index: 1000;
		margin: 0 10px;
		padding: 0 10px;
	}

	.submenu li a {
		padding: 10px 0px;
		display: block;
		color: white;
		text-decoration: none;
		white-space: nowrap;
	}

	.submenu li a:hover {
		background-color: #d228c4;
	}

	.has-submenu:hover > .submenu {
		display: block;
	}
	.submenu2 {
		background-color: #237aac;
	}

	/* Estilo para el botón hamburguesa */
	.hamburger {
	  display: none;
	  font-size: 26px;
	  background: none;
	  border: none;
	  color: white;
	  cursor: pointer;
	  z-index: 99999;
	  padding: 10px;
	}
	/* ============= FIN MENÚ RESPONSIVE CON SUBMENÚS ============= */

	/* FOOTER - PIE DE PAGINA */
		.footer {
		  background-color: #fff;
		  padding: 15px 20px;
		  font-family: "Open Sans", sans-serif;
		  font-size: 14px;
		  color: #555;
		}

		.footer-container {
		  max-width: 1100px;
		  margin: 0 auto;
		  display: flex;
		  align-items: center;
		  justify-content: space-between;
		  flex-wrap: wrap;
		  gap: 15px;
		}

		.footer-logo img {
		  height: 40px;
		  width: auto;
		}

		.footer-text {
		  flex-grow: 1;
		  text-align: center;
		  font-weight: 600;
		  color: #222;
		}

		.footer-menu {
		  display: flex;
		  gap: 20px;
		}

		.footer-menu a {
		  color: #2054aa;
		  text-decoration: none;
		  transition: color 0.3s ease;
		}

		.footer-menu a:hover {
		  color: #d228c4;
		}

	/* FIN FOOTER - PIE DE PAGINA */
		
	.footer ul {list-style-type: none; }
	.footer li {margin-right: 10px; float: right;}
	
/* ============= MOBILE Y TABLETAS ============= */

@media (max-width: 1200px) {	
	/* ============= MENÚ RESPONSIVE CON SUBMENÚS ============= */
	.menu > li > a { 
		border-right: 1px solid #fff;
		padding: 5px 5px; 
	}
}

@media (max-width: 910px) {	
	/* ============= MENÚ RESPONSIVE CON SUBMENÚS ============= */
	.logo_mobile { visibility: visible; }
	.logo_web { display: none; }
	.hamburger {
		display: block;
		background: #2054aa;
		border-radius: 0px;
		padding: 4px 8px;
		position: absolute;
		right: 10px;
		top: 5px;
		z-index: 10000;
 	 }
	.hamburger span {
	  	font-weight: bold;
		color: #fff;
	}
	.navbar { background-color: unset; }
	.navbar-container { padding: 0; }
	.menu {
		display: none;
		flex-direction: column;
		width: 100%;
		background-color: #dc267c;
	}

	.menu.show {
		display: flex;
		z-index: 999;
	}

	.menu li {
		width: 100%;
	}

	.submenu {
		position: static;
		background-color: #6037c7;
	}
	
	.submenu2 {
	}
	.menu > li > a { 
		padding: 10px 0px;
	}
	
	.has-submenu:hover > .submenu {
		display: block;
    	margin: 0;
    	padding: 0;	
	}
}
/* ============= FIN MENÚ RESPONSIVE CON SUBMENÚS ============= */

@media only screen and (max-width: 850px) {
	#logo {
	  font-size: 10.5vw;
	}
	.aviso-tipos {
		display: block;
		position: absolute;
		right: 60px;
		top: 15px;
		cursor: none;
		font-weight: 600;
		background: #dc277d;
		padding: 1px 5px 4px;
		z-index: 111;
	}
	.aviso-tipos span {
		color: #fff;
    	font-size: 12px;
	}
	.publimobile { display: block;}
	.publiweb { display: none; }
}
@media only screen and (max-width: 650px) {
	div#recomendaciones h2 { font-size: 1.2em; }
	div#recomendaciones li { font-size: 14px; }
	.header { padding-top: 10px; height: 141px; }
	.logo img { 
		width: 100px; 
		position: relative;
		left: -100px;
	}
	.publimobile { display: block;}
	.publiweb { display: none; }
	#input-wrapper { margin: 5px 2%; }
	#input { width: 96%; padding: 2%; }
	#output { font-size: 1em; }
	#main, .publi-debajo-indice{ width: 98%; padding: 0 1% 0; }
	.parrafo-fuente { margin: 5px 0; }
	.impresion-fuente {
		margin: 5px 0 0;
		width: 96%;
		padding: 10px 2% 8px;
		height: 46px;
		font-size: 1.2em;
		line-height: 26px;
		overflow: hidden;
	}
	.tipo-letra { top: -4px; }
	div.parrafo-fuente:hover .impresion-fuente { font-size: 1.4em; }
	  
	.publi-debajocabecera-mobile {display: block;}
	.publi-debajocabecera-mobile .adsbygoogle {}
	.publi-debajocabecera-web {display: none;}
	.publi.canva img { width: 100%; height: 100%; }
	div.pbutton a.button { display: block; }
	div.pbutton a.button > span.hover_boton_afiliado { left: 30px; }

	/* FOOTER - PIE DE PAGINA */
	.footer-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-logo {
		margin-bottom: 10px;
	}

	.footer-text {
		order: 2;
		margin-bottom: 10px;
	}

	.footer-menu {
		order: 3;
		flex-wrap: wrap;
		justify-content: center;
		gap: 15px;
	}
	/* FIN FOOTER - PIE DE PAGINA */
}
