
#galeria_container {
  width:730px;
  margin:10px auto 10px auto;
  padding:15px;
}

.icono_next {
 cursor:pointer;
 margin:0 0 -5px;
 width:32px;
 height:22px;
/* position:relative; */ /* Icon to the right */
/* left:332px; */
}

#form_todos {
  text-align:center;
  font-size:0.9em;
  margin-top:10px;
}

.cuadro {
  /* display:block; */	/* margin auto only works with blocks */
  text-align:center; 	/* IE bug fix; takes margin auto and supposes we are talking about blocks */
  margin:10px auto 10px auto;
  padding:10px 10px 10px 10px;
  border:1px solid #000000 !important;
  width:expression(this.width > 500 ? "500px" : this.width);
  height:expression(this.width > 495 ? "495px" : this.height);
  max-width:500px;
  max-height:495px;
}

/*.container_imagen .cuadro {
  margin:10px auto 10px auto;
  padding:10px 10px 10px 10px;
  border:1px solid #000000 !important;
  max-width:500px;
  max-height:495px;
}*/

.cuadro_vacio {
  margin:10px auto 10px auto;
  padding:10px 10px 10px 10px;
  max-width:500px;
  max-height:495px;
  border:10px solid #999999;
  background:#bbbbbb;
}

.ref_cuadro_vacio {
  text-align:center;
/*   margin:10px auto 10px auto; */
/*   padding:10px 10px 10px 10px; */
  max-width:420px;
  max-height:495px;
  border:2px solid #999999;
  background:#bbbbbb;
  display:inline-block;
}

  
.container_imagen {
  text-align:center;
  vertical-align:middle;
  float:left;
  width:550px;
  height:550px;
  margin:10px auto 10px auto;
/*   overflow:auto; */
}
.texto_cuadro_vacio {
  font-size:2em; /* 4em */
  position:relative;
  color:#ddd;
}

.hidden {
  display:none;
}

#container_datos {
 margin:20px 0px 30px 0px;
 padding:0px 0px 0px 10px;
 float:right;
 width:440px;
}

.recuadro_ficha {
 border:1px solid #999999;
 padding:10px;
}
.caja_texto {
  margin:0px 10px 10px;
  font-size:1.2em;
}
.caja_comentario {
  border:1px dashed #999999;
  margin:0px 10px 10px;
  padding:5px;
  line-height:1.5em;
  font-size:1.2em;
  height:10em;
  overflow:auto;
}
.ref {
  margin:25px 0 45px 10px;
}
.caja_referencia { 
  display:block;
  margin:0px 10px 20px;
}
.ref_cuadro{
}

.ref_hombre{
	margin:-50px 20px;
}
.busqueda {
  background:#bbbbbb;
  text-align:center;
  font-size:0.9em;
  padding:5px;
  clear:both;		/* For float to behave correctly */
}

 .footer_galeria{
/*   border:1px solid #bbbbbb; */
  text-align:center;
  font-size:0.9em;
  padding:5px;
  clear:both;		/* For float to behave correctly */
  background:#202020;
}

.dirty {
  background:#00ff00;
}

	  /* ---------------------panel_busqueda--------------------- */
.search_button{
  display:block;
  margin:0 auto;
  width:7em;
}

.texto_campos {
  color:#888888;
  display:inline;
/*   text-align:right; */
}

.texto_campos_busqueda {
/*   color:#eeeeee; */
  color:#888888;
/*   text-align:right; */
}

#panel_busqueda_container{
  width:730px;
  margin:0px auto 10px auto;
/*   border: 1px solid black; */
  padding:15px;
}
.table_search {
  width:100%;
}

#search_container {
  width:100%;
  margin:10px auto 10px;
}

#panel_search_container {
  width:100%;
  margin:0px auto;
/*   border: 1px dashed #cccccc; */
}

