/* Base containers */
#tabs-front,
#tabs-front ul.tabs-list,
#tabs-front .tab-container {
  box-sizing: border-box;
  background-color: transparent;
  border: 0;
}
#tabs-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  backdrop-filter: blur(14px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: none;
  order: 1;
  flex-grow: 0;
  transform: translateY(110%);
}
#tabs-front {
  animation-delay: 1s;
  animation-name: upwards;
  animation-duration: 2.5s;
  animation-fill-mode: forwards;
  will-change: transform, opacity;
}
#tabs-front .tab-container.hidden {
  display: none;
}

@keyframes upwards {
  from {
    transform: translateY(110%);
    /* opacity: 0.3; */
  }
  to {
    transform: translateY(0);
    /* opacity: 1; */
  }
}
@keyframes leftwind {
  from {
    transform: translateX(-50%);
    opacity: 0.3;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
#homepage .hero {
  padding: 0;
  position: relative;
  height: 960px;
  overflow: hidden;
}
#homepage .hero .header-outer .header {
  margin: 3rem 0;
  position: absolute;
  margin: 0;
  width: 100%;
  padding: 0;
  left: 0;
  height: 100px;
}
#homepage .hero .header-outer .header::before {
  background: url(../img/stripe-wheel-horizontalOld.svg) no-repeat;
  top: 0;
  width: 575px;
  background-size: auto 100px;
  right: 85%;
}
#homepage .hero .header h1,
#homepage .hero .header .h4 {
  margin-left: 20%;
  line-height: 50px;
  margin-top: 2px;
}
.header-outer {
  height: 100px;
  margin: 2rem 0;
}
.image-front {
  width: 100%;
  z-index: 0;
  position: absolute;
}

/* Video */
.video-front,
.bg-wrapper,
.layer--over-video {
  position: absolute;
  width: 100%;
  height: 100%;
}
.video-front {
  object-fit: cover;
  display: block;
}
.bg-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.0708617) 30.89%, rgba(255, 255, 255, 0.07) 49.77%, #f3f4f8 90.49%);
}
.layer--over-video {
  display: block;
  opacity: 0.1;
  background-color: black;
}

/* Tabs layout */
#tabs-front ul.tabs-list {
  display: flex;
  margin: 0;
  flex-direction: row;
  width: 100%;
  background-color: transparent;
}
#tabs-front ul.tabs-list li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 62px;
  flex: 1;
  border: 0;
  background: rgba(0, 20, 36, 0.9);
  border-top: 4px solid transparent;
}
#tabs-front ul.tabs-list li.ui-state-active,
#tabs-front ul.tabs-list li:hover {
  border-top: 4px solid #00B8FF;
  background: rgba(0, 20, 36, 0.65);
}
#tabs-front ul.tabs-list li.gateway-tab {
  border-radius: 16px 0 0 0;
}
#tabs-front ul.tabs-list li.knowledge-tab {
  border-radius: 0 16px 0 0;
}
#tabs-front ul.tabs-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  opacity: 0.7;
  font-family: 'Noto Sans SemiBold';
  font-weight: 600;
  font-size: 16px;
}
#tabs-front ul.tabs-list li a.ui-state-active {
  opacity: 1;
}

/* Tab container shared */
#tabs-front .tab-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 45px 48px;
  border-radius: 0 0 16px 16px;
  background: rgba(0, 20, 36, 0.65);
}

/* Shared .element styles */
#tabs-front .tab-container .element {
  background: rgba(1, 21, 39, 0.45);
  /* backdrop-filter: blur(6.5px); */
  border-radius: 24px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
  display: flex;
  transition: background 0.2s ease;
}
#tabs-front .tab-container .element:hover {
  background: rgba(1, 21, 39, 0.7);
  cursor: pointer;
}
#tabs-front .tab-container .element a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

