﻿/*
Theme Name: frontend
Theme URI: http://underscores.me/
Author: yuelan
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frontend
Tags:

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.

frontend is based on Underscores http://underscores.me/, (C) 2012-2015 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 http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

# Normalize
# 
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

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

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	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%;
}

/*--------------------------------------------------------------
# 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 http://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. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

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

select {
	border: 1px solid #ccc;
}

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

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"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

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

a:visited {
	color: purple;
}

a:hover,
a:focus,
a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
## 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 li {
	float: left;
	position: relative;
}

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

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

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

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

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

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

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}



/* 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 {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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;
	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 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

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

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(shed) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

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

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

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## 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, /* Older / Newer Posts Navigation (always hidden) */
.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%;
}

/*--------------------------------------------------------------
## 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;
}
/* --------------------------------------------------------
   -------------------- STYLES MATANEL --------------------
   -------------------------------------------------------- */
 
/* -------------------- Menu -------------------- */
header#masthead{
	position:fixed;
	top:0;
	left:0;
	width: 185px;
	height:100vh;
	padding: 200px 10px 20px;
	background: #87634b;
	/*width: 70px;*/
}
.main-navigation{
	margin-bottom: 20px;
	/*display: none;*/
}
.main-navigation>div{
	height: 100%;
}
.main-navigation>div>ul{
	height: 100%;
}

.main-navigation>div>ul>li{
	clear: both;
	border-bottom: 1px solid #ccc;
	width: 100%;
}
.main-navigation>div>ul>li:last-child{
	border-bottom: none;
}
.main-navigation>div>ul>li .sub-menu>li{
	border-top: 1px solid #ccc;
	border-top: 1px solid white;
}
.main-navigation>div>ul>li .sub-menu>li a{
	margin-left: 25px;
	margin-left: 20px;

}
.main-navigation ul ul {
	box-shadow: none;
	position: static;
}
.main-navigation>div>ul>li a{
	min-height: 45px;
}
div.home-link{
	width: 100%;
	height: 200px;
	position: absolute;
	top: 0px;
	left:0px;
	background: white;
	border-right: 1px solid #ccc;
}
.home-link>a>img{
	display: block;
	margin: 50px auto;
}
.main-navigation>div>ul>li a, .main-navigation>div>ul>li a:visited{
	font-family: 'Open Sans', sans-serif;
	color:#444;
	color:white;
	font-size: 13px;
	line-height: 45px;
	word-spacing: -1px;	
}
.main-navigation>div>ul>li a:hover, .main-navigation >div>ul>li.current-menu-item > a{
	color:#8cb15e;
}
.encourage-culture>a{
	line-height: 24px!important;
	padding-top: 12px!important;
	padding-bottom: 12px!important;
}
.menu-item-has-children>a:after{
	content: " \f0d7";
	font-family: 'FontAwesome';
	font-size: 16px;
	margin-left:5px;
	color: #aaa;
	color: white;
}
.menu-item-has-children:hover > a:after{
	content: " \f0d8";
}
.menu-item-has-children .sub-menu li{
	visibility: hidden;
	opacity: 0;
	height: 0px;
	/*transform:translateY(-2em);*/
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
.menu-item-has-children .sub-menu a{
	width: 185px;
	width: 145px;
}
.encourage-fellows:before{
	content: url(images/encourage-fellows2.png);
	position: absolute;
	top: 12px;
}
.encourage-progress:before{
	content: url(images/encourage-progress2.png);
	position: absolute;
	top: 12px;
}
.encourage-culture:before{
	content: url(images/encourage-culture2.png);
	position: absolute;
	top: 12px;
}
.encourage-faith:before{
	content: url(images/encourage-faith2.png);
	position: absolute;
	top: 12px;
}
.matanel-award:before{
	content: url(images/matanel-award2.png);
	position: absolute;
	top: 12px;
}
.event:before{
	content: url(images/event2.png);
	position: absolute;
	top: 12px;
}
li.menu-item-has-children:hover > .sub-menu li{
	visibility: visible;
	opacity: 1;
	height: 45px;
}
.menu-item-has-children:nth-of-type(2):hover > .sub-menu li:nth-of-type(3){/*sub item encourage culture*/
	height: 73px;
}
#small-menu-bg{
	display: none;
	padding:0px 40px;
	height: 80px;
	width: 100%;
	background: #87634b;
}
#small-menu-bg>a{
	background: white;
	height: 100%;
	display: inline-block;
	margin-left: -40px;
	padding: 0 40px;
	width: 172px;
	border-bottom: 1px solid #ccc;
}
#small-menu-bg>a img{
	height: 66px;
    margin-top: 7px;
}
#small-menu-bg div.bars{
	float:right;
	vertical-align: top;
	width: 40px;
	height: auto;
	margin-top: 22px;
	cursor: pointer;
}
#small-menu-bg div.bars>div{
	display: block;
	width: 100%;
	height: 2px;
	background: #855733;
	background: white;
}
#small-menu-bg div.bars>div:first-of-type, #small-menu-bg div.bars>div:nth-of-type(2){
	margin-bottom: 15px;
}
.cross-rotate{
	-o-transform:rotate(45deg);
	-ms-transform:rotate(45deg);
	-moz-transform:rotate(45deg);
	-webkit-transform:rotate(45deg);
	transform:rotate(45deg);
	margin-top:21px;
	-o-transition:.2s;
	-ms-transition:.2s;
	-moz-transition:.2s;
	-webkit-transition:.2s;
	transition:.2s;
}
.cross-rotate2{
	-o-transform:rotate(-45deg);
	-ms-transform:rotate(-45deg);
	-moz-transform:rotate(-45deg);
	-webkit-transform:rotate(-45deg);
	transform:rotate(-45deg);
	margin-top:-17px;
	-o-transition:.2s;
	-ms-transition:.2s;
	-moz-transition:.2s;
	-webkit-transition:.2s;
	transition:.2s;
}
.cross-rotate-reset{
	-o-transform:rotate(0deg);
	-ms-transform:rotate(0deg);
	-moz-transform:rotate(0deg);
	-webkit-transform:rotate(0deg);
	transform:rotate(0deg);
	-o-transition:.2s;
	-ms-transition:.2s;
	-moz-transition:.2s;
	-webkit-transition:.2s;
	transition:.2s;
}
/* -------- Login -------- */
.login-box{
	clear: both;
}
.login-box>p{
	display: none;
}
.login-box ul{
	margin: 0;
	padding-left: 0;
}
.login-box li{
	list-style: none;
	width: 100%;
}
.login-box li a{
	display: block;
	color: #444;
	color: white;
	border-radius: 5px;	
	font-size: 14px;
	word-spacing: -1px;	
	width: 100%;
	border: 1px solid white;
	text-decoration: none;
	padding:3px;
}
.login-box li a:before{
	content: "\f007";
	font-family: 'FontAwesome';
	margin: 0px 5px;
}
.login-box li:hover > a{
	border-color: #8cb15e;
	color:#8cb15e; 
}
/* -------- Searchbar -------- */
#masthead form.search-form{
	height: auto;
	display: inline-block;
	margin-top: 20px;
	width: 100%;
}
#masthead form.search-form label input.search-field{
	color: #444;
	border-radius: 5px;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	word-spacing: -1px;	
	width: 204px;
	width: 157px;
	outline: none;
}
#masthead form.search-form label input.search-field:hover{
	border-color: #8cb15e;
}
#masthead form.search-form label input.search-field::-moz-placeholder:before{
	content: '\f002';
	font-family: 'FontAwesome';
	margin: 0px 5px;
}
#masthead form.search-form label input.search-field:-ms-input-placeholder:before{
	content: '\f002';
	font-family: 'FontAwesome';
	margin: 0px 5px;
}
#masthead form.search-form label input.search-field:-moz-placeholder:before{
	content: '\f002';
	font-family: 'FontAwesome';
	margin: 0px 5px;
}
#masthead form.search-form label input.search-field::-webkit-input-placeholder:before{
	content: '\f002';
	font-family: 'FontAwesome';
	margin: 0px 5px;
}
#masthead form.search-form input.search-submit{
	display: none;
}
#masthead>p#copy{
	margin-top:30px;
	color: #777;
	color: white;
    font-size: 12px;
    font-weight: normal;
}
/* ----------------- Search results -------------------- */
article.searchresults{
	width: 100%!important;
	height: auto!important;
	display: block;
	border-bottom: 1px solid #ccc;
	border-right: none;
	text-align: left!important;
	padding: 20px;
	margin-bottom: 0px;
	overflow: visible!important;
}
article.searchresults:last-of-type{
	border-bottom: none;
}
article.searchresults h2{
 	color: #aaa;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	font-variant: small-caps;
 }
article.searchresults h3 a{
	text-decoration: none;
	color: #444;
}
article.searchresults h3 a:hover{
	text-decoration: underline;
	color: #8cb15e;
}
article.searchresults ul{
	margin-left: 20px;
}
article.searchresults ul li{
	list-style: none;
}
article.searchresults ul li:before{
	content: url(/wp-content/uploads/2016/10/pdfIcon.png);
	margin-right: 5px;
}
article.searchresults ul a{
	font-size: 0.95rem;
	text-decoration: none;
	color: #444;
}
article.searchresults ul a:hover{
	color:#8cb15e;
	text-decoration: underline;
}
/* -------------------- Homepage -------------------- */
.highlight {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row nowrap;
	flex-flow: row nowrap;
	-webkit-justify-content: center;
	justify-content: center;
	overflow: hidden;
	display: none;
}

.hl_text {
	background-color: #8cb15e;
	-webkit-flex:5;
	flex:5;
}
.hl_image{
	-webkit-flex:5;
	flex:5;
	background-color: #8cb15e;
}
.hl_image>img{
	width: 100%;
}
.teaser {
    color: #fff;
    font-style: italic;
    height: 200px;
     height: 170px;
	overflow-y:scroll;
}
.teaser p {
	margin-bottom: 0;
	font-size: 0.9rem;
}
.teaser h3 {
	font-style: normal;
	margin-top: 0px;
	font-size: 16px;
}

h2.title_section {
	color: #444;
	font-family: 'Open Sans', sans-serif;
	font-size: 20px;
	font-size: 18px;
	margin-top: 5px;
	font-weight: 400;
	font-variant: small-caps;
	position: relative;
	text-transform: capitalize;
}
.highlight h2{
	color: #444;
}
a.read_more {
	border: 1px solid #fff;
	border-radius: 8px;
	color: #fff;
	padding: 8px;
	text-decoration: none;
	display: block;
	text-transform: uppercase;
	text-align: center;
	width: 40%;

	margin: auto;
	height: 38px;
	position: relative;
	top: -5px;
	font-size: 0.9rem;
}
.activities {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	margin-bottom: 1px;
	position: relative;
}
.activities>div .activity-picture ul.activity-description{
	height: 100%;
}
.activities>div .activity-picture ul.activity-description>li h3{
	text-align: left;
	margin-bottom: 0px;
}
.activities>div .activity-picture ul.activity-description>li p.project-location{
	line-height: normal;
	margin-top: 5px;
}
.activities>div .activity-picture ul.activity-description>li img{ 
	vertical-align: middle;
	display: inline-block;
}
.activity-icon {
	background-color: #fff;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	z-index: 300;
}
.activity-icon>a{
	text-decoration: none;
    text-align: center;
}

h2.activity-type {
    text-align: center;
	width:100%;
	font-size: 1.3rem;
	margin-top: 0px;
}
.fellows h2.activity-type {
    	color: #FDB960;
}
.faith h2.activity-type {
    color: #EF5834;
}
.creativity-culture h2.activity-type {
    color: #80CAA0;
}
.progress h2.activity-type {
    color: #4DC7DD;
}
.activity-description>li>a div:not(.veil){
	z-index: 1000;
	position: absolute;
	bottom: 0px;
	text-align: left;
}
h3.hp-project-title, .activities .project-location {
	
    margin-left: 50px;
    margin-right: 50px;
}
a.project-info {
    	color: #fff;
    	font-size: 0.9rem;
}
h3.hp-project-title {
	top: 30px;
	line-height: 1.2em;
}
.activities .project-location {
	top: 110px;
}
.activity-description {
	padding: 0;
	margin: 0;
}

.fellows .bx-wrapper img {
	margin-top: 1px;
}
.veil {
	z-index: 800;
	position: absolute;
	width: 100%;
	top: 0;
} 
.fellows .veil {
    background-color: rgba(253,185,96,0.7);
}
.progress .veil {
    background-color: rgba(95,196,225,0.7);
}
.faith .veil {
	background-color: rgba(239,88,52,0.7);
}
.creativity-culture .veil {
	background-color: rgba(128,202,160,0.7);

}

.triangle-down {
	width: 0; 
	height: 0; 
	border: 25px solid #fff; 
	border-left-color: transparent; 
	border-right-color: transparent; 
	border-bottom-color: transparent;
	position: absolute;
	top: 49.5%;
	left: calc(50% - 25px);
	z-index: 900;
}
div#centre{
	
	position: absolute;
    top: 200px;
    left: 33.333%;
    height: 200px;
    width: 33.333%;
    overflow: hidden;
  
}
div#centre div.hl_color{
	position: absolute;
	top: 0;
	left:0;
	background: black;
	height: 100%;
	width: 100%;
	opacity: 0.2;
	z-index: 0;
}
div#centre div.hl_title{
	position: absolute;
	top: 0;
	background: #8cb15e;
	padding: 0 15px;
	font-size: 14px;
	color: white;
	line-height: 1.2rem;
	height: 28px;
	z-index: 1;
}
div#centre h2{
	margin: 5px 0px;
	color: white;
}
div#centre h3{
	margin-top: 120px;
    text-shadow: 0px 0px 0px #000;
    letter-spacing: 1px;
}

