.foogallery, .foogallery * {
	box-sizing: border-box;
}
.foogallery {
	display: block;
	z-index: 1;
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	position: relative;
	line-height: 0;
	font-size: 0;
	width: 100%;
	max-width: 100%;
}
.foogallery .fg-item {
	display: inline-block;
	position: relative;
	background-color: transparent;
	z-index: 2;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.foogallery .fg-item.fg-hidden {
	display: none!important;
}
.foogallery .fg-item-inner {
	display: block;
	position: relative;
	visibility: hidden;
	overflow: hidden;
	opacity: 0;
	z-index: 3;
	margin: 0;
	border: solid 0 transparent;
}

.foogallery .fg-item.fg-error:before {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 32px;
	height: 32px;
	background-image: url('../img/icons.svg#image');
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 32px 32px;
}

.foogallery .fg-item.fg-loaded {
	z-index: 4;
}
.foogallery .fg-loaded .fg-item-inner {
	visibility: visible;
	opacity: 1;
	z-index: 5;
}
.foogallery .fg-error .fg-item-inner {
	pointer-events: none;
	cursor: default;
}
.foogallery .fg-thumb {
	display: block;
	position: relative;
	border: none;
	outline: 0;
	text-decoration: none;
	z-index: 4;
	box-shadow: none;
}
.foogallery .fg-thumb:hover,
.foogallery .fg-thumb:focus {
	border: none;
	outline: 0;
	text-decoration: none;
	box-shadow: none;
}
.foogallery .fg-image-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 8;
	visibility: hidden;
	opacity: 0;
}
.foogallery .fg-image-wrap {
	display: block;
	position: relative;
}
.foogallery .fg-image {
	display: block;
	position: relative;
	border: none;
	outline: 0;
	text-decoration: none;
	z-index: 5;
	max-width: none;
	height: auto;
	margin: 0;
}
.foogallery .fg-loaded .fg-thumb {
	z-index: 6;
}
.foogallery .fg-loaded .fg-image {
	z-index: 7;
}


/* Item Style */
.foogallery.fg-light .fg-item-inner {
	background-color: #FFF;
	color: #333;
	border-color: #FFF;
}
.foogallery.fg-dark .fg-item-inner {
	background-color: #333;
	color: #FFF;
	border-color: #333;
}
/* Idle / Loading / Error Style */
.foogallery.fg-light .fg-item.fg-idle,
.foogallery.fg-light .fg-item.fg-loading,
.foogallery.fg-light .fg-item.fg-error {
	background-color: #eee;
	box-shadow: inset 0 0 0 1px #ddd;
}
.foogallery.fg-dark .fg-item.fg-idle,
.foogallery.fg-dark .fg-item.fg-loading,
.foogallery.fg-dark .fg-item.fg-error {
	background-color: #444;
	box-shadow: inset 0 0 0 1px #333;
}
/* Caption & Overlay Colors */
.foogallery .fg-caption {
	background-color: rgba(0,0,0,0.6);
	color: #fff;
}
.foogallery .fg-caption a {
	color: #fff;
	border-bottom: 1px solid #FFF;
}
.foogallery.fg-light-overlays .fg-caption {
	background-color: rgba(255,255,255,0.8);
	color: #333;
}
.foogallery.fg-light-overlays .fg-caption a {
	color: #333;
	border-bottom-color: #333;
}
.foogallery.fg-transparent-overlays .fg-caption {
	background-color: transparent;
	color: #fff;
}
.foogallery.fg-transparent-overlays .fg-caption a {
	color: #fff;
	border-bottom-color: #fff;
}

.foogallery .fg-image-overlay {
	background-color: rgba(0,0,0,0.6);
	color: #fff;
}
.foogallery.fg-light-overlays .fg-image-overlay {
	background-color: rgba(255,255,255,0.8);
	color: #333;
}
.foogallery.fg-transparent-overlays .fg-image-overlay {
	background-color: transparent;
	color: #fff;
}
/* Colors */
.fg-exif-light .fg-item.fg-item-exif .fg-image-wrap:after {
    background-color: #FFF;
    color: #333;
}
.fg-exif-dark .fg-item.fg-item-exif .fg-image-wrap:after {
    background-color: #333;
    color: #FFF;
}

/* Rounded Corners */
.fg-exif-rounded .fg-item.fg-item-exif .fg-image-wrap:after {
    border-radius: 3px;
}

/* Positions ~ Top, Right, Bottom & Left */
.fg-exif-bottom-right .fg-item.fg-item-exif .fg-image-wrap:after,
.fg-exif-bottom-left .fg-item.fg-item-exif .fg-image-wrap:after,
.fg-exif-top-right .fg-item.fg-item-exif .fg-image-wrap:after,
.fg-exif-top-left .fg-item.fg-item-exif .fg-image-wrap:after {
    display: inline-block;
    position: absolute;
    content: 'EXIF';
    font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size: 11px;
    line-height: 10px;
    padding: 3px 4px;
    z-index: 7;
}
.fg-exif-bottom-right .fg-item.fg-item-exif .fg-image-wrap:after {
    bottom: 5px;
    right: 5px;
}
.fg-exif-bottom-left .fg-item.fg-item-exif .fg-image-wrap:after {
    bottom: 5px;
    left: 5px;
}
.fg-exif-top-right .fg-item.fg-item-exif .fg-image-wrap:after {
    top: 5px;
    right: 5px;
}
.fg-exif-top-left .fg-item.fg-item-exif .fg-image-wrap:after {
    top: 5px;
    left: 5px;
}
/* Border Size */
.foogallery.fg-border-thin .fg-item-inner {
	border-width: 4px;
}
.foogallery.fg-border-medium .fg-item-inner {
	border-width: 10px;
}
.foogallery.fg-border-thick .fg-item-inner {
	border-width: 16px;
}
/* Drop Shadows */
.foogallery.fg-light.fg-shadow-outline .fg-item-inner {
	box-shadow: 0 0 0 1px #ddd;
}
.foogallery.fg-dark.fg-shadow-outline .fg-item-inner {
	box-shadow: 0 0 0 1px #222;
}
.foogallery.fg-light.fg-shadow-small .fg-item-inner,
.foogallery.fg-dark.fg-shadow-small .fg-item-inner {
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
}
.foogallery.fg-light.fg-shadow-medium .fg-item-inner,
.foogallery.fg-dark.fg-shadow-medium .fg-item-inner {
	box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.5);
}
.foogallery.fg-light.fg-shadow-large .fg-item-inner,
.foogallery.fg-dark.fg-shadow-large .fg-item-inner {
	box-shadow: 0 1px 16px 0 rgba(0, 0, 0, 0.5);
}
/* Inset Shadows */
.foogallery.fg-shadow-inset-small .fg-thumb:after,
.foogallery.fg-shadow-inset-medium .fg-thumb:after,
.foogallery.fg-shadow-inset-large .fg-thumb:after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 7;
}
.foogallery.fg-light.fg-shadow-inset-small .fg-thumb:after,
.foogallery.fg-dark.fg-shadow-inset-small .fg-thumb:after {
	box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.3);
}
.foogallery.fg-light.fg-shadow-inset-medium .fg-thumb:after,
.foogallery.fg-dark.fg-shadow-inset-medium .fg-thumb:after {
	box-shadow: inset 0 1px 10px 0 rgba(0,0,0,0.3);
}
.foogallery.fg-light.fg-shadow-inset-large .fg-thumb:after,
.foogallery.fg-dark.fg-shadow-inset-large .fg-thumb:after {
	box-shadow: inset 0 1px 16px 0 rgba(0,0,0,0.3);
}

.foogallery.fg-round-full.fg-shadow-inset-small .fg-thumb:after,
.foogallery.fg-round-full.fg-shadow-inset-medium .fg-thumb:after,
.foogallery.fg-round-full.fg-shadow-inset-large .fg-thumb:after {
	border-radius: 50%;
}
/* Rounded Corners */
.foogallery.fg-round-small .fg-item,
.foogallery.fg-round-small .fg-item-inner {
	border-radius: 5px;
}
.foogallery.fg-round-medium .fg-item,
.foogallery.fg-round-medium .fg-item-inner {
	border-radius: 10px;
}
.foogallery.fg-round-large .fg-item,
.foogallery.fg-round-large .fg-item-inner {
	border-radius: 15px;
}
.foogallery.fg-round-full .fg-item,
.foogallery.fg-round-full .fg-item-inner {
	border-radius: 50%;
}
/* Loader Styles */
.foogallery .fg-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -0.5em;
	margin-left: -0.5em;
	width: 1em;
	height: 1em;
	font-size: 5px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.foogallery .fg-loading .fg-loader {
	visibility: visible;
	opacity: 1;
}
.fg-loading-default .fg-loader {
	border-radius: 50%;
	text-indent: -9999em;
	box-shadow: 0 -2.6em 0 0 rgba(130, 130, 130, 1),
	1.8em -1.8em 0 0 rgba(130, 130, 130, 0.2),
	2.5em 0 0 0 rgba(130, 130, 130, 0.2),
	1.75em 1.75em 0 0 rgba(130, 130, 130, 0.2),
	0 2.5em 0 0 rgba(130, 130, 130, 0.2),
	-1.8em 1.8em 0 0 rgba(130, 130, 130, 0.2),
	-2.6em 0 0 0 rgba(130, 130, 130, 0.5),
	-1.8em -1.8em 0 0 rgba(130, 130, 130, 0.7);
	-webkit-animation: loading-default 1.1s infinite paused steps(8, start);
	animation: loading-default 1.1s infinite paused steps(8, start);
}
.fg-loading-default .fg-loading .fg-loader {
	-webkit-animation-play-state: running;
	animation-play-state: running;
}

@-webkit-keyframes loading-default {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@keyframes loading-default {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
.fg-loading-bars .fg-loader,
.fg-loading-bars .fg-loader:before,
.fg-loading-bars .fg-loader:after {
	background: rgba(130, 130, 130, 1);
	width: 1em;
	height: 4em;
	-webkit-animation: loading-bars 1s infinite paused ease-in-out;
	animation: loading-bars 1s infinite paused ease-in-out;
}
.fg-loading-bars .fg-loading .fg-loader,
.fg-loading-bars .fg-loading .fg-loader:before,
.fg-loading-bars .fg-loading .fg-loader:after {
	-webkit-animation-play-state: running;
	animation-play-state: running;
}
.fg-loading-bars .fg-loader {
	color: rgba(130, 130, 130, 1);
	text-indent: -9999em;
	font-size: 4px;
	margin-top: -2em;
	margin-left: -0.5em;
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}
.fg-loading-bars .fg-loader:before,
.fg-loading-bars .fg-loader:after {
	position: absolute;
	top: 0;
	content: '';
}
.fg-loading-bars .fg-loader:before {
	left: -1.5em;
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}
.fg-loading-bars .fg-loader:after {
	left: 1.5em;
}
@-webkit-keyframes loading-bars {
	0%,
	80%,
	100% {
		box-shadow: 0 0;
		height: 4em;
	}
	40% {
		box-shadow: 0 -2em;
		height: 5em;
	}
}
@keyframes loading-bars {
	0%,
	80%,
	100% {
		box-shadow: 0 0;
		height: 4em;
	}
	40% {
		box-shadow: 0 -2em;
		height: 5em;
	}
}
.fg-loading-trail .fg-loader {
	color: #828282;
	margin-top: 0;
	margin-left: 0;
	font-size: 20px;
	text-indent: -9999em;
	overflow: hidden;
	border-radius: 50%;
	-webkit-animation: loading-trail-1 1.7s infinite paused ease, loading-trail-2 1.7s infinite paused ease;
	animation: loading-trail-1 1.7s infinite paused ease, loading-trail-2 1.7s infinite paused ease;
}
.fg-loading-trail .fg-loading .fg-loader {
	-webkit-animation-play-state: running;
	animation-play-state: running;
}

@-webkit-keyframes loading-trail-1 {
	0% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
	5%,
	95% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
	10%,
	59% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
	}
	20% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
	}
	38% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
	}
	100% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
}
@keyframes loading-trail-1 {
	0% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
	5%,
	95% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
	10%,
	59% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
	}
	20% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
	}
	38% {
		box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
	}
	100% {
		box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
	}
}
@-webkit-keyframes loading-trail-2 {
	0% {
		-webkit-transform: translateX(-50%) translateY(-50%) rotate(0deg);
		transform: translateX(-50%) translateY(-50%) rotate(0deg);
	}
	100% {
		-webkit-transform: translateX(-50%) translateY(-50%) rotate(360deg);
		transform: translateX(-50%) translateY(-50%) rotate(360deg);
	}
}
@keyframes loading-trail-2 {
	0% {
		-webkit-transform: translateX(-50%) translateY(-50%) rotate(0deg);
		transform: translateX(-50%) translateY(-50%) rotate(0deg);
	}
	100% {
		-webkit-transform: translateX(-50%) translateY(-50%) rotate(360deg);
		transform: translateX(-50%) translateY(-50%) rotate(360deg);
	}
}
.fg-loading-pulse .fg-loader,
.fg-loading-pulse .fg-loader:before,
.fg-loading-pulse .fg-loader:after {
	border-radius: 50%;
	width: 2.5em;
	height: 2.5em;
	-webkit-animation: loading-pulse 1.8s infinite both paused ease-in-out;
	animation: loading-pulse 1.8s infinite both paused ease-in-out;
}
.fg-loading-pulse .fg-loading .fg-loader,
.fg-loading-pulse .fg-loading .fg-loader:before,
.fg-loading-pulse .fg-loading .fg-loader:after {
	-webkit-animation-play-state: running;
	animation-play-state: running;
}

