/*

Theme Name: Metagra
Description: Simple, moderno, ligero
Version: 1.0
Author: Lagen
Author URI: http://www.lagen.com
Tags: grey, orange, white, fixed width, two columns, widgets, valid XHTML, valid CSS, left sidebar

Esta plantilla tiene licencia de uso GPLv3. 


*/

/* Puesta a cero */

* {
  padding:0;
  margin:0;
  list-style:none;
}

/*-----------------------------------------------------------------------------
 Estilos generales 
 -----------------------------------------------------------------------------*/

body {
  font:62.5% Arial, Helvetica, sans-serif; /* Means 1em == 10px, 1.2em == 12px, etc. */
  background:#FFF url(./img/fondotodo.jpg) repeat-x; /* Set background image here */
  color: #000000;
}

h1 {
  font:3.2em 'Trebuchet MS', Arial, Helvetica;
}

h1 a {
  position:absolute;
  width:300px;
  height:30px;
  left:40px;
  top:10px;
  font-weight:bold;
  text-decoration:none;
  color:#ff7e00;
}

p, h2, h3, h4, h5 {
  font-size:1.2em;
}

.p {
  font-size:0.9em;
}

a {
  outline:0;
  text-decoration:none;
}

a:hover {
  text-decoration:underline;
}


/* Imagenes y objetos flash */

img {
  border:0;
}

div#main img.size-full {
  border:0;
  float: right;
  padding-right: 0px;
  padding-left: 0px;
  margin-top: 5px;
  margin-right: 0px;
  margin-bottom: 5px;
  margin-left: 25px;
  border-top-width: 10px;
  border-right-width: 5px;
  border-bottom-width: 3px;
  border-left-width: 5px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: #CCCCCC;
  border-right-color: #DFDFDF;
  border-bottom-color: #EAEAEA;
  border-left-color: #DFDFDF;
}

img.derecha{
	float: right;
	padding-right: 0px;
	padding-left: 0px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 25px;
	border-top-width: 10px;
	border-right-width: 5px;
	border-bottom-width: 3px;
	border-left-width: 5px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #DFDFDF;
	border-bottom-color: #EAEAEA;
	border-left-color: #DFDFDF;
}

div#main img.izquierda{
        float:left;
	padding-right: 0px;
	padding-left: 0px;
	margin-top: 5px;
	margin-right: 15px;
	margin-bottom: 5px;
	border-top-width: 10px;
	border-right-width: 5px;
	border-bottom-width: 3px;
	border-left-width: 5px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #DFDFDF;
	border-bottom-color: #EAEAEA;
	border-left-color: #DFDFDF;
	margin-left: 0px;
}

.obdcha{
	float: right;
	padding-right: 0px;
	padding-left: 0px;
	margin-top: 5px;
	margin-right: 15px;
	margin-bottom: 5px;
	margin-left: 25px;
	border-top-width: 10px;
	border-right-width: 5px;
	border-bottom-width: 3px;
	border-left-width: 5px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #DFDFDF;
	border-bottom-color: #EAEAEA;
	border-left-color: #DFDFDF;
}


/*-----------------------------------------------------------------------------
   Estructura 
  -----------------------------------------------------------------------------*/

div#contenedor{
  width:800px;
  padding-top:0px;
  margin:0px auto 0;
  border-right: 1.5px solid #CCCCCC;
  border-left: 1.5px solid #CCCCCC;
}

/* Cabecera */

div#cabecera {
  width:800px;
  height:210px;
  clear:both;
  padding:0px 0px;
  position:relative;
  z-index:1;
  background:url(./img/cabecera2.jpg) no-repeat;
}

#cabecera p {
  position:relative;
  margin:0;
  line-height:0.7em;
  top:35px;
  left:200px;
  color:#888;
}

div#fondomenu {
  margin: 0px auto;
  width:800px;
  height:50px;
 background: white url(./img/fondomenu.png) left top repeat-x ;
}

div#contenido {
  margin: 0 auto;
  width:800px;
 background: white url(./img/fondometalico.jpg) 8px 0px no-repeat;
}

/* Menu Idiomas */

div#cabecera ul {
  display: block;
  float: right;
  width: 225px;
  margin: 0;
}

div#cabecera ul li {
  float: left;
  display: inline;
  padding-right: 5px;
  font-size: 120%;
  border-right: 1px solid #999999;
  padding-left: 5px;
}

div#cabecera li.sinraya{
	border-right-style: none;
}	

div#cabecera ul li a {
  color: #666666;
  text-decoration: none;
}

div#cabecera ul li a:hover{ 
  text-decoration: underline;
}

/* Menu Horizontal */

div#fondomenu ul {
  float:right;
  margin: 0px 22px 0 0px;
  position:relative;
  z-index:0;
  bottom:-2px;
}

div#fondomenu ul li {
  float:left;
  margin: 0px 5px 0 5px;
}