.hp-block2-container {
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
	justify-content: space-between;
}
.hp-block2-container > div{
	
	padding: 15px;
}
.hp-block2-container h2.title_section {
	font-size: 1.1rem;
	margin-top: 0px;
}
.hp-block2-container h2.title_section:before {
	border-bottom: 3px solid #8cb15e;
}
.hp-sayings p:first-of-type, .hp-sayings .saying {
	font-family: 'Merriweather', serif;
    	font-style: italic;
    	font-size: 1rem;
    	margin-top: 50px;
}
.hp-sayings p:first-of-type::before, .hp-sayings .saying::before {
    	content: url(images/quotation-marks.png);
    	display: block;
}
.hp-sayings p.saying-origin:before {
    	content: "-";
	font-size: 1.2rem;
	display: initial;
}
.hp-sayings p.saying-origin {
	text-align: right;
	font-style: normal;
    font-family: inherit;
	font-size: 1rem;
}
.hp-testimonials img {
	width: 100px;
	border-radius: 50%;
	display: block;
	margin: 5px auto;
}
.hp-testimonials p.testimonial-project, .hp-testimonials p.testimonial-name {
    	text-align: center;
    	margin: 0;
}
.hp-testimonials .testimonial-excerpt p {
	font-size: 0.9rem;
}
.hp-testimonials .testimonial-excerpt {
	margin-bottom: 10px;
	/*height: 215px;*/
}
.hp-testimonials .testimonial-excerpt a {
	margin-bottom: 5px;
	font-size: 11px;

	background: none;
	box-shadow: none;
	padding: 8px 15px;
	font-size: 15px;
	text-transform: uppercase;
	border: 2px solid #754c29;
	text-shadow: none;
	border-radius: 5px;
	font-weight: bold;
	height: 35px;
	text-decoration: none;
	color: #754c29;
}
.hp-publications img{
	display: block;
	margin: auto;
	border: 1px solid #eee;
}
.hp-publications a.title_publication {
    font-size: 1rem;
    text-align: center;
    margin: 15px 0 10px;
    text-decoration: none;
    color: #444;
}
.hp-publications .about {
	margin: 0;
}
.hp-publications .about{
    font-size: 0.85rem;
    font-size: 16px;
    margin-top: 0;
}
.home #content {
	position: relative;
}
.hp-news > div.news-chronicles{
	text-align: center;
	border-bottom: 1px solid #ccc;
	padding-bottom: 20px;
}
.hp-news > div.news-chronicles:last-of-type{
	border:none;
}
.hp-news #chronicle-origin{
	font-size: 16px;
	font-weight: 700;
	color: #8cb15e;
	height: 100px;
	line-height: 100px;
}
.hp-news #chronicle-origin>img{
	max-height: 100%;
	vertical-align: middle;
}
.hp-news #chronicle-content>a{
	text-decoration: none;
	color: #404040;
	font-size: 16px;
}
.hp-news #chronicle-content img{
	display: block;
	margin: 0 auto 10px;
}
.hp-news #chronicle-content>a:hover{
	text-decoration: underline;
	color: #8cb15e;
}
.hp-news #chronicle-date{
	color: #ccc;
	font-size: 12px;
	text-align: left;
	margin-bottom: 10px;
}
/* -------------------- Content -------------------- */
body{
	background: #eee;
}
#content{
 	width: calc(100% - 185px);
 	margin-left: 185px;
 	background: #ccc;
 	padding: 0px;
 }
 #primary{
 	background: white;
 	padding: 30px 20px 20px;
 	min-height: 100vh;
 }
 #main{
 	margin-top:-20px;
 }
 .entry-header h1, .page-header h1, .single-books h4, .single-project h4, .single-movie h4, .single-musics h4 {
 	color: #444;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	font-variant: small-caps;
	position: relative;
	text-align: left;
 }


 /* -------------------- Mission statement -------------------- */
 #post-10 .pf-content{
 	font-size: 0;
 }
 #post-10 .pf-content p{
 	font-size: 16px;
 	text-align: justify;
 }
 #post-10 .pf-content>p:first-child{
 	display: inline-block;
 	width: 33.333%;
 	vertical-align: top;
 }
 #post-10 .pf-content>p:nth-child(2){
 	padding-left: 20px;
 	display: inline-block;
 	width: 66.666%;
 	height: 350px;
    overflow: hidden;
 }
 #post-10 .pf-content>p:last-child{
 	width: 66%;
 	display: block;
 	margin:20px auto 0px;
 }
 #post-10 .pf-content>p:nth-child(2) img{
 	width: 100%;
 	margin-top: -42px;
 }
 #post-10 .pf-content h2{
 	color: #8cb15e;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
 }
#post-10 .pf-content>div{
	width: 50%;
	display: inline-block;
	vertical-align: top;
	border-top: 1px solid #e6e7e8;
}
#post-10 .pf-content>div:first-of-type, #post-10 .pf-content>div:nth-of-type(2){
	border-top: none;
}
#post-10 .pf-content>div:nth-child(odd){
	padding-right: 20px;
}
#post-10 .pf-content>div:nth-child(even){
	padding-left: 20px;
}
#post-10 .pf-content>div:nth-of-type(2){
	border-left: 1px solid #e6e7e8;
}
#post-10 .pf-content>div:nth-of-type(4){
	border-left: 1px solid #e6e7e8;
}
#post-10 .pf-content>div:nth-of-type(6){
	border-left: 1px solid #e6e7e8;
}
/*--------------------------------------------------------------
## publications--------------------------------------------------------------*/
.thumb{
width:200px;
height:200px;
}
/* -------------------- Footer -------------------- */
footer#colophon{
	display: none;
    background: white;
    text-align: center;
    border-top: 1px solid #ccc;
}
footer#colophon >div.site-info{
	padding:20px;
}
footer#colophon >div.site-info>div:first-of-type{
	width: 100px;
	vertical-align: top;
	margin-right: 20px;
	margin-bottom: 15px;
	display:inline-block;
}
footer#colophon >div.site-info img{
	width: 100%;
	height: auto;
}
footer#colophon div#nav-footer{
	display: inline-block;
	vertical-align: top;
	text-align: left;
}
footer#colophon div#nav-footer>div{
	display: inline-block;
	vertical-align: top;
	border-right: 1px solid #ccc;
	padding-right: 20px;
	padding-left: 20px;
	height: 126px;
}
footer#colophon div#nav-footer>div:last-of-type{
	border-right: none;
}
footer#colophon div#nav-footer li{
	list-style: none;
	font-size: 14px;
	color: #777;
}
footer#colophon div#nav-footer>div>ul{
	margin:0px;
	padding: 0px;
}
footer#colophon div#nav-footer>div>ul>li>ul{
	padding-left: 20px;
	margin-left: 0px;
}
footer#colophon div#nav-footer li a{
	text-decoration: none;
	color: #777;
	font-size: 14px;
}
footer#colophon div#nav-footer li a:hover{
	text-decoration: underline;
	color: #8cb15e;
}
footer#colophon div#nav-footer>li{
	list-style: none;
}
footer#colophon p#copy{
	margin-top:20px;
	color: #777;
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 0px;
}
 /* -------------------- Areas of Activities -------------------- */
.flex-container {
	display: -webkit-flex;
    display: flex;
}
.page-id-12 .entry-header h1, .page-id-12 .page-header h1, .page-id-14 .entry-header h1, .page-id-14 .page-header h1 {
	margin-bottom: 0;
}
.page-id-12 .entry-content, .page-id-14 .entry-content {
	margin: 0;
}
.page-id-12 .flex-item p:last-of-type{
	text-align:justify;
}
.page-id-12 .flex-container:first-of-type {
	-webkit-align-items: center;
	align-items: center;

	margin-bottom: 20px;
	height: 350px;
	overflow: hidden;
}
.pf-content > .flex-container:first-of-type >p:last-child {
	-webkit-flex: 4;
	flex: 4;
	text-align: right;
	margin: 0;
}
.pf-content > .flex-container:first-of-type >p:last-child img {
    width: 100%;
}
.page-id-12 .pf-content > .flex-container:first-of-type >p:first-child {
	-webkit-flex: 2;
	flex: 2;
	text-align: center;
	margin: 0 20px;
	font-size: 18px;
	font-family: 'Merriweather', serif;
	font-style: italic;
	color: #8cb15e;
}
.page-id-12 .flex-item {
	-webkit-flex: 1;
	flex: 1;
	text-align: center;
	padding-bottom: 20px;
}

.page-id-12 .flex-item>p{
	margin-bottom: 10px;
}
.page-id-12 .flex-item h2{
	font-size: 16px;
	font-weight: 700;
}

.page-id-12 .flex-container>.flex-item:first-of-type{
	border-right: 1px solid #e6e7e8;

	padding-right: 20px;
}

.page-id-12 .flex-container>.flex-item:last-of-type{
	padding-left: 20px;
}

.page-id-12 .flex-container:nth-of-type(2) > .flex-item{	
	border-bottom: 1px solid #e6e7e8;
}
 /* -------------------- Governance -------------------- */
.page-id-14 .flex-container {
	-webkit-align-items: center;
	align-items: center;
	height: 350px;
	overflow: hidden;
}
.page-id-14 .flex-container:nth-of-type(2){
	height: auto;
}
.page-id-14 .flex-container > p:first-of-type {
	-webkit-flex: 2;
	flex: 2;
	text-align: center;
	font-family: 'Merriweather', serif;
	font-size: 18px;
	color: #8cb15e;
	font-style: italic;
	margin: 0 20px;
}
.page-id-14 .pf-content .flex-container >p:last-of-type{
	-webkit-flex: 4;
	flex: 4;
	text-align: right;
	margin: 0;
}
.page-id-14 .flex-container:last-of-type {
	-webkit-align-items: flex-start;
	align-items: flex-start;
	margin-top: 20px;
}
.page-id-14 .flex-item-container {
	display: -webkit-flex;	
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
}
.page-id-14 .flex-item {
	height: 100%;
	padding-right: 20px;
	border-right: 1px solid #e6e7e8;
}
.page-id-14 .flex-item p, .page-id-14 .flex-item-item p, .page-id-14 .flex-item-item:last-of-type p:first-of-type{
	text-align: justify;
	margin-top: 0;
}
.page-id-14 .flex-item-item {
	padding: 0 0 0 20px;
}
.page-id-14 .flex-item-item:last-of-type {
	border-top: 1px solid #e6e7e8;
	padding-top: 20px;
}
.page-id-14 td:nth-of-type(2n+1) {
    	text-align: right;
        width: 40%;
    	vertical-align: top;
}
.page-id-14 .flex-item-container td:nth-of-type(2n+1){
	width: 50%;
}
.page-id-14 td:nth-of-type(2n){
	padding-left: 20px;
}
.page-id-14 .flex-item-item:last-of-type p:last-of-type {
    margin: 0;
    text-align: center;
}
.page-id-14 .flex-item-item:last-of-type p:last-of-type a{
	text-decoration: none;
	color: #404040;
}
.page-id-14 .flex-container td{
	vertical-align: top;
}
 /* -------------------- Philanthropy Trends Archive -------------------- */
.philanthropy-container {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
}
.philanthropy-container >article:nth-of-type(3n) {
    border-right: none;
}
.philanthropy-container >article {
    	margin: 0;
    	border-bottom: 1px solid #e6e7e8;
    	border-right: 1px solid #e6e7e8;
    	padding: 15px 25px;
    	display: -webkit-flex;
    	display: flex;
    	-webkit-flex-flow: row wrap;
    	flex-flow: row wrap;
    	width: 33%;
}
.one-trend-container {
	width: 100%;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	padding: 5px;
}
.one-trend-container > header{
	-webkit-flex:3.5;
    flex:3.5;
}
.one-trend-container > div.entry-content{
	-webkit-flex:6.5;
    flex:6.5;
}
.one-trend-container > .entry-content {
    	margin: 0 0 0 1rem;
		font-size: 0.8em;
}

.philanthropy-container .entry-content .writer-name {
	text-transform: uppercase;
    	font-weight: bold;
}
.philanthropy-container article h2.entry-title > a {
    	color: #8cb15e;
    	text-decoration: none;
}
.post-type-archive-philanthropy_trends .textwidget {
    	margin: 30px auto;
    	width: 66%;
    	font-size: 1rem;
    	line-height: 1.6em;
    	text-align: justify;
}
.one-trend-container>header>div {
		width: 100px;
		height: 100px;
    	border-radius: 50%;
    	overflow: hidden;
}
.one-trend-container>header>div img{
		width: 100%;
		height: 100%;
}

 /* -------------------- Philanthropy Trends Single -------------------- */
.single-philanthropy_trends .entry-header h2 {
 	color: #444;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	font-variant: small-caps;
	position: relative;
 }

.single-philanthropy_trends h1.entry-title {
 	color: black;
	font-family: 'Open Sans', sans-serif;
	font-size: 24px;
	font-weight: 700;
	font-variant: normal;
	margin: 0;
	text-align: left;
 }
.single-philanthropy_trends h1::before {
	display: none;
 }
.single-philanthropy_trends .entry-content {
	margin-top: 0;
}
.philanthropy-single-container {
	display: -webkit-flex;
   	 display: flex;
   	 margin-top: 30px;
}
.philanthropy-writer {
    text-align: justify;
    color: #8cb15e;
    -webkit-flex: 1.7;
    flex: 1.7;
    margin: 0 auto;
    padding: 20px;
    /*display: flex;*/
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    border: 1px solid #e6e7e8;
    max-height: 600px;
    overflow-y:scroll;
}
.philanthropy-writer > p {
	letter-spacing: 0;
}
.philanthropy-writer>div{
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto;
}
.philanthropy-writer>div img{
	width: 100%;
	height: 100%;
}
.philanthropy-article {
	-webkit-flex: 5;
    flex: 5;
    text-align: justify;
    padding-right: 30px;
}
.single-philanthropy_trends .printfriendly.pf-alignleft {
    width: 100%;
    margin: 12px 0;
}
.single-philanthropy_trends .philanthropy-link-img {
    text-align: right;
}
 /* -------------------- Testimonials Archive-------------------- */
