/*--------------*/
/*Navigation Bar*/
/*--------------*/
.navbar-vgfsyn {
  display: flex;
  justify-content: center;
  background: #1271a2;
  position: relative;
  top: 0;
  margin-top: -1em;
}
.navbar-vgfsyn:after{
  content: '';
  position: absolute;
  background: #1271a2;
  width: 500px;
  left: 90%;
}
.navbar-vgfsyn li {
  list-style:none;
  position:relative;
  float:left;
  padding:.25em 1em;
  margin: 0.1em 0.1em;
  max-width: 25%;
  min-height: 50px;
  text-transform:uppercase;
  cursor:pointer;
  background: #1271a2;
  text-align:center;
  display: table;
  border: solid #1271a2 1px;
  border-radius: 5px;
  transition: border 0.3s ease-in-out;
}
.navbar-vgfsyn li:hover{
  border: solid #CFCFCF 1px;
  background: #3881A7;
}
.navbar-vgfsyn a {
  display: table-cell;
  vertical-align: middle;
  color: white;
  text-decoration:none;
  font-size: 0.9em;
  transition:color .3s ease-in-out;
}
/*--------------*/
/*Sub-navigation*/
/*--------------*/
.submenu-navbar{
  font-size: 0.9em;
  align-self: center;
  width: 100%;
  background: #EFEFEF !important;
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  z-index: 1;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.submenu-navbar a{
  display: block;
  background: #EFEFEF;
  padding: 5px;
  color: black;
}
.submenu-navbar a:hover{
  background: #CFCFCF;
}
.navbar-vgfsyn li:hover .submenu-navbar{
  display: inline-block;
}
/*---------------*/
/*Navigation Icon*/
/*---------------*/
.nav-icon-new{
  padding: 5px !important;
  border: none;
  width: 60px;
  border-radius: 5px;
  position: absolute;
  left: -5em;
  z-index: 50;
  background: #1979ab;
  display: none;
}
.nav-icon-new:focus{
  outline: none;
}
.nav-icon-new:after{
  display: none;
}
@media(max-width: 1200px){
  .navbar-vgfsyn{
    display: none;
    flex-direction: column;
    width: 100%;
    margin: 0;
    border: none;
  }
  .navbar-vgfsyn li{
    max-width: 100%;
  }
  .nav-icon-new{
    position: relative;
    left:0.25em;
    display: inline-flex;
    margin-bottom: 2.5em;
  }
}
@media(max-width: 991px){
  .vgfsyn-header{
    font-size: 1.2em !important;
  }
  .navbar-vgfsyn{
    display: none;
    flex-direction: column !important;
    top: -1.5em !important;
  }
  .navbar-vgfsyn li{
    width: 100% !important;
    margin: 0 !important;
  }
  .nav-icon-new{
    background: #1271a2 !important;
    position: absolute !important;
    top: -6rem !important;
    margin-bottom: 2em !important;
  }
  #btn-full{
    width: 100% !important;
  }
  #btn-two{
    width: 100% !important;
  }
}
/*------*/
/*Header*/
/*------*/
.vgfsyn-header-main{
  display: table;
  width: 90%;
  margin-bottom: 15px;
}
.vgfsyn-header{
  background-image: url('https://i.imgur.com/g51jJNO.png');
  background-position: bottom 00% right 50%;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  display: table;
  width: 100%;
  height: 7em;
  position: relative;
  left: 5.5%;
  font-size: 1.8em;
  font-weight: bold;
  text-align: center;
  z-index: 0;
  transition: background-image 0.3s ease-in-out;
}
.vgfsyn-header:hover{
  background-image: url('https://i.imgur.com/NF7OIMf.png');
}
.vgfsyn-header div{
  color: white;
  display: table-cell;
  width: 100%;
  padding: 10px 30px;
  font-size: 1.8em;
  line-height: 1em;
  font-weight: bold;
  vertical-align: middle;
  background: linear-gradient(0deg, rgba(0,0,0,0) -10%, rgba(0,0,0,0.8) 50%);
  text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}
