/*
Theme Name: web para padres
Author: Diego Altamirano
Author URI: http://soydiego.es/
Description: tema de la web para padres sin imaginación. 
Basado en Toolbox (http://wordpress.org/extend/themes/toolbox)
Version: 1.0
*/

/* =Reset
-------------------------------------------------------------- */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* =General
------------------------------------------------------------------- */

body {	
	font-size: 18px;
	font-family: 'Josefin Sans', sans-serif;
	color: #222;
	line-height: 1.3;
	background: url("imagenes/body_background.jpg") center top repeat #67bf47;
}
h1, h2, h3, h4, h5 {
	font-family: 'Dosis', sans-serif;
}
a {
	text-decoration: none;
	color: inherit;
	transition: color .1s;
	-moz-transition: color .1s; 
	-webkit-transition: color .1s;
	-o-transition: color .1s; 
}
a:hover {
	color: #2da65d;
}
/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
.contenedor {
	max-width: 1190px;
	margin: 0 auto;
	padding: 0 25px;
        text-align: left;
}
#main {
	padding-top: 160px;
	clear: both;
	min-height: 600px;
}
nav#nav-below, nav#nav-above {
	clear: both;
}
.clear {
	clear: both;
}
strong {
	font-weight: bold;
}
/* =Header
------------------------------------------------------------------- */
header#branding {
	height: 150px;
	line-height: 80px;
	position: fixed;
	width: 100%;
	z-index: 100;
	border-bottom: solid 10px #67BF47;
	background: url("imagenes/body_background.jpg") center top repeat #67bf47;
	overflow: hidden;
}
#header-fondo {
	background: url("imagenes/header_bg.png") top center repeat-x;
    z-index: 150;
    position: absolute;
    width: 100%;
    height: 150px;
}
#nubes-decorativas-delante {
	background: url("imagenes/header_nubes-delante.png") 50% top repeat-x;
}
#nubes-decorativas-fondo {
	background: url("imagenes/header_nubes-fondo.png") 50% bottom repeat-x;
}
#dibujitos {
	background: url("imagenes/dibujitos_bg.png") 50% bottom no-repeat;
}
#dibujitos .contenedor {
	height: 150px;
	position: relative;
}
h1#site-title{
	font-size: 2.5em;
	font-weight: bold;
	color: #ea7f00;
	text-transform: uppercase;
	text-shadow: 
		#4d452c 1px 1px 0px, 
		#4d452c 2px 2px 0px, 
		#4d452c 3px 3px 0px, 
		#4d452c 4px 4px 0px;
        text-align: center;
	padding-right: 4%;
}
h1#site-title span {
	display: none;
}
header#branding hgroup {
	line-height: 1.1;
	padding-top: 20px;
}
h1#site-title a:hover {
	color: inherit;
}
h2#site-description{
	font-size: 1em;
	font-weight: bold;	
	color: #4d452c;
	margin-top: 5px;
	text-align: center;
        margin-left: -70px;
}
/* =Menú
------------------------------------------------------------------- */
.menu-menu-principal-container {
	margin-top: 80px;
}
nav#access {
	position: absolute;
	right: 30px;
	bottom: 0;
	font-size: 1.2em;
	color: #4d452c;
	/*border-bottom: dashed 1px #414f73;*/
}
nav#access .menu {
	display: block;
	text-transform: uppercase;
	color: #ea7f00;
}
nav#access .menu  li, #menu-menu-de-categorias li{
	display: inline;
	float: left;
	font-family: 'Dosis', sans-serif;
	font-weight: bold;
}
nav#access .menu  li  a {
	display: block;
	padding: 0 .5em;
}
nav#access .sub-menu {
	position: absolute;
	right: 0;
}
#categorias-contenedor {
	background: url("imagenes/submenu-bg.jpg") center center repeat-x;	
	height: 35px;
	margin-top: 155px;	
}
.menu-menu-de-categorias-container {
	max-width: 1190px;
	margin: 0 auto;
	padding: 0 25px;
}
#menu-menu-de-categorias {
	line-height: 35px;
	font-size: 1em;
	text-transform: lowercase;
	float: right;
	color: #eef272;
}
#menu-menu-de-categorias li a {
	padding: 0 .5em;
	display: block;
}
#menu-menu-de-categorias li a:hover {
	color: #ea7f00;
}
#menu-menu-de-categorias li:hover .sub-menu li{
	/*display: block;*/
	height: 35px;
}
#menu-menu-de-categorias li:hover .sub-menu {
	opacity: 1;
}
#menu-menu-de-categorias .sub-menu {
	position: absolute;
	top: 185px;
	overflow: hidden;
	/*display: none;*/
	background: url("imagenes/tierra.jpg") center top repeat;	
	opacity: 0;
	transition: opacity .15s;
	-moz-transition: opacity .15s; 
	-webkit-transition: opacity .15s;
	-o-transition: opacity .15s; 
}
#menu-menu-de-categorias .sub-menu li{
	display: block;
	float: none;
	height: 0;
}
#menu-menu-de-categorias .sub-menu li a {
	padding: 0 1em;
}
#menu-menu-de-categorias .sub-menu li:first-child a {
	border: none;
}
form#categories-dropdown {
	display: none;
}

