@charset:UTF8;

@font-face {  /*Carga la tipografía estándar de la página */
    font-family: 'open';
    src: url('YanoneKaffeesatz-Light.ttf');	
}

/*
	Fondo Gris= #CCC
*/
/*
***********************************************************************
***********************************************************************
******                                                          *******
******                   Común a toda la web                    *******
******                                                          *******
***********************************************************************
***********************************************************************
*/

body, html {
	width: 100%;
	margin: 0;
	padding: 0px;
	font-family: open, verdana;
	font-size: 24px;
	color:#000;
}/* Es el tipo de letra estándar para toda la página */

a:link{/* Evita que los enlaces se pongan de estilo distinto por la configuración del navegador */
	text-decoration:none;	}
a {/* Evita que los enlaces se pongan de color distinto por la configuración del navegador */
	color:inherit; }
ul {/*Resetea el padding para aplicar el propio de cada botón del menú.
	Si no, mete 40px, dependiendo del navegador */
	-webkit-padding-start: 0px; }

/*
***********************************************************************
***********************************************************************
******                                                          *******
******                         Cabecera                         *******
******                                                          *******
***********************************************************************
***********************************************************************
*/
	#cont_cab{ /* Es el contenedor de la cabecera*/
		width:100%;
		min-width:480px;
		height:100px;
		border-bottom-style:inset;
		border-bottom: 1px solid #FFF;
/*		background-color:#CCC;*/
/*
		background: #355E3B;
		background: #356E4B;
		background: #357E4B;
*/
		background: #358E4B;

	}
	
	#logo{ /* Es el div que contiene el logo de la escuela: la fusa */
		float:left;
		width:50px;
	}

	#logo:hover{ /* Es el div que contiene el logo de la escuela al pasar el ratón por encima */
		cursor:pointer;
	}

	#imalogo{ /*Es la imagen del logo de la cabecera: La fusa */
		margin: 5px 0 0 5px;
		height: 90px;
	}
	
	#titulillo{ /* Es el título de la cabecera: Amadeus-Escuela de música */
		float: left; 
		font-size: 45px;
		padding-left: 10px;
		color:#000;
	}
	
	#insta{ /* Es la tabla de síguenos en Instagram */
		float: right; 
		font-size: 20px;
		padding-left: 10px;
		color:#FFF;
	}
	
	#menuEs{ /* Es la clase del menú principal de la cabecera: Inicio | Las Clases | ... */
		position: absolute;
		top: 40px ;
		left:50px;
		opacity: 1;
		visibility: visible;
		width: 100%;
		height: 51px;
	}

	.li { /* Es el estilo estandar de los botones del menú de la cabecera */
		float:left;
		margin-left: 10px;
		margin-top: 2px;
		color:#FFF;
		font-family: open, verdana ;
		font-weight:bold;
		text-decoration: none ;
		text-align: center ;
		border: 1px ;
		border-top-left-radius: 7px;
		border-top-right-radius: 7px;
		font-size: 16px ;
		display: block ;
		padding: 5px ;
		background-color: #AAA ;
		border-color: #fff ;
		border-style: solid ;

		border-bottom-width: 5px ;
		border-bottom-style: solid ;
		border-bottom-color: #fff ; 
	}

	.li:hover { /* Es el estilo 'OnMouseOver' de los botones del menú de la cabecera */
		border-bottom-width: 5px ;
		border-bottom-style: solid ;
		border-bottom-color: #ffb700 ; 
		color:#0098ec ;
		background-color: #fff ;
	}

	.liSel {/* Es el estilo 'activo' de los botones del menú de la cabecera */
		float:left;
		margin-left: 10px;
		margin-top: 2px;
		color:#0098ec;
		font-family: open, verdana ;
		font-weight:bold;
		text-decoration: none ;
		text-align: center ;
		border: 1px ;
		border-top-left-radius: 7px;
		border-top-right-radius: 7px;
		font-size: 16px ;
		display: block ;
		padding: 5px ;
		background-color: #FFF ;
		border-color: #fff ;
		border-style: solid ;

		border-bottom-width: 5px ;
		border-bottom-style: solid ;
		border-bottom-color: #00A ; 
	}

