/* J4/J5 port: JA ACM tabs output Bootstrap 5 classes ("fade show"); Bootstrap 2 only shows ".fade.in". */
.tab-content > .tab-pane.fade.show,
.tab-content > .tab-pane.fade.in { opacity: 1; }
.tab-content > .tab-pane.active { display: block; }

/* Core Articles module (replaces the old news grid): no list bullets. */
ul.mod-articles-items { list-style: none; margin-left: 0; padding-left: 0; }
ul.mod-articles-items > li { list-style: none; }

/* Footer: stretch the dark bands to full screen width and keep text off the edges. */
#socialModal { box-shadow: 0 0 0 100vmax rgb(43, 43, 43); clip-path: inset(0 -100vmax); }
#bottom-bg { box-shadow: 0 0 0 100vmax rgb(51, 51, 51); clip-path: inset(0 -100vmax); }
#socialModal .container > .row-fluid,
#bottom-bg .container > div,
#bottom-bg .row-fluid { box-sizing: border-box; padding-left: 20px; padding-right: 20px; }
#bottom-bg { padding-bottom: 24px; }

/* Bootstrap 5 helper used by Joomla 5 core layouts (unknown to the Bootstrap 2 template). */
.visually-hidden, .visually-hidden-focusable:not(:focus) { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Contact page (com_contact, Joomla 5 layout) */
.com-contact__container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; margin-bottom: 30px; }
.com-contact__container > h2 { grid-column: 1 / -1; }
.com-contact__thumbnail { grid-column: 2; grid-row: 2 / span 3; margin: 0; padding: 0; border: 0; box-shadow: none; }
.com-contact__thumbnail img { width: 100%; height: auto; border-radius: 8px; }
.com-contact__position, .com-contact__info { grid-column: 1; }
.com-contact__position dt { display: none; }
.com-contact__position dd { margin: 0 0 14px; font-weight: 700; font-size: 16px; }
.com-contact .dl-horizontal dt { float: left; clear: left; width: 26px; text-align: left; overflow: visible; padding-top: 2px; }
.com-contact .dl-horizontal dd { margin: 0 0 4px 36px; }
.com-contact .dl-horizontal dt + dd { padding-top: 0; }
.com-contact .com-contact__address dt:not(:first-child) { margin-top: 10px; }
.com-contact .com-contact__address dt:not(:first-child) + dd { margin-top: 10px; }
.com-contact .jicons-image img { width: 18px; height: auto; }
.com-contact .contact-form .control-label { padding-top: 6px; }
@media (max-width: 767px) {
  .com-contact__container { grid-template-columns: 1fr; }
  .com-contact__thumbnail { grid-column: 1; grid-row: auto; margin-bottom: 16px; }
}
