@font-face {
  font-family: 'Avenir';
  src: url('../fonts/Avenir/Avenir-Light.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'AvenirBold';
  src: url('../fonts/Avenir/Avenir-Heavy.ttf') format('truetype');
  font-display: swap;
}
body{
  font-family: 'Avenir', sans-serif !important;
  font-weight: normal;
  font-size:16px;
  line-height: 38px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'AvenirBold', sans-serif !important;
}
p {
  font-family: 'Avenir', sans-serif !important;
  font-weight: normal;
  line-height: 28px;
  margin-bottom: 20px;
}
img{
  max-width: 100%;
  height: auto;
}
nav.tabs{
  position: fixed;
  bottom: 0;
  right: 10px;
  margin: 0 !important;
  background: #fff;
  border-radius: 5px 5px 0 0;
  z-index: 999;
  box-shadow: 0px -3px 6px 1px rgba(0,0,0,0.5);
}
nav.tabs ul li a{
  padding:15px;
}
.greybg{
  background: #E7E7E7;
}
.copy-txt a{
  color: white;
  text-decoration: underline;
}
.copy-txt a:hover{
  color: white;
  text-decoration: underline;
}
.field--name-field-image-caption{
  margin-top: 16px;
}
.field--name-field-image-caption p{
  font-size: 13px;
  line-height: 18px;
}
.expandtext{
  display: none;
}
.readmore.opened{
  display: none;
}
.readmore::after{
  content: " +";
}
.readless::after{
  content: " -";
}
hr.common-devider{
  display: none;
}
/* navigation */
.navbar-nav{

}
@media (min-width: 768px){
  .navbar-default .navbar-nav > li{
    margin: 0;
  }
  .navbar-default .navbar-nav > li > a{
    margin: 0;
    padding: 15px 15px 5px;
    min-height: 50px;
    font-size: 14px;
    line-height: 20px;
    font-family: 'AvenirBold', sans-serif !important;
    color: #fff;
    font-weight: normal;
  }
  .navbar-default .navbar-nav > li > a .fa{
    font-weight: 600;
  }
  .navbar-default .navbar-nav > li.active > a, .navbar-default .navbar-nav > li > a:hover{
    background: #31768C;
  }
}

/* header */
.main-logo{
  width: 192px;
  height: auto;
  margin: 16px 0 25px;
}
/* top links */
.main-search-icon a{
  border-radius: 0;
  background-color: transparent;
  color:#233972 !important;
}
.main-search-icon a:hover{
  background-color: transparent !important;
  color:#233972 !important;
}
.top-right-links{
  margin: 10px 0 0;
}
.top-right-links li.twitter-icon{
  margin-left: 25px;
}
.top-right-links li.twitter-icon a{
  background-image: none;
  background-color: transparent;
  width: auto;
  height: auto;
}
.top-right-links li.twitter-icon a:hover{
  background-color: transparent;
}
.top-right-links li.twitter-icon img{
  width:19px;
  height: auto;
}
.signuptBtn{
  border-radius: 2px;
  background-color: #C43039;
  font-size: 14px;
  line-height: 16px;
  padding: 8px 12px;
  margin-left: 30px;
}
@media (max-width: 768px){
  .main-logo{
    margin: 16px auto 25px;
  }
  .top-right-links {
    margin: 10px 0 15px;
  }
  .searchbar {
    padding: 0;
  }
}

/* country pages */
.innerBanner{
  height: 216px;
}
.bannerContentInner{
  margin-top:65px;
  font-size: 20px;
  line-height: 29px;
  text-align: left;
}
.bannerOverlayImage{
  background: url(../images/leaf-banner-bg.png) no-repeat 0 0;
  background-size: 287px;
  width: 287px;
  height: 301px;
  position: absolute;
  margin-left: -79px;
  z-index: 3;
}
.bannerContentInner h1{
  font-size: 48px;
  line-height: 72px;
  margin-bottom: 0;
}
.page-node-type-page:not(.path-frontpage) .bannerOverlay{
  text-align: left;
}
.page-node-type-page:not(.path-frontpage) .field--name-field-page-info > .field--item{
  padding-bottom: 30px;
}
.common-overview-sec h2{
  color: #000;
  font-size: 32px;
  margin-bottom: 24px;
}
.funderhead h2{
  text-align: left !important;
  color: #000;
  font-size: 32px;
  margin-bottom: 24px;
}
.countryOverview li h5{
  color: #000;
  font-size: 16px;
  margin-bottom: 10px;
}

/* commodities */
.page-node-type-commodities:not(.path-frontpage) .bannerOverlay {
  background: linear-gradient(90deg,rgba(0,164,126,1) 0%,rgba(0,120,143,1) 50%);
}
.page-node-type-commodities:not(.path-frontpage) .region-banner img.fill{
  display: none;
}
.page-node-type-commodities:not(.path-frontpage) .field--name-field-commodities-page-info > .field--item{
  padding-top: 64px;
  padding-bottom: 50px;
}
.page-node-type-commodities:not(.path-frontpage) .field--name-field-commodities-page-info > .field--item:nth-child(2n){
  background: #E7E7E7;
}
.page-node-type-commodities:not(.path-frontpage) .field--name-field-commodities-page-info > .field--item:first-child{
  padding-top: 0;
}
.countryList ul{
  padding-left: 20px;
}
.countryList li{
  list-style: disc;
  margin: 0 0 5px 0px;
}
.countryList li::before{
  display: none;
}

.h-partners-sec{
  padding-top: 30px;
  padding-bottom: 30px;
}

/* signup form */
.prefooter{
  background: linear-gradient(90deg,rgba(0,164,126,1) 0%,rgba(0,120,143,1) 50%);
  padding: 54px 0 50px;
  position: relative;
}
.prefooter .region-prefooterleft{
  padding-right: 40px;
}
.prefooter .bannerOverlayImage{
  width: 345px;
  height: 100%;
  margin: 0;
  left: auto;
  right: 6%;
  top: 0;
  background-size: cover;
}
.signup-sec h2{
  font-size: 24px;
  line-height: 24px;
  color: #fff;
  font-weight: normal;
  text-align: left;
  margin: 0 0 15px;
}
.signup-sec p{
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  font-weight: normal;
  text-align: left;
  margin: 0 0 15px;
}
.prefooter .form-signup{
  margin:0;
  display: block;
  position: relative;
}
.prefooter .form-signup form{
  height: 50px;
}
.prefooter .form-signup form .field--name-mail{
  width: 100%;
}
.prefooter .form-signup form input{
  font-size:14px;
  line-height: 20px;
  width:100% !important;
  border:0;
  border-radius: 3px;
  margin: 0;
}
.prefooter .form-signup form #edit-actions{
  position: absolute;
  right: 0;
  top:0;
  z-index: 3;
  margin: 0;
}
.form-signup .signupBtn, .simplenews-subscriber-form #edit-subscribe, .form-signup #edit-subscribe{
  background-color: #1C3876;
  font-size: 14px;
  line-height: 24px;
  border-radius: 0 3px 3px 0;
  border-color: #1C3876;
  margin: 0;
}
.sharebox h2{
  font-size: 24px;
  line-height: 24px;
  color: #fff;
  font-weight: normal;
  text-align: left;
  margin: 0 0 15px;
}
.sharebox p{
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  font-weight: normal;
  text-align: left;
  margin: 0 0 15px;
}
.sharebox .at-share-tbx-element .at-share-btn{
  margin-right: 15px !important;
}
.sharebox .at-share-tbx-element .at-share-btn:hover{
  transform: none !important;
}
.sharebox .at-share-tbx-element .at-share-btn .at-icon-wrapper{
  width: 40px !important;
  height: 40px !important;
}
.sharebox .at-share-tbx-element .at-share-btn .at-icon-wrapper svg{
  width: 30px !important;
  height: 30px !important;
  margin: 5px !important;
}
.sharebox .at-share-tbx-element .at-share-btn .at-icon-wrapper svg.at-icon-linkedin{
  fill: #3176B0 !important;
}
.sharebox .at-share-tbx-element .at-share-btn .at-icon-wrapper svg.at-icon-facebook{
  fill: #425A93 !important;
}
.sharebox .at-share-tbx-element .at-share-btn .at-icon-wrapper svg.at-icon-twitter{
  fill: #4BA0EB !important;
}
.sharebox .at-share-tbx-element .at-share-btn .at-icon-wrapper svg.at-icon-addthis{
  fill: #EF705A !important;
}
@media (max-width: 1100px){
  .prefooter{
    padding: 40px 0;
  }
}

