@charset "UTF-8";
/* CSS Document */

a.thumbnail img {
	margin: 20px;
	border: 2px solid white;
	border-radius: 10px;
}

/* Styles the lightbox, removes it from sight and adds the fade-in transition */

.lightbox {
	display: block;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, .5);
	visibility: hidden;
	opacity: 0;
	z-index: 997;
}

.lightboxClose {
	display: block;
	position: fixed;
	margin-top: 150px;
	text-align: center;
	font-size: 24px;
	z-index: 999;
	width: 100%;
}

a.lightboxClose {
	color: #000;
	text-decoration: none;
	width: 100%;
	height: 40px;
}

.animate {
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-ms-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

/* Styles the lightbox content, centering it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */

.lightbox img, .lightbox iframe {
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	max-width: 40%;
	max-height: 40%;
	border: 2px solid white;
	box-sizing: border-box;
	z-index: 998;
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox anchor */

.lightbox:target {
	visibility: visible;
	opacity: 1;
}

.lightbox:target img, .lightbox:target iframe {
	max-width: 95%;
	max-height: 95%;
}