/*
***********************************************************************
***********************************************************************
******                                                          *******
******                     Cuerpo del Index                     *******
******                                                          *******
***********************************************************************
***********************************************************************
*/
.carta{ 
	width:240px;
	height:320px;
	margin:10px;
	float:none;
}
.anverso{ /* Es Iframe el contenedor de las páginas secundarias */
	position:absolute;
	top:110px;
	padding:5px;
	border-radius:20px;
	left:5px;
	width:98%;
	min-width:480px;
	height:70%;
	min-height:320px;
	overflow: hidden;
	visibility:visible;
	backface-visibility:hidden;
	opacity:1;
	background-color: #FFF;
	background-image:url(fondomusic3.svg);
	background-size: 100% auto;
	background-repeat:repeat;

	-webkit-transform: perspective( 3000px ) rotateY( 0deg );
	transform: perspective( 3000px ) rotateY( 0deg );

	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: -webkit-transform 1.5s linear 0s;
	transition: transform .5s linear 0s;

/*	-webkit-animation: backgroundScroll 999999s linear infinite;
	animation: backgroundScroll 999999s linear infinite;
*/
}

.reverso{ /* Es Iframe el contenedor de las páginas secundarias */
	position:absolute;
	top:110px;
	padding:5px;
	border-radius:20px;
	left:5px;
	width:98%;
	min-width:480px;
	height:70%;
	min-height:320px;
	overflow: hidden;
	visibility:visible;
	backface-visibility:hidden;
	opacity:1;
	background-color: #FFF;
	background-image:url(fondomusic3.svg);
	background-size: 100% auto;
	background-repeat:repeat;

	-webkit- transform: perspective( 3000px ) rotateY( 180deg );
	transform: perspective( 3000px ) rotateY( 180deg );

	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: -webkit- transform 1.5s linear 0s;
	transition: transform .5s linear 0s;

/*	-webkit-animation: backgroundScroll 999999s linear infinite;
	animation: backgroundScroll 999999s linear infinite;
*/
}
/*
***********************************************************************
***********************************************************************
******                                                          *******
******                           Pie                            *******
******                                                          *******
***********************************************************************
***********************************************************************
*/
#pie{
	position:absolute;
	bottom:0px;
	left:0px;
	width:100%;
	min-width: 480px;
	height:60px;
	background-color:#555;
	background-image:url(fondomusic3.svg);
	background-position: 0% -4%;
	background-size: auto 250px;
	background-repeat:repeat-x;
	color:#fff;
	font-size:16px;
	text-align:center;
	display: inline-block;
	vertical-align: middle;
	line-height: 20px;
}

/*
***********************************************************************
***********************************************************************
******                                                          *******
******              Común a las páginas secundarias             *******
******                                                          *******
***********************************************************************
***********************************************************************
*/

header{ /* Es la cabecera de las páginas secundarias donde pone el´título de la misma (subtítulo)*/
	width:100%;
	display:inline-block;
	border-bottom:1px solid;
	border-color:#000;
	background-color: #CCC;
}

.logo_part{ /*Es el estilo del texto de cabecera cada página secundaria */ 
	float:left;
	font-family:open, verdana ;
	font-size:1.7em;	
	margin-left:20px;
}

section{ /*Es el contenedor del texto y la imagen de cada página secundaria */ 
	display:inline-block;
	margin-top:10px;
	width:100%;
}

.ima{ /* Es elestilo de la imagen que adorna cada página secundaria */
	float:left;
	width:20%;
	margin-right:5px;
}
.texto{ /* Es el estilo de texto estándar común a todas las páginas secundarias*/
	width:100%;
	height:100%;
	font-family:open, verdana ;
	font-size:1.1em;
	font-weight: bold; 	
	color:#000;
}

/*
***********************************************************************
***********************************************************************
******                                                          *******
******                        Las Clases                        *******
******                                                          *******
***********************************************************************
***********************************************************************
*/

#clases{ /*Es el contenedor del texto de las clases para asegurar que empiece bajo la imagen*/
	clear:both;
}

.vinieta{ /*elimina los bullets de la lista*/
	list-style-type: none;
}

#lista{ /* Es el estilo de la lista de puntos para clases e instrumentos */
	width:90%;
	min-width: 380px;
	margin-left:10px;
}

