/*!
Theme Name: Jackie Robinson Foundation
Theme URI: https://jackierobinson.org/
Author: Phill Mamula
Author URI: https://www.phillm.com
Description: 2021 Theme for Jackie Robinson Foundation, including a Micro-site for Jackie Robinson Day
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: jackierobinson
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Jackie Robinson Foundation is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css2?family=Lora&family=Inter:wght@300;400;600;800&display=swap');
@font-face {
    font-family: 'Graphik Regular';
    src: url('fonts/GraphikRegular.woff2') format('woff2'),
         url('fonts/GraphikRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Graphik Bold';
    src: url('fonts/GraphikBold.woff2') format('woff2'),
         url('fonts/GraphikBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* =Global
-------------------------------------------------------------- */
body { 
	background: var(--white);
	color: var(--black);
    font-family: 'Inter', sans-serif;
	font-size: 17px;
	line-height: 1.6em;
    font-weight: 300;
}
h1, h2, h3, h4 {
    font-family: 'Graphik Bold', sans-serif;
    text-transform: uppercase;
    line-height: 1.05em;
    margin: 5px 0 15px;
}
strong { font-weight: 600; }
h1 { font-size: 6em; }
h2 { font-size: 5em; }
h3 { font-size: 4em; }
h4 { font-size: 2.5em; }
h1.xl-title { 
    font-size: 7em; 
    line-height: 1em; 
    letter-spacing: -0.04em;
}
p { margin: 0 0 10px; }
ul, li {
    margin: 0 0 1vh 0;
}
a, a:link, a:visited { 
    color: inherit;
    text-decoration: none;
  	transition: all 0.3s ease-in-out;
  	-webkit-transition: all 0.3s ease-in-out;
  	-o-transition: all 0.3s ease-in-out; 
}
a:hover { color: var(--gold);}
button { cursor: pointer; }
video:focus,
input:focus,
button:focus {outline:0; cursor: pointer;}
img { margin-bottom: -8px; }
textarea,
select,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
.input-checkbox {
border-radius: 0;
}
li > ul, li > ol {
    margin: 0;
    padding: 0;
}
hr {
    background-color: #dfd9d9;
    border: 0;
    height: 1px;
    margin: 35px 0;
    clear: both;
}
blockquote {
    border-left: 3px solid;
    padding: 0 0 0 25px;
    margin-left: 25px;
    font-weight: 500;
    font-size: 0.9em;
    line-height: 1.5em;
}

.small-text { font-size: 0.9em; line-height: 1.5em; }
.large-text { font-size: 1.1em; line-height: 1.6em; }

/* Large CTA */
a.large-cta {
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid;
    text-decoration: none !important;
    color: var(--black);
    display: table;
    font-size: 0.85em;
    letter-spacing: 0.02em;
    line-height: 1.1em;
    border: 1px solid;
    padding: 20px 35px;
    min-width: 220px;
    text-align: center;
}
a.large-cta i { margin-left: 8px; font-weight: 300 !important; opacity: 0.5; }
a.large-cta:hover {
    border-color:  var(--gold);
    background: var(--gold);
    color: var(--black);
}
a.list-cta[target="_blank"]:after,
a.large-cta[target="_blank"]:after{
    content: '\e09f';
    font: var(--fa-font-light);
    margin-left: 8px;
    opacity: 0.5;
}

.cta-buttons.flex { margin: calc(2vw + 15px) 0 0; }
.cta-buttons.flex>* { flex: inherit; margin-right: 10px; }
.cta-buttons.flex.right>* { margin-right: 15px; }
.cta-buttons.flex.left>* { margin-left: 15px; }
.cta-buttons.flex.center>* { margin: 0 5px 10px; }


/* Structure */
.post, .page,
.page-content, .entry-content, .entry-summary { margin: 0; grid-gap: 0;}
.container {
    width: 90vw;
    max-width: 1800px;
    margin: 0 auto;
    z-index: 9;
}
.container.small {
    max-width: 1280px;
}
#section {
  padding: calc(2dvw + 15px) 0;
}

/* Flex Containers */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.flex-container>* { flex: 1; }
.flex-container .half { 
  flex: 1 0 50%;
}
.flex-container .twothird { 
  flex: 1 0 66.6%;
}
.flex-container .third { 
  flex: 1 0 33.3%;
}


.flex.center { text-align: center; justify-content: center; }
.flex { display: flex; flex-wrap: wrap; align-items: center; }
.flex>* { flex: 1; }
.flex .half { flex: 1 0 50%; width: 50%; max-width: 50%; }
.flex .two-third { flex: 1 0 66%; width: 66%; max-width: 66%; }
.flex .third { flex: 1 0 33.3%; width: 33.3%; max-width: 33.3%; }
.flex .five>* { flex: 1 0 20%; width: 20%; max-width: 20%; }

.flex.invert { flex-direction: row-reverse; }
.flex.center { justify-content: center; }
.flex.justify { justify-content: space-between; }
.flex.justify>* { flex: inherit; }

.flex.overflow { 
    width: calc(100% + 30px);
    align-items: initial; 
    margin-left: -15px;
}
.flex.overflow.two,
.flex.overflow.three { margin-left: -20px; width: calc(100% + 40px); }
.flex.overflow.four { margin-left: -10px; width: calc(100% + 20px); }
.flex.overflow.five { margin-left:-15px; width:calc(100% + 30px); }
.flex.overflow>* { margin: 15px; }

.flex.overflow.two>*,
.flex.overflow .half { flex: 1 0 calc(50% - 40px); width: calc(50% - 40px); max-width: calc(50% - 40px); margin: 20px; }
.flex.overflow.three>*,
.flex.overflow .third { flex: 1 0 calc(33.3% - 30px); width: calc(33.3% - 30px); max-width: calc(33.3% - 30px); }
.flex.overflow .two-third { flex: 1 0 calc(66.6% - 40px); width: calc(66.6% - 30px); max-width: calc(66.6% - 30px); }
.flex.overflow.four>*,
.flex.overflow .quarter { flex: 1 0 calc(25% - 20px); width: calc(25% - 20px); max-width: calc(25% - 20px); margin: 10px; }
.flex.overflow.five>*,
.flex.overflow .fifth { flex: 1 0 calc(20% - 20px); width: calc(20% - 20px); max-width: calc(20% - 20px); margin: 10px; }




/* =Colors
-------------------------------------------------------------- */
/* Defining color variables */
:root {
  --white: #FFFFFF;
  --black: #000000;
  --gold: #C5B783;
  --blue: #005CB9;
  --navy: #003764;
  --lightblue: #1d8de2;
  --grayblue: #d0dfe7;
  --gray: #b6b8b9;
  --lightgray: #f6f6f6;
  --darkgray: #9a9d9f;
}
.default, .regular, .black { color: var(--black); }
.white { color: var(--white); }
.navy { color: var(--navy); }
.blue { color: var(--blue); }
.lightblue { color: var(--lightblue); }
.gold { color: var(--gold); }
.grayblue { color: var(--grayblue); }
.gray { color: var(--gray); }
.darkgray { color: var(--darkgray); }

/* Gray */
.gray {
    background-color: var(--lightgray);
    color: var(--black);
}

/* Dark */
.dark {
    background-color: var(--black);
    color: var(--white);
}
.dark a.large-cta { color: var(--white); border-color: var(--darkgray); }
.dark a.large-cta:hover { background-color: var(--gold); color: var(--black); border-color: var(--gold); }

.dark.dark-bg { background: var(--black) !important; }

/* Blue */
.blue {
    background-color: var(--navy);
    color: var(--white);
}
.blue a.list-cta { color: var(--gold); }
.blue a.list-cta:hover { color: var(--white); }
.blue a.large-cta { background-color: transparent; border-color: rgba(255,255,255,0.2); color: var(--white); }
.blue a.large-cta:hover { background-color: var(--gold); border-color: var(--gold); color: var(--black); }


span.eyebrow, .eyebrow {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: block;
  margin: 0 0 10px;
}
a.list-cta {
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: table;
    border-bottom: 1px solid;
    margin: 15px 0 0;
}

/* =Header
-------------------------------------------------------------- */
header#masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 5vw;
    position: relative;
    z-index: 9;
}

/* Main Logo */
header#masthead .site-branding svg {
    width: auto;
    height: 100px;
}
header#masthead .site-branding svg { fill: var(--black); }
header#masthead .site-branding svg path.f-g { fill: var(--gold); }
header#masthead.dark .site-branding svg,
header#masthead.blue .site-branding svg { fill: var(--white); }
header#masthead.dark button.menu-toggle span,
header#masthead.blue button.menu-toggle span { background: var(--gold); }
header#masthead .site-branding h1 { margin: 0; line-height: 0; font-size: 0; }

/* Donate */
.header-donate {
    position: absolute;
    right: calc(5vw + 100px);
    top: 25px;
}
.header-donate a.large-cta {
    margin: 15px 0 0;
    min-width: auto;
}

