@font-face {
  font-family: 'Segoe Script';
  src: url('font/SegoeScript-Bold.eot');
  src: url('font/SegoeScript-Bold.eot?#iefix') format('embedded-opentype'),
    url('font/SegoeScript-Bold.woff') format('woff'),
    url('font/SegoeScript-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/*MAIN*/
body { 
	font-size: 1.25em;
	line-height: 1.25em;
	font-family: 'Abel', sans-serif;
	background: #f9f9f9;
	color: #555;
}

p.small {
  font-size: 0.35em;
}

a {

	color: #4C9CF1;
	text-decoration: none;
	font-weight: bold;

}

a:hover {

	color: #444;

}

img {

	width: 100%;

}

header {

	background: #fff;
	width: 100%;
	height: 76px;
	position: fixed;
	top: 0;
	left: 0;
	border-bottom: 4px solid #4C9CF1;
	z-index: 100;

}

#logo{
  width: 50%;
  /*
font-family: 'Zeyada', cursive; */
/*font-family: 'Over the Rainbow', cursive;*/
    font-family: 'Trocchi', serif;
   font-size: 50px;
    line-height: 1.5;
    margin-left: 25px;
/*
	margin: 20px;
	
	width: 494px;
	height: 40px;
	background: url(../img/logo.png) no-repeat center;
	display: inline-block;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;*/

}

nav {

	display: inline-block;
	padding: 20px;	
	position: absolute;
    right: 0;
	
}

#menu-icon {

	display: hidden;
	width: 40px;
	height: 40px;
	background: #4C8FEC url(../img/menu-icon.png) center;

}

a:hover#menu-icon {

	background-color: #444;
	border-radius: 4px 4px 0 0;

}

ul {

	list-style: none;

}

li {

	display: inline-block;
	
	padding: 10px

}

.current {

	color: #2262AD;

}

section {
    margin: 80px auto 40px;
	max-width: 980px;
	position: relative;
	padding: 0px

}

h1 {

	font-size: 2em;
	color: #2262AD;
	line-height: 0.75em;
	margin: 20px 0 ;

}

p {

	line-height: 1.45em;
	margin-bottom: 0px;

}
form{
	padding:2%;
width: 95%;
background-color: rgba(0,113,188,0.5);

color: white;
border-radius: 5px;
}
form input{
	font-family: 'Abel', sans-serif;
	width: 95%;
	
		height: 40px;

}
textarea{
	font-family: 'Abel', sans-serif;
	width: 95%;
}
#button-blue{
	background-color: dodgerblue;
	width: 50%;
	margin-left: 50%;
	color: white;
}
footer{
  font-size: .6em;
  margin-left: 15%;
  width:70%;
  position: fixed;
  height: 50px;
  bottom:0;
 text-align: center;
  border-radius: 15px 15px 0 0 ;
  background-color: white;
  border-top: 2px solid cornflowerblue ;
}
#viewer{
    position: relative;
    width: 100%;
    
}
#visor img{
    width:100%;
}
#visor h2 {
    margin-left: 25px;
    margin-top: 225px;
    font-family: 'Oswald', sans-serif;
    font-size: 65px;
    position: absolute;
    z-index: 90;
    color: white;
    /* text-shadow: 1px 0 0 black, -1px 0 0 black, 0 1px 0 black, 0 -1px 0 black;*/
      text-shadow: 0 0 13px black, 0 0 15px white;


}
#visor span{
    text-align: right;
    margin-left: 35px;
    margin-top: 350px;
    font-family: 'Oswald', sans-serif;
    font-size: 50px;
    position: absolute;
    z-index: 90;
    color: white;
    /*  text-shadow: 1px 0 0 black, -1px 0 0 black, 0 1px 0 black, 0 -1px 0 black;*/
      text-shadow: 0 0 13px black, 0 0 15px white;


}
/*subir arriba*/
.go-top {
  position: fixed;
  bottom: 2em;
  right: 2em;
  text-decoration: none;
  color: #fff;
  background-color: cornflowerblue;
  opacity: 0.8;
 
  padding: .5em;
  display: none;
  z-index: 99;
}

.go-top:hover {
 background-color: cornflowerblue;
  opacity: 0.5;
}
/* Codigo para la política de cookies*/

#cookies {
    width: 90%;
    margin: auto;
    color:dodgerblue; 
}
#cookies h2 {

} 

.btn_cookies {
    padding: .5%;
    border-radius: 3px;
    font-family: 'Lato', sans-serif;
    background-color:  dodgerblue ;
    color: white;
}
.btn_cookies:hover{
  background-color: white;
  color: dodgerblue ;
}
#cookies a.enlace{
    text-decoration: none;
    color: lightseagreen;
    font-weight: bold;
    font-size: 1.4em;
}
/* CSS para la animación y localización de los DIV de cookies */

