.overlay-container,
.overlay-container * {
	box-sizing: border-box;
}
.overlay-container {
	position: relative;
	display: inline-block;
	overflow: hidden;
	max-width: 100%;
	height: auto;
	border-style: solid;
	border-width: 5px;
	border-color: rgb(149, 33, 33);
	border-radius: 10px;
}
.overlay-container img {
	max-width: 100%;
}
.overlay-container {
    display: block;
    cursor: pointer;
}
.overlay-container .overlay {
	opacity: 0;
    position: absolute;
    cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 15px;
	-moz-transition: all 0.4s ease-in-out 0s;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}
.overlay-container:hover .overlay,
.overlay-container.active .overlay {
	opacity: 1;
}

.overlay-container:hover {
	border-color: rgb(48, 43, 43);
}
.overlay-container .hover-text {
	text-align: center;
	display: inline-block;
	position: absolute;
	top: 50%;
    left: 50%;
    width: 90%;
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.overlay-container .hover-text_mobile {
	font-size: 15px;
	border-top: 1px solid rgb(179, 179, 179); /* for old browsers */
	border-top: 1px solid rgba(179, 179, 179, 0.7);
	margin-top: 5px;
	padding-top: 2px;
	display: none;
}
.overlay-container.active .hover-text_mobile {
	display: block;
}

.overlay-container img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.overlay-container:hover img {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}