.vgfsyn-header div:before{
  content: '';
  width: 0%;
  height: 1em;
  border-top: solid #1979ab 0.25em;
  position: absolute;
  left: 0;
  top: 10%;
  transition: width 0.3s ease-in;
}
.vgfsyn-header div:hover::before{
  width: 75%;
}
.vgfsyn-header div:after{
  content: '';
  width: 0%;
  height: 1em;
  border-top: solid #1fb47c 0.25em;
  position: absolute;
  right: 0;
  bottom: -10%;
  transition: width 0.3s ease-in;
}
.vgfsyn-header div:hover::after{
  width: 75%;
}
/*-----------*/
/*Description*/
/*-----------*/
.vgfsyn-desc-box{
  background: #EFEFEF;
  position: relative;
  padding: 10px 1em;
  width: 90%;
  left: 5%;
  margin-bottom: 1em;
}
.vgfsyn-desc-box p{
  font-size: 0.95em !important;
  margin-bottom: 0 !important;
  margin-top: 0.5em;
  display: block;
}
.vgfsyn-desc-box img{
  float: left;
  margin-right: 15px;
}
#btn-full{
  display: block;
  position: relative;
  padding: 10px;
  border: none;
  margin: 5px;
  width: 13em;
  text-align: center !important;
}
#btn-two{
  display: block;
  position: relative;
  padding: 10px;
  border: none;
  margin: 5px;
  width: 14em;
  text-align: center !important;
}
.dl-btns{
  width: 100%;
  table-layout: fixed;
}
.dl-btns tbody{
  width: 100%;
}
.dl-btns tr{
  display: flex;
}
.dl-btns td{
  vertical-align: top;
  width: 50%;
  display: flex;
  flex-direction: column;
}
#td-left{
  text-align: right;
  align-items: flex-end;
}
#td-right{
  text-align: left;
  align-items: flex-start;
}
#lang-dl-two{
  width: 100%;
}
#lang-dl-full{
  width: 100%;
}

/*----------------------------------------------------------------------------*/
/*Areas: Key Concepts - Objectives & Principles - Implementation & Monitoring*/
/*----------------------------------------------------------------------------*/
.main-container{
  display: flex;
  position: relative;
  margin-left: 5%;
  margin-right: 5%;
  justify-content: space-around;
  align-content: center;
  margin-bottom: 1em;
  flex-wrap: wrap;
}
.main-card{
  height: 8em;
  width: 21em;
  background-color: #1fb47c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0.4em;
}
.main-text{
  padding: 1em;
  text-align: center;
  width: inherit;
  color: white;
}
.main-text a{
  color: white !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  text-shadow: 2px 2px 2px rgb(0 0 0 / 30%);
}
.main-text a:hover{
  color: white;
  text-decoration: none;
}
.main-text-desc{
  display: none;
  visibility: hidden;
  color: white;
  height: 4em;
  line-height: 1.2em;
  overflow-y: auto;
}
.main-text-desc p{
  margin-top: 0.5em;
  margin-bottom: 0;
}
.main-text-desc a{
  color: white !important;
  text-decoration: underline;
  font-weight: bold;
  font-size: 1em;
  text-shadow: 0 0 0 rgba(0,0,0,0) !important;
}
div::-webkit-scrollbar{
  background: none !important;
  width: 3px;
}
div::-webkit-scrollbar-thumb{
  background: white;
}
.main-text:hover .main-text-desc{
  display: block;
  visibility: visible;
}
/*----------------------------------*/
/*The seven main areas of the VGFSN*/
/*----------------------------------*/
.separator{
  background: #1979ab;
  text-align: center;
  position: relative;
  width: 90%;
  left: 5%;
  color: white;
  font-weight: bold;
  font-size: 1.2em;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
  padding: 1.5em;
}
.areas-container{
  display: flex;
  position: relative;
  margin-left: 5%;
  margin-right: 5%;
  justify-content: space-around;
  align-content: center;
  margin-top: 1em;
  margin-bottom: 1em;
  flex-wrap: wrap;
}
.areas-card{
  height: 12em;
  width: 21em;
  background-color: #1979ab;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-position: center;
  background-size: cover;
  margin-bottom: 0.4em;
}
.areas-card-overlay{
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  transition: background 0.8s linear;
  height: inherit;
  width: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.areas-card-overlay:hover{
  background: linear-gradient(180deg, rgba(0,0,0,0) -10%, rgba(0,0,0,0.8) 50%);
}
.areas-text{
  padding: 1em;
  text-align: center;
  width: inherit;
  color: white;
}
.areas-text a{
  color: white !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  text-shadow: 2px 2px 2px rgb(0 0 0 / 30%);
}
#area-1{
  background-image: url('https://i.imgur.com/pf9c80M.jpg');
}
#area-2{
  background-image: url('https://i.imgur.com/d9rWQ0F.png');
}
#area-3{
  background-image: url('http://www.fao.org/typo3temp/pics/7248d0e0d5.jpg');
}
#area-4{
  background-image: url('https://i.imgur.com/t7g5y9i.png');
}
#area-5{
  background-image: url('https://i.imgur.com/Y1BlIjI.jpg');
}
#area-5:after{
  content: '\00a9 FAO / Luis Tato';
  padding: 0.2em;
    font-size: 0.8em;
    color: #8F8F8F;
    filter: opacity(0.5);
    position: absolute;
    bottom: 0;
    right: 0;
}
#area-6{
  background-image: url('http://www.fao.org/fileadmin/templates/cfs/images/covid19_subpage_03.jpg');
}
#area-6:after{
  content: '\00a9 FAO / C. Marinheiro';
  padding: 0.2em;
    font-size: 0.8em;
    color: #8F8F8F;
    filter: opacity(0.5);
    position: absolute;
    bottom: 0;
    right: 0;
}
#area-7{
  background-image: url('https://i.imgur.com/eBcUiUb.png');
}