/* Gateway Specific */
#tabs-front #gateway.tab-container .data-elements .element {
  height: 300px;
  padding: 1.2em 1em;
  flex-direction: column;
  position: relative;
  gap: 16px;
}
#tabs-front #gateway.tab-container .data-elements .element span[class^="icon"],
#tabs-front #funds.tab-container .element a .icon {
  width: 65px;
  height: 65px;
  display: flex;
  background-repeat: no-repeat;
  background-position: center;
}
#tabs-front #gateway.tab-container .element .icon-0 {
  background-image: url("../img/active-fundsb.png");
}
#tabs-front #gateway.tab-container .element .icon-1 {
  background-image: url("../img/contributorsb.png");
}
#tabs-front #gateway.tab-container .element .icon-2 {
  background-image: url("../img/pob.png");
}
#tabs-front #gateway.tab-container .element .icon-3 {
  background-image: url("../img/countriesb.png");
}
#tabs-front #gateway.tab-container #disclaimer {
  color: #5AD1FF;
  font-size: 15px;
  background: none;
  text-align: right;
  width: 100%;
  margin-top: 20px;
}

/* Numbers */
.element .number,
.counter .number {
  font-style: normal;
  text-align: center;
  color: #5AD1FF;
}
.element .number {
  font-family: 'Manrope-SemiBold';
  font-weight: 600;
  font-size: 69px;
  color: #F9B800;
  line-height: 100px;
}
.counter .number {
  font-family: 'Manrope-Medium';
  font-weight: 500;
  font-size: 48px;
  line-height: 48px;
}

/* Labels */
.element .label,
.counter .label {
  font-family: 'Noto Sans';
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  color: #fff;
  background: transparent;
}
.element .label {
  line-height: 120%;
  padding: 0 15px;
  width: 100%;
  word-break: break-word;
  white-space: normal;
  display: block;
  cursor: pointer;
  height: 50px;
}
#tabs-front #gateway.tab-container .data-counters {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
#tabs-front #gateway.tab-container .data-counters,
#tabs-front #gateway.tab-container .disclaimer {
  max-width: 100%;
  position: relative;
  margin: 0;
}
#tabs-front #gateway.tab-container .data-counters .counter {
  height: 100px;
  padding: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

/* FUNDS Section */
#tabs-front #funds.tab-container .text-element {
  color: #FFFFFF;
  background: rgba(1, 21, 39, 0.45);
  border-radius: 24px;
  margin-bottom: 16px;
  transition: background 0.2s ease;
  padding: 5px 50px;
  margin-bottom: 40px;
}
#tabs-front #funds.tab-container .text-element h2{
  color: #F9B800;
  font-size: 32px;
  font-family: 'Noto Sans SemiBold';
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 12px;
  text-align: center;
}
#tabs-front #funds.tab-container .text-element p{
  font-size: 20px;
  margin-bottom: 20px;
  font-family: 'Noto Sans';
  font-weight: 500;
  line-height: 1.2;
}
#tabs-front #funds.tab-container .element {
  height: 435px;
  padding: 10px;
  margin-bottom: 0px;
}
#tabs-front #funds.tab-container .element a img {
  margin-bottom: 10px;
  border-radius: 5px;
}
#tabs-front #funds.tab-container .element a .icon {
  width: 60px;
  height: 60px;
}
#tabs-front #funds.tab-container .element a .newfund { background-image: url("../img/newfundb.png"); }
#tabs-front #funds.tab-container .element a .flagship { background-image: url("../img/flagshipb.png"); }
#tabs-front #funds.tab-container .element a .pipeline { background-image: url("../img/pipelineb.png"); }
#tabs-front #funds.tab-container .element a .peace { background-image: url("../img/peaceb.png"); }
#tabs-front #funds.tab-container .element a .climate { background-image: url("../img/climateb.png"); }
#tabs-front #funds.tab-container .element a .development { background-image: url("../img/developmentb.png"); }
#tabs-front #funds.tab-container .element a .label {
  color: #FFFFFF;
  font-size: 20px;
  line-height: 150%;
  background: none;
  cursor: pointer;
  line-height: 20px;
  height: auto;
}
#tabs-front #funds.tab-container .text-element h2 .golden {
  color: #F9B800;
}

