.tops #block-system-main {
  margin-bottom: 24px;
}
.tops #content {
  padding: 0 16px;
}
.tops .edit-section {
  display: none;
}
.tops .region.region-content .block {
  margin: 0 auto;
}
.tops #main {
  max-width: 580px;
}
.tops sup a {
  border-bottom-width: 0;
}
.tops #content-area .region.region-content {
  width: 100%;
}
.tops #content-area {
  margin-top: 0;
}
.tops #content-area h1.title {
  font-size: 30px;
  line-height: 34px;
  margin: 0 0 4px 0;
  z-index: 9999;
}
.tops #content-header h1.title {
  font-family: AvenirLTStd-Black, arial, sans-serif;
  font-style: normal;
  font-size: 32px;
  line-height: 38px;
  color: #344F5C;
  width: unset;
  border-bottom: 0;
  padding: 0;
  margin: 1em 0 0 0;
  z-index: 9999;
}

.tops #content-area h2.subtitle {
  font-family: AvenirLTStd-Black, arial, sans-serif;
  font-style: normal;
  font-size: 18px;
  line-height: 1.25;
  color: #5A717B;
  padding: 0;
  margin: 6px 0;
}
.tops #content-area .footer-box h2 {
  font-family: AvenirLTStd-Black, arial, sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 18px;
  line-height: 22px;
  color: #000;
  padding: 0;
  margin: 0;
  letter-spacing: 1px;
}
.tops #content-area .footer-box h6 {
  font-family: AvenirLTStd-Roman;
  font-style: normal;
  font-weight: 600;
  font-size: 11px;
  line-height: 16px;
  /* or 145% */
  text-transform: uppercase;
  margin: 0px;
  padding: 5px 0 10px;
}

