.NavBox img { max-width: 100%; }

.NavBox .item {
	display: inline-block;
	position: relative;
	margin-bottom: 2.5em;
}
.NavBox.epz4 .item { width: 23.5%; }
.NavBox.epz3 .item,
.NavBox.epz4.rest3 .item:nth-of-type(-n+3) { width: 32%; }
.NavBox.epz4.rest2 .item:nth-of-type(-n+2),
.NavBox.epz3.rest2 .item:nth-of-type(-n+2) { width: 49%; }
.NavBox .item .pic img {
	transition: all 250ms;
	filter: saturate(1) contrast(1);

}
.NavBox .item:hover .pic img {
	transform: scale(1.07, 1.07);
	filter: saturate(1.1) contrast(1.2);
}
.NavBox .item .overlay {
	font-size: 120%;
	bottom: 0;
	position: absolute;
	width: 100%;
	height: 3em;
	background-color: rgba(0,0,0,0);
	border-radius: 10px 10px 0 0;
	color: #fff;
	transition: padding 300ms, height 200ms, background 200ms;
	z-index: 90;
	overflow: hidden;
}
.NavBox .item:hover .overlay.hasmo {
	height: 3em;
	padding-top: 0.75em;
	background-color: rgba(0,0,0,0.2);
	transition: padding 300ms, height 500ms, background 1200ms 200ms;
}
.NavBox .item .overlay.hasmo:hover {
	height: 75%;
	padding-top: 1em;
	background-color: rgba(0,0,0,0.7);
	transition: padding 200ms, height 250ms, background 500ms 200ms;
}
.NavBox .item .overlay img {
	margin: auto;
}

.NavBox .item .overlay ul {
	position: absolute;
	bottom: 0;
	background-color: rgba(0,0,0,0);
	padding: 20px;
	padding-left: 40px;
	margin: 0;
}
.NavBox .item .overlay ul li {
	opacity: 0;
	font-size: 20px;
	margin-bottom: 8px;
	transform: translateY(-80%);
	transition: all 200ms;
}
.NavBox .item .overlay ul li:before {
	font-size: 16px;
	top: .2em;
}
.NavBox .item .overlay:hover ul li {
	opacity: 1;
	transform: translateY(0);
}
.NavBox .item .overlay:hover ul li:nth-child(1) {transition-delay: 100ms;}
.NavBox .item .overlay:hover ul li:nth-child(2) {transition-delay: 200ms;}
.NavBox .item .overlay:hover ul li:nth-child(3) {transition-delay: 300ms;}
.NavBox .item .overlay:hover ul li:nth-child(4) {transition-delay: 400ms;}
.NavBox .item .overlay:hover ul li:nth-child(5) {transition-delay: 500ms;}
.NavBox .item .overlay:hover ul li:nth-child(6) {transition-delay: 600ms;}
.NavBox .item .overlay:hover ul li:nth-child(7) {transition-delay: 700ms;}
.NavBox .item .overlay:hover ul li:nth-child(7) {transition-delay: 800ms;}
.NavBox .item .overlay:hover ul li:nth-child(7) {transition-delay: 900ms;}
.NavBox .item .overlay:hover ul li:nth-child(7) {transition-delay: 1000ms;}

.NavBox .item .overlay h2 {
	margin: 0;
	color: #fff;
	padding: 0 40px;
	text-shadow: 2px 2px black;
}

@media all and (max-width: 1100px) {
	.NavBox .item .overlay h2 {
		font-size: 20px;
	}
}
@media all and (max-width: 800px) {
	.NavBox.epz4 .item { width: 32%; }
	.NavBox .item .overlay h2 {padding: 0 5% 0; font-size: 16px;}
}
@media all and (max-width: 500px) {
	.NavBox.epz4 .item,
	.NavBox.epz4.rest3 .item,
	.NavBox.epz4.rest3 .item:nth-of-type(-n+3),
	.NavBox.epz4.rest2 .item,
	.NavBox.epz4.rest1 .item,
	.NavBox.epz3 .item {width: 48%;}
}
@media all and (max-width: 400px) {
	.NavBox.epz4 .item,
	.NavBox.epz4.rest3 .item,
	.NavBox.epz4.rest3 .item:nth-of-type(-n+3),
	.NavBox.epz4.rest2 .item,
	.NavBox.epz4.rest1 .item,
	.NavBox.epz3 .item {width: 100%;}
}