/* cabecera */

/* añadir url al logo */

#logo-url a{
	width: 200px;
	height: 50px;
	float: left;
	z-index: 9999;
	position: absolute;
}
/* #ico-cabecera {display: none;} */
#container-wrap 
{
	top:40px !important;
}
#myTopnav {
   	position: fixed;
    right: 53px;
    z-index: 9999;
	top:-5px;
}

.topnav {
	overflow: hidden;
  }
/* Hide the link that should open and close the topnav on small screens */

.topnav .bars {
	display: none;
  }
/* fin cabecera */

.bars {
	margin-right: 20px;
}

#viewer-options-wrap {
	top: 0;
	height: 48px;
	transform: none;
	transition: none;
}
#viewer-options-bar {
	top: 0;
	height: 48px;
}
#viewer-options-wrap.no-options #viewer-options-bar {
	display: block;
}

#viewer-logo img, #viewer-logo object {
    height: 44px;
    padding: 2px 40px;
}

#viewer-thumb-wrap {
	top:48px;
}
#viewer-options{
	min-width: 240px;
}


/* lightbox */
.portfolio-filter-tab-1 li a {color: #fff !important;}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.bars) */
@media screen and (max-width: 1002px) {

#container-wrap {
		top: 60px !important;
	}

#viewer-options-wrap {
	background: #fff;
}
#myTopnav {margin-top: 5px;}
#viewer-options-bar > span {
    margin-top: 10px;
	position: absolute;
	padding-top: 0px!important;
}
#viewer-logo {
	margin-top: 125px!important;

}
#view-toggle {
	display: none!important;
}
.bars i{
	margin-top: 10px!important;
}
body, #container-wrap{
	background: #fff url("../../recursos/imagenes/bg-body-mv.jpg") no-repeat center center/cover!important;
}
#viewer-options-bar {
	top: -128px!important;
}
}

@media screen and (max-width: 780px) {
	#viewer-logo{
		margin-top: -5px!important;
		height: 50px;
	}
	#viewer-title {height: 50px; top:128px}
	#viewer-options-wrap {
		top: -120px!important;
	}
  }

@media screen and (max-width: 600px) {
	/* .topnav a:not(:first-child) {display: none;} */
	.topnav a {display: none;}
	.topnav a.bars {
	  float: right;
	  display: block;
	  /*  */
	}
	.bars i{
		margin-top: 18px!important;
	}
	.pdf-mv img{
		margin-bottom: 13px!important;
		height: 50px!important;}	
  }
  
  /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
	.topnav.responsive {position: relative;}
	.topnav.responsive a.bars {
	  position: absolute;
	  right: 0;
	  top: 0;
	}
	.topnav.responsive a:not(:last-child) {
	  float: none;
	  display: block;
	  text-align: center;
	  right: 0px!important;
	  padding: 20px 20px 20px 0;
	}
	#pdf {margin-top: 150px;}
	/* #pdf {display: none !important;} */

	.topnav.responsive .pdf-mv {
		display: none!important;
	}

	.boton-pdf {
		margin-top: 50px;
	}

	#myTopnav { 
		right: 0px;
	}

	.topnav.responsive {
		background-color: #fff;
		width: 100%;
		height: 100%;
		right: 0px;
	  }
	  #viewer-logo object {
		padding: 0px 0px;
	}
	
	#viewer-options-bar {
		height: 70px;
	}

	#viewer-logo img, #viewer-logo object {
		padding: 2px 0px!important;

  }
}
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden; padding: 0px 0px;}
/*linea 464*/
#colorbox{
	border-radius:0px;
    box-shadow:0 0 0px 0px;
}

iframe html {padding: 50px;}
/*linea 450*/
#cboxOverlay { 
	background-color: #fff !important;
	opacity: 0.95 !important;
}
/*linea 451*/
#cboxContent{ overflow:hidden;}

#cboxClose{position:absolute; top:0px; right:0px; display:block; background:url('../../recursos/imagenes/cerrar.svg') no-repeat top center; text-indent:-9999px;width: 60px; height: 12px; background-size: cover; margin: 20px;}
#cboxTopCenter {height: 0px;}

.turn-page-gutter {display: none !important;}
#view-toggle, #viewer_progress_bar {display: none;}

/* ANIMACIONES GRAFICOS */

img.base {
	display: block;
	animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
}

img.datos {
	display: block;
	animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
	animation-delay: 2s;
}

img.grafico {
	display: block;
	animation: reveal 4.5s cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
	animation-delay: 2s;
}

img.destacado {
	display: block;
	animation: reveal-down 4.5s cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
	animation-delay: 2s;
}