.fg-loading-pulse .fg-loader {
	color: #828282;
	font-size: 4px;
	margin-top: -3.75em;
	margin-left: -1.25em;
	text-indent: -9999em;
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}
.fg-loading-pulse .fg-loader:before,
.fg-loading-pulse .fg-loader:after {
	content: '';
	position: absolute;
	top: 0;
}
.fg-loading-pulse .fg-loader:before {
	left: -3.5em;
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}
.fg-loading-pulse .fg-loader:after {
	left: 3.5em;
}
@-webkit-keyframes loading-pulse {
	0%,
	80%,
	100% {
		box-shadow: 0 2.5em 0 -1.3em;
	}
	40% {
		box-shadow: 0 2.5em 0 0;
	}
}
@keyframes loading-pulse {
	0%,
	80%,
	100% {
		box-shadow: 0 2.5em 0 -1.3em;
	}
	40% {
		box-shadow: 0 2.5em 0 0;
	}
}
.fg-loading-dots .fg-loader {
	color: #828282;
	font-size: 5px;
	border-radius: 50%;
	text-indent: -9999em;
	-webkit-animation: loading-dots 1.3s infinite paused linear;
	animation: loading-dots 1.3s infinite paused linear;
}
.fg-loading-dots .fg-loading .fg-loader {
	-webkit-animation-play-state: running;
	animation-play-state: running;
}

@-webkit-keyframes loading-dots {
	0%,
	100% {
		box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
	}
	12.5% {
		box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
	}
	25% {
		box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
	}
	37.5% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
	}
	50% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
	}
	62.5% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
	}
	75% {
		box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
	}
	87.5% {
		box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
	}
}
@keyframes loading-dots {
	0%,
	100% {
		box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
	}
	12.5% {
		box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
	}
	25% {
		box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
	}
	37.5% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
	}
	50% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
	}
	62.5% {
		box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
	}
	75% {
		box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
	}
	87.5% {
		box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
	}
}
.fg-loading-partial .fg-loader,
.fg-loading-partial .fg-loader:after {
	border-radius: 50%;
	width: 10em;
	height: 10em;
}
.fg-loading-partial .fg-loader {
	font-size: 4px;
	text-indent: -9999em;
	margin-top: 0;
	margin-left: 0;
	border-top: 1.1em solid rgba(130,130,130, 0.2);
	border-right: 1.1em solid rgba(130,130,130, 0.2);
	border-bottom: 1.1em solid rgba(130,130,130, 0.2);
	border-left: 1.1em solid #828282;
	-webkit-animation: loading-partial 1.1s infinite paused linear;
	animation: loading-partial 1.1s infinite paused linear;
}
.fg-loading-partial .fg-loading .fg-loader {
	-webkit-animation-play-state: running;
	animation-play-state: running;
}

@-webkit-keyframes loading-partial {
	0% {
		-webkit-transform: translateX(-50%) translateY(-50%) rotate(0deg);
		transform: translateX(-50%) translateY(-50%) rotate(0deg);
	}
	100% {
		-webkit-transform: translateX(-50%) translateY(-50%) rotate(360deg);
		transform: translateX(-50%) translateY(-50%) rotate(360deg);
	}
}
@keyframes loading-partial {
	0% {
		-webkit-transform: translateX(-50%) translateY(-50%) rotate(0deg);
		transform: translateX(-50%) translateY(-50%) rotate(0deg);
	}
	100% {
		-webkit-transform: translateX(-50%) translateY(-50%) rotate(360deg);
		transform: translateX(-50%) translateY(-50%) rotate(360deg);
	}
}
/* Loaded Effects */
.foogallery.fg-loaded-fade-in .fg-item.fg-loaded,
.foogallery.fg-loaded-slide-up .fg-item.fg-loaded,
.foogallery.fg-loaded-slide-down .fg-item.fg-loaded,
.foogallery.fg-loaded-slide-left .fg-item.fg-loaded,
.foogallery.fg-loaded-slide-right .fg-item.fg-loaded,
.foogallery.fg-loaded-scale-up .fg-item.fg-loaded,
.foogallery.fg-loaded-swing-down .fg-item.fg-loaded,
.foogallery.fg-loaded-drop .fg-item.fg-loaded,
.foogallery.fg-loaded-fly .fg-item.fg-loaded,
.foogallery.fg-loaded-flip .fg-item.fg-loaded {
	transition-timing-function: ease;
	transition-duration: 650ms;
	transition-property: background-color, transform;
}
.foogallery.fg-loaded-fade-in .fg-loaded .fg-item-inner,
.foogallery.fg-loaded-slide-up .fg-loaded .fg-item-inner,
.foogallery.fg-loaded-slide-down .fg-loaded .fg-item-inner,
.foogallery.fg-loaded-slide-left .fg-loaded .fg-item-inner,
.foogallery.fg-loaded-slide-right .fg-loaded .fg-item-inner,
.foogallery.fg-loaded-scale-up .fg-loaded .fg-item-inner,
.foogallery.fg-loaded-swing-down .fg-loaded .fg-item-inner,
.foogallery.fg-loaded-drop .fg-loaded .fg-item-inner,
.foogallery.fg-loaded-fly .fg-loaded .fg-item-inner,
.foogallery.fg-loaded-flip .fg-loaded .fg-item-inner {
	transition-timing-function: ease;
	transition-duration: 650ms;
}
/* Only apply the perspective once loaded otherwise transitions could take place behind other items*/
.foogallery.fg-loaded-swing-down .fg-item.fg-loaded,
.foogallery.fg-loaded-drop .fg-item.fg-loaded,
.foogallery.fg-loaded-fly .fg-item.fg-loaded,
.foogallery.fg-loaded-flip .fg-item.fg-loaded {
	perspective: 1300px;
}
/* Drop */
.foogallery.fg-loaded-drop .fg-item-inner {
	transition-property: visibility, opacity, transform;
	transform-style: preserve-3d;
	transform: translateZ(400px) translateY(100%) rotateX(-90deg);
}
.foogallery.fg-loaded-drop .fg-loaded .fg-item-inner {
	transform: translateZ(0px) translateY(0px) rotateX(0deg);
}
/* Fade In */
.foogallery.fg-loaded-fade-in .fg-item-inner {
	transition-property: visibility, opacity;
}
/* Flip */
.foogallery.fg-loaded-flip .fg-item-inner {
	transition-property: visibility, opacity, transform;
	backface-visibility: hidden;
	transform-style: preserve-3d;
	transform: rotateY(-180deg);
}
.foogallery.fg-loaded-flip .fg-loaded .fg-item-inner {
	transform: rotateY(0deg);
}
/* Fly */
.foogallery.fg-loaded-fly .fg-item-inner {
	transition-property: visibility, opacity, transform;
	transform-style: preserve-3d;
	transform-origin: 50% 50% -300px;
	transform: rotateX(-180deg);
}
.foogallery.fg-loaded-fly .fg-loaded .fg-item-inner {
	transform: rotateX(0deg);
}
/* Scale Up */
.foogallery.fg-loaded-scale-up .fg-item-inner {
	transition-property: visibility, opacity, transform;
	transform: scale(0.6);
}
.foogallery.fg-loaded-scale-up .fg-loaded .fg-item-inner {
	transform: scale(1);
}
/* Slide Up */
.foogallery.fg-loaded-slide-up .fg-item-inner {
	transition-property: visibility, opacity, transform;
	transform: translateY(50%);
}
.foogallery.fg-loaded-slide-up .fg-loaded .fg-item-inner {
	transform: translateY(0);
}
/* Slide Down */
.foogallery.fg-loaded-slide-down .fg-item-inner {
	transition-property: visibility, opacity, transform;
	transform: translateY(-50%);
}
.foogallery.fg-loaded-slide-down .fg-loaded .fg-item-inner {
	transform: translateY(0);
}
/* Slide Left */
.foogallery.fg-loaded-slide-left .fg-item-inner {
	transition-property: visibility, opacity, transform;
	transform: translateX(50%);
}
.foogallery.fg-loaded-slide-left .fg-loaded .fg-item-inner {
	transform: translateX(0);
}
/* Slide Right */
.foogallery.fg-loaded-slide-right .fg-item-inner {
	transition-property: visibility, opacity, transform;
	transform: translateX(-50%);
}
.foogallery.fg-loaded-slide-right .fg-loaded .fg-item-inner {
	transform: translateX(0);
}
/* Swing Down */
.foogallery.fg-loaded-swing-down .fg-item-inner {
	transition-property: visibility, opacity, transform;
	transform-style: preserve-3d;
	transform-origin: 0 0;
	transform: rotateX(-80deg);
}
.foogallery.fg-loaded-swing-down .fg-loaded .fg-item-inner {
	transform: rotateX(0deg);
}
/* Caption Styles */
.foogallery .fg-caption {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	z-index: 8;
	width: 100%;
	max-height: 100%;
	overflow: hidden;
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	border: none;
	text-align: center;
	cursor: pointer;
	margin: 0;
}
.foogallery .fg-caption a {
	text-decoration: none;
}

.foogallery .fg-caption a:hover {
	border-bottom: none;
}

.foogallery .fg-caption-title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 16px;
	font-weight: 400;
	padding: 5px;
}
.foogallery .fg-caption-desc {
	padding: 5px;
}
.foogallery .fg-caption-title+.fg-caption-desc {
	padding-top: 0;
}

/* Always */
.foogallery.fg-caption-always .fg-item .fg-caption .fg-caption-inner:before {
	display: none;
}
.foogallery.fg-caption-always .fg-item.fg-loaded .fg-caption {
	left: 0;
	bottom: 0;
	transition-timing-function: ease;
	transition-duration: 300ms;
	transition-property: visibility, opacity;
	visibility: visible;
	opacity: 1;
}
.foogallery.fg-caption-always .fg-caption {
	text-align: left;
}

