/*
 * Nivo Lightbox v1.2.0
 * http://dev7studios.com/nivo-lightbox
 *
 * Copyright 2013, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

.nivo-lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99998;
	width: 100%;
	height: 100%;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-align:center
}
.nivo-lightbox-overlay.nivo-lightbox-open {
	visibility: visible;
	opacity: 1;
}
.prueba  {
	position: relative;
top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);	left:10px;
	bottom:10px;
	right:10px;
	margin:0 auto;
	display:inline-block;
	max-width:100%;
	width:auto;
	height:auto;
}
.nivo-lightbox-wrap{position:relative;}
.nivo-lightbox-wrap, .nivo-lightbox-content{display:inline-block;max-width:100%;width:auto;max-height:100%}
.nivo-lightbox-content {
	height: auto;
	max-height:100%;
}
.nivo-lightbox-title-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 99999;
	text-align: center;
}
.nivo-lightbox-nav { display: none; }
.nivo-lightbox-prev {
	position: absolute;
	top: 40%;
	left: 17px;
}
.nivo-lightbox-next {
	position: absolute;
	top: 40%;
	right: 17px;
}
.nivo-lightbox-close {
	position: absolute;
	top: 17px;
	right: 20px;
}

.nivo-lightbox-image { text-align: center; }
.nivo-lightbox-image img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	vertical-align: middle;
	width: auto;
}
.nivo-lightbox-content iframe {
	width: 100%;
	height: auto;
	max-height:100%;
}
.nivo-lightbox-inline,
.nivo-lightbox-ajax {
	max-height: 100%;
	overflow: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/* https://bugzilla.mozilla.org/show_bug.cgi?id=308801 */
}
.nivo-lightbox-error {
	display: table;
	text-align: center;
	width: 100%;
	height: auto;
	color: #fff;
	text-shadow: 0 1px 1px #000;
	max-height:100%;
}
.nivo-lightbox-error p {
	display: table-cell;
	vertical-align: middle;
}

/* Effects
 **********************************************/
.nivo-lightbox-notouch .nivo-lightbox-effect-fade,
.nivo-lightbox-notouch .nivo-lightbox-effect-fadeScale,
.nivo-lightbox-notouch .nivo-lightbox-effect-slideLeft,
.nivo-lightbox-notouch .nivo-lightbox-effect-slideRight,
.nivo-lightbox-notouch .nivo-lightbox-effect-slideUp,
.nivo-lightbox-notouch .nivo-lightbox-effect-slideDown,
.nivo-lightbox-notouch .nivo-lightbox-effect-fall {
	-webkit-transition: all 0.2s ease-in-out;
	   -moz-transition: all 0.2s ease-in-out;
	    -ms-transition: all 0.2s ease-in-out;
	     -o-transition: all 0.2s ease-in-out;
	        transition: all 0.2s ease-in-out;
}

/* fadeScale */
.nivo-lightbox-effect-fadeScale .nivo-lightbox-wrap {
	-webkit-transition: all 0.3s;
	   -moz-transition: all 0.3s;
	    -ms-transition: all 0.3s;
	     -o-transition: all 0.3s;
	        transition: all 0.3s;
	-webkit-transform: scale(0.7);
	   -moz-transform: scale(0.7);
	    -ms-transform: scale(0.7);
	        transform: scale(0.7);
}
.nivo-lightbox-effect-fadeScale.nivo-lightbox-open .nivo-lightbox-wrap {
	-webkit-transform: scale(1);
	   -moz-transform: scale(1);
	    -ms-transform: scale(1);
	        transform: scale(1);
}

/* slideLeft / slideRight / slideUp / slideDown */
.nivo-lightbox-effect-slideLeft .nivo-lightbox-wrap,
.nivo-lightbox-effect-slideRight .nivo-lightbox-wrap,
.nivo-lightbox-effect-slideUp .nivo-lightbox-wrap,
.nivo-lightbox-effect-slideDown .nivo-lightbox-wrap {
	-webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	   -moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	    -ms-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	     -o-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	        transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}
.nivo-lightbox-effect-slideLeft .nivo-lightbox-wrap {
	-webkit-transform: translateX(-10%);
	   -moz-transform: translateX(-10%);
	    -ms-transform: translateX(-10%);
	        transform: translateX(-10%);
}
.nivo-lightbox-effect-slideRight .nivo-lightbox-wrap {
	-webkit-transform: translateX(10%);
	   -moz-transform: translateX(10%);
	    -ms-transform: translateX(10%);
	        transform: translateX(10%);
}
.nivo-lightbox-effect-slideLeft.nivo-lightbox-open .nivo-lightbox-wrap,
.nivo-lightbox-effect-slideRight.nivo-lightbox-open .nivo-lightbox-wrap {
	-webkit-transform: translateX(0);
	   -moz-transform: translateX(0);
	    -ms-transform: translateX(0);
	        transform: translateX(0);
}
.nivo-lightbox-effect-slideDown .nivo-lightbox-wrap {
	-webkit-transform: translateY(-10%);
	   -moz-transform: translateY(-10%);
	    -ms-transform: translateY(-10%);
	        transform: translateY(-10%);
}
.nivo-lightbox-effect-slideUp .nivo-lightbox-wrap {
	-webkit-transform: translateY(10%);
	   -moz-transform: translateY(10%);
	    -ms-transform: translateY(10%);
	        transform: translateY(10%);
}
.nivo-lightbox-effect-slideUp.nivo-lightbox-open .nivo-lightbox-wrap,
.nivo-lightbox-effect-slideDown.nivo-lightbox-open .nivo-lightbox-wrap {
	-webkit-transform: translateY(0);
	   -moz-transform: translateY(0);
	    -ms-transform: translateY(0);
	        transform: translateY(0);
}

