/**
 * Featherlight – ultra slim jQuery lightbox
 * Version 0.4.10 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2014, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/
.featherlight {
	display: none;

	/* dimensions: spanning the background from edge to edge */
	position:fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 20;

	/* 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: rgba(0, 0, 0, 0.8);
	z-index:10000;
}

.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: auto;*/
	padding: 25px 25px 0;
	border-bottom: 25px solid transparent;

	/* dimensions: handling small or non existing (loading images) content */
/*		min-width:  30%;
*/
	/* dimensions: handling large content */
	margin-left: 5%;
	margin-right: 5%;
	max-height: 95%;

	/* styling */
	background: #fff;
	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;
	/*top: 0;*/
	top: -30px;
	right: 0;

	/* dimensions: 25px x 25px */
	line-height: 25px;
	width: 25px;

	/* styling */
	cursor: pointer;
	text-align: center;
	font: Arial, sans-serif;
	/*background: #fff;*/ /* Set the background in case it overlaps the content */
	/*background: rgba(255, 255, 255, 0.3);*/
	/*color: #000;*/
	color: #FFF;
	font-size:30px;
}


.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;
}


.lightbox { display: none; }
.fl-page .btn-default { vertical-align: bottom; }
/* override default feather style... */
.fixwidth {
		background: rgba(256,256,256, 0.8);
}
.fixwidth .featherlight-content {
		width: 500px;
		padding: 25px;
		color: #fff;
		background: #111;
}
.fixwidth .featherlight-close {
		color: #fff;
		background: #333;
}

@media screen and (max-width:640px) {
}
@media screen and (max-width:640px) {
	.featherlight:before {
		content:none;
	}
	.featherlight .featherlight-content {
		 position: relative;
		 padding-bottom: 56.25%;
		 height: 0;
		 width:90%;
		 margin-top:56.25%;
	}
	.featherlight .featherlight-inner {
		max-width:100%;
		 position: absolute;
		 top: 0;
		 left: 0;
		 width: 100%;
		 height: 100%;
	}
}