li.leaf { /* Sustituye el bullet por la fusa negra*/
background: url('../recursos/fusa_negra.svg') no-repeat left top; 
background-size: auto 27px;
height:30px;
padding-left: 30px;
padding-top: 2px;
margin-left:20px;
}

/*
***********************************************************************
***********************************************************************
******                                                          *******
******                      Dónde Estamos                       *******
******                                                          *******
***********************************************************************
***********************************************************************
*/
#mapa{ /* Es el Iframe que contiene el mapa de Google */
	width:30%;
}

/*
***********************************************************************
***********************************************************************
******                                                          *******
******                         Contacto                         *******
******                                                          *******
***********************************************************************
***********************************************************************
*/

form{ /* Estilo del formulario */
  width:50%;
  min-width: 240px;
  margin: auto;
  background: rgba(0,0,5,0.4);
  padding: 10px 20px; 
  box-sizing: border-box;
  margin-top: 20px;
  border-radius: 7px;
}

input, textarea{ /* Estilo de los campos del formulario */
  width:100% ;
  margin-bottom: 20px;
  padding: 7px;
  box-sizing: border-box;

}

textarea{ /* Estilo del campo del mensaje para ampliarlo verticalmente */
  min-height: 100px;
  max-height: 200px;
  max-width: 100%;
}

#boton{ /* Estilo 'normal' del botón de envío de contacto */
  background-color: #004;
  color: #fff;
  padding: 10px;
  text-align: center;
  border: 2px solid;
  border-top-color: #fff;
  border-left-color: #fff;
  border-bottom-color: #444;
  border-right-color: #444;
}

#boton:hover{ /* Estilo 'OnMouseOver' del botón de envío de contacto */
  cursor: pointer;
  background-color: #054;
  border: 2px solid;
  border-top-color: #444;
  border-left-color: #444;
  border-bottom-color: #FFF;
  border-right-color: #FFF;
}

/*
***********************************************************************
***********************************************************************
******                                                          *******
******                         Galería                          *******
******                                                          *******
***********************************************************************
***********************************************************************
*/

#rewind{
	float:left;
	width:50%;
	height:60px;
	min-width:100px;
	alignment-adjust:middle;
	text-align:center;
}
#central{
	clear:both;
	margin-top:10px;
	max-width: 750px;
	min-width: 100px;
	max-height: 500px;
	margin-left: auto;
	margin-right: auto;
}
#fotoactual{
	width:100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: auto;
	border-radius:10px;
	background-color:#999;
    -webkit-transition: opacity 1.5s ;
    -moz-transition: opacity 1.5s ;
    -o-transition: opacity 1.5s ease ;
    transition: opacity 1.5s ease ;
}


#ffwd{
	float:right;
	width:50%;
	height:60px;
	min-width:100px;
	alignment-adjust:middle;
	text-align:center;
}

.boton_ss{
	width:50px;
	height:50px;
	margin-top:10px;
	vertical-align:middle;
}





/*
***********************************************************************
***********************************************************************
******                                                          *******
******                         Cabecera                         *******
******                                                          *******
***********************************************************************
***********************************************************************
*/