/* Breadcrumb
  --------------------------------------------------------------*/

#breadcrumb {
	display: block;
	font-weight: bold;
	color: #4d452c;
	padding: 0 0 .5em 0;
}
#breadcrumb a {
	color: #eef272;
}
#breadcrumb a:hover {
	text-decoration: underline;
}
#breadcrumb-post {
	color: #4d452c;
}
body.date #breadcrumb, body.error404 #breadcrumb, body.search #breadcrumb{
	display: none;
}
/* =Contenido
 ----------------------------------------------------------------*/

#article-contenedor > article{
	width: 49%;
	background: #ffffff;
	margin-bottom: 10px;	
	float: left;	
}
body.home #article-contenedor > article {
	width: 32.4%;
}
header.entry-header-category, .entry-content {
	padding: 15px 35px;
}
header.entry-header-category {
	background-color: #eef272;
	font-size: 1.4em;
	font-weight: bold;		
	text-transform: uppercase;
	color: #ea7f00;
	border-bottom: dashed 1px #999;	
}
header.entry-header-category h2 {
	display: inline;
}
h2.categoria-titulo-hija, .categoria-separador {
	font-size: 70%;
	opacity: .7;
}
.categoria-separador {
	padding: 0 5px;
}
div.entry-content h3.entry-title {
	text-align: center;
	background: url("imagenes/titulo-post-bg.png") center bottom no-repeat;
	padding-bottom: 10px;
	color: #4d452c;
	font-size: 1.2em;
	font-weight: bold;		
	text-transform: uppercase;
	font-family: 'Dosis', sans-serif;	
	margin-bottom: 10px;
}
h3.entry-title a:hover {
	color: #ea7f00;
}
article .featured-image img {
	width: 100%;
	height: auto;
	border-bottom: dashed 1px #999;
}
a.texto-link:hover {
	color: inherit;
}
footer a.leer-mas, footer .entry-meta-fecha a{
	background: #eef272;
	color: #4d452c;
	padding: .5em 1em;
	float: left;
	transition: all .2s;
	-moz-transition: all .2s; 
	-webkit-transition: all .2s;
	-o-transition: all .2s; 
	margin-left: 10px;
}
footer .edit-link a:link, footer .edit-link a:visited {
	color: #ea7f00;	
}
footer .edit-link a:hover {
	color: #2da65d;
}
a.leer-mas:hover, .entry-meta-fecha a:hover {
	background: #f7f9ca;
	color: #ea7f00;	
}
.entry-content.home {
	padding-bottom: 20px;
}
img.category-image {
	border-bottom: dashed 1px #999;
}
span.edit-link {
	float: right;
	margin-right: 25px;
}
img.category-image {
	width: 100%;
	height: auto;
}
.home div.entry-content h3.entry-title {
	/*font-family: 'Lobster Two', cursive;*/
	font-family: "Times New Roman",Georgia,Serif;
	text-transform: none;
	font-size: 1.6em;
	font-style: italic;
	color: #5e5538;
	text-shadow: 0 1px 0 #9e9578;
}
.home div.entry-content a {
	color: inherit;
}
h1.page-title {
	font-size: 2em;
	text-transform: uppercase;
	font-weight: bold;
	color: #ea7f00;
	text-transform: uppercase;
	text-shadow: 
		#4d452c 1px 1px 0px, 
		#4d452c 2px 2px 0px;
	margin-bottom: 10px;
}
h1.page-title span {
	color: #4d452c;
	text-shadow: none;
	text-transform: none;
}
body.error404 h1, header.no-results-title {
	font-size: 3em;
	text-transform: uppercase;
	font-weight: bold;
	color: #ea7f00;
	text-transform: uppercase;
	text-shadow: 
		#4d452c 1px 1px 0px, 
		#4d452c 2px 2px 0px;
}
body.error404 p {
	font-size: 2em;
	font-weight: bold;
	color: #000;
}
/**post-----------------------------------------------------------*/
div.entry-content h1, div.entry-content h2, div.entry-content h3, div.entry-content h4, div.entry-content h5, div.entry-content h6 {
	font-weight: bold;
	font-family: 'Josefin Sans', sans-serif;			
}	
div.entry-content h1 {
	font-size: 1.8em;
}
div.entry-content h2 {
	font-size: 1.6em;
}
div.entry-content h3 {
	font-size: 1.4em;
}
div.entry-content h4 {
	font-size: 1.2em;
}
div.entry-content h5 {
	font-size: 1em;	
}
div.entry-content h6 {
	font-size: 1em;
}
div.entry-content ol {
	list-style-type: decimal;
	list-style-position: inside;
}
div.entry-content a {
	color:#ea7f00;
}
div.entry-content a:hover {
	color:#2da65d;
}
div.entry-content em {
	font-style: italic;
}
div.entry-content blockquote {
	color: #999;
	font-style: italic;
}
div.entry-content iframe {
	width: 100%;
} 
div.entry-content img {
	width: 100%;
	height: auto;
	margin-bottom: 6px;
} 
.entry-content p {
	padding: 12px 0;
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -hp-pre-wrap; /* HP printers */
	white-space: -o-pre-wrap; /* Opera 7 */
	white-space: -pre-wrap; /* Opera 4-6 */
	/* white-space: pre-wrap;  CSS 2.1 */
	/* white-space: pre-line;  CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */	
}
span.respuesta-invertir {
	display: inline-block;
        font-size: .8em;
	transform:rotate(180deg);
	-ms-transform:rotate(180deg); /* IE 9 */
	-webkit-transform:rotate(180deg); /* Safari and Chrome */
	-o-transform: rotate(180deg); /* Opera */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); /* IE <9 */
	cursor: pointer;
}
span.respuesta-invertir:hover {
	transform:none;
	-ms-transform:none;/* IE 9 */
	-webkit-transform:none; /* Safari and Chrome */
	-o-transform: none; /* Opera */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0); /* IE <9 */
}
	

