@charset "utf-8";
/* CSS Document */

.lb-overlay{
	overflow:auto; /*agregar scroll*/
	width: 0px;
	height: 0px;
	position: fixed;
	left: 0px;
	top: 0px;
	padding: 0px;
	z-index: 99;
	text-align: center;
	background:#FFFFFF;
	background: rgba(10,0,0,0.9);
}

.lb-overlay table{
	/* height: 100%; For Opera max-height does not seem to work */
	background:#333333;
	border:#FFFFFF;
	border-radius: 5px 5px 5px 5px;
	max-height: 100%;
	max-width: 100%;
	padding: 5px 5px 5px 5px;
	position: relative;
	-webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 7px rgba(0,0,0,0.2);
}

.lb-overlay:target {
	width: auto;
	height: 100%;
	bottom: 0px;
	right: 0px;
	padding: 10px 10px 10px 10px;
}
.img{
	max-height: 100%;
	max-width: 100%;
	min-height: 100px;
	min-width: 100px;
	position: relative;
}
.lb-overlay:target table {
	-webkit-animation: fadeInScale 1.2s ease-in-out;
	-moz-animation: fadeInScale 1.2s ease-in-out;
	-o-animation: fadeInScale 1.2s ease-in-out;
	-ms-animation: fadeInScale 1.2s ease-in-out;
	animation: fadeInScale 1.2s ease-in-out;
}

.lb-overlay:target a p {
	opacity: 1;
	filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}
@-webkit-keyframes fadeInScale {
  0% { -webkit-transform: scale(0.6); opacity: 0; }
  100% { -webkit-transform: scale(1); opacity: 1; }
}
@-moz-keyframes fadeInScale {
  0% { -moz-transform: scale(0.6); opacity: 0; }
  100% { -moz-transform: scale(1); opacity: 1; }
}
@-o-keyframes fadeInScale {
  0% { -o-transform: scale(0.6); opacity: 0; }
  100% { -o-transform: scale(1); opacity: 1; }
}
@-ms-keyframes fadeInScale {
  0% { -ms-transform: scale(0.6); opacity: 0; }
  100% { -ms-transform: scale(1); opacity: 1; }
}
@keyframes fadeInScale {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* 
	100% Height for Opera as the max-height seems to be ignored, not optimal for large screens 
	http://bricss.net/post/11230266445/css-hack-to-target-opera 
*/
x:-o-prefocus, .lb-overlay table {
    height: 100%;
}

