/* hamburger menu */
span.hamburger {
  background-color: #0677bd;
  border-radius: 0 0 0 2px;
  color: #FFFFFF;
  cursor: pointer;
  display: block;
  font-size: 1px;
  font-weight: 700;
  height: 45px;
  line-height: 22px;
  padding: 10px 10px 9px;
  position: fixed;
  right: 0;
  text-decoration: none;
  text-indent: -9999em;
  top: 0;
  width: 45px;
  z-index: 990;
}

  span.hamburger span {
    background: none repeat scroll 0 0 #FFFFFF;
    display: block;
    height: 3px;
    margin-top: 4px;
  }

/* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  right: 0;
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  background: none repeat scroll 0 0 #0677BD;
  /* box-shadow: -4px 0 1px rgba(0,0,0,.25); */
  font-family: "Lucida Grande", sans-serif;
  font-size: 1rem;
  z-index: 1000;
}

  .sidenav ul {
    border-top: 1px solid #034772;
    margin: 0;
    padding: 0;
  }

  .sidenav ul li {
    border-bottom: 1px solid #034772;
    display: block;
    line-height: 18px;
    margin: 0;
  }

  /* The navigation menu links */
  .sidenav a {
    padding: 8px 8px 8px 20px;
    text-decoration: none;
    color: #fff;
    display: block;
    transition: 0.3s;
    white-space: nowrap;
  }
    .sidenav ul a:hover {
      box-shadow: 0 0 15px 3px #034772 inset;
    }

  /* When you mouse over the navigation links, change their color */
  .sidenav a:hover {
    color: #f1f1f1;
  }

  /* Position and style the close button (top right corner) */
  .sidenav .closebtn {
    position: absolute;
    top: -7px;
    right: 5px;
    font-size: 36px;
    margin-left: 50px;
  }

.jump-link { display: block; margin-bottom: 20px; }

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
body {
  /*background-color: #7d878e;*/
  background-color: #555;
  /*font-size: 18px;*/
  font-size: 20px;
  min-width: 360px;
}

#main {
  background-color: #fff;
  box-shadow: 0 0 5px 0 #666;
  transition: margin-right .5s;
  margin: 0 auto;
  max-width: 1200px;
  min-width: 360px;
  position: relative;
}

@media (max-width: 745px) {
  #main { margin-right: 0 !important; }
}

/* header */
.header {
  padding: 30px 0 0;
}
  @media (max-width: 480px) {
    /*.header .col-6 {
      flex: 0 0 100%;
      max-width: 100%;
    }*/
    .header .col-6 img {
      width: 100%;
    }
  }
  @media (max-width: 720px) {
    /*.nav-open .header .col-6 {
      flex: 0 0 100%;
      max-width: 100%;
    }*/
  }

  .header img {
    display: block;
    height: auto;
    margin: 0;
    padding: 20px 10px;
    width: 90%;
  }
  .header a { display: inline-block; }
  /*.logo-gh img { padding-top: 32px; }*/

  .logo-gkccf {  }
  .logo-gh { text-align: right; } 

  @media screen and (min-width: 1200px) {
    .header img {
      min-width: 320px;
    }
  }

/* typography */
h2 {
  color: #ce972b;
  font-family: 'Noto Sans', sans-serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1em;
  margin-bottom: 60px;
  text-transform: uppercase;
}