.testimonial-container > article {
    width: 25%;
    border-bottom: 1px solid #e6e7e8;
    text-align: center;
    padding: 10px 20px;
	border-right: 1px solid #e6e7e8;

}
.testimonial-container > article:nth-of-type(4n){
	border-right: none;
}
.testimonial-container {
	display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.testimonial-container .entry-content > p {
    margin: 0.4em;
}
.testimonial-container .entry-content>div:first-of-type{
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto;
}
.testimonial-container .entry-content>div:first-of-type img{
	width: 100%;
	height: 100%;
}
p.testimonial-name {
    	text-transform: uppercase;
    	font-size: 14px;
}
p.testimonial-project > a {
    	text-decoration: none;
    	font-size: 18px;
    	font-weight: bold;
    	color: #444444;
}
.testimonial-excerpt {
    	padding: 15px 5px;
    	background-color: #8cb15e;
    	color: white;
    	display: -webkit-flex;
    	display: flex;
    	-webkit-flex-direction: column;
    	flex-direction: column;
    	/*height: 250px;*/
    	-webkit-align-items: center;
    	align-items: center;
}
.testimonial-excerpt p {
	margin: 0.5em;
	font-style: italic;	
	-webkit-flex: 2;
	flex: 2;
}
.testimonial-excerpt a {
    	background: none;
    	box-shadow: none;
    	padding: 8px 15px;
    	font-size: 15px;
    	text-transform: uppercase;
    	border: 2px solid #754c29;
    	text-shadow: none;
    	/*width: 62%;*/
    	border-radius: 5px;
    	font-weight: bold;
    	height: 35px;
}
.testimonial-excerpt a {
    	color: #754c29;
    	text-decoration: none;
	display: inline-block;
    	vertical-align: middle;
}
.testimonial-excerpt a::before {
    	background: url(/wp-content/uploads/2016/10/icon-16.png) no-repeat;
    	content: "";
    	width: 20px;
    	height: 20px;
    	display: inline-block;
    	vertical-align: middle;
    	margin-right: 5px;
}
.pointe-haut {
    	width: 0;
    	height: 0;
    	border-right: 16px solid transparent;
    	border-left: 16px solid transparent;
    	border-bottom: 20px solid #8cb15e;
    	margin: auto;
}
/* -------------------- Single Testimonial -------------------- */
.single-testimonial-container {
	display: -webkit-flex;
    display: flex;
	/*border-top: 1px solid #e6e7e8;*/
}
.single-testimonial-content {
	-webkit-flex: 3;	
    flex: 3;	
}
.testimonial-single-pic-what {
	width: 250px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: center;
	align-items: center;
	margin-bottom: 20px;
}
.testimonial-single-pic-what>div:first-of-type{
	width: 180px;
	height: 180px;
	border-radius: 50%;
	overflow: hidden;
}
.testimonial-single-pic-what>div:first-of-type img {
    width: 100%;
    height: 100%;
}
p.single-testimonial-project > a {
    	text-decoration: none;
    	font-size: 18px;
    	color: black;
    	font-weight: 700;
}
.testimonial-single-pic-what > p {
    	margin-bottom: 0;
}
p.single-testimonial-name {
    	text-transform: uppercase;
}
.single-testimonial-content {
    	padding-right: 20px;
}
.content-button-container {
    background-color: #8cb15e;
    padding: 25px;
    text-align: right;
}
.single-testimonial .pf-content {
	color: #fff;
	text-align: justify;
}
.content-button-container a {
    	background: none;
    	box-shadow: none;
    	padding: 8px 15px;
    	font-size: 15px;
    	text-transform: uppercase;
    	border: 2px solid #754c29;
    	text-shadow: none;
    	/*width: 22%;*/
    	border-radius: 5px;
    	font-weight: bold;
    	height: 35px;
}
.content-button-container a {
    	color: #754c29;
    	text-decoration: none;
	display: inline-block;
    	vertical-align: middle;
}
.content-button-container a::before {
    	background: url(/wp-content/uploads/2016/10/less-16.png) no-repeat;
    	content: "";
    	width: 20px;
    	height: 20px;
    	display: inline-block;
    	vertical-align: middle;
    	margin-right: 5px;
}
.single-testimonial .pointe-haut {
    	margin-left: 100px;
}
.single-testimonial .post-navigation .nav-previous {
	width: 100%;
	-webkit-flex: 1;
	flex: 1;
	border-bottom: 1px solid #e6e7e8;
	border-left: 1px solid #e6e7e8;
    text-align: center;
	min-height: 450px;
	padding: 20px;
}
.single-testimonial .post-navigation .nav-next {
	width: 100%;
	-webkit-flex: 1;
	flex: 1;
	text-align: center;
	min-height: 450px;
	border-left: 1px solid #e6e7e8;
	padding: 20px;
}
.single-testimonial .nav-links {
	width: 100%;
	display: -webkit-flex;
	display: flex;
	-webkit-flex: 1;
	flex: 1;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
}
.single-testimonial .post-navigation {
	-webkit-flex: 1;
	flex: 1;
}
.single-testimonial .nav-links .nav-previous>a, .single-testimonial .nav-links .nav-next>a, .single-testimonial-container .nav-next>a{
	text-decoration: none;
	color: #444;
}
.single-testimonial .nav-links .nav-previous>p:first-of-type, .single-testimonial .nav-links .nav-next>p:first-of-type, .single-testimonial-container .nav-next>p:first-of-type{
	display: block;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 10px auto;
}
.single-testimonial .nav-links img {
    	width: 100%;
    	height: 100%;
}
.single-testimonial .testimonial-excerpt p {
    	font-size: 14px;
}
.single-testimonial .testimonial-excerpt{
	/*height: 225px;	*/
}
.single-testimonial .testimonial-excerpt a{
	/*width: 55%;*/
	height: 34px;
	border-width: 1px;
	font-weight: normal;
	
}
.single-testimonial .testimonial-excerpt a::before{
	width: 18px;
	height: 18px;
}
.single-testimonial .testimonial-excerpt a{
	font-size: 12px;
}
p.single-testimonial-testimonial-name {
    text-transform: uppercase;
    font-size: 12px;
    margin: 0 0 0;
}
p.single-testimonial-project-title {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 0.5em;
}
.single-testimonial .entry-content p.single-testimonial-project{
		width: 50%;
	}
/* -------------------- Press-------------------- */
.press-container{
	font-size: 0px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap:wrap;
	flex-wrap:wrap;
}
article.press:not(.searchresults){
	width: 25%;
	display: inline-block;
	vertical-align: top;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	height: 300px;
	text-align: center;
	padding:20px;
	overflow-y: scroll;
}
article.press:nth-of-type(4n):not(.searchresults){
	border-right: none;
}
#press-logo{
	font-size: 16px;
	font-weight: 700;
	color: #8cb15e;
	height: 100px;
	line-height: 100px;
	font-weight: bold;
}
#press-logo>p{
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
}
#press-logo>img{
	max-height: 100%;
	vertical-align: middle;
}
#press-content>a{
	text-decoration: none;
	color: #404040;
	font-size: 16px;
}
#press-content>a:hover{
	color: #8cb15e;
	text-decoration: underline;
}
#press-date{
	color: #ccc;
	font-size: 12px;
	text-align: left;
	margin-bottom: 10px;
}
.press .entry-footer{
	font-size: 16px;
}
#press-filter ul>li:first-of-type select{
	width: 400px;
}
/* -------------------- Chronicles-------------------- */
.chronicles-container{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap:wrap;
	flex-wrap:wrap;
	font-size: 0px;
}
article.chronicles:not(.searchresults){
	width: 25%;
	display: inline-block;
	vertical-align: top;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	height: 300px;
	text-align: center;
	padding:20px;
	overflow-y: scroll;
}
article.chronicles:nth-of-type(4n):not(.searchresults){
	border-right: none;
}
#chronicle-origin{
	font-size: 16px;
	font-weight: 700;
	color: #8cb15e;
	height: 100px;
	line-height: 100px;
	font-weight: bold;
}
#chronicle-origin>p{
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
}
#chronicle-origin>img{
	max-height: 100%;
	vertical-align: middle;
}
#chronicle-content>a{
	text-decoration: none;
	color: #404040;
	font-size: 16px;
}
#chronicle-content>a:hover{
	text-decoration: underline;
	color: #8cb15e;
}
#chronicle-date{
	color: #ccc;
	font-size: 12px;
	text-align: left;
}
.chronicles .entry-footer{
	font-size: 16px;
}
/* -------------------- Scholarship-------------------- */
#scholarship-intro{
	width: 66%;
 	display: block;
 	margin:10px auto;
 	text-align: justify;
}
#scholarship-filter{
	display: none;
}
table.matanel_scholarships{
	border-collapse: collapse;
}
table.matanel_scholarships>thead>tr{
	color: #8cb15e;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	text-align: center;
	height:60px;
	border: none;
	background: none;
 }
table.matanel_scholarships>thead>tr th{
	font-weight: bold;
	cursor: pointer;
 }
table.matanel_scholarships>tbody>tr td{
	padding:5px 10px;	
	border-right:1px solid #ccc;
}
table.matanel_scholarships>tbody>tr td:last-of-type, table.matanel_scholarships>tbody>tr td:nth-of-type(6){
	border-right:none;
}
table.matanel_scholarships>tbody>tr:nth-of-type(even){
	background: #eee;
}
/*table.matanel_scholarships>tbody>tr td:last-of-type:before{
	content: "- ";
}*/
table.matanel_scholarships>tbody>tr td:nth-of-type(2),table.matanel_scholarships>tbody>tr td:nth-of-type(5){
	width: 10%;
}
table.matanel_scholarships>tbody>tr td:nth-of-type(1){
	width: 15%;
}
table.matanel_scholarships>tbody>tr td:nth-of-type(6){
	width: 8%;
	white-space: nowrap;
}
table.matanel_scholarships>tbody>tr td:last-of-type{
	width: 7%;
}
table.matanel_scholarships>tbody>tr td:nth-of-type(3),table.matanel_scholarships>tbody>tr td:nth-of-type(4){
	width: 25%;
}
/* -------------------- Grants database ----------- */
table.grants-database{
	border-collapse: collapse;
}
table.grants-database>thead>tr{
	color: #8cb15e;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	text-align: center;
	height:60px;
	border: none;
	background: none;
 }
 table.grants-database>thead>tr th{
	cursor: pointer;
	font-weight: bold;
 }
table.grants-database>tbody>tr td{
	padding:5px 10px;	
	border-right:1px solid #ccc;
}
table.grants-database>tbody>tr td:first-of-type a{
	text-decoration: none;
	color: #404040;
}
table.grants-database>tbody>tr td:first-of-type a:hover{
	text-decoration: underline;
	color: #8cb15e;
}
table.grants-database>tbody>tr td:last-of-type, table.grants-database>tbody>tr td:nth-of-type(5){
	border-right:none;
}
table.grants-database>tbody>tr:nth-of-type(even){
	background: #eee;
}
table.grants-database>tbody>tr td:nth-of-type(5):after{
	content: "- ";
}
table.grants-database>tbody>tr td:first-of-type{
	width: 28%;
}
table.grants-database>tbody>tr td:nth-of-type(2), table.grants-database>tbody>tr td:nth-of-type(3){
	width: 14%;
}
table.grants-database>tbody>tr td:nth-of-type(4){
	width: 28%;
}
table.grants-database>tbody>tr td:nth-of-type(5),table.grants-database>tbody>tr td:last-of-type{
	width: 8%;
}
/*grants filter*/
div.grants-filter{
	margin-bottom: 30px;
	display: none;
}
div.grants-filter form, form#past-present, form#data-search{
	display: inline-block;
	vertical-align: top;
	position: relative;
	margin: 10px 20px 10px 0px;
}
div.grants-filter form:before, form#past-present:before{
	content: '\f0dc';
	font-family: 'FontAwesome';
	color: #ccc;
	position: absolute;
	right: 10px;
	line-height: 30px;
}
div.grants-filter form label, form#past-present label, form#data-search{
	font-weight: 400;
	color: #aaaaaa;
}
div.grants-filter form select, form#past-present select, form#data-search select{
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	height: 30px;
	padding-left: 5px;
	padding-right: 30px;
	background: white;
}
.page-id-616 div#reset {
	display: inline-block;
	height: 30px;
	background: #8cb15e;
	padding: 0 10px;
	border-radius: 5px;
	vertical-align: top;
	margin: 10px 20px 10px 0px;
}
.page-id-616 div#reset a{
	text-decoration: none;
	color: white;
	font-size: 14px;
	line-height: 30px;
}
/* -------------------- Sayings-------------------- */
#sayings-container{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap:wrap;
	flex-wrap:wrap;
	margin-top:20px;
}
#sayings-container article{
	width: 25%;
	font-family: 'Merriweather', serif;
	font-size: 16px;
	font-style: italic;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	margin: 0;
	padding: 20px;
	text-align: center;
}
#sayings-container article:nth-of-type(4n){
	border-right: none;
}
#sayings-container article p.saying-date{
	color: #ccc;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	text-align: left;
	font-style: normal;
}
#sayings-container article p.saying-date:before{
	content: url(images/quotation-marks.png);
	display: block;
}
#sayings-container article p.saying-origin{
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	text-align: right;
	font-style: normal;
}
#sayings-container article p.saying-origin:before{
	content:"-";
}
/* -------------------- Newsletter single -------------------- */
.nsl-single-pic-subtitle-container {
    	/*display: flex;	
    	align-items: center;*/
    text-align: center;
}
p.nsl-single-pic {
	/*flex: 1.5;*/
	display: inline-block;
	vertical-align: middle;
	width: 55%;
}
p.nsl-single-subtitle {
    	/*flex: 0.8;*/
    	display: inline-block;
    	vertical-align: middle;
    	width: 44%;
    	text-align: left;
    	padding: 30px;
    	font-style: italic;
    	font-family: 'Merriweather', serif;
	    font-size: 16px;
}
p.nsl-single-subtitle::before {
    	content: url(./images/quotation-marks.png);
	display: block;	
}
.single-newsletters .pf-content {
    	padding: 40px 180px 0;
    	text-align: justify;
}
.single-newsletters .pf-content a {
    	color: #8cb15e;
	text-decoration: none;
}
.single-newsletters .nav-links a{
		/*text-decoration: none;*/
	    font-weight: 600;
	    /*color: #404040;*/
	    /*font-size: 0.9rem;*/
		font-size: 0.7rem;

	}
/* -------------------- Contact -------------------- */
.page-id-6 div.entry-content {
	margin: 0;
}
.page-id-6 .pf-content>p {
    	display: none;
}
h2.contact-title {
    	margin: 40px 0 0;
}
form.wpcf7-form {
    	width: 70%;
    	margin: 0 auto;
}
form.wpcf7-form input, form.wpcf7-form textarea {
	border-radius: 6px;
}
.wpcf7-form >p:first-of-type, .wpcf7-form> p:nth-of-type(2) {
    	display: inline-block;
    	width: 49.6666667%;
    	vertical-align: top;
}
.wpcf7-form >p:last-of-type {
	text-align: center;
}
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    	width: 100%;
}
.wpcf7-form label {
	font-family: 'Open Sans', sans-serif;
    	font-size: 0.8rem;
    	font-weight: 700;
    	color: #ccc;
}
input.wpcf7-form-control.wpcf7-submit {
    	/*width: 35%;*/
    	margin: 0 auto;
    	box-shadow: none;
    	text-shadow:none;
    	background-color: #8cb15e;
    	border:none;
    	color: #fff;
    	padding: 0px 30px;
    	height: 30px;
    	font-size: 14px;
}
div#nsl-list-container {
	display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
	flex-flow: row wrap;
}
.nsl-item {
    	width: 25%;
	margin: 0;
    	text-align: center;
    	padding: 20px 10px;
    	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
.nsl-item:first-of-type, .nsl-item:nth-of-type(2), .nsl-item:nth-of-type(3), .nsl-item:nth-of-type(4) {
	border-top: 1px solid #ccc;
}
.nsl-item:nth-of-type(4n) {
	border-right: none;
}
.nsl-item p {
    text-align: left;
    padding-left: 61px;
    color: #ccc;
    margin-bottom: 0;
}
.nsl-item > a {
    	text-decoration: none;
    	font-size: smaller;
	color: #8cb15e;
}
.nsl-item img {
	width: 215px;
	height: 125px;
}
.nsl-item h3::before {
    	content: url(/wp-content/uploads/2016/10/newsletter26.png);
    	margin-right: 5px;
}
.nsl-item h3 {
	margin-top: 0;
	text-align: left;
	padding-left: 30px;
}
/* -------------------- Single Book -------------------- */	
.single-book-container {
    	/*display: flex;
    	display: block;*/
    	padding-top: 30px;
}
.single-book-container > article {
	display: inline-block;
	width: 71%;
	padding-right: 30px;
	/*flex: 3;*/
}
.single-book-container > article header.entry-header>img.book-cover-pic{
	border: 1px solid #ccc;
	height: 300px;
	width: auto;
	margin-bottom: 5px;
}
aside.single-book-aside-container {
	display: inline-block;
	width: 28%;
	vertical-align: top;
    
}
.download-icons-container {
	display: -webkit-flex;
    display: flex;
}	
.download-icons-container img, .download-icons-container a {
    margin: auto;
}
.single-book-download p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0;
    font-weight: 600;
}
.single-book-publish-info, .single-book-aside-author, .single-book-press-release, .single-book-download {
    	border: 1px solid #ccc;
}
.single-book-about p {
    	text-align: justify;
}
.book-cat-icon {
	display: block;
	margin-top: 120px;
}
.single-books h2.entry-title {
    	/*width: 50%;*/
    	display: inline-block;
    	margin-bottom: 0;
	margin-top: 30px;
}
p.single-book-author-name, p.single-book-genre, p.single-book-year {
    	margin: 0;
}
p.about-book-title {
    	margin-top: 40px;
}
.single-book-container article .entry-content p.about-book-title{
	margin-top: 15px;
}
p.about-book-title, p.single-from-book-title{
    	color: #8cb15e;
    	font-weight: 600;
    	text-transform: uppercase;
    	font-size: small;
}
aside.single-book-aside-container >div {
    	margin-bottom: 20px;
    	padding: 20px;
}
.single-book-publish-info p {
    	margin: 0;
}
p.aside-author-about {
    	text-align: justify;
}
a.press-release-link {
    	text-decoration: none;
    	font-size: medium;
    	font-weight: 600;
    	color: #8cb15e;
}
.single-book-from-content p{
    	text-align: justify;
}
.single-books .entry-content {
    	clear: both;
}
.single-book-aside-author{
	text-align: center;
	color: #8cb15e;
}
.single-book-aside-author > img {
    	border-radius: 50%;
    	margin: 0px 10px;
}
p.aside-author-about{
	margin-bottom: 0px;
}
.single-books h4, .single-project h4 {
	margin-top: 0;
}
p.single-book-author-name, .single-book-publish-info span  {
    font-weight: 600;
}
.single-book-container nav a{
	text-decoration: none;
	color: #404040;
	font-weight: 600;
	font-size: 0.9rem;
}

