/* ROTAR  */
@keyframes rotar{
  0% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }
  100% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}
@-webkit-keyframes rotar{
  0% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }
  100% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

/*ZOOM IMAGENES*/
.zoom-img {
	/** Defecto de luz a escondidas */
	display: none;
	/** Posición y estilo */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(227, 30, 36, 0.50);
}

.zoom-img img {
	/** Cojín de la imagen de luz */
	max-width: 90%;
	max-height: 80%;
	margin-top: 2%;
}
.zoom-img:target {
	/** Retire contorno navegador predeterminado */
	outline: none;
	/** luz Unhide **/
	display: block;
}
/* TEXTO EMERGENTE ETIQUETA TITLE*/
.tooltip {
	position: relative;
}
.tooltip:before, .tooltip:after {
	position: absolute;
	transition: All 0.5s ease;
	-webkit-transition: All 0.5s ease;
	-moz-transition: All 0.5s ease;
	-o-transition: All 0.5s ease;
	margin-left: -100px;
	left: 50%;
	bottom: 300%;
	display: block;
	color: #000;
	opacity: 0;
    z-index: 100;
}
.tooltip:before {
	content: attr(title);
	border: solid 1px #0088cc;
	background: #FFF;
	width: 200px;
	text-align: center;
	z-index: 2;
	font-size: 13px;
	line-height: 18px;
	padding: 5px;
}
.tooltip:after {
	content: '\25c6';
	margin-left: 0;
	margin-top: 10px;
	width: 15px;
	height: 15px;
	z-index: 1;
	line-height: 28px;
	color: #0088cc;
	font-size: 20px;
}
.tooltip:hover:before, .tooltip:hover:after {
	bottom: 150%;
	opacity: 1;
}  

/* Animacion botones */
@keyframes boton {
  from {
      -webkit-transform: rotateY(0deg);
              transform: rotateY(0deg);
    }
    to {
      -webkit-transform: rotateY(-360deg);
              transform: rotateY(-360deg);
    }
}
@-webkit-keyframes boton {
   from { -webkit-transform: rotateY(0deg);    }
    to   { -webkit-transform: rotateY(-360deg); }
}

/* The element to apply the animation to */
.boton:hover {
    
    -webkit-transition: all 1s ease-in-out;
transition: all 1s ease-in-out;
-webkit-animation: boton  1s ease-in-out;
        animation: boton  1s ease-in-out;
    /*
-webkit-transform: translateY(-10px) ;
-ms-transform: translateY(-10px) ;
transform: translateY(-10px) ;*/
    
   
}
/* BOSPULSE */
@-webkit-keyframes boxPulse {
  from {
    width: 62px;
    height: 47px;
    left: -23px;
    top: -23px;
    -webkit-animation-timing-function: ease-out;
  }
  50% {
    width: 58px;
    height: 45px;
    top: -19px;
  }
  to {
    width: 62px;
    height: 47px;
    left: -23px;
    top: -23px;
    -webkit-animation-timing-function: ease-out;
  }
}
/* LOGO ANIMACION*/
@keyframes logo { 
10% { -webkit-transform: scale(1) rotate(-10deg) translateX(50px); -moz-transform: scale(1) rotate(-10deg) translateX(30px);  }
30%, 50%, 70%, 90% {-webkit-transform: scale(1) rotate(10deg) translateX(-10px);  -moz-transform: scale(1) rotate(10deg) translateX(-10px);  }
40%, 60%, 80% { -webkit-transform: scale(1) rotate(-10deg) translateX(50px);  -moz-transform: scale(1) rotate(-10deg) translateX(30px);   }
}
@-webkit-keyframes logo { 
10% { -webkit-transform: scale(1) rotate(-10deg) translateX(50px);  }
30%, 50%, 70%, 90% {-webkit-transform: scale(1) rotate(10deg) translateX(-10px);   }
40%, 60%, 80% { -webkit-transform: scale(1) rotate(-10deg) translateX(50px);   }
}


/* LOGO ANIMACION*/

/*BANNER ANIMACION*/
@keyframes slidein {
  from { bottom: -50%; }
  to { bottom: 9%; }
}
@-webkit-keyframes slidein {
  from { bottom: -50%;  }
  to { bottom: 9%; }
}

@keyframes slideinh3 {
  from { bottom: -50%; }
  to { bottom: 80%; }
}
@-webkit-keyframes slideinh3 {
  from { bottom: -50%;  }
  to { bottom: 80%; }
}

/*Telefonos*/
@keyframes color-2 {
 0% {color: #416eb2 !important;  }
    50% {color: red !important;-moz-transform: scale(1.05);
-webkit-transform: scale(1.05);
-o-transform: scale(1.05);
-ms-transform: scale(1.05);
transform: scale(1.05);}
 100% {color: #416eb2 !important; }
}

@-webkit-keyframes color-2 {
 0% {color: #416eb2 !important;  }
    50% {color: red !important;-moz-transform: scale(1.05);
-webkit-transform: scale(1.05);
-o-transform: scale(1.05);
-ms-transform: scale(1.05);
transform: scale(1.05);}
 100% {color: #416eb2 !important; }
}
/*Facebook*/
@keyframes margin-right {
 0% {margin-right: 5px;   }
    50% {margin-right: 25px; }
 100% {margin-right: 5px; }
}

@-webkit-keyframes margin-right {
 0% {margin-right: 5px;  }
    50% {margin-right: 25px;   }
 100% {margin-right: 5px; }
}



/*Animacion Snake para texto */
.leSnake span { animation: leSnake 1.5s ease-in-out; animation-iteration-count: infinite }
@keyframes leSnake {
    from, to { transform: translateY(0px) }
    50% { transform: translateY(30px) }
}

/* Ripple Out */
@-webkit-keyframes hvr-ripple-out {
  100% {
    top: -12px;
    right: -12px;
    bottom: -12px;
    left: -12px;
    opacity: 0;
  }
}
@keyframes hvr-ripple-out {
  100% {
    top: -12px;
    right: -12px;
    bottom: -12px;
    left: -12px;
    opacity: 0;
  }
}
.hvr-ripple-out {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
}
.hvr-ripple-out:before {
  content: '';
  position: absolute;
  border: #e1e1e1 solid 6px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}
.hvr-ripple-out:hover:before, .hvr-ripple-out:focus:before, .hvr-ripple-out:active:before {
  -webkit-animation-name: hvr-ripple-out;
  animation-name: hvr-ripple-out;
}

/*MAPA PUNTOS*/
@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.35, 1.35, 1.35);
    transform: scale3d(1.35, 1.35, 1.35);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.35, 1.35, 1.35);
    transform: scale3d(1.35, 1.35, 1.35);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse;
}
