/* FCTB_THICKBOX Styles */


#fctb_thickbox { 
	position:fixed; 
	left:0; 
	top:0; 
	right:0; 
	bottom:0; 
	z-index:1000; 
	display:none; 
	cursor:pointer; 
	overflow:hidden;
	text-align:center;
}

#fctb_thickbox .fctb_thickbox_overlay { 
	position:absolute; 
	left:0; 
	top:0; 
	right:0; 
	bottom:0; 
	background:#000; 
	filter:alpha(opacity=80); 
	opacity:0.8; 
}

#fctb_thickbox .fctb_thickbox_image {
	position:absolute;
	left:50%;
	top:50%;
	max-width:100%;
	max-height:100%;
	padding:0;
	margin: 0;
	border:none;
    -webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
    opacity: 0;
}

#fctb_thickbox .close,
#fctb_thickbox .arrow {
	z-index:1011;
	position:absolute;
	display:block;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

#fctb_thickbox .close:hover:after,
#fctb_thickbox .arrow:hover:after {
	color:#1a94df;
	text-shadow:none;
}


#fctb_thickbox .close {
	right:.5em;
	top:1em;
}
#fctb_thickbox .arrow.left {
	left:.5em;
	top:50%;
}

#fctb_thickbox .arrow.right {
	right:.5em;
	top:50%;
}

#fctb_thickbox .close:after,
#fctb_thickbox .arrow:after {
	content:"";
	position:relative;
	font-family:'fontawesome';
	font-size:5em;
	line-height:1em;
	padding:.5em;
	color:#fff;
}
#fctb_thickbox .close:after {
	content:"\e806"; /*e806*/
}
#fctb_thickbox .arrow.left:after {
	content:"\e81d";
}
#fctb_thickbox .arrow.right:after {
	content:"\e81e";
}


/* fctb image transitions */

#fctb_thickbox .fctb_thickbox_image {
    -webkit-transform:translate(-50%,-50%); /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */
    -ms-transform:translate(-50%,-50%); /* IE 9 */
    transform:translate(-50%,-50%);
    transition: opacity .3s ease;
}


#fctb_thickbox.current0 .fctb_thickbox_image.image1,
#fctb_thickbox.current1 .fctb_thickbox_image.image0 {
    opacity: 0;
}

#fctb_thickbox.current0 .fctb_thickbox_image.image0,
#fctb_thickbox.current1 .fctb_thickbox_image.image1 {
    opacity: 1;
}


@keyframes fctb_left_out {
      0% { transform: translate(-50%, -50%); opacity: 1; }
    100% { transform: translate(-40%, -50%); opacity: 0; }
}

@keyframes fctb_left_in {
      0% { transform: translate(-60%, -50%); opacity: 0; }
    100% { transform: translate(-50%, -50%); opacity: 1; }
}

@keyframes fctb_right_out {
      0% { transform: translate(-50%, -50%); opacity: 1; }
    100% { transform: translate(-60%, -50%); opacity: 0; }
}

@keyframes fctb_right_in {
      0% { transform: translate(-40%, -50%); opacity: 0; }
    100% { transform: translate(-50%, -50%); opacity: 1; }
}


#fctb_thickbox .fctb_thickbox_image {
    animation-duration: .5s;
    animation-iteration-count: 1;
    animation-fill-mode: none;
    animation-direction: normal;
}


#fctb_thickbox.direction_left.current0 .fctb_thickbox_image.image0,
#fctb_thickbox.direction_left.current1 .fctb_thickbox_image.image1 {
    animation-name: fctb_left_in;
    animation-timing-function: ease;
}

#fctb_thickbox.direction_left.current0 .fctb_thickbox_image.image1,
#fctb_thickbox.direction_left.current1 .fctb_thickbox_image.image0 {
    animation-name: fctb_left_out;
    animation-timing-function: ease;
}


#fctb_thickbox.direction_right.current0 .fctb_thickbox_image.image0,
#fctb_thickbox.direction_right.current1 .fctb_thickbox_image.image1 {
    animation-name: fctb_right_in;
    animation-timing-function: ease;
}

#fctb_thickbox.direction_right.current0 .fctb_thickbox_image.image1,
#fctb_thickbox.direction_right.current1 .fctb_thickbox_image.image0 {
    animation-name: fctb_right_out;
    animation-timing-function: ease;
}
