﻿/* ESTILOS GENERALES */

@font-face {
	font-family: 'Open Sans';
	src: local("?"),  url("../fonts/OpenSans-Regular.ttf") format("truetype");	
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Open Sans';
	src: local("?"),  url("../fonts/OpenSans-Bold.ttf") format("truetype");	
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: 'arcena';
	src: local("?"),  url("../fonts/ARCENA.ttf") format("truetype");	
	font-weight: normal;
	font-style: normal;
}
body{
	background-color:black !important;
	font-size:18px;
	width:100%;
	max-width:100%;
	text-align: center;
	font-family:Open Sans;
}

h2{
	font-size: 1.4em;
	font-family: Open Sans;
	color: red;
}
p{
	font-family:Open Sans;
	font-size:18px;

}

a{
	color:red;
}
a:focus { 
	color:white;
}
a:active, a:hover { 
	color:white;
 }

#libros{
	margin-top:-100px;
	margin-bottom:20px;
}

.desvan{
	padding-top:30px;
}

.novedad{
	padding-top:80px;
}

.novedad img{
	max-width:250px;
	margin:0 auto;
}

.novedad p{
	color:white;
	font-weight: 600;
}

.biblioteca{
	padding-top:50px;
}

.imagen{
	width:100%;
	max-width: 100%;
	margin-top:200px;
}

.com{
	width:100%;
	max-width: 100%;
	margin-top:40px;
}

.ilustracion{
	width:100%;
	max-width: 100%;
	border-radius:10px;
	-moz-border-radius: 10px; -webkit-border-radius: 10px; -o-border-radius: 10px;
}

.info{
	font-size:20px;
	color:red;
	margin-bottom:50px;
	margin-top:20px;
	border-radius:10px;
	-moz-border-radius: 10px; -webkit-border-radius: 10px; -o-border-radius: 10px;
	font-family:Open Sans, Verdana, sans-serif;
}

.comentarios{
	font-size: 20px;
	font-family: Open Sans;
	color: black;
	padding: 10px 40px;
	margin:10px;	
	background: url('img/post.jpg') no-repeat center;	text-align: center;
	border: 2px solid red;
	border-radius: 25px;-moz-border-radius: 25px; -webkit-border-radius: 25px; -o-border-radius: 25px;
}


@media (max-width:600px) {
                        .imagen{
                                margin-top:0px;
                        }
                    }
@media (max-width:600px) {
                        .titulo{
                                margin-top:50px;
                        }
                    }
                    
.titulo {	width:100%;max-width: 100%;border-radius:10px;margin-top:50px;-moz-border-radius: 10px; -webkit-border-radius: 10px; -o-border-radius: 10px;
 }
@media (max-width:600px) {
                        .titulo{
                                width:100%;
								margin-bottom:0px;
								margin-top:10px;
                        }
                    }
.title {width:50%; margin-top:40px;	border-radius: 5px;-moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; }
@media (max-width:600px) {
                        .title{
                                width:100%;
								margin-bottom:-30px;
                        }
                    }
.dudas {float:right; margin-right:70px; width:30%; margin-top:80px;	border-radius: 5px;-moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; }
@media (max-width:600px) {
                        .dudas{
                                width:40%;
								margin-bottom:5px;
								margin-top: 15px;
                        }
                    }
.abubilla {float:left; width:30%; margin-top:200px;	border-radius: 5px;-moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; }
@media (max-width:600px) {
                        .abubilla{
                                width:40%;
								margin-bottom:20px;
								margin-top: 5px;
                        }
                    }
.volver{margin-top:150px;}
@media (max-width:600px) {
                        .volver{
							margin-top:50px;
                        }
                    } 
.bola{margin-top:240px;}
@media (max-width:600px) {
                        .bola{
							margin-top:10px;
							margin-bottom:20px;
                        }
                    }
.ilustraciones{padding:4px;font-size:18px; color:red;margin-top:350px;}
@media (max-width:600px) {
                        .ilustraciones{
							padding:4px;font-size:18px; color:red;margin-top:50px;
                        }
                    }

