.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;
    border-radius: inherit;
}
.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: 100%;
	height: auto;
	margin: 0;
	width: auto;
}
.foogallery picture.fg-image > img {
	display: block;
	position: relative;
	border: none;
	outline: 0;
	text-decoration: none;
	max-width: 100%;
	height: auto;
	margin: 0;
	width: auto;
}
.foogallery .fg-loaded .fg-thumb {
	z-index: 6;
}
.foogallery .fg-loaded .fg-image {
	z-index: 7;
}

/* 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-icon {
    fill: currentColor;
}
/* 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.5);
	color: #fff;
}
.foogallery .fg-caption-title a {
	color: #fff;
    border-bottom-color: #FFF;
}
.foogallery .fg-caption-desc {
    color: #d2d2d2;
}
.foogallery .fg-caption-desc a {
    color: #d2d2d2;
    border-bottom-color: #d2d2d2;
}
.foogallery.fg-light-overlays .fg-caption {
	background-color: rgba(255,255,255,0.7);
	color: #333;
}
.foogallery.fg-light-overlays .fg-caption-title a {
	color: #333;
	border-bottom-color: #333;
}
.foogallery.fg-light-overlays .fg-caption-desc {
    color: #333;
}
.foogallery.fg-light-overlays .fg-caption-desc a {
    color: #333;
    border-bottom-color: #333;
}
.foogallery.fg-transparent-overlays .fg-caption {
	background-color: transparent;
	color: #fff;
    text-shadow: 0 0 3px #000000;
}
.foogallery.fg-transparent-overlays .fg-caption-title a {
	color: #fff;
	border-bottom-color: #fff;
}
.foogallery.fg-transparent-overlays .fg-caption-desc {
    color: #d2d2d2;
}
.foogallery.fg-transparent-overlays .fg-caption-desc a {
    color: #d2d2d2;
    border-bottom-color: #d2d2d2;
}
/* Image Overlay */
.foogallery .fg-image-overlay,
.foogallery.fg-video-sticky:not(.fg-caption-hover,.fg-preset) .fg-type-video.fg-loaded .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-video-sticky:not(.fg-caption-hover,.fg-preset) .fg-type-video.fg-loaded .fg-item-inner:focus-within .fg-image-overlay {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
}
.foogallery.fg-light-overlays .fg-image-overlay,
.foogallery.fg-light-overlays.fg-video-sticky:not(.fg-caption-hover,.fg-preset) .fg-type-video.fg-loaded .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-light-overlays.fg-video-sticky:not(.fg-caption-hover,.fg-preset) .fg-type-video.fg-loaded .fg-item-inner:focus-within .fg-image-overlay {
    background-color: rgba(255,255,255,0.8);
    color: #333;
}
.foogallery.fg-transparent-overlays .fg-image-overlay,
.foogallery.fg-transparent-overlays.fg-video-sticky:not(.fg-caption-hover,.fg-preset) .fg-type-video.fg-loaded .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-transparent-overlays.fg-video-sticky:not(.fg-caption-hover,.fg-preset) .fg-type-video.fg-loaded .fg-item-inner:focus-within .fg-image-overlay {
    background-color: transparent;
    color: #fff;
}

/* Caption Buttons */
/* Button is displayed in caption over image */
/* Default, Block & Pill Buttons */
/* Light */
.foogallery:not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a {
    color: #333;
    background-color: #fff;
    border-color: #222;
}
.foogallery:not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #222;
}
/* Dark */
.foogallery.fg-light-overlays:not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.foogallery.fg-light-overlays:not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover {
    color: #FFF;
    background-color: #666;
    border-color: #555;
}
/* Block & Pill Outline Buttons */
/* Light */
.foogallery:is(.fg-cb-block-outline,.fg-cb-pill-outline):not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a {
    color: #FFF;
    background-color: transparent;
    border-color: #FFF;
}
.foogallery:is(.fg-cb-block-outline,.fg-cb-pill-outline):not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover {
    color: #333;
    background-color: #fff;
    border-color: #FFF;
}
/* Dark */
.foogallery.fg-light-overlays:is(.fg-cb-block-outline,.fg-cb-pill-outline):not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a {
    color: #333;
    background-color: transparent;
    border-color: #222;
}
.foogallery.fg-light-overlays:is(.fg-cb-block-outline,.fg-cb-pill-outline):not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
/* Caption Buttons + Captions Top & Bottom */
/* Button is displayed always either below or above the image */
/* Default, Block & Pill Buttons */
/* Light */
.foogallery:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a {
    color: #333;
    background-color: #FFF;
    border-color: #ccc;
}
.foogallery:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #ccc;
}
/* Dark */
.foogallery.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a {
    color: #FFF;
    background-color: #444;
    border-color: #222;
}
.foogallery.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover {
    color: #FFF;
    background-color: #666;
    border-color: #444;
}
/* Handle light-overlay */
.foogallery.fg-light-overlays.fg-light:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.foogallery.fg-light-overlays.fg-light:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover {
    color: #FFF;
    background-color: #666;
    border-color: #555;
}
.foogallery.fg-light-overlays.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a {
    color: #333;
    background-color: #FFF;
    border-color: #222;
}
.foogallery.fg-light-overlays.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #555;
}
/* Block & Pill Outline Buttons */
/* Light */
.foogallery:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a {
    color: #333;
    background-color: transparent;
    border-color: #ccc;
}
.foogallery:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a:hover {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
/* Dark */
.foogallery.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a {
    color: #FFF;
    background-color: transparent;
    border-color: #FFF;
}
.foogallery.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a:hover {
    color: #333;
    background-color: #FFF;
    border-color: #FFF;
}
/* Handle the light overlay */
.foogallery.fg-light-overlays.fg-light:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a {
    color: #333;
    background-color: transparent;
    border-color: #ccc;
}
.foogallery.fg-light-overlays.fg-light:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a:hover {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.foogallery.fg-light-overlays.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
}
.foogallery.fg-light-overlays.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a:hover {
    color: #333;
    background-color: #fff;
    border-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-outline .fg-thumb:after,
.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;
    border-radius: inherit;
}
.foogallery.fg-light.fg-shadow-inset-outline .fg-thumb:after {
    box-shadow: inset 0 0 0 1px #ddd;
}
.foogallery.fg-dark.fg-shadow-inset-outline .fg-thumb:after {
    box-shadow: inset 0 0 0 1px #222;
}
.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%;
}
.foogallery .fg-image-wrap {
	z-index: 7;
}
.foogallery .fg-image-wrap:before {
	z-index: 8;
}
.foogallery .fg-image-wrap:before,
.fg-panel .fg-panel-thumb-wrap:before {
	content: "";
	display: block;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	position: absolute;
	pointer-events: none;
}
.foogallery.fg-filter-1977 .fg-image-wrap,
.fg-panel.fg-filter-1977 .fg-panel-thumb-wrap {
	-webkit-filter: contrast(110%) brightness(110%) saturate(130%);
	filter: contrast(110%) brightness(110%) saturate(130%);
}
.foogallery.fg-filter-1977 .fg-image-wrap:before,
.fg-panel.fg-filter-1977 .fg-panel-thumb-wrap:before {
	mix-blend-mode: screen;
	background: rgba(243, 106, 188, 0.3);
}
.foogallery.fg-filter-amaro .fg-image-wrap,
.fg-panel.fg-filter-amaro .fg-panel-thumb-wrap {
  -webkit-filter: contrast(90%) brightness(110%) saturate(150%) hue-rotate(-10deg);
  filter: contrast(90%) brightness(110%) saturate(150%) hue-rotate(-10deg);
}

.foogallery.fg-filter-brannan .fg-image-wrap,
.fg-panel.fg-filter-brannan .fg-panel-thumb-wrap {
	-webkit-filter: contrast(140%) sepia(50%);
  filter: contrast(140%) sepia(50%);
}
.foogallery.fg-filter-brannan .fg-image-wrap:before,
.fg-panel.fg-filter-brannan .fg-panel-thumb-wrap:before {
  mix-blend-mode: lighten;
  background: rgba(161, 44, 199, 0.31);
}

.foogallery.fg-filter-clarendon .fg-image-wrap,
.fg-panel.fg-filter-clarendon .fg-panel-thumb-wrap {
  -webkit-filter: contrast(120%) saturate(125%);
  filter: contrast(120%) saturate(125%);
}
.foogallery.fg-filter-clarendon .fg-image-wrap:before,
.fg-panel.fg-filter-clarendon .fg-panel-thumb-wrap:before {
  mix-blend-mode: overlay;
  background: rgba(127, 187, 227, 0.2);
}

.foogallery.fg-filter-earlybird .fg-image-wrap,
.fg-panel.fg-filter-earlybird .fg-panel-thumb-wrap {
  -webkit-filter: contrast(90%) sepia(20%);
  filter: contrast(90%) sepia(20%);
}
.foogallery.fg-filter-earlybird .fg-image-wrap:before,
.fg-panel.fg-filter-earlybird .fg-panel-thumb-wrap:before {
  mix-blend-mode: overlay;
  background: -webkit-radial-gradient(50% 50%, circle closest-corner, rgba(208, 186, 142, 1) 20%, rgba(29, 2, 16, 0.2));
  background: radial-gradient(50% 50%, circle closest-corner, rgba(208, 186, 142, 1) 20%, rgba(29, 2, 16, 0.2));
}

.foogallery.fg-filter-lofi .fg-image-wrap,
.fg-panel.fg-filter-lofi .fg-panel-thumb-wrap {
	-webkit-filter: contrast(150%) saturate(110%);
	filter: contrast(150%) saturate(110%);
}
.foogallery.fg-filter-lofi .fg-image-wrap:before,
.fg-panel.fg-filter-lofi .fg-panel-thumb-wrap:before {
	mix-blend-mode: multiply;
	background: -webkit-radial-gradient(circle closest-corner, rgba(0, 0, 0, 0) 70%, rgba(34, 34, 34, 1) 100%);
	background: radial-gradient(circle closest-corner, rgba(0, 0, 0, 0) 70%, rgba(34, 34, 34, 1) 100%);
}
.foogallery.fg-filter-poprocket .fg-image-wrap,
.fg-panel.fg-filter-poprocket .fg-panel-thumb-wrap {
  -webkit-filter: sepia(.15) brightness(1.2);
  filter: sepia(.15) brightness(1.2);
}
.foogallery.fg-filter-poprocket .fg-image-wrap:before,
.fg-panel.fg-filter-poprocket .fg-panel-thumb-wrap:before {
  mix-blend-mode: screen;
  background: -webkit-radial-gradient(center center, circle closest-corner, rgba(206, 39, 70, .75) 40%, rgba(0, 0, 0, 1) 80%);
	background: radial-gradient(center center, circle closest-corner, rgba(206, 39, 70, .75) 40%, rgba(0, 0, 0, 1) 80%);
}

.foogallery.fg-filter-reyes .fg-image-wrap,
.fg-panel.fg-filter-reyes .fg-panel-thumb-wrap {
  -webkit-filter: contrast(85%) brightness(110%) saturate(75%) sepia(22%);
  filter: contrast(85%) brightness(110%) saturate(75%) sepia(22%);
}
.foogallery.fg-filter-reyes .fg-image-wrap:before,
.fg-panel.fg-filter-reyes .fg-panel-thumb-wrap:before {
  mix-blend-mode: soft-light;
  opacity: 0.5;
  background: rgba(173, 205, 239, 1);
}

.foogallery.fg-filter-toaster .fg-image-wrap,
.fg-panel.fg-filter-toaster .fg-panel-thumb-wrap {
  -webkit-filter: contrast(150%) brightness(90%);
  filter: contrast(150%) brightness(90%);
}
.foogallery.fg-filter-toaster .fg-image-wrap:before,
.fg-panel.fg-filter-toaster .fg-panel-thumb-wrap:before {
  mix-blend-mode: screen;
  opacity: 0.5;
  background: -webkit-radial-gradient(50% 50%, circle closest-corner, rgba(15, 78, 128, 1) 1%, rgba(59, 0, 59, 1));
  background: radial-gradient(50% 50%, circle closest-corner, rgba(15, 78, 128, 1) 1%, rgba(59, 0, 59, 1));
}

.foogallery.fg-filter-walden .fg-image-wrap,
.fg-panel.fg-filter-walden .fg-panel-thumb-wrap {
  -webkit-filter: brightness(110%) saturate(160%) sepia(30%) hue-rotate(350deg);
  filter: brightness(110%) saturate(160%) sepia(30%) hue-rotate(350deg);
}
.foogallery.fg-filter-walden .fg-image-wrap:before,
.fg-panel.fg-filter-walden .fg-panel-thumb-wrap:before {
  mix-blend-mode: screen;
  opacity: 0.3;
  background: rgba(204, 68, 0, 1);
}

.foogallery.fg-filter-xpro2 .fg-image-wrap,
.fg-panel.fg-filter-xpro2 .fg-panel-thumb-wrap {
  -webkit-filter: sepia(30%);
  filter: sepia(30%);
}
.foogallery.fg-filter-xpro2 .fg-image-wrap:before,
.fg-panel.fg-filter-xpro2 .fg-panel-thumb-wrap:before {
  mix-blend-mode: color-burn;
  background: -webkit-radial-gradient(center center, circle closest-corner, rgba(224, 231, 230, 1) 40%, rgba(43, 42, 161, 0.6));
  background: radial-gradient(center center, circle closest-corner, rgba(224, 231, 230, 1) 40%, rgba(43, 42, 161, 0.6));
}

.foogallery.fg-filter-xtreme .fg-image-wrap,
.fg-panel.fg-filter-xtreme .fg-panel-thumb-wrap {
  -webkit-filter: contrast(200%) brightness(127%) saturate(200%) sepia(45%);
  filter: contrast(200%) brightness(127%) saturate(200%) sepia(45%);
}
.foogallery.fg-filter-xtreme .fg-image-wrap:before,
.fg-panel.fg-filter-xtreme .fg-panel-thumb-wrap:before {
  mix-blend-mode: hard-light;
  opacity: 0.7;
  background: -webkit-radial-gradient(50% 50%, circle closest-corner, rgba(62, 253, 220, 0.33) 10%, rgba(70, 70, 70, 0.04));
  background: radial-gradient(50% 50%, circle closest-corner, rgba(62, 253, 220, 0.33) 10%, rgba(70, 70, 70, 0.04));
}

/* 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);
}
div[class^="fg-ribbon-"] {
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    z-index: 6;
    color: #39bbac;

    font-size: 14px;

    visibility: hidden;
    opacity: 0;

    max-height: 100%;
    max-width: 100%;

    pointer-events: none;
}
div[class^="fg-ribbon-"] > span {
    color: #FFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 1em;
    line-height: 1em;
    position: relative;
    text-align: center;
}
div[class^="fg-ribbon-"] > span > .dashicons + span {
    margin-left: 0.4em;
}
.fg-loaded div[class^="fg-ribbon-"] {
    visibility: visible;
    opacity: 1;
}

.fg-loaded-fade-in .fg-loaded div[class^="fg-ribbon-"],
.fg-loaded-slide-up .fg-loaded div[class^="fg-ribbon-"],
.fg-loaded-slide-down .fg-loaded div[class^="fg-ribbon-"],
.fg-loaded-slide-left .fg-loaded div[class^="fg-ribbon-"],
.fg-loaded-slide-right .fg-loaded div[class^="fg-ribbon-"],
.fg-loaded-scale-up .fg-loaded div[class^="fg-ribbon-"],
.fg-loaded-swing-down .fg-loaded div[class^="fg-ribbon-"],
.fg-loaded-drop .fg-loaded div[class^="fg-ribbon-"],
.fg-loaded-fly .fg-loaded div[class^="fg-ribbon-"],
.fg-loaded-flip .fg-loaded div[class^="fg-ribbon-"] {
    transition-property: visibility, opacity;
    transition-duration: 650ms;
    transition-timing-function: ease;
}
div.fg-ribbon-1 {
    background: #ff5a00;
    width: 4em;
    padding: .5em 0 .8em 0;
    top: -2px;
    left: 25px;
    text-align: center;
    border-top-left-radius: 3px;
    text-orientation: upright;
    writing-mode: vertical-rl;
    max-height: calc(100% - 1em);
    max-width: calc(100% - 25px);
}
.fg-ribbon-1:before, .fg-ribbon-1:after {
    content: "";
    position: absolute;
}
.fg-ribbon-1:before {
    height: 0;
    width: 0;
    right: -2px;
    top: 0;
    border-bottom: 2px solid #8D5A20;
    border-right: 2px solid transparent;
}
.fg-ribbon-1:after {
    height: 0;
    width: 0;
    bottom: -1em;
    left: 0;
    border-left: 2em solid #ff5a00;
    border-right: 2em solid #ff5a00;
    border-bottom: 1em solid transparent;
}

div.fg-ribbon-1 > span {
    letter-spacing: -0.2em;
}

div.fg-ribbon-1 > span > .dashicons + span {
    margin-left: 0;
    margin-top: 0.4em;
}
div.fg-ribbon-2 {
    height: 3em;
    line-height: 3em;
    padding: 0 0.5em 0 1em;
    left: -2px;
    top: 20px;
    max-height: calc(100% - 20px);
    max-width: calc(100% - 0.4em);
    background: #c50084;
}
.fg-ribbon-2:before, .fg-ribbon-2:after {
    content: "";
    position: absolute;
}
.fg-ribbon-2:before {
    height: 0;
    width: 0;
    top: -2px;
    left: 0;
    border-bottom: 2px solid #860057;
    border-left: 2px solid transparent;
}
.fg-ribbon-2:after {
    height: 0;
    width: 0;
    top: 0;
    right: -0.75em;
    border-top: 1.5em solid transparent;
    border-bottom: 1.5em solid transparent;
    border-left: 0.8em solid #c50084;
}
div.fg-ribbon-3 {
    top: 15px;
    left: 0;
    padding: 0 1em 0 calc(1em - 3px);
    background: #00b9ff;
    box-shadow: -1px 2px 3px rgba(0,0,0,.3);
    height: 2em;
    line-height: 2em;
    border-radius: 0 4px 4px 0 / 0 50% 50% 0;
}
.fg-ribbon-3:before, .fg-ribbon-3:after {
    content: "";
    position: absolute;
}
.fg-ribbon-3:before {
    width: 3px;
    height: 100%;
    top: 0;
    left: -3px;
    padding: 0 0 3px;
    background: inherit;
    border-radius: 7px 0 0 5px;
}
.fg-ribbon-3:after {
    width: 2px;
    height: 2px;
    bottom: -2px;
    left: -2px;
    background: #006a8c;
    border-radius: 5px 0 0 5px;
}
div.fg-ribbon-4 {
    display: block;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    max-width: calc(100% + 4px);
    max-height: calc(100% + 4px);
    top: -2px;
    left: -2px;
    overflow: hidden;
}
.fg-ribbon-4:before, .fg-ribbon-4:after {
    content: "";
    position: absolute;
}
.fg-ribbon-4:before {
    height: 0;
    width: 0;
    top: 5em;
    left: 0;
    border-top: 2px solid #6c4f0b;
    border-left: 2px solid transparent;
}
.fg-ribbon-4:after {
    height: 0;
    width: 0;
    right: 0;
    top: 5em;
    border-top: 2px solid #6c4f0b;
    border-right: 2px solid transparent;
}
div.fg-ribbon-4 > span {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    position: absolute;
    height: 3em;
    line-height: 3em;
    background: #cc8111;
    top: 2em;
    box-shadow: 0 10px 10px -12px rgba(0, 0, 0, 0.6);
    outline: 1px dashed;
    outline-offset: -3px;
    width: calc(100% + 6px);
    left: -3px;
}
div.fg-ribbon-5 {
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    max-width: calc(100% + 4px);
    max-height: calc(100% + 4px);
    top: -2px;
    left: -2px;
    overflow: hidden;
}
.fg-ribbon-5:before, .fg-ribbon-5:after {
    content: "";
    position: absolute;
}
.fg-ribbon-5:before {
    width: 3em;
    height: 2px;
    top: 0;
    right: 6.6em;
    background: #4D6530;
    border-radius: 2px 2px 0 0;
}
.fg-ribbon-5:after {
    width: 2px;
    height: 3em;
    right: 0;
    top: 6.6em;
    background: #4D6530;
    border-radius: 0 2px 2px 0;
}
div.fg-ribbon-5 > span {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    width: 16em;
    height: 3em;
    line-height: 3em;
    position: absolute;
    top: -4.1em;
    right: -5.8em;
    z-index: 2;
    overflow: hidden;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transform-origin: bottom left;
    outline: 1px dashed;
    outline-offset: -3px;
    box-shadow: 0 21px 5px -18px rgba(0, 0, 0, 0.6);
    background: green;
    text-align: center;
}
div.fg-ribbon-6 {
    top: -3px;
    right: 20px;
    max-width: calc(100% - 26px);
    background-color: #ff0a00;
    padding: 0.5em 0.8em 0.8em;
    border-radius: 0 3px 50% 50%;
    line-height: 2em;
    box-shadow: -1px 2px 3px rgba(0,0,0,.3);
}
.fg-ribbon-6:before, .fg-ribbon-6:after {
    position: absolute;
    content: "";
}
.fg-ribbon-6:before {
    height: 3px;
    width: 3px;
    left: -3px;
    top: 0;
    background: #ff0a00;
}
.fg-ribbon-6:after {
    height: 3px;
    width: 6px;
    left: -6px;
    top: 0;
    border-radius: 3px 3px 0 0;
    background: #941825;
}
div.fg-ribbon-7 {
    display: block;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    max-width: calc(100% + 4px);
    max-height: calc(100% + 4px);
    top: -2px;
    left: -2px;
    overflow: hidden;
}
.fg-ribbon-7:before, .fg-ribbon-7:after {
    content: "";
    position: absolute;
}
.fg-ribbon-7:before {
    height: 0;
    width: 0;
    bottom: 5em;
    left: 0;
    border-top: 2px solid #333;
    border-left: 2px solid transparent;
}
.fg-ribbon-7:after {
    height: 0;
    width: 0;
    right: 0;
    bottom: 5em;
    border-top: 2px solid #333;
    border-right: 2px solid transparent;
}
div.fg-ribbon-7 > span {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    position: absolute;
    height: 3em;
    line-height: 3em;
    background: #444;
    bottom: 2em;
    box-shadow: 0 10px 10px -12px rgba(0, 0, 0, 0.6);
    outline: 1px dashed #adadad;
    outline-offset: -3px;
    width: calc(100% + 6px);
    left: -3px;
}
/* Caption Styles */
.foogallery {
	--fg-title-line-clamp: 2;
	--fg-description-line-clamp: 4;
}
.foogallery .fg-caption {
	display: flex;
	flex-direction: column;
	padding: 10px;
	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-inner {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 100%;
	overflow: hidden;
}

.foogallery .fg-caption-title {
	box-sizing: content-box;
	font-size: 16px;
	font-weight: 400;
	padding: 0;
	margin: 0;
	line-height: 1.4;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: var(--fg-title-line-clamp);
	-webkit-box-orient: vertical;
	clip-path: content-box;
	min-height: fit-content;
	flex: 0;
}
.foogallery .fg-caption-desc {
	padding: 0;
	margin: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: var(--fg-description-line-clamp);
	-webkit-box-orient: vertical;
	clip-path: content-box;
	flex: 1;
}

.foogallery .fg-caption-title a,
.foogallery .fg-caption-desc a {
    text-decoration: none;
    border-bottom: solid 1px currentColor;
    transition-timing-function: ease-out;
    transition-duration: 0.3s;
    transition-property: color, border-color, background-color;
}
.foogallery .fg-caption-title a:hover,
.foogallery .fg-caption-desc a:hover {
    border-bottom-color: transparent;
}

.foogallery .fg-caption-buttons {
    --fg-base-size: 12px;
    --fg-height: calc( var( --fg-base-size ) * 2.2 );
    --fg-base-25: calc( var( --fg-base-size ) / 4 );
    --fg-base-33: calc( var( --fg-base-size ) / 3 );
    --fg-base-50: calc( var( --fg-base-size ) / 2 );
    --fg-base-66: calc( var( --fg-base-33 ) * 2 );
    --fg-base-75: calc( var( --fg-base-25 ) * 3 );
    --fg-base-100: var( --fg-base-size );
    --fg-border-radius: var(--fg-base-25);
    --fg-border-width: 1px;
    --fg-spacing: var(--fg-base-25);
    --fg-padding-x: var(--fg-base-75);
    --fg-padding-y: var(--fg-base-25);

	display: flex;
	position: relative;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
    gap: 4px;
    font-size: var(--fg-base-size);
	width: 100%;
	padding: 0;
	margin: 0;
}
.foogallery.fg-c-c .fg-caption-buttons {
    justify-content: center;
}
.foogallery.fg-c-l .fg-caption-buttons {
    justify-content: flex-start;
}
.foogallery.fg-c-r .fg-caption-buttons {
    justify-content: flex-end;
}
.foogallery.fg-c-j .fg-caption-buttons {
    justify-content: stretch;
}
.foogallery.fg-c-j .fg-caption-buttons > a {
    flex: 1;
}

.foogallery .fg-caption-buttons > a {
    display: inline-flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: var(--fg-padding-y) var(--fg-padding-x);
    height: var(--fg-height);
    margin: 0 0 1px 0;
    font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size: inherit;
    font-weight: 400;
    line-height: unset;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-image: none;
    text-decoration: none;
    text-shadow: none;
    border: var(--fg-border-width) solid transparent;
    border-radius: var(--fg-border-radius);
    box-shadow: none;
    outline: none;
    opacity: 1;
    transition-timing-function: ease-out;
    transition-duration: 0.3s;
    transition-property: color, opacity, border-color, background-color;
}
.foogallery .fg-caption-buttons > a:hover,
.foogallery .fg-caption-buttons > a:focus {
    opacity: 1!important;
    box-shadow: none;
}

/* Might change this */
.foogallery:is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption-buttons > a {
    --fg-border-width: 2px;
    font-weight: 500;
}
.foogallery:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption-buttons>a {
    font-weight: 400;
}
.foogallery.fg-light:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption-buttons>a {
    --fg-border-width: 1px;
}

.foogallery.fg-cb-block .fg-caption-buttons > a,
.foogallery.fg-cb-block-outline .fg-caption-buttons > a {
    --fg-border-radius: 0;
}

.foogallery.fg-cb-pill .fg-caption-buttons > a,
.foogallery.fg-cb-pill-outline .fg-caption-buttons > a {
    --fg-border-radius: calc(var(--fg-height) / 2);
    --fg-padding-x: calc(var(--fg-base-50) + calc(var(--fg-border-radius) / 2));
}

@media only screen and (max-width: 600px) {
	.foogallery .fg-caption-buttons {
		align-items: stretch;
	}
	.foogallery .fg-caption-buttons > a {
		flex: 1;
	}
}

/* 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 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-height: 100%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	padding: 10px;
}
.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-icon-size: 32px;
}
.foogallery.fg-transparent-overlays {
    /* Upscaled as the icon is downscaled in the SVG to allow for the drop-shadow */
    --fg-icon-size-transparent: calc( var(--fg-icon-size) + calc( var(--fg-icon-size) * 0.25 ) );
}
.foogallery .fg-image-overlay:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: var(--fg-icon-size);
    height: var(--fg-icon-size);
    background-size: var(--fg-icon-size) var(--fg-icon-size);
    background-position: center center;
    background-repeat: no-repeat;
    min-width: var(--fg-icon-size);
    min-height: var(--fg-icon-size);
}
.foogallery .fg-caption-inner:before {
    content: "";
    display: none;
    position: relative;
    width: var(--fg-icon-size);
    height: var(--fg-icon-size);
    margin: 0;
    background-size: var(--fg-icon-size) var(--fg-icon-size);
    vertical-align: middle;
    background-position: center center;
    background-repeat: no-repeat;
    min-width: var(--fg-icon-size);
    min-height: var(--fg-icon-size);
}
.foogallery.fg-transparent-overlays .fg-image-overlay:before,
.foogallery.fg-transparent-overlays .fg-caption-inner:before {
	width: var(--fg-icon-size-transparent);
	height: var(--fg-icon-size-transparent);
	background-size: var(--fg-icon-size-transparent) var(--fg-icon-size-transparent);
	min-width: var(--fg-icon-size-transparent);
	min-height: var(--fg-icon-size-transparent);
}
.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-hover-cart:not(.fg-preset)               .fg-caption-inner:before,

.foogallery.fg-hover-plus2:not(.fg-preset) 				.fg-caption-inner:before,
.foogallery.fg-hover-plus3:not(.fg-preset) 				.fg-caption-inner:before,
.foogallery.fg-hover-square-plus:not(.fg-preset) 		.fg-caption-inner:before,
.foogallery.fg-hover-circle-plus2:not(.fg-preset) 		.fg-caption-inner:before,
.foogallery.fg-hover-zoom4:not(.fg-preset) 				.fg-caption-inner:before,
.foogallery.fg-hover-zoom5:not(.fg-preset) 				.fg-caption-inner:before,

.foogallery.fg-video-default:not(.fg-preset)            .fg-type-video .fg-caption-inner:before,
.foogallery.fg-video-1:not(.fg-preset)                  .fg-type-video .fg-caption-inner:before,
.foogallery.fg-video-2:not(.fg-preset)                  .fg-type-video .fg-caption-inner:before,
.foogallery.fg-video-3:not(.fg-preset)                  .fg-type-video .fg-caption-inner:before,
.foogallery.fg-video-4:not(.fg-preset)                  .fg-type-video .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-hover-cart:not(.fg-preset)               .fg-item-inner:hover .fg-image-overlay,

.foogallery.fg-hover-plus2:not(.fg-preset) 				.fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-plus3:not(.fg-preset) 				.fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-square-plus:not(.fg-preset) 		.fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-circle-plus2:not(.fg-preset) 		.fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-zoom4:not(.fg-preset) 				.fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-hover-zoom5: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 .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-transparent-overlays.fg-hover-zoom .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-hover-zoom .fg-caption-inner:before {
    background-image: url('../img/icons.svg#zoom-transparent');
}

.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-transparent-overlays.fg-hover-zoom2 .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-hover-zoom2 .fg-caption-inner:before {
    background-image: url('../img/icons.svg#zoom2-transparent');
}

.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-transparent-overlays.fg-hover-zoom3 .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-hover-zoom3 .fg-caption-inner:before {
    background-image: url('../img/icons.svg#zoom3-transparent');
}

.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-transparent-overlays.fg-hover-plus .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-hover-plus .fg-caption-inner:before {
    background-image: url('../img/icons.svg#plus-transparent');
}

.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-transparent-overlays.fg-hover-circle-plus .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-hover-circle-plus .fg-caption-inner:before {
    background-image: url('../img/icons.svg#circle-plus-transparent');
}

.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-transparent-overlays.fg-hover-eye .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-hover-eye .fg-caption-inner:before {
    background-image: url('../img/icons.svg#eye-transparent');
}

.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-transparent-overlays.fg-hover-external .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-hover-external .fg-caption-inner:before {
    background-image: url('../img/icons.svg#external-transparent');
}

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



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

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

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

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

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

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



.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-transparent-overlays.fg-video-default .fg-type-video .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-video-default .fg-type-video .fg-caption-inner:before {
    background-image: url('../img/icons.svg#video-default-transparent');
}

