/* ========================= general ========================= */

#ar-2022 section {
  border-bottom: 1px solid var(--green);
  padding: 0;
}
#ar-2022 section:first-child, #ar-2022 section:last-child { border-bottom: none; }

#ar-2022 .container-narrow, #ar-2022 .container-md, #ar-2022 .container-full { padding: 3rem 0; }
#ar-2022 .container-lg {
  max-width: 1480px;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.region.region-help {
  position: absolute;
  top: 210px;
}
#breadcrumbs {
  background-color: transparent;
  border-bottom: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.block-system-breadcrumb-block { top: -40px; }
ul.breadcrumbs a, ul.breadcrumbs li { color: var(--white-75); }
ul.breadcrumbs a:hover { color: var(--white); }

.gradient-bottom {
  display: none;
  background: var(--black);
  background: linear-gradient(180deg, var(--black-0) 0%, var(--black-50) 100%);
  bottom: 0;
  height: 200px;
}
.gradient-edge {
  position: absolute;
  width: 100%;
}
.gradient-bottom, .gradient-bottom-light, .gradient-top, .gradient-top-light { z-index: 1; }

#ar-2022 section h2 { text-align: center; }

.detail-blog-quotes, .landing-detail-container blockquote {
  background: transparent;
  width: 95%;
  padding: 5rem 3rem;
  line-height: 1.5;
  margin: 1rem auto 2rem auto;
  position: relative;
  border: none;
}
.detail-blog-quotes, .landing-detail-container blockquote, .detail-blog-quotes, .landing-detail-container blockquote p {
  font-size: 1.2222rem;
  font-style: italic;
  font-weight: 500;
  text-align: center;
}
blockquote p { margin: 0; }
blockquote::before, blockquote::after {
  content: '';
  background: var(--green);
  width: 200px;
  height: 3px;
  display: block;
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
}
blockquote::before { top: 2rem; }
blockquote::after { bottom: 2rem; }

/* ========================= colors ========================= */

:root {
  /*
  --blue: #062172;
  --green: #43d596;
  --white: #fff;
  */
  --light-blue: #29a7de;
  --lighter-blue: #d4edf9;
  --lightest-blue: #f4fbff;
  --light-green: #d5dc21;
  --teal: #006a87;
  --light-teal: #a8c6d2;
  --white-50: rgba(255,255,255,0.5);
  --white-75: rgba(255,255,255,0.75);
  --black: rgba(35,35,35,1.0);
  --black-0: rgba(35,35,35,0.0);
  --black-50: rgba(35,35,35,0.5);
  --black-80: rgba(35,35,35,0.8);
  --light-gray: #eef1f4;
}

.bg-white { background: var(--white); }
.bg-gray { background: var(--light-gray); }
.bg-blue { background: var(--blue); }
.bg-light-blue { background: var(--light-blue); }
.bg-lighter-blue { background: var(--lighter-blue); }
.bg-green { background: var(--light-green); }
.bg-light-green { background: var(--green); }

.ar-2022-text-green { color: var(--green); }
.ar-2022-text-blue { color: var(--blue); }
.ar-2022-text-white, .ar-2022-number, .text-white, .text-white a, .landing-detail-container .text-white p { color: #fff; }
.text-white a { text-decoration: underline; }
.ar-2022-text-white-semi, .text-white a:hover { color: rgba(255,255,255,0.7); }

.ar-2022-light-blue-bg, .ar-2022-light-green-bg, .ar-2022-green-bg,
.ar-2022-light-blue-bg a, .ar-2022-light-green-bg a, .ar-2022-green-bg a { color: var(--blue); }
.ar-2022-light-blue-bg a:hover, .ar-2022-light-green-bg a:hover, .ar-2022-green-bg a:hover { opacity: 0.6; }

/* ========================= Layers ========================= */

#ar-2022, #ar-2022 section, #ar-2022 h1, #ar-2022 h2, #ar-2022 .container, #ar-2022 .container-narrow, #ar-2022 .container-md, #ar-2022 .container-full, #doc-nav { position: relative; }

#ar-2022 h1, #ar-2022 h2 { z-index: 100; }
#ar-2022-hero-arrows img { z-index: 50; }
.ar-2022-ryh-img-full-overlay, .ar-2022-img-col-caption { z-index: 4; }
.ar-2022-arrow { z-index: 3; }
#ar-2022 .container, #ar-2022 .container-narrow, #ar-2022 .container-md, #ar-2022 .container-full, .ar-2022-ryh-img-full-img { z-index: 2; }
.gradient-bottom, .gradient-bottom-light, .gradient-top, .gradient-top-light { z-index: 1; }

/* ========================= Arrows ========================= */

.ar-2022-arrow { position: absolute; }
.ar-2022-arrow.arrow-top-left { top: 0; left: 0; }
.ar-2022-arrow.arrow-top-right { top: 0; right: 0; }
.ar-2022-arrow.arrow-bottom-right { bottom: 0; right: 0; }
.ar-2022-arrow.arrow-bottom-left { bottom: 0; left: 0; }
.ar-2022-arrow.arrow-top-left img, .ar-2022-arrow.arrow-top-right img {
  width: 100px;
  height: auto;
}
.ar-2022-arrow.arrow-bottom-right img, .ar-2022-arrow.arrow-bottom-left img {
  width: 60px;
  height: auto;
}

/* ========================= buttons ========================= */

.ar-buttons {
  text-align: center;
  margin: 0 auto;
  padding: 0 0 2rem 0;
}
.ar-buttons a { margin: 10px; }

/* ========================= nav ========================= */

#doc-nav { background: var(--white); }
#doc-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0;
}
#doc-nav li {
  background: transparent;
  line-height: 1;
  margin: 0;
  padding: 0;
}
#doc-nav a {
  font-size: 1rem;
  /*
  text-transform: uppercase;
  letter-spacing: 1px;
  */
  text-decoration: none;
  display: inline-block;
  position: relative;
  color: var(--blue);
  font-weight: 500;
  padding: 1rem;
}
#doc-nav a:hover {
  text-decoration: none;
  color: var(--green);
}
#doc-nav a::before {
  background-color: var(--green);
  content: '';
  display: block;
  position: absolute;
  left: 15px;
  right: calc(102% - 15px);
  bottom: 0;
  height: 1px;
  transition: .2s ease-in-out;
  transition-property: all;
  transition-property: all;
  transition-property: right;
}
#doc-nav a:hover::before { right: 15px; }

