/* Estilos de la página Web de XTrusion 
 * (C) 2008 by Hansy
 
 * Primero redefinimos algunos estilos del propio HTML de la página
 * El fuente el tamaño y el fondo entre otros 
 */

* {margin: 0; padding: 0;}

body {
   width: 800px;
   margin: 0 auto;
   font-family: verdana, arial, sans-serif;
   font-size: 85%;
   background: #222 url("../images/mainbg.jpg") repeat;
   background-attachment: fixed;
}

a, a:hover{ 
   text-decoration: none;
   font-weight:bold;
   color:#FF9900 ;
}

p { 
   font-size: .9em; 
   color: #ffffff; 
   margin-left: 15px; 
   margin-top: 10px; 
   margin-bottom: 10px;
   margin-right: 15px;
   line-height: 1.5em; 
   text-align: justify;
}

h2 {
   font-size: 1.4em; 
   color: #ffffff; 
   margin-left: 15px; 
   margin-top: 10px; 
   margin-bottom: 15px;
   margin-right: 200px;
   line-height: 1.5em; 
   background: url("../images/bh2.gif");
}

h3{
   font-size: 1.1em;
   color: #FFFFFF; 
   margin-left: 10px; 
   margin-top: 20px; 
   margin-bottom: 10px;
   line-height: 1.5em; 
   background: url("../images/bh3.png") no-repeat;
}

img { border: 0px;}



/* Estos son especiales para la apariencia de la página, hay que pensarselo ya que por ejemplo 
   limitar la altura es un error de diseño que puede ser problemático*/
.divcuerpo {
	background: #000 url("../images/fondo.gif") repeat;
	border-width:2px;
	border-color:#FF9900 ;
	border-style:solid;
	color:#FFFFFF;
	height:730px; /* Esto puede ser un problema */
}
/* Contenedores especiales para incluir información en dos columnas en las páginas */
#b_i650{
   vertical-align:top;
   float:left;
   width: 650px;
}

#b_d140{
   vertical-align:top;
   float:right;
	width: 140px; 
}

#b_contacto{
	position: relative;
  float:right;
  top: 40px;
  left: 15px;
	width: 140px; 
}

#formulario{
   margin-left: 150px;
   margin-right: 150px;

}

#formulario input, textarea {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#000000;
}

/* Y este para corregir una tontería de los anteriores */
.clear {clear: both;}

.imgright { float: right; margin-left: 15px;}
.imgleft { float: left; margin-right: 15px;}

/*** Los thumbs nails de las fotos e imagenes***/
#fotos a img{
	border:solid 2px #bbb;
	margin:0.2em;
}
#fotos a:hover img{
	border-color:#FF9900;
}	

#fotos table {
	margin: 5px;
	padding: 5px;
	width: 100%;
}

#fotos td {
   width:20%;
   text-align:center;
}

/* Ahora los relativos al sistema de menús 
 * Estan copiados y adaptados de una herramienta Web, pero los hemos simplificado
 */
#MainMenu {
	width:800px;
	height:27px;
	margin:0;
	border:0;
}

#tab {
	margin:0;
	top:0;
}

#tab ul {
	margin:0;
	padding:0;
	list-style:none;
	float:left;
}

#tab li {
   display:inline;
	float:left;
	margin:0;
	padding:0;
}

#tab a {
	background:#000000 url("../images/bright_008.gif") no-repeat right top;
	margin:0;
	padding:0;
	border:0;
	display:block;
	float:left;
}

#tab a span {
	display:block;
	background:url("../images/bleft_008.gif") no-repeat left top;
	padding:0 20px 0 20px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:1.0em;
	color:#FFFFFF;
	line-height:27px;
}

#tab a:hover,#tab li.item_active a {
	background-position:right bottom;
	border-color:#000000;
}

#tab a:hover span,#tab li.item_active a span {
	background-position:left bottom;
	color:#000000;
	font-style:normal;
}
