.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

.error_field {
  padding: 2px;
  background-color: red;
  display: inline;
  font-color: #fff;
}


#errorExplanation {
  width: 300px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

/* Photo gallery styling */
#photos ul { list-style: none; }
#photos li { display: inline; }
#photos li a img {
  margin: 10px;
  padding: 45px;
  background: #000fff;
}
#photo {
  margin-bottom: 20px;
  padding: 5px;
  background: #000;
}


#editor {
width: 800px;
  margin-bottom: 20px;
  padding: 5px;
  background: #298717;
}

table.admin {
font-size : 95%;
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #DCDCDC;

background: #F7F7F7;
text-align: center;
}

thead {
    background: #9FCAD8; /* Example will funtion w/o this rule, but it looks nice */
    border-top: 1px solid #DCDCDC;
    border-bottom: 1px solid #DCDCDC;

font-weight: bold;
}
td { border-bottom: 1px dotted #9FCAD8;}

.checked_row
{
margin: 5px 0;
	padding: 5px;
	background-color: #FFFFAD;
	color : #000;
	font-weight: bold;
}

.unchecked_row
{
margin: 5px 0;
	padding: 5px;
	background-color: #00300;
	color : #000;
	font-weight: bold;
}

/* links 
a {
	color: #104c83; 
	background-color: inherit;
	text-decoration: none;
        font-size: 12px;
padding: 5px 0 5px 0px;
}
a:hover {
	color: #355777; 
	background-color: inherit;
	text-decoration: underline;
}

*/

#user_bar {
   font-size:       75%;
text-align: right;
	padding: 0 10px 0 0;
 }

.pagination {
   font-size:       75%;
text-align: left;
	padding: 0 40px 0 0;
 }


.contact_form {

   font-size:       85%;
	background-color: #inherit;
        border: 1px solid #4160ab; 
}

.aviso_error {
	background: #FFFFA5;
color: #FF2B00;
    
}
.aviso_ok {
	background: #FFFFA5;
color: #23b506;
font-weight: bold;    
}
.aviso_enviando {
	background: #FFFFA5;
color: #000;
font-weight: bold;    
}

#galeria {

width: 100%;
padding: 0px;
background-color:#B4CED9;
text-decoration:none;
float:left;
border: 1px solid #1696C9;
}

div.thumb {
margin: 3px;
border: 1px solid #A0ACC0;
height: auto;
float: left;
text-align: center;
}
.thumb img{
display: inline;
margin: 5px;
border: 1px solid #A0ACC0;
}
.thumb a:hover img {border: 1px solid black;}
.photocattitle {text-align: center; font-weight: bold;}
.phototitle {
text-align: center;
font-weight: normal;
width: 120px;
margin: 0 3px 3px 3px;
} 

/*   FORMS
Estilo para elementos label.
Muestra los elementos label en bloque
y con la letra negrita.
*/

form { /* set width in form, not fieldset (still takes up more room
w/fieldset width */
    font:100% verdana,arial,sans-serif;
    margin: 10px;
    padding: 10px;
    background:;
}

label {
    display: block;  /* block float the labels to left column, set a width */
    float: left;
    width: 180px;
    padding: 0;
    margin: 5px 10px 0; /* set top margin same as form input - textarea
etc. elements */
    text-align: right;
}

/*
Estilo para elementos legend.
Crea un titulo con el texto de legend.


/*
Estilo para elementos fieldset.
Elimina
*/
legend {
 font-size:120%;
 font-weight:bold;
}


fieldset { / * clear: both; note that this clear causes inputs to
break to left in ie5.x mac, commented out */


    width: 100px;
    border: 1px solid #000000;
    padding: 10px;        /* padding in fieldset support spotty in IE */
    margin: 0px;
}


