/* Additions for the restored site. The original pages are styled by boilerplate.css,
   WCHKnowledgeHub.css and the jQuery UI theme; this file only covers what the single-page
   2014-2018 design never needed: a menu, inner pages and the news section. */
body {
	background-image: url(/images/back-logo.jpg);
	background-repeat: repeat;
	width: auto;
	color: #666666;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 12pt;
}
.gridContainer { background-color: #FFFFFF; }
img { max-width: 100%; height: auto; }
.site-head table { margin-top: 0; }
.site-head > table > tbody > tr > th { padding-top: 22px; padding-bottom: 22px; }
.site-logo img { max-width: none; }
.site-intro td { text-align: left; font-weight: normal; }
.site-intro .ui-accordion h3 { font-size: 11pt; }
.site-strap { margin-bottom: 4px; }
.is-inner .site-head > table > tbody > tr > th { padding-top: 14px; padding-bottom: 14px; }

/* menu (structure of the hub's original Drupal menu) */
.nav-toggle, .nav-burger { display: none; }
.site-nav { list-style: none; margin: 0; padding: 0 1%; background: #FFFFFF; border-top: 1px solid #1B9BA8; border-bottom: 1px solid #1B9BA8; text-align: center; }
.site-nav > li { display: inline-block; position: relative; margin: 0; }
.site-nav a { display: block; padding: 10px 11px; color: #666666; text-decoration: none; font-size: 10pt; text-transform: uppercase; letter-spacing: .02em; }
.site-nav a:hover, .site-nav a.on { color: #800000; }
.site-nav a.on { box-shadow: inset 0 -3px 0 #800000; }
.site-nav li ul { display: none; position: absolute; left: 0; top: 100%; z-index: 50; min-width: 250px; list-style: none; margin: 0; padding: 4px 0; background: #DDEAF0; border: 1px solid #1B9BA8; text-align: left; }
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: block; }
.site-nav li ul a { text-transform: none; font-size: 10.5pt; padding: 7px 12px; }

/* inner pages */
table.inner { margin-top: 14px; table-layout: fixed; }
.main-col { text-align: left; }
.page-title { display: inline-block; font-size: 12pt; }
.crumbs { font-size: 9pt; margin: 0 0 14px; }
.content { line-height: 1.45; overflow-wrap: break-word; }
.content h2, .content h3, .content h4 { color: #666666; font-weight: bold; margin: 1.2em 0 .5em; }
.content h2 { font-size: 13pt; } .content h3 { font-size: 12pt; } .content h4 { font-size: 11pt; }
.content p { margin: 0 0 1em; }
.content ul, .content ol { margin: 0 0 1em 1.6em; padding: 0; }
.content li { margin-bottom: .35em; }
.content table { border-collapse: collapse; max-width: 100%; }
.content td, .content th { padding: 5px; vertical-align: top; text-align: left; font-weight: normal; }
.content img { border: 0; }
.content blockquote { margin: 0 0 1em 1em; padding-left: 12px; border-left: 3px solid #DDEAF0; }
.content .publication { float: left; margin: 2px 12px 8px 0; }
.side-col { text-align: left; }
.side-box { margin: 0 0 18px 0 !important; font-size: 11pt !important; border-top: 1px solid #1B9BA8; }
.side-title { font-size: 11pt; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { font-size: 10pt; padding: 5px 0; border-bottom: 1px solid #C9DCE5; line-height: 1.3; }
.side-list li:last-child { border-bottom: 0; }
.side-more { text-align: right; margin: 6px 0 0; font-size: 10pt; }

/* latest news */
.news-row { padding: 2px 0 12px; border-bottom: 1px solid #E0E0E0; margin-bottom: 12px; }
.news-title { font-size: 12pt !important; margin: 0 0 2px; font-weight: bold; }
.post-meta { margin: 0 0 10px; color: #888888; }
.post-terms { font-size: 10pt; border-top: 1px solid #E0E0E0; padding-top: 8px; }
.term-filter { margin: 0 0 16px; }
.term-filter select { max-width: 60%; }
.pager a, .pager strong { display: inline-block; padding: 3px 9px; border: 1px solid #E0E0E0; margin-right: 3px; text-decoration: none; }
.pager strong { background: #DDEAF0; border-color: #1B9BA8; }
.author-box { display: flex; gap: 14px; margin: 18px 0 !important; font-size: 11pt !important; border-top: 1px solid #1B9BA8; }
.author-box p { margin: 6px 0 0; }
.author-initials { flex: 0 0 54px; height: 54px; line-height: 54px; border-radius: 50%; background: #1B9BA8; color: #FFFFFF; text-align: center; font-weight: bold; font-size: 13pt; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 0 0 1em; }
.team-card { background: #DDEAF0; border: 1px solid #1B9BA8; padding: 12px; }
.team-card .author-initials { display: block; width: 54px; margin-bottom: 8px; }

/* contact form */
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea { width: 100%; max-width: 480px; box-sizing: border-box; padding: 6px; border: 1px solid #999999; font: inherit; color: #333333; }
.contact-form input[type=submit], .term-filter input[type=submit] { padding: 5px 14px; border: 1px solid #1B9BA8; background: #DDEAF0; color: #666666; font: inherit; cursor: pointer; }
.contact-form .hp { position: absolute; left: -9999px; }
.req { color: #800000; }
.form-ok { background: #DDEAF0; border: 1px solid #1B9BA8; padding: 10px; }
.form-err { border: 1px solid #800000; color: #800000; padding: 10px; }

/* footer */
.foot-logos img.footer { max-width: 100%; height: auto; }
.foot-bar { padding: 16px 10px; }
.foot-nav { margin: 0 0 6px; }
.foot-nav a { color: #FFFFFF; font-size: 9.5pt; font-weight: normal; text-decoration: none; margin: 0 8px; white-space: nowrap; }
.foot-nav a:hover { text-decoration: underline; }
.foot-note { margin: 0; color: #E5CCCC; font-size: 9pt; font-weight: normal; }

/* small screens: the original was a fluid grid, so let its two columns stack */
@media only screen and (max-width: 768px) {
	.gridContainer { width: 94%; padding-left: 2%; padding-right: 2%; background-color: #FFFFFF; }
	.site-head table, .site-head tbody, .site-head tr, .site-head th { display: block; width: auto; }
	.site-head th:empty, .site-gap { display: none; }
	.site-head > table > tbody > tr > th { padding: 8px; }
	.site-logo { text-align: center; }
	.site-logo img { max-width: 60%; }
	.nav-burger { display: block; padding: 10px 12px; border-top: 1px solid #1B9BA8; border-bottom: 1px solid #1B9BA8; color: #666666; font-size: 11pt; text-transform: uppercase; cursor: pointer; }
	.nav-burger span { display: inline-block; width: 4px; height: 4px; margin-right: 3px; background: #800000; border-radius: 50%; vertical-align: middle; }
	.site-nav { display: none; text-align: left; border-top: 0; padding: 0; }
	.nav-toggle:checked ~ .site-nav { display: block; }
	.site-nav > li { display: block; border-bottom: 1px solid #E0E0E0; }
	.site-nav li ul { display: block; position: static; border: 0; min-width: 0; padding: 0 0 4px 14px; background: transparent; }
	table.home-cols, table.home-cols > tbody, table.home-cols > tbody > tr, table.home-cols > tbody > tr > td, table.home-cols > tbody > tr > th,
	table.inner, table.inner > tbody, table.inner > tbody > tr, table.inner > tbody > tr > td { display: block; width: auto !important; }
	table.home-cols > tbody > tr > th:empty { display: none; }
	table.home-cols > tbody > tr.home-photos { display: none; }
	.home-photo-inline { display: block !important; margin: 0 auto 10px; }
	.publication { width: 100px; }
	.gridContainer table { max-width: 100%; }
	.gridContainer th { font-weight: normal; text-align: left; }
	.site-intro table, .site-intro tbody, .site-intro tr, .site-intro td { display: block; width: auto; }
	.content table { display: block; overflow-x: auto; }
	.side-col { margin-top: 18px; }
	.term-filter select { max-width: 100%; }
	.foot-logos th[width="20%"] { display: none; }
}
.home-photo-inline { display: none; }
.content strong, .content b { font-weight: bold; font-size: inherit; }
.content li, .content li * { font-size: inherit; }
