html, body {
	margin: 0px;
	padding:0px;
	background-image:url(../images/bg.gif);
}

h1, h2, h3, h4, h5, h6, p, form {
	margin: 0px;
	padding:0px;
}
/*Principal de la página*/
#wrapper {
	width:900px;
	margin:0px auto;
	background-color:#FFF;
}
/*Contenido, su descripción*/
#content {
	width:878px;
	margin:0px auto;
	background-image:url(../images/bg_header_top.gif);
	background-repeat:repeat-x;
	background-position:top;
}

/*Arriba del todo, lo primero, cabecera, con logo y enlaces*/
#header {
	height:96px;
}

/*Definicion de los enlaces de la cabecera*/

#links {/*ancho y posición de los enlaces*/
	width:520px;
	float:left;
}
#links ul {
	margin:0px; 
	padding-top:7px;
}
#links li{
	float:right;
	list-style-type:none;
	width:95px;
	height:25px;
	text-align:center;
	background-color:#F4A80A;
	border-left:1px solid #FFF;
	padding-top:4px;
}
#links a{
	font-family:"Tahoma";
	font-size:11px;
	color:#fff;
	font-weight:bold;
	text-decoration:none;
}
#links a:hover{
	font-family:"Tahoma";
	font-size:11px;
	color:#fff;
	font-weight:bold;
	text-decoration:underline;
}
#links p{
	font-family:"Tahoma";
	font-size:11px;
	text-align:right;
	padding-top:30px;
	font-weight:normal;
	text-decoration:none;
	color:#F4A80A;
}
/*Posición del logo y su imagen*/
#logo {
	width:358px;
	float:left;
}

#img_logo{
	position: relative;
	top: 22px;
	left: 50px;
}

/*Principal, su imagen y sus títulos*/
#mainimg {
	background-image:url(../images/main2.jpg);
	background-repeat:no-repeat;
	height:132px;
	text-align:right;
}

#mainimg h3 {
	font-family:"Tahoma";
	font-size:48px;
	color:rgb(155, 190, 0);
	font-weight:normal;
	text-decoration:none;
	padding:0px 0px 0px 0px;
}

#mainimg h4 {
	font-family:"Tahoma";
	font-size:18px;
	color:rgb(155, 190, 0);
	font-weight:normal;
	text-decoration:none;
	padding:0px 25px 0px 0px;
}

/*El contenido principal*/
#contentarea {
	width:878px;
	clear:both;
	padding:0px auto;
}

h5{
	font-family:"Tahoma";
	font-size:26px;
	color:#EE8907;
	font-weight:normal;
	text-decoration:none;
	padding-left:25px;
	padding-bottom:0px;
}

#leftbar {
	float:left;
	width:450px;
	border-right:1px solid #BCBDBC;
	text-align: justify;
}

#leftbar p{
	font-family:"Tahoma";
	font-size:14px;
	color:#797B7A;
	text-decoration:none;
	padding:0px 40px;
}
#leftbar li{
	font-family:"Tahoma";
	font-size:14px;
	color:#666;
	text-decoration:none;
	padding:0px 40px;
	font-weight: bold;
}
#leftbar a{
	font-family:"Tahoma";
	font-size:11px;
	color:#EE8907;
	font-weight:bold;
	text-decoration:none;
	padding:0px 40px;
}
#leftbar a:hover{
	font-family:"Tahoma";
	font-size:11px;
	color:#000;
	font-weight:bold;
	text-decoration:none;
	padding:0px 40px;
}

#rightbar {
	float:left;
	width:420px;
	clear: none;
}
#rightbar p{
	font-family:"Tahoma";
	font-size:11px;
	color:#797B7A;
	font-weight:normal;
	text-decoration:none;
	padding:0px 25px;
}
#rightbar li{
	list-style-type:none;
	font-family: "Lucida Grande", sans-serif;
	color: #666;
    white-space: normal;
    float: none;
    text-align: center;
    font-weight: bold;
	line-height: 1.618em;
	font-size:large;
}
#rightbar li.telefono{
	color:#900;
	font-size:20px;
	border-bottom-width:thin;
	border-bottom-style:inset;
	border-bottom-color:#555;
	}
	
.madrid{
	font-size:14px
	}
.espacio{
	clear:both;
	height:20px;
	padding-top:0px;
}


/*Parte baja que engloba email y validación*/
#bottom {
	clear:both;
	height:40px;
	padding-top:0px;
}

#email {
	float:left;
	width:500px;
	background-color:#9BBE00;
	height:27px;
	padding-bottom: 5px;
}

#email a{
	font-family:"Tahoma";
	font-size:11px;
	color:#fff;
	font-weight:normal;
	text-decoration:underline;
	padding:5px 10px;
}

#email a img{
	position: relative;
	top: 2px;
}


#email a:hover{
	font-family:"Tahoma";
	font-size:11px;
	color:#fff;
	font-weight:normal;
	text-decoration:none;
	padding:5px 10px;
	
}

#validtext {
	float:left;
	width:378px;
	background-color:#9BBE00;
	height:27px;
	padding-top:5px;
}

#validtext p{
	font-family:"Tahoma";
	font-size:11px;
	color:#fff;
	font-weight:normal;
	text-decoration:none;
	text-align:right;
	padding-right:35px;
}

#validtext a{
	font-family:"Tahoma";
	font-size:11px;
	color:#fff;
	font-weight:normal;
	text-decoration:underline;
}

#validtext a:hover{
	font-family:"Tahoma";
	font-size:11px;
	color:#fff;
	font-weight:normal;
	text-decoration:none;
}