@keyframes desaparecer {
    0% {
        bottom: 0px;
    }
    80% {
        bottom: 0px;
    }
    100% {
        bottom: -50px;
    }
}
@-webkit-keyframes desaparecer
/* Safari and Chrome */

{
    0% {
        bottom: 0px;
    }
    80% {
        bottom: 0px;
    }
    100% {
        bottom: -50px;
    }
}
@keyframes aparecer {
    0% {
        bottom: -38px;
    }
    10% {
        bottom: 0px;
    }
    90% {
        bottom: 0px;
    }
    100% {
        bottom: -38px;
    }
}
@-webkit-keyframes aparecer
/* Safari and Chrome */

{
    0% {
        bottom: -38px;
    }
    10% {
        bottom: 0px;
    }
    90% {
        bottom: 0px;
    }
    100% {
        bottom: -38px;
    }
}
#cookiesms1:target {
    display: none;
}
.cookiesms {

    width: 100%;
    height: 43px;
    margin: 0 auto;
    padding-left: 1%;
    padding-top: 5px;
    font-size: .85em;
    clear: both;
    font-weight: bold;
    color:grey; 
    bottom: 0px;
    position: fixed;
    left: 0px;
    background-color: lightgray    ;
    
    filter: alpha(opacity=70);
    /* For IE8 and earlier */
    
    transition: bottom 1s;
    -webkit-transition: bottom 1s;
    /* Safari */
    
    -webkit-box-shadow: 3px -3px 1px rgba(50, 50, 50, 0.56);
    -moz-box-shadow: 3px -3px 1px rgba(50, 50, 50, 0.56);
    box-shadow: 3px -3px 1px rgba(50, 50, 50, 0.56);
    z-index: 999999999;
}
#cookie1.cookiesms a {
    font-weight: bold;
    color: dodgerblue ;
    text-decoration: none;
}
.cookiesms:hover {
    bottom: 0px;
}
.cookies2 {
    background-color: lightgray   ;
    display: inline;
    opacity: 0.95;
    filter: alpha(opacity=95);
    position: absolute;
    left: 1%;
    top: -30px;
    font-size: 15px;
    height: 30px;
    padding-left: 25px;
    padding-right: 25px;
    -webkit-border-top-right-radius: 15px;
    -webkit-border-top-left-radius: 15px;
    -moz-border-radius-topright: 15px;
    -moz-border-radius-topleft: 15px;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    -webkit-box-shadow: 3px -3px 1px rgba(50, 50, 50, 0.56);
    -moz-box-shadow: 3px -3px 1px rgba(50, 50, 50, 0.56);
    box-shadow: 3px -3px 1px rgba(50, 50, 50, 0.56);
}
/* Fin del CSS para cookies */
#politica-cookies,#aviso-legal{
    width: 80%;
    margin: auto;
}
#politica-cookies p,#aviso-legal p{
        font-family: 'Abel', sans-serif;

    }
    #politica-cookies a.volver, #aviso-legal a.volver {
 top: 0;
    right:10px;
    position: fixed;
    background-color:#4C9CF1;
    opacity: .6; 
    color: white;
    padding: 1%;
text-decoration: none;
border-radius: 0 0 15px 15px;
}


/*MEDIA QUERY*/
@media only screen and (max-width : 1047px) {
#visor h2{

    font-size:55px;
     margin-top: 125px;
     line-height: .8;
    }
    #visor span{

    font-size:55px;
     margin-top: 125px;
     line-height: .8;
    }
    #visor span{
   
    margin-top: 250px;
    font-family: 'Oswald', sans-serif;
    font-size: 35px;
}
footer h1{
    font-size: 20px;
}
}



@media only screen and (max-width : 640px) {

	header {

		position: absolute;

	}
#logo{
  line-height: 2.75;
  font-size: 30px;
}
	#menu-icon {

		display:inline-block;

	}

	nav ul, nav:active ul { 

		display: none;
		position: absolute;
		padding: 50px;
		background: #fff;
		border: 5px solid #444;
		right: 20px;
		top: 60px;
		
		border-radius: 4px 0 4px 4px;

	}

	nav li {

		text-align: center;
		width: 100%;
		padding: 10px 0;
		margin: 0;

	}

	nav:hover ul {

		display: block;

	}
    #visor h2{

    font-size:55px;
     margin-top: 75px;
     line-height: .8;
    }
    #visor span{

    font-size:25px;
     margin-top: 175px;
     line-height: .8;
    }
 
footer h1{
    font-size: 15px;
}


@media only screen and (max-width : 480px) {
  #logo{
    font-size: 24px;
    line-height:3.2;
  }
  }}