@keyframes reveal {
	0% {
	  transform: translate(0,100%);
	}
	100% {
	  transform: translate(0,0);
	}
  }

  @keyframes reveal-down {
	0% {
	  transform: translate(0,150%);
	}
	100% {
	  transform: translate(0,0);
	}
  }


  h1 {
	margin: 0;
	text-align: center;
	font-size: 200px;
	overflow: hidden;
	line-height: 1;
  }
  h1 span {
	display: block;
	animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
  }

  #cboxLoadedContent {
	overflow: hidden!important;
  }


  .boton-p {
	-webkit-animation:fadeInLeft 1s ease ;
    animation:fadeInLeft 1s ease ;
	margin-left: 50px;
	margin-top: 50px;
	color: #fff!important;
  }

  .boton-p a:after{
	content: "";
    display: block;
    background: url("../../recursos/imagenes/boton-mas-negro.svg") no-repeat;
    width: 35px;
    height: 35px;
    float: right;
	right: 50px;
    background-size: cover;
	position: absolute;
	bottom: 15px;
	-webkit-animation:rollIn 1s ease ;
    animation:rollIn 1s ease ;
  }

  .boton-p a:hover::after {
    background: url("../../recursos/imagenes/boton-mas-hover.svg") no-repeat;
	-webkit-animation:escalar 1s ease ;
    animation:escalar 1s ease ;
	transform: scale(1.3);
 }

 .boton-p a:before{
	content: "";
    display: block;
    background: url("../../recursos/imagenes/boton-base.svg") no-repeat;
    width: 440px!important;
    height: 97px!important;
    float: left;
	left: -20px;
    background-size: cover;
	position: absolute;
	top: -20px;
	-webkit-animation:fadeInRight 1s ease ;
    animation:fadeInRight 1s ease ;
	z-index: -1;
  } 

  /* boton 2 líneas  */

  .boton-p-2-lineas {
	-webkit-animation:fadeInLeft 1s ease ;
    animation:fadeInLeft 1s ease ;
	margin: 60px 0 75px 60px;
	color: #fff!important;

  }

 .boton-p-2-lineas a:after{
	content: "";
    display: block;
    background: url("../../recursos/imagenes/boton-mas-negro.svg") no-repeat;
    width: 35px;
    height: 35px;
    float: right;
	right: 75px;
	top: 0px;
    background-size: cover;
	position: absolute;
	/* bottom: 15px; */
	-webkit-animation:rollIn 1s ease ;
    animation:rollIn 1s ease ;
	z-index: 2;
  }

  .boton-p-2-lineas a:hover::after {
	
    background: url("../../recursos/imagenes/boton-mas-hover.svg") no-repeat;
	-webkit-animation:escalar 1s ease ;
    animation:escalar 1s ease ;
	transform: scale(1.3);
 }
  .boton-p-2-lineas a:before{
	content: "";
    display: block;
    background: url("../../recursos/imagenes/boton-base.svg") no-repeat;
    width: 440px!important;
    height: 97px!important;
    float: left;
	left: -40px;
    background-size: cover;
	position: absolute;
	top: -30px;
	-webkit-animation:fadeInRight 1s ease ;
    animation:fadeInRight 1s ease ;
	z-index: -1;
  } 


   /* boton 2 líneas  MOVIL */

   .boton-p-mv-2-lineas {
	-webkit-animation:fadeInLeft 1s ease ;
    animation:fadeInLeft 1s ease ;
	margin-left: 45px;
	margin-top: 100px;
	color: #fff!important;
  }

 .boton-p-mv-2-lineas a:after{
	content: "";
    display: block;
    background: url("../../recursos/imagenes/boton-mas-negro.svg") no-repeat;
    width: 60px;
    height: 60px;
    float: right;
	right: 50px;
	top: 25px;
    background-size: cover;
	position: absolute;
	/* bottom: 15px; */
	-webkit-animation:rollIn 1s ease ;
    animation:rollIn 1s ease ;
	z-index: 2;
  }

  .boton-p-mv-2-lineas a:hover::after {
    background: url("../../recursos/imagenes/boton-mas-hover.svg") no-repeat;  
	-webkit-animation:escalar 1s ease ;
    animation:escalar 1s ease ;
	transform: scale(1.3);
 }
  .boton-p-mv-2-lineas a:before{
	content: "";
    display: block;
    background: url("../../recursos/imagenes/boton-base.svg") no-repeat;
    width: 750px!important;
    height: 170px!important;
    float: left;
	left: -40px;
    background-size: cover;
	position: absolute;
	top: -30px;
	-webkit-animation:fadeInRight 1s ease ;
    animation:fadeInRight 1s ease ;
	z-index: -1;
  } 


  @-webkit-keyframes escalar {
	0% {
	   opacity: 0;
	   -webkit-transform: scale(1);
	}
	100% {
	   opacity: 1;
	   -webkit-transform: scale(1.3);
	}
 }
 
 @keyframes escalar {
	0% {
	   opacity: 0;
	   transform: scale(1);
	}
	100% {
	   opacity: 1;
	   transform: scale(1.3);
	}
 }


@-webkit-keyframes fadeInRight {
	0% {
	   opacity: 0;
	   -webkit-transform: translateX(150px);
	}
	100% {
	   opacity: 1;
	   -webkit-transform: translateX(0);
	}
 }
 
 @keyframes fadeInRight {
	0% {
	   opacity: 0;
	   transform: translateX(150px);
	}
	100% {
	   opacity: 1;
	   transform: translateX(0);
	}
 }
 
 .fadeInRight {
	-webkit-animation-name: fadeInRight;
	animation-name: fadeInRight;
 }


 @-webkit-keyframes fadeInLeft {
	0% {
	   opacity: 0;
	   -webkit-transform: translateX(-150px);
	}
	100% {
	   opacity: 1;
	   -webkit-transform: translateX(0);
	}
 }
 
 @keyframes fadeInLeft {
	0% {
	   opacity: 0;
	   transform: translateX(-150px);
	}
	100% {
	   opacity: 1;
	   transform: translateX(0);
	}
 }
 
 .fadeInLeft {
 -webkit-animation-name: fadeInLeft;
 animation-name: fadeInLeft;
 } 

 @-webkit-keyframes rollIn {
	0% { 
	   opacity: 0; 
	   -webkit-transform: translateX(-100%) rotate(-120deg); 
	}
	100% { 
	   opacity: 1; 
	   -webkit-transform: translateX(0px) rotate(0deg); 
	}
 }
 
 @keyframes rollIn {
	0% { 
	   opacity: 0; 
	   transform: translateX(-100%) rotate(-120deg); 
	}
	100% { 
	   opacity: 1; 
	   transform: translateX(0px) rotate(0deg); 
	}
 }
 .rollIn {
	-webkit-animation-name: rollIn;
	animation-name: rollIn;
 }