.agenda{width:60%; padding: 0px 20px 20px 20px;margin-bottom:10px;}
@media (max-width:600px) {
                        .agenda{
							width:50%;
							margin-bottom:5px;
                        }
                    }
.libro{width:100%; padding: 0px 20px 20px 20px;margin-bottom:10px;}
@media (max-width:600px) {
                        .libro{
							width:50%;
							margin-bottom:5px;
                        }
                    }
.libross{margin-top:-150px;}
@media (max-width:600px) {
                        .libross{
							margin-top:15px;
                        }
                    }
.agenda{margin-left:-25px;padding:40px;}
@media (max-width:600px) {
                        .agenda{
							margin-left:0px;
							padding:10px;
                        }
                    }
					
.pelicula{
	margin:50px 20px; max-width:33%; margin-left:33%;						
}
@media (max-width:760px) {
                        .pelicula{
							max-width:100%;
							margin-left:0px;
							margin-top:30px;
							margin-bottom:0px;
                        }
                    }




*{
margin:0;
padding:0;
}
#slider{
margin:15px auto;
box-shadow: 0 .1em 1em black;
-webkit-box-shadow: 0 .1em 1em black;
-moz-box-shadow: 0 .1em 1em black;
-o-box-shadow: 0 .1em 1em black;
}
 
 
/* ESTILOS DEL SLIDESHOW */
 
ul.bjqs{position:relative; list-style:none;padding:0;margin:0;overflow:hidden; display:none; }
li.bjqs-slide{position:absolute; display:none;}
ul.bjqs-controls{list-style:none;margin:0;padding:0;z-index:9999;}
ul.bjqs-controls.v-centered li a{position:absolute;}
ul.bjqs-controls.v-centered li.bjqs-next a{right:0;}
ul.bjqs-controls.v-centered li.bjqs-prev a{left:0;}
ol.bjqs-markers{list-style: none; padding: 0; margin: 0; width:100%;}
ol.bjqs-markers.h-centered{text-align: center;}
ol.bjqs-markers li{display:inline;}
ol.bjqs-markers li a{display:inline-block;}
p.bjqs-caption{display:block;width:96%;margin:0;padding:2%;position:absolute;bottom:0;}
 
 
.bjqs-caption{
color:black;
background:whitesmoke;
opacity:.75;
}
 
/* BOTONERA UBICADA AL PIE DEL SLIDESHOW */
ol.bjqs-markers{
margin-top:35px;
display:none;
}
ol.bjqs-markers li a{
padding: 5px 10px;
background: #000;
color: #fff;
margin: 5px;
text-decoration: none;
transition:background .5s ease;
-webkit-transition:background .5s ease;
-moz-transition:background .5s ease;
-o-transition:background .5s ease;
}
li.active-marker a, ol.bjqs-markers li a:hover{
background:gray!important;
}
 
/* CONTROLES ATRAS Y ADELANTE */
ul.bjqs-controls.v-centered li a {
display: block;
padding: 10px;
background: whitesmoke;
color: #000;
text-decoration: none;
opacity:.75;
display:none;

 
transition:color .5s ease, background .5s ease;
-webkit-transition:color .5s ease, background .5s ease;
-moz-transition:color .5s ease, background .5s ease;
-o-transition:color .5s ease, background .5s ease;
}
ul.bjqs-controls.v-centered li a:hover{
    background:#000;
    color:#fff;
}
.derecha{
	padding-top:-200px;
}


/* ESTILOS LIBRO */

.hard{
	background-color:white;
	outline:grey solid 1px;
}
.page{
	background-color:white;
	outline:grey solid 1px;
}
.book{
	text-align:center;
	margin-top:50px;
	margin-bottom:10px;
}
.paginas{
	width:100%;
	max-width: 100%;
}
.librobody{
	width:80%;
	margin:0% 10% 5% 20%;
}