.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-transparent-overlays.fg-video-1 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-video-1 .fg-type-video .fg-caption-inner:before {
    background-image: url('../img/icons.svg#video-1-transparent');
}

.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-transparent-overlays.fg-video-2 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-video-2 .fg-type-video .fg-caption-inner:before {
    background-image: url('../img/icons.svg#video-2-transparent');
}

.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-transparent-overlays.fg-video-3 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-video-3 .fg-type-video .fg-caption-inner:before {
    background-image: url('../img/icons.svg#video-3-transparent');
}

.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');
}
.foogallery.fg-transparent-overlays.fg-video-4 .fg-type-video .fg-image-overlay:before,
.foogallery.fg-transparent-overlays.fg-video-4 .fg-type-video .fg-caption-inner:before {
    background-image: url('../img/icons.svg#video-4-transparent');
}
/* Preset Reset & Common */
.foogallery.fg-preset .fg-thumb {
	transform: translateZ(0);
}
.foogallery.fg-preset .fg-caption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	visibility: visible;
	opacity: 1;
	background-color: transparent;
	border: none;
	color: #fff;
	text-transform: uppercase;
	font-size: 13px;
	padding: 0;
	line-height: 1.2;
	letter-spacing: 1px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
/*.foogallery.fg-preset .fg-item:not(.fg-image-dark) .fg-caption {*/
/*	color: #000000;*/
/*}*/
.foogallery.fg-preset .fg-caption-inner {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	line-height: inherit;
	letter-spacing: inherit;
	text-shadow: 0 0 3px #000000;
}
.foogallery.fg-preset .fg-caption-title {
	box-sizing: border-box;
	font-size: 16px;
	line-height: inherit;
	letter-spacing: inherit;
}
.foogallery.fg-preset .fg-caption-desc {
	font-size: 11px;
	max-height: 100%;
	overflow: hidden;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
	flex: unset;
}
.foogallery.fg-preset .fg-caption-title+.fg-caption-desc {
	padding: 0;
}

.foogallery.fg-preset .fg-caption-buttons {
    text-transform: none;
    letter-spacing: normal;
}

/* Preset Sizes */
.fg-preset.fg-preset-small .fg-caption-title {
	font-size: 16px;
}
.fg-preset.fg-preset-small .fg-caption-desc {
	font-size: 11px;
}

.fg-preset.fg-preset-medium .fg-caption-title {
	font-size: 20px;
}
.fg-preset.fg-preset-medium .fg-caption-desc {
	font-size: 12px;
}

.fg-preset.fg-preset-large .fg-caption-title {
	font-size: 24px;
}
.fg-preset.fg-preset-large .fg-caption-desc {
	font-size: 14px;
}

.foogallery.fg-preset.fg-brad .fg-caption {
    padding: 15px;
    clip-path: content-box;
}
.foogallery.fg-preset.fg-brad .fg-caption-inner {
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    gap: 0;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transform: translateY(40px);
    background-color: rgba(0,0,0,0);
    transition: transform 0.35s, visibility 0.35s, opacity 0.35s, background-color 0.35s;
}
.foogallery.fg-preset.fg-brad .fg-caption-inner:after {
    content: '';
    display: block;
    width: 30%;
    border-bottom: 1px solid currentColor;
    order: 2;
    margin: 0 10px;
}
.foogallery.fg-preset.fg-brad .fg-item-inner:hover .fg-caption-inner,
.foogallery.fg-preset.fg-brad .fg-item-inner:focus-within .fg-caption-inner {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    background-color: rgba(0,0,0,0.5);
}
.foogallery.fg-preset.fg-brad .fg-caption-title {
    padding: 20px 10px;
    width: 100%;
    order: 1;
}
.foogallery.fg-preset.fg-brad .fg-caption-desc {
    padding: 20px 10px;
    clip-path: content-box;
    height: auto;
    text-transform: none;
    order: 3;
}

.foogallery.fg-preset.fg-brad .fg-caption-buttons {
    order: 4;
    padding: 0 10px 10px;
}

