/*
Theme Name: castgom
Theme URI: .
Description: Tema para el sitio de castgom.
Version: 1
Author: Ramiro Ruiz
Author URI: .


*/


/* comienza reset */
/*  basado en el trabajo de eric meyer  http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/  */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, caption, tbody, tfoot, thead {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: #FFF;
	text-align: center;
	}
 

ol, ul {
	list-style: none;
}
#contenido_principal table, #contenido_principal th, #contenido_principal td {
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #666;
	padding: 2px;
	font-size: .8em;
	text-align: center; 
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/*--- termina reset ---*/

/*--- comienza principal ---*/

html {
	background: #333;
	min-height: 800px;
}

body {
	position: relative;
	min-width: 960px;
	max-width: 1380px;
	margin: 0 auto;
	width:100%;
	background: #FFF;

}


#header #logo {
	position:absolute;
	margin: 1.6em 0 2em 3em;
	text-align:left;
}

ol#main_nav {
	list-style-type: none;
	float: right;
	font: 1.1em Helvetica, Geneva, Verdana, Arial, sans-serif;
	height:46px;
	background: #333;	
}

#navlinks {
	float: right;
	margin: 4em 0 2em 0;
	padding: 0 2.8em 2em 2em;
	background: url('imgs/degradado_nav.jpg') no-repeat right top;
}

ol#main_nav li {
	float:left;
}

#main_nav b {
	background: url('imgs/separadores.gif') no-repeat center left;
	padding:0 1em;
	font-weight: lighter;
}

#main_nav .primero b {
	background: none;
}

ol#main_nav li a{
	display: block;
	padding:13px 0 12px 0;	
	height:21px;
}


ol#main_nav a  {
	color: #FFF;
	text-decoration: none;
	letter-spacing: 0.1em;
	background: url('imgs/borde_nav.gif') repeat-x 0 -40px;
}

ol#main_nav a:hover, ol#main_nav a:active, ol#main_nav a:focus {
	height: 38px;
	background: #333 url('imgs/borde_nav.gif') repeat-x 0 100%;
}

ol#main_nav a.actual{
	height: 38px;
	background: #333 url('imgs/borde_nav.gif') repeat-x 0 100%;
	cursor:default;	
}

#contenido h1 {
	clear: both;
	font: italic 2.3em Georgia,"Times New Roman", Times, serif;
	padding: 0.8em 0 1em 0;	
	margin: 0.5em 0 0 0;
	background:url('imgs/borde_cont.gif') repeat-x top left;
}

#contenido h1 b{
	display:block;
	font-size: 1.2em;
	font-weight: normal;
}

#contenido {
	padding: 1em 3.5em 0 3.5em;
	text-align: left;
	color: #333;
	float:left;
}

#contenido a {
	color: #004C81;
}


#contenido a:hover, #contenido a:active, #contenido a:focus {
	text-decoration: none;
} 

#contenido h2 a:hover, #contenido h2 a:active, #contenido h2 a:focus, #contenido h3 a:hover, #contenido h3 a:active, #contenido h3 a:focus {
	border-bottom:none;
} 

#contenido h2 {
	font: italic 2.5em Georgia,"Times New Roman", Times, serif;
	padding: 4px 1em 6px 2em;
	margin: 0 0 0 -1.4em;
	background: url('imgs/degradado_titulo.jpg') no-repeat left top;
	height:80px;
}

#contenido h2 a{
	color:white;
	padding: 4px 0.4em 6px 0.3em;
	margin: 0 0 0 -0.8em;
	background: #666;
	text-decoration:none;
}


#contenido_principal {
	float: left;
	margin-bottom:4em;
	width:99%
}

#contenido #texto_principal p.wp-caption-text{
	font-size:0.8em;
	margin:0;
	color:#666;
	line-height:normal;
}

#contenido #texto_principal h2, #contenido #texto_principal h3 {
	font: italic 2em Georgia,"Times New Roman", Times, serif;
	padding: 0;
	height:auto;
	margin: 0 0 0.3em 0;
	color:#333;
	background:transparent;
	clear:both;
	line-height: 0.9;
}


