/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,  del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{
  margin:0;
  padding:0;
  text-decoration:none;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  outline:none;
  border:none;
  font-size: 100%;
  list-style:none;
  color:#000;
  vertical-align: baseline;
  -webkit-text-size-adjust:none;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
    box-sizing: border-box;
}
:focus { outline: 0;}
a, a:link, a:visited, a:hover, a:active{text-decoration:none}
table { border-collapse: separate;border-spacing: 0;}
th, td {text-align: left; font-weight: normal;}

html{
  position: absolute;
  width:100%;
  min-height:100%;
}

body{
  position: absolute;
  width:100%;
  min-height:100%;
  margin:0;
  padding:0;
}

/*---------------------------------------------------------------------RESET---------------------------------------------------------*/

/*-------------------------------------------------------------------------------------*/
/*-------------------------------------------------INTRODUCCIÓN-------------------*/

body{
    font-family: "Wire One", "Century Gothic","Helvetica", sans-serif;
    font-weight: 700;
     font-size: 40px;
}

.wrapper{
    width:95%;
    height: 562px;
}

.alto-ventana{
  min-height: 500px;
}

header{
  z-index: 9999;
  position: relative;
}

.principal{
  position:absolute;
  float: left;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  margin-top: 37px;
  margin-left: 4%;
  margin-right: 20%;
}

nav ul li{
    width: 70px;
    height: 70px;
    list-style: none;
    float:right;   
}

.medio{
  width: 60px;
  height: 60px;
  border-radius: 0px;
  background-color: transparent;
  border-bottom: 6px #000 solid;
  margin-top: -22px;
}

nav ul li:hover, nav ul li:active{
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
    border-color:  #d495d6;
}

li.medio:hover, li.medio:active{
    -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
    border-color: #000;
}

.menu{
  width: 50px;
  height: 50px;
  display:none;
  background-image: url(images/fa.png);
  background-repeat: no-repeat;
  background-size: 90%;

}

.fa{
  font-size: 40px;
  color: #000;
}

.secundario{
  display: none;
  width: 40%;
  height: auto;
  background-color: #FFF;
  position: absolute;
  left: 690px;
  top: 0px;
}


#sobremi{
  background-image: url(../img/bigbang.png);
  background-repeat: no-repeat;
  background-size: 65px;
  background-position: 1px;
  border-radius:100px;
  border: 3px #000 solid;
}

#futurismo{
  background-image: url(../img/dinosaurio.png);
  background-repeat: no-repeat;
  background-size: 60px;
  background-position: 0;
  border-radius:100px;
  border: 3px #000 solid;
  }

#presente{
  background-image: url(../img/prehistoria.png);
  background-repeat: no-repeat;
  background-size: 33px;
  background-position: 17px;
  border-radius:100px;
  border: 3px #000 solid;
}

#sxix{
  background-image: url(../img/vikingo.png);
  background-repeat: no-repeat;
  background-size: 56px;
  background-position: 4px;
  border-radius:100px;
  border: 3px #000 solid;
}

#rrcc{
  background-image: url(../img/rrcc.png);
  background-repeat: no-repeat;
  background-size: 58px;
  background-position: 2px;
  border-radius:100px;
  border: 3px #000 solid;
}

#vikingo{
  background-image: url(../img/sxix.png);
  background-repeat: no-repeat;
  background-size: 58px;
  background-position: 4px;
  border-radius:100px;
  border: 3px #000 solid;
}

#prehistoria{
  background-image: url(../img/barrio.png);
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: 10px;
  border-radius:100px;
  border: 3px #000 solid;
}

#dinosaurio{
  background-image: url(../img/futurismo.png);
  background-repeat: no-repeat;
  background-size: 67px;
  background-position: 7px;
  border-radius:100px;
  border: 3px #000 solid;
}

