/*
Theme Name: Paloma Sánchez-Gérnica
Author: Kike Perales & @ManuAlpuente
Description: Tema creado en exclusiva para la escritora Paloma Sánchez-Gérnica
Version: 1.0
License: All rights reserved
Text Domain: twentyfourteen 
*/




/** 
 * 1.0 Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal
 * http://necolas.github.com/normalize.css/ and Blueprint
 * http://www.blueprintcss.org/
 *
 * -----------------------------------------------------------------------------
 */

a,abbr,acronym,address,applet,big,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,iframe,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,ul,var{border:0;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline;list-style: none;}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;max-width:100%}html{overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body,button,input,select,textarea{font-weight:400;}

/* Fonts */
body{
	font-family: 'Roboto', sans-serif;
}
.cursive{
	font-family: 'Parisienne', cursive;
}
.site-title{
	font-family: 'Roboto Slab', serif;
}
/* Fonts end */


/* Common */
*{box-sizing:border-box;-moz-box-sizing:border-box}h1,h2,h3,h4,h5,h6{clear:both;font-weight:700;margin:0}b,strong{font-weight:700}cite,dfn,em,i{font-style:italic}img{height:auto;display:block}

.clipMe {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
}

.hide {
  display: none;
}

.padder {
  padding: 10px;
}

.vCenter {
  display: table-cell;
  vertical-align: middle;
}

.wrap,
#content{
	display:block;
	margin:0 auto;
	max-width: 1024px;
}
#masthead #primary-navigation{
	overflow:hidden;
	clear:both;
}
#masthead .rrss{
	margin:10px;
}
#primary-navigation .widget_qtranslate{}
#primary-navigation .widget_qtranslate ul li{
	display:inline-block;
	margin:0 5px;
	font-size:10px;
}
#primary-navigation .widget_qtranslate ul li.active{
	font-weight:700;
}
#primary-navigation .widget_qtranslate ul li a{
	text-decoration:none;
}
.rrss ul{}
.rrss ul li{
	display: inline-block;
}
.rrss ul li a{
    display: block;
    width: 26px;
    height: 26px;
}
.rrss ul li.rrss_fb a{
    background: url(images/rrss_fb.png) no-repeat center transparent;
}
.rrss ul li.rrss_tw a{
    background: url(images/rrss_tw.png) no-repeat center transparent;
}
.rrss ul li.rrss_yt a{
    background: url(images/rrss_yt.png) no-repeat center transparent;
}
.rrss ul li.rrss_mail a{
    background: url(images/rrss_mail.png) no-repeat center transparent;
}
/* Colors */

body {
	background:#EEEEEE;
	color:#494848;
	min-width:344px;
}
body h1,
body h1 a{
	color:#494848;
}
.bg1{
	background:#2F2F2F;
	color:#fefefe;
}
.bg1 a{
	color:#fefefe;
}
.bg1 a:hover{
	color:#cccccc;
}
.bg2,
.nav-menu li .sub-menu,
.nav-menu li.current_page_item a,
.nav-menu li.current-menu-item a{
	background:#555555;
}
.bg3{
	background: #FFFFFF;
	color:#4a3831;
}
.bg3 a{
	color: #4a3831;
}

.share-ops li a{
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    padding: 8px 30px 8px 10px;
    display: block;
}

.share-ops .fb{
    background: #3e5c9a;
}
.share-ops .fb a{
	background: url(images/fb.png) no-repeat right;
}

.share-ops .tw{
	background:#28aae1 ;
}
.share-ops .tw a{
	background: url(images/tw.png) no-repeat right;
}

.share-ops li{
	display:inline-block;
	margin-right: 10px;
	font-weight: 300;
}
.share-ops li:last-child{
	margin-right:0;
}

/* Common end */

/*
 * General
 */
#masthead{
    text-align: center;
}
#masthead .site-title{
	display:block;
	text-transform:uppercase;
	padding: 20px 0;
}
#masthead .site-title a{
	text-decoration:none;
}

