/* General Typography */

body {
	background-color: #bfd7d9;
}

main {
	background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #054348;
}

h2.subheader {
	color: #4d7c80;
}

@media print,
screen and (min-width: 40em) {
	h2.subheader {
		font-size: 2.1rem;
	}
}

ol ol li {
	list-style: lower-alpha;
}

ul.spaced-out > li {
	padding-bottom: 20px;
}

dl.compact dt {
	float: left !important;
	padding-right: 0.5em;
	margin-bottom: 0px;
}

dl.compact dd {
	padding-left: 1em;
	margin-bottom: .3rem;
}

a {
	color: #065a60;
}

.light-text {
	color: #666;
}

.callout[data-closable] {
	padding-right: 3rem;
}

.callout[data-closable] > :nth-last-child(2) {
	margin-bottom: 0;
}

.callout-border {
	width: 100%;
	padding: 1.3rem;
	border-left-width: 0.3125rem;
	border-left-color: #cacaca;
}

.callout-border strong {
	color: #0a0a0a;
}

.callout-border.primary {
	border-left-color: #1779ba;
}

.callout-border.primary strong {
	color: #1779ba;
}

.callout-border.secondary {
	border-left-color: #767676;
}

.callout-border.secondary strong {
	color: #767676;
}

.callout-border.alert {
	border-left-color: #cc4b37;
}

.callout-border.alert strong {
	color: #cc4b37;
}

.callout.success {
	background-color: #e1fafb;
}

.callout-border.success {
	border-left-color: #087078;
}

.callout-border.success strong {
	color: #087078;
}

.callout-border.warning {
	border-left-color: #ffae00;
}

.callout-border.warning strong {
	color: #ffae00;
}

/* Site banner */

.top-bar,
.top-bar-left,
ul.menu,
.menu > li,
.menu > li > a {
	color: #fff;
	background-color: #087078;
}

.sitename {
	margin-top: 10px;
	margin-bottom: 0;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	font-family: serif;
	letter-spacing: 1px;
	color: #fff;
}

@media print,
screen and (min-width: 40em) {
	div.top-bar-left {
		max-width: 50vw;
	}
}

@media print,
screen and (min-width: 75em) {
	div.top-bar-left {
		max-width: 60vw;
	}
}

@media print,
screen and (min-width: 90em) {
	div.top-bar-left {
		max-width: 66vw;
	}
}

/* Callout bar */

#announcements .callout[data-closable] {
	margin-bottom: 0;
	padding-left: 2.5rem;
	padding-right: 2.5rem;
}

@media screen and (max-width: 20em) {
	#announcements .callout[data-closable] {
		padding-left: 0.625rem;
		padding-right: 0.625rem;
	}
}

#announcements p {
	text-align: center;
}

#feedback {
	position: sticky;
	top: 0;
	z-index: 50;
}

#feedback .callout:first-child {
	margin-top: 1rem;
}

/* Main content layout */

article > header {
	margin-bottom: 1rem;
}

article > header.sub-banner {
	margin-bottom: 2rem;
}

.sub-banner {
	background-color: #bfd7d9;
	padding-top: 1rem;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	color: #054348;
}

