/*
   AUTOR: JOSE LUIS TEMPRANO CASAL
*/

/*----RESET-----*/
*{
	outline: none;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {  
	margin:0; 
	padding:0; 
} 
table { 
	border-collapse:collapse; 
	border-spacing:0; 
} 
fieldset,img {  
	border:0; 
} 
address,caption,cite,code,dfn,em,strong,th,var { 
	font-style:normal; 
	font-weight:normal; 
} 
ol,ul { 
	list-style:none; 
} 
caption,th { 
	text-align:left; 
} 
h1,h2,h3,h4,h5,h6 { 
	font-size:100%; 
	font-weight:normal; 
} 
q:before,q:after { 
	content:''; 
} 
abbr,acronym {
	border:0; 
}
/*---------- END RESET ----------*/


/*-------------------------------------------+
|                                            |
|            MAIN STRUCTURE STYLES           |
|                                            |
+-------------------------------------------*/

html{
	font-size:100%;
	min-height:101%;
}
body{
	font-size:62.5%;
	font-family: Arial, Helvetica, Sans-Serif;
	color:#666;
	padding:0 1em;
}
#wrapper{
	width:79em;
	height:750px;
	margin:0px auto;
	border: 1px solid #b4b7de;
}

/*NAVIGATION
-------------------------------------------------------- */

#navTop{
	background: url(img/header2.jpg) no-repeat 0% 0%;
	height: 40px;	
	margin-bottom: 0em;
	padding: 1.5em 0 0 0.5em;
	width:79em;
}

#navlist li{
	display: inline;
	list-style-type: none;
	padding: 0 0 0 0.25em;
}

#navlist li a{
	color: #fff;
	font-size: 1.25em;
	padding: 0.5em;
	text-decoration: none;
}

#navlist li a:hover{
	background-color:#e6edf8;
	color: #666;
	text-decoration: none;
}

#navlist a#current{
	background-color: #e6edf8;
	border-top: 1px solid #799ddb;
	color: #666;
}

.header a{
	color: #ffc;
}

.header a:hover{
	color: #ffc;
	text-decoration: underline;
}

#navRight li{
	background: url(img/arrow_right.png) no-repeat left center;
	list-style: none;
	margin: 0;
}

#navRight li a{
	padding-left: 1.8em;
}

*+html #navRight li a{
	padding-left: 0.5em;
}

* html #navRight li a{
	padding-left: 0.5em;
}

/*FOOTER NAVIGATION
-------------------------------------------------------- */
#footer{
	text-align: center;
	padding-top: 0.5em;
}

#footer li{
	display: inline;
	list-style-type: none;
	padding-right: 20px;
}
#footer li a{
	color: #fff;
}
#footer li a:hover{
	color: #ffc;
}
/*GRIDS
-------------------------------------------------------- */
/* Set styles common among all grids - all grid divs must be assigned this class */
.generic{
	float:left;
	padding-top:1em;
}
/* Sets styles for any 'start' grids - this class MUST be given to a grid that is the first in a horizontal series */
.clear:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clear {
	display: inline-block;
}

* html .clear {
height: 1%;
}
/* Sets styles for any 'end' grids - this class MUST be given to a grid that is the last in a horizontal series */
.end{
	margin-left:0 !important;
	margin-right:0 !important;
}
/* 280px */
.twoeighty{
	width:47em;
	height:0;
	margin-top:0em;
	margin-bottom:0em;
	padding-top:0em;
	margin-right:0em;
	color:#000;
}
/* 940px */
.nineforty{
	width:79em;
	padding-top:0px;
	margin-bottom:0px;
	/*border: 1px solid red;*/
}
/*-------------------------------------------+
|                                            |
|                FONT STYLES                 |
|                                            |
+-------------------------------------------*/
/*PARAGRAPHS
-------------------------------------------------------- */
.generic p{
	font-size:1.2em;
	line-height:1.5em;
	margin-bottom:1.5em;
}
/* Styles an introductory paragraph, similar to newspapers. Assign this class to the first paragraph in an article */
p.intro:first-line{
	font-variant:small-caps;
}
/* Styles a drop cap on each paragraph with this class */
p.drop:first-letter{
	float:left;
	font-size:3em;
	margin-top:-0.05em;
	margin-right:0.1em;
	margin-bottom:-0.5em;
}
/*HEADINGS
-------------------------------------------------------- */
h1{
	color:#1c509b;
	font-size:3em;
	margin-bottom:0.6em;
	font-style:italic;
	line-height:1.2em;
}
h2{
	color:#1c509b;
	font-size:2em;
	margin-bottom:0.9em;
	line-height:0.9em;
}
h3{
	color:#1c509b;
	font-size:1.5em;
	margin-bottom:1.2em;
	line-height:1.2em;
	font-variant:small-caps;
}
h4{
	color:#000;
	font-size:1.2em;
	margin-bottom:1.5em;
	line-height:1.5em;
	font-variant:small-caps;
}
h5{
	color:#000;
	font-size:1em;
	margin-bottom:1.8em;
	line-height:1.8em;
	font-variant:small-caps;
}
h6{
	color:#000;
	font-size:1em;
	margin-bottom:1.8em;
	line-height:1.8em;
}