/* Text Align */
.foogallery.fg-preset.fg-brad.fg-c-l .fg-caption-inner {
    align-items: flex-start;
}
.foogallery.fg-preset.fg-brad.fg-c-r .fg-caption-inner {
    align-items: flex-end;
}
/* Goliath */
.foogallery.fg-preset.fg-goliath .fg-thumb {
	opacity: 1;
	transition: transform 0.35s;
	-webkit-transform: translateY(0);
	transform: translateY(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	background-color: #333;
}
.foogallery.fg-preset.fg-goliath .fg-item-inner:hover .fg-thumb,
.foogallery.fg-preset.fg-goliath .fg-item-inner:focus-within .fg-thumb {
	-webkit-transform: translateY(-40px);
	transform: translateY(-40px);
}
.foogallery.fg-preset.fg-goliath .fg-image {
	opacity: 1;
	transition: opacity 0.35s;
}
.foogallery.fg-preset.fg-goliath .fg-item-inner:hover .fg-image,
.foogallery.fg-preset.fg-goliath .fg-item-inner:focus-within .fg-image {
	opacity: 0.6;
}

.foogallery.fg-preset.fg-goliath .fg-caption {
	text-align: left;
}
.foogallery.fg-preset.fg-goliath .fg-caption-inner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	gap: 0;
	overflow: visible;
	-webkit-transform: translateY(40px);
	transform: translateY(40px);
	transition: transform 0.35s;
    align-items: flex-start;
    justify-content: flex-end;
}
.foogallery.fg-preset.fg-goliath .fg-item-inner:hover .fg-caption-inner,
.foogallery.fg-preset.fg-goliath .fg-item-inner:focus-within .fg-caption-inner {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.foogallery.fg-preset.fg-goliath .fg-caption-title {
    order: 2;
	padding: 10px;
	max-height: calc(100% - 40px);
	clip-path: content-box;
    width: 100%;
}

.foogallery.fg-preset.fg-goliath .fg-caption-desc {
    order: 3;
	-webkit-line-clamp: 2;
	position: relative;
	padding: 4px 10px;
    width: 100%;
	height: 40px;
	min-height: 40px;
	max-height: 40px;
	text-transform: none;
	opacity: 0;
	transition: opacity 0.35s;
	line-height: 1.4;
	text-shadow: none;
}
.foogallery.fg-preset.fg-goliath .fg-item-inner:hover .fg-caption-desc,
.foogallery.fg-preset.fg-goliath .fg-item-inner:focus-within .fg-caption-desc {
	opacity: 1;
}

.foogallery.fg-preset.fg-goliath .fg-caption-buttons {
    padding: 10px 10px 0;
    order: 1;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
    justify-content: flex-start;
}
.foogallery.fg-preset.fg-goliath .fg-item-inner:hover .fg-caption-buttons,
.foogallery.fg-preset.fg-goliath .fg-item-inner:focus-within .fg-caption-buttons {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

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

/* Preset Sizes */
.foogallery.fg-preset.fg-preset-small.fg-goliath .fg-caption-inner {
	-webkit-transform: translateY(40px);
	transform: translateY(40px);
}
.foogallery.fg-preset.fg-preset-small.fg-goliath .fg-item-inner:hover .fg-thumb,
.foogallery.fg-preset.fg-preset-small.fg-goliath .fg-item-inner:focus-within .fg-thumb {
	-webkit-transform: translateY(-40px);
	transform: translateY(-40px);
}
.foogallery.fg-preset.fg-preset-small.fg-goliath .fg-caption-title {
	max-height: calc(100% - 40px);
	padding: 10px;
}
.foogallery.fg-preset.fg-preset-small.fg-goliath .fg-caption-desc {
	line-height: 1.4;
	-webkit-line-clamp: 2;
	padding: 4px 10px;
	height: 40px;
	min-height: 40px;
	max-height: 40px;
}
.foogallery.fg-preset.fg-preset-small.fg-goliath .fg-caption-buttons {
    padding: 10px 10px 0;
}

.foogallery.fg-preset.fg-preset-medium.fg-goliath .fg-caption-inner {
	-webkit-transform: translateY(60px);
	transform: translateY(60px);
}
.foogallery.fg-preset.fg-preset-medium.fg-goliath .fg-item-inner:hover .fg-thumb,
.foogallery.fg-preset.fg-preset-medium.fg-goliath .fg-item-inner:focus-within .fg-thumb {
	-webkit-transform: translateY(-60px);
	transform: translateY(-60px);
}
.foogallery.fg-preset.fg-preset-medium.fg-goliath .fg-caption-title {
	max-height: calc(100% - 60px);
	padding: 20px;
}
.foogallery.fg-preset.fg-preset-medium.fg-goliath .fg-caption-desc {
	-webkit-line-clamp: 3;
	line-height: 1.3;
	padding: 6px 20px;
	height: 60px;
	min-height: 60px;
	max-height: 60px;
}
.foogallery.fg-preset.fg-preset-medium.fg-goliath .fg-caption-buttons {
    padding: 20px 20px 0;
}

.foogallery.fg-preset.fg-preset-large.fg-goliath .fg-caption-inner {
	-webkit-transform: translateY(80px);
	transform: translateY(80px);
}
.foogallery.fg-preset.fg-preset-large.fg-goliath .fg-item-inner:hover .fg-thumb,
.foogallery.fg-preset.fg-preset-large.fg-goliath .fg-item-inner:focus-within .fg-thumb {
	-webkit-transform: translateY(-80px);
	transform: translateY(-80px);
}
.foogallery.fg-preset.fg-preset-large.fg-goliath .fg-caption-title {
	max-height: calc(100% - 80px);
	padding: 30px;
}
.foogallery.fg-preset.fg-preset-large.fg-goliath .fg-caption-desc {
	-webkit-line-clamp: 3;
	line-height: 1.4;
	padding: 10px 30px;
	height: 80px;
	min-height: 80px;
	max-height: 80px;
}
.foogallery.fg-preset.fg-preset-large.fg-goliath .fg-caption-buttons {
    padding: 30px 30px 0;
}

/* Text Align */
.foogallery.fg-preset.fg-goliath.fg-c-l .fg-caption {
    text-align: left;
}
.foogallery.fg-preset.fg-goliath.fg-c-l .fg-caption-buttons {
    justify-content: flex-start;
}
.foogallery.fg-preset.fg-goliath.fg-c-c .fg-caption {
    text-align: center;
}
.foogallery.fg-preset.fg-goliath.fg-c-c .fg-caption-buttons {
    justify-content: center;
}
.foogallery.fg-preset.fg-goliath.fg-c-r .fg-caption {
    text-align: right;
}
.foogallery.fg-preset.fg-goliath.fg-c-r .fg-caption-buttons {
    justify-content: flex-end;
}
.foogallery.fg-preset.fg-goliath.fg-c-j .fg-caption {
    text-align: justify;
}
.foogallery.fg-preset.fg-goliath.fg-c-j .fg-caption-buttons {
    justify-content: stretch;
}
/* Jazz */
.foogallery.fg-preset.fg-jazz .fg-thumb {
	background: -webkit-linear-gradient(-45deg, #f3cf3f 0%,#f33f58 100%);
	background: linear-gradient(-45deg, #f3cf3f 0%,#f33f58 100%);
}

.foogallery.fg-preset.fg-jazz .fg-image {
	opacity: 1;
	transition: opacity 0.35s, transform 0.35s;
}
.foogallery.fg-preset.fg-jazz .fg-item-inner:hover .fg-image,
.foogallery.fg-preset.fg-jazz .fg-item-inner:focus-within .fg-image {
	opacity: 0.4;
	transform: scale3d(1.05,1.05,1);
}

.foogallery.fg-preset.fg-jazz .fg-caption:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-top: 1px solid rgba(255,255,255,0.4);
	border-bottom: 1px solid rgba(255,255,255,0.4);
	content: '';
	opacity: 0;
	transition: opacity 0.35s, transform 0.35s;
	transform: rotate3d(0,0,1,45deg) scale3d(1,0,1);
	transform-origin: 50% 50%;
}
.foogallery.fg-preset.fg-jazz .fg-item-inner:hover .fg-caption:before,
.foogallery.fg-preset.fg-jazz .fg-item-inner:focus-within .fg-caption:before {
	opacity: 1;
	transform: rotate3d(0,0,1,45deg) scale3d(1,1,1);
}

.foogallery.fg-preset.fg-jazz .fg-caption-inner {
	position: absolute;
	top: 0;
	left: 0;
	transform: translateY(-10px) translateY(50%);
	padding: 20px 10px;
	transition: transform .35s;
	overflow: visible;
	gap: 10px;
}
.foogallery.fg-preset.fg-jazz .fg-item-inner:focus-within .fg-caption-inner,
.foogallery.fg-preset.fg-jazz .fg-item-inner:hover .fg-caption-inner {
	transform: translateY(0);
}

.foogallery.fg-preset.fg-jazz .fg-caption-title {
	width: 100%;
	padding: 0;
	transition: transform 0.35s;
	opacity: 1;
	transform: translateY(-50%);
	transform-origin: top;
}
.foogallery.fg-preset.fg-jazz .fg-item-inner:hover .fg-caption-title,
.foogallery.fg-preset.fg-jazz .fg-item-inner:focus-within .fg-caption-title {
	transform: translateY(0);
}

.foogallery.fg-preset.fg-jazz .fg-caption-desc {
	padding: 0;
	text-transform: none;
	opacity: 0;
	transform: scale3d(0.8,0.8,1);
	transition: opacity 0.35s, transform 0.35s;
}
.foogallery.fg-preset.fg-jazz .fg-caption-inner:after {
	content: '';
	display: block;
	flex: 1;
}
.foogallery.fg-preset.fg-jazz .fg-item-inner:hover .fg-caption-desc,
.foogallery.fg-preset.fg-jazz .fg-item-inner:focus-within .fg-caption-desc {
	opacity: 1;
	transform: scale3d(1,1,1);
}

.foogallery.fg-preset.fg-jazz .fg-caption-buttons {
    pointer-events: none;
    opacity: 0;
    transform: scale3d(0.8,0.8,1);
    transition: opacity 0.35s, transform 0.35s;
}
.foogallery.fg-preset.fg-jazz .fg-item-inner:hover .fg-caption-buttons,
.foogallery.fg-preset.fg-jazz .fg-item-inner:focus-within .fg-caption-buttons {
    pointer-events: auto;
    opacity: 1;
    transform: scale3d(1,1,1);
}

/* Preset Sizes */
.foogallery.fg-preset.fg-preset-small.fg-jazz .fg-caption-inner {
	transform: translateY(-20px) translateY(50%);
	padding: 20px 10px;
	gap: 10px;
}
.foogallery.fg-preset.fg-preset-medium.fg-jazz .fg-caption-inner {
	transform: translateY(-30px) translateY(50%);
	padding: 30px 20px;
	gap: 20px;
}
.foogallery.fg-preset.fg-preset-large.fg-jazz .fg-caption-inner {
	transform: translateY(-40px) translateY(50%);
	padding: 40px 30px;
	gap: 30px;
}


/* Layla */
.foogallery.fg-preset.fg-layla .fg-thumb {
	background: #18a367;
}
.foogallery.fg-preset.fg-layla .fg-image {
	opacity: 1;
	-webkit-transform: scale(1.12) translateY(-10%);
	transform: scale(1.12) translateY(-10%);
	transform-origin: 50% 0;
	transition: opacity 0.35s, transform 0.35s;
	transition-delay: 0.15s;
}
.foogallery.fg-preset.fg-layla .fg-item-inner:hover .fg-image,
.foogallery.fg-preset.fg-layla .fg-item-inner:focus-within .fg-image {
	opacity: 0.4;
	-webkit-transform: scale(1.12) translateY(0);
	transform: scale(1.12) translateY(0);
}

.foogallery.fg-preset.fg-layla .fg-caption:before,
.foogallery.fg-preset.fg-layla .fg-caption:after {
	position: absolute;
	content: '';
	opacity: 0;
	box-sizing: border-box;
}
.foogallery.fg-preset.fg-layla .fg-caption:before {
	top: 15px;
	right: 5px;
	bottom: 15px;
	left: 5px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
}
.foogallery.fg-preset.fg-layla .fg-caption:after {
	top: 5px;
	right: 15px;
	bottom: 5px;
	left: 15px;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	-webkit-transform: scale(1,0);
	transform: scale(1,0);
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform-origin: 100% 0;
	transform-origin: 100% 0;
	transition-delay: 0.15s;
}
.foogallery.fg-preset.fg-layla .fg-item-inner:hover .fg-caption:before,
.foogallery.fg-preset.fg-layla .fg-item-inner:hover .fg-caption:after,
.foogallery.fg-preset.fg-layla .fg-item-inner:focus-within .fg-caption:before,
.foogallery.fg-preset.fg-layla .fg-item-inner:focus-within .fg-caption:after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.foogallery.fg-preset.fg-layla .fg-caption-inner {
	padding: 30px 25px 25px;
	clip-path: content-box;
	gap: 10px;
}
.foogallery.fg-preset.fg-layla .fg-caption-title {
	position: relative;
	transform: translateY(10px);
	transition: transform 0.35s;
	transition-delay: 0.15s;
}
.foogallery.fg-preset.fg-layla .fg-item-inner:hover .fg-caption-title,
.foogallery.fg-preset.fg-layla .fg-item-inner:focus-within .fg-caption-title {
	opacity: 1;
	transform: translateY(0px);
}

.foogallery.fg-preset.fg-layla .fg-caption-desc {
	position: relative;
	padding: 0;
	text-transform: none;
	opacity: 0;
	transform: translateY(-20px);
	transition: opacity 0.35s, transform 0.35s;
	transition-delay: 0.15s;
}
.foogallery.fg-preset.fg-layla .fg-item-inner:hover .fg-caption-desc,
.foogallery.fg-preset.fg-layla .fg-item-inner:focus-within .fg-caption-desc {
	opacity: 1;
	transform: translateY(0px);
}

.foogallery.fg-preset.fg-layla .fg-caption-buttons {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.35s, transform 0.35s;
    transition-delay: 0.15s;
}
.foogallery.fg-preset.fg-layla .fg-item-inner:hover .fg-caption-buttons,
.foogallery.fg-preset.fg-layla .fg-item-inner:focus-within .fg-caption-buttons {
    opacity: 1;
    transform: translateY(0px);
}

/* Preset Sizes */
.foogallery.fg-preset.fg-preset-small.fg-layla .fg-caption-inner {
	padding: 30px 25px 25px;
}
.foogallery.fg-preset.fg-preset-small.fg-layla .fg-caption:before {
	top: 15px;
	right: 5px;
	bottom: 15px;
	left: 5px;
}
.foogallery.fg-preset.fg-preset-small.fg-layla .fg-caption:after {
	top: 5px;
	right: 15px;
	bottom: 5px;
	left: 15px;
}

.foogallery.fg-preset.fg-preset-medium.fg-layla .fg-caption-inner {
	padding: 40px 35px 35px;
}
.foogallery.fg-preset.fg-preset-medium.fg-layla .fg-caption:before {
	top: 25px;
	right: 10px;
	bottom: 25px;
	left: 10px;
}
.foogallery.fg-preset.fg-preset-medium.fg-layla .fg-caption:after {
	top: 10px;
	right: 25px;
	bottom: 10px;
	left: 25px;
}

.foogallery.fg-preset.fg-preset-large.fg-layla .fg-caption-inner {
	padding: 50px 45px 45px;
}
.foogallery.fg-preset.fg-preset-large.fg-layla .fg-caption:before {
	top: 35px;
	right: 15px;
	bottom: 35px;
	left: 15px;
}
.foogallery.fg-preset.fg-preset-large.fg-layla .fg-caption:after {
	top: 15px;
	right: 35px;
	bottom: 15px;
	left: 35px;
}
/* Lily */
.foogallery.fg-preset.fg-lily .fg-thumb {
	background: #3085a3;
}
.foogallery.fg-preset.fg-lily .fg-image {
	opacity: 1;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.12) translateX(-10%);
	transform: scale(1.12) translateX(-10%);
	transform-origin: 0 50%;
}
.foogallery.fg-preset.fg-lily .fg-item-inner:hover .fg-image,
.foogallery.fg-preset.fg-lily .fg-item-inner:focus-within .fg-image {
	opacity: 0.4;
	-webkit-transform: scale(1.12) translateX(0);
	transform: scale(1.12) translateX(0);
}

.foogallery.fg-preset.fg-lily .fg-caption-inner {
	overflow: visible;
	gap: 0;
	position: absolute;
	bottom: 0;
	left: 0;
	height: auto;
	max-height: 100%;
	transition: transform 0.35s;
	transform: translateY(100%);
}
.foogallery.fg-preset.fg-lily .fg-item-inner:hover .fg-caption-inner,
.foogallery.fg-preset.fg-lily .fg-item-inner:focus-within .fg-caption-inner {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.foogallery.fg-preset.fg-lily .fg-caption-title {
	position: relative;
	padding: 10px;
	transform: translateY(-100%);
	transition: transform .35s;
	overflow: visible;
}
.foogallery.fg-preset.fg-lily .fg-item-inner:focus-within .fg-caption-title,
.foogallery.fg-preset.fg-lily .fg-item-inner:hover .fg-caption-title {
	transform: translateY(0);
}

.foogallery.fg-preset.fg-lily .fg-caption-desc {
	padding: 0 10px 10px;
	clip-path: content-box;
	opacity: 0;
	transition: opacity 0.35s;
}
.foogallery.fg-preset.fg-lily .fg-item-inner:hover .fg-caption-desc,
.foogallery.fg-preset.fg-lily .fg-item-inner:focus-within .fg-caption-desc {
	opacity: 1;
}

.foogallery.fg-preset.fg-lily .fg-caption-buttons {
    padding: 0 10px 10px;
}

/* Preset Sizes */
.foogallery.fg-preset.fg-preset-small.fg-lily .fg-caption-title {
	padding: 10px;
}
.foogallery.fg-preset.fg-preset-small.fg-lily .fg-caption-desc {
	padding: 0 10px 10px;
}
.foogallery.fg-preset.fg-preset-small.fg-lily .fg-caption-buttons {
    padding: 0 10px 10px;
}

.foogallery.fg-preset.fg-preset-medium.fg-lily .fg-caption-title {
	padding: 15px;
}
.foogallery.fg-preset.fg-preset-medium.fg-lily .fg-caption-desc {
	padding: 0 15px 15px;
}
.foogallery.fg-preset.fg-preset-medium.fg-lily .fg-caption-buttons {
    padding: 0 15px 15px;
}

.foogallery.fg-preset.fg-preset-large.fg-lily .fg-caption-title {
	padding: 20px;
}
.foogallery.fg-preset.fg-preset-large.fg-lily .fg-caption-desc {
	padding: 0 20px 20px;
}
.foogallery.fg-preset.fg-preset-large.fg-lily .fg-caption-buttons {
    padding: 0 20px 20px;
}
/* Ming */
.foogallery.fg-preset.fg-ming .fg-thumb {
	background-color: #030c17;
	transition: background-color 0.35s;
}
.foogallery.fg-preset.fg-ming .fg-item-inner:hover .fg-thumb,
.foogallery.fg-preset.fg-ming .fg-item-inner:focus-within .fg-thumb {
	background-color: #3A342A;
}
.foogallery.fg-preset.fg-ming .fg-image {
	opacity: 1;
	transition: opacity 0.35s;
}
.foogallery.fg-preset.fg-ming .fg-item-inner:hover .fg-image,
.foogallery.fg-preset.fg-ming .fg-item-inner:focus-within .fg-image {
	opacity: 0.4;
}

.foogallery.fg-preset.fg-ming .fg-caption:before {
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
	transition: opacity 0.35s, transform 0.35s;
}
.foogallery.fg-preset.fg-ming .fg-item-inner:hover .fg-caption:before,
.foogallery.fg-preset.fg-ming .fg-item-inner:focus-within .fg-caption:before {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.foogallery.fg-preset.fg-ming .fg-caption-inner {
	border: solid 10px transparent;
	padding: 20px 10px 10px;
}

.foogallery.fg-preset.fg-ming .fg-caption-title {
	margin: 0;
	transition: transform 0.35s;
	-webkit-transform: scale(1);
	transform: scale(1);
}
.foogallery.fg-preset.fg-ming .fg-item-inner:hover .fg-caption-title,
.foogallery.fg-preset.fg-ming .fg-item-inner:focus-within .fg-caption-title {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

.foogallery.fg-preset.fg-ming .fg-caption-desc {
	padding: 4px;
	opacity: 0;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
	transition: opacity 0.35s, transform 0.35s;
	text-transform: none;
}
.foogallery.fg-preset.fg-ming .fg-item-inner:hover .fg-caption-desc,
.foogallery.fg-preset.fg-ming .fg-item-inner:focus-within .fg-caption-desc {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.foogallery.fg-preset.fg-ming .fg-caption-title+.fg-caption-desc {
	margin: 0;
}

.foogallery.fg-preset.fg-ming .fg-caption-buttons {
    opacity: 0;
    transform: scale(1.5);
    transition: opacity 0.35s, transform 0.35s;
}
.foogallery.fg-preset.fg-ming .fg-item-inner:hover .fg-caption-buttons,
.foogallery.fg-preset.fg-ming .fg-item-inner:focus-within .fg-caption-buttons {
    opacity: 1;
    transform: scale(1);
}

/* Preset Sizes */
.foogallery.fg-preset.fg-preset-small.fg-ming .fg-caption-inner {
	border: solid 10px transparent;
}
.foogallery.fg-preset.fg-preset-small.fg-ming .fg-caption:before {
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
}

.foogallery.fg-preset.fg-preset-medium.fg-ming .fg-caption-inner {
	border: solid 20px transparent;
}
.foogallery.fg-preset.fg-preset-medium.fg-ming .fg-caption:before {
	top: 20px;
	right: 20px;
	bottom: 20px;
	left: 20px;
}

.foogallery.fg-preset.fg-preset-large.fg-ming .fg-caption-inner {
	border: solid 30px transparent;
}
.foogallery.fg-preset.fg-preset-large.fg-ming .fg-caption:before {
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
}
/* Oscar */
.foogallery.fg-preset.fg-oscar .fg-thumb {
	background: -webkit-linear-gradient(45deg, #22682a 0%, #9b4a1b 40%, #3a342a 100%);
	background: linear-gradient(45deg, #22682a 0%,#9b4a1b 40%,#3a342a 100%);
}
.foogallery.fg-preset.fg-oscar .fg-image {
	opacity: 1;
	transition: opacity 0.35s;
}
.foogallery.fg-preset.fg-oscar .fg-item-inner:hover .fg-image,
.foogallery.fg-preset.fg-oscar .fg-item-inner:focus-within .fg-image {
	opacity: 0.4;
}

.foogallery.fg-preset.fg-oscar .fg-caption {
	background-color: transparent;
	transition: background-color 0.35s;
}
.foogallery.fg-preset.fg-oscar .fg-item-inner:hover .fg-caption,
.foogallery.fg-preset.fg-oscar .fg-item-inner:focus-within .fg-caption {
	background-color: rgba(58,52,42,0);
}

.foogallery.fg-preset.fg-oscar .fg-caption:before {
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	border: 1px solid #fff;
	content: '';
	opacity: 0;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(0);
	transform: scale(0);
}
.foogallery.fg-preset.fg-oscar .fg-item-inner:hover .fg-caption:before,
.foogallery.fg-preset.fg-oscar .fg-item-inner:focus-within .fg-caption:before {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.foogallery.fg-preset.fg-oscar .fg-caption-inner {
	padding: 30px 25px 25px;
	transform: translateY(50%) translateY(-30px);
	overflow: visible;
	transition: transform .35s;
	gap: 10px;
}
.foogallery.fg-preset.fg-oscar .fg-item-inner:focus-within .fg-caption-inner,
.foogallery.fg-preset.fg-oscar .fg-item-inner:hover .fg-caption-inner {
    transform: translateY(0);
}

.foogallery.fg-preset.fg-oscar .fg-caption-title {
	position: relative;
	transition: transform 0.35s;
	transform: translateY(-50%);
	overflow: clip;
}
.foogallery.fg-preset.fg-oscar .fg-item-inner:hover .fg-caption-title,
.foogallery.fg-preset.fg-oscar .fg-item-inner:focus-within .fg-caption-title {
	transform: translateY(0);
}

.foogallery.fg-preset.fg-oscar .fg-caption-desc {
	position: relative;
	padding: 0;
	text-transform: none;
	transition: opacity 0.35s, transform 0.35s;
	opacity: 0;
	transform: scale(0) translateY(-60px);
}
.foogallery.fg-preset.fg-oscar .fg-item-inner:hover .fg-caption-desc,
.foogallery.fg-preset.fg-oscar .fg-item-inner:focus-within .fg-caption-desc {
	opacity: 1;
	transform: scale(1) translateY(0);
}

.foogallery.fg-preset.fg-oscar .fg-caption-buttons {
    opacity: 0;
    transform: scale(0) translateY(-60px);
    transition: opacity 0.35s, transform 0.35s;
}
.foogallery.fg-preset.fg-oscar .fg-item-inner:hover .fg-caption-buttons,
.foogallery.fg-preset.fg-oscar .fg-item-inner:focus-within .fg-caption-buttons {
    opacity: 1;
    transform: scale(1) translateY(0px);
}

/* Preset Sizes */
.foogallery.fg-preset.fg-preset-small.fg-oscar .fg-caption-inner {
	padding: 30px 25px 25px;
	transform: translateY(50%) translateY(-30px);
}
.foogallery.fg-preset.fg-preset-small.fg-oscar .fg-caption:before {
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
}

.foogallery.fg-preset.fg-preset-medium.fg-oscar .fg-caption-inner {
	padding: 40px 35px 35px;
	transform: translateY(50%) translateY(-40px);
}
.foogallery.fg-preset.fg-preset-medium.fg-oscar .fg-caption:before {
	top: 20px;
	right: 20px;
	bottom: 20px;
	left: 20px;
}

.foogallery.fg-preset.fg-preset-large.fg-oscar .fg-caption-inner {
	padding: 50px 45px 45px;
	transform: translateY(50%) translateY(-50px);
}
.foogallery.fg-preset.fg-preset-large.fg-oscar .fg-caption:before {
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
}
/* Sadie */
.foogallery.fg-preset.fg-sadie .fg-thumb {
	background: #3085a3;
}
.foogallery.fg-preset.fg-sadie .fg-image {
	opacity: 1;
}
.foogallery.fg-preset.fg-sadie .fg-item-inner:hover .fg-image,
.foogallery.fg-preset.fg-sadie .fg-item-inner:focus-within .fg-image {
	opacity: 0.4;
}

.foogallery.fg-preset.fg-sadie .fg-caption:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: -webkit-linear-gradient(top, rgba(72,76,97,0) 0%, rgba(72,76,97,0.8) 75%);
	background: linear-gradient(to bottom, rgba(72,76,97,0) 0%, rgba(72,76,97,0.8) 75%);
	content: '';
	opacity: 0;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translateY(50%);
	transform: translateY(50%);
}
.foogallery.fg-preset.fg-sadie .fg-item-inner:hover .fg-caption:before,
.foogallery.fg-preset.fg-sadie .fg-item-inner:focus-within .fg-caption:before {
	opacity: 1;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.foogallery.fg-preset.fg-sadie .fg-caption-inner {
	padding: 30px 10px 10px;
	transform: translateY(50%) translateY(-30px);
	overflow: visible;
	transition: transform .35s;
	gap: 20px;
}
.foogallery.fg-preset.fg-sadie .fg-item-inner:focus-within .fg-caption-inner,
.foogallery.fg-preset.fg-sadie .fg-item-inner:hover .fg-caption-inner {
	transform: translateY(0px);
}

.foogallery.fg-preset.fg-sadie .fg-caption-title {
	position: relative;
	width: 100%;
	color: #fff;
	transition: transform 0.35s;
	transform: translateY(-50%);
}
.foogallery.fg-preset.fg-sadie .fg-item-inner:hover .fg-caption-title,
.foogallery.fg-preset.fg-sadie .fg-item-inner:focus-within .fg-caption-title {
	transform: translateY(0px);
}

.foogallery.fg-preset.fg-sadie .fg-caption-desc {
	position: relative;
	padding: 0;
	width: 100%;
	opacity: 0;
	transform: translateY(-100%);
	transition: opacity 0.35s, transform 0.35s;
}
.foogallery.fg-preset.fg-sadie .fg-item-inner:hover .fg-caption-desc,
.foogallery.fg-preset.fg-sadie .fg-item-inner:focus-within .fg-caption-desc {
	opacity: 1;
	transform: translateY(0);
}

.foogallery.fg-preset.fg-sadie .fg-caption-buttons {
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.35s, transform 0.35s;
}
.foogallery.fg-preset.fg-sadie .fg-item-inner:hover .fg-caption-buttons,
.foogallery.fg-preset.fg-sadie .fg-item-inner:focus-within .fg-caption-buttons {
    opacity: 1;
    transform: translateY(0px);
}

/* Preset Sizes */
.foogallery.fg-preset.fg-preset-small.fg-sadie .fg-caption-inner {
	padding: 30px 10px 10px;
}

.foogallery.fg-preset.fg-preset-medium.fg-sadie .fg-caption-inner {
	padding: 30px 15px 15px;
}

.foogallery.fg-preset.fg-preset-large.fg-sadie .fg-caption-inner {
	padding: 30px 20px 20px;
}
/* Sarah */
.foogallery.fg-preset.fg-sarah .fg-thumb {
	background: #42b078;
}
.foogallery.fg-preset.fg-sarah .fg-image {
	opacity: 1;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.12) translateX(-10%);
	transform: scale(1.12) translateX(-10%);
	transform-origin: 0 50%;
}
.foogallery.fg-preset.fg-sarah .fg-item-inner:hover .fg-image,
.foogallery.fg-preset.fg-sarah .fg-item-inner:focus-within .fg-image {
	opacity: 0.4;
	-webkit-transform: scale(1.12) translateX(0);
	transform: scale(1.12) translateX(0);
}

.foogallery.fg-preset.fg-sarah .fg-caption {
	text-align: left;
}

.foogallery.fg-preset.fg-sarah .fg-caption-inner {
	gap: 10px;
	padding: 10px;
	clip-path: content-box;
}
.foogallery.fg-preset.fg-sarah .fg-caption-inner:after {
	content: '';
	display: block;
	width: 100%;
	height: 3px;
	background: #fff;
	transition: transform 0.35s;
	transform: translateX(-101%);
	order: 2;
}
.foogallery.fg-preset.fg-sarah .fg-item-inner:hover .fg-caption-inner:after,
.foogallery.fg-preset.fg-sarah .fg-item-inner:focus-within .fg-caption-inner:after {
	transform: translateX(0);
}

.foogallery.fg-preset.fg-sarah .fg-caption-title {
	position: relative;
	overflow: visible;
	order: 1;
    width: 100%;
}

.foogallery.fg-preset.fg-sarah .fg-caption-desc {
	padding: 0;
	opacity: 0;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
	order: 3;
    width: 100%;
}
.foogallery.fg-preset.fg-sarah .fg-item-inner:hover .fg-caption-desc,
.foogallery.fg-preset.fg-sarah .fg-item-inner:focus-within .fg-caption-desc {
	opacity: 1;
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.foogallery.fg-preset.fg-sarah .fg-caption-buttons {
    justify-content: flex-start;
    order: 4;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.35s, transform 0.35s;
}
.foogallery.fg-preset.fg-sarah .fg-item-inner:hover .fg-caption-buttons,
.foogallery.fg-preset.fg-sarah .fg-item-inner:focus-within .fg-caption-buttons {
    opacity: 1;
    transform: translateX(0px);
}

/* Preset Sizes */
.foogallery.fg-preset.fg-preset-small.fg-sarah .fg-caption-inner {
	gap: 10px;
	padding: 10px;
}

.foogallery.fg-preset.fg-preset-medium.fg-sarah .fg-caption-inner {
	gap: 15px;
	padding: 15px;
}

.foogallery.fg-preset.fg-preset-large.fg-sarah .fg-caption-inner {
	gap: 20px;
	padding: 20px;
}

/* Text Align */
.foogallery.fg-preset.fg-sarah.fg-c-l .fg-caption {
    text-align: left;
}
.foogallery.fg-preset.fg-sarah.fg-c-l .fg-caption-buttons {
    justify-content: flex-start;
}
.foogallery.fg-preset.fg-sarah.fg-c-c .fg-caption {
    text-align: center;
}
.foogallery.fg-preset.fg-sarah.fg-c-c .fg-caption-buttons {
    justify-content: center;
}
.foogallery.fg-preset.fg-sarah.fg-c-r .fg-caption {
    text-align: right;
}
.foogallery.fg-preset.fg-sarah.fg-c-r .fg-caption-buttons {
    justify-content: flex-end;
}
.foogallery.fg-preset.fg-sarah.fg-c-j .fg-caption {
    text-align: justify;
}
.foogallery.fg-preset.fg-sarah.fg-c-j .fg-caption-buttons {
    justify-content: stretch;
}
/* Selena */
.foogallery.fg-preset.fg-selena .fg-thumb {
	opacity: 1;
	transition: transform 0.35s;
	-webkit-transform: scale(1);
	transform: scale(1);
	transform-origin: 50% 50%;
	background-color: #333;
}
.foogallery.fg-preset.fg-selena .fg-item-inner:hover .fg-thumb,
.foogallery.fg-preset.fg-selena .fg-item-inner:focus-within .fg-thumb {
	-webkit-transform: scale(0.92);
	transform: scale(0.92);
}
.foogallery.fg-preset.fg-selena .fg-image {
	opacity: 1;
	transition: opacity 0.35s;
}
.foogallery.fg-preset.fg-selena .fg-item-inner:hover .fg-image,
.foogallery.fg-preset.fg-selena .fg-item-inner:focus-within .fg-image {
	opacity: 0.6;
}

.foogallery.fg-preset.fg-selena .fg-caption-inner {
	gap: 10px;
	padding: calc(4% + 10px);
	clip-path: content-box;
}

.foogallery.fg-preset.fg-selena .fg-caption-title {
	position: relative;
	padding: 0;
	transition: transform 0.35s;
	overflow: visible;
	transform: translateY(1em);
}
.foogallery.fg-preset.fg-selena .fg-item-inner:hover .fg-caption-title,
.foogallery.fg-preset.fg-selena .fg-item-inner:focus-within .fg-caption-title {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.foogallery.fg-preset.fg-selena .fg-caption-desc {
	padding: 0;
	opacity: 0;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translateY(-100%);
	transform: translateY(-100%);
}
.foogallery.fg-preset.fg-selena .fg-item-inner:hover .fg-caption-desc,
.foogallery.fg-preset.fg-selena .fg-item-inner:focus-within .fg-caption-desc {
	opacity: 1;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.foogallery.fg-preset.fg-selena .fg-caption-buttons {
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.35s, transform 0.35s;
}
.foogallery.fg-preset.fg-selena .fg-item-inner:hover .fg-caption-buttons,
.foogallery.fg-preset.fg-selena .fg-item-inner:focus-within .fg-caption-buttons {
    opacity: 1;
    transform: translateY(0px);
}

/* Preset Sizes */
.foogallery.fg-preset.fg-preset-small.fg-selena .fg-caption-inner {
	gap: 10px;
	padding: calc(4% + 10px);
}
.foogallery.fg-preset.fg-preset-medium.fg-selena .fg-caption-inner {
	gap: 15px;
	padding: calc(4% + 15px);
}
.foogallery.fg-preset.fg-preset-large.fg-selena .fg-caption-inner {
	gap: 20px;
	padding: calc(4% + 20px);
}
/* Steve */
.foogallery.fg-preset.fg-steve .fg-item-inner {
	overflow: visible;
}

.foogallery.fg-preset.fg-steve .fg-image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	content: '';
	box-shadow: 0 1px 30px rgba(0,0,0,0.5);
	transition: opacity 0.35s;
	opacity: 0;
}
.foogallery.fg-preset.fg-steve .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-preset.fg-steve .fg-item-inner:focus-within .fg-image-overlay {
	opacity: 1;
}

.foogallery.fg-preset.fg-steve .fg-image {
	opacity: 1;
	transition: transform 0.35s;
	-webkit-transform: perspective(1000px) translate3d(0,0,0);
	transform: perspective(1000px) translate3d(0,0,0);
}
.foogallery.fg-preset.fg-steve .fg-item-inner:hover .fg-image,
.foogallery.fg-preset.fg-steve .fg-item-inner:focus-within .fg-image {
	-webkit-transform: perspective(1000px) translate3d(0,0,21px);
	transform: perspective(1000px) translate3d(0,0,21px);
}

.foogallery.fg-preset.fg-steve .fg-caption-inner {
	gap: 10px;
	padding: 20px 10px;
	clip-path: content-box;
	text-shadow: none;
	transition: text-shadow .35s;
	overflow: visible;
}

.foogallery.fg-preset.fg-steve .fg-caption-title {
	overflow: visible;
	position: relative;
	padding: 5px 10px;
	line-height: 1.4;
	width: 100%;
	margin: 0;
	transition: box-shadow 0.35s;
	box-shadow: 0 1px 10px rgba(0,0,0,0.5);
	clip-path: border-box;
}
.foogallery.fg-preset.fg-steve .fg-item-inner:hover .fg-caption-title,
.foogallery.fg-preset.fg-steve .fg-item-inner:focus-within .fg-caption-title {
	box-shadow: 0 1px 10px rgba(0,0,0,0);
}

.foogallery.fg-preset.fg-steve .fg-caption-desc {
	position: relative;
	padding: 5px 10px 0;
	border-bottom: solid 5px #FFF;
	line-height: 1.4;
	width: 100%;
	height: auto;
	opacity: 0;
	background-color: #FFF;
	transition: opacity 0.35s, transform 0.35s;
	transform: scale(0.9);
	transform-origin: 50% 50%;
	clip-path: border-box;
}
.foogallery.fg-preset.fg-steve .fg-item-inner:hover .fg-caption-desc,
.foogallery.fg-preset.fg-steve .fg-item-inner:focus-within .fg-caption-desc {
	opacity: 1;
	transform: scale(1);
}

.foogallery.fg-preset.fg-steve .fg-caption-buttons {
    opacity: 0;
    padding: 5px 10px;
    background-color: #FFF;
    transition: opacity 0.35s, transform 0.35s;
    transform: scale(0.9);
    transform-origin: 50% 50%;
}
.foogallery.fg-preset.fg-steve .fg-item-inner:hover .fg-caption-buttons,
.foogallery.fg-preset.fg-steve .fg-item-inner:focus-within .fg-caption-buttons {
    opacity: 1;
    transform: scale(1);
}

/* Preset Sizes */
.foogallery.fg-preset.fg-preset-small.fg-steve .fg-caption-inner {
	padding: 20px 10px;
}
.foogallery.fg-preset.fg-preset-medium.fg-steve .fg-caption-inner {
	padding: 30px 20px;
}
.foogallery.fg-preset.fg-preset-large.fg-steve .fg-caption-inner {
	padding: 40px 30px;
}

/* Themes */
.foogallery.fg-preset.fg-steve .fg-caption-title,
.foogallery.fg-preset.fg-steve .fg-caption-desc,
.foogallery.fg-preset.fg-steve .fg-caption-buttons,
.foogallery.fg-light.fg-preset.fg-steve .fg-caption-title,
.foogallery.fg-light.fg-preset.fg-steve .fg-caption-desc,
.foogallery.fg-light.fg-preset.fg-steve .fg-caption-buttons {
	background-color: #FFF;
	color: #333;
}
.foogallery.fg-light.fg-preset.fg-steve .fg-caption-desc {
	border-bottom-color: #FFF;
}
.foogallery.fg-dark.fg-preset.fg-steve .fg-caption-title,
.foogallery.fg-dark.fg-preset.fg-steve .fg-caption-desc,
.foogallery.fg-dark.fg-preset.fg-steve .fg-caption-buttons {
	background-color: #555;
	color: #FFF;
}
.foogallery.fg-dark.fg-preset.fg-steve .fg-caption-desc {
	border-bottom-color: #555;
}

/* Inset Shadows */
.foogallery.fg-preset.fg-steve.fg-shadow-inset-small .fg-thumb:after,
.foogallery.fg-preset.fg-steve.fg-shadow-inset-medium .fg-thumb:after,
.foogallery.fg-preset.fg-steve.fg-shadow-inset-large .fg-thumb:after {
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: perspective(1000px) translate3d(0,0,0);
	transform: perspective(1000px) translate3d(0,0,0);
	opacity: 1;
}
.foogallery.fg-preset.fg-steve.fg-shadow-inset-small .fg-item-inner:hover .fg-thumb:after,
.foogallery.fg-preset.fg-steve.fg-shadow-inset-medium .fg-item-inner:hover .fg-thumb:after,
.foogallery.fg-preset.fg-steve.fg-shadow-inset-large .fg-item-inner:hover .fg-thumb:after,
.foogallery.fg-preset.fg-steve.fg-shadow-inset-small .fg-item-inner .fg-thumb:focus:after,
.foogallery.fg-preset.fg-steve.fg-shadow-inset-medium .fg-item-inner .fg-thumb:focus:after,
.foogallery.fg-preset.fg-steve.fg-shadow-inset-large .fg-item-inner .fg-thumb:focus:after {
	-webkit-transform: perspective(1000px) translate3d(0,0,21px);
	transform: perspective(1000px) translate3d(0,0,21px);
	opacity: 0;
}
/* Zoe */
.foogallery.fg-preset.fg-zoe .fg-thumb {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: transform 0.35s;
	-webkit-transform: translateY(0);
	transform: translateY(0);
	background-color: #333;
}
.foogallery.fg-preset.fg-zoe .fg-item-inner:hover .fg-thumb,
.foogallery.fg-preset.fg-zoe .fg-item-inner:focus-within .fg-thumb {
	-webkit-transform: translateY(-40px);
	transform: translateY(-40px);
}
.foogallery.fg-preset.fg-zoe .fg-item-inner .fg-image {
	opacity: 1;
	transition: opacity .35s;
}
.foogallery.fg-preset.fg-zoe .fg-item-inner:focus-within .fg-image,
.foogallery.fg-preset.fg-zoe .fg-item-inner:hover .fg-image {
	opacity: .6;
}

.foogallery.fg-preset.fg-zoe .fg-caption-inner {
	position: absolute;
	top: 0;
	left: 0;
	gap: 0;
	padding: 0;
	clip-path: content-box;
	flex-direction: column-reverse;
	overflow: visible;
}

.foogallery.fg-preset.fg-zoe .fg-caption-title {
	position: relative;
	padding: 10px;
	width: 100%;
	overflow: hidden;
	bottom: unset;
	margin: 0;
	transform: translateY(100%) translateY(10px);
	height: 40px;
	min-height: 40px;
	line-height: 20px;
	-webkit-line-clamp: 1;
	align-items: center;
	transition: transform 0.35s;
	text-shadow: none;
}
.foogallery.fg-preset.fg-zoe .fg-item-inner:hover .fg-caption-title,
.foogallery.fg-preset.fg-zoe .fg-item-inner:focus-within .fg-caption-title {
	transform: translateY(0);
}

.foogallery.fg-preset.fg-zoe .fg-caption-desc {
	position: relative;
	padding: 10px;
	opacity: 0;
	width: 100%;
	transform: translateY(100%);
	line-height: 1.2;
	transition: opacity 0.35s, transform 0.35s;
}
.foogallery.fg-preset.fg-zoe .fg-item-inner:hover .fg-caption-desc,
.foogallery.fg-preset.fg-zoe .fg-item-inner:focus-within .fg-caption-desc {
	opacity: 1;
	transform: translateY(0);
}

.foogallery.fg-preset.fg-zoe .fg-caption-buttons {
    padding: 10px 10px 0;
    opacity: 0;
    transition: opacity 0.35s, transform 0.35s;
    transform: translateY(100%);
}
.foogallery.fg-preset.fg-zoe .fg-item-inner:hover .fg-caption-buttons,
.foogallery.fg-preset.fg-zoe .fg-item-inner:focus-within .fg-caption-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Preset Sizes */
.foogallery.fg-preset.fg-preset-small.fg-zoe .fg-item-inner:hover .fg-thumb,
.foogallery.fg-preset.fg-preset-small.fg-zoe .fg-item-inner:focus-within .fg-thumb {
	-webkit-transform: translateY(-40px);
	transform: translateY(-40px);
}
.foogallery.fg-preset.fg-preset-small.fg-zoe .fg-caption-title {
	height: 40px;
	min-height: 40px;
	line-height: 20px;
}
.foogallery.fg-preset.fg-preset-small.fg-zoe .fg-item-inner:hover .fg-caption-title,
.foogallery.fg-preset.fg-preset-small.fg-zoe .fg-item-inner:focus-within .fg-caption-title {
	transform: translateY(0);
}
.foogallery.fg-preset.fg-preset-small.fg-zoe .fg-caption-desc {
	line-height: 1.2;
	padding: 10px;
}
.foogallery.fg-preset.fg-preset-small.fg-zoe .fg-caption-buttons {
    padding: 10px 10px 0;
}


.foogallery.fg-preset.fg-preset-medium.fg-zoe .fg-item-inner:hover .fg-thumb,
.foogallery.fg-preset.fg-preset-medium.fg-zoe .fg-item-inner:focus-within .fg-thumb {
	-webkit-transform: translateY(-60px);
	transform: translateY(-60px);
}
.foogallery.fg-preset.fg-preset-medium.fg-zoe .fg-caption-title {
	height: 60px;
	min-height: 60px;
	line-height: 40px;
}
.foogallery.fg-preset.fg-preset-medium.fg-zoe .fg-item-inner:hover .fg-caption-title,
.foogallery.fg-preset.fg-preset-medium.fg-zoe .fg-item-inner:focus-within .fg-caption-title {
	transform: translateY(0);
}
.foogallery.fg-preset.fg-preset-medium.fg-zoe .fg-caption-desc {
	line-height: 1.2;
	padding: 15px;
}
.foogallery.fg-preset.fg-preset-medium.fg-zoe .fg-caption-buttons {
    padding: 15px 15px 0;
}


.foogallery.fg-preset.fg-preset-large.fg-zoe .fg-item-inner:hover .fg-thumb,
.foogallery.fg-preset.fg-preset-large.fg-zoe .fg-item-inner:focus-within .fg-thumb {
	-webkit-transform: translateY(-80px);
	transform: translateY(-80px);
}
.foogallery.fg-preset.fg-preset-large.fg-zoe .fg-caption-title {
	height: 80px;
	min-height: 80px;
	line-height: 60px;
}
.foogallery.fg-preset.fg-preset-large.fg-zoe .fg-item-inner:hover .fg-caption-title,
.foogallery.fg-preset.fg-preset-large.fg-zoe .fg-item-inner:focus-within .fg-caption-title {
	transform: translateY(0);
}
.foogallery.fg-preset.fg-preset-large.fg-zoe .fg-caption-desc {
	line-height: 1.3;
	padding: 20px;
}
.foogallery.fg-preset.fg-preset-large.fg-zoe .fg-caption-buttons {
    padding: 20px 20px 0;
}

/* Themes */
.foogallery.fg-preset.fg-zoe .fg-caption-title,
.foogallery.fg-light.fg-preset.fg-zoe .fg-caption-title {
	color: #333;
}
.foogallery.fg-dark.fg-preset.fg-zoe .fg-caption-title {
	color: #FFF;
}
/* 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-semi-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 {
	filter: grayscale(100%);
	transition-property: filter;
}
.foogallery.fg-hover-colorize .fg-item-inner:hover .fg-image,
.foogallery.fg-hover-colorize .fg-item-inner:focus-within .fg-image {
	filter: grayscale(0%);
}
.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,
.foogallery.fg-hover-colorize .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-colorize .fg-item-inner:focus-within .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,
.foogallery.fg-hover-fade .fg-loaded .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-fade .fg-loaded .fg-item-inner:focus-within .fg-caption {
	visibility: visible;
	opacity: 1;
}
/* Grayscale */
.foogallery.fg-hover-grayscale .fg-image {
	filter: grayscale(0%);
	transition-property: filter;
}
.foogallery.fg-hover-grayscale .fg-item-inner:hover .fg-image,
.foogallery.fg-hover-grayscale .fg-item-inner:focus-within .fg-image {
	filter: grayscale(100%);
}
.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,
.foogallery.fg-hover-grayscale .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-grayscale .fg-item-inner:focus-within .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,
.foogallery.fg-hover-instant .fg-loaded .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-instant .fg-loaded .fg-item-inner:focus-within .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,
.foogallery.fg-caption-hover.fg-hover-push .fg-loaded .fg-item-inner:focus-within .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,
.foogallery.fg-hover-push .fg-loaded .fg-item-inner .fg-thumb:focus,
.foogallery.fg-caption-hover.fg-hover-push .fg-loaded .fg-item-inner .fg-thumb:focus {
	transform: translateX(-100%);
}
/* Scale */
.foogallery.fg-hover-scale .fg-item {
	transition-property: transform;
	z-index: 4;
}

.foogallery.fg-hover-scale .fg-item:hover,
.foogallery.fg-hover-scale .fg-item:focus-within {
	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,
.foogallery.fg-hover-scale .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-scale .fg-item-inner:focus-within .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,
.foogallery.fg-hover-zoomed .fg-item:focus-within .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,
.foogallery.fg-hover-zoomed .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-zoomed .fg-item-inner:focus-within .fg-caption {
    visibility: visible;
    opacity: 1;
}
/* Zoomed */
.foogallery.fg-hover-semi-zoomed .fg-image {
    transition-property: transform;
    z-index: 4;
}
.foogallery.fg-hover-semi-zoomed .fg-item:hover .fg-image,
.foogallery.fg-hover-semi-zoomed .fg-item:focus-within .fg-image {
    transform: scale(1.05);
}
.foogallery.fg-hover-semi-zoomed .fg-image-wrap {
    overflow: hidden;
}

.foogallery.fg-hover-semi-zoomed .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-semi-zoomed .fg-caption {
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    transition-property: visibility, opacity, background-color;
}
.foogallery.fg-hover-semi-zoomed .fg-item-inner:hover .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-semi-zoomed .fg-item-inner:hover .fg-caption,
.foogallery.fg-hover-semi-zoomed .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-semi-zoomed .fg-item-inner:focus-within .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,
.foogallery.fg-hover-slide-up .fg-loaded .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-up .fg-loaded .fg-item-inner:focus-within .fg-caption,
.foogallery.fg-hover-slide-down .fg-loaded .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-down .fg-loaded .fg-item-inner:focus-within .fg-caption,
.foogallery.fg-hover-slide-left .fg-loaded .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-left .fg-loaded .fg-item-inner:focus-within .fg-caption,
.foogallery.fg-hover-slide-right .fg-loaded .fg-item-inner:focus-within .fg-image-overlay,
.foogallery.fg-caption-hover.fg-hover-slide-right .fg-loaded .fg-item-inner:focus-within .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-filtering-container, .fg-filtering-container *, .fg-filtering-container *:before, .fg-filtering-container *:after {
	box-sizing: border-box;
}

.fg-filtering-container {
    --fg-base-size: 16px;
    --fg-search-width: calc( var( --fg-base-size ) * 14 );
    --fg-height: calc( var( --fg-base-size ) * 2.2 );
    --fg-base-25: calc( var( --fg-base-size ) / 4 );
    --fg-base-33: calc( var( --fg-base-size ) / 3 );
    --fg-base-50: calc( var( --fg-base-size ) / 2 );
    --fg-base-66: calc( var( --fg-base-33 ) * 2 );
    --fg-base-75: calc( var( --fg-base-25 ) * 3 );
    --fg-base-100: var( --fg-base-size );
    --fg-base-125: calc( var( --fg-base-size ) + var( --fg-base-25 ) );

	display: flex;
	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;
    font-size: var(--fg-base-size);
    gap: var(--fg-base-25);
    height: fit-content;
    min-height: var(--fg-height);

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.fg-filtering-container + .fg-paging-container {
	padding-top: 0;
}
.fg-paging-container + .fg-filtering-container {
	padding-top: 0;
}
/* adjust placeholder size based on combination of style + search position */
.fg-ph-tags:before {
    display: block;
    content: '';
    width: 0;
    height: 36px;
}
.fg-ph-tags:not(.fg-filtering-container):before {
    padding: 15px;
}
.fg-ph-tags:is(.fg-search-above-left,.fg-search-above-center,.fg-search-above-right,.fg-search-below-left,.fg-search-below-center,.fg-search-below-right):before {
    height: calc( 36px + 4px + 36px );
}
.fg-ph-tags:is(.fg-style-button-block,.fg-style-pill-block):before {
    height: 49px;
}
.fg-ph-tags:is(.fg-style-button-block,.fg-style-pill-block):is(.fg-search-above-left,.fg-search-above-center,.fg-search-above-right,.fg-search-below-left,.fg-search-below-center,.fg-search-below-right):before {
    height: calc( 49px + 4px + 49px );
}
.fg-ph-tags.fg-style-dropdown-block:before {
    height: 51px;
}
.fg-ph-tags.fg-style-dropdown-block:is(.fg-search-above-left,.fg-search-above-center,.fg-search-above-right,.fg-search-below-left,.fg-search-below-center,.fg-search-below-right):before {
    height: calc( 51px + 4px + 49px );
}


.fg-filtering-container {
    --fg-border-radius: var(--fg-base-25);
    --fg-border-width: 1px;
    --fg-spacing: var(--fg-base-25);
    --fg-padding-x: var(--fg-base-66);
    --fg-padding-y: var(--fg-base-25);
    --fg-count-spacing: var(--fg-base-50);
    --fg-count-border-radius: var(--fg-border-radius);
    --fg-count-border-width: var(--fg-border-width);
    --fg-block-padding: 0px;
    --fg-block-border-width: 0px;
    --fg-block-border-radius: 0px;
    --fg-block-height: calc(var(--fg-height) + calc(var(--fg-block-padding) * 2) + calc(var(--fg-block-border-width) * 2));
}
.fg-tag-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: inherit;
    margin: 0;
    flex: 1;
}
/* Alignments */
@media (min-width: 600px) {
    .fg-tags-left:not(.fg-search-after-merged,.fg-search-before-merged) .fg-tag-wrap {
        align-items: flex-start;
        justify-content: stretch;
    }
    .fg-tags-center:not(.fg-search-after-merged,.fg-search-before-merged) .fg-tag-wrap {
        align-items: center;
        justify-content: stretch;
    }
    .fg-tags-right:not(.fg-search-after-merged,.fg-search-before-merged) .fg-tag-wrap {
        align-items: flex-end;
        justify-content: stretch;
    }
    :is(.fg-search-after-merged,.fg-search-before-merged) .fg-tag-wrap {
        flex: unset;
        justify-content: center;
        align-items: stretch;
    }
    .fg-tags-left.fg-search-after-merged,
    .fg-tags-right.fg-search-before-merged {
        justify-content: flex-end;
        align-items: stretch;
    }
    .fg-tags-left.fg-search-before-merged,
    .fg-tags-right.fg-search-after-merged {
        justify-content: flex-start;
        align-items: stretch;
    }
    .fg-tags-center:is(.fg-search-after-merged,.fg-search-before-merged) {
        justify-content: center;
        align-items: stretch;
    }

    .fg-tags-left .fg-tag-list {
        justify-content: flex-start;
    }
    .fg-tags-center .fg-tag-list {
        justify-content: center;
    }
    .fg-tags-right .fg-tag-list {
        justify-content: flex-end;
    }
}

.fg-tag-list {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    list-style-type: none;
    margin: 0;
    padding: var(--fg-block-padding);
    border-radius: var(--fg-block-border-radius);
    border: var(--fg-block-border-width) solid transparent;
    gap: var(--fg-spacing);
    max-width: 100%;
}
.fg-tag-item {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.fg-tag-item .fg-tag-link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: var(--fg-padding-y) var(--fg-padding-x);
    gap: var(--fg-count-spacing);
    height: var(--fg-height);
    margin: 0;
    font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-image: none;
    text-decoration: none;
    border: var(--fg-border-width) solid transparent;
    border-radius: var(--fg-border-radius);
    box-shadow: none;
    outline: none;
    opacity: 1;
    transition-timing-function: ease-out;
    transition-duration: 0.3s;
    transition-property: color, opacity, border-color, background-color;
}
.fg-show-count .fg-tag-item .fg-tag-link {
    padding-right: var(--fg-count-spacing);
}

.fg-tag-item .fg-tag-link:hover,
.fg-tag-item .fg-tag-link:focus {
    opacity: 1!important;
    box-shadow: none;
}
.fg-tag-item .fg-tag-link .fg-tag-text {

}
.fg-tag-item .fg-tag-link .fg-tag-count {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: var(--fg-base-25);
    font-size: var(--fg-base-66);
    line-height: 1;
    border-radius: var(--fg-count-border-radius);
    min-width: 2em;
    border: var(--fg-count-border-width) solid transparent;

    transition-timing-function: ease-out;
    transition-duration: 0.3s;
    transition-property: color, border-color, background-color;
}

/* Dropdown element */
.fg-tag-dropdown-wrap {
    display: flex;
    flex-direction: column;
    gap: inherit;
    flex: 1;
    overflow: hidden;
}

.fg-tag-dropdown {
    --fg-icon-reserved: var(--fg-height);
    --fg-icon-offset: calc(calc(var(--fg-icon-reserved) - 16px) / 2);
    display: inline-flex;
    position: relative;
    height: var(--fg-height);
    width: 100%;
    max-width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: var(--fg-border-width) solid transparent;
    border-radius: var(--fg-border-radius);
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.4;
    transition-timing-function: ease-out;
    transition-duration: .3s;
    transition-property: color, opacity, border-color, background-color;
}

.fg-tag-dropdown-wrap .fg-tag-dropdown .fg-tag-dropdown-select {
    appearance: none;
    display: inline-flex;
    height: 100%;
    width: 100%;
    background: none;
    border: none;
    color: inherit;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: var(--fg-padding-y) var(--fg-icon-reserved) var(--fg-padding-y) var(--fg-padding-x);
    cursor: inherit;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    min-height: unset;
    max-width: unset;
    vertical-align: unset;
}

.fg-tag-dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: var(--fg-icon-offset);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 16px;
    height: 16px;
}

@media (min-width: 600px) {
    .fg-tag-dropdown-wrap {
        flex-direction: row;
    }
    .fg-tag-dropdown {
        width: fit-content;
    }
}

.fg-light .fg-tag-dropdown {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.fg-light .fg-tag-dropdown:hover,
.fg-light .fg-tag-dropdown:focus-within {
    background-color: #efefef;
}

.fg-dark .fg-tag-dropdown,
.fg-dark .fg-tag-dropdown-select option {
    color: #fff;
    background-color: #333;
    border-color: #222;
}

.fg-dark .fg-tag-dropdown:hover,
.fg-dark .fg-tag-dropdown:focus-within {
    background-color: #555;
}

/* Search */
.fg-search-wrap {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	padding: 0;
	margin: 0;
}

.fg-search-inner {
	display: inline-flex;
    width: 100%;
    height: var(--fg-height);
	max-width: 100%;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	border: var(--fg-border-width) solid transparent;
	border-radius: var(--fg-border-radius);
    overflow: hidden;

	transition-timing-function: ease-out;
	transition-duration: 0.3s;
	transition-property: color, opacity, border-color, background-color;
}

.fg-search-inner .fg-search-input {
	display: block;
	flex: 1;
	width: 100%;
	height: 100%;
	min-height: auto;
	margin: 0;
	padding: var(--fg-padding-y) var(--fg-padding-x);
	font-size: inherit;
	font-family: inherit;
	font-weight: 400;
	line-height: 1.4;
	border: none;
	box-shadow: none;
	outline: none;
	background-image: none;
	text-decoration: none;
	text-align: left;
	white-space: nowrap;
	vertical-align: middle;
	border-radius: 0;
	border-bottom-left-radius: inherit;
	border-top-left-radius: inherit;
}
.fg-search-inner .fg-search-input:focus {
	border: none;
	box-shadow: none;
	outline: none;
	background-image: none;
	text-decoration: none;
}

.fg-search-inner .fg-search-clear,
.fg-search-inner .fg-search-submit {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 0;
    width: unset;
    min-width: unset;
	height: 100%;
    aspect-ratio: 1 / 1;
    max-width: var(--fg-height);
    max-height: var(--fg-height);
	margin: 0;
	padding: 0;
	border: none;
	border-left: var(--fg-border-width) solid transparent;
	font-family: Arial,sans-serif;
	font-size: inherit;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	background-image: none;
	text-decoration: none;
	text-shadow: none;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	opacity: 1;
	transition-timing-function: ease-out;
	transition-duration: 0.3s;
	transition-property: color, opacity, border-color, background-color;
}
.fg-search-inner .fg-search-submit {
	border-bottom-right-radius: inherit;
	border-top-right-radius: inherit;
}
.fg-search-inner .fg-search-clear {
	display: none;
}
.fg-search-has-value .fg-search-inner .fg-search-clear {
	display: flex;
}

/* Search Positioning */
.fg-search-before,
.fg-search-before-merged,
.fg-search-above-right,
.fg-search-above-left,
.fg-search-above-center {
    flex-direction: column;
}
.fg-search-after,
.fg-search-after-merged,
.fg-search-below-right,
.fg-search-below-left,
.fg-search-below-center {
    flex-direction: column-reverse;
}

@media (min-width: 600px) {
    .fg-search-inner {
        width: var(--fg-search-width);
    }

    .fg-search-after,
    .fg-search-after-merged {
        flex-direction: row-reverse;
    }
    .fg-search-before,
    .fg-search-before-merged {
        flex-direction: row;
    }

    .fg-search-above-right,
    .fg-search-above-center,
    .fg-search-above-left {
        flex-direction: column;
    }
    .fg-search-below-right,
    .fg-search-below-center,
    .fg-search-below-left {
        flex-direction: column-reverse;
    }
    .fg-search-above-right .fg-search-wrap,
    .fg-search-above-left .fg-search-wrap,
    .fg-search-above-center .fg-search-wrap,
    .fg-search-below-right .fg-search-wrap,
    .fg-search-below-left .fg-search-wrap,
    .fg-search-below-center .fg-search-wrap {
        justify-content: flex-end;
        align-items: center;
    }
    .fg-search-above-right .fg-search-wrap,
    .fg-search-below-right .fg-search-wrap {
        flex-direction: row;
    }
    .fg-search-above-left .fg-search-wrap,
    .fg-search-below-left .fg-search-wrap {
        flex-direction: row-reverse;
    }
    .fg-search-above-center .fg-search-wrap,
    .fg-search-below-center .fg-search-wrap {
        justify-content: center;
        align-items: center;
    }
}

/* Themes */

/* Tags Light */
.fg-light .fg-tag-link {
    color: #333;
    background-color: transparent;
    border-color: transparent;
}
.fg-light .fg-tag-link:hover {
    color: #333;
    background-color: #efefef;
    border-color: #ccc;
}
.fg-light .fg-tag-item.fg-selected .fg-tag-link {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.fg-light .fg-tag-item .fg-tag-link .fg-tag-count {
    color: #FFF;
    background-color: #444;
    border-color: #333;
}

/* Search Light */
.fg-light .fg-search-inner {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}
.fg-light .fg-search-inner .fg-search-input {
	color: inherit;
	background-color: inherit;
}
.fg-light .fg-search-inner .fg-search-clear,
.fg-light .fg-search-inner .fg-search-submit {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}
.fg-light .fg-search-inner .fg-search-clear:hover,
.fg-light .fg-search-inner .fg-search-submit:hover {
	color: #333;
	background-color: #efefef;
}
.fg-light .fg-search-inner:focus-within,
.fg-light .fg-search-inner:focus-within .fg-search-clear,
.fg-light .fg-search-inner:focus-within .fg-search-submit {
	border-color: #adadad;
}

/* Tags Dark */
.fg-dark .fg-tag-link {
    color: #ccc;
}
.fg-dark .fg-tag-link:hover {
    color: #FFF;
    background-color: #444;
    border-color: #333;
}
.fg-dark .fg-tag-item.fg-selected .fg-tag-link {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.fg-dark .fg-tag-item .fg-tag-link .fg-tag-count {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

/* Search Dark */
.fg-dark .fg-search-inner {
	color: #FFF;
	background-color: #444;
	border-color: #222;
}
.fg-dark .fg-search-inner .fg-search-input {
	color: inherit;
	background-color: inherit;
}
.fg-dark .fg-search-inner .fg-search-input::placeholder {
    color: #ccc;
}
.fg-dark .fg-search-inner .fg-search-clear,
.fg-dark .fg-search-inner .fg-search-submit {
	color: #FFF;
	background-color: #333;
	border-color: #222;
}
.fg-dark .fg-search-inner .fg-search-clear:hover,
.fg-dark .fg-search-inner .fg-search-submit:hover {
	color: #FFF;
	background-color: #555;
}
.fg-dark .fg-search-inner:focus-within {
    background-color: #555;
}
.fg-dark .fg-search-inner:focus-within .fg-search-input::placeholder {
    color: #efefef;
}
.fg-style-button-block {
    --fg-height: calc( var(--fg-base-size) * 2.4 );
    --fg-border-radius: var(--fg-base-25);
    --fg-padding-x: var(--fg-base-100);
    --fg-padding-y: var(--fg-base-25);
    --fg-count-border-radius: var(--fg-base-25);
    --fg-block-padding: var(--fg-base-25);
    --fg-block-border-width: var(--fg-border-width);
    --fg-block-border-radius: max(0px, calc(var(--fg-border-radius) + var(--fg-block-padding)));
}
.fg-style-button-block .fg-tag-dropdown {
    height: var(--fg-block-height);
    border-radius: var(--fg-block-border-radius);
    border-width: var(--fg-block-border-width);
}
.fg-style-button-block .fg-search-inner {
    height: var(--fg-block-height);
    padding: var(--fg-block-padding);
    gap: var(--fg-block-padding);
    border-radius: var(--fg-block-border-radius);
    border-width: var(--fg-block-border-width);
}
.fg-style-button-block .fg-search-inner .fg-search-input {
    padding: max(0px, calc(var(--fg-padding-y) - var(--fg-block-padding))) max(0px, calc(var(--fg-padding-x) - var(--fg-block-padding)));
}
.fg-style-button-block .fg-search-inner .fg-search-clear,
.fg-style-button-block .fg-search-inner .fg-search-submit {
    border-width: var(--fg-border-width);
    border-style: solid;
    border-radius: var(--fg-border-radius);
}
@media (min-width: 600px) {
    /* Search Merged */
    .fg-style-button-block:is(.fg-tags-left,.fg-tags-center,.fg-tags-right) .fg-tag-list {
        justify-content: flex-start;
        width: fit-content;
    }

    .fg-style-button-block:is(.fg-search-after-merged,.fg-search-before-merged):not(.fg-has-wrapped) {
        gap: 0;
    }

    .fg-style-button-block.fg-search-after-merged:not(.fg-multi-level,.fg-has-wrapped) .fg-tag-list {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: none;
    }

    .fg-style-button-block.fg-search-before-merged:not(.fg-multi-level,.fg-has-wrapped) .fg-tag-list {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none;
    }

    .fg-style-button-block:is(.fg-search-after-merged,.fg-search-before-merged):not(.fg-has-wrapped,.fg-no-tags) .fg-search-wrap {
        height: -webkit-fill-available;
    }

    .fg-style-button-block:is(.fg-search-after-merged,.fg-search-before-merged):not(.fg-multi-level,.fg-has-wrapped,.fg-no-tags) .fg-search-inner {
        height: 100%;
    }

    .fg-style-button-block.fg-search-after-merged:not(.fg-multi-level,.fg-has-wrapped,.fg-no-tags) .fg-search-inner {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .fg-style-button-block.fg-search-before-merged:not(.fg-multi-level,.fg-has-wrapped,.fg-no-tags) .fg-search-inner {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
}

/* Themes */
.fg-style-button-block.fg-light .fg-tag-list,
.fg-style-button-block.fg-light .fg-search-inner {
    background-color: #FFF;
    border-color: #ccc;
}
.fg-style-button-block.fg-light .fg-tag-item .fg-tag-link .fg-tag-count {
    color: #888888;
    background-color: #efefef;
    border-color: inherit;
}
.fg-style-button-block.fg-light .fg-tag-item .fg-tag-link:hover .fg-tag-count {
    background-color: #FFF;
}
.fg-style-button-block.fg-light .fg-tag-item.fg-selected .fg-tag-link {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.fg-style-button-block.fg-light .fg-tag-item.fg-selected .fg-tag-link .fg-tag-count {
    color: #FFF;
    background-color: #555;
    border-color: inherit;
}
.fg-style-button-block.fg-light :is(.fg-search-clear,.fg-search-submit) {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.fg-style-button-block.fg-light :is(.fg-search-clear,.fg-search-submit):hover {
    color: #FFF;
    background-color: #555;
    border-color: #333;
}

/* Dark */
.fg-style-button-block.fg-dark .fg-tag-list {
    background-color: #444;
    border-color: #222;
}
.fg-style-button-block.fg-dark .fg-search-inner:focus-within,
.fg-style-button-block.fg-dark .fg-search-inner:focus-within :is(.fg-search-clear,.fg-search-submit) {
    border-color: #222;
}
.fg-style-button-block.fg-dark .fg-tag-link:hover {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.fg-style-button-block.fg-dark .fg-tag-item .fg-tag-link .fg-tag-count {
    color: #ccc;
    background-color: #555;
    border-color: inherit;
}
.fg-style-button-block.fg-dark .fg-tag-item.fg-selected .fg-tag-link {
    color: #333;
    background-color: #fff;
    border-color: #444;
}
.fg-style-button-block.fg-dark .fg-tag-item.fg-selected .fg-tag-link .fg-tag-count {
    background-color: #333;
    border-color: #222;
}
.fg-style-button-block.fg-dark :is(.fg-search-clear,.fg-search-submit) {
    color: #333;
    background-color: #fff;
    border-color: #444;
}
.fg-style-button-block.fg-dark :is(.fg-search-clear,.fg-search-submit):hover {
    color: #333;
    background-color: #efefef;
    border-color: #444;
}

/* Multi Level Styling */
@media (min-width: 600px) {
    .fg-style-button-block.fg-multi-level:is(.fg-search-after-merged,.fg-search-before-merged) {
        gap: 0;
    }
    /* Search Merged */
    .fg-style-button-block.fg-multi-level:is(.fg-search-after-merged,.fg-search-before-merged) :is(.fg-tag-wrap,.fg-search-wrap) {
        padding: var(--fg-block-padding);
        gap: var(--fg-block-padding);
        border: var(--fg-block-border-width) solid transparent;
        border-radius: var(--fg-block-border-radius);
    }
    .fg-style-button-block.fg-multi-level.fg-search-after-merged .fg-tag-wrap,
    .fg-style-button-block.fg-multi-level.fg-search-before-merged .fg-search-wrap {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .fg-style-button-block.fg-multi-level.fg-search-after-merged .fg-tag-wrap {
        border-right: none;
    }
    .fg-style-button-block.fg-multi-level.fg-search-before-merged .fg-tag-wrap,
    .fg-style-button-block.fg-multi-level.fg-search-after-merged .fg-search-wrap {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    .fg-style-button-block.fg-multi-level.fg-search-before-merged .fg-tag-wrap {
        border-left: none;
    }

    .fg-style-button-block.fg-light.fg-multi-level:is(.fg-search-after-merged,.fg-search-before-merged) :is(.fg-tag-wrap,.fg-search-wrap) {
        background-color: #efefef;
        border-color: #ccc;
    }
    .fg-style-button-block.fg-dark.fg-multi-level:is(.fg-search-after-merged,.fg-search-before-merged) :is(.fg-tag-wrap,.fg-search-wrap) {
        background-color: #333;
        border-color: #222;
    }
}
/* Light */
.fg-style-button.fg-light .fg-tag-link {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.fg-style-button.fg-light .fg-tag-link:hover {
    color: #333;
    background-color: #efefef;
    border-color: #adadad;
}
.fg-style-button.fg-light .fg-tag-item .fg-tag-link .fg-tag-count {
    color: #888888;
    background-color: #efefef;
    border-color: inherit;
}
.fg-style-button.fg-light .fg-tag-item .fg-tag-link:hover .fg-tag-count {
    background-color: #FFF;
}
.fg-style-button.fg-light .fg-tag-item.fg-selected .fg-tag-link {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.fg-style-button.fg-light .fg-tag-item.fg-selected .fg-tag-link .fg-tag-count {
    color: #FFF;
    background-color: #555;
    border-color: inherit;
}

/* Dark */
.fg-style-button.fg-dark .fg-tag-link {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.fg-style-button.fg-dark .fg-tag-link:hover {
    color: #FFF;
    background-color: #666;
    border-color: #444;
}
.fg-style-button.fg-dark .fg-tag-item .fg-tag-link .fg-tag-count {
    color: #ccc;
    background-color: #555;
    border-color: inherit;
}
.fg-style-button.fg-dark .fg-tag-item.fg-selected .fg-tag-link {
    color: #333;
    background-color: #fff;
    border-color: #444;
}
.fg-style-button.fg-dark .fg-tag-item.fg-selected .fg-tag-link .fg-tag-count {
    background-color: #333;
    border-color: #222;
}
.fg-style-dropdown-block {
    --fg-height: calc( var(--fg-base-size) * 2.4 );
    --fg-border-radius: var(--fg-base-50);
    --fg-padding-x: var(--fg-base-100);
    --fg-padding-y: var(--fg-base-25);
    --fg-count-border-radius: var(--fg-base-25);
    --fg-block-padding: var(--fg-base-25);
    --fg-block-border-width: var(--fg-border-width);
    --fg-block-border-radius: max(0px, calc(var(--fg-border-radius) + var(--fg-block-padding)));
}
.fg-style-dropdown-block .fg-tag-dropdown {
    height: var(--fg-block-height);
    border-radius: var(--fg-block-border-radius);
    border-width: var(--fg-block-border-width);
}
.fg-style-dropdown-block .fg-search-inner {
    height: var(--fg-block-height);
    border-radius: var(--fg-block-border-radius);
    border-width: var(--fg-block-border-width);
}
.fg-style-dropdown-block .fg-search-inner .fg-search-clear,
.fg-style-dropdown-block .fg-search-inner .fg-search-submit {
    max-height: var(--fg-block-height);
}
@media (min-width: 600px) {
    /* Search Merged */
    .fg-style-dropdown-block:is(.fg-search-after-merged,.fg-search-before-merged) {
        gap: 0;
    }

    .fg-style-dropdown-block .fg-tag-dropdown {
        border: none;
        border-radius: 0;
    }
    .fg-style-dropdown-block .fg-tag-dropdown:not(:last-of-type) {
        border-right-width: var(--fg-border-width);
        border-right-style: solid;
        border-right-color: inherit;
    }

    .fg-style-dropdown-block .fg-tag-dropdown-wrap {
        gap: 0;
        border: var(--fg-block-border-width) solid transparent;
        border-radius: var(--fg-block-border-radius);
    }

    .fg-style-dropdown-block.fg-search-after-merged .fg-tag-dropdown-wrap {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: none;
    }

    .fg-style-dropdown-block.fg-search-before-merged .fg-tag-dropdown-wrap {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none;
    }

    .fg-style-dropdown-block:is(.fg-search-after-merged,.fg-search-before-merged):not(.fg-no-tags) .fg-search-wrap {
        height: -webkit-fill-available;
    }

    .fg-style-dropdown-block:is(.fg-search-after-merged,.fg-search-before-merged):not(.fg-no-tags) .fg-search-inner {
        height: 100%;
    }

    .fg-style-dropdown-block.fg-search-after-merged:not(.fg-no-tags) .fg-search-inner {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .fg-style-dropdown-block.fg-search-before-merged:not(.fg-no-tags) .fg-search-inner {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
}

/* Themes */
.fg-style-dropdown-block.fg-light :is(.fg-search-clear,.fg-search-submit):hover {
    color: #333;
    background-color: #f8f8f8;
}
.fg-style-dropdown-block.fg-light .fg-search-inner:focus-within,
.fg-style-dropdown-block.fg-light .fg-search-inner:focus-within :is(.fg-search-clear,.fg-search-submit) {
    border-color: #ccc;
}

@media (min-width: 600px) {
    .fg-style-dropdown-block.fg-light .fg-tag-dropdown-wrap {
        background-color: #FFF;
        border-color: #ccc;
    }
    .fg-style-dropdown-block.fg-dark .fg-tag-dropdown-wrap {
        background-color: #666;
        border-color: #222;
    }
}
/* Where's the dropdown styles? The base dropdown control CSS is in the tags.css file, all other styles are inherited */
.fg-style-pill-block {
    --fg-height: calc( var(--fg-base-size) * 2.4 );
    --fg-border-radius: calc(var(--fg-height) / 2);
    --fg-padding-x: calc(var(--fg-base-50) + calc(var(--fg-border-radius) / 3));
    --fg-padding-y: var(--fg-base-25);
    --fg-count-border-radius: var(--fg-border-radius);
    --fg-block-padding: var(--fg-base-25);
    --fg-block-border-width: var(--fg-border-width);
    --fg-block-border-radius: max(0px, calc(var(--fg-border-radius) + var(--fg-block-padding)));
}
.fg-style-pill-block.fg-show-count .fg-tag-item .fg-tag-link {
    padding-right: calc(var(--fg-padding-x) - calc(var(--fg-border-radius) / 3));
}
.fg-style-pill-block .fg-tag-dropdown {
    height: var(--fg-block-height);
    border-radius: var(--fg-block-border-radius);
    border-width: var(--fg-block-border-width);
}
.fg-style-pill-block .fg-search-inner {
    height: var(--fg-block-height);
    padding: var(--fg-block-padding);
    gap: var(--fg-block-padding);
    border-radius: var(--fg-block-border-radius);
    border-width: var(--fg-block-border-width);
}
.fg-style-pill-block .fg-search-inner .fg-search-input {
    padding: max(0px, calc(var(--fg-padding-y) - var(--fg-block-padding))) max(0px, calc(var(--fg-padding-x) - var(--fg-block-padding)));
}
.fg-style-pill-block .fg-search-inner .fg-search-clear,
.fg-style-pill-block .fg-search-inner .fg-search-submit {
    border-width: var(--fg-border-width);
    border-style: solid;
    border-radius: var(--fg-border-radius);
}
@media (min-width: 600px) {
    /* Search Merged */
    .fg-style-pill-block:is(.fg-tags-left,.fg-tags-center,.fg-tags-right) .fg-tag-list {
        justify-content: flex-start;
        width: fit-content;
    }

    .fg-style-pill-block:is(.fg-search-after-merged,.fg-search-before-merged):not(.fg-has-wrapped) {
        gap: 0;
    }

    .fg-style-pill-block.fg-search-after-merged:not(.fg-multi-level,.fg-has-wrapped) .fg-tag-list {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: none;
    }

    .fg-style-pill-block.fg-search-before-merged:not(.fg-multi-level,.fg-has-wrapped) .fg-tag-list {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none;
    }

    .fg-style-pill-block:is(.fg-search-after-merged,.fg-search-before-merged):not(.fg-has-wrapped,.fg-no-tags) .fg-search-wrap {
        height: -webkit-fill-available;
    }

    .fg-style-pill-block:is(.fg-search-after-merged,.fg-search-before-merged):not(.fg-multi-level,.fg-has-wrapped,.fg-no-tags) .fg-search-inner {
        height: 100%;
    }

    .fg-style-pill-block.fg-search-after-merged:not(.fg-multi-level,.fg-has-wrapped,.fg-no-tags) .fg-search-inner {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .fg-style-pill-block.fg-search-before-merged:not(.fg-multi-level,.fg-has-wrapped,.fg-no-tags) .fg-search-inner {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
}


/* Themes */
.fg-style-pill-block.fg-light .fg-tag-list,
.fg-style-pill-block.fg-light .fg-search-inner {
    background-color: #FFF;
    border-color: #ccc;
}
.fg-style-pill-block.fg-light .fg-tag-item .fg-tag-link .fg-tag-count {
    color: #888888;
    background-color: #efefef;
    border-color: inherit;
}
.fg-style-pill-block.fg-light .fg-tag-item .fg-tag-link:hover .fg-tag-count {
    background-color: #FFF;
}
.fg-style-pill-block.fg-light .fg-tag-item.fg-selected .fg-tag-link {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.fg-style-pill-block.fg-light .fg-tag-item.fg-selected .fg-tag-link .fg-tag-count {
    color: #FFF;
    background-color: #555;
    border-color: inherit;
}
.fg-style-pill-block.fg-light :is(.fg-search-clear,.fg-search-submit) {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.fg-style-pill-block.fg-light :is(.fg-search-clear,.fg-search-submit):hover {
    color: #FFF;
    background-color: #555;
    border-color: #333;
}

/* Dark */
.fg-style-pill-block.fg-dark .fg-tag-list {
    background-color: #444;
    border-color: #222;
}
.fg-style-pill-block.fg-dark .fg-search-inner:focus-within,
.fg-style-pill-block.fg-dark .fg-search-inner:focus-within :is(.fg-search-clear,.fg-search-submit) {
    border-color: #222;
}
.fg-style-pill-block.fg-dark .fg-tag-link:hover {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.fg-style-pill-block.fg-dark .fg-tag-item .fg-tag-link .fg-tag-count {
    color: #ccc;
    background-color: #555;
    border-color: inherit;
}
.fg-style-pill-block.fg-dark .fg-tag-item.fg-selected .fg-tag-link {
    color: #333;
    background-color: #fff;
    border-color: #444;
}
.fg-style-pill-block.fg-dark .fg-tag-item.fg-selected .fg-tag-link .fg-tag-count {
    background-color: #333;
    border-color: #222;
}
.fg-style-pill-block.fg-dark :is(.fg-search-clear,.fg-search-submit) {
    color: #333;
    background-color: #fff;
    border-color: #444;
}
.fg-style-pill-block.fg-dark :is(.fg-search-clear,.fg-search-submit):hover {
    color: #333;
    background-color: #efefef;
    border-color: #444;
}

/* Multi Level Styling */
@media (min-width: 600px) {
    .fg-style-pill-block.fg-multi-level:is(.fg-search-after-merged,.fg-search-before-merged) {
        gap: 0;
    }
    /* Search Merged */
    .fg-style-pill-block.fg-multi-level:is(.fg-search-after-merged,.fg-search-before-merged) :is(.fg-tag-wrap,.fg-search-wrap) {
        padding: var(--fg-block-padding);
        gap: var(--fg-block-padding);
        border: var(--fg-block-border-width) solid transparent;
        border-radius: var(--fg-block-border-radius);
    }
    .fg-style-pill-block.fg-multi-level.fg-search-after-merged .fg-tag-wrap,
    .fg-style-pill-block.fg-multi-level.fg-search-before-merged .fg-search-wrap {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .fg-style-pill-block.fg-multi-level.fg-search-after-merged .fg-tag-wrap {
        border-right: none;
    }
    .fg-style-pill-block.fg-multi-level.fg-search-before-merged .fg-tag-wrap,
    .fg-style-pill-block.fg-multi-level.fg-search-after-merged .fg-search-wrap {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    .fg-style-pill-block.fg-multi-level.fg-search-before-merged .fg-tag-wrap {
        border-left: none;
    }

    .fg-style-pill-block.fg-light.fg-multi-level:is(.fg-search-after-merged,.fg-search-before-merged) :is(.fg-tag-wrap,.fg-search-wrap) {
        background-color: #efefef;
        border-color: #ccc;
    }
    .fg-style-pill-block.fg-dark.fg-multi-level:is(.fg-search-after-merged,.fg-search-before-merged) :is(.fg-tag-wrap,.fg-search-wrap) {
        background-color: #333;
        border-color: #222;
    }
}
/* Pill Style (Essentially clone of button but rounded into pills */
.fg-style-pill {
    --fg-border-radius: calc(var(--fg-height) / 2);
    --fg-padding-x: calc(var(--fg-base-50) + calc(var(--fg-border-radius) / 2));
}
.fg-style-pill.fg-show-count .fg-tag-item .fg-tag-link {
    padding-right: calc(var(--fg-padding-x) - calc(var(--fg-border-radius) / 2));
}
.fg-style-pill .fg-search-submit .fg-icon-search {
    margin-right: var(--fg-base-25);
}
/* Light */
.fg-style-pill.fg-light .fg-tag-link {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.fg-style-pill.fg-light .fg-tag-link:hover {
    color: #333;
    background-color: #efefef;
    border-color: #adadad;
}
.fg-style-pill.fg-light .fg-tag-item .fg-tag-link .fg-tag-count {
    color: #888888;
    background-color: #efefef;
    border-color: inherit;
}
.fg-style-pill.fg-light .fg-tag-item .fg-tag-link:hover .fg-tag-count {
    background-color: #FFF;
}
.fg-style-pill.fg-light .fg-tag-item.fg-selected .fg-tag-link {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.fg-style-pill.fg-light .fg-tag-item.fg-selected .fg-tag-link .fg-tag-count {
    color: #FFF;
    background-color: #555;
    border-color: inherit;
}

/* Dark */
.fg-style-pill.fg-dark .fg-tag-link {
    color: #FFF;
    background-color: #333;
    border-color: #222;
}
.fg-style-pill.fg-dark .fg-tag-link:hover {
    color: #FFF;
    background-color: #666;
    border-color: #444;
}
.fg-style-pill.fg-dark .fg-tag-item .fg-tag-link .fg-tag-count {
    color: #ccc;
    background-color: #555;
    border-color: inherit;
}
.fg-style-pill.fg-dark .fg-tag-item.fg-selected .fg-tag-link {
    color: #333;
    background-color: #fff;
    border-color: #444;
}
.fg-style-pill.fg-dark .fg-tag-item.fg-selected .fg-tag-link .fg-tag-count {
    background-color: #333;
    border-color: #222;
}
.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;
}
.fg-ph-load-more:after {
	display: block;
	content: '';
	width: 0;
	height: 34px;
}

.fg-paging-container .fg-load-more {
	display: inline-block;
	padding: 6px 12px;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
	box-shadow: none;
	outline: none;
}

/* Light - Default */
.fg-paging-container.fg-light .fg-load-more {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
	transition-timing-function: ease-out;
	transition-duration: 0.3s;
	transition-property: color, border-color, background-color;
}
.fg-paging-container.fg-light .fg-load-more:hover,
.fg-paging-container.fg-light .fg-load-more:focus {
	color: #333;
	background-color: #e6e6e6;
	border-color: #adadad;
}

/* Dark */
.fg-paging-container.fg-dark .fg-load-more {
	color: #FFF;
	background-color: #333;
	border-color: #222;
	transition-timing-function: ease-out;
	transition-duration: 0.3s;
	transition-property: color, border-color, background-color;
}
.fg-paging-container.fg-dark .fg-load-more:hover,
.fg-paging-container.fg-dark .fg-load-more:focus {
	color: #FFF;
	background-color: #444;
	border-color: #333;
}
.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.4;
	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: #999;
	border-color: #666;
}
.fg-paging-container.fg-dark .fg-dot-item.fg-selected .fg-dot-link {
	border-color: #666;
}
.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: #fff;
	border-color: #666;
}
.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: #999;
	border-color: #666;
	opacity: 0.5;
}
.fg-ph-pagination:before {
	display: block;
	content: '';
	width: 0;
	height: 36px;
}

.fg-paging-container .fg-pages {
	display: inline-block;
	margin: 0;
	padding: 0;
	list-style: none;
}
.fg-paging-container .fg-page-item {
	display: inline-block;
	list-style: none;
}
.fg-paging-container .fg-page-item {
	display: none;
}
.fg-paging-container .fg-page-item.fg-visible,
.fg-paging-container .fg-page-item.fg-page-button {
	display: inline-block;
}
.fg-paging-container .fg-page-item .fg-page-link {
	display: inline-block;
	min-width: 40px;
	padding: 6px 12px;
	margin: 1px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	background-image: none;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 4px;
	box-shadow: none;
	outline: none;
}
.fg-paging-container .fg-page-item:hover .fg-page-link,
.fg-paging-container .fg-page-item:focus .fg-page-link {
	text-decoration: none;
	box-shadow: none;
	outline: none;
}
.fg-paging-container .fg-page-item.fg-disabled .fg-page-link,
.fg-paging-container .fg-page-item.fg-selected .fg-page-link {
	cursor: not-allowed;
	pointer-events: none;
}
.fg-paging-container .fg-page-item.fg-disabled .fg-page-link {
	cursor: not-allowed;
	pointer-events: none;
	outline: none;
}

/* Light - Numbers */
.fg-paging-container.fg-light .fg-page-item .fg-page-link {
	color: #333;
	background-color: transparent;
	border-color: transparent;
	transition-timing-function: ease-out;
	transition-duration: 0.3s;
	transition-property: color, border-color, background-color;
}
.fg-paging-container.fg-light .fg-page-item:hover .fg-page-link,
.fg-paging-container.fg-light .fg-page-item:focus .fg-page-link,
.fg-paging-container.fg-light .fg-page-item.fg-selected .fg-page-link {
	color: #333;
	background-color: #e6e6e6;
	border-color: #adadad;
}
.fg-paging-container.fg-light .fg-page-item.fg-selected .fg-page-link {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}
.fg-paging-container.fg-light .fg-page-item.fg-disabled .fg-page-link,
.fg-paging-container.fg-light .fg-page-item.fg-disabled:hover .fg-page-link,
.fg-paging-container.fg-light .fg-page-item.fg-disabled:focus .fg-page-link {
	color: #333;
	background-color: transparent;
	border-color: transparent;
	opacity: 0.5;
}

/* Dark - Numbers */
.fg-paging-container.fg-dark .fg-page-item .fg-page-link {
	color: #9d9d9d;
	background-color: transparent;
	border-color: transparent;
	transition-timing-function: ease-out;
	transition-duration: 0.3s;
	transition-property: color, border-color, background-color;
}
.fg-paging-container.fg-dark .fg-page-item:hover .fg-page-link,
.fg-paging-container.fg-dark .fg-page-item:focus .fg-page-link {
	color: #FFF;
	background-color: #444;
	border-color: #333;
}
.fg-paging-container.fg-dark .fg-page-item.fg-selected .fg-page-link {
	color: #FFF;
	background-color: #333;
	border-color: #222;
}
.fg-paging-container.fg-dark .fg-page-item.fg-disabled .fg-page-link,
.fg-paging-container.fg-dark .fg-page-item.fg-disabled:hover .fg-page-link,
.fg-paging-container.fg-dark .fg-page-item.fg-disabled:focus .fg-page-link {
	color: #9d9d9d;
	background-color: transparent;
	border-color: transparent;
	opacity: 0.5;
}


/* Dots */
.fg-paging-container.fg-dots .fg-page-item .fg-page-link {
	position: relative;
	border-radius: 50%;
	min-width: 0;
	padding: 0;
	font-size: 0;
}
.fg-paging-container.fg-dots .fg-page-item .fg-page-link:before {
	content: "";
	display: block;
	border-radius: 50%;
	width: 15px;
	height: 15px;
	padding: 0;
	margin: 2px;
}
.fg-paging-container.fg-dots .fg-page-item.fg-page-first .fg-page-link:after,
.fg-paging-container.fg-dots .fg-page-item.fg-page-prev .fg-page-link:after,
.fg-paging-container.fg-dots .fg-page-item.fg-page-prev-more .fg-page-link:after,
.fg-paging-container.fg-dots .fg-page-item.fg-page-next-more .fg-page-link:after,
.fg-paging-container.fg-dots .fg-page-item.fg-page-next .fg-page-link:after,
.fg-paging-container.fg-dots .fg-page-item.fg-page-last .fg-page-link:after {
	display: inline-block;
	font-size: 15px;
	line-height: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}
.fg-paging-container.fg-dots .fg-page-item.fg-page-first .fg-page-link:after {
	content: "\00ab";
}
.fg-paging-container.fg-dots .fg-page-item.fg-page-prev .fg-page-link:after {
	content: "\2039";
}
.fg-paging-container.fg-dots .fg-page-item.fg-page-prev-more .fg-page-link:after,
.fg-paging-container.fg-dots .fg-page-item.fg-page-next-more .fg-page-link:after {
	content: "\2026";
}
.fg-paging-container.fg-dots .fg-page-item.fg-page-next .fg-page-link:after {
	content: "\203A";
}
.fg-paging-container.fg-dots .fg-page-item.fg-page-last .fg-page-link:after {
	content: "\00bb";
}

/* Light - Dots */
.fg-paging-container.fg-light.fg-dots .fg-page-item .fg-page-link {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
	transition-timing-function: ease-out;
	transition-duration: 0.3s;
	transition-property: color, border-color, background-color;
}
.fg-paging-container.fg-light.fg-dots .fg-page-item:hover .fg-page-link,
.fg-paging-container.fg-light.fg-dots .fg-page-item:focus .fg-page-link,
.fg-paging-container.fg-light.fg-dots .fg-page-item.fg-selected .fg-page-link {
	color: #333;
	background-color: #e6e6e6;
	border-color: #adadad;
}
.fg-paging-container.fg-light.fg-dots .fg-page-item.fg-selected .fg-page-link:before {
	background-color: #333;
	border-color: #ccc;
}
.fg-paging-container.fg-light.fg-dots .fg-page-item.fg-disabled .fg-page-link,
.fg-paging-container.fg-light.fg-dots .fg-page-item.fg-disabled:hover .fg-page-link,
.fg-paging-container.fg-light.fg-dots .fg-page-item.fg-disabled:focus .fg-page-link {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
	opacity: 0.5;
}
html.fg-panel-no-scroll,
html.fg-panel-no-scroll body {
	overflow-x: hidden !important;
	overflow-y: hidden !important;
}

[class^="fg-panel-"], [class*=" fg-panel-"] {
	box-sizing: border-box;
}

.fg-panel {
	position: relative;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	text-align: left;
	overflow: hidden;
	outline: none;
	box-sizing: content-box;
}
.rtl .fg-panel {
	text-align: right;
}
.fg-panel-maximized {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999999;
}
.fg-no-transitions {
	transition: none!important;
}
.fg-panel-buttons {
	z-index: 1;
}
/*.fg-panel-cart {*/
/*	z-index: 2;*/
/*}*/

/* Loader Styles */
.fg-panel .fg-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 1em;
	height: 1em;
	font-size: 5px;
	visibility: hidden;
	opacity: 0;
}

.fg-panel .fg-loading .fg-loader {
	visibility: visible;
	opacity: 1;
}
/* CSS Grid Layout */
.fg-panel {
    display: grid;
    grid-template-columns: min-content min-content min-content minmax(0, 1fr) min-content min-content min-content;
    grid-template-rows: min-content min-content min-content minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) min-content min-content min-content;
}
/* Content Area */
.fg-panel-content {
    grid-column: 4 / 5;
    grid-row: 4 / 7;
}

/* Info Area */
.fg-panel-info {
    grid-column: 4 / 5;
    grid-row: 4 / 7;
    display: none;
}
/* Only show the caption if a position is set */
.fg-panel-info-visible:is(.fg-panel-info-top, .fg-panel-info-right, .fg-panel-info-bottom, .fg-panel-info-left) .fg-panel-info {
    display: block;
}
.fg-panel-info-top:not(.fg-panel-info-overlay):is(.fg-medium, .fg-panel-no-mobile) .fg-panel-info {
    grid-row: 3 / 4;
}
.fg-panel-info-bottom:not(.fg-panel-info-overlay):is(.fg-medium, .fg-panel-no-mobile) .fg-panel-info {
    grid-row: 7 / 8;
}
.fg-panel-info-left:not(.fg-panel-info-overlay):is(.fg-medium, .fg-panel-no-mobile) .fg-panel-info {
    grid-column: 3 / 4;
}
.fg-panel-info-right:not(.fg-panel-info-overlay):is(.fg-medium, .fg-panel-no-mobile) .fg-panel-info {
    grid-column: 5 / 6;
}

/* Cart Area */
.fg-panel-cart {
    grid-column: 4 / 5;
    grid-row: 4 / 7;
    display: none;
}
/* Only show the cart if a position is set */
.fg-panel-cart-visible:is(.fg-panel-cart-top, .fg-panel-cart-right, .fg-panel-cart-bottom, .fg-panel-cart-left) .fg-panel-cart {
    display: flex;
}
.fg-panel-cart-top:not(.fg-panel-cart-overlay):is(.fg-medium, .fg-panel-no-mobile) .fg-panel-cart {
    grid-row: 2 / 3;
}
.fg-panel-cart-bottom:not(.fg-panel-cart-overlay):is(.fg-medium, .fg-panel-no-mobile) .fg-panel-cart {
    grid-row: 8 / 9;
}
.fg-panel-cart-left:not(.fg-panel-cart-overlay):is(.fg-medium, .fg-panel-no-mobile) .fg-panel-cart {
    grid-column: 2 / 3;
}
.fg-panel-cart-right:not(.fg-panel-cart-overlay):is(.fg-medium, .fg-panel-no-mobile) .fg-panel-cart {
    grid-column: 6 / 7;
}

/* Thumbs Area */
.fg-panel-thumbs {
    grid-column: 1 / 8;
    grid-row: 1 / 10;
    display: none;
}
.fg-panel-thumbs-visible:is(.fg-panel-thumbs-top, .fg-panel-thumbs-right, .fg-panel-thumbs-bottom, .fg-panel-thumbs-left) .fg-panel-thumbs {
    display: block;
}
.fg-panel-thumbs-top .fg-panel-thumbs {
    grid-row: 1 / 2;
}
.fg-panel-thumbs-bottom .fg-panel-thumbs {
    grid-row: 9 / 10;
}
.fg-panel-thumbs-left .fg-panel-thumbs {
    grid-column: 1 / 2;
}
.fg-panel-thumbs-right .fg-panel-thumbs {
    grid-column: 7 / 8;
}

/* Allow side areas to be stacked */
.fg-panel-area-stack.fg-panel-thumbs-visible.fg-panel-info-visible:is(.fg-medium,.fg-panel-no-mobile):is(.fg-panel-info-left.fg-panel-thumbs-left,.fg-panel-info-right.fg-panel-thumbs-right):not(.fg-panel-info-overlay,.fg-panel-thumbs-no-captions) .fg-panel-info {
    grid-row: 4 / 5;
}

.fg-panel-area-stack.fg-panel-thumbs-visible.fg-panel-info-visible:is(.fg-medium,.fg-panel-no-mobile):is(.fg-panel-info-left.fg-panel-thumbs-left,.fg-panel-info-right.fg-panel-thumbs-right):not(.fg-panel-info-overlay,.fg-panel-thumbs-no-captions) .fg-panel-thumbs {
    grid-row: 5 / 7;
}

.fg-panel-area-stack.fg-panel-thumbs-visible.fg-panel-info-visible.fg-panel-info-left.fg-panel-thumbs-left:is(.fg-medium,.fg-panel-no-mobile):not(.fg-panel-info-overlay,.fg-panel-thumbs-no-captions) :is(.fg-panel-info,.fg-panel-thumbs) {
    grid-column: 1 / 2;
}

.fg-panel-area-stack.fg-panel-thumbs-visible.fg-panel-info-visible.fg-panel-info-right.fg-panel-thumbs-right:is(.fg-medium,.fg-panel-no-mobile):not(.fg-panel-info-overlay,.fg-panel-thumbs-no-captions) :is(.fg-panel-info,.fg-panel-thumbs) {
    grid-column: 9 / 10;
}
.fg-panel-content,
.fg-panel-info,
.fg-panel-cart,
.fg-panel-thumbs,
.fg-panel-content-inner,
.fg-panel-info-inner,
.fg-panel-cart-inner,
.fg-panel-thumbs-inner {
    position: relative;
}
.fg-panel-content,
.fg-panel-info,
.fg-panel-cart,
.fg-panel-thumbs {
    pointer-events: none;
}

.fg-panel-content {
    display: flex;
    flex-direction: column-reverse;
}
.fg-landscape .fg-panel-content {
    flex-direction: row;
}
.fg-portrait.fg-panel-buttons-top .fg-panel-content {
    flex-direction: column-reverse;
}
.fg-portrait.fg-panel-buttons-bottom .fg-panel-content {
    flex-direction: column;
}
.fg-landscape.fg-panel-buttons-right .fg-panel-content {
    flex-direction: row;
}
.fg-landscape.fg-panel-buttons-left .fg-panel-content {
    flex-direction: row-reverse;
}

.fg-panel-content-inner,
.fg-panel-thumbs-inner {
    pointer-events: auto;
    display: flex;
    overflow: hidden;
    flex: 1;
}

/* By default collapse and overlay the caption along the bottom on small screens */
:is(.fg-panel-info-inner, .fg-panel-cart-inner) {
    pointer-events: auto;
    display: flex;
    position: absolute;
    top: unset;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    min-height: 42px;
    max-height: 100%;
}
.fg-panel.fg-landscape :is(.fg-panel-info-inner, .fg-panel-cart-inner) {
    right: 37px;
    width: calc(100% - 37px);
    max-width: calc(100% - 37px);
}
.fg-panel.fg-portrait :is(.fg-panel-info-inner, .fg-panel-cart-inner) {
    max-height: calc(100% - 37px);
}
.fg-landscape.fg-panel-info-top .fg-panel-info-inner,
.fg-landscape.fg-panel-cart-top .fg-panel-cart-inner {
    top: 0;
    bottom: unset;
}
.fg-portrait.fg-panel-info-top .fg-panel-info-inner,
.fg-portrait.fg-panel-cart-top .fg-panel-cart-inner {
    top: 37px;
    bottom: unset;
}
.fg-landscape.fg-panel-buttons-left :is(.fg-panel-info-inner,.fg-panel-cart-inner) {
    left: 37px;
    right: unset;
}
.fg-portrait.fg-panel-buttons-bottom :is(.fg-panel-info-inner,.fg-panel-cart-inner) {
    top: unset;
    bottom: 37px;
}
.fg-panel:is(.fg-medium,.fg-panel-no-mobile) :is(.fg-panel-info-inner,.fg-panel-cart-inner) {
    position: relative;
    top: unset;
    bottom: unset;
    left: unset;
    right: unset;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

/* Caption Overlay */
.fg-panel-info-right.fg-panel-info-overlay:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-info-inner {
    position: absolute;
    top: 0;
    right: 0;
}
.fg-panel-info-bottom.fg-panel-info-overlay:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-info-inner {
    position: absolute;
    bottom: 0;
    left: 0;
}
.fg-panel-info-overlay:is(.fg-medium,.fg-panel-no-mobile):is(.fg-panel-info-top,.fg-panel-info-bottom) .fg-panel-info-inner {
    height: auto;
}

/* Cart Overlay */
.fg-panel-cart-right.fg-panel-cart-overlay:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-cart-inner {
    position: absolute;
    top: 0;
    right: 0;
}
.fg-panel-cart-bottom.fg-panel-cart-overlay:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-cart-inner {
    position: absolute;
    bottom: 0;
    left: 0;
}
.fg-panel-cart-overlay:is(.fg-medium,.fg-panel-no-mobile):is(.fg-panel-cart-top,.fg-panel-cart-bottom) .fg-panel-cart-inner {
    height: auto;
}

/* Sizing of the side content and thumbs */
:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right) .fg-panel-thumb,
:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom) .fg-panel-thumbs-inner {
    height: 70px;
    min-height: 70px;
}
:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom) .fg-panel-thumb,
:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right) .fg-panel-thumbs-inner {
    width: 100px;
    min-width: 100px;
}
.fg-panel-thumbs-small:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom) .fg-panel-thumb,
.fg-panel-thumbs-small:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right) .fg-panel-thumbs-inner {
    width: 70px;
    min-width: 70px;
}
.fg-medium:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right) .fg-panel-thumb,
.fg-medium:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom) .fg-panel-thumbs-inner {
    height: 82px;
    min-height: 82px;
}
.fg-medium:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom) .fg-panel-thumb,
.fg-medium:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right) .fg-panel-thumbs-inner {
    width: 118px;
    min-width: 118px;
}
.fg-x-large-width:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom) .fg-panel-thumb,
.fg-x-large-width:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right) .fg-panel-thumbs-inner {
    width: 138px;
    min-width: 138px;
}
.fg-medium.fg-panel-thumbs-small:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom) .fg-panel-thumb,
.fg-medium.fg-panel-thumbs-small:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right) .fg-panel-thumbs-inner,
.fg-x-large-width.fg-panel-thumbs-small:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom) .fg-panel-thumb,
.fg-x-large-width.fg-panel-thumbs-small:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right) .fg-panel-thumbs-inner {
    width: 82px;
    min-width: 82px;
}
.fg-medium:is(.fg-panel-info-left,.fg-panel-info-right) .fg-panel-info-inner,
.fg-medium:is(.fg-panel-cart-left,.fg-panel-cart-right) .fg-panel-cart-inner,
.fg-medium:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom):not(.fg-panel-thumbs-no-captions) .fg-panel-thumb,
.fg-medium:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right):not(.fg-panel-thumbs-no-captions) .fg-panel-thumbs-inner {
    width: 240px;
    min-width: 240px;
}
.fg-medium.fg-large-width:is(.fg-panel-info-left,.fg-panel-info-right) .fg-panel-info-inner,
.fg-medium.fg-large-width:is(.fg-panel-cart-left,.fg-panel-cart-right) .fg-panel-cart-inner,
.fg-medium.fg-large-width:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom):not(.fg-panel-thumbs-no-captions) .fg-panel-thumb,
.fg-medium.fg-large-width:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right):not(.fg-panel-thumbs-no-captions) .fg-panel-thumbs-inner {
    width: 280px;
    min-width: 280px;
}
.fg-medium.fg-x-large-width:is(.fg-panel-info-left,.fg-panel-info-right) .fg-panel-info-inner,
.fg-medium.fg-x-large-width:is(.fg-panel-cart-left,.fg-panel-cart-right) .fg-panel-cart-inner,
.fg-medium.fg-x-large-width:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom):not(.fg-panel-thumbs-no-captions) .fg-panel-thumb,
.fg-medium.fg-x-large-width:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right):not(.fg-panel-thumbs-no-captions) .fg-panel-thumbs-inner {
    width: 360px;
    min-width: 360px;
}
.fg-medium.fg-x-large-width.fg-panel-info-overlay:is(.fg-panel-info-left,.fg-panel-info-right) .fg-panel-info-inner,
.fg-medium.fg-x-large-width.fg-panel-cart-overlay:is(.fg-panel-cart-left,.fg-panel-cart-right) .fg-panel-cart-inner {
    width: 402px;
    min-width: 402px;
}
.fg-panel-buttons {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    align-items: stretch;
    pointer-events: none;
}
.fg-portrait .fg-panel-buttons {
    flex-direction: row;
    height: 37px;
}
.fg-landscape .fg-panel-buttons {
    flex-direction: column-reverse;
    width: 37px;
}
.fg-panel:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-buttons {
    position: absolute;
    flex-direction: column-reverse;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    align-items: flex-end;
}

/* Mini reset to override certain WP themes */
.fg-panel .fg-panel-button,
.fg-panel .fg-panel-area-toggle,
.fg-panel .fg-panel-thumbs-button {
    background: none;
    border-radius: 0;
}

.fg-panel-button {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: unset;
    border-style: solid;
    border-width: 0;
    box-shadow: none;
    outline: none;
    padding: 1px 6px;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    text-decoration: none;
    min-width: unset;
}
.fg-panel-button.fg-disabled {
    pointer-events: none;
    opacity: 0.7;
}
.fg-panel-button.fg-hidden {
    display: none!important;
}
.fg-panel-button.fg-loading {
    color: transparent!important;
}
.fg-panel-button.fg-loading:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -.5em;
    margin-left: -.5em;
    width: 1em;
    height: 1em;
    font-size: 0.3em;
    pointer-events: none;
    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: button-loading 1.1s infinite steps(8, start);
    animation: button-loading 1.1s infinite steps(8, start);
}
.fg-panel.fg-button-blue .fg-panel-button.fg-loading:after,
.fg-panel.fg-button-dark .fg-panel-button.fg-loading:after,
.fg-panel.fg-button-green .fg-panel-button.fg-loading:after,
.fg-panel.fg-button-purple .fg-panel-button.fg-loading:after,
.fg-panel.fg-button-orange .fg-panel-button.fg-loading:after,
.fg-panel.fg-button-red .fg-panel-button.fg-loading:after {
    box-shadow: 0 -2.6em 0 0    rgba(255, 255, 255, 1),
    1.8em -1.8em 0 0            rgba(255, 255, 255, 0.2),
    2.5em 0 0 0                 rgba(255, 255, 255, 0.2),
    1.75em 1.75em 0 0           rgba(255, 255, 255, 0.2),
    0 2.5em 0 0                 rgba(255, 255, 255, 0.2),
    -1.8em 1.8em 0 0            rgba(255, 255, 255, 0.2),
    -2.6em 0 0 0                rgba(255, 255, 255, 0.5),
    -1.8em -1.8em 0 0           rgba(255, 255, 255, 0.7);
}

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

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

.fg-panel.fg-portrait.fg-panel-buttons-top .fg-panel-buttons .fg-panel-button {
    border-bottom-width: 1px;
}
.fg-panel.fg-portrait.fg-panel-buttons-bottom .fg-panel-buttons .fg-panel-button {
    border-top-width: 1px;
}
.fg-panel.fg-portrait:is(.fg-panel-buttons-top,.fg-panel-buttons-bottom) .fg-panel-buttons .fg-panel-button {
    border-right-width: 1px;
}
.fg-panel.fg-portrait:is(.fg-panel-buttons-top,.fg-panel-buttons-bottom) .fg-panel-buttons .fg-panel-button:last-child {
    border-right-width: 0;
}

.fg-panel.fg-landscape.fg-panel-buttons-right .fg-panel-buttons .fg-panel-button {
    border-left-width: 1px;
}
.fg-panel.fg-landscape.fg-panel-buttons-left .fg-panel-buttons .fg-panel-button {
    border-right-width: 1px;
}
.fg-panel.fg-landscape:is(.fg-panel-buttons-left,.fg-panel-buttons-right) .fg-panel-buttons .fg-panel-button {
    border-top-width: 1px;
}
.fg-panel.fg-landscape:is(.fg-panel-buttons-left,.fg-panel-buttons-right) .fg-panel-buttons .fg-panel-button:last-child {
    border-top-width: 0;
}

.fg-panel:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-buttons .fg-panel-button {
    border-radius: 3px;
    border-width: 1px;
    width: 32px;
    height: 32px;
    margin: 5px 5px 0 0;
}
.rtl .fg-panel:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-buttons .fg-panel-button {
    margin: 5px 0 0 5px;
}

.fg-panel:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-buttons :is(.fg-panel-button-prev,.fg-panel-button-next) {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 82px;
    margin: unset !important;
}
.fg-panel:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-buttons .fg-panel-button-prev {
    left: 5px;
}
.fg-panel:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-buttons .fg-panel-button-next {
    right: 5px;
}
.rtl .fg-panel:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-buttons .fg-panel-button-prev {
    right: 5px;
    left: auto;
}
.rtl .fg-panel:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-buttons .fg-panel-button-next {
    left: 5px;
    right: auto;
}

/* Hover buttons */
@media (hover: hover) {
    :is(.fg-medium,.fg-panel-no-mobile).fg-panel-hover-buttons .fg-panel-button {
        visibility: hidden;
        opacity: 0;
    }
    :is(.fg-medium,.fg-panel-no-mobile).fg-panel-hover-buttons:hover .fg-panel-button:not(.fg-disabled) {
        visibility: visible;
        opacity: 0.5;
    }
    :is(.fg-medium,.fg-panel-no-mobile).fg-panel-hover-buttons .fg-panel-button:not(.fg-disabled):hover {
        opacity: 1;
    }
}

.fg-panel-area .fg-panel-area-toggle {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1;
    width: 32px;
    height: 32px;
    cursor: pointer;
    overflow: hidden;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: unset;
    background-color: transparent;
    box-shadow: none;
    outline: none;
    border: none;
}
.fg-panel-area-toggle+.fg-panel-caption .fg-panel-caption-title {
    margin-right: 32px;
    line-height: 27px;
    margin-bottom: 5px;
}
.fg-panel-info-overlay:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-info .fg-panel-area-toggle {
    right: 42px;
}
.rtl .fg-panel-info-overlay:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-info .fg-panel-area-toggle {
    left: 42px;
    right: auto;
}


/* icons */
.fg-panel-button .fg-icon,
.fg-panel-area-toggle .fg-icon {
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.fg-panel-button.fg-disabled .fg-icon,
.fg-panel-area-toggle.fg-disabled .fg-icon {
    opacity: 0.3;
}
.fg-panel-fullscreen .fg-panel-button-fullscreen .fg-icon-expand,
.fg-panel-button-fullscreen .fg-icon-shrink {
    display: none;
}
.fg-panel-fullscreen .fg-panel-button-fullscreen .fg-icon-shrink {
    display: block;
}

.fg-panel-thumbs-top .fg-panel-button-thumbs .fg-icon {
    transform: translateX(-50%) translateY(-50%) rotate(90deg);
}
.fg-panel-thumbs-right .fg-panel-button-thumbs .fg-icon {
    transform: translateX(-50%) translateY(-50%) rotate(180deg);
}
.fg-panel-thumbs-bottom .fg-panel-button-thumbs .fg-icon {
    transform: translateX(-50%) translateY(-50%) rotate(-90deg);
}
.rtl .fg-panel-button-prev .fg-icon,
.rtl .fg-panel-button-next .fg-icon {
    transform: translateX(-50%) translateY(-50%) rotate(180deg);
}
.fg-panel:not(.fg-panel-maximized):not(.fg-panel-fullscreen) {
    border-style: solid;
    border-width: 1px;
}

.fg-panel:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-info-inner {
    border-width: 0;
    border-style: solid;
}

.fg-panel.fg-panel-info-right:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-info-inner {
    border-left-width: 1px;
}
.fg-panel.fg-panel-info-right.fg-panel-info-overlay:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-info-inner {
    border-right-width: 42px;
}

.fg-panel.fg-panel-info-left:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-info-inner {
    border-right-width: 1px;
}
.fg-panel.fg-panel-info-left.fg-panel-info-overlay:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-info-inner {
    border-left-width: 42px;
}

.fg-panel.fg-panel-info-top:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-info-inner {
    border-bottom-width: 1px;
}
.fg-panel.fg-panel-info-bottom:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-info-inner {
    border-top-width: 1px;
}

.fg-panel:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-cart-inner {
    border-width: 0;
    border-style: solid;
}

.fg-panel.fg-panel-cart-right:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-cart-inner {
    border-left-width: 1px;
}
.fg-panel.fg-panel-cart-right.fg-panel-cart-overlay:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-cart-inner {
    border-right-width: 42px;
}

.fg-panel.fg-panel-cart-left:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-cart-inner {
    border-right-width: 1px;
}
.fg-panel.fg-panel-cart-left.fg-panel-cart-overlay:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-cart-inner {
    border-left-width: 42px;
}

.fg-panel.fg-panel-cart-top:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-cart-inner {
    border-bottom-width: 1px;
}
.fg-panel.fg-panel-cart-bottom:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-cart-inner {
    border-top-width: 1px;
}

.fg-panel-thumb,
.fg-panel-thumb-spacer,
.fg-panel-thumbs-inner,
.fg-panel-thumbs-button {
    border-width: 0;
    border-style: solid;
}
.fg-panel-thumbs-right :is(.fg-panel-thumb,.fg-panel-thumb-spacer,.fg-panel-thumbs-button),
:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom) .fg-panel-thumb,
:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom) .fg-panel-thumbs-next {
    border-left-width: 1px;
}
.fg-panel-thumbs-bottom :is(.fg-panel-thumb,.fg-panel-thumb-spacer,.fg-panel-thumbs-button),
:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right) .fg-panel-thumb,
:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right) .fg-panel-thumbs-next,

.fg-medium.fg-panel-area-stack.fg-panel-info-visible.fg-panel-hover-buttons.fg-panel-thumbs-left.fg-panel-info-left:not(.fg-panel-info-overlay):not(.fg-panel-thumbs-no-captions) .fg-panel-thumbs-inner,
.fg-medium.fg-panel-area-stack.fg-panel-info-visible.fg-panel-hover-buttons.fg-panel-thumbs-right.fg-panel-info-right:not(.fg-panel-info-overlay):not(.fg-panel-thumbs-no-captions) .fg-panel-thumbs-inner,
.fg-medium.fg-panel-area-stack.fg-panel-info-visible.fg-panel-thumbs-left.fg-panel-info-left:not(.fg-panel-info-overlay):not(.fg-panel-thumbs-no-captions) .fg-panel-thumbs-prev,
.fg-medium.fg-panel-area-stack.fg-panel-info-visible.fg-panel-thumbs-right.fg-panel-info-right:not(.fg-panel-info-overlay):not(.fg-panel-thumbs-no-captions) .fg-panel-thumbs-prev,

.fg-panel-no-mobile.fg-panel-area-stack.fg-panel-info-visible.fg-panel-hover-buttons.fg-panel-thumbs-left.fg-panel-info-left:not(.fg-panel-info-overlay):not(.fg-panel-thumbs-no-captions) .fg-panel-thumbs-inner,
.fg-panel-no-mobile.fg-panel-area-stack.fg-panel-info-visible.fg-panel-hover-buttons.fg-panel-thumbs-right.fg-panel-info-right:not(.fg-panel-info-overlay):not(.fg-panel-thumbs-no-captions) .fg-panel-thumbs-inner,
.fg-panel-no-mobile.fg-panel-area-stack.fg-panel-info-visible.fg-panel-thumbs-left.fg-panel-info-left:not(.fg-panel-info-overlay):not(.fg-panel-thumbs-no-captions) .fg-panel-thumbs-prev,
.fg-panel-no-mobile.fg-panel-area-stack.fg-panel-info-visible.fg-panel-thumbs-right.fg-panel-info-right:not(.fg-panel-info-overlay):not(.fg-panel-thumbs-no-captions) .fg-panel-thumbs-prev {
    border-top-width: 1px;
}
.fg-panel-thumbs-left :is(.fg-panel-thumb,.fg-panel-thumb-spacer,.fg-panel-thumbs-button),
:is(.fg-panel-thumbs-top,.fg-panel-thumbs-bottom) .fg-panel-thumbs-prev {
    border-right-width: 1px;
}
.fg-panel-thumbs-top :is(.fg-panel-thumb,.fg-panel-thumb-spacer,.fg-panel-thumbs-button),
:is(.fg-panel-thumbs-left,.fg-panel-thumbs-right) .fg-panel-thumbs-prev {
    border-bottom-width: 1px;
}

/* Icon & Overlay */
.fg-panel .fg-panel-thumb-overlay {
    display: block;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 8;
    background: rgba(0,0,0,0.5) no-repeat center center;
    transition-duration: .1s;
    transition-timing-function: ease-in-out;
    transition-property: opacity, visibility;
}

.fg-panel .fg-panel-thumb-overlay:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 32px;
    height: 32px;
    background-position: center center;
    background-repeat: no-repeat;
}

.fg-panel:is(.fg-hover-zoom,.fg-hover-zoom2,.fg-hover-zoom3,.fg-hover-zoom4,.fg-hover-zoom5,.fg-hover-plus,.fg-hover-plus2,.fg-hover-plus3,.fg-hover-circle-plus,.fg-hover-circle-plus2,.fg-hover-square-plus,.fg-hover-eye,.fg-hover-external,.fg-hover-tint) .fg-panel-thumb:hover .fg-panel-thumb-overlay,
.fg-panel:is(.fg-video-default,.fg-video-1,.fg-video-2,.fg-video-3,.fg-video-4) .fg-panel-thumb.fg-type-video:hover .fg-panel-thumb-overlay {
    visibility: visible;
    opacity: 1;
}
.fg-panel.fg-video-sticky .fg-panel-thumb.fg-type-video.fg-loaded .fg-panel-thumb-overlay {
    background-color: transparent;
    visibility: visible;
    opacity: 1;
}

.fg-panel.fg-hover-zoom .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#zoom-light');
}

.fg-panel.fg-hover-zoom2 .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#zoom2-light');
}

.fg-panel.fg-hover-zoom3 .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#zoom3-light');
}

