/**
 * Styles for Fusion Extension - Gallery
 */

.flex-direction-nav a, .flex-pauseplay a	{
	line-height:1;
}

.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next	{
	box-shadow:none;
}

.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next,
.flex-control-paging li a
	{
	border-bottom:none;
}

.fsn-gallery .fullscreen-trigger	{
	position:absolute;
	bottom:24px;
	right:24px;
	z-index:9;
	cursor:pointer;
	display:block;
	width:56px;
	height:56px;
	border-radius:50%;
	background:#337ab7;
	color:#fff;
	line-height:0;
	padding:16px 0;
	text-align:center;
	box-shadow:0 2px 3px rgba(0, 0, 0, 0.2);
	-moz-transition:all 0.3s;
	-webkit-transition:all 0.3s;
	transition:all 0.3s;
}

.fsn-gallery .fullscreen-trigger:hover	{
	background:#286090;
	color:#fff;
}

@media (max-width: 767px) {
	.fsn-gallery .fullscreen-trigger	{
		bottom:16px;
		right:16px;
		width:40px;
		height:40px;
		padding:8px 0;
	}
}

/* Masthead gallery*/

.fsn-gallery .masthead-container	{
	margin-left:-15px;
	margin-right:-15px;
}

.fsn-gallery .masthead	{
	background-color:transparent;
	margin:0 auto;
	width:100%;
	max-width:100%;
	position:relative;
	overflow:hidden;
	border:none;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;
}

.no-opacity .fsn-gallery .masthead * {
	opacity: inherit; filter: inherit;
}

.fsn-gallery .masthead .preloader	{
	margin-top:-25px;
	margin-left:-40px;
	position:absolute;
	top:50%;
	left:50%;
	z-index:2;
}

.fsn-gallery .masthead .masthead-placeholder-container	{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:3;
}

.fsn-gallery .masthead .flex-viewport	{
	height:100%;
}

.fsn-gallery .masthead ul.slides	{
	height:100%;
}

.fsn-gallery .masthead ul.slides li	{
	display:block;
	position:relative;
	height:100%;
	overflow:hidden;
	margin:0;
	padding:0;
}

.opacity .fsn-gallery .masthead ul.slides li.slide.waiting	{
	opacity:1 !important;
}

.opacity .fsn-gallery .masthead ul.slides li.slide.waiting + .slide.loading .masthead-item-content	{
	opacity:0;
	-moz-transition:opacity 0s;
	-webkit-transition:opacity 0s;
	transition:opacity 0s;
}

.opacity .fsn-gallery .masthead .slide.flex-active-slide .masthead-item-content	{
	opacity:1;
	-moz-transition:opacity 0.6s;
	-webkit-transition:opacity 0.6s;
	transition:opacity 0.6s;
}

.no-opacity .fsn-gallery .masthead ul.slides li.slide.waiting	{
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
	filter:alpha(opacity=100) !important;
}

.no-opacity .fsn-gallery .masthead ul.slides li.slide.waiting + .slide.loading .masthead-item-content	{
	visibility:hidden;
}

.no-opacity .fsn-gallery .masthead .slide.flex-active-slide .masthead-item-content	{
	visibility:visible;
}

.fsn-gallery .masthead .masthead-placeholder-image, .fsn-gallery .masthead .masthead-item-image, .fsn-gallery .masthead .masthead-item-video	{
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
}

.fsn-gallery .masthead .masthead-overlay	{
	display:block;
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	z-index:2;
	-moz-transition:opacity 0.6s;
	-webkit-transition:opacity 0.6s;
	transition:opacity 0.6s;
}

.fsn-gallery .masthead li.loading .masthead-overlay	{
	opacity:0 !important;
}

.no-opacity .fsn-gallery .masthead li.loading .masthead-overlay	{
	visibility:hidden;
}

.fsn-gallery .masthead .masthead-item-image.video-fallback	{
	display:none;
}

.fsn-gallery .masthead .masthead-item-video > .video-element	{
	display:block;
	margin:0;
	width:auto;
	height:auto;
	min-width:100%;
	min-height:100%;
	max-width:none;
	position:absolute;
	top:0;
	left:0;
	z-index:1;
}

.fsn-gallery .masthead .slides li.loading img.masthead-image	{
	opacity:0;
}

.no-opacity .fsn-gallery .masthead .slides li.loading img.masthead-image	{
	visibility:hidden;
}

