/*  
Theme Name: Ezequiel04
Description: Based on PRiNZ BranfordMagazine, a premium magazine-style layout for Wordpress with multiple functionalities by Michael Oeser inspired by the great themes of Brian Gardner and Darren Hoyt
Version: 1.0 (released 2008-08-27)
Version: 1.1 (released 2008-10-29)
Version: 1.3 (released 2009-01-09)
Author: Mazy Systems
Author URI: http://www.mazysystems.com

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

Credits
=======

Thanks to Darren Hoyt and his "Mimbo" theme which has been a great inspiration
and a good source for lots of the code I used for this theme especially the intensive
use of custom fields.

Thanks to Brian Gardner and "Revolution" which inspired me to put the two additional
page layouts "Featured Page" and "3-Column-Page" into the theme.

Thanks to Patrick Griffiths who delivered the script for the dropdown menues. 
http://www.htmldog.com/articles/suckerfish/dropdowns/

I'd also like to thank Klaus Hartl (stilbuero.de) for the brilliant script I used 
for the tabbed section with the fade effect.

And last but not least my very special thanks go out to all of you out there
using the theme and sending me tons of emails telling me how great this theme is.

THANK YOU ALL!!!

/******************************************
*   Encuestas                        
******************************************/
#encuestas {
	background: #fff;
}

/******************************************
*   HTML Elements                         
******************************************/

* {
	margin:0;
	padding:0;
	}

body,html {
	min-height:101%;
	}
	
body {
	background: #B1BD7F url(images/backgrounds/fondo_pagina.jpg) repeat;
	color: #333;
	padding: 0 0 25px 0;
	}

body, select, input, textarea {
	font: 12px  Arial, Calibri, Verdana, Sans-Serif;
	line-height:1.5em;
	}
	
p {	
	margin: 15px 0;
	padding-bottom:0.5em;
}

a:link, a:visited {
	color: #333;
	text-decoration:none
	}

a:hover, a:active, div.entry a:link, div.entry a:visited {
	color:#662350;
	text-decoration:underline;
	}

hr {
	display: block;
	height:1px;
	background:#333;
	border:0;
	}

small {
	font-size: 0.9em;
	padding:3px 6px;
	}

/****** Images ****************************/

img, a:link img, a:visited img{padding:1px;border:0;}
img.left,img.center,img.right,img.norm{ margin:5px 12px 5px 0;  padding:1px;}
img.left{ float:left; margin:0 12px 5px 0; }
img.center{ display:block; margin:0 auto 5px auto; }
img.right{ float:right; margin:0 0 5px 12px; }
img align left{ float:left; margin:0 12px 5px 0; }
	
		
/******************************************
*   General Structure                         
******************************************/

#page { /*the main container font-size:1em;*/
	width:880px;
	margin:0 auto;
	padding: 10px 25px 35px 25px;
	}


#branding {/*where the logo sits*/
	width:880px;
	height:177px;
	padding-bottom:10px;
	background:url(images/backgrounds/bg_branding.jpg) no-repeat;
	}


.left {
	float:left;
	}

.right {
	float:right;
	}

#sidebar {/*sidebar containers*/
	width: 204px;
	float:right;
	}

#searchBar {/*search bar containers*/
	width: 184px;
	float:right;
	}

#leftcol {/*the left homepage column carrying the "Featured Article" section*/
	width:150px;
	border-right:0 none;
	padding-right:18px;
}

#leftcol, #rightcol, #principal, #central {
	margin-top:5px;
	float:left
	}	
	
#principal, #rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
	width:450px!important;
    padding: 15px!important;
	text-align:justify;
}
	
#rightcol {/*actually the column in the middle of the homepage (if the right column is the sidebar)*/
	background: #EBDDE7 url(images/backgrounds/fondo_central_info.jpg) repeat-y !important; 
}
	
#principal {
	background: transparent url(images/backgrounds/fondo_central_s.png) repeat-y !important; 
}


#rotativo {/*Para las noticias caminantes*/
	width:450px!important;
    padding: 10px!important;
	border-top: 1px solid #ccc!important;
	border-left: 1px solid #ccc!important;
	border-right: 2px solid #999!important;
	border-bottom: 2px solid #999!important;
	background: url(../images/backgrounds/bg_leadarticle.jpg) repeat-x #f4f4f4!important; /* declare background color for container to avoid distorted fonts in IE while fading */
	text-align:justify;
}

#rightcol {
	font-size:1.1em;
}
	
#central {/*contenedor central*/
	width:485px!important;
	}
		

/******************************************
*   Sidebar                         
******************************************/
.caja {/* */
	width:150px;
	height:690px;
	padding: 40px 0px 10px 5px;
	background:url(images/backgrounds/fondocajainter.png) no-repeat;
	}


.subnav li {/*.subnav is mainly the categories list*/
	list-style:none;
	}