div#fondomenu ul li a {
  color:#765B42;
  text-decoration:none;
  display:block;
  font-size:1.2em;
  padding:2px 15px;
}

div#fondomenu ul li.current_page_item { 
  color: #765B42;
  text-decoration: none;
  border-bottom: 6px solid #D96A1B;
}
div#fondomenu ul li a:hover{ 
  color: #765B42;
  text-decoration: none;
  border-bottom: 6px solid #D96A1B;
}


/*-----------------------------------------------------------------------------
  Contenido 
  -----------------------------------------------------------------------------*/

div#main {
  margin:0px 0 0px 0px;
  padding:0 20px 20px 20px;
  width:548px;
  background-image: url(img/fondoderecha.jpg);
  background-repeat: no-repeat;
  background-position: 29px 10px;
  float:left;
}

/* Titulares de páginas simples */

h2.header {
  padding:3px 0 12px 10px;
  line-height:1;
  margin:10px 0 15px 0px;
  position:relative;
  color: #EB6F0B;
  font-size: 1.6em;
  border-left: 9px solid #EA6C06;
}

div#main h2.header a {
  color:#ff7e00;
  text-decoration:none;
}

h2.header span {
  position:relative;
  background: transparent;
  padding-right:10px;
  bottom:-5px;
}

/* Zona principal*/

div#main h2 {
  margin:15px 0 5px;
  color:#ff7e00;
}

div#main h3 {
  margin:15px 0 5px;
  color:#ff7e00;
}

div#main h3.subtitulo {
  margin:-5px 0 15px 20px;
  color:#696969;
  font-size: 1.4em;
}

div#main p {
  color:#333;
  padding:0px 10px 0px 10px;
  line-height:1.5;
  margin:10px 0 10px 20px;
  text-align: justify;
}

div#main a {
  color:#507FA3;
}

.article {
  margin-bottom:20px;
}

.article blockquote {
  margin:0 15px;
  padding:1px 15px;
  border-left:5px solid #B8D1E4;
  background:#F0F0F0;
}

.article ul, .article ol {
  font-size:1.2em;
  color:#333;
  margin-left:30px;
}

.article ul li {
  margin:5px 0;
  padding-left:15px;
  background:url(./img/square.png) 0 5px no-repeat;
}

.article ol {
  margin-left:30px;
}

.article ol li {
  list-style:decimal;
  margin:10px 0;
}

.article ol li ol {
  font-size:1em;
  margin-left:15px;
}

#main p.byline {
  color:#999;
}

ul.article_footer {
  text-align:right;
  margin:10px 0 0 10px;
  background:#F1F1F1;
  padding:5px 10px;
  border:1px solid #DADADA;
  border-width:1px 0;
  line-height:1.5;
}

ul.article_footer li {
  font-size:0.9em;
  display:inline;
  background:none;
  border-left:1px solid #DADADA;
  margin-left:5px;
  padding-left:10px;
}

ul.article_footer li.first {
  border-left:0;
}

/*-----------------------------------------------------------------------------
  Columna lateral izquierda
  -----------------------------------------------------------------------------*/

div#columizda {
  margin: -60px 10px 0 10px;
  padding:10px 8px 20px 0px;
  width:174px;
  background: url(./img/fondoizq.jpg) 10px 70px no-repeat;
  float:left;
}

div#columizda ul#sidebar {
  margin:37px 0 20px;
  color:#507fa3;
  padding:0 10px;
}

ul#sidebar {
  border-bottom: 0px solid white;
}
.textwidget {
  border-bottom: 0px solid white;
}
.widget {
  border-bottom: 0px solid white;
}

.widget_text {
  border-bottom: 0px solid white;
}

div#columizda ul#sidebar li {
  margin:5px 0;
  font-size:1.2em;
  line-height:1.5em;
}

/* Menu de subpáginas */

ul#submenu {
  margin:34px 0 0 0;
  width: 180px;
  font-size:1.2em;
  line-height:1.5em;
}

ul#submenu li {
	border-top: 1px solid #EB6F0B;
	margin-left: 11px;	
   } 

ul#submenu li.primer {
	margin-left: 11px;
	border-top-style: none;	
   } 

ul#submenu li.primerb {
	margin-left: 11px;
	border-top-style: none;
        border-bottom: 1px solid #EB6F0B;    
    } 
 
ul#submenu li  a {
	height: 20px;
        margin: 0px 0 0 -11px;
        padding: 6px  5px 6px  40px;
 	color: #000000;
	text-decoration: none;
	display: block;
   }   
 
ul#submenu li.current_page_item a{
        height: 20px;
        margin: 0px 0 0 -11px;
        padding: 6px  5px 6px  33px;
        color: #EC6B03;
        text-decoration: none;
	border-left: 7px solid #EC6D06;		
   }       
    
ul#submenu li a:hover {
        color: #EC6B03;
        text-decoration: none;
	border-left: 7px solid #EC6D06;
        padding-left: 33px;
   }

