/*!
Theme Name: ar2020
Theme URI: http://underscores.me/
Author: -
Author URI: http://-
Description: -
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ar2019
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

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

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

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

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

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

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

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

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

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

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

	/*rtl:ignore*/
	float: left;

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

.alignright {

	/*rtl:ignore*/
	float: right;

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

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


.bg-custom-3{
	background-color: #dedede;
}

/**
 * megamenu 
 */
.overlay-menu.open .fmenu-wrapper .left-menu .menu--child>li:hover>.dropdown-menu {
	visibility: visible;
	opacity: 1;
}
.menu--child {
	margin-top: 0;
	margin-bottom: 0;
	padding-right: 15px;
}
.menu--child-item {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}
.menu--child-item>a {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	padding-top: 7px;
	padding-bottom: 7px;
	color: var(--gray-4) !important;
	padding-left: 20px !important;
}
.menu--child-item>a:hover {
	color: #fff !important;
}
.overlay-menu.open .fmenu-wrapper .left-color {
	width: 417px;
	height: 100%;
	overflow: auto;
	padding-bottom: 100px;
	background-color: #242424;
}
.fmenu-wrapper-bottom {
	width: 417px;
}
.fmenu-btn,
.fmenu-wrapper-bottom {
	background-color: #242424;
}
.overlay-menu.open .fmenu-wrapper .left-menu .menu>li .dropdown-menu {
	left: 417px;
}
.overlay-menu.open .fmenu-wrapper .right-content {
	overflow: auto;
	height: 100%;
	background-color: #323232;
}
.active .button-logo-container {
	display: none;
}
/**
 * Single LVL 2
 */
#primary .hero-text {
	background-color: #705E55;
}
.social-icons li {
	margin-bottom: 0;
}

/**
* Homepage
*/
.hero-text-wrapper .row-box {
	padding: 0 2rem;
}

.hero-text-wrapper .flex_item_right h2 {
	line-height: 61px;
}
.home-container {
	width: 70%;
	margin: 0 auto;
}
.hero-text-wrapper {
	background: none;
	justify-content: center;
}

.hero-text-wrapper .flex_item_left {
	background: none;
	width: 450px;
	border-right: solid 2px #fff;
}
.hero-text-wrapper {
	background: none;
}

.hero-text-wrapper .row-box.text-center {
	display: flex;
	flex: 1;
	align-items: center;
	padding: 0 2rem;
}

.hero-text-wrapper .flex_item_left h2 {
	background: #4FA4A3;
	font-size: 46px;
	font-weight: normal;
	padding: 15px 25px;
	margin-right: 40px;
}

.hero-text-wrapper .flex_item_left h4 {
	color: #fff;
	font-weight: normal;
	line-height: 60px;
	font-size: 74px;
}
span.challenge {
	color: #5F4F0F;
	background: #EBCC48;
	text-transform: uppercase;
	font-size: 13px;
	padding: 10px;
	font-weight: 500;
}
.block-content{
	padding: 2rem;
	background-repeat: no-repeat!important;
	background-position: bottom left!important;
	background-color: #f2f2f2;
}
.block-post {
	margin-bottom: -2rem;
	margin-top: -96px;
}
.block-content .entry-content {
	max-width: 600px;
	width: 90%;
}
.columns-12-np{
	justify-content: flex-end;
}
.block-post .hero-text h3 {
	font-size: 14px;
}

.block-post .outer-img:before {
	content: '';
	position: absolute;
	width: 2px;
	background: #e35d4d;
	top: 0;
	bottom: 0;
	left: 20px;
}

.block-post .outer-img {
	position: relative;
	overflow: inherit;
}

.block-post .hero-text {
	/* margin-left: 75px; */
}
.entry-thumbnail {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
	background: #eee;
	position: relative;
	z-index: 9;
	left: -55px;
}

.entry-thumbnail img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
footer {
	background-image: none;
}
.hero-thumbnail {
	height: 100%;
}

.hero-thumbnail img {
	height: 100%;
	object-fit: cover;
}
.m-section-wm{
	background: #414042;
}
.row.management-box {
	padding: 3rem 0;
	color: #fff;
}

.row.management-box h3 {
	color: #fff;
	padding-right: 4rem;
}

.management {
	display: inline-block;
	margin-right: 40px;
}
.management-thumbnail {
	width: 100px;
	height: 100px;
	border-radius: 50px;
	border: solid 2px;
	margin-bottom: 10px;
}

.management-name {
	font-size: 18px;
	font-weight: 500;
}

.management-position {
	font-size: 16px;
	font-weight: 300;
}
.row.addressing-box h3 {
	font-size: 29px;
	color: #e5695b;
}

.row.addressing-box {
	font-weight: 300;
}
.address-item {
	display: inline-block;
	width: 19%;
	margin-bottom: 40px;
	margin-top: 30px;
}