.tops #content-area h4.subheader {
  font-family: AvenirLTStd-Black, arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: #344F5C;
}
.tops #content-area h4.subheader.philosophy {
  margin: 32px 0 8px;
}
.tops #content-area h5.pointheader {
  font-family: AvenirLTStd-Black, arial, sans-serif;
  font-style: normal;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.33;
  color: #373737;
  position: relative;
  display: inline-block;
  margin: 16px 0 8px;
}
.tops h6.topic,
.tops h6.numerator {
  font-family: AvenirLTStd-Roman;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 30px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  /* Dark Gray */
  opacity: 0.8;   
  color: #424242;
  color: rgba(66,66,66,0.8);;
  margin: 0;
  position:relative;
}
.tops h6.topic {
  margin-top: 24px;
}
.tops #content-area p,
.tops .field--name-body p,
.tops .field--name-body,
.tops #content-area {
  font-family: Adelle-Regular;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 26px;
  color: #373737;
  margin: 0;
}
.tops #content-area .tippy {
  font-family: Adelle-Regular;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 19px;
  color: #669BB5;
  display: inline-block;
}
.tops .field--name-body .field-item:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}
.tops .gtr-text {
  padding-bottom: 0;
  margin-bottom: 0;
}
.tops #content-area div.givewell-discretion a.report-button,
.tops #content-area div.footer-box a.report-button,
.tops .field--name-body div.footer-box a.report-button {
  font-family: AvenirLTStd-Heavy;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  margin-right: 8px;
  text-transform: uppercase;
  text-decoration: none;
  color: #3489B0;
  border: 2px solid #3489B0; 
  padding: 10px 16px;
}
.tops #content-area div.givewell-discretion a.donate-button,
.tops #content-area div.footer-box a.donate-button,
.tops .field--name-body div.footer-box a.donate-button {
  font-family: AvenirLTStd-Heavy;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  text-transform: uppercase;
  text-decoration: none;
  background-color: #3489B0;
  color: #FFF;
  border: 2px solid #3489B0; 
  padding: 10px 16px;
}
.tops #content-area div.givewell-discretion a.donate-button:hover,
.tops #content-area div.footer-box a.donate-button:hover,
.tops .field--name-body div.footer-box a.donate-button:hover,
.tops #content-area div.givewell-discretion a.donate-button:focus,
.tops #content-area div.footer-box a.donate-button:focus,
.tops .field--name-body div.footer-box a.donate-button:focus {
  background-color: #2380AB;
  border-color: #2380AB;
}
.tops #content-area div.givewell-discretion a.report-button:hover,
.tops #content-area div.footer-box a.report-button:hover,
.tops .field--name-body div.footer-box a.report-button:hover,
.tops #content-area div.givewell-discretion a.report-button:focus,
.tops #content-area div.footer-box a.report-button:focus,
.tops .field--name-body div.footer-box a.reportbutton:focus {
  border-color: #3489B0;
}
.tops .field--name-body a,
.tops #content-area a {
  font-family: Adelle-Regular;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 26px;
  color: #669BB5;
  border-bottom-color: #669BB5;
  margin: 0;
}
.tops .photo-credit {
  font-family: Adelle-Regular;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 15px;
  /* identical to box height, or 125% */
  /* Medium Gray */
  opacity: 0.8;
  color: #373737;
  color: rgba(55,55,55,0.8);
  position: relative;
  z-index: 9999;
}
.tops .givewell-discretion .photo-credit {
  margin: 0 0 4px 1%;
}
.tops figure {
  position: relative;
}
.tops figure img {
  width: 100%;
  height: auto;
}
.tops a.desktop,
.tops img.desktop {
  display:none;
}
.tops a.mobile {
  display: inline;
}
.tops img.mobile {
  display:block;
}
.tops .cut-corners {
  position: relative;
}
.tops .cut-corners:before {
  position: absolute;
  content: '';
  width: 50px;
  height: 50px;
  background-color: white;
  z-index: 0;
  transform: rotate(-45deg);
  bottom: -25px;
  left: -25px;
}
.tops .cut-corners:after {
  position: absolute;
  content: '';
  width: 50px;
  height: 50px;
  background-color: white;
  z-index: 0;
  transform: rotate(45deg);
  top: -25px;
  right: -25px;
}
.tops .image-left-row figcaption,
.tops .image-right-row figcaption {
  text-align: right;
  margin-top: 4px;
}
.tops .border-container {
  position: relative;
}
.tops .border-contained {
  height: 100%;
  width: 100%;
  position: absolute;
  border-left: 1px solid rgb(0,0,0);
  border-left: 1px solid rgb(0,0,0,0.2);
}
.tops .three-item-grid:before {
    content: '';
    height: 73.5%;
    width: 1px;
    background-color: rgb(0,0,0);
    background-color: rgb(0,0,0,0.2);
    left: 0;
    top: 8px;
    display: block;
    position: absolute;
}
.tops .border-container ul:before {
    content: '';
    height: 80%;
    width: 1px;
    background-color: rgb(0,0,0);
    background-color: rgb(0,0,0,0.2);
    left: 0;
    bottom: 11px;
    display: block;
    position: absolute;
}
.tops #content-area h5.pointheader:before {
  top: 0.6em;
  left: -20px;
  width: 9px;
  height: 1px;
  content: '';
  background-color: #c2c2c1;
  position: absolute;
}
.tops #content ul li:before {
  top: 1em;
  left: 0;
  width: 9px;
  height: 1px;
  content: '';
  background-color: #c2c2c1;
  position: absoute;
}
.givewell-discretion  {
  position: relative;
}
.givewell-discretion .link-buttons,
.givewell-discretion p {
  display: block;
  padding: 16px 1% 0 0;
}
.givewell-discretion img {
  width: 98%;
  position: relative;
  margin: 0 auto;
}
.givewell-discretion div {
  position: relative;
  z-index: 0;
  background-color: white;
  margin: -72px auto 0 auto;
  width: 94%;
  padding: 8px;
}
/* Mobile grid layouts */
.tops .image-left-row figure,
.tops .image-right-row figure {
  grid-area: img;
}
.tops .image-left-row header,
.tops .image-right-row header {
  grid-area: header;
  z-index: 9999;
}
.tops .image-left-row footer,
.tops .image-right-row footer {
  grid-area: footer;
}
.tops .image-left-row section,
.tops .image-right-row section {
  grid-area: text;
}
.tops .three-item-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  -ms-grid-rows: 1fr 1fr;
  grid-template-columns: 1fr;
  padding: 0 0 0 20px;
  margin: 0 0 6px;
  position: relative;
}
.tops .three-item-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  -ms-grid-rows: 1fr 1fr;
  grid-template-columns: 1fr;
}
.tops .three-item-grid img {
  display: none;
}
.tops .three-item-grid .item.one img {
  width: 45%;
  height: auto;
  -ms-grid-row: 1;
  -ms-grid-column: 1;

}
.tops .three-item-grid .item.one {
  -ms-grid-row: 1;
  -ms-grid-column: 1;

}
.tops .three-item-grid .item.two img {
  width: 45%;
  height: auto;
  -ms-grid-row: 2;
  -ms-grid-column: 1;
}
.tops .three-item-grid .item.two {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
}
.tops .three-item-grid .item.three img {
  width: 45%;
  height: auto;
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}
.tops .three-item-grid .item.three {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}
.tops .image-left-row,
.tops .image-right-row {
  grid-column-gap: 0;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  -ms-grid-rows: 1fr 1fr 1fr 1fr;
  grid-template-colums: 100%;
  grid-template-areas: 
                         "header"
                         "img"
                         "text"
                         "footer";
  grid-auto-rows: minmax(min-content, max-content);
}
.tops div.footer-box {
  display: grid;
  width: 100%;
  height: auto;
  min-height: 120px;
  background: #FFFFFF;
  box-shadow: 0px 0px 8px rgb(0, 0, 0), 0px 4px 4px rgb(0, 0, 0);
  box-shadow: 0px 2px 8px -2px rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  margin-top: 8px;
  grid-template-columns: 152px 1fr;
  grid-template-areas:
                      "logo name";

  align-items: center;
  column-gap: 8px;
}
.tops div.footer-box:hover,
.tops div.footer-box:focus {
  box-shadow: 0px 4px 16px -4px rgba(0, 0, 0, 0.25);
}
.tops div.footer-box img {
  grid-area: logo;
  margin: 0 auto;
  padding: 0 8px;
  max-height: 88px;
}
.tops div.footer-box div {
  grid-area: name;
}

