/* Homepage Slideshow */
.prml-slideshow {
	position: relative;
	display: block;
	max-width: 100vw;
	overflow: hidden;
}

.prml-slideshow .slides,
.prml-slideshow .slides a,
.prml-slideshow .slides figure {
	display: block;
	width: 100%;
	max-width: 100vw;
	overflow: hidden;
}


/* .prml-slideshow .slides {
	width: 100%;
	overflow: hidden;
} */

.prml-slideshow .slides figure {
	position: relative;
	display: block;
	width: 100%;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	margin: 0 !important;
	padding: 0 !important;
}

.prml-slideshow .slides figcaption {
	position: absolute;
	top: 40%;
	left: 4%;
	box-sizing: border-box;
	
	display: block;
	width: 28%;
	padding: 0;
}

.prml-slideshow .slides figure .captionbg {
	position: absolute;
	bottom: 0;
	left: 0;
	box-sizing: border-box;
	
	display: block;
	width: 100%;
	padding: 12px 0 0 0;
	height: 100px;
	/*background: rgba(0, 0, 0, 0.31);*/

	/* background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}


.prml-slideshow .slides figcaption div {
	font-family: 'Open Sans';
	font-size: 1.1em;
	font-weight: 700;
	line-height: 1.1em;
	color: #ffffff;
	margin: 50px 5.2% 0;
	text-shadow: 3px 4px 0 rgba(0,0,0,0.2), 1px 2px 0 rgba(0,0,0,0.2);
}

.prml-slideshow .pager {
	position: absolute;
	bottom: 0px;
	right: 5%;
	z-index: 9999;
	margin: 0;
}

.prml-slideshow .pager span {
	position: relative;
	font-size: 2em;
	padding: 0 2px;
	color: rgba(255, 255, 255, 0.54);
	cursor: pointer;
}

.prml-slideshow .pager span.cycle-pager-active {
	color: #ffffff;
	font-weight: bold;
}

.prml-slideshow .slides figure {
	/* height: 600px; */
	background: rgba(0,0,0,0.2);
}

.prml-slideshow .edit-link {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1000;
	background: rgba(0,0,0,0.5);
	color: white !important;
	display: inline-block;
	padding: 2px 10px;
	font-family: sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
}

.prml-slideshow .edit-link:hover,
.prml-slideshow .edit-link:focus {
	background: rgba(0,0,0,0.8);
}


.prml-slideshow .prml-overlay {
	box-sizing: border-box;
	position: absolute;
	z-index: 1000;
	top: 10%;
	right: 5%; /* left: 25%; */
	width: 500px;
/*	height: 450px;*/
	max-height: 450px;
	padding: 40px 40px 40px 40px;
	overflow: auto;		
	background: rgba(255,255,255,0.8);
	color: #222;
	font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 24px;
}
	/* mobile */ @media screen and (max-width: 680px) { 
		.prml-slideshow .prml-overlay { 
			padding: 20px; 
			font-size: 18px;
		}
	}

	.prml-slideshow .prml-overlay .title-left,
	.prml-slideshow .prml-overlay .title-right { 
		font-size: 2em;
		font-weight: 600;
		margin: 20px 0 30px 0;
	}
	
	.prml-slideshow .prml-overlay ul li { 
		margin: 0 0 15px 0;
		font-weight: bold;
		line-height: 25px;
	}
	
	.prml-slideshow .prml-overlay .module-button { margin: 20px 0 0 0; }
	.prml-slideshow .prml-overlay .module-button a.builder_button {
		border: 0;
		border-radius: 0;
		background: #d20202;
		font-weight: 700;
		width: 100%;
		padding: 20px 0;
		text-transform: uppercase;
	}
		.prml-slideshow .prml-overlay .module-button a.builder_button:hover {
			background: #960404;
			color: #fff !important;
		}
		
		/* mobile */ @media screen and (max-width: 680px) { 
			.prml-slideshow .prml-overlay .module-button a.builder_button { font-size: 16px; }
		}

@media only screen and (min-width: 1025px) {
	.prml-slideshow,
	.prml-slideshow .slides,
	.prml-slideshow .slides figure {
		height: 450px !important;
	}
	.prml-slideshow .prml-overlay {
		top: 20px;
		right: 30px;
		max-height: 350px !important;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
	.prml-slideshow,
	.prml-slideshow .slides,
	.prml-slideshow .slides figure {
		height: 350px !important;
	}
	.prml-slideshow .prml-overlay {
		top: 20px;
		right: 30px;
		max-height: 250px !important;
	}
}

@media only screen and (max-width: 767px) {
	.prml-slideshow,
	.prml-slideshow .slides,
	.prml-slideshow .slides figure {
		height: 250px !important;
	}

	.prml-slideshow .prml-overlay {
		top: 10px;
		left: 10px;
		right: 10px;
		width: auto;
		max-height: 250px !important;
	}
	
	.prml-slideshow .pager {
		width: 100%;
		text-align: center;
		bottom: -40px;
		right: 0;
	}
	
	.prml-slideshow .pager span {
		color: #CCC;
	}
	
	.prml-slideshow .pager span.cycle-pager-active {
		color: #000;
	}
	
	body .prml-slideshow .slides figure {
		background-position: bottom right !important;
	}

	body .prml-slideshow .slides figcaption {
		top: auto;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 100;
	}
	
	body .prml-slideshow .slides figcaption div {
		font-size: 1.8em;
		margin: 0;
		text-align: left;
		padding: 0.3em 0.2em 0.5em 0.5em;
		float: left;
		text-shadow: 2px 3px 0 rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.3);
		/* background: rgba(0, 0, 0, 0.5); */
	}

	body .prml-slideshow .slides .captionbg {
		display: none;
/* 		bottom: auto;
		top: 0;
		height: 300px;
		z-index: 99; */
	}

}

@media only screen and (max-width: 1200px) {
	.prml-slideshow {
		margin-left: -1rem;
		margin-right: -1rem;
	}
}