/**
* CSS
* 
* @version 2.0
* @author Vaska 
*
* There are also some obscure rules in base.css
*/

body {
	font-size: 13px;
	font-family: 'Helvetica Neue', Arial, Helvetica, Verdana, sans-serif;
	background: #fff;
	color: #000;
	line-height: 1.3em;
	/* font-weight: 300; */
}

/* link scheme */
/* you can customize links further down the page too */
a:link { text-decoration: none; color: #666; }
a:active { text-decoration: none; color: #00cc00; }
a:visited { text-decoration: none; color: #666; }
a:hover { text-decoration: none; background-color: transparent; color: #3b9ad9; } /* antes fondo gris y letra blanca; ahora celeste como el enlace de Regeneraxión */
a img { border: none; }
a.nohover:hover {background-color:#FFFFFF;}

/* general styles */
small { font-size: 9px; }
code { font-family: monospace; }
blockquote { padding-left: 9px; }

/* headings */
h1 { font-size: 13px; margin-bottom: 1em; font-weight: bold; }
h2 { font-size: 13px; margin-bottom: 1em; font-weight: bold; }
h3 { font-size: 13px; margin-bottom: 1em; }
h4 { font-size: 13px; margin-bottom: 1em; }

/* paragraph width */
#index p { margin-bottom: 1em; color:#666666;}
#img-container .captioning .title {color:#666666;}
#exhibit p, code, blockquote { width: 600px; margin-bottom: 1em; color: #666; text-align:justify;/* line-height: 1.3em; */ }

/* highlighter style - maybe you want to change colors? */
.highlight { background: #ccff00; color: #000; }

/* never adjust the margin or padding here unless you seriously know what you are doing */
/* think #index .container and #exhibit .container for only padding adjustments */
#index { width: 250px; background: #fff; text-align:right; /* line-height: 1.3em; */ }
#exhibit { margin: 0 0 0 250px; }

/* styling the index */
#index ul { list-style: none; margin: 0; }
#index ul.section { margin-bottom: 1em; }
#index ul.subsection {  }

/* the follow rules for index are not required */
/* they are mostly for complex customization */
/* for tag display */
#index ul#all_tags { list-style-type: none; margin-bottom: 1em; }
#index ul#all_tags li { display: inline; margin-right: 3px; }
#index ul#all_tags li a {  }

/* active section title */
#index span.active_section_title,
#index span.active_section_title a { font-weight: bold; }

/* active exhibit title parts */
li.active a:link, li a.active, li.active a:hover, li a.active, li.active a:active, li a.active, 
li.active a:visited, li a.active, li span.active, #index ul.section li.active a:link, 
#index ul.section li.active a:hover, #index ul.section li.active a:active, #index ul.section li.active a:visited
{ font-weight: bold; }

/* additional #index options */
#index ul li .password a { /* background: url(../img/locked.gif) right center no-repeat; padding-right: 18px; */ }

/* the "new" indicator */
#index ul li sup { color: #0c0; font-weight: bold; text-transform: uppercase; font-size: 8px; vertical-align: top; }
/* end styling for index */

/* links styles only for the #index region */
#index a:link {  } 
#index a:hover {  } 
#index a:active {  } 
#index a:visited {  }

/* links styles only for the #exhibit region */
#exhibit a:link {  } 
#exhibit a:hover {  } 
#exhibit a:active {  } 
#exhibit a:visited {  } 

/* this is where you adjust your paddings for #index and #exhibit together */
.container { padding: 27px 45px 25px 27px; }

/* this is where you pad them separately */
#index .container {  }
/* contacto del menú un poco más chico para que quepa dentro del ancho de las líneas; las líneas mantienen su largo */
#index .bot { font-size: 11px; }
#index .bot .raya { font-size: 13px; }
#index .bot p { margin-bottom: 4px; } /* bloques de contacto más juntos */
#exhibit .container {  }
/* ===== Responsivo (26 nov 2026) ===== */
/* En escritorio se ve igual que antes: texto e imágenes de 700 px.
   Si la ventana es más angosta, texto e imágenes se ajustan al ancho disponible. */
#exhibit p, code, blockquote { max-width: 100%; box-sizing: border-box; }
#img-container img { max-width: 100%; height: auto; }
#img-container, #img-container .asset { max-width: 100%; }
/* cada imagen va en una columna de 600 px (el ancho del texto): las verticales, más angostas, quedan centradas */
.format-over_and_over #img-container .asset { width: 600px; text-align: center; }
/* más aire: 30 px entre imágenes y 30 px entre el texto y la primera imagen */
.format-over_and_over #img-container .asset img { display: block; margin: 0 auto; }
/* bajo cada imagen va el .spacer de Indexhibit: lleva el pie (si hay) y deja 30 px hasta la siguiente */
.format-over_and_over #img-container .spacer { display: block; height: auto; margin-bottom: 30px; font-size: 0; line-height: 0; }
.format-over_and_over #img-container .captioning { margin-top: 6px; font-size: 11px; line-height: 1.3em; color: #777; text-align: left; }
.format-over_and_over #img-container .captioning:empty { display: none; }
.format-over_and_over #img-container .captioning .title { color: #777; }
.format-over_and_over #img-container { margin-top: 30px; }

/* Tablet: menos margen alrededor del contenido */
@media (max-width: 1000px) {
	#exhibit .container { padding-right: 20px; }
}

/* Celular: el menú pasa arriba, compacto, y el contenido ocupa todo el ancho */
@media (max-width: 760px) {
	body { -webkit-text-size-adjust: 100%; }
	#index { position: static; width: auto; height: auto; overflow: visible; text-align: left; }
	#index .container { padding: 20px 20px 0 20px; }
	#index .top img { height: 50px; width: auto; }
	#index ul.section { margin-bottom: 0.6em; }
	/* proyectos en línea, separados por un punto, en vez de uno por fila */
	#index ul.section ul li { display: inline; }
	#index ul.section ul li:after { content: " · "; color: #bbb; }
	#index ul.section ul li:last-child:after { content: ""; }
	#index .bot p { margin-bottom: 0.4em; }
	#exhibit { margin: 0; }
	#exhibit .container { padding: 10px 20px 30px 20px; }
	#exhibit p, code, blockquote { width: auto; text-align: left; }
	/* portada: miniaturas en dos columnas */
	#img-container .picture_holder { width: calc(50% - 6px) !important; height: auto !important; margin-bottom: 10px; }
	#img-container .picture { width: 100% !important; }
	#img-container .picture img { width: 100%; height: auto; }
}

/* Oficina al final de la ficha técnica: enlace en azul claro (26 nov 2026) */
#exhibit a.rx:link, #exhibit a.rx:visited { background-color: transparent; color: #3b9ad9; }
#exhibit a.rx:hover { background-color: transparent; color: #1f6fa8; text-decoration: underline; }

/* Encabezado del proyecto: título solo, y la ficha técnica pegada debajo (26 nov 2026) */
#exhibit p.titulo { margin-bottom: 10px; }

/* Títulos de sección del menú (PROYECTOS, COLABORACIONES) en verde bambú (26 nov 2026) */
#index span.section_title a:link, #index span.section_title a:visited, #index span.section_title a:hover { color: #6f9a3c; }
#index ul.section span.section_title, #index ul.section span.section_title a, #index span.active_section_title, #index span.active_section_title a { font-weight: normal; } /* sin negrita */

/* Portada: miniaturas cuadradas (thumbs_shape=1 en la base) y nombre abajo a la izquierda (26 nov 2026) */
.format-visual_index #img-container .captioning { text-align: left; margin-top: 6px; }
.format-visual_index #img-container .captioning .title { text-align: left; }
/* mosaico siempre en 4 columnas, que se ajustan al ancho disponible (máx. 924 px, como 4 miniaturas de 225) */
.format-visual_index #img-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 8px; row-gap: 8px; max-width: 924px; } /* misma distancia horizontal y vertical */
.format-visual_index #img-container .picture_holder { width: auto !important; height: auto !important; float: none; margin: 0; }
.format-visual_index #img-container .picture { width: 100% !important; }
.format-visual_index #img-container .picture img { display: block; width: 100%; height: auto; }
.format-visual_index #img-container > div[style*="clear"] { display: none; }
@media (max-width: 760px) {
	.format-visual_index #img-container { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; } /* en celular el nombre va bajo el cuadrado */
}

/* Mosaico: al pasar el mouse la imagen se vuelve transparente y el nombre aparece centrado en gris oscuro (26 nov 2026).
   En pantallas táctiles (sin mouse) el nombre sigue abajo a la izquierda. */
@media (hover: hover) {
	.format-visual_index #img-container .picture_holder { position: relative; }
	.format-visual_index #img-container .picture_holder .captioning {
		position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: 0;
		display: flex; align-items: center; justify-content: center; text-align: center;
		padding: 0 12px; background: transparent; opacity: 0; transition: opacity .2s;
		pointer-events: none; width: auto !important; height: auto !important; box-sizing: border-box;
	}
	.format-visual_index #img-container .picture_holder .captioning .title { margin-top: 0 !important; }
	.format-visual_index #img-container .picture_holder .captioning .title { color: #4a4a4a; text-align: center; font-size: 13px; line-height: 1.3em; font-weight: bold; }
	/* la imagen se vuelve casi transparente (sobre fondo blanco) para que se lea el nombre */
	.format-visual_index #img-container .picture_holder img { transition: opacity .2s; }
	.format-visual_index #img-container .picture_holder:hover img { opacity: 0.25; }
	.format-visual_index #img-container .picture_holder:hover .captioning { opacity: 1; }
}

/* Ficha técnica y título en verde bambú; el enlace de la oficina sigue en azul (26 nov 2026) */
#exhibit p.titulo, #exhibit p.titulo strong, #exhibit p.ficha { color: #6f9a3c; }