/* ========================= hero ========================= */

#ar-2022-hero {
  background: var(--black) url(https://globalpartnership.org/docs/ar-2022/img/hero.jpg) center center no-repeat;
  background-size: cover;
  min-height: 520px;
  height: 70vh;
  width: 100%;
  position: relative;
  border: none;
  overflow: hidden;
}
#ar-2022-hero-arrows img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
}

#ar-2022-hero h1 {
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  left: 10%;
  bottom: 20%;
  line-height: 1;
}
h1 .ar-2022-text-green, h1 .ar-2022-text-white { font-size: 5.5rem; }
h1 .ar-2022-number { font-size: 3.5rem; }
h1 span { display: block; }

/* ========================= Highlights ========================= */

#ar-2022-highlights {
  background: var(--lighter-blue);
}
#ar-2022-highlights .card {
  border: none;
  text-align: center;
  font-size: 1.111rem;
  overflow: hidden;
}
#ar-2022-highlights .card img { border-radius: 3px 3px 0 0; }
#ar-2022-highlights .card-text a {
  font-family: Bebas Neue,sans-serif;
  font-size: 2.2222rem;
  line-height: 1;
  font-weight: 400;
  display: block;
  padding: 10px 0 5px 0;
  color: var(--green);
}
#ar-2022-highlights .card-text a:hover { color: var(--blue); }

.multiple-imgs {
  background: var(--lightest-blue);
  padding: 1rem;
}
.multiple-imgs img {
  padding: 1.5rem;
}
.card-img-offset .card-body {
  padding-top: 0;
}

/* ========================= Grants ========================= */

#ar-2022-grants {

}
#grant-map {
  max-width: 95%;
  margin: 0 auto;
}
#grant-map-bottom {
  position: relative;
  top: -200px;
  margin-bottom: -250px;
}
#grant-map-chart {
  max-width: 770px;
}
#grant-map-chart, #grant-map-legend {
  margin: 0 auto 2rem auto;
}
#grant-map-legend {
  max-width: 415px;
  font-size: 0.6666rem;
  border: 1px solid var(--light-teal);
  padding: 1rem;
}
.grant-map-legend-blue { }
.grant-map-legend-green { }
.grant-map-legend-blue i { color: var(--light-blue); }
.grant-map-legend-green i { color: var(--green); }
#grant-map-legend div { margin: 0 0 0.5rem 0; }
#grant-map-legend p { margin: 0; }

/* ========================= Transforming education ========================= */

#ar-2022-transforming-education {

}
#ar-2022-transforming-education figure.figure { margin-bottom: 0; }
.fig-caption-text, .figure-caption { font-size: 0.6666rem; }

/* ========================= Results ========================= */

#ar-2022 section#ar-2022-results { border-bottom: none; }

