/* Multi-page additions. Reuses the palette, type and spacing of style.css. */

/* Navigation: real links inside the existing menu items */

.navigation li a,
.navigation li a:link,
.navigation li a:visited {
	color: inherit;
	text-decoration: none;
}
.navigation li:hover a,
.navigation li.active a,
.navigation li a[aria-current="page"] {
	color: #fff;
}
/* Right padding the old "Reserve" button used to provide */
.navigation li:last-child {
	padding-right: 40px;
}
@media (max-width: 880px) {
	.navigation li:last-child {
		padding-right: 20px;
	}
}
#connect-content a[aria-current="page"] {
	color: #e71c37;
}

/* Inner pages sit below the fixed desktop menu (scripts.js keeps this in sync) */

body.subpage {
	padding-top: 90px;
}
@media (max-width: 729px) {
	body.subpage {
		padding-top: 0;
	}
}

/* Page sections */

.page-section {
	background-color: #fff;
}
.page-section.alt {
	background-color: #f5f5f5;
}
.page-section.intro {
	padding-bottom: 60px;
}
.page-section h1 {
	color: #e71c37;
	text-transform: uppercase;
	text-align: center;
	margin: 0 0 40px 0;
}
.page-section h2 {
	color: #e71c37;
	text-transform: uppercase;
	text-align: center;
	font-size: 20px;
	line-height: 30px;
	font-weight: bold;
	letter-spacing: 2px;
	margin: 0 0 30px 0;
}
.prose {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
	color: #8a8683;
}
.prose p {
	font-size: 15px;
	line-height: 30px;
	letter-spacing: 1px;
	margin: 0 0 20px 0;
}
.prose .lead {
	color: #999999;
	font-size: 20px;
	line-height: 40px;
	text-align: center;
	margin: 0 0 40px 0;
}
.prose .updated {
	text-align: center;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-family: 'utopia-std', serif;
}
.prose h3 {
	color: #353535;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 35px 0 10px 0;
}
.prose ul {
	margin: 0 0 20px 0;
	padding: 0 0 0 20px;
	font-size: 15px;
	line-height: 30px;
	letter-spacing: 1px;
}
.center {
	text-align: center;
}
a.more-link,
a.more-link:link,
a.more-link:visited {
	display: inline-block;
	color: #999999;
	font-family: 'utopia-std', serif;
	border-top: solid 3px #e71c37;
	border-bottom: solid 3px #e71c37;
	letter-spacing: 3px;
	padding: 20px 35px;
	margin: 10px;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 20px;
}
a.more-link:hover {
	color: #999999;
	border-top-color: #999999;
	border-bottom-color: #999999;
}
@media (max-width: 950px) {
	.prose .lead {
		font-size: 15px;
		line-height: 30px;
	}
}
@media (max-width: 750px) {
	.prose p, .prose ul {
		font-size: 13px;
		line-height: 23px;
	}
	.prose .lead {
		font-size: 13px;
		line-height: 23px;
	}
}

/* Home */

#about h1 {
	color: #e71c37;
	text-transform: uppercase;
	margin: 0 0 30px 0;
}
#team h1 {
	color: #e71c37;
	text-transform: uppercase;
	margin: 0 0 30px 0;
}
#about p.home-mission {
	margin: 30px auto 30px auto;
	max-width: 800px;
}
#ditto-slider #home-slide-2 {
	color: #999;
}
#ditto-slider .carousel-caption a.more-link {
	margin-top: 30px;
}
#explore {
	text-align: center;
	padding: 80px 0;
}

/* About: timeline */