#contenido #texto_principal .no_comments {
	font-size:1.5em;
	background:#E0E0E0;
	border:none;
	margin-bottom:1em;
	padding: 0.2em 0 0.2em 0.5em;
	width: 99%;
}

#contenido #texto_principal ol li.comment a{
	border:none;
	text-decoration:none;
}

#contenido #texto_principal p.label_comments{
	margin:0.5em 0 0.5em 0;
	padding:0;
	line-height:1;
}

#contenido #texto_principal p.input_comments{
	margin:0;
	padding:0;
}

#contenido #texto_principal p.input_comments input{
	width:40%;
}

#contenido #texto_principal p.input_comments input{
	font-size: 1em;
	color:#777;
}

#contenido #texto_principal ol.commentlist{
	padding:0;
	float:left;
	margin-bottom:3.5em;
	width:100%;
}

#contenido #texto_principal ol.commentlist li{
	list-style:none;
	margin:1em 0 0 0;
	clear:both;
	float:left;
	padding:2em 0 0 0;
	width:100%;
	border-top:1px solid #CCC;

}

#contenido #texto_principal ol li.comment-author-castgom{
	background: #F2F2F2;
	padding-bottom: 1em;
}

#contenido #texto_principal ol cite.fn{
	font: italic 1.3em Georgia,"Times New Roman", Times, serif;
}

#contenido #texto_principal ol .comment-meta{
	font-size: 0.7em;
	margin-bottom:1em;
}

#single #contenido #texto_principal div.navigation{
	clear:both;
}

#single #contenido #texto_principal #respond h3{
	margin-top: 2em;
	margin-bottom:0.5em;
}

#contenido #texto_principal ol.commentlist li.alt{
	border-top:1px solid #004C81;

}


.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em Helvetica, Geneva, Verdana, Arial, sans-serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li .avatar { 
	float: left;
	border: 1px solid #eee;
	margin: 1em 1em 1em 0;
	background: #fff;

}

#contenido_principal .comment p {
	text-transform: none;
	padding:0;
	margin:0 0 0 4em;
	}

#archive #contenido #texto_principal h3 {
	font: italic 2em Georgia,"Times New Roman", Times, serif;
	clear:both;
}


#contenido #texto_principal h2.single{
	font-size:3em;
	line-height:0.9;
	margin-bottom:0.2em;
}

#search #contenido #texto_principal h2 {
	margin-bottom: 1.5em;
}

#search #contenido #texto_principal h3 {
	font: italic 1.5em Georgia,"Times New Roman", Times, serif;
	clear:both;
}

#contenido #texto_principal h2 a{
	font-size:1.5em;
}

#contenido #texto_principal h2 a, #contenido #texto_principal h3 a{
	color:#333;
	padding: 0;
	margin:0;
	background: transparent;
	text-decoration:none;
}

#single h3{
	font: italic 1.5em Georgia,"Times New Roman", Times, serif;
	color:#333;
}

#single #commentform p{
	font-size: 0.8em;
	color:#333;
}

#single #commentform{
	margin-bottom:4em;
}

#contenido #texto_principal h2 a:hover, #contenido #texto_principal h2 a:active, #contenido #texto_principal h2 a:focus, #contenido #texto_principal h3 a:hover, #contenido #texto_principal h3 a:active, #contenido #texto_principal h3 a:focus {
	color:#004C81;
	text-decoration:underline;
	
}

#archive #contenido #texto_principal h2{
	margin-bottom: 1em;
	font-size:2.5em;
}

#contenido #texto_principal div.post, #contenido #texto_principal div.entry{
	position:relative;
}

.entry{
	padding-right: 8em;
}

#contenido #texto_principal small.fecha{
	font: 0.7em Helvetica, Geneva, Verdana, Arial, sans-serif;
	color:#777;

}

#contenido #texto_principal div.postmetadata{
	font-size:0.8em;
	color:#777;
	margin-bottom:2.5em;
	margin-top:4em;
	display:block;
	border-bottom:1px double #777;
	padding:0.2em 0 0.2em 1em;
	border-top:1px double #777;
	position:relative;
	clear:both;
}

