/**
 * 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: 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: rgba(0, 0, 0, 0.3);
	}

	.featherlight:before {
		/* position: trick to center content vertically */
		content: '';
		display: inline-block;
		height: 100%;
		vertical-align: middle;
		margin-right: -0.25em;
	}

	.featherlight .featherlight-content {
		min-height:100px;
		min-width:200px;
		background:#fff url('../images/loader.gif') center center no-repeat;
		/* 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;
		margin-left:20px;
		margin-right:20px;
		max-height: 95%;
		padding:20px 20px 0;
		border-bottom: 20px solid transparent;

		/* styling */
		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;
		right: 0;
		width:50px;
		height:50px;
		font-size:30px;
		line-height:48px;

		/* styling */
		cursor: pointer;
		text-align: center;
		font-family: Arial, sans-serif;
		color:#fe7205;
		-webkit-transition:all .3s ease-in-out;
		-moz-transition:all .3s ease-in-out;
		-ms-transition:all .3s ease-in-out;
		-o-transition:all .3s ease-in-out;
		transition:all .3s ease-in-out;
	}
	
	.featherlight .featherlight-close-icon:hover {
		color:#000;
	}


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

	.featherlight * {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	.featherlight-previous span, .featherlight-next span {
		display:none !important;
	}
	
	.featherlight-previous, .featherlight .featherlight-next { 
		width:10px;
		height:100px;
		padding:15px;
		position:absolute;
		display:block;
		top:50%;
		margin-top:-50px;
		color:#fff;
		opacity:0;
		background:rgba(162, 215, 34, 0.7);
		-webkit-transition:all .3s ease-in-out;
		-moz-transition:all .3s ease-in-out;
		-ms-transition:all .3s ease-in-out;
		-o-transition:all .3s ease-in-out;
		transition:all .3s ease-in-out;
	}
	
	.featherlight-previous:before, .featherlight-next:before {
    position: absolute;
    top: 50%;
    margin-top: -12px;
    left: 8px;
    font-family: FontAwesome;
    font-style: normal;
    line-height:25px;
    text-decoration: inherit;
	}
	
	.featherlight-next {
		right:20px;
	}
	
	.featherlight-next:before {
	    content: '\f054';
	}
	
	.featherlight-previous:before {
	    content: '\f053';
	}
	
	.featherlight-previous:hover, .featherlight-next:hover {
		background:#A2D722;
	}
	
	.featherlight-content:hover .featherlight-previous, .featherlight-content:hover .featherlight-next {
		opacity:1;
	}
}

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

		padding: 10px 10px 0;
		border-bottom: 10px solid transparent;
	}
}

@media only screen and (max-width: 959px) {
	.featherlight-next {
		right:10px;	
	}
}