/* On Hover */
.foogallery.fg-caption-hover .fg-caption .fg-caption-inner {
	width: 100%;
	max-height: 100%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.foogallery.fg-caption-hover .fg-item.fg-loaded .fg-image-overlay {
	display: none;
}

/* Alignment */
.foogallery.fg-c-l .fg-caption,
.foogallery.fg-caption-always.fg-c-l .fg-caption {
	text-align: left;
}
.foogallery.fg-c-c .fg-caption,
.foogallery.fg-caption-always.fg-c-c .fg-caption {
	text-align: center;
}
.foogallery.fg-c-r .fg-caption,
.foogallery.fg-caption-always.fg-c-r .fg-caption {
	text-align: right;
}
.foogallery.fg-c-j .fg-caption,
.foogallery.fg-caption-always.fg-c-j .fg-caption {
	text-align: justify;
}
/* Icon & Overlay */
.foogallery .fg-image-overlay:before {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 32px;
	height: 32px;
	background-size: 32px 32px;
	background-position: center center;
	background-repeat: no-repeat;
}
.foogallery .fg-caption-inner:before {
	content: "";
	display: none;
	position: relative;
	width: 32px;
	height: 32px;
	margin: 10px auto 5px auto;
	background-size: 32px 32px;
	vertical-align: middle;
	background-position: center center;
	background-repeat: no-repeat;
}
.foogallery.fg-hover-zoom:not(.fg-preset) 				.fg-caption-inner:before,
.foogallery.fg-hover-zoom2:not(.fg-preset) 				.fg-caption-inner:before,
.foogallery.fg-hover-zoom3:not(.fg-preset) 				.fg-caption-inner:before,
.foogallery.fg-hover-plus:not(.fg-preset) 				.fg-caption-inner:before,
.foogallery.fg-hover-circle-plus:not(.fg-preset) 	    .fg-caption-inner:before,
.foogallery.fg-hover-eye:not(.fg-preset) 				.fg-caption-inner:before,
.foogallery.fg-hover-external:not(.fg-preset) 		    .fg-caption-inner:before,
.foogallery.fg-hover-tint:not(.fg-preset) 				.fg-caption-inner:before,
.foogallery.fg-video-default:not(.fg-preset)            .fg-caption-inner:before,
.foogallery.fg-video-1:not(.fg-preset)                  .fg-caption-inner:before,
.foogallery.fg-video-2:not(.fg-preset)                  .fg-caption-inner:before,
.foogallery.fg-video-3:not(.fg-preset)                  .fg-caption-inner:before,
.foogallery.fg-video-4:not(.fg-preset)                  .fg-caption-inner:before {
	display: block;
}

.foogallery.fg-hover-zoom:not(.fg-preset) 				.fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-zoom2:not(.fg-preset) 				.fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-zoom3:not(.fg-preset) 				.fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-plus:not(.fg-preset) 				.fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-circle-plus:not(.fg-preset) 	    .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-eye:not(.fg-preset) 				.fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-external:not(.fg-preset) 		    .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-tint:not(.fg-preset) 				.fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-video-default:not(.fg-preset)            .fg-type-video .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-video-1:not(.fg-preset)                  .fg-type-video .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-video-2:not(.fg-preset)                  .fg-type-video .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-video-3:not(.fg-preset)                  .fg-type-video .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-video-4:not(.fg-preset)                  .fg-type-video .fg-item-inner:hover .fg-image-overlay {
	visibility: visible;
	opacity: 1;
}
.foogallery.fg-video-sticky				.fg-type-video.fg-loaded .fg-item-inner .fg-image-overlay {
	background-color: transparent;
	visibility: visible;
	opacity: 1;
	display: block;
}
.foogallery.fg-video-sticky				.fg-type-video .fg-caption-inner:before {
	display: none;
}

.foogallery.fg-hover-zoom .fg-image-overlay:before,
.foogallery.fg-hover-zoom .fg-caption-inner:before {
	background-image: url('../img/icons.svg#zoom-light');
}
.foogallery.fg-light-overlays.fg-hover-zoom .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-hover-zoom .fg-caption-inner:before {
	background-image: url('../img/icons.svg#zoom-dark');
}

.foogallery.fg-hover-zoom2 .fg-image-overlay:before,
.foogallery.fg-hover-zoom2 .fg-caption-inner:before {
	background-image: url('../img/icons.svg#zoom2-light');
}
.foogallery.fg-light-overlays.fg-hover-zoom2 .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-hover-zoom2 .fg-caption-inner:before {
	background-image: url('../img/icons.svg#zoom2-dark');
}

.foogallery.fg-hover-zoom3 .fg-image-overlay:before,
.foogallery.fg-hover-zoom3 .fg-caption-inner:before {
	background-image: url('../img/icons.svg#zoom3-light');
}
.foogallery.fg-light-overlays.fg-hover-zoom3 .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-hover-zoom3 .fg-caption-inner:before {
	background-image: url('../img/icons.svg#zoom3-dark');
}

.foogallery.fg-hover-plus .fg-image-overlay:before,
.foogallery.fg-hover-plus .fg-caption-inner:before {
	background-image: url('../img/icons.svg#plus-light');
}
.foogallery.fg-light-overlays.fg-hover-plus .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-hover-plus .fg-caption-inner:before {
	background-image: url('../img/icons.svg#plus-dark');
}

.foogallery.fg-hover-circle-plus .fg-image-overlay:before,
.foogallery.fg-hover-circle-plus .fg-caption-inner:before {
	background-image: url('../img/icons.svg#circle-plus-light');
}
.foogallery.fg-light-overlays.fg-hover-circle-plus .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-hover-circle-plus .fg-caption-inner:before {
	background-image: url('../img/icons.svg#circle-plus-dark');
}

.foogallery.fg-hover-eye .fg-image-overlay:before,
.foogallery.fg-hover-eye .fg-caption-inner:before {
	background-image: url('../img/icons.svg#eye-light');
}
.foogallery.fg-light-overlays.fg-hover-eye .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-hover-eye .fg-caption-inner:before {
	background-image: url('../img/icons.svg#eye-dark');
}

.foogallery.fg-hover-external .fg-image-overlay:before,
.foogallery.fg-hover-external .fg-caption-inner:before {
	background-image: url('../img/icons.svg#external-light');
}
.foogallery.fg-light-overlays.fg-hover-external .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-hover-external .fg-caption-inner:before {
	background-image: url('../img/icons.svg#external-dark');
}

.foogallery.fg-video-default .fg-type-video .fg-image-overlay:before,
.foogallery.fg-video-default .fg-type-video .fg-caption-inner:before {
	background-image: url('../img/icons.svg#video-default-light');
}
.foogallery.fg-light-overlays.fg-video-default .fg-type-video .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-video-default .fg-type-video .fg-caption-inner:before {
	background-image: url('../img/icons.svg#video-default-dark');
}

.foogallery.fg-video-1 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-video-1 .fg-type-video .fg-caption-inner:before {
	background-image: url('../img/icons.svg#video-1-light');
}
.foogallery.fg-light-overlays.fg-video-1 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-video-1 .fg-type-video .fg-caption-inner:before {
	background-image: url('../img/icons.svg#video-1-dark');
}

.foogallery.fg-video-2 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-video-2 .fg-type-video .fg-caption-inner:before {
	background-image: url('../img/icons.svg#video-2-light');
}
.foogallery.fg-light-overlays.fg-video-2 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-video-2 .fg-type-video .fg-caption-inner:before {
	background-image: url('../img/icons.svg#video-2-dark');
}

.foogallery.fg-video-3 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-video-3 .fg-type-video .fg-caption-inner:before {
	background-image: url('../img/icons.svg#video-3-light');
}
.foogallery.fg-light-overlays.fg-video-3 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-video-3 .fg-type-video .fg-caption-inner:before {
	background-image: url('../img/icons.svg#video-3-dark');
}

.foogallery.fg-video-4 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-video-4 .fg-type-video .fg-caption-inner:before {
	background-image: url('../img/icons.svg#video-4-light');
}
.foogallery.fg-light-overlays.fg-video-4 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-light-overlays.fg-video-4 .fg-type-video .fg-caption-inner:before {
	background-image: url('../img/icons.svg#video-4-dark');
}
/* Transitions */
.foogallery.fg-caption-hover.fg-hover-instant .fg-loaded .fg-caption,
.foogallery.fg-caption-hover.fg-hover-fade .fg-loaded .fg-caption,
.foogallery.fg-caption-hover.fg-hover-slide-up .fg-loaded .fg-caption,
.foogallery.fg-caption-hover.fg-hover-slide-down .fg-loaded .fg-caption,
.foogallery.fg-caption-hover.fg-hover-slide-left .fg-loaded .fg-caption,
.foogallery.fg-caption-hover.fg-hover-slide-right .fg-loaded .fg-caption,
.foogallery.fg-caption-hover.fg-hover-push .fg-loaded .fg-caption,
.foogallery.fg-caption-hover.fg-hover-colorize .fg-loaded .fg-caption,
.foogallery.fg-caption-hover.fg-hover-grayscale .fg-loaded .fg-caption,
.foogallery.fg-caption-hover.fg-hover-scale .fg-loaded .fg-caption,
.foogallery.fg-hover-instant .fg-loaded .fg-image-overlay,
.foogallery.fg-hover-fade .fg-loaded .fg-image-overlay,
.foogallery.fg-hover-slide-up .fg-loaded .fg-image-overlay,
.foogallery.fg-hover-slide-down .fg-loaded .fg-image-overlay,
.foogallery.fg-hover-slide-left .fg-loaded .fg-image-overlay,
.foogallery.fg-hover-slide-right .fg-loaded .fg-image-overlay,
.foogallery.fg-hover-push .fg-loaded .fg-thumb,
.foogallery.fg-hover-colorize .fg-loaded .fg-image-overlay,
.foogallery.fg-hover-grayscale .fg-loaded .fg-image-overlay,
.foogallery.fg-hover-scale .fg-item.fg-loaded,
.foogallery.fg-hover-scale .fg-loaded .fg-image-overlay,
.foogallery.fg-hover-zoomed .fg-loaded .fg-image,
.foogallery.fg-hover-colorize .fg-loaded .fg-image,
.foogallery.fg-hover-grayscale .fg-loaded .fg-image {
	transition-timing-function: ease;
	transition-duration: 300ms;
	backface-visibility: hidden;
}
/* Colorize */
.foogallery.fg-hover-colorize .fg-image {
	/* Firefox 10+, Firefox on Android */
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'saturate\' values=\'0\'/></filter></svg>#grayscale");
	/* IE 6-9 */
	filter: gray;
	/* Chrome 19+, Safari 6+, Safari 6+ iOS */
	-webkit-filter: grayscale(100%);
	-webkit-transition-property: -webkit-filter;
	transition-property: filter;
}
.foogallery.fg-hover-colorize .fg-item-inner:hover .fg-image {
	-webkit-filter: none;
	filter: none;
}
.foogallery.fg-hover-colorize .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-colorize .fg-caption {
	display: block;
	left: 0;
	top: 0;
	bottom: 0;
	transition-property: visibility, opacity, background-color;
}
.foogallery.fg-hover-colorize .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-colorize .fg-item-inner:hover .fg-caption {
	visibility: visible;
	opacity: 1;
}
/* Fade */
.foogallery.fg-hover-fade .fg-loaded .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-fade .fg-loaded .fg-caption {
	display: block;
	left: 0;
	top: 0;
	bottom: 0;
	transition-property: visibility, opacity, background-color;
}
.foogallery.fg-hover-fade .fg-loaded .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-fade .fg-loaded .fg-item-inner:hover .fg-caption {
	visibility: visible;
	opacity: 1;
}
/* Grayscale */
.foogallery.fg-hover-grayscale .fg-image {
	-webkit-filter: none;
	filter: none;
	-webkit-transition-property: -webkit-filter;
	transition-property: filter;
}
.foogallery.fg-hover-grayscale .fg-item-inner:hover .fg-image {
	/* For Webkit browsers */
	-webkit-filter: grayscale(1);
	-webkit-filter: grayscale(100%);
	/* Standard */
	filter: grayscale(100%);
	/* For IE 6 - 9 */
	filter: gray;
	opacity: 1;
}
.foogallery.fg-hover-grayscale .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-grayscale .fg-caption {
	display: block;
	left: 0;
	top: 0;
	bottom: 0;
	transition-property: visibility, opacity, background-color;
}
.foogallery.fg-hover-grayscale .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-grayscale .fg-item-inner:hover .fg-caption {
	visibility: visible;
	opacity: 1;
}
/* Instant */
.foogallery.fg-hover-instant .fg-loaded .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-instant .fg-loaded .fg-caption {
	display: block;
	left: 0;
	top: 0;
	bottom: 0;
	transition-property: none;
}
.foogallery.fg-hover-instant .fg-loaded .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-instant .fg-loaded .fg-item-inner:hover .fg-caption {
	visibility: visible;
	opacity: 1;
}
/* Push */
.foogallery.fg-hover-push .fg-loaded .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-push .fg-loaded .fg-caption {
	display: block;
	left: 0;
	top: 0;
	bottom: 0;
	transform: translateX(100%);
	visibility: visible;
	opacity: 1;
}
.foogallery.fg-hover-push .fg-loaded .fg-thumb,
.foogallery.fg-caption-hover.fg-hover-push .fg-loaded .fg-caption {
	transition-property: transform;
}
.foogallery.fg-caption-hover.fg-hover-push .fg-loaded .fg-item-inner:hover .fg-caption {
	transform: translateY(0);
}
.foogallery.fg-hover-push .fg-loaded .fg-item-inner:hover .fg-thumb,
.foogallery.fg-caption-hover.fg-hover-push .fg-loaded .fg-item-inner:hover .fg-thumb {
	transform: translateX(-100%);
}
/* Scale */
.foogallery.fg-hover-scale .fg-item {
	transition-property: transform;
	z-index: 4;
}

.foogallery.fg-hover-scale .fg-item:hover {
	transform: scale(1.048);
	z-index: 10;
}
.foogallery.fg-hover-scale .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-scale .fg-caption {
	display: block;
	left: 0;
	top: 0;
	bottom: 0;
	transition-property: visibility, opacity, background-color;
}
.foogallery.fg-hover-scale .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-scale .fg-item-inner:hover .fg-caption {
	visibility: visible;
	opacity: 1;
}
/* Zoomed */
.foogallery.fg-hover-zoomed .fg-image {
    transition-property: transform;
    z-index: 4;
}
.foogallery.fg-hover-zoomed .fg-item:hover .fg-image {
    transform: scale(1.15);
}
.foogallery.fg-hover-zoomed .fg-image-wrap {
    overflow: hidden;
}

.foogallery.fg-hover-zoomed .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-zoomed .fg-caption {
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    transition-property: visibility, opacity, background-color;
}
.foogallery.fg-hover-zoomed .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-zoomed .fg-item-inner:hover .fg-caption {
    visibility: visible;
    opacity: 1;
}
/* Slide */
.foogallery.fg-hover-slide-up .fg-loaded .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-up .fg-loaded .fg-caption,
.foogallery.fg-hover-slide-down .fg-loaded .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-down .fg-loaded .fg-caption,
.foogallery.fg-hover-slide-left .fg-loaded .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-left .fg-loaded .fg-caption,
.foogallery.fg-hover-slide-right .fg-loaded .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-right .fg-loaded .fg-caption {
	display: block;
	left: 0;
	top: 0;
	bottom: 0;
	transition-property: transform, background-color, opacity, visibility;
	visibility: visible;
	opacity: 1;
}
.foogallery.fg-hover-slide-up .fg-loaded .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-up .fg-loaded .fg-item-inner:hover .fg-caption,
.foogallery.fg-hover-slide-down .fg-loaded .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-down .fg-loaded .fg-item-inner:hover .fg-caption,
.foogallery.fg-hover-slide-left .fg-loaded .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-left .fg-loaded .fg-item-inner:hover .fg-caption,
.foogallery.fg-hover-slide-right .fg-loaded .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-right .fg-loaded .fg-item-inner:hover .fg-caption {
	transform: translateY(0) translateX(0);
}


/* Slide Up */
.foogallery.fg-hover-slide-up .fg-loaded .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-up .fg-loaded .fg-caption {
	transform: translateY(100%);
}

/* Slide Down */
.foogallery.fg-hover-slide-down .fg-loaded .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-down .fg-loaded .fg-caption {
	transform: translateY(-100%);
}

/* Slide Left */
.foogallery.fg-hover-slide-left .fg-loaded .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-left .fg-loaded .fg-caption {
	transform: translateX(100%);
}

/* Slide Right */
.foogallery.fg-hover-slide-right .fg-loaded .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-right .fg-loaded .fg-caption {
	transform: translateX(-100%);
}
.fg-paging-container, .fg-paging-container *, .fg-paging-container *:before, .fg-paging-container *:after {
	box-sizing: border-box;
}
.fg-paging-container {
	display: block;
	padding: 15px;
	margin-top: 0!important;
	margin-bottom: 0!important;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
/* Utility */
.fg-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}
.fg-ph-dots:after {
	display: block;
	content: '';
	width: 0;
	height: 22px;
}

.fg-paging-container .fg-dots,
.fg-paging-container .fg-dot-item {
	display: inline-block;
	margin: 0;
	padding: 0;
	outline: none;
	list-style: none;
}
.fg-paging-container .fg-dot-item .fg-dot-link {
	display: inline-block;
	margin: 3px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	background-image: none;
	text-decoration: none;
	border: 1px solid transparent;
	position: relative;
	border-radius: 50%;
	padding: 0;
	font-size: 0;
	outline: none;
	color: transparent;
	box-shadow: none;
}
.fg-paging-container .fg-dot-item .fg-dot-link:before {
	content: "";
	background-color: transparent;
	border: 1px solid transparent;
	display: block;
	border-radius: 50%;
	width: 9px;
	height: 9px;
	padding: 0;
	margin: 2px;
}
.fg-paging-container .fg-dot-item .fg-dot-link:active,
.fg-paging-container .fg-dot-item .fg-dot-link:hover,
.fg-paging-container .fg-dot-item .fg-dot-link:focus {
	text-decoration: none;
	box-shadow: none;
	outline: none;
}
.fg-paging-container .fg-dot-item.fg-disabled .fg-dot-link,
.fg-paging-container .fg-dot-item.fg-selected .fg-dot-link {
	cursor: not-allowed;
	pointer-events: none;
}
.fg-paging-container .fg-dot-item.fg-disabled .fg-dot-link {
	cursor: not-allowed;
	pointer-events: none;
	outline: none;
}

/* Light - Dots */
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link,
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link:before {
	transition-timing-function: ease-out;
	transition-duration: 0.3s;
	transition-property: color, border-color, background-color;
}
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link {
	background-color: #eee;
	border-color: #9d9d9d;
}
.fg-paging-container.fg-light .fg-dot-item.fg-selected .fg-dot-link {
	border-color: #888;
}
.fg-paging-container.fg-light .fg-dot-item.fg-selected .fg-dot-link:before,
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link:hover:before,
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link:focus:before {
	background-color: #666;
	border-color: #888;
}
.fg-paging-container.fg-light .fg-dot-item.fg-disabled .fg-dot-link,
.fg-paging-container.fg-light .fg-dot-item.fg-disabled .fg-dot-link:hover,
.fg-paging-container.fg-light .fg-dot-item.fg-disabled .fg-dot-link:focus {
	background-color: #eee;
	border-color: #9d9d9d;
	opacity: 0.5;
}

/* Dark - Dots */
.fg-paging-container.fg-dark .fg-dot-item .fg-dot-link,
.fg-paging-container.fg-dark .fg-dot-item .fg-dot-link:before {
	transition-timing-function: ease-out;
	transition-duration: 0.3s;
	transition-property: color, border-color, background-color;
}
.fg-paging-container.fg-dark .fg-dot-item .fg-dot-link {
	background-color: #666;
	border-color: #333;
}
.fg-paging-container.fg-dark .fg-dot-item.fg-selected .fg-dot-link {
	border-color: #444;
}
.fg-paging-container.fg-dark .fg-dot-item.fg-selected .fg-dot-link:before,
.fg-paging-container.fg-dark .fg-dot-item .fg-dot-link:hover:before,
.fg-paging-container.fg-dark .fg-dot-item .fg-dot-link:focus:before {
	background-color: #333;
	border-color: #444;
}
.fg-paging-container.fg-dark .fg-dot-item.fg-disabled .fg-dot-link,
.fg-paging-container.fg-dark .fg-dot-item.fg-disabled .fg-dot-link:hover,
.fg-paging-container.fg-dark .fg-dot-item.fg-disabled .fg-dot-link:focus {
	background-color: #666;
	border-color: #333;
	opacity: 0.5;
}
.fg-paging-container, .fg-paging-container *, .fg-paging-container *:before, .fg-paging-container *:after {
	box-sizing: border-box;
}
.fg-paging-container {
	display: block;
	padding: 15px;
	margin-top: 0!important;
	margin-bottom: 0!important;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
/* Utility */
.fg-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}
.fg-ph-dots:after {
	display: block;
	content: '';
	width: 0;
	height: 22px;
}

.fg-paging-container .fg-dots,
.fg-paging-container .fg-dot-item {
	display: inline-block;
	margin: 0;
	padding: 0;
	outline: none;
	list-style: none;
}
.fg-paging-container .fg-dot-item .fg-dot-link {
	display: inline-block;
	margin: 3px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	background-image: none;
	text-decoration: none;
	border: 1px solid transparent;
	position: relative;
	border-radius: 50%;
	padding: 0;
	font-size: 0;
	outline: none;
	color: transparent;
	box-shadow: none;
}
.fg-paging-container .fg-dot-item .fg-dot-link:before {
	content: "";
	background-color: transparent;
	border: 1px solid transparent;
	display: block;
	border-radius: 50%;
	width: 9px;
	height: 9px;
	padding: 0;
	margin: 2px;
}
.fg-paging-container .fg-dot-item .fg-dot-link:active,
.fg-paging-container .fg-dot-item .fg-dot-link:hover,
.fg-paging-container .fg-dot-item .fg-dot-link:focus {
	text-decoration: none;
	box-shadow: none;
	outline: none;
}
.fg-paging-container .fg-dot-item.fg-disabled .fg-dot-link,
.fg-paging-container .fg-dot-item.fg-selected .fg-dot-link {
	cursor: not-allowed;
	pointer-events: none;
}
.fg-paging-container .fg-dot-item.fg-disabled .fg-dot-link {
	cursor: not-allowed;
	pointer-events: none;
	outline: none;
}

/* Light - Dots */
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link,
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link:before {
	transition-timing-function: ease-out;
	transition-duration: 0.3s;
	transition-property: color, border-color, background-color;
}
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link {
	background-color: #eee;
	border-color: #9d9d9d;
}
.fg-paging-container.fg-light .fg-dot-item.fg-selected .fg-dot-link {
	border-color: #888;
}
.fg-paging-container.fg-light .fg-dot-item.fg-selected .fg-dot-link:before,
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link:hover:before,
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link:focus:before {
	background-color: #666;
	border-color: #888;
}
.fg-paging-container.fg-light .fg-dot-item.fg-disabled .fg-dot-link,
.fg-paging-container.fg-light .fg-dot-item.fg-disabled .fg-dot-link:hover,
.fg-paging-container.fg-light .fg-dot-item.fg-disabled .fg-dot-link:focus {
	background-color: #eee;
	border-color: #9d9d9d;
	opacity: 0.5;
}

/* Dark - Dots */
.fg-paging-container.fg-dark .fg-dot-item .fg-dot-link,
.fg-paging-container.fg-dark .fg-dot-item .fg-dot-link:before {
	transition-timing-function: ease-out;
	transition-duration: 0.3s;
	transition-property: color, border-color, background-color;
}
.fg-paging-container.fg-dark .fg-dot-item .fg-dot-link {
	background-color: #666;
	border-color: #333;
}
.fg-paging-container.fg-dark .fg-dot-item.fg-selected .fg-dot-link {
	border-color: #444;
}
.fg-paging-container.fg-dark .fg-dot-item.fg-selected .fg-dot-link:before,
.fg-paging-container.fg-dark .fg-dot-item .fg-dot-link:hover:before,
.fg-paging-container.fg-dark .fg-dot-item .fg-dot-link:focus:before {
	background-color: #333;
	border-color: #444;
}
.fg-paging-container.fg-dark .fg-dot-item.fg-disabled .fg-dot-link,
.fg-paging-container.fg-dark .fg-dot-item.fg-disabled .fg-dot-link:hover,
.fg-paging-container.fg-dark .fg-dot-item.fg-disabled .fg-dot-link:focus {
	background-color: #666;
	border-color: #333;
	opacity: 0.5;
}
/* Base styles */
.fg-default:after {
	content: '';
	display: block;
	clear: both;
}

.fg-default .fg-item {
	display: inline-block;
	vertical-align: top;
	max-width: 100%;
}
.fg-default .fg-item-inner,
.fg-default .fg-thumb {
	display: block;
	vertical-align: top;
	max-width: 100%;
}

.fg-default .fg-image {
	border-radius: 0;
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}

/* Horizontal alignment */
.fg-default .fg-image {
	vertical-align: top;
}

.fg-default.fg-left {
	text-align: left;
}

.fg-default.fg-center {
	text-align: center;
}

.fg-default.fg-right {
	text-align: right;
}

/* Gutter widths */
.fg-default.fg-gutter-5 {
	padding-left: 5px;
	margin-bottom: -5px;
}
.fg-default.fg-gutter-5 .fg-item {
	margin-right: 5px;
	margin-bottom: 5px;
}

.fg-default.fg-gutter-10 {
	padding-left: 10px;
	margin-bottom: -10px;
}
.fg-default.fg-gutter-10 .fg-item {
	margin-right: 10px;
	margin-bottom: 10px;
}

.fg-default.fg-gutter-15 {
	padding-left: 15px;
	margin-bottom: -15px;
}
.fg-default.fg-gutter-15 .fg-item {
	margin-right: 15px;
	margin-bottom: 15px;
}

.fg-default.fg-gutter-20 {
	padding-left: 20px;
	margin-bottom: -20px;
}
.fg-default.fg-gutter-20 .fg-item {
	margin-right: 20px;
	margin-bottom: 20px;
}

.fg-default.fg-gutter-25 {
	padding-left: 25px;
	margin-bottom: -25px;
}
.fg-default.fg-gutter-25 .fg-item {
	margin-right: 25px;
	margin-bottom: 25px;
}


@media only screen and (max-width: 600px){
	.fg-default.fg-m-col1 .fg-image,
	.fg-default.fg-m-col2 .fg-image,
	.fg-default.fg-m-col3 .fg-image {
		width: 100%;
	}
	.fg-default.fg-m-col1.fg-gutter-5 .fg-item {
		width: calc(100% - 10px);
		min-width: calc(100% - 10px);
		max-width: calc(100% - 10px);
	}
	.fg-default.fg-m-col2.fg-gutter-5 .fg-item {
		width: calc(50% - 10px);
		min-width: calc(50% - 10px);
		max-width: calc(50% - 10px);
	}
	.fg-default.fg-m-col3.fg-gutter-5 .fg-item {
		width: calc(33.33% - 10px);
		min-width: calc(33.33% - 10px);
		max-width: calc(33.33% - 10px);
	}

	.fg-default.fg-m-col1.fg-gutter-10 .fg-item {
		width: calc(100% - 20px);
		min-width: calc(100% - 20px);
		max-width: calc(100% - 20px);
	}
	.fg-default.fg-m-col2.fg-gutter-10 .fg-item {
		width: calc(50% - 20px);
		min-width: calc(50% - 20px);
		max-width: calc(50% - 20px);
	}
	.fg-default.fg-m-col3.fg-gutter-10 .fg-item {
		width: calc(33.33% - 20px);
		min-width: calc(33.33% - 20px);
		max-width: calc(33.33% - 20px);
	}

	.fg-default.fg-m-col1.fg-gutter-15 .fg-item {
		width: calc(100% - 30px);
		min-width: calc(100% - 30px);
		max-width: calc(100% - 30px);
	}
	.fg-default.fg-m-col2.fg-gutter-15 .fg-item {
		width: calc(50% - 30px);
		min-width: calc(50% - 30px);
		max-width: calc(50% - 30px);
	}
	.fg-default.fg-m-col3.fg-gutter-15 .fg-item {
		width: calc(33.33% - 30px);
		min-width: calc(33.33% - 30px);
		max-width: calc(33.33% - 30px);
	}

	.fg-default.fg-m-col1.fg-gutter-20 .fg-item {
		width: calc(100% - 40px);
		min-width: calc(100% - 40px);
		max-width: calc(100% - 40px);
	}
	.fg-default.fg-m-col2.fg-gutter-20 .fg-item {
		width: calc(50% - 40px);
		min-width: calc(50% - 40px);
		max-width: calc(50% - 40px);
	}
	.fg-default.fg-m-col3.fg-gutter-20 .fg-item {
		width: calc(33.33% - 40px);
		min-width: calc(33.33% - 40px);
		max-width: calc(33.33% - 40px);
	}

	.fg-default.fg-m-col1.fg-gutter-25 .fg-item {
		width: calc(100% - 50px);
		min-width: calc(100% - 50px);
		max-width: calc(100% - 50px);
	}
	.fg-default.fg-m-col2.fg-gutter-25 .fg-item {
		width: calc(50% - 50px);
		min-width: calc(50% - 50px);
		max-width: calc(50% - 50px);
	}
	.fg-default.fg-m-col3.fg-gutter-25 .fg-item {
		width: calc(33.33% - 50px);
		min-width: calc(33.33% - 50px);
		max-width: calc(33.33% - 50px);
	}
}
/* Base styles */
.fg-masonry * {
	box-sizing: border-box;
}
.foogallery.fg-masonry {
	margin: 0 auto;
	text-align: center;
}
.fg-masonry .fg-thumb {
	display: block;
}
.fg-masonry.fg-fixed .fg-thumb {
	display: inline-block;
}
.fg-masonry.fg-fixed .fg-item,
.fg-masonry.fg-fixed .fg-image,
.fg-masonry.fg-fixed .fg-column-width {
	max-width: 100%;
}

.fg-masonry .fg-column-width {
	display: inline-block;
	border: solid 0 transparent;
}
.fg-masonry .fg-column-width,
.fg-masonry .fg-gutter-width {
	position: absolute;
	height: 0;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.fg-masonry.fg-col6 .fg-image,
.fg-masonry.fg-col5 .fg-image,
.fg-masonry.fg-col4 .fg-image,
.fg-masonry.fg-col3 .fg-image,
.fg-masonry.fg-col2 .fg-image {
	width: 100%;
	height: auto;
	max-width: 100%;
}

.fg-masonry .fg-item {
	line-height: 0;
	font-size: 0;
	vertical-align: top;
}

/* 2 column layouts */
/* 2 column layout - normal gutter */
.fg-masonry.fg-col2 .fg-item { margin-bottom: 1%; width: 49.5%; }
.fg-masonry.fg-col2 .fg-column-width { width: 49.5%; }
.fg-masonry.fg-col2 .fg-gutter-width { width: 1%; }

/* 2 column layout - no gutter */
.fg-masonry.fg-col2.fg-gutter-none .fg-item { margin-bottom: 0; width: 50%; }
.fg-masonry.fg-col2.fg-gutter-none .fg-column-width { width: 50%; }
.fg-masonry.fg-col2.fg-gutter-none .fg-gutter-width { width: 0; }

/* 2 column layout - large gutter */
.fg-masonry.fg-col2.fg-gutter-large .fg-item { margin-bottom: 3%; width: 48.5%; }
.fg-masonry.fg-col2.fg-gutter-large .fg-column-width { width: 48.5%; }
.fg-masonry.fg-col2.fg-gutter-large .fg-gutter-width { width: 3%; }

/* 3 column layouts */
/* 3 column layout - normal gutter */
.fg-masonry.fg-col3 .fg-item { margin-bottom: 1%; width: 32.66%; }
.fg-masonry.fg-col3 .fg-column-width { width: 32.66%; }
.fg-masonry.fg-col3 .fg-gutter-width { width: 1%; }

/* 3 column layout - no gutter */
.fg-masonry.fg-col3.fg-gutter-none .fg-item { margin-bottom: 0; width: 33.33%; }
.fg-masonry.fg-col3.fg-gutter-none .fg-column-width { width: 33.33%; }
.fg-masonry.fg-col3.fg-gutter-none .fg-gutter-width { width: 0; }

/* 3 column layout - large gutter */
.fg-masonry.fg-col3.fg-gutter-large .fg-item { margin-bottom: 3%; width: 31.33%; }
.fg-masonry.fg-col3.fg-gutter-large .fg-column-width { width: 31.33%; }
.fg-masonry.fg-col3.fg-gutter-large .fg-gutter-width { width: 3%; }

/* 4 column layouts */
/* 4 column layout - normal gutter */
.fg-masonry.fg-col4 .fg-item { margin-bottom: 1%; width: 24.25%; }
.fg-masonry.fg-col4 .fg-column-width { width: 24.25%; }
.fg-masonry.fg-col4 .fg-gutter-width { width: 1%; }

/* 4 column layout - no gutter */
.fg-masonry.fg-col4.fg-gutter-none .fg-item { margin-bottom: 0; width: 25%; }
.fg-masonry.fg-col4.fg-gutter-none .fg-column-width { width: 25%; }
.fg-masonry.fg-col4.fg-gutter-none .fg-gutter-width { width: 0; }

/* 4 column layout - large gutter */
.fg-masonry.fg-col4.fg-gutter-large .fg-item { margin-bottom: 3%; width: 22.75%; }
.fg-masonry.fg-col4.fg-gutter-large .fg-column-width { width: 22.75%; }
.fg-masonry.fg-col4.fg-gutter-large .fg-gutter-width { width: 3%; }

/* 5 column layouts */
/* 5 column layout - normal gutter */
.fg-masonry.fg-col5 .fg-item { margin-bottom: 1%; width: 19.2%; }
.fg-masonry.fg-col5 .fg-column-width { width: 19.2%; }
.fg-masonry.fg-col5 .fg-gutter-width { width: 1%; }

/* 5 column layout - no gutter */
.fg-masonry.fg-col5.fg-gutter-none .fg-item { margin-bottom: 0; width: 20%; }
.fg-masonry.fg-col5.fg-gutter-none .fg-column-width { width: 20%; }
.fg-masonry.fg-col5.fg-gutter-none .fg-gutter-width { width: 0; }

/* 5 column layout - large gutter */
.fg-masonry.fg-col5.fg-gutter-large .fg-item { margin-bottom: 3%; width: 17.6%; }
.fg-masonry.fg-col5.fg-gutter-large .fg-column-width { width: 17.6%; }
.fg-masonry.fg-col5.fg-gutter-large .fg-gutter-width { width: 3%; }

/* 6 column layouts */
/* 6 column layout - normal gutter */
.fg-masonry.fg-col6 .fg-item { margin-bottom: 1%; width: 15.83%; }
.fg-masonry.fg-col6 .fg-column-width { width: 15.83%; }
.fg-masonry.fg-col6 .fg-gutter-width { width: 1%; }

/* 6 column layout - no gutter */
.fg-masonry.fg-col6.fg-gutter-none .fg-item { margin-bottom: 0; width: 16.66%; }
.fg-masonry.fg-col6.fg-gutter-none .fg-column-width { width: 16.66%; }
.fg-masonry.fg-col6.fg-gutter-none .fg-gutter-width { width: 0; }

/* 6 column layout - large gutter */
.fg-masonry.fg-col6.fg-gutter-large .fg-item { margin-bottom: 3%; width: 14.16%; }
.fg-masonry.fg-col6.fg-gutter-large .fg-column-width { width: 14.16%; }
.fg-masonry.fg-col6.fg-gutter-large .fg-gutter-width { width: 3%; }

/* Force 5 column layout < 1280px */
@media screen and (max-width: 1280px) {
	/* default gutter */
	.fg-masonry.fg-col6 .fg-item { margin-bottom: 1%; width: 19.2%; }
	.fg-masonry.fg-col6 .fg-column-width { width: 19.2%; }
	.fg-masonry.fg-col6 .fg-gutter-width { width: 1%; }

	/* no gutter */
	.fg-masonry.fg-col6.fg-gutter-none .fg-item { margin-bottom: 0; width: 20%; }
	.fg-masonry.fg-col6.fg-gutter-none .fg-column-width { width: 20%; }
	.fg-masonry.fg-col6.fg-gutter-none .fg-gutter-width { width: 0; }

	/* large gutter */
	.fg-masonry.fg-col6.fg-gutter-large .fg-item { margin-bottom: 3%; width: 17.6%; }
	.fg-masonry.fg-col6.fg-gutter-large .fg-column-width { width: 17.6%; }
	.fg-masonry.fg-col6.fg-gutter-large .fg-gutter-width { width: 3%; }
}

/* Force 4 column layout < 1024px */
@media screen and (max-width: 1024px) {
	/* default gutter */
	.fg-masonry.fg-col6 .fg-item,
	.fg-masonry.fg-col5 .fg-item { margin-bottom: 1%; width: 24.25%; }
	.fg-masonry.fg-col6 .fg-column-width,
	.fg-masonry.fg-col5 .fg-column-width { width: 24.25%; }
	.fg-masonry.fg-col6 .fg-gutter-width,
	.fg-masonry.fg-col5 .fg-gutter-width { width: 1%; }

	/* no gutter */
	.fg-masonry.fg-col6.fg-gutter-none .fg-item,
	.fg-masonry.fg-col5.fg-gutter-none .fg-item { margin-bottom: 0; width: 25%; }
	.fg-masonry.fg-col6.fg-gutter-none .fg-column-width,
	.fg-masonry.fg-col5.fg-gutter-none .fg-column-width { width: 25%; }
	.fg-masonry.fg-col6.fg-gutter-none .fg-gutter-width,
	.fg-masonry.fg-col5.fg-gutter-none .fg-gutter-width { width: 0; }

	/* large gutter */
	.fg-masonry.fg-col6.fg-gutter-large .fg-item,
	.fg-masonry.fg-col5.fg-gutter-large .fg-item { margin-bottom: 3%; width: 22.75%; }
	.fg-masonry.fg-col6.fg-gutter-large .fg-column-width,
	.fg-masonry.fg-col5.fg-gutter-large .fg-column-width { width: 22.75%; }
	.fg-masonry.fg-col6.fg-gutter-large .fg-gutter-width,
	.fg-masonry.fg-col5.fg-gutter-large .fg-gutter-width { width: 3%; }
}

/* Force 3 column layout < 720px */
@media screen and (max-width: 720px) {
	/* default gutter */
	.fg-masonry.fg-col6 .fg-item,
	.fg-masonry.fg-col5 .fg-item,
	.fg-masonry.fg-col4 .fg-item { margin-bottom: 1%; width: 32.66%; }
	.fg-masonry.fg-col6 .fg-column-width,
	.fg-masonry.fg-col5 .fg-column-width,
	.fg-masonry.fg-col4 .fg-column-width { width: 32.66%; }
	.fg-masonry.fg-col6 .fg-gutter-width,
	.fg-masonry.fg-col5 .fg-gutter-width,
	.fg-masonry.fg-col4 .fg-gutter-width { width: 1%; }

	/* no gutter */
	.fg-masonry.fg-col6.fg-gutter-none .fg-item,
	.fg-masonry.fg-col5.fg-gutter-none .fg-item,
	.fg-masonry.fg-col4.fg-gutter-none .fg-item { margin-bottom: 0; width: 33.33%; }
	.fg-masonry.fg-col6.fg-gutter-none .fg-column-width,
	.fg-masonry.fg-col5.fg-gutter-none .fg-column-width,
	.fg-masonry.fg-col4.fg-gutter-none .fg-column-width { width: 33.33%; }
	.fg-masonry.fg-col6.fg-gutter-none .fg-gutter-width,
	.fg-masonry.fg-col5.fg-gutter-none .fg-gutter-width,
	.fg-masonry.fg-col4.fg-gutter-none .fg-gutter-width { width: 0; }

	/* large gutter */
	.fg-masonry.fg-col6.fg-gutter-large .fg-item,
	.fg-masonry.fg-col5.fg-gutter-large .fg-item,
	.fg-masonry.fg-col4.fg-gutter-large .fg-item { margin-bottom: 3%; width: 31.33%; }
	.fg-masonry.fg-col6.fg-gutter-large .fg-column-width,
	.fg-masonry.fg-col5.fg-gutter-large .fg-column-width,
	.fg-masonry.fg-col4.fg-gutter-large .fg-column-width { width: 31.33%; }
	.fg-masonry.fg-col6.fg-gutter-large .fg-gutter-width,
	.fg-masonry.fg-col5.fg-gutter-large .fg-gutter-width,
	.fg-masonry.fg-col4.fg-gutter-large .fg-gutter-width { width: 3%; }

}

/* Force 2 column layout < 480px */
@media screen and (max-width: 480px) {
	/* default gutter */
	.fg-masonry.fg-col6 .fg-item,
	.fg-masonry.fg-col5 .fg-item,
	.fg-masonry.fg-col4 .fg-item,
	.fg-masonry.fg-col3 .fg-item { margin-bottom: 1%; width: 49.5%; }
	.fg-masonry.fg-col6 .fg-column-width,
	.fg-masonry.fg-col5 .fg-column-width,
	.fg-masonry.fg-col4 .fg-column-width,
	.fg-masonry.fg-col3 .fg-column-width { width: 49.5%; }
	.fg-masonry.fg-col6 .fg-gutter-width,
	.fg-masonry.fg-col5 .fg-gutter-width,
	.fg-masonry.fg-col4 .fg-gutter-width,
	.fg-masonry.fg-col3 .fg-gutter-width { width: 1%; }

	/* no gutter */
	.fg-masonry.fg-col6.fg-gutter-none .fg-item,
	.fg-masonry.fg-col5.fg-gutter-none .fg-item,
	.fg-masonry.fg-col4.fg-gutter-none .fg-item,
	.fg-masonry.fg-col3.fg-gutter-none .fg-item { margin-bottom: 0; width: 50%; }
	.fg-masonry.fg-col6.fg-gutter-none .fg-column-width,
	.fg-masonry.fg-col5.fg-gutter-none .fg-column-width,
	.fg-masonry.fg-col4.fg-gutter-none .fg-column-width,
	.fg-masonry.fg-col3.fg-gutter-none .fg-column-width { width: 50%; }
	.fg-masonry.fg-col6.fg-gutter-none .fg-gutter-width,
	.fg-masonry.fg-col5.fg-gutter-none .fg-gutter-width,
	.fg-masonry.fg-col4.fg-gutter-none .fg-gutter-width,
	.fg-masonry.fg-col3.fg-gutter-none .fg-gutter-width { width: 0; }

	/* large gutter */
	.fg-masonry.fg-col6.fg-gutter-large .fg-item,
	.fg-masonry.fg-col5.fg-gutter-large .fg-item,
	.fg-masonry.fg-col4.fg-gutter-large .fg-item,
	.fg-masonry.fg-col3.fg-gutter-large .fg-item { margin-bottom: 3%; width: 48.5%; }
	.fg-masonry.fg-col6.fg-gutter-large .fg-column-width,
	.fg-masonry.fg-col5.fg-gutter-large .fg-column-width,
	.fg-masonry.fg-col4.fg-gutter-large .fg-column-width,
	.fg-masonry.fg-col3.fg-gutter-large .fg-column-width { width: 48.5%; }
	.fg-masonry.fg-col6.fg-gutter-large .fg-gutter-width,
	.fg-masonry.fg-col5.fg-gutter-large .fg-gutter-width,
	.fg-masonry.fg-col4.fg-gutter-large .fg-gutter-width,
	.fg-masonry.fg-col3.fg-gutter-large .fg-gutter-width { width: 3%; }
}

/* Force 1 column layout < 320px */
@media screen and (max-width: 320px) {
	/* default gutter */
	.fg-masonry.fg-col6 .fg-item,
	.fg-masonry.fg-col5 .fg-item,
	.fg-masonry.fg-col4 .fg-item,
	.fg-masonry.fg-col3 .fg-item,
	.fg-masonry.fg-col2 .fg-item { margin-bottom: 1%; width: 100%; }
	.fg-masonry.fg-col6 .fg-column-width,
	.fg-masonry.fg-col5 .fg-column-width,
	.fg-masonry.fg-col4 .fg-column-width,
	.fg-masonry.fg-col3 .fg-column-width,
	.fg-masonry.fg-col2 .fg-column-width { width: 100%; }
	.fg-masonry.fg-col6 .fg-gutter-width,
	.fg-masonry.fg-col5 .fg-gutter-width,
	.fg-masonry.fg-col4 .fg-gutter-width,
	.fg-masonry.fg-col3 .fg-gutter-width,
	.fg-masonry.fg-col2 .fg-gutter-width { width: 0; }

	/* no gutter */
	.fg-masonry.fg-col6.fg-gutter-none .fg-item,
	.fg-masonry.fg-col5.fg-gutter-none .fg-item,
	.fg-masonry.fg-col4.fg-gutter-none .fg-item,
	.fg-masonry.fg-col3.fg-gutter-none .fg-item,
	.fg-masonry.fg-col2.fg-gutter-none .fg-item { margin-bottom: 0; width: 100%; }
	.fg-masonry.fg-col6.fg-gutter-none .fg-column-width,
	.fg-masonry.fg-col5.fg-gutter-none .fg-column-width,
	.fg-masonry.fg-col4.fg-gutter-none .fg-column-width,
	.fg-masonry.fg-col3.fg-gutter-none .fg-column-width,
	.fg-masonry.fg-col2.fg-gutter-none .fg-column-width { width: 100%; }
	.fg-masonry.fg-col6.fg-gutter-none .fg-gutter-width,
	.fg-masonry.fg-col5.fg-gutter-none .fg-gutter-width,
	.fg-masonry.fg-col4.fg-gutter-none .fg-gutter-width,
	.fg-masonry.fg-col3.fg-gutter-none .fg-gutter-width,
	.fg-masonry.fg-col2.fg-gutter-none .fg-gutter-width { width: 0; }

	/* large gutter */
	.fg-masonry.fg-col6.fg-gutter-large .fg-item,
	.fg-masonry.fg-col5.fg-gutter-large .fg-item,
	.fg-masonry.fg-col4.fg-gutter-large .fg-item,
	.fg-masonry.fg-col3.fg-gutter-large .fg-item,
	.fg-masonry.fg-col2.fg-gutter-large .fg-item { margin-bottom: 3%; width: 100%; }
	.fg-masonry.fg-col6.fg-gutter-large .fg-column-width,
	.fg-masonry.fg-col5.fg-gutter-large .fg-column-width,
	.fg-masonry.fg-col4.fg-gutter-large .fg-column-width,
	.fg-masonry.fg-col3.fg-gutter-large .fg-column-width,
	.fg-masonry.fg-col2.fg-gutter-large .fg-column-width { width: 100%; }
	.fg-masonry.fg-col6.fg-gutter-large .fg-gutter-width,
	.fg-masonry.fg-col5.fg-gutter-large .fg-gutter-width,
	.fg-masonry.fg-col4.fg-gutter-large .fg-gutter-width,
	.fg-masonry.fg-col3.fg-gutter-large .fg-gutter-width,
	.fg-masonry.fg-col2.fg-gutter-large .fg-gutter-width { width: 0; }
}

/* Border Styles - We must apply width changing border styles to the fg-column-width element so that the plugin can correctly determine the item widths. */
.foogallery.fg-border-thin .fg-column-width {
	border-width: 4px;
}
.foogallery.fg-border-medium .fg-column-width {
	border-width: 10px;
}
.foogallery.fg-border-thick .fg-column-width {
	border-width: 16px;
}

/* Captions Bottom */
.foogallery.fg-masonry.fg-captions-bottom .fg-item-inner .fg-caption {
	visibility: visible;
	opacity: 1;
	font-size: 13px;
	position: relative;
	display: block;
	top: auto;
	bottom: auto;
	left: auto;
	right: auto;
	width: auto;
	height: auto;
	text-transform: none;
	transform: none;
	transition: none;
	background-color: transparent;
	border-style: solid;
	border-color: transparent;
	text-align: left;
}
.foogallery.fg-masonry.fg-captions-bottom.fg-c-l .fg-item-inner .fg-caption {
	text-align: left;
}
.foogallery.fg-masonry.fg-captions-bottom.fg-c-c .fg-item-inner .fg-caption {
	text-align: center;
}
.foogallery.fg-masonry.fg-captions-bottom.fg-c-r .fg-item-inner .fg-caption {
	text-align: right;
}
.foogallery.fg-masonry.fg-captions-bottom.fg-c-j .fg-item-inner .fg-caption {
	text-align: justify;
}
.foogallery.fg-masonry.fg-captions-bottom .fg-item-inner:hover .fg-caption {
	transform: none;
	transition: none;
}
.foogallery.fg-masonry.fg-captions-bottom .fg-item-inner .fg-caption-inner {
	display: block;
	position: relative;
	max-height: none;
	top: auto;
	bottom: auto;
	left: auto;
	right: auto;
	width: auto;
	height: auto;
	border: none;
	transform: none;
	transition: none;
}
.foogallery.fg-masonry.fg-captions-bottom .fg-item-inner .fg-caption-inner:before {
	display: none;
}
.foogallery.fg-masonry.fg-captions-bottom.fg-caption-hover .fg-item-inner .fg-image-overlay {
	display: block;
}
.foogallery.fg-masonry.fg-captions-bottom.fg-caption-always .fg-item-inner:hover .fg-caption {
	visibility: visible;
	opacity: 1;
}

.fg-masonry.fg-captions-bottom.fg-light .fg-caption,
.fg-masonry.fg-captions-bottom.fg-dark .fg-caption {
	color: #828282;
}
.fg-masonry.fg-captions-bottom.fg-light .fg-caption a,
.fg-masonry.fg-captions-bottom.fg-dark .fg-caption a {
	color: #828282;
	border-bottom: 1px solid #828282;
}
.fg-masonry.fg-captions-bottom.fg-light .fg-caption a:hover,
.fg-masonry.fg-captions-bottom.fg-dark .fg-caption a:hover {
	border-bottom: none;
}
.fg-masonry.fg-captions-bottom.fg-light .fg-caption-title,
.fg-masonry.fg-captions-bottom.fg-light .fg-caption-title a {
	color: #222;
}
.fg-masonry.fg-captions-bottom.fg-dark .fg-caption-title,
.fg-masonry.fg-captions-bottom.fg-dark .fg-caption-title a {
	color: #FFF;
}
.fg-masonry.fg-captions-bottom.fg-light .fg-caption-title a {
	border-bottom: 1px solid #222;
}
.fg-masonry.fg-captions-bottom.fg-dark .fg-caption-title a {
	border-bottom: 1px solid #FFF;
}

/* Handle Border Sizing for Captions Below */
.fg-masonry.fg-captions-bottom .fg-caption {
	border-width: 10px;
}
.fg-masonry.fg-captions-bottom .fg-caption-title+.fg-caption-desc {
	margin-top: 4px;
}
.fg-masonry.fg-captions-bottom.fg-border-thin .fg-caption {
	border-width: 10px 4px 4px 4px;
}
.fg-masonry.fg-captions-bottom.fg-border-medium .fg-caption {
	border-width: 10px 0 0 0;
}
.fg-masonry.fg-captions-bottom.fg-border-thick .fg-caption {
	border-width: 16px 0 0 0;
}
.fg-masonry.fg-captions-bottom.fg-border-thick .fg-caption-title+.fg-caption-desc {
	margin-top: 10px;
}

/* Transparent Theme */
.fg-masonry.fg-transparent .fg-item-inner {
	background-color: transparent;
	color: #333;
	border-color: transparent;
}

/* Captions */
.fg-masonry.fg-transparent .fg-caption {
	color: #7f7f7f;
}
.fg-masonry.fg-transparent.fg-captions-bottom .fg-caption {
	border-width: 0;
	border-top-width: 10px;
	border-bottom-width: 10px;
}
.fg-masonry.fg-transparent .fg-caption a {
	color: #7f7f7f;
	border-bottom: 1px solid #7f7f7f;
}
.fg-masonry.fg-transparent .fg-caption a:hover {
	border-bottom: none;
}
.fg-masonry.fg-transparent .fg-caption-title,
.fg-masonry.fg-transparent .fg-caption-title a {
	color: #333;
}
.fg-masonry.fg-transparent .fg-caption-title a {
	border-bottom: 1px solid #333;
}

/* Rounded Corners */
.fg-masonry.fg-transparent.fg-round-full .fg-item,
.fg-masonry.fg-transparent.fg-round-full .fg-item-inner {
	border-radius: 15px;
}
.fg-masonry.fg-transparent.fg-round-full .fg-image-wrap,
.fg-masonry.fg-transparent.fg-round-full .fg-image-overlay,
.fg-masonry.fg-transparent.fg-round-full.fg-shadow-inset-small .fg-thumb:after,
.fg-masonry.fg-transparent.fg-round-full.fg-shadow-inset-medium .fg-thumb:after,
.fg-masonry.fg-transparent.fg-round-full.fg-shadow-inset-large .fg-thumb:after {
	border-radius: 50%;
	overflow: hidden;
}

.fg-masonry.fg-transparent.fg-round-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-masonry.fg-transparent.fg-round-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay,
.fg-masonry.fg-transparent.fg-round-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-masonry.fg-transparent.fg-round-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay,
.fg-masonry.fg-transparent.fg-round-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-masonry.fg-transparent.fg-round-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay {
	overflow: hidden;
}
.fg-masonry.fg-transparent.fg-round-small.fg-shadow-inset-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-masonry.fg-transparent.fg-round-small.fg-shadow-inset-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-masonry.fg-transparent.fg-round-small.fg-shadow-inset-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-masonry.fg-transparent.fg-round-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-masonry.fg-transparent.fg-round-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay {
	border-radius: 5px;
}
.fg-masonry.fg-transparent.fg-round-medium.fg-shadow-inset-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-masonry.fg-transparent.fg-round-medium.fg-shadow-inset-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-masonry.fg-transparent.fg-round-medium.fg-shadow-inset-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-masonry.fg-transparent.fg-round-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-masonry.fg-transparent.fg-round-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay {
	border-radius: 10px;
}
.fg-masonry.fg-transparent.fg-round-large.fg-shadow-inset-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-masonry.fg-transparent.fg-round-large.fg-shadow-inset-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-masonry.fg-transparent.fg-round-large.fg-shadow-inset-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-masonry.fg-transparent.fg-round-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-masonry.fg-transparent.fg-round-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay {
	border-radius: 15px;
}

/* Shadows */
.fg-masonry.fg-transparent.fg-shadow-inset-small .fg-thumb:after {
	box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.3);
}
.fg-masonry.fg-transparent.fg-shadow-inset-medium .fg-thumb:after {
	box-shadow: inset 0 1px 10px 0 rgba(0,0,0,0.3);
}
.fg-masonry.fg-transparent.fg-shadow-inset-large .fg-thumb:after {
	box-shadow: inset 0 1px 16px 0 rgba(0,0,0,0.3);
}

.fg-masonry.fg-transparent.fg-shadow-outline .fg-item-inner {
	box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.5);
}
.fg-masonry.fg-transparent.fg-shadow-small .fg-item-inner {
	box-shadow: 0 1px 4px 0 rgba(128, 128, 128, 0.5);
}
.fg-masonry.fg-transparent.fg-shadow-medium .fg-item-inner {
	box-shadow: 0 1px 10px 0 rgba(128, 128, 128, 0.5);
}
.fg-masonry.fg-transparent.fg-shadow-large .fg-item-inner {
	box-shadow: 0 1px 16px 0 rgba(128, 128, 128, 0.5);
}
/* Base Styles */
.fg-justified {
	box-sizing: border-box;
	position: relative;
	text-align: center;
}
.foogallery.fg-justified .fg-item {
	box-sizing: border-box;
	display: inline-block;
	margin: 0;
	padding: 0;
}
.foogallery.fg-justified .fg-item-inner,
.foogallery.fg-justified .fg-thumb,
.foogallery.fg-justified .fg-image {
	box-sizing: border-box;
	display: block;
	margin: 0;
	padding: 0;
}
.fg-justified .fg-item {
	visibility: visible;
	position: relative;
}
.fg-justified .fg-item-inner {
	position: relative;
	width: 100%;
	height: 100%;
}
.fg-justified .fg-thumb {
	position: relative;
	overflow: hidden;
}
.fg-justified .fg-image {
	z-index: 1;
}
.fg-justified .fg-item.fg-positioned .fg-thumb,
.fg-justified .fg-item.fg-positioned .fg-image-wrap {
	width: 100%;
	height: 100%;
}
.fg-justified .fg-item.fg-positioned .fg-image {
	width: 100%!important;
	height: auto!important;
	min-height: 100%;
}
/* CSS justified layout. */
.foogallery.fg-justified-css {
	position: relative;
	display: flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: stretch;
	flex-wrap: wrap;
}
.foogallery.fg-justified-css:after {
	display: block;
	content: '';
	flex-shrink: 0;
	flex-grow: 10;
	min-width: 60px;
}
.foogallery.fg-justified-css .fg-item,
.foogallery.fg-justified-css .fg-item-inner,
.foogallery.fg-justified-css .fg-thumb,
.foogallery.fg-justified-css .fg-image {
	display: block;
}

