/*  
Theme Name: La Cronica 2012
Theme URI: http://www.lacronicadesdeelsofa.com
Version: 2.0
Description: La Crónica desde el Sofá 2012.
Author: Esteban Saiz
Author URI: http://www.estebansaiz.com
*/

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    font-family: Helvetica, Arial;
    border-top: 3px solid #456b90;
    padding-top: 10px;
}

a {
	color: #456b90;
	text-decoration: none;
}
a:hover {
	color: #7d98b2;
}

* {
	margin: 0;
	padding: 0;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
    max-width: 100%;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

li {
	list-style: none;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#wrapper {
	width: 960px;
	margin: 0 auto;
}

/* Header */
#masthead hgroup {
	width: 70%;
	overflow: hidden;
	margin-bottom: 10px;
	height: 80px;
}
.logo {
        width: 90px;
        height: 80px;
        margin:0 20px 0 10px;
}
header h1 {
	font-family: 'Changa One', cursive;
	font-size: 2.938em;
	text-transform: uppercase;
	font-weight: normal;
}
header h2 {
	font-family: 'Belgrano', serif;
	font-size: 1em;
	font-weight: normal;
	color: #456b90;
	margin-bottom:10px;
}
#social {
	margin-top: 40px;
}
#social li {	
	float: left;
	display: inline;
	margin-left: 10px;
}
#social li a {
	width: 40px;
	height: 40px;
	display: block;
}
#social li a span {
	display: none;
}
#social li a.facebook {
	background: url('img/social.png') no-repeat 0 0;
}
#social li a.twitter {
	background: url('img/social.png') no-repeat -50px 0;
}
#social li a.rss {
	background: url('img/social.png') no-repeat -100px 0;
}
#social a:hover {
    opacity: 0.8;
}
#subheader{
	border-top: 3px solid #456b90;
	border-bottom: 5px solid #456b90;
	padding-bottom: 2px;
	width: 100%;
	clear: both;
	display: block;
	overflow: hidden;
}
nav {
	margin-top:5px;
}
#menu-header {
	overflow: hidden;
        margin: 0;
}
#menu-header li {
	float: left;
	margin-right: 20px;
	overflow: hidden;
}
#menu-header li a {
	font-family: 'Changa One', cursive;
	font-size: 0.938em;
	text-transform: uppercase;
	display: block;
}
#menu-header li.current-menu-item a {
	border-bottom: 8px solid #456b90;
}
#menu-header li a:hover {
	color: #7d98b2;
}
#menu-header li.current-menu-item a:hover {
	color: #456b90;	
}
#searchform {
	margin-top: 5px;
        float: right;
        display: inline;
}
#searchform label {
	display: none;
}
#searchform input[type=text] {
	background-color: #d9d9d9;
	border: none;
	height: 25px;
	color: #FFF;
	padding-left: 5px;
	float:left;
	display: inline;
}
#searchform input[type=submit] {
	font-family: 'Patua One', cursive;
	font-size: 0.75em;
	color: #FFF;
	background-color: #456b90;
	border: none;
	padding: 3px 10px 5px;
	float:left;
	display: inline;
	margin-left: 5px;
}
/* Home */
#destacados {
	position: relative;
	overflow: hidden;
	margin-bottom: 20px;
	width: 100%;
}
#destacados h3 {
	font-family: 'Changa One', cursive;
	font-size: 1.5em;
	font-style: italic;
	font-weight: normal;
	letter-spacing: 1px;
	color: #456b90;
	background-color: #d1e1ee;
	padding: 6px 20px;
}
.slides li img {
    height: 350px !important;
}
.slides li article {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 5px 0 25px;
	background: url('img/transparente.png') repeat 0 0;
	color: #FFF;
}
.slides li article h1 {
	margin: 0 15px 0 10px;
}
.slides li article h1 a {
	color: #FFF;
	font-family: 'Patua One', cursive;
	font-weight: normal;
	font-size: 1.2em;
}
.slides li article p {
	margin-left: 10px;
}
.slides li article a.leerMas {
	font-family: 'Patua One', cursive;
	font-weight: normal;
	font-size: 1em;
	color: #FFF;
	position: absolute;
	bottom: 10px;
	right: 10px;
}
.slides li article a:hover {
	color: #d1e1ee;
}
#primary {
	width: 67%;
	float: left;
	display: inline;
}
#primary h3 {
	font-family: 'Changa One', cursive;
	font-size: 1.5em;
	font-style: italic;
	font-weight: normal;
	letter-spacing: 1px;
	color: #FFF;
	background-color: #456b90;
	padding: 1px 0 1px 20px;
	width: 95%;
	margin-bottom: 20px;
}
#primary article {
	width: 48%;
	float: left;
	display: inline;
	margin-right: 2%;
	background-color: #d1e1ee;
	overflow: hidden;
	padding-bottom:20px;
	margin-bottom: 20px;
        min-height: 310px;
}
#primary article h1 {
	padding:0 20px;
	margin:10px 0 10px;
	font-family: 'Patua One', cursive;
	font-weight: normal;
	font-size: 1.125em;
}
#primary article a.leerMas {
	color: #404040;
	font-size: 0.75em;
	margin-left: 20px;
}
#primary article a:hover {
	color: #FFF;
}
#secondary {
	width: 33%;
	float: right;
	display: inline;
}
#twitter {
	background-color: #d1e1ee;
	padding: 0 20px 20px;
	margin-bottom: 20px;
}
#twitter ul { margin: 0; }
#twitter h3 {
	font-family: 'Changa One', cursive;
	font-size: 1.5em;
	font-style: italic;
	font-weight: normal;
	letter-spacing: 1px;
	color: #456b90;
	margin-bottom: 2px;
}
#twitter li {
	background: #FFF url('img/twitter.png') no-repeat 10px 10px;
	padding: 20px 20px 20px 30px;
	font-size: 0.75em;
        min-height: 35px;
}
#twitter li a {
	color: #52687b;
	display: inline;
	margin-top:5px;
}
#twitter li span a {
	color: #000000;
	display: inline;
}
#twitter li a:hover {
	color: #456b90;
}
#twitter .user, #twitter .timePosted, #twitter .interact {display:none;}
#facebook {
	margin-bottom: 20px;
}
#facebook h3 {
	font-family: 'Changa One', cursive;
	font-size: 1.5em;
	font-style: italic;
	font-weight: normal;
	letter-spacing: 1px;
	color: #456b90;
	background-color: #d1e1ee;
	margin-bottom: 2px;
	padding-left: 20px;
}
#promociones h3 {
	font-family: 'Changa One', cursive;
	font-size: 1.5em;
	font-style: italic;
	font-weight: normal;
	letter-spacing: 1px;
	color: #FFF;
	background-color: #456b90;
	margin-bottom: 2px;
	padding: 0 0 2px 20px;
}
#promociones a {
	display: block;
	margin-top: 20px;
}
#promociones a img {
	width: 100%;
}
#tertiary {
	width: 100%;
	overflow: hidden;
	margin: 20px 0 0;
}
#tertiary h3 {
	font-family: 'Changa One', cursive;
	font-size: 1.5em;
	font-style: italic;
	font-weight: normal;
	letter-spacing: 1px;
	color: #FFF;
	background-color: #456b90;
	margin-bottom: 20px;
	padding: 0 0 2px 20px;
}
#tertiary img {
	margin-bottom: 20px;
}
/* Footer */
footer {
	margin-bottom: 20px;
	overflow: hidden;
}
#copyright {
	border-top: 1px solid #456b90;
	border-bottom: 1px solid #456b90;
	background-color: #d1e1ee;
	color: #456b90;
	font-family: 'Changa One', cursive;
	font-size: 0.938em;
	font-weight: normal;
	padding: 2px 10px;
        overflow: hidden;
}
#footer-nav, #footer-social {
	width: 50%;
	font-family: 'Belgrano', serif;
	font-size: 0.938em;
	font-weight: normal;
	color: #d1e1ee;
	margin: 10px 0 0;
}
#last li {
	display: inline;	
}
#footer-nav li { margin-right: 20px; float: left;}
#footer-social li { margin-left: 20px; float: right;}
#last li a, #last li a:visited {
	color: #d1e1ee;
}
#last li a:hover {
	color: #456b90;
}
/* Entrada */
#content { overflow: hidden; margin: 10px 0; padding: 0 10px;}
#content nav { overflow: hidden; font-size: 80%;}
#content header { margin: 10px 0;}
#content li { list-style: square; }
#content p { 
    line-height: 1.4em;
    margin-bottom: 1.5em;
}
#nav-above div { width: 50%; }
.nav-next { text-align: right; }
.post .entry-header, .post .entry-content, .page .entry-header, .page .entry-content {
    padding: 0 100px;
}
.entry-title {
    font-family: 'Patua One', cursive;
    font-weight: normal;
    font-size: 2.188em;
    color: #456b90;
    text-transform: none;
}
.entry-meta {
    color: #456b90;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.75em;
    margin-bottom: 10px;
}
.entry-description p {
    margin: 10px 0 !important;
}
.entry-tag, footer.entry-meta {
    color: #595959;
    font-size: 0.75em;
    text-transform: uppercase;
}
.entry-tag h3, footer.entry-meta h3, .entry-content h3 {
    margin-bottom: 5px;
    color: #595959;
    text-transform: uppercase;
}
.entry-tag a, footer.entry-meta a {
    color: #595959;
    font-weight: normal;
}
.entry-tag a:hover, footer.entry-meta a:hover {
    color: #696969;
}
/* Archivo */
.sidebar {
    width: 200px;
    margin-top: 10px;
    font-size: 0.85em;;
}
.sidebar h2 {
    font-family: 'Belgrano',serif;
    font-size: 1em;
    font-weight: normal;
    padding-bottom: 20px;
    border-bottom: 1px solid #DADADA;
    margin-bottom: 10px;
}
.archive_feed { padding-left: 20px; }
.archive_number {
    margin:5px 0 15px;
    padding-left: 20px;
}
.archive_meta ul { margin: 0 !important; }
.archive_meta li {
    list-style: none !important;
    padding: 0 0 2px 15px;
    border-bottom: 1px solid #DADADA;
    margin-bottom: 5px;
}
.archives {
    margin-top: 10px;
    overflow: hidden;
    width: 700px;
}
.archive-meta {
    border-bottom: 1px solid #DADADA;
    font-size: 90%;
    padding-bottom: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    display: block;
}
.archive-meta .attachment-thumbnail {
    float: left;
    display:inline;
    width: 100px;
    height: 100px;
}
.entry-resume {
    width: 80%;
    margin-left:15px;
}
.entry-resume p {
    margin: 10px 0 !important;
}
.entry-resume .entry-meta { margin-bottom: 0; }
.related_post {
    list-style: none;
}
.related_post li {
    float: left;
    display: inline;
    width: 20%;
}
.related_post li a{
    display: block;
    text-align: center;
    margin-top:10px;
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

.left {float:left; display:inline;}
.right {float:right; display:inline;}



/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
.flex-direction-nav .flex-prev {left: -36px;}
.flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {position: absolute; top: 10px; right: 10px;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 10px; height: 10px; display: block; background: #7d98b2; cursor: pointer; text-indent: -9999px;}
.flex-control-paging li a:hover { background: #456b90; }
.flex-control-paging li a.flex-active { background: #FFF; cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}

ul,ol{margin:0 0 1.5em 1.5em;}
ol{list-style-type:decimal;}
dl{margin:1.5em 0;}
dl dt{font-weight:bold;}
blockquote{margin:1.5em 0 1.5em 1.5em;color:#666;font-style:italic;}
strong{font-weight:bold;}
em{font-style:italic;}
pre{margin-bottom:1.3em;background:#eee;border:0.1em solid #ddd;padding:1.5em;}
code{font:0.9em Monaco,monospace;}
hr{background:#B2CCFF;color:#B2CCFF;clear:both;float:none;width:100%;height:0.1em;margin:0 0 1.4em 0;border:none;}
* html hr{margin:0 0 1.2em 0;}
table{margin-bottom:1.4em !important;border-top:0.1em solid #ddd;border-left:0.1em solid #ddd;}
th,td{height:1em;padding:0.2em 0.4em;border-bottom:0.1em solid #ddd;border-right:0.1em solid #ddd;}
th{font-weight:bold;}

/* legacy image caption classes */

.captionleft { float: left; margin: 0 1.5em 1em 0; padding: 0.5em; text-align: left; }
.captionright { float: right; margin: 0 0 1em 1.5em; padding: 0.5em; text-align: left; }
.captionfull { margin: 0 0 1em 0; padding: 0; text-align: left; }
.captionleft img, .captionright img, .captionfull img { margin: 0; display: block; }
.captionleft p, .captionright p, .captionfull p { background: #eee; margin: 0; line-height: 1.6em; padding: 0.5em; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; font-size: 0.9em; color: #555; }

/* image styles */

.aligncenter, div.aligncenter { display: block; margin: 14px auto; }
.alignleft { float: left; margin: 0 14px 10px 0; }
.alignright { float: right; margin: 0 0 10px 14px; }
.wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; /* optional rounded corners for browsers that support it */ -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 p.wp-caption-text { font-size: 11px; line-height: 14px; padding: 5px 4px 5px 5px; margin: 0; }