.results-panel { display: table; }
.results-img, .results-text {
  display: table-cell;
  vertical-align: middle;
}
.results-img { width: 100px; }
.results-img img {
  width: 100px;
  height: auto;
}
.results-text { padding: 0 0 0 30px;  }
.results-text span, .results-text-bottom span {
  font-family: Bebas Neue,sans-serif;
  font-size: 2.2222rem;
  line-height: 1;
  font-weight: 400;
}
.results-text strong { }
#ar-2022-results .container-full.bg-blue .container-md.row { margin: 0 auto; }

.results-panel-horz { margin-bottom: 3rem; }
.results-panel-horz:last-child { margin-bottom: 0; }
.results-img-top { margin-bottom: 0.5rem; }
.results-img-top img { max-width: 300px; }
.results-text-bottom { max-width: 440px; }
.container-full.bg-blue .results-panel { margin: 3rem 0 4rem 0; }

/* ========================= Summit ========================= */

#ar-2022-summit {

}
.green-highlight-box {
  background: rgb(6,33,114);
  background: linear-gradient(120deg, rgba(6,33,114,1) 0%, rgba(67,213,150,1) 100%);
  border-radius: 3px;
  margin: 4rem auto 3rem auto;
  padding: 2rem;
  color: #fff;
}
.green-highlight-box h3 { text-align: center; }
.green-highlight-box, .landing-detail-container.landing-list .landing-detail-description .green-highlight-box ul li {
  color: #fff;
}
main .green-highlight-box ul { padding-top: 20px; }
.landing-detail-container.landing-list .landing-detail-description .green-highlight-box ul li {
  background-image: url(https://www.globalpartnership.org/docs/img/branding/arrow-white-right.svg);
  background-repeat: no-repeat;
  background-size: 10px auto;
  background-position: 0 4px;
}

/* ========================= Thematic areas ========================= */

#ar-2022-thematic-areas {
  background: var(--light-gray);
}
.landing-detail-container #ar-2022-thematic-areas h3 {
  font-size: 20px;
  font-family: Bebas Neue,sans-serif;
  font-weight: 400;
  margin-bottom: 20px;
  padding: 1rem;
  margin: 0;
  background: var(--green);
  color: var(--white);
  font-size: 2.2222rem;
  line-height: 1;
}
#ar-2022-thematic-areas .card img {
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}
#ar-2022-thematic-areas .card:hover img { filter: brightness(1.05); }


/* ========================= Download ========================= */

#ar-2022-download {
  border: none;
}

/* ========================= responsive ========================= */

.mobile-show { display: none; }
.mobile-hide { display: inherit; }

@media only screen and (max-width: 1200px) {

  h2, .h2, #page h2 { font-size: 3.5rem; }
  .region.region-help { display: none !important; }

}

@media only screen and (max-width: 960px) {

  .mobile-show { display: inherit; }
  .mobile-hide, #ar-2022-hero-arrows { display: none !important; }

  #ar-2022-hero h1 { padding: 0.25rem; position: absolute; left: 5%; bottom: 5%; }
  h1 .ar-2022-text-green, h1 .ar-2022-text-white { font-size: 3.5rem; }
  h1 .ar-2022-number { font-size: 2rem; }

  .detail-blog-quotes, .landing-detail-container blockquote {
    width: 100%;
    padding: 5rem 0;
  }
  #grant-map {
    max-width: none;
    margin: 0 auto;
  }
  #grant-map-bottom {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
  #grant-map-chart, #grant-map-legend {
    margin: 0 auto 2rem auto;
  }
  #grant-map-legend {
    max-width: 415px;
    font-size: 0.6666rem;
    border: 1px solid var(--light-teal);
    padding: 0.25rem;
  }
  .green-highlight-box { padding: 2rem 1rem; }
  .landing-detail-container.landing-list .landing-detail-content ul { margin: 2.5rem 0; }

  #ar-2022-results .row.mb-4.pt-3.pb-3 {
    padding-bottom: 0;
    margin-bottom: 0 !important;
  }
  .results-panel, .results-img, .results-text { display: block; }
  .results-img, .results-img-top {
    text-align: center;
    width: auto;
    margin-bottom: 1rem;
  }
  .results-text, .results-text-bottom {
    text-align: center;
    margin: 0 auto 3rem auto;
  }
  .results-img img { width: 150px; }
  .results-img-top img { width: auto; }

  #doc-nav { padding: 2rem 1rem; }
  #doc-nav ul { display: block; text-align: center; }
  #doc-nav a { padding: 0.7777rem; }
  #ar-2022 .container-narrow, #ar-2022 .container-md, #ar-2022 .container-full, .grid, #ar-2022 .container-lg { padding: 3rem 1rem; }
  .grid { column-count: 1; }
  .ar-2022-arrow.arrow-top-left img, .ar-2022-arrow.arrow-top-right img { width: 60px; }
  .ar-2022-arrow.arrow-bottom-right img, .ar-2022-arrow.arrow-bottom-left img { width: 30px; }

}