footer{
  background: rgba(0, 0, 0, 0.04);
  color: #000;
  font-size: 14px;
  line-height: 24px;
  padding: 48px 0;
  margin: 0;
}
footer p.txt-boiler{
  color: #000;
  font-size: 14px;
  line-height: 24px;
  text-align: left;
  margin-bottom: 0;
}
.footerbar{
  background: #000;
  font-size: 13px;
  line-height: 20px;
  color: #fff;
  padding: 14px 0;
}
.copy-txt{
  text-align: left;
  margin-bottom: 0;
}

@media (min-width: 979px){
  #at4-share{
    left:5px !important;
    width: 2pc !important;
  }
  .atss .at-share-btn, .atss a{
    width: 2pc !important;
    transition: none !important;
    background: none !important;
    margin-bottom: 5px !important;
  }
  .atss .at-share-btn:hover, .atss a:hover{
    width:2pc !important;
  }
  .atss .at-share-btn .at-icon-wrapper, .atss a .at-icon-wrapper {
    padding: 4px 0 !important;
    border-radius: 50% !important;
    height: 2pc !important;
  }
  .atss .at-share-btn span .at-icon, .atss a span .at-icon{
    width: 1.5pc !important;
    height: 1.5pc !important;
    line-height: 1.5pc !important;
  }
  .at-share-close-control{
    width:2pc !important;
  }
  .prefooter .bannerOverlayImage{
    right: 0;
  }
}

