/*!
Theme Name: OCF
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ocf
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 with others.

OCF 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
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

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


@import url('https://fonts.googleapis.com/css?family=Lato:300,400,400i,700,700i,900&display=swap');

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-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;
}

/* 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: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

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

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 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: monospace, monospace; /* 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;
}

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

/**
 * 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: #333333;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.9;
	letter-spacing: .03em;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	line-height: 1.25;
}
h1 {
	font-size: 35px;
	font-weight: 700;
	color: #1D355E;
}
h1.entry-title {
	margin-top: 0;
}
h2 {
	font-size: 22px;
	text-transform: uppercase;
	font-weight: 400;
	margin-top: 0;
	line-height: 1.4;
}
h2.entry-title {
	margin-bottom: 0;
}
h3 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: .8em;
}
h4 {
	font-size: 14px;
}


p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}
cite {
	font-weight: 400;
	font-size: 14px;
	font-style: normal;
	color: #1D355E;
	padding-left: 1.5em;
}

blockquote {
	margin: 2.5em 0;
	/* margin: 0 1.5em; */
	font-size: 20px;
	color: #1D355E;
	position: relative;

}
.entry-content  blockquote:first-child {
	margin-top: 0;
}
blockquote p {
	padding: 0 1.5em;
	margin-bottom: 0;
}

blockquote p::before {
	content: '';
	position: absolute;
	left: 0px;
	top: 0;
	bottom: 65%;
	border-left: 3px solid #C4DB6F;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	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: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	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%;
}
/* additional Typography */
/* colour */
.light-blue {
	color: #5f7E95;
}
.dark-blue {
	color: #1D355E;
}
.black {
	color: #000;
}
H2.feature {
	text-transform: none;
	font-size: 24px;
}
.uppercase {
	text-transform: uppercase;
}
.wp-caption .wp-caption-text {
    /* margin: 0.8075em 0; */
    font-size: 13px;
    text-align: left;
}


/* fund-search */

.fund-search {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
.fund-search.widget {
	display: block;
	padding: 1em 1.5em;
}
.search-item {
	margin: 0 1.5em 0 0;
}
.fund-search.widget .search-item {
	margin: 0 0 1em 0;
}
.fund-search.widget .search-item:last-child {
	margin: 0;
}
.fund-search.widget .search-item input[type="submit"] {
	margin: 0 .5em 0 0;
}


.fund-search {
	background-color: #F1F2ED;
	padding: 1.6em;
	margin-bottom: 2.6em;
}
.fund-search h3 {
	margin: 0;
}

ul.search-list {
	list-style: none;
	text-align: center;
	margin: 0;
	padding: 0;
}
ul.search-list li {
	padding: .3em;
	border-top: 1px solid #fff;
	cursor: pointer;
}
ul.search-list a,
ul.search-list a:visited  {
	color: #1D355E;
}
ul.search-list a:hover  {
	text-decoration: none;
}
ul.search-list li:hover {
	background-color: #C4DB6F;
}

/* search accordion */
#accordion {
	background-color: #DAE8A3;
	display: inline-block;
	margin: 1em 0 0;
	position: relative;
}
.accordion-toggle {
	cursor: pointer;
	margin: 0;
	padding: .8em 1.6em;
}
.accordion-toggle::after {
	content: "\ea1c";
	font-family: 'icomoon' !important;
	margin-left: 1.6em;
	color: #fff;
	display: inline-block;
	-moz-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}

h4.accordion-toggle {
	color: #1D355E;
}
.accordion-content {
	display: none;
	background-color: #DAE8A3;
	position: absolute;
	width: 100%;
	z-index: 10000;
}
.accordion-content.default {display: block;}
.you-are-on {
			background-color: #ccc;
}


/*--------------------------------------------------------------
# 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: 0 0 1.5em 1.0em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}
.entry-content li {
	margin-bottom: 1.15em;
	width: 90%;
	line-height: 1.6em;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

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

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

.ul-col2 {
	column-count: 2;
  /* column-rule: dotted 1px #333; */
  list-style-type: none;
}
/* leadership team */
.people-list {
	margin: 2.5em 0;
}
.entry-content li.person {
	margin: 0 0 2em;
}
h3.people-name {
	margin: 0px;
}
p.people-title, p.people-website {
	margin: 0;
}


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid rgba(196, 219, 111, 1);
	border-color: none;
	border-radius: 0px;
	background: rgba(196, 219, 111, 0);
	color: #1d355e;
	font-size: 14px;
	font-weight: 600;
	/* font-size: 0.75rem; */
	text-transform: uppercase;
	line-height: 1.9;
	padding: .3em 1em .3em;
	margin: 0 1.5em;
	cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: rgba(196, 219, 111, 1.0);
	/* color:#fff; */
}

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


/* form buttton */
input[type="submit"].wpcf7-submit {
	border-radius: 0;
	border: 0;
	background: #c4db6f;
	color: #1D355E;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	padding: .8em 1.2em;
	margin-top: 2.6em;
}
span.wpcf7-list-item {
	margin: 0;
}
/* for select */
select {
    display: block;
    line-height: 1.3;
    padding: .6em 1.4em .5em .8em;
    width: 90%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: rgba(196, 219, 111, .5);
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}
select::-ms-expand {
    display: none;
}
select:hover {
    border-color: #888;
}
select:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
    box-shadow: 0 0 0 3px -moz-mac-focusring;
		box-shadow: none;
    box-shadow: none;
    color: #222;
    outline: none;
}
select option {
    font-weight:normal;
}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #46B978;
	text-decoration: none;
	cursor: pointer;
	-webkit-transition: .25s ease-out;
  -moz-transition: .25s ease-out;
  -o-transition: .25s ease-out;
  transition:  .25s ease-out;
}

a:visited {
	/* color: #1D355E; blue */
	color: #46B978;
}

a:hover, a:focus, a:active {
	text-decoration: underline;
}

a:focus {
	outline: 0;
}

a:hover, a:active {
	outline: 0;
}
.breadcrumbs {
	margin-bottom: 1.6em;
}
.breadcrumbs a,
.breadcrumbs a:visited {
	color: #1D355E;
}
.breadcrumbs a:hover {
	color: #46B978;
	text-decoration: none;
}

H2 a {
	color: #1D355E;
}
H2 a:focus, H2 a:active, H2 a:visited {
	text-decoration: none;
	color: #1D355E;
}

