
.post-gallery {
	margin: 15px 0;
	padding: 20px;
	background: #f4f2f2;
	border-radius: 5px;
	width: 560px;
	float: left;
}

.post-gallery-mobile {
	margin: 15px 0;
	padding: 10px;
	background: #f4f2f2;
	border-radius: 5px;
	width: 100%;
	float: right;
}

/*.post-gallery a {*/
/*	position: relative;*/
/*}*/

.post-gallery .gallery-group .item {
	position: relative;
	width: 129px;
	height: 72px;
	overflow: hidden;
	margin-right: 1px;
	float: left;
}

.gallery-item-overlay {
	background: rgba(58, 58, 58, 0.9);
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

.gallery-item-overlay:hover {
	background: rgba(58, 58, 58, 0.9);
}

.gallery-item-overlay--title {
	margin: 10px;
	padding-top: 30px;
}

.gallery-item-overlay--text {
	color: white;
	text-align: center;
}

.gallery-item-overlay--ico {
	position: absolute;
	width: 22px;
	height: auto;
	left: 52px;
	top: 10px;
}

.post-gallery .gallery-group .item img {
	max-width: 100%;
	max-height: 100%;
}

.post-gallery .gallery-group {
	margin: 0;
	position: relative;
}

.post-gallery .gallery-group .next-btn {
	margin: 0;
	color: red;
}

.post-gallery .next-btn .icon-btn {
	font-size: 14px;
}

.post-gallery .next-btn .icon-btn svg {
	width: 19px;
	position: absolute;
	right: 0px;
	top: 30px;
}

.post-gallery .next-btn .label-btn {
	text-align: center;
	font-size: 30px;
	line-height: 1.2;
}

.post-gallery-mobile .item {
	width: 100%;
	height: 100%;
}

.post-gallery-mobile .item img {
	width: 100% !important;
	height: 100% !important;
}

.post-gallery-mobile-link a {
	color: red;
	font-size: 25px;
}

.post-gallery-mobile-link svg {
	width: 19px;
}

.mm-gallery-hp {
	background-color: black;
	color: white;
	padding: 5px;
	text-transform: uppercase;
	font-size: 14px;
}

.mobile .mm-gallery-hp {
	margin-left: -10px;
	margin-right: -10px;
}

.mm-gallery-hp a,
.mm-gallery-hp a:hover {
	color: white;
}

.mm-gallery-hp--title {
	width: 100%;
}

.mobile .mm-gallery-hp--title {
	width: 40%;
	padding-top: 2px;
}

.mm-gallery-hp--img {
	width: 33.333%;
	padding: 5px;
}

.mobile .mm-gallery-hp--img {
	width: 20%;
	padding: 5px;
}

.mm-gallery-hp--img img {
	width: 100%;
	height: auto;
	border: #8e946a 1px solid;
}

.post-gallery-mobile .gallery-group .item {
	margin-right: 1px;
	margin-bottom: 1px;
	width: calc(50% - 1px);
	float: left;
	height: 0;
	line-height: 0;
	padding-top: 28%;
	position: relative;
}

.post-gallery-mobile .gallery-group .item .cont {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

.post-gallery-mobile .gallery-group .gallery-item-overlay--title {
	margin: 10px;
	padding-top: 32%;
	font-size: 1em;
}

.post-gallery-mobile .gallery-group .gallery-item-overlay--text {
	color: white;
	text-align: center;
}

.post-gallery-mobile .gallery-group .gallery-item-overlay--ico {
	position: absolute;
	width: 20%;
	height: auto;
	left: 40%;
	top: 10%;
}

@media only screen and (min-width: 470px) {

	.post-gallery-mobile .gallery-group .item {
		margin-right: 1px;
		margin-bottom: 1px;
		width: calc(25% - 1px);
		float: left;
		height: 0;
		line-height: 0;
		padding-top: 14%;
		position: relative;
	}

	.post-gallery-mobile .gallery-group .gallery-item-overlay--title {
		margin: 10px;
		padding-top: 32%;
	}
}

@media only screen and (max-width: 420px) {
	.mm-gallery-hp {
		font-size: 12px;
	}
}