.foogallery.fg-justified-css .fg-item {
	flex-shrink: 0;
	flex-grow: 1;
	margin: 5px;
}
.foogallery.fg-justified-css .fg-thumb {

}
.foogallery.fg-justified-css .fg-image-wrap {
	display: flex;
	align-items: center;
	justify-content: stretch;
	overflow: hidden;
}
.foogallery.fg-justified-css .fg-image {
	width: 100%;
	height: auto;
}
.fg-simple_portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
}
.fg-simple_portfolio .fg-item {
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    margin: 10px;
    max-width: 100%;
}
.fg-simple_portfolio .fg-item-inner {
    display: flex;
    flex-direction: column;
    margin: 0;
    height: 100%;
}
.fg-simple_portfolio.fg-captions-top .fg-item-inner {
    flex-direction: column-reverse;
}
.fg-simple_portfolio .fg-image {
    height: auto;
    width: 100%;
}

/* Some badly written themes apply min-width:0 and min-height:0 to every element in the page which causes layout issues with flex. */
.fg-simple_portfolio .fg-thumb {
    min-width: auto;
    min-height: auto;
}

/* Reset captions for the portfolio */
.foogallery.fg-simple_portfolio .fg-item-inner .fg-caption {
    visibility: visible;
    opacity: 1;
    font-size: 13px;
    position: relative;
    display: block;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: 100%;
    text-transform: none;
    transform: none;
    transition: none;
    background-color: transparent;
    border-style: solid;
    border-color: transparent;
    text-align: left;
}
.foogallery.fg-simple_portfolio.fg-c-l .fg-item-inner .fg-caption {
    text-align: left;
}
.foogallery.fg-simple_portfolio.fg-c-c .fg-item-inner .fg-caption {
    text-align: center;
}
.foogallery.fg-simple_portfolio.fg-c-r .fg-item-inner .fg-caption {
    text-align: right;
}
.foogallery.fg-simple_portfolio.fg-c-j .fg-item-inner .fg-caption {
    text-align: justify;
}
.foogallery.fg-simple_portfolio .fg-item-inner:hover .fg-caption {
    transform: none;
    transition: none;
}
.foogallery.fg-simple_portfolio .fg-item-inner .fg-caption-inner {
    display: block;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: auto;
    height: auto;
    border: none;
    transform: none;
    transition: none;
}
.foogallery.fg-simple_portfolio .fg-item-inner .fg-caption-inner:before {
    display: none;
}
.foogallery.fg-simple_portfolio.fg-caption-hover .fg-item-inner .fg-image-overlay {
    display: block;
}
.foogallery.fg-simple_portfolio.fg-caption-always .fg-item-inner:hover .fg-caption {
    visibility: visible;
    opacity: 1;
}
.fg-simple_portfolio .fg-caption-title {
    white-space: normal;
}