h3.totals { color: #7d878e; font-family: 'Noto Sans', sans-serif; font-size: 28px; line-height: 42px; margin: 60px 0; }
h3.totals span { color: #ce972b; display: inline-block; margin-left: .35em; margin-right: .35em; }
@media screen and (min-width: 992px) {
  h3.totals { font-size: 36px; line-height: 60px; margin: 75px 0; }
}
h3.shim {
  font-family: 'Oxygen', sans-serif;
  color: #7d878e;
  font-size: 24px;
  line-height: 1em;
}
h3.shim.gold { color: #ce972b; }
h3.shim.blue { color: #0377bd; }

@media screen and (min-width: 992px) {
  h3.shim {
    font-size: 34px;
    line-height: 1em;
  }
}

p {
  color: #58595b;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 100;
  letter-spacing: .5px;
  line-height: 24px;
  margin: 0 auto 1.5em;
  max-width: 39em;
}
  
  @media screen and (max-width: 768px) {
    body { font-size: 19px; }
    h2 { font-size: 36px; margin-bottom: 30px; }
    p { color: #58595b; line-height: 25px; margin-bottom: 35px; }
  }

.asterisk {
  /* color: #7d878e; */
  color: #58595b;
  font-size: 11px;
  font-style: italic;
  font-weight: 400;
  line-height: 17.6px;
  margin: 30px 0 0;
  max-width: none;
}

@media screen and (max-width: 768px) {
  .asterisk {
    color: #58595b;
  }
}

/* utilities */

.mx-15 { margin-left: 15px; margin-right: 15px; }
.mx-30 { margin-left: 30px; margin-right: 30px; }
.mx-45 { margin-left: 45px; margin-right: 45px; }

.my-0 { margin-bottom: 0; margin-top: 0; }
.my-15 { margin-bottom: 15px; margin-top: 15px; }
.my-30 { margin-bottom: 30px; margin-top: 30px; }
.my-45 { margin-bottom: 45px; margin-top: 45px; }
.my-60 { margin-bottom: 60px; margin-top: 60px; }

.mb-15 { margin-bottom: 15px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-45 { margin-bottom: 45px; }
.mb-60 { margin-bottom: 60px; }
.mb-75 { margin-bottom: 75px; }
.mb-90 { margin-bottom: 90px; }
.mb-100 { margin-bottom: 100px; }
.mb-105 { margin-bottom: 105px; }
.mb-120 { margin-bottom: 120px; }

@media screen and (max-width: 768px) {
  .mb-90 { margin-bottom: 45px; }
  .mbm-30 { margin-bottom: 30px; }
  .mbm-45 { margin-bottom: 45px; }
}

.mt-15 { margin-top: 15px; }
.mt-25 { margin-top: 25px; }
.mt-30 { margin-top: 30px; }
.mt-45 { margin-top: 45px; }
.mt-60 { margin-top: 60px; }
.mt-75 { margin-top: 75px; }
.mt-90 { margin-top: 90px; }
.mt-100 { margin-top: 100px; }
.mt-110 { margin-top: 110px; }
.mt-120 { margin-top: 120px; }
.mt-150 { margin-top: 150px; }

@media screen and (max-width: 768px) {
  .pb-15-sm { padding-bottom: 15px; }
  .pb-20-sm { padding-bottom: 20px; }
  .pb-30-sm { padding-bottom: 30px; }
  .pb-45-sm { padding-bottom: 45px; }
  .pb-60-sm { padding-bottom: 60px; }
  .pb-75-sm { padding-bottom: 75px; }

  .pt-15-sm { padding-top: 15px; }
  .pt-20-sm { padding-top: 20px; }
  .pt-30-sm { padding-top: 30px; }
  .pt-45-sm { padding-top: 45px; }
  .pt-60-sm { padding-top: 60px; }
  .pt-75-sm { padding-top: 75px; }
}

  @media screen and (max-width: 768px) {
    .mb-15 { margin-bottom: 0; }
    .mt-75 { margin-top: 45px; }
  }

  @media screen and (min-width: 768px) {
    .overlaid-circles { max-width: 660px; } /* was: 824 */
  }

/* sections: all */
section { padding: 145px 95px 45px; text-align: center; }
section img.img-chart {
  height: auto;
}

  .section img.img-chart.chart-3-wide { max-width: 750px; }
  .section img.img-chart.chart-full-width { width: 100%; }

  @media screen and (max-width: 768px) {
    section { padding: 60px 20px 30px; }
  }

section:first-of-type { padding-top: 70px; }

/* section:after {
  background: url(../img/arrow-white.png) no-repeat bottom center;
  bottom: -113px;
  content: '';
  display: block;
  height: 52px;
  margin: 0 auto;
  position: relative;
  width: 180px;
  z-index: 10;
}

  @media screen and (max-width: 768px) {
    section:after { bottom: -50px; }
  } */

.bg-gray { background: #ebedee }
.bg-gray:after { background-image: url(../img/arrow-gray.png) }

.bg-tan { background: #f8efdf }
.bg-tan:after { background-image: url(../img/arrow-tan.png) }

/* images */
img { display: block; margin: 0 auto; }
.fullwidth-heightauto { height: auto; width: 100%; }
@media screen and (max-width: 768px) {
  .img-chart { width: 100%; }
}

.hide-desktop,
.hide-mobile { display: none; }

@media screen and (min-width: 769px) {
  .hide-mobile { display: block; }
}

@media screen and (max-width: 768px) {
  .hide-desktop { display: block; }
  section img.resp-sm {
    height: auto;
    width: 100%;
  }
}

@media screen and (max-width: 992px) {
  section img.resp-md {
    height: auto;
    width: 100%;
  }
}

/* tweaks */
@media screen and (max-width: 768px) {
  .graphic-breakdown {
    max-width: 210px;
  }
  .ill-contributions {
    max-width: 320px;
  }
  .chart-corporate-giving {
    margin-top: 45px;
  }
  .ill-grantmaking-services {
    margin-top: 50px;
  }
}

@media screen and (max-width: 768px) {
  .graphic-tabs {
    max-width: 275px;
  }
}

.s13 img {
  max-width: 260px;
}

@media screen and (max-width: 768px) {
  .s13 img {
    max-width: 275px;
  }
  .s13 img:last-child {
    margin-bottom: 15px;
  }
}

/* section: 1 */
.intro {
  overflow: auto;
  position: relative;
  transition: 0.25s;
  padding-top: 45px;
}

  /* headline */
  h1 { display: none; }

  .intro-content { display: flex; flex-wrap: wrap; margin-top: -10%; padding: 30px 20px 0; }
  .intro-content .left { padding-right: 20px; margin-bottom: 45px; width: 100%; }
  .intro-content .right { margin-bottom: 45px; padding: 0 30px; width: 100%; }
  .intro-content .right img { left: -23px; margin: 0 0 15px; position: relative; }
  .intro-content .left img { height: auto; max-width: 275px; width: 100%; }

  @media screen and (min-width: 768px) {
    .intro-content { padding: 0 80px 15px 45px; }
    .intro-content .left { width: 45%; }
    .intro-content .right { padding: 45px 0 0; width: 55%; }
    .intro-content .left img { max-width: 350px; position: relative; top: -60px; }
  }

.divider {
  margin-bottom: 45px
}

@media screen and (min-width: 992px) {
  .divider {
    margin-bottom: 110px;
  }
}

/* #assets,
#funds,
#grantmaking-services {
  background: transparent url(../img/bg-up-to-left.svg) no-repeat top right;
  background-size: 45vw;
  padding-top: 30vw;
}

#grants,
#agency-funds,
#investments {
  background: transparent url(../img/bg-down-to-right.svg) no-repeat top left;
  background-size: 35vw;
  padding-top: 36vw;
} */

/* @media screen and (min-width: 1200px) {
  #assets,
  #funds,
  #grantmaking-services {
    background-size: 50%;
  }

  #grants,
  #agency-funds,
  #investments {
    background-size: 35%;
  }
} */

/* assets */
#assets h2 { margin-top: 0; }
#assets p { margin-bottom: 45px; }
#assets p.asterisk { margin-bottom: 0; }

@media screen and (min-width: 1200px) {
  #assets p { margin-bottom: 85px }
  #assets img { margin-bottom: 85px }
  #assets h3 { margin-bottom: 100px; }
}

/* contributions */
#contributions {}
.contrib-chart { height: auto; width: 100%; max-width: 220px; }

@media screen and (min-width: 768px) {
  .contrib-chart { max-width: 275px; }
}

@media screen and (min-width: 998px) {
  #contributions p.asterisk { margin-bottom: 0; }
}

@media screen and (min-width: 1200px) {
  #contributions img:nth-child(2),
  #contributions img:nth-child(3) { margin-bottom: 160px; }
}

/* spacer images */
.colorbar { width: 50%; }
.colorbar.utl { margin-right: 0; }
.colorbar.dtr { margin-left: 0; }

  #assets { margin-top: -15%; padding-top: 0; }
  #grants { padding-top: 10px; }
    .colorbar-grants { margin-top: -10%; }
  #funds { margin-top: -17%; padding-top: 0; }
  #agency-funds { padding-top: 30px; }
  #investments { padding-top: 15px; }
  #grantmaking-services { margin-top: -10%; padding-top: 0; }

  @media screen and (min-width: 768px) {
    /* .colorbar { width: 37%; } */
    .colorbar-grants { width: 37%; }
    #grants { margin-top: -7%; }
    .colorbar-agency-funds { width: 37%; }
    .colorbar-investments { margin-top: -7%; width: 37%; }
  }

/* funds */
#funds {}
#funds p:first-of-type { margin-left: auto; margin-right: auto; max-width: 35em; }

/* investments */
#investments img { display: inline-block; width: 49%; }

/* agency funds */
#agency-funds {  }

/* about */
.about { margin-bottom: 30px; }
.about:after { display: none; }
.about h3 {
  color: #58595b;
  font-family: 'Roboto Sans', sans-serif;
  font-size: 17px;
  line-height: 24px;
  margin-bottom: 25px;
  text-transform: uppercase;
}
.about p { font-size: 17px; margin-bottom: 25px; }

@media screen and (max-width: 768px) {
  .about {
    padding-bottom: 30px;
  }
  .about .asterisk {
    font-size: 12px;
    line-height: 21px;
  }
  .about .mb-10 { margin-bottom: 10px; }
}