div#book-aside-btn{
	width: 100%;
	display: none;
	color:white;
	background: #8cb15e;
	height: 50px;
	text-align: center;
	padding-top: 12px;
	cursor: pointer;
}
div#book-aside-btn span{
	font-family: 'FontAwesome';
}
div#modal-book-aside{
	background: white;
	display: none;
	position: absolute;
    top: 20px;
    left: calc(0% + 205px);
    width: calc(100% - 225px);
    border: 1px solid #ccc;
    z-index: 10000;
    padding:20px;
}
div#modal-book-aside>div.cross-btn span{
	font-family: 'FontAwesome';
	color: #8cb15e;
	float: right;
	margin-right: 20px;
	cursor: pointer;
}
div#modal-book-aside>div.cross-btn{
	margin-bottom: 50px;
}
div#modal-book-aside>div.close-btn{
	background: #8cb15e;
	color: white;
	margin:30px auto;
	text-align: center;
	height: 30px;
	border-radius: 3px;
	padding: 3px 10px;
	width: 80px;
	cursor: pointer;
}
/* ------------------------------ Single movie -------------------------------- */
.single-movie h4{
	margin-top: 0px;
}
.single-movie .movie-embed iframe{
	width: 640px;
	height: 360px;
}
/* ------------------------------ Single music -------------------------------- */
.single-musics h4{
	margin-top: 0px;
}
.single-musics .video-embed iframe{
	width: 640px;
	height: 360px;
}
/* -------------------- Grants and Activities/ Archive Projects -------------------- */
.projects-container {
	display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
	flex-flow: row wrap;
    width: 100%;
}
.projects-container article {
	width: 33.333%;
	position: relative;
	height: 270px;
	margin: 0;
}
.archive-projects-img {
    width: 100%;
    /*height: 250px;*/
    height: 170px;
    line-height: 170px;
    background: #eee;
    text-align: center;
    overflow: hidden;
}
.archive-projects-img>img{
	vertical-align: middle;
}
.projects-container article .entry-content {
    	position: absolute;
    	bottom: 0;
	color: #fff;
	width: 100%;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	padding: 8px;
	-webkit-align-items: center;
	align-items: center;
	height: 100px;

	margin: 0px;
}
.projects-container h3.entry-title {
	margin: 0;

	line-height: 20px;
}
.projects-container h3.entry-title > a {
    	text-decoration: none;
    	color: #fff;
    	font-size: 0.95rem;
}
p.archive-project-location {
    	text-transform: uppercase;
	margin: 0;
	font-size: 0.75rem;
}

.projects-container article .entry-content > img {
    /* flex: 1; */
    	/*width: 40px;
    	height: 40px;*/
    width: auto;
    height: 35px;
}
.archive-project-info {
    /*padding: 14px;*/
    padding-left: 8px;
}

/* filter & search*/
div.search {
    margin-bottom:30px;
}
div.search ul {
    margin: 0;
    padding: 0;
}
div.search ul>li{
    display: inline-block;
    margin-right: 20px;
}
div.search ul>li:last-of-type{
    margin-right: 0px;
}
div.search ul>li:last-of-type input{
	box-shadow: none;
	text-shadow:none;
	border: none;
    height: 30px;
    background: #8cb15e;
    color: white;
    font-size: 14px;
    padding:0 10px;
}
div.search ul>li h4{
    display: inline-block;
    font-weight: 400;
    color:#aaa;
    padding:0;
    /*width: 74px;*/
}
div.search ul>li label select{
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	height: 30px;
	padding-left: 5px;
	padding-right: 5px;
	background: white;
}
div.search ul>li label{
	position: relative;
}
div.search ul>li label:before{
	content: '\f0dc';
	font-family: 'FontAwesome';
	color: #ccc;
	position: absolute;
	right: 10px;
	line-height: 30px;
}
div.search ul>li:nth-of-type(3) label:before{
	content: '';
}
div.search ul>li label input::-webkit-input-placeholder{
	color:#444;
}
div.search ul>li label input::-moz-placeholder{
	color:#444;
}
div.search ul>li label input::-ms-input-placeholder{
	color:#444;
}
/* -------------------- Single Project -------------------- */
.single-project .entry-content {
	display: -webkit-flex;
    	display: flex;
    	-webkit-flex-flow: row;
    	flex-flow: row;
}
.single-project-main-content {
	-webkit-flex: 1.7;
    	flex: 1.7;
	/*padding: 30px;*/
	text-align: justify;
	padding-right: 30px;
}
aside.single-project-aside {
	-webkit-flex: 0.7;
    	flex: 0.7;
	/*padding:30px;*/
}
.single-project-main-content h2 {
    	text-transform: uppercase;
    	font-weight: 400;
    	font-size: large;
    	color: #8cb15e;
	margin-bottom: 0;
}
.single-project-vision a, .single-project-activity a{
	text-decoration: none;
    color: #8cb15e;
}
.single-poject-url a {
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    color: #8cb15e;
    margin-right:20px;
}
.single-project .nav-links a, .single-philanthropy_trends .nav-links a {
	/*text-decoration: none;*/
	font-weight: 600;
	/*color: #404040;*/
	font-size: 0.9rem;
	/*font-size: 0.7rem;*/
}
.single-project-projector {
    border: 1px solid #eee;
    padding: 15px 20px;
    text-align: center;
    max-height: 600px;
    overflow-y: scroll;
}
.single-project-projector >div.projectorphoto {
	width: 150px;
	height: 150px; 
	border-radius: 50%;
	background: #ccc;
	overflow: hidden;
	margin: 0 auto;
	line-height: 150px;
}
.single-project-projector >div.projectorphoto img{
	vertical-align: middle;
}
.single-project-projector .projector-bio p {
	text-align: justify;
	font-size: 0.88rem;
	color: #8cb15e;
}
.single-project-projector>p{
	color: #666;
    font-size: 0.9rem;
}

.single-projects-reports-list {
    	border: 1px solid #eee;
    	margin-top: 20px;
    	padding: 15px 20px;
}
.single-projects-reports-list ul {
    	list-style: none;
    	margin: 0;
    	padding: 0;
}
.single-projects-reports-list a {
	text-decoration: none;
	color: #444;
}
p.single-project-quote-quote::before {
    content: url(./images/quotation-marks.png);
    display: block;
}
p.single-project-quote-quote {
	font-family: 'Merriweather', serif;
    font-size: 16px;
    font-style: italic;
    font-size: medium;
	color: #444;
}
p.single-project-quote-origin {
    text-align: right;
    font-size: smaller;
    margin-top: 0;
}
/*p.single-project-quote-origin::before {
    content: " - ";
}*/
.single-project-icon-data {
    margin-top: 35px;
}
p.single-project-location {
    margin-top: 0;
    text-transform: capitalize;
}
.single-project-icon-data h3 {
    margin: 0;
    font-size: 24px;
}
div#urltestimonials{
	display: -webkit-flex;
	display: flex;
	margin-bottom: 10px;
}
div.project-testimonials{
	margin-left: auto;
}
div.project-testimonials>div:last-of-type{
	display: none;
}
div#testimonial-btn{
	margin-left: auto;
	border:1px solid #8cb15e;
	text-align: center;
	width: 150px;
	margin-bottom: 10px;
	position: relative;
	color: #8cb15e;
	cursor: pointer;
}
div#testimonial-btn:hover{
	background: #8cb15e;
	color: white;
}

div#testimonial-btn:before{
	content: "";
	position: absolute;
	width: 0px;
	height: 0px;
	border-top:10px solid transparent;
	border-right:28px solid #8cb15e;
	border-bottom:10px solid transparent;
	right: 100%;
	top: calc(50% - 10px);
}
div#testimonial-btn>div{
	padding: 10px;
	position: relative;
}
div#testimonial-btn>div:before{
	content: "";
	position: absolute;
	width: 0px;
	height: 0px;
	border-top:9px solid transparent;
	border-right:26px solid white;
	border-bottom:9px solid transparent;
	right: 100%;
	top: calc(50% - 9px);
}
div#testimonial-btn:hover >div:before{
	border-right:26px solid #8cb15e;
}
.project-testimonials a{
	text-decoration: none;
	font-size: 14px;
	color: #444;
	text-align: center;
}
.project-testimonials a:hover{
	color: #8cb15e;
}
div.onetestimonial{
	display: inline-block;
	margin-right: 10px;
}
.project-testimonials>div>a:last-of-type>div.onetestimonial{
	margin-right: 0px;
}
div.testimonialphoto{
	width: 60px;
	height: 60px;
	border-radius: 30px;
	overflow: hidden;
	margin: 0 auto;
}
div.testimonialphoto img{
	height: 60px;
	width: auto;
}
.single-projects-reports-list h5{
	margin-top:5px;
	margin-bottom: 5px;
	font-size: 0.9rem;
	cursor:pointer;
}
.single-projects-reports-list ul{
	margin-left: 20px;
	display: none;
}
.single-projects-reports-list div.activityperyear:hover ul{
	display: block;
}
.single-projects-reports-list ul li:before{
	content: url(/wp-content/uploads/2016/10/pdfIcon.png);
	margin-right: 5px;
}
.single-projects-reports-list ul a{
	font-size: 0.95rem;
}
.single-projects-reports-list ul a:hover{
	color:#8cb15e;
	text-decoration: underline;
}
.additional-links a:hover{
	color:#8cb15e;
	text-decoration: underline;
}

div#project-aside-btn{
	width: 100%;
	display: none;
	color:white;
	background: #8cb15e;
	height: 50px;
	text-align: center;
	padding-top: 12px;
	cursor: pointer;
}
div#project-aside-btn span{
	font-family: 'FontAwesome';
}
div#modal-project-aside{
	background: white;
	display: none;
	position: absolute;
    top: 20px;
    left: calc(0% + 205px);
    width: calc(100% - 225px);
    border: 1px solid #ccc;
    z-index: 10000;
    padding:20px;
}
div#modal-project-aside>div.cross-btn span{
	font-family: 'FontAwesome';
	color: #8cb15e;
	float: right;
	/*margin-right: 20px;*/
	cursor: pointer;
}
div#modal-project-aside>div.close-btn{
	background: #8cb15e;
	color: white;
	margin:30px auto;
	text-align: center;
	height: 30px;
	border-radius: 3px;
	padding: 3px 10px;
	width: 80px;
	cursor: pointer;
}

/* Slider */
.bx-viewport {
    /* height: 560px !important;*/
}
.bx-wrapper .bx-viewport {
	box-shadow: none !important;
	/*background: #eee !important;*/
}
ul.bxslider {
	margin-left: 0;
}
.bx-wrapper img {
	margin: auto;
	margin-top: 1.6%;
}
/*#slider-container .bx-wrapper .bx-controls-direction a.bx-next {
	right: 20px;
}*/
div#slider-container{
	max-height: 450px;
	overflow: hidden;
}
div#single-project-slider, div#single-project-slider>div.bx-wrapper{
	height: 450px;
}
div#single-project-slider>div.bx-wrapper>div.bx-viewport{
	height: 100%!important;
	border: none;
	left:0;
}
div#single-project-slider>div.bx-wrapper>div.bx-viewport>ul, div#single-project-slider>div.bx-wrapper>div.bx-viewport>ul li{
	height: 100%;
}
div#single-project-slider>div.bx-wrapper>div.bx-viewport>ul>li img{
	position: absolute;
	top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    max-height: 100%;
}
div#single-project-slider>div.bx-wrapper>div.bx-viewport>ul>li p{
	position: absolute;
    bottom: 0px;
    background: #8cb15e;
    color: white;
    padding: 10px 20px;
    width: 100%;
    margin-bottom: 0px;
    text-align: center;
    opacity: 0.9;
    pointer-events: none;

    
}

div#single-project-slider .bx-wrapper .bx-next{
	background: url(images/controls2.png) no-repeat -43px 0px;
}
div#single-project-slider .bx-wrapper .bx-next:hover{
	background: url(images/controls2.png) no-repeat -43px -32px;
}
div#single-project-slider .bx-wrapper .bx-prev{
	background: url(images/controls2.png) no-repeat 0px 0px;
}
div#single-project-slider .bx-wrapper .bx-prev:hover{
	background: url(images/controls2.png) no-repeat 0px -32px;
}
div#single-project-slider .bx-pager{
	display: none;
}
#single-project-slider .bxslider li iframe{
	width: 100%;
	height: 100%;
}

/* -------------------- Archive Publications -------------------- */

.publications-container {
	display: -webkit-flex;
    	display: flex;
    	width: 100%;
    	-webkit-flex-flow: row wrap;
    	flex-flow: row wrap;
}
.publications-container article {
    	width: 25%;
    	margin: 0 !important;
    	display: -webkit-flex;
    	display: flex;
    	-webkit-flex-flow: column;
    	flex-flow: column;
    	-webkit-align-items: center;
    	align-items: center;
	/*height: 500px;*/

	padding: 18px 14px;
    	border-bottom: 1px solid #ccc;
    	border-right: 1px solid #ccc;
    	overflow: hidden;
}
.publications-container article:nth-of-type(4n) {
	border-right: none;
}
.publications-container article:first-of-type, .publications-container article:nth-of-type(2), .publications-container article:nth-of-type(3), .publications-container article:nth-of-type(4) {
	border-top: 1px solid #ccc;
} 
.publications-container article .entry-header {
	width: 100%;
}
p.archive-pub-type, .publications-container h2.entry-title, p.archive-pub-author, p.archive-pub-genre-year, .publications-container .entry-content {
    	margin: 0;
}
.publications-container h2.entry-title > a {
    	text-decoration: none;
    	font-size: medium;
    	color: #8cb15e;
}
.archive-pub-img {
    	margin: 0 auto;
	height: 150px;
	text-align: center;
	overflow: hidden;
}
.archive-pub-img img{
	border: 1px solid #ccc;
}
.icon-type-title-container{
	margin-top: 25px;
}
.icon-type-title-container img {
    	width: 25px;
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}
.icon-type-title-container p {
	margin: 0;
	margin-bottom: 5px;
}
.icon-type-title-container p > a {
    	color: #8cb15e;
    	text-decoration: none;
	font-size: medium;
	font-weight: bold;
}
.publications-container article .entry-content {
    	width: 100%;
} 
.publications-container article .entry-content .pf-content{
	margin-top: 10px;
	font-size: 0.98rem;
}
.publications-container article .entry-content .pf-content p{
	margin-bottom: 0;
	margin-top: 0;
}
p.archive-pub-author {
    	text-transform: uppercase;
    	font-size: 13px;
		font-weight: bold;
}
.icon-type-title-container div > p:first-of-type {
    	color: #aaa;
	font-size: 12px;
}
p.archive-pub-genre-year {
	color: #888;
	font-size: 14px;
	text-transform: capitalize;
}

/*publications filter*/
div.publications-filter{
	margin-bottom: 30px;
}
div.publications-filter form{
	display: inline-block;
	vertical-align: top;
	position: relative;
	margin: 10px 20px 10px 0px;
}
div.publications-filter form:before{
	content: '\f0dc';
	font-family: 'FontAwesome';
	color: #ccc;
	position: absolute;
	right: 10px;
	line-height: 30px;
}
div.publications-filter form:last-of-type:before{
	content: '';
}
div.publications-filter form label{
	font-weight: 400;
	color: #aaaaaa;
}
div.publications-filter form select{
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	height: 30px;
	padding-left: 5px;
	padding-right: 30px;
	background: white;
}
div.publications-filter div#reset{
	display: inline-block;
	height: 30px;
	background: #8cb15e;
	padding: 0 10px;
	border-radius: 5px;
	vertical-align: top;
	margin: 10px 20px 10px 0px;
}
div.publications-filter div#reset a{
	text-decoration: none;
	color: white;
	font-size: 14px;
	line-height: 30px;
}
/* Login page */
.page-id-369 ul.tml-action-links a{
	text-decoration: none;
    font-weight: 600;
    color: #404040;
    font-size: 0.9rem;
}
/* -------------------- Single Albums -------------------- */
/* Albums Single */	
	
