
.gallery-header {
	background-color: #000;
}

.gallery-header img {
	height: 100px;
}

.gallery-header h1 {
	margin: 30px 20px 0 0;
	float: right;
	color: gold;
}

.gallery-section {
	margin-bottom: 30px;
}

.gallery-section h2,
.sponsors h2 {
	background-color: #eee;
	margin: 0;
	padding: 10px;
	text-align: center;
	color: black;
}

.gallery-section .entry {
	text-align: center;
	border: 1px #eee solid;
	background-color: #000;
	width: 80%;
	margin-top: 8px;
	margin-left: auto;
	margin-right: auto;
}

.gallery-section .entry img {
	width: 100%;
	max-width: 1024px;
	cursor: pointer;
}

.gallery-section .entry label {
	display: block;
	text-align: center;
	background-color: #111;
	color: #eee;
	font-size: 14px;
	padding: 3px;
	font-weight: bold;
}

.gallery-section .entry.gold label,
.gallery-section .entry.silver label,
.gallery-section .entry.bronze label {
	color: #111;
}

.gallery-section .entry.gold {
	border-color: gold;
}
.gallery-section .entry.gold label {
	background-color: gold;
}

.gallery-section .entry.silver {
	border-color: silver;
}
.gallery-section .entry.silver label {
	background-color: silver;
}

.gallery-section .entry.bronze {
	border-color: #CD7F32;
}
.gallery-section .entry.bronze label {
	background-color: #CD7F32;
}

.sponsors h2 {
	margin-bottom: 10px;
}

.sponsors img {
	display: block;
	width: 100%;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

#popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

#popup-overlay-background {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: .8;
}

#popup-overlay-content {
	position: fixed;
	width: 80%;
	max-width: 1080px;
	height: 90%;
	max-height: 720px;
	margin: 5% 10%;
	text-align: center;
}

#popup-overlay-close {
	position: absolute;
	width: 30px;
	height: 30px;
	top: 10px;
	right: 10px;
	color: #fff;
	font-size: 22px;
	text-align: center;
	border: 3px #fff solid;
	border-radius: 15px;
	background-color: #999;
	opacity: .7;
}

#popup-overlay-close:hover {
	cursor: pointer;
	opacity: 1;
}

#popup-overlay-content img {
	width: 100%;
	max-width: 1080px;
	max-height: 720px;
	border: 1px #fff solid;
}

#popup-overlay-content a {
	display: block;
	text-align: center;
	background-color: #000;
	border-top: 1px #fff solid;
	border-right: 1px #fff solid;
	border-bottom: 1px #fff solid;
	border-left: 1px #fff solid;
	padding: 4px;
}

@media only screen and (min-width: 800px)
{
	.overall-group {
		overflow: auto;
		margin: 1%;
	}

	.overall-group .gallery-section {
		display: inline-block;
		width: 31%;
		margin: 1%;
	}

	.overall-group .gallery-section .entry {
		width: 100%;
		margin-top: 0;
	}

	.entry-group {
		text-align: center;
	}

	.categories .gallery-section .entry {
		display: inline-block;
		width: 24%;
	}

	.gallery-section .entry img:hover {
		cursor: pointer;
		opacity: .6;
	}

	.sponsors {
		text-align: center;
	}

	.sponsors img {
		display: inline-block;
		max-width: 180px;
		margin: 10px;
	}

	#popup-overlay-close {
		top: 0;
		right: -72px;
		width: 52px;
		height: 52px;
		font-size: 42px;
		border: 3px #fff solid;
		border-radius: 26px;
	}
}
