#gal_container {
	clear: both;
	margin: 0 2% 0 2%;
	width: auto;
}
/* links anterior y siguiente arriba de la imagen */
div#links_as_top {
	width: 90%;
	clear: both;
	text-align: center;
	margin: 0 0 3px 0;
	padding: 0.5em;
}
/* titulo de galeria o foto */
span#local_tit, span#mas_gal {
	font-size: 1.5em;
}
/* div de descripcion gral galeria/s top */
div#local_desc {
	margin: 0 2% 1% 9%;
	background: #F7F7F7;
	border: 1px solid Black;
	padding: 1em;
	float: left;
	clear: both;
	min-width: 15em;
}
span#tit_detalle {
	font-size: larger;
	font-weight: bold;
}
/* titulo de la galeria en la desc */
div#local_desc h2, div#local_desc h3 {
	margin: 0;
	display: inline;
}


#gal_container div.un_thumb, #gal_container div.un_solo {
	float: left;
	background: #FFF0DD; /* #FFDAB9 */
	margin: 8px;
	height: 190px;
	max-height: 190px;
	overflow: hidden;
}
/* para thumbs que no tienen info adicional (sin texto) */
#gal_container div.un_solo {
	background: #F7F7F7; /* #EDEDED */
}
#gal_container a {
	display: block;
	height: 100%;
}
/* arreglo links dentro de foto ampliada: */
#gal_container div.cont_fgde a {
	display: inline;
	height: auto;
}
#gal_container a img, img.no { border: 5px solid #ddd; }
#gal_container a:hover img { border: 5px solid #333; }	

/* para cada thumb */
#gal_container span.thumb_info {
	padding: 0 0 0 3px;
}
div.un_thumb a {
	text-decoration: none;
}
span.th_cuantas {
	color: #000;
}
span.th_tit, span.th_des {
	color: #000;
	padding: 0 0 0 2px;
}
span.th_tit {
	font-weight: bold;
}
/* FIN para cada thumb */


/* info foto grande */
div.cont_fgde {
	clear: both;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	border: 5px solid #ddd;
	background: #ddd;
	margin-bottom: 5ex;
}
div.cont_fgde div.inf {
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	max-width: 690px;
	width: auto;
}
span.f_tit {
	text-decoration: underline;
	font-weight: bold;
}

/* div que abarca todos los links a ant, sig, y gals */
div#ops_gal {
	width: 630px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* botones de anterior y siguiente */
div.ant_on a, div.sig_on a {
	background-color: transparent;
}
div.ant_on a:link, div.ant_on a:hover, div.ant_on a:active, div.ant_on a:visited, div.sig_on a:link, div.sig_on a:hover, div.sig_on a:active, div.sig_on a:visited {
	text-decoration: none;
}
div.ant_on {
	background: url(/imgs2/icon/ant_on.gif);
}
div.ant_off {
	background: url(/imgs2/icon/ant_off.gif);
}
div.ant_on:hover {
	background: url(/imgs2/icon/ant_on_hover.gif);
	background-position: bottom;
}
div.sig_on {
	background: url(/imgs2/icon/sig_on.gif);
	text-align: right;
}
div.sig_off {
	background: url(/imgs2/icon/sig_off.gif);
}
div.sig_on:hover {
	background: url(/imgs2/icon/sig_on_hover.gif);
	background-position: bottom;
	text-align: right;
}
/* gral para botones ant y sig.. */
div.ant_on, div.sig_on, div.ant_off, div.sig_off {
	width: 87px;
	height: 130px;
	float: left;
	margin: 0;
	overflow: hidden;
	background-position: bottom;
}

/* links a galeria y galerias */
div#gals_links {
	float: left;
	margin-left: 20px;
}
div#gals_links a {
	padding-left: 125px;
	float: left;
	background: transparent;
}
div#gals_links a:link, div#gals_links a:hover, div#gals_links a:active, div#gals_links a:visited {
	text-decoration: none;
}
div#gals_links div.gal, div#gals_links div.gals {
	height: 69px;
	width: 200px;
	margin: 0 0 10px 10px;
}
div#gals_links div.gal {
	background: url(/imgs2/icon/gal_icon_off.gif) no-repeat left;
}
div#gals_links div.gal:hover {
	background: url(/imgs2/icon/gal_icon_on.gif) no-repeat left;
}
div#gals_links div.gals {
	background: url(/imgs2/icon/gals_icon_off.gif) no-repeat left;
}
div#gals_links div.gals:hover {
	background: url(/imgs2/icon/gals_icon_on.gif) no-repeat left;
}
/* acomodo los hover de links con iconos */
div#gals_links a:hover, div.ant_on a:hover, div.sig_on a:hover {
	background: transparent;
	color: #990000;
}
/* acomodo la descripcion de totales */
div#gals_links a span.tots {
	color: Black;
	font-size: 11px;
}
/* para pre-load imagenes */
div#gal_preload, img.gal_preload {
	display: none;
	max-height: 1px;
	max-width: 1px;
	margin: -1px;
}

/* parche para el final */
div.clear {
	clear: both;
	margin: 0;
}