/**
 * Featherlight – ultra slim jQuery lightbox
 * Version 1.7.13 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2018, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/

html.with-featherlight {
	/* disable global scrolling when featherlights are visible */
	overflow: hidden;
}

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

.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;*/
	padding: 1.5rem 1.5rem 0;
	border-bottom: 1.5rem solid transparent;

	/* 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;
}

.featherlight .gallery-caption {
	font-size: 0.875rem;
	padding: 1rem 1.25rem 0 0;
	margin: 0 1.5rem;
	background: #fff;
	line-height: 1.3;
	color: #aaa;
	letter-spacing: -.01rem;
	position: absolute;
		bottom: 0;
		left: 0;
}

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

/* don't show these though */
.featherlight script.featherlight-inner,
.featherlight link.featherlight-inner,
.featherlight style.featherlight-inner {
	display: none;
}

.featherlight .featherlight-close-icon {
	/* position: centering vertical and horizontal */
	/*border-radius: 50%;*/
	position: absolute;
		z-index: 9999;
		top: 0;
		right: 0;

	height: 3rem;
	width: 3rem;

	/* styling */
	background: #fff;
	cursor: pointer;
	font-size: 1.25rem;
	text-align: center;
	color: #ccc;
	border: none;
	transition: .2s color ease;	
}
.featherlight .featherlight-close-icon:hover,
.featherlight .featherlight-close-icon:focus {
	color: #f7941d;
}

/* See http://stackoverflow.com/questions/16077341/how-to-reset-all-default-styles-of-the-html5-button-element */
.featherlight .featherlight-close-icon::-moz-focus-inner {
	border: 0;
	padding: 0;
}

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


.featherlight-iframe .featherlight-content {
	/* removed the border for image cropping since iframe is edge to edge */
	border-bottom: 0;
	padding: 0;
	-webkit-overflow-scrolling: touch;
}

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

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

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

/* hide non featherlight items when printing */
@media print {
	html.with-featherlight > * > :not(.featherlight) {
		display: none;
	}
}


/**
 * Featherlight Gallery – an extension for the ultra slim jQuery lightbox
 * Version 1.7.13 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2018, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/

/*.featherlight-next,
.featherlight-previous {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
    bottom: 0;
    left: 80%;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: rgba(0, 0, 0, 0)
}

.featherlight-previous {
    left: 25px;
    right: 80%
}

.featherlight-next:hover,
.featherlight-previous:hover {
    background: rgba(255, 255, 255, .25)
}

.featherlight-next span,
.featherlight-previous span {
    display: none;
    position: absolute;
    top: 50%;
    left: 5%;
    width: 82%;
    text-align: center;
    font-size: 80px;
    line-height: 80px;
    margin-top: -40px;
    text-shadow: 0 0 5px #fff;
    color: #fff;
    font-style: normal;
    font-weight: 400
}

.featherlight-next span {
    right: 5%;
    left: auto
}

.featherlight-next:hover span,
.featherlight-previous:hover span {
    display: inline-block
}

.featherlight-first-slide.featherlight-last-slide .featherlight-next,
.featherlight-first-slide.featherlight-last-slide .featherlight-previous,
.featherlight-loading .featherlight-next,
.featherlight-loading .featherlight-previous,
.featherlight-swipe-aware .featherlight-next,
.featherlight-swipe-aware .featherlight-previous {
    display: none
}

@media only screen and (max-device-width:1024px) {
    .featherlight-next:hover,
    .featherlight-previous:hover {
        background: 0 0
    }
    .featherlight-next span,
    .featherlight-previous span {
        display: block
    }
}

@media only screen and (max-width:1024px) {
    .featherlight-next,
    .featherlight-previous {
        top: 10px;
        right: 10px;
        left: 85%
    }
    .featherlight-previous {
        left: 10px;
        right: 85%
    }
    .featherlight-next span,
    .featherlight-previous span {
        margin-top: -30px;
        font-size: 40px
    }
}*/

.featherlight-next, 
.featherlight-previous {
	display: block;
	background: #fff;
	position: absolute;
		top: 0;
		left: 0;
	width: 3rem;
	height: 3rem;
	text-align: center;
	color: #ccc;
	cursor: pointer;
	transition: .2s color ease;
	font-size: 1.5rem;
	line-height: 2.85rem;
}
.featherlight-next {
	left: 3rem;
}
.featherlight-next:hover, 
.featherlight-previous:hover {
	color: #f7941d;
}