.fsn-gallery .masthead .masthead-item-content	{
	position:absolute;
	left:0;
	bottom:60px;
	width:100%;
	padding:0 15px;
	color:#fff;
	z-index:2;
	text-align:center;
	-webkit-transform: translate3d(0px, 0px, 0px); /*fix chrome animation z-index bug*/
}

.fsn-gallery .masthead .masthead-item-image, .masthead-placeholder-container	{
	-webkit-transform:translateZ(0);
}

.fsn-gallery .masthead .slides img.masthead-image,
.fsn-gallery .masthead .masthead-placeholder-container img.masthead-image	{
	max-width:none;
	height:auto;
	position:absolute;
	top:0;
	left:0;
	z-index:1;
	opacity:1;
	-moz-transition:opacity 0.6s;
	-webkit-transition:opacity 0.6s;
	transition:opacity 0.6s;
}

.fsn-gallery .masthead .gallery-item-logo	{
	display:inline-block;
	max-width:100%;
}

.csstransitions .fsn-gallery .masthead .slide	{
	-moz-transition:opacity 0.6s ease 0.6s !important;
	-webkit-transition:opacity 0.6s ease 0.6s !important;
	transition:opacity 0.6s ease 0.6s !important;
}

.csstransitions .fsn-gallery .masthead .slide.flex-active-slide	{
	-moz-transition-delay:0s !important;
	-webkit-transition-delay:0s !important;
	transition-delay:0s !important;
}

/* Masthead Controls */

.masthead .masthead-controls .flex-control-nav{
	position: static;
	text-align: left;
	width: 500%;
	line-height:0;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}
.masthead .masthead-controls .flex-control-paging-wrap{
	position: absolute;
	bottom: 30px;
	left: 50%;
	z-index: 10;
	margin-left: -80px;
	max-width: 160px;
	overflow: hidden;
	height: 20px;
	-webkit-transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-ms-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
	opacity: 0;
}
.masthead .masthead-controls .flex-control-paging-wrap.in{
	opacity: 1;
}
.masthead-controls .flex-control-nav li a{
	width: 20px;
	height: 20px;
	overflow:hidden;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	-ms-transform: scale(0.4, 0.4); /* IE9 */
	-webkit-transform: scale(0.4, 0.4) translate3d(0px, 0px, 0px);
	-moz-transform: scale(0.4, 0.4) translate3d(0px, 0px, 0px);
	-ms-transform: scale(0.4, 0.4) translate3d(0px, 0px, 0px);
	transform: scale(0.4, 0.4) translate3d(0px, 0px, 0px);
}
.masthead-controls .flex-control-nav li a.flex-active{
	-ms-transform: scale(1, 1); /* IE9 */
	-webkit-transform: scale(1, 1) translate3d(0px, 0px, 0px);
	-moz-transform: scale(1, 1) translate3d(0px, 0px, 0px);
	-ms-transform: scale(1, 1) translate3d(0px, 0px, 0px);
	transform: scale(1, 1) translate3d(0px, 0px, 0px);
}
.masthead-controls .flex-control-nav li.sibling-li a{
	-ms-transform: scale(1, 1); /* IE9 */
	-webkit-transform: scale(1, 1) translate3d(0px, 0px, 0px);
	-moz-transform: scale(1, 1) translate3d(0px, 0px, 0px);
	-ms-transform: scale(1, 1) translate3d(0px, 0px, 0px);
	transform: scale(1, 1) translate3d(0px, 0px, 0px);
}
.masthead-controls .flex-control-nav li.next-sibling-li a{
	-ms-transform: scale(0.7, 0.7); /* IE9 */
	-webkit-transform: scale(0.7, 0.7) translate3d(0px, 0px, 0px);
	-moz-transform: scale(0.7, 0.7) translate3d(0px, 0px, 0px);
	-ms-transform: scale(0.7, 0.7) translate3d(0px, 0px, 0px);
	transform: scale(0.7, 0.7) translate3d(0px, 0px, 0px);
}