.sub-banner .h2 {
	font-size: 1.1875rem;
	line-height: 1.4;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

@media print,
screen and (min-width: 40em) {
	.sub-banner .h2 {
		font-size: 1.9375rem;
	}
}

article > section,
article > footer,
article > nav {
	padding-bottom: 2rem;
}

article.story > section,
article.story > footer,
article.story > nav {
	max-width: 50rem;
	margin-left: auto !important;
	margin-right: auto !important;
}

article.story .summary .cell {
	max-width: 50rem;
}

.lead {
	padding-bottom: 1rem;
	color: #054348;
}

article.story .lead {
	border-bottom: solid 4px #bfd7d9;
}

/* Site information footer */

.foot {
	padding-top: 1.5rem;
	background-color: #087078;
	color: #fff;
	font-size: 0.8rem;
	height: auto;
}

.foot .grid-x {
	max-width: 50rem;
	margin-left: auto;
	margin-right: auto;
}

.foot-links > li > a {
	color: #fff;
}

.foot-links > li > a:hover {
	color: #bfd7d9;
}

/* Home page */

.picbox {
	position: relative;
	width: 100%;
	padding-bottom: 15px;
	padding-top: 15px;
	overflow: hidden;
}

.square {
	display: block;
	width: 100%;
	padding-bottom: 100%;
	overflow: hidden;
	position: relative;
	background: #000;
}

.square i {
	position: absolute;
	width: auto;
	min-width: 100%;
	min-height: 100%;
	background-clip: content-box;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.square div {
	position: absolute;
	width: auto;
	min-width: 100%;
	min-height: 100%;
}

a.hovereffect > div {
	visibility: hidden;
	opacity: 0;
	-webkit-transition: visibility 0s linear 0.25s, opacity 0.25s ease-out;
	transition: visibility 0s linear 0.25s, opacity 0.25s ease-out;
	display: table;
	position: absolute;
	top: 0px;
	width: 90%;
	padding: 5%;
	z-index: 40;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.7);
}

@media screen and (min-width: 16em) {
	a.hovereffect > div {
		font-size: 1.5em;
	}
}

@media screen and (min-width: 28em) {
	a.hovereffect > div {
		font-size: 2em;
	}
}

@media screen and (min-width: 40em) {
	a.hovereffect > div {
		font-size: 1.5em;
	}
}

@media screen and (min-width: 52em) {
	a.hovereffect > div {
		font-size: 2em;
	}
}

@media screen and (min-width: 64em) {
	a.hovereffect > div {
		font-size: 1.5em;
	}
}

@media screen and (min-width: 76em) {
	a.hovereffect > div {
		font-size: 2em;
	}
}

a.hovereffect:hover > div {
	visibility: visible;
	opacity: 1;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.headline-middle {
	display: table-cell;
	vertical-align: middle;
}

.button.round {
	border-radius: 1000px;
}

.button.white {
	color: #fefefe;
	border-color: #fefefe;
}

.button.white:hover {
	color: #343434;
	border-color: #343434;
	background-color: #fefefe;
}

/* Story read page */

.sub-banner .thumbnail {
	margin-top: .5rem;
	margin-bottom: .5rem;
}

.sub-banner .thumbnail img {
	max-height: 16rem;
}

small.author-bio {
	color: #054348 !important;
	line-height: 1.2em !important;
	font-style: italic;
}

@media print,
screen and (min-width: 40em) {
	.reveal.large {
		height: 90%;
	}
}

.reveal.large img {
	display: block;
	object-fit: contain;
	height: 100%;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (min-width:641px) {
	.section-media {
		max-height: 250px;
		max-width: 300px;
	}

	.section-media-left {
		margin-right: 30px;
	}

	.section-media-right {
		margin-left: 30px;
	}
}

.section-player {
	margin-bottom: 1rem;
	border: 1px solid #e6e6e6;
	border-radius: 0;
	padding: 0.625rem;
	column-gap: 1.25rem;
	background: #fefefe;
	-webkit-box-shadow: none;
	box-shadow: none;
	overflow-x: auto;
	color: #0a0a0a;
}

.section-player > div:first-of-type {
	order: 1;
}

.media-caption {
	margin-bottom: auto;
	padding-top: 10px;
	font-size: 0.9rem;
	font-weight: bold;
	color: #666;
}

.cta {
	font-size: 1.75em;
	font-weight: bold;
}

.explore,
.contact {
	background-color: #087078;
}

.explore:hover,
.contact:hover {
	background-color: #054348;
}

/* Record listings */

td a.button {
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
}

@media print,
screen and (min-width: 70em) {
	td.actions {
		white-space: nowrap;
	}
}

/* Record editing forms */

/* 0.625 - 0.1875 */
fieldset.fieldset > legend {
	margin-left: 0.4375rem;
}

/* 0.9375 - 0.1875 */
@media print,
screen and (min-width: 40em) {
	fieldset.fieldset > legend {
		margin-left: 0.75rem;
	}
}

.entry-placeholder {
	border: 1px solid #ffae00;
	background-color: #fff3d9;
	margin: 0 1em 1em 0;
	height: 3rem;
}

#preview-square {
	box-sizing: content-box;
	display: block;
	width: 100%;
	padding-bottom: 100%;
	border: 1px solid rgb(202, 202, 202);
	overflow: hidden;
	position: relative;
}

#preview-square > img {
	box-sizing: border-box;
	position: absolute;
	max-width: 100%;
	max-height: 100%;
}

#preview-square > span {
	box-sizing: border-box;
	position: absolute;
	width: 100%;
	height: 100%;
}

.media-preview {
	object-fit: contain;
	width: 12rem;
	height: 12rem;
}

/* Remediation for IE10+ */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
	a.hovereffect:hover > div {
		background-color: #343434;
		height: 95%;
		width: 95%;
	}
}