.single-album-main-content {
	padding: 5px;
	font-size: 0.8rem;
}
.single-album-main-content {
	-webkit-flex: 1.7;
    	flex: 1.7;
	/*padding: 30px;*/
	text-align: justify;
	padding-right: 30px;
}
.single-album-main-content h2 {
    	text-transform: uppercase;
    	font-weight: 400;
    	font-size: large;
    	color: #8cb15e;
	    margin-bottom: 0;
}
.single-album-caption a {
	text-decoration: none;
    color: #8cb15e;
}
	
/*Slider*/

div#album-slider-container{
	max-height: 450px;
	overflow: hidden;
}
div#single-album-slider, div#single-album-slider>div.bx-wrapper{
	height: 450px;

}
div#single-album-slider>div.bx-wrapper>div.bx-viewport{
	height: 100%!important;
	border: none;
	left:0;
}
div#single-album-slider>div.bx-wrapper>div.bx-viewport>ul, div#single-album-slider>div.bx-wrapper>div.bx-viewport>ul li{
	height: 100%;
}
div#single-album-slider>div.bx-wrapper>div.bx-viewport>ul>li img{
	position: absolute;
	top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    max-height: 100%;
}
div#single-album-slider>div.bx-wrapper>div.bx-viewport>ul>li p{
	position: absolute;
    bottom: 0px;
    background: #8cb15e;
    color: white;
    padding: 10px 20px;
    width: 100%;
    margin-bottom: 0px;
    text-align: center;
    opacity: 0.9;
    pointer-events: none;
}

div#single-album-slider .bx-wrapper .bx-next{
	background: url(images/controls2.png) no-repeat -43px 0px;
}
div#single-album-slider .bx-wrapper .bx-next:hover{
	background: url(images/controls2.png) no-repeat -43px -32px;
}
div#single-album-slider .bx-wrapper .bx-prev{
	background: url(images/controls2.png) no-repeat 0px 0px;
}
div#single-album-slider .bx-wrapper .bx-prev:hover{
	background: url(images/controls2.png) no-repeat 0px -32px;
}
div#single-album-slider .bx-pager{
	display: none;
}
#single-album-slider .bxslider li iframe{
	width:100%;
	height:100%;
}
/* -------------------- Archive Albums -------------------- */
.dashicons dashicons-camera{
	content: "\f306";
}
.archive-album-info {
    padding-left: 8px;
}
.archive-albums-img {
    width: 100%;
    height: 170px;
    line-height: 170px;
    background: #eee;
    text-align: center;
    overflow: hidden;
}
.archive-albums-img>img{
	vertical-align: middle;
}


/*---------------------------------------------------------------*/
/*--------------------------Media query--------------------------*/
/*---------------------------------------------------------------*/


/* ----------------- X-SMALL ------------------
-------------------- ≤450px -------------------
---------------------------------------------*/

@media screen and (max-width: 450px){
/*Small menu*/
	#small-menu-bg{
		padding:0px 20px;
	}
	#small-menu-bg>a{
		margin-left: -20px;
		padding: 0 20px;
		width: 132px;
	}
/*Press*/
	article.press:not(.searchresults){
		width: 100%;
		border-right: none;
	}
/*Chronicles*/
	article.chronicles:not(.searchresults){
		width: 100%;
		border-right: none;
		height: auto;
		overflow-y:auto;
	}
/* Sayings */
	#sayings-container article{
		width: 100%;
		border-right: none;
	}
	#sayings-container article:last-of-type{
		border-bottom: none;
	}
/* Projects */	
	.projects-container article, .philanthropy-container >article {
    		width: 100%;
	}
	.projects-container article .entry-content {
		height: 75px;
    		/*top: 101px;*/
    	bottom: 0px;
	}
	.projects-container article {
		height: 196px;
	}
	.archive-project-info {
    		padding: 2px 0 2px 10px;
	}
	.projects-container h3.entry-title > a {
    		font-size: 0.7rem;
    		display: block;
	}
	p.archive-project-location {
		font-size: 0.6rem;
	}
	.post-type-archive-project select{
		font-size: 0.85rem;
	}
	.post-type-archive-project header.entry-header, .page-id-567 header.entry-header, .page-id-562 header.entry-header, .page-id-537 header.entry-header, .page-id-565 header.entry-header, .page-id-560 header.entry-header, .page-id-556 header.entry-header {
    		width: 100%;
	}
/* Projects Single */	
	.single-project header.entry-header {
		width: 100%;
	}
	.single-project-main-content {
		padding: 5px;
		font-size: 0.8rem;
	}
	.single-project-projector p {
		font-size:0.85rem;
	}
	aside.single-project-aside {
		padding: 0;
	}
	.single-project-main-content h2 {
		font-size: medium;
	}
	
/* Philanthropy Trends */
	.one-trend-container {
		-webkit-flex-direction: column;
		flex-direction: column;
		width: 100%;
	}
	h2.entry-title {
    		font-size: 1rem;
	}
	.philanthropy-container .entry-content .writer-name {
		font-size: 0.9em;
	}
	div.one-trend-container header.entry-header {
    		/*width: 60%;*/
	}
	div.one-trend-container header.entry-header>div{
    	margin: 0 auto;
	}
	div.one-trend-container div.entry-content{
    	text-align: center;
    	margin-left: 0px;
	}
	.post-type-archive-philanthropy_trends .textwidget {
    		/*margin: 60px 10px;*/
    		font-size: 0.84rem;
	}
/* Testimonials */
	.testimonial-container {
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	.testimonial-container > article {
    		width: 100%;
		border: none;
		border-bottom: 1px solid #e6e7e8;
	}
	.testimonial-container .entry-content > img {
    		width: 130px;
    		height: 130px;	
	}
	.testimonial-excerpt a {
		padding: 3px 15px;
		height: 25px;
		font-size: 9px;
	}
	.testimonial-excerpt p {
		margin: 0.3em;
	}
	.testimonial-excerpt {
		/*height: 200px;*/
	}
	p.testimonial-project > a {
		font-size: 15px;
	}
	.testimonial-container .entry-content > p {
		font-size: 0.8rem;
		margin: 0.3em;
	}
	.testimonial-excerpt > p {
		font-size: 0.90rem;
	}
	.single-testimonial .nav-links .nav-previous>p:first-of-type, .single-testimonial .nav-links .nav-next>p:first-of-type{
	    width: 70px;
	    height: 70px;
	}
	.single-testimonial .nav-links img {
		width: 100%; 
		height: 100%;
	}
	.single-testimonial .post-navigation .nav-previous, .single-testimonial .post-navigation .nav-next {
		height: auto;
		min-height: auto!important;
	}
/* Contact */
	div#nsl-list-container, .publications-container {
		-webkit-flex-flow: column;
    		flex-flow: column;
	}
	.nsl-item, .nsl-item:nth-of-type(4n) {
		width: 100%;
		border-top: none;
		border-bottom: 1px solid #ccc;
		border-right: 1px solid #ccc;
		border-left: 1px solid #ccc;
	}
	.nsl-item:nth-of-type(3), .nsl-item:nth-of-type(2) {
		border-top: none;
	}
	h2.nsl-title, h2.contact-title {
		font-size: 1.2em;	
	}
	form.wpcf7-form > p {
		margin: 5px 0;
	}
/* Publications */
	.publications-container article {
    		width: 100%;
		border-left: 1px solid #ccc;
	}
	.publications-container article:nth-of-type(2), .publications-container article:nth-of-type(3), .publications-container article:nth-of-type(4) {
		border-top: none;
	}
	.publications-container article:nth-of-type(4n) {
    		border-right: 1px solid #ccc;
	}
	.publications-container article>header>div.archive-pub-img {
    	display: block;
	}
	.publications-container article>header>div.archive-pub-img img{
    	height: 100%!important;
    	width: auto!important;
	}
	.publications-container article>header>div.icon-type-title-container {
    	margin-top: 10px;
	}

/* Philanthropy Trends Single */ 
	.single-philanthropy_trends h1.entry-title {
		font-size: 20px;
	}
	.philanthropy-article > p {
		font-size: 0.83rem;
	}
	.philanthropy-writer {
		padding: 5px 10px;
		font-size: 0.825rem;
	}
	.philanthropy-writer img {
		width: 115px;
	}
	.philanthropy-article {
		padding: 0 10px;
	}
	.philanthropy_trends h1.entry-title {
    		font-size: 17px;
    		text-align: left;
    		word-spacing: 2px;
	}
/*Newsletter Single */ 
	.single-newsletters .pf-content {
    		padding: 10px 10px 0;
    		font-size: 0.78rem;
	}
	p.nsl-single-subtitle {
    		padding: 0px 20px;
    		font-size: 0.88rem;
	}	
	p.nsl-single-pic img {
    		height: auto;
    		max-width: 95%;
    		margin: auto;
    		display: block;
	}
	/* publication archive */
	.publications-container article{
		/*height: 400px;*/
	}
	/* homepage */
	.teaser {
		font-size: 0.9rem;
	}
	.hl_image {
		height:	158px;
	}
	.triangle-down, .triangle-up, .triangle-left, .triangle-right {
		top: 22%;
    	left: calc(50% - 25px);
	}
	/*
	.fellows .veil {
		height: 154.4px;
	} */
	.veil {
		height: 158.4px;
	}
	.activity-picture {
    		height: 280px;
	}	
	.activity-icon {
		height: 80px;
	}
	.creativity-culture .activity-picture{
		margin-bottom: 0px;
	}
/*Album*/
    .single-album-main-content h2 {
		font-size: medium;
	}
	.archive-album-info {
    		padding: 2px 0 2px 10px;
	}
}

	

/* ----------------- SMALL --------------------
-------------------- ≤650px -------------------
---------------------------------------------*/

@media screen and (max-width: 650px){
/*About Matanel*/
	#post-10 .pf-content p{
	 	font-size: 0.9rem;
	 }
	 #post-10 .pf-content>p:nth-child(2){
	 	height: auto;
	 }
	#post-10 .pf-content>p:last-child{
	 	width: 100%;
	 }
	#post-10 .pf-content>div{
		width: 100%;
		display: inline-block;
		vertical-align: top;
		border-top: 1px solid #e6e7e8;
	}
	#post-10 .pf-content>div:first-of-type{
		border-top: none;
	}
	#post-10 .pf-content>div:nth-of-type(2){
		border-top: 1px solid #e6e7e8;
	}
	#post-10 .pf-content>div:nth-child(odd){
		padding-right: 0px;
	}
	#post-10 .pf-content>div:nth-child(even){
		padding-left: 0px;
	}
	#post-10 .pf-content>div:nth-of-type(2),#post-10 .pf-content>div:nth-of-type(4),#post-10 .pf-content>div:nth-of-type(6){
		border-left: none;
	}
	
	.page-id-12 .flex-container, .page-id-14 .flex-container{
		display: block;
	}
	.page-id-12 .flex-container:first-of-type {
		height: auto;
	}
	.page-id-12 .pf-content > .flex-container:first-of-type >p:first-child {
			margin: 20px auto;
	}
	.page-id-12 .flex-container:nth-of-type(2) p, .page-id-12 .flex-container:nth-of-type(3) p{
		font-size: 0.9rem;
	}
	.page-id-12 .flex-container>.flex-item:first-of-type{
		border-right: none;
		padding-right: 0px;
	}
	.page-id-12 .flex-container>.flex-item:last-of-type{
		padding-left: 0px;
	}
	.page-id-12 .flex-container:nth-of-type(2) > .flex-item, .page-id-12 .flex-container:nth-of-type(3) > .flex-item:first-of-type{	
		border-bottom: 1px solid #e6e7e8;
	}

	.page-id-14 .flex-container > p:first-of-type {
    	margin: 20px auto;
	}
	.page-id-14 .flex-container {
		height: auto;
	}
	.page-id-14 .flex-container:nth-of-type(2) p, .page-id-14 .flex-container:nth-of-type(2) table{
		font-size: 0.9rem;
	}
	.page-id-14 .flex-item {
		padding-right: 0px;
		border-bottom: 0;
		border-right: 0;
	}
	.page-id-14 .flex-item-item {
		padding: 20px 0;
		border-top: 1px solid #e6e7e8;
	}
/*Press*/
	#press-filter ul>li:first-of-type select{
		width: 100%;
	}
	#press-filter ul>li:first-of-type{
		margin-right: 0px;
	}
	#press-content>a{
		font-size: 0.9rem;
	}
	article.press{
		height: 260px;
	}
/*Chronicles*/
	#chronicles-filter ul>li:first-of-type select{
		width: 100%;
	}
	#chronicles-filter ul>li:first-of-type{
		margin-right: 0px;
	}
	#chronicle-content>a{
		font-size: 0.9rem;
	}
/*Grants database*/
	div.grants-filter{
		display: block;
	}
	table.grants-database>thead{
		display: none;
	}
	table.grants-database, table.grants-database>tbody, table.grants-database th, table.grants-database tr, table.grants-database td{
		display: block;
	}
	table.grants-database>tbody>tr{
		margin-bottom:0px;
	}
	table.grants-database>tbody>tr td{
		border-bottom: 1px solid #ccc;
		min-height: 35px;
		font-size: 0.9rem;
	}
	table.grants-database>tbody>tr td:last-of-type{
		border:none;
	}
	table.grants-database>tbody>tr td:first-of-type, table.grants-database>tbody>tr td:nth-of-type(2), table.grants-database>tbody>tr td:nth-of-type(3), table.grants-database>tbody>tr td:nth-of-type(4), table.grants-database>tbody>tr td:nth-of-type(5), table.grants-database>tbody>tr td:last-of-type{
		width: 100%;
		border-right: none;
		padding-left: 140px;
	}
	table.grants-database>tbody>tr td:first-of-type:before, table.grants-database>tbody>tr td:nth-of-type(2):before, table.grants-database>tbody>tr td:nth-of-type(3):before, table.grants-database>tbody>tr td:nth-of-type(4):before, table.grants-database>tbody>tr td:nth-of-type(5):before, table.grants-database>tbody>tr td:last-of-type:before{
		color: #8cb15e;
		font-family: 'Open Sans', sans-serif;
		font-size: 0.9rem;
		font-weight: 400;
		position: absolute;
		left: 50px;
	}
	table.grants-database>tbody>tr td:nth-of-type(1):before{
		content: "Name";
	}
	table.grants-database>tbody>tr td:nth-of-type(2):before{
		content: "Category";
	}
	table.grants-database>tbody>tr td:nth-of-type(3):before{
		content: "Location";
	}
	table.grants-database>tbody>tr td:nth-of-type(4):before{
		content: "Main objective";
	}
	table.grants-database>tbody>tr td:nth-of-type(5):before{
		content: "Start year";
	}
	table.grants-database>tbody>tr td:nth-of-type(6):before{
		content: "End year";
	}
	form#data-search+#reset{
		display: none;
	}