/* Overlay Navigation */
header#masthead .main-navigation.overlay { width: auto; }
header#masthead button.menu-toggle {
    position: fixed;
    right: 5vw;
    top: 45px;
    display: block;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 999;
}
button.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--black);
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
button.menu-toggle:hover span { background: var(--gold) !important; }
button.menu-toggle span:nth-child(1) { top: 5px;}
button.menu-toggle span:nth-child(2),
button.menu-toggle span:nth-child(3) { top: 20px;}
button.menu-toggle span:nth-child(4) { top: 35px;}     
.main-navigation.toggled button.menu-toggle span { background: var(--gold); }   
.main-navigation.toggled button.menu-toggle span:nth-child(1) {
    top: 20px;
    width: 0%;
    left: 50%;
}
.main-navigation.toggled button.menu-toggle  span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.main-navigation.toggled button.menu-toggle span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.main-navigation.toggled button.menu-toggle span:nth-child(4) {
    top: 20px;
    width: 0%;
    left: 50%;
}


/* Overlay Menu */
.main-navigation ul { display: none;}
header#masthead .main-navigation.overlay .site-branding,
.main-navigation.overlay .menu-overlay-menu-container,
header#masthead .main-navigation.overlay .socials,
.main-navigation.overlay .bottom-overlay-menu { display: none; }
.main-navigation.overlay.toggled {
    position: fixed;
    overflow-y: hidden;
    overflow: hidden;
    top: 0;
    right: 0;
    background: var(--white);
    box-shadow: -10px 0px 16px 7px rgb(0 0 0 / 5%), 0 7px 29px 0 rgb(0 0 0 / 8%);
    width: 100% !important;
    max-width: 800px;
    height: 100%;
    padding: 50px 5vw 50px 50px;
    z-index: 999;
}
.main-navigation.overlay.toggled .menu-overlay-menu-container,
.main-navigation.overlay.toggled .bottom-overlay-menu,
header#masthead .main-navigation.overlay.toggled .site-branding,
header#masthead .main-navigation.overlay.toggled .socials { display: block; }
header#masthead .main-navigation.overlay .site-branding { margin: 0 0 5dvh; padding: 0;}
header#masthead .main-navigation.overlay .site-branding svg { fill: var(--black) !important; height: 90px; }

.main-navigation.overlay.toggled .menu-main-navigation-container {
    display: flex;
    align-items: center;
    height: 100vh;
    padding: 5vw;
}

.main-navigation.overlay.toggled ul.menu li {
    border-top: 1px dotted #CCC;
    padding: 15px 0 8px;
}
.main-navigation.overlay.toggled ul.menu li:first-of-type { 
    border: none;
}
.main-navigation.overlay.toggled ul.menu li a {
    color: var(--black);
    font-family: 'Graphik Bold', sans-serif;
    font-size: 1.5em;
    line-height: 1em;
    text-transform: uppercase;
    padding: 10px 0;
}
.main-navigation.overlay.toggled ul.menu li a:hover { 
    color: var(--gold); 
}
.main-navigation.overlay.toggled button.menu-toggle span { background: var(--gold); }

.menu-toggle, .main-navigation.toggled ul#overlay-menu {
    display: block;
    overflow: hidden;
}

/* Dropdown Menu */
header#masthead nav.main-navigation li.menu-item-has-children a {
    display: flex;
    justify-content: space-between;
}
header#masthead nav.main-navigation li.menu-item-has-children a:after {
    content: '\f107';
    font: var(--fa-font-light);
    margin-left: 25px;
    font-size: 0.8em;
    color: var(--gold);
}
header#masthead nav.main-navigation.toggled ul li:hover > ul, 
header#masthead nav.main-navigation.toggled ul li.focus > ul{
    display: block;
    position: relative;
    width: auto;
    top: auto;
    float: none;
    box-shadow: none;
}
header#masthead nav.main-navigation ul li ul.sub-menu {
    width: 100%;
    padding-left: 25px;
    box-shadow: none;
}
header#masthead nav.main-navigation ul ul li {
    text-align: left;
    padding: 0;
    margin: 0; 
    border:  none;
}
header#masthead nav.main-navigation ul ul.sub-menu li a {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.25em;
    display: block;
    padding: 10px 0;
    width: 100%;
    text-transform: uppercase;
}
header#masthead nav.main-navigation ul ul.sub-menu li a:after { content: ''; }


/* =Page Hero
-------------------------------------------------------------- */
#section.hero .iframe-wrapper { opacity: 0.9; }
#section.hero .header-image {
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    animation: slowZoom 20s forwards;
    animation-fill-mode: forwards;
    transform-origin: 40% 70%;
    z-index: 1;
}
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); } 
}


#section.hero {
    margin-top: -150px;
    min-height: 103dvh;
    padding: 250px 0 50px;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
#section.hero .top-title {
    position: relative;
    z-index: 9;
}
#section.hero h1 {
    margin-bottom: 25px;
}
#section.hero .description { width: 100%; max-width: 980px; }
#section.hero .description a { text-decoration: underline; }
#section.hero .cta-buttons.flex { margin: 30px 0; }

#section.hero span.edit-link a { text-decoration: underline; margin-left: 5px; font-size: 0.9em; color:var(--darkgray); }
#section.hero span.edit-link a:hover { color:var(--gold); }


/* Blend Hero */
#section.hero.blend .hero-title .description { max-width: 850px; }
#section.hero.blend .hero-title .description h2,
#section.hero.blend .hero-title .description h3,
#section.hero.blend .hero-title .description h4 { margin: 0 0 10px; font-size: 2em; }

#section.hero.blend:before {
    content: '';
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80%;
    z-index: 4;
}
#section.hero .top-title.center .hero-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#section.hero .hero-title .title-logo { max-height: 250px; margin: 0 auto 25px; }
#section.hero .top-title.center .cta-buttons a.large-cta { margin: 0 10px; }

/* Box Hero */
#section.hero.simple {
    min-height: auto;
}
#section.hero.simple.dark .description { color: var(--gray); }

/* Stacked */
#section.hero.stacked {
    display: block;
    padding: calc(150px + 5dvh) 0 0;
    min-height: auto;
}
#section.hero.stacked .hero-title { padding-bottom: 50px; }
#section.hero.stacked .featured-image.with-image .container {
    overflow: hidden;
    position: relative;
}
#section.hero.stacked .featured-image img {
    width: 100%;
    height: auto;
}

#section.hero.stacked.dark.bottomblue .featured-image {
    background: linear-gradient(0deg, var(--navy) 70%, var(--black) 70%);
}
#section.hero.stacked.dark.bottomwhite .featured-image {
    background: linear-gradient(0deg, var(--white) 70%, var(--black) 70%);
}
#section.hero.stacked.dark.bottomblack .featured-image {
    background: var(--black);
}

#section.hero.stacked.light.bottomblue .featured-image {
    background: linear-gradient(0deg, var(--navy) 70%, var(--white) 70%);
}
#section.hero.stacked.light.bottomwhite .featured-image {
    background: var(--white);
}
#section.hero.stacked.light.bottomblack .featured-image {
    background: linear-gradient(0deg, var(--black) 70%, var(--white) 70%);
}

#section.hero.stacked.blue.bottomwhite .featured-image {
    background: linear-gradient(0deg, var(--white) 70%, var(--navy) 70%);
}
#section.hero.stacked.blue.bottomblack .featured-image {
    background: linear-gradient(0deg, var(--black) 70%, var(--navy) 70%);
}
#section.hero.stacked.blue.bottomblue .featured-image {
    background: var(--navy);
}

#section.hero.stacked .hero-title.center  {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#section.hero.stacked .hero-title.center  h1,
#section.hero.stacked .hero-title.center .description {
    text-align: center;
    max-width: 980px;
}
#section.hero.stacked .hero-title.center .cta-buttons a.large-cta { margin: 0 10px; }

#section.hero.stacked.dark .description { color: var(--gray); }

/* Video Hero */
#section.hero.blend.light .iframe-wrapper { opacity: 0.7; }
#section.hero.blend.light:before {
    height: 80%;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0) 100%);
}
#section.hero.light .top-title .hero-title h1 { color: inherit; }
#section.hero.blend.blue .description { color: var(--white); }
#section.hero.blend.blue:before {
    height: 70%;
    background: linear-gradient(to top, rgba(0,55,100,1) 0%, rgba(0,55,100,0.85) 40%, rgba(0,55,100,0) 100%);
}


/* Light Hero */
#section.light-hero {
    padding: 50px 0;
    min-height: auto;
}
#section.light-hero h1 {
    margin: 5px 0 25px;
}
#section.light-hero .entry-content {
    width: 100%;
    max-width: 980px;
}


/* =Sections
-------------------------------------------------------------- */
/* 50/50 */
#section.fifty { min-height: auto; }
#section.fifty-fw { padding: 0; min-height: auto; }

#section.fifty.left .container.flex,
#section.fifty-fw.left .container.flex { flex-direction: row-reverse; }
#section.fifty.left .fifty-content { padding: 0 0 0 5vw; }

.fifty-content { padding: 0 5vw 0 0; position: relative; min-height: 35dvw; }
.fifty-content h3 { margin: 0 0 25px; position: relative; }
.fifty-content img.title-logo { width: auto; height: 125px; margin: 0 0 25px; }
.fifty-content { display: flex; align-items: center; }
.fifty-content>* { width: 100%; max-width: 1024px; }