.timeline {
	list-style: none;
	margin: 0;
	padding: 0 0 0 10px;
}
.timeline li {
	position: relative;
	padding: 0 0 30px 35px;
	border-left: solid 3px #e71c37;
}
.timeline li:last-child {
	padding-bottom: 0;
}
.timeline li:before {
	content: '';
	position: absolute;
	left: -10px;
	top: 3px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #f5f5f5;
	border: solid 3px #e71c37;
}
.timeline .when {
	display: block;
	color: #e71c37;
	font-family: 'utopia-std', serif;
	font-size: 13px;
	line-height: 20px;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.timeline .what {
	display: block;
	font-size: 15px;
	line-height: 30px;
	letter-spacing: 1px;
}

/* About: leadership */

.leaders {
	text-align: center;
	margin: 0 0 30px 0;
}
.leaders .leader {
	display: inline-block;
	vertical-align: top;
	width: 230px;
	margin: 0 15px 30px 15px;
	text-align: left;
}
.leaders img {
	display: block;
	width: 100%;
	height: auto;
	padding: 0 0 15px 0;
	margin: 0 0 15px 0;
	border-bottom: solid 1px #999;
}
.leaders .name {
	display: block;
	color: #999999;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.leaders .role {
	display: block;
	color: #999999;
	font-family: 'utopia-std', serif;
	font-size: 13px;
	letter-spacing: 2px;
}

/* Legal & organizational information */

.legal-info {
	margin: 0;
}
.legal-info dt {
	color: #353535;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 0;
}
.legal-info dd {
	font-size: 15px;
	line-height: 26px;
	letter-spacing: 1px;
	margin: 0 0 20px 0;
}
@media (min-width: 700px) {
	.legal-info {
		display: grid;
		grid-template-columns: 240px 1fr;
		grid-column-gap: 20px;
	}
	.legal-info dt {
		line-height: 26px;
	}
}

/* Programs */

.program {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-items: center;
	align-items: center;
	background: #fff;
}
.program:nth-child(even) {
	background: #f5f5f5;
	-webkit-flex-direction: row-reverse;
	flex-direction: row-reverse;
}
.program-image {
	width: 50%;
	background: #333333;
}
.program-image img {
	display: block;
	width: 100%;
	height: auto;
}
.program-body {
	width: 50%;
	padding: 4% 6%;
	box-sizing: border-box;
	color: #8a8683;
}
.program-body h2 {
	color: #e71c37;
	text-transform: uppercase;
	font-size: 25px;
	line-height: 35px;
	font-weight: bold;
	letter-spacing: 2px;
	margin: 0 0 15px 0;
}
.program-body .when {
	color: #353535;
	font-family: 'utopia-std', serif;
	font-size: 13px;
	line-height: 22px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0 0 20px 0;
}
.program-body p {
	font-size: 15px;
	line-height: 28px;
	letter-spacing: 1px;
	margin: 0 0 20px 0;
}
.program-body dl {
	margin: 0;
}
.program-body dt {
	color: #353535;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 15px 0 2px 0;
}
.program-body dd {
	font-size: 14px;
	line-height: 24px;
	letter-spacing: 1px;
	margin: 0;
}
@media (max-width: 900px) {
	.program-image, .program-body {
		width: 100%;
	}
	.program-body {
		padding: 40px 6%;
	}
}

/* Partners */

#press li {
	position: relative;
}
#press li:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.55);
}
.partner {
	padding: 0 0 40px 0;
	margin: 0 0 40px 0;
	border-bottom: solid 1px #dddddd;
	text-align: center;
}
.partner:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
.partner h2 {
	margin-bottom: 10px;
}
.partner .role {
	color: #353535;
	font-family: 'utopia-std', serif;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0 0 15px 0;
}

/* Contact */

#hello h1 {
	color: #e71c37;
	text-transform: uppercase;
	margin: 0 0 50px 0;
}
#hello .address {
	color: #fff;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: bold;
	padding: 0 0 0 50px;
	display: inline-block;
	margin: 20px 0;
	min-height: 34px;
	line-height: 23px;
	background: url('../images/icon-hello-pin.png') no-repeat left center;
	background-size: 28px 34px;
}

/* Footer: charity identification + social icons */

#ditto-footer .footer-legal {
	text-align: center;
	text-transform: none;
	color: #8a8683;
	font-size: 13px;
	line-height: 24px;
	letter-spacing: 0.5px;
	margin: 0 0 30px 0;
	padding: 0 40px 30px 40px;
	border-bottom: solid 1px #eeeeee;
}
#ditto-footer .footer-legal p {
	margin: 0;
}
#ditto-footer .footer-legal a {
	color: #e71c37;
}
#ditto-footer .footer-legal a:hover {
	color: #353535;
}
.footer-social {
	display: inline-block;
	vertical-align: middle;
	margin: 0 20px 0 0;
}
#ditto-footer .right .footer-social a {
	display: inline-block;
	vertical-align: middle;
	width: 32px;
	height: 32px;
	margin: 0 0 0 6px;
	background-color: #999;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-transition: background-color .3s;
	transition: background-color .3s;
}
#ditto-footer .right .footer-social a:hover {
	background-color: #e71c37;
}
.footer-social .social-fb {
	background-image: url('../images/icon-social-fb.png');
	background-size: 8px 17px;
}
.footer-social .social-twitter {
	background-image: url('../images/icon-social-twitter.png');
	background-size: 18px 15px;
}
.footer-social .social-instagram {
	background-image: url('../images/icon-social-instagram.png');
	background-size: 16px 16px;
}
.footer-social .social-soundcloud {
	background-image: url('../images/icon-social-soundcloud.png');
	background-size: 26px 12px;
}
@media (max-width: 767px) {
	.footer-social {
		display: block;
		margin: 0 0 15px 0;
	}
	#ditto-footer .right .footer-social a {
		margin: 0 3px;
	}
}

/* Accessibility helper */

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}