.fg-simple_portfolio.fg-light .fg-caption,
.fg-simple_portfolio.fg-dark .fg-caption {
    color: #828282;
}
.fg-simple_portfolio.fg-light .fg-caption a,
.fg-simple_portfolio.fg-dark .fg-caption a {
    color: #828282;
    border-bottom: 1px solid #828282;
}
.fg-simple_portfolio.fg-light .fg-caption a:hover,
.fg-simple_portfolio.fg-dark .fg-caption a:hover {
    border-bottom: none;
}
.fg-simple_portfolio.fg-light .fg-caption-title,
.fg-simple_portfolio.fg-light .fg-caption-title a {
    color: #222;
}
.fg-simple_portfolio.fg-dark .fg-caption-title,
.fg-simple_portfolio.fg-dark .fg-caption-title a {
    color: #FFF;
}
.fg-simple_portfolio.fg-light .fg-caption-title a {
    border-bottom: 1px solid #222;
}
.fg-simple_portfolio.fg-dark .fg-caption-title a {
    border-bottom: 1px solid #FFF;
}

/* Handle Border Sizing */
.fg-simple_portfolio .fg-caption {
    border-width: 0;
}
.fg-simple_portfolio .fg-caption-title+.fg-caption-desc {
    margin-top: 4px;
}
.fg-simple_portfolio.fg-border-thin .fg-caption {
    border-width: 10px 4px 4px 4px;
}
.fg-simple_portfolio.fg-captions-top.fg-border-thin .fg-caption {
    border-width: 4px 4px 10px 4px;
}
.fg-simple_portfolio.fg-border-medium .fg-caption {
    border-width: 10px 0 0 0;
}
.fg-simple_portfolio.fg-captions-top.fg-border-medium .fg-caption {
    border-width: 0 0 10px 0;
}
.fg-simple_portfolio.fg-border-thick .fg-caption {
    border-width: 16px 0 0 0;
}
.fg-simple_portfolio.fg-captions-top.fg-border-thick .fg-caption {
    border-width: 0 0 16px 0;
}
.fg-simple_portfolio.fg-border-thick .fg-caption-title+.fg-caption-desc {
    margin-top: 10px;
}

