#gal_container {
	clear: both;
	margin: 0 2% 0 2%;
}
/* links anterior y siguiente arriba de la imagen */
div#links_as_top {
	display: inline;
	float: left;
	text-align: center;
	margin: -2px 0 0 -1em;
	padding: 0;
	line-height: 6ex;
}
/* 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: #C2CAED;
	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: #fff;
	color: #000;
	margin: 8px;
	height: 210px;
	max-height: 210px;
	overflow: hidden;
	line-height: 12pt;
}
/* para thumbs que no tienen info adicional (sin texto) */
#gal_container div.un_solo {
	background: transparent; /* #A84646 */
}
#gal_container a {
   color: #000;
	display: block;
	height: 100%;
}
#gal_container a:hover {
	background: #E8E8E8;
}
/* 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 #6C8895; }
#gal_container a:hover img { border: 5px solid #3E7F0E; }	

/* para cada thumb */
#gal_container span.thumb_info {
	padding: 0;
}
div.un_thumb a {
	text-decoration: none;
}
span.th_cuantas {
	color: #000;
}
span.th_tit, span.th_des {
	color: #000;
	padding: 0;
}
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: 10px solid #C2CAED;
	background: #C2CAED;
	margin-bottom: 5ex;
	color: #000;
}
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: 375px; /* solo para anterior y siguiente */
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* botones de anterior y siguiente */
#gal_container div.ant_on a, #gal_container 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, div.ant_on a: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 top */
/* div que contiene toda la navegaciona ant sig gal glas */
div#lasgals_f {
	display: block;
	clear: both;
	margin: 0 0 0.5em 0;
	background: #1399A9;
	width: 100%;
	height: 43px;
	color: #000;
}
div#lasgals {
	display: block;
	clear: both;
	margin: 0 auto 1ex auto;
	min-width: 650px;
}
div#tp_icons_gals {
	margin-left: 3em;
	margin-right: -20em;
	display: inline;
	float: left;
}
div#tp_icons_gals a:link, div#tp_icons_gals a:hover, div#tp_icons_gals a:active, div#tp_icons_gals a:visited {
	text-decoration: none;
	color: #000;
}
div#tp_icons_gals a.gal {
	display: block;
	margin: 0;
	padding: 5px 0 5px 40px;
	float: left;
}
div#tp_icons_gals a.gals {
	display: block;
	margin: 0 0 0 1em;
	padding: 5px 0 5px 70px;
	float: left;
}
div#tp_icons_gals a.gal {
	background: url(/imgs2/icon/gal_icon.gif) no-repeat left;
}
div#tp_icons_gals a.gal:hover {
	background: url(/imgs2/icon/gal_icon_on.gif) no-repeat left;
}
div#tp_icons_gals a.gals {
	background: url(/imgs2/icon/gals_icon.gif) no-repeat left;
}
div#tp_icons_gals a.gals:hover {
	background: url(/imgs2/icon/gals_icon_on.gif) no-repeat left;
}
/* acomodo los hover de links con iconos */
div#tp_icons_gals a:hover, div.ant_on a:hover, div.sig_on a:hover {
	background: transparent;
	color: #FFFFCC;
}
/* acomodo la descripcion de totales */
div#tp_icons_gals a span.tots {
	color: #fff;
	font-size: 11px;
}
/* FIN links a galeria y galerias top */



/* 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;
}
/* 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: #fff;
}
/* acomodo la descripcion de totales */
div#gals_links a span.tots {
	color: #fff;
	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;
}
