/*
Theme Name: A Leira Theme
Theme URI: http://aleiradelola.com/
Author: Vertixe
Author URI: http://vertixe.com
Description: minimalist, responsive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: a-leira
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

A Leira Theme is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Accessibility
# Alignments
# Clearings
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

b,
strong {
	font-weight: bold;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

hr {
	box-sizing: content-box;
	height: 0;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #fff;
	font-family: 'Open Sans', sans-serif ;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #7a896a; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #fff;
	text-decoration: none;
}

a:visited {
	color: #fff;
}

a:hover,
a:focus,
a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/**----------------------------------- HEADER + LÍNEA BLANCA **/

.paso-header {
	display: block;
	width: 200px;
	height: 285px;
	margin-top: 20px;
	float: left;
	position: fixed;
}

.home .paso-header {
	border-right: 1px solid #fff;
}

.logo {
	margin: 45px 0 0 25px;
	width: 142px;
	height: 126px;
}

.logo-mobile,
.logo-portada-mobile {
	display: none;
}

header,
.menu-menu-lateral-container,
.menu-contacto {
	z-index: 2;
}


/**-----------------------------------  MENÚ CONTACTO **/

.menu-contacto {
	width: 80px;
	height: 40px;
	position: fixed;
	top: 0;
	right: 0;
	display: block;
	background-color: rgba(255, 255, 255, 0.6);
}

.ico-correo {
	width: 20px;
	height: 16px;
	margin: 13px 0 0 17px;
}

.ico-telefono {
	width: 28px;
	height: 18px;
}

.info-contacto {
	display: none;
	position: fixed;
  	top: 0;
  	right: 80px;
  	width: 270px;
  	height: 40px;
  	background-color: rgba(255, 255, 255, 0.6);
  	z-index: 2;
  	color: #48371a;
  	font-size: 14px;
  	font-family: 'Alegreya', serif;
  	line-height: 1em;
  	padding: 6px 8px;
  	text-align: right;
}

.info-contacto a {
	color: #48371a;
	display: block;
}

.menu-contacto:hover .info-contacto {
	display: block;
}


/**-------------------------------- MENÚ CÍRCULOS LATERAL **/

.menu-menu-lateral-container {
	position: fixed;
	right: 0;
	top: 50%;
}

.menu-menu-lateral-container ul {
	list-style-type: none;
	margin: 0 30px 0 0;
}

.menu-menu-lateral-container li {
	background: url('img/menu-vacio.png') no-repeat;
	text-indent: -9999px;
	width: 11px;
	height: 11px;
	margin: 10px;
}

.menu-menu-lateral-container a.activo {
	background: url('img/menu-lleno.png') no-repeat;
}

.menu-menu-lateral-container a {
	display: block;
}


/**-----------------------------------  PASOS DE PORTADA **/

.home .paso-1 {
  background: #fff url('img/foto-portada-1.jpg') no-repeat fixed center center / cover;
}

.home .paso-2 {
  background: #fff url('img/foto-portada-2.jpg') no-repeat fixed center center / cover;
}

.home .paso-3 {
  background: #fff url('img/foto-portada-3.jpg') no-repeat fixed center center / cover;
}

.home .paso-4 {
  background: #fff url('img/foto-portada-4.jpg') no-repeat fixed center center / cover;
}

@media screen and (max-width:769px) {
	.home .paso-1,
	.home .paso-2,
	.home .paso-3,
	.home .paso-4,
	.cesta,
	.nigran,
	.nuestras-manos,
	.productos,
	.suscripcion {
	  background-attachment: scroll;
	}
}

.paso-1,
.paso-2,
.paso-3,
.paso-4 {
	width: 100%;
	display: block;
	min-height: 100vh;
	font-size: 17px; /* SMB */
	position: relative;
	float: left;
}