.subnav li a:link, .subnav li a:visited {
	display:block;
	padding:2px 4px 2px 20px;
	border-bottom: 1px solid #999;
	}
		
.subnav li a:hover, .subnav li a:active {
	background: #F4F4EC;
	text-decoration:none;
	}
	
#sidelist li {
	list-style:none;
	}
	
.bullets li {
	margin:0 0 5px 15px;
	list-style:square;
	}
	
#sidelist .bullets li {
	list-style:square;
	margin-bottom:5px;
	
	margin-left:22px;
	}

#sidelist .children {
	background:transparent;
	}

#sidelist .children li {
	background: transparent;
	list-style: none;
	margin-left:15px;
	padding-left:15px;
	border-bottom:1px solid #fff;
	}
	
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:transparent;
	color: #666;
	}

#sidelist .children li a:hover, #sidelist .children li a:active	{				
	color:#000;
	}

#sidelist .feed li{
	margin-bottom:5px;
	padding-left:20px;
	background:url(images/rss.gif) no-repeat;
	}

#leftside {
	background: #F4F5EC url(images/backgrounds/fondolateral.png) repeat-x;
	color: #333;
	padding: 10px 0 10px 0;
	}

.blocktwitter{/* */
	width:150px;
	}

.encab_twitter{/* */
	width:150px;
	height:50px;
	background:url(images/backgrounds/fondo_enc_twitter.jpg) no-repeat;
	}

.med_twitter{/* */
	width:150px;
	padding: 5px 0 5px 5px;
	background:url(images/backgrounds/fondo_med_twitter.jpg)  repeat-y;
	}

.pie_twitter{/* */
	width:150px;
	height:50px;
	background:url(images/backgrounds/fondo_pie_twitter.jpg) no-repeat;
	}

	
/******************************************
*   Headlines                         
******************************************/

.blogtitle, .blogtitle a {
	color: #000;
	font-size: 1.8em;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	padding: 20px 0px 10px 0px;
	}

h1 {
	color: #662350;
	font-size: 1.8em;
	font-family: Arial, Calibri, Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	margin: 0px 10px 15px 0px;
	padding: 20px 0px 0px 10px;
	}
	
h2 {
	color: #662350;
	font: 1.6em Arial,Calibri, Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding-bottom:8px;
	text-align:center;
	margin: 20px 0;
	}


.portaltitle {global.css 
}

h3 {
	font: 0.9em Arial, Calibri, Verdana,  Helvetica, sans-serif;
	font-weight: bold;
	text-transform:uppercase;
	letter-spacing:0.3em;
	margin-bottom:4px;
	margin-top:4px;
	color:#333333;
	}


#sidebar h2, #sidebar h3 a {
	font: 0.9em Arial, Calibri, Verdana, Helvetica, sans-serif;
	letter-spacing:0.3em;
	text-transform:uppercase;
	margin-bottom:4px;
	font-weight:bold;
	color:#FFFFFF;
	}

#sidebar h3, #sidebar h2, #leftcol h3 {
	font-size:0.9em;
	padding:5px 0 5px 10px;
	margin:10px 0 5px 0;
	color:#333333;
	font-weight: bold;
	
	}

h3#respond {
	font-size:1.1em;
	border-top:1px solid #666;
	margin-top:15px;
	padding:5px
	}

h3#comments {
	margin-top:32px
	}

h3 a:link, h3 a:visited {
	color: #666;;
	}

h4 {
	font-size:1.2em;
	font-weight: bold;
	margin-bottom:16px;
	}
	
h5 {
	font-size:1.1em;
	font-weight: bold;
	margin-bottom:6px;
	}

h6 {
	font-size:1.2em;
	font-weight: bold;
	margin-bottom:6px;
	text-align:center;
}

	
/******************************************
*   Content                        
******************************************/

#content {
	width:480px;
	float:left
	}
/********width: 605px;  anterior*******/

.description {
	font-size: 1.3em;
	font-weight: bold; 
	color:#999;
	}

/* Featured Articles formatting "leftcol" */

.feature {
	background: url(images/backgrounds/bg_featured.jpg) repeat-x #F4F4EC;
	padding:15px;
	border: 1px solid #ccc;
	}

.feature p, #rightcol p { margin:0;	padding-bottom:0.5em;}


#leftcol .feature {	margin-bottom: 15px; }

/* Formating of the Leadstory stuff in the tabbed section */
			
.fotoizquierda, #leadpic {
	float:left;
	margin: 0 18px 8px 0;
	padding:1px;
	border: 1px solid #999;
	}

.title, a.title  {
	color: #662350;
	font: 1.1em Arial, Verdana,  Helvetica, sans-serif;
	font-weight: bold;
	padding-bottom:8px;
	margin: 20px 0;	
	}


#principal .title, #principal a.title  {
	color: #662350;
	font: 1.8em Arial, Calibri, Verdana,  Helvetica, sans-serif;
	font-weight: bold;
	padding-bottom:8px;
	margin: 20px 0;	
}

