/* * {
    margin: 0;
    padding: 0;
}

body {
    background: #111;
    height: 100%;
}

img {
    border: none;
}

*/

#lightbox{
	z-index:99999;
	top:0;
	margin-top:0;
	height: 100% !important;
}
#lightbox #slitebox-loader
{
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 0;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	text-indent: -999em;
	background: url(../images/progress.gif) no-repeat center center;
}

#lightbox .slitebox
{
	display: block;
	position: fixed;
	left: 0;
	overflow: hidden;
	z-index: 0;
	height: 100%;
	width: 100%;
	right: 100px;
}

	#lightbox .slitebox .img, #lightbox .slitebox .i
	{
		/* width: auto; */
		/*height: auto;*/
		/* max-width: 100%; */
		max-height: 100%;
		display: none;
		outline: none;
		border: none;
		/*position: relative;
		top: 50%;
		transform: translateY(-50%);*/
		/* the following vertically centers the image to the li*/
		position: absolute;
		margin: auto;
		top: 0;
		/* left: 0; */
		/* right: 0; */
		/*bottom: 40px;*/ /* bottom marging to accomdate toolbar*/
		height: 100%;
	}

	#lightbox .slitebox img:after
	{
		/*content: "Logo";*/
		position:absolute;
		bottom:0;
		right:0;
		color:red;
	}
#lightbox #slitebox.speed img
{
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: -moz-crisp-edges;
}

/*Speed*/
#lightbox #slitebox.quality img
{
	-ms-interpolation-mode: bicubic;
	image-rendering: optimizeQuality;
}

/*Quality*/
#lightbox .slitebox > li
{
	display: block;
	list-style: none;
	z-index: -30;
	position: fixed;
	overflow: hidden;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: #000;
}

.slitebox a
{
	width: 100%;
	height: 100%;
	display: block;
}

#lightbox .slitebox li.prevslide
{
	z-index: -20;
}

#lightbox .slitebox > li.activeslide
{
	z-index: -10;
	text-align: center;
}

#lightbox .slitebox li.image-loading
{
	background: #111 url(../images/progress.gif) no-repeat center center;
	width: 100%;
	height: 100%;
}

	#lightbox .slitebox li.image-loading img
	{
		/*visibility: hidden;*/
	}

#lightbox .slitebox li.prevslide .img,
#lightbox .slitebox li.activeslide .img,
#lightbox .slitebox li.activeslide .i
{
	display: inline;
}

#lightbox #controls-wrapper
{
	margin: 0 auto;
	padding-top: 10px;
	height: 52px;
	width: 100%;
	bottom: 0px;
	left: 0;
	z-index: 4;
	/* background: url(../images/nav-bg.png) repeat-x; */
	position: fixed;
	background-color: rgba(0,0,0,0.3);
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.3));
}

#lightbox #controls
{
	overflow: hidden;
	height: 100%;
	position: relative;
	text-align: left;
	z-index: 5;
	font-size: 12px;
}

#lightbox #slidecounter
{
	/* float: left; */
	color: #fff;
	/* width: 90px; */
	height: 42px;
	margin-left: 15px;
	/* font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif; */
	/* text-shadow: #000 0 -1px 0; */
	/* line-height: 42px; */
	display: inline-block;
	vertical-align: middle;
	-moz-transform: translateY(7px);
	-webkit-transform: translateY(7px);
	transform: translateY(7px);
}
#slidecounter *
{
	/* vertical-align: middle; */
	/* height: 42px; */
	/* line-height: 42px; */
}
#lightbox #prevslide, #lightbox #nextslide
{
	position: relative;
	height: 43px;
	width: 43px;
	top: 50%;
	margin-top: -21px;
	/* opacity: 0.6; */
	color: #999;
	text-decoration: none;
}


	#lightbox #prevslide:hover, #lightbox #nextslide:hover
	{
		cursor: pointer;
	}

