.-m-cms-cont-gallery-thumbnailGrid {
	position: relative;
}
.-m-cms-cont-gallery-thumbnailGrid ul {
	letter-spacing: -0.31em;
  	margin:0;
  	padding:0;
}
.-m-cms-cont-gallery-thumbnailGrid ul li {
	display: inline-block;
	margin: 10px 5px 0 5px;
	cursor:pointer;
	vertical-align: top;
}
.-m-cms-cont-gallery-thumbnailGrid li .-hidden {
	opacity:0;
	visibility: hidden;
	position:absolute;
}
.-m-cms-cont-gallery-thumbnailGrid .-img {
	width:62%;
}
.-m-cms-cont-gallery-thumbnailGrid .-img img {
	max-height:100%;
	max-width: 100%;
}
.-m-cms-cont-gallery-thumbnailGrid .-txt {
	margin:20px 20px 0;
	width:285px;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}
.-m-cms-cont-gallery-thumbnailGrid .-txt > div {
	display: inline-block;
	text-align:left;
}
.-m-cms-cont-gallery-thumbnailGrid .GI_TW_expander {
	background-color: #ddd;
	z-index:0;
}
.-m-cms-cont-gallery-thumbnailGrid .GI_TW_expander-inner {
	box-sizing:border-box;
	padding:20px 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.-m-cms-cont-gallery-thumbnailGrid .GI_TW_expander-inner > div {
	float: left;
	flex:1 1 auto;
	flex:1 1 main-size;
	text-align:center;
}
.-m-cms-cont-gallery-thumbnailGrid .GI_TW_expander-inner:after {
	content: '';
	display: block;
	clear: both;
}
.-m-cms-cont-gallery-thumbnailGrid .GI_TW_expander .GI_TW_expander-inner {
	height:10px;
	overflow:visible;
}
.-m-cms-cont-gallery-thumbnailGrid .-prev {
	display: block;
	height: 32px;
	width: 32px;
	background-image:url(img/arrows.png);
}
.-m-cms-cont-gallery-thumbnailGrid .-next {
	display: block;
	height: 32px;
	width: 32px;
	background-image:url(img/arrows.png);
	background-position: 100% 0;
}
.-m-cms-cont-gallery-thumbnailGrid .-close {
	display: block;
	height: 32px;
	width: 32px;
	background-image:url(img/close.png);
}
.-m-cms-cont-gallery-thumbnailGrid .GI_TW_pointer {
	border-bottom-color: #ddd;
}

@media (max-width:540px) {
	.-m-cms-cont-gallery-thumbnailGrid .GI_TW_expander-inner {
		min-height:150px;
	}
	.-m-cms-cont-gallery-thumbnailGrid .-img {
		display:none;
	}
	.-m-cms-cont-gallery-thumbnailGrid .-txt {
		width:100%;
		margin-top:0;
		margin-left:0;
		align-self:center;

	}
	.-m-cms-cont-gallery-thumbnailGrid .GI_TW_close {
		right:2px;
	}
	.-m-cms-cont-gallery-thumbnailGrid .GI_TW_expander .GI_TW_next {
		right:10px;
	}
	.-m-cms-cont-gallery-thumbnailGrid .GI_TW_expander .GI_TW_prev {
		left:10px;
	}
}
