.custom_header_slideshow {
	opacity: 1;
	-webkit-transition: all 350ms ease-in-out;
	-moz-transition: all 350ms ease-in-out;
	-o-transition: all 350ms ease-in-out;
	transition: all 350ms ease-in-out;
}
.custom_header_slideshow .slides {
	opacity: 0;
}
.custom_header_slideshow .slides.slick-initialized {
	opacity: 1;
}
.custom_header_slideshow .slide img { width: 100%; position: relative; max-height: 500px; }
.custom_header_slideshow .bg-image { 
	padding: 0px;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	position: relative;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 160px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-position: center;
	max-height: 500px;
}
.custom_header_slideshow.homepage .mobile-read-more { display: none; }

.custom_header_slideshow.homepage .slides { margin-bottom: 0px; }
.custom_header_slideshow.homepage .slide { position: absolute; }

.custom_header_slideshow.homepage .caption {  
	position: absolute;
	left: 274px;
	top: 50px;	
	max-width: none;
	z-index: 2;
}

.custom_header_slideshow.homepage .caption.right {  
	position: absolute;
	right: 20%;
	left: auto;
	top: 104px;	
}

.custom_header_slideshow.homepage .caption p {  
	font-size: 16px;
 	line-height: 26px;
 	font-weight: 300;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.2);

    /* Fallback for web browsers that don't support RGBa */
    background-color: rgb(5, 155, 170);
    /* RGBa with 0.8 opacity */
    background-color: rgba(5, 155, 170, 0.8);
	border-radius: 8px;
	padding: 12px 12px 20px 12px;
	max-width: 500px;
	margin: 0 auto;
	color: #FFF;
	z-index: 100;
}

.custom_header_slideshow.homepage .caption p a {  
 	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

.custom_header_slideshow.homepage h2 {  
  color: #FFF;
  line-height: 82px;
  margin-bottom: 24px;
  font-size: 60px; 
  padding: 0px 12px 0 0px;
  text-shadow: 0px 4px 20px rgba(0,0,0,0.75);
}

.custom_header_slideshow .slick-dots {
  position: absolute;
  bottom: 2%;
  left: 50%;
  margin-left: 0;
  height: 40px;
  width: auto;
  text-align: center;
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1000;
}

.custom_header_slideshow .slick-dots li { margin: 0px 9px; }
.custom_header_slideshow .slick-dots li button {
	display: inline-block;
	position: relative;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ddd;
	background: rgba(0,0,0,0.2);
	cursor: pointer;
	margin: 6px;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
	box-shadow: 
		0 1px 1px rgba(255,255,255,0.4), 
		inset 0 1px 1px rgba(0,0,0,0.1),
		0 0 0 2px rgba(255,255,255,0.5);
}


.custom_header_slideshow .slick-dots li.slick-active button,
.custom_header_slideshow .slick-dots li button:hover {
	box-shadow: 
		0 1px 1px rgba(255,255,255,0.4), 
		inset 0 1px 1px rgba(0,0,0,0.1),
		0 0 0 5px rgba(255,255,255,0.5);
}

.custom_header_slideshow .slick-dots li button:before {
	color: transparent;
}

.custom_header_slideshow .slick-dots li.slick-active button:after {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	top: 3px;
	left: 3px;
	border-radius: 50%;
	background: rgba(255,255,255,0.8);
}

.custom_header_slideshow .slick-slider { margin-bottom: 0px; }


.custom_header_slideshow .video-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.custom_header_slideshow .play-button {
	position: absolute;
	width: 50px;
	height: 50px;
	border: 3px solid rgba(255, 255, 255, 0.8);
	border-radius: 50px;
	background-color: rgba(255, 255, 255, 0.3);
}

.custom_header_slideshow.homepage .play-button {
	bottom: 100px;
}

.custom_header_slideshow .play-button .fa.fa-play {
	position: absolute;
	top: 7px;
	left: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 30px;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    width: 30px !important;
}

@media only screen and (max-width: 64.063em) {
	.custom_header_slideshow.homepage .caption, .custom_header_slideshow.homepage .caption.right { top: 20px; }
	.custom_header_slideshow.homepage .caption.right { right: 5%; }
	.custom_header_slideshow.homepage h2 {
		font-size: 50px;
		line-height: 52px;
		text-align: center;
	}
	.custom_header_slideshow.homepage .caption {
		left: 0;
		top: 0;
		max-width: none;
		width: 100%;
		padding: 15px 5em;
	}
	.custom_header_slideshow.homepage .caption p { max-width: 500px;}
	
	.custom_header_slideshow.homepage .play-button {
		bottom: 60px;
	}
}

@media only screen and (max-width: 40.063em) {
	.custom_header_slideshow .slick-dots {
		left: 50%;
		margin-left: 0px;
		width: auto;
		-ms-transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	.custom_header_slideshow .slick-dots li {
		height: 10px;
		width: 10px;
	}
	.custom_header_slideshow .slick-dots li button {
		height: 12px;
		width: 12px;
	}
	.custom_header_slideshow .slick-dots li button:before {
		height: 10px;
		width: 10px;
		left: 1px;
		line-height: 14px;
	}
	.custom_header_slideshow .slick-dots li button:after {
		height: 8px;
		width: 8px;
		top: 2px;
		left: 2px;
	}
	.custom_header_slideshow .slick-dots li.slick-active button:after {
		content: "";
		position: absolute;
		width: 8px;
		height: 8px;
		top: 2px;
		left: 2px;
		border-radius: 50%;
		background: rgba(255,255,255,0.8);
	}

	
	.custom_header_slideshow.homepage a.mobile-read-more { text-decoration: none; }
	.custom_header_slideshow.homepage .caption, .custom_header_slideshow.homepage .caption.right {
		/*background-image: url('/includes/public/assets/images/white-arrow-right.png');*/
		width: 100%;
		text-align:center;
		background-repeat: no-repeat;
		background-position: 80% 70%;
		padding-right: 20px;
	}
	.custom_header_slideshow.homepage .caption {
		top: 25px;
	    padding: 15px;
	}
	.custom_header_slideshow.homepage .caption p { display: none; }
	.custom_header_slideshow.homepage .caption h2 {
	    font-size: 24px;
	    line-height: 24px;
	    margin-bottom: 0px;
	    padding: 0px;
	}
	
	.custom_header_slideshow.homepage .play-button {
		bottom: 40px;
	}
}

@media only screen and (min-width: 40.063em) {
	.custom_header_slideshow .bg-image {
		height: 330px;
	}
}

@media only screen and (min-width: 64.063em) {
	.custom_header_slideshow .bg-image {
		height: 600px;
	}
}