.sombra {
	background: radial-gradient(ellipse at top left, rgba(0, 0, 0, 0.4), rgba(0,0,0,0.4), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
	float: left;
	width: 100%;
	max-width: 700px;
}

.home .sombra {
	padding-bottom: 200px;
}

.paso-contenido {
	width: 450px;
	float: left;	
	margin: 55px 0 55px 225px;
	width: 100%;
}

h1, 
h2, 
h3,
.h3 {
	text-transform: uppercase;
	font-size: 21px;
	margin: 0;
	line-height: 1.3em;
}

p {
	font-family: 'Alegreya', serif;
	font-style: italic;
}

h1, 
h2 {
	font-weight: 800;
}

h3,
.h3 {
	font-weight: 300;
}

.paso-contenido p {
	width: 340px;
}

.ico-sello-1,
.ico-sello-2,
.ico-caras,
.ico-calendario,
.ico-localizacion {
	margin-top: 30px;
	float: left;
	margin-right: 10px; /* SMB */
}

.ico-sello-1 {
	width: 53px;
	height: 52px;
}

.ico-sello-2 {
	width: 168px;
	height: 55px;
}

.ico-caras {
	width: 126px;
	height: 56px;
}

.ico-calendario {
	width: 47px;
	height: 47px;
}

.ico-localizacion {
	width: 27px;
	height: 41px;
}

button,
.wpcf7-submit[type="submit"]{
	color: #fff;
	font-size: 21px;
	text-transform: uppercase;
	background-color: transparent;
	border: 2px solid #fff;
	border-radius: 16px;
	padding: 10px 16px;
	display: block;
	box-shadow: 0 0 0;
	text-shadow: 0 0 0;
	font-weight: 300;
	float: left;
	clear: both;
}

button:hover {
	background-color: #fff;
	border-color: #fff;
	box-shadow: 0 0 0;
	color: #144633;
}

button.llamada-accion {
	margin-top: 25px;
}

.widget-fecha {
	float: left;
	max-width: 250px;
	width: 100%;
}

.widget-clima {
	float: left;
	max-width: 300px;
	width: 100%;
}

.widget-clima i {
    float: left;
    font-size: 40px;
    margin: 33px 6px 0;
}

.ico-calendario,
.estacion,
.dia,
.localidad,
.clima {
	float: left;
	text-transform: uppercase;
}

.estacion,
.clima {
	font-size: 30px;
}

.dia,
.localidad {
	font-size: 10px;
}

.estacion {
	margin: 20px 0 0 20px;
}

.dia {
	margin: -4px 0 0 22px;
}

.localidad {
	margin: 30px 0 0 10px;
}

.clima {
    margin: 0 0 0 10px;
    line-height: 1.1em;
}

.nav-flecha {
    bottom: 0;
    left: 0;
    margin: 0 auto -10px;
    position: absolute;
    right: 0;
    text-align: center;
}

/*.flecha-abajo {
	width: 45px;
	height: 24px;
} SMB */ 


/**-----------------------------------  PÁGINAS INTERIORES **/
.pagina-wrapper {
	width: 100%;
	display: block;
	min-height: 100vh;
	font-size: 17px; /* SMB */
	position: relative;
	float: left;
	line-height: 1.4em;
}

.nav-atras {
	position: fixed;
	left: 0;
	top: 50%;
	z-index: 2;
}

.nav-atras a {
	cursor: pointer;
}

.flecha-izquierda {
	width: 24px;
	height: 45px;
	margin-left: 30px;
}

.cesta {
  	background: #fff url('img/foto-fondo-cesta.jpg') no-repeat fixed center / cover;
}

.nuestras-manos {
  	background: #fff url('img/foto-fondo-manos.jpg') no-repeat fixed center / cover;
}

.productos {
  	background: #fff url('img/foto-fondo-productos.jpg') no-repeat fixed center / cover;	
}

.nigran {
	background: #fff url('img/foto-fondo-leira.jpg') no-repeat fixed center / cover;	
}

.suscripcion {
	background: #fff url('img/foto-fondo-suscripcion.jpg') no-repeat fixed center / cover;	
}

.recetadelasemana a, .cuadernodelasemana a  {
    color: #000;
}

.recetas {
	background: #fff url('img/foto-fondo-receta.jpg') no-repeat fixed center / cover;	
}

.noticias {
	background: #fff url('img/foto-fondo-gallina.jpg') no-repeat fixed center / cover;	
}

.contacto {
	background: #fff url('img/foto-fondo-contacto.jpg') no-repeat fixed center / cover;	
}

.contacto .wpcf7 {
    padding-bottom: 100px;
}

.pagina-contenido {
	width: 380px;
	float: left;	
	margin: 0 0 0 200px;
	padding: 0 40px 0 25px;
	background-color: rgba(255, 255, 255, 0.8);
	color: #231f20;
	min-height: 100vh;
}

.recetas .pagina-contenido,
.noticias .pagina-contenido {
	padding: 0;
}

.ico-triangulo {
	width: 76px;
	height: 38px;
	margin-bottom: 15px;
}

.introduccion {
	margin-bottom: 0;
}

.contenidos {
	font-family: 'Handlee', sans-serif;
	font-size: 17px; /* SMB */
}

.contenidos a {
	color: #231f20;
}

.recetas .ico-triangulo,
.recetas button,
.noticias .ico-triangulo,
.noticias button {
	margin-left: 25px;
}

.recetas button,
.noticias button {
	margin-bottom: 45px;
}

.recetas h1,
.recetas h2,
.recetas h3,
.recetas p,
.noticias h1,
.noticias h2,
.noticias h3,
.noticias p {
	padding: 0 40px 0 25px;
}

.recetas h3.otras,
.noticias h3.otras {
	margin: 15px 0 25px;
}

.recetas p img,
.noticias p img {
	padding: 0;
}

.otras-recetas {
	list-style-type: none;
	margin: 0;
	padding: 0 40px 80px 25px;
}

.otras-recetas a {
	color: #231f20;
	font-size: 17px;
	font-family: 'Alegreya', serif;
}

.ico-sello-1-negro,
.ico-sello-2-negro {
	float: left;
	margin-top: 30px;
}

.ico-sello-1-negro {
	width: 38px;
	height: 39px;
}

.ico-sello-2-negro {
	width: 121px;
	height: 39px;
}

hr {
    background-color: #231f20;
    clear: both;
    float: left;
    margin: 20px 0;
    width: 100%;
}

.precio {
    display: block;
    float: left;
    font-size: 50px;
    font-weight: 800;
    line-height: 1em;
    width: 100%;
}

.iva {
	display: block;
    float: left;
    font-size: 12px;
    font-weight: 300;
    max-width: 120px;
    text-transform: uppercase;
    width: 100%;
    line-height: 1.4em;
    margin-top: 6px;
}

.boton-verde,
.wpcf7-submit[type="submit"] {
	background-color: #144633;
	border-color: #144633;
}

.boton-verde:hover,
.wpcf7-submit[type="submit"]:hover {
	background-color: #231f20;
	border-color: #231f20;
	box-shadow: 0 0 0;
	color: #fff;
}

.boton-verde-transparente {
	background-color: #transparent;
	border-color: #144633;
	margin: 40px 0 60px;
	color: #144633;
}

.boton-verde-transparente:hover {
	background-color: #144633;
	border-color: #144633;
	color: #fff;
}


.texto-secundario {
    color: #144633;
    display: block;
    float: left;
    font-size: 12px;
    margin: 8px 0 0 10px;
    text-transform: uppercase;
    width: 100%;
    text-decoration: none;
}

.condiciones {
    float: left;
    padding-right: 10px;
    margin-bottom: 40px;
    font-size: 15px; /* SMB */
}

h3.seccion {
	margin: 25px 0 20px;
}

.nigran .widget-clima {
	margin: 0 0 20px;
}

.nigran .clima {
	margin: 0 0 0 10px;
	line-height: 1.1em;
}

.nigran .localidad {
	margin: 28px 0 0 10px;
	line-height: 1em;
}

.wpcf7-form p {
    text-transform: uppercase;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
}

.wpcf7-form input {
    max-width: 100%;
}

.suscripcion .condiciones {
	font-size: 15px; /* SMB */
}

.aclaracion,
.wpcf7-checkbox {
    float: left;
    font-size: 12px;
    font-style: italic;
    line-height: 1.4em;
    margin: 6px 0 10px;
    text-transform: none;
}

.wpcf7-list-item {
    display: block;
}

hr.rayitas {
    background-color: transparent;
    border-bottom: 1px dashed #231f20;
    margin-top: 0;
}

.wpcf7-submit {
    margin-top: 15px;
}

.imagen-mobile {
	display: none;
	width: 100%;
	float: left;
	height: 100vh;
	background: #fff url('img/top-mobile-5.jpg') no-repeat center center / cover;
	position: relative;	
}

.nuestras-manos .imagen-mobile {
	background: #fff url('img/top-mobile-6.jpg') no-repeat center center / cover;
}

.nigran .imagen-mobile {
	background: #fff url('img/top-mobile-8.jpg') no-repeat center center / cover;
}

.productos .imagen-mobile {
	background: #fff url('img/top-mobile-7.jpg') no-repeat center center / cover;
}

.suscripcion .imagen-mobile {
	background: #fff url('img/top-mobile-9.jpg') no-repeat center center / cover;
}

.flecha-abajo-mob {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	margin: 0 auto;
	z-index: 3;
}

.flecha-mob-arriba {
	display: none;
	margin: 0 auto;
}





/**-----------------------------------  RESPONSIVE **/

@media screen and (max-width: 675px) { /* Para la portada */
	.nav-flecha,
	.paso-header,
	.flecha-abajo {
		display: none;
	}

	#seccion-4 .nav-flecha,
	.flecha-mob-arriba  {
		display: block;
	}

	.paso-contenido {
		max-width: 450px;
		width: 100%;
		margin: 0;
		padding: 40px 20px;
	}

	.paso-contenido p {
		max-width: 340px;
		width: 100%;
	}

	.logo-portada-mobile {
		display: block;
    	margin-bottom: 40px; /* SMB */
	}	

	.menu-menu-lateral-container ul {
		margin: 0;
		padding-right: 10px;
	}

	.menu-menu-lateral-container { display: none; } /* SMB */
}


@media screen and (max-width: 340px) {
	.paso-contenido p {
		width: 90%;
	}
}

@media screen and (max-width: 675px) { /* Para páginas interiores */ /* SMB */
	.paso-header,
	.nav-atras {
		display: none;
	}

	.logo-mobile {
    	display: block;
    	margin-bottom: 40px; /* SMB */
	position: relative; /* SMB */
	left: 25%; /* SMB */
	}

	.home .paso-4 { background-position: 80% center; } /* SMB */
	.home .paso-1, .home .paso-2, .home .paso-3 { background-position: 70% center; } /* SMB */

	.pagina-contenido {
		width: 100%;
		max-width: 380px;
		margin: 0;
	}

	hr,
	.wpcf7-form input,
	.wpcf7-form textarea {
		width: 100%; /* SMB */
	}
}

@media screen and (max-width: 400px) {
	.imagen-mobile {
		display: block;
	}

	.info-contacto {
		width: 100%;
	}

	.nav-flecha {
		margin-bottom: 0;
	}
}




span.mensajesformularios, .wpcf7-mail-sent-ok, .wpcf7-mail-sent-ng, div.wpcf7-response-output, div.wpcf7-validation-errors, span.wpcf7-not-valid-tip  {
     float: left !important;
    width: 100% !important;
    color: #ff0000 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    line-height: 14px;
    margin: 10px 0 20px;
   
}

.screen-reader-response { display: none; }