/*-----------------------------------------------------------------------------
	Blueprint-WP Theme
	By: Joshua Sowin (fireandknowledge.org)
-----------------------------------------------------------------------------*/
img {vertical-align:middle;border:0;}

.botoncat { 
  width:290px !important; 
  height:20px; 
  padding:5px 0 1px 5px; 
  display:block;
  text-decoration:none; 
  border:1px outset gray; 
  background:#888; 
  font-weight:bold;
  color:#FFF;
}

body 	{
	margin-bottom: 0;
	margin-top: 0;
	background: #C30C03; /*url('../images/fondo.png') repeat-x;*/
	font: 13px verdana, arial, sans-serif;
}

/* Blueprint width setting */
.container 	{ width: 960px; padding-top: 10px; }

#page {
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
	float: left;
	margin-bottom: 20px;
	background-color: white !important;
	overflow:hidden;
}

/* Parche para IE. Implementador por BC&GM */
#page_ie {
	width:958px;
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
	float: left;
	margin-bottom: 20px;
	background-color: white !important;
	overflow:hidden;
	margin-bottom:0;
	padding-bottom:0;
}
/* Parche para IE. Implementado por BC&GM */

blockquote {
	font-style: normal;
	padding: 0 0 0 0;
	color: #2168f4;
	background: url('../images/quote.png') .5em top no-repeat;
}

a 				{ color: #3E4967; }
a:hover			{ color: #2168f4; }
blockquote p 	{ padding: 0 20px 0 30px; }
hr 				{ background: #CCC; height: 1px; }
img				{ margin: 0; }
p img			{ float: none; }
a.button 		{ float: left; } /* Fix for buttons */
input 			{ padding-left: 0; border: 1px solid #CCCCCC;  }
ul 				{ margin-left: 15px; list-style-type: none; }
ul li 			{ padding: 2px 0 2px 9px; background: url('../images/icons/bullet_square_grey.gif') left 5px no-repeat; }
ol				{ margin-left: 35px; }
label			{ font-weight: normal; }
textarea		{ height: 200px; width: 500px;}
.small			{ font-size: .9em; }
.nomargin		{ margin: 0; }
a.button, button { font-weight: normal; }

h3, h3 a {
	font-size: 1.3em;
	line-height: 1.2;
	color: #3B4A25;
 	letter-spacing: 0px;
	text-decoration: none;
}

#maincontent h2 		{ color: #3B4A25; border-bottom: 2px dotted #AAA; margin-bottom: 15px; }
h2 a 					{
	color: #755;
	text-decoration: none;
	font: normal 1.4em calibri, Lucida Sans Serif, sans-serif;
	letter-spacing: -2px;
}
#maincontent .post h2	{ margin-bottom: 5px; }
						/* Padding inside columns */
#maincontent .content 	{ padding: 25px 30px 20px 48px; }

.navigation,
.navigation a			{ color: #AAA; }
.alignright 			{ float: right; }
.alignleft 				{ float: left; }

.post					{ margin-bottom: 25px; }

/*-----------------------------------------------------------------------------
	Header
-----------------------------------------------------------------------------*/

#header {
	height: 80px;
	width:960px;
	background: url(../images/grid.png);
	-moz-border-radius-topleft:12px;
	-moz-border-radius-topright:12px;
	border-radius-topleft:12px;
	border-radius-topright:12px;
}

#topbar {
	position:absolute;
	top:10px;
	left:200px;
	background: url(../images/barsup.png) no-repeat;
	margin:0 auto;
	width:268px;
	height:25px;
	padding:7px 0 0 40px;
	letter-spacing:-1px;
}
#topbar a {
	text-decoration:none;
	font-weight:bold;
	color:black;
}

#topbar a:hover {
	text-decoration:none;
	font-weight:bold;
	color:#2168f4;
}

#topbanner{
	width:346px; height:45px;
	position:absolute;
	top: 40px; right:20px;
}

#logo {
	margin: 1px 0 0 50px;
	color:transparent;
	line-height: 1em;
	width:280px;
	-height:68px;
	-background: url(../images/logo.png) no-repeat;
}

#maincontent, #sidebar { padding: 0 0 20px 0; }


/*-----------------------------------------------------------------------------
	Navigation
-----------------------------------------------------------------------------*/

#nav, #subnav	{
	padding: 0; float: left; width: 100%;
	height:43px; max-height:43px;
	background: url(../images/mainnav.png);
}

#nav ul		{ margin: 0; padding: 0; list-style: none; }