/*------------------COLUMNA DE FOLLETOS-------------*/
#rightColumn{
	float:left;
	padding:10px 40px 25px 25px;
	width:190px; height:480px;
	margin:-150px 10px 10px 20px;
	border:1px solid #fff;
	color:yellow; background:
	url(img/fondo.jpg) repeat 0% 0%;
	overflow:auto;
}

#rightColumn h1
{
	               color:#fff;
	               font-size:1em;
	               margin-bottom:0px;
}

#rightColumn h2
{
	               color:#ffff66;
	               font-size:3em;
	               text-align:center;
	               margin-bottom:2px;
}

#rightColumn img
{
	             width:79px;
}

#rightColumn hr
{
				color: #ccc;
}

#datos2 hr
{
						color: blue;
						width:60px;
}
/*-----------------standares w3c---------------------------*/
#std{
	float:left;
	width:30em;	
    padding-left:10px;
    margin:-30px 0px 0px 0px;
    background-color:#efefef;
		
}
/*________________ BANDERAS DE IDIOMA ____________________*/
#banderas {
	float:right;
	padding-right:5px;
	width:100px;
	text-align:right;
	margin:-50px 0px 0px 0px;
}

#banderas li{
	display: inline;
	list-style-type: none;
	padding: 0 0 0 0.25em;
}

#logo {
	width:200px;
	margin-top:0px;
	margin-left:0px;
	padding-top:0px;
      }

/*LINKS
-------------------------------------------------------- */
p a{
	color:#0066ff;
	text-decoration: none;
}
p a:hover{
	color: #c00;
	text-decoration:underline;
}
h1 a{
	color:#000;
}
h1 a:hover{
	text-decoration:none;
}
li a{
	color:#0066ff;
	text-decoration: none;
}
li a:hover{
	color: #c00;
	text-decoration:underline;
}
/*ALL THE TRIMMINGS
-------------------------------------------------------- */
blockquote p{
	font-size:1.2em!important;
	line-height:1.5em!important;
	margin-bottom:1.5em!important;
	font-style:italic;
	font-weight:bold;
}
blockquote p cite{
	font-style:normal;
}
.generic strong{
	color: #c00;
	font-variant:small-caps;
}
.generic em{
	font-style:italic;
	font-weight:inherit;
}
.amp{ /* Give those ampersands a right sexy look */
	font-family:Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", serif;
	font-style:italic;
	font-weight:normal;
	line-height:inherit;
}
abbr{
	border-bottom:1px dotted #666;
	border-color:inherit;
	cursor:help;
}
.clear{
	clear:both;
}
.right-float{ /* Float any item to the right */
	float:right;
	margin-left:2em;
	margin-right:0;
}
.left-float{ /* Float any item to the left */
	float:left;
	margin-right:2em;
	margin-left:0;
}
.code{ /* Styling for and code type items */
	font-family:Courier, "Courier New", monospace;
	background:#ddd;
	font-size:1em;
}
/*-------------------------------------------+
|                                            |
|                LIST STYLES                 |
|                                            |
+-------------------------------------------*/
ul{
	margin-bottom:1.8em;
	list-style:square inside;
}
ul li{
	font-size:1.2em;
	line-height:1.5em;
}
ul li.caption{ /* Apply this class to the first list item in a list to give it a caption */
	font-variant:small-caps;
	list-style:none;
	color:#000;
}
li > ul, li > ol{
	margin-bottom:0;
	margin-left:5em;
}
li > ul li, li > ol li{
	font-size:1em;
}
ol{
	margin-bottom:1.8em;
	list-style:decimal inside;
}
ol li{
	font-size:1.2em;
	line-height:1.5em;
}
/*-------------------------------------------+
|                                            |
|               MISC. STYLES                 |
|                                            |
+-------------------------------------------*/


.header {
	background: url(img/rias3.jpg) no-repeat 0% 0%;
	color: #fff;
	height: 200px;
	margin-top:1px;
	margin-bottom:0px;
	padding-bottom:0px;
}

.header h1 {
	line-height:1em;
	color:#fff;
	font-weight:bold;
	text-transform:uppercase;
	font-style: normal;
	letter-spacing: 2px;
	margin: 0 20px;
}

.header h2 {
	line-height:1em;
	color:#fff;
	font-weight:normal;
	font-style: normal;
	letter-spacing: 1px;
	margin: 0 20px;
}

.header p {
	margin-right: 10px;
}

.boxblue{
	float:left;
	height: 330px;
	margin-top: 2px;
	margin-left: 2px;
	overflow:hidden;
	border: 1px solid #7176c0;
}

.boxblue p {
	margin: 10px;
}

.boxblue h2 {
	color: red;
	margin: 0 5px;
	padding-top: 1em;
}

.footer {
	/*background: #1c249b url(img/footer.png) no-repeat top left;*/
	background: #1c249b;
	color: #fff;
	height: 40px;
	margin-top:0px;
	margin-bottom:0px;
}

.razon1 {
		text-align:center;
		margin:0 auto;
		padding:0px;
		font-size:90%;
}