@media (max-width: 767px) {
	.masthead-controls .flex-control-nav li a{
		width: 10px;
		height: 10px;
	}
	.masthead .masthead-controls .flex-control-paging-wrap{
		max-width: 110px;
		margin-left: -55px;
		bottom: 10px;
	}
	.fsn-gallery .masthead.mobile-flex	{
		-moz-transition:height 0.3s;
		-webkit-transition:height 0.3s;
		transition:height 0.3s;
	}
	.fsn-gallery .masthead.mobile-flex .masthead-item-content	{
		position:relative;
		bottom:0;
		padding-top:30px;
		padding-bottom:60px;
	}
	.fsn-gallery .masthead .gallery-item-logo	{
		height:auto !important;
	}
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.fsn-gallery .masthead-container	{
		margin-left:-6px;
		margin-right:-6px;
	}
	.full-width-row.seamless .fsn-gallery .masthead-container,
	.full-width-container.seamless .fsn-gallery .masthead-container	{
		margin-left:0;
		margin-right:0;
	}
	.fsn-gallery .masthead .slides img.masthead-image,
	.fsn-gallery .masthead .masthead-placeholder-container img.masthead-image	{
		width: auto;
		height: auto;
		min-width:100%;
		min-height:100%;
	}
	.fsn-gallery .masthead .masthead-item-content	{
		bottom:40px;
		padding:0 100px;
	}
	.fsn-gallery .masthead[data-controls="paging"] .masthead-item-content, .fsn-gallery .masthead[data-controls="both"] .masthead-item-content	{
		bottom:76px;
	}
}

/**
 * Inline Gallery
 */

.fsn-gallery .inline	{
	margin:0 auto;
	width: 100%;
	min-width:100%;
	height:300px;
	position:relative;
	overflow:hidden;
	border:none;
	border-radius: 0;
	box-shadow:none;
	z-index: 1;
	background:#222;
}

.fsn-gallery .inline .inline-placeholder-container	{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:3;
}

.fsn-gallery .inline .flex-viewport, .inline ul.slides	{
	height:100%;
}

.fsn-gallery .inline ul.slides li	{
	height:100%;
	overflow:hidden;
	margin:0;
	padding:0;
}

.opacity .fsn-gallery .inline ul.slides li.slide.waiting	{
	opacity:1 !important;
}

.no-opacity .fsn-gallery .inline ul.slides li.slide.waiting	{
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
	filter:alpha(opacity=100) !important;
}

.fsn-gallery .inline ul.slides .inline-image,
.fsn-gallery .inline .inline-placeholder-container .inline-image	{
	display:block;
	position:relative;
	max-width:none;
	width:auto;
	height:100%;
	min-height:300px;
	margin:auto;
	opacity:1;
	-moz-transition:opacity 0.6s;
	-webkit-transition:opacity 0.6s;
	transition:opacity 0.6s;
}

.fsn-gallery .inline ul.slides li.loading .inline-image	{
	opacity:0;
}

.no-opacity .fsn-gallery .inline ul.slides li.loading .inline-image	{
	visibility:hidden;
}

.fsn-gallery .inline .preloader	{
	margin-top:-25px;
	margin-left:-40px;
	position:absolute;
	top:50%;
	left:50%;
	z-index:2;
}

.fsn-gallery .inline-nav-container	{
	position: relative;
	padding: 5px;
	background:#eee;
}

.fsn-gallery .inline-nav	{
	background: transparent;
	margin:0 auto;
	border:none;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
	box-shadow:none;
	overflow:hidden;
}

.fsn-gallery .inline-nav .slides > li	{
	margin-right:5px;
	cursor:pointer;
	background:#222;
}

.fsn-gallery .inline-nav .slides > li img {
	display:block;
    -webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
	opacity:0.5;
	-moz-transition:opacity 0.3s;
	-webkit-transition:opacity 0.3s;
	transition:opacity 0.3s;
}

.fsn-gallery .inline-nav .slides > li.flex-active-slide img, .fsn-gallery .inline-nav .slides > li.flex-active-slide:hover img	{
	opacity:1;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.fsn-gallery .inline	{
		height:500px;
	}
	.fsn-gallery .inline ul.slides .inline-image,
	.fsn-gallery .inline .inline-placeholder .inline-image	{
		min-height:500px;
	}
}

/*Carousel Layout*/

.carousel.flexslider {
	background:none;
	border-radius:0;
	border:none;
	box-shadow:none;
	padding-bottom:40px;
	margin-bottom:40px;
}

.carousel-mobile.flexslider {
	background:none;
	border-radius:0;
	border:none;
	box-shadow:none;
	margin-bottom:60px;
}

.carousel.flexslider[data-controls="none"], .carousel-mobile.flexslider[data-controls="none"]	{
	margin-bottom:0;
	padding-bottom:0;
}

.carousel.flexslider .carousel-item	{
	padding-left:6px;
	padding-right:6px;
}

.carousel-mobile.flexslider .carousel-item	{
	padding-left:15px;
	padding-right:15px;
}

.carousel.flexslider .carousel-item img, .carousel-mobile.flexslider .carousel-item img {
	width:100%;
	height:auto;
}

.carousel-item .carousel-item-button	{
	display:block;
}

