/* -----------------------------------*/
/* CSS   Javier Diez     	      */


html, body {
  	margin: 0;
	padding: 0;
	text-align: left;
	background-color: #000000;
	color:black;
	font-family:   Verdana, sans-serif;
	font-size: 101%;
	line-height: 1.2em;
	height:100%;
}
a {
	color: #175a60;
	}
a:hover {
	text-decoration: none;
	}
a img {
	border: none;
	}
	
p {
	color: white;
}
	
#ppal {
	position:absolute;
	height:100%;
	width: 100%;
	margin-top: 0;
	margin-left: 0;
	background:#000000 none repeat scroll 0 0;
}

a.enlacecab {
	text-decoration:none;
	color: #FFFFFF;
	margin:0;
	padding:0;
	font-variant:small-caps;
}
	
/* -------------------------------------*/
/* Elementos Cabecera					*/

#cabecera {
	width: 100%;
}

#sup1 {
	width: 100%;
	width: 80%;
	margin-left:auto;
	margin-right:auto;
	padding: 0;
	text-align:right;
}
#sup2 {
	width: 100%;
	height: 75px;
}

#a2i {
	float:left;
	background-color: #175a60;
	width:10%;
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/
	min-height:100%; /* real browsers */
}

#a2c{
	float:left;
	width: 80%;
	margin-left:auto;
	margin-right:auto;
	background-color: #FFFFFF;
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/
	min-height:100%; /* real browsers */
}

#a2d{
	float:right;
	background-color: #175a60;
	width:10%;
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/
	min-height:100%; /* real browsers */
}

#logo{
	float:left;
	margin-left:30px;
	margin-top:12px;
}

/* -------------------------------------*/
/* Elementos Contenido					*/
#contenido{
	width:80%;
	background-color: #601D17;
	margin-left:10%;
	margin-top:0;
	min-height:70%;
	position:relative;
}

#menu {
	width:20%;
	text-align:right;
	position:absolute;
	height: 1em;
}

#menu ul {
	padding-top: 30px;
	margin: 0;
	list-style: none;
}

#menu li{
	padding-right:10px;
	padding-bottom:5px;
	list-style: none;
	position:relative;
}

#menu li a {
	display: block;
	padding: 3px 8px;
	background-color: #601D17;
	color: white;
	text-decoration: none; }
	
#menu li ul {
	display: none;
	width: 10em;
	background-color: #601D17;
	top: 0;
	left: 100%; /* to position them to the right of their containing block */
	width: 100%; /* width is based on the containing block */
	position:relative;
}
	
	
#menu li:hover ul {
	display: block;
	position: absolute;
	margin:0;
	padding: 0; }
#menu li:hover li {
	float: none; }
#menu li:hover li a {
	background-color: #601D17;
	color: white; }
#menu li li a:hover {
	background-color: #601D17;
	color:white;	}

#main{
	padding:20px;
	background-color:white;
	border: 1px solid black;
	text-align:center;
}

#main p{
	text-align: justify;
	color:black;
	font-family: Verdana, sans-serif;
	font-size: 90%;
	line-height: 1.2em;
}
#main h1{
	text-align: left;
	color:black;
	font-family: Verdana, sans-serif;
	font-size: 120%;
	line-height: 1.2em;
}

#main h2{
	text-align: left;
	color:black;
	font-family: Verdana, sans-serif;
	font-size: 110%;
	line-height: 1.2em;
}

#main a:hover{
	text-decoration:underline;
}

#main ul{
	text-align: justify;
	color:black;
	font-family: Verdana, sans-serif;
	font-size: 90%;
	line-height: 1.2em;
}

#contacto{	
	padding-top:0px;
	padding-bottom:0px;
	border:0;
	text-align:left;
	color:black;
	font-family: Verdana, sans-serif;
	font-size: 90%;
	line-height: 1.2em;
}

#tablapers{
	padding-top:30px;
	margin-left:auto;
	margin-right:auto;
	padding-bottom:30px;
}

#rojo {
	padding-top:20px;
	padding-bottom:20px;
	margin-left: 20%;
	width:60%;
	background-color:#601D17;
}

#imagen{
	position:absolute;
	margin-left:80%;
	height:auto !important; 
	height:100%; 
	min-height:100%;
	width:20%;
	text-align:center;
}

#imagen img{
	padding-top: 30px;

}


/* -------------------------------------*/
/* Elementos Pie						*/

#pie {
	width:80%;
	background-color: #175a60;
	margin-left:10%;
	min-height:40px;
	text-align:center;
}

#pie p{
	padding-top:1.2em;
	margin-top:0;
	font-size:0.7em;
}

#pie a, #pie a:visited {
	text-decoration:none;
	color: #FFFFFF;
}
#pie a:hover {
	color:#000000;
}

/* -------------------------------------*/
/* Galeria								*/

div.img
{
  margin: 2px;
  border: 1px solid black;
  height: auto;
  width: auto;
  float: left;
  text-align: center;
}	
div.img img
{
  display: inline;
  margin: 3px;
  border: 1px solid #ffffff;
}
div.img a:hover img {border: 1px solid black;}
div.desc
{
  font-size:80%;
  text-align: center;
  font-weight: normal;
  width: 120px;
  height: 40px;
  margin: 2px;
}

/*******************************/
/* Twitter */
#twitter_update_list li {
list-style-type: none;
text-align:left;
padding-bottom: 10px;
text-align: justify;
	color:black;
	font-family: Verdana, sans-serif;
	font-size: 90%;
	line-height: 1.2em;
}