/*
Theme Name: GINGER
Theme URI: https://gingerprogram.org
Author: GINGER
Author URI: https://gingerprogram.org
Version: 1.0.0-20211207
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ginger
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	font-size: 18px;
	-webkit-text-size-adjust: 100%;
}

/* Root variables
	 ========================================================================== */
:root {
	/* Brand colors */
	--deep-blue: #012869;
	--dusk: #e8edf4;
	--ginger-blue: #3179bc;
	--ginger-bright-blue: #0079c1;
	--ginger-red: #b0263d;
	--light-blue: #6f9fd1;

	/* Colors */
	--black-text: #231f20;
	--white: #fff;

	/* Fonts */
	--sans-serif: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--serif: 'Domine', serif;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.ginger-button {
	background: var(--ginger-red);
	border-radius: 4px;
	border: 0;
	color: var(--white);
	cursor: pointer;
	display: inline-block;
	font-size: 18px;
	font-weight: 700;
	padding: 16px 32px;
	text-decoration: none;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.ginger-button:hover,
.ginger-button:hover {
	background: rgba(176, 38, 61, 0.7);
	color: var(--white);
	text-decoration: none;
}

.ld-quiz-actions input[type="button"],
.ginger-button.ginger-button-tertiary {
	background: var(--white);
	border: 1px solid var(--deep-blue);
	color: var(--deep-blue);
	font-weight: normal;
}

.ld-quiz-actions input[type="button"]:hover,
.ginger-button.ginger-button-tertiary:hover {
	background: var(--deep-blue);
	color: var(--white);
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--black-text);
	font-family: var(--sans-serif);
	font-size: 1rem;
	line-height: 1.5;
}

@media screen and (max-width:860px) {
	body,
	button,
	input,
	select,
	optgroup,
	textarea {
		font-size: 16px;
	}
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: var(--deep-blue);
    font-family: var(--serif);
	font-weight: normal;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: var(--deep-blue);
}

h1 a:visited,
h2 a:visited,
h3 a:visited,
h4 a:visited,
h5 a:visited,
h6 a:visited {
	color: var(--deep-blue);
}

h1 { font-size: 38px; }
h2 { font-size: 32px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }

@media screen and (max-width:860px) {
	h1 { font-size: 30px; }
	h2 { font-size: 26px; }
	h3 { font-size: 24px; }
	h4 { font-size: 20px; }
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--white);
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--ginger-blue);
}

a:visited {
	color: var(--ginger-blue);
}

a:hover,
a:focus,
a:active {
	color: var(--light-blue);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.container {
	margin: 0 auto;
	max-width: 1440px;
	padding: 0 25px;
}

body.home .container {
	padding: 0;
}

@media screen and (min-width:600px) {
	.container {
		padding: 0 50px;
	}
}

.ginger-breadcrumbs {
	font-family: var(--sans-serif);
	font-size: 16px;
}

.molecule-bar.header-blue {
	margin-bottom: 40px;
	padding-top: 25px;
	padding-bottom: 50px;
}

/* No breadcrumb */
body.archive .molecule-bar.header-blue {
	padding-top: 64px;
}

body.archive .molecule-bar.header-blue.has-breadcrumb {
	padding-top: 25px;
}

.molecule-bar:after {
	content: ' ';
	background-image: url( './img/molecule-map.png' );
	background-position: top right;
	background-repeat: no-repeat;
	position: absolute;
	opacity: .1;
	right: 0;
	top: 0;
	width: 100%;
	height: 420px;
}

.molecule-bar * {
	position: relative;
	z-index: 2;
}

.has-molecule-bar .archive-content,
.has-molecule-bar .entry-content {
	position: relative;
	z-index: 2;
}

.archive-content {
	margin-bottom: 48px;
}

.header-content {
	max-width: 982px;
}

.header-info {
	color: var(--deep-blue);
	font-family: Arial, sans-serif;
	font-size: 24px;
}

.header-cta {
	color: var(--deep-blue);
	font-size: 18px;
	font-weight: 700;
}

.archive-intro {
	max-width: 980px;
}

.site-header {
	background: var(--white);
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 10;
}

body.home .site-header .container,
.site-header .container {
	display: flex;
	justify-content: space-between;
	padding: 20px 50px 20px 50px;
	width: inherit;
}

body.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 600px) {
	body.admin-bar .site-header {
		top: 0;
	}
}

.site-branding {
	flex: 0 0 307px;
	width: 307px;
}

.site-logo-link {
	background: url('img/logo-ginger-full.svg') no-repeat;
	background-size: auto 116px;
	display: block;
	height: 116px;
}

body.sticky-header .site-logo-link {
	background-image: url('img/logo-ginger-small.svg');
	background-size: auto 40px;
	height: 40px;
}

@media screen and (max-width: 512px) {
	.site-header .container,
	body.home .site-header .container {
		padding: 10px 10px 10px 25px;
	}

	.site-branding {
		flex: 0 1 200px;
		width: auto;
	}

	.site-logo-link {
		background-size: 100% 100%;
	}

	body.sticky-header .site-logo-link {
		height: 56px;
		width: 150px;
		background-size: 100% 100%;
		height: 40px;
	}
}

