/**
 * Styles for Fusion Extension : Gallery : Slideshow
 */

.fsn-gallery .slideshow .slideshow-container {
	position:relative;
	height:375px;
}
.fsn-gallery .slideshow .slideshow-item  {
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	width:100%;
	height:100%;
	display:flex;
	align-items:flex-end;
}
.fsn-gallery .slideshow .slideshow-item-media  {
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	width:100%;
	height:calc(100% - 124px);
	overflow:hidden;
}
.fsn-gallery .slideshow .slideshow-item-media img,
.fsn-gallery .slideshow .slideshow-item-media video  {
	display:block;
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	width:100%;
	height:100%;
	object-fit:cover;
}
.fsn-gallery .slideshow .slideshow-item-content  {
	width:100%;
	background:#222222;
	color:#ffffff;
	text-align:center;
	padding:30px 30px 68px;
	position:relative;
	z-index:2;
}
.fsn-gallery .slideshow .slideshow-item-video-pause,
.fsn-gallery .slideshow .slideshow-slider-pause  {
	position:absolute;
	bottom:15px;
	left:15px;
	z-index:11;
	display: block;
	width:48px;
	height:48px;
	margin:0;
	padding:0;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	border:0;
	border-radius:0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background:url('images/baseline-pause.svg') no-repeat center center;
	background-size:contain;
}
.fsn-gallery .slideshow .slideshow-item-video-pause.paused,
.fsn-gallery .slideshow .slideshow-slider-pause.paused  {
	background-image:url('images/baseline-play_arrow.svg');
}

@media (min-width: 768px) {
	.fsn-gallery .slideshow .slideshow-container {
		margin-left:auto;
		margin-right:auto;
		height:700px;
	}
	.fsn-gallery .slideshow .slideshow-item-media {
		height:calc(100% - 68px);
	}
	.fsn-gallery .slideshow .slideshow-item-content  {
		padding:20px 140px 20px 36px;
		text-align:left;
	}
}

/**
* Slider
*/

/*Begin base styles adapted from flexslider.css*/
.slideshow-slider,
.slideshow-slider .slideshow-slides {
	zoom: 1;
}
.slideshow-slider .slideshow-slides img {
	user-select: none;
}
.slideshow-slides,
.slideshow-slides > li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.slideshow-slider .slideshow-slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.slideshow-slider .slideshow-slides > li:first-child {
	display: block;
}
.slideshow-slider .slideshow-slides:after {
	content: "\0020";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
html[xmlns] .slideshow-slider .slideshow-slides {
	display: block;
}
* html .slideshow-slider .slideshow-slides {
	height: 1%;
}
/*End base styles adapted from flexslider.css*/

.fsn-gallery .slideshow .slideshow-slider  {
	overflow:hidden;
}
.fsn-gallery .slideshow .slideshow-slider,
.fsn-gallery .slideshow .slideshow-slides,
.fsn-gallery .slideshow .slideshow-slides > li {
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	width:100%;
	height:100%;
}
.fsn-gallery .slideshow .slideshow-slides > li	{
	-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;
}
.fsn-gallery .slideshow .slideshow-slides > li.flex-active-slide	{
	-moz-transition-delay:0s !important;
	-webkit-transition-delay:0s !important;
	transition-delay:0s !important;
}

/**
* Slider Controls
*/

.fsn-gallery .slideshow .flex-direction-nav {
	position:absolute;
	bottom:0;
	right:0;
	width:140px;
	height:70px;
}
.fsn-gallery .slideshow .flex-direction-nav a	{
	width:48px;
	height:48px;
	margin-top:-24px;
	text-shadow:none;
	opacity:0.6;
}
.fsn-gallery .slideshow .flex-direction-nav a:before	{
	text-shadow:none;
	width:48px;
	height:48px;
	background-repeat:no-repeat;
	background-position:center center;
}
.fsn-gallery .slideshow .flex-direction-nav a:focus,
.fsn-gallery .slideshow .flex-direction-nav a:hover  {
	box-shadow:none;
}
.fsn-gallery .slideshow .flex-direction-nav .flex-prev,
.fsn-gallery .slideshow .slideshow-slider:hover .flex-direction-nav .flex-prev  {
	left:0;
	opacity:0.6;
}
.fsn-gallery .slideshow .flex-direction-nav .flex-next,
.fsn-gallery .slideshow .slideshow-slider:hover .flex-direction-nav .flex-next  {
	right:0;
	opacity:0.6;
}
.fsn-gallery .slideshow .slideshow-slider:hover .flex-direction-nav .flex-prev:hover,
.fsn-gallery .slideshow .slideshow-slider:hover .flex-direction-nav .flex-next:hover	{
	opacity:1;
}
.fsn-gallery .slideshow .flex-direction-nav a.flex-prev:before	{
	content:'';
	background-image:url('images/baseline-chevron_left.svg');
}
.fsn-gallery .slideshow .flex-direction-nav a.flex-next:before	{
	content:'';
	background-image:url('images/baseline-chevron_right.svg');
}

@media (max-width: 767px) {
	.fsn-gallery .slideshow .flex-direction-nav  {
		width:auto;
		height:auto;
		line-height:0;
		margin:0 15px;
		padding-top:10px;
		padding-bottom:10px;
		bottom:0;
		left:0;
		right:0;
		text-align:center;
	}
	.fsn-gallery .slideshow .flex-direction-nav a	{
		line-height:1;
	}
	.fsn-gallery .slideshow .flex-direction-nav li  {
		display:inline-block;
	}
	.fsn-gallery .slideshow .flex-direction-nav .flex-prev	{
		position:relative;
		left:0;
		margin-top:0;
		opacity:1;
	}
	.fsn-gallery .slideshow .flexslider:hover .flex-direction-nav .flex-prev	{
		left:50px;
	}
	.fsn-gallery .slideshow .flex-direction-nav .flex-next	{
		position:relative;
		right:0;
		margin-top:0;
		opacity:1;
	}
	.fsn-gallery .slideshow .flex-direction-nav .flex-disabled	{
		opacity:1;
	}
	.fsn-gallery .slideshow .flexslider:hover .flex-direction-nav .flex-next	{
		right:50px;
	}
}

@media (min-width: 768px) {
	.fsn-gallery .slideshow .flex-direction-nav .flex-prev,
	.fsn-gallery .slideshow .flex-direction-nav .flex-next,
	.fsn-gallery .slideshow .flex-direction-nav .flex-prev:before,
	.fsn-gallery .slideshow .flex-direction-nav .flex-next:before,
	.fsn-gallery .slideshow .flex-direction-nav .flex-prev:after,
	.fsn-gallery .slideshow .flex-direction-nav .flex-next:after	{
		width:70px;
		height:70px;
		margin:0;
		top:0;
	}
}