/*Scholarship*/
	#scholarship-intro{
		width: 100%;
		font-size: 0.9rem;
	}
	#scholarship-filter{
		display: block;
	}
	table.matanel_scholarships>thead{
		display: none;
	}
	table.matanel_scholarships, table.matanel_scholarships>tbody, table.matanel_scholarships th, table.matanel_scholarships tr, table.matanel_scholarships td{
		display: block;
	}
	table.matanel_scholarships>tbody>tr{
		margin-bottom:0px;
	}
	table.matanel_scholarships>tbody>tr td{
		border-bottom: 1px solid #ccc;
		min-height: 35px;
		font-size: 0.9rem;
	}
	table.matanel_scholarships>tbody>tr td:last-of-type{
		border:none;
	}
	table.matanel_scholarships>tbody>tr td:nth-of-type(1),table.matanel_scholarships>tbody>tr td:nth-of-type(2),table.matanel_scholarships>tbody>tr td:nth-of-type(3),table.matanel_scholarships>tbody>tr td:nth-of-type(4),table.matanel_scholarships>tbody>tr td:nth-of-type(5),table.matanel_scholarships>tbody>tr td:nth-of-type(6),table.matanel_scholarships>tbody>tr td:last-of-type{
		width: 100%;
		border-right: none;
		padding-left: 140px;
	}
	table.matanel_scholarships>tbody>tr td:nth-of-type(1):before,table.matanel_scholarships>tbody>tr td:nth-of-type(2):before,table.matanel_scholarships>tbody>tr td:nth-of-type(3):before,table.matanel_scholarships>tbody>tr td:nth-of-type(4):before,table.matanel_scholarships>tbody>tr td:nth-of-type(5):before,table.matanel_scholarships>tbody>tr td:nth-of-type(6):before,table.matanel_scholarships>tbody>tr td:last-of-type:before{
		color: #8cb15e;
		font-family: 'Open Sans', sans-serif;
		font-size: 0.9rem;
		font-weight: 400;
		position: absolute;
		left: 50px;
	}
	table.matanel_scholarships>tbody>tr td:nth-of-type(1):before{
		content: "Name";
	}
	table.matanel_scholarships>tbody>tr td:nth-of-type(2):before{
		content: "Country";
	}
	table.matanel_scholarships>tbody>tr td:nth-of-type(3):before{
		content: "Institution";
	}
	table.matanel_scholarships>tbody>tr td:nth-of-type(4):before{
		content: "Studies";
	}
	table.matanel_scholarships>tbody>tr td:nth-of-type(5):before{
		content: "Degree";
	}
	table.matanel_scholarships>tbody>tr td:nth-of-type(6):before{
		content: "Start year";
	}
	table.matanel_scholarships>tbody>tr td:last-of-type:before{
		content: "End year";
	}
	table.matanel_scholarships>tbody>tr td:nth-of-type(6):after{
		content: "";
	}
/* Philanthropy Trends */
	.philanthropy-container >article {
    		border-right: none;
	}
	.post-type-archive-philanthropy_trends .textwidget {
    		width: 100%;
    		font-size: 0.9rem;
	}
/* Contact */
	.wpcf7-form >p:first-of-type, .wpcf7-form> p:nth-of-type(2) {
		width: 100%;
	}
/* Newsletter Single */
	.single-newsletters .pf-content a {
    	word-wrap: break-word;
	}
	p.nsl-single-pic {
		display: block;
		width: 100%;
		margin: 0 auto 20px;
	}
	p.nsl-single-subtitle {
    	display: block;
    	width: 80%;
 		margin: 0 auto;
	}
/* Single book */	
	img.book-cover-pic{
		float: none;
		display: block;
		margin: 0px auto;
	}
	article.books h2.entry-title{
		margin-top: 20px;
	}
	article.books p.about-book-title{
		margin-top: 30px;
	}
	
	.single-book-container > article header.entry-header>img.book-cover-pic{
		height: 250px;
	}
/* Testimonials */
	.single-testimonial-container {
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	.single-testimonial-content {
    		padding-right: 0;
	}
	.content-button-container {
		text-align: center;
	}
	
	.single-testimonial .nav-links {
		width: 100%;
		-webkit-flex-direction: row;
		flex-direction: row;
	}
	.single-testimonial .testimonial-excerpt {
		display: none;
	}
	.single-testimonial .post-navigation .nav-previous, .single-testimonial .post-navigation .nav-next {
		min-height: 300px;
		border-bottom: 1px solid #e6e7e8;
		border-top: 1px solid #e6e7e8;
	}
	/* homepage */
	.highlight {
		display: -webkit-flex;
		display: flex;
		-webkit-flex-flow: column;
		flex-flow: column;
		height: auto;
	}
	.hl_text {
		width: 100%;
		padding: 15px;
		height: auto;
	}
	a.read_more {
		width: 50%;
		padding: 5px;
		height: 30px;
		top: 5px;
		font-size: 0.8rem;
	}

	.highlight {
		display: -webkit-flex;
		display: flex;
		-webkit-flex-flow: column;
		flex-flow: column;
		height: auto;
		margin-bottom: 20px;
	}
	.hl_text {
		width: 100%;
		padding: 15px;
		height: auto;
	}
	.highlight a.read_more {
		width: 50%;
		width: 36%;
		padding: 5px;
		height: 30px;
		top: 5px;
		font-size: 0.8rem;
		margin-top: 10px;
	}
	.highlight .teaser{
		height: 150px;
	}
	
	.activities {
		-webkit-flex-flow: column nowrap;
    	flex-flow: column nowrap;
		height: auto;
	}
	.fellows, .faith, .progress, .creativity-culture {
		position: relative;
	}
	.fellows .activity-icon, .fellows .activity-picture, .creativity-culture .activity-icon, .creativity-culture .activity-picture {
    		width: 100%;
	}
	.activity-picture {
		margin-bottom: 1px;
		border: 1px solid #fff;
	}
	h2.activity-type {
		font-size: 0.9rem;
		margin: 0 0 5px;
	}
	/*.activity-picture {
    		height: 230px;
	}*/
	.fellows .veil {
		height: 100%;
	}
	.veil {
		height: 100%;
	}
	.activities .bx-wrapper .bx-controls-direction a {
		top: 120% !important;
	}
	
	.activities a.bx-prev {
    		left: 75px !important;
	}
	.activities a.bx-next {
    		right: 75px !important;
	}
	.triangle-down, .triangle-up,.triangle-left,.triangle-right {
    		width: 0;
    		height: 0;
    		border: 25px solid #fff;
    		border-left-color: transparent;
    		border-right-color: transparent;
    		border-bottom-color: transparent;
    		position: absolute;
    		z-index: 900;
	}
	.activities .bx-viewport {
    		left: 1px !important;
		height: 200px !important;
	}
	.activities .bx-viewport img {
		margin-top: 0;
	}
	h3.hp-project-title {
    		top: 30px;
    		font-size: 0.78rem;
	}
	.activities .project-location {
	    	top: 120px;
		font-size: 0.75rem;
	}
	.etca {
    		display: none;
	}
	.hp-block2-container {
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	.hp-block2-container >div {
    		margin-bottom: 1px;
    		background: #fff;
    		padding: 10px 20px;
    		width: 100%;
	}
	.hp-block2-container >div:last-of-type{
		margin-bottom: 0px;
	}
	.hp-block2-container > div.hp-news, .hp-block2-container > div.hp-testimonials, .hp-block2-container > div.hp-publications, .hp-block2-container > div.hp-sayings{
		height: auto;
	}
	.activities .bx-wrapper .bx-pager{
		bottom: -54px;
	}

/* single project slider*/
	div#single-project-slider, div#single-project-slider>div.bx-wrapper{
		height: 250px;
	}
	div#single-project-slider>div.bx-wrapper>div.bx-viewport>ul>li p{
		font-size: 0.9rem;
	}
/* single album slider*/
	div#single-album-slider, div#single-album-slider>div.bx-wrapper{
		height: 250px;
	}
	div#single-album-slider>div.bx-wrapper>div.bx-viewport>ul>li p{
		font-size: 0.9rem;
	}
/* Sayings */
	#sayings-container article div.entry-content p:nth-of-type(2){
			font-size: 0.9rem;
		}
	}
/* Home */
	.activity-description>li>a div:not(.veil){
		top: 100px;
	}

/* ------------------- SMALL ----------------------
----------------- ≥451px and ≤650px ---------------
-------------------------------------------------*/

@media screen and (min-width: 451px) and (max-width: 650px){
/*Press*/
	article.press:not(.searchresults){
		width: 50%;
		/*height: 320px;*/
	}
	article.press:nth-of-type(3n):not(.searchresults){
		border-right: 1px solid #ccc;
	}
	article.press:nth-of-type(2n){
		border-right: none;
	}
/*Chronicles*/
	article.chronicles:not(.searchresults){
		width: 50%;
		/*height: 360px;*/
	}
	article.chronicles:nth-of-type(3n):not(.searchresults){
		border-right: 1px solid #ccc;
	}
	article.chronicles:nth-of-type(2n){
		border-right: none;
	}
/* Sayings */
	#sayings-container article{
		width: 50%;
	}
	#sayings-container article:nth-of-type(3n){
		border-right: 1px solid #ccc;
	}
	#sayings-container article:nth-of-type(2n){
		border-right: none;
	}
/* Projects, Philanthropy Trends */	
	.projects-container article, .philanthropy-container >article {
    		width: 100%;
	}
	
	.testimonial-container > article {
    		width: 50%;
	}
	.testimonial-container > article:first-of-type {
		border-right: none;
	}
	.testimonial-container > article:nth-of-type(2n+1) {
		border-right: none;
	}
	.post-type-archive-testimonial .hentry {
		margin: 0;
	}
/* Projects Single */
	.single-project-main-content {
		font-size: 0.88rem;
	}
/* Testimonials */
	.testimonial-container > article {
		border: none;
		border-bottom: 1px solid #e6e7e8;
		margin-bottom: 0;
	}
	.testimonial-container > article:first-of-type, .testimonial-container > article:nth-of-type(2n+1) {
		border-left: none;
		border-right: 1px solid #e6e7e8;
	}
	.testimonial-container > article:nth-of-type(2n) {
		border-left: none;
		border-right: none;
	}
	.testimonial-excerpt {
		/*height: 230px;*/
	}
	.testimonial-excerpt a {
		padding: 4px 6px;
    	font-size: 10px;
    		/*width: 75%;*/
	}
	.testimonial-excerpt p {
		font-size: 0.9rem;
	}
	.testimonial-container .entry-content > img {
		width: 110px;
		height: 110px;
	}
	p.testimonial-project > a {
		font-size: 16px;	
	}
	p.testimonial-name {
    		font-size: 13px;
	}
/* Contact */
	.nsl-item {
    		width: 50%;
		border-right: 1px solid #ccc;
	}
	.nsl-item:first-of-type, .nsl-item:nth-of-type(2) {
    		border-top: 1px solid #ccc;
		border-bottom: none;
	}
	.nsl-item:nth-of-type(2n) {
		border-left: none; 
		border-right: 1px solid #ccc;
	}
	.nsl-item:first-of-type, .nsl-item:nth-of-type(2n+1) {
		border-left: 1px solid #ccc;
	}
	h2.nsl-title, h2.contact-title {
		font-size: 1.3em;	
	}	
/* Publications */
	.publications-container article {
		width: 50%;
		/*height: 450px;*/
	}
	.publications-container article:nth-of-type(3), .publications-container article:nth-of-type(4) {
		border-top: none;
	}
	.publications-container article:nth-of-type(4n) {
		border-right: 1px solid #ccc;
	}
	.publications-container article:first-of-type, .publications-container article:nth-of-type(2n+1) {
		border-left: 1px solid #ccc;
	}
/* Philanthropy Trends Single */ 
	.single-philanthropy_trends h1.entry-title {
		font-size: 21px;
	}
	.philanthropy-article > p {
		font-size: 0.95rem;
	}
	.philanthropy-writer {
		padding: 5px 30px;
		font-size: 0.9rem;
	}
	.philanthropy-writer img {
		width: 125px;
	}
	.philanthropy-article {
		padding: 0 10px;
	}
/* Newsletter Single */
	.single-newsletters .pf-content {
    		padding: 10px 40px 0;
    		font-size: 0.87rem;
	}
	p.nsl-single-subtitle {
    		padding: 10px 40px;
    		font-size: 0.98rem;
	}	
	p.nsl-single-pic img {
    		height: auto;
    		max-width: 95%;
    		margin: auto;
    		display: block;
	}
	.teaser {
		font-size: 1rem;
	}
	.hl_image {
		height:	248px;
	}
	.bx-viewport {
		height: 200px !important;
	}
	.veil, .fellows .veil {
		height: 200px;
	}
	.activity-picture {
    		height: 280px;
	}
	.activity-icon {
    		height: 95px;
	}
	.triangle-down, .triangle-up, .triangle-left, .triangle-right {
		top: 24%;
		left: calc(50% - 25px);
	}
	.creativity-culture .activity-picture{
		margin-bottom: 0px;
	}
	.creativity-culture .triangle-left{
		top: 26%;
	}
/* Album Single */
	.single-album-main-content {
		font-size: 0.88rem;
	}
}
/* ------------------- MEDIUM -------------------
--------------------- ≤900px---------------------
-----------------------------------------------*/

@media screen and (max-width: 900px){
/*(Responsive menu)*/
	#small-menu-bg{
		display: block;
	}
	header#masthead{
		display: none;
	}
	header#masthead.small{
		display: block;
		position:absolute;
		top:80px;
		left:auto;
		right: 0px;
		height:auto;
		padding: 0px 10px 25px;
		background: #87634b;
		/*border: 1px solid #eee;*/
		border-top: none;
		z-index: 10001;
	}
	#content{
	 	width: 100%;
	 	margin-left: 0px;
	 }
	div.home-link{
		display: none;
	}
	#masthead>p#copy{
	display: none;
	}
/* Footer */
	footer#colophon{
		display: block;
	}
/* Philanthropy Trends */
	.post-type-archive-philanthropy_trends .textwidget {
		padding: 0;
	}
/* Testimonials */	
	.testimonial-container {
		-webkit-flex-flow: row wrap;
    	flex-flow: row wrap;
	}
	.single-testimonial .post-navigation .nav-previous, .single-testimonial .post-navigation .nav-next {
		border-bottom: 1px solid #e6e7e8;
		border-top: 1px solid #e6e7e8;
	}
	.single-testimonial .post-navigation .nav-next {
		border-right: 1px solid #e6e7e8;
	}
	.single-testimonial .entry-content {
		border: 1px solid #e6e7e8;
		padding-top: 20px;
	}

/* Publications */
	.publications-container article{
		
    	padding: 15px;
		
	}
	.archive-pub-img {
		height: 120px;
	}
	.icon-type-title-container {
    		margin-top: 10px;
	}
	.icon-type-title-container {
		height: 80px;	
	}
	/*p.archive-pub-author {
    		font-size: 14px;
	}*/
	.icon-type-title-container p > a {
		display: block;
		font-size: 0.85em;
	}
	.archive-pub-img {
		display: block;
		-webkit-align-items: center;
		align-items: center;
	}
	.archive-pub-img img {
	    	height: 100%;
    		width: auto!important;
    		margin: auto;
	}
	.type-books .archive-pub-img img {
    		/*width: 36% !important;*/
	}
	.publications-container article .pf-content{
    		font-size: 0.9em;
	}
/* Philanthropy Trends Single */
	/*.philanthropy-single-container {
		flex-direction: column;
	}*/
.nsl-single-pic-subtitle-container {
		-webkit-flex-direction: column;
		flex-direction: column;
	}
/* Project Single */
	.single-project .entry-content {
		-webkit-flex-flow: column;
		flex-flow: column;
	}
	div#modal-project-aside{
	    left: 20px;
	    width: calc(100% - 40px);
	    top:100px;
	}
/* Single book */
	div#modal-book-aside{
	    left: 20px;
	    width: calc(100% - 40px);
	    top:100px;
	}
