/**
 * Featherlight â€“ ultra slim jQuery lightbox
 * Version 1.5.0 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2016, NoÃ«l Raoul Bossart (http://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: 10000; /* 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;
		height: 100%;
		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.scrollable:last-of-type {
		background: rgba(0, 0, 0, 0.9);
		top: 0;
		height: 100%;
	}

	.featherlight:last-of-type {
		background: rgba(255, 255, 255, 0.95);
	}

	.featherlight.featherlight-iframe:last-of-type {
		background: rgba(0, 0, 0, 0.9);
	}

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

		/* dimensions: handling large content */
		

		/* styling */
		cursor: auto;

		/* reset white-space wrapping */
		max-height: 90%;
		white-space: normal;
	}

.featherlight.scrollable .featherlight-content {
    width: 100%;
    max-height: 100%;
}

	/* contains the content */
	.featherlight .featherlight-inner {
		/* make sure its visible */
		display: block;
		margin: auto;
		height: auto;
	}

	.featherlight .featherlight-close-icon {
		/* position: centering vertical and horizontal */
		position: absolute;
		z-index: 9999;
		top: 10px;
		right: 15px;

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

		/* styling */
		font-size: 30px;
		cursor: pointer;
		text-align: center;
		font-family: Arial, sans-serif;
		 /* Set the background in case it overlaps the content */
		color: #000;
	}

.featherlight span.featherlight-close-icon.featherlight-close {
    background: #fff;
    right: 50px;
    text-align: center;
    font-size: 24px;
    width: 49px;
    padding: 11px;
    height: 49px;
    border-radius: 50%;
    top: 25px;
}

.featherlight span.featherlight-close-icon.featherlight-close:hover {
    color: #d04e4f;
}

span.featherlight-close-icon.featherlight-close:hover {
    color: #d04e4f;
}


	.featherlight .featherlight-image {
		/* styling */
		width: 100%;
	}

.featherlight.scrollable img.featherlight-image.featherlight-inner {
	width: 100%!important;
	max-width: 1400px;
    height: auto!important;
    margin: 15vh auto;
}


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

	.featherlight * { /* See https://github.com/noelboss/featherlight/issues/42 */
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

.feathercap {
    text-align: center;
    float: right;
    margin-top: 20px;
    display: none;
    position: fixed;
    width: 100%;
    margin: auto;
    height: 260px;
    left: 0;
    padding: 0px 30%;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    bottom: -196px;
    transition: all ease-in-out .5s;
}

.feathercap:hover {
    bottom: 0;
}

.feathercap:before {content: "[About the photo]";font-size: 30px;display: block;border-bottom: 1px solid #d04e4f;padding: 0 20px 4px;line-height: 60px;font-weight: 100;margin-bottom: 19px;}
}

/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
	.featherlight .featherlight-content {
		/* dimensions: maximize lightbox with for small screens */
		max-height: 98%;
		margin: 0 auto;
		width: 100%;
		left: 0;
		right: 0;
		padding: 10px 0px 0;
		border-bottom: 10px solid transparent;
	}

.featherlight:before {
    margin: 0;
}

.featherlight {
    top: 0;
    height: 100%;
}

.feathercap {
    display: none;
}
}