.fg-panel.fg-hover-zoom4 .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#zoom4-light');
}

.fg-panel.fg-hover-zoom5 .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#zoom5-light');
}

.fg-panel.fg-hover-plus .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#plus-light');
}

.fg-panel.fg-hover-plus2 .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#plus2-light');
}

.fg-panel.fg-hover-plus3 .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#plus3-light');
}

.fg-panel.fg-hover-circle-plus .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#circle-plus-light');
}

.fg-panel.fg-hover-circle-plus2 .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#circle-plus2-light');
}

.fg-panel.fg-hover-square-plus .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#square-plus-light');
}

.fg-panel.fg-hover-eye .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#eye-light');
}

.fg-panel.fg-hover-external .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#external-light');
}

.fg-panel.fg-video-default .fg-type-video .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#video-default-light');
}

.fg-panel.fg-video-1 .fg-type-video .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#video-1-light');
}

.fg-panel.fg-video-2 .fg-type-video .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#video-2-light');
}

.fg-panel.fg-video-3 .fg-type-video .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#video-3-light');
}

.fg-panel.fg-video-4 .fg-type-video .fg-panel-thumb-overlay:before {
    background-image: url('../img/icons.svg#video-4-light');
}

/* Media CSS */
.fg-media {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    overflow: hidden;
}
.fg-panel:is(.fg-medium,.fg-panel-no-mobile) .fg-media {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.fg-panel.fg-panel-preserve-button-space:is(.fg-medium,.fg-panel-no-mobile) .fg-media {
    top: 5px;
    left: 42px;
    width: calc(100% - 84px);
    height: calc(100% - 10px);
}
.fg-media .fg-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 1em;
    height: 1em;
    font-size: 5px;
    visibility: hidden;
    opacity: 0;
}
.fg-media.fg-loading .fg-loader {
    visibility: visible;
    opacity: 1;
}
.fg-media:not(.fg-media-html) {
    /*-webkit-touch-callout: none; !* iOS Safari - Disables Save Image As *!*/
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.fg-media-content {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 100%;
    max-height: 100%;
    visibility: hidden;
    opacity: 0;
}
.fg-media.fg-loaded .fg-media-content {
    visibility: visible;
    opacity: 1;
}
.fg-media-image .fg-media-content {
    height: auto;
}
.fg-panel-fit-media .fg-media-image .fg-media-full-width {
    width: 100%;
    max-height: unset;
}
.fg-panel-fit-media .fg-media-image .fg-media-full-height {
    height: 100%;
    max-width: unset;
}
:is(.fg-media-iframe,.fg-media-video) .fg-media-content {
    width: 100%;
    height: 100%;
}
.fg-panel-fit-media :is(.fg-media-iframe,.fg-media-video) .fg-media-content {
    width: 100% !important;
    height: 100% !important;
}
.fg-panel.fg-panel-preserve-button-space .fg-media-iframe .fg-media-content {
    border-width: 1px;
    border-style: solid;
}
.fg-panel-fit-media .fg-media-video.fg-loaded {
    background-color: #000;
}
.fg-media-video .fg-media-content {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.fg-media-html .fg-media-content {

}
.fg-media-embed .fg-media-content .fb-video > span,
.fg-media-embed .fg-media-content > iframe,
.fg-media-embed .fg-media-content > video,
.fg-media-embed .fg-media-content > object {
    margin: 0;
    border: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}
.fg-panel-info-toggle {
    display: inline-block;
}
:is(.fg-medium,.fg-panel-no-mobile):not(.fg-panel-info-overlay) .fg-panel-info-toggle {
    display: none;
}
.fg-media-caption {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
    gap: 10px;
    font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
}
:is(.fg-panel-info-top,.fg-panel-info-bottom) .fg-media-caption {
    text-align: center;
    padding: 10px 42px;
}
.fg-panel-media-caption-left .fg-media-caption {
    text-align: left;
}
.fg-panel-media-caption-right .fg-media-caption {
    text-align: right;
}
.fg-panel-media-caption-center .fg-media-caption {
    text-align: center;
}
.fg-panel-media-caption-justify .fg-media-caption {
    text-align: justify;
}

.fg-media-caption-title {
    font-weight: 600;
    border: none;
}
:is(.fg-panel-info-left,.fg-panel-info-right):is(.fg-medium,.fg-panel-no-mobile) .fg-media-caption-title {
    padding-bottom: 10px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.fg-media-caption-description {
    font-size: smaller;
    max-height: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    border: none;
}


.fg-media-caption-exif {
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    border: none;
    text-align: left;
    padding: 10px 0 0 0;
    gap: 10px;
}
.rtl .fg-media-caption-exif {
    text-align: right;
}
.fg-media-caption-exif:is(.fg-media-caption-exif-auto,.fg-media-caption-exif-full,.fg-media-caption-exif-partial,.fg-media-caption-exif-minimal) {
    display: flex;
}
.fg-media-caption-description + .fg-media-caption-exif {
    border-top-style: solid;
    border-top-width: 1px;
}
.fg-medium:is(.fg-panel-info-left,.fg-panel-info-right) .fg-media-caption-exif:is(.fg-media-caption-exif-auto,.fg-media-caption-exif-full,.fg-media-caption-exif-partial) {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: left;
}
.fg-media-caption-exif-prop {
    position: relative;
    display: flex;
    height: 24px;
    padding: 0;
    gap: 10px;
}
.rtl .fg-media-caption-exif-prop {
    flex-direction: row-reverse;
}

.fg-media-caption-exif-full .fg-media-caption-exif-prop,
.fg-panel.fg-large .fg-media-caption-exif-auto .fg-media-caption-exif-prop {
    height: 30px;
}
.fg-media-caption-exif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 16px;
    min-height: 16px;
    width: 16px;
    height: 100%;
}

.fg-media-caption-exif-content {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.fg-media-caption-exif-full .fg-media-caption-exif-content,
.fg-media-caption-exif-partial .fg-media-caption-exif-content,
.fg-panel.fg-medium .fg-media-caption-exif-auto .fg-media-caption-exif-content {
    display: flex;
}

.fg-media-caption-exif-label {
    display: none;
    width: 100%;
    font-size: 11px;
    font-style: italic;
    line-height: 11px;
    white-space: nowrap;
}
.fg-media-caption-exif-full .fg-media-caption-exif-label,
.fg-panel.fg-large .fg-media-caption-exif-auto .fg-media-caption-exif-label {
    display: block;
}
.fg-media-caption-exif-value {
    display: none;
    width: 100%;
    font-size: 12px;
    line-height: 14px;
    white-space: nowrap;
}
.fg-media-caption-exif-full .fg-media-caption-exif-value,
.fg-media-caption-exif-partial .fg-media-caption-exif-value,
.fg-panel.fg-medium .fg-media-caption-exif-auto .fg-media-caption-exif-value {
    display: block;
}

.fg-media-caption-exif-tooltip {
    display: none;
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    color: #FFF;
    white-space: nowrap;
    background-color: #333;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 3px;
    box-shadow: 0 0 10px 0 #000;
    z-index: 1;
}
.fg-panel-info-top .fg-media-caption-exif-tooltip {
    top: unset;
    bottom: -8px;
    transform: translateX(-50%) translateY(100%);
}
:is(.fg-media-caption-exif-partial,.fg-media-caption-exif-full,.fg-panel.fg-medium .fg-media-caption-exif-auto) .fg-media-caption-exif-tooltip {
    left: 0;
    transform: translateY(-100%);
}
:is(.fg-panel-info-top .fg-media-caption-exif-partial,.fg-panel-info-top .fg-media-caption-exif-full,.fg-panel.fg-medium.fg-panel-info-top .fg-media-caption-exif-auto) .fg-media-caption-exif-tooltip {
    transform: translateY(100%);
}
.rtl :is(.fg-media-caption-exif-partial,.fg-media-caption-exif-full,.fg-panel.fg-medium .fg-media-caption-exif-auto) .fg-media-caption-exif-tooltip {
    left: unset;
    right: 0;
    transform: translateY(-100%);
}
.rtl :is(.fg-panel-info-top .fg-media-caption-exif-partial,.fg-panel-info-top .fg-media-caption-exif-full,.fg-panel.fg-medium.fg-panel-info-top .fg-media-caption-exif-auto) .fg-media-caption-exif-tooltip {
    transform: translateY(100%);
}

.fg-media-caption-exif-tooltip-pointer {
    display: block;
    content: '';
    border-top: 8px solid #333;
    border-bottom: 8px solid transparent;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    bottom: -16px;
    left: 50%;
    margin-left: -8px;
}
.fg-panel-info-top .fg-media-caption-exif-tooltip-pointer {
    border-top: 8px solid transparent;
    border-bottom: 8px solid #333;
    bottom: unset;
    top: -16px;
}
:is(.fg-media-caption-exif-partial,.fg-media-caption-exif-full,.fg-panel.fg-medium .fg-media-caption-exif-auto) .fg-media-caption-exif-tooltip-pointer {
    left: 21px;
}
.rtl :is(.fg-media-caption-exif-partial,.fg-media-caption-exif-full,.fg-panel.fg-medium .fg-media-caption-exif-auto) .fg-media-caption-exif-tooltip-pointer {
    left: unset;
    margin-left: unset;
    right: 21px;
    margin-right: -8px;
}

.fg-media-caption-exif-prop.fg-media-caption-exif-show-tooltip .fg-media-caption-exif-tooltip {
    display: inline-block;
}

@media (hover: hover) {
    .fg-media-caption-exif-tooltip {
        display: none;
    }
    .fg-media-caption-exif-prop:hover .fg-media-caption-exif-tooltip {
        display: inline-block;
    }
}
.fg-panel-cart-toggle {
    display: inline-block;
}
:is(.fg-medium,.fg-panel-no-mobile) .fg-panel-cart-toggle {
    display: none;
}

.fg-media-product, .fg-media-product * {
    box-sizing: border-box;
}
.fg-media-product {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}
:is(.fg-medium,.fg-panel-no-mobile) .fg-media-product {
    height: 100%;
}
.fg-media-product-inner {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3ms ease-in-out, visibility 0.3ms ease-in-out;
    opacity: 0;
    visibility: hidden;
}
.fg-media-product.fg-loaded .fg-media-product-inner {
    opacity: 1;
    visibility: visible;
}
.fg-media-product-header {
    min-height: fit-content;
    line-height: 20px;
    margin: 0 30px 10px 0;
    font-weight: 600;
}
:is(.fg-medium,.fg-panel-no-mobile) .fg-media-product-header {
    margin-right: 0;
}
.fg-media-product-body {
    max-height: 100%;
    width: 100%;
    border-style: solid;
    border-width: 0;
    border-top-width: 1px;
    border-bottom-width: 1px;
    margin: 0;
    overflow: auto;
    font-size: smaller;
    padding: 10px 0;
}
.fg-media-product-body > label {
    display: block;
    font-size: 22px;
    font-weight: 400;
    margin: .7em 0;
    padding: 0;
    border: none;
}
.fg-media-product-body > p {
    font-size: inherit;
    font-weight: normal;
    margin: 0 0 10px;
}

/* table styling for variations */
.fg-media-product-variations {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    text-align: center;
}
.fg-media-product-variations > tbody > tr:nth-child(even) {
    background-color: rgba(0,0,0,0.1);
}
.fg-media-product-variations > thead > tr > th {
    font-weight: 600;
    background-color: rgba(0,0,0,0.25);
    padding: 4px;
    border: solid 1px rgba(0,0,0,0.3);
}
.fg-media-product-variations > tbody > tr > td {
    background-color: transparent;
    padding: 4px;
    border: solid 1px rgba(0,0,0,0.3);
}
.fg-media-product-variations > thead > tr > th:last-child,
.fg-media-product-variations > tbody > tr > td:last-child {
    text-align: right;
}
.fg-media-product-variations > tbody > tr > td del {
    opacity: 0.5;
}
.fg-media-product-variations > tbody > tr > td ins {
    text-decoration: none;
}


.fg-media-product-footer {
    min-height: fit-content;
    margin: 10px 0 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}
.fg-media-product-footer.fg-hidden {
    display: none!important;
}
:is(.fg-medium,.fg-panel-no-media) .fg-media-product-footer {
    flex-direction: column;
}
.fg-media-product-footer .fg-panel-button {
    margin: 2px;
    border-width: 1px;
    border-radius: 3px;
    height: auto;
    line-height: 28px;
    min-height: fit-content;
    min-width: fit-content;
    max-width: 50%;
    text-align: center;
    font-size: 14px;
}
:is(.fg-medium,.fg-panel-no-media) .fg-media-product-footer .fg-panel-button {
    max-width: 100%;
}
.fg-media-product-footer p {
    margin: 7px 3px 0;
    text-align: center;
}
.fg-panel.fg-light {
    color: #333;
}
.fg-panel.fg-dark {
    color: #FeFeFe;
}

/* Border Color */
.fg-panel.fg-light,
.fg-panel.fg-light :is(.fg-panel-info-inner,.fg-panel-cart-inner,.fg-panel-thumbs-inner),
.fg-panel.fg-light.fg-panel-preserve-button-space .fg-media-iframe .fg-media-content,
.fg-panel.fg-light .fg-panel-thumb:is(.fg-idle,.fg-loading,.fg-error) .fg-panel-thumb-media {
    border-color: #e2e2e2;
}

.fg-panel.fg-dark,
.fg-panel.fg-dark :is(.fg-panel-info-inner,.fg-panel-cart-inner,.fg-panel-thumbs-inner),
.fg-panel.fg-dark.fg-panel-preserve-button-space .fg-media-iframe .fg-media-content,
.fg-panel.fg-dark .fg-panel-thumb:is(.fg-idle,.fg-loading,.fg-error) .fg-panel-thumb-media {
    border-color: #232323;
}

.fg-panel.fg-light :is(.fg-media-caption-title,.fg-media-caption-exif,.fg-media-product-body) {
    border-color: #e2e2e2;
}
.fg-panel.fg-dark :is(.fg-media-caption-title,.fg-media-caption-exif,.fg-media-product-body) {
    border-color: #767676;
}
/* Background Color */
.fg-panel.fg-light,
.fg-panel.fg-light .fg-panel-thumb:is(.fg-idle,.fg-loading,.fg-error) .fg-panel-thumb-media {
    background-color: #EEE;
}
.fg-panel.fg-dark,
.fg-panel.fg-dark .fg-panel-thumb:is(.fg-idle,.fg-loading,.fg-error) .fg-panel-thumb-media {
    background-color: #151515;
}

.fg-panel.fg-light :is(.fg-panel-cart-inner,.fg-panel-info-inner) {
    background-color: rgba(255, 255, 255, 0.95);
}
.fg-panel.fg-dark :is(.fg-panel-cart-inner,.fg-panel-info-inner) {
    background-color: rgba(51, 51, 51, 0.95);
}

/* EXIF Colors */
.fg-panel.fg-light .fg-media-caption-exif-icon {
    color: #767676;
}
.fg-panel.fg-light .fg-media-caption-exif-label {
    color: #777777;
}

.fg-panel.fg-dark .fg-media-caption-exif-icon {
    color: #FFFFFF;
}
.fg-panel.fg-dark .fg-media-caption-exif-label {
    color: #bbbbbb;
}

/* Button & Highlight Colors */
.fg-panel.fg-dark .fg-panel-button.fg-panel-button-primary,
.fg-panel.fg-light :is(.fg-panel-button,.fg-panel-thumbs-button,.fg-panel-thumb,.fg-panel-thumb-spacer),
.fg-panel.fg-light:is(.fg-medium,.fg-panel-no-mobile):not(.fg-panel-info-overlay) .fg-panel-info-inner,
.fg-panel.fg-light:is(.fg-medium,.fg-panel-no-mobile):not(.fg-panel-cart-overlay) .fg-panel-cart-inner {
    background-color: #FFF;
    border-color: #e2e2e2;
}
.fg-panel.fg-dark .fg-panel-button[aria-pressed="true"],
.fg-panel.fg-light .fg-panel-button.fg-panel-button-primary[aria-pressed="true"] {
    background-color: #FFF;
}
.fg-panel.fg-light:is(.fg-medium,.fg-panel-no-mobile):not(.fg-panel-info-overlay) .fg-panel-info-inner,
.fg-panel.fg-light:is(.fg-medium,.fg-panel-no-mobile):not(.fg-panel-cart-overlay) .fg-panel-cart-inner,
.fg-panel.fg-light .fg-panel-thumb.fg-selected {
    background-color: #f0f0f0;
}
.fg-panel.fg-light :is(.fg-panel-button,.fg-panel-area-toggle,.fg-panel-thumbs-button),
.fg-panel.fg-dark .fg-panel-button[aria-pressed="true"],
.fg-panel.fg-light .fg-panel-button.fg-panel-button-primary[aria-pressed="true"] {
    color: #767676;
}
.fg-panel.fg-dark .fg-panel-button.fg-panel-button-primary,
.fg-panel.fg-light .fg-panel-button.fg-panel-button-secondary {
    color: #222;
}

.fg-panel.fg-light .fg-panel-button.fg-panel-button-primary,
.fg-panel.fg-dark :is(.fg-panel-button,.fg-panel-thumbs-button,.fg-panel-thumb,.fg-panel-thumb-spacer),
.fg-panel.fg-dark:is(.fg-medium,.fg-panel-no-mobile):not(.fg-panel-info-overlay) .fg-panel-info-inner,
.fg-panel.fg-dark:is(.fg-medium,.fg-panel-no-mobile):not(.fg-panel-cart-overlay) .fg-panel-cart-inner {
    background-color: #333;
    border-color: #222;
}
.fg-panel.fg-light .fg-panel-button[aria-pressed="true"],
.fg-panel.fg-dark .fg-panel-button.fg-panel-button-primary[aria-pressed="true"] {
    background-color: #333;
}
.fg-panel.fg-dark:is(.fg-medium,.fg-panel-no-mobile):not(.fg-panel-info-overlay) .fg-panel-info-inner,
.fg-panel.fg-dark:is(.fg-medium,.fg-panel-no-mobile):not(.fg-panel-cart-overlay) .fg-panel-cart-inner,
.fg-panel.fg-dark .fg-panel-thumb.fg-selected {
    background-color: #2c2c2c;
}
.fg-panel.fg-light .fg-panel-button.fg-panel-button-primary,
.fg-panel.fg-dark :is(.fg-panel-button,.fg-panel-area-toggle,.fg-panel-thumbs-button),
.fg-panel.fg-light .fg-panel-button[aria-pressed="true"],
.fg-panel.fg-dark .fg-panel-button.fg-panel-button-primary[aria-pressed="true"] {
    color: #FFF;
}

@media (hover: hover) {
    .fg-panel.fg-light .fg-panel-area-toggle:hover,
    .fg-panel.fg-light .fg-panel-area-toggle:focus {
        color: #bbbbbb;
    }
    .fg-panel.fg-light .fg-panel-button:hover,
    .fg-panel.fg-light .fg-panel-button:focus,
    .fg-panel.fg-dark .fg-panel-button[aria-pressed="true"]:hover,
    .fg-panel.fg-dark .fg-panel-button[aria-pressed="true"]:focus,
    .fg-panel.fg-light .fg-panel-thumbs-button:hover,
    .fg-panel.fg-light .fg-panel-thumbs-button:focus,
    .fg-panel.fg-light .fg-panel-thumb:hover,
    .fg-panel.fg-light .fg-panel-thumb:focus,
    .fg-panel.fg-dark .fg-panel-button.fg-panel-button-primary:hover,
    .fg-panel.fg-dark .fg-panel-button.fg-panel-button-primary:focus,
    .fg-panel.fg-light .fg-panel-button.fg-panel-button-primary[aria-pressed="true"]:hover,
    .fg-panel.fg-light .fg-panel-button.fg-panel-button-primary[aria-pressed="true"]:focus {
        background-color: #f5f5f5;
    }
    .fg-panel.fg-dark .fg-panel-area-toggle:hover,
    .fg-panel.fg-dark .fg-panel-area-toggle:focus {
        color: #bbbbbb;
    }
    .fg-panel.fg-dark .fg-panel-button:hover,
    .fg-panel.fg-dark .fg-panel-button:focus,
    .fg-panel.fg-light .fg-panel-button[aria-pressed="true"]:hover,
    .fg-panel.fg-light .fg-panel-button[aria-pressed="true"]:focus,
    .fg-panel.fg-dark .fg-panel-thumbs-button:hover,
    .fg-panel.fg-dark .fg-panel-thumbs-button:focus,
    .fg-panel.fg-dark .fg-panel-thumb:hover,
    .fg-panel.fg-dark .fg-panel-thumb:focus,
    .fg-panel.fg-light .fg-panel-button.fg-panel-button-primary:hover,
    .fg-panel.fg-light .fg-panel-button.fg-panel-button-primary:focus,
    .fg-panel.fg-dark .fg-panel-button.fg-panel-button-primary[aria-pressed="true"]:hover,
    .fg-panel.fg-dark .fg-panel-button.fg-panel-button-primary[aria-pressed="true"]:focus {
        background-color: #303030;
    }
}


.fg-panel.fg-button-light .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]),
.fg-panel.fg-button-light .fg-panel-thumbs-button,
.fg-panel.fg-button-light .fg-panel-thumb.fg-selected {
    background-color: #fff;
    border-color: #e2e2e2;
    color: #767676;
}
.fg-panel.fg-button-light .fg-panel-button:is(.fg-panel-button-primary,.fg-panel-button-secondary) {
    color: #222;
}

.fg-panel.fg-button-blue .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]),
.fg-panel.fg-button-blue .fg-panel-thumbs-button,
.fg-panel.fg-button-blue .fg-panel-thumb.fg-selected {
    background-color: #3079ed;
    border-color: #306be1;
    color: #FFF;
}