#contenido #texto_principal div span.comentarios{
	position:absolute;
	right:1em;
}

#contenido #texto_principal .wp-caption a {
	border:none;
}

.alignright{
	float:right;
	padding:1em 0 1em 1em;
}

.alignleft{
	float:left;
	padding:1em 1em 1em 0;
}

.aligncenter {
	display: block;
	margin: 0 auto;
}

#texto_principal p.p_info	{
	font: italic 1.1em/1.2  Arial, Helvetica, Geneva, Verdana,  sans-serif;
	margin-bottom:1.1em;
	color:#222;
	border-top:3px solid #E0E0E0;
	background:#F5F5F5;
	padding:0.7em 1em 0.7em 1em;
}

#acerca #texto_principal p.p_info	{
	font: italic 1.1em/1.2  Arial, Helvetica, Geneva, Verdana, sans-serif;
	margin-bottom:1.1em;
	color:#222;
	border-top:3px solid #E0E0E0;
	background:#F5F5F5;
	padding:0.7em 1em 0.7em 1em;
}


#texto_principal p em {
	font: italic 1.5em Georgia,"Times New Roman", Times, serif;
	padding:0.3em 0.8em;
	border: 1px dashed;
	display:block;
	background:#ECECEC;
}

#texto_principal .post p em {
	font: italic 1em  Arial, Helvetica, Geneva, Verdana sans-serif;
	padding:0;
	border: 0;
	display:inline;
	background:transparent;
}

#contenido_principal p a.seguir_leyendo{
	display:block;
	text-align:right;
	margin:0 1em 3em 65%;
	width:11em;
	border-bottom:0;
}

#texto_principal p strong, #contenido_principal td strong {
	font-weight: bold !important;
	font-variant: small-caps;
}

#contenido_principal td strong{
	font-variant: normal;
}

#contenido_principal p, #contenido_principal ul, #contenido_principal td {
	margin: 1em 0 1em 0;
	font: 1em/1.6 Helvetica, Geneva, Verdana, Arial, sans-serif;
}

#contenido_principal ul{
	margin-top:1em;
	margin-bottom:1em;
}

#contenido_principal li{
	margin: 1em 0 1em 1.3em;
	list-style-type:circle;
	font-size:0.9em;
	
}

#contenido_principal h4{
	font: italic 1.7em Georgia,"Times New Roman", Times, serif;
	border-bottom:3px solid #E0E0E0;
	padding-bottom:0.2em;
}

#searchform{
	position:absolute;
	top:150px;
	right:40px;
	z-index: 1;
}

#searchform #label{
	font: 0.8em Helvetica, Geneva, Verdana, Arial, sans-serif;
	position:absolute;
	right:12.5em;	
	margin-top:0.3em;
	display: none;
}



#searchsubmit{
	display:none;
}

#sidebar {
	float: right;
	width:15.2em;
	margin: 0 0 6em -16em;
}

#sidebar h3 {
	font: italic 1.7em Georgia,"Times New Roman", Times, serif;
	padding: 0.25em 1em 0.2em 2em;
	margin: 0.1em -2.07em 0.1em 0;
	background: url('imgs/degradado_sub.jpg') no-repeat right 0.07em;
	height:75px;
}

#sidebar h3 a {
	color:white;
	padding: 5px 3em 8px 0.6em;
	margin: 0 0.5em 0 -2em;
	background: #666;
	text-decoration:none;
}

#sidebar #noticias a{
	padding-right: 5.1em;
}

#sidebar ul {
	margin: -4em 0 2em 0;
	background:#ECECEC;
	padding:1.2em 0 1em 0.7em;
	border-bottom:3px solid #CCC;
	border-right:3px solid #BBB;
}

#sidebar h4 {
	font: 1.3em Helvetica, Geneva, Verdana, Arial, sans-serif; 
	margin: 0.8em 0 0.5em 0;
}

#sidebar p {
	font: 0.7em Helvetica, Geneva, Verdana, Arial, sans-serif;
}