.wp-block-column h2:first-child {
	margin-top: 0;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation-mobile {
	display: none;
}

.main-navigation-mobile.toggled {
	background: var(--deep-blue);
	color: var(--white);
	display: block;
	padding: 16px 28px 32px;
	border-bottom: 1px solid #eaeaea;
	font-size: 18px;
}

.main-navigation-mobile.toggled a {
	color: var(--white);
}

.main-navigation-mobile .menu li {
	margin-bottom: 8px;
}

.main-navigation-desktop {
	display: none;
	visibility: hidden;
}

.menu-main-nav-container {
	display: inline-block;
}

.main-navigation a {
	color: var(--deep-blue);
	display: block;
	font-weight: 500;
	line-height: 48px;
	white-space: nowrap;
}

body.sticky-header .main-navigation a {
	line-height: 42px;
}

.main-navigation a:hover {
	text-decoration: underline;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	text-align: left;
}

.main-navigation ul.sub-menu {
	background: var(--deep-blue);
	padding: 12px 24px;
}

.main-navigation ul.sub-menu a {
	color: var(--white);
}

body.sticky-header .main-navigation ul.menu > li {
	padding: 0 12px;
}

@media screen and (min-width: 860px) {
	.main-navigation ul > li.menu-item-has-children > a:after {
		content: ' ';
		display: inline-block;
		background-image: url('img/icons/icon-arrow-down.svg');
		background-position: right;
		background-repeat: no-repeat;
		background-size: 8px 8px;
		height: 8px;
		width: 18px;
	}
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 100%;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.nav-button {
	background: none;
	border: none;
	color: var(--deep-blue);
	display: block;
	font-weight: 500;
	flex-shrink: 0;
	padding: .6em 1em .4em;
	white-space: nowrap;
}

a.nav-button:hover {
	color: var(--deep-blue);
}

.main-navigation ul li.ld-link-nav:hover > ul, .main-navigation ul li.ld-link-nav.focus > ul {
	right: 0;
}

button.search-toggle:hover {
	background: none;
}

@media screen and (max-width: 860px) {
	.search-toggle {
		display: none;
	}
}

.search-toggle img {
	height: 16px;
}

.main-nav-search {
	display: none;
}

.main-navigation-mobile .main-nav-search {
	display: flex;
	margin-top: 16px;
}

.container.open-search .main-nav-search {
	display: block;
	flex: 1 1 100%;
	margin-left: 24px;
	padding: 16px 12px 12px 12px;
}

.sticky-header .container.open-search .main-nav-search {
	padding: 0 12px;
}

.main-nav-search form {
	align-items: center;
	display: flex;
	gap: 16px;
	height: 100%;
}

.main-navigation-mobile .main-nav-search form {
	flex: 1;
}

.main-navigation-mobile .sub-menu {
	display: none !important;
}

.container.open-search .main-nav-buttons {
	display: none;
}

.main-nav-search input[type="submit"] {
	line-height: 24px;
	padding: 0 8px;
}

.main-nav-search button.search-toggle-close {
	background: none;
	border: none;
	padding: 0 6px;
}

.search-toggle-close img {
	height: 20px;
}

.search-input {
	display: flex;
	flex: 1;
	position: relative;
}

.search-input .search-input-text {
	border: 1px solid #222;
	border-right: none;
	border-radius: 0;
	padding: 5px 5px 5px 12px;
	outline: none;
	height: 50px;
	line-height: 50px;
	width: 100%;
}

.search-input .search-submit {
	background: var(--white);
	width: 40px;
	height: 50px;
	border: 1px solid #222;
	border-left: 0;
	border-radius: 0;
	cursor: pointer;
	padding: 0 7px 0 0;
}

.sticky-header .search-input .search-input-text {
	height: 40px;
	line-height: 40px;
}

.sticky-header .search-input .search-submit {
	height: 40px;
}

.search-input .search-submit img {
	height: 20px;
	width: 20px;
}

/* Learning Platform nav */
.learning-nav {
	background: var(--deep-blue);
	color: var(--white);
	font-size: 16px;
}

.site-header .learning-nav .container {
	padding-bottom: 13px;
	padding-top: 13px;
}

.learning-nav a {
	color: var(--white);
}

.learning-nav ul {
	display: flex;
	gap: 38px;
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.learning-nav ul li.learning-nav-logout {
	margin-left: auto;
}

@media screen and (max-width: 860px) {
	.learning-nav ul {
		flex-direction: column;
		gap: 12px;
	}

	.learning-nav ul li.learning-nav-logout {
		margin-left: 0;
	}

	body.sticky-header .learning-nav ul li {
		display: none;
	}

	body.sticky-header .learning-nav ul li:first-child {
		display: block;
	}
}

.home-hero {
	border-bottom: 40px var(--white) solid;
	color: var(--white);
	display: flex;
	overflow: visible;
}

.home-hero-image {
	background-image: url('img/photos/allan-kalungi.png');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	flex: 0 0 50%;
}

.home-hero-image img {
	display: none;
}

.home-hero-text {
	background: var(--ginger-bright-blue);
	padding: 40px 40px 60px 60px;
	height: 100%;
}

.home-hero-text p {
	font-size: 18px;
	line-height: 160%;
	margin-bottom: 2.5em;
	margin-top: 2em;
}

.home-hero-title {
    font-family: var(--serif);
	line-height: 120%;
	font-size: 32px;
}

.hero-button {
	border: 1px solid var(--white);
	border-radius: 2px;
	color: var(--white);
	font-size: 18px;
	font-weight: 500;
	padding: 12px 24px;
	text-decoration: none;
	text-transform: uppercase;
}

.hero-button:visited {
	color: var(--white);
}

.hero-button:hover {
	background: var(--white);
	color: var(--ginger-bright-blue);
}

svg.mortarboard path {
	fill: var(--deep-blue);
}

.main-navigation-mobile svg.mortarboard path {
	fill: var(--white);
}

@media screen and (min-width:1200px) {
	.home-hero-text {
		border-bottom: 40px solid var(--white);
		height: auto;
		margin-bottom: 40px;
		padding: 60px 60px 60px 100px;
	}

	.home-hero-title {
		font-size: 38px;
	}

	.home-hero-image {
		background: none;
	}

	.home-hero-image img {
		display: inline;
	}
}

@media screen and (max-width:860px) {
	.home-hero {
		display: block;
	}

	.home-hero-image {
		height: 300px;
	}

	.home-hero-text {
		padding-left: 40px;
	}
}

.home-advancing-global-research {
	display: flex;
}

.home-advancing-global-research-text {
	flex: 0 0 50%;
	font-size: 18px;
	line-height: 160%;
	padding: 20px 60px;
}

.home-advancing-global-research-text a {
	color: var(--black-text);
	text-decoration: underline;
}

.home-advancing-global-research-text a:hover {
	text-decoration: none;
}

.home-advancing-global-research-title {
	color: var(--ginger-red);
    font-family: var(--serif);
	font-size: 32px;
	line-height: 140%;
}

.home-advancing-global-research-photos {
	padding: 0 60px;
}

.home-advancing-global-research-photos img:first-child {
	margin-left: 55px;
}

.home-advancing-global-research-photos img {
	width: calc(100% - 55px);
}

@media screen and (max-width:860px) {
	.home-advancing-global-research {
		flex-direction: column;
	}

	.home-advancing-global-research-text {
		padding: 20px 40px;
		order: 1;
	}

	.home-advancing-global-research-photos {
		padding: 0 40px;
	}

	.home-advancing-global-research-photos img:first-child {
		margin-left: 0;
		width: auto;
	}

	.home-advancing-global-research-photos img:not(:first-child) {
		display: none;
		visibility: hidden;
	}
}

.home-by-the-numbers {
	background: var(--dusk);
	padding: 85px 0;
	text-align: center;
}

.home-by-the-numbers-sections {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	width: 900px;
}

.home-by-the-numbers h2 {
	font-size: 32px;
	font-weight: normal;
	margin-top: 0;
}

.by-the-numbers-section {
	align-items: center;
	background-repeat: no-repeat;
	background-size: 220px 220px;
	color: var(--ginger-bright-blue);
	display: flex;
	height: 220px;
	justify-content: center;
	width: 220px;
}

.by-the-numbers-number {
    font-family: var(--serif);
	font-size: 84px;
	line-height: 84px;
}

.by-the-numbers-gloss {
	font-size: 18px;
	font-weight: 700;
}

.by-the-numbers-section-fellows {
	background: url('./img/globe.svg') no-repeat;
}

.by-the-numbers-section-courses {
	background: url('./img/brain.svg') no-repeat;
}

.by-the-numbers-section-papers {
	background: url('./img/papers.svg') no-repeat;
}

@media screen and (max-width: 900px) {
	.home-by-the-numbers-sections {
		flex-direction: column;
		gap: 48px;
		width: auto;
	}

	.by-the-numbers-section {
		background-position: center center;
		width: auto;
	}
}

.home-quote {
	display: flex;
	gap: 50px;
	margin: 0 auto;
	max-width: 900px;
	padding: 100px 0;
}

.home-quote-photo {
	flex: 0 0 150px;
}

.home-quote-photo img {
	border-radius: 50%;
	height: 150px;
	width: 150px;
}

.home-quote-quote {
	color: var(--deep-blue);
    font-family: var(--serif);
	font-size: 28px;
	font-weight: 400;
	line-height: 44px;
}

.home-quote-quote p:first-child {
	margin-top: 0;
}

.home-quote-byline {
	font-size: 16px;
	margin-top: 32px;
}

@media screen and (-ms-high-contrast:active), screen and (-ms-high-contrast: none) {
	.home-quote-photo {
		margin-right: 50px;
	}
}

@media screen and (max-width: 860px) {
	.home-quote {
		flex-direction: column;
		padding: 100px 40px;
		text-align: center;
	}
}

.home-our-impact {
	background-color: var(--dusk);
	padding: 100px 60px;
	text-align: center;
}

.home-our-impact h2 {
	color: var(--ginger-red);
	font-size: 32px;
}

.our-impact-top {
	font-size: 18px;
	line-height: 28px;
	margin: 0 auto 48px;
	width: 850px;
}

.our-impact-blocks {
	display: flex;
	gap: 28px;
	text-align: left;
}

.our-impact-block {
	flex: 1 0 30%;
}

@media screen and (-ms-high-contrast:active), screen and (-ms-high-contrast: none) {
	.our-impact-block {
		margin-right: 28px;
	}

	.our-impact-block:last-child {
		margin-right: 0;
	}
}

.our-impact-block h1 {
	font-size: 24px;
	font-weight: 400;
}

.our-impact-block p {
	font-size: 18px;
	line-height: 28px;
}

.our-impact-block a {
	color: var(--black-text);
	text-decoration: underline;
}

.our-impact-block a:hover {
	text-decoration: none;
}

@media screen and (max-width: 900px) {
	.our-impact-top {
		width: auto;
	}

	.our-impact-blocks {
		flex-direction: column;
	}
}

.home-resources {
	background: var(--ginger-bright-blue);
	padding: 90px 0;
	text-align: center;
}

.home-resources h2 {
	color: var(--white);
	font-size: 32px;
	margin-top: 18px;
}

.home-resources p {
	color: var(--white);
	font-size: 18px;
	line-height: 160%;
}

.home-resources h2 a,
.home-resources a {
	color: var(--white);
}

.home-resources p a {
	text-decoration: underline;
}

.home-resources p a:hover {
	text-decoration: none;
}

@media screen and (max-width: 860px) {
	.home-resources {
		padding: 90px 60px;
	}
}

body.home .home-support.container {
	display: flex;
	font-size: 18px;
	padding: 100px 60px;
}

.home-support h2 {
	font-size: 32px;
	font-weight: 400;
}

.home-support-text {
	flex: 0 0 40%;
}

.home-support-photos {
	flex: 1 1 60%;
	text-align: right;
}

.home-support-photo-1 {
	width: 300px;
}

@media screen and (max-width: 1550px) {
	.home-support {
		padding: 100px 60px;
	}
}

@media screen and (max-width: 1350px) {
	.home-support-photos {
		display: flex;
		justify-content: flex-end;
	}

	.home-support-photos img:not(:last-child) {
		display: none;
		visibility: hidden;
	}

	.home-support-photos img {
		width: auto;
	}

}

@media screen and (max-width: 860px) {
	.home-support {
		flex-direction: column;
		margin: 50px;
	}
	.home-support-text {
		order: 1;
	}
	.home-support-photos {
		display: block;
		text-align: left;
	}
	.home-support-photos > img {
		width: 100%;
	}
}

.home-supporters {
	border-top: 1px solid var(--deep-blue);
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.home-supporters-subsection {
	display: inline-block;
	flex: 0 0 50%;
	padding-bottom: 100px;
	padding-top: 85px;
	text-align: center;
}

.home-supporters-subsection-content {
	max-width: 680px;
}

.home-supporters ul {
	display: grid;
	gap: 30px;
	grid-template-columns: 1fr 1fr;
	list-style: none;
	margin: 0;
	padding: 0;
}

.home-supporters .home-our-collaborators ul {
	grid-template-columns: 1fr 1fr 1fr;
}

.home-supporters li {
	flex-direction: column;
}

/* Can't make grid work on IE so we simply ensure spacing */
@media screen and (-ms-high-contrast:active), screen and (-ms-high-contrast: none) {
	.home-supporters li {
		margin-bottom: 16px;
	}
}

.home-supporters a {
	background: var(--white);
	color: #000;
	font-size: 18px;
	text-align: center;
	text-decoration: none;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-supporters h2 {
	font-size: 32px;
	font-weight: normal;
	margin-bottom: 50px;
	margin-top: 0;
}

.home-our-supporters {
	background: var(--dusk);
	padding-right: 50px;
}

.home-our-collaborators {
	background: var(--white);
	padding-left: 50px;
}

.home-our-supporters .home-supporters-subsection-content {
	margin: 0 0 0 auto;
	padding-left: 50px;
}

.home-our-collaborators .home-supporters-subsection-content {
	margin: 0 auto 0 0;
	padding-right: 50px;
}

@media screen and (max-width: 860px) {
	.home-supporters {
		flex-direction: column;
		display: block;
	}

	.home-supporters ul {
		grid-template-columns: 1fr;
	}

	.home-supporters-subsection {
		display: block;
	}

	.home-our-supporters {
		padding-right: 0;
	}

	.home-our-supporters .home-supporters-subsection-content {
		margin: 0 50px;
		padding-left: 0;
	}

	.home-our-collaborators {
		padding-left: 0;
	}

	.home-supporters .home-our-collaborators ul {
		grid-template-columns: 1fr 1fr;
	}

	.home-our-collaborators .home-supporters-subsection-content {
		margin: 0 50px;
		padding-right: 0;
	}
}

.site-footer {
	background: var(--deep-blue);
	color: var(--white);
	padding: 50px 0 30px;
	width: 100%;
}

body.home .site-footer .container {
	margin: 0 auto;
	max-width: 1440px;
	padding: 0 50px;
}

.site-footer a {
	color: var(--white);
	text-decoration: underline;
}

.site-footer a:hover {
	text-decoration: none;
}

.footer-upper {
	display: flex;
	justify-content: space-between;
	gap: 40px;
}

.footer-logo {
	flex-shrink: 0;
	width: 80px;
}

.footer-logo img {
	width: 56px;
}

.footer-upper > div p:first-child {
	margin-top: 0;
}

.footer-nav-menu {
	flex-basis: 400px;
}

.footer-nav-menu ul {
	list-style: none;
	margin-left: 0;
}

.footer-nav-menu ul li {
	margin-bottom: .6em;
}

.footer-social {
	flex: 0 0 160px;
}

a.social-link {
	background-repeat: no-repeat;
	background-size: auto 24px;
	display: inline-block;
	height: 24px;
	margin-right: 20px;
	text-decoration: underline;
	width: 28px;
}

.social-link-twitter {
	background-image: url('img/icons/icon-twitter.svg');
}

.social-link-facebook {
	background-image: url('img/icons/icon-facebook.svg');
}

.social-link-instagram {
	background-image: url('img/icons/icon-instagram.svg');
}

.follow-ginger {
	display: flex;
}
.follow-ginger .social-link-twitter {
	background-image: url('img/icons/icon-twitter-black.svg');
	margin-left: 14px;
}

.follow-ginger .social-link-facebook {
	background-image: url('img/icons/icon-facebook-black.svg');
}

.follow-ginger .social-link-instagram {
	background-image: url('img/icons/icon-instagram-black.svg');
}

.footer-lower ul {
	display: flex;
	font-size: 16px;
	gap: 16px;
	list-style: none;
	margin-left: 0;
	margin-top: 72px;
	padding-left: 0;
}

@media screen and (-ms-high-contrast:active), screen and (-ms-high-contrast: none) {
	.footer-lower li {
		margin-right: 16px;
	}

	.footer-lower li:last-child {
		margin-right: ;;
	}
}

.footer-lower li:after {
	content: "|";
	margin-left: 16px;
}

.footer-lower li:last-child:after {
	content: "";
}

@media screen and (max-width: 860px) {
	.footer-upper {
		flex-direction: column;
	}

	.footer-upper ul.menu {
		padding-left: 0;
	}

	.footer-nav-menu {
		flex-basis: auto;
	}

	.footer-lower ul {
		display: block;
		margin-top: 0;
	}

	.footer-lower li {
		margin-bottom: 16px;
	}

	.footer-lower li:after {
		content: "";
		margin: 0;
	}
}

/* Programs */
body.single-ginger_program h2 {
	margin-top: 42px;
	padding: 8px 0;
}

body.single-ginger_program p {
	max-width: 980px;
}

.fellows-directory {
	margin-top: 48px;
}

.directory-filters {
	background: var(--dusk);
	display: flex;
	gap: 40px;
	padding: 20px 24px;
}

.directory-filters select {
	background: var(--white);
	padding: 8px;
}

.directory-item-group {
	padding-bottom: 42px;
}

.directory-item-group:first-child {
	border-bottom: 1px solid var(--deep-blue);
}

.directory-item-group h3 {
	margin-top: 42px;
}

.directory-item-group ul {
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

@media screen and (max-width: 860px) {
	.directory-filters {
		flex-direction: column;
		gap: 24px;
	}

	.directory-item-group ul {
		grid-template-columns: 1fr 1fr;
	}
}

.fellow-card h1 {
	font-size: 24px;
	margin-bottom: 8px;
}

.hide-list-item {
	display: none;
	visibility: hidden;
}

.no-results,
.no-results-js {
	font-style: italic;
}

.hide-for-pagination {
	display: none;
	visibility: hidden;
}

body.single-ginger_program .directory-filters h2 {
	color: var(--black-text);
	font-family: var(--sans-serif);
	font-size: 18px;
	margin: 0;
}

/* Profiles */
body.single-ginger_profile .molecule-bar {
	overflow: visible;
	height: 260px;
	margin-bottom: 80px;
}

.profile-header-content {
	margin-top: 40px;
	display: flex;
	gap: 28px;
}

.profile-header-photo {
	flex: 0 0 200px;
}

.profile-header-photo img {
	border-radius: 50%;
	height: 200px;
	width: 200px;
}

.profile-header-content h1 {
	margin-top: 0;
}

body.single-ginger_profile .wp-block-ginger-quote {
	padding-bottom: 0;
}

@media screen and (max-width: 860px) {
	body.single-ginger_profile .molecule-bar {
		height: auto;
	}

	.profile-header-content {
		flex-direction: column;
		text-align: center;
	}
}

body.page .entry-content,
body.single-ginger_profile .entry-content {
	max-width: 960px;
	padding-bottom: 48px;
}

.entry-content h2 {
	margin-top: 48px;
}

.entry-footer {
	clear: both; /* Fix for 'Edit' link */
}

body .nf-form-content {
	margin: 0; /* Don't center form content */
}

.entry-meta {
	font-size: 16px;
	padding-top: 8px;
}

.single-ginger_announcement .entry-meta {
	border-top: 1px solid var(--ginger-blue);
	margin-bottom: 100px;
}

.archive-content .ginger_announcement h2 {
	margin-bottom: 0;
}

.directory-items .load-more {
	margin-top: 48px;
}

.directory-items {
	margin-bottom: 48px;
}

/* Programs */

.post-type-archive-ginger_program .wp-block-ginger-quote-with-avatar {
	border-bottom: 0;
}

.programs-list {
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr 1fr;
	list-style-type: none;
	margin: 0 0 48px 0;
	padding: 0;
}

@media screen and ( max-width: 860px ) {
	.programs-list {
		grid-template-columns: 1fr;
	}
}

.programs-list li {
	background: var(--dusk);
	padding: 48px;
}

.programs-list h2 {
	margin-bottom: 8px;
	margin-top: 0;
}

@media screen and (-ms-high-contrast:active), screen and (-ms-high-contrast: none) {
	.programs-list li {
		display: inline-block;
		margin-bottom: 28px;
		margin-right: 28px;
		width: calc(50% - 50px);
	}
}

.learn-more a {
	color: var(--black-text);
	text-decoration: underline;
}

.learn-more a:hover {
	text-decoration: none;
}

/* News */
article.news-post {
	display: flex;
	gap: 28px;
	margin-bottom: 42px;
	position: relative;
}

.news-post h1 {
	font-size: 24px;
}

.post-tag {
	background: var(--dusk);
	color: var(--deep-blue);
	display: inline-block;
	font-size: 16px;
	font-weight: 700;
	padding: 4px 16px;
	text-transform: uppercase;
}

.post-dateline {
	margin-bottom: 12px;
}

.news-post-photo {
	flex: 0 0 45%;
}

.featured-post {
	margin-bottom: 42px;
}

.featured-post .post-tag {
	background: none;
	color: var(--black-text);
	padding: 0;
}

@media screen and (min-width: 1200px) {
	.featured-post article.news-post {
		display: block;
	}

	.featured-post .news-post-photo {
		width: 60%;
	}

	.featured-post .news-post-content {
		position: absolute;
		right: 0;
		width: 45%;
		top: 50%;
		transform: translateY(-50%);
		margin-left: -60px;
		background: var(--white);
		padding: 30px 80px 30px 30px;
	}
}

@media screen and (max-width: 860px) {
	.featured-post article.news-post {
		flex-direction: column;
		margin-bottom: 48px;
	}
}

.featured-post .news-post h1 {
	font-size: 32px;
	margin-bottom: 6px;
	line-height: 44px;
}

.main-archive-list-area {
	display: flex;
	gap: 24px;
	margin-bottom: 48px;
}

@media screen and (max-width: 1200px) {
	.main-archive-list-area .news-post {
		flex-direction: column;
		margin-bottom: 48px;
	}
}

.news-sidebar {
	flex: 0 0 300px;
}

.news-sidebar-section {
	background: var(--dusk);
	margin-bottom: 24px;
	padding: 20px;
}

.news-sidebar-section h1 {
	font-size: 24px;
}

.news-sidebar-section ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.news-sidebar-section li {
	margin-bottom: 16px;
}

.news-sidebar-section a {
	color: var(--deep-blue);
	text-decoration: underline;
}

.news-sidebar-section a:hover {
	text-decoration: none;
}

/* News directory fixes for IE */
@media screen and (-ms-high-contrast:active), screen and (-ms-high-contrast: none) {
	.main-archive-list-area .post-list {
		margin-right: 28px;
		width: calc(100% - 328px);
	}

	.news-post-photo {
		margin-right: 28px;
	}
}

div.see-all {
	margin-top: 48px;
}

div.see-all a {
	text-decoration: none;
}

div.see-all a span {
	text-decoration: underline;
}

div.see-all a:hover span {
	text-decoration: none;
}

div.see-all img {
	height: 14px;
	margin-left: 6px;
	vertical-align: middle;
}

@media screen and (max-width: 860px) {
	.main-archive-list-area  {
		flex-direction: column;
	}
}

.news-entry-content {
	display: flex;
	gap: 48px;
	margin-bottom: 28px;
}

.news-entry-content .entry-content {
	flex: 1 1 auto;
	margin-top: 0;
}

body.single-post .header-blue {
	margin-bottom: 64px;
}

body .site-main .post-navigation {
	margin-bottom: 64px;
}

@media screen and (max-width: 860px) {
	.news-entry-content {
		flex-direction: column;
	}
}

/* Search Results */

.search-results article {
	border-bottom: 1px solid var(--ginger-blue);
	margin-bottom: 48px;
	max-width: 982px;
}

.search-results article:last-child {
	border-bottom: none;
}

.search-result-main {
	display: flex;
	gap: 28px;
	margin-bottom: 42px;
	margin-top: 12px;
	position: relative;
}

.search-result-content .post-tag {
	margin-bottom: 8px;
}

.search-result-photo {
	display: none;
}

.has-post-thumbnail .search-result-photo {
	display: block;
	flex: 0 0 25%;
}

.search-result-content h1 {
	font-size: 24px;
	margin-top: 0;
}

@media screen and (max-width:860px) {
	.search-result-main {
		flex-direction: column;
	}
}

/* Resources */

.resource-category-list {
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr 1fr;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.resource-category-list li {
	background: var(--deep-blue);
	color: var(--white);
	padding: 40px 50px 60px 40px;
}

.resource-category-list li h2 {
	color: var(--white);
	margin-top: 0;
}

.resource-category-list li .learn-more {
	margin-bottom: 0;
}

.resource-category-list li .learn-more a {
	color: var(--white);
	text-decoration: underline;
}

.resource-category-list li .learn-more a:hover {
	text-decoration: none;
}

@media screen and (-ms-high-contrast:active), screen and (-ms-high-contrast: none) {
	.resource-category-list li {
		display: inline-block;
		margin-bottom: 28px;
		margin-right: 28px;
		width: calc(50% - 50px);
	}
}

@media screen and (max-width: 860px) {
	.resource-category-list {
		grid-template-columns: 1fr;
	}
}

.resources-list {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 28px;
}

@media screen and (-ms-high-contrast:active), screen and (-ms-high-contrast: none) {
	.resources-list li {
		display: inline-block;
		margin-bottom: 28px;
		margin-right: 28px;
		width: calc(33% - 40px);
	}
}

@media screen and (max-width: 860px) {
	.resources-list {
		gap: 48px;
		grid-template-columns: 1fr;
	}
}

body.tax-ginger_resource_category .archive-content h2 {
	margin-bottom: 0;
}

.resources-list h3 {
	font-size: 24px;
	margin: 12px 0 0;
}

.resources-list p {
	margin-top: 14px;
}

.resource-video-nav ul {
	display: flex;
	gap: 28px;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.resource-video-nav ul li {
	flex: 0 1 196px;
}

@media screen and (-ms-high-contrast:active), screen and (-ms-high-contrast: none) {
	.resource-video-nav ul li {
		margin-right: 28px;
	}
}

.ginger-resource-video-block.ginger-resource-video-block-hidden {
	display: none;
}

.resource-video-nav-item a {
	color: var(--black-text);
}

.resource-video-nav-item-title {
	font-size: 16px;
}

.resource-video-nav-item-title:before {
	background-image: url( './img/icons/icon-check-box-empty.svg' );
	background-position: bottom -2px left;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	content: ' ';
	display: inline-block;
	height: 24px;
	width: 24px;
}

.video-is-completed .resource-video-nav-item-title:before {
	background-image: url( './img/icons/icon-check-box-checked.svg' );
}

.completed-toggle-off {
	display: none;
}

.video-is-completed .completed-toggle-off {
	display: inline;
}

.video-is-completed .completed-toggle-on {
	display: none;
}

.resource-video-completed-toggle:after {
	background-image: url( './img/icons/icon-check-box-empty-white.png' );
	background-position: bottom right;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	content: ' ';
	display: inline-block;
	height: 16px;
	margin-left: 10px;
	width: 16px;
}

.video-is-completed .resource-video-completed-toggle:after {
	background-image: url( './img/icons/icon-check-box-checked-white.png' );
}

@media screen and (max-width: 860px) {
	.container.resource-container {
		padding: 0;
	}

	.resource-container .share-this,
	.resource-container .ginger-resource-video-details {
		padding: 0 25px;
	}

	.single-ginger_resource .molecule-bar.header-blue {
		margin-bottom: 0;
	}

	.single-ginger_resource .entry-content {
		margin-top: 0;
	}

	.resource-video-nav ul {
		flex-direction: column;
		gap: 12px;
	}

	.resource-video-nav ul li {
		flex-basis: auto;
	}

	.resource-video-nav-item img {
		display: none;
	}
}

/* Share This */

.share-this {
	margin-bottom: 48px;
	margin-top: 48px;
}

.ginger-button.social-button {
	background: var(--white);
	border: 1px solid var(--black-text);
	color: var(--black-text);
	font-size: 16px;
	margin-left: 12px;
	font-weight: normal;
	padding: 4px 16px;
}

.ginger-button.social-button:hover {
	background: var(--black-text);
	color: var(--white);
	text-decoration: none;

}

@media screen and (max-width: 860px) {
	.share-this > span {
		display: block;
		margin-bottom: 12px;
	}

	.ginger-button.social-button {
		margin-left: 0;
		margin-right: 12px;
		margin-bottom: 12px;
	}
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.main-nav-buttons {
	display: flex;
	flex: 1;
	justify-content: flex-end;
}

.menu-toggle {
	background: url('img/icons/icon-mobile-menu.svg');
	background-position: center center;
	background-repeat: no-repeat;
	border: none;
}

@media screen and (min-width: 860px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}

	.main-navigation ul.sub-menu {
		display: block;
	}

	.main-navigation a {
		font-size: 16px;
	}

	.main-navigation ul.menu > li {
		padding: 34px 8px 12px 8px;
	}

	.main-navigation-desktop {
		display: flex;
		visibility: visible;
	}

	.main-navigation-mobile {
		display: none;
		visibility: hidden;
	}

	.main-navigation {
		justify-content: flex-end;
		text-align: right;
	}
}

@media screen and (min-width: 1024px) {
	.main-navigation ul.menu > li {
		padding: 34px 12px 12px 12px;
	}

	.main-navigation a {
		font-size: 18px;
	}

}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Learning Platform */

.learndash-cpt header.entry-header h1 {
	margin-top: 0;
}

#learndash_lesson_topics_list span a, #learndash_lessons a, #learndash_profile a, #learndash_profile a span, #learndash_quizzes a, .expand_collapse a, .learndash_topic_dots a, .learndash_topic_dots a>span {
	font-family: var(--sans-serif);
}

#learndash_lessons a, #learndash_quizzes a, .expand_collapse a, .learndash_topic_dots a, .learndash_topic_dots a > span, #learndash_lesson_topics_list span a,
#learndash_lessons, #learndash_quizzes, .expand_collapse, .notavailable_message, #learndash_lesson_topics_list div > strong, #learndash_lesson_topics_list div ul > li .sn, .learndash_profile_heading, #learndash_profile a, #learndash_profile div {
	font-size: 16px;
}

.sfwd-mark-complete {
	display: none;
}

body.page .site-main-learning-platform .entry-content {
	max-width: none;
}

.site-main-learning-platform {
	background: var(--dusk);
	padding: 42px 0;
}

.site-main-learning-platform h1 {
	margin-top: 0;
}

.learning-dashboard-section {
	margin-bottom: 55px;
}

.learning-dashboard-section.learning-dashboard-section-intro {
	margin-bottom: 30px;
}

.learning-dashboard-section-intro h2 {
	font-size: 24px;
}

.ld_profile_certificate {
	display: none;
}

.ld-intro-top {
	display: flex;
	height: 280px;
	gap: 28px;
	justify-content: stretch;
}

.ld-intro-video {
	flex: 0 1 500px;
}

.ld-intro-todos {
	background: var(--white);
	flex: 1;
	padding: 18px 28px 28px 28px;
	width: auto;
}

.ld-intro-todos a {
	color: var(--deep-blue);
	text-decoration: underline;
}

.ld-intro-todos a:hover {
	text-decoration: none;
}

.ld-intro-todos h2 {
	margin: 0 0 17px 0;
}

.ld-intro-todos ul {
	font-size: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ld-intro-todos ul li {
	margin-bottom: 14px;
}

.todo-due-date-late {
	color: #b0263d;
}

.learning-dashboard-section-course {
	background: var(--white);
	padding: 19px 30px;
}

.learning-dashboard-section-course h2 {
	font-size: 28px;
	margin: 0;
}

.ld-course-header {
	align-items: center;
	border-bottom: 1px solid var(--ginger-blue);
	display: flex;
	justify-content: space-between;
	margin-bottom: 21px;
}

.ld-course-info {
	display: flex;
}

.ld-course-image {
	flex: 0 1 468px;
}

.ld-course-tasks {
	margin-left: 31px;
}

.ld-course-next-lesson {
	margin-bottom: 32px;
}

.ld-course-next-lesson a {
	color: var(--black-text);
	text-decoration: underline;
}

.ld-course-next-lesson a:hover {
	text-decoration: none;
}

ul.ld-course-next-tasks {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.ld-course-next-tasks li {
	display: flex;
	margin-bottom: 32px;
}

ul.ld-course-next-tasks li:last-child {
	margin-bottom: 0;
}

.ld-task-bullet {
	border: 2px solid #ccc;
	border-radius: 16px;
	display: block;
	flex: 0 0 32px;
	height: 32px;
	margin-right: 21px;
	width: 32px;
}

.ld-task-link a {
	color: var(--deep-blue);
	font-weight: 600;
}

/* Progress bar */
.ld-course-header .course-progress-bar {
	align-items: center;
	display: flex;
	flex: 0 1 30%;
	margin: 0;
}

.ld-course-header .course-progress-bar .ld-progress {
	margin-left: 18px;
	white-space: nowrap;
}

.ld-course-header .course-progress-bar .ld-progress {
	color: var(--deep-blue);
	font-size: 16px;
	font-weight: 700;
}

.ld-course-header dd.course_progress {
	background-color: var(--dusk);
	box-shadow: none;
	border-radius: 6px;
	height: 10px;
	margin: 0;
}

.ld-course-header .course_progress .course_progress_blue {
	background: var(--ginger-bright-blue);
	border-radius: 6px;
	height: 10px;
}

.ld-intro-announcements {
	background: var(--ginger-bright-blue);
	color: var(--white);
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	margin-bottom: 30px;
	padding: 30px 40px;
}

.ld-intro-announcements h2 {
	color: var(--white);
	font-size: 24px;
	margin: 0;
}

.ld-intro-announcements a {
	color: var(--white);
	text-decoration: underline;
}

.ld-intro-announcements a:hover {
	text-decoration: none;
}

.all-announcements-link {
	font-style: italic;
	padding-right: 50px;
}

.learning-dashboard-section-forum > ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.learning-dashboard-section-forum > ul > li {
	border-top: 1px solid #012869;
	padding: 30px 0 20px 0;
}

.learning-dashboard-section-forum > ul > li:last-child {
	border-bottom: 1px solid #012869;
}

.learning-dashboard-section-forum > ul > li h3 {
	font-family: var(--sans-serif);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
	margin-top: 0;
}

/* Learning Dashboard mobile styling */
@media screen and (max-width: 860px) {
	.ld-intro-top {
		flex-direction: column;
		height: auto;
	}

	.ld-intro-video {
		flex-basis: auto;
	}

	.ld-intro-announcements {
		flex-direction: column;
		gap: 28px;
	}

	.ld-course-header {
		align-items: flex-start;
		flex-direction: column;
		padding-bottom: 8px;
	}

	.ld-course-header .course-progress-bar {
		flex-basis: 100%;
		width: 100%;
	}

	.ld-course-info {
		flex-direction: column;
		gap: 28px;
	}

	.ld-course-image {
		flex-basis: auto;
	}

	.ld-course-tasks {
		margin-left: 0;
	}
}


/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Block fixes for IE - too lazy to do this right */
@media screen and (-ms-high-contrast:active), screen and (-ms-high-contrast: none) {
	.ginger-timeline-year-year {
		margin-right: 38px;
	}

	.ginger-quote-photo {
		margin-right: 24px;
	}
}

.login h1 a {
	background: none;
	display: none;
}

.login form {
	background: #eaeaea;
	border: none;
}

#login {
	width: 600px;
	padding-bottom: 100px;
}

#login .message {
	margin-top: 10px;
}

@media screen and (max-width:860px) {
	#login {
		width: auto;
		max-width: 600px;
		padding: 0 28px;
	}
}

body.page.page-id-31 .entry-content {
	max-width: none;
}

.page-id-31 .nf-form-title {
	display: none;
}

.contact-sidebar {
	padding: 30px 40px;
}

/* Leadership page */
body.page-id-2409 .entry-content .wp-block-column h2 {
	margin-top: 0;
}

body.page-id-2409 .wp-block-columns {
	margin-bottom: 60px;
}

body.page-id-2409 .wp-block-column:last-child {
	overflow: hidden;
}

body.page-id-2409 .wp-block-column.collapsed {
	position: relative;
}

.show-more-link-container,
.show-more-gradient {
	display: none;
}

body.page-id-2409 .wp-block-column.collapsed .show-more-gradient {
	background-image: linear-gradient( to bottom, rgba(255,255,255,.3), rgba(255,255,255,1));
	border-bottom: 40px #fff solid;
	bottom: 0;
	display: block;
	left: 0;
	right: 0;
	width: 100%;
	height: 100px;
	position: absolute;
}

body.page-id-2409 .wp-block-column.collapsed .show-more-link-container {
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	position: absolute;
	width: 100%;
}

body.page-id-2409 a.show-less-link,
body.page-id-2409 a.show-more-link {
	font-weight: bold;
	text-decoration: underline;
}

body.page-id-2409 a.show-less-link:hover,
body.page-id-2409 a.show-more-link:hover {
	text-decoration: none;
}