#inicio{
  width: 85px;
  height: 85px;
  background-image: url(../img/sobremi.png);
  background-repeat: no-repeat;
  background-size: 65px;
  background-position: 10px;
  margin-top: -6px;
  border-color:  #80E7E3;
  border-radius:100px;
  border: 3px #FE08BE solid;
}

#inicio:hover{
    -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}

.jimgMenu {
  position: absolute;
  width: 670px;
  height: 200px;
  overflow: hidden;
  top:0;
  bottom:0;
  left:0;
  right:0;
  margin:auto;
  z-index: 1;
}

.jimgMenu ul {
	list-style: none;
	margin: 0px;
	display: block;
	height: 200px;
	width: 1340px;
	
	}

.jimgMenu ul li {
	float: left;
}

.jimgMenu ul li a {
	text-indent: -1000px;
	background:#FFFFFF none repeat scroll 0%;
	border-right: 2px solid #fff;
	cursor:pointer;
	display:block;
	overflow:hidden;
	width:78px;
	height: 200px;
}

.jimgMenu ul li.landscapes a {
	background: url(images/prueba_c.png) repeat scroll 0%;
}

.jimgMenu ul li.people a {
	background: url(images/prueba_b.png) repeat scroll 0%;
}

.jimgMenu ul li.nature a {
	background: url(images/prueba_a.png) repeat scroll 0%;
}
.jimgMenu ul li.abstract a {
	background: url(images/prueba_d.png) repeat scroll 0%;
	min-width:310px;
}

.popup_revista,.popup_libro,.popup_escenografia,.popup_carteleria{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 100000;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
}

.caja{
  width:800px;
  height: 500px;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  margin:auto;
}

#boton_cerrar1, #boton_cerrar2, #boton_cerrar3, #boton_cerrar4{
    width: 22px;
    margin-top: 20px;
    float: right;
}

#revista{
  height: auto;
  float: left;
  margin-top: 60px;
  width: 451px;
}

#cocodrilo{
  height: auto;
  margin-top: -325px;
  width: 350px;
  float: right;
}

#submarino{
  height: auto;
  float: right;
  width: 350px;
  margin-top: -19%;
}

.clearfix{
    clear:both;
}


#libro{
  width: 505px;
  height: 430px;
  float: left;
}

#molinillo{
  width: 293px;
  height: 431px;
  float: right;
  margin-top: -430px;
}

#escenografia{
  width: 800px;
  height: 350px;
}

#boton_cerrar3{
    width:22px;
    margin-left: 14px;
    margin-top: 12px;
}

#cartel{
  width:362px;
  height:378px;
  float:left;
}

#marquesina{
  float: right;
  margin-top: -378px;
  width: 443px;
}

#boton_cerrar4{
    width: 22px;
    margin-top: 5px;
    margin-left: -403px;
}

/*-------------------------------------------------------------------------------*/
@media only screen and (max-width: 1539px) {

nav{
  width: 124%;
  -webkit-transform:scale(0.8);
    -moz-transform:scale(0.8);
    -ms-transform:scale(0.8);
    transform:scale(0.8);
    margin-left: -87px;
}

li{
  -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
}

.medio{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}

.medio:hover{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}
}

@media only screen and (max-width: 1242px) {

nav{
  width: 154%;
  -webkit-transform:scale(0.8);
    -moz-transform:scale(0.8);
    -ms-transform:scale(0.8);
    transform:scale(0.8);
    margin-left: -234px;
}

li{
  -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
}

.medio{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}

.medio:hover{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}
}

@media only screen and (max-width: 1027px) {

nav{
  width: 202%;
  -webkit-transform:scale(0.6);
    -moz-transform:scale(0.6);
    -ms-transform:scale(0.6);
    transform:scale(0.6);
    margin-left: -437px;
    margin-top: 0;
}

li{
  -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
}

.medio{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}

.medio:hover{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}
}

