
.mace-gallery-teaser-poster {
	display: block;
	position: relative;
}

.mace-gallery-teaser-poster img {
	display: block;
	max-width: 100%;
	height: auto;
}

.mace-gallery-teaser-button {
	display: block;
	padding: 10px 30px 10px 54px;
	position: absolute;
	top: 10px;
	right: 10px;
	border-radius: 5px;
	background-color: #333;
	color: #fff;
	transition: border-color 375ms ease-in-out, background-color 375ms ease-in-out, color 375ms ease-in-out;
}

.mace-gallery-teaser-button:before {
	display: block;
	margin-top: -.5em;
	position: absolute;
	left: 15px;
	top: 50%;
	font: 24px/1 mace;
	content: "";
}

.mace-gallery-teaser-button-text {
	display: block;
}

.mace-gallery-teaser-button-counter {
	display: block;
	font-size: 12px;
	line-height: 14px;
	opacity: .666;
}

.mace-gallery-teaser:hover .mace-gallery-teaser-button {
	background-color: #fff;
	color: #1a1a1a;
	transition: border-color 375ms ease-in-out, background-color 375ms ease-in-out, color 375ms ease-in-out;
}

.g1-gallery-wrapper {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	visibility: hidden;
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(0, 0, 0, .5);
	transition: visibility 0s 375ms, opacity 375ms ease-in-out, transform 375ms ease-in-out;
}

.g1-gallery {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	visibility: hidden;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	-webkit-transform: scale(.85);
	-moz-transform: scale(.85);
	-ms-transform: scale(.85);
	-o-transform: scale(.85);
	transform: scale(.85);
	background-color: #1a1a1a;
	color: #fff;
	transition: visibility 0s 375ms, opacity 375ms ease-in-out, transform 375ms ease-in-out;
}

.g1-gallery-header {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	min-height: 64px;
	border-bottom: 1px solid #313131;
}

.g1-gallery-header-left {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	padding: 10px 0;
	border-right: 1px solid #313131;
}

.g1-gallery-header-left .g1-gallery-logo {
	margin-left: 20px;
}

.g1-gallery-header-left .g1-gallery-logo img {
	display: block;
	width: auto;
	max-height: 100%;
}

.g1-gallery-header-left .g1-gallery-title {
	margin: 0 50px;
	color: #fff;
	display: none;
}

@media only screen and (min-width:601px) {
	.g1-gallery-header-left .g1-gallery-title {
		display: block;
	}
}

.g1-gallery-header-right {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	padding: 10px;
}

@media only screen and (min-width:1025px) {
	.g1-gallery-header-right {
		width: 300px;
		min-width: 300px;
	}
}

.g1-gallery-header-right .g1-gallery-back-to-slideshow {
	display: none;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	padding-left: 5px;
	text-transform: uppercase;
	font-weight: 600;
}

.g1-gallery-header-right .g1-gallery-back-to-slideshow:before {
	position: relative;
	top: 1px;
	margin-right: 5px;
	font: 14px/14px mace;
	content: "";
}

.g1-gallery-header-right .g1-gallery-thumbs-button {
	margin: 0 12px;
}

.g1-gallery-header-right .g1-gallery-thumbs-button:before {
	font: 16px/44px mace;
	content: "";
}

.g1-gallery-header-right .g1-gallery-numerator {
	-webkit-flex-grow: 1;
	flex-grow: 1;
	text-align: center;
	font-size: 16px;
	white-space: nowrap;
}

.g1-gallery-header-right .g1-gallery-close-button {
	margin: 0 12px;
}

.g1-gallery-header-right .g1-gallery-close-button:before {
	font: 16px/24px mace;
	content: "";
}

.g1-gallery-body {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex: 1 0 auto;
	-ms-flex: 1 0 auto;
	flex: 1 0 auto;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}

.g1-gallery-body .g1-gallery-thumbnails32 {
	display: none;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	border-right: 1px solid #313131;
}

.g1-gallery-body .g1-gallery-thumbnails32 .g1-gallery-thumbnails-collection {
	box-sizing: content-box;
	width: 100%;
	padding: 10px 5px;
	counter-reset: section;
}

.g1-gallery-body .g1-gallery-thumbnails32 .g1-gallery-thumbnails-collection .g1-gallery-thumbnail {
	display: inline-block;
	padding: 0 5px;
	margin: 0 0 10px;
	position: relative;
	vertical-align: top;
}

.g1-gallery-body .g1-gallery-thumbnails32 .g1-gallery-thumbnails-collection .g1-gallery-thumbnail img {
	display: block;
}

.g1-gallery-body .g1-gallery-thumbnails32 .g1-gallery-thumbnails-collection .g1-gallery-thumbnail:after {
	position: absolute;
	right: 12px;
	bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	counter-increment: section;
	content: counter(section);
}