/* Mobile item-specific tweaks */
.tops footer .malaria-consortium img {
}
.tops footer .amf img {
}
.tops footer .amf img {
}
.tops footer .end-fund img {
}
.tops footer .evidence-action img {
  padding: 0 16%;
}
.tops footer .sight-savers img {
}
.tops footer .sci-foundation img {
}

.tops footer .helen-keller img {
}
.tops footer .give-directly img {
}

/* tooltip styling */
.tops .tippy-content {
  background: #373737;
  color: white;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

@media all and (min-width: 1000px) {
  .tops #main {
    max-width: 1180px;
  }
  .tops #content {
    padding: 0 32px;
  }

  .tops #content-header h1.title {
    font-size: 36px;
    line-height: 42px;
    padding: 0;
  }  
  .tops #content-area h1.title {
    font-size: 36px;
    line-height: 42px;
    padding: 0;
    margin: 0 0 4px 0;
  }  

  .tops #content-area h2.subtitle {
    font-size: 24px;
    line-height: 1.1875;
    padding: 0;
  }
  .tops #content-area .footer-box h2,
  .tops #content-area .footer-box h6 {
    color: #373737;
  }
  
  .tops #content-area h5.pointheader {
  }
  .tops .three-item-grid:before,
  .tops #content-area h5.pointheader:before {
    display: none;
  }
  .tops h4.subheader.philosophy,
  .tops .charities-skip {
    display: none;
  }
  .tops figure img {
    width: unset;
  }
  .tops a.desktop {
    display: inline;
  }
  .tops img.desktop {
    display:block;
  }
  .tops a.mobile,
  .tops img.mobile {
    display:none;
  }

  /* Desktop grid layouts */
  .tops .three-item-grid {
    margin: 76px auto 0 auto;
    -ms-grid-columns: 3fr 1fr 3fr 1fr 3fr;
    -ms-grid-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 5%;
    padding: unset;
  }
  .tops .three-item-grid img {
    display: block;
    margin: 0 auto;
  }
  .tops .three-item-grid .item.one {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .tops .three-item-grid .item.two {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  .tops .three-item-grid .item.three {
    -ms-grid-row: 1;
    -ms-grid-column: 5;
  }

  .tops .image-left-row figure,
  .tops .image-right-row figure {
    margin: 37px 0 0 0;
  }
  .tops .image-left-row figure img,
  .tops .image-right-row figure img {
  }
  .tops .image-right-row figure {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    -ms-grid-row-span: 2;
  }
  .tops .image-left-row figure {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    -ms-grid-row-span: 2;
  }
  .tops .image-right-row header {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .tops .image-left-row header {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  .tops .image-right-row section {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }
  .tops .image-left-row section {
    -ms-grid-row: 2;
    -ms-grid-column: 3;
  }
  .tops .image-left-row footer {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    margin-left: -8px;
  }
  .tops .image-right-row footer {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    margin-left: -8px;
  }
  .tops .image-right-row div.footer-box {
    width: 48%;
    height: auto;
    float: left;
    margin:8px;
    border-left: 4px solid #3489B0;
  }
  .tops .image-left-row div.footer-box {
    width: 48%;;
    height: auto;
    float: right;
    margin: 0 16px 16px 0;
    border-left: 4px solid #3489B0;
  }
  .tops .image-left-row {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 1fr 3fr;
    -ms-grid-rows: 4fr;
    grid-template-columns: 1fr 12% 50%;
    grid-template-rows: auto;
    grid-template-areas: 
                        "img . header"
                        "img . text"
                        "footer footer footer";
    grid-auto-rows: minmax(min-content, max-content);
  }
  .tops .image-right-row {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 1fr 3fr;
    -ms-grid-rows: 4fr;
    grid-template-columns: 50% 12% 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
                        "header . img"
                        "text . img"
                        "footer footer footer";
    grid-auto-rows: minmax(min-content, max-content);
  }
  .tops .image-left-row figcaption {
    text-align: right;
  }
  .tops .image-right-row figcaption {
    text-align: left;
  }
  .tops .image-right-row .cut-corners:before {
    right: -25px;
    left: unset;
  }
  .tops .image-right-row .cut-corners:after {
    left: -25px;
    right: unset;
  }
  /* Desktop item-specific tweaks */
  .tops .malaria-consortium footer img {
  }
  .tops section.pipe {
    position: relative;
  }
  .topic::before {
    content: '';
    height: 1px;
    width: 16px;
    background-color: #E8E8E8;
    position: absolute;
    left: -23px;
    top: 13.5px;
  }
  .topic:last-of-type:after {
    content: '';
    height: 120px;
    width: 1px;
    background-color: #E8E8E8;
    position: absolute;
    left: -24px;
    bottom: 16.5px;
  }
  .tops section.pipe:before {
    background-color: #E8E8E8;
    content: '';
    width: 1px;
    height: 70%;
    position: absolute;
    left: -24px;
    top: 1px;
   }
  .tops section.pipe:after {
    background-color: #E8E8E8;
    content: '';
    width: 104%;
    height: 1px;
    position: absolute;
    left: -24px;
    top: 0;
   }
   div.givewell-discretion {
    width: 868px;
    margin: 0 auto;
    position: relative;
   }   
  .givewell-discretion div.gtr-text {
    margin: -72px auto 0 auto;
    width: 628px;
    padding: 16px 24px 0;
  }
}
@media all and (max-width: 424px) {
  .tops #content-area .footer-box {
     grid-template-columns: 1fr 215px;
     padding-right: 2.5%;
  }  
  .tops #content-area .footer-box.amf {
  }
  .tops #content-area .footer-box.malaria-consortium div {
  }
  .tops #content-area .footer-box.malaria-consortium  {
  }
  .tops footer.hki,
  .tops #content-area .footer-box.helen-keller  {
    height: 105%;
  }
  .tops #content-area .footer-box.sci-foundation  {
  }
  .tops #content-area .footer-box.malaria-consortium img {
  }
} 
 
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
     /* IE10+ CSS styles go here */
  .dollar {
    display: none;
  }
  .tops div.footer-box {
    display: block !important;
    padding: 16px 0 0 8px;
  }
  .tops div.footer-box img {
    float: left;
    max-width: 24%;
  }
  .tops div.footer-box div {
    float: left;
    margin-left: 16px;
  }
  .tops #content-area .footer-box.sci-foundation img {
    max-width: 120px;
    height: auto;
  }
  .tops #content-area .footer-box.evidence-action img {
    padding: 0;
  }
  .tops #content-area .footer-box img {
    max-width: 140px;
    height: auto;
  }
}
@media all and (max-width: 40em) {
  .footer-menu {
    margin-top: 0;
  }
}