/* Transparent Theme */
.fg-simple_portfolio.fg-transparent .fg-item-inner {
    background-color: transparent;
    color: #333;
    border-color: transparent;
}

/* Captions */
.fg-simple_portfolio.fg-transparent .fg-caption {
    color: #7f7f7f;
}
.fg-simple_portfolio.fg-transparent .fg-caption a {
    color: #7f7f7f;
    border-bottom: 1px solid #7f7f7f;
}
.fg-simple_portfolio.fg-transparent .fg-caption a:hover {
    border-bottom: none;
}
.fg-simple_portfolio.fg-transparent .fg-caption-title,
.fg-simple_portfolio.fg-transparent .fg-caption-title a {
    color: #333;
}
.fg-simple_portfolio.fg-transparent .fg-caption-title a {
    border-bottom: 1px solid #333;
}

/* Rounded Corners */
.fg-simple_portfolio.fg-transparent.fg-round-full .fg-item,
.fg-simple_portfolio.fg-transparent.fg-round-full .fg-item-inner {
    border-radius: 15px;
}
.fg-simple_portfolio.fg-transparent.fg-round-full .fg-image-wrap,
.fg-simple_portfolio.fg-transparent.fg-round-full .fg-image-overlay,
.fg-simple_portfolio.fg-transparent.fg-round-full.fg-shadow-inset-small .fg-thumb:after,
.fg-simple_portfolio.fg-transparent.fg-round-full.fg-shadow-inset-medium .fg-thumb:after,
.fg-simple_portfolio.fg-transparent.fg-round-full.fg-shadow-inset-large .fg-thumb:after {
    border-radius: 50%;
    overflow: hidden;
}