/* Comentarios --------------------------------------------------*/

a.comments-link {
	display: block;
	width: 30px;
	height: 45px;
	background: url("imagenes/globo.png") top right no-repeat;
	text-align: center;
	padding-top: 0;
	margin-left: 35px;
  font-size: .9em;
}
.comments {
	height: 0;
	overflow: hidden;
	background: #eef272;
	padding: 0 35px;
}
ol.commentlist{
	border-bottom: dashed 1px #999;	
	padding-top: 15px;
}
li.comment {
	margin: 10px 0;
}
.comment-content {
	background: #fff;
	padding: 10px;
	margin: 0;
	border-radius:5px;
}
.comment-content p {
	white-space: -moz-pre-wrap; /* Mozilla */
	white-space: -hp-pre-wrap; /* HP printers */
	white-space: -o-pre-wrap; /* Opera 7 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}
.comment-meta {
	text-align: right;
	color: #9c9f4d;
	font-size: 90%;
	text-shadow: 0px 1px 0 #fff;
	padding: 10px 0;
}
.comment-meta a {
	color: #666;
	text-shadow: none;
}
img.comment-decoration {
	margin: 0 0 -5px 10px;
}
form#commentform {
	padding-top: 15px;
}
textarea {
	width: 96%;
	border: none;
	padding: 5px;
}
form p {
	clear: both;
	line-height: 35px;
}
input {
	display: block;
	border: none;
	padding: 5px;
}
label {
	display: block;
}
input[type=submit]{
	border: solid 1px #ccc;
	background: #eee;
	color: #666666;
	transition: background .2s;
	-moz-transition: background .2s; 
	-webkit-transition: background .2s;
	-o-transition: background .2s; 
}
input[type=submit]:hover {
	background: #fff;
}
p#comentario-publicado {
	position: fixed;
	top: -8px;
	z-index: 9999;	
	width: 100%;
}
p#comentario-publicado span {
	padding: 20px;
	display: block;
	/*background: rgba(255, 255, 255, .5);*/
	background: rgba(255, 255, 255, .7);
	width: 350px;
	margin: 0 auto;
	text-align: center;
	font-size: 1.3em;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border: solid 8px #ea7f00;
	box-shadow: 0 2px 3px #777;
}
span.awaiting-moderation {
	color: #9c9f4d;
	text-shadow: 0px 1px 0 #fff;	
}
/* =Page
 ---------------------------------------------------------------*/