#primary-navigation .nav-menu{
    display: none;
}
#primary-navigation .menu-toggle{
	color:#fff;
	text-transform:uppercase;
	padding:10px;
	cursor: pointer;
}
#primary-navigation.toggled-on .nav-menu{
    display: block;
}
#primary-navigation .nav-menu li{
	display:block;
}
#primary-navigation .nav-menu ul li.current_page_item a{
    font-weight: 400;
	
}
#primary-navigation.toggled-on .nav-menu li a{
	padding:30px;
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	text-align: left;
}
#primary-navigation.toggled-on .nav-menu .sub-menu a{
	padding-left:60px;
}
#content{
	text-align:center;
	padding: 30px;
}
#content .entry-title{
	font-size:36px;
	font-weight:400;
	text-transform:uppercase;
	margin: 15px auto 40px;
}
#content .entry-title a{
	text-decoration:none;
}
#main{
	width:100%;
}
#main #primary{
	vertical-align:middle;
}
#colophon{
	display:block;
}
#colophon .site-info{
	padding: 20px 30px;
	font-size: 10px;
	text-transform: uppercase;
}
#colophon .site-info p{
	display:block;
}

#hello{
    width: 100%;
	font-size:20px;
    /* margin-bottom: 150px; */
}
#hello .inner{
	display:table;
	width:100%;
}
#hello .inner .vCenter{
	display: table-cell;
	vertical-align: bottom;
	padding: 0 30px;
}
#hello .inner .hentry{
    float:left;
	
    width: 40%;
	font-weight:200;
    margin-bottom: -150px;
}
#hello .entry-header{
	color: #fff;
	font-size:26px;
	margin: 20px 0 10px;
}
#hello .entry-header h1{
	color: #fff;
}
#hello p{
	color: #fff;
	margin: 0 0 50px;
}
.home #primary{
    margin-top: 100px;
}
.read-more{
	display:inline-block;
	background:#fff;
	font-size: 14px;
	padding: 8px 10px;
	text-decoration: none;
	color: #494848;
	font-weight: 300;
}

.navigation{
	margin:25px;
}
.navigation .screen-reader-text{
	display:none;
}
.navigation .pagination{
	font-size: 11px;
	text-transform:uppercase;
	text-decoration:none;
	
	font-weight: 800;
}
.navigation .pagination a{
    text-decoration: none;
    margin: 0 0px;
}
.navigation .pagination .next{
    margin-left: 20px;
	
}
.navigation .pagination .prev{
    margin-right: 20px;
	
}
/*
 * Noticias
 */

#content.noticias .entry-header{
    padding-top: 50px;
	margin-top:20px;
	border-top:1px solid #e6d6c2;
    position: relative;
}
#content.noticias .entry-header .wp-post-image{
	margin:40px auto;
	max-width: 450px;
}
#content.noticias .entry-header:after{
	content:"";
	position: absolute;
	top: -18px;
	left: 0;
	right: 0;
	height: 23px;
	background: url(images/orn-center.png) no-repeat center top, url(images/orn-left.png) no-repeat left 12px, url(images/orn-right.png) no-repeat right 12px;
}
/*
 * Home
 */
 
.home #content{
	padding: 5px;
}
#latest-books .col{}
#latest-books .col > .inner{
    padding: 25px 25px 55px 25px;
    overflow: hidden;
    clear: both;
} 
#latest-books > .wrap.cols{
    overflow: hidden;
    clear: both;
    margin-bottom: 75px;
}


/* Twitter stream */
#twitter-stream{
	margin-bottom:80px;
}
#twitter-stream h1{
    color: #cea673;
    font-weight: 400;
    font-size: 14px;
}
#content .rotatingtweets, #content .norotatingtweets{
    border: 0;
    margin: 0;
    background: url(images/tweet-icon.png) no-repeat center left;
}
#content p.rtw_main, p.rtw_main, div.rtw_main{
    color: #4d4d4d;
    font-size: 14px;
}
#content .rotatingtweet{
    padding: 0;
    margin: 15px auto 15px;
}
p.rtw_meta, div.rtw_meta, div.rtw_meta_wide, div.rtw_name, div.rtw_id, div.rtw_time_short, div.rtw_rt_meta{
    font-size: 10px;
    display: block;
    margin-bottom: 20px;
}
p.rtw_meta a, div.rtw_meta a, div.rtw_meta_wide a, div.rtw_name a, div.rtw_id a, div.rtw_time_short a, div.rtw_rt_meta a{
    color: #939393;
    text-decoration: none;
}