.fg-panel.fg-button-dark .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]),
.fg-panel.fg-button-dark .fg-panel-thumbs-button,
.fg-panel.fg-button-dark .fg-panel-thumb.fg-selected {
    background-color: #4e4e4e;
    border-color: #292929;
    color: #FFF;
}

.fg-panel.fg-button-green .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]),
.fg-panel.fg-button-green .fg-panel-thumbs-button,
.fg-panel.fg-button-green .fg-panel-thumb.fg-selected {
    background-color: #027339;
    border-color: #025f2f;
    color: #FFF;
}

.fg-panel.fg-button-purple .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]),
.fg-panel.fg-button-purple .fg-panel-thumbs-button,
.fg-panel.fg-button-purple .fg-panel-thumb.fg-selected {
    background-color: #6816c2;
    border-color: #5416a8;
    color: #FFF;
}

.fg-panel.fg-button-orange .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]),
.fg-panel.fg-button-orange .fg-panel-thumbs-button,
.fg-panel.fg-button-orange .fg-panel-thumb.fg-selected {
    background-color: #e57731;
    border-color: #c36230;
    color: #FFF;
}

.fg-panel.fg-button-red .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]),
.fg-panel.fg-button-red .fg-panel-thumbs-button,
.fg-panel.fg-button-red .fg-panel-thumb.fg-selected {
    background-color: #c22b24;
    border-color: #9f2924;
    color: #FFF;
}

