@media all {
	html.with-featherlight {
		overflow: hidden;
	}

	.featherlight {
		display: none;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 2147483647;
		text-align: center;
		white-space: nowrap;
		cursor: pointer;
		background: #333;
		background: rgba(0, 0, 0, 0);
	}

	.featherlight:last-of-type {
		background: rgba(0, 0, 0, 0.8);
	}

	.featherlight:before {
		content: '';
		display: inline-block;
		height: 100%;
		vertical-align: middle;
	}

	.featherlight .featherlight-content {
		position: relative;
		text-align: left;
		vertical-align: middle;
		display: inline-block;
		overflow: auto;
		margin-left: 5%;
		margin-right: 5%;
		max-height: 95%;
		background: #fff;
		cursor: auto;
		white-space: normal;
	}

	.featherlight .featherlight-inner {
		display: block;
	}

	.featherlight script.featherlight-inner,
	.featherlight link.featherlight-inner,
	.featherlight style.featherlight-inner {
		display: none;
	}

	.featherlight .featherlight-close-icon {
		position: absolute;
		z-index: 9999;
		top: 20px;
		right: 20px;
		line-height: 25px;
		width: 25px;
		cursor: pointer;
		text-align: center;
		font-family: Arial, sans-serif;
		background: #fff;
		color: #0085ba;
		border: none;
		padding: 0;
	}

	.featherlight .featherlight-close-icon::-moz-focus-inner {
		border: 0;
		padding: 0;
	}

	.featherlight .featherlight-image {
		width: 100%;
	}

	.featherlight-iframe .featherlight-content {
		border-bottom: 0;
		padding: 0;
		-webkit-overflow-scrolling: touch;
		overflow-y: scroll;
	}

	.featherlight iframe {
		border: none;
	}

	.featherlight * {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
}

@media only screen and (max-width: 1024px) {
	.featherlight .featherlight-content {
		margin-left: 0;
		margin-right: 0;
		max-height: 98%;
	}
}

@media print {
	@page {
		size: landscape
	}

	html.with-featherlight>*> :not(.featherlight) {
		display: none;
	}
}