#nav li		{
	margin: 0; padding: 0;
	float: left;
	background-image: none;
	padding: 4px 10px;
	margin-top:8px;
	padding-right:5px;
	white-space:nowrap;
	text-align:center !important;
	text-transform: uppercase;
	font: normal 11px verdana, sans-serif;
	border:1px solid white;
	border-right: 1px solid white;
	border-top: 2px solid #ccc;
}

#nav li a 	{
	float: left;
	text-decoration: none;
}

.sep { height:12px; border-right:2px solid #844; margin-top:6px; }

#nav li.current_page_item,
#nav li:hover 	{
	background: red;
	border-top: 4px solid #FFD000;
	padding-top: 2px;
}
#nav li.current_page_item a,
#nav li a:hover 	{
	-color: #2168f4;
	-text-decoration: underline;
}

#subnav				{ background: #616161; }

#nav li.current_page_item a,
#subnav li.current_page_item a,
#subnav li a:hover 	{ color: #F2FFDF; }

#nav li.first a { margin-left:40px; }

.navgris { background: url(../images/mainnavgris.png) !important; }
.navgris a { color:white; }

	/*-------------------------------------------------------------------------
		Navigation bar in posts (use main nav html inside a post)
	-------------------------------------------------------------------------*/

	.entry #nav .content {
		padding: 0;
		margin: auto;
	}

	.entry #nav {
		margin-bottom: 15px;
		background: #FFF;

	}

	.entry #nav li a 		{ color: #FFF; border-right: 1px solid #AAA; background: #666; }
	.entry #nav li.last a	{ border-right: none; }
	.entry #nav li a:hover 	{ background: #333; color: #FFF;}

/*-----------------------------------------------------------------------------
	Sidebar
-----------------------------------------------------------------------------*/

#page 		{ /*background: url('../images/sidebar_bg.gif') right repeat-y; /* fake bg */ }

#sidebar 	{
	margin-left:4px;
	background-color:#F8F8F8;
	margin-bottom:-10000px;
	padding-bottom:10000px;
	border-left: solid 3px #c30c03;
}
	
/*#sidebar img.img_s_s {
	float:left;
	margin-right:0;
	height:948px;
}*/

#sidebar h2 { font-size: 1.3em; line-height: 1.2; }


#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 25px 20px 0 20px;
}

#sidebar ul li	{ padding: 0; }

#sidebar ul li ul { padding-top: 0; }

#sidebar ul li ul li {
	margin: 0 0 0 -18px;
	padding: 2px 0 2px 9px;
	background: url('../images/icons/bullet_square_grey.gif') left 3px no-repeat;
	font-size: 0.9em;
}

.feedlink {
	padding: 2px 0 2px 20px;
	background: url('../images/icons/feed_small.png') left center no-repeat;
}

#sidebar ul li, #sidebar ul li#subscribe ul li {
	list-style-type: none;
	background: none;
	margin-bottom: 20px;
}

#sidebar ul li#subscribe ul li { margin: 0 0 0 -30px; }

/* Hide search from sidebar */
#sidebar #search { display: none; }

#sidebar  #banners{
	width:100%;
	position:center;
	margin-top:0;
	padding-top:0;
	margin-left:20px;
}	

#sidebar #banners_1{
	margin-top:5px;
}

#sidebar #banners_2{
	margin-top:5px;
}		

#sidebar #banners_3{
	margin-top:5px;
}	
/*-------------------------------------------------------
	SIDEBAR SECCIONES
-------------------------------------------------------*/	

#sidebar #secciones {

	width:100%;
	padding:0;
	background: url('../images/bg_secciones.png');
	background-repeat:repeat-x;
	height:320px;
	position:center;
	text-align:center;
}


#sidebar #secciones p.txt_secciones {
	text-align:center;
	font-weight:bold;
	font-size:14px;
	color:#7c0000;
	padding-top:15px;
	margin-bottom:10px;
	padding-bottom:0;
}

#sidebar #secciones ul {
	margin-top:0;
	padding-top:0;
}

#sidebar #secciones ul li{
	height:25px;
	width:230px;
	padding:5px;
	margin-bottom:5px;
}

#secciones a{
	list-style-type:none;
	text-decoration:none;
	color:white;
	font-weight:bold;
	font-size:14px;
	cursor:pointer;
	
}

#sidebar #secciones ul li.negro{
	background-image:url('../images/bg_negro.png');
	background-repeat:repeat-x;
}

#sidebar #secciones ul li.rojo{
	background-image:url('../images/bg_rojo.png');
	background-repeat:repeat-x;
}
	
