.grillo {
	background-image: url(../img/cuento-el-grillo-benito.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.cabritillos {
	background-image: url(../img/cuento-los-tres-cabritillos.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.pais {
	background-image: url(../img/cuento-el-pais-de-las-letras.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.casa {
	background-image: url(../img/cuento-nuestro-amigo-casa-1.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.cole {
	background-image: url(../img/cuento-nuestro-amigo-el-1.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.padres1 {
	background-image: url(../img/bto_que-dudas.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.padres2 {
	background-image: url(../img/bto_comunicamos.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.padres3 {
	background-image: url(../img/bto_diccionario.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.dialogo1 {
	background-image: url(../img/bto_dialogo1.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.dialogo2 {
	background-image: url(../img/bto_dialogo2.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo3 {
	background-image: url(../img/bto_dialogo3.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo4 {
	background-image: url(../img/bto_dialogo4.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo5 {
	background-image: url(../img/bto_dialogo5.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo6 {
	background-image: url(../img/bto_dialogo6.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo7 {
	background-image: url(../img/bto_dialogo7.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.dialogo8 {
	background-image: url(../img/bto_dialogo8.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo9 {
	background-image: url(../img/bto_dialogo9.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.dialogo10 {
	background-image: url(../img/bto_dialogo10.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo11 {
	background-image: url(../img/bto_dialogo11.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo12 {
	background-image: url(../img/bto_dialogo12.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo13 {
	background-image: url(../img/bto_dialogo13.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo14 {
	background-image: url(../img/bto_dialogo14.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo15 {
	background-image: url(../img/bto_dialogo15.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo16 {
	background-image: url(../img/bto_dialogo16.png);
	background-repeat: no-repeat;
	background-position: center center;
}


.canciones1 {
	background-image: url(../img/bto_canciones1.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.canciones2 {
	background-image: url(../img/bto_canciones2.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones3 {
	background-image: url(../img/bto_canciones3.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones4 {
	background-image: url(../img/bto_canciones4.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones5 {
	background-image: url(../img/bto_canciones5.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones6 {
	background-image: url(../img/bto_canciones6.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones7 {
	background-image: url(../img/bto_canciones7.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.canciones8 {
	background-image: url(../img/bto_canciones8.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones9 {
	background-image: url(../img/bto_canciones9.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.canciones10 {
	background-image: url(../img/bto_canciones10.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones11 {
	background-image: url(../img/bto_canciones11.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones12 {
	background-image: url(../img/bto_canciones12.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones13 {
	background-image: url(../img/bto_canciones13.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones14 {
	background-image: url(../img/bto_canciones14.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones15 {
	background-image: url(../img/bto_canciones15.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.canciones16 {
	background-image: url(../img/bto_canciones16.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.canciones17 {
	background-image: url(../img/bto_canciones17.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.canciones18 {
	background-image: url(../img/bto_canciones18.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.canciones19 {
	background-image: url(../img/bto_canciones19.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.canciones20 {
	background-image: url(../img/bto_canciones20.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.dialogo1 {
	background-image: url(../img/bto_dialogo1.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.dialogo2 {
	background-image: url(../img/bto_dialogo2.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo3 {
	background-image: url(../img/bto_dialogo3.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo4 {
	background-image: url(../img/bto_dialogo4.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo5 {
	background-image: url(../img/bto_dialogo5.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo6 {
	background-image: url(../img/bto_dialogo6.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo7 {
	background-image: url(../img/bto_dialogo7.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.dialogo8 {
	background-image: url(../img/bto_dialogo8.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo9 {
	background-image: url(../img/bto_dialogo9.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.dialogo10 {
	background-image: url(../img/bto_dialogo10.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo11 {
	background-image: url(../img/bto_dialogo11.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo12 {
	background-image: url(../img/bto_dialogo12.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo13 {
	background-image: url(../img/bto_dialogo13.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo14 {
	background-image: url(../img/bto_dialogo14.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo15 {
	background-image: url(../img/bto_dialogo15.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.dialogo16 {
	background-image: url(../img/bto_dialogo16.png);
	background-repeat: no-repeat;
	background-position: center center;
}


.juegos1 {
	background-image: url(../img/bto_juegos1.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.juegos2 {
	background-image: url(../img/bto_juegos2.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.juegos3 {
	background-image: url(../img/bto_juegos3.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.juegos4 {
	background-image: url(../img/bto_juegos4.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.juegos5 {
	background-image: url(../img/bto_juegos5.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.juegos6 {
	background-image: url(../img/bto_juegos6.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.juegos7 {
	background-image: url(../img/bto_juegos7.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.juegos8 {
	background-image: url(../img/bto_juegos8.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.juegos9 {
	background-image: url(../img/bto_juegos9.png);
	background-repeat: no-repeat;
	background-position: center center;
}
.juegos10 {
	background-image: url(../img/bto_juegos10.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.juegos11 {
	background-image: url(../img/bto_juegos11.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.juegos12 {
	background-image: url(../img/bto_juegos12.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.juegos13 {
	background-image: url(../img/bto_juegos13.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.juegos14 {
	background-image: url(../img/bto_juegos14.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.juegos15 {
	background-image: url(../img/bto_juegos15.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.grid {
	list-style: none;
	text-align: center;
	width: 100%;
	display: inline;
}


/* Common style */
.grid figure {
	overflow: hidden;
	width: 320px;
	height: 200px;
	text-align: center;
	cursor: pointer;
	margin: 0em;
	display: inline-block;
	position: relative;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	opacity: 0.8;
	margin-top: 5px;
	border-radius: 50%;
	height: 150px;
	width: 150px;
	border: 8px solid #1062A7;
	margin-right: auto;
	margin-left: auto;
}

.grid figure figcaption {
	padding: 0.1em;
	color: #fff;
	font-size: 1em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
	
}

.grid figure h2 {
	font-weight: bolder;
	/*	background-color: #000;*/
	text-align: center;
	font-size: 2em;
}

.grid figure h2 span {
	font-weight: 100;
}

.grid figure h2,
.grid figure p {
	margin: 0;
	padding-top: 2px;
	padding-right: 2px;
	padding-bottom: 2px;
	padding-left: 2px;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 1em;
	text-align: center;
}

/* Individual effects */

/*---------------*/
/***** Lily *****/
/*---------------*/

figure.effect-lily img {
	/*width: -webkit-calc(100% + 50px);
	width: calc(100% + 50px);*/
	opacity: 0.7;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-40px,0, 0);
	transform: translate3d(-40px,0,0);
}

figure.effect-lily figcaption {
	top: auto;
	bottom: 0;
	height: 90%;
	text-align: left;
}

figure.effect-lily h2,
figure.effect-lily p {
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
}

figure.effect-lily h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	background-color: transparent;
}

figure.effect-lily p {
	color: rgba(255,255,255,0.6);
	opacity: 0;
	-webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
	transition: opacity 0.2s, transform 0.35s;
}

figure.effect-lily:hover img,
figure.effect-lily:hover p {
	opacity: 1;
}

figure.effect-lily:hover img,
figure.effect-lily:hover h2,
figure.effect-lily:hover p {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-lily:hover p {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
	-webkit-transition-duration: 0.35s;
	transition-duration: 0.35s;
}

.icon-eye::before {
	content: '\e000';
}

.icon-paper-clip::before {
	content: '\e001';
}

.icon-heart::before {
	content: '\e024';
}

@media screen and (max-width: 69.5em) {
	.grid figure {
	position: relative;
	z-index: 1;
	display: inline-block;
	overflow: hidden;
	margin: 1em;
	width: 320px;
	height: 200px;
	text-align: center;
	cursor: pointer;
	border-radius: 1px;
	}
	.sub-menu2 ul {
	text-align: left;
	margin-bottom: 2px;
	padding-top: 5px;
}	
.grid figure p {
	letter-spacing: 1px;
	font-size: 1em;
	text-align: center;
}
	.grid figure figcaption {
		font-size: 90%;
	}
	.grid figure figcaption {
	padding: 0.1em;
	color: #fff;
	font-size: 2em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
figure.effect-lily figcaption {
	top: auto;
	bottom: 0;
	height: 100%;
	text-align: left;
}


}


@media screen and (max-width: 41.5em) {

.sub-menu ul {
	text-align: left;
	margin-bottom: 2px;
	padding-top: 5px;
}
	.grid figure {
	position: relative;
	z-index: 1;
	display: inline-block;
	overflow: hidden;
	margin: 1em;
	width: 320px;
	height: 200px;
	text-align: center;
	cursor: pointer;
	border-radius: 1px;
	}
	.grid figure p {
	letter-spacing: 1px;
	font-size: 1.5em;
	text-align: center;
}
.grid figure figcaption {
	padding: 0.1em;
	color: #fff;
	font-size: 1.5em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
figure.effect-lily figcaption {
	top: auto;
	bottom: 0;
	height: 100%;
	text-align: left;
}

.derecha {
	border: 10px solid #407AC0;
	border-radius: 50%;
	height: 150px;
	width: 150px;
	margin-right: auto;
	margin-left: auto;
}