/* Libros */
.hentry.libro .post-thumbnail{
    position: relative;
    display: block;
    margin: 0 30px 0 0;
    max-width: 50%;
    float: left;
}
.hentry.libro .wp-post-image{
    display: block;
    margin: 0;
    max-width: 100%;
    width: auto;
}
.hentry.libro{
    text-align: left;
}
.hentry.libro .entry-header{
	margin-top:20px;
}
.hentry.libro .entry-header .info-editorial{
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 15px;
}
.hentry.libro .entry-summary{
    font-size: 14px;
	
    margin: 15px 0;
}
.single .hentry.libro .description{
    font-size: 19px;
    margin-bottom: 30px;
}
#content .hentry.libro .entry-title{
    margin: 0 0 30px 0;
    font-size: 18px;
    font-weight: lighter;
    display: inline;
}
#featured-books .hentry.libro,
.hentry.contact,
.hentry.foto-single{
    padding: 30px;
    border: 1px solid #e6d6c2;
	position:relative;
    text-align: center;
}
.hentry.about{
	border-top: 1px solid #e6d6c2;
	padding-top:30px;
	margin-top:30px;
}
#featured-books .hentry.libro .fix{
	overflow:hidden;
	clear:both;
}
#featured-books .hentry.libro .post-thumbnail{
	margin:0 auto;
	float: none;
	max-width: 80%;
}
#featured-books .hentry.libro .wp-post-image{
    margin: 0 auto;
}
.hentry.about{
	position:relative;
}
#featured-books .hentry.libro:before,
.hentry.contact:before,
.hentry.about:after,
.hentry.foto-single:before{
	content:"";
	position: absolute;
	top: -18px;
	left: -3px;
	right: -3px;
	height: 23px;
	background: url(images/orn-center.png) no-repeat center top, url(images/orn-left.png) no-repeat left 12px, url(images/orn-right.png) no-repeat right 12px;
}
#featured-books .hentry.libro:after,
.hentry.contact:after,
.hentry.foto-single:after{
	content:"";
	position: absolute;
	bottom: -18px;
	left: -3px;
	right: -3px;
	height: 23px;
	background: url(images/orn-center-bottom.png) no-repeat center top, url(images/orn-left-bottom.png) no-repeat left 2px, url(images/orn-right-bottom.png) no-repeat right 2px;
}
.single .entry-summary.single-libro{
    display: block;
    margin: 90px auto 90px;
    max-width: 490px;
    text-align: left;
    font-weight: 300;
}
.single .entry-summary.single-libro h2{
	font-size:18px;
	margin: 0 0 30px;
	font-weight:400;
}
.single .entry-summary.single-libro p{
	font-size:14px;
	margin:20px 0;
}
/* Noticias */
.hentry.noticia{
    margin-bottom: 80px;
}
.hentry.noticia > .inner{
    display: block;
    margin: 0 auto;
}
.hentry.noticia .entry-header .date{
    font-size: 10px;
}
.hentry.noticia .entry-header .entry-title{
    line-height: 1;
    max-width: 490px;
}
.hentry.noticia .entry-summary{
    max-width: 490px;
    margin: 0 auto 30px;
    font-size: 14px;
    font-weight: 300;
    text-align: justify;
}
.hentry.noticia .entry-summary img{
	margin:20px auto;
	max-width:100%;
}
.hentry.noticia .footer{
	max-width: 490px;
	margin:0 auto;
	overflow:hidden;
	clear:both;
	text-align: left;
}
.hentry.noticia .footer .read{
    float: left;
}
.hentry.noticia .footer .share{
	text-align:right;
	float:right;
}
/*
 * Contacto
 */
.hentry.contact .cols{
    display: table;
    width: 100%;
}
.hentry.contact .entry-content{
    text-align: left;
    overflow: hidden;
    clear: both;
    max-width: 460px;
}
.hentry.contact .entry-content h1{
    font-size: 18px;
    font-weight: 100;
}
.hentry.contact .entry-content h2{
    font-size: 35px;
    font-weight: 100;
    text-transform: uppercase;
    line-height: 1;
}