#lightbox ul#slide-list
{
	padding: 15px 0;
	float: left;
	position: absolute;
	left: 50%;
}

	#lightbox ul#slide-list li
	{
		list-style: none;
		width: 12px;
		height: 12px;
		float: left;
		margin: 0 5px 0 0;
	}

		#lightbox ul#slide-list li.current-slide a, #lightbox ul#slide-list li.current-slide a:hover
		{
			background-position: 0 0px;
		}

		#lightbox ul#slide-list li a
		{
			display: block;
			width: 12px;
			height: 12px;
			background: url('../images/nav-dot.png') no-repeat 0 -24px;
		}

			#lightbox ul#slide-list li a:hover
			{
				background-position: 0 -12px;
				cursor: pointer;
			}

#lightbox #tray-button
{
	float: left;
	margin-top: 1px;
	/*border-left: 1px solid #333;*/
	background: url('../images/bg-hover.png') repeat-x 0 44px;
}

	#lightbox #tray-button:hover
	{
		/*background-position: 0 1px;*/
		cursor: pointer;
	}


/* Progress Bar
	----------------------------*/
#lightbox #progress-back
{
	z-index: 5;
	position: fixed;
	bottom: 42px;
	left: 0;
	height: 8px;
	width: 100%;
	background: url('../img/progress-back.png') repeat-x;
}

#lightbox #progress-bar
{
	position: relative;
	height: 8px;
	width: 100%;
	background: url('../img/progress-bar.png') repeat-x;
}


/* Thumbnail Navigation
	----------------------------*/
#lightbox #nextthumb, #lightbox #prevthumb
{
	z-index: 2;
	display: none;
	position: fixed;
	bottom: 61px;
	height: 75px;
	width: 100px;
	overflow: hidden;
	background: #ddd;
	border: 1px solid #fff;
	-webkit-box-shadow: 0 0 5px #000;
}

#lightbox #nextthumb
{
	right: 12px;
}

#lightbox #prevthumb
{
	left: 12px;
}

	#lightbox #nextthumb img, #lightbox #prevthumb img
	{
		width: 150px;
		height: auto;
	}

	#lightbox #nextthumb:active, #lightbox #prevthumb:active
	{
		bottom: 59px;
	}

	#lightbox #nextthumb:hover, #lightbox #prevthumb:hover
	{
		cursor: pointer;
	}


/* Thumbnail Tray
	----------------------------*/
#lightbox #thumb-tray
{
	position: fixed;
	z-index: 3;
	bottom: 0;
	left: 0;
	height: 120px;
	width: 100%;
	overflow: hidden;
	text-align: center;
	background: rgba(0, 0, 0, 0.5);
}

#lightbox #thumb-menu
{
	opacity: 0;
}

	#lightbox #thumb-menu:hover
	{
		opacity: 1;
	}

#lightbox #thumb-back, #lightbox #thumb-forward
{
	position: absolute;
	z-index: 5;
	bottom: 42px;
	height: 80px;
	width: 40px;
}

#lightbox #thumb-back
{
	left: 0;
	background: url('../images/thumb-back.png') no-repeat center center;
}

#lightbox #thumb-forward
{
	right: 0;
	background: url('../images/thumb-forward.png') no-repeat center center;
}

	#lightbox #thumb-back:hover, #lightbox #thumb-forward:hover
	{
		cursor: pointer;
		background-color: rgba(0,0,0,0.6);
	}

#lightbox #thumb-back:hover
{
	border-right: 1px solid rgba(256,256,256, 0.2);
}

#lightbox #thumb-forward:hover
{
	border-left: 1px solid rgba(256,256,256, 0.2);
}


