/*
 * Small additions needed after moving away from Joomla.
 * Everything else lives in vendor.css / style.css (original styles).
 */

/* Social icon: the original RSSocial icon font was not in the backup -> same glyph from Font Awesome 4.7 */
.rssocial-icon-facebook:before {
	font-family: 'FontAwesome';
	content: '\f09a';
}

/* Home slider: single static slide (bxSlider plugin used to make it visible) */
.slider ul.bxslider > li:first-child {
	opacity: 1;
	list-style: none;
}

/* Dropdown arrow in the main menu is only used on touch devices (old template JS did the same) */
.navbar-custom .navbar-collapse .nav.menu li > a.dropdown-toggle { display: none; }
.touch .navbar-custom .navbar-collapse .nav.menu li > a.dropdown-toggle { display: inline-block; }

/* Mobile menu: Bootstrap collapse without the Bootstrap JS plugin */
@media (max-width: 767px) {
	.navbar-collapse.collapse.in { display: block !important; }
}

/* Clickable scroll helpers (mouse icon on home page, "back to top" chevron) */
.block122, .block120 { cursor: pointer; }

/* Google map placeholder until "functional" cookies are allowed */
.map-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 350px;
	padding: 20px;
	background: #e9e9e9;
	text-align: center;
}
.map-placeholder[hidden] { display: none; }

/* Legal pages: cookie tables */
.item-page .table { margin-bottom: 25px; background: #fff; }
.item-page h2 { margin-top: 30px; }

/* Contact form messages */
.form-message {
	margin-bottom: 20px;
	padding: 12px 15px;
	border: 1px solid transparent;
}
.form-message.is-success { color: #3c763d; background: #dff0d8; border-color: #d6e9c6; }
.form-message.is-error   { color: #a94442; background: #f2dede; border-color: #ebccd1; }

/* Image lightbox (replaces the jQuery Venobox plugin) */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(23, 23, 23, 0.85);
}
.lightbox[hidden] { display: none; }
.lightbox img {
	max-width: 90vw;
	max-height: 85vh;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
	background: #fff;
	padding: 5px;
}
.lightbox button {
	position: absolute;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	padding: 10px 15px;
	cursor: pointer;
	opacity: 0.8;
}
.lightbox button:hover, .lightbox button:focus { opacity: 1; }
.lightbox .lightbox-close { top: 10px; right: 10px; }
.lightbox .lightbox-prev  { left: 10px;  top: 50%; transform: translateY(-50%); }
.lightbox .lightbox-next  { right: 10px; top: 50%; transform: translateY(-50%); }