#razon {
		text-align:left;
		margin:0 auto;
		padding:3px;
		font-family:arial, helvetica, Sans-Serif;
		/*font-size:40%;*/
		font-size:1em;
		color:#000;
		background-color:#efefef;
		width:400px;
}

.rs {
		text-align:left;
		margin:0 auto;
		padding:3px;
		font-family:arial, helvetica, Sans-Serif;
		/*font-size:40%;*/
		font-size:1em;
		color:#000;
		background-color:#efefef;
		border-style:solid;
		border-width:1px;
		border-color:#fff;
		display:none;
}

.provincia{
		color:#fff;
		background-color:#000;
		margin-bottom:2px;
		margin-top:10px;
		font-size:1.5em;
		width:500px;	
}
.pobla{
		color:blue;	
}
#nome{ 	text-align:left;
		font-size:1em;
	   	color:#fff;
	   	background-color:#000;
	   	padding-top:3px;
	   	padding-left:3px;
	   	width:400px;
	   	}

.ns{ 	text-align:left;
		font-size:1em;
	   	color:#000;
	   	background-color:silver;
	   	border-style:solid;
	   	border-width:1px;
	   	border-color:#82c54e;
	   	padding-top:3px;
	   	padding-left:3px;
	   	margin-bottom:3px;}

#raz{float:left;
	 width:75em;
	 margin-top:0px;
	 }

#serch{
	  float:left;
	  text-align:center; 
	  width:100%;
	  height:0%;
	  margin-top:0px;
	  margin-bottom:0px;
	  padding-top:0px;
	  padding-bottom:0px;
      background-color:#efefef;
}
#result{text-align:center;
	height: 190px;
	width: 43em;
	overflow: auto;
	background-color: yellow;
	padding: 0px;
}

#cuerpo{
	margin: 4px 0px 0px 0px;
	padding: 0px;
	padding-bottom: 5px;
	}
#datos{
	float:left;
	width:100%;
	height:100%;
	background-color:#efefef;
	overflow:auto;
}
#imgSrc{
	width:420px;
	height:250px;
	border-style:none;
	border-width:1px;
	margin: 2px 2px 2px 2px;
	padding: 2px;
}
#indicefotos{
	margin: 2px 2px 2px 2px;
	width: 98%;
	height:50px;
	border: 1px solid #b4b7de;
	background: #efefef;
	padding: 7px 1px 1px 1px;
	text-align:center;
}
.peq{
	font-size:xx-small;
	color:blue;
}

.sep{
	width:100px;
	color:red;	
}

/*
#fkeyx{
		position:absolute;
		top:400px;	
		left:400px;
		z-index:5;
}
*/
.imf{
		float:left;
		padding:2px;
		margin-right:2px;
		border:1px solid #666;
}

#gallery img{
		width:42px;
		height:40px;
		border-style:solid;
		border-width:1px;	
}

#gallery li{
	cursor:pointer;
	margin-bottom: 0px;
	display: inline;
	list-style-type: none;
	padding: 0 0 0 0.25em;
}

#datos0{
	text-align:center;	
}

#datos1{
	width:60%;	
	height:200px;
	overflow:auto;
	border-style:solid;
	border-width:1px;
}

#datos2{
	width:98%;
	height:220px;
	background-color:#efefff;
	margin-left:3px;
	margin-right:3px;
	border-style:none;
	border-width:1px;
	border-color:#7176c0;
	overflow:auto;
	text-align:center;
	padding:1px;
}

#xxx{
	float:left;
	height:220px;
	width:52%;
}

#socios{
	position:relative;
	overflow:hidden;
	background-color:#efefef;
	border-style:solid;
	border-width:1px;
	border-color:#7176c0;
	margin-left:4px;
	width:100%;
	height:220px;
	font-size:75%;
}

#brujula{
	background: url(img/fondocontacto.jpg) no-repeat 140px 125px;	
	text-align:center;
	width:100%;
	height:100%;
}

#ancofe, #ferrokey, #tryun{
 float: right;
 border: black 1px solid;
 width:102px;
 height:48px;
 margin:2px;
}

p.ac{
text-align:center;	
}

li.p
{
	background-color:silver;
}
li.i
{
	list-style:none;
	margin:0px;	
}

input { background-color: #87a9f6; border-color:#8c54ec; border-style: solid; border-width: 1px; height:20px; padding:0px;}

#btn{
	background-color:#8c54ec;
	color:#ffffff;
	height:22px;
	margin-left:2px;
	cursor:pointer;
	}


#peq2{
padding:4px;
font-size:1.2em;
color:#336699;
background-color:#efefef;
margin-bottom:2px;
}

#localizador{
text-align:center;	
padding-top:6px;
}

#listprov li{
	display: inline;
	list-style-type: none;
	padding: 0 0 0 0.25em;
}

#listprov li a{
	color: #fff;
	font-size: 1.25em;
	padding: 0.5em;
	text-decoration: none;
}

#listprov li a:hover{
	background-color: #e6edf8;
	border-top: 5px solid #fc0;
	color: #666;
	text-decoration: none;
}