H2 a:hover {
	color: #46B978;
	text-decoration: none;
}


/* buttons */
.button,
.button:visited {
	text-transform: uppercase;
	color: #1D355E;
	padding: .6em 1.5em;
	font-size: 14px;
	margin-bottom: .5em;
	font-weight: 600;
	background-color: rgba(196, 219, 111, 1);
	border-radius: 5px;
}
.home-hero .button {
	margin-top: 1.5em;
	display: inline-block;
	font-size: 16px;
}

.button:hover{
	text-decoration: none;
	background-color: rgba(196, 219, 111, 0.5);
}
.ways-to-give .button:hover {
	background-color: #fff;
}
/* .fundholder-button {
	border: 1px solid #979797;
}
.fundholder-button:hover {
	border: 1px solid #46B978;
} */
.button-outline,
.button-outline:visited {
	text-transform: uppercase;
	color: #1D355E;
	padding: .6em 1.5em;
	border: 1px	solid #fff;
	font-size: 14px;
	margin-bottom: .5em;
	font-weight: 600;
	display: inline-block;
}



.blue-green {
	border: 1px	solid #C4DB6F;
	color: rgba(29, 53, 94, 1);
}
.button-outline:hover {
	color: #fff;
	background-color: rgba(29, 53, 94, 0.5);
	text-decoration: none;
}


p.learn-more {
	color: #46B978;
}

a.learn-more::after,
p.learn-more::after {
	content: "\e900";
	font-family: 'icomoon' !important;
	margin-left: 1em;
	font-size: .8em;
}
/* external link Icon */
.external::after {
content: "\e901";
font-family: 'icomoon' !important;
margin-left: .5em;
}
.external-left::before {
	content: "\e901";
font-family: 'icomoon' !important;
margin-right: .5em;
display: inline-block;
/* font-size: 1.2em; */
font-weight: 400;
color: #fff;
}
.external-left:hover::before {
	color: #1D355E;
}
a.external:visited {
	color: #46B978;
}
.external-tool::before {
	content: "\e904";
	font-family: 'lm' !important;
	margin-right: .5em;
	display: inline-block;
	color: #fff;
}
.event-link::before {
	content: "\e903";
	font-family: 'lm' !important;
	vertical-align: middle;
	margin-right: .5em;
	display: inline-block;
	color: #fff;
}
.fundholder-button::before {
	content: "\e902";
	font-family: 'lm' !important;
	vertical-align: middle;
	margin-right: .5em;
	display: inline-block;
	color: #fff;
}

.event-link:hover::before,
.external-tool:hover::before,
.fundholder-button:hover::before  {
	color: #1D355E;
}
.white::before {
	color: #fff;
}
/* special link */
.sidebar-special-link,
.sidebar-special-link:visited {
	font-size: 14px;
	font-weight: 700;
	color: #1D355E;
	text-transform: uppercase;
	border-top: 1px solid #C4DB6F;
	border-bottom: 1px solid #C4DB6F;
	padding: 1em 1.5em;
	display: block;
}
.sidebar-special-link:hover  {
	text-decoration: none;
	color: #46B978;
}
.sidebar-special-link:hover::after  {
	content: "\e900";
	font-family: 'icomoon' !important;
	font-size: 12px;
	margin-left: 1em;
	color: #46B978;

}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	/* float: left; */
	/* width: 100%; */
}

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

.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;
	background-color: #FFF;
}
.main-navigation ul ul.sub-menu li.menu-item-has-children a::after {
	content: "\e900";
    font-family: 'lm' !important;
    font-size: 14px;
    color: #C4DB6F;
    margin-left: 1em;
    display: inline-block;
		transform: rotate(-90deg);
}
.main-navigation ul ul.sub-menu li.menu-item-has-children ul a::after {
	content: ""
}
.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%; */
	position: relative;
	right: 0;
}
.main-navigation ul ul li ul.sub-menu {
	box-shadow: none;
	right: 0;
	left:0;
	position: relative;
}
.main-navigation ul ul a {
	width: 200px;
}

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

.main-navigation li {
	float: left;
	position: relative;
	padding: .5em 1em;
}
.main-navigation li.current-menu-item > a {
	color: #46B978;
}
.main-navigation li:first-child {
	/* padding-left: 0; */
}

.main-navigation a,
.header-tools a  {
	display: inline-block;
	text-decoration: none;
	color: #4A4A4A;
	/* padding: .5em 1em; */
	font-weight: 400;
	font-size: 16px;
}
.main-navigation a:hover  {
	color: #46B978;
}
.header-tools a:hover  {
	color: #1D355E;
}
.nav-menu {

}


/* Header Tools */
.header-tools {
	display: grid;
	background-color: rgba(95, 126, 149, 0.65);
	justify-items: end;
}
.header-tools ul {
	list-style: none;
	margin: 0 40px 0 0;
}
.header-tools li {
	float: left;
	position: relative;
	padding: .15em .75em;
}