.fg-simple_portfolio.fg-transparent.fg-round-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-simple_portfolio.fg-transparent.fg-round-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay,
.fg-simple_portfolio.fg-transparent.fg-round-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-simple_portfolio.fg-transparent.fg-round-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay,
.fg-simple_portfolio.fg-transparent.fg-round-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-simple_portfolio.fg-transparent.fg-round-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay {
    overflow: hidden;
}
.fg-simple_portfolio.fg-transparent.fg-round-small.fg-shadow-inset-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-simple_portfolio.fg-transparent.fg-round-small.fg-shadow-inset-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-simple_portfolio.fg-transparent.fg-round-small.fg-shadow-inset-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-simple_portfolio.fg-transparent.fg-round-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-simple_portfolio.fg-transparent.fg-round-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay {
    border-radius: 5px;
}
.fg-simple_portfolio.fg-transparent.fg-round-medium.fg-shadow-inset-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-simple_portfolio.fg-transparent.fg-round-medium.fg-shadow-inset-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-simple_portfolio.fg-transparent.fg-round-medium.fg-shadow-inset-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-simple_portfolio.fg-transparent.fg-round-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-simple_portfolio.fg-transparent.fg-round-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay {
    border-radius: 10px;
}
.fg-simple_portfolio.fg-transparent.fg-round-large.fg-shadow-inset-small:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-simple_portfolio.fg-transparent.fg-round-large.fg-shadow-inset-medium:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-simple_portfolio.fg-transparent.fg-round-large.fg-shadow-inset-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-thumb:after,
.fg-simple_portfolio.fg-transparent.fg-round-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-wrap,
.fg-simple_portfolio.fg-transparent.fg-round-large:not(.fg-shadow-outline):not(.fg-shadow-small):not(.fg-shadow-medium):not(.fg-shadow-large) .fg-image-overlay {
    border-radius: 15px;
}

/* Shadows */
.fg-simple_portfolio.fg-transparent.fg-shadow-inset-small .fg-thumb:after {
    box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.3);
}
.fg-simple_portfolio.fg-transparent.fg-shadow-inset-medium .fg-thumb:after {
    box-shadow: inset 0 1px 10px 0 rgba(0,0,0,0.3);
}
.fg-simple_portfolio.fg-transparent.fg-shadow-inset-large .fg-thumb:after {
    box-shadow: inset 0 1px 16px 0 rgba(0,0,0,0.3);
}

.fg-simple_portfolio.fg-transparent.fg-shadow-outline .fg-item-inner {
    box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.5);
}
.fg-simple_portfolio.fg-transparent.fg-shadow-small .fg-item-inner {
    box-shadow: 0 1px 4px 0 rgba(128, 128, 128, 0.5);
}
.fg-simple_portfolio.fg-transparent.fg-shadow-medium .fg-item-inner {
    box-shadow: 0 1px 10px 0 rgba(128, 128, 128, 0.5);
}
.fg-simple_portfolio.fg-transparent.fg-shadow-large .fg-item-inner {
    box-shadow: 0 1px 16px 0 rgba(128, 128, 128, 0.5);
}
/* Polaroid */
.foogallery.fg-preset.fg-polaroid .fg-item {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: transform 0.35s, background-color 0.65s;
}
.foogallery.fg-preset.fg-polaroid .fg-item:nth-child(2n+1) {
	-webkit-transform: rotate(3deg);
	transform: rotate(3deg);
}
.foogallery.fg-preset.fg-polaroid .fg-item:nth-child(2n) {
	-webkit-transform: rotate(-3deg);
	transform: rotate(-3deg);
}
.foogallery.fg-preset.fg-polaroid .fg-item:nth-child(3n) {
	-webkit-transform: rotate(1deg);
	transform: rotate(1deg);
}
.foogallery.fg-preset.fg-polaroid .fg-item:nth-child(5n) {
	-webkit-transform: rotate(-2deg);
	transform: rotate(-2deg);
}

.foogallery.fg-preset.fg-polaroid .fg-item:hover {
	-webkit-transform: rotate(0);
	transform: rotate(0);
}