#f_links{
	clear:both;
	float:left;
	width:100%;
	border-bottom:3px solid #CCC;
	border-top:3px solid #CCC;
	margin-top:2em;
	position:relative;
}

#f_links h3{
	font: italic 1.4em Georgia,"Times New Roman", Times, serif;
	margin-top: 0.5em;
}

#archivos #contenido_principal ul li{
	list-style:none;
}

#archivos #f_links{
	width:53em;
}

.f_columna{
	float:left;
	margin:0 2em 0 1em;
}

#f_links .f_columna li{
	list-style:none;
	padding:0;
	margin:0;
	font-size:0.8em;
}

#f_links ul{
	margin-bottom:1.3em;
	margin-top: 0.3em;
}

#f_links .login ul{
	position:absolute;
	right:0;
	bottom:0;
	margin:0;
}

#footer {
	clear:both;
	margin-top:10em;
	font: 1em Helvetica, Geneva, Verdana, Arial, sans-serif;
	background:#333 url('imgs/footer.gif') no-repeat center top;
	height:4.3em;
	}



#footer_nav {
	padding: 0.8em 0 0 0;
	margin-bottom: 0.2em;
	background:#333;
}

#sub_nav{
	float:left;
	padding-right:3em;
	text-align: left;
}

#sub_nav ul{
	margin-left: 3em;
}

#sub_nav li {
	display: inline;
}

#sub_nav li a {
	border-right: 1px solid #FFF;
	padding:0 1.3em 0 1em;
}

#sub_nav li.primero_sub a{
	padding-right: 1.6em;
}

#sub_nav li.sec1 a {
	padding-right:1.18em;
}


#sub_nav li.sec2 a, #sub_nav li.ultimo a {
	border: none;
}

#footer a {
	font:0.9em Helvetica, Geneva, Verdana, Arial, sans-serif;
	color: white;
	text-decoration:none;
}

#footer a:hover, #footer a:active, #footer a:focus{
	font:0.9em Helvetica, Geneva, Verdana, Arial, sans-serif;
	color: white;
	text-decoration:underline;
	border-bottom:none;
}

#footer p {
	text-align:right;
	padding:1.2em 5em 1.7em 0;
	color:white;
	font: 0.7em Helvetica, Geneva, Verdana, Arial, sans-serif;
	
}

#footer p em {
	display:block;
	font: italic 1.3em Georgia,"Times New Roman", Times, serif;
	margin-bottom:0.4em;
}

#derechos{
	padding:0 0 0 6em;
}


#form_contacto{
	font: italic 1.2em Georgia,"Times New Roman", Times, serif;
}

#form_contacto dd input,#form_contacto dd textarea{
	color:#777;
}

#form_contacto dd input{
	width:40%;
	margin-bottom:0.6em;
	border:1px solid #333;
	font: 0.6em Helvetica, Geneva, Verdana, Arial, sans-serif;
	padding:0.4em 0.4em 0.4em 0.2em;
}

#form_contacto dd input:focus,#form_contacto dd textarea:focus{
	border:1px inset;
}

#form_contacto #correo{
	float:left;
	margin-right:2em;
	width:40%;
}

#form_contacto #email{
	width: 100%;
}

#form_contacto #sitio span{
	color:#004C81;
	font-size:0.8em;
}

#comments{
	width:100%;
	height:10em;
	margin-bottom:0.6em;
	border:1px solid #333;
	padding:0.4em;
	font: 0.7em Helvetica, Geneva, Verdana, Arial, sans-serif;
}

#submit{
	padding:0.5em 0.3em 0.3em 0.3em;
	background:#E0E0E0;
	width:15.9em;
	font:  0.6em Helvetica, Geneva, Verdana, Arial, sans-serif;
	color:#004C81;
	letter-spacing:0.2em;
	cursor: pointer;
}

#single #submit{
	font-size:1em;
}

.navigation {
	font:  0.9em Helvetica, Geneva, Verdana, Arial, sans-serif;

}

#single textarea{
	width:100%;
}

#submit:focus{
	border:1px dashed #004C81;
}

#wpstats {
	display:none;
}