.page h1 {
	font-size: 2.5em;
	font-weight: bold;
	color: #ea7f00;
	text-transform: uppercase;
	text-shadow: 
		#4d452c 1px 1px 0px, 
		#4d452c 2px 2px 0px, 
		#4d452c 3px 3px 0px;
}
.page .entry-content {
	background: #fff;
}
.page #main {
	padding-bottom: 25px;
}

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

footer#colophon {
	background: url("imagenes/tierra.jpg") center top repeat #352f1e;
	padding-bottom: 2em;
	color: #ffffff;
}
footer#colophon #secondary {
	background: url("imagenes/footer-top-bg.png") center top repeat-x;
}
footer#colophon h1 {
	font-size: 1em;
	font-weight: bold;		
	text-transform: uppercase;
	color: #eef272;
	margin-bottom: .5em;
}
footer#colophon aside{
	display: inline;
	float: left;
	margin-top: 30px;
	margin-right: 10em;
	width: auto;
}
footer#colophon aside#footer-social {
	float: right;
	text-align: right;
	margin-right: 0;
}
footer#colophon ul {
	list-style-type: circle;	
	list-style-position: inside;
}
footer#colophon ul a{
	transition: none;
	-moz-transition: none;
	-webkit-transition: none;
	-o-transition: none;
}
footer#colophon ul a:hover {
	color: #eef272;	
}
footer#colophon ul.children {
	margin-left: 1em;
}
footer#colophon aside#footer-social img {
	margin-bottom: 1em;
}
footer#colophon #site-generator {
	color: #777777;
	clear: both;
	margin-top: 10px;
}

/*Navegacion*/
nav#nav-below {
	line-height: 30px;
	height: 50px;
	max-width: 300px;
	margin: 0 auto;
}
nav#nav-below a{
	padding: 5px 0;
	color: #4d452c;
	font-weight: bold;
}
nav#nav-below a:hover {
	color: #2DA65D;
}
span.meta-nav {
	color: #EA7F00;
}
.nav-previous, .nav-next {
	float: left;
	width: 120px;
	height: 30px;
	background: #eef272;
	text-align: center;
}
.nav-next {
	float: right;		
	}
/*No resuslt*/

.entry-content.no-results {
	padding: 0;
	font-size: 1.2em;
	color: #4d452c;
}