@media (hover: hover) {
    .fg-panel.fg-button-light .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):hover,
    .fg-panel.fg-button-light .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):focus,
    .fg-panel.fg-button-light .fg-panel-thumbs-button:hover,
    .fg-panel.fg-button-light .fg-panel-thumbs-button:focus,
    .fg-panel.fg-button-light .fg-panel-thumb:hover,
    .fg-panel.fg-button-light .fg-panel-thumb:focus,
    .fg-panel.fg-button-light .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-button-light .fg-panel-thumb.fg-selected:focus,
    .fg-panel.fg-highlight-light .fg-panel-area .fg-panel-button:hover,
    .fg-panel.fg-highlight-light .fg-panel-area .fg-panel-button:focus,
    .fg-panel.fg-highlight-light .fg-panel-area .fg-panel-thumbs-button:hover,
    .fg-panel.fg-highlight-light .fg-panel-area .fg-panel-thumbs-button:focus,
    .fg-panel.fg-highlight-light .fg-panel-area .fg-panel-thumb:hover,
    .fg-panel.fg-highlight-light .fg-panel-area .fg-panel-thumb:focus,
    .fg-panel.fg-highlight-light .fg-panel-area .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-highlight-light .fg-panel-area .fg-panel-thumb.fg-selected:focus {
        background-color: #f5f5f5;
        border-color: #e2e2e2;
        color: #bbb;
    }

    .fg-panel.fg-button-blue .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):hover,
    .fg-panel.fg-button-blue .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):focus,
    .fg-panel.fg-button-blue .fg-panel-thumbs-button:hover,
    .fg-panel.fg-button-blue .fg-panel-thumbs-button:focus,
    .fg-panel.fg-button-blue .fg-panel-thumb:hover,
    .fg-panel.fg-button-blue .fg-panel-thumb:focus,
    .fg-panel.fg-button-blue .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-button-blue .fg-panel-thumb.fg-selected:focus,
    .fg-panel.fg-highlight-blue .fg-panel-area .fg-panel-button:hover,
    .fg-panel.fg-highlight-blue .fg-panel-area .fg-panel-button:focus,
    .fg-panel.fg-highlight-blue .fg-panel-area .fg-panel-thumbs-button:hover,
    .fg-panel.fg-highlight-blue .fg-panel-area .fg-panel-thumbs-button:focus,
    .fg-panel.fg-highlight-blue .fg-panel-area .fg-panel-thumb:hover,
    .fg-panel.fg-highlight-blue .fg-panel-area .fg-panel-thumb:focus,
    .fg-panel.fg-highlight-blue .fg-panel-area .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-highlight-blue .fg-panel-area .fg-panel-thumb.fg-selected:focus {
        background-color: #4d90fe;
        border-color: #3079ed;
        color: #FFF;
    }

    .fg-panel.fg-button-dark .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):hover,
    .fg-panel.fg-button-dark .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):focus,
    .fg-panel.fg-button-dark .fg-panel-thumbs-button:hover,
    .fg-panel.fg-button-dark .fg-panel-thumbs-button:focus,
    .fg-panel.fg-button-dark .fg-panel-thumb:hover,
    .fg-panel.fg-button-dark .fg-panel-thumb:focus,
    .fg-panel.fg-button-dark .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-button-dark .fg-panel-thumb.fg-selected:focus,
    .fg-panel.fg-highlight-dark .fg-panel-area .fg-panel-button:hover,
    .fg-panel.fg-highlight-dark .fg-panel-area .fg-panel-button:focus,
    .fg-panel.fg-highlight-dark .fg-panel-area .fg-panel-thumbs-button:hover,
    .fg-panel.fg-highlight-dark .fg-panel-area .fg-panel-thumbs-button:focus,
    .fg-panel.fg-highlight-dark .fg-panel-area .fg-panel-thumb:hover,
    .fg-panel.fg-highlight-dark .fg-panel-area .fg-panel-thumb:focus,
    .fg-panel.fg-highlight-dark .fg-panel-area .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-highlight-dark .fg-panel-area .fg-panel-thumb.fg-selected:focus {
        background-color: #5e5e5e;
        border-color: #292929;
        color: #FFF;
    }

    .fg-panel.fg-button-green .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):hover,
    .fg-panel.fg-button-green .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):focus,
    .fg-panel.fg-button-green .fg-panel-thumbs-button:hover,
    .fg-panel.fg-button-green .fg-panel-thumbs-button:focus,
    .fg-panel.fg-button-green .fg-panel-thumb:hover,
    .fg-panel.fg-button-green .fg-panel-thumb:focus,
    .fg-panel.fg-button-green .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-button-green .fg-panel-thumb.fg-selected:focus,
    .fg-panel.fg-highlight-green .fg-panel-area .fg-panel-button:hover,
    .fg-panel.fg-highlight-green .fg-panel-area .fg-panel-button:focus,
    .fg-panel.fg-highlight-green .fg-panel-area .fg-panel-thumbs-button:hover,
    .fg-panel.fg-highlight-green .fg-panel-area .fg-panel-thumbs-button:focus,
    .fg-panel.fg-highlight-green .fg-panel-area .fg-panel-thumb:hover,
    .fg-panel.fg-highlight-green .fg-panel-area .fg-panel-thumb:focus,
    .fg-panel.fg-highlight-green .fg-panel-area .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-highlight-green .fg-panel-area .fg-panel-thumb.fg-selected:focus {
        background-color: #02874A;
        border-color: #027339;
        color: #FFF;
    }

    .fg-panel.fg-button-purple .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):hover,
    .fg-panel.fg-button-purple .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):focus,
    .fg-panel.fg-button-purple .fg-panel-thumbs-button:hover,
    .fg-panel.fg-button-purple .fg-panel-thumbs-button:focus,
    .fg-panel.fg-button-purple .fg-panel-thumb:hover,
    .fg-panel.fg-button-purple .fg-panel-thumb:focus,
    .fg-panel.fg-button-purple .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-button-purple .fg-panel-thumb.fg-selected:focus,
    .fg-panel.fg-highlight-purple .fg-panel-area .fg-panel-button:hover,
    .fg-panel.fg-highlight-purple .fg-panel-area .fg-panel-button:focus,
    .fg-panel.fg-highlight-purple .fg-panel-area .fg-panel-thumbs-button:hover,
    .fg-panel.fg-highlight-purple .fg-panel-area .fg-panel-thumbs-button:focus,
    .fg-panel.fg-highlight-purple .fg-panel-area .fg-panel-thumb:hover,
    .fg-panel.fg-highlight-purple .fg-panel-area .fg-panel-thumb:focus,
    .fg-panel.fg-highlight-purple .fg-panel-area .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-highlight-purple .fg-panel-area .fg-panel-thumb.fg-selected:focus {
        background-color: #7816D6;
        border-color: #6816c2;
        color: #FFF;
    }

    .fg-panel.fg-button-orange .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):hover,
    .fg-panel.fg-button-orange .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):focus,
    .fg-panel.fg-button-orange .fg-panel-thumbs-button:hover,
    .fg-panel.fg-button-orange .fg-panel-thumbs-button:focus,
    .fg-panel.fg-button-orange .fg-panel-thumb:hover,
    .fg-panel.fg-button-orange .fg-panel-thumb:focus,
    .fg-panel.fg-button-orange .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-button-orange .fg-panel-thumb.fg-selected:focus,
    .fg-panel.fg-highlight-orange .fg-panel-area .fg-panel-button:hover,
    .fg-panel.fg-highlight-orange .fg-panel-area .fg-panel-button:focus,
    .fg-panel.fg-highlight-orange .fg-panel-area .fg-panel-thumbs-button:hover,
    .fg-panel.fg-highlight-orange .fg-panel-area .fg-panel-thumbs-button:focus,
    .fg-panel.fg-highlight-orange .fg-panel-area .fg-panel-thumb:hover,
    .fg-panel.fg-highlight-orange .fg-panel-area .fg-panel-thumb:focus,
    .fg-panel.fg-highlight-orange .fg-panel-area .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-highlight-orange .fg-panel-area .fg-panel-thumb.fg-selected:focus {
        background-color: #FF8E31;
        border-color: #e57731;
        color: #FFF;
    }

    .fg-panel.fg-button-red .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):hover,
    .fg-panel.fg-button-red .fg-panel-button:not(.fg-panel-button-secondary,[aria-pressed="true"]):focus,
    .fg-panel.fg-button-red .fg-panel-thumbs-button:hover,
    .fg-panel.fg-button-red .fg-panel-thumbs-button:focus,
    .fg-panel.fg-button-red .fg-panel-thumb:hover,
    .fg-panel.fg-button-red .fg-panel-thumb:focus,
    .fg-panel.fg-button-red .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-button-red .fg-panel-thumb.fg-selected:focus,
    .fg-panel.fg-highlight-red .fg-panel-area .fg-panel-button:hover,
    .fg-panel.fg-highlight-red .fg-panel-area .fg-panel-button:focus,
    .fg-panel.fg-highlight-red .fg-panel-area .fg-panel-thumbs-button:hover,
    .fg-panel.fg-highlight-red .fg-panel-area .fg-panel-thumbs-button:focus,
    .fg-panel.fg-highlight-red .fg-panel-area .fg-panel-thumb:hover,
    .fg-panel.fg-highlight-red .fg-panel-area .fg-panel-thumb:focus,
    .fg-panel.fg-highlight-red .fg-panel-area .fg-panel-thumb.fg-selected:hover,
    .fg-panel.fg-highlight-red .fg-panel-area .fg-panel-thumb.fg-selected:focus {
        background-color: #F12B24;
        border-color: #c22b24;
        color: #FFF;
    }
}
/* transitions */
.fg-panel-fade .fg-media,
.fg-panel-horizontal .fg-media,
.fg-panel-vertical .fg-media,
.fg-panel-fade .fg-panel-thumbs-stage,
.fg-panel-horizontal .fg-panel-thumbs-stage,
.fg-panel-vertical .fg-panel-thumbs-stage {
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}