#lightbox ul#thumb-list
{
	display: inline-block;
	list-style: none;
	position: relative;
	left: 0px;
	top: 0px;
	width: auto; /*Sevenion - added to fix the thumb displaying one below the other*/
}

	#lightbox ul#thumb-list li
	{
		/* background: #111; */
		list-style: none;
		display: inline;
		height: 80px;
		overflow: hidden;
		float: left;
		margin: 0 1px 0 0;
	}

		#lightbox ul#thumb-list li img
		{
			width: auto;
			height: 76px;
			opacity: 1;
			-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
			filter: alpha(opacity=60);
			-webkit-transition: all 100ms ease-in-out;
			-moz-transition: all 100ms ease-in-out;
			-o-transition: all 100ms ease-in-out;
			-ms-transition: all 100ms ease-in-out;
			transition: all 100ms ease-in-out;
		}

		#lightbox ul#thumb-list li.current-thumb img, #lightbox ul#thumb-list li:hover img
		{
			-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
			filter: alpha(opacity=100);
			outline: 2px solid white;
			outline-offset: -2px;
		}

		#lightbox ul#thumb-list li:hover
		{
			cursor: pointer;
		}
/*div#lightbox div#imgBox
{
    background-color: #000000; 
    height: 100%; 
    position: absolute; 
    top: 0; 
	left: 0;
    width: 100%; 
    z-index: 99999;
}*/

div#lightbox div#imgBox span.ion-loading-c
{
    position: absolute; 
    top: 50%; 
    left: 50%; 
    font-size: 40px; 
    color: green;
}
/*div#lightbox div#imgBox div#BSDiv
{
        position: relative;
        width: 400px; 
        top: 0px; 
        left: 35%;
}*/

div#lightbox div#imgBox a#prevslide
{
	position: absolute;
	left: 0px;
	font-size: 20px;
	top: 0;
	/* height: 100%; */
	bottom: 0;
	margin: auto;
	width: 100px;
	text-align: left;
	padding-left: 15px;
	/*visibility: hidden;*/
	z-index: 0;
	/* background-color: red; */
	/* padding-top: 25%; */
	vertical-align: middle;
}

div#lightbox div#imgBox a#nextslide
{
	position: absolute;
	right: 0px;
	font-size: 20px;
	top: 0;
	/* height: 100%; */
	bottom: 0;
	margin: auto;
	width: 100px;
	text-align: right;
	padding-right: 15px;
	/*visibility: hidden;*/
	z-index: 0;
	/* background-color: red; */
	/* padding-top: 25%; */
	line-height: 100%;
}
div#lightbox div#imgBox a#nextslide:hover i,
div#lightbox div#imgBox a#prevslide:hover i{
	visibility: visible;
	color: #fff;
	font-size:26px;
}

div#lightbox div#imgBox div#thumb-tray,
div#lightbox div#imgBox div#controls-wrapper
{
    display: block;
}

div#lightbox div#controls a
{
    cursor: pointer;
}

div#lightbox div#controls a#lbImgInfoLnk
{
    float: right; 
    margin: 10px 7px 7px 7px; 
}

div#lightbox div#imgBox div#controls-wrapper div#controls  i
{
    font-size: 28px;
    color: #999;
    margin: 5px;
    margin-right: 20px;
}


/* New Lightbox style codes*/

#lightbox.otherUser .sv{
	/* display: none; */
}
.OwnUser .sv{
	display: none;
}

#closeLB
{
	display: block;
	font-size: 12pt;
	position: absolute;
	right: 0px;
	top: 0px;
	cursor: pointer;
	color: #bbb;
	padding: 10px 10px;
	margin: 5px 10px;
	z-index:1;
}

.desktop #closeLB{
	/* opacity: 0.6; */
}
	.desktop #closeLB:hover
	{
		color: #fff;
	}

/*#lightbox .activeslide .thumb
{
	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}*/

.mobileShow
{
	display: none;
}

@media (max-width: 800px)
{
	.mobileHide, .mobileRemove
	{
		/* display: none !important; */
	}

	#lightbox .slitebox img, #lightbox .slitebox .i
	{
		bottom: 0;
	}

	.mobileShow
	{
		display: inline-block;
	}
}


/* iScroll styles */

.mApp .tt_pages#lightbox{
	padding:0;
	width: 100%;
	background-color: black;
}
.lbScrollWrapper {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;

	/* Prevent native touch events on Windows */
	-ms-touch-action: none;

	/* Prevent the callout on tap-hold and text selection */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

	/* Prevent text resize on orientation change, useful for web-apps */
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
	text-size-adjust: none;
}

