/* IMS Business Information Services — static rebuild of the Joomla 1.5
   rt_catalyst_j15 template (style 6 / header 3). Single column on small screens. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	padding: 0;
	color: #333;
	background: #666;
	font-family: Optima, Lucida, 'MgOpen Cosmetica', 'Lucida Sans Unicode', sans-serif;
	font-size: 13px;
	line-height: 135%;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: #999; text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 10px 0 15px; }

h1, h2, h3, h4 {
	padding-bottom: 5px;
	margin: 25px 0 10px;
	font-weight: normal;
	line-height: 120%;
}
h1 { font-size: 170%; line-height: 100%; }
h2 { font-size: 150%; line-height: 100%; }
h3 { font-size: 130%; }
h4 { font-size: 120%; }

.wrapper {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	position: relative;
}

/* Header */
.site-header {
	height: 80px;
	background: url(../images/header-bg.png) 0 0 repeat-x;
}
.site-header .logo {
	display: block;
	width: 200px;
	height: 80px;
}
.site-header .logo img { display: block; }

/* Horizontal menu */
.site-nav {
	min-height: 46px;
	background: #111 url(../images/horiz-menu-bg.png) 0 0 repeat-x;
}
.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.site-nav a {
	display: block;
	height: 46px;
	line-height: 46px;
	padding: 0 17px;
	white-space: nowrap;
	color: #fff;
	background: url(../images/horiz-menu-div.png) 100% 50% no-repeat;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #999; text-decoration: none; }

/* Main content panel */
.page-bg { background: #fff url(../images/page-bg.png) 0 0 repeat-x; }
.page-bg .wrapper::before,
.page-bg .wrapper::after {
	content: "";
	position: absolute;
	top: 0;
	width: 20px;
	height: 192px;
}
.page-bg .wrapper::before { left: -20px; background: url(../images/page-shadow-l.png) 0 0 no-repeat; }
.page-bg .wrapper::after { right: -20px; background: url(../images/page-shadow-r.png) 100% 0 no-repeat; }

.main-content {
	background: #fff url(../images/content-bg.png) 0 0 repeat-x;
	padding: 10px 20px 40px;
	overflow: hidden; /* contain floats */
}
.main-content .article { padding: 0 3px; }

.contentheading {
	font-size: 190%;
	line-height: 110%;
	color: #A50002;
	margin: 25px 0 0;
	padding-bottom: 8px;
}

/* Floated images on the briefing / research pages */
.figure-right {
	float: right;
	margin: 25px 0 15px 20px;
	max-width: 600px;
	width: 60%;
}
.figure-right img { display: block; border: 1px solid #000; }
.figure-strip { float: right; margin: 0 0 15px 20px; width: 150px; }

/* Boxed case-studies panel */
.important4 {
	border: 1px solid #000;
	padding: 15px;
	margin: 30px 0 15px;
}
.important-title4 {
	display: block;
	float: left;
	margin-top: -24px;
	background: #fff;
	padding: 0 8px;
	font-weight: bold;
	font-size: 120%;
}

/* Contact page */
.contact-list { list-style: none; margin: 20px 0; padding: 0; }
.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 0;
	margin-bottom: 12px;
}
.contact-list .icon { flex: 0 0 40px; }

/* Home slideshow */
.slideshow {
	position: relative;
	width: 100%;
	max-width: 920px;
	aspect-ratio: 920 / 300;
	margin: 30px auto 20px;
	background: #eee;
	overflow: hidden;
}
.slideshow .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .5s ease;
	visibility: hidden;
}
.slideshow .slide.is-active { opacity: 1; visibility: visible; }
.slideshow .slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slideshow .caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 70px;
	padding: 8px 15px;
	background: rgba(0, 0, 0, .65);
	color: #fff;
}
.slideshow .caption h4 { margin: 0 0 4px; padding: 0; font-size: 120%; }
.slideshow .caption a { color: #fff; }
.slideshow .caption p { margin: 0; }

/* "More Info" tab + wood band (home page only) */
.page-bg-bottom {
	height: 31px;
	background: url(../images/page-bg-bottom.png) 0 0 repeat-x;
	overflow: hidden;
}
.bottom-tab {
	height: 31px;
	width: 149px;
	margin-left: 50px;
	padding-top: 9px;
	padding-left: 12px;
	text-align: center;
	color: #fff;
	background: url(../images/bottom-tab.jpg) 0 0 no-repeat;
}
.bottom-band {
	padding: 35px 0 45px;
	background: url(../images/wood-bg3.jpg) top center;
	color: #fff;
	text-align: center;
}
.bottom-band img { display: inline-block; vertical-align: top; }

/* Footer */
.site-footer { background: #666 url(../images/footer-bg.png) 0 0 repeat-x; }
.site-footer .wrapper { min-height: 121px; overflow: hidden; }
.site-footer .footer-graphic {
	float: right;
	width: 333px;
	height: 121px;
	background: url(../images/footer-graphic.png) 0 0 no-repeat;
}
.site-footer .credit { display: inline-block; margin-top: 35px; }
.site-footer .credit img { display: block; width: 143px; height: 22px; }

/* ---------- Small screens: single column, scale to width ---------- */
@media (max-width: 1020px) {
	.page-bg .wrapper::before,
	.page-bg .wrapper::after { display: none; }
	.site-header .wrapper,
	.site-footer .wrapper { padding: 0 10px; }
}

@media (max-width: 700px) {
	body { font-size: 15px; }
	.site-header { height: auto; }
	.site-nav ul { justify-content: center; }
	.site-nav a {
		height: 38px;
		line-height: 38px;
		padding: 0 12px;
	}
	.main-content { padding: 5px 15px 30px; }
	.figure-right {
		float: none;
		width: 100%;
		margin: 20px 0 10px;
	}
	.figure-strip { display: none; }
	.slideshow { aspect-ratio: auto; height: auto; }
	.slideshow .slide { position: relative; display: none; }
	.slideshow .slide.is-active { display: block; }
	.slideshow .slide img { height: auto; aspect-ratio: 920 / 300; }
	.slideshow .caption { position: static; }
	.bottom-tab { margin-left: 15px; }
	.bottom-band { padding: 20px 10px 30px; }
	.site-footer .footer-graphic { display: none; }
	.site-footer .wrapper { min-height: 80px; }
	.site-footer .credit { margin: 30px 0 25px; }
}