.foogallery.fg-preset.fg-polaroid .fg-caption {
	position: relative;
	width: auto;
	font-family: "Segoe Print Regular",-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

.foogallery.fg-preset.fg-polaroid .fg-caption-inner,
.foogallery.fg-preset.fg-polaroid .fg-caption-title {
	position: relative;
	width: auto;
}
.foogallery.fg-preset.fg-polaroid .fg-caption-title {
	text-align: center;
}
.foogallery.fg-preset.fg-polaroid .fg-caption-desc {
	display: none;
}

/* Themes */
.foogallery.fg-preset.fg-polaroid .fg-caption-title,
.foogallery.fg-light.fg-preset.fg-polaroid .fg-caption-title {
	color: #333;
}
.foogallery.fg-dark.fg-preset.fg-polaroid .fg-caption-title {
	color: #FFF;
}

/* Handle Border Sizing */
.foogallery.fg-preset.fg-polaroid .fg-caption {
	border-style: solid;
	border-color: transparent;
	border-width: 10px;
}
.foogallery.fg-preset.fg-polaroid .fg-caption-title+.fg-caption-desc {
	margin-top: 4px;
}
.foogallery.fg-preset.fg-polaroid.fg-border-thin .fg-caption {
	border-width: 10px 4px 4px 4px;
}
.foogallery.fg-preset.fg-polaroid.fg-captions-top.fg-border-thin .fg-caption {
	border-width: 4px 4px 10px 4px;
}
.foogallery.fg-preset.fg-polaroid.fg-border-medium .fg-caption {
	border-width: 10px 0 0 0;
}
.foogallery.fg-preset.fg-polaroid.fg-captions-top.fg-border-medium .fg-caption {
	border-width: 0 0 10px 0;
}
.foogallery.fg-preset.fg-polaroid.fg-border-thick .fg-caption {
	border-width: 16px 0 0 0;
}
.foogallery.fg-preset.fg-polaroid.fg-captions-top.fg-border-thick .fg-caption {
	border-width: 0 0 16px 0;
}
.foogallery.fg-preset.fg-polaroid.fg-border-thick .fg-caption-title+.fg-caption-desc {
	margin-top: 10px;
}
/* Base styles */
.fg-image-viewer {
	display: block;
	font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}
.fg-image-viewer.fg-left {
	text-align: left;
}

.fg-image-viewer.fg-center {
	text-align: center;
}
.fg-image-viewer.fg-right {
	text-align: right;
}

.fiv-inner {
	position: relative;
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	z-index: 6;
}
.fiv-inner .fiv-inner-container {
	position: relative;
	overflow: hidden;
	max-width: 100%;
	border-style: solid;
	border-width: 0;
	border-bottom-width: 4px;
	z-index: 5;
}
.fg-image-viewer .fiv-inner .fiv-inner-container .fg-item .fg-thumb,
.fg-image-viewer .fiv-inner .fiv-inner-container .fg-item .fg-thumb:hover,
.fg-image-viewer .fiv-inner .fiv-inner-container .fg-item .fg-thumb:active,
.fg-image-viewer .fiv-inner .fiv-inner-container .fg-item .fg-thumb:visited {
	position: relative;
	display: block;
	border: none;
	outline: none;
	text-decoration: none;
	box-shadow: none;
	max-width: 100%;
}

.fg-image-viewer .fiv-inner .fiv-inner-container .fg-item {
	position: absolute;
	visibility: visible;
	opacity: 1;
	border: none;
	outline: none;
	text-decoration: none;
	box-shadow: none;
	max-width: 100%;
}
.fg-image-viewer .fiv-inner .fiv-inner-container .fg-item:first-of-type {
	position: relative;
}
.fg-image-viewer .fiv-inner .fiv-inner-container .fg-item .fg-thumb img {
	display: block;
	max-width: 100%;
	height: auto;
	border: none;
	outline: none;
	text-decoration: none;
}

.fg-image-viewer .fiv-inner .fiv-ctrls {
	display: block;
	text-align: center;
	font-size: 14px;
	border-style: solid;
	line-height: 34px;
}
.fg-image-viewer .fiv-inner .fiv-ctrls:after {
	content: '';
	display: block;
	clear: both;
}
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-count {
	display: inline-block;
	font-weight: normal;
	margin: 0;
}
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev,
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next {
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: none;
	min-width: 80px;
	position: relative;
	overflow: hidden;
	transition: background-color .3s;
}
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev:before,
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next:before {
	display: block;
	position: absolute;
	font-size: 24px;
	line-height: 30px;
	top:0;
	left:0;
	width: 100%;
	transform: translateY(0);
	transition: transform .3s;
}
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev:hover:before,
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next:hover:before {
	transform: translateY(-100%);
}
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev span,
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next span {
	display: block;
	width: 100%;
	transform: translateY(100%);
	transition: transform .3s;
}
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev:hover span,
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next:hover span {
	transform: translateY(0);
}
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev {
	float: left;
}
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev:before {
	content: '\2190';
}
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next {
	float: right;
}
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next:before {
	content: '\2192';
}
.fg-image-viewer .fiv-inner .fiv-ctrls .fiv-count span {
	margin: 0 4px;
}

/* Captions */

.foogallery.fg-image-viewer.fg-caption-always .fg-item-inner .fg-caption {
	padding: 0;
	border: none;
}
.foogallery.fg-image-viewer.fg-caption-always .fg-caption-title {
	padding: 10px 10px 10px 10px;
}
.foogallery.fg-image-viewer.fg-caption-always .fg-caption-desc {
	padding: 10px 10px 10px 10px;
}
.foogallery.fg-image-viewer.fg-caption-always .fg-caption-title+.fg-caption-desc {
	padding: 0 10px 10px 10px;
}

/* Theme - Default (Light) */
.fg-image-viewer.fg-light .fiv-inner .fiv-ctrls,
.fg-image-viewer.fg-light .fiv-inner .fiv-inner-container,
.fg-image-viewer.fg-light .fiv-inner .fiv-ctrls .fiv-count,
.fg-image-viewer.fg-light .fiv-inner .fiv-ctrls .fiv-prev,
.fg-image-viewer.fg-light .fiv-inner .fiv-ctrls .fiv-next {
	background-color: #FFF;
	color: #333;
	border-color: #FFF;
}
.fg-image-viewer.fg-light .fiv-inner .fiv-ctrls .fiv-prev:hover,
.fg-image-viewer.fg-light .fiv-inner .fiv-ctrls .fiv-next:hover {
	background-color: #F2F2F2;
}
.fg-image-viewer.fg-light .fiv-prev,
.fg-image-viewer.fg-light .fiv-next {
	box-shadow: inset 0 0 0 1px #ddd;
}

/* Theme - Dark */
.fg-image-viewer.fg-dark .fiv-inner .fiv-ctrls,
.fg-image-viewer.fg-dark .fiv-inner .fiv-inner-container,
.fg-image-viewer.fg-dark .fiv-inner .fiv-ctrls .fiv-count,
.fg-image-viewer.fg-dark .fiv-inner .fiv-ctrls .fiv-prev,
.fg-image-viewer.fg-dark .fiv-inner .fiv-ctrls .fiv-next {
	background-color: #333;
	color: #FFF;
	border-color: #333;
}
.fg-image-viewer.fg-dark .fiv-inner .fiv-ctrls .fiv-prev:hover,
.fg-image-viewer.fg-dark .fiv-inner .fiv-ctrls .fiv-next:hover {
	background-color: #444;
}
.fg-image-viewer.fg-dark .fiv-prev,
.fg-image-viewer.fg-dark .fiv-next {
	box-shadow: inset 0 0 0 1px #222;
}

/* Border Size */
.foogallery.fg-image-viewer.fg-border-thin .fg-item-inner,
.foogallery.fg-image-viewer.fg-border-medium .fg-item-inner,
.foogallery.fg-image-viewer.fg-border-thick .fg-item-inner {
	border-width: 0;
}
.foogallery.fg-image-viewer .fiv-ctrls,
.foogallery.fg-image-viewer.fg-border-thin .fiv-inner-container {
	border-width: 4px;
}
.foogallery.fg-image-viewer.fg-border-medium .fiv-ctrls,
.foogallery.fg-image-viewer.fg-border-medium .fiv-inner-container {
	border-width: 10px;
}
.foogallery.fg-image-viewer.fg-border-thick .fiv-ctrls,
.foogallery.fg-image-viewer.fg-border-thick .fiv-inner-container {
	border-width: 16px;
}
.foogallery.fg-image-viewer .fiv-ctrls,
.foogallery.fg-image-viewer.fg-border-thin .fiv-ctrls,
.foogallery.fg-image-viewer.fg-border-medium .fiv-ctrls,
.foogallery.fg-image-viewer.fg-border-thick .fiv-ctrls {
	border-top-width: 1px;
}

/* Rounded Corners */
.foogallery.fg-image-viewer.fg-round-small .fg-item,
.foogallery.fg-image-viewer.fg-round-small .fg-item-inner,
.foogallery.fg-image-viewer.fg-round-small .fiv-inner {
	border-radius: 5px;
}
.foogallery.fg-image-viewer.fg-round-small .fg-item,
.foogallery.fg-image-viewer.fg-round-small .fg-item-inner {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.foogallery.fg-image-viewer.fg-round-small .fiv-prev,
.foogallery.fg-image-viewer.fg-round-small .fiv-next {
	border-radius: 3px;
}

.foogallery.fg-image-viewer.fg-border-thin.fg-round-small .fg-item,
.foogallery.fg-image-viewer.fg-border-thin.fg-round-small .fg-item-inner,
.foogallery.fg-image-viewer.fg-border-thin.fg-round-small .fiv-prev,
.foogallery.fg-image-viewer.fg-border-thin.fg-round-small .fiv-next,
.foogallery.fg-image-viewer.fg-border-medium.fg-round-small .fg-item,
.foogallery.fg-image-viewer.fg-border-medium.fg-round-small .fg-item-inner,
.foogallery.fg-image-viewer.fg-border-medium.fg-round-small .fiv-prev,
.foogallery.fg-image-viewer.fg-border-medium.fg-round-small .fiv-next,
.foogallery.fg-image-viewer.fg-border-thick.fg-round-small .fg-item,
.foogallery.fg-image-viewer.fg-border-thick.fg-round-small .fg-item-inner,
.foogallery.fg-image-viewer.fg-border-thick.fg-round-small .fiv-prev,
.foogallery.fg-image-viewer.fg-border-thick.fg-round-small .fiv-next {
	border-radius: 3px;
}

.foogallery.fg-image-viewer.fg-round-medium .fg-item,
.foogallery.fg-image-viewer.fg-round-medium .fg-item-inner,
.foogallery.fg-image-viewer.fg-round-medium .fiv-inner {
	border-radius: 10px;
}
.foogallery.fg-image-viewer.fg-round-medium .fg-item,
.foogallery.fg-image-viewer.fg-round-medium .fg-item-inner {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.foogallery.fg-image-viewer.fg-round-medium .fiv-prev,
.foogallery.fg-image-viewer.fg-round-medium .fiv-next {
	border-radius: 5px;
}
.foogallery.fg-image-viewer.fg-border-thin.fg-round-medium .fg-item,
.foogallery.fg-image-viewer.fg-border-thin.fg-round-medium .fg-item-inner,
.foogallery.fg-image-viewer.fg-border-thin.fg-round-medium .fiv-prev,
.foogallery.fg-image-viewer.fg-border-thin.fg-round-medium .fiv-next {
	border-radius: 5px;
}
.foogallery.fg-image-viewer.fg-border-medium.fg-round-medium .fg-item,
.foogallery.fg-image-viewer.fg-border-medium.fg-round-medium .fg-item-inner,
.foogallery.fg-image-viewer.fg-border-medium.fg-round-medium .fiv-prev,
.foogallery.fg-image-viewer.fg-border-medium.fg-round-medium .fiv-next,
.foogallery.fg-image-viewer.fg-border-thick.fg-round-medium .fg-item,
.foogallery.fg-image-viewer.fg-border-thick.fg-round-medium .fg-item-inner,
.foogallery.fg-image-viewer.fg-border-thick.fg-round-medium .fiv-prev,
.foogallery.fg-image-viewer.fg-border-thick.fg-round-medium .fiv-next {
	border-radius: 3px;
}

.foogallery.fg-image-viewer.fg-round-large .fg-item,
.foogallery.fg-image-viewer.fg-round-large .fg-item-inner,
.foogallery.fg-image-viewer.fg-round-large .fiv-inner {
	border-radius: 15px;
}
.foogallery.fg-image-viewer.fg-round-large .fg-item,
.foogallery.fg-image-viewer.fg-round-large .fg-item-inner {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.foogallery.fg-image-viewer.fg-round-large .fiv-prev,
.foogallery.fg-image-viewer.fg-round-large .fiv-next {
	border-radius: 11px;
}
.foogallery.fg-image-viewer.fg-border-thin.fg-round-large .fg-item,
.foogallery.fg-image-viewer.fg-border-thin.fg-round-large .fg-item-inner,
.foogallery.fg-image-viewer.fg-border-thin.fg-round-large .fiv-prev,
.foogallery.fg-image-viewer.fg-border-thin.fg-round-large .fiv-next {
	border-radius: 11px;
}

.foogallery.fg-image-viewer.fg-border-medium.fg-round-large .fg-item,
.foogallery.fg-image-viewer.fg-border-medium.fg-round-large .fg-item-inner,
.foogallery.fg-image-viewer.fg-border-medium.fg-round-large .fiv-prev,
.foogallery.fg-image-viewer.fg-border-medium.fg-round-large .fiv-next {
	border-radius: 5px;
}

.foogallery.fg-image-viewer.fg-border-thick.fg-round-large .fg-item,
.foogallery.fg-image-viewer.fg-border-thick.fg-round-large .fg-item-inner,
.foogallery.fg-image-viewer.fg-border-thick.fg-round-large .fiv-prev,
.foogallery.fg-image-viewer.fg-border-thick.fg-round-large .fiv-next {
	border-radius: 3px;
}

.foogallery.fg-image-viewer.fg-round-full .fiv-inner,
.foogallery.fg-image-viewer.fg-round-full .fiv-prev,
.foogallery.fg-image-viewer.fg-round-full .fiv-next {
	border-radius: 50%;
}

/* Drop Shadows */
.foogallery.fg-image-viewer.fg-light.fg-shadow-outline .fg-item-inner,
.foogallery.fg-image-viewer.fg-dark.fg-shadow-outline .fg-item-inner,
.foogallery.fg-image-viewer.fg-light.fg-shadow-small .fg-item-inner,
.foogallery.fg-image-viewer.fg-dark.fg-shadow-small .fg-item-inner,
.foogallery.fg-image-viewer.fg-light.fg-shadow-medium .fg-item-inner,
.foogallery.fg-image-viewer.fg-dark.fg-shadow-medium .fg-item-inner,
.foogallery.fg-image-viewer.fg-light.fg-shadow-large .fg-item-inner,
.foogallery.fg-image-viewer.fg-dark.fg-shadow-large .fg-item-inner {
	box-shadow: none;
}

.foogallery.fg-image-viewer.fg-light.fg-shadow-outline .fiv-inner {
	box-shadow: 0 0 0 1px #ddd;
}
.foogallery.fg-image-viewer.fg-dark.fg-shadow-outline .fiv-inner {
	box-shadow: 0 0 0 1px #222;
}
.foogallery.fg-image-viewer.fg-light.fg-shadow-small .fiv-inner,
.foogallery.fg-image-viewer.fg-dark.fg-shadow-small .fiv-inner {
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
}
.foogallery.fg-image-viewer.fg-light.fg-shadow-medium .fiv-inner,
.foogallery.fg-image-viewer.fg-dark.fg-shadow-medium .fiv-inner {
	box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.5);
}
.foogallery.fg-image-viewer.fg-light.fg-shadow-large .fiv-inner,
.foogallery.fg-image-viewer.fg-dark.fg-shadow-large .fiv-inner {
	box-shadow: 0 1px 16px 0 rgba(0, 0, 0, 0.5);
}
.foogallery.fg-thumbnail,
.foogallery.fg-thumbnail.fg-center {
	text-align: center;
}
.foogallery.fg-thumbnail.fg-left {
	text-align: left;
}
.foogallery.fg-thumbnail.fg-right {
	text-align: right;
}

.foogallery.fg-thumbnail.fg-float-left {
	float: left;
	width: auto;
}
.foogallery.fg-thumbnail.fg-float-right {
	float: right;
	width: auto;
}

.foogallery.fg-thumbnail .fg-item {
	display: inline-block;
	vertical-align: top;
	max-width: 100%;
}
.foogallery.fg-thumbnail .fg-image {
	max-width: 100%;
}
.foogallery.fg-thumbnail .fg-st-hidden {
	display: none;
}
.foogallery-stack-album {
    text-align: center;
    overflow: hidden;
    font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
}
.foogallery-stack-album,
.foogallery-stack-album * {
    box-sizing: border-box;
}

.foogallery-stack-album.fg-align-left {
    text-align: left;
}
.foogallery-stack-album.fg-align-center {
    text-align: center;
}
.foogallery-stack-album.fg-align-right {
    text-align: right;
}

.foogallery-stack-album.fg-disable-transitions,
.foogallery-stack-album.fg-disable-transitions * {
    transition: none !important;
}

.fg-header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0;
    margin: 0;
    border-top: solid 1px #aaa;
    border-bottom: solid 1px #aaa;
}

.fg-header-title {
    display: block;
    margin: 0;
    padding: 0 20px;
    width: 100%;
    text-align: left;
}

.fg-header-active {
    display: block;
    margin: 0;
    padding: 0 20px;
    visibility: hidden;
    opacity: 0;
    width: 100%;
    text-align: right;
    transition-property: opacity, visibility;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}

.fg-header-back {
    display: block;
    padding: 0;
    margin: 5px;
    visibility: hidden;
    opacity: 0;
    min-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    color: #999;
    background: #ddd;
    background: rgba(200,200,200,0.5);
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition-property: opacity, visibility;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}

.fg-has-active .fg-header-back,
.fg-has-active .fg-header-active {
    visibility: visible;
    opacity: 1;
}


.fg-piles {
    display: inline-block;
    position: relative;
    transition-property: width, height;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}

.fg-pile {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    visibility: visible;
    opacity: 1;
    transition-property: opacity, visibility, top, left, width, height;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}

.fg-pile.fg-hidden {
    visibility: hidden;
    opacity: 0;
}

.fg-pile-item {
    display: block;
    position: absolute;
    top: 25px;
    left: 25px;
    visibility: visible;
    opacity: 1;
    cursor: pointer;
    border: 10px solid #fff;
    background-color: #FFF;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    transition-property: opacity, visibility, top, left, transform;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
    z-index: 1;
    transform: rotate(0deg);
}

.fg-expanded .fg-pile-item {
    z-index: 2;
    transform: rotate(0deg) !important;
}
.fg-pile-item.fg-has-cover {
    z-index: 10;
    transform: rotate(0deg) !important;
}

.fg-pile-item:nth-child(2) {
    z-index: 9;
}
.fg-pile-item:nth-child(3) {
    z-index: 8;
}
.fg-pile-item:nth-child(4) {
    z-index: 7;
}
.fg-pile-item:nth-child(1n+5) {
    visibility: hidden;
    opacity: 0;
}
.fg-expanded .fg-pile-item:nth-child(1n+4) {
    visibility: visible;
    opacity: 1;
}

.fg-pile-item-thumb {
    display: block;
}

.fg-pile-item-image {
    display: block;
}

.fg-pile-item-caption {
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 10px;
    background-color: rgba(68, 68, 68, 0.5);
    color: #FFFFFF;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition-property: opacity, visibility;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}
.fg-pile-item-title {
    display: block;
    width: 100%;
    padding: 0 0 10px;
}
.fg-pile-item-desc {
    display: block;
    width: 100%;
    max-height: 100%;
    border-top: solid 1px currentColor;
    padding: 10px 0 0;
    overflow: hidden;
}

.fg-pile-item-thumb:hover .fg-pile-item-caption {
    visibility: visible;
    opacity: 1;
}

.fg-pile-cover {
    display: flex;
    justify-content: left;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    visibility: visible;
    opacity: 1;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition-property: opacity, visibility;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}

.fg-expanded .fg-pile-cover {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.fg-pile-cover-content {
    display: flex;
    position: relative;
    background: #fff;
    color: #333;
    width: 75%;
    font-weight: 700;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.1), 5px 0 5px -3px rgba(0,0,0,0.4), inset 0 0 5px rgba(0,0,0,0.04);
}

.fg-pile-cover-title {
    text-align: center;
    padding: 10px;
    width: 100%;
}
.fg-pile-cover-count {
    color: #aaa;
    padding: 10px 5px;
    background: #F7F7F7;
    height: 100%;
}