/* Home */


	.activities {
		-webkit-flex-flow: column nowrap;
    	flex-flow: column nowrap;
		height: auto !important;
	}
	.fellows, .faith, .progress, .creativity-culture {
		position: relative;
	}
	.fellows .activity-icon, .fellows .activity-picture, .creativity-culture .activity-icon, .creativity-culture .activity-picture {
    		width: 100%;
	}
	
	h2.activity-type {
		font-size: 0.9rem;
		margin-top:8px;
	}
	.activities .bx-wrapper .bx-controls-direction a {
		top: 120% !important;
	}
	.fellows .activity-icon img {
		/*width: 9%;*/
	}
	.activity-icon img{
		height: 30px;
		width: auto;
	}
	.activities{
		margin-bottom: 1px;
	}
	.activities a.bx-prev {
    		left: 75px !important;
	}
	.activities a.bx-next {
    		right: 75px !important;
	}
	.triangle-down, .triangle-up,.triangle-left,.triangle-right {
    		width: 0;
    		height: 0;
    		border: 25px solid #fff;
    		border-left-color: transparent;
    		border-right-color: transparent;
    		border-bottom-color: transparent;
    		position: absolute;
    		z-index: 900;
	}
	.activities .bx-viewport {
    		left: 0px !important; 
		/* height: 160px !important; */
	}
	.activities .bx-viewport img {
		margin-top: 0;
	}
	h3.hp-project-title {
    		top: 30px;
    		font-size: 0.90rem;
	}
	
	.etca {
    		display: none;
	}
	.hp-block2-container {
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	.hp-block2-container >div {
    		/*margin: 10px auto;*/
    		background: #fff;
    		padding: 10px 20px;
    		width: 100%;
	}
}
/* ----------------- MEDIUM ---------------------
-----------------≥651px and ≤900px---------------
-----------------------------------------------*/

@media screen and (min-width: 651px) and (max-width: 900px){
/* About Matanel */
	#post-10 .pf-content p{
	 	font-size: 0.95rem;
	 }
	.page-id-12 .flex-container:nth-of-type(2) p, .page-id-12 .flex-container:nth-of-type(3) p{
		font-size: 0.95rem;
	}
	.page-id-14 .flex-container:nth-of-type(2) p, .page-id-14 .flex-container:nth-of-type(2) table{
		font-size: 0.95rem;
	}
/* Press */
	article.press:not(.searchresults){
		width: 33.33%;
	}
	article.press:nth-of-type(4n):not(.searchresults){
		border-right: 1px solid #ccc;
	}
	article.press:nth-of-type(3n){
		border-right: none;
	}
	#press-content>a{
		font-size: 0.95rem;
	}
/* Chronicles */
	article.chronicles:not(.searchresults){
		width: 33.33%;
		/*height: 360px;*/
	}
	article.chronicles:nth-of-type(4n):not(.searchresults){
		border-right: 1px solid #ccc;
	}
	article.chronicles:nth-of-type(3n){
		border-right: none;
	}
	#chronicle-content>a{
		font-size: 0.95rem;
	}
/* Grants database */
	table.grants-database>tbody>tr td{
		font-size: 0.95rem;
	}
/* Sayings */
	#sayings-container article{
		width: 33.33%;
	}
	#sayings-container article:nth-of-type(4n){
		border-right: 1px solid #ccc;
	}
	#sayings-container article:nth-of-type(3n){
		border-right: none;
	}
	#sayings-container article div.entry-content p:nth-of-type(2){
		font-size: 0.95rem;
	}
/* Scholarships */
	#scholarship-intro{
		font-size: 0.95rem;
	}
	table.matanel_scholarships>tbody>tr td{
		font-size: 0.95rem;
	}
/* Projects */
	.projects-container article, .philanthropy-container >article {
    		width: 50%;
	}
	.projects-container h3.entry-title > a {
		display: block;
	}
/* Projects Single */
	.single-project-main-content {
		font-size: 0.92rem;
	}
	div#single-project-slider>div.bx-wrapper>div.bx-viewport>ul>li p{
		font-size: 0.95rem;
	}
/* Album Single */
	.single-album-main-content {
		font-size: 0.92rem;
	}
	div#single-album-slider>div.bx-wrapper>div.bx-viewport>ul>li p{
		font-size: 0.95rem;
	}
/* Philanthropy Trends */
	.philanthropy-container >article:nth-of-type(2n+1) {
    		border-right: 1px solid #e6e7e8;
	}
	.philanthropy-container >article:nth-of-type(2n) {
    		border-right: none;
	}
	h2.entry-title {
    		font-size: 1.32em;
	}

/* Testimonials */
	.testimonial-container > article {
    		width: 33.33%;
		border-bottom: 1px solid #e6e7e8;
		border-top: none;
		margin-bottom: 0;
	}
	.testimonial-container > article:first-of-type, .testimonial-container > article:nth-of-type(3n+1) {
		border-left: none;
		border-right: 1px solid #e6e7e8;
	}
	.testimonial-container > article:nth-of-type(3n) {
		border-right: none;
		border-left: 1px solid #e6e7e8;
	}
	.testimonial-container > article:nth-of-type(2), .testimonial-container > article:nth-of-type(3n+2) {
		border-left: none;
		border-right: none;
	}
	.testimonial-container .entry-content > img {
    		width: 140px;
    		height: 140px;
	}
	.testimonial-excerpt p {
		font-size: 0.84rem;
	}
	.testimonial-excerpt a {
    	padding: 6px 5px;
    	font-size: 12px;
		height: 30px;
		/*width: 65%;*/
	}
	p.testimonial-project > a {
		font-size: 17px;
	}
		.single-testimonial-container {
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	.single-testimonial-content {
    		padding-right: 0;
	}
	.content-button-container {
		text-align: center;
	}
	
	.single-testimonial .nav-links {
		width: 100%;
		-webkit-flex-direction: row;
		flex-direction: row;
	}
/* Contact */
	.nsl-item {
    		width: 33.33%;
	}
	.wpcf7-form >p:first-of-type, .wpcf7-form> p:nth-of-type(2) {
		width: 49.5%;
	}
	.nsl-item:nth-of-type(4n) {
		border-right: 1px solid #ccc;	
	}
	.nsl-item:nth-of-type(4) {
    		border-top: none;
	}
	.nsl-item:first-of-type, .nsl-item:nth-of-type(3n+1) {
		border-left: 1px solid #ccc;	
	}
	h2.nsl-title, h2.contact-title {
		font-size: 1.4em;	
	}
/* Publications */
	.publications-container article {
		width: 33.33%;
		/*height:450px;*/
	}
	.publications-container article:nth-of-type(4) {
		border-top: none;
	}
	.publications-container article:nth-of-type(4n) {
	    	border-right: 1px solid #ccc;
	}
	.publications-container article:first-of-type, .publications-container article:nth-of-type(3n+1) {
	    	border-left: 1px solid #ccc;
	}

	
	article.books p.archive-pub-author{
		font-size: 13px;
	}
/* Philanthropy Trends Single */ 
	.single-philanthropy_trends h1.entry-title {
		font-size: 22px;
	}
	.philanthropy-article > p {
		font-size: 0.92rem;
	}
	.philanthropy-writer {
		padding: 5px 10px;
		font-size: 0.9rem;
	}
	.philanthropy-writer img {
		width: 125px;
	}
	.philanthropy-article {
		padding: 0 20px;
	}
/* Newsletter Single */
	p.nsl-single-subtitle {
		font-size: 0.88rem;
	}
	.single-newsletters .pf-content {
    		padding: 0 40px 0;
    		font-size: 0.96rem;
	}
/* Home */
	.activities {
		-webkit-flex-flow: row wrap;
		flex-flow: row wrap;
		-webkit-justify-content: space-between;
		justify-content: space-between;
	}
	.activities .activity-icon{
		padding: 10px;
	}
	.activities .activity-icon img{
		height: 30px;
		width: auto;
	}
	.activities .bx-wrapper img {
		max-width: 100%;
	}
	/*.activity-description {
		transform: translate3d(-.04px, 0px, 0px) !important; 
	} */
	.veil, .fellows .veil {
	    	height: 170px;
    		width: 100%;
    		margin: 0 auto;
	}
	.activities .bx-wrapper .bx-viewport {
		left: 0px !important;
	}
	.activities .bx-viewport {
    		height: 170px !important;
	}
	.activities .bx-viewport li {
		/*width: 371px !important;*/
		left: 180px !important;
	}
	.fellows, .progress {
    		margin-bottom: 1px;
	}
	.fellows, .progress, .faith, .creativity-culture {
		width: 50%;
		border-right: 1px solid #ccc;
	}
	.progress, .creativity-culture {
		border-right: none;
	}
	.activity-picture {
		height: 240px;
		border-bottom: 1px solid #fff;
		border-left: 1px solid #fff;
		border-right: 1px solid #fff;
	}
	h3.hp-project-title{
		margin-left: 30px;
		margin-right: 30px;
		top: 20px;
	}
	.activities .project-location {
	    	top: 100px;
		font-size: 0.75rem;
		margin-left: 30px;
		margin-right: 30px;
	}
	.progress .activity-picture, .creativiry-culture .activity-picture {
		border-right: 1px solid #fff;
	}
	.triangle-up, .triangle-left, .triangle-right {
		left: calc(50% - 25px);
	}
	.triangle-down {
		top: 29.5%;
	}
	.activity-icon {
		height: 100px;
	}
	.hp-block2-container > div {
		width: 50%;
		padding: 20px;
		background: #fff;
		border-right: 1px solid #ccc;
	}
	.hp-block2-container > div:nth-of-type(even) {
		border-right: none;
	}
	.hl_text{
		padding: 15px;
	}
	.activity-description>li>a div:not(.veil){
		top: 70px;
	}
}	
/* ------------------------------------------------
-----------------AUTRES (exceptions)---------------
-------------------------------------------------*/
@media screen and (max-width: 550px){
	.single-testimonial .entry-content p.single-testimonial-project{
		width: 100%;
	}
}
/*Footer*/

@media screen and (max-width: 600px){
	footer#colophon >div.site-info>div:first-of-type{
		margin-right: 40px;
	}
	footer#colophon div#nav-footer{
		border-left: 1px solid #ccc;
		padding-left: 20px;
		width: calc(100% - 150px);
	}
	footer#colophon div#nav-footer>div{
		width: 100%;
		border-right: none;
		height: auto;
	}
}
@media screen and (max-width: 430px){
	footer#colophon >div.site-info>div:first-of-type{
		margin:0 auto;
		display: block;
	}
	footer#colophon div#nav-footer{
		/*border-top:1px solid #ccc;*/
		display: block;
		border-left: none;
		padding-top: 20px;
		padding-left: 17%;
		width: 100%;
	}
}
/*(Mission statement)*/
@media screen and (max-width: 1095px){
	#post-10 .pf-content>p:first-child{
	 	width: 100%;
	 }
	 #post-10 .pf-content>p:nth-child(2){
	 	width: 100%;
		padding-left: 0;
	 }
	 #post-10 .pf-content>p:nth-child(2) img{
	 	margin-top: 0;
	 }
}
/* filter */
@media screen and (max-width: 1208px){
	.search ul>li h4{
	    width: 74px;
	}
}
/* Project single */
@media screen and (max-width: 1200px){
	div#project-aside-btn{
		display: block;
	}
	div#book-aside-btn{
		display: block;
	}
	.single-book-container > article {
	width: 100%;
	padding-right: 0px;
	/*flex: 3;*/
}
	aside.single-book-aside-container{
		margin-left: 0px;
		display: none;
	}
	div#modal-book-aside aside.single-book-aside-container{
		width: 100%;
	}

	div#modal-project-aside div.modal-project-aside-content{
		margin-top: 40px;
	}
	.single-book-container {
    	display: block;
	}
	.single-project-main-content {
		padding-right: 0px;
	}
	/* Single book */
	#modal-book-aside p{
		font-size: 0.9rem;
	}
	/* Single philanthropy trends */
	.philanthropy-single-container {
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	/*Album single*/
	.single-album-main-content {
		padding-right: 0px;
	}
}
/* homepage */
@media screen and (max-width: 1201px){
	div#centre{
		display: none;
	}
	.highlight {
    	margin-bottom: 1px;
	}
	.hl_image{
		max-height: 400px;
		max-height: 300px;
	}
	div.activity-picture{
		background: white;
	}
}
@media screen and (min-width: 650px) and (max-width: 1201px){
	.activities .bx-wrapper .bx-pager{
		bottom: -50px;
	}
}


@media screen and (min-width: 651px) and (max-width: 1200px){
	/* single project slider */
	div#single-project-slider, div#single-project-slider>div.bx-wrapper{
		height: 400px;
	}
	/* single album slider */
	div#single-album-slider, div#single-album-slider>div.bx-wrapper{
		height: 400px;
	}
	.hp-block2-container {
		display: -webkit-flex;
    	display: flex;
	/*justify-content: space-around;*/
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
}
.hp-block2-container h2.title_section {
	font-size: 1.1rem;
}
.hp-block2-container h2.title_section:before {
	border-bottom: 3px solid #8cb15e;
}
.hp-news, .hp-testimonials {
	margin-bottom: 1px;
}
.hp-sayings p:first-of-type, .hp-sayings .saying {
	font-family: 'Merriweather', serif;
    	font-style: italic;
    	font-size: 1.1rem;
    	margin-top: 50px;
}
.hp-sayings p:first-of-type::before, .hp-sayings .saying::before {
    	content: url(images/quotation-marks.png);
    	display: block;
}
.hp-sayings p.saying-origin:before {
    	content: "-";
	font-size: 1.2rem;
	display: initial;
}
.hp-sayings p.saying-origin {
	text-align: right;
	font-style: normal;
    	font-family: inherit;
	font-size: 1rem;
}
.hp-testimonials img {
    	width: 100px;
    	border-radius: 50%;
	display: block;
	margin: 5px auto;
}
.hp-testimonials p.testimonial-project, .hp-testimonials p.testimonial-name {
    	text-align: center;
    	margin: 0;
}
.hp-testimonials .testimonial-excerpt p {
	font-size: 0.9rem;
}
.hp-testimonials .testimonial-excerpt {
	margin-bottom: 10px;
	/*height: 215px;*/
}
.hp-testimonials .testimonial-excerpt a {
	/*width: 52%;*/
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 11px;
}
.hp-publications img{
	display: block;
	margin: auto;
	border: 1px solid #eee;
}
.hp-publications h3.title_publication {
    font-size: 1.1rem;
    text-align: center;
    margin: 15px 0 10px;
}
.hp-publications .about {
	margin: 0;
}
.hp-publications .about+p {
    font-size: 0.85rem;
    margin-top: 0;
}
}
@media screen and (min-width: 901px) and (max-width: 1201px){
/* Press */
	article.press:not(.searchresults){
		width: 33.33%;
		/*height: 350px;*/
	}
	article.press:nth-of-type(4n):not(.searchresults){
		border-right: 1px solid #ccc;
	}
	article.press:nth-of-type(3n){
		border-right: none;
	}
/* Chronicles */
	article.chronicles:not(.searchresults){
		width: 33.33%;
		/*height: 360px;*/
	}
	article.chronicles:nth-of-type(4n):not(.searchresults){
		border-right: 1px solid #ccc;
	}
	article.chronicles:nth-of-type(3n){
		border-right: none;
	}
/* Sayings */
	#sayings-container article{
		width: 33.33%;
	}
	#sayings-container article:nth-of-type(4n){
		border-right: 1px solid #ccc;
	}
	#sayings-container article:nth-of-type(3n){
		border-right: none;
	}
/* Projects */	
	.projects-container article, .philanthropy-container >article {
    		width: 50%;
	}
	.projects-container h3.entry-title > a {
		display: block;
	}
