.featherlight {
	display: none;
	position:fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 2147483647; /* z-index needs to be >= elements on the site. */
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	background: #333;
	background: rgba(0, 0, 0, 0);
}
.featherlight:last-of-type {
	background: rgba(0, 0, 0, 0.8);
}

.featherlight:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}

.featherlight .featherlight-content {
	position: relative;
	text-align: left;
	vertical-align: middle;
	display: inline-block;
	overflow: auto;
	padding: 25px 25px 0;
	border-bottom: 25px solid transparent;
	margin-left: 5%;
	margin-right: 5%;
	max-height: 95%;
	background: #fff;
	cursor: auto;
	white-space: normal;
}
.featherlight .featherlight-inner {
	display: block;
}

.featherlight .featherlight-close-icon {
	position: absolute;
	z-index: 9999;
	top: 0;
	right: 0;
	line-height: 50px;
	width: 50px;
	cursor: pointer;
	text-align: center;
	font-size:40px;
	font-family: Arial, sans-serif;
	background: #fff; /* Set the background in case it overlaps the content */
	background: rgba(255, 255, 255, 0.3);
	color: #000;
}
.featherlight .featherlight-image {
	width: 100%;
}

.featherlight-iframe .featherlight-content {
	border-bottom: 0;
	padding: 0;
}

.featherlight iframe {
	border: none;
}

.lightbox { display: none; }

.featherlight-content {
	width: 400px;
	padding: 25px;
	overflow-y: hidden;
}
.featherlight-close {
	color: #fff!important;
	background: #E66A1F!important;
}
.featherlight-content img{
	max-width:100%;
}
/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
	.featherlight .featherlight-content {
		margin-left: 10px;
		margin-right: 10px;
		max-height: 98%;
		width:90%;
		padding: 10px 10px 0;
		border-bottom: 10px solid transparent;
	}
}