.fifty-image {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.fifty-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0;
}
.fifty-image-container {
    position: relative;
    width: 100%;
    height: inherit;
    justify-content: center;
    display: flex;
}

/* Fifty Fullwidth */
.fifty-fw { padding: 0; }
.fifty-fw .fifty-image-container,
.fifty-fw .fifty-image-container img { width: 100%; height: 100%; }
.fifty-fw .fifty-image-container img { object-fit: cover; }
.fifty-fw .container.flex { width: 100%; max-width: 100%; align-items: center; }
.fifty-fw .container.flex>* { flex: 1 0 50%; width: 50%; max-width: 50%; }
.fifty-fw .fifty-content { padding: 5vw; }

#section.dark .fifty-content h3, 
#section.blue h3 { color: var(--gold); }
#section.blue .entry-content { color: var(--grayblue); }

/* Media */
#section.media {
    min-height: auto;
    padding: calc(5dvh + 25px) 0;
}
#section.media h3 { margin: 0 0 25px; } 
#section.media .media-container { position: relative; }
#section.media .media-container img { width: 100%; height: auto; }
#section.media .description {
    padding: 25px 0 0;
}
#section.media.light h3,
#section.media.dark h3 { color: var(--gold); }
#section.media.dark .caption { color: var(--gray); }
#section.media.blue .caption { color: var(--grayblue); }


figure {
    width: auto !important;
    position: relative !important;
}
span.caption {
    display: block;
}
figcaption, 
span.caption.float {
    font-size: 0.8em;
    line-height: 1.4em;
    width: 100%;
    color: var(--gray);
    text-align: left !important;
    position: absolute;
    bottom: -5px;
    left: 0;
    margin: 0 !important;
    padding: 155px 25px 25px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 5;
}

/* Hero Section */
#section.section-hero {
    text-align: center;
    color: var(--white);
    position: relative;
}
#section.section-hero:before {
    content:  '';
    background: linear-gradient(135deg, rgb(0 0 0 / 78%) 0%,rgb(0 0 0 / 25%) 100%);
    width:  100%;
    height:  100%;
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
}
#section.section-hero .container { position: relative; z-index: 9; }
#section.section-hero .description {
    font-size: 1.15em;
    width: 800px;
    margin: 0 auto;
}
#section.section-hero a.large-cta { display: table; margin: 6vh auto 0; color: var(--gold);}
#section.section-hero a.large-cta:hover { background: var(--gold); color: var(--black); }

/* Photo Strip */
#section.photo-strip { 
    display: block;
    padding: 0; 
    background: var(--black); 
    min-height: auto; 
    overflow: hidden; 
}
.client-gallery-grid {
    display: flex;
    animation: animate 25s linear infinite;
}
.client-gallery-grid:hover { animation-play-state: paused;}
.client-gallery-grid img { width: auto; max-height: 420px; margin: 0; }

@keyframes animate {
  100% {
    transform: translate(-100%, 0);
  }
}


/* Grid */
#section.grid { display: block; }
#section.grid .entry-content { width: 100%; max-width: 1024px; }
#section.grid .entry-content .cta-buttons.flex { margin: 25px 0 0; }
#section.grid .cta-buttons.flex { margin: 5px 0; }
.card .card-image { 
    height: calc(15dvw + 35px); 
    overflow: hidden; 
}
article.people.card .card-image {
    height: 325px;
    margin: 0;
}
article.people.card .card-details { padding: 10px 0 !important; }
.flex.three article.people.card .card-image { height: 400px; }
.flex.five article.people.card .card-image { height: 280px; }
.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
article.card .card-details {
    padding: 25px 0 0;
}

#section.grid .card .card-details { padding: 25px 0; }
#section.grid .card .card-details h4 {
    font-size: 1.5em;
    margin: 0 0 10px;
}

#section.blue.grid h4 { color: var(--white); }
#section.blue.grid .card-content { color: var(--grayblue); }

#section.dark .card a.list-cta { color: var(--gold); }
#section.dark .card .card-details h4 { color: var(--white); }
#section.dark .card .card-details { color: var(--gray); }
#section.dark .card a.list-cta:hover { color: var(--white); }

#section.grid .card a.list-cta { color: var(--gold); }
#section.grid .card a.list-cta:hover { color: var(--white); }

#section.grid.carousel  h3 { text-align: center; }
#section.grid.carousel h4 { font-size: 1.75em; }
#section.grid.carousel .owl-carousel { margin: 50px auto; }
#section.grid.carousel .cta-buttons.flex { justify-content: center; margin: 75px auto 0; }

.news-carousel.owl-carousel .owl-item,
.card-layout.owl-carousel .owl-item {
    padding: 15px 0;
    opacity: 0.65;
    transition: .25s ease-in-out;
    filter: blur(5px);
}
.news-carousel.owl-carousel .owl-item.active,
.card-layout.owl-carousel .owl-item.active {
    opacity: 1;
    filter: blur(0);
}
.news-grid h4 { font-size: 2em !important; }

/* Grid (People) */
#section.grid.people-grid .search-disclaimer { margin-bottom: -40px; }
#section.grid.people-grid:nth-child(2),
#section.grid.people-grid:nth-child(3),
#section.grid.people-grid:nth-child(4) { border-top: 1px solid rgba(0,0,0,0.1); }
#section.grid.people-grid .cta-buttons { margin: 25px 0 100px; }
#section.grid.people-grid .people-list,
#section.grid.people-grid .people-carousel {
    margin-top: 50px;
}

/* Schedule (Grid) */
#section.schedule.grid { border-top: 1px solid rgba(0,0,0,0.1); }

#section.schedule .mobile-only { display: none; }
#section.schedule .hide-mobile { display: block; }

#section.schedule.grid .schedule-title .description { width: 100%; max-width: 800px; margin-bottom: 15px; }
#section.schedule.grid .schedule-title h3 { margin: 0 0 15px; }
#section.schedule.grid .schedule-title .cta-buttons.flex { margin: 25px 0; }

#section.schedule.grid .card .card-details h4 { font-size: 2em; margin: 10px 0 15px; }
#section.schedule.list .card.event-item {
    padding: 40px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: inherit;
}
#section.schedule.grid .card .card-date .time { font-weight: normal; opacity: 0.8; }
#section.schedule.grid .card .card-date.flex>* { flex: inherit; margin-right: 2vw; }
#section.schedule.list .card.event-item .card-purchase { flex: 1; padding-top: 40px; }
#section.schedule.list .card.event-item .event-image { flex: 2; }
#section.schedule.grid .card.event-item .event-image .cta-button a.large-cta { width: 100%; margin: 5px 0; }
#section.schedule.list .card.event-item .card-details { flex: 4; }
#section.schedule.list .card.event-item .card-image { height: 280px; }

#section.schedule.list .card.event-item .card-details {
    padding: 0 3vw;
}

/* Speakers */
#section.schedule .speakers {
    margin: 25px 0 0;
    border-top: 1px solid rgba(0,0,0,0.2);
}
#section.schedule .speakers .eyebrow.speaker-title {
    font-size: 0.75em;
    opacity: 0.5;
    margin: 15px 0 -5px;
}
#section.schedule.list .speakers-list>* { 
    flex: 1 0 50%;
    width: 50%;
    max-width: 50%;
}
#section.schedule .speakers-list .speaker.flex { margin-top: 15px; }
#section.schedule .speakers-list .speaker.flex>* { flex: initial; }

#section.schedule .speakers-list .speaker.flex .speaker-title { padding-left: 20px; }
#section.schedule .speakers-list .speaker h4 { 
    font-family: inherit; 
    font-size: 1em !important; 
    text-transform: capitalize; 
    font-weight: 600; 
    margin: 0 0 3px !important;
}
#section.schedule .speakers-list .speaker .speaker-image img { width: 55px; height: 55px; border-radius: 50%; }

/* Textarea WYSIWYG */
#section.textarea .entry-content { width: 100%; max-width: 980px; }
#section.textarea .entry-content .alignleft  { margin-top: 15px; margin-left: -30px; }
#section.textarea .entry-content .alignright { margin-top: 15px; margin-right: -30px; }
#section.textarea.dark strong { color: var(--white); }
#section.textarea.dark hr { background-color: rgba(255,255,255,0.2); }

#section.textarea .columns { margin-top: 50px; }
#section.textarea .column { padding-bottom: 10px; }
#section.textarea .column h4 {
    font-size: 1.5em; 
    margin: 10px 0;
}
#section.textarea .column .entry-content { margin: 0; width: 90%; }
#section.textarea .accordion {
    margin: 50px auto;
    width: 100%;
    max-width: 1140px;
}
#section.textarea.dark .accordion-panel { color: var(--gray); }

#section.dark .column .entry-content { color: var(--gray); }
#section.textarea.dark h3 { color: var(--gold); }
#section.textarea.dark .column h4 { color: var(--white) }
#section.textarea .column h4 {  color: var(--gold); }


/* =Home
-------------------------------------------------------------- */
header#masthead.dark,
header#masthead.blue,
header#masthead.light { background: transparent; }

/* Category */
ul.post-category-list {
    font-size: 0.95em;
    line-height: 1.25em; 
    display: flex; 
    align-items: center; 
    margin: 0 0 10px; 
    padding: 0;
    font-weight: 600;
    text-transform: uppercase;
    list-style: none;
}
ul.post-category-list li { margin: 0 15px 0 0;}
ul.post-category-list li,
ul.post-category-list li a { color: var(--gold); }


/* Post Gallery */
#section.post-gallery {
    display: block;
    min-height: auto;
    padding: 25px 0;
}
.carousel-img { 
    position: relative; 
    overflow: hidden; 
    height: 550px; 
}
.carousel-img img {
    height: 550px;
    width: auto;
    object-fit: contain;
    object-position: center;
}

/* Pagination */
.wp-pagenavi {
    display: flex;
    align-items: center;
    margin: 15px auto 50px;
}
.wp-pagenavi a, 
.wp-pagenavi span { 
    border: none; 
    padding: 0; 
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 0.9em;
    line-height: 1em;
    padding: 15px 16px;
    width: 45px;
    height: 45px;
    text-transform: uppercase; 
    margin: 0 2px;
}
.wp-pagenavi a:hover {
    background: var(--black);
    color: var(--white);
}
.wp-pagenavi span.current {
    background: var(--black);
    color: var(--gold);
    font-weight: 600;
}

/* Carousel */
.owl-nav { width: 100%; height: 100%; position: absolute; top: 0;left: 0; }
.owl-nav button,
.owl-nav button:focus { 
    color: var(--white);
    background: var(--black);
    width: 50px;
    border: none;
    height: 50px;
    line-height: 0;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;  
}
.owl-nav>* {
    position: absolute;
    top: calc(50% - 25px);
    z-index: 999;
}
.owl-nav .owl-next { right: 25px; }
.owl-nav .owl-prev { left: 25px; }

.owl-nav button:hover {
    color: var(--white);
    background: var(--blue);
    transition: all 0.3s ease-in-out;
}

/* =Scholarship
-------------------------------------------------------------- */
/* Statistics */
#section.impact-stats { 
    min-height: auto; 
    padding: 15px 0 50px;
}
#section.impact-stats .stat {
    background: var(--white);
    color: var(--black);
    text-align: center;
    transition: .25s ease-in-out;
}
#section.impact-stats .stat:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-15px);
    box-shadow: 0 1px 6px 0 rgb(0 0 0 / 10%), 
                0 1px 7px 0 rgb(0 0 0 / 5%);
}
#section.impact-stats .stat:hover .number { color: var(--gold); }
#section.impact-stats .stat:hover .icon { background: var(--gold); color: var(--black); }
#section.impact-stats .stat .image {
    height: 185px;
    width: 100%;
    overflow: hidden;
}
#section.impact-stats .stat .title {
    padding: 0 0 25px;
}
#section.impact-stats .stat .title h3 { color: var(--black); margin: 25px 0 5px; }
#section.impact-stats .stat .icon {
    background: var(--blue);
    color: var(--white);
    font-size: 2em;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -40px auto 15px;
    border-radius: 50%;
    position: relative;
    z-index: 9;
}

/* =People
-------------------------------------------------------------- */
#section.people-listing {
    padding: 0 0 100px;
}

/* People Card */
article.card.people .card-details {
    padding: 15px 0;
}
article.card.people .card-details .eyebrow {
    font-size: 0.8em;
    line-height: 1.4em;
    margin: 0 0 5px;
}
article.card.people .card-details h4 {
    font-size: 1.5em;
    margin: 0 0 5px;
    width: 90%;
}
article.card.people .card-details .small-text {
    color: var(--darkgray);
    width: 85%; 
    line-height: 1.4em;
}

#section.dark article.card.people .card-details .small-text { color: var(--darkgray); }


/* Single People */
header.people-header .post-thumbnail {
    width: 100%;
    height: 450px;
    margin-bottom: -50px;
}
header.people-header .people-details { 
    flex: 1.5; 
    padding-left: 5vw;
}
header.people-header .people-details h1 { margin: 25px 0 15px; }

.people-details .person-details { width: 80%; }
.people-details h4 { margin: 10px 0 5px; font-size: 1.5em; }
.people-details span.people-company { color: var(--gray);}

.people-bio { padding: 100px 0; }


/* Search & Filter */
.search-bar {
    padding: 0 0 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.search-bar .accordion-title {
    padding: 0 0 20px;
    font-weight: 500;
    text-align: right;
}
.search-bar .accordion-title i { padding-left: 15px; }
.search-bar .accordion-panel { padding: 0 0 25px; margin-top: -40px; }

.searchandfilter ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 15px 0 0;
    padding: 0;
}
.searchandfilter ul { display: flex; justify-content: space-between; }
.searchandfilter ul li { flex: 1; padding-right: 2vw; }
.searchandfilter ul li.sf-field-submit { padding: 15px 0 0 15px; }
.searchandfilter ul li.sf-field-search { flex: 3; }
.searchandfilter label {
    display: block;
    position: relative;
    width: 100%;
}
.searchandfilter h4 {
    font-family: 'Inter', sans-serif;
    color: var(--darkgray);
    font-family: inherit;
    font-size: 0.8em;
    line-height: 1.2em;
    font-weight: 400;
    text-transform: capitalize;
    margin: 0;
}
.search-disclaimer {
    opacity: 0.5;
    font-size: 0.8em;
    text-align: right;
    margin-bottom: 15px;
}
/* Dropdown */
.searchandfilter input[type="text"],
.searchandfilter input[type="submit"],
.searchandfilter select {
    border: 1px solid var(--gray);
    background: var(--white);
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2em;
    padding: 12px 15px;
    position: relative;
    appearance: none;
}
.searchandfilter .sf-field-category label:after,
.searchandfilter .sf-field-tag label:after {
    content: '\f107';
    font: var(--fa-font-light);
    color: var(--black);
    position: absolute;
    top: 14px;
    right: 15px;
}


/* Category Tabs */
.searchandfilter [data-sf-field-input-type="radio"] ul {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.searchandfilter [data-sf-field-input-type="radio"] ul li {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 15px 15px;
    text-align: center;
    margin: 5px 5px 0 0;
}
.searchandfilter [data-sf-field-input-type="radio"] ul li label { 
    font-size: 0.9em;    
    line-height: 1.25em;
    font-weight: 500;
    padding: 0;
    margin: 0;
}
.searchandfilter [data-sf-field-input-type="radio"] ul li label:after { display: none; }

li.sf-option-active {
    color: var(--gold);
    background: var(--black);
    border-color: var(--black);
}

/* Hide the checkbox visually but remain accessible for screen readers */
.sf-input-radio,
.sf-input-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}
.searchandfilter input[type="submit"] {
    color: var(--white);
    border: none;
    background: var(--black);
    font-size: 15px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 0.9em;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 15px;
    margin-top: 25px;
}
.searchandfilter input[type="submit"]:hover {
    cursor: pointer;
    background: var(--gold);
    color: var(--black);
}


/* =Videos
-------------------------------------------------------------- */
body.single-videos,
body.single-videos footer.site-footer { background: var(--black); }
body.single-videos footer.site-footer { border-top: 1px solid rgba(255,255,255,0.2); }
header.video-header {
    text-align: center;
    padding: 50px 0;
}
header.video-header h1 { margin: 0 auto; }

body.single-videos .container { max-width: 1280px; }

.entry-content.caption {
    color: var(--gray);
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 50px 0 100px;
}



/* =Alumni
-------------------------------------------------------------- */
/* Article Card Listing */
#section.latest-news { 
    background: var(--lightgray);
}
.latest-news .article-listing {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 2vh -1%;
    width: calc(1320px + 2%);
}
.latest-news .article-listing article {
    background: var(--white);
    flex: 1 0 48%;
    max-width: 48%;
    width: 48%;
    padding: 30px;
    margin: 1%;
}
.latest-news .article-listing article:hover { background: var(--black); }
#section.latest-news .cta-buttons.center { margin: 25px 0 0; }


/* =Timeline
-------------------------------------------------------------- */
body.post-type-archive-timeline header#masthead,
body.single-timeline header#masthead { background: transparent !important; }

#section.timeline-listing {
    display: block;
    padding: 0;
    margin: -150px 0 0;
    min-height: auto;
}
#section.timeline-listing article {
    padding:  calc(15dvw + 150px) 0 8dvw;
    position: relative;
}
#section.timeline-listing article .timeline-title {
    width: 100%;
    max-width: 600px;
    z-index: 9;
    position: relative;
}
#section.timeline-listing article:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
}
article .timeline-title h2 {
    font-size: 4em;
}
article .timeline-title .timeline-description { margin-bottom: 25px; color: var(--gray); }


/* Single Timeline */
body.single-timeline {
    background: var(--black);
    color: var(--white);
}

#section.single-timeline { display: block; padding: 0 0 100px; }
#section.single-timeline .container { padding: 0 5vw; }

.timeline__section {
    padding: calc(5dvw + 20px) 0;
}
.timeline__section .overlay-image {
    text-align: center;
    padding: 0 5vw;
}
.timeline__section .overlay-image img {
    border: 8px solid var(--white);
    transform: rotate(0) scale(1);
    width: inherit;
    max-height: 70dvh;
    max-width: 520px;
    transition: 1s ease-in-out;  
    margin: 15px auto;
}

.timeline__section.active .overlay-image img {
    transform: rotate(-2deg) scale(1.02);
    position: relative;
    transition: 0.5s ease-in-out; 
    transition-delay: 0.25s;
    box-shadow: 5px 3px 25px 0px rgba(0,0,0,0.15);
}

.timeline__section h3 { margin: 0; }
.timeline__section .location {
    font-weight: 800;
    text-transform: uppercase;
    margin: 5px 0 15px;
}
.timeline__section .entry-content {
    color: var(--gray);
}


/* New Carousel Nav */
.timeline__nav {
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    transition: top 0.3s ease-out;
}
 .timeline__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    list-style-position: inside;
}
.timeline__nav ul li {
    padding: 0;
    margin: 0;
    border-bottom: 1px dotted rgba(255,255,255,0.2);
}
 .timeline__nav ul li span {
    color: var(--gray);
    padding: 12px 25px;
    font-weight: 400;
    margin: 0;
    opacity: 0.8;
    list-style-type: none;
    cursor: pointer;
    transition: all 0.15s ease-out;
}
.timeline__nav ul li.active { border: none; }
.timeline__nav ul li.active span {
    opacity: 1;
    transform: scale(1.1);
    font-weight: 600;   
    color: var(--black);
    background: var(--gold); 
    padding: 12px 35px;
}
 .timeline__nav ul li span:hover {
    font-weight: 600;
    opacity: 1;
    color: var(--white);
}

/* Jackie Timeline */
body.single-timeline.timeline-jackie-robinson {
    background: #000000 url('images/jackierobinson-portrait-bw.jpg') fixed no-repeat top right / 50vw auto;
}

/* Foundation */
body.single-timeline.timeline-foundation {
    background: var(--navy) url('images/foundation-portrait-bw.jpg') fixed no-repeat top right -100px / 70vw auto;
}
body.single-timeline.timeline-foundation .entry-content { color: var(--grayblue); }
/* Rachel Timeline */
body.single-timeline.timeline-rachel-robinson {
    background: #f5f3ee url(images/rachel-portrait-bg.jpg) fixed no-repeat right top / auto 100%;
    color: var(--black);
}
body.single-timeline.timeline-rachel-robinson .timeline__nav ul li { border-color: rgba(0,0,0,0.2); }
body.single-timeline.timeline-rachel-robinson header#masthead .site-branding svg { fill: #332817; }
body.single-timeline.timeline-rachel-robinson header#masthead button.menu-toggle span { background: #332817; }
body.single-timeline.timeline-rachel-robinson h3,
body.single-timeline.timeline-rachel-robinson .entry-content,
body.single-timeline.timeline-rachel-robinson .timeline__nav ul li span,
body.single-timeline.timeline-rachel-robinson .timeline__section .location  { color: #332817; }
body.single-timeline.timeline-rachel-robinson header#masthead .header-donate a.large-cta { color: var(--black); }
body.single-timeline.timeline-rachel-robinson header#masthead .header-donate a.large-cta:hover { background: var(--gold); color: var(--black); }


/* =Single Post (Article)
-------------------------------------------------------------- */
#section.article-header { 
    padding: 50px 0 25px;
    min-height: auto;
}
#section.article-header .container { max-width: 1024px; }
#section.article-header ul {
    margin: 0 0 1vh;
    padding: 1vh 0;
    display: flex;
    flex-wrap: wrap;
}
#section.article-header ul li { margin-right: 15px; }
#section.article-header span.date {
    color: var(--gray);
}


/* Overlap Image */
body.single-post .article-image {
    padding: 25px 0;
    background: linear-gradient(0deg, var(--white) 50%, var(--black) 50%);
}
body.single-post .image-container { 
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}
body.single-post .entry-content { padding: 25px 0 75px; }
body.single-post .entry-content .container { max-width: 1024px; padding: 0 3vw; }
body.single-post div.simplesocialbuttons {
    padding: 25px 0 10px;
}


/* =Default Page
-------------------------------------------------------------- */
header.entry-header { padding: 50px 0 25px;}
header.entry-header h1 { margin: 0 0 10px;}
body.page-template-default .entry-content {
    padding: 25px 0 100px;
}

/* Entry Content */
.entry-content a { text-decoration: underline; }
.entry-content .large-cta,
.entry-content .embed-container {
    margin: 25px 0;
}
.entry-content ul {
    margin: 0 0 25px 3vw;
    padding: 0;
}
.entry-content li {
    margin: 0 0 2px;
    padding: 0 0 0 5px;
}
.entry-content h2, 
.entry-content h3, 
.entry-content h4 {
    font-size: 1.5em;
    line-height: 1.1em;
    margin: 30px 0 10px;
} 
.entry-content h4.subtitle { font-size: 2em; line-height:1.1em; margin: 15px 0; }

.entry-content blockquote {
    border: none;
    padding: 15px 0;
    text-align: center;
    margin: 5px auto;
    font-size: 1.5em;
    line-height: 1.25em;
    font-weight: 400;
}
.entry-content hr {
    padding: 0;
    margin: calc(2vw + 15px) 0;
    background: rgba(0,0,0,0.2);
}

.entry-content #dd-container {
    margin: 50px 0;
    width: 100%;
    max-width: 720px;
}

/* Text Sections */
.textblock { margin: 15px 0; padding: 25px 0 50px; border-bottom: 1px solid rgba(0,0,0,0.1); }
.textblock.flex { flex-direction: row-reverse; align-items: initial; }
.textblock.flex .text-description { flex: 3; }
.textblock.flex .text-image { padding: 0 0 0 5vw; }
.textblock a.list-cta { text-decoration: none !important; }

.textblock h4 { margin: 0 0 10px !important; }

.textblock.accordion {
    padding: 0;
    margin: 15px 0 50px;
    border: none;
}
.textblock.accordion .accordion-item .entry-content { padding: 5px 0 25px; }

.textblock.grid {
    padding: 0;
    border: none;
}
.textblock.grid.flex { flex-direction: row; }


/* =Forms (Slate)
-------------------------------------------------------------- */
div.form_container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}
div.form_question .form_label,
div.form_question label {
    font-family: inherit;
    font-size: 0.9em;
    line-height: 1.2em;
    font-weight: 400;
    margin: 0 0 5px;
}
div.form_page input,
div.form_page select {
    width: 100%;
    border: 1px solid var(--gray);
    padding: 10px;
    border-radius: 0;
}

div.form_page select { 
    width: auto; 
    min-width: 150px;
}
.action form_action {
    display: flex;
    align-items: center;
    justify-content: center;
}
div.form_container:not(.form_width_narrow) 
    div.form_question.form_layout_table>fieldset>.form_label {
    display: block;
    width: 100%;
}
.form-content .form_responses, 
.form-content .form_responses_labels {
    display: inline-flex !important;
    margin: 0 0 15px !important;
}
.form-content .form_responses { width: 100%; }
.form-content div.form_responses .form_response { flex: inherit; }

button.form_button_submit {
    cursor: pointer;
    width: 100%;
    max-width: 720px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    border: 1px solid var(--black);
    border-radius: 0;
    background: var(--black);
    color: var(--white);
    display: table;
    font-size: 0.9em;
    letter-spacing: 0.04em;
    padding: 18px 50px;
    margin: 10px auto;
    display: block;
}
button.form_button_submit:hover {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
}
#section.dark button.form_button_submit { border-color: var(--darkgray); }
#section.dark button.form_button_submit:hover { border-color: var(--gold); }

/* Forms */
#section.textarea.forms .container.flex { align-items: inherit; }
#section.textarea.forms .container.flex .form-details { padding-right: 5vw; }
#section.textarea.forms .container.flex .form-content { flex: 1.25; }

#section.textarea.forms h3 i {
    display: block;
    margin-bottom: 15px;
    color: var(--gold);
}
#section.textarea.forms h3 { color: inherit; }
#section.textarea.forms.dark .description { color: var(--gray ); }
#section.textarea.forms.blue .description { color: var(--grayblue); }

/* Donate */
div#form_question_35577db7-409f-474b-9d37-6648e41bb381 { display: none; }

.form-content div.form_header .form_label {
    text-transform: uppercase;
    background: transparent;
    padding: 10px 0 0;
    color: var(--gold);
    font-size: 1.25em;
    letter-spacing: 0.04em;
    margin: 0 0 15px !important;
}
.form-content div.form_question { margin: 5px 0; }
.form-content div.form_h2 .form_label {
    font-weight: 600;
    font-size: 1em ;
}
#form_question_f0140fdd-47a6-40ee-9b27-43dc4b5f793f .form_label { margin: 0 !important; }
fieldset#form_504d6571-ee18-42fb-a283-ada0fcf4d476 {    
    padding: 15px 30px !important;
    border: 1px solid var(--gray);
    margin-bottom: 25px;
    border-top: none;
}
fieldset#form_504d6571-ee18-42fb-a283-ada0fcf4d476 label {
    margin: 0;
    font-weight: 600;
    font-size: 1.15em;
}
.form-content div.form_page input, 
.form-content div.form_page label { text-align: left; }

.form_question.form_checkbox .form_response input,
#form_b42820e9-debb-4989-b05b-d56a7d7adea5 .form_responses .form_response input,
#form_29c30b09-5ea4-406e-adbe-cc0a090ac689 .form_responses .form_response input {
    max-width: 25px;
}

.form_address.form_layout_table div>* { flex: 1; margin: 0 !important; }
.form_address.form_layout_table div.form_responses { flex: 2; width: 400px; }

.form_address.form_layout_table .form_label p { font-weight: 600; text-transform: uppercase; margin: 15px 0 !important;}

tr#make_recurring td {
    padding: 10px 5px 15px;
}
tr#make_recurring td>* {
    width: auto;
}
#stripe_section { margin: 15px auto 0; }



/* =Sponsors
-------------------------------------------------------------- */
/* Sponsor Logos */
ul.sponsors-logos {
    margin: -25px auto 25px; 
    padding: 0;
}
ul.sponsors-logos li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 0;
  min-height: 115px;
}
ul.sponsors-logos li img {
  width: auto;
  height: auto;
  max-width: 135px;
  max-height: 50px;
}

.primary-sponsor {
    padding: 50px 0;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
.primary-sponsor:last-of-type { border: none; }
.primary-sponsor.flex {
    align-items: initial;
}
.primary-sponsor.flex .teir-title {
    font-weight: 500;
    flex: 1;
}
.primary-sponsor.flex .teir-sponsors { flex: 5; }

.primary-sponsor ul.sponsors-logos li.sponsor.title {
    color: var(--navy);
    font-size: 1em;
    line-height: 1.2em;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0 2vw;
    text-align: center;
}
.primary-sponsor.flex .teir-sponsors.flex { align-items: inherit; }


/* =News (The Latest)
-------------------------------------------------------------- */
#section.article-listing { padding: 30px 0; }

.image-container {
    position: relative;
    overflow: hidden;
}
.image-container img {
    width: 100%;
    height: auto;
}

article.card.news-grid { 
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
}
article.card.news-grid .card-details { padding: 30px; }
article.card.news-grid .card-image,
article.card.news-grid .post-thumbnail { height: 350px; }

/* Related */
.related-articles .news-grid .card-image,
.related-articles .news-grid .card-image img { height: 275px !important; }
.related-articles .news-grid .card-details { min-height: auto !important; }
.related-articles .news-grid h4 { font-size: 1.5em !important; }
.related-articles .news-grid p { display: none; }
.related-articles .news-grid:nth-child(4) { display: none; }


/* Image Treatments */
.wp-post-image,
.thumbnail,
img.wp-post-image {
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 100%;
    transition: transform 0.3s ease;
}
.card-image:hover .wp-post-image,
.card-image:hover .thumbnail {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}
.card-image.no-image {
    background: #EFEFEF url('images/JRF-logo-gray.png') no-repeat center center / 60% auto;
}
a.post-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
}

article.card.news-grid .card-details { 
    display: flex;
    flex-direction: column;
    min-height: 350px;
}
article.card.news-grid .card-details .date { margin-top: auto; }


/* =Apply
-------------------------------------------------------------- */
/* Timeline */
#section.application-timeline { 
    min-height: auto; 
    padding: 25px 0;
}
.timeline-progress {
    padding: 25px 0;
    align-items: flex-start;
}
.timeline-progress .progress-item { position: relative; padding-right: 5vw; color: var(--gray); }
.timeline-progress h4 { 
    color: var(--white);
    font-size: 1.5em; 
    margin: 0 0 5px; 
}
.timeline-progress .marker {
    width:  35px;
    height: 35px;
    background: var(--black);
    border: 1px solid #555555;
    border-radius: 50%;
    margin:  0 0 3vh;
    position: relative;
    z-index: 9;
}
.timeline-progress .progress-item:before {
    content: '';
    z-index: 3;
    width: 100%;
    top: 17px;
    left: 0;
    height: 1px;
    background: #555555;
    position: absolute;
}
.timeline-progress .progress-item:last-of-type:before { display: none; }

.timeline-progress .marker.active {
    border-color: var(--gold);
    background: var(--gold);
    animation: pulse-timeline 2s infinite;
}

@keyframes pulse-timeline {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(197, 183, 131, 0.7);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(197, 183, 131, 0);
  }
  
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(197, 183, 131, 0);
  }
}
.closed-application {
    text-align: center;
    padding: 25px 0;
}
.closed-application h4 { color: var(--gold); }


/* =Pages
-------------------------------------------------------------- */
/* 404 */
.error-404 { padding: 5vh 0 15vh; }
.error-404 a.large-cta {
    margin: 5vh 0;
}

/* Accordion */
.accordion-section { padding: 50px 0; }
.accordion-section h3 { margin: 0 auto 25px; }

.accordion { margin: 0 auto; }
.accordion-item { position: relative; }
.question.flex { justify-content: space-between; }
.question.flex>* { flex: 7; }
.question.flex div:last-of-type { flex: 1; text-align:right; }
.accordion-panel {
    display: none;
    margin-top: -15px;
    padding: 0 0 40px;
}
.accordion-panel .entry-content { width: 100%; max-width: 1024px; }
.accordion-item {
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
#section.dark .accordion-item { border-color: rgba(255,255,255,0.2); }
.accordion-title {
    cursor: pointer;
    padding: calc(1dvw + 15px) 0;
    position: relative;
}
.accordion-title h4 {
    font-size: 1.5em;
    margin: 0;
    width: 100%;
    padding-right: calc(5dvw + 150px);
}
.accordion-title i.flip { 
    color: var(--gold);
    flex: 1;
    cursor: pointer;
    font-size: 1em; 
    position: absolute;
    top: calc(50% - 10px);
    right: 10px;
    float: right;
}
.accordion-title i:hover  { 
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
}
.accordion-item i.flip { 
    transition: all 0.15s ease-in-out;
    -webkit-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out; 
}
.accordion-item.is-active i.flip { 
    transform: rotate(180deg);
}




/* =Light (Page Template)
-------------------------------------------------------------- */
#section.light-content { 
    background: var(--lightgray);
    padding: 50px 0 50px;
    display: block; 
}
#section.light-content a.large-cta { border-color: rgba(0,0,0,0.25); }
#section.light-content a.large-cta:hover { border-color: var(--gold); }

#section.light-content .cta-buttons.view-more { margin: 25px 0 50px;}

/* Accordion */
#section.light-content .accordion {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
}
#section.light-content .accordion-item {
    padding: 0 30px;
    border-color: rgba(0,0,0,0.1);
}


/* Downloads (Documents) */
.download-links {
    margin: 25px 0 50px;
}
.download-links .download-item a {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
    border-top: none;
    font-weight: 600;
    font-size: 1.15em;
    padding: 20px 25px;
}
.download-links .download-item:first-of-type a { border-top: 1px solid rgba(0,0,0,0.1); }
.download-links .download-item a:hover {
    background: var(--black);
    color: var(--gold);
}

/* Resources */
.resources .columns {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.resources:last-of-type .columns {
    margin-bottom: 0;
    border: none;
}

/* Notify Me */
#section.capture-item { min-height: auto; padding: 3vw; margin: 0 auto 2vh; justify-content: flex-start; align-items: flex-start; }
#section.capture-item>* { flex: 2;}

#section.capture-item .capture-title {
    flex: 1;
    padding-right: 5vw;
}
#section.capture-item .capture-title .icon {
    color: var(--gold);
    font-size: 3em;
    margin: 0 0 30px;
}
#section.capture-item .capture-title h4 { font-size: 2.5em; }

/* Job Listing (Articles) */
article.job.card  {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 30px;
}
article.job.card .cta-buttons { margin: 25px 0 5px; }

article.job .details { width: 100%; max-width: 450px; }
article.job .details i { font-size: 1.15em; margin-right: 10px; }

.job-content {
    padding: 50px 0;
}
.job-content .flex { align-items: inherit; }
.job-content .flex .entry-content { 
    flex: 2; 
    padding-right: 5vw; 
    margin-right: 5vw; 
    border-right: 1px dotted var(--gray);
}



/* =Footer
-------------------------------------------------------------- */
footer.site-footer {
    background: var(--navy);
    color: var(--bluelight);
    padding: 50px 0 25px;
}
footer.site-footer a { color: var(--white); }
footer.site-footer a:hover { color: var(--gold); }

footer.site-footer .container { max-width: 90vw; }
/* Logos */
footer.site-footer .site-branding svg { width: auto; max-height: 90px; fill: var(--white); }


/* Footer Top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 7vh;
}
.footer-top .site-branding { flex: 1; padding-right: 4vw; display: block; }
.footer-top .footer-menu-columns { flex: 3; }

.footer-top .site-branding svg {
    width: 100%;
    max-width: 250px;
}
.footer-top .address-blurb {
    color: var(--gray);
    padding: 10px 0;
    font-size: 0.9em;
    line-height: 1.5em;
}
.footer-top .address-blurb>* {
    display: block;
    margin: 0 0 5px;
}
.footer-top .address-blurb .phone {
    color:  var(--white);
}

/* Navigation */
ul#footer-menu {
    margin: 0; 
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
} 
ul#footer-menu li { margin: 0; padding: 0; list-style: none; }
ul#footer-menu li a {
    color: var(--gold);
    line-height: 1.2em;
    padding: 8px 0;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
}
ul#footer-menu li a:hover { color: var(--white); }
ul#footer-menu li .sub-menu a {  color: var(--white); font-size: 0.9em;font-weight: 400; }
ul#footer-menu li .sub-menu a:hover { color: var(--gold); }


/* Bottom Footer (Copyright) */
.bottom-footer {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 25px 0 0;
    align-items: inherit;
    flex-direction: row-reverse;
}
.bottom-footer ul#copyright-menu { 
    margin: 0 0 5px;
    padding: 0;
    display: flex;
}
.bottom-footer ul#copyright-menu li {
    text-decoration: none;
    margin-right: 2vw;
    list-style: none;
    padding: 0;
}
.bottom-footer ul#copyright-menu li a {
    text-transform: uppercase;
    font-size: 0.8em;
    line-height: 1.4em;
    font-weight: 600;
}


/* Socials */
footer.site-footer .socials.flex { align-items: inherit;}
footer.site-footer .socials a { font-size: 1.25em; display: inline-block; margin: 0 0 0 25px;}

/* Copyright */
footer.site-footer .copyright { opacity: 0.5; color: var(--gray); }
footer.site-footer .copyright a { color: inherit; text-decoration: underline; }
footer.site-footer .copyright a:hover { color: var(--white); }



/* =Mobile (Media Queries)
-------------------------------------------------------------- */
@-ms-viewport {
  width: device-width;
}
@viewport {
  width: device-width;
}

@media only screen and (max-width: 1900px) {
    /* Readjustments */
    h1 { font-size: 4em; }
    h2 { font-size: 3.5em; }
    h3 { font-size: 3em; }
    h4 { font-size: 2em; }
    h1.xl-title { 
        font-size: 5.5em; 
        line-height: 1em; 
        letter-spacing: -0.04em;
    }
    .container { max-width: 1420px; }
    .container.small { max-width: 1024px; }

    header#masthead .site-branding svg { height: 75px; }
    .card .card-image  { height: 325px; }
    .main-navigation.overlay.toggled { max-width: 640px;}
}

@media only screen and (max-width: 1300px) {
    h1,
    h1.xl-title { font-size: 5em; }
    h2 { font-size: 4em; }
    h3 { font-size: 3em; }
    h4 { font-size: 1.5em; }

    /* Hero */
    #section.hero.video.blend { min-height: 55dvh; }
    #section.hero.video.blend .top-title {
        position: absolute;
        bottom: 5dvw;
        left: 0;
        padding: 0 5vw;
    }
    #section.hero.stacked .featured-image.with-image .container { height: auto; }
    #section.hero.simple { padding: 200px 0 25px; }

    /* Flex */
    .flex.overflow,
    .flex.overflow.two,
    .flex.overflow.three,
    .flex.overflow.four, 
    .flex.overflow.five { 
        width: calc(100% + 20px);
        align-items: initial; 
        margin-left: -10px;
    }
    .flex.overflow>* { margin: 10px; }
    .flex.overflow.two>*, 
    .flex.overflow.three>* { flex: 1 0 calc(50% - 20px); width: calc(50% - 20px); max-width: calc(50% - 20px); margin: 10px; }
    .flex.overflow.four>*,
    .flex.overflow.five>* { flex: 1 0 calc(33.3% - 20px); width: calc(33.3% - 20px); max-width: calc(33.3% - 20px); }

    /* Sections */
    #section.fifty { padding: 0; }
    #section.fifty .container { width: 100%; }
    #section.fifty .fifty-content,
    #section.fifty.left .fifty-content { flex: 1.5; padding: 40px 5vw; }
    .fifty-image-container { height: 100%; }
    .fifty-image img { object-fit: cover; }    

    /* Events */
    #section.schedule.list .card.event-item .card-purchase { padding: 20px 0; flex: 1 0 100%; }
    #section.schedule .card.event-item .mobile-only { display: block; }
    #section.schedule .card.event-item .hide-mobile { display: none; }

    /* News */
    .post-gallery { background: var(--black); padding-bottom: 50px; }
    .carousel-img,
    .carousel-img img { height: 500px; }
    .carousel-img span.caption.float { 
        text-align: center !important;
        padding: 100px 10vw 5px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.95) 100%) }
    .related-articles .news-grid:nth-child(4) { display: block; }

    /* Timeline */
    .timeline__section.flex { padding: 25px 0; }
    .timeline__section.flex .timeline-description { flex: 1.5; }

    /* Footer */
    footer.site-footer .socials { width: 100%; max-width: 350px; }
    footer.site-footer .socials a { margin: 0; }
    footer.site-footer ul#copyright-menu { flex-wrap: wrap; margin: 10px 0 5px; }
    footer.site-footer ul#copyright-menu li { 
        flex: 1 0 25%;
        width: 25%; 
        max-width: 25%; 
        padding: 0; 
        margin: 0 0 5px;
    }
    footer.site-footer .copyright { margin: 15px auto 0; }
}
@media only screen and (max-width: 1024px) {
    h1,
    h1.xl-title { font-size: 4em; }
    h2 { font-size: 2.5em; }
    h3 { font-size: 2em; }
    h4 { font-size: 1.5em; }

    a.large-cta { min-width: auto; }

    /* Heros */
    #section.hero.blend { 
        display: block; 
        min-height: auto;
    }
    #section.hero.blend .header-image {
        position: relative;
        height: 425px;
        width: 100%;
    }
    #section.hero.blend { padding: 0 0 25px; }
    #section.hero.img.blend:before { display: none; }
    #section.hero.blend .description { padding-bottom: calc(5vw + 25px); }
    #section.hero.blend .header-image { background-position: top 25px center !important; }
    #section.hero.img.blend .header-image:before {
        content: '';
        width: 100%;
        height: 150px;
        bottom: -5px; left: 0;
        position: absolute;
        background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%); }
    #section.hero.img.blend.light .header-image:before {
        background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0) 100%);}
    #section.hero.img.blend.blue .header-image:before {
        background: linear-gradient(to top, rgba(0,55,100,1) 0%, rgba(0,55,100,0.85) 40%, rgba(0,55,100,0) 100%);}
    #section.hero.blend .description { padding-bottom: 0; }


    /* Speakers */
    .speaker.flex .speaker-description { flex: 2; }
}

@media only screen and (max-width: 980px) {
    .flex.overflow.three>*,
    .flex.overflow.four>*, 
    .flex.overflow.five>* { 
        flex: 1 0 calc(50% - 20px); 
        width: calc(50% - 20px); 
        max-width: calc(50% - 20px); 
        margin: 10px;
    }

    .cta-buttons.flex>* { margin-bottom: 10px; }

    /* Hero */
    #section.hero h1 { margin: 0; }
    #section.hero .description { margin: 15px 0 0; }
    #section.hero.stacked { min-height: auto; }

    /* News */
    .searchandfilter [data-sf-field-input-type="radio"] ul {
        margin-left: -5px !important;
        width: calc(100% + 20px);
        flex-wrap: wrap;
        justify-content: inherit;
    }
    .searchandfilter [data-sf-field-input-type="radio"] ul li {
        flex: 1 0 calc(33.3% - 10px);
        width: calc(33.3% - 10px);
        max-width: calc(33.3% - 10px);
        margin: 5px;
    }
    .search-bar .accordion-panel { padding: 0 0 5px; }

    article.card-news { padding: 25px; }
    article.card-news.people-card { padding: 0;}
    article.people-card .entry-content { padding: 20px; }

    .searchandfilter ul li.sf-field-search { flex: 1 0 100%; width: 100%; max-width: 100%; }
    .searchandfilter ul li.sf-field-submit { padding: 5px 0; }
    .searchandfilter input[type="submit"] { margin: 0; }

    /* Sections */
    #section.textarea.wysiwyg .entry-content .alignright { margin-right: 0; }
    #section.textarea.wysiwyg .entry-content .alignleft { margin-left: 0; }
    #section.textarea.wysiwyg .entry-content .alignright,
    #section.textarea.wysiwyg .entry-content .alignleft { width: 50vw; }

    #section.fifty.left .container.flex,
    #section.fifty-fw.left .container.flex,
    #section.fifty.right .container.flex,
    #section.fifty-fw.right .container.flex { flex-direction: column-reverse; }

    #section.fifty .fifty-content,
    #section.fifty-fw .fifty-content { padding: 50px 5vw; }
    #section.fifty-fw .container.flex>* {
        flex: 1 0 100%;
        width: 100%;
        max-width: 100%;
    }
    .fifty-content { min-height:  auto;}
    .fifty-content h3 { margin-bottom: 15px; }
    .fifty-image, 
    .fifty-image-container,
    .fifty-image-container img { width: 100%; height: 450px !important; }

    /* Timeline */
    .timeline__nav { display: none; }
    #section.single-timeline .container { padding: 0; }
    .timeline__section.flex .timeline-description { flex: 1; }
    .timeline__section .overlay-image { padding-left: 0; }
    .timeline__section .overlay-image img { max-height: 450px; max-width: 100%; width: auto; }

    /* Sponsors */
    ul.sponsors-logos li { flex: 1 0 calc(25% - 20px); width: calc(25% - 20px); }

    /* Footer */
    footer.site-footer { padding: 25px 0 10px; }
    footer.site-footer svg { margin-bottom: 15px; }
    footer.site-footer .socials a { font-size: 1.5em; }
    .footer-top .footer-menu-columns { display: none; }
    .bottom-footer { padding-top: 15px; }
    footer.site-footer ul#copyright-menu li { 
        flex: 1 0 33.3%;
        width: 33.3%; 
        max-width: 33.3%; 
    }
}

@media only screen and (max-width: 800px) {
    h1,
    h1.xl-title { font-size: 3em; }
    h2 { font-size: 2.5em; }
    h3 { font-size: 2em; }
    h4 { font-size: 1.5em; }

    #section { padding: 40px 0; }

    /* News */
    article.card.news-grid .card-image, 
    article.card.news-grid .post-thumbnail { height: 280px; }
    article.card.news-grid .card-details { min-height: auto; padding: 20px; }
    .related-articles .news-grid h4 { margin: 0 0 15px; }

    /* Pages */
    ul.sponsors-logos li img { max-width: 100px; max-height: 40px;}
    body.page-contact .entry-content .wpcf7 { float: none; width: 100%; margin: 0; padding: 0 0 3vh; border: none; }

    /* Job */
    article.job .details { margin: 40px 0 0; }
    .job-content .flex { flex-direction: column; }
    .job-content .flex .entry-content { padding: 0 0 40px; margin-bottom: 40px; border: none; border-bottom: 1px solid rgba(0,0,0,0.1); }


    /* Apply */
    .timeline-progress { margin: 0; padding: 0; }
    .timeline-progress .marker { position: absolute; left: 0;}
    .timeline-progress .progress-item:before {
        width: 1px;
        height: 100%;
        left: 17px;
    }
    .timeline-progress .progress-item { padding-right: 0; padding-left: 70px; padding-bottom: 4vh; }
    .timeline-progress .progress-item span.eyebrow { margin: 0 0 3px;}

    /* Sections */
    #section.columns { padding: 50px 0; }
    #section.columns .column-layout .column h4 { margin: 0 0 15px; }
    #section.columns .column-layout .column .small-text { width: 100%; margin-bottom: 25px; }

    #section.textarea.forms .container.flex { flex-direction: column; }
    #section.textarea.forms .container.flex .form-details { padding: 0 0 50px; }
    #section.textarea.forms .container.flex .form-content { flex: 1; width: 100%; max-width: 100%; }

    #section.grid.carousel .cta-buttons.flex { margin: 0 auto; }
    #section.grid.carousel .cta-buttons.flex>* { margin: 0 auto 10px; }

    .fifty-image, 
    .fifty-image-container,
    .fifty-image-container img { width: 100%; height: 350px !important; }

    /* People */
    #section.grid h3 { width: 100%; }
    #section.grid.people-grid .search-disclaimer { margin-bottom: -20px; text-align: left; }

    .people-grid.flex.overflow.four>*,
    #section.grid.people-grid .people-list.flex.overflow>* { 
        flex: 1 0 calc(50% - 10px); 
        width: calc(50% - 10px); 
        max-width: calc(50% - 10px); 
        margin: 5px;
    }
    article.people.card .card-image { height: 220px; }
    .people-carousel article.people.card .card-image { height: 300px; }
    article.card.people .card-details,
    #section.grid .card .card-details { padding-bottom: 25px !important; }
    article.card.people .card-details h4,
    #section.grid .card .card-details h4 { font-size: 1.25em; margin: 0; }
    .people-carousel article.people.card h4 { font-size: 1.5em !important; }

    body.single-post .article-image { padding: 25px 0; }
    body.single-post article .entry-content .container { padding: 0; }

    /* Events */
    #section.schedule.grid .card .card-image { height: 300px; }
    #section.schedule.grid .card .card-details h4 { font-size: 1.5em; width: 80%; margin: 0 0 10px; }

    #section.schedule.grid .list.overflow>* { display: block; }
    #section.schedule.list .card.event-item .card-details { padding: 20px 0; }
    #section.schedule.list .card.event-item { padding: 20px 0; border: none; }

    .primary-sponsor .teir-sponsors { flex: 3; }

    /* Footer */
    .footer-top { flex-direction: column; margin: 0 auto 3vh; }
    .footer-top .site-branding { padding: 0 0 4vh; }

}

@media only screen and (max-width: 640px) {
    /* Navigation */
    header#masthead button.menu-toggle { right: 5vw; top: 30px; }
    header#masthead .header-donate { display: none; }
    .main-navigation.overlay.toggled { padding: 5vw; }
    header#masthead .main-navigation.overlay .site-branding svg{ height: 75px; }
    .main-navigation.overlay.toggled ul.menu li a { padding: 15px 0; }
    header#masthead nav.main-navigation ul li ul.sub-menu { margin-bottom: 25px; background: #FFFFFF; padding: 0; }

    .large-text { font-size: inherit; line-height: inherit; }

    .owl-nav button { transform: scale(0.8); }
    .owl-nav .owl-prev { left: 5px; }
    .owl-nav .owl-next { right: 5px; }

    .flex.overflow,
    .flex.overflow.two,
    .flex.overflow.three,
    .flex.overflow.four,
    .flex.overflow.five { 
        width: 100%;
        margin-left: 0;
    }
    .flex.overflow.two>*,
    .flex.overflow.three>*,
    .flex.overflow.four>*,
    .flex.overflow.five>* { flex: 1 0 100%; width: 100%; max-width: 100%; margin: 0 auto 15px; }


    /* Sections */
    #section.textarea .column .entry-content { width: 100%; }

    .accordion-title { padding: 25px 0; }
    .accordion-title h4 { font-size: 1.25em; padding-right: 50px; }
    .accordion-panel { padding: 10px 0 25px; }

    /* News */
    .related-articles .news-grid .card-image, 
    .related-articles .news-grid .card-image img { height: 250px !important; }
    .entry-content h4.subtitle { font-size: 1.25em; margin: 0 0 5px; }


    /* Timeline */
    #section.timeline-listing article { padding: 300px 0 50px; }
    #section.timeline-listing article .timeline-title h2 { font-size: 2.75em; margin-bottom: 25px; width: 80%; }
    #section.single-timeline .container { padding: 50px 0; }
    .timeline__section.flex { display: block; padding-bottom: 50px; border-bottom: 1px dotted rgba(0,0,0,0.1); }
    .timeline__section.flex .timeline-description { flex: 1; }
    .timeline__section .overlay-image { padding: 0; }

    /* Articles */
    ul.sponsors-logos li { flex: 1 0 calc(33.3% - 20px); width: calc(33.3% - 20px); }
    footer.site-footer .site-branding svg { max-height: 85px; }

    /* Pages */
    body.page-scholarship #section.columns.dark p { margin: 10px 0; }

    /* Pages */
    header.entry-header { padding: 25px 0 0; }
    header.entry-header h1 { margin: 0; }
    #section.fifty-fifty.overlap .feature-block { padding: 30px; }

    .download-list { margin: 0 0 60px; }
    .download-list li { width: 100%; }

    #section.schedule.list .speakers-list>* { flex: 1 0 100%; width: 100%; max-width: 100%; }
    #section.schedule.grid .card .card-details h4 { width: 100%; }
    #section.schedule .speakers-list .speaker.flex>* { flex: 1; min-width: 60px; }
    #section.schedule .speakers-list .speaker.flex .speaker-title { flex: 5; }
    #section.schedule.grid .card .card-details .card-date.flex { justify-content: space-between; }

    /* Footer */
    .bottom-footer { display: block; }
    .bottom-footer>* { padding: 15px 0; }
}

@media only screen and (max-width: 520px) {
    header.entry-header h1 { margin-bottom: 15px; }
    #section h3 { font-size: 2em; }
    header.entry-header h1 { font-size: 2.5em; }

    .entry-content hr { margin: 50px 0; }

    .small-text { font-size: 0.8em; line-height: 1.3em; }

    article.card.news-grid .card-image, article.card.news-grid .post-thumbnail { height: 230px; }

    .cta-buttons.flex { margin: 25px 0 0; }

    .flex.overflow { margin: 0; width: 100%; }
    .flex.overflow>* { flex: 1 0 100%; width: 100%; margin: 0 auto 25px; }

    #section.hero .description { margin-bottom: 25px; }

    article.people-card h4.entry-title { font-size: 1.35em; }
    article.people-card .people-headshot { height: 190px; }

    article.card-news h4.entry-title { font-size: 1.3em; }
    article.card-news { padding: 25px; }
    article.card-news p { font-size: 0.9em; line-height: 1.5em; }

    /* Footer */
    .footer-top { margin: 25px auto; width: 100%;}
    ul#footer-menu { display: none; }
}