@media only screen and (max-width: 834px) {
 .principal{
  display:none;
 }

 .menu {
  display: inline-block;
   margin-top:32px;
   margin-left:388px
 }

 .secundario{
  width: 47%;
  margin-top: -8px;
  margin-left: 487px;
 }

 .secundario li{
  float:left;
  border: none;
  width: 80px;
  height: 80px;
  margin-top: 8px;
 }


 #sobremi{
  background-image: url(../img/bigbang.png);
  background-repeat: no-repeat;
  background-size: 75px;
  background-position: 1px;
  margin-left: -18px;
      border: none;
}

#futurismo{
  background-image: url(../img/dinosaurio.png);
  background-repeat: no-repeat;
  background-size: 77px;
  background-position: 4px;
      border: none;
}

#inicio:hover{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform: scale(1);
}
 #presente{
  background-image: url(../img/prehistoria.png);
  background-repeat: no-repeat;
  background-size: 73px;
  background-position: 17px;
      border: none;
}

#sxix{
  background-image: url(../img/vikingo.png);
  background-repeat: no-repeat;
  background-size: 76px;
  background-position: 4px;
      border: none;
}

#rrcc{
  background-image: url(../img/rrcc.png);
  background-repeat: no-repeat;
  background-size: 78px;
  background-position: 2px;
      border: none;
}

#vikingo{
  background-image: url(../img/sxix.png);
  background-repeat: no-repeat;
  background-size: 78px;
  background-position: 4px;
      border: none;
}

#prehistoria{
  background-image: url(../img/barrio.png);
  background-repeat: no-repeat;
  background-size: 70px;
  background-position: 10px;
      border: none;
}

#dinosaurio{
  background-image: url(../img/futurismo.png);
  background-repeat: no-repeat;
  background-size:70px;
  background-position: 10px;
      border: none;
}

#inicio{
  background-image: url(../img/sobremi.png);
  background-repeat: no-repeat;
  background-size: 70px;
  background-position: 10px;
      border: none;
}
}


@media only screen and (max-width: 516px) {
 .principal{
  display:none;
 }

 .menu {
  display: inline-block;
   margin-top:30px;
   margin-left: 550px;
 }

 .secundario{
  width: 66%;
  margin-top: -30px;
  margin-left: 603px;
 }

 .secundario li{
  float:left;
  border: none;
  width: 70px;
  height: 70px;
  margin-top: 8px;
 }


 #sobremi{
  background-image: url(../img/bigbang.png);
  background-repeat: no-repeat;
  background-size: 65px;
  background-position: 1px;
  margin-left: -18px;
      border: none;
}

#futurismo{
  background-image: url(../img/dinosaurio.png);
  background-repeat: no-repeat;
  background-size: 67px;
  background-position: 4px;
      border: none;
}

#inicio:hover{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform: scale(1);
}
 #presente{
  background-image: url(../img/prehistoria.png);
  background-repeat: no-repeat;
  background-size: 33px;
  background-position: 17px;
      border: none;
  
}

#sxix{
  background-image: url(../img/vikingo.png);
  background-repeat: no-repeat;
  background-size: 66px;
  background-position: 4px;
      border: none;
}

#rrcc{
  background-image: url(../img/rrcc.png);
  background-repeat: no-repeat;
  background-size: 68px;
  background-position: 2px;
      border: none;
}

#vikingo{
  background-image: url(../img/sxix.png);
  background-repeat: no-repeat;
  background-size: 68px;
  background-position: 4px;
      border: none;
}

#prehistoria{
  background-image: url(../img/barrio.png);
  background-repeat: no-repeat;
  background-size: 60px;
  background-position: 10px;
      border: none;
}

#dinosaurio{
  background-image: url(../img/futurismo.png);
  background-repeat: no-repeat;
  background-size:60px;
  background-position: 10px;
      border: none;
}

#inicio{
  background-image: url(../img/sobremi.png);
  background-repeat: no-repeat;
  background-size: 60px;
  background-position: 10px;
      border: none;
}
}