#fancybox-wrap,
#fancybox-content {
	max-width: 717px;
}

#fancybox-content {
	background: #fff;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('../images/fancybox_sprite.png');
}
#fancybox-loading div {
	background: url('../images/fancybox_loading.gif') center center no-repeat;
}
.fancybox-nav {
	background: transparent url('../images/blank.gif'); /* helps IE */
}
.fancybox-overlay {
	background: url('../images/fancybox_overlay.png');
}
/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('../images/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('../images/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}
#fancybox-wrap .fancybox-inner{
	overflow-y: auto !important;
	overflow-x: hidden !important;
	height: auto !important;
}

.FBRPB_product-box-flexslider .flex-control-nav{
	bottom: 0px;
	z-index: 999;
}
.FBRPB_product-box-flexslider .slides li,
.FBRPB_product-box-no-flexslider .slides li{
	margin: 0;
	float: left;
}

#fancybox-wrap .content{
	width: 415px;
	max-width: 100%;
	float: left;
	margin-top: 20px;
	position: relative;
	color: #999;
}
#fancybox-wrap .content{
	padding-bottom: 15px;
}
#fancybox-wrap .title{
	padding: 15px;
	color: #dd9933;
	border-bottom: solid 1px #e6e6e6;
	text-align: center;
	font-size: 24px;
}

#fancybox-wrap .featured-images{
	position: relative;
	width: 240px;
	max-width: 100%;
	float: left;
	margin-left: 2px;
	margin-bottom: 2px;
	height: 372px;
	overflow: hidden;
	margin-top: 20px;
	background-color: #ffffff;
	/*box-shadow: 0px 0px 1px 1px #e5e5e5;
	-webkit-box-shadow: 0px 0px 1px 1px #e5e5e5;
	-moz-box-shadow: 0px 0px 1px 1px #e5e5e5;*/
}
#fancybox-wrap .featured-images img{
	max-width: 100%;
	height: auto;
} 
#fancybox-wrap .featured-images .first,
#fancybox-wrap .featured-images .second{
	position: absolute;
	-webkit-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
}
#fancybox-wrap .featured-images .first{
	top: 0;
}
#fancybox-wrap .featured-images .second{
	top: 100%;
}
#fancybox-wrap .featured-images.has-first.has-second:hover .first{
	top: -100%;
}
#fancybox-wrap .featured-images.has-first.has-second:hover .second{
	top: 0;
}

.FBRPB_CTA{
	background: #e3e3e3;
	border: 1px solid #bbb;
	border-radius: 3px;
	-webkit-box-shadow: inset 0 0 1px 1px #f6f6f6;
	box-shadow: inset 0 0 1px 1px #f6f6f6;
	color: #333;
	font: bold 12px/1 "helvetica neue", helvetica, arial, sans-serif;
	padding: 8px 0 9px;
	text-align: center;
	text-shadow: 0 1px 0 #fff;
	width: 150px;
	display: block;
	text-decoration: none;
}
.FBRPB_CTA:hover{
	background: #d9d9d9;
	-webkit-box-shadow: inset 0 0 1px 1px #eaeaea;
	box-shadow: inset 0 0 1px 1px #eaeaea;
	color: #222;
	cursor: pointer;
	text-decoration: none;
}
.FBRPB_CTA:active{
	background: #d0d0d0;
	-webkit-box-shadow: inset 0 0 1px 1px #e3e3e3;
	box-shadow: inset 0 0 1px 1px #e3e3e3;
	color: #000;
}

@media(max-width:767px){
	.FBRPB_product-box-flexslider .flex-control-nav{
		position: static;
	}
}