.address-title {
	display: inline-block;
	vertical-align: top;
	font-size: 14px;
}

.address-item span {
	background: #ebcc48;
	text-align: center;
	width: 34px;
	display: inline-block;
	height: 35px;
	line-height: 35px;
	margin-right: 10px;
}

.row.addressing-box {
	margin-top: 40px;
}
.panels-section li{
	left: 164px;
}
.button-logo-container.icraf_logo {
	left: 130px;
}

.is-sticky .button-logo-container.icraf_logo {
	left: 100px;
}
.block-header.row-box:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.4);
	z-index: -1;
}

.block-header.row-box {
	background-size: cover!important;
	padding: 6.4rem 2rem 4.5rem 2rem;
}
a.has-angle i{
	border-color: #7cb342;
}
.m-section{
	overflow: hidden;
}

@media (min-width: 40rem) {
	.block-post .columns-12-np>.col-8 {
		flex: 0 0 calc(61.666667% - 0px);
	}

	.block-post .columns-10-np {
		display: flex;
		justify-content: flex-end;
		flex-direction: row;
		flex-wrap: wrap;
	}
}

.block-post .hero-text .row-box {
	min-width: 174px;
	/* padding-right: 0; */
}

@media screen and (min-width: 800px) and (max-width: 1024px){
	.hero-text-wrapper .flex_item_right h2 {
		font-size: 41px;
	}

	.hero-text-wrapper .flex_item_left h2 {
		font-size: 42px;
	}

	.hero-text-wrapper .flex_item_left h4 {
		font-size: 63px;
		line-height: 62px;
	}

	.home-container {
		width: 80%;
	}

	.m-section-abci:before {
		background-position-x: 45%;
		left: 0;
	}

	.map-block {
		padding: 0 2rem;
	}

	.m-section-coe:before {
		background-position: center;
		left: 0;
	}


	.mega-menu-content .columns-12>.col-3 {
		flex: 0 0 calc(50% - 15px);
		margin-bottom: 15px;
	}
	.mega-menu-content .columns-12>.col-4 {
		flex: 0 0 calc(50% - 15px);
		margin-bottom: 15px;
	}
	.mega-menu-content .columns-10>.col-5 {
		flex: 0 0 calc(50% - 16px);
		margin-bottom: 15px;
	}

}
@media screen and (max-width: 980px) {
	.mega-menu-content .columns-12,
	.mega-menu-content .columns-10,
	.mega-menu-content .col-md-12 {
		display: block;
		width: 100%;
	}

	.mega-menu-content .columns-12 .outer-img,
	.mega-menu-content .columns-10 .outer-img {
		display: block;
		width: 100%;
		height: 200px;
	}

	.m-section-wm:before {
		background: none;
	}

	.top-navigation .row-box {
		padding-left: 0.5rem;
		padding-top: 0;
	}
}
@media screen and (min-width: 500px) and (max-width: 768px){
	.hero-text-wrapper .flex_item_left {
		width: 60%;
	}
	.block-content .entry-content {
		max-width: none;
		width: 100%;
	}
	.block-post .hero-text > div {
		padding-left: 0;
	}

	.hero-text-wrapper .flex_item_left h2 {
		font-size: 26px;
	}

	.hero-text-wrapper .flex_item_left h4 {
		font-size: 45px;
		line-height: 45px;
	}

	.home-container {
		width: 80%;
	}

	.hero-text-wrapper .row-box {
		padding: 0 1rem;
	}

	.hero-text-wrapper .flex_item_right h2 {
		line-height: 28px;
	}

	.row.management-box {
		padding: 3rem 1.5rem;
	}

	.col-md-4.col-xs-12 {
		max-width: 33.333333333%;
	}

	.row.management-box > .col-md-8 {
		margin-top: 30px;
	}

	.m-section-abci:before {
		display: none;
	}

	.m-section-abci .col-md-5.col-xs-12.m-text-white.m-padding-top-70 {
		display: none;
	}

	.map-block {
		padding: 0 2rem;
	}

	.m-section-coe:before {
		background-position: center;
		left: 0;
	}

	.block-post {
		margin: 0 0 -2rem 0;
	}

	.block-content {
		padding-bottom: 30%;
	}

	.block-post .columns-12-np {
		justify-content: flex-start;
		min-height: 200px;
	}

	.block-post .outer-img:before {
		display: none;
	}

	.block-post .columns-12-np>.col-8 {
		flex: 100%;
	}
	.address-item span {
		width: 25px;
		height: 25px;
		line-height: 25px;
	}

	.address-title {
		width: calc(100% - 40px);
	}
	.entry-thumbnail {left: 0;}
	#primary .hero-text {
		padding-top: 30px;
	}

	#primary .col-md-4.col-xs-12{
		max-width: 100%;
	}
	.is-sticky .panels-section li.active {
		width: calc(100% - 20px);
		font-size: 12px;
		top: -50px;
		display: flex;
		align-items: center;
	}
}
@media screen and (max-width: 480px) {
	.mega-menu-content .columns-12,
	.mega-menu-content .columns-10 {
		display: block;
	}

	.overlay-menu.open .fmenu-wrapper .left-menu .menu>li .dropdown-menu>li {
		width: 100%;
		max-width: unset;
	}

	.fmenu-wrapper-bottom {
		position: fixed;
		bottom: 0;
		width: 100%;
		left: 0;
		z-index: 99;
	}
	.overlay-menu.open .fmenu-wrapper {
		display: block;
		height: unset;
		padding-bottom: 80px;
	}
	.overlay-menu.open .fmenu-wrapper .left-color {
		display: block;
		width: 100%;
	}
	.left-menu {
		padding: 64px 10px 10px 10px;
	}
	.mega-menu-content .row {
		margin-left: 0;
		margin-right: 0;
		display: block;
	}
	.mega-menu-content .mh-350 {
		min-height: unset;
	}
	.mega-menu-content .img-link {
		font-size: var(--text-md);
	}
	.mega-menu-content .row-box,
	.mega-menu-content .row-box-xs {
		padding: 8px;
	}
	.mega-menu-content .row-box h3,
	.mega-menu-content .row-box a {
		font-size: var(--text-md);
	}
	.has-mega-menu .mega-menu-content h2 {
		display: none;
	}
	.overlay-menu.open .fmenu-wrapper .left-menu .menu>li.has-mega-menu>a:after {
		transform: rotate(90deg);
	}
	.overlay-menu {
		overflow: auto;
	}
	.overlay-menu.open .fmenu-wrapper .left-menu .menu>li .dropdown-menu {
		position: unset;
		width: 100%;
		opacity: unset;
		visibility: unset;
		padding: 8px 8px 8px 8px;
		display: none;
	}

	.overlay-menu.open .fmenu-wrapper .left-menu .menu>li .dropdown-menu .mega-menu-content {
		padding: 0 0 0 0;
	}

	.mega-menu-content .columns-12 .outer-img,
	.mega-menu-content .columns-10 .outer-img {
		display: block;
		width: 100%;
		height: auto;
		min-height: unset;
	}

	.overlay-menu.open .fmenu-wrapper .right-content {
		padding: 30px 30px 60px;
	}

	.fmenu-wrapper .left-menu a {
		font-size: var(--text-lg);
	}

	.mega-menu-content .img-link,
	.mega-menu-content .img-holder {
		display: none;
	}

	.mega-menu-content .outer-img.mh-xs-200 {
		min-height: unset !important;
	}

	.mega-menu-content .hero-text.m-overlay-slide {
		position: unset;
		padding-top: 0;
		background: unset;
	}

	.mega-menu-content span[class^="m-text-"],
	.mega-menu-content span[class*=" m-text-"] {
		color:#fff;
	}

	.inline-xs {
		display: flex;
	}

	/* .inline-xs .col-5 {
		flex-basis: 50%;
	} */

	.inline-xs .col-5 img {
		width: 80px;
	}

	/**
	 * Main slider
	 */
	.hero-text-wrapper {
		flex-wrap: wrap;
	}

	.hero-text-wrapper .flex_item_left,
	.hero-text-wrapper .flex_item_right {
		display: block;
		width: 100%;
	}
	.hero-text-wrapper .flex_item_right {
		text-align: center;
	}

	blockquote:before {
		top: -21px;
	}
	.hero-text-wrapper .row-box.text-center {
		flex-direction: column;
		width: 94%;
	}

	.hero-text-wrapper .flex_item_left h2 {
		margin: 0;
	}

	.row.management-box {
		padding: 3rem;
	}

	.row.management-box > .col-md-8 {
		margin-top: 30px;
		text-align: center;
	}

	.m-section-abci:before {
		display: none;
	}

	.map-block {
		padding: 0 20px;
	}

	a.address-item {
		display: block;
		width: 100%;
		padding: 0 25px;
		margin: 20px 0;
	}

	.block-post {
	}

	.block-content {
		/* padding-bottom: 200px; */
		background-size: 100%;
	}

	/* update 19/05 */
	.hero-text-wrapper .row-box.text-center {width: 100%;}

	.hero-text-wrapper .flex_item_right h2 {
		padding: 0!important;
	}

	.hero-text-wrapper .flex_item_right .row-box {
		padding: 0!important;
		text-align: center!important;
	}

	.home-container {
		width: 100%!important;
	}

	.hero-text-wrapper .flex_item_left {
		width: 100%;
		border: none;
	}

	.hero-text-wrapper .flex_item_left h2 {
		margin-right: 0;
		margin-bottom: 25px!important;
	}

	.row.management-box {
		padding: 3rem 2rem!important;
	}

	.block-post {
		margin-top: 40px!important;
		margin-bottom: 130px!important;
	}


	.m-section-coe:before {
		display: none;
	}


	.hero-text-wrapper .flex_item_left h4 br {
		display: none;
	}
	.m-section-abci .col-md-5.col-xs-12.m-text-white.m-padding-top-70 {
		display: none;
	}

	.entry-thumbnail {left: 0;}

	.block-post .outer-img:before {
		display: none;
	}

	.block-post .hero-text > div {
		padding-left: 0;
	}
	main#primary .content-area .mh-600 {
		min-height: 300px;
	}

	#primary .hero-text {
		padding-top: 30px;
	}
	.download-pdf-link-wrapper {
		display: none;
	}

	.is-sticky .panels-section li.active {
		width: calc(100% - 170px);
		font-size: 10px;
		top: -50px;
		display: flex;
		align-items: center;
	}

	.overlay-menu.open .fmenu-wrapper .left-menu .menu>li.challenge-item>a {
		font-weight: 300;
		margin-left: 20px;
		position: relative;
		display: none;
	}

	.overlay-menu.open .fmenu-wrapper .left-menu .menu>li.challenge-item .dropdown-menu {
		display: block;
		background: transparent;
		padding-left: 21px;
	}

	.overlay-menu.open .fmenu-wrapper .left-menu .menu>li.challenge-item .dropdown-menu h2 {
		margin-bottom: 6px !important;
		font-size: 17px;
	}
}
@media screen and (min-width: 500px) and (max-width: 1549px) {
	.block-post .columns-10-np {
		justify-content: flex-start;
		flex: 100%;
		min-width: 200px;
	}
}


