/**
 * Featherlight – ultra slim jQuery lightbox
 * Version 1.3.4 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2015, 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.8);
	}

	.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 empty content */
		width:90%;
        max-width:520px;

		/* 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;
        padding-bottom:8%;
        max-width: 90%;
        margin:0 auto;
        text-align:center;
        font-weight:300;
	}

    .featherlight .featherlight-inner p {
		display: block;
        text-align:center;
        font-size:28px;
        color:#EA3E41;
        text-transform:uppercase;
        margin:0 0 10px 0;
	}

    .featherlight .featherlight-btn-container {
        display: table;
        font-size: 0;
        margin: 0 auto;
        position: relative;
        table-layout: fixed;
        text-align: center;
        width: 100%;
        max-width:240px;
        overflow:hidden;
        z-index: 1;
        cursor:pointer;
    }
    .featherlight .featherlight-btn-container.link {
        display:none;
    }

	.featherlight .featherlight-close-icon {
        position:relative;
		display:table-cell;
        padding:0 8%;
        height:57px;
        vertical-align:middle;
        border:3px solid #eeeeee;
        box-sizing:border-box;
        margin:0 auto;
        text-align:center;

        font-size:18px;
        color:#999999;
        font-weight:600;
        transition: all 0.2s ease;
	}

        .featherlight .featherlight-close-icon:hover {
            border: 3px solid #ED1D25;
            color: #ED1D25;
        }


	.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;
	}
}
