/**
 * 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: 4.25em; right: 0; bottom: 0; left: 0;
/*	margin-left: 5vw;
	margin-right: 5vw;*/

	/*top: 6.5em; 
	bottom: 0; 
	width: 100vw;*/

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

/*.featherlight .featherlight-watermark {
	z-index: 3333333333;
	
  	background-image: url(http://localhost:8888/RobKell/svg/svg/logo_robkell@2x.svg) repeat-x 0 0;
  	height: 60px;
  	width: 60px;
  	position: fixed;
  	bottom: 50px;
  	right: 50px;    
    border: 0; }*/

/* support for nested featherlights. Does not work in IE8 (use JS to fix) */
.featherlight:last-of-type {
	/*background: rgba(41, 42, 46, 0.93);*/
/*	background: rgba(244, 242, 238, 0.91);*/
background: rgba(34,34,34, 0.90);
	
}

.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: 3vw 3vw 0;*/
	padding: 0 0;
/*	border-bottom: 3vw solid transparent;*/
	background: #000;

	/* dimensions: handling large content */
	margin-left: 5%;
	margin-right: 5%;
	max-height: 90%;


	/* styling */
	/*background: #2d2b29;*/
	/*background: #fff;*/
	cursor: auto;

	/* reset white-space wrapping */
	white-space: normal;
	box-shadow: 0 21px 28px rgba(0, 0, 0, 0.44);

/*	background-image: url(http://localhost:8888/RobKell/svg/svg/logo_robkell@2x.svg) center no-repeat; {
  	height: 60px;
  	width: 60px;
  	position: fixed;
  	bottom: 50px;
  	right: 50px;    
    border: 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 */
	position: absolute;
	z-index: 9999;
	top: 0;
	right: 0;
	/*box-shadow: 0 0px 0px rgba(0, 0, 0, 0);*/
	box-shadow: 0 0px 0px rgba(255, 255, 255, 1.0);

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

	/* styling */
	cursor: pointer;
	text-align: center;
	font-family: Arial, sans-serif;
	background: #fff; /* Set the background in case it overlaps the content */
	/*background: rgba(255, 255, 255, 0.3);*/
/*	background: #2d2b29;*/
background: #000;
	color: #fff;
	border: none;
	padding: 0;
}

@media only screen and (max-width: 420px) {
	.featherlight .featherlight-close-icon {
		line-height: 25px;
		width: 14px;
		/*padding-left: 2px;*/ } }

/* 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 croping 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: 10%;
		margin-right: 10%;
		max-height: 90%;
/*		padding: 5vw 5vw 0;*/
		padding: 0 0;
		border-bottom: 5vw solid transparent; } }

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

/**
 * Featherlight Loader
 *
 * Copyright 2015, WP Site Care http://www.wpsitecare.com
 * MIT Licensed.
 */

.inline { display: none }

/*.featherlight-loading .featherlight-content{
  width: 120px;
  height: 120px;
  background: none;
  overflow: hidden;
  box-shadow: 0 0vw 0vw 0vw rgba(0,0,0,0.0);
  margin: 0; }

.featherlight .featherlight-content:before {
  	position: absolute;
  	box-sizing: border-box;
  	display: block;
  	content:'';
	width: 50px;
    height: 50px;    
    border: 2px solid #ded8d4;
    border-top: 1px solid #000;
    border-radius: 100%;
    position: absolute;
    top: 35px;
    bottom: 35px;
    left: 0;
    right: 4px;
    margin: auto; 
    z-index: 0; 
    box-shadow: 0 0vw 0vw 0vw rgba(0,0,0,0.0);  
    animation: featherlightLoader 1s infinite linear; }

    @keyframes featherlightLoader {
    from{
        transform: rotate(0deg);
    }to{
        transform: rotate(360deg); } }*/

/* to make the image appear in front of the loader we apply a z-index: */
.featherlight .featherlight-content img{
  	z-index: 1;
  	position:relative; }

/* to make prev and next buttons appear in front of the image we apply a z-index: */
.featherlight-previous,
.featherlight-next{
  	z-index: 2; }

.featherlight-loading .featherlight-content > * {
  display: none !important; }

.featherlight-loading .featherlight-close,
.featherlight-loading .featherlight-inner {
  	display: none; }
