body {
	width: 100%;
	margin: 10px 0 0;
	font-family: Verdana, sans-serif;
	color: #666;
	}

.noOverflow {
	overflow: hidden;
	}

.hidden {
	display: none;
	}

h2, #contact {
	text-align: center;
	}
#logo {
	width: 100%;
	text-align: center;
	padding-top: 1em;
	}
#logo > img {
	width: 220px;
	}

#menu li {
	cursor: pointer;
	padding: 0.4em;
	}
#menu li.selected {
	font-style: italic;
	font-weight: bold;
	}
#photos img:hover {
	opacity: 0.6;
	}

#right {
	max-width: 1200px;
	}

#header {
	top: 0;
	left: 0;
	position: fixed;
	width: 100%;
	background-color: rgba(0, 0, 0, .4);
	text-align: center;
	padding: 5px;
	font-size: 1.2em;
	color: #fff;
	}
#close {
	top: 0;
	right: 0;
	height: 1em;
	width: 1em;
	position: absolute;
	cursor: pointer;
	padding: 1em 2em 2em 2em;
	}


#overlay {
	width: 100% !important;
	height: 100% !important;
	position: fixed !important;
	z-index: 100;
	top: 0;
	left: 0;
	margin: 0;
	background-color: rgba(0, 0, 0, .92);
	}
#overlay > table {
	top:0;
	bottom:0;
	margin: auto;
	position: absolute;
	}
td {
	padding: 17px;
	}


#currentImage {
	text-align: center;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	height: inherit;
	max-height: 100vh;
	max-width: 100vw;
	transition: all 1s ease;
	}
#prev, #next {
	width: 100px;
	cursor: pointer;
	}
#prev {
	text-align: left;
	}

#next {
	text-align: right;
	}




#photos {
	/* Prevent vertical gaps */
	line-height: 1.1em;
	-webkit-column-count: 5;
	-webkit-column-gap:   .2em;
	-moz-column-count:    5;
	-moz-column-gap:      .2em;
	column-count:         5;
	column-gap:           .2em;
	cursor: pointer;
	}

#photos .img, #photos img {
	/* Just in case there are inline attributes */
	width: 100% !important;
	height: auto !important;
	}

@media (max-width: 1000px) {
	#photos {
		-moz-column-count:    3;
		-webkit-column-count: 3;
		column-count:         3;
		}
	}
@media (max-width: 800px) {
	#photos {
		-moz-column-count:    2;
		-webkit-column-count: 2;
		column-count:         2;
		}
	}
@media (max-width: 400px) {
	#left {
		text-align: center;
		}
	#contact {
		padding: 1em 0 2em 0;
		font-size: .8em;
		}

	#menu {
		list-style-type: none;
		padding: .5em 0 0 .5em;
		margin: 0;
		}
	#menu li {
		display: inline;
		cursor: pointer;
		padding: 0 0.5em 0.5em 0;
		}
	h2 {
		padding: .5em 0 0 .5em;
		margin: 0;
		}
	}

@media (min-width: 401px) {
	#menu {
		margin-left: 1em;
		list-style: none;
		}
	#menu li:before {
		content: "# ";
		}
	#left {
		width: 250px;
		float: left;
		height: 100% !important;
		position: fixed;
		padding-left: 10px;
		}
	#contact {
		position: absolute;
		bottom: 2em;
		padding: .2em;
		font-size: .75em;
		width: 100%;
		}

	#right {
		margin-left: 280px;
		margin-right: 20px;
		}
	}