/*----------------------------------------------------------------------*/

/*Media query*/
/*1024 o menos*/
@media screen and (max-width: 1024px) {
	#dibujitos {
		background-position: 90% bottom;
	}
	h1#site-title {
		font-size: 3.2em;
	}	
	h2#site-description{
		font-size: 1.5em;
	}
	nav#access .menu li a{
		padding: 0 .4em;
	}
	#main {
		min-height: auto;
	}	

	nav#access {
		font-size: 1.4em;
	}	
	nav#access .menu li a{
		padding: 0 .2em;
	}		
}
/*Menos de 800 pixels de ancho*/ 
@media screen and (max-width: 800px) {
	header#branding {
		position: relative;
	} 
	body.home #article-contenedor > article, #article-contenedor > article {
		width: 48%;
	}
	h1#site-title {
		font-size: 2.8em;		
	}
	h2#site-description{
		font-size: 1.2em;
	}
	#header-fondo, header#branding, #header-fondo div {
		height: 90px;
	}
	#dibujitos {
		background: url("imagenes/dibujitos_bg_peq.png") right	 bottom no-repeat;
	}	
	#dibujitos .contenedor {
		height: 90px;
	}
	#header-fondo div.menu-menu-principal-container {
		margin: 0;
		height: auto;
	}
	#main {
		padding-top: 0;
	}
	nav#access {
		bottom: 10px;
	}
	nav#access .menu li {
		float: none;
		display: block;
		line-height: 1.2;
		text-align: right;
	}	
	#categorias-contenedor {
		padding-top: 90px;
		margin-top: 0;
		background: url("imagenes/submenu-bg2.jpg") center bottom repeat-x;			
		height: auto;
	}
	#menu-menu-de-categorias>li {
		position: relative;
	}
	#menu-menu-de-categorias li a{
		padding: 0 0.3em;
	}
	#menu-menu-de-categorias .sub-menu {
		top: 30px;
		z-index: 100;
	}
	aside#recent-posts-2 {
		width: 35%;
	}
	aside#footer-social {
		width: 60%;
	}	
}
/*Menos de 600 pixels de ancho*/ 
@media screen and (max-width: 600px) {
	h1#site-title {
		font-size: 2.3em;
                text-align: left;
	}
	h2#site-description{
	}	
	.home div.entry-content h3.entry-title{
		font-size: 1.3em;
	}	
	header.entry-header-category {
		font-size: 1.4em;
	}	
	header.entry-header-category, .entry-content {
		padding: 10px 27px;
	}	
}
/*Móvil*/
/*480px*/
@media screen and (max-width: 480px) {
	header#branding hgroup {
		text-align: left;
		padding-top: 20px;
	}	
	#dibujitos {
		background: none;
	}
	header#branding hgroup{
		position: absolute;
		left: 20px;
		top: 0;
		width: 65%;
	}
	nav#access {
		margin: 0;
	}
	form#categories-dropdown {
		line-height: 2;
	}
	select#cat {
		display: block;
		clear: both;
		line-height: 1;
	}
	a#nosotros-link {
		font-family: 'Dosis', sans-serif;
		font-weight: bold;	
		color: 	#ea7f00;
	}
	a#nosotros-link:hover {
		color: #2da65d;
	}	
	#article-contenedor > article {
		width: 100% !important;
	}
	form#categories-dropdown {
		margin-top: 23px;
		display: block;
	}form#categories-dropdown select{
		width: 100px;
	}
	.menu-menu-principal-container {
		display: none;
	}
	footer#colophon aside#footer-social{
		text-align: left;
		float: left;
	}
	footer#colophon aside#recent-posts-2, footer#colophon aside#footer-social {
		width: auto;
	}
}
/*380px*/
@media screen and (max-width: 380px) {
	header#branding hgroup {
		padding-top: 10px;
	}	
	h2#site-description{
		display: none;
	}
	h1#site-title span {
		display: inline;
	}
}