/**
 * Featherlight – ultra slim jQuery lightbox
 * Version 1.3.5 - 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 */
		min-width:  30%;

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

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

		/* dimensions: 25px x 25px */
		line-height: 25px;
		width: 27px;
		padding-bottom: 2px;

		/* 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);
		color: #000; */
		background: rgb(9, 179, 156);
		color: #fff;
		border-radius: 1em;
	}


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

	div[class*='box-set-'] {
		sizing: border-box;
		max-width:100vw;
	}

	div[class*='box-set-'] > div {
		sizing: border-box;
		border-radius: 0.67em;
		background-color: #fff;
		float: left;
		margin: 1em;
		padding: 2em;
	}
	div[class*='box-set-'] > div > img {
		width: 100%;
	}
	div[class*='box-set-'] h3 {
		font-weight: 400;
		margin-bottom: 1.5em;
	}
	div[class*='box-set-'] p > span {
		display: block;
		width: 100%;
	}
	div[class*='box-set-'] p:last-child { margin-bottom: 0 }
	
	div[class*='box-set-'] li {
		list-style: none;
		max-width: 30em;
		clear: left;
		margin-bottom: 2em;
		overflow: hidden;
	}
	div[class*='box-set-'] li > img,
	div[class*='box-set-'] li > object {
		display: block;
		max-width: 10em;
		margin: 0 2em 1em 0;
	}
}

/* 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 (min-width: 640px) { /* 2-spaltig */
	.featherlight-content .box-set-2 div,
	.featherlight-content .box-set-3 div {
		float: left;
		width: 45%;
	}

	div[class*='box-set-'] li > img,
	div[class*='box-set-'] li > object {
		display: inline;
		float: left;
	}
	/*
	.featherlight-content .box-set-1 p {
		-moz-column-count: 2;
		-webkit-column-count: 2;
		-ms-column-count: 2;
		-o-column-count: 2;
		column-count: 2;
	}*/
}
@media (min-width: 1280px) { /* 2-spaltig
	.featherlight-content .box-set-2 div,
	.featherlight-content .box-set-3 div {
		float: left;
		width: 33%;
	} */
	.featherlight-content .box-set-1 p {
		-moz-column-count: 3;
		-webkit-column-count: 3;
		-ms-column-count: 3;
		-o-column-count: 3;
		column-count: 3;
	}
}
@media (min-width: 1600px) { /* 2-spaltig
	.featherlight-content .box-set-2 div,
	.featherlight-content .box-set-3 div {
		float: left;
		width: 25%;
	} */
	.featherlight-content .box-set-1 p {
		-moz-column-count: 4;
		-webkit-column-count: 4;
		-ms-column-count: 4;
		-o-column-count: 4;
		column-count: 4;
	}
}