/* KNOWLEDGE PRODUCTS */
#featured-documents .views-element-container {
  width: 100%;
}
#featured-documents .view-featured-documents .view-content {
  display: flex;
  max-width: 90%;
  align-items: center;
  justify-content: center;
  gap: 75px;
  margin: auto;
  margin-bottom: 30px;
}
#featured-documents .view-featured-documents .view-content .view-row,
.view-featured-documents .views-row {
  flex: 1;
  gap: 25px;
  max-width: 211px;
}
.view-featured-documents .card.portrait .card-image,
.view-featured-documents .doc .card {
  background-color: transparent;
  height: auto;
  border: none;
}
.view-featured-documents .card.portrait .card-image img {
  position: relative;
  width: 100%;
  transform: none;
  left: auto;
  width: auto;
}
.view-featured-documents .doc .card-section {
  display: none;
}
#tabs-front #knowledge.tab-container .element {
  height: 138px;
  padding: 10px;
  margin-bottom: 16px;
}
#tabs-front #knowledge.tab-container .element a .icon {
  width: 60px;
  height: 60px;
  background-position: center;
}
#tabs-front #knowledge.tab-container .introduction {
  color: #FFFFFF;
}
#tabs-front #knowledge.tab-container .element a .reports { background-image: url("../img/reportsb.png"); }
#tabs-front #knowledge.tab-container .element a .financing { background-image: url("../img/financingb.png"); }
#tabs-front #knowledge.tab-container .element a .pooled { background-image: url("../img/evaluationb.png"); }
#tabs-front #knowledge.tab-container .element a .resources { background-image: url("../img/resourcesb.png"); }
#tabs-front #knowledge.tab-container .element a .dcument { background-image: url("../img/dcumentb.png"); }
#tabs-front #knowledge.tab-container .element a .learning { background-image: url("../img/learningb.png"); }
#tabs-front #knowledge.tab-container .element a .label {
  color: #FFFFFF;
  font-size: 20px;
  line-height: 150%;
  background: none;
  cursor: pointer;
  line-height: 20px;
  height: auto;
}

@media screen and (max-width: 1200px) {
  .header-outer {
    height: 200px;
    margin-bottom: 0;
  }
  .element .number {
    font-size: 70px;
    line-height: 90px;
  }
  .counter .number {
    font-size: 40px;;
    line-height:40px;
  }
  #homepage .hero {
    height: 1030px;
  }
  #homepage .hero .header h1 {
    margin-right: 15px;
  }
  #homepage .hero .header .h4 {
    margin-right: 15px;
  }
  .element .label {
    padding-left: 0;
    padding-right: 0;
    line-height: 30px;
    font-size: 20px;
  }
  .view-featured-documents .card.portrait .card-image img {
    width: auto;
    height: 250px;
  }
  .view-featured-documents .views-row {
    display: contents;
    gap: 40px;
  }
  #tabs-front #funds.tab-container .text-element {
    margin-bottom: 40px;
  }
  #tabs-front #funds.tab-container .text-element h2{
    font-size: 30px;
    margin-bottom: 10px;
    margin-top: 10px;
  }
  #tabs-front #funds.tab-container .text-element p{
    font-size: 18px;
    margin-bottom: 18px;
  }
  #featured-documents .view-featured-documents .view-content {
    gap: 40px;
  }
}