.lbScroller  {
  position: absolute;
  width: 400%;
  height: 100%;

  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  padding: 0;
}

ul.lbScroller {
	list-style:none;
	display:block;
	float:left;
	padding:0;
	margin:0;
	text-align:left;
}

.lbScroller > li {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-o-box-sizing:border-box;
	box-sizing:border-box;
	display:block;
	float:left;
	width:320px; 
	height:100%;
	text-align:center;
	padding:0 5px;
}

	.lbScroller li .thumb, #lightbox .slitebox  li .thumb
	{
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
	}
	.lbScroller li .i, #lightbox .slitebox li .i
	{
		width: 100%;
		height: 100%;
		max-width: 100%;
		max-height: 100%;
		outline: none;
		border: none;
		margin: auto;
		top: 0;
		left: 0;
		/* right: 0; */
		bottom: 0;
	}

    #lightbox .slitebox li .i{
        max-height: 640px; /* hack to prevent thumbnails from stretching large. TODO: fix it*/
    }
    .lbScroller li .i {
        position: relative;
    }
    	.lbScroller li .i .img
		{
			/* max-width: 100%; */
			max-height: 100%;
			position: absolute;
			top: 50%;
			left: 50%;
			/*-moz-transform: translate(-50%, -50%);
			-ms-transform: translate(-50%, -50%);
			-o-transform: translate(-50%, -50%);
			-webkit-transform: translate(-50%, -50%);
			transform: translate(-50%, -50%);*/
			/* background-color: red; */
			transform: translateX(-50%);
		}

		
		.lbScroller li .i .logo-watermark{
			content: url('../images/logo_watermark.png');
			position: absolute;
			max-height: 50px;
			max-width: 200px;
			/* left: -102px; */
			bottom: 8px;
			right: 8px;
			/* display: none; */
		}
		
#lightbox .lbo{ /* icons by default hidden */
	display: none;
}

#lightbox.lbStage1 .lbo1, /* icons in step 1*/
#lightbox.lbStage2 .lbo2, /* icons in step 2*/
#lightbox.processing .lb-atc, /* under process icons*/
#lightbox.iC.lbStage1 .lbop /*processed icons*/
{
	display: inline-block;
}

.lb-bg-top{
	position:absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 40px;
	text-align: left;
	background: linear-gradient(to bottom,rgba(0,0,0,0.3), rgba(0,0,0,0) );
	/*background-color: red;*/
}

.lb-bg-bottom{
	position: absolute;
	bottom:0;
	left:0;
	right:0;
	height: 40px;
	text-align: center;
	background: linear-gradient(to top,rgba(0,0,0,0.3), rgba(0,0,0,0) );
	/*background-color: red;*/
}