@media screen and (min-width: 800px) and (max-width: 1549px) {
	#deforestation-and-biodiversity-loss .block-content {
		background: #F2F2F1 url("./template-static/img/deforestation_graph_1024.png") no-repeat !important;
		background-position: bottom !important;
		background-size: 100%;
		background-position-x: left !important;
	}
	#a-climate-in-crisis .block-content {
		background: #f2f2f2 url("./template-static/img/climate_crisis_graph_1024.png") no-repeat !important;
		background-position: bottom !important;
		background-size: 100%;
		background-position-x: left !important;
	}
	#transforming-food-systems .block-content {
		background: #f2f2f2 url("./template-static/img/transforming_food_graph_1024.png") no-repeat !important;
		background-position: bottom !important;
		background-size: 100%;
		background-position-x: left !important;
	}
	#unsustainable-supply-and-value-chains .block-content {
		background: #f2f2f2 url("./template-static/img/unsustainable_supply_graph_1024.png") no-repeat !important;
		background-position: bottom !important;
		background-size: 100%;
		background-position-x: left !important;
	}
	#extreme-inequality .block-content {
		background: #f2f2f2 url("./template-static/img/extreme_inequality_graph_1024.png") no-repeat !important;
		background-position: bottom !important;
		background-size: 100%;
		background-position-x: left !important;
	}
	.block-content {
		padding-bottom: 289px;
		background-size: 100%;
	}

	.block-content .entry-content {
		max-width: none;
		width: 100%;
	}

	.block-post {
		margin-top: 0;
	}
	.block-post .columns-12-np {
		justify-content: flex-start;
	}
	.block-post .columns-12-np>.col-8 {
		flex: 100%;
		justify-content: flex-start;
	}
	.block-post .hero-text h3 {
		padding-right: 20px;
	}
	.block-post .outer-img:before {
		display: none;
	}
	.block-post .hero-text > div {
		padding-left: 0;
	}

	.entry-thumbnail {left: 0;}
}
.dropbtn{
	cursor: pointer;
}
.dropdown-content {
    position: absolute;
    right: 20px;
    background: #fff;
    border-radius: 3px;
    padding: 10px;
    width: 150px;
    margin-top: 15px;
    display: none;
}
.dropdown-content.active{
	display: block;
}
.dropdown-content a {
    display: block;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}
.dwl {
    border-bottom: solid 1px #ddd;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.dropbtn i {
    color: #fff;
    margin-left: 5px;
}
.dropdown-content.active:before {
    width: 0px;
    height: 0px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #fff;
    content: '';
    position: absolute;
    top: -5px;
    right: 45px;
}
#overlay-menu .dropdown-content.active {
	left: 50%;
    right: auto;
    z-index: 9999;
    margin-left: -75px;
}

#overlay-menu .dropdown {
    position: relative;
}

#overlay-menu .dropdown-content.active:before {
    right: auto;
}