@media screen and (max-width: 1024px) {
  .header-outer {
    margin: 0px 0px 0 1.5rem;
  }
  #homepage .hero {
    height: 1030px;
  }
  #homepage .hero .header h1 {
    line-height: 55px;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-left: 15%;
    font-size: 38px;
  }
  #homepage .hero .header .h4 {
    margin-left: 15%;
    max-width: 75%;
    line-height: 31px;
    font-size: 24px;
  }
  #tabs-front #knowledge.tab-container .element {
    height: 190px;
  }
  #tabs-front #knowledge.tab-container .element a .label {
    font-size: 20px;
    line-height: 30px;
  }
  #tabs-front #gateway.tab-container .data-elements .element {
    padding: 1.0em 0.8em;
    gap: 5px;
    height: 200px;
  }
  .element .number {
    font-size: 60px;
    line-height: 65px;
  }
  #tabs-front #gateway.tab-container .data-counters {
    padding-top: 1rem;
    margin: 0;
  }
  .counter .number {
    font-size: 38px;
    line-height: 35px;
  }
  .view-featured-documents .card.portrait .card-image {
    height:160px;
  }
  #featured-documents .view-featured-documents .view-content {
    margin-bottom: 15px;
    justify-content: center;
    max-width: 90%;
    gap: 40px;
  }
  .view-featured-documents .views-row {
    max-height: 160px;
    display: contents;
  }
  .view-featured-documents .card.portrait .card-image img {
    width: auto;
    height: 170px;
  }
  #tabs-front .tab-container {
    padding: 35px 35px;
  }
  #tabs-front #gateway.tab-container .data-elements .element span[class^="icon"] {
    width: 50px;
    height: 50px;
    background-size: cover;
  }
  #tabs-front #gateway.tab-container .element a .icon {
    width: 50px;
    height: 50px;
    background-size: cover;
  }
  #homepage .hero .header-outer .header::before {
    bottom: -60px;
    left: 10px;
    background: url(../img/stripe-wheel-vertical.svg) no-repeat;
    background-size: 80px;
    background-position: center bottom 0;
    width: 85px;
  }
  .view-featured-documents .card.portrait .card-image img {
    width: auto;
  }
  .view-featured-documents .card.portrait .card-image {
    height: auto;
  }
  .view-featured-documents .views-row {
    max-height: 200px;
    max-width: 100%;
  }
  #tabs-front #knowledge.tab-container .element a .icon {
    width: 45px;
    height: 45px;
    background-size: contain;
    display: none;
  }
  #tabs-front .tab-container .element a {
    gap: 5px;
  }
  #tabs-front #gateway.tab-container .data-counters .counter {
    height: 90px;
  }
  #homepage .hero .header-outer .header::before {
    bottom: -90px;
  }
  #tabs-front #funds.tab-container .element {
    height: 190px;
    margin-bottom: 20px;
  }
  #tabs-front #funds.tab-container .element a img {
    display: none;
  }
  #tabs-front #funds.tab-container .element a .label {
    font-size: 20px;
    line-height: 30px;
  }
  #tabs-front #funds.tab-container .text-element {
    margin-bottom: 35px;
  }
  #tabs-front #funds.tab-container .text-element h2{
    font-size: 28px;
    margin-bottom: 8px;
    margin-top: 8px;;
    text-align: center;
  }
  #tabs-front #funds.tab-container .text-element p{
    font-size: 17px;
    margin-bottom: 17px;
  }
}
@media (max-width: 767px) {
  .header-outer {
    margin: 0px 0px 0px 1.5rem;
  }
  #homepage .hero {
    height: 950px;
  }
  #homepage .hero .header h1 {
    line-height: 45px;
    font-size: 34px;
  }
  #homepage .hero .header-outer .header::before {
    bottom: -60px;
  }
  #homepage .hero .header .h4 {
    line-height: 28px;
    font-size: 19px;
  }
  #tabs-front #gateway.tab-container .data-elements .element {
    height: 160px;
  }
  #tabs-front #gateway.tab-container .data-elements .element span[class^="icon"] {
    display: none;
  }
  .element .number {
    font-size: 40px;
    line-height: 30px;
  }
  .counter .number {
    font-size: 30px;
    line-height: 15px;
  }
  #tabs-front #gateway.tab-container .data-counters .counter {
    height: 80px;
  }
  #tabs-front #funds.tab-container .element {
    height: 160px;
  }
  .element .label,
  #tabs-front #funds.tab-container .element a .label {
    min-height: 25px;
    height: auto;
  }
  #tabs-front #knowledge.tab-container .element a .icon ,
  #tabs-front #gateway.tab-container .element a .icon.bg-wrapper,
  #tabs-front #funds.tab-container .element a .icon {
    width: 40px;
    height: 40px;
    background-size: contain;
  }
  .view-featured-documents .views-row {
    max-height: 170px;
  }
  #featured-documents .view-featured-documents .view-content {
    gap: 7px;
    justify-content: space-between;
  }
  #tabs-front #knowledge.tab-container .element a .icon {
    display: none;
  }
  #tabs-front #knowledge.tab-container .element {
    height: 100px;
  }
  #tabs-front .tab-container {
    padding: 15px 15px;
  }
  .view-featured-documents .card.portrait .card-image img {
    width: auto;
    height: 170px;
  }
  .view-featured-documents .card.portrait .card-image,
  .view-featured-documents .doc .card,
  .view-featured-documents .views-row {
    height: 170px;
  }
  #tabs-front #funds.tab-container .text-element {
    margin-bottom: 20px;
    padding: 20px 35px;
  }
  #tabs-front #funds.tab-container .text-element h2{
    font-size: 25px;
    margin-bottom: 8px;
    margin-top: 8px;;
  }
  #tabs-front #funds.tab-container .text-element p{
    font-size: 15px;
    margin-bottom: 15px;
  }
  #tabs-front #funds.tab-container .element {
    margin-bottom: 15px;
  }
  #featured-documents .view-featured-documents .view-content {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 0px;
  }
  #featured-documents .view-featured-documents {
    text-align: center;
    margin-bottom: 15px;
  }
  #tabs-front #knowledge.tab-container .element a .label {
    line-height: 24px;
  }
}
@media (max-width: 640px) {
  #tabs-front #knowledge.tab-container .element {
        height: 75px;
  }
  .view-featured-documents .card.portrait .card-image img {
    height: 160px;
  }
  .view-featured-documents .card.portrait .card-image,
  .view-featured-documents .doc .card,
  .view-featured-documents .views-row {
    height: 160px;
  }
  .view-featured-documents .views-row {
    max-height: 160px;
  }
  #tabs-front #funds.tab-container .text-element {
    margin-bottom: 20px;
    padding: 60px 35px;
  }
  #homepage .hero {
    height: 1050px;
  }
  #tabs-front #gateway.tab-container .data-elements .element {
    height: 115px;
  }
  #tabs-front #gateway.tab-container .data-counters .counter {
    height: 80px;
    gap: 5px;
  }
}
@media (max-width: 575px) {
  #homepage .hero {
    height: 1200px;
  }
  .header-outer {
    height: 280px;
  }
  #homepage .hero .header .h4 {
    font-size: 20px;
    margin-right: 10px;
    margin-left: 130px;
  }
  #homepage .hero .header h1 {
    font-size: 35px;
    line-height: 35px;
    margin-right: 10px;
    margin-left: 125px;
  }
  #homepage .hero .header-outer .header::before {
    bottom: -130px;
  }
  #tabs-front #funds.tab-container .element {
    height: 180px;
  }
  #tabs-front #funds.tab-container .element a .image {
    width: 100px;
  }
  #tabs-front #funds.tab-container .element a .label {
    font-size: 20px;
  }
  #tabs-front #knowledge.tab-container .element {
    height: 70px;
  }
  #tabs-front .tab-container {
    padding: 15px 15px;
  }
  .view-featured-documents .card.portrait .card-image img {
    height: 120px;
    width: auto;
  }
  .counter .number {
    font-size: 22px;
    line-height: 22px;
  }
  #tabs-front #knowledge.tab-container .element a .label {
    font-size: 18px;
  }
  .view-featured-documents .card.portrait .card-image img {
    width: auto;
  }
  .view-featured-documents .card.portrait .card-image {
    height: auto;
  }
  .view-featured-documents .card.portrait .card-image,
  .view-featured-documents .doc .card,
  .view-featured-documents .views-row {
    max-height: 120px;
    margin:0;
  }
  .view-featured-documents .views-row .views-field-nothing,
  .view-featured-documents .views-row .views-field-nothing .field-content {
    display: contents;
  }
  #tabs-front ul.tabs-list li a {
    font-size: 14px;
  }
  #tabs-front #funds.tab-container .text-element p {
    display: none;
  }
  #tabs-front #funds.tab-container .text-element p:first-of-type {
    display: block;
  }
  #tabs-front #funds.tab-container .text-element h2{
    font-size: 20px;
    margin-bottom: 8px;
    margin-top: 8px;;
    text-align: center;
  }
}