#found_data_container {
/*   float:right; */
  width:100%;
  overflow:auto;
  height:435px;
  margin:1em 0;
}
.boton_busqueda {
  display:block;
  width:32px;
  height:32px;
  margin:0 auto;
  cursor:pointer;
}

.search_panel_control {
  text-align:center;
  margin:0px auto 0px;
}

.search_panel_control td{
  background:#ddd;
  width:14em;
  height:1.5em;
/*   width:12em; */
/*   height:1.7em; */
}

.search_panel_control td:hover{
  cursor:pointer;
  background:#eee;
}
.search_panel_control fake_link {
  text-align:justify;
}

.search_panel_control a {
  text-align:center;
  text-decoration:none;
  letter-spacing:3px;
/*   font-weight:bold !important; */
/*   font-family:'sans'; */
/*   font-weight:normal; */
  font-size:80%;
}

#found_data a{		/* returned authors & paintings in search form */
  color:#888888;
  text-decoration:none;
}

#found_data a:visited {
  color:#E46D6D !important;
  font-style:italic;
}

#search_form_container_azul{
/*   float:left; */
/*   width:460px; */
  background:#240261; 
/* #004080; */
}
#search_form_container {
/*   float:left; */
/*   width:460px; */
  background:#f5f5f5;
  border:1px solid #999999; 
  padding:5px;
}
#search_form input{
/*   color:#00ff00; */
/*   position:relative; */
/*   left:10em; */
}

.autor_panel_busqueda { 	/* results style */
  font-style:italic !important;
  font-weight:bold !important;
  color:#6F6F6F !important; /* #333333 */
}

.titulo_panel_busqueda {	/* results style */
  font-style:normal;
}

ul#results {
  padding:0;
}
li.results_lvl1 {
 list-style-type:none;
 padding:0 0 1em 0;
}

ul.results_lvl2 {
 list-style-type:none;
 padding-left:2em;
 margin-bottom:1em;
}

/*  ---------------------galleria style--------------------- */

.handle:hover {
 cursor:pointer;
}
/*  ---------------------galleria style--------------------- */

/* 	*{margin:0;padding:0} */
#galeria_body{
  padding:20px;
  background:white;
  text-align:center;
  background:black;
  color:#bba;
  font:80%/140% georgia,serif;
}
#galeria_h1, #galeria_h2{
  font:bold 80% 'helvetica neue',sans-serif;
  letter-spacing:3px;
  text-transform:uppercase;
}
#galeria_a{
  color:#348;
  text-decoration:none;
  outline:none;
}
#galeria_a:hover{
  color:#67a;
}
.caption{
  font-style:italic;
  color:#887;
}
.demo{
  position:relative;
  margin-top:2em;
}
.gallery_demo{
  width:702px !important;
  margin:0 auto;
}
.gallery_demo li{
  width:68px;
  height:50px;
  border:3px double #111;
  margin: 0 2px;
  background:#000;
}
.gallery_demo li div{
  left:240px
}
.gallery_demo li div .caption{
  font:italic 0.7em/1.4 georgia,serif;
}
	
/* 	#main_image{margin:0 auto 60px auto;height:438px;width:700px;background:black;} */
#main_image{
  margin:0 auto 104px auto;
  height:438px;
  width:700px;
  background:black;
}
/* #main_image1{margin:0 auto 104px auto;height:438px;width:700px;background:white;} */
/* 	#main_image img{margin-bottom:10px;} */
#main_image img{
  margin-bottom:10px;
  max-height:500px;
}

.nav{
  padding-top:15px;
  clear:both;
  font:80% 'helvetica neue',sans-serif;
  letter-spacing:3px;
  text-transform:uppercase;
}

#galeria_body a{
  color:#BBBBAA !important;
  text-decoration:none;
}	

.info{
  text-align:left;
  width:700px;
  margin:30px auto;
  border-top:1px dotted #221;
  padding-top:30px;
}
.info p{
  margin-top:1.6em;
}
