.gallery .ug-textpanel {
	opacity: 0;
}

.gallery .ug-textpanel {
	opacity: 0 !important;
}

.gallery.textshowhover .ug-tile-icon {
	opacity: 0;
}

.gallery.textshowhover .ug-tile:hover .ug-textpanel, .gallery.textshowhover .ug-slider-wrapper:hover .ug-textpanel {
	opacity: 1 !important;
}

.gallery.textshowhover .ug-tile .ug-textpanel {
	z-index: 3 !important;
	top: 0 !important;
	bottom: 0 !important;
	height: 100 !important;
}

.gallery.textshowhover .ug-tile .ug-thumb-overlay {
	background-color: rgba(0,0,0,0.65) !important;
}

.gallery.textshowhover .ug-tile .ug-textpanel-bg {
	opacity: 0 !important;
}

.gallery.textshow .ug-textpanel {
	opacity: 1 !important;
}

.gallery .ug-bullets {
	z-index: 3;
}

.ug-tile .ug-textpanel-title {
	font-size: 13px;
	line-height: 1.2;
	font-weight: normal;
}

.textpanel-center .ug-textpanel-title {
	text-align: center !important;
}

.textpanel-right .ug-textpanel-title {
	text-align: right !important;
}

.ug-tile-icon {
	top: calc(50% - 20px) !important;
}

.ug-tile-fit img {
	width: 100% !important;
	height: 100% !important;
	left: 0 !important;
	top: 0 !important;
	object-fit: contain;
}


