/**/

.gallery-promo {
	display: block;
	margin-bottom: 30px;
	
}

.gallery-promo img {
	display: block;
}

.gallery-promo .pic {
	height: 203px;
	background: #ddd;
	overflow: hidden;
	border: 1px solid #ddd;
}

.gallery-promo .pics {
	height: 203px;
	overflow: hidden;
	position: relative;
	border: 1px solid #ddd;
}

.gallery-promo .pics div {
	width: 50%;
	height: 50%;
	position: absolute;
	background-size: 100% 100%;
}

.gallery-promo .pics div:nth-child(1) {
	top: 0;
	right: 0;
}

.gallery-promo .pics div:nth-child(2) {
	top: 0;
	left: 0;
}

.gallery-promo .pics div:nth-child(3) {
	bottom: 0;
	right: 0;
}

.gallery-promo .pics div:nth-child(4) {
	bottom: 0;
	left: 0;
}

.name {
	height: 45px;
	overflow: hidden;
}

/**/

.gallery-picture {
	text-align: center;
}

.gallery-picture img {
	display: block;
	margin: 0 auto;
	margin-top: 30px;
	display: block;
	width: 100%;
}
.gallery figcaption {
    background: #ddd;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 768px) {
	.gallery-picture img {
		width: auto;
		max-width: 100%;
		/*max-height: 148px;*/
	}
}

/**/

.list {
	list-style: none;
	margin: 0;
	padding: 0;
	
	border-left: 1px solid #ddd;
	padding-left: 30px;
}

/**/

.mfp-title {
	text-align: right;
	padding-right: 0;
	padding-left: 36px;
}

.mfp-counter {
	right: auto;
	left: 0;
	direction: ltr;
}