/* CONTACT FORM */

.form-group{
	border:none;
	outline:none;
}

input.form-control {
	width:80%;
    font-family:Open Sans,sans-serif;
background-image:url('../img/image-form.png');
    color:black;
    padding:15px 20px;	
    outline:none;
    border-radius: 25px;
	margin:3px;
	 font-weight: bold;
}

textarea.form-control {
    font-family:Open Sans,sans-serif;
background-image:url('../img/image-form.png');
    color:black;
    padding:15px 20px;	
    outline:none;
    height:200px;
    border-radius: 25px;
	width:80%;
	margin:3px;
	 font-weight: bold;
}

button.contact.submit {
    background:white;
    font-family:Open Sans,sans-serif;
    color:red;
    font-size:1em;
    font-weight:400;
    text-align:center;
    margin:20px;;
    border:none!important;
    border-radius:3px;
    padding:15px 45px;
	 font-weight: bold;
}

button.contact.submit:hover {
    color:black;
}

.form-control:focus{
    border-color: #563d7c;
    outline: 0;
}

.done {
    display:none;
}
::-webkit-input-placeholder {
 color: #564c4c;
 font-weight: bold;
}
:-moz-placeholder { /* older Firefox*/
 color: #564c4c;
 font-weight: bold;
}
::-moz-placeholder { /* Firefox 19+ */ 
 color: #564c4c;
 font-weight: bold;
} 
:-ms-input-placeholder { 
 color: #564c4c;
 font-weight: bold;
}

/* FOOTER */

.footer{
	padding:30px;
	color:white;
	margin-top:75px;
}
.footer p{
		font-family:arcena;
		font-size:20px;
}

/* PRELOADER */

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: white;
    -webkit-animation: spin 1.7s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.7s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: white;
    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: white;
    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
#loader-wrapper .loader-section {
    position: fixed;
    top: 0;
    width: 51%;
    height: 100%;
    background: black;
    z-index: 1000;
}
 
#loader-wrapper .loader-section.section-left {
    left: 0;
}
 
#loader-wrapper .loader-section.section-right {
    right: 0;
}
#loader {
    z-index: 1001; /* anything higher than z-index: 1000 of .loader-section */
}
/* Loaded */
.loaded #loader-wrapper .loader-section.section-left {
    -webkit-transform: translateX(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(-100%);  /* IE 9 */
    transform: translateX(-100%);  /* Firefox 16+, IE 10+, Opera */
}
 
.loaded #loader-wrapper .loader-section.section-right {
    -webkit-transform: translateX(100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(100%);  /* IE 9 */
    transform: translateX(100%);  /* Firefox 16+, IE 10+, Opera */
}
.loaded #loader {
    opacity: 0;
}
.loaded #loader-wrapper {
    visibility: hidden;
}
.loaded #loader {
    opacity: 0;
    -webkit-transition: all 0.3s ease-out; 
            transition: all 0.3s ease-out;
}
.loaded #loader-wrapper {
        -webkit-transform: translateY(-100%);
            -ms-transform: translateY(-100%);
                transform: translateY(-100%);
 
        -webkit-transition: all 0.3s 0.6s ease-out; 
                transition: all 0.3s 0.6s ease-out;
}
.no-js #loader-wrapper {
    display: none;
}
.no-js h1 {
    color: #222222;
}


/* CUENTO NAVIDAD */

.cabecera-libro{
	display: flex;
	align-items: center;
}

.cuento-navidad-portada{
	max-width:700px;
	margin:0 auto;
	margin-bottom:30px;
}

.cuento-row{
	align-items: center;
}

.cuento-row-languages{
	display: flex;
    justify-content: center;
}

.idioma-container{
	margin-top:10px;
	display: flex;
    align-items: center;
	justify-content: center;
}

.cuento-row audio {
    width: 350px;
    height: 40px;
}

.idioma-btn{
	margin-right:20px;
}

.idioma-btn img{
	max-width:50px;
}