@media only screen and (max-width: 480px){

	#cont_cab{ /* Es el contenedor de la cabecera*/
		width:100%;
		min-width:480px;
		height:58px;
		border-bottom-style:inset;
		border-bottom: 1px solid #FFF;
		background-color:#CCC;
	}
	
	#logo{ /* Es el div que contiene el logo de la escuela: la fusa */
		float:left;
		width:30px;
	}

	#logo:hover{ /* Es el div que contiene el logo de la escuela al pasar el ratón por encima */
		cursor:pointer;
	}

	#imalogo{ /*Es la imagen del logo de la cabecera: La fusa */
		margin: 5px 0 0 5px;
		height: 50px;
	}
	
	#titulillo{ /* Es el título de la cabecera: Amadeus-Escuela de música */
		float: left; 
		font-size: 24px;
		padding-left: 10px;
	}
	
	#menuEs{ /* Es la clase del menú principal de la cabecera: Inicio | Las Clases | ... */
		position: absolute;
		top: 10px ;
		left:30px;
		opacity: 1;
		visibility: visible;
		width: 480px;
		height: 51px;
	}

	.li { /* Es el estilo estandar de los botones del menú de la cabecera */
/*		float:left;
*/		margin-left: 2px;
		margin-top: 2px;
		color:#FFF;
		font-family: open, verdana ;
		text-decoration: none ;
		text-align: center ;
		border: 1px ;
		border-top-left-radius: 7px;
		border-top-right-radius: 7px;
		font-size: 10px ;

/*    writing-mode: vertical-lr;
    transform: rotate(180deg);
*/
		display: block ;
		padding: 2px ;
		background-color: #AAA ;
		border-color: #fff ;
		border-style: solid ;

		border-bottom-width: 5px ;
		border-bottom-style: solid ;
		border-bottom-color: #fff ; 
	}

	.li:hover { /* Es el estilo 'OnMouseOver' de los botones del menú de la cabecera */
		border-bottom-width: 5px ;
		border-bottom-style: solid ;
		border-bottom-color: #ffb700 ; 
		color:#0098ec ;
		background-color: #fff ;
	}

	.liSel {/* Es el estilo 'activo' de los botones del menú de la cabecera */
		float:left;
		margin-left: 2px;
		margin-top: 2px;
		color:#0098ec;
		font-family: open, verdana ;
		text-decoration: none ;
		text-align: center ;
		border: 1px ;
		border-top-left-radius: 7px;
		border-top-right-radius: 7px;
		font-size: 10px ;

		display: block ;
		padding: 2px ;
		background-color: #FFF ;
		border-color: #fff ;
		border-style: solid ;

		border-bottom-width: 5px ;
		border-bottom-style: solid ;
		border-bottom-color: #00A ; 
	}



/*
***********************************************************************
***********************************************************************
******                                                          *******
******                     Cuerpo del Index                     *******
******                                                          *******
***********************************************************************
***********************************************************************
*/
.carta{ 
	width:240px;
	height:320px;
	margin:10px;
	float:none;
}
.anverso{ /* Es Iframe el contenedor de las páginas secundarias */
	position:absolute;
	top:65px;
	padding:5px;
	border-radius:20px;
	left:5px;
	width:98%;
	min-width:240px;
	height:70%;
	min-height:240px;
	overflow: hidden;
	visibility:visible;
	opacity:1;
	background-color: #FFF;
	background-image:url(fondomusic3.svg);
	background-size: 100% auto;
	background-repeat:repeat;

	-webkit-transform: perspective( 3000px ) rotateY( 0deg );
	transform: perspective( 3000px ) rotateY( 0deg );

	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: -webkit-transform 1.5s linear 0s;
	transition: transform .5s linear 0s;

	-webkit-animation: backgroundScroll 999999s linear infinite;
	animation: backgroundScroll 999999s linear infinite;

}

.reverso{ /* Es Iframe el contenedor de las páginas secundarias */
	position:absolute;
	top:65px;
	padding:5px;
	border-radius:20px;
	left:5px;
	width:98%;
	min-width:240px;
	height:70%;
	min-height:240px;
	overflow: hidden;
	visibility:visible;
	opacity:1;
	background-color: #FFF;
	background-image:url(fondomusic3.svg);
	background-size: 100% auto;
	background-repeat:repeat;

	-webkit- transform: perspective( 3000px ) rotateY( 180deg );
	transform: perspective( 3000px ) rotateY( 180deg );

	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: -webkit- transform 1.5s linear 0s;
	transition: transform .5s linear 0s;

	-webkit-animation: backgroundScroll 999999s linear infinite;
	animation: backgroundScroll 999999s linear infinite;

}
/*
***********************************************************************
***********************************************************************
******                                                          *******
******                           Pie                            *******
******                                                          *******
***********************************************************************
***********************************************************************
*/
#pie{
	position:absolute;
	bottom:0px;
	width:100%;
	min-width: 240px;
	height:60px;
	background-color:#555;
	background-image:url(fondomusic3.svg);
	background-position: 0% -4%;
	background-size: auto 250px;
	background-repeat:repeat-x;
	color:#fff;
	font-size:10px;
	text-align:center;
	display: inline-block;
	vertical-align: middle;
	line-height: 20px;
}


}




@-webkit-keyframes backgroundScroll {
from {background-position: 0 0;}
to {background-position: -99999999px 0;}
}

@keyframes backgroundScroll {
from {background-position: 0 0;}
to {background-position: -99999999px 0;}
}
