/*
 * BrandsForBands farewell page.
 * Rules taken from the site's front/css/main.css (body#blue-full page style, as used by the
 * shutdown splash), trimmed to what this page uses, plus a small-screen layout.
 */

/* Base (from main.css "Global Typography" / "General Layout") */
html { -webkit-text-size-adjust: 100%; }
body {
	min-width: 1060px;
	margin: 0;
	background-color: #000;
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	}
a, a:visited { color: #58add8; text-decoration: none; }
a:hover, a:active { color: #58add8; text-decoration: underline; }
h1, h2, h6 {
	margin: 5px 0 10px;
	padding: 0;
	color: #58add8;
	font-family: FuturaBT-Bold, Arial, Helvetica, sans-serif;
	font-weight: normal;
	line-height: 1.25;
	}
h2 { font-family: Sanchez-Light, Arial, Helvetica, sans-serif; font-size: 2.375em; line-height: 1; }
h6 { color: #666; font-size: 0.8125em; }

.container { position: relative; width: 1060px; margin: 0 auto; }
.container:before, .container:after { content: ""; display: table; }
.container:after { clear: both; }

/* Header: logo ribbon + wordmark on white, black top strip */
#header { background: #fff url(img/bg_header.png) repeat-x top left; }
#header .container { height: 121px; }
#header img.logomark {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 10;
	width: 189px;
	height: 256px;
	}
#header h1 {
	position: absolute;
	left: 202px;
	top: 45px;
	z-index: 5;
	width: 203px;
	height: 55px;
	margin: 0;
	background: url(img/logotype_brands_for_bands.png) no-repeat top left;
	text-indent: -999em;
	overflow: hidden;
	}
#header h1 a { display: block; height: 55px; }

/* Blue band (body#blue-full) */
#content {
	margin-top: -13px;
	background: #56abd7 url(img/bg_sawtooth_blue_shadow_upper.png) repeat-x top center;
	}
#content .container {
	padding-top: 13px;
	background: url(img/bg_sawtooth_blue_shadow_upper_transparent.png) repeat-x top center;
	}
#page-head { clear: both; padding: 20px 15px 10px; }
#page-head h2 { color: #fff; text-align: center; }
#primary { padding: 0 0 70px; }

#farewell h6 {
	margin-bottom: 25px;
	color: #0F62A7;
	font-size: 1.125em;
	text-align: center;
	}
#farewell p {
	margin: 0 0 1.4em;
	padding: 0 160px;
	color: #fff;
	font-family: Sanchez-Regular, Arial, Helvetica, sans-serif;
	font-size: 1.0625em;
	line-height: 1.7;
	text-align: center;
	}
#farewell p.thanks { margin-top: 10px; font-family: Sanchez-Bold, Arial, Helvetica, sans-serif; font-size: 1.25em; }
#farewell p.signature { margin-top: 35px; }
#farewell p.signature strong {
	display: block;
	margin: 6px 0 2px;
	font-family: Sanchez-Bold, Arial, Helvetica, sans-serif;
	font-size: 1.15em;
	font-weight: normal;
	}
#farewell .caps {
	color: #0F62A7;
	font-family: FuturaBT-Bold, Arial, Helvetica, sans-serif;
	font-size: 0.85em;
	letter-spacing: 1px;
	text-transform: uppercase;
	}
#farewell p.onward { margin-top: 50px; }

/* Contact cards */
#farewell .contacts {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin: 25px 160px 0;
	}
#farewell .contact {
	flex: 1 1 0;
	max-width: 300px;
	padding: 20px 15px 18px;
	border-radius: 5px;
	background: rgba(15, 98, 167, 0.35);
	text-align: center;
	}
#farewell .contact strong {
	display: block;
	margin-bottom: 8px;
	color: #fff;
	font-family: Sanchez-Bold, Arial, Helvetica, sans-serif;
	font-size: 1.15em;
	font-weight: normal;
	}
#farewell .contact a {
	display: block;
	margin-top: 4px;
	color: #fff;
	font-family: Sanchez-Regular, Arial, Helvetica, sans-serif;
	font-size: 1em;
	line-height: 1.5;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.5);
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
	}
#farewell .contact a:hover { text-decoration-color: #fff; }

/* Footer: lower sawtooth, logotype, copyright */
#footer {
	padding-top: 103px;
	background: url(img/bg_sawtooth_blue_shadow_lower.png) repeat-x top center;
	}
#footer .container {
	width: 750px;
	padding: 70px 0 80px 360px;
	background: url(img/logotype_brands_for_bands_footer.png) no-repeat 95px 70px;
	}
#footer p {
	margin: 0;
	padding-top: 22px;
	color: #929498;
	font-family: Sanchez-Regular, Arial, Helvetica, sans-serif;
	font-size: 0.6875em;
	line-height: 1;
	}

/* Small screens (the original site was fixed at 1060px) */
@media (max-width: 1080px) {
	body { min-width: 0; }
	.container { width: auto; max-width: 1060px; padding-left: 16px; padding-right: 16px; }
	#farewell p { padding: 0 6%; }
	#farewell .contacts { margin-left: 6%; margin-right: 6%; }
	#primary { padding-left: 0; }
}
@media (max-width: 640px) {
	#header .container { height: 92px; }
	#header img.logomark { left: 8px; width: 104px; height: 141px; }
	#header h1 { left: 124px; top: 34px; width: 150px; height: 41px; background-size: 150px 41px; }
	#header h1 a { height: 41px; }
	#page-head { padding-top: 70px; }
	h2 { font-size: 2em; }
	#farewell p { padding: 0; font-size: 1em; }
	#farewell .contacts { flex-direction: column; align-items: center; margin: 25px 0 0; gap: 16px; }
	#farewell .contact { width: 100%; max-width: 340px; box-sizing: border-box; }
	#footer .container { width: auto; padding: 60px 16px 50px; background-position: center 30px; text-align: center; }
	#footer p { padding-top: 50px; }
}