@-moz-keyframes RotateClockwise {
	from
	{
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to
	{
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-ms-keyframes RotateClockwise {
	from
	{
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to
	{
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-webkit-keyframes RotateClockwise {
	from
	{
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to
	{
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes RotateClockwise {
	from
	{
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to
	{
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-webkit-keyframes RotateAntiClockwise {
	from
	{
		-webkit-transform: rotate(0deg);
		transform: rotate(360deg);
	}
	to
	{
		-webkit-transform: rotate(360deg);
		transform: rotate(0deg);
	}
}

@keyframes RotateAntiClockwise {
	from
	{
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
	to
	{
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
}

@keyframes pullDown
{
	0%,100%
	{
		-webkit-transform: translate3d(0,0px,0);
		transform: translate3d(0,0px,0);
	}

	40%
	{
		-webkit-transform: translate3d(0,15px,0);
		transform: translate3d(0,15px,0);
	}
}
@-webkit-keyframes pullDown
{
	0%,100%
	{
		-webkit-transform: translate3d(0,0px,0);
		transform: translate3d(0,0px,0);
	}

	40%
	{
		-webkit-transform: translate3d(0,15px,0);
		transform: translate3d(0,15px,0);
	}
}

@keyframes pullUp
{
	0%,100%
	{
		-webkit-transform: translate3d(0,0px,0);
		transform: translate3d(0,0px,0);
	}
	100%{
		color:#0070CF;
	}
	40%
	{
		-webkit-transform: translate3d(0,-15px,0);
		transform: translate3d(0,-15px,0);
	}
}

@-webkit-keyframes pullUp
{
	0%,100%
	{
		-webkit-transform: translate3d(0,0px,0);
		transform: translate3d(0,0px,0);
	}
	100%{
		color:#0070CF;
	}
	40%
	{
		-webkit-transform: translate3d(0,-15px,0);
		transform: translate3d(0,-15px,0);
	}
}

@-webkit-keyframes pullUp2
{
	0%,100%
	{
		-webkit-transform: translate3d(0,0px,0);
		transform: translate3d(0,0px,0);
	}

	40%
	{
		-webkit-transform: translate3d(0,-15px,0);
		transform: translate3d(0,-15px,0);
	}
}
@keyframes pullUp2
{
	0%,100%
	{
		-moz-transform: translate3d(0,0px,0);
		-ms-transform: translate3d(0,0px,0);
		-o-transform: translate3d(0,0px,0);
		-webkit-transform: translate3d(0,0px,0);
		transform: translate3d(0,0px,0);
	}

	40%
	{
		-moz-transform: translate3d(0,-15px,0);
		-ms-transform: translate3d(0,-15px,0);
		-o-transform: translate3d(0,-15px,0);
		-webkit-transform: translate3d(0,-15px,0);
		transform: translate3d(0,-15px,0);
	}
}


#lightbox.iC #lb-atc .lb-icon-img:before{
	color:green;
	content: "\f48b";
}
#lightbox.sel #lb-sel:before{
	content: "\f3ff";
	color:#0070CF;
}
.lb-bg-top > *,
.lb-bg-bottom > *{
	display: inline-block;
	color: white;
	font-size: 19pt;
	padding: 5px 20px;
}

#lightbox.processing #lb-atc:before
{
/* 	content: "\f48b"; */
}

.mApp #lightbox.sel #lb-sel
{
	display: inline-block;
	-moz-animation: pullUp 600ms;
	-o-animation: pullUp 600ms;
	-webkit-animation: pullUp 600ms;
	animation: pullUp 600ms;
	animation-fill-mode: forwards;
}

.mApp #lightbox.remSel #lb-sel
{
	display: inline-block;
	-moz-animation: pullUp2 500ms;
	-o-animation: pullUp2 500ms;
	-webkit-animation: pullUp2 500ms;
	animation: pullUp2 500ms;
}

.mApp #lightbox.processing #lb-atc .lb-icon-img
{
	display: inline-block;
	-moz-animation: pullDown 600ms, RotateClockwise 1500ms linear infinite 700ms;
	-o-animation: pullDown 600ms, RotateClockwise 1500ms linear infinite 700ms;
	-webkit-animation: pullDown 600ms, RotateClockwise 1500ms linear infinite 700ms;
	animation: pullDown 600ms, RotateClockwise 1500ms linear infinite 700ms;
/* 	color: #fff; */
}
.desktop #lightbox.processing #lb-atc .lb-icon-img
{
	display: inline-block;
	-moz-animation: RotateClockwise 1500ms linear infinite;
	-o-animation: RotateClockwise 1500ms linear infinite;
	-webkit-animation: RotateClockwise 1500ms linear infinite;
	animation: RotateClockwise 1500ms linear infinite;
	/* color: #0070CF; */
}

#mediaCaption{
	display: none;
	/* position: absolute; */
	/* left: 0; */
	/* right: 0; */
	/* bottom: 6px; */
	/* margin: auto; */
	width: 60%;
	max-width: 600px;
	text-align: left;
	z-index: 9999;
}

.mcMode #mediaCaption{
	cursor: pointer;
}

#mediaCaption .captionTxt{
	border: none;
	background-color: transparent;
	color: white;
	text-align: left;
	cursor: pointer;
}