.carousel .carousel-controls-container {
	text-align:center;
}

.carousel .carousel-controls {
	position:absolute;
	bottom:0px;
	left:50%;
	padding-left:35px;
	padding-right:35px;
	-ms-transform:translateX(-50%);
	-moz-transform:translateX(-50%);
	-webkit-transform:translateX(-50%);
	transform:translateX(-50%);
}

.carousel .carousel-controls .flex-control-nav {
	position:static;
	white-space:nowrap;
	line-height:0;
}

.carousel .carousel-controls a:focus	{
	outline:none;
}

.carousel .flex-direction-nav a, .carousel.flexslider:hover .flex-direction-nav a	{
	opacity:1;
}

.carousel .flex-direction-nav a:before	{
	font-size:28px;
	line-height:40px;
}

.carousel .flex-direction-nav .flex-prev, .carousel.flexslider:hover .flex-direction-nav .flex-prev {
	left:0;
	text-align:left;
}

.carousel .flex-direction-nav .flex-next, .carousel.flexslider:hover .flex-direction-nav .flex-next {
	right:0;
	text-align:right;
}

/**
 * CSS Loader
 */

.bubblingG {
	text-align: center;
	width:80px;
	height:50px;
}

.bubblingG span {
	display: inline-block;
	vertical-align: middle;
	width: 10px;
	height: 10px;
	margin: 25px auto;
	background: #000000;
	-moz-border-radius: 50px;
	-moz-animation: bubblingG 1.3s infinite alternate;
	-webkit-border-radius: 50px;
	-webkit-animation: bubblingG 1.3s infinite alternate;
	-ms-border-radius: 50px;
	-ms-animation: bubblingG 1.3s infinite alternate;
	-o-border-radius: 50px;
	-o-animation: bubblingG 1.3s infinite alternate;
	border-radius: 50px;
	animation: bubblingG 1.3s infinite alternate;
}

#bubblingG_1 {
	-moz-animation-delay: 0s;
	-webkit-animation-delay: 0s;
	-ms-animation-delay: 0s;
	-o-animation-delay: 0s;
	animation-delay: 0s;
}

#bubblingG_2 {
	-moz-animation-delay: 0.39s;
	-webkit-animation-delay: 0.39s;
	-ms-animation-delay: 0.39s;
	-o-animation-delay: 0.39s;
	animation-delay: 0.39s;
}

#bubblingG_3 {
	-moz-animation-delay: 0.78s;
	-webkit-animation-delay: 0.78s;
	-ms-animation-delay: 0.78s;
	-o-animation-delay: 0.78s;
	animation-delay: 0.78s;
}

@-moz-keyframes bubblingG {
	0% {
		width: 10px;
		height: 10px;
		background-color:#000000;
		-moz-transform: translateY(0);
	}

	100% {
		width: 24px;
		height: 24px;
		background-color:#FFFFFF;
		-moz-transform: translateY(-21px);
	}

}

@-webkit-keyframes bubblingG {
	0% {
		width: 10px;
		height: 10px;
		background-color:#000000;
		-webkit-transform: translateY(0);
	}

	100% {
		width: 24px;
		height: 24px;
		background-color:#FFFFFF;
		-webkit-transform: translateY(-21px);
	}

}

@-ms-keyframes bubblingG {
	0% {
		width: 10px;
		height: 10px;
		background-color:#000000;
		-ms-transform: translateY(0);
	}

	100% {
		width: 24px;
		height: 24px;
		background-color:#FFFFFF;
		-ms-transform: translateY(-21px);
	}

}

@-o-keyframes bubblingG {
	0% {
		width: 10px;
		height: 10px;
		background-color:#000000;
		-o-transform: translateY(0);
	}

	100% {
		width: 24px;
		height: 24px;
		background-color:#FFFFFF;
		-o-transform: translateY(-21px);
	}

}

@keyframes bubblingG {
	0% {
		width: 10px;
		height: 10px;
		background-color:#000000;
		transform: translateY(0);
	}

	100% {
		width: 24px;
		height: 24px;
		background-color:#FFFFFF;
		transform: translateY(-21px);
	}

}

/**
 * Ken Burns Effect
 */

@media (min-width: 768px) {
	.kenburns .animating-visible img.masthead-image	{
		animation:kenburns 30s cubic-bezier(0, 0, .80, .90) infinite alternate;
	}
}

@keyframes kenburns	{
	0%	{
		transform:scale3d(1, 1, 1);
	}
	100% {
		transform:scale3d(1.2,1.2,1);
		transform-origin:(50%, 50%);
	}
}