#sidebar #secciones ul li.carne{
	background-image:url('../images/bg_carne.png');
	background-repeat:repeat-x;
}	

#sidebar #secciones ul li.naranja {
	background:url('../images/bg_naranja.png');
	background-repeat:repeat-x;
}
	

#sidebar #secciones ul li.azul {
	background:url('../images/bg_azul.png');
	background-repeat:repeat-x;
}

#sidebar #secciones ul li.amarillo {
	background:url('../images/bg_amarillo.png');
	background-repeat:repeat-x;
}

#sidebar #secciones ul li.verde{
	background:url('../images/bg_verde.png');
	background-repeat:repeat-x;
}

#sidebar #secciones ul li.negro_r{
	background-image:url('../images/bg_negro_r.png');
	background-repeat:repeat-x;
}
	
#sidebar #secciones ul li.rojo_r{
	background-image:url('../images/bg_rojo_r.png');
	background-repeat:repeat-x;
}	

#sidebar #secciones ul li.carne_r{
	background-image:url('../images/bg_carne_r.png');
	background-repeat:repeat-x;
}

#sidebar #secciones ul li.naranja_r {
	background:url('../images/bg_naranja_r.png');
	background-repeat:repeat-x;
}
	

#sidebar #secciones ul li.azul_r {
	background:url('../images/bg_azul_r.png');
	background-repeat:repeat-x;
}

#sidebar #secciones ul li.amarillo_r {
	background:url('../images/bg_amarillo_r.png');
	background-repeat:repeat-x;
}

#sidebar #secciones ul li.verde_r {
	background:url('../images/bg_verde_r.png');
	background-repeat:repeat-x;
}
		
/*-------------------------------------------------------
	SIDEBAR ANUARIO
-------------------------------------------------------*/

#sidebar #anuario {
	width:100%;
	text-align:center;
	margin-top:15px;
}

/*-----------------------------------------------------------------------------
	Footer
-----------------------------------------------------------------------------*/


/*Parche por BC&GM */
#footer_ie {
	margin-top:0;
	padding-top:0px;
	text-align: center;
	font-size: .9em;
	margin-bottom: 10px;
	background: white;
}
/*Parche por BC&GM*/

#footer 	{
	text-align: center; font-size: .9em; margin: 0;
	background: white;
	-moz-border-radius-bottomleft:12px;
	-moz-border-radius-bottomright:12px;
	border-radius-bottomleft:12px;
	border-radius-bottomright:12px;
	margin-top:12px;
}

#footer a 		{ text-decoration: none; }

/*-----------------------------------------------------------------------------
	Search
-----------------------------------------------------------------------------*/

#search				{ float: right; }
#search #s 			{
	background: white url('../images/icons/search_grey.gif') 0px center no-repeat;
	padding: 2px 0 2px 17px;
	width: 328px;
	color: #CCCCCC;
	font-size: 0.9em;
	margin: 6px 20px 0 0;
}
#search #s:hover 	{ color: #2168f4; }
.search-excerpt 	{ margin: 0; }


/*-----------------------------------------------------------------------------
	Comments
-----------------------------------------------------------------------------*/

.commentlist li { padding: 8px 15px; }
.comments-alt 	{ background: #EEE;}

#comments .avatar {
	float: right;
	margin: 0;
	padding: 0;
}

/*-----------------------------------------------------------------------------
	Misc Wordpress CSS
-----------------------------------------------------------------------------*/

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
}

img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
}

.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;
}

#nav li > a {
  float: center;
  font: bold 1.3em arial, sans-serif !important;
  letter-spacing:-1px;
  color: white !important;
  padding-left: 20px;
}

#nav li {
  width:174px;
  text-align:center !important;
}

/* Fix para header en IE implementado por BC&GM */
#nav li.c_primera{
	background-color: red !important;
}

#nav li.c_segunda{
	background-color: blue !important;
}

#nav li.c_tercera{
	background-color: #080 !important;
}

#nav li.c_cuarta{
	background-color: #f80 !important;
}

#nav li.c_quinta{
	background-color: #808 !important;
	width:175px !important;
}

/* Fix para header en IE implementado por BC&GM */

#nav li:nth-child(1) {
	background: red !important;
}

#nav li:nth-child(2) {
	background: blue !important;
}

#nav li:nth-child(3) {
	background: #080 !important;
}

#nav li:nth-child(4) {
	background: #f80 !important;
}

#nav li:nth-child(5) {
	background: #808 !important;
	padding-right: 9px;
}