/* fall */
.nivo-lightbox-body-effect-fall .nivo-lightbox-effect-fall {
	-webkit-perspective: 1000px;
	   -moz-perspective: 1000px;
	        perspective: 1000px;
}
.nivo-lightbox-effect-fall .nivo-lightbox-wrap {
	-webkit-transition: all 0.3s ease-out;
	   -moz-transition: all 0.3s ease-out;
	    -ms-transition: all 0.3s ease-out;
	     -o-transition: all 0.3s ease-out;
	        transition: all 0.3s ease-out;
	-webkit-transform: translateZ(300px);
	   -moz-transform: translateZ(300px);
	    -ms-transform: translateZ(300px);
	        transform: translateZ(300px);
}
.nivo-lightbox-effect-fall.nivo-lightbox-open .nivo-lightbox-wrap {
	-webkit-transform: translateZ(0);
	   -moz-transform: translateZ(0);
	    -ms-transform: translateZ(0);
	        transform: translateZ(0);
}
.nivo-lightbox-image{max-height:100%;height:auto;width:auto;max-width:100%;line-height:normal}
/*@media all and (orientation: landscape) { 
.prueba  {
	left:50%;
	transform:translateX(-50%);
	-webkit-transform:translateX(-50%);
}
 }
@media (max-width: 1290px) and (max-height: 770px){
.prueba  {
	left:50%;
	transform:translateX(-50%);
	-webkit-transform:translateX(-50%);
	height:100%;width:100%;
	top:0
}
.nivo-lightbox-image img{height:100%;width:auto}
}

@media all and (max-height: 1290px) and (orientation: portrait) { 
.prueba  {
	left:50%;
	transform:translateX(-50%);
	-webkit-transform:translateX(-50%);
	top:30%
}
.prueba{height:100%;width:100%;}
.nivo-lightbox-image img{height:auto;width:100%}

 }
@media (max-width: 960px) and (max-height: 600px){
.prueba{height:100%;width:100%;top:30%}
}

 @media all and (min-width:1290px){
.nivo-lightbox-image img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	vertical-align: middle;
	width: auto;

}
 }

@media all and (min-width:671px){
.prueba{}
}
*/
@media screen and (max-device-width: 700px) and (orientation: portrait){
.prueba{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);}
.nivo-lightbox-image{height:auto !important}
}
@media screen and (max-device-height: 700px) and (orientation: landscape){
.prueba{position:absolute;top:0;bottom:0;-webkit-transform:none;transform:none}
.nivo-lightbox-image{height:100% !important}
}
/*
@media (max-width: 1495px) {
.nivo-lightbox-wrap  {
	top: 50%;
	left:initial;
	margin:0 auto;
	transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
	position:relative;
}
.nivo-lightbox-wrap{width:auto;}
.nivo-lightbox-content, .nivo-lightbox-image, .nivo-lightbox-image img{width:100%}
.nivo-lightbox-theme-default .nivo-lightbox-nav{top:50%;}

}
@media (max-height: 470px) {
.nivo-lightbox-content, .nivo-lightbox-image, .nivo-lightbox-image img{width:100%}
.nivo-lightbox-content, .nivo-lightbox-image{width:100%;height:auto;max-width:100%;max-height:100%;}
 .nivo-lightbox-image img{width:100%;height:auto;max-height:100%;}
}
@media (max-width: 900px) {
.nivo-lightbox-wrap  {
	top: 50%;
	left:0%;
	transform:translate(0%, -50%);
	-webkit-transform:translate(0%, -50%);
	position:absolute;
}
.nivo-lightbox-theme-default .nivo-lightbox-nav{top:50%;}
.nivo-lightbox-wrap{width:auto;}
.nivo-lightbox-content, .nivo-lightbox-image{width:auto;height:auto;max-width:100%;max-height:100%;}
 .nivo-lightbox-image img{width:auto;max-width:100%;max-height:100%;height:auto;}
}
@media (max-width: 960px) and (max-height: 600px){
.nivo-lightbox-wrap  {
	top: 0%;
	left:0%;
	transform:translate(0%, -0%);
	-webkit-transform:translate(0%, -0%);
	position:relative;
}
.nivo-lightbox-wrap{width:auto;max-width:60%}
.nivo-lightbox-content, .nivo-lightbox-image{width:auto;height:auto;max-width:100%;max-height:100%;}
 .nivo-lightbox-image img{width:auto;max-width:100%;max-height:100%;height:auto;}
.nivo-lightbox-prev {
	left: 47px;
}
.nivo-lightbox-next {
	right: 47px;
}
.nivo-lightbox-close {
	top: 9px;
	right: 40px;
}
}
*/