/* Projects Single */
	.single-project .entry-content {
		-webkit-flex-flow: column;
		flex-flow: column;
	}
	.single-project-main-content {
		font-size: 0.95rem;
	}
/*Album Single*/
    .single-album-main-content{
	    font-size: 0.95rem;
    }
/* Philanthropy Trends */
	.post-type-archive-philanthropy_trends .textwidget {
		padding: 0;
	}
	.philanthropy-container >article:nth-of-type(2n+1) {
    		border-right: 1px solid #e6e7e8;
	}
	.philanthropy-container >article:nth-of-type(2n) {
    		border-right: none;
	}
	h2.entry-title {
    		font-size: 1.36em;
	}
/* Philanthropy Trends Single */ 
	.single-philanthropy_trends h1.entry-title {
		font-size: 22px;
	}
	.philanthropy-article > p {
		font-size: 0.9rem;
	}
	.philanthropy-writer {
		-webkit-flex: 2.2;
		flex: 2.2;
		padding: 5px 10px;
		font-size: 0.9rem;
	}
	.philanthropy-writer img {
		width: 125px;
	}
/* Testimonials */	
	.testimonial-container {
		-webkit-flex-flow: row wrap;
    	flex-flow: row wrap;
	}
	.testimonial-container > article {
    		width: 33.33%;
		border-bottom: 1px solid #e6e7e8;
		border-top: none;
		margin-bottom: 0;
	}
	.testimonial-container > article:first-of-type, .testimonial-container > article:nth-of-type(3n+1) {
		border-left: none;
		border-right: 1px solid #e6e7e8;
	}
	.testimonial-container > article:nth-of-type(3n) {
		border-right: none;
		border-left: 1px solid #e6e7e8;
	}
	.testimonial-container > article:nth-of-type(2), .testimonial-container > article:nth-of-type(3n+2) {
		border-left: none;
		border-right: none;
	}
	.testimonial-container .entry-content > img {
    		width: 140px;
    		height: 140px;
	}
	.testimonial-excerpt {
		/*height: 240px;*/
	}
	.testimonial-excerpt p {
		font-size: 0.84rem;
	}
	.testimonial-excerpt a {
    		padding: 6px 5px;
    		font-size: 12px;
		height: 30px;
		/*width: 65%;*/
	}
	p.testimonial-project > a {
		font-size: 17px;
	}
	.single-testimonial-container {
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	.single-testimonial-content {
    		padding-right: 0;
	}
	.content-button-container {
		text-align: center;
	}
	.single-testimonial .nav-links {
		width: 100%;
		-webkit-flex-direction: row;
		flex-direction: row;
	}
	.single-testimonial .post-navigation .nav-previous, .single-testimonial .post-navigation .nav-next {
		border-bottom: 1px solid #e6e7e8;
		border-top: 1px solid #e6e7e8;
	}
	.single-testimonial .post-navigation .nav-next {
		border-right: 1px solid #e6e7e8;
	}
	.single-testimonial .entry-content {
		border: 1px solid #e6e7e8;
		padding-top: 20px;
	}
/* Contact */
	.nsl-item {
    		width: 33.33%;
	}
	.wpcf7-form >p:first-of-type, .wpcf7-form> p:nth-of-type(2) {
		width: 49.5%;
	}
	.nsl-item:nth-of-type(4n) {
		border-right: 1px solid #ccc;	
	}
	.nsl-item:nth-of-type(4) {
    		border-top: none;
	}
	.nsl-item:first-of-type, .nsl-item:nth-of-type(3n+1) {
		border-left: 1px solid #ccc;	
	}
	h2.nsl-title, h2.contact-title {
		font-size: 1.45em;	
	}
/* Publications */
	.publications-container article {
		width: 33.33%;
		/*height: 460px;*/
    	padding: 15px;
	}
	.archive-pub-img {
		height: 120px;
	}
	.icon-type-title-container {
    		margin-top: 10px;
	}
	.icon-type-title-container {
		height: 90px;	
	}
	/*p.archive-pub-author {
    		font-size: 14px;
	}*/
	.icon-type-title-container p > a {
		display: block;
		font-size: 0.85em;
	}
	.archive-pub-img img {
	    	height: 100%;
	    	width: auto!important;
	}
	.publications-container article .pf-content {
    		font-size: 0.9em;
	}
	.publications-container article:nth-of-type(4) {
		border-top: none;
	}
	.publications-container article:nth-of-type(4n) {
	    	border-right: 1px solid #ccc;
	}
	.publications-container article:first-of-type, .publications-container article:nth-of-type(3n+1) {
	    	border-left: 1px solid #ccc;
	}
/* Newsletter Single */
	p.nsl-single-subtitle {
		font-size: 0.9rem;
	}
	.single-newsletters .pf-content {
    		padding: 10px 60px 0;
    		font-size: 0.98rem;
	}
/* Home */
	.highlight {
		/*flex-direction: column;
		height: auto;*/
	}
	.hl_text {
		width: 100%;
		padding: 15px;
	}
	.activities {
		-webkit-flex-flow: row wrap;
		flex-flow: row wrap;
		-webkit-justify-content: space-between;
		justify-content: space-between;
		height: auto !important;
		margin-bottom: 1px;
	}
	.activities .bx-wrapper img {
		max-width: 100%;
		margin-top: 0;
	}
	.veil, .fellows .veil {
	    	height: 204px;
    		width: 100%;
    		margin: 0 auto;
	}
	.activities .bx-wrapper .bx-viewport {
		left: 0px !important;
	}
	.activities .bx-viewport {
    		height: 170px !important;
	}
	.activities .bx-viewport li {
		/*width: 371px !important;
		width: 430px !important;*/
		left: 180px !important;
	}
	h3.hp-project-title{
		margin-left: 25px;
		margin-right: 25px;
		top: 20px;
	}

	.highlight .teaser{
		height: 150px;
		height: 120px;
	}
	.highlight a.read_more{
		margin-top: 15px;
		margin-top: 12%;
	}
	.hl_image img{
		width: 100%;
	}
	.activities .project-location{
		margin-left: 25px;
		margin-right: 25px;
		top: 100px;
	}
	.activities .bx-wrapper .bx-controls-direction a {
    		top: 120% !important;
	}
	.activities a.bx-prev {
		left: 80px!important;
	}
	.activities a.bx-next {
		right: 80px!important;
	}
	.fellows, .progress {
    		margin-bottom: 1px;
	}
	.fellows, .progress, .faith, .creativity-culture {
		width: 50%;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: column;
		flex-direction: column;
		border-right: 1px solid #ccc;
	}
	.progress, .creativity-culture {
		border-right: none;
	}
	.activity-icon {
		padding: 10px;
		-webkit-flex:1;
		flex:1;
	}
	h2.activity-type{
		font-size: 1.1rem;
	}
	.activity-icon img{
		height: 35px;
		width: auto;
	}
	.activity-picture {
		height: 240px;
		border-bottom: 1px solid #fff;
		border-left: 1px solid #fff;
		border-right: 1px solid #fff;
	}
	.progress .activity-picture, .creativiry-culture .activity-picture {
		border-right: 1px solid #fff;
	}
	.triangle-up, .triangle-left, .triangle-right, .triangle-down {
		display: none;
	}
	.activity-description>li>a div:not(.veil){
		top: 50px;
	}
	.hp-block2-container > div {
		width: 50%;
		padding: 20px;
		background: #fff;
		border-right: 1px solid #ccc;
	}
	
}
@media screen and (min-width: 1202px) and (max-width: 1535px) {
	.highlight {
		height: 332px;
		height: 280px;
	}
	
}
@media screen and (min-width: 1202px) and (max-width: 1535px) {
	.triangle-up {
			top:36%;
		}
}
@media screen and (max-width: 1201px){
		.activities>div .activity-picture ul.activity-description>li{
		line-height: 172px;
		text-align: center;
	}
	.highlight{
		display: -webkit-flex;
		display: flex;
	}
	.activities .bx-wrapper{
		margin-bottom: 0px;
	}
	.activities .bx-wrapper .bx-next{
		background: url(images/controls2.png) no-repeat -43px 0px;
	}
	.activities .bx-wrapper .bx-next:hover{
		background: url(images/controls2.png) no-repeat -43px -32px;
	}
	.activities .bx-wrapper .bx-prev{
		background: url(images/controls2.png) no-repeat 0px 0px;
	}
	.activities .bx-wrapper .bx-prev:hover{
		background: url(images/controls2.png) no-repeat 0px -32px;
	}
	
	.activities .bx-wrapper .bx-pager.bx-default-pager a{
		background: #8cb15e;
		opacity: 0.6;
	}
	.activities .bx-wrapper .bx-pager.bx-default-pager a.active{
		background: #8cb15e;
		opacity: 1;
	}
}
@media screen and (min-width: 1202px) {
	.activities {
		height:600px !important;
	}
	.activities .bx-wrapper .bx-next{
		background: url(images/controls3.png) no-repeat -43px -32px;
	}
	.activities .bx-wrapper .bx-next:hover{
		background: url(images/controls3.png) no-repeat -43px 0px;
	}
	.activities .bx-wrapper .bx-prev{
		background: url(images/controls3.png) no-repeat 0px -32px;
	}
	.activities .bx-wrapper .bx-prev:hover{
		background: url(images/controls3.png) no-repeat 0px 0px;
	}
	.fellows, .creativity-culture {
		width: 66.67%;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-flow: row;
		flex-flow: row;
		position: relative;
		height: 172px;
		height: 200px;
	}
	.fellows .activity-icon, .fellows .activity-picture, .creativity-culture .activity-icon, .creativity-culture .activity-picture {
    		width: 50%;
	}
	.progress, .faith {
		width: 33.33%;
		display: -webkit-flex;
		display: flex;
		height: 344px;
		height: 400px;
		-webkit-flex-direction: column;
		flex-direction: column;
		position: relative;
	}
	.faith, .creativity-culture {
		-webkit-align-self: flex-end;
		align-self: flex-end;
		position: relative;
		top: -172px;
		top: -200px;
	}
	.activity-icon, .activity-picture {
		height: 172px;
		height: 100%;
		overflow: hidden;
	}
	.faith {
		-webkit-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
	.creativity-culture {
		-webkit-flex-direction: row-reverse;
		flex-direction: row-reverse;
	}
	.veil {
		height: 172px;
		height: 200px;
	}
	.activities div.bx-viewport {
		padding: 0;
		margin: 0 auto;
		border: none !important;
		left: 0px !important;
	}
	.activities .bx-viewport {
		height: 172px !important;
		height: 200px !important;
	}
	.activities .bx-wrapper img {
		margin-top: 0;
	}
	.activities .bx-wrapper li{
		line-height: 250px;
	}
	.progress .bx-wrapper img, .creativity-culture .bx-wrapper img {
		/*top: -140px;*/
	} 
	.progress .activity-icon, .progress .activity-picture {
		height: 50%;
		overflow: visible;
	}
	.triangle-down {
		/*top: 47.5%;*/
		top: 49.5%;
	}
	.triangle-right {
		width: 0; 
		height: 0; 
		border: 25px solid #fff; 
		border-top-color: transparent; 
		border-right-color: transparent; 
		border-bottom-color: transparent;
		position: absolute;
		top: calc(50% - 25px);
		left: 49.5%;
		z-index: 900;
	} 
	.triangle-up {
		width: 0; 
		height: 0; 
		border: 25px solid #fff;
		border-left-color: transparent; 
		border-right-color: transparent; 
		border-top-color: transparent;
		position: absolute;
		top: 36%;
		top: 38%;
		left: calc(50% - 25px);
		z-index: 900;
	}
	.triangle-left {
		width: 0; 
		height: 0; 
		border: 25px solid #fff;
		border-left-color: transparent; 
		border-bottom-color: transparent; 
		border-top-color: transparent;
		position: absolute;
		top: calc(50% - 25px);
		right: 49.8%;
		z-index: 900;
	}
	a.read_more {
		height: 33px;
		/*width: 65%;*/
		padding: 6px;
		top: 4%;
		font-size: 0.8rem;
	}
	.teaser {
		/*font-size: 0.82rem;*/
		font-size: 0.9rem;
	}
	.hp-block2-container>div {
    		width: 25%;
		background-color: #fff;
		padding: 20px;
		border-right: 1px solid #ccc;
	}
	.hp-block2-container>div:last-of-type {
		border-right: none;
	}  
	.activities .bx-wrapper .bx-pager {
		display: none;
	}
	.hl_text {
		width: 52.213%;
		padding: 10px 14px;
	}
	.activities .project-location {
		/*top: 90px;*/

	}
	h3.hp-project-title {
		top: 20px;
	}
	h3.hp-project-title, .activities .project-location {
		margin-left: 40px;
		margin-right: 40px;
	}
	.activities>div .activity-picture ul.activity-description>li{
	line-height: 200px;
	text-align: center;
	height: 100%;
	}

}
@media screen and (min-width: 651px) and (max-width: 700px){
	.activities a.bx-prev{
		left: 40px!important;
	}
	.activities a.bx-next{
		right: 40px!important;
	}
}
@media screen and (max-height: 680px){
	/*(Responsive menu)*/
	#small-menu-bg{
		display: block;
	}
	header#masthead{
		display: none;
	}
	header#masthead.small{
		display: block;
		position:absolute;
		top:80px;
		left:auto;
		right: 0px;
		height:auto;
		padding: 0px 10px 25px;
		background: #87634b;
		/*border: 1px solid #eee;*/
		border-top: none;
		z-index: 10001;
	}
	#content{
	 	width: 100%;
	 	margin-left: 0px;
	 }
	div.home-link{
		display: none;
	}
	#masthead>p#copy{
	display: none;
	}
/* Footer */
	footer#colophon{
		display: block;
	}
/* Project Single */
	/*.single-project .entry-content {
		-webkit-flex-flow: column;
		flex-flow: column;
	}*/
	div#modal-project-aside{
	    left: 20px;
	    width: calc(100% - 40px);
	    top:100px;
	}
/* Single book */
	div#modal-book-aside{
	    left: 20px;
	    width: calc(100% - 40px);
	    top:100px;
	}
}
/*
@media screen and (min-width: 1536px) {
	.highlight {
    		height: 420px;
	}
	.hl_text {
    		width: 42.213%;
    		padding: 15px 30px;
	}
	.teaser {
    		font-size: 1.05rem;
	}
	.veil {
    	height: 230px;
	}
	.fellows, .creativity-culture, .activity-icon, .activity-picture {
		height: 230px;
	}
	.progress, .faith {
		height: 460px;
	}
	.activities .bx-viewport {
		height: 230px !important;
	}
	.faith, .creativity-culture {
    		top: -230px;
	}
	div#centre{
		top:230px;
		height: 230px;
	}
	div.activities{
		margin-bottom: 20px;
	}
	.triangle-up {
			top:40%;
		}
}
@media screen and (min-width: 1920px) {
	.hl_text {
    		width: 45.213%;
    		padding: 15px 30px;
	}
	.teaser {
    		font-size: 1.3rem;
	}
	a.read_more {
		height: 40px;
		width:50%;
		font-size: 1.2rem;
	}
}*/

/* Scrollabar-design */
::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

::-webkit-scrollbar
{
	width: 6px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	background-color: #000000;
}
/* -------------------- MenuYouTubeChannellink -------------------- */
.dashicons dashicons-video-alt3{
	content: "\f236";
}
.dashicons-video-alt3::before {
	line-height:2.2;
}
/* -------------------- Newsletter alt text -------------------- */
span.nsl-single-pic-alt{
display:block;
}
/*-------------------- Chronicle single p -------------------- */
#chronicle-content>p {
    color: #404040;
    font-size: 16px;
}