@supports (display:grid) {
	.g1-gallery-body .g1-gallery-thumbnails32 .g1-gallery-thumbnails-collection {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
		grid-template-rows: repeat(auto-fit, minmax(90px, max-content));
		grid-gap: 10px;
		padding: 10px;
	}
	
	.g1-gallery-body .g1-gallery-thumbnails32 .g1-gallery-thumbnails-collection .g1-gallery-thumbnail {
		padding: 0;
		margin: 0;
	}
}

@media only screen and (min-width:1025px) {
	.g1-gallery-body {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
	}
}

.g1-gallery-frames {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-grow: 1;
	flex-grow: 1;
}

.g1-gallery-frame {
	display: none;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	border-right: 1px solid #313131;
	border-bottom: 1px solid #313131;
}

.g1-gallery-frame-visible {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}

.g1-gallery-image {
	position: relative;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.g1-gallery-image-title {
	min-height: 22px;
	padding: 8px 0;
	text-align: center;
	color: #999;
	border-top: 1px solid #313131;
}

.g1-gallery-sidebar .g1-gallery-ad {
	display: none;
	width: 100%;
	margin-bottom: 10px;
}

.g1-gallery-sidebar .g1-gallery-ad .adace-slot {
	height: 250px;
}

.g1-gallery-sidebar .g1-gallery-thumbnails {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	width: 100%;
	max-height: 420px;
	position: relative;
	text-align: center;
}

.g1-gallery-sidebar .g1-gallery-thumbnails .g1-gallery-thumbnails-collection {
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-flex: 1 0 auto;
	-ms-flex: 1 0 auto;
	flex: 1 0 auto;
	width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.g1-gallery-sidebar .g1-gallery-thumbnails .g1-gallery-thumbnails-collection .g1-gallery-thumbnail {
	display: inline-block;
	width: 33.33333%;
	position: relative;
}

.g1-gallery-sidebar .g1-gallery-thumbnails .g1-gallery-thumbnails-collection .g1-gallery-thumbnail img {
	display: block;
}

@media only screen and (min-width:1025px) {
	.g1-gallery-sidebar {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex: 0 0 auto;
		-ms-flex: 0 0 auto;
		flex: 0 0 auto;
		-ms-flex-align: start;
		-webkit-align-items: flex-start;
		align-items: flex-start;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		width: 300px;
		padding: 10px;
	}
	
	.g1-gallery-sidebar .g1-gallery-ad {
		display: block;
	}
}

.g1-gallery-thumbnails-up {
	display: inline-block;
	width: 30px;
	position: absolute;
	z-index: 3;
	top: 5px;
	left: auto;
	right: 5px;
	font: 16px/30px mace;
	border-radius: 50% 50% 0 0;
	background-color: #1a1a1a;
	transition: border-color 375ms ease-in-out, background-color 375ms ease-in-out, color 375ms ease-in-out;
}

.g1-gallery-thumbnails-up:before {
	content: "";
}

.g1-gallery-thumbnails-down {
	display: inline-block;
	width: 30px;
	position: absolute;
	z-index: 3;
	top: 35px;
	left: auto;
	right: 5px;
	font: 16px/30px mace;
	border-radius: 0 0 50% 50%;
	background-color: #1a1a1a;
	transition: border-color 375ms ease-in-out, background-color 375ms ease-in-out, color 375ms ease-in-out;
}

.g1-gallery-thumbnails-down:before {
	content: "";
}

.g1-gallery-thumbnails-down:hover, .g1-gallery-thumbnails-up:hover {
	border-color: #fff;
	background-color: #fff;
	color: #1a1a1a;
}

.g1-gallery-thumbnail img {
	opacity: .333;
	transition: opacity 375ms ease-in-out;
}

.g1-gallery-thumbnail-active img, .g1-gallery-thumbnail:hover img {
	opacity: .999;
	transition: opacity 375ms ease-in-out;
}

.g1-gallery-frame-ad .g1-gallery-ad {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	width: 100%;
	margin: 0;
	text-align: center;
}

.g1-gallery-frame-ad .g1-gallery-ad .adace-slot-wrapper {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	margin-left: 33px;
	margin-right: 33px;
}

.g1-gallery-frame-ad .g1-gallery-ad .adace-slot {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	width: 100%;
	position: relative;
}

.g1-gallery-frame-ad .g1-gallery-ad .adace-slot>div {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

.g1-gallery-ad-mode .g1-gallery-sidebar {
	display: none;
}

.g1-gallery-ad-mode .g1-gallery-frame-ad {
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
}

@media only screen and (max-width:600px) {
	.g1-gallery-frame-ad .g1-gallery-ad .adace-slot-wrapper {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-grow: 1;
		flex-grow: 1;
	}
}

@media only screen and (min-width:601px) {
	.g1-gallery-frame-ad .g1-gallery-ad .adace-slot-wrapper {
		margin-left: 64px;
		margin-right: 64px;
	}
}

.g1-gallery-shares {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}

.g1-gallery-share {
	display: block;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	height: 36px;
	position: relative;
	font-size: 0;
	color: #fff;
}

.g1-gallery-share:before {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: auto;
	text-align: center;
	font: 16px/36px bimber;
}

.g1-gallery-share-fb {
	background-color: #3b5998;
}

.g1-gallery-share-fb:before {
	content: "";
}

.g1-gallery-share-twitter {
	background-color: #00aced;
}

.g1-gallery-share-twitter:before {
	content: "";
}

.g1-gallery-share-pinterest {
	background-color: #c92228;
}

.g1-gallery-share-pinterest:before {
	content: "";
}

@media only screen and (min-width:1025px) {
	.g1-gallery-shares {
		width: 100%;
		margin-bottom: 10px;
	}
}

.g1-gallery-next-frame, .g1-gallery-previous-frame {
	padding: 10px 2px;
	position: absolute;
	z-index: 2;
	top: 50%;
	font: 24px/24px mace;
	text-align: center;
	background-color: rgba(255, 255, 255, .333);
	color: #000;
	border-radius: 4px;
	transition: background-color 375ms ease-in-out;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

.g1-gallery-next-frame:hover, .g1-gallery-previous-frame:hover {
	background-color: #fff;
}

.g1-gallery-previous-frame {
	left: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.g1-gallery-previous-frame:before {
	position: relative;
	right: 2px;
	content: "";
}

.g1-gallery-next-frame {
	right: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.g1-gallery-next-frame:before {
	position: relative;
	left: 2px;
	content: "";
}

.g1-gallery-frame:first-child .g1-gallery-previous-frame {
	display: none;
}

.g1-gallery-frame:last-child .g1-gallery-next-frame {
	display: none;
}

@media only screen and (min-width:601px) {
	.g1-gallery-next-frame, .g1-gallery-previous-frame {
		padding: 10px;
		border-radius: 50%;
	}
	
	.g1-gallery-previous-frame {
		left: 10px;
	}
	
	.g1-gallery-next-frame {
		right: 10px;
	}
}

.g1-gallery-thumbnails-mode .g1-gallery-header-right .g1-gallery-back-to-slideshow {
	display: block;
}

.g1-gallery-thumbnails-mode .g1-gallery-thumbnails32 {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}

.g1-gallery-thumbnails-mode .g1-gallery-frames, .g1-gallery-thumbnails-mode .g1-gallery-numerator, .g1-gallery-thumbnails-mode .g1-gallery-sidebar .g1-gallery-thumbnails, .g1-gallery-thumbnails-mode .g1-gallery-thumbs-button {
	display: none;
}

.g1-gallery-back-to-slideshow:hover, .g1-gallery-close-button:hover, .g1-gallery-thumbnail:hover, .g1-gallery-thumbnails-down:hover, .g1-gallery-thumbnails-up:hover, .g1-gallery-thumbs-button:hover {
	cursor: pointer;
}

.g1-gallery-visible .g1-gallery-wrapper {
	visibility: visible;
	opacity: 1;
	transition: visibility 0s, opacity 375ms ease-in-out, transform 375ms ease-in-out;
}

.g1-gallery-visible .g1-gallery {
	visibility: visible;
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	transition: visibility 0s, opacity 375ms ease-in-out, transform 375ms ease-in-out;
}

#fb-root .fb_dialog {
	z-index: 999999 !important;
}

.g1-gallery-light .g1-gallery {
	background-color: #fff;
	color: #1a1a1a;
}

.g1-gallery-light .g1-gallery-header {
	border-color: #e6e6e6;
}

.g1-gallery-light .g1-gallery-header .g1-gallery-title {
	color: #1a1a1a;
}

.g1-gallery-light .g1-gallery-next-frame, .g1-gallery-light .g1-gallery-previous-frame {
	background-color: #e6e6e6;
}

.g1-gallery-light .g1-gallery-thumbnails-down, .g1-gallery-light .g1-gallery-thumbnails-up {
	border-color: #fff;
	background-color: #fff;
	color: #1a1a1a;
}

.g1-gallery-light .g1-gallery-frame, .g1-gallery-light .g1-gallery-frames .g1-gallery-image-title, .g1-gallery-light .g1-gallery-header-left, .g1-gallery-light .g1-gallery-next-frame, .g1-gallery-light .g1-gallery-previous-frame, .g1-gallery-light .g1-gallery-thumbnails32 {
	border-color: #e6e6e6;
}