.hentry.contact form input[type=text],
#suscripcion form input[type=text],
.hentry.contact form input[type=email],
#suscripcion form input[type=email],
.hentry.contact form textarea{
    margin: 2px 0;
    padding: 2px 10px;
    font-size: 14px;
    font-weight: 100;
    font-family: roboto, sans-serif;
    color: #494848;
    border: 0;
    width: auto;
    display: block;
    max-width: 230px;
}
#suscripcion form{
	display:block;
	margin:0 auto;
	max-width:440px;
}
#suscripcion form h2{
	margin-bottom:30px;
}
#suscripcion form input[type=text],
#suscripcion form input[type=email]{
	margin:2px auto;	
}
.hentry.contact form{
	position:relative;
}
.hentry.contact form textarea{
	max-width:100%;
	height:150px;
	width: 100%;
}
.hentry.contact form input[type=submit],
#suscripcion form input[type=submit]{
    display: block;
    margin: 20px 0 2px;
    border: 0;
    background: #3e3e3e;
    color: #fff;
    padding: 7px 10px;
    font-size: 14px;
    float: right;
}
#suscripcion form input[type=submit]{
	float:none;
	margin: 20px auto 0;
}
.hentry.contact .wpcf7-not-valid-tip,
#suscripcion .wpcf7-not-valid-tip{
    font-size: 14px;
    margin-bottom: 10px;
}
.hentry.contact .wpcf7-response-output,
#suscripcion .wpcf7-response-output{
    margin: 55px 0 0 0;
    padding: 10px;
    font-size: 14px;
    text-align: center;
}
#suscripcion .wpcf7-response-output{
	margin-top:30px;
}
.hentry.contact .cols > .photo img{
	max-width:100%;
}
#suscripcion .inner{
	margin-top:50px;
	padding:30px;
}
#suscripcion .inner h1{
    font-size: 35px;
	
    font-weight: 200;
    text-transform: uppercase;
}
#suscripcion .inner h2{
    font-size: 18px;
    font-weight: 200;
}

/*
 * About
 */
.hentry.about .entry-summary{
	text-align:left;
}
.hentry.about .entry-summary h1{
    font-size: 37px;
    font-weight: 300;
    margin-bottom: 30px;
}
.hentry.about .entry-summary p{
    text-indent: 3em;
    font-weight: 300;
    line-height: 22px;
   
    text-align: justify;
}
.hentry.about > .inner{
    max-width: 490px; margin: 0 auto 30px;
}
.hentry.about .entry-header .inner{
	overflow:hidden;
	clear:both;
}
#content .hentry.about .entry-header .entry-title{
    float: left;
    margin: 0;
    font-size: 10px;
    font-weight: 400;
}
#content .hentry.about .entry-header .date{
	float:right;
}

/*
 * Album
 */
 
