/* Thumbnail grid for {yoogallery} (looks like the YOOgallery "default" thumbnails of the Joomla 1.5 site) */
.fo-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	margin: 15px 0 20px 0;
	padding: 0;
	list-style: none !important;
}
.fo-gallery li {
	margin: 0;
}
.fo-gallery a {
	display: block;
	line-height: 0;
}
.fo-gallery img {
	padding: 1px;
	background: #fff;
	border: 1px solid #c8c8c8;
	border-radius: 3px;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, .18);
	max-width: 100%;
	height: auto;
}
.fo-gallery a:hover img,
.fo-gallery a:focus img {
	border-color: #E99D01;
}

/* Lightbox */
.fo-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .85);
}
.fo-lightbox[hidden] {
	display: none;
}
.fo-lightbox img {
	max-width: 92vw;
	max-height: 86vh;
	padding: 0 !important;
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, .6);
}
.fo-lightbox button {
	position: absolute;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	padding: 10px 16px;
	cursor: pointer;
	opacity: .8;
}
.fo-lightbox button:hover,
.fo-lightbox button:focus {
	opacity: 1;
}
.fo-lightbox .fo-close { top: 10px; right: 10px; }
.fo-lightbox .fo-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.fo-lightbox .fo-next { right: 10px; top: 50%; transform: translateY(-50%); }
.fo-lightbox .fo-count {
	position: absolute;
	bottom: 12px;
	left: 0;
	right: 0;
	text-align: center;
	color: #ddd;
	font-size: 14px;
}

/* SmartResizer images */
a.fo-zoom { cursor: zoom-in; }

/* Spam trap of the comment and application forms */
.fo-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Comments (replace yvComment) */
.fo-comments { clear: both; margin: 30px 0 10px; padding-top: 15px; border-top: 1px solid #ddd; }
.fo-c-list { list-style: none !important; margin: 0; padding: 0; }
.fo-c-list .fo-c-list { margin-left: 25px; }
.fo-c { margin: 0 0 12px; padding: 0 !important; background: none !important; }
.fo-c-head { font-size: 12px; color: #777; }
.fo-c-head strong { color: #333; font-size: 13px; margin-right: 6px; }
.fo-c-body { margin: 4px 0 2px; padding: 8px 10px; background: #f6f6f6; border-radius: 3px; }
.fo-c-reply, .fo-c-cancel { border: 0; background: none; padding: 0; color: #E99D01; font-size: 12px; cursor: pointer; }
.fo-c-reply:hover { text-decoration: underline; }
.fo-c-cancel { font-size: 16px; }
.fo-c-form { max-width: 480px; margin-top: 15px; }
.fo-c-form label { display: block; font-size: 12px; color: #555; margin-bottom: 2px; }
.fo-c-form input[type="text"], .fo-c-form input[type="email"], .fo-c-form textarea { width: 100%; box-sizing: border-box; padding: 5px; border: 1px solid #bbb; font: inherit; }
.fo-c-note { font-size: 12px; color: #777; }
