section.gallery {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fafafa;
}
section.gallery .paid-content-icon {
	position: absolute;
	z-index: 1;
	right: 10px;
	top: 10px;
	height: auto
}
section.gallery .icon {
	z-index: 10;
}
section.gallery .header {
	position: absolute;
	width: 100%;
	min-height: 78px;
	padding: 15px;
	bottom: 0px;
	background: #e5e2d0;
}
section.gallery .header .headline {
	overflow: hidden;
	margin-bottom: 0px;
}
section.gallery .header .headline a {
	color: #222;
	font-size: 21px;
	line-height: 24px;
}
section.gallery .gallery-items {
	width: 100%;
	height: calc(100% - 78px);
}
section.gallery .gallery-items .gallery-inserts {
	display: none;
    width: 100%;
    height: 100%;
}
section.gallery .gallery-items .gallery-inserts .insert {
	width: 100%;
	height: 100%;
}
section.gallery .gallery-items .gallery-inserts .insert .redirect-slide {
	width: 100%;
	height: 100%;
}
section.gallery .gallery-items .gallery-inserts .insert .redirect-slide a {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	padding: 30% 15%;
	font-size: 25px;
	color: #ffffff;
	font-family: 'Lora', georgia, serif;
	font-style: italic;
	text-decoration: none;
	text-align: center;
	background: rgba(34,34,34,0.95);
	z-index: 10;
}
section.gallery.size-2x2 .gallery-items .gallery-inserts .insert .redirect-slide a {
	padding: 43% 20%;
}
#mobile section.gallery.size-2x2 .gallery-items .gallery-inserts .insert .redirect-slide a {
	padding: 25% 20% !important;
}
section.gallery .gallery-items .gallery-inserts .insert .redirect-slide a span {
	padding: 0 5px;
	color: #83834e;
}
section.gallery .gallery-items .item {
	position: relative;
	display: none;
	width: 100%;
	height: 100%;
}
section.gallery .gallery-items .item.showing,
section.gallery .gallery-items .gallery-inserts.showing {
	display: block;
}
section.gallery .gallery-items .item .image {
	position: relative;
	width: 100%;
	height: 100%;
	white-space: nowrap;
	text-align: center;
}
section.gallery .gallery-items .item .image .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
section.gallery .gallery-items .item .image img {
	width: 100%;
	height: auto;
	vertical-align: middle;
	margin-left: -4px;
}
section.gallery.bn-gallery .gallery-items .control-btn {
	display: block;
	visibility: hidden;
	width: 1em;
	height: 1em;
	font-family: FontAwesome;
	cursor: pointer;
}
section.gallery.bn-gallery .gallery-items:hover .control-btn {
	visibility: visible;
}
section.gallery.bn-gallery .gallery-items .control-btn.previous:before {
	content: '\f053';
}
section.gallery.bn-gallery .gallery-items .control-btn.next:after {
	content: '\f054';
}
section.gallery.bn-gallery .gallery-items .control-btn.previous,
section.gallery.bn-gallery .gallery-items .control-btn.next {
	font-size: 1.5em;
	position: absolute;
	top: calc(50% - 2em);
	padding: 1em;
	background: rgba(255,255,255,0.5);
	color: black;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
}
section.gallery.bn-gallery .gallery-items .control-btn.previous {
	left: 0;
	margin-left: 0.25em;
}
section.gallery.bn-gallery .gallery-items .control-btn.next {
	right: 0.25em;
}
section.gallery.bn-gallery .gallery-items .control-btn.previous:before,
section.gallery.bn-gallery .gallery-items .control-btn.next:after {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0.05em;
	text-align: center;
	line-height: 2em;
}
section.gallery.bn-gallery .gallery-items .control-btn.previous:before {
	right: 0.1em;
}
section.gallery.bn-gallery .gallery-items .control-btn.next:after {
	left: 0.1em;
}
section.gallery-items.bn-gallery .gallery-items .controls {
	display: none !important;
}

/**
 * Article Page Style
 */
.article-page-widget-wrapper section.gallery {
	width: 283px;
	height: 250px;
}
/* photo galleries */
@media only screen and (max-width: 500px) {
	.article-page-widget-wrapper section.gallery {
		width: 100%;
		height: auto;
	}
}
/**
 * END Article Page Style
 */