/* Estilos de elementos de la columna */

div#columizda h2 {
  text-transform:uppercase;
  color:#507fa3;
  margin:20px 0 8px;
  font-size:1em;
  line-height:1;
}

div#columizda a {
  color:#666;
  text-decoration:none;
}

div#columizda a:hover {
  text-decoration:underline;
}

div#columizda ul.children {
  margin-left:5px;
  padding-left:10px;
  border-left:5px solid #EAEAEA;
}

div#columizda ul#sidebar li li {
  font-size:1em;
}

/* Optional bio area header (commented out by default) */
div#author h2 {
  font-size:1.2em;
}

div#columizda p {
  line-height:1.5;
  margin:5px 0;
  color:#666;
}

/* Formulario de búsquedas */

form#searchform {
  position:relative;
  height:28px;
  margin: 0 0 20px 9px;
}

form#searchform input#s {
  position:absolute;
  top:0;
  height:18px;
  width:160px;
  padding:5px;
  background:url(./img/text_bg.png) repeat-x;
  border:1px solid #bcbcbc;
}

input#search_submit {
  position:absolute;
  right:0;
}

/*-----------------------------------------------------------------------------

 Base

-----------------------------------------------------------------------------*/

ul#base {
  height:8px;
  width:800px;
  margin:0 auto;
  background:url(./img/bottom2.gif) no-repeat;
  text-align:center;
  font-size:1.1em;
  line-height:1.4em
  color:#686868;
  padding:15px 0;
}

ul#base li {
  display:inline;
  margin-left:10px;
  color:#686868;
  line-height:1.4em
}

ul#base li span {
  position:absolute;
  text-indent:-9999em;
}

ul#base li a {
  color:#686868;
  text-decoration:none;
}

ul#base li a:hover {
  color:orange;
}

/*-----------------------------------------------------------------------------

  Wordpress Specific Stuff - Elements that weren't in my original stylesheet

-----------------------------------------------------------------------------*/

ol.commentlist {
  margin-top:15px;
  color:#555;
}

/* Background color for visitor comments */
ol.commentlist li {
  background:#F1F1F1;
  padding:10px;
  margin:10px 0;
}

/* Background color for Admin comments */
ol.commentlist li.alt {
  background:#EBF9FC;
}

textarea#comment {
  width:500px;
}

#main p.comment_meta {
  margin:0;
  float:right;
}

/* Optional popup window (NOTE: popups make for bad UI IMHO) */
body#commentspopup {
  background:#FFF;
  padding:20px;
}

body#commentspopup a {
  color:#666;
}

body#commentspopup h1 a {
  position:relative;
  top:0;
  left:0;
}

body#commentspopup h3 {
  color:#555;
}

body#commentspopup p {
  margin:10px 0;
  color:#555;
}

body#commentspopup textarea {
  width:340px;
}

/* Imagen y objetos flash */

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption-dd {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}

img.pdf {
  margin:15px 10px;
  border:0;
  float:left;
}

a.apdf {
float:left; 
margin:10px 0;
}

.tpdf {
padding:5px;
valign:center;
margin-left:15px;
font-size:1.2em;
}

p.clear {
  clear:both;
}

p.entry_info {
  clear:both;
}

div.navigation {
  margin:10px 0;
}

/*-----------------------------------------------------------------------------

  CSS Magic

-----------------------------------------------------------------------------*/

.clearfix:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}
.clearfix {display:inline-block;}
/* Hide from IE Mac \*/
  .clearfix {display:block;}
/* End hide from IE Mac */

/*--------------------------------------------------------------------------
 Mapa Google_maps
-----------------------------------------------------------------------------*/
#google{
	border-top-width: 10px;
	border-right-width: 5px;
	border-bottom-width: 3px;
	border-left-width: 5px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #DFDFDF;
	border-bottom-color: #EAEAEA;
	border-left-color: #DFDFDF;
	height: 315px;
	width: 380px;
	margin: 10px 0 0 30px;
}
#google p{
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
#google a{
	color: #FF6600;
	text-decoration: none;
	margin: 0  0 0px -20px;
	padding: 0px
	font-size: 90%;
}
#google a:hover{
	font-weight: normal;
	color: #FF6600;
	text-decoration: none;
	margin-top: 20px;
}
p.direizq{
	width: 35%;
	float: left;
         line-height:1.0;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #000000;
}
p.direder{
	float: left;
         line-height:1.0;
}

#mapa{
	
         margin: 0 0 0 0;
         padding: 0 0 0 0;

}

.clearmap{
	 clear:both;
      
}

/*--------------------------------------------------------------------------
 Extras
-----------------------------------------------------------------------------*/

.sepa {
	 margin: 0px 0;
         width:100%;
         height:0px;/*solo queremos borde*/
         text-align:left;
         border-top:0px;/*quita el grosor extra de Opera y FFox*/
         border-bottom:#ff7e00 solid 1px;
      
}

/* Fin*/