.fg-panel-fade .fg-panel-thumbs-stage,
.fg-panel-horizontal .fg-panel-thumbs-stage,
.fg-panel-vertical .fg-panel-thumbs-stage {
    transition-property: transform;
}

.fg-panel-fade .fg-media-content,
.fg-panel-horizontal .fg-media-content,
.fg-panel-vertical .fg-media-content {
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
    transition-property: opacity, visibility;
}

@media (hover: hover) {
    .fg-panel-fade .fg-panel-button,
    .fg-panel-horizontal .fg-panel-button,
    .fg-panel-vertical .fg-panel-button,
    .fg-panel-fade .fg-panel-area-toggle,
    .fg-panel-horizontal .fg-panel-area-toggle,
    .fg-panel-vertical .fg-panel-area-toggle,
    .fg-panel-fade .fg-panel-thumb,
    .fg-panel-horizontal .fg-panel-thumb,
    .fg-panel-vertical .fg-panel-thumb,
    .fg-panel-fade .fg-panel-thumbs-button,
    .fg-panel-horizontal .fg-panel-thumbs-button,
    .fg-panel-vertical .fg-panel-thumbs-button {
        transition-property: background-color, border-color, color, opacity, visibility;
        transition-duration: .1s;
        transition-timing-function: ease-in-out;
    }
}

/* content fade in/out */
.fg-panel-fade .fg-media {
    transition-property: opacity, visibility, padding;
    visibility: hidden;
    opacity: 0;
}
.fg-panel-fade .fg-media.fg-visible,
.fg-panel-fade .fg-media.fg-reverse.fg-visible {
    visibility: visible;
    opacity: 1;
}

/* content slide left/right */
.fg-panel-horizontal .fg-media {
    transition-property: opacity, visibility, transform, padding;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
}
.fg-panel-horizontal .fg-media.fg-reverse {
    transform: translateX(100%);
}
.fg-panel-horizontal .fg-media.fg-visible,
.fg-panel-horizontal .fg-media.fg-reverse.fg-visible {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}

/* content slide up/down */
.fg-panel-vertical .fg-media {
    transition-property: opacity, visibility, transform, padding;
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
}
.fg-panel-vertical .fg-media.fg-reverse {
    transform: translateY(100%);
}
.fg-panel-vertical .fg-media.fg-visible,
.fg-panel-vertical .fg-media.fg-reverse.fg-visible {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}
.fg-icon-auto-progress {
    cursor: pointer;
}

.fg-icon-auto-progress-idle {
    fill: currentColor;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s, visibility 0.3s;
}
.fg-icon-auto-progress:is(.fg-paused,.fg-stopped,.fg-started) .fg-icon-auto-progress-idle {
    opacity: 0;
    visibility: hidden;
}

.fg-icon-auto-progress-circle {
    stroke: currentColor;
    fill: transparent;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    opacity: 0;
    visibility: hidden;
    stroke-width: 8px;
    stroke-dasharray: 0, 0;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s, opacity 0.3s, visibility 0.3s;
}
.fg-icon-auto-progress.fg-started .fg-icon-auto-progress-circle {
    opacity: 1;
    visibility: visible;
}
.fg-icon-auto-progress-play,
.fg-icon-auto-progress-pause {
    fill: currentColor;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.fg-icon-auto-progress:is(.fg-paused,.fg-stopped) .fg-icon-auto-progress-play {
    opacity: 1;
    visibility: visible;
}

@media (hover: hover) {
    *:hover > .fg-icon-auto-progress.fg-started .fg-icon-auto-progress-circle {
        opacity: 0;
        visibility: hidden;
    }
    *:hover > .fg-icon-auto-progress:is(.fg-paused,.fg-stopped) .fg-icon-auto-progress-play,
    *:hover > .fg-icon-auto-progress.fg-started .fg-icon-auto-progress-pause {
        opacity: 1;
        visibility: visible;
    }
}
.fg-panel-thumbs-inner {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: auto;
}
.fg-panel-thumbs-top .fg-panel-thumbs-inner,
.fg-panel-thumbs-bottom .fg-panel-thumbs-inner {
    flex-direction: row;
}
.fg-panel-thumbs-left .fg-panel-thumbs-inner,
.fg-panel-thumbs-right .fg-panel-thumbs-inner {
    flex-direction: column;
}

.fg-panel-thumbs-button,
.fg-panel-thumbs-button:active,
.fg-panel-thumbs-button:focus {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    user-select: none;
    outline: none;
}
.fg-panel-thumbs-button.fg-disabled {
    display: none;
}
.fg-panel-thumbs-top .fg-panel-thumbs-button,
.fg-panel-thumbs-bottom .fg-panel-thumbs-button {
    width: 37px;
    min-width: 37px;
}
.fg-panel-thumbs-left .fg-panel-thumbs-button,
.fg-panel-thumbs-right .fg-panel-thumbs-button {
    height: 37px;
    min-height: 37px;
}

@media (hover: hover) {
    .fg-panel-hover-buttons .fg-panel-thumbs-button {
        position: absolute;
        visibility: hidden;
        opacity: 0;
        z-index: 1;
    }
    .fg-panel-hover-buttons .fg-panel-thumbs:hover .fg-panel-thumbs-button:not(.fg-disabled) {
        visibility: visible;
        opacity: 0.5;
    }
    .fg-panel-hover-buttons .fg-panel-thumbs .fg-panel-thumbs-button:not(.fg-disabled):hover {
        opacity: 1;
    }
    .fg-panel-hover-buttons .fg-panel-thumbs-prev {
        top: 0;
        left: 0;
    }
    .fg-panel-hover-buttons .fg-panel-thumbs-next {
        bottom: 0;
        right: 0;
    }
}


.fg-panel-thumbs-button .fg-icon {
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.fg-panel-thumbs-button.fg-disabled .fg-icon {
    opacity: 0.3;
}
.fg-panel-thumbs-left .fg-panel-thumbs-button .fg-icon,
.fg-panel-thumbs-right .fg-panel-thumbs-button .fg-icon {
    transform: translateX(-50%) translateY(-50%) rotate(90deg);
}

.fg-panel-thumbs-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fg-panel-thumbs-stage {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
}
.fg-panel-thumbs-top .fg-panel-thumbs-stage,
.fg-panel-thumbs-bottom .fg-panel-thumbs-stage {
    flex-direction: row;
}
.fg-panel-thumbs-left .fg-panel-thumbs-stage,
.fg-panel-thumbs-right .fg-panel-thumbs-stage {
    flex-direction: column;
}
.fg-panel-thumb-spacer {
    width: 100%;
    height: 100%;
    min-height: 1px;
    min-width: 1px;
}

.fg-panel-thumb {
    position: relative;
    display: flex;
    margin: 0;
    padding: 4px;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    cursor: pointer;
    user-select: none;
}
.fg-panel.fg-medium:not(.fg-panel-thumbs-no-captions) .fg-panel-thumb {
    justify-content: flex-start;
}
.fg-panel-thumbs-bottom .fg-panel-thumb,
.fg-panel-thumbs-left .fg-panel-thumb,
.fg-panel-thumbs-right .fg-panel-thumb {
    padding-top: 3px;
}
.fg-panel-thumbs-top .fg-panel-thumb {
    padding-bottom: 3px;
}




.fg-panel-thumbs-viewport > .fg-panel-thumb {
    position: absolute;
    top: -9999px;
    left: -9999px;
    visibility: hidden;
    opacity: 0;
}

.fg-panel-thumb-media {
    position: relative;
    width: 90px;
    min-width: 90px;
    height: 60px;
    min-height: 60px;
    overflow: hidden;
}
.fg-panel.fg-medium .fg-panel-thumb-media {
    width: 108px;
    min-width: 108px;
    height: 72px;
    min-height: 72px;
}
.fg-panel.fg-medium:not(.fg-panel-thumbs-no-captions) .fg-panel-thumb-media {
    margin-right: 5px;
}
.fg-panel.fg-medium.fg-x-large-width .fg-panel-thumb-media {
    width: 128px;
    min-width: 128px;
}
.fg-panel.fg-panel-thumbs-small .fg-panel-thumb-media {
    width: 60px;
    min-width: 60px;
}
.fg-panel.fg-medium.fg-panel-thumbs-small .fg-panel-thumb-media,
.fg-panel.fg-medium.fg-x-large-width.fg-panel-thumbs-small .fg-panel-thumb-media {
    width: 72px;
    min-width: 72px;
}

.fg-panel-thumb.fg-idle .fg-panel-thumb-media,
.fg-panel-thumb.fg-loading .fg-panel-thumb-media,
.fg-panel-thumb.fg-error .fg-panel-thumb-media {
    border-style: solid;
    border-width: 1px;
}
.fg-panel-thumb.fg-error .fg-panel-thumb-media {
    background-image: url("../img/icons.svg#image");
    background-position: center center;
    background-size: 32px 32px;
    background-repeat: no-repeat;
}

.fg-panel-thumb-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}
.fg-panel-thumb-image {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translateX(-50%) translateY(-50%);
    visibility: visible;
    opacity: 1;
    transition: visibility 0.3s, opacity 0.3s;
}
.fg-panel-thumb.fg-idle .fg-panel-thumb-image,
.fg-panel-thumb.fg-loading .fg-panel-thumb-image,
.fg-panel-thumb.fg-error .fg-panel-thumb-image {
    visibility: hidden;
    opacity: 0;
}
.fg-panel-thumb-caption {
    display: none;
    width: 100%;
    max-height: 60px;
    margin: 0;
    font-size: 14px;
    overflow: hidden;
    line-height: 1.3;
}
.fg-panel-thumb-caption-left .fg-panel-thumb-caption {
    text-align: left;
}
.fg-panel-thumb-caption-right .fg-panel-thumb-caption {
    text-align: right;
}
.fg-panel-thumb-caption-center .fg-panel-thumb-caption {
    text-align: center;
}
.fg-panel-thumb-caption-justify .fg-panel-thumb-caption {
    text-align: justify;
}

.fg-panel.fg-medium .fg-panel-thumb-caption {
    max-height: 72px;
}
.fg-panel.fg-medium:not(.fg-panel-thumbs-no-captions) .fg-panel-thumb-caption {
    display: block;
}
.fg-panel-thumb-title {
    font-weight: 600;
}
.fg-panel-thumb-description {
    font-size: smaller;
}
.fg-panel-thumb-title,
.fg-panel-thumb-description {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fg-panel-thumb-description,
.fg-panel.fg-medium .fg-panel-thumb-title {
    -webkit-line-clamp: 2;
}
/* Inset Shadows */
.fg-panel.fg-shadow-inset-small .fg-panel-thumb-media:after,
.fg-panel.fg-shadow-inset-medium .fg-panel-thumb-media:after,
.fg-panel.fg-shadow-inset-large .fg-panel-thumb-media:after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 7;
}
.fg-panel.fg-light.fg-shadow-inset-small .fg-panel-thumb-media:after,
.fg-panel.fg-dark.fg-shadow-inset-small .fg-panel-thumb-media:after {
    box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.3);
}
.fg-panel.fg-light.fg-shadow-inset-medium .fg-panel-thumb-media:after,
.fg-panel.fg-dark.fg-shadow-inset-medium .fg-panel-thumb-media:after {
    box-shadow: inset 0 1px 10px 0 rgba(0,0,0,0.3);
}
.fg-panel.fg-light.fg-shadow-inset-large .fg-panel-thumb-media:after,
.fg-panel.fg-dark.fg-shadow-inset-large .fg-panel-thumb-media:after {
    box-shadow: inset 0 1px 16px 0 rgba(0,0,0,0.3);
}
/* Colorize */
.fg-panel.fg-hover-colorize .fg-panel-thumb-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;
}
.fg-panel.fg-hover-colorize .fg-panel-thumb:hover .fg-panel-thumb-image {
    -webkit-filter: none;
    filter: none;
}
/* Grayscale */
.fg-panel.fg-hover-grayscale .fg-panel-thumb-image {
    -webkit-filter: none;
    filter: none;
    -webkit-transition-property: -webkit-filter;
    transition-property: filter;
}
.fg-panel.fg-hover-grayscale .fg-panel-thumb:hover .fg-panel-thumb-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%);
    opacity: 1;
}

/* Scale */
.fg-panel.fg-hover-scale .fg-panel-thumb {
    transition-property: transform;
}
.fg-panel.fg-hover-scale .fg-panel-thumb:hover {
    transform: scale(1.048);
}
.foogallery .fg-caption .fg-caption-buttons > .fg-woo-add-to-cart-ajax.fg-woo-adding {
    color: transparent!important;
}
.foogallery .fg-caption .fg-caption-buttons > .fg-woo-add-to-cart-ajax.fg-woo-adding:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -.1em;
    margin-left: -.1em;
    width: .2em;
    height: .2em;
    pointer-events: none;
    border-radius: 50%;
    text-indent: -9999em;
    color: var(--color);
    transition: color .3s ease-out;
    box-shadow: 0 -.35em 0 0 currentColor,
    .27em -.27em 0 0 hsl(from currentColor h s l / 20%),
    .34em 0 0 0 hsl(from currentColor h s l / 20%),
    .265em .265em 0 0 hsl(from currentColor h s l / 20%),
    0 .34em 0 0 hsl(from currentColor h s l / 20%),
    -.27em .27em 0 0 hsl(from currentColor h s l / 20%),
    -.35em 0 0 0 hsl(from currentColor h s l / 50%),
    -.27em -.27em 0 0 hsl(from currentColor h s l / 70%);
    -webkit-animation: woo-adding 1.1s infinite steps(8, start);
    animation: woo-adding 1.1s infinite steps(8, start);
}

.foogallery:not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a,
.foogallery:not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover,
.foogallery:is(.fg-cb-block-outline,.fg-cb-pill-outline):not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover,
.foogallery.fg-light-overlays:is(.fg-cb-block-outline,.fg-cb-pill-outline):not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a,
.foogallery:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a,
.foogallery:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover,
.foogallery.fg-light-overlays.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a,
.foogallery.fg-light-overlays.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover,
.foogallery:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a,
.foogallery.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a:hover,
.foogallery.fg-light-overlays.fg-light:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a,
.foogallery.fg-light-overlays.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a:hover {
    --color: #333;
}


.foogallery.fg-light-overlays:not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a,
.foogallery.fg-light-overlays:not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover,
.foogallery:is(.fg-cb-block-outline,.fg-cb-pill-outline):not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a,
.foogallery.fg-light-overlays:is(.fg-cb-block-outline,.fg-cb-pill-outline):not(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover,
.foogallery.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a,
.foogallery.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover,
.foogallery.fg-light-overlays.fg-light:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a,
.foogallery.fg-light-overlays.fg-light:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio) .fg-caption .fg-caption-buttons > a:hover,
.foogallery:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a:hover,
.foogallery.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a,
.foogallery.fg-light-overlays.fg-light:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a:hover,
.foogallery.fg-light-overlays.fg-dark:is(.fg-captions-bottom,.fg-captions-top,.fg-simple_portfolio):is(.fg-cb-block-outline,.fg-cb-pill-outline) .fg-caption .fg-caption-buttons > a {
    --color: #FFF;
}

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

@keyframes woo-adding {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.fg-default {
    --fg-gutter: 10px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--fg-gutter);
}
.fg-default .fg-image {
	border-radius: 0;
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}

/* Horizontal alignment */
.fg-default.fg-left {
    justify-content: flex-start;
}

.fg-default.fg-center {
    justify-content: center;
}

.fg-default.fg-right {
    justify-content: flex-end;
}
@media only screen and (max-width: 600px) {
    .fg-default .fg-item {
        --fg-m-column-width: 100%;
    }
    .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-item {
        --fg-m-column-width: 100%;
    }
    .fg-default.fg-m-col2 .fg-item {
        --fg-m-column-width: calc( calc( 100% - calc( var(--fg-gutter) * 1 ) ) / 2 );
    }
    .fg-default.fg-m-col3 .fg-item {
        --fg-m-column-width: calc( calc( 100% - calc( var(--fg-gutter) * 2 ) ) / 3 );
    }

    .fg-default:is(.fg-m-col1,.fg-m-col2,.fg-m-col3) .fg-item {
        width: var(--fg-m-column-width);
        min-width: var(--fg-m-column-width);
        max-width: var(--fg-m-column-width);
    }
}
/* Base styles */
.fg-masonry * {
	box-sizing: border-box;
}
.foogallery.fg-masonry {
    --fg-gutter: 10px;
    --fg-column-width: 100%;
    --fg-col2-width: calc( calc( 100% - calc( var(--fg-gutter) * 1 ) ) / 2 );
    --fg-col3-width: calc( calc( 100% - calc( var(--fg-gutter) * 2 ) ) / 3 );
    --fg-col4-width: calc( calc( 100% - calc( var(--fg-gutter) * 3 ) ) / 4 );
    --fg-col5-width: calc( calc( 100% - calc( var(--fg-gutter) * 4 ) ) / 5 );
    --fg-col6-width: calc( calc( 100% - calc( var(--fg-gutter) * 5 ) ) / 6 );
	margin: 0 auto;
	text-align: center;
}
.fg-masonry .fg-thumb {
	display: 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-fixed .fg-item .fg-image,
.fg-masonry.fg-col6 .fg-item .fg-image,
.fg-masonry.fg-col5 .fg-item .fg-image,
.fg-masonry.fg-col4 .fg-item .fg-image,
.fg-masonry.fg-col3 .fg-item .fg-image,
.fg-masonry.fg-col2 .fg-item .fg-image {
	width: 100%;
	height: auto;
	max-width: 100%;
}

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

.fg-masonry .fg-item { margin-bottom: var(--fg-gutter); margin-right: var(--fg-gutter); width: var(--fg-column-width); }
.fg-masonry .fg-column-width { width: var(--fg-column-width); }
.fg-masonry .fg-gutter-width { width: var(--fg-gutter); }

.fg-masonry.fg-col1 .fg-item:nth-child(1n+3),
.fg-masonry.fg-col2 .fg-item:nth-child(2n+4),
.fg-masonry.fg-col3 .fg-item:nth-child(3n+5),
.fg-masonry.fg-col4 .fg-item:nth-child(4n+6),
.fg-masonry.fg-col5 .fg-item:nth-child(5n+7),
.fg-masonry.fg-col6 .fg-item:nth-child(6n+8) {
    margin-right: 0;
}

.fg-masonry.fg-col2 {
    --fg-column-width: var(--fg-col2-width);
}
.fg-masonry.fg-col3 {
    --fg-column-width: var(--fg-col3-width);
}
.fg-masonry.fg-col4 {
    --fg-column-width: var(--fg-col4-width);
}
.fg-masonry.fg-col5 {
    --fg-column-width: var(--fg-col5-width);
}
.fg-masonry.fg-col6 {
    --fg-column-width: var(--fg-col6-width);
}

/* Force 5 column layout < 1280px */
@media screen and (max-width: 1280px) {
    .fg-masonry.fg-col6 {
        --fg-column-width: var(--fg-col5-width);
    }
    .fg-masonry.fg-col6 .fg-item:nth-child(5n+7) {
        margin-right: 0;
    }
}
/* Force 4 column layout < 1024px */
@media screen and (max-width: 1024px) {
    .fg-masonry.fg-col5,
    .fg-masonry.fg-col6 {
        --fg-column-width: var(--fg-col4-width);
    }
    .fg-masonry.fg-col5 .fg-item:nth-child(4n+6),
    .fg-masonry.fg-col6 .fg-item:nth-child(4n+6) {
        margin-right: 0;
    }
}
/* Force 3 column layout < 720px */
@media screen and (max-width: 720px) {
    .fg-masonry.fg-col4,
    .fg-masonry.fg-col5,
    .fg-masonry.fg-col6 {
        --fg-column-width: var(--fg-col3-width);
    }
    .fg-masonry.fg-col4 .fg-item:nth-child(3n+5),
    .fg-masonry.fg-col5 .fg-item:nth-child(3n+5),
    .fg-masonry.fg-col6 .fg-item:nth-child(3n+5) {
        margin-right: 0;
    }
}
/* Force 2 column layout < 480px */
@media screen and (max-width: 480px) {
    .fg-masonry.fg-col3,
    .fg-masonry.fg-col4,
    .fg-masonry.fg-col5,
    .fg-masonry.fg-col6 {
        --fg-column-width: var(--fg-col2-width);
    }
    .fg-masonry.fg-col3 .fg-item:nth-child(2n+4),
    .fg-masonry.fg-col4 .fg-item:nth-child(2n+4),
    .fg-masonry.fg-col5 .fg-item:nth-child(2n+4),
    .fg-masonry.fg-col6 .fg-item:nth-child(2n+4) {
        margin-right: 0;
    }
}
/* Force 1 column layout < 320px */
@media screen and (max-width: 320px) {
    .fg-masonry.fg-col2,
    .fg-masonry.fg-col3,
    .fg-masonry.fg-col4,
    .fg-masonry.fg-col5,
    .fg-masonry.fg-col6 {
        --fg-gutter: 0;
        --fg-column-width: 100%;
    }
    .fg-masonry.fg-col2 .fg-item:nth-child(1n+3),
    .fg-masonry.fg-col3 .fg-item:nth-child(1n+3),
    .fg-masonry.fg-col4 .fg-item:nth-child(1n+3),
    .fg-masonry.fg-col5 .fg-item:nth-child(1n+3),
    .fg-masonry.fg-col6 .fg-item:nth-child(1n+3) {
        margin-right: 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 {
	display: flex;
	visibility: visible;
	opacity: 1;
	font-size: 13px;
	position: relative;
	top: auto;
	bottom: auto;
	left: auto;
	right: auto;
	width: auto;
	height: auto;
	text-transform: none;
	transform: none;
	transition: none;
	background-color: transparent;
	border: none;
	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: flex;
	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;
}

/* Captions */
.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 {
    color: #222;
}
.fg-masonry.fg-captions-bottom.fg-dark .fg-caption-desc,
.fg-masonry.fg-captions-bottom.fg-dark .fg-caption-desc a {
    color: #ccc;
}
.fg-masonry.fg-captions-bottom.fg-light .fg-caption-desc,
.fg-masonry.fg-captions-bottom.fg-light .fg-caption-desc a {
    color: #828282;
}
.fg-masonry.fg-captions-bottom.fg-dark .fg-item-inner:hover .fg-caption-desc,
.fg-masonry.fg-captions-bottom.fg-dark .fg-item-inner:focus-within .fg-caption-desc,
.fg-masonry.fg-captions-bottom.fg-dark .fg-item-inner:hover .fg-caption-desc a,
.fg-masonry.fg-captions-bottom.fg-dark .fg-item-inner:focus-within .fg-caption-desc a {
    color: #FFF;
}
.fg-masonry.fg-captions-bottom.fg-light .fg-item-inner:hover .fg-caption-desc,
.fg-masonry.fg-captions-bottom.fg-light .fg-item-inner:focus-within .fg-caption-desc,
.fg-masonry.fg-captions-bottom.fg-light .fg-item-inner:hover .fg-caption-desc a,
.fg-masonry.fg-captions-bottom.fg-light .fg-item-inner:focus-within .fg-caption-desc a {
    color: #222;
}

/* Caption Buttons */
.foogallery.fg-masonry:is(.fg-captions-bottom,.fg-caption-always) .fg-caption-buttons,
.foogallery.fg-masonry.fg-c-l .fg-caption-buttons {
    justify-content: flex-start;
}
.foogallery.fg-masonry.fg-c-c .fg-caption-buttons {
    justify-content: center;
}
.foogallery.fg-masonry.fg-c-r .fg-caption-buttons {
    justify-content: flex-end;
}
.foogallery.fg-masonry.fg-c-j .fg-caption-buttons {
    justify-content: stretch;
}

/* Handle Border Sizing for Captions Below */
.fg-masonry.fg-captions-bottom .fg-caption {
	padding: 10px;
}
.fg-masonry.fg-captions-bottom.fg-border-thin .fg-caption {
	padding: 10px 6px 6px 6px;
}
.fg-masonry.fg-captions-bottom.fg-border-medium .fg-caption {
	padding: 10px 0 0 0;
}
.fg-masonry.fg-captions-bottom.fg-border-thick .fg-caption {
	padding: 16px 0 0 0;
}

/* Transparent Overlays */
.fg-masonry.fg-captions-bottom.fg-transparent-overlays .fg-caption {
    text-shadow: none;
}

/* 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-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);
}

/* Transitions */
.fg-masonry.fg-hover-instant .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-fade .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-slide-up .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-slide-down .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-slide-left .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-slide-right .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-push .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-colorize .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-grayscale .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-scale .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-zoomed .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-colorize .fg-loaded .fg-caption-desc,
.fg-masonry.fg-hover-grayscale .fg-loaded .fg-caption-desc {
	transition-timing-function: ease;
	transition-duration: 300ms;
	backface-visibility: hidden;
}
/* 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%;
}
.fg-simple_portfolio {
    --fg-gutter: 10px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    gap: var(--fg-gutter);
}
.fg-simple_portfolio .fg-item {
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    margin: 0;
    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;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: 100%;
    text-transform: none;
    transform: none;
    transition: none;
    background-color: transparent;
    border: none;
    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 {
    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;
    height: auto;
}
.fg-simple_portfolio .fg-caption-desc {
    flex: unset;
}

/* Captions */
.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 {
    color: #222;
}
.fg-simple_portfolio.fg-dark .fg-caption-desc,
.fg-simple_portfolio.fg-dark .fg-caption-desc a {
    color: #ccc;
}
.fg-simple_portfolio.fg-light .fg-caption-desc,
.fg-simple_portfolio.fg-light .fg-caption-desc a {
    color: #828282;
}
.fg-simple_portfolio.fg-dark .fg-item-inner:hover .fg-caption-desc,
.fg-simple_portfolio.fg-dark .fg-item-inner:focus-within .fg-caption-desc,
.fg-simple_portfolio.fg-dark .fg-item-inner:hover .fg-caption-desc a,
.fg-simple_portfolio.fg-dark .fg-item-inner:focus-within .fg-caption-desc a {
    color: #FFF;
}
.fg-simple_portfolio.fg-light .fg-item-inner:hover .fg-caption-desc,
.fg-simple_portfolio.fg-light .fg-item-inner:focus-within .fg-caption-desc,
.fg-simple_portfolio.fg-light .fg-item-inner:hover .fg-caption-desc a,
.fg-simple_portfolio.fg-light .fg-item-inner:focus-within .fg-caption-desc a {
    color: #222;
}

/* Caption Buttons */
.foogallery.fg-simple_portfolio.fg-c-c .fg-caption-buttons {
    justify-content: center;
}
.foogallery.fg-simple_portfolio .fg-caption-buttons,
.foogallery.fg-simple_portfolio.fg-c-l .fg-caption-buttons {
    justify-content: flex-start;
}
.foogallery.fg-simple_portfolio.fg-c-r .fg-caption-buttons {
    justify-content: flex-end;
}
.foogallery.fg-simple_portfolio.fg-c-j .fg-caption-buttons {
    justify-content: stretch;
}

/* Handle Border Sizing */
.fg-simple_portfolio .fg-caption {
    padding: 10px;
}
.fg-simple_portfolio.fg-border-thin .fg-caption {
    padding: 10px 6px 6px 6px;
}
.fg-simple_portfolio.fg-captions-top.fg-border-thin .fg-caption {
    padding: 6px 6px 10px 6px;
}
.fg-simple_portfolio.fg-border-medium .fg-caption {
    padding: 10px 0 0 0;
}
.fg-simple_portfolio.fg-captions-top.fg-border-medium .fg-caption {
    padding: 0 0 10px 0;
}
.fg-simple_portfolio.fg-border-thick .fg-caption {
    padding: 16px 0 0 0;
}
.fg-simple_portfolio.fg-captions-top.fg-border-thick .fg-caption {
    padding: 0 0 16px 0;
}

/* Transparent Overlays */
.fg-simple_portfolio.fg-transparent-overlays .fg-caption {
    text-shadow: none;
}
/* 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);
}

/* Transitions */
.fg-simple_portfolio.fg-hover-instant .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-fade .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-slide-up .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-slide-down .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-slide-left .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-slide-right .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-push .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-colorize .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-grayscale .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-scale .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-zoomed .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-colorize .fg-loaded .fg-caption-desc,
.fg-simple_portfolio.fg-hover-grayscale .fg-loaded .fg-caption-desc {
    transition-timing-function: ease;
    transition-duration: 300ms;
    backface-visibility: hidden;
}
/* 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","Comic Sans MS",-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

.foogallery.fg-preset.fg-polaroid .fg-caption-inner {
	text-shadow: none;
	line-height: 1.4;
	justify-content: center;
}
.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;
}

/* Transparent Overlays */
.foogallery.fg-preset.fg-polaroid.fg-transparent-overlays .fg-caption {
    text-shadow: none;
}

/* Handle Border Sizing */
.foogallery.fg-preset.fg-polaroid .fg-caption {
	padding: 10px;
}
.foogallery.fg-preset.fg-polaroid.fg-border-thin .fg-caption {
	padding: 10px 4px 4px 4px;
}
.foogallery.fg-preset.fg-polaroid.fg-captions-top.fg-border-thin .fg-caption {
	padding: 4px 4px 10px 4px;
}
.foogallery.fg-preset.fg-polaroid.fg-border-medium .fg-caption {
	padding: 10px 0 0 0;
}
.foogallery.fg-preset.fg-polaroid.fg-captions-top.fg-border-medium .fg-caption {
	padding: 0 0 10px 0;
}
.foogallery.fg-preset.fg-polaroid.fg-border-thick .fg-caption {
	padding: 16px 0 0 0;
}
.foogallery.fg-preset.fg-polaroid.fg-captions-top.fg-border-thick .fg-caption {
	padding: 0 0 16px 0;
}
/* 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%;
	z-index: 6;
}
.fiv-inner .fiv-inner-container {
	position: relative;
	max-width: 100%;
    border-color: transparent;
	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;
}
.rtl .fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev {
	float: right;
}
.rtl .fg-image-viewer .fiv-inner .fiv-ctrls .fiv-prev:before {
	content: '\2192';
}
.rtl .fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next {
	float: left;
}
.rtl .fg-image-viewer .fiv-inner .fiv-ctrls .fiv-next:before {
	content: '\2190';
}

/* Captions */

.foogallery.fg-image-viewer.fg-caption-always .fg-item-inner .fg-caption {
	border: none;
}

/* 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,
.foogallery.fg-image-viewer.fg-round-small .fiv-inner-container,
.foogallery.fg-image-viewer.fg-round-small .fiv-ctrls {
	border-radius: 5px;
}
.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-container {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.foogallery.fg-image-viewer.fg-round-small .fiv-ctrls {
    border-top-left-radius: 0;
    border-top-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,
.foogallery.fg-image-viewer.fg-round-medium .fiv-inner-container,
.foogallery.fg-image-viewer.fg-round-medium .fiv-ctrls {
	border-radius: 10px;
}
.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-container {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.foogallery.fg-image-viewer.fg-round-medium .fiv-ctrls {
    border-top-left-radius: 0;
    border-top-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,
.foogallery.fg-image-viewer.fg-round-large .fiv-inner-container,
.foogallery.fg-image-viewer.fg-round-large .fiv-ctrls {
	border-radius: 15px;
}
.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-container {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.foogallery.fg-image-viewer.fg-round-large .fiv-ctrls {
    border-top-left-radius: 0;
    border-top-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-inner-container,
.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);
}
.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    background: none;
    pointer-events: none;
    visibility: visible;
    opacity: 1;
    transition: visibility .3s ease, opacity .3s ease;
}
.fg-image-viewer.fg-overlay-controls.fg-not-ready .fiv-inner .fiv-ctrls {
    visibility: hidden;
    opacity: 0;
}
.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-prev,
.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    min-width: unset;
    width: 40px;
    height: 40px;
    pointer-events: auto;
    opacity: 0.3;
    transition: opacity .3s ease;
}
.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-prev {
    left: 20px;
}
.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-next {
    right: 20px;
}
.fg-image-viewer.fg-overlay-controls .fiv-inner:hover .fiv-ctrls .fiv-prev,
.fg-image-viewer.fg-overlay-controls .fiv-inner:hover .fiv-ctrls .fiv-next {
    opacity: 0.6;
}
.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-prev:hover,
.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-next:hover {
    opacity: 1;
}

.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-prev:before,
.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-next:before {
    content: '\279C';
    width: 100%;
    height: 100%;
    transform: translateY(0);
    line-height: 40px;
}
.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-prev:before {
    transform: rotate(180deg);
}
.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-prev span,
.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-next span {
    display: none;
}

.fg-image-viewer.fg-overlay-controls .fiv-inner .fiv-ctrls .fiv-count {
    display: none;
}

/* Border Sizes */
.fg-image-viewer.fg-overlay-controls:not(.fg-border-thin,.fg-border-medium,.fg-border-thick) .fg-item-inner,
.fg-image-viewer.fg-overlay-controls:not(.fg-border-thin,.fg-border-medium,.fg-border-thick) .fiv-inner .fiv-inner-container { background-color: transparent; }

.fg-image-viewer.fg-overlay-controls { --border-width: 0px; }
.fg-image-viewer.fg-overlay-controls.fg-border-thin { --border-width: 4px; }
.fg-image-viewer.fg-overlay-controls.fg-border-medium { --border-width: 8px; }
.fg-image-viewer.fg-overlay-controls.fg-border-thick { --border-width: 16px; }

.fg-image-viewer.fg-overlay-controls:not(.fg-border-thin,.fg-border-medium,.fg-border-thick) .fiv-inner .fiv-inner-container {
    border: none;
}
.fg-image-viewer.fg-overlay-controls.fg-border-thin .fiv-inner .fiv-ctrls,
.fg-image-viewer.fg-overlay-controls.fg-border-medium .fiv-inner .fiv-ctrls,
.fg-image-viewer.fg-overlay-controls.fg-border-thick .fiv-inner .fiv-ctrls {
    top: var(--border-width);
    left: var(--border-width);
    width: calc(100% - calc(var(--border-width) * 2));
    height: calc(100% - calc(var(--border-width) * 2));
}

/* Border Radius */
.fg-image-viewer.fg-overlay-controls { --border-radius: 0px; }
.fg-image-viewer.fg-overlay-controls.fg-round-small { --border-radius: 5px; }
.fg-image-viewer.fg-overlay-controls.fg-round-medium { --border-radius: 10px; }
.fg-image-viewer.fg-overlay-controls.fg-round-large { --border-radius: 15px; }

.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-small .fiv-inner,
.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-small .fiv-inner-container,
.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-medium .fiv-inner,
.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-medium .fiv-inner-container,
.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-large .fiv-inner,
.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-large .fiv-inner-container {
    border-radius: var(--border-radius);
}
.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-small .fg-item,
.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-small .fg-item-inner,
.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-medium .fg-item,
.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-medium .fg-item-inner,
.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-large .fg-item,
.foogallery.fg-image-viewer.fg-overlay-controls.fg-round-large .fg-item-inner {
    border-radius: max(0px, calc(var(--border-radius) - var(--border-width)));
}

/* Paging Overrides */
.fg-image-viewer.fg-overlay-controls .fg-paging-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 1;
}
.fg-image-viewer.fg-overlay-controls.fg-dots-left .fg-paging-container {
    text-align: left;
}
.fg-image-viewer.fg-overlay-controls.fg-dots-center .fg-paging-container {
    text-align: center;
}
.fg-image-viewer.fg-overlay-controls.fg-dots-right .fg-paging-container {
    text-align: right;
}
.fg-image-viewer.fg-overlay-controls .fg-paging-container .fg-dots {
    pointer-events: auto;
    opacity: 0.3;
    transition: opacity .3s ease;
}
.fg-image-viewer.fg-overlay-controls .fiv-inner:hover .fg-paging-container .fg-dots {
    opacity: 0.6;
}
.fg-image-viewer.fg-overlay-controls .fiv-inner .fg-paging-container .fg-dots:hover {
    opacity: 1;
}
.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.fg-thumbnail.fg-stacked,
.foogallery.fg-thumbnail.fg-stacked.fg-center {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
}
.foogallery.fg-thumbnail.fg-stacked .fg-item,
.foogallery.fg-thumbnail.fg-stacked.fg-center .fg-item {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    z-index: unset;
}
.foogallery.fg-thumbnail.fg-stacked .fg-item:nth-child(1) {
    order: 1;
}
.foogallery.fg-thumbnail.fg-stacked .fg-item:nth-child(2) {
    order: 2;
    transform: rotate(3deg);
}
.foogallery.fg-thumbnail.fg-stacked .fg-item:nth-child(3) {
    order: 3;
    transform: rotate(-3deg);
}
.foogallery.fg-thumbnail.fg-stacked .fg-item:nth-child(4) {
    order: 4;
    transform: rotate(1deg);
}
.foogallery.fg-thumbnail.fg-stacked .fg-item:nth-child(5) {
    order: 5;
    transform: rotate(-2deg);
}
.foogallery.fg-thumbnail.fg-stacked:is(.fg-loaded-fade-in,.fg-loaded-slide-up,.fg-loaded-slide-down,.fg-loaded-slide-left,.fg-loaded-slide-right,.fg-loaded-scale-up,.fg-loaded-swing-down,.fg-loaded-drop,.fg-loaded-fly,.fg-loaded-flip) .fg-item.fg-loaded:not(:first-child),
.foogallery.fg-thumbnail.fg-stacked:is(.fg-loaded-fade-in,.fg-loaded-slide-up,.fg-loaded-slide-down,.fg-loaded-slide-left,.fg-loaded-slide-right,.fg-loaded-scale-up,.fg-loaded-swing-down,.fg-loaded-drop,.fg-loaded-fly,.fg-loaded-flip) .fg-item.fg-loaded:not(:first-child) .fg-item-inner {
    transition-property: opacity,visibility;
}

.foogallery.fg-thumbnail.fg-stacked.fg-left {
    grid-template-columns: auto 1fr;
}
.foogallery.fg-thumbnail.fg-stacked.fg-left .fg-item {
    grid-column: 1 / 2;
}

.foogallery.fg-thumbnail.fg-stacked.fg-right {
    grid-template-columns: 1fr auto;
}
.foogallery.fg-thumbnail.fg-stacked.fg-right .fg-item {
    grid-column: 2 / 3;
}

.foogallery.fg-thumbnail.fg-stacked.fg-float-left,
.foogallery.fg-thumbnail.fg-stacked.fg-float-right {
    display: inline-grid;
    grid-template-columns: auto;
}
.foogallery.fg-thumbnail.fg-stacked.fg-float-left .fg-item,
.foogallery.fg-thumbnail.fg-stacked.fg-float-right .fg-item {
    grid-column: 1 / 2;
}
.foogallery.fg-thumbnail.fg-stacked.fg-float-left {
    float: left;
}
.foogallery.fg-thumbnail.fg-stacked.fg-float-right {
    float: right;
}
:root {
    --fg-carousel-perspective: 150px;
    --fg-carousel-navigation-size: 48px;
    --fg-carousel-pagination-size: 14px;
    --fg-carousel-progress-size: 4px;
    --fg-carousel-navigation-opacity: 0.3;
    --fg-carousel-transition-speed: 650ms;
    --fg-carousel-ui-speed: 300ms;
}
.foogallery.fg-carousel {
    --fg-carousel-inverse-perspective: calc( -1 *  var(--fg-carousel-perspective) );
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: var(--fg-carousel-navigation-size) auto var(--fg-carousel-navigation-size);
    grid-template-rows: auto auto;
    grid-template-areas: "prev inner next"
                         "bottom bottom bottom";
}
.fg-carousel-inner {
    position: relative;
    grid-area: inner;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    grid-template-areas: "left center right";
    padding: 10px 0;
    perspective: var(--fg-carousel-perspective);
    transform: translate3d(0, 0, 0);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: contents;
    pointer-events: none;
}
.foogallery_preview_container .fg-carousel-inner {
    transform-style: unset;
}

.fg-carousel-center {
    position: relative;
    z-index: -1;
    pointer-events: none;
    visibility: hidden;
}
.fg-carousel-center {
    grid-area: center;
}
.fg-carousel-progress {
    display: block;
    position: absolute;
    visibility: visible;
    bottom: 0;
    left: 0;
    width: 0;
    height: var(--fg-carousel-progress-size);
    border-radius: calc( var(--fg-carousel-progress-size) / 2 );
    transition: width 100ms linear;
    opacity: var(--fg-carousel-navigation-opacity);
}
.rtl .fg-carousel-progress {
    left: auto;
    right: 0;
}
.fg-carousel-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;
    grid-area: bottom;
    font-size: var(--fg-carousel-pagination-size);
    padding: 0;
    margin-bottom: 10px;
}
.fg-carousel-bullet {
    width: 1em;
    height: 1em;
    display: block;
    padding: 0;
    margin: 0.3em;
    border-radius: 50%;
    border: solid 1px transparent;
    background: none;
    box-shadow: none;
    outline: none;
    opacity: var(--fg-carousel-navigation-opacity);
    cursor: pointer;
    font-size: inherit;
    transition: opacity var(--fg-carousel-ui-speed) ease-in;
}
@media only screen and (max-width: 782px) {
    .fg-carousel-bullet {
        width: 1.25em;
        height: 1.25em;
    }
}

.fg-carousel-bullet:hover {
    background: none;
    box-shadow: none;
    outline: none;
    opacity: 1;
}
.fg-carousel-bullet.fg-bullet-active {
    opacity: 1;
}
button.fg-carousel-prev,
button.fg-carousel-next {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fg-carousel-navigation-size);
    background: none;
    border: none;
    box-shadow: none;
    outline: none;
    z-index: 11;
    cursor: pointer;
    opacity: var(--fg-carousel-navigation-opacity);
    transition: opacity var(--fg-carousel-ui-speed) ease-in;
    padding: 0;
    margin: 0;
}
button.fg-carousel-prev:hover,
button.fg-carousel-next:hover {
    background: none;
    border: none;
    box-shadow: none;
    outline: none;
    opacity: 1;
}
.fg-carousel-prev .fg-icon,
.fg-carousel-next .fg-icon {
    width: 1em;
    height: 1em;
}
.rtl .fg-carousel-prev .fg-icon,
.rtl .fg-carousel-next .fg-icon {
    transform: rotate(180deg);
}
.fg-carousel-prev {
    grid-area: prev;
}
.fg-carousel-next {
    grid-area: next;
}