.header-tools a {
	color: #fff;
	font-size: 14px;
	font-weight: 400;
}
.main-navigation .menu-item-has-children a::after {
	content: "\e900";
	font-family: 'lm' !important;
	font-size: 14px;
	color: #C4DB6F;
	margin-left: 1em;
	display: inline-block;
}
.main-navigation .menu-item-has-children .sub-menu a::after {
	display: none;
}
/* header search */
.site-header .search-form {
    position: absolute;
    right: 0;
    /* top: 0px; */
}
.site-header .search-field {
		background-color: transparent;
		background-color: transparent;
		background-image: url(images/search-white-icon.png);
		background-position: 5px center;
		background-repeat: no-repeat;
		background-size: 15px 15px;
		border: none;
		cursor: pointer;
		height: 37px;
		margin: 0;
		padding: 0 0 0 34px;
		position: relative;
		-webkit-transition: width 400ms ease, background 400ms ease;
		transition:         width 400ms ease, background 400ms ease;
		width: 0;
}
.site-header .search-field:focus {
    background-color: #fff;
    border: 1px solid #979797;
		border-radius: 0;
    cursor: text;
    outline: 0;
    width: 230px;
}
.search-form
.search-submit {
display:none;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
.menu-toggle {
	display: block;
	background-color: transparent;
	border: none;
	font-size: 0;
	position: absolute;
right: 0;

}
.menu-toggle::before {
	content: "\e903";
	font-family: 'lm' !important;
	font-size: 30px;
	color: rgba(29, 53, 94, .8)
}
.home .menu-toggle {
	/* display: none; */
}
.home .sticky-menu .menu-toggle {
	display: block;
}


@media screen and (min-width: 41em) {
 .menu-toggle {
		display: none;
	}
	.home .sticky-menu .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 {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

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

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

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 2.5em;
	/* Make sure select elements fit in widgets. */
}

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

/*--------------------------------------------------------------
# structure
--------------------------------------------------------------*/
.site,
.site-info {
	max-width: 1400px;
	margin: 0 auto;
}

/* .site-branding, */
.site-content
/* .main-navigation  */ {
	/* max-width: 1200px; */
	margin: 0 6%;
}
.site-branding {
	padding: 0;
}
.site-content {
	margin-top: 4%;
}
.single-ocf-giveoakville .site-content,
.tax-charities-category .site-content,
.post-type-archive-ocf-giveoakville .site-content {
	margin-top: 0;
}
.home .site-content {
	margin-top: 0;
}


.site-footer {
	background-color: rgba(29, 53, 94, 1.0);
	margin-top: 0;
}
/* miss style */

/* header grid */

.header-wraper {
	display: grid;
	grid-template-columns: 15% 80%;
	grid-gap: 5%;
	margin: 30px 84px;
	border-bottom: 1px solid rgba(95,126,149, 1);
	/* grid-template-areas: site-branding main-navigation; */
}


.nav-col {
    justify-self: center;
		align-self: end;
}
/* header */
.site-header {
	padding: 0;
	position: relative;
	background-color: #fff;
}
/* .home .site-header {
	padding: 2.75em 0;
} */
.home .sticky-menu.site-header {
	padding: .5em 0;
}

/* re-position main menu */
.menu-header-menu-container {

}
.sticky-menu .menu-header-menu-container {
	top: 2.25em;
}
.sticky-menu .header-tools {
    /* top: 1em; */
		display: none;
}

.site-title a  {
	text-indent: -999999px;
	display: block;
}
p.site-title {
	margin: 0;
}
.site-title a {
	background-image: url("images/ocf-colour.png");
	background-repeat: no-repeat;

	width: 100%;
min-height: 84px;
background-size: contain;

}

/* sticky menu */
.sticky-menu {
	/* background-color: #F1F3F5; */
box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.2);
position: fixed;
top: 0;
right: 0;
left: 0;
margin-right: auto;
margin-left: auto;
z-index: 1030;
padding: .5em 0;
/*  */
/* max-width: 1410px; */
width:100%;
-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.fix-body {
  /* margin-top: 90px; */
}

.sticky-menu .site-title a {
	background-image: url("images/ocf-icon-colour.png");
	background-repeat: no-repeat;
	width: 40px;
	height: 44px;
	min-height: 44px;
}
body.home .sticky-menu .site-title {
	display: block;

}
body.home .sticky-menu .menu-header-menu-container,
/* .sticky-menu .menu-header-menu-container  */
{
	display: block;
	top:0;
}

.sticky-menu .header-wraper {
	grid-template-columns: 7% 90%;
	grid-gap: 3%;
	margin: 0 84px;
	border: none;
	/* grid-template-areas: site-branding main-navigation; */
}




/* home hero */
.home-hero {
	position: relative;
	min-height: 360px;
	display: flex;
}
.line {
	height: 1px;
	margin: 30px 84px;
	background-color: rgba(95,126,149, 1);
}

.news .line {
	margin: 5.5em 20% 0;
}

.hero-statment-content {
	/* default */
	display: flex;
  align-items: center;
	flex:30%;
}
.hero-statment {
	/* padding: 6% 0 6% 10%; */
	/* padding-left: 84px;
	padding-right: 84px; */
	padding: 40px 84px;

}
.hero-statment h1 {
	margin: 0;
	/* default */
	color: #FFF;
}
.hero-statment p {
	font-size: 16px;
	margin-top: 0;
	/* default */
	color: #FFF;
}
.page-template-page-initiatives .hero-statment p {
	font-size: 16px;
	font-weight: 400;
	color: #333;
}
.hero-media {
	width:60%;
	background-repeat: no-repeat !important;
	background-position: center !important;
}
.page-template-page-initiatives .hero-media {
	height: 100%;
	background-size: cover;
}


.hero-grid {
	display: grid;
	grid-template-columns: 80% 15%;
	grid-gap: 5%;
}

.home-content {
	text-align: center;
	padding: 0 15%;
}
a.hero_link {
	display: flex;
	height: 100%;
	align-items: center;
}
a.hero_link:hover,
a.hero_link:hover .hero-statment h1 {
	text-decoration: none !important;
}


/* hero menu */
.menu-hero-menu-container {
	display: table;
	width: 100%;
	margin: 1em 0;
}

.menu-hero-menu-container ul {
	list-style: none;
	margin: 0;
	padding: 0 0 0 10%;
}
.menu-hero-menu-container li {
	float: left;
}
.menu-hero-menu-container a,
.menu-hero-menu-container a:visited {
	color: #fff;
	padding: .5em 2.5em .5em 0;
	font-weight: 300;
}
/* home style */
.home-container {
	position: relative;
	background: #fff;
	padding: 0;
}
/* home metrics */
.metrics {
	text-align: center;
	padding: 0 0 2.5em;
}
.metrics h2 {
	font-size: 23px;
	color: #5f7e95;
	font-weight: 700;
	margin-bottom: .2em;
}
.metrics h1 {
	font-size: 42px;
	margin-top: 0;
}
.counter {
	/* font-size: 42px;
    font-weight: 700;
    color: #1D355E;
		line-height: 1em; */
		display: inline-block;
}
.counter::before {
	content: '$'
}
/* slider area */
.slide-content {
	/* background-color: rgba(151,171,186,0.14);
	min-height: 244px; */
}

/* promo */
.promo-area {
	padding: 0;
	margin:  0 ;
}
.promo-area:nth-child(even) .flex-grid{
	flex-direction: row-reverse;
}
.promo-img {
	display: flex;
	flex:0 0 50%;
}
.promo-img img{
	display: block;
}
.promo-content {
	padding: 3.5em 3.5em;
	display: flex;
	align-items: center;
}

/* news-snippet */
.news {
	margin: 3.5em 0 7em;
}
.news-snippet {
	/* padding: 0 0 0 2em; */
	position: relative;
}
.news-snippet h3 {
	margin-top: 0;
	font-size: 24px;
}
a .news-snippet h3,
a .news-snippet p {
	color: #333;
}
.news a:hover  {
	text-decoration: none;
}
.news a:hover p.learn-more {
	text-decoration: none;
}
.news-snippet p.learn-more {
	color: #46B978;
}
.hover-bar {
	height: 2px;
	width:0%;
	background-color: #46B978;
	-webkit-transition: .25s ease-out;
	-moz-transition: .25s ease-out;
	-o-transition: .25s ease-out;
	transition:  .25s ease-out;
}
.news a:hover .hover-bar {
	width: 100%;
}

/* .news-snippet .entry::before {
	content: '';
	position: absolute;
	left: 0px;
	top: 0;
	bottom: 65%;
	border-left: 3px solid #C4DB6F;
} */
/* ways to give */
.ways-to-give {
/* background-color: #F1F2ED; */
margin: 3.5em 0 ;
}
.ways-to-give h1 {
	margin-top: 0;
}
.ways-to-give header {
	text-align: center;
	padding: 2.5em 0 ;
}
.ways-to-give .featured {
	background-image: url('images/ways-to-give-bg.jpg');
	padding: 2.5em 0;
}
.feature-item {
	background-color: #fff;
	text-align: center;
	padding: 1.5em 0;
}

.feature-item h2 {
	font-size: 22px;
	margin-bottom: .5em;
}
.feature-item p {
	margin: 0;
	font-size: 22px;
	color: #5f7e95;
}
.research-feature .feature-item {
	/* background-color: rgba(95, 126, 149, 0.5); */
	border-top: 1px solid #c5db6f;
	/* border-bottom: 1px solid #c5db6f; */
	padding: 1em 0;
	margin: 1em 0;
}
.research-feature .feature-item h2 {
	font-size: 18px;
}
.research-feature .feature-item a:hover,
.research-feature .feature-item a:visited {
	text-decoration: none;
}
.research-feature .feature-item a:hover h2,
.research-feature .feature-item a:visited h2 {
	color: #46B978;
}
.research-list {
	margin: 1.5em 0;
}
.ways-to-give a:hover {
	text-decoration: none;
}
.ways-to-give .feature-item {
	-webkit-transition: .25s ease-out;
-moz-transition: .25s ease-out;
-o-transition: .25s ease-out;
transition:  .25s ease-out;
	}

.ways-to-give .feature-item:hover {
	-webkit-box-shadow: 7px 7px 7px 0px rgba(0,0,0,.6);
	-moz-box-shadow: 7px 7px 7px 0px rgba(0,0,0,.6);
	box-shadow: 7px 7px 7px 0px rgba(0,0,0,.6);
}
.ways-to-give a p {
	color: #000;
}
.ways-to-give a p:hover {
	color: #46b978;
}
/* w-to-g icons */
.icons {
	/* margin-bottom: 2.5em; */
}

.icons p {
	font-weight: 700;
}
.memorial::before {
	content: url('images/memorial.png');
	display: block;
	opacity: .7;
}
.businesses::before {
content: url('images/businesses.png');
display: block;
opacity: .7;
}
.families::before {
content: url('images/families.png');
display: block;
opacity: .7;
}
.charities::before {
content: url('images/charities.png');
display: block;
opacity: .7;
}
.advisors::before {
content: url('images/advisors.png');
display: block;
opacity: .7;
}
.memorial:hover::before,
.businesses:hover::before,
.families:hover::before,
.charities:hover::before,
.advisors:hover::before {
	opacity: 1;
}


.icons > div,
.grid-3col-wtg-links > div {
 margin: 0 1em 1.5em;
}


/* featured funds */
.featured-fund.grid-3col {
	margin-bottom: 3.5em;
}

.featured-fund-icon .entry {
	padding: 0 0 0 1.75em;
}
.featured-fund-icon::before {
	content: "\e903";
	font-family: 'icomoon' !important;
	color: #C4DB6F;
	position: absolute;
}

.featured-fund h1 {
	font-size: 24px;
	color: #000;
}
.featured-fund p {
	font-size: 14px;
}
/* booking form */
.booking-form {
	/* background-color: #F1F2ED;
	padding: 1em; */
	margin-top: 2.6em;
	border-top: 1px solid rgba(95, 126, 149, .5);
}
.booking-form h3 {
	font-size: 14px;
	text-transform: uppercase;
	color: rgba(95, 126, 149, 1);
	margin: 1.6em 0 2.6em;;

}
.form-notes {
	font-size: 14px;
	color: #333;
}
.flex-grid {
	display: flex;
}
.grid-2col{
	display: grid;
  grid-gap: 6%;
  grid-template-columns: 47% 47%;
}
.grid-2col-promo {
	display: grid;
  grid-gap: 0;
  grid-template-columns: 50% 50%;
}

.grid-3col{
	display: grid;
  grid-gap: 50px;
	grid-template-columns: 1fr 1fr 1fr
  /* grid-template-columns: 30% 30% 30%; */
}
.page-template-page-initiatives .grid-3col {
	/* row-gap: 2.5%; */
}
.staff {
	margin-bottom: 3em;
}
.staff div {
	margin-bottom: 1em;
}
.grid-1-2col {
	display: grid;
	grid-gap: 5%;
	grid-template-columns: 30% 65%;
}
.grid-2-1col {
	display: grid;
	grid-gap: 5%;
	grid-template-columns: 65% 30%;
}
.grid-4col {
	display: flex;
	justify-content: center;
	    flex-wrap: wrap;
}
.grid-3col-wtg-links {
	display: flex;
	justify-content: center;
	    flex-wrap: wrap;
}
/* .grid-footer {
	display: flex;
	justify-content: space-between;
	margin: 0 6%;
} */

/*--------------------------------------------------------------
## sidebar
--------------------------------------------------------------*/
h2.widget-title {
	font-weight: 400;
	text-transform: none;
	font-size: 18px;
	color: #000;
	border-bottom: 1px solid rgba(95, 126, 149, .3);
	padding: 0 0 20px 10px;
	margin-bottom: 20px;
}
.widget ul {
	margin: 0;
	list-style: none;
	padding: 0 0 0 10px;
}

.widget ul li {
	margin-bottom: .8em;
}

/* widget menu */
.widget_nav_menu ul li a,
.widget ul li a {
	font-size: 16px;
	color: #4A4A4A;
	display: block;
	padding-left: 2em;
}
.widget_nav_menu ul li:hover a,
.widget ul li:hover a {
	color: #46B978;
	text-decoration: none;
}
.widget_nav_menu ul li::before,
.widget ul li::before {
content: "\e900";
font-family: 'icomoon' !important;
margin-right: 1em;
color: #a3a3a3;
/* test */
display: block;
float: left;
/* margin-bottom: 1.1em; */
}
.widget_nav_menu ul li:hover::before,
.widget ul li:hover::before  {
	color: #46B978;
}

.widget_nav_menu ul li.current-menu-item::before,
.widget ul li.current-menu-item::before,
.widget_nav_menu ul li.current_page_item::before,
.widget ul li.current_page_item::before {
	color: #46B978;
}
.widget a.button {
	width: 100%;
	display: table;
}

/* text widget links */
.widget .textwidget ul li::before {
	content: none;
}
.widget .textwidget ul {
	padding: 0;
	margin-bottom: 2.5em;
}
.widget .textwidget ul li {
	margin: 0;
}
.widget .textwidget ul li a {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 1em 1.5em;
	display: block;
	color: #1D355E;
	border-bottom: 1px solid #C4DB6F;
}
.widget .textwidget ul li:first-child a {
	border-top: 1px solid #C4DB6F;
}

/* events sidebar */
.sidebar-events {
	padding: 0 0 20px 10px;
}
.sidebar-events h1 {
	font-size: 22px;
	font-weight: 400;
	color: #000;
	margin-bottom: .25em;
}
.sidebar-events a:hover {
	text-decoration: none;
}
.sidebar-events a h1:hover {
	color: #46B978;
}
.sidebar-events a:hover h1::after {
	content: "\e900";
	font-family: 'icomoon' !important;
	margin-left: 1em;
	font-size: .85em;
	color: #46B978;
}
.sidebar-events p {
	font-size: 14px;
	color: #4A4A4A;
	margin-top: 0;
	margin-bottom: .25em;
}
p.date {
	color: #5f7E95;
	font-weight: 700;
}
.sidebar-events .entry {
	margin: 0 0 2em;
}
/* events popup */
.pum-theme-180 .pum-title, .pum-theme-enterprise-blue .pum-title {
	font-weight: 700 !important;
	color: #1D355E !important;
	margin-top: 1em !important;
}
.pum-theme-180 .pum-content + .pum-close, .pum-theme-enterprise-blue .pum-content + .pum-close {
	background-color:  #1D355E !important;
}
.event-item {
	margin: 1em 0 0;
	padding: 1em 0;
	border-top: 1px solid #ddd;
}
.events-lists.pop-up h2 {
	margin-bottom: 0px;
}
.events-lists.pop-up p {
	margin: .5em 0;
}



/*--------------------------------------------------------------
## Footer styles
--------------------------------------------------------------*/


.site-footer {
	color: #fff;
}
.footer-content {
	margin: 3.5em 84px;
}
.footer-branding, .footer-social, .footer-menu, .footer-signup {
	text-align: left;
	padding: 2em 0;
}
.footer-branding {
	/* margin-top: 2em; */
}
.footer-social {
	margin-top: .25em;
	font-size: 1.5em;
}
.footer-social a {
	margin: 0 .15em;
	color: rgba(95, 126, 149, 1);
}
.footer-social a:hover {
	color:#fff;
	text-decoration: none;
}
.copyright {
	font-size: 11px;
	text-align: center;
	margin-top: 2em;
}
/* footer menu */
.menu-footer-menu-container ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu-footer-menu-container ul a,
.menu-footer-menu-container ul a:visited {
	color: #fff;
}

/* Centered version */
.footer-branding,
.footer-social,
.footer-menu {
}
.footer-branding img {
	max-width: 100px;
}
.footer-social {
	padding: 0;
}
.footer-branding {
	padding: 1.5em 0 .5em;
}
.footer-menu {
	padding: 1.5em 0;
}
.menu-footer-menu-container li {
	/* display: inline-block;
	border-right: 1px solid rgba(255, 255, 255, .2);; */
}
.center-footer .menu-footer-menu-container li:last-child {
	border-right: none;
}

.center-footer .menu-footer-menu-container ul a {
	padding: .4em .8em;
}


/*--------------------------------------------------------------
## Initiatives Feature styles
--------------------------------------------------------------*/
.initiatives-feature {
	margin: 3.5em 0 6.5em;

}
.page-template-page-initiatives .site-content {
	margin-top: 0;
}
.initiatives-feature a,
.initative-item a {
	color: inherit;
}
.initiatives-feature a:hover,
.initative-item a:hover {
	text-decoration: none;
}
.initiatives-feature a:hover .initative-block {
	box-shadow: 0px 2px 50px 0px rgba(0,0,0,0.3);
}
.initiatives-feature a:hover .learn-more {
	text-decoration: underline;
}

.initiatives-feature .entry {
	position: relative;
	background-color: #fff;
	/* margin: 1.5em 0 0 1.5em; */
	padding: 1.5em;
	text-align: center;
}
.initative-item .entry {
	position: relative;
	background-color: #fff;
	padding: 1.5em 2.5em;
	height: 100%;
  margin-top: 2.5em;
}

.home-initative {

}
.initative-block {
	border: 1px solid #97abba;
	background-color: #fff;
	box-shadow: 0px 2px 50px 0px rgba(0,0,0,0.1);
	height: 100%;
		-webkit-transition: .25s ease-out;
    -moz-transition: .25s ease-out;
    -o-transition: .25s ease-out;
    transition: .25s ease-out;
}
/*
.initiatives-feature .entry::after {
	content: "\e900";
	font-family: 'icomoon' !important;
	color: #46B978;
	position: absolute;
	top:1.5em;
	right:0;
}
.initative-item .entry::after {
	content: "\e900";
	font-family: 'icomoon' !important;
	color: #46B978;
	position: absolute;
	top:1.5em;
	left:1em;
} */
/* Initiative list */
.initative-item {
	/* display: grid;
	grid-template-columns: 4fr 30px 12fr;
	max-width: 795px;
	margin-bottom: 1.5em; */
}
.initative-item  div:nth-child(1) {
		/* grid-row: 1;
		grid-column: 1 / span 2;
    z-index: 2; */
}
.initative-item  div:nth-child(2) {
		/* grid-row: 1;
		grid-column: 2 / span 2;
		z-index: 2; */
}


/*--------------------------------------------------------------
## about feature
--------------------------------------------------------------*/

.about-feature {
	margin-bottom: 2.5em;
}

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

.post,
.ocf-funds,
.ocf_events {
	margin: 0 0 1.5em;
}
.page {
	margin: 0;
}


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

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-template-page-initiatives .entry-content {
	margin-top: 0px;
}
.entry-content.post-list {
	margin-top: 0;
	border-bottom: 1px solid rgba(95, 126, 149, .3);
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.hentry .post-thumbnail {
	margin-bottom: 2.5em;
}
.single-ocf_initative .hentry .post-thumbnail {
	margin-bottom: 0;
}
.single-ocf_initative .hentry .post-thumbnail img {
	display: block;
}
.initiative-header {
	margin-bottom:2.5em;
}

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

/* 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;
}
/*--------------------------------------------------------------
## animation
--------------------------------------------------------------*/
.hidden{
     opacity:0;
}
.visible{
     opacity:1;
}


/*--------------------------------------------------------------
## e-card
--------------------------------------------------------------*/

.ecard .grid-3col {
	margin-top: 80px;
}
.ecard .grid-3col div {
	text-align: center;
	padding: 5px;

}
.ecard .grid-3col div img {
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.ecard .button {
	display: inline-block;
	margin-top: 20px;
	margin-bottom: 20px;
}

/*--------------------------------------------------------------
## GiveOakville
--------------------------------------------------------------*/
.giveoakville-header {
	background-image: url('images/header-giveoakville.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	min-height: 297px;
	color: #fff;
	text-align: center;
	display: flex;
	align-items: center;
  justify-content: center;
}
.giveoakville-header h1 {
	color: #fff;
	font-size: 52px;
	margin-bottom: 0px;
}
.giveoakville-header h3 {
	font-size: 32px;
	margin-top: 0px;
}
.giveoakville-categories {
	margin-top: -50px;
	text-align: center;
}
.tax-charities-category .giveoakville-categories,
.single-ocf-giveoakville .giveoakville-categories {
	margin-top: 80px;
}

.giveoakville-categories::before {
	content: url(images/giveoakville-badge.png);
}
.tax-charities-category .giveoakville-categories::before,
.single-ocf-giveoakville .giveoakville-categories::before {
content: none;
}

.giveoakville-categories h2 {
	text-transform: none;
	color: #1D365F;
	font-weight: 700;
}
ul.charity-cats {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 10%;
	margin: 50px 0;
	padding: 0;
}
ul.charity-cats li {
	line-height: 18px;
	max-width: 120px;
}
ul.charity-cats li a {
	text-decoration: none
}
ul.charity-cats li a:hover {
	color:#46B978;
}
ul.charity-cats li a::before {
	display: block;
	padding-bottom: 20px;
}
li.arts-culture-heritage a::before {
	content: url(images/giveoakville-icons/art-culture-heritage.png);
}
li.children-youth-families a::before {
	content: url(images/giveoakville-icons/families.png);
}
li.community a::before {
	content: url(images/giveoakville-icons/community.png);
}
li.environment-and-animal-rights a::before {
	content: url(images/giveoakville-icons/environment.png);
}
li.education-employment a::before {
	content: url(images/giveoakville-icons/education-employment.png);
}
li.health-and-wellness a::before {
	content: url(images/giveoakville-icons/health-wellness.png);
}

.charity-cats a {
	color: #000;
}
.giveoakville-faq {
	background-color: rgba(96, 128, 150, .2);
	text-align: center;
	padding: 1em 3em;
	margin: 40px 0;
}
.charity-list {
	display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 30px;
	padding:  80px 0;
}
.charity-card {
	text-align: center;
	height: 100%;
	position: relative;
	padding-bottom: 50px;
}
.charity-card img.attachment-post-thumbnail {
	width: 50%;
}
.charity-card .charity-logo {
	/* padding: 20px 0; */
	height: 180px;
	display: flex;
	align-items: center;
  justify-content: center;
}
.charity-card .charity-logo img {
	height: auto;
	width: 100%;
	filter: grayscale(100%);
	transition: all 0.3s ease;
}

.charity-cat {
 background-color: rgba(96, 128, 150, .75);
 color: #fff;
}
.cat-discription {
	padding-right: 200px;
	background-image: url('images/giveoakville-badge.png');
	background-repeat: no-repeat;
	background-position: right;
}
.charity-cat a {
	color: #fff;
}
.charity-content {
	padding: 20px 30px;
	transition: all 0.3s ease;
}
.charity-content h4 {
	font-size: 16px;
	margin-bottom: 0px;
}
.charity-content p {
	font-size: 14px;
	line-height: 20px;
}
.charity-content a {
	color: #000;
	text-decoration: none;
	transition: transform 0.3s ease-in-out;
}
.charity-content:hover {
	-webkit-box-shadow: 9px 9px 20px -5px rgba(214,214,214,1);
	-moz-box-shadow: 9px 9px 20px -5px rgba(214,214,214,1);
	box-shadow: 9px 9px 20px -5px rgba(214,214,214,1);
}
.charity-content:hover .charity-logo img {
	filter: none;
}


.charity-donate-button {
 position: absolute;
 bottom: 0;
 left: 0;
	right: 0;
}
.charity-donate-button a {
	background-color: #46B978;
	border-radius: 10px;
	padding: 10px 15px;
	color: #fff;
	transition: all 0.3s ease;
}
.charity-donate-button a:hover {
	text-decoration: none;
	padding: 13px 18px;
	-webkit-box-shadow: 9px 9px 20px -5px rgba(214,214,214,1);
	-moz-box-shadow: 9px 9px 20px -5px rgba(214,214,214,1);
	box-shadow: 9px 9px 20px -5px rgba(214,214,214,1);
}
.charity-donate-button a:visited {
	color: #fff;
	text-decoration: none;
}

.charity-cat-nav {
	background-color: #608096;
	display: flex;
	justify-content: space-between;
  width: 100%;
  padding: 20px 30px;
}
.charity-cat-nav .blank,
.charity-cat-nav .cat-links,
.charity-cat-nav .faq-link {
	flex: 1;
}
.charity-cat-nav .cat-links {
	text-align: center;
}
.charity-cat-nav .faq-link {
	text-align: right;
}
.charity-cat-nav .faq-link.home-link {
	text-align: left;
}
.charity-cat-nav .faq-link,
.charity-cat-nav .faq-link a {
	color: #fff;
}

.charity-grid {
	padding: 0 10%;
	display: flex;
	margin: 80px 0;
}
.charity-grid .charity-donate-button {
	position: relative;
	margin-bottom: 40px;
}
.charity-grid .charity-logo {
	flex: 0 0 300px;
}
.charity-grid .single-content {
	padding-left: 80px;
}
.single-content h1 {
	margin-bottom: 0;
}
.single-content iframe {
	margin-top: 40px;
}

.menu-charity-cartegory-container ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-charity-cartegory-container ul li.menu-item-has-children::after {
	content: "\e900";
    font-family: 'lm' !important;
    font-size: 14px;
    color: #46B978;
    margin-left: 0;
    display: inline-block;
}


.menu-charity-cartegory-container ul.sub-menu {
	display: none;
	position: absolute;
	z-index: 9999999999;
	transition: all 0.3s ease;
	background-color: #fff;
	background-color: #fff;
	width: 92%;
	left: 4%;
	padding-top: 5px;
	padding-bottom: 5px;
	-webkit-box-shadow: 9px 9px 20px -5px rgba(214,214,214,1);
	-moz-box-shadow: 9px 9px 20px -5px rgba(214,214,214,1);
	box-shadow: 9px 9px 20px -5px rgba(214,214,214,1);
}
.menu-charity-cartegory-container ul.menu {
	background-color: rgba(255, 255, 255, 0.85);
	padding: 5px;
	border-radius: 10px;
	position: relative;
}
.menu-charity-cartegory-container ul.sub-menu  li {
	padding: 4px 0;
}
.menu-charity-cartegory-container li.menu-item-has-children:hover > ul.sub-menu {
	display: block;
}
/* page nav */
.navigation ul {
	margin: 0;
	padding: 0;
}
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    color: #666;
    text-decoration:none;
}

.navigation li {
    display: inline;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    background-color: #eee;
    cursor: pointer;
    padding: 12px;
    padding: 0.75rem;
}

.navigation li a:hover,
.navigation li.active a {
    background-color: #ccc;
}
@media screen and (max-width: 1024px) {
.blank {
	display: none;
}
.charity-grid {
	padding: 0 5%;
	margin: 40px 0;
}
.charity-grid .single-content {
	padding-left: 40px;
}
}
@media screen and (max-width: 768px) {
	.giveoakville-header h1 {
		font-size: 42px;
	}
	.giveoakville-header h3 {
		font-size: 22px;
	}
ul.charity-cats {
	flex-wrap: wrap;
}
ul.charity-cats li {
	margin-bottom: 40px;
}
.charity-list {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 0;
}
.charity-grid {
	display: block;
	text-align: center;
}
.charity-grid .post-thumbnail {
	margin-bottom: 0;
}
.charity-grid .single-content {
	padding-left: 0px;
}
}
@media screen and (max-width: 767px) {
	.single-ocf-giveoakville .site-content,
	.tax-charities-category .site-content,
	.post-type-archive-ocf-giveoakville .site-content {
		margin: 0 2%;
	}
	.giveoakville-header h1 {
		font-size: 32px;
	}
	.giveoakville-header h3 {
		font-size: 18px;
	}
	.charity-list {
	    grid-template-columns: repeat(1, 1fr);

	}
	.menu-charity-cartegory-container ul.menu {
		display: table;
		width: 100%;
		text-align: center;
		margin: 20px 0;
	}
	.charity-cat-nav  {
		display: block;
	}
	.charity-cat-nav .faq-link,
	.charity-cat-nav .faq-link.home-link{
		text-align: center;
	}
	.menu-charity-cartegory-container li.menu-item-has-children {
		float: none;
	}
	.cat-discription {
    padding-right: 0px;
    background-image: none;
}

}



/*--------------------------------------------------------------
## media query
--------------------------------------------------------------*/

@media screen and (max-width: 1024px) {

/* header */
.home .site-header {
    /* padding: 2.25em 0; */
}
.site-title a {
	    /* height: 125px; */
		}
.header-wraper {
	grid-template-columns: 20% 80%;
}
.menu-header-menu-container {
	    top: 56%;
	}
.sticky-menu .menu-header-menu-container {
				    /* top: 1em; */
}
.header-tools {
	top:1em;
}.main-navigation li {
    padding: .5em .75em;
}
.hero-statment h1 {
	font-size: 28px;
}
.hero-statment-content {
    /* width: 55%; */
	}
.initiatives-feature.grid-3col,
.footer-content.grid-3col {
	grid-gap:2%;
	grid-template-columns: 32% 32% 32%;
}
.footer-menu .button.external-left {
	display: inline-block;
	display: inline-flex;
	max-width: 200px;

}

}

@media screen and (min-width: 768px) and (max-width: 1023px) {
	.hero-statment {
    padding: 20px 40px;
	}

	.home .initiatives-feature a:last-child {
		display: none;
	}
	.home .initiatives-feature.grid-3col,
	.page-template-page-initiatives  .initiatives-feature.grid-3col {
    grid-gap: 40px;
    grid-template-columns: 48% 48%;
}
 .home .news .grid-3col a:last-child {
	 display: none;
 }
 .home .news .grid-3col {
    display: grid;
    grid-gap: 50px;
    grid-template-columns: 1fr 1fr /* grid-template-columns: 30% 30% 30%; */;
}
 /* .page-template-page-initiatives  */

}

@media screen and (max-width: 768px) {
	.home .site-header {
    /* padding: .15em 0; */
	}
	.header-wraper {
	    margin: 20px 44px;
			/* grid-template-columns: 20% 75%; */
	}
	.sticky-menu .header-wraper {
    margin: 0 6% 0;
    grid-template-columns: 12% 82%;
}
	.menu-header-menu-container {
    top: 45%;
}
	.header-tools ul {
    float: right;
}
	.sticky-menu .header-tools {
		display: none;
	}
	.header-tools a {
		color: #fff;
	}
	.site-header .search-field {
		/* add white icon */
		    background-image: url(images/search-white-icon.png);
	}
.hero-statment-content {
	width: 55%;
}
.menu-hero-menu-container a, .menu-hero-menu-container a:visited {
	padding: .5em 1em .5em 0;
}
.hero-statment h1 {
	font-size: 25px;
}
.hero-statment p {
	font-size: 18px;
}
.metrics {
	padding: 0 0 .25em;
}
.metrics h2 {
	font-size: 18px;
}

/* fund search */
.search-item {
	margin: 0 .5em 0 0;
}
input[type="submit"] {
	margin-left: .5em;
}
.header-wraper {
    margin: 20px 44px;
    grid-template-columns: 25% 75%;
}
.hero-statment {
	padding: 20px 44px;
}
.line {
	margin: 20px 44px;
}
.home-content {
	padding: 0 44px;
}
h2.feature {
	font-size: 20px;
}
.initiatives-feature .entry {
	padding: 1em;
}
.news-snippet h3 {
	font-size: 20px;
}
.promo-content {
	padding: 1.5em;
}
.ways-to-give .site-content {
	margin: 0;
}
}
/* @media screen and (max-width: 655px) {

	.sticky-menu .site-title a {
    width: 50px;
    height: 50px;
}
button.menu-toggle {
	background: none;
	outline: none;
}
.main-navigation.toggled .menu-header-menu-container {
	top:0;
	z-index: 9999999;
	background-color: #fff;
	width: 100%;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	height: 500px;
	overflow: scroll;
}

.main-navigation li {
	float: none;
}
.main-navigation ul ul {
	position: relative;
	box-shadow: none;
	float: none;
	left: 0em;
}
.main-navigation ul ul a {
	font-weight: 400;
}
.news .grid-3col {
grid-template-columns: 100%;
}
.news-snippet {
	margin-bottom: 1.5em;
}
} */



@media screen and (max-width: 767px) {
	.slider-img {
		display: none;
	}
	.sticky {
		/* position: relative; */
	}
	.button-outline {
		display: block;
		text-align: center;
	}

	h1 {
		font-size: 30px;
	}
	.header-wraper {
	    grid-template-columns: 30% 65%;
			display: block;
			position: relative;
			margin: 12px 22px 20px;
			padding-bottom: 12px;
	}
	.sticky-menu .header-wraper {
		padding-bottom: 0;
	}
	.site-title a {
		min-height: 64px;
	}
	/* menu */
	.nav-col {
	position: absolute;
	width: 100%;
	top:0;
	}
	button.menu-toggle {
	    z-index: 9999999999;
			top: 0px;
			right: 10px;
			line-height: 1;
	}
	button.menu-toggle:hover {
		background-color: #fff;
	}
	.nav-menu {
		overflow-y: auto;
		height: 100vh;
	}
	li.menu-item-has-children {
		float:left;
	}
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		position: relative;
		width: 100%;
	}
	.main-navigation ul ul.sub-menu {
		box-shadow: none;
	}
	.main-navigation ul ul li.focus > ul {
	    left: auto;
	}


	.menu-header-menu-container {
		background-color: #fff;
		position: absolute;
		z-index: 999;
		width: 100%;
		top: 78px;
	}
	.main-navigation li {
		float: none;
	}

	.header-grid {
		display: block;
	  grid-gap: 0;
	  grid-template-columns: 100%;
	}
	.header-tools ul {
    padding: 0;
}
	.header-tools a {
    font-size: 12px;
}
	.cc-logo, .hero-content, .OCF-logo {
		text-align: center;
	}
	.OCF-logo img {
		position: relative;
		text-align: center;
	}
	.OCF-logo, .hero {
		margin-top: 1.6em;
	}
	.hero p {
		display: none;
	}

	.grid-2col,
	.grid-3col,
	.grid-1-2col,
	.grid-2-1col,
	.grid-4col {
	  grid-template-columns: 100%;
		grid-gap: 0;
	}
	.grid-1-2col div:first-child {
		margin-bottom: 1.5em;
	}

	.center-vert {
		position: relative;
		display: inline-block;
		margin-top: 1em;
		/* margin-bottom: 1.6em; */
	}
.home-container {
	margin-top: 1.5em;
}
.hero-statment-content {
    width: 100%;
    position: relative;
}
.hero-logo {
    position: absolute;
		top: 1em;
		left: 60%;
}
.hero-logo img {
	width: 80%;
}
/* hero menu */
.hero-statment-content {
	top:0;
}
.page-template-page-initiatives .hero-statment-content {
	display: block;
}
.home-hero {
	display: block;
}
.hero-media {
	width: 100%;
	height: 200px;
	background-size: cover;
}

.page-template-page-initiatives .hero-media {
	height: 200px;
}
.hero-statment {
    padding: 12px 22px;
}
.hero-statment p  {
	font-size: 18px;
}
.hero-statment .button {
	font-size: 14px !important;
	padding: .4em 1em !important;
}
/* fund search */
.fund-search {
	display: block;
}
.search-item {
	margin: 0 0 1em;
}
.fund-search.widget .search-item input[type="submit"] {
	margin: .5em 0 0 0;
}
.featured-fund div {
	margin-bottom: 1em;
}
.card {
	display: block;
}
.slide-content {
	text-align: center;
}
.slider-item img {
	margin: 0 auto;
}
.initiatives-feature.grid-3col,
.footer-content.grid-3col {
	display: block;
}
.initative-block {
	margin-bottom: 22px;
}
.initiatives-feature {
	margin: 44px 0;
}
.news .line {
	margin: 2.5em 10% 0;
}
.news-snippet {
	margin-bottom: 44px;
}
.news {
 margin: 2.5em 0;
}
.flex-grid {
	display: block;
	margin-bottom: 44px;
}
.promo-img {
	height: 200px;
}
.footer-content.grid-3col {
	margin: 12px 22px;
}
.footer-content.grid-3col button{
	margin: 0;
}
.footer-branding,
.footer-social,
.footer-menu
 {
	text-align: center;
}
}
@media screen and (max-width: 375px) {
	.header-tools ul {
    float: left;
    margin-left: 6%;
}
.fundholder-button {
    border: none;
}
.external-tool::before,
.event-link::before {
    content: "";

}
.header-tools li {
    padding: .15em .25em;
}
.search-item input[type="submit"] {
	margin: .75em 0 0 0;
}
}
@media screen and (max-width: 320px) {
	.header-tools ul {
    float: left;
    margin: 0 2%;
}

}