/*--------*/
/*Footnote*/
/*--------*/
sup{
  color: #1979ab;
  font-weight: bold;
}

/*----------*/
/*Background*/
/*----------*/
.bg-container{
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 1em 4em;
}
.bg-card{
  background-color: #1979ab;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 10em;
  margin-bottom: 1em;
  display: flex;
}
#HLPE{
  background-image: url('http://www.fao.org/fileadmin/templates/cfs/HLPE/HLPE_SC_19_21.jpg');
}
#Negotiation{
  background-image: url('https://i.imgur.com/0kfmN4d.jpg');
  background-position: center 70%;
}
#CFS47{
  background-image: url('https://i.imgur.com/i9iXPds.png');
  background-position: center 70%;
}
.bg-text{
  background: linear-gradient(90deg, #000 10%, rgba(0,0,0,0) 100% );
  color: white !important;
  font-weight: bold;
  font-size: 1.5em;
  line-height: 1.5em;
  text-shadow: 2px 2px 2px rgb(0 0 0 / 30%);
  width: 70%;
  height: inherit;
  padding: 2em;
}
.bg-text-right{
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 100% );
  color: white !important;
  font-weight: bold;
  font-size: 1.5em;
  line-height: 1.5em;
  text-shadow: 2px 2px 2px rgb(0 0 0 / 30%);
  width: 60%;
  height: inherit;
  padding: 2em;
  text-align: right;
}
.bg-text-right:hover{
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 70% );
}
.bg-text:hover{
  background: linear-gradient(90deg, #000 30%, rgba(0,0,0,0) 100% );
}
@media(max-width:991px){
  .bg-container{
    padding: 1em 2em;
  }
  .bg-text{
    width: 100%;
    padding: 1em;
    font-size: 1.2em;
  }
  .bg-text-right{
    width: 100%;
    padding: 1em;
    font-size: 1.2em;
  }
}

/*----------*/
/*Background*/
/*----------*/
.news-container{
  border-top: solid #CFCFCF 1px;
  border-bottom: solid #CFCFCF 1px;
  display: flex;
  flex-direction: column;
  margin-top: 1em;
  margin-bottom: 1em;
  width: 100%;
}
.news-card{
  border-top: solid #CFCFCF 1px;
  border-bottom: solid #CFCFCF 1px;
  width: inherit;
  height: 150px;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.news-image{
  width: 25%;
  float: left;
  background: #1979ab;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: opacity(1);
  transition: filter 0.3s ease-in;
  overflow:hidden;
  z-index: 1;
}
.news-card:hover .news-image{
  filter: opacity(0.75);
}
.news-text{
  width: 75%;
  background-color: #EFEFEF;
  padding: 1em;
  height: inherit;
  z-index: 2;
}
.news-card:nth-child(2n) .news-text{
  background-color: white;
  padding: 1em;
  height: inherit;
}
.news-text h2{
  font-size: 1em;
}
.news-text h6{
  font-size: 0.8em;
  font-style: italic;
}
.news-text p{
  font-size: 0.8em !important;
}
.news-text-link{
  color: white !important;
  padding: 0.5em;
  background-color: #1979ab;
  transition: background-color 0.3s ease-in;
}
.news-text-link:hover{
  background-color: #1fb47c;
  text-decoration: none;
}
@media(max-width:991px){
  .news-card{
    height: 100% !important;
  }
  .news-image{
    width: 100%;
    height: 200px;
  }
  .news-text{
    width: 100%;
    height: 100%;
  }
}