.foogallery.fg-carousel .fg-item {
    display: block;
    opacity: 0;
    visibility: hidden;
    grid-area: center;
    transform-origin: center center;
    transform: translate3d(0, 200%, var(--fg-carousel-inverse-perspective));
    transition-timing-function: ease-in-out;
    transition-duration: 0s;
    transition-property: background-color,transform,transform-origin,opacity,visibility;
    backface-visibility: hidden;
    pointer-events: auto;
}
.foogallery.fg-carousel .fg-item.fg-loaded {
    transform: translate3d(0, 0, var(--fg-carousel-inverse-perspective));
    transition-timing-function: ease-in-out;
    transition-duration: calc( var(--fg-carousel-transition-speed) / 2 );
    transition-property: background-color,transform,transform-origin,opacity,visibility;
}
.foogallery.fg-carousel .fg-item.fg-item-active,
.foogallery.fg-carousel .fg-item.fg-item-prev,
.foogallery.fg-carousel .fg-item.fg-item-next {
    opacity: 1;
    visibility: visible;
    /*-webkit-box-reflect: below 5px -webkit-linear-gradient(bottom,rgba(255,0,0,.1) 0%,transparent 32px,transparent 100%);*/
}
.foogallery.fg-carousel .fg-item.fg-item-active {
    transform: translate3d(0, 0, 0);
}

.foogallery.fg-carousel.fg-dark .fg-carousel-progress,
.foogallery.fg-carousel.fg-light.fg-inverted .fg-carousel-progress {
    background-color: #FFF;
    box-shadow: inset 0 0 0 1px #9d9d9d;
}
.foogallery.fg-carousel.fg-dark button.fg-carousel-bullet,
.foogallery.fg-carousel.fg-light.fg-inverted button.fg-carousel-bullet {
    background-color: #FFF;
    border-color: #ccc;
}
.foogallery.fg-carousel.fg-dark button.fg-carousel-prev,
.foogallery.fg-carousel.fg-dark button.fg-carousel-next,
.foogallery.fg-carousel.fg-light.fg-inverted button.fg-carousel-prev,
.foogallery.fg-carousel.fg-light.fg-inverted button.fg-carousel-next {
    color: #FFF;
    background-color: transparent;
}

.foogallery.fg-carousel.fg-light .fg-carousel-progress,
.foogallery.fg-carousel.fg-dark.fg-inverted .fg-carousel-progress {
    background-color: #444;
    box-shadow: inset 0 0 0 1px #333;
}
.foogallery.fg-carousel.fg-light button.fg-carousel-bullet,
.foogallery.fg-carousel.fg-dark.fg-inverted button.fg-carousel-bullet {
    background-color: #444;
    border-color: #333;
}
.foogallery.fg-carousel.fg-light button.fg-carousel-prev,
.foogallery.fg-carousel.fg-light button.fg-carousel-next,
.foogallery.fg-carousel.fg-dark.fg-inverted button.fg-carousel-prev,
.foogallery.fg-carousel.fg-dark.fg-inverted button.fg-carousel-next {
    color: #444;
    background-color: transparent;
}

.fg-shadow-outline .fg-carousel-inner {
    padding: 1px;
}
.fg-shadow-small .fg-carousel-inner {
    padding: 4px;
}
.fg-shadow-medium .fg-carousel-inner {
    padding: 10px;
}
.fg-shadow-large .fg-carousel-inner {
    padding: 16px;
}

.foogallery.fg-carousel-hide-nav-arrows {
    --fg-carousel-navigation-size: 0px;
}
.foogallery.fg-carousel-hide-nav-arrows .fg-carousel-prev,
.foogallery.fg-carousel-hide-nav-arrows .fg-carousel-next,
.foogallery.fg-carousel-hide-pagination .fg-carousel-bottom,
.foogallery.fg-carousel-hide-progress-bar .fg-carousel-progress {
    display: none;
}
.foogallery.foogrid {
    --fg-gutter: 10px;
    --fg-column-width: 100%;
    --fg-col2-width: calc( calc( 100% - calc( var(--fg-gutter) * 1 ) ) / 2 );
    --fg-col3-width: calc( calc( 100% - calc( var(--fg-gutter) * 2 ) ) / 3 );
    --fg-col4-width: calc( calc( 100% - calc( var(--fg-gutter) * 3 ) ) / 4 );
    --fg-col5-width: calc( calc( 100% - calc( var(--fg-gutter) * 4 ) ) / 5 );
    --fg-col6-width: calc( calc( 100% - calc( var(--fg-gutter) * 5 ) ) / 6 );
    --fg-col7-width: calc( calc( 100% - calc( var(--fg-gutter) * 6 ) ) / 7 );
    --fg-col8-width: calc( calc( 100% - calc( var(--fg-gutter) * 7 ) ) / 8 );

    display: block;
    padding: 0;
    width: 100%;
    font-size: 0;
    line-height: 0;
}
.foogrid:after {
    content: '';
    display: block;
    clear: both;
}

.foogrid.foogrid-cols-2 {
    --fg-column-width: var(--fg-col2-width);
}
.foogrid.foogrid-cols-3 {
    --fg-column-width: var(--fg-col3-width);
}
.foogrid.foogrid-cols-4 {
    --fg-column-width: var(--fg-col4-width);
}
.foogrid.foogrid-cols-5 {
    --fg-column-width: var(--fg-col5-width);
}
.foogrid.foogrid-cols-6 {
    --fg-column-width: var(--fg-col6-width);
}
.foogrid.foogrid-cols-7 {
    --fg-column-width: var(--fg-col7-width);
}
.foogrid.foogrid-cols-8 {
    --fg-column-width: var(--fg-col8-width);
}

.foogrid .fg-item {
    width: var(--fg-column-width);
    max-width: var(--fg-column-width);
    z-index: 1;
    position: relative;
    display: inline-block;
    margin: 0 var(--fg-gutter) var(--fg-gutter) 0;
    padding: 0;
    font-size: 16px;
}
.foogrid.foogrid-cols-1 .fg-item:nth-of-type(1n),
.foogrid.foogrid-cols-2 .fg-item:nth-of-type(2n),
.foogrid.foogrid-cols-3 .fg-item:nth-of-type(3n),
.foogrid.foogrid-cols-4 .fg-item:nth-of-type(4n),
.foogrid.foogrid-cols-5 .fg-item:nth-of-type(5n),
.foogrid.foogrid-cols-6 .fg-item:nth-of-type(6n),
.foogrid.foogrid-cols-7 .fg-item:nth-of-type(7n),
.foogrid.foogrid-cols-8 .fg-item:nth-of-type(8n) {
    margin-right: 0;
}

.foogrid .fg-image {
    width: 100%;
}

/* Force 7 column layout */
@media only screen and (min-width: 1441px) and (max-width: 1600px) {
    .foogrid.foogrid-cols-8 {
        --fg-column-width: var(--fg-col7-width);
    }
    .foogrid.foogrid-cols-8 .fg-item:nth-of-type(7n) {
        margin-right: 0;
    }
}
/* Force 6 column layout */
@media only screen and (min-width: 1201px) and (max-width: 1440px) {
    .foogrid.foogrid-cols-7,
    .foogrid.foogrid-cols-8 {
        --fg-column-width: var(--fg-col6-width);
    }
    .foogrid.foogrid-cols-7 .fg-item:nth-of-type(6n),
    .foogrid.foogrid-cols-8 .fg-item:nth-of-type(6n) {
        margin-right: 0;
    }
}
/* Force 5 column layout */
@media only screen and (min-width: 993px) and (max-width: 1200px) {
    .foogrid.foogrid-cols-6,
    .foogrid.foogrid-cols-7,
    .foogrid.foogrid-cols-8 {
        --fg-column-width: var(--fg-col5-width);
    }
    .foogrid.foogrid-cols-6 .fg-item:nth-of-type(5n),
    .foogrid.foogrid-cols-7 .fg-item:nth-of-type(5n),
    .foogrid.foogrid-cols-8 .fg-item:nth-of-type(5n) {
        margin-right: 0;
    }
}
/* Force 4 column layout */
@media only screen and (min-width: 769px) and (max-width: 992px) {
    .foogrid.foogrid-cols-5,
    .foogrid.foogrid-cols-6,
    .foogrid.foogrid-cols-7,
    .foogrid.foogrid-cols-8 {
        --fg-column-width: var(--fg-col4-width);
    }
    .foogrid.foogrid-cols-5 .fg-item:nth-of-type(4n),
    .foogrid.foogrid-cols-6 .fg-item:nth-of-type(4n),
    .foogrid.foogrid-cols-7 .fg-item:nth-of-type(4n),
    .foogrid.foogrid-cols-8 .fg-item:nth-of-type(4n) {
        margin-right: 0;
    }
}
/* Force 3 column layout */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    .foogrid.foogrid-cols-4,
    .foogrid.foogrid-cols-5,
    .foogrid.foogrid-cols-6,
    .foogrid.foogrid-cols-7,
    .foogrid.foogrid-cols-8 {
        --fg-column-width: var(--fg-col3-width);
    }
    .foogrid.foogrid-cols-4 .fg-item:nth-of-type(3n),
    .foogrid.foogrid-cols-5 .fg-item:nth-of-type(3n),
    .foogrid.foogrid-cols-6 .fg-item:nth-of-type(3n),
    .foogrid.foogrid-cols-7 .fg-item:nth-of-type(3n),
    .foogrid.foogrid-cols-8 .fg-item:nth-of-type(3n) {
        margin-right: 0;
    }
}
/* Force 2 column layout */
@media only screen and (min-width: 321px) and (max-width: 480px) {
    .foogrid.foogrid-cols-3,
    .foogrid.foogrid-cols-4,
    .foogrid.foogrid-cols-5,
    .foogrid.foogrid-cols-6,
    .foogrid.foogrid-cols-7,
    .foogrid.foogrid-cols-8 {
        --fg-column-width: var(--fg-col2-width);
    }
    .foogrid.foogrid-cols-3 .fg-item:nth-of-type(2n),
    .foogrid.foogrid-cols-4 .fg-item:nth-of-type(2n),
    .foogrid.foogrid-cols-5 .fg-item:nth-of-type(2n),
    .foogrid.foogrid-cols-6 .fg-item:nth-of-type(2n),
    .foogrid.foogrid-cols-7 .fg-item:nth-of-type(2n),
    .foogrid.foogrid-cols-8 .fg-item:nth-of-type(2n) {
        margin-right: 0;
    }
}

/** Create the small pointer for the active item */
.foogrid .fg-item:after {
    display: block;
    content: '';
    border-bottom: 45px solid transparent;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    bottom: -45px;
    left: 50%;
    margin-left: -35px;
    visibility: hidden;
    opacity: 0;
}
.foogrid .fg-item.foogrid-visible:after {
    visibility: visible;
    opacity: 1;
}
.foogrid.fg-light .fg-item:after {
    border-bottom-color: #e6e6e6;
}
.foogrid.fg-dark .fg-item:after {
    border-bottom-color: #292929;
}

/* The content block the panel is inserted into to display an item */
.foogrid-content {
    display: grid;
    position: relative;
    float: left;
    font-size: 16px;
    width: 100%;
    margin: 0 0 var(--fg-gutter) 0;
    min-height: 0;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    outline: 0;
}
.fg-gutter-medium .foogrid-content {
    margin: 0 0 1% 0;
}
.fg-gutter-large .foogrid-content {
    margin: 0 0 1.5% 0;
}
.foogrid.fg-light .foogrid-content {
    background-color: #eee;
    border: 1px solid #e6e6e6;
}
.foogrid.fg-dark .foogrid-content {
    background-color: #333;
    border: 1px solid #292929;
}
.foogrid-content.foogrid-visible {
    opacity: 1;
    visibility: visible;
    min-height: 315px;
}

/* Control the aspect ratio of the content block */
.foogrid-content::before {
    display: block;
    content: '';
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-top: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
.foogrid-content.foogrid-visible::before,
.foogrid.fg-16-9 .foogrid-content.foogrid-visible::before {
    padding-top: 56.25%;
}
.foogrid.fg-16-10 .foogrid-content.foogrid-visible::before {
    padding-top: 62.5%;
}
.foogrid.fg-4-3 .foogrid-content.foogrid-visible::before {
    padding-top: 75%;
}

/* Transitions */
.foogrid.foogrid-transition-fade .foogrid-content,
.foogrid.foogrid-transition-horizontal .foogrid-content,
.foogrid.foogrid-transition-vertical .foogrid-content,
.foogrid.foogrid-transition-fade .foogrid-content::before,
.foogrid.foogrid-transition-horizontal .foogrid-content::before,
.foogrid.foogrid-transition-vertical .foogrid-content::before {
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}

/* content container slide up/down */
.foogrid.foogrid-transition-fade .foogrid-content,
.foogrid.foogrid-transition-horizontal .foogrid-content,
.foogrid.foogrid-transition-vertical .foogrid-content,
.foogrid.foogrid-transition-fade .foogrid-content::before,
.foogrid.foogrid-transition-horizontal .foogrid-content::before,
.foogrid.foogrid-transition-vertical .foogrid-content::before {
    transition-property: padding-top, opacity, visibility, min-height;
}

/* Override panel styling */
.foogrid-panel.fg-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.foogrid-panel.fg-panel.fg-panel-maximized {
    position: fixed;
}
.foogrid-panel.fg-panel.fg-light {
    background-color: #eee;
    border: none;
}
.foogrid-panel.fg-panel.fg-dark {
    background-color: #333;
    border: none;
}
.foogrid-panel.fg-panel.fg-light .fg-panel-area .fg-panel-info-inner {
    background-color: rgba(238, 238, 238, 0.5);
    border-width: 0;
}
.foogrid-panel.fg-panel.fg-dark .fg-panel-area .fg-panel-info-inner {
    background-color: rgba(51, 51, 51, 0.5);
    border-width: 0;
}
.foogrid-panel.fg-panel.fg-light.fg-panel-info-bottom .fg-panel-area .fg-panel-info-inner {
    border-color: #e6e6e6;
    border-top-width: 1px;
}
.foogrid-panel.fg-panel.fg-dark.fg-panel-info-bottom .fg-panel-area .fg-panel-info-inner {
    border-color: #292929;
    border-top-width: 1px;
}

.foogrid-panel.fg-panel.fg-medium.fg-panel-preserve-button-space .fg-media,
.foogrid-panel.fg-panel.fg-panel-no-mobile.fg-panel-preserve-button-space .fg-media {
    overflow: visible;
    top: 25px;
    left: 62px;
    width: calc(100% - 124px);
    height: calc(100% - 50px);
}
.foogrid-panel.fg-panel.fg-medium.fg-panel-preserve-button-space .fg-media-content,
.foogrid-panel.fg-panel.fg-panel-no-mobile.fg-panel-preserve-button-space .fg-media-content {
    box-shadow: 0 5px 35px rgba(0,0,0,.65);
}
.foogallery.fg-slider .fg-item {
    display: none;
}
.foogallery.fg-slider {
    position: relative;
    display: grid;
    width: 100%;
    padding: 0;
    min-height: 315px;
}
.foogallery.fg-slider::before {
    display: block;
    content: '';
    width: 100%;
    max-width: 100%;
    height: 0;
    padding-top: 56.25%;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
.foogallery.fg-slider.fg-16-9::before {
    padding-top: 56.25%;
}
.foogallery.fg-slider.fg-16-10::before {
    padding-top: 62.5%;
}
.foogallery.fg-slider.fg-4-3::before {
    padding-top: 75%;
}

.fg-slider .fg-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.fg-slider .fg-panel.fg-panel-info-overlay.fg-light .fg-panel-info-inner,
.fg-slider .fg-panel.fg-panel-info-overlay.fg-dark .fg-panel-info-inner {
    border-color: transparent;
    color: #FFF;
    text-shadow: 1px 0 6px rgba(0,0,0,.5);
}
.fg-slider .fg-panel:is(.fg-light,.fg-dark) :is(.fg-panel-cart-inner,.fg-panel-info-inner) {
    background-color: transparent;
}
.fg-slider .fg-panel-info-overlay .fg-media-caption {
    font-size: 18px;
    padding: 20px;
    line-height: normal;
    visibility: hidden;
    opacity: 0;
    transform: translateY(0);
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
    transition-property: visibility, opacity, transform;
}
.fg-slider .fg-panel-info-top.fg-panel-info-overlay .fg-media-caption {
    transform: translateY(-100%);
}
.fg-slider .fg-panel-info-bottom.fg-panel-info-overlay .fg-media-caption {
    transform: translateY(100%);
}
.fg-slider .fg-panel-info-left.fg-panel-info-overlay .fg-media-caption {
    transform: translateX(-100%);
}
.fg-slider .fg-panel-info-right.fg-panel-info-overlay .fg-media-caption {
    transform: translateX(100%);
}
.fg-slider .fg-panel-info-top.fg-panel-info-overlay .fg-media-caption.fg-loaded,
.fg-slider .fg-panel-info-bottom.fg-panel-info-overlay .fg-media-caption.fg-loaded,
.fg-slider .fg-panel-info-left.fg-panel-info-overlay .fg-media-caption.fg-loaded,
.fg-slider .fg-panel-info-right.fg-panel-info-overlay .fg-media-caption.fg-loaded {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.fg-slider .fg-panel-info-overlay .fg-media-caption-title {
    font-weight: normal;
    line-height: normal;
}
.fg-slider .fg-panel-info-overlay .fg-media-caption-exif-label {
    color: inherit;
}
.fg-slider .fg-panel-thumb-title {
    margin-bottom: 4px;
    font-weight: normal;
}

/*.fg-slider .fg-panel.fg-dark .fg-panel-thumb {*/
/*    background-color: #151515;*/
/*    border-color: #444;*/
/*}*/
/*.fg-slider .fg-panel.fg-dark .fg-panel-thumb-description {*/
/*    color: #767676;*/
/*}*/
/*.fg-slider .fg-panel.fg-dark .fg-selected .fg-panel-thumb-description {*/
/*    color: #FEFEFE;*/
/*}*/

/*@media (hover: hover) {*/
/*    .fg-slider .fg-panel.fg-dark .fg-panel-thumb:not(.fg-selected):hover {*/
/*        background-color: #000;*/
/*    }*/
/*}*/

.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;
    max-width: 100%;
    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;
    max-width: 100%;
    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: flex;
    flex-direction: column;
    max-width: 100%;
    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: flex;
    flex-direction: column;
    max-width: 100%;
    max-height: 100%;
}

.fg-pile-item-image {
    display: block;
    max-width: 100%;
    object-fit: cover;
    width: auto;
}

.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;
    max-width: 100%;
    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%;
}