#photos{}
#photos .cols{
	overflow:hidden;
	clear:both;
}
#photos .cols .col{
    float: left;
    width: 50%;
    display: block;
}
#photos .cols .col > .inner{
    position: relative;
	
    margin: 12px 10px;
    overflow: hidden;
}
#photos .cols .col .entry-summary{
	display:none;
}
#photos .hentry.foto{
    text-align: center;
}
#photos .hentry.foto a{
    display: block;
    overflow: hidden;
    clear: both;
}
#photos .hentry.foto img{
	max-width: 100%;
	margin: 0 auto;
	display: block;
}
#photos .hentry.foto .entry-summary{
    font-size: 12px;
    min-height: 60px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(245, 235, 222, .85);
    font-weight: 700;
	display:block;
}
#photos .hentry.foto .entry-summary{
	opacity:0;
	transition:opacity .3s linear;
	color: #494848;
}
#photos .hentry.foto:hover .entry-summary{
	opacity:1;
}
.hentry.foto-single img{
	max-width:100%;
	margin: 0 auto 20px;
}
.hentry.foto-single .cols{
	overflow:hidden;
	clear:both;
}
.hentry.foto-single .cols .txt{
	float:left;
	font-size:12px;
}
.hentry.foto-single .cols .share{
	float:right;
}
@media screen and (min-width:480px){
	#photos .cols .col{
    	width: 33.333%;
	}
}
@media screen and (min-width:720px){
	#masthead .site-title{
		font-size:48px;
		padding: 40px 0;
	}
	#masthead{
	}

	.admin-bar #masthead{
		top:32px;
	}
	#colophon{   
	}
	
	/* Libros */
	#latest-books .cols .col{
		float: left;
		width: 33.333%;
	}
	.hentry.libro .post-thumbnail{
    float: none;
    margin: 0;
    max-width: 235px;
	}
	#content .hentry.libro .entry-title{
		display:block;
	}
	.hentry.libro .entry-header .info-editorial{
}
	.hentry.libro .entry-summary{
    margin: 0 0 15px;
	
    min-height: 150px;
}
	.single #featured-books .hentry.libro{
		margin-top:30px;
	}
	#featured-books .hentry.libro{
    text-align: left;
	padding:40px 60px;
	
}
	#featured-books .hentry.libro .post-thumbnail{
		margin:0;
	
		float: left;
		max-width: 100%;
	}
	#featured-books{
		margin-bottom:60px;
	}
	#featured-books .wrap > .inner{
    padding: 25px;
	}
	#featured-books .hentry.libro .entry-title{
    display: inline;
	
    font-size: 60px;
    font-weight: lighter;
    line-height: 1;
	}
	#featured-books .hentry.libro .entry-title a,
	#featured-books .hentry.libro .entry-title span{
    margin-bottom: 30px;
    display: block;
	}
	#featured-books .hentry.libro .entry-summary{
    max-width: 320px;
}
	#featured-books .hentry.libro .fix{
    display: table; width: 100%;
	}
	#featured-books .hentry.libro .fix .image{
    display: table-cell; 
    vertical-align: middle;
    padding-right: 30px;
}
	#featured-books .hentry.libro .fix .txt{
    display: table-cell; vertical-align: middle;
    width: 50%;
	}
	.single #featured-books .hentry.libro .fix .txt,
	.single #featured-books .hentry.libro .fix .image{
		width:auto;
	}
	.single #featured-books .hentry.libro .fix .image img{
		min-width: 280px;
	}
	.hentry.contact .cols > .photo{
		display: table-cell;
		vertical-align: top;
	
		width: 49%;
}
	.hentry.contact .cols > .photo img{
		margin-right:30px;
		display: block;
		width: 100%;
		max-width: 90%;
	}
	.hentry.contact .cols > .form{
		display: table-cell;
		vertical-align: bottom;
	}
	#photos .cols .col{
    width: 25%;
	}
	#photos .cols .col .entry-summary{
	}
}
@media screen and (min-width:860px){
	#masthead .rrss{
		position:absolute;
		right: 30px;
		top: 20px;
	
		z-index: 9;
	
		margin: 0;
}
	#primary-navigation .widget_qtranslate{
    position: absolute;
    left: 30px;
    top: 24px;
    z-index: 9;
}
	#primary-navigation .nav-menu{
		display:block;
	
		position: relative;
}
	#primary-navigation{
		position:relative;
	}
	#primary-navigation .menu-toggle{
		display:none;
	}
	#primary-navigation .nav-menu{
		text-align:center;
	
	}
	.parent-pageid-7 #primary-navigation .nav-menu,
	.post-type-archive-reflexion #primary-navigation .nav-menu,
	.single-reflexion #primary-navigation .nav-menu,
	.post-type-archive-foto #primary-navigation .nav-menu,
	.single-foto #primary-navigation .nav-menu{
    margin-bottom: 70px;
}
	#primary-navigation .nav-menu li{
		display:inline-block;
	}
	#primary-navigation .nav-menu li a{
    padding: 25px 20px;
    display: block;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
}
	#primary-navigation .nav-menu li .sub-menu{
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 1px;
	
    display:none;
	}
	
	.parent-pageid-7 #primary-navigation .nav-menu li .sub-menu,
	.post-type-archive-reflexion #primary-navigation .nav-menu li .sub-menu,
	.single-reflexion #primary-navigation .nav-menu li .sub-menu,
	.post-type-archive-foto #primary-navigation .nav-menu li .sub-menu,
	.single-foto #primary-navigation .nav-menu li .sub-menu{
		display:block;
	}
	
	#primary-navigation .nav-menu li .sub-menu a{
    font-weight: 100;
}
	#primary-navigation .nav-menu li.current_page_item .sub-menu,
	#primary-navigation .nav-menu li.current-menu-ancestor .sub-menu{
	}
}