#lead p {
	margin-bottom:10px;
	}


/* Formating of "rightcol" which is the column in the homepage middle ;-) */

#rightcol img {
	float:left;
	margin:3px 10px 4px 0;
	}

#leftcol img {
	margin-bottom: 5px;
	
	}
	
#rightcol .clearfloat {
	border-bottom:1px solid #D0CACE;
	padding:12px 0;
	}	
	


/* Post Formatting */

.entry {
	padding-bottom:28px;
	font-size:1.1em;
	
	text-align:justify;
	}

.post blockquote {
	color:#666;
	background:#F4F4EC;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	}	

.post ul li {
	list-style:square;
	margin-bottom:5px;
	
	margin-left:42px;
	}

.post ol li {
	margin-bottom:5px;
	
	margin-left:48px;
	}
	
#tags {
	padding:3px;
	border-bottom:1px solid #DDD;
	border-top:1px solid #DDD;	
	}	
	
.postmetadata {
	font-size:0.9em;
	margin:0 0 10px 0;
	padding:5px 10px;
	background:#F4F4EC;
	border-top:1px solid #E6E3D3;	
	border-bottom:1px solid #E6E3D3;	
	}
				

/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
	}
	

#searchform { 	
	padding:5px 0 0 0;
}
#s {/* search input field */
	background:none;
	width: 130px;
}
#searchsubmit {/* search submit button */
	width: 42px;

}
.menubar {background:url(images/backgrounds/fondobarra.jpg) no-repeat;margin-top:5px;}


.botons {
	padding: 1px;
	background:url(images/backgrounds/boton_buscar.jpg) no-repeat;
	color:#fff;
	border:none;
	line-height:0.7;
	font-size:0.8em;
	}

.botons:hover {
	background: #BBBBBB;
	color:#FFF;
	text-decoration:none
	}

.button {
	padding: 1px;
	background:#A6A6A6;
	color:#fff;
	border:none;
	line-height:0.7;
	font-size:0.8em;
	}

.button:hover {
	background: #A1A1A1;
	color:#FFF;
	text-decoration:none
	}

#commentform input {
	width: 170px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	margin-top:5px;
	}



/* Comments*/

.commentlist {
	padding-left:30px;
	}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#F4F4EC;
	border:1px solid #E6E3D3;
	}

.commentlist blockquote {
	color:#666;
	background:#fff;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	}	

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}
	
.commentmetadata {
	display: block;
	}

.commentlist small {
	background:#fff;
	border:1px solid #E6E3D3;
	}

/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block;
	}	

.clearfloat {
	display:block;
	}
	
	
/******************************************
*   Footer                        
******************************************/

#footer {
	margin: 0 auto;
	width: 880px;
	height: 298px;
	background: transparent url(images/backgrounds/bg_footer.jpg) no-repeat;
	font-size:0.9em;
	text-align:center;
	padding-top:1px;
	color:#555555;
	}

#footer a {
	color:#555555;
	}

#pies {
	text-align:left;	
	width: 880px;
	height: 210px;
	}

#marca{
	font-size:0.9em;
float:left;
	text-align:left;	
	width: 375px;
	height: 50px;
	padding: 10px 20px;
	color: #8E9F63;
	}
#marca a {
	color: #8E9F63;
	}

#menufooter{
	font-size:0.8em;
float:left;
	width: 300px;
	height: 50px;
	padding: 10px 20px 10px 80px;
	list-style:none;
	line-height:1;
	}

#menufooter li {
	float: left;
	width:81px;
	list-style: none;
	position: relative;
	border-right:1px solid #555555;
	}

#menufooter a  {
	padding:10px 10px 10px 10px;
text-align: center;
	}

#menufooter a:hover, #menufooter a:active {
	text-decoration: underline;	
	color: #555555;
	}	




.pie {
	color:#333333;
	text-align:left;
	padding: 20px 10px 10px 35px;
	float:left;
	}

.titulo, a.titulo  {
	color: #662350;
	font: 1.0em Arial, Verdana,  Helvetica, sans-serif;
font-style:italic;
	font-weight: bold;
	padding-bottom:2px;
	margin: 3px 0;
text-transform:none;	
	}
/* Captions & aligment */
.aligncenter,
div.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;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions & aligment */

.block
	{
	clear:both;
	color:#000;
	padding:0;
	margin-top:10px;
border-width:0;
	}
.block2
	{
	clear:both;
	color:#000;
	padding:0;
	margin-top:1px;
border-width:0;
	}

table#wp-calendar {margin:0 0 20px; width:140px;}

#mapasitio .page_item{
		z-index: 100;
		padding: 5px 5px 1px;
        margin:0 0 0 20px;
        line-height: 1.5;	
}

/* Carteles */
#cartel{
	margin-top: 10px;
	height: 230px;
	overflow: hidden;
}
#cartel li {
	list-style:none;
}
li.cartelInvisible {
	display: none;
}
