.wc-gallery-clear:before,
.wc-gallery-clear:after {
	content: '';
	display: table;
}
.wc-gallery-clear:after {
	clear: both;
}
/**
 * [gallery]
 * ----------------------------------------------------------------------------
 */
.wc-gallery .gallery {
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	overflow: hidden;
}
.wc-gallery .gallery.gallery-masonry {
	height: 0;
}
.wc-gallery .gallery.gallery-masonry .gallery-item {
}
.wc-gallery .gallery.gallery-masonry,
.wc-gallery .gallery.gallery-default {
}

.wc-gallery .wc-gallery-bottomspace-default {
	margin-bottom: 20px;
}
.wc-gallery .wc-gallery-bottomspace-ten {
	margin-bottom: 10px;
}
.wc-gallery .wc-gallery-bottomspace-five {
	margin-bottom: 5px;
}
.wc-gallery .wc-gallery-bottomspace-none {
	margin-bottom: 0;
}

.wc-gallery .gallery-center {
	margin-left: auto;
	margin-right: auto;
}

.wc-gallery .gallery.gallery-default .gallery-item {
}

.wc-gallery .gallery.gallery-masonry .gallery-item {
	margin-bottom: 1.5em;
}
.wc-gallery .gallery-item {
	float: left; /* added this so images don't stack before masonry kicks in */
	margin: 0;
	position: relative;
	max-width: none !important;
}

.wc-gallery .gallery .gallery-icon a {
	display: block;
}

.wc-gallery .gallery .gallery-icon a img {
	/* some theme files do not have proper reset settings */
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.wc-gallery .gallery.gallery-with-border .gallery-icon a {
	border: 1px solid #eeeeee;
}

.wc-gallery .gallery-caption {
	margin: 0;
	/* -webkit-transition: opacity 400ms ease; */
	/* transition:         opacity 400ms ease; */

	/* -ms-word-break: break-all; */
	/* word-break: break-all; */

	/* Non standard for webkit */
	/* word-break: break-word; */

	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyph