/*!
Theme Name: GlobalMedic
Author: Ryan Robinson
Description: A theme developed to be used for the GlobalMedic site.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: GlobalMedic
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.

The GlobalMedic theme is based on Underscores https://underscores.me/, (C) 2012-2017 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/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
    ## Galleries
# Components
    ## Buttons
# Home Page
    ## Hero Image Area
    ## Program Tiles
    ## About Section
    ## News Section
    ## Sponsors Section
    ## Featured Section
    ## Footer
# Mobile Navigation
# Media Queries
# News Page

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | 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 {
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

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

/**
 * 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; }

p {
  margin-bottom: 1.5em; }

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

/**
 * 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: 'open sans', Arial, Helvetica, sans-serif;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none; }

a:hover {
  text-decoration: underline; }

/**
 * 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;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */ }

/**
 * 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: 'open sans', Arial, Helvetica, sans-serif;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * 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;
  height: auto; }

/* 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;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */ }

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

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  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;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * 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;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * 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;
  /* 1 */
  outline-offset: -2px;
  /* 2 */ }

/**
 * 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;
  /* 1 */
  font: inherit;
  /* 2 */ }

/* 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; }

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

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

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
  color: #202945;
  font-family: 'open sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-size: 1rem; }

h1, h2, h3, h4, h5, h6 {
  clear: both; }

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

blockquote {
  margin: 0 1.5em; }

address {
  margin: 0 0 1.5em; }

pre {
  background: #eee;
  font-family: 'open sans', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em; }

code, kbd, tt, var {
  font-family: 'open sans', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-size: 0.9375rem; }

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

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

big {
  font-size: 125%; }

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box; }

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit; }

body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */ }

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

ul, ol {
  margin-bottom: 1.5rem;
  padding: 0 0 0 2.6rem; }

dt {
  font-weight: bold; }

dd {
  margin: 0 1.5em 1.5em; }

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */ }

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: .6em 1em .4em; }

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa; }

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb; }

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%; }

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: #202945; }

a:hover, a:focus, a:active {
  color: #202945; }

a:focus {
  outline: thin dotted; }

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

/*--------------------------------------------------------------
## Menus 
--------------------------------------------------------------*/
.site-header {
  background-color: #d1d0cf;
  height: 100px;
  position: sticky; }

.site-branding {
  max-width: 1260px;
  margin: 0 auto; }

.main-navigation {
  display: -webkit-flex;
  /* Safari */
  -webkit-align-items: center;
  /* Safari 7.0+ */
  display: flex;
  align-items: center;
  float: right; }

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  top: 38px;
  position: relative; }

.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 {
  left: 100%; }

.main-navigation ul ul a {
  min-width: 150px; }

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

.desktop-nav li {
  float: left;
  position: relative;
  padding: 0 26px 0 26px; }

.main-navigation a {
  display: block;
  color: #202945;
  font-size: 20px;
  font-weight: 600; }

.main-navigation a:visited {
  color: #202945; }

.main-navigation a:hover {
  color: #63656a;
  color: rgba(0, 0, 0, 0.7); }

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

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

  .main-navigation ul {
    display: block; } }
.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden; }

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%; }

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%; }

/*--------------------------------------------------------------
# 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;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */ }

.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: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */ }

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

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  float: left;
  margin-right: 1.5em; }

.alignright {
  float: right;
  margin-left: 1.5em; }

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

.wp-block-image .alignright {
  clear: both;
  margin: 0; }

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed; 
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both; }

iframe {
  margin: 0 auto; }

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
    /* Make sure select elements fit in widgets. */ 
}
.widget select {
    max-width: 100%; 
}
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.content-area {
    margin: 0 auto;
    min-height: 100vh; 
}
.content-area h1, h2, h3, h4, h5, h6 {
    text-align: center;
    padding: 1rem 0; 
}
.content-area p {
    line-height: 1.8em;
    padding: 0 0.5rem; 
}
.content-area p:last-child {
    padding-bottom:0px;
}
.single-post > div > main,
.program-page,
.page-template-news > div > main,
.page-template-store > div > main,
.page-template-default > div > main {
    max-width: 900px;
    margin: 0 auto; 
}

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

.post,
.page {
  margin: 0; }

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

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

.attachment-post-thumbnail {
  display: none; }

.volunteer-page {
  width: 50%; }

#post-167 > div > p {
  max-width: 580px;
  padding-left: 0.5rem;
  margin: 0 auto; }

#post-date {
  padding: 0 0 0 0.5rem; }

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

.bypostauthor {
  display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

.custom-logo {
  width: 370px;
  height: auto;
  padding: 30px 0 0 60px;
}

/* 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;
}

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

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wp-block-button__link {
  color: #d1d0cf;
  background-color: #202945;
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
}

.cat-links {
  display: none;
}

/*--------------------------------------------------------------
## Buttons
--------------------------------------------------------------*/
.red-btn {
  color: #d1d0cf;
  background-color: #cf102d;
  padding: 12px 16px;
  border-radius: 10px;
}

.blue-btn {
  color: #ffffff !important;
  background-color: #202945;
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
}

/*--------------------------------------------------------------
# Home Page
--------------------------------------------------------------*/
.home-wrap {
  margin: 0 auto;
  max-width: 1260px;
}
/*--------------------------------------------------------------
## Active Response Banner
--------------------------------------------------------------*/
.active-response {
    background-color:#cf102d;
    color:#ffffff !important;
    width:100%;
    text-align:center;
}

.active-response a {
    color:#ffffff !important;
    text-decoration:underline;
}

.active-response-text{
    margin:0;
    padding: 1rem;
}

/*--------------------------------------------------------------
## Hero Image Area
--------------------------------------------------------------*/
.hero-area {
    position: relative;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.8)), color-stop(100%, rgba(0, 0, 0, 0)));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
    /* IE6-9 */ 
}


.hero-area p {
  margin: 0;
}

.hero-image {
  width: 100%;
  position: relative;
  display: block;
  z-index: -1;
}

.hero-title {
  position: absolute;
  top: 20px;
  left: 65px;
  color: #202945;
  font-size: 30px;
  font-weight: 1000;
  font-family: 'Libre Franklin', sans-serif;
  background-color:#d1d0cf;
  padding:0.5rem;
  margin:0;
  line-height:1.2em;
}

.hero-sub-title {
  color: #d1d0cf;
  position:absolute;
  top:42px !important;
  left:0px !important;
  background-color: #202945;
  font-size: 60px;
  font-weight: 800;
  margin:0;
  display:block;
  white-space:nowrap;
  padding:1rem 1rem 1rem 0.5rem;
}

#donate-btn {
  position: absolute;
  top: 160px !important;
  left: 55px !important;
  box-shadow: 2px 2px 4px 4px rgba(0, 0, 0, 0.7);
  color:#fff;
}

#donate-btn:visited {
  color: #fff;
}

.number-container {
  position: absolute;
  top: 60%;
  left: 380px;
  width: 40%;
  display: flex;
  justify-content: space-between;
}

.numbers {
  color: #fff;
  padding: 1.5rem;
  text-align: center;
}

.numbers h3 {
  padding: 0;
  margin: 0;
  font-size: 2rem;
}

.numbers p {
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
  text-align: center; }

/*--------------------------------------------------------------
## Program Tiles
--------------------------------------------------------------*/
.programs-slider {
  font-size: 0;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  -webkit-flex-flow: row wrap; }

.programs-slider a {
  color: #fff;
  font-size: 1.4rem; }

.container {
  display: inline-block;
  position: relative;
  width: 210px;
  height: 240px;
  margin: auto; }

.tile-image {
  height: 100px;
  width: auto;
  padding-bottom: 1rem; }

.tile-overlay {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(32, 41, 69, 0.7); }

.tile-overlay:hover {
  background-color: rgba(32, 41, 69, 0.9);
  text-decoration: underline; }

/*--------------------------------------------------------------
## About Section
--------------------------------------------------------------*/
.about {
  display: flex;
  padding: 1.5rem 0 0 0;
  max-width: 1100px;
  margin: 0 auto; }

.about-description {
  flex-basis: 70%;
  font-size: 18px; }

.about-description h2 {
  margin-top: 0;
  text-align: left;
  font-size: 2rem; }

.about-description p {
  padding: 0 2rem 0 0; }

.about-image {
  flex-basis: 30%;
  padding-left: 1rem; 
  padding-top:6.3rem;
}

/*--------------------------------------------------------------
## News Section
--------------------------------------------------------------*/
.news h2 {
  text-align: center;
  font-size: 2.6rem;
  display: inline-block; }

.news header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem; }

.news-featured {
  display: flex;
  padding: 3rem;
  max-width: 1100px; }

.news-description {
  flex-basis: 65%;
  font-size: 20px;
  padding-left: 2rem;
  overflow: hidden; }

.news-description > h3 {
  text-align: left;
  padding: 0;
  margin: 0; }

.news-description h3 {
  padding-bottom: 2rem; }

.news-image {
  flex-basis: 35%;
  padding-right: 2rem; }

.news-image > img {
  width: 300px; }

.news-stories {
  display: flex;
  justify-content: center;
  margin: 0 auto; }

.featured-card {
  min-height: 570px; }

.story-2 {
  padding: 0 1rem; }

.card {
  background-color: #fff;
  color: #000;
  margin: 0 auto;
  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  padding: 2.5rem; }

.card > a {
  padding-top: 100px; }

[class^="story-"] {
  flex-basis: 33%; }

.story-desc {
  width: 100%;
  margin: 0 auto; }

.story-desc a {
  color: #202945;
 }

.story-desc a:visited {
  color: #202945; }

.story-desc > p {
  padding-bottom: 1rem;
  margin: 0; }

.story-desc h3 {
  padding: 0;
  text-align: left; }

.news-thumbnail {
  flex-shrink: 0;
  min-width: 100%;
  max-width: 100%; }

.image {
  height: auto;
  width: 200px; }
.date {
    font-weight:600;
}

/*--------------------------------------------------------------
## Sponsors Section
--------------------------------------------------------------*/
.sponsors-section {
  margin: 0 auto; }

.sponsors-section h2 {
  text-align: center;
  font-size: 2rem;
  padding: 2rem 0 3rem 0; }

.sponsors-section ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  width: 90%;
  flex-wrap: wrap; }

.sponsors-section li {
  display: inline; }

.sponsors-section img {
  height: auto;
  width: 150px; }

/*--------------------------------------------------------------
## Feature Section
--------------------------------------------------------------*/
.feature-area {
  display: flex;
  justify-content: center;
  position: relative;
  margin: 5rem 0; }

.feature-area > a {
  position: absolute;
  font-size: 1.2em; }

.feature-area > a:hover {
  text-decoration: underline;
  color: #fff;
  cursor: pointer;
}

.feature-overlay {
  background-color: rgba(0, 0, 0, 0.75);
}

.feature-area-image {
    overflow: hidden;
    background-size: 100%;
    background-repeat:no-repeat;
    min-height: 300px;
    max-height:310px;
    z-index: -1;
}

.feature-area-heading {
  position: absolute;
  top: 0;
  font-size: 30px;
  color: #fff;
  margin: 0;
  padding: 1rem 0;
}

.feature-area-tagline {
  position: absolute;
  top: 70px;
  font-size: 2rem;
  color: #fff;
  margin: 0;
}

.sign-up {
  top: 170px;
}

.learn-more {
  top: 230px;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.site-footer {
  background-color: #202945;
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a:visited {
  color: #fff;
}

.footer-container {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer h2 {
  font-family: 'open sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  text-align: left;
  padding: 0 0 1rem 0;
  margin: 0; 
}

[class^="footer-col"] {
  padding: 2rem;
  flex-basis: 25%;
}

.footer-col-1 ul > li,
.footer-col-2 ul > li {
  padding: 0.3rem 0;
  font-size: 1.1rem;
}

.footer-col-3 img {
  float: left;
  height: 20px;
  width: auto;
}

.address {
  padding-bottom: 1.5rem;
  line-height: 1.5;
}

.address p {
  padding: 0;
}

.phone-number {
  padding-bottom: 0.5rem;
}

.phone-number img {
  padding-right: 1rem;
}

.e-mail img {
  padding-right: 0.6rem;
}

.footer-col-4 ul {
  padding-top: 3rem;
}

.footer-col-4 h2 {
  text-align: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.social-links img {
  height: 25px;
  width: auto;
  display: inline-block;
}

.social-links > li {
  display: inline;
}

.registration-number {
  text-align: center;
  padding: 1rem 0 2rem 0;
  font-size: 0.9rem;
}

.has-small-font-size {
  font-size: 14px;
}

.has-medium-font-size {
  font-size: 16px;
}

.has-large-font-size {
  font-size: 20px;
}
.proudly-canadian {
    margin:0 auto;
    width:180px;
    text-align:center;
}

/*--------------------------------------------------------------
## News Page
--------------------------------------------------------------*/
.news-card {
  margin: 2.5rem 0;
  display: flex;
  color: #202945;
}

.news-card a:visited {
  color: #202945;
}

.news-card > div > h2 {
  padding: 0 0 0 3rem;
  margin: 0;
  text-align: left;
}

.news-card > div a {
  color: #202945;
}

.news-card > div > p {
  padding: 1rem 0 0 3rem;
  margin: 0;
}

.news-card > div > p:last-child {
  padding-bottom: 0;
}

.news-title {
  color: #202945;
}

.page-links {
  padding-bottom: 1rem;
}

.page-links a {
  color: #202945;
  font-weight: 600;
  font-size: 1.2rem;
}

/*--------------------------------------------------------------
## Side Nav
--------------------------------------------------------------*/
.side-nav {
  position: absolute;
  top: 275px;
  left: 5%;
  border: 2px #202945 solid;
  text-align: left;
}

.side-nav ul {
  list-style: none;
  padding: 1.5rem;
  margin: 0;
}

.side-nav li {
  padding-bottom: 16px;
  color: #202945;
  font-weight: 600;
}

.side-nav li:last-child {
  padding-bottom: 0;
}

.side-nav a:visited {
  color: #202945;
}

/*--------------------------------------------------------------
## Response Pages
--------------------------------------------------------------*/
.category-responses > header > h1 {
    background: #202945;
    color: #fff;
    margin: 0;
    padding-bottom: 1.5rem; 
}

/*--------------------------------------------------------------
## Program Pages
--------------------------------------------------------------*/
.program-image {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: block;
  z-index: -1; }

.program-overlay {
  position: relative;
  background-color: rgba(0, 0, 0, 0.7); }

.program-page h1 {
  position: absolute;
  top: 190px;
  color: #fff;
  padding: 0;
  margin: 0 auto;
  font-size: 5rem; }

.program-page p:first-child {
  padding-top: 1rem; }

.program-page > main > article > header {
  display: flex;
  justify-content: center; }

/*--------------------------------------------------------------
## Media Queries
--------------------------------------------------------------*/
@media only screen and (max-width: 1920px) {
    .program-page h1 {
        top: 135px; 
    }
}
@media only screen and (max-width: 1440px) { 
    .program-page h1 {
        top: 120px; 
    }
}
@media only screen and (max-width: 1280px) { 
    .program-page h1 {
        top: 130px; 
    }
}

@media only screen and (max-width: 1260px) {
    .programs-slider {
        display: none; 
    }
    .hero-title {
        font-size: 18px;
        top: 10px !important;
        left: 30px !important;
        margin: 0; 
    }
    .hero-sub-title {
        font-size: 28px;
        top: 47px;
        left: 30px;
    }
    .donate-btn {
        top: 90px !important;
        left: 30px !important; 
    }
    .footer-col-1,
    .footer-col-2 {
        display: none; 
    }
    .footer-col-3,
    .footer-col-4 {
        flex-basis: auto; 
    }
    .footer-container {
        flex-direction: column;
        justify-content: center;
        align-items: center; 
    }
    .site-footer h2,
    .site-footer p {
        text-align: center; 
    }
    .sponsors-section ul {
        flex-wrap: wrap; 
    }
    .feature-area {
        margin: 5rem 0 0 0; 
    }
    .news-stories {
        flex-direction: column;
        max-width: 440px; 
    }
    .news-featured {
        flex-direction: column; 
    }
    .story-2 {
        padding: 1rem 0; 
    }
    .news-thumbnail {
        display: flex;
        justify-content: center;
        min-height: 0; 
    }
    .read-more {
        width: 90%;
        margin: 0 auto; 
    }
    .story-desc {
        width: 90%; 
    }
    .program-page h1 {
        top: 170px; 
    }
    .site-header {
        display: none;
    }
    .main-navigation {
        float: none; 
    }
    .side-nav {
        display:none;
    }
    .volunteer-page {
        width: 95%; 
    }
}
@media only screen and (max-width: 1153px) {
   
  .about {
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
  }
  .about h2 {
    text-align: center;
    padding-top: 1rem;
  }
  .about p {
    max-width: 600px;
    padding: 0 0 1.2rem 0; 
  }
  .about-image {
    padding-top:0;
  }
  .sign-up {
    top: 140px; 
  }
  .learn-more {
    top: 205px; 
  }
  .program-page h1 {
    top: 110px;
  }
  .anniversary-20 {
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 0;
  }
  .anniversary-20-desc p {
    max-width: 600px;
    margin-bottom:0.5em;
  }
  .anniversary-20-image {
    padding: 0 0 0.75rem 0;
  }
}

@media only screen and (max-width: 1024px) {
    .program-page h1 {
        top: 80px;
    }
}

@media only screen and (max-width: 980px) {
    .feature-area-heading {
        font-size: 24px; 
    }
    .feature-area-tagline {
        font-size: 1.2rem; 
    }
    .sign-up {
        top: 110px; 
    }
    .learn-more {
        top: 170px; 
    }
    .program-page h1 {
        top: 110px; 
    }
    .anniversary-20 {
      padding-top: 1rem;
    }
}
@media only screen and (max-width: 860px) {
    .numbers h3 {
        font-size: 1.5rem; 
    }
    .numbers p {
        font-size: 0.8rem;
    }
    .number-container {
        top: 55%;
        left: 220px;
        width: 40%; 
    }
    .anniversary-20-image {
      padding:0;
    }
}
@media only screen and (max-width: 768px) {
    .program-page h1 {
        top: 55px;
    }
    .article-img {
        display:flex;
        flex-direction: column;
        align-items: center;
    }
    .news-card {
        display:flex;
        flex-direction: column;
        align-items:center;
        width:80%;
        margin:auto;
        margin-bottom:2rem;
    }
    .news-card > div > p {
        padding:0;
    }
    .news-card > div > h2 {
        text-align: center;
        padding:1rem 0 0.5rem 0;
    }
}
@media only screen and (max-width: 660px) {
  .about p {
    margin: 0 1.2rem;
  }
  .program-page h1 {
    top: 75px;
    font-size:3rem;
  }
  .anniversary-20-desc p {
    margin:0 1.2rem;
  }
  .anniversary-20-image {
    padding: 1rem 0 2rem 0;
  }
}
@media only screen and (max-width: 580px) {
    .numbers {
        display: none; 
    }
    .about p {
        margin-bottom:2rem;
        padding: 0; 
    }
    .feature-area-tagline {
        text-align: center; 
    }
    .sign-up {
        top: 150px; 
    }
    .learn-more {
        top: 210px; 
    }
    .program-page h1 {
        top: 115px;
    }
    .program-page-link {
        display:none;
    }
    #donate-btn {
      top: 120px !important;
      left: 30px !important;
    }
}

@media only screen and (max-width: 466px) {
    .custom-logo {
        padding: 2.7rem 0 0 1rem;
        width: 60%; 
    }
    .about img {
        width: 70%; 
    }
    .news-image img {
        width: 100%; 
    }
    .news-image {
        padding: 0; 
    }
    #donate-btn {
        top: 110px !important;
        left: 30px !important;
    }
    .wp-post-image {
        width: 70%; 
    }
    .hero-image {
        height: 250px;
        width: auto;
        max-width: unset;
        overflow: hidden;
        right: 50%;
    }
    .hero-area {
        height: 250px;
        width: auto;
        overflow: hidden; 
    }
    .card {
        padding: 1rem; 
    }
    .news-stories {
        max-width: 90%; 
    }
    .program-page h1 {
        top:70px;
        font-size:2rem;
    }
}
@media only screen and (max-width: 375px) {
    .hero-title {
        top: 5px !important; 
        left:10px !important;
    }
    .hero-sub-title {
        top: 45px !important; 
        left: 10px !important;
    }
    .donate-btn {
        top: 70px !important; 
    }
    .feature-area-tagline {
        top: 90px;
    }
    #donate-btn {
        left:10px;
    }
    .program-page h1 {
        top: 70px;
    }
}
/* Extra Styles */
/* not in table of contents */
.sub-menu li {
  padding: 0;
  margin: 0 0 0 0.3rem; 
}
/* used as download annual reports button */
.wp-block-file__button {
  background-color: #202945 !important;
  color: #d1d0cf !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-family: 'open-sans', sans-serif !important;
  font-size: 1rem !important; 
}
.entry-title {
  color: #202945; 
}
.page-template-responses > div > main {
  max-width: 1100px;
  margin: 0 auto; 
}
.page-template-responses p {
  padding: 0;
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0; 
}
.page-template-responses h2 {
  padding: 0;
  margin: 0; 
}
.mapsvg-wrap-all {
  max-width: 1100px;
  margin: 0 auto; 
}
.entry-content a {
    color: blue;
    text-decoration: underline;
}
.entry-content a:hover {
    color: blue;
}
/* Hide post tags from bottom of post */
.tags-links {
    display:none;
}
