/**
 * Featherlight – ultra slim jQuery lightbox
 * Version 1.3.4 - https://noelboss.github.io/featherlight/
 *
 * Copyright 2015, Noël Raoul Bossart (https://www.noelboss.com)
 * MIT Licensed.
**/
@media all {
	.featherlight {
		display: none;

		/* dimensions: spanning the background from edge to edge */
		position:fixed;
		top: 0; right: 0; bottom: 0; left: 0;
		z-index: 2147483647; /* z-index needs to be >= elements on the site. */

		/* position: centering content */
		text-align: center;

		/* insures that the ::before pseudo element doesn't force wrap with fixed width content; */
		white-space: nowrap;

		/* styling */
		cursor: pointer;
		background: #333;
		/* IE8 "hack" for nested featherlights */
		background: rgba(0, 0, 0, 0);

	}

	/* support for nested featherlights. Does not work in IE8 (use JS to fix) */
	.featherlight:last-of-type {
		background: transparent;
	}

	.featherlight:before {
		/* position: trick to center content vertically */
		content: '';
		display: inline-block;
		height: 100%;
		vertical-align: middle;
		margin-right: -0.25em;
	}

	.featherlight .featherlight-content {
		/* make content container for positioned elements (close button) */
		position: relative;

		/* position: centering vertical and horizontal */
		text-align: left;
		vertical-align: middle;
		display: inline-block;

		/* dimensions: cut off images */
		overflow: visible;
		padding: 0;

		/* dimensions: handling small or empty content */
		min-width:  30%;

		/* dimensions: handling large content */
		margin-left: 3px;


		/* styling */
		background: #fff;
		border: 1px solid #B6774E;
		cursor: auto;

		/* reset white-space wrapping */
		white-space: normal;
	}

	/* contains the content */
	.featherlight .featherlight-inner {
		/* make sure its visible */
		display: block;
	}

	.featherlight .featherlight-close-icon {
		/* position: centering vertical and horizontal */
		position: absolute;
		z-index: 9999;
		bottom: 25px;
		right: 20px;
		cursor: pointer;
		color: #fff;
		font-size: 1px;
		overflow: hidden;
		text-indent: -10000;
		background: url("images/close.png") no-repeat;
		width: 124px;
		height: 16px;
		display: inline-block;
	}
	.featherlight .featherlight-close-icon:after {

	}

	.featherlight .featherlight-image {
		/* styling */
		width: 100%;
	}


	.featherlight-iframe .featherlight-content {
		/* removed the border for image croping since iframe is edge to edge */
		border-bottom: 0;
		padding: 0;
	}

	.featherlight iframe {
		/* styling */
		border: none;
	}
}

/* handling phones and small screens */
@media only screen and (max-width: 1023px) {
	.featherlight {
	overflow: auto;
     -webkit-overflow-scrolling: touch;
	}
	.featherlight:last-of-type {
	background-color: #fff;
	}
	.featherlight:before {
	margin-right: 0;
	}
	.featherlight .featherlight-content {
		/* dimensions: maximize lightbox with for small screens */
		margin-left: 0px;
		margin-right: 0px;
	}
		.featherlight .featherlight-close-icon {
		bottom: 10px;
		right: 10px;
		}
}