/* homepage */
.mainBanner{
  height: 480px;
}
.mainBanner .container, .mainBanner .row, .mainBanner .col-md-10{
  height: 100%;
}
.mainBannerContent {
  position: absolute;
  bottom: 38px;
  top: auto;
}
.mainBannerContent h1{
  font-family: 'Avenir', sans-serif !important;
  font-size: 64px;
  line-height: 72px;
  font-weight: 600;
  bottom:48px;
  text-align: left;
  text-transform: none;
}
.mainBanner img{
  max-width: none;
  min-width: 100%;
  width: auto;
  height: 100%;
}
@media (max-width: 768px){
  .mainBanner{
    height: 400px;
  }
  .mainBanner img{
    left: -50%;
    max-width: none;
  }
  .mainBannerContent{
    max-width: 100%;
    padding-right: 15px;
  }
  .mainBannerContent h1{
    font-size: 30px;
    line-height: 46px;
  }
}
.common-sec h2{
  font-size: 32px;
  line-height: 44px;
  text-transform: none;
  font-weight: normal;
  text-align: left;
}
.common-sec h2::after{
  display: none;
}
.common-sec p{
  text-align: left;
}
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.food-system-sec .videoWrapper{

}
.h-knowledge-item{
  box-shadow: none;
}
.knowledgeType{
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  padding: 0;
  background: none;
  font-size: 24px;
  line-height: 26px;
  margin: 0 0 8px;
  color: #223972;
  font-weight: normal;
  font-family: 'AvenirBold';
}
.h-knowledge-item .b-section .knowledgeType span{
  font-size: 24px;
  line-height: 26px;
  color: #223972;
  font-weight: normal;
  font-family: 'AvenirBold';
  text-transform: none;
}
.h-knowledge-item a.img-sec{
  height: 208px;
}
.h-knowledge-item .b-section p{
  font-size: 16px;
  line-height: 22px;
  font-weight: normal;
  margin: 0;
}
.commodities-sec .view-header{
  padding-top: 6%;
}
.commodities-sec a h4{
  font-size: 24px;
  line-height: 24px;
  font-weight: normal;
  text-transform: none;
}
.commodities-sec a h4::before, .commodities-sec a h4::after{
  display: none;
}
.partnersThree li{
  border-right: 0;
}
.countries-sec{
  background: rgba(0, 0, 0, 0.04);
  padding: 15px 0 30px;
}
.countries-sec .col-md-12{
  position: relative;
}
.maplegend{
  position: absolute;
  right: 0;
  top:40px;
  font-size: 16px;
  line-height: 22px;
  display: block;
}
.maplegend::before{
  display: block;
  width: 12px;
  height: 12px;
  background: #00a47e;
  border-radius: 50%;
  position: absolute;
  left: -22px;
  content: " ";
  top: 5px;
}

/* knowledge page */
.knowledge-item{
  background-color: transparent;
  border:0;
  display: flex;
  justify-content: space-between;
}
.knowledge-item a.img-sec{
  height: auto;
  width: 110px;
}
.knowledge-item a.img-sec img{
  width: 110px;
  height: auto;
  margin:0 24px 0 0;
}
.knowledge-item .b-section{
  padding: 0;
  width: calc(100% - 134px);
}
.knowledge-item .b-section h3{
  font-size: 20px;
  line-height: 27px;
  color: #223972;
  margin: 0 0 8px;
}
.knowledge-item .b-section h3 a{
  font-size: 20px;
  line-height: 27px;
  color: #223972;
  font-weight: normal;
  margin: 0;
}
.knowledge-item .b-section .knowledge-desc{
  font-size: 16px;
  line-height: 21px;
}
