/* Mobile version */
html {
  font-size: 16px;
  line-height: 1.38;
  background: white;
}

body, .header-top {
  padding: 0;
}

.desktop, .menu .menu__item.desktop, .content .desktop { display: none }
.mobile, .menu .menu__item.mobile, .content .mobile { display: block; }


body {
  background-size: 800px auto;
  max-width: 100vw; overflow-x: hidden;
}

body.is-loaded {
  opacity: 1;
}

.full-width {
  padding: 0 20px;
}

.content {
  min-height: 0;
}

/* Footer */
.menu--footer, .footer__bottom, .footer__logo, .flags, .footer__text, .footer__site-name, .scroll-to-top {
  display: none;
}

.footer__top {
  display: block;
}

.footer__info {
  max-width: none; display: flex;
  flex-direction: column; 
}

.footer__social {
  display: flex; justify-content: center;
}

.footer {
  padding-top: 23px; padding-bottom: 43px;
}

.menu--mobile-footer {
  font-size: 0.8125rem;
}

.menu__item--mobile-footer {
  display: block; border-bottom: 1px solid;
  padding: 16px 0; background: url('../images/arrow-white.svg') 100% 50% no-repeat;
}

.footer__social {
  margin-top: 36px;
}

.social {
  height: 29px;
  margin: 0 22px;
}

.social img {
  width: auto; height: 100%;
}

.social--twitter {
  height: 26px;
}

/* Page header */
.content .page-header {
  margin-bottom: 0; height: auto;
  min-height: 145px;
}

.page-header__content-wrapper {
  position: relative;
}

.content .page-header__content {
  padding-bottom: 30px;
  padding-top: 43px;
}

.breadcrumbs {
  position: absolute; max-width: calc(100% - 40px); 
  white-space: nowrap;
  overflow: hidden;  text-overflow: ellipsis;

  top: 0; padding-left: 3px; font-size: 0.68rem;
  letter-spacing: 0.005em;
}


.breadcrumbs a {
  opacity: 0.65;
  font-weight: 300;
}

.breadcrumbs--3 .breadcrumb:after {
  content: ''; width: 11px; height: 7px;
  background: url('../images/arrow-white-small.svg') 50% 50% no-repeat;
  background-size: contain;
  padding: 0;

}

.breadcrumbs .breadcrumb--current {
  font-weight: 400;
}

.breadcrumb:after, .page-header__text a:after {
  padding-left: 7px; padding-right: 7px;
}

.page-header__inner {
  width: 75%; 
  min-width: 200px;
  max-width: 350px;
}

.page .page-header__title {
  font-weight: 300;
  font-size: 1.375rem;
  line-height: 1.15;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.bsf-recognized-meta {
  font-size: 0.875rem;
  line-height: 1.5;
}

.page-header__text {
  font-size: 1rem; line-height: 1.4;
  margin-top: 0; padding-bottom: 20px;
}

.page-header__text p:last-child {
  margin-bottom: 0;
}

.page__header .image-with-caption__caption {
  display: none;
}


/* Sections */
.section__inner {
  box-shadow: none;
  padding: 36px 0 0 0;
  margin-bottom: 60px;
}

/* Single post */
.original-article-link {
  margin-top: 18px;
  font-size: 1.125rem;
}

.post-page__content figure.alignnone:first-child {
  margin-top: -36px;
}

.post-page__content figure img {
  margin: 0;
}

.post-page__content .alignnone {
  margin: 40px -20px 20px -20px;  
}

.post-page__content .alignleft, .post-page__content .alignright {
  margin-right: 20px;
  margin-bottom: 10px;
  margin-top: 7px;
}


.post-page__content .alignright {
  margin-left: 20px; margin-right: 0;
}

.post-page__content figcaption {  
  margin-top: 17px;
  line-height: 1.65;
  font-size: 0.875rem;
  min-width: 0;
}

.post-page__content .alignleft figcaption,
.post-page__content .alignright figcaption {
  margin-top: 6px;  
}

.with-caption__inner {
  position: relative; 
}

.post-page__content .alignnone figcaption {
  padding-left: 20px; padding-right: 20px;  
}

.share, .share__menu {
  left: 0; right: 0;
  width: auto;
  position: absolute;
}

.share__menu  {
  left: -20px; right: -20px;
  justify-content: space-between;
  padding-right: 0; padding-left: 0;
}

.share .share__close {
  background-size: 16px auto; 
}

.post-page__content p {
  margin-bottom: 20px;
}

.post-page__sidebar {
  padding-right: 0;
}

/* Magazine */

.magazine .section__inner {
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding-bottom: 32px;
  margin-bottom: 23px;
}

.magazine-issue__title {
  font-size: 1.25rem;
  margin-bottom: 25px;
}

.magazine-thumbs {
  display: block;
}

.magazine-thumb__title {
  font-size: 1.1rem; 
  line-height: 1.9;
  margin-bottom: 17px;
}

.magazine-thumb__text {
  font-size: 1rem;
}

.read-more {
  font-size: 1rem;
}

.magazine-thumb {
  max-width: none;
}

.magazine-thumb__read-more.read-more {
  padding: 0;
}

.page--magazine .load-more__wrapper {
  margin-top: 61px; margin-bottom: 75px;
}

/* FAQ */
.faq-section .section__inner {
  display: block;
  margin-bottom: 0;
}

.faq-section__title {
  margin-bottom: 38px;
}

.title--blue {
  font-size: 1.25rem;
}

.tree-leaf__toggle:hover {
  color: inherit;
}

.tree-leaf {
  margin-bottom: 15px;
}

.tree-leaf__title {
  padding-left: 0;
  font-size: 1.11rem;
  line-height: 1.87;
  letter-spacing: 0.01em;
  background: url('../images/mobile-down.svg') 100% 15px no-repeat;
  font-weight: 500;
  margin-bottom: 0;
}

.tree-leaf__toggle {
  display: block;
  padding-right: 33px;  
}

.tree-leaf.is-open > .tree-leaf__title {
  margin-bottom: 28px;
  font-weight: 500;
  background-image: url('../images/mobile-up.svg');
}

.tree-leaf__content p:last-child {
  margin-bottom: 0;
}

.tree-leaf__content {
  padding-left: 0;
  font-size: 1rem;
}

.bottom-text {
  margin-top: 70px;
  margin-bottom: 40px;
}

.bottom-text p {
  margin-bottom: 0;
}

/* Testimonials */
.page--testimonials .page-header {
  min-height: 120px;
}

.testimonial .section__inner {
  padding-top: 113px;
  background-size: 55px auto;
  line-height: 1.75;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding-bottom: 34px;
  margin-bottom: 2px;
}

.testimonial__text {
  margin-bottom: 19px;
}

.round-photo__wrapper {
  width: 100px; height: 100px;
  margin-bottom: 16px;
}

.testimonial__name {
  font-size: 1rem;
}

.testimonial .testimonial__position {
  font-size: 0.875rem;
  font-family: 'Lato';
}

.page--testimonials .testimonial__letter-link {
  position: static;
  margin-top: 0;
}

.page--testimonials .load-more__wrapper {
  margin-top: 30px;
}

/* Staff */
.member {
  display: block;
}

.member__image-wrapper {
  margin-bottom: 28px;
}

.member__name {
  font-size: 1rem;
  margin-bottom: 4px;
}

.member__position {
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.contacts {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.contact,
.biography__toggle {
  font-size: 0.875rem;
}

.biography {
  font-size: 1rem;
}

.is-biography-open .biography {
  margin-top: 37px;
}

.biography p {
  line-height: 1.4;
  margin-bottom: 20px;
}

.team__intro {
  margin-bottom: 42px;
}

.member-section__title {
  font-size: 1.13rem;
  margin-bottom: 66px;
}

.page--team .bottom-text {
  margin-top: -22px;
  max-width: 250px;
  font-size: 1.1rem;
  margin-left: 0;
  letter-spacing: 0.01em;
}

/* Search */
.page--search .page-header {
  background-image: url('../images/mobile-header-search.jpg');
  min-height: 171px;
}

.page--search .page-header__content {
  margin-top: -2px;
}

.page--search .page-header__title {
  margin-bottom: 35px;
}

.large-search__input {
  padding: 8px 18px;
  height: 21px;
}

.large-search__search {
  width: 31px; height: 31px;
  background-size: 14px;
}

.search-result__link .search-result__title:hover {
  color: inherit;
}

.search-results__title {
  font-size: 1.08rem;
  border-bottom: 0; padding-bottom: 0;
  margin-bottom: 53px;
}

.search-result__title {
  font-size: 1.125rem;
  line-height: 1.83;
}

.search-result__excerpt {
  font-size: 1rem;
  line-height: 1.375
}

.search-result {
  margin-bottom: 22px;
  padding-bottom: 27px;
}

.search-results {
  padding-bottom: 20px;
}

.page--search.is-no-keywords .page-header {
  min-height: calc(100vh - 347px);
  background-image: url(../images/mobile-header-search.jpg);  
}

/* Achievements */
.achievement__icon {
  height: 64px; max-width: 64px;
}

.achievement__title {
  font-size: 1rem;
}

.achievement__content {
  padding-right: 0;
}

.list-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
}

/* About */
.page-header a {
  font-size: 0.8rem;
}

.page-header a:after {
  font-size: 1.4rem;
  padding-left: 12px;
}

.page-header .breadcrumb:after {
  font-size: 1rem; padding-left: 8px;
  padding-right: 5px;
}

.page--about .page-header__title {
  margin-bottom: 7px;
}

.about-block--text h2 {
  font-size: 1.5rem;
  margin-bottom: 27px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.about-block--text a {
  font-size: 1.125rem;
  margin-top: 23px;
}

.about-block--text a:after {
  background-size: 24px;
  padding-left: 8px;
  top: 1px;
  position: relative;
}

.page--about .about-block--image {
  position: relative;
  left: 0; right: 0; top: 0; bottom: 0;
  margin-left: -20px; margin-right: -20px;
  display: block; width: auto;
  margin-bottom: 31px;
}

.about-block--image__text-wrapper,
.about-block--image__text {
  position: relative; left: 0; right: 0; top: 0; bottom: 0;
  width: 100%; margin: 0;
}

.about-block--image__text {
  font-weight: normal;
  padding-left: 20px; padding-right: 20px;
  line-height: 1.5;
  font-size: 1.125rem;
  padding-bottom: 31px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: none;
}

.about-block--image.about-block--left .image-with-caption__caption,
.about-block--image .image-with-caption__caption {
  left: 0; right: 0;
}


.about-block--image .image-with-caption__text {
  max-width: none;  margin-bottom: 0;
  font-size: 0.75rem; letter-spacing: 0.03em;
  padding: 13px 20px;
}

.about-block--image__text p {
  margin-bottom: 18px;
}

.about-block--image__text p:last-child {
  margin-bottom: 0;
}

.about-block--image.about-block--left .about-block--image__text {
  margin-left: 0; margin-right: 0;
  padding-left: 20px; padding-right: 40px;
}

.about-block--image__text a {
  font-size: 1.125rem;
  font-family: 'Lato';
  font-weight: normal;
}

.about-block--image__image__image {
  width: 100%
}

.about-block--text h4 {
  margin-top: 60px;
  font-size: 1.15rem;
}

.about-block--text h4 a {
  font-size: 1.15rem;
  display: inline-block;
}

.about-block--text h4 a:after {
  width: 10px; height: 17px;
  padding-left: 9px;
  display: inline-block;
  background-size: 22px;
}

/* Calendar */
.page--calendar .list-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
}

.page--calendar .list-item__content {
  margin-top: 12px;
}

/* Contact us */
.page--contact-us .section__inner {
  display: block;
  margin-bottom: 61px;
  padding-top: 31px;
}

.contact__title {
  letter-spacing: -0.016em;
  line-height: 2;
  margin-bottom: 35px;
}

.contact__columns {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

.contact__column {
  margin-bottom: 21px;
}

.contact__column--2 p {
  margin-bottom: 42px;

}

.contact__column--1 {
  display: flex;
  gap: 41px;
}

.contact__column--1 > * {
  max-width: 140px;
}

.contact__column--2 {
  max-width: 150px;
}

.contact-page__form {
  padding-right: 0;
  margin-top: 0;
}

.gform_footer {
  justify-content: center;
  margin-bottom: 62px;
  margin-top: 61px;
}

.gform_footer input[type="submit"] {
  font-size: 1rem;
}


.gfield {
  margin-bottom: 24px;
}

.section textarea {
  max-height: 72px;
}

.contact-page__contact h2 {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 38px;
  width: 100%;
}

.contact-page__contact p {
  font-size: 1rem;
  margin-bottom: 42px;
  width: 50%;
}

.contact-page__contact p:last-child {
  width: 100%;
}

.contact-page__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.gform_confirmation_message h2 {
  font-size: 1.85rem;
  font-weight: 500;
  margin-top: -11px;
  margin-bottom: 22px;
}

.gform_confirmation_message  {
  margin-bottom: 52px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 35px;
  max-width: none;
}

/* Donor recognition */
.donors__levels {
  padding: 0;
}

.page--donor-recognition .section__inner {
  padding-top: 25px;
}

.donors__level {
  margin-bottom: 39px;
  padding-bottom: 34px;
}

.donor {
  margin-bottom: 21px;
}

.donor:last-child {
  margin-bottom: 0;
}

.donor:last-child .donor__name:last-child {
  margin-bottom: 0;
}

.donors {
  flex-direction: column;
}

.donor__name {
  max-width: 280px; text-align: center;
}

.donors__level:first-child ~ .donors__level .donors__amount {
  font-size: 1.687rem;
  font-weight: 300;
  margin-bottom: 19px;
}

.page--donor-recognition .section__inner {
  margin-bottom: 0; 
  padding-bottom: 36px;
}

.donors__level:last-child {
  border-bottom: 0
}

/* 404 */
.error__text {
  background: url('../images/mobile-404.svg') 50% 50% no-repeat; 
  background-size: 177px auto;
  min-height: 510px;
}

.error__text-inner {
  padding-right: 0;
  display: block;
  min-height: 0; min-width: 0;
  width: auto;
  background-position: left 50% bottom 86px;
  background-size: 106px auto;
  text-align: center;
  padding-left: 0;
  left: 0;
}

.error__text h2 {
  font-size: 5rem;
  margin-bottom: 7px;
}

.error__text h3 {
  font-size: 1.15rem;
  margin-bottom: 48px;
}

.error__text p {
  font-size: 1.125rem;
  letter-spacing: -0.005em;
}


.error__text p:last-child {
  margin-top: 185px;
}

.error__text a, .button, .read-more {
  font-size: 1rem;
  padding: 10px 23px;    
}

.error__text a {
  min-width: 200px;
}

/* Announcements */
.list-item__meta {
  font-size: 0.875rem;
  margin-bottom: 30px;
}

.list-item__content {
  font-size: 1rem;
  padding-right: 0;
}

.list-item__title {
  font-size: 1.125rem;
  line-height: 1.5;
}

/* Grant list */
.grant-list-item__title {
  font-size: 1.4rem;
}

.grant-list-item {
  padding-bottom: 35px;
  margin-bottom: 29px;
}

.grant-list-item .button--read-more {
  margin-top: 10px;
}

/* Login */
.page-template-login .login__wrapper {
  height: 100%;
  min-height: 0;
  min-height: calc(100vh - 347px);
}

.page-template-login .login {
  max-width: 320px;
  margin-top: 71px;
  margin-bottom: 70px;  
}

.page-template-login .login .section__inner {
  padding: 32px 20px 20px 20px;
}

.login__title {
  font-size: 1.625rem;
  font-weight: 300;
  line-height: 1.46;
  margin-bottom: 25px;
}

.login__form {
  padding-left: 30px; 
  padding-right: 30px;
}

.login__form input[type="text"],
.login__form input[type="password"] {
  margin-bottom: 16px;
  font-size: 0.812rem;
}

.login__forgot-password {
  margin-top: 0; right: 0; left: 0;
  margin-left: auto; margin-right: auto;
  text-align: center;
  font-size: 0.6rem;
  position: absolute; bottom: 64px;
}

.login__form-footer {
  width: 100%;
}

.login__form button {
  margin-top: 9px;
  width: 100%;
  max-width: none;
  padding-top: 5px; 
  padding-bottom: 5px;
  margin-bottom: 13px;
}

.login__bottom-links .login__bottom-link {
  text-align: center;
  font-size: 0.625rem;
}

.login__bottom-links a  {
  display: block;
}

.login__bottom-links  {
  margin-top: 26px;
}

.login__wrapper .image-with-caption__text {
  display: none;
}

/* Memorial grants */
.page--memorial-grant .section__inner {
  padding-top: 19px;
}

.sidebar-link__wrapper {
  margin-bottom: 16px;
  font-size: 0.675rem;
}

.sidebar-link__wrapper.is-current {
  background-position: 0 3px;
  padding-left: 28px;
  font-weight: 600;
}

.memorial-grant__main .sidebar-links {
  margin-bottom: 35px;
}

.memorial-grant__photo-wrapper.round-photo__wrapper {
  width: 160px;
  height: 160px;
  margin-bottom: 38px;
}

.memorial-grant__title {
  font-family: 'Montserrat';
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 35px;
}

.memorial-grant__main .section__inner {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 40px;
  margin-bottom: 8px;
}

.memorial-grant__subtitle {
  font-size: 1.486rem;
  margin-bottom: 31px;
}

.award-year__title {
  font-size: 1.35rem;
  margin-bottom: 19px;
}

.award-person {
  position: relative;
  margin-bottom: 18px;
}

.award-person__title, .award-collaborator {
  font-size: 1rem;
  line-height: 1.65;
}

.award-person__institution:after {
  content: 'Website_Link_____+________';
  opacity: 0; pointer-events: none;
  height: 40px; font-size: 0.9365rem; 
}

.award-person__link {
  font-size: 0.9365rem; padding-right: 35px;
  position: absolute; right: 0; bottom: 6px;
}

.award-people {
  margin-bottom: 23px;
}

.award__title {
  font-size: 1.125rem;
  margin-bottom: 15px;
}

.file-line__title {
  font-size: 0.875rem;
}

.award {
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.award-year {
  margin-bottom: 27px;
}

/* Notable grantees */
.grantee-award__sidebar{
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.grantee-award__title {
  margin-bottom: 7px;
}

.grantee-award__category-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.grantee-award__winner td {
  padding: 10px 0 11px;
  font-size: 1rem;
  vertical-align: top;
}

.grantee-winner__name {
  font-weight: bold;
  line-height: 1.6;
}

.grantee-winner__country {
  display: block; margin-top: 3px;
  font-weight: normal;
}

.grantee-winner__year {
  width: 125px;
  line-height: 1.6;
}

.grantees-slideshow__wrapper {
  margin-left: -20px;
  margin-right: -20px;
}

.grantee-award__winners {
  width: 100%;
}

td.grantee-winner__country {
  display: none;
}

.grantee-award:first-child .grantee-award__category:first-child .grantee-award__winner:last-child  {
  border-bottom: none;
}

.grantee-award:first-child .grantee-award__category:first-child {
  margin-bottom: 19px;
}

.grantees-slideshow .image-with-caption__caption {
  padding-left: 4px;
}

.grantee-award .section__inner {
  margin-bottom: 5px
}

.grantees-slideshow {
  padding-top: 77%;
}

.grantees-slideshow .image-with-caption__text {
  height: 150px; 
}

.grantees-slideshow .image-with-caption__caption {
  bottom: -163px;
}

.grantees-slideshow {
  margin-bottom: 20px;
}


/* Grants */
  /* Header */
  .header-items {
    flex-wrap: wrap;
    margin-top: 20px;
    max-width: 400px;
  }

  .header-item {
    margin-right: 0; width: 50%;
    padding-right: 20px;
    margin-bottom: 29px;
  }

  .page-header__after-text {
    margin-bottom: -20px;
  }

  .page--grant-section .page-header__after-text {
    margin-bottom: 0;
  }

  .heard-item__title {
    font-size: 1rem;
  }


  .heard-item__value {
    font-size: 1.25rem;
    font-weight: 600;   
    line-height: 1.15; 
  }

  .heard-item__value:after {
    margin: 6px 0;
  }

  /* General */
  .grant .section__inner {
    padding-top: 29px;
    flex-direction: column;
  }

  .grant-section__title-link{
    font-size: 0.875rem;
    font-family: 'Lato';
  }

  .is-current .grant-section__title-link {
    font-weight: bold;
  }

  .grant-section__content {
    padding-top: 23px;
  }

  .grant-section__title {
    font-size: 1.25rem;    
    margin-bottom: 30px;
  }

  .grant-section__link{
    display: none;
  }

  .grant-block--text h3{
    margin-top: 19px;
  }

  /* Stages */
  .stages {
    margin-top: -30px;
    margin-bottom: 26px;
    padding-bottom: 10px;
  }

  .stages__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .stage {
    flex-direction: row-reverse;
    text-align: left; 
    align-items: center;
    height: 88px;    
  }

  .stage__inner {
    padding-bottom: 0;
    margin: 20px 6px 20px 8px;
    font-size: 0.875rem;
    width: 115px; height: auto;
    line-height: 1.25;
  }

  .stages__inner:after {
    right: auto; 
    top: 36px; bottom: 35px;
    left: 13px;
    border-right: 3px solid #70acf3;
  }

  .stage__number-inner {
    font-size: 0.95rem;
  }
  
  /* Area of research */
  .grant-block--area-of-research {
    padding-top: 30px;
    margin-top: 30px;    
  }

  .aor-tree__area .aor-tree__title {
    padding: 15px 50px 15px 0;    
    line-height: 1.35;
    font-size: 1rem;
    background-position: 100% 50%;
  }

  .aor-tree .is-open > .tree-leaf__content {
    padding-left: 0;
  }

  .aor-tree__category.is-open > .tree-leaf__content {
    padding-left: 20px;
  }

  .aor-tree__area.is-open > .aor-tree__title {
    margin-bottom: 10px;
    font-weight: 600;
  }

  .aor-tree__area {
    margin-bottom: 0;
  }

  .aor-tree__title {
    padding: 0;
  }

  .aor-tree__category {
    margin-bottom: 0;
  }

  .aor-tree__subareas {
    margin-left: 17px;
  }

  .aor-tree__subarea {
    margin-bottom: 10px;
  }

  /* Table */
  .table td,
  .table th {
    display: none;    
  }

  .table {
    width: 100%;
    font-size: 0.75rem;
    margin-top: 39px;
  }

  .grant-block--table {
    max-width: none;
  }


  .table thead tr + tr {
    position: fixed; top: 60px; left: 0; right: 0;
    padding-left: 35px; display: table; width: 100%;
    background: white;
    transition: 0.15s transform;
    transform: translateY(-100%);
  }

  .table.is-down thead tr + tr {
    transform: none;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);    
  }

  .table thead tr + tr:nth-child(even) th:first-child {
    padding-left: 33px;     
  }

  .table thead tr + tr .is-current {
    padding-right: 17px;
  }

  .table.is-down-over thead tr + tr {
    transform: translateY(-100%);
  }

  .table th:first-child{
    border-right: 4px solid #f9f9f9;  
    max-width: 99px;
    padding-right: 40px;
    padding-left: 13px;
  }

  table tr:nth-child(even) th:first-child {
    border-color: white;
  }

  .table thead th,
  .table tfoot {
    background: none;
    color: #4a90e2;
  }

  .table thead th {
    padding: 10px;
  }

  .table th:first-child {
    text-align: left;
  }

  tbody .td__inner {
    font-size: 1rem;
  }

  .table br {
    display: none;
  }

  .table th:first-child,
  .table td:first-child,
  .table .is-current {
    display: table-cell;
  }

  .table .is-current {
    text-align: center;
    white-space: nowrap;
  }

  .table .is-current .th__inner {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    max-width: none;
  }

  .table__prev, .table__next {
    display: inline-block; 
    width: 50px; height: 15px;
    background: url('../images/mobile-left-blue.svg') 50% 50% no-repeat;
  }

  @media (max-width: 350px) {
    .table__prev, .table__next { width: 25px }
  }

  .table__next {
    background-image: url('../images/mobile-right-blue.svg');
  }

  .table__next:active {
    background-image: url('../images/mobile-right.svg');
  }

  .table__prev:active {
    background-image: url('../images/mobile-left.svg');
  }

  .table__footnotes {
    font-size: 1rem;
  }
  

  /* More research opportunities */
  .grant-related__title {
    font-size: 1.375rem;
    max-width: 240px;
    letter-spacing: -0.015em;
    margin-bottom: 32px;
  }

  .grant-related__thumbs {
    flex-direction: column;
  }

  .grant-related-thumb__link {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .grant-related-thumb--pad {
    display: none;
  }

  .grant-related-thumb__read-more:hover:after,
  .grant-related-thumb__read-more:after {
    line-height: 1;
    font-size: 1rem;
    top: 50%;
    margin-top: -5px;
    right: -9px;
  }
 

  .grant-related-thumb__title {
    max-width: 240px;
    font-size: 1rem;
    font-weight: 600;
  }

  .grant-related-thumb {
    margin-bottom: 17px;
    background-size: cover !important;
  }

  .is-few-items .grant-related__title,
  .is-few-items .grant-related-thumb {
    display: none;
  }

  .is-few-items .grant-related-thumb:last-child {
    display: block;
  }

  .grant-related-thumb__read-more {
    padding-left: 0;
    font-size: 0.875rem;
    padding-bottom: 0px;
  }

  .grant-related-thumb--large .grant-related-thumb__title {
    font-size: 1.15rem;
  }

  .grant-related__thumbs {
    margin-bottom: 34px;
  }

  .grant-file-section__title {
    font-size: 1rem;
    margin-bottom: 7px;
  }

  .file-line__title {
    font-size: 1rem;
    padding: 0;
    margin: 10px 0;
    line-height: 1.3;
    max-width: none;
  }

  .grant-file {
    min-height: 0;
  }

  .grant-files {
    max-width: 280px;
    margin-bottom: 27px;
  }

  .grant-file .file {
    margin-left: 15px;
  }

  .file-empty {
    display: none;
  }

  .grant-footer {
    margin-bottom: 39px;
  }

  .grant-footer .grant-files__wrapper--mobile {
    margin-bottom: 40px;
  }

  .grant-section__link:after {
    margin-left: 9px;
  }

  /* The programs */
  .nsf-program__title, .deadline__title, .deadline__value {
    font-size: 1rem; line-height: 1.5
  }

  .nsf-program__title {
    margin-bottom: 21px;
  }

  .deadline__title {
    margin-bottom: 2px;
  }

  .deadline {
    max-width: none; 
    width: 60%;
    flex: 0 0 60%;
  }

  .deadline:last-of-type {
    width: 40%;
    flex: 0 0 40%;
  }

  .nsf-program .file-line__title {
    font-size: 0.875rem;
    margin-left: 2px;
    margin-top: 5px;
    padding-right: 10px;
  }

  .program-file {
    margin-top: 13px;
  }

  .nsf-program__top {
    flex-wrap: wrap; 
  }

  .nsf-program__more-info{
    width: 100%;
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 0;
  }
 
  .nsf-program {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  /* Photo */
  .grant-block--photo .round-photo__wrapper {
    width: 100px; height: 100px;
  }

  /* Grants management */
  .grant__title {
    margin-top: 4px;
    margin-bottom: 24px;
  }

/* Homepage */
  
  /* Banner */
  .hp-banner__inner,
  .hp-banner {
    margin-bottom: 0;
  }

  @media (max-width: 680px) {

    .slideshow--homepage .slideshow__navs,
    .slideshow--homepage .image-with-caption__text {
      display: none;
    }

    .hp-banner__text {
      max-width: 330px;
      margin-top: 65px;
      min-height: 210px;
      height: auto;
      margin-bottom: 20px;
      padding: 12px 15px;
      margin-left: auto; margin-right: auto;
    }

    .hp-banner__above-title {
      font-size: 0.875rem;    
      letter-spacing: 0.07em;
      line-height: 1.55;
      margin-bottom: 0;
      width: 65%;
    }

    .hp-banner__above-title:after {
      width: 27px; border-width: 2px;
      margin-top: 4px; margin-bottom: 5px;
      margin-left: -2px;
    }

    .hp-banner__title-inner {
      font-size: 1.25rem;
      line-height: 1.25;
    }

    .hp-banner__subtitle {
      font-size: 1.25rem;    
      display: block;
    }

    .hp-banner__title {
      margin-bottom: 10px;
      margin-left: 2px;
    }

    .hp-banner .button--white {
      width: 100%;
      padding: 10px 14px;
      margin-left: 1px;
      font-size: 1rem;
    }

    .hp-banner__inner {
      position: relative;
      margin-bottom: 50px;
    }

  }


  /* Intro */
  .hp-intro__content {
    padding-top: 30px;
    margin-bottom: 30px;
  }

  .hp-intro__large-text {
    font-size: 1.125rem;
    line-height: 1.35;
    margin-bottom: 26px;
  }

  .content .hp-read-more {
    font-size: 1.12rem;
    display: inline-block; 
    width: auto;
    color: #868481;
    background-position: 100% 49%;
    border-bottom: 1px solid transparent;
  }

  .content .hp-read-more.desktop {
    display: none;
  }

  /* Announcements */
  .hp-intro__image__image {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }

  .hp-intro__image .image-with-caption__caption {
    position: absolute; bottom: 3px; left: -29px; right: -20px;    
  }

  .hp-intro__image .image-with-caption__text {
    background: rgba(0,0,0,0.5); color: white;
    padding: 21px; font-size: 1rem;      
    line-height: 1.35;
  }

  .hp-intro__image {
    margin-bottom: 27px;
  }

  .hp-announcements__title {
    font-size: 1.2rem;
  }

  .hp-announcements__header{
    margin-bottom: 24px;
  }

  .hp-link__date {
    font-size: 1rem;
  }

  .hp-announcements__link {

  }

  .hp-link__date:after {
    margin-top: 9px;
    margin-bottom: 11px;
  }

  .hp-link__text {
    font-size: 1rem;
  }

  .hp-announcements__list {
    margin-bottom: 24px;
  }

  .hp-intro__wrapper {
    margin-bottom: 30px;
  }

  /* Funding */
  .hp-funding__inner {
    display: flex; flex-direction: column;    
    align-items: flex-start;
    padding-bottom: 35px;
  }

  .hp-funding__title {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.35;
    padding-top: 29px;
    margin-bottom: 24px;
    order: 0;
  }  

  .funding-blocks {
    order: 1;
    width: 100%;
    margin: 0;
    top: 0;
    display: block;
  }

  .funding-block {
    margin-bottom: 25px;
    padding: 0;
    position: relative;
  }

  .hp-funding-block--without-text {
    display: none;
  }

  .funding-block__date {
    margin-top: 50px;
  }

  .funding-block__date-title {
    font-size: 1.01rem;
    margin-bottom: 2px;
    font-weight: normal;
  }

  .funding-block__date-date {
    font-size: 1.01rem;
    font-weight: 500;
  }

  .funding-block__text {
    padding: 22px;
  }

  .hp-funding__link {
    order: 2;
  }

  .funding-block__inner {
    top: 0; left: 0; right: 0; bottom: 0; 
  }

  .hp-funding-block--with-text .funding-block__inner {
    position: static; height: 100%;
  }

  .funding-block__title {
    font-size: 1.25rem; font-weight: 600;
    line-height: 1.45; letter-spacing: -0.01em;
  }

  .hp-funding {
    margin-bottom: 55px;
  }

  /* Dates */
  .hp-dates {
    display: block;
  }

  .hp-title--blue {
    font-size: 1.5rem;
    max-width: none;
    letter-spacing: -0.03em;
    margin-bottom: 34px;
  }

  .hp-date__links {
    margin-bottom: 20px; padding-bottom: 20px;
  }

  .hp-date__links:last-child {
    margin-bottom: 25px;
  }

  .hp-dates__link {
    margin-bottom: 32px;
  }

  /* Notable grantees */
  .hp-title.hp-grantees__title {
    margin-bottom: 9px;
  }

  .hp-grantees__inner {
    display: block;
    padding-top: 34px;
    padding-bottom: 20px;
  }

  .hp-grantees__title {
    max-width: none;
    font-size: 1.45rem;
    margin-bottom: 26px;
  }

  .hp-notable-grantees.section__inner {
    margin-bottom: 0;
    padding-top: 42px;
    padding-bottom: 1px;        
  }
    

  .hp-notable-grantees__inner {
    display: flex;
    margin-left: 20px;
    margin-right: 20px;
  }

  .hp-notable-grantee {
    text-align: left;    
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 0 0 0;
    margin-bottom: 57px;
    flex: 0 0 50%;
  }

  .hp-notable-grantee__number { 
    font-size: 3.75rem;
    line-height: 0.76;
    margin-right: 22px;
    margin-bottom: 0;
  }

  .hp-notable-grantee__title {
    margin: 0;
  }

  .hp-notable-grantee__title {
    font-size: 1.125rem;
    max-width: 150px;
    margin-top: -2px;    
  }

  @media (max-width: 500px) {
    .hp-notable-grantee {
      flex: 1;
    }   
  }

  .hp-grantees {
    margin-bottom: 0px;
  }

  /* Scientific achievements */
  .hp-section-header {
    margin-bottom: 0;
  }

  .hp-title {
    font-size: 1.5rem; letter-spacing: -0.02em; 
    margin-bottom: 30px;
  }

  .hp-achievements__text {
    font-size: 1.125rem;
    line-height: 1.35;
  }

  .hp-achievement {
    padding-top: 0;
    padding: 0 0 23px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f1f1;
    max-width: none;
  }

  .hp-achievements {
    display: block;
    margin: 0; 
  }

  .hp-achievement__title {
    margin-bottom: 7px;
  }

  .hp-achievement__icon {
    width: auto; height: 64px;
    margin-bottom: 25px;
  }

  .page--homepage .read-more {
    padding-left: 0;
  }

  .list-item__content .read-more,
  .page--homepage .read-more {
    padding-top: 3px;
    color: #868481;    
    background-size: 27px auto;
    padding-bottom: 0;
    padding-right: 0;
    max-width: 5rem;
    padding-left: 0;
  }

  .list-item__content .read-more:after {
    height: 2rem;
  }

  .page--homepage .read-more:after {
    background-image: url('../images/arrow-gray-large.svg');
    background-position: 100% 10px;;
  }

  /* Achievements slideshow */
  .hp-achievements__slideshow {
    width: 100%;
    left: 0; top: 0;
    position: relative;
  }

  .hp-achievements__slideshow {
    margin-top: 28px;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    height: 0;
    padding-top: 55%;
  }

  .page-template-homepage .slideshow__navs {
    right: 10px; bottom: 20px;
    z-index: 200; flex-direction: row-reverse;
  }

  .page-template-homepage .slideshow__nav {
    border-color: white;
    background-image: url('../images/left-white.svg')
  }

  .page-template-homepage .slideshow__prev {
    background-image: url('../images/right-white.svg')
  }

  .hp-achievements__slideshow .image-with-caption__caption {
    height: 150px; bottom: -150px;
    max-width: none;
    display: none;
  }

  .hp-achievements__slideshow .image-with-caption__text {
    background: none; color: #868481;
    font-size: 1rem; line-height: 1.2;
    padding-left: 4px; padding-right: 0;
    padding-top: 23px;
  }

  .hp-achievements__section {
    margin-bottom: 0;
  }

  /* Facts & Figures */
  .hp-facts {
    padding-left: 0; padding-right: 0;
  }

  .hp-facts__icon-wrapper {
    display: none;
  }

  .hp-facts .section__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hp-facts .section__inner {
    display: block;
    padding-bottom: 40px;
    padding-top: 34px;
    margin-bottom: 56px;
  }

  .hp-facts__slideshow {
    text-align: left;
    height: 196px;
  }

  .hp-facts__slide {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .hp-facts__header {
    padding: 0;
  }

  .hp-facts__title {
    letter-spacing: -0.034em;
    margin-bottom: 35px;
  }

  .slideshow__slide .hp-facts__title {
    margin-bottom: 43px;
    max-width: none;
    min-height: 44px;
    letter-spacing: 0;
    font-size: 1.125rem;
  }

  .hp-facts__value {
    font-size: 2.5rem;
    margin-bottom: 14px;
  }

  .content .hp-facts__link {
    background-size: 22px auto;
    color: white;
  }

  .content .funding-block__link {
    color: white;
  }

  .funding-block__link:after {
    height: 1.1rem;
  }

  .hp-facts .slideshow__navs {
    bottom: -10px; right: -7px;
  }

  /* Magazine top stories */
  .hp-magazine__inner {
    display: block;
  }

  .hp-magazine-thumb {
    border-bottom: 1px solid #f1f1f1; 
    padding-bottom: 33px;
    margin-bottom: 19px;
    max-width: none; 
  }

  .hp-read-more--large.hp-magazine__link {
    margin-top: 63px; padding-left: 3px;
  }

  .hp-magazine__inner {
    margin-bottom: 31px;
  }

  /* Testimonials */
  .hp-testimonials {
    padding-top: 77px;
    background-image: url('../images/mobile-hp-testimonials.jpg');
    background-size: cover;
  }

  .hp-testimonials:before {
    height: 68px; top: -3px;
    background-size: contain;
  }

  .hp-testimonial {
    padding-left: 20px; padding-right: 20px;
    position: relative !important;
    display: none !important;
  }

  .hp-testimonial.cycle-slide-active {
    display: block !important;
    padding-left: 0; padding-right: 0;
  }

  .hp-testimonial__text {
    font-size: 0.95rem;
    font-family: 'Montserrat';
    font-weight: 500;
    line-height: 1.5;
    margin-top: 0;
  }

  .testimonial__letter-link {
    font-weight: bold;
    margin-bottom: 22px;
  }

  .hp-testimonials__slideshow {
    min-height: 0;
  }

  .hp-testimonial__info {
    flex-direction: column;
    text-align: center;
    width: 100%;
    margin-bottom: 90px;
  }

  .hp-testimonial__position {
    font-size: 1rem;
  }

  .hp-testimonial__name {
    font-size: 1rem; font-weight: 600;
    margin-bottom: 5px;
  }

  .hp-testimonial__image-wrapper {
    width: 75px; height: 75px;
    margin-bottom: 20px;
  }

  .hp-testimonial__info-inner {
    margin-left: 0;
  }

  .hp-testimonials .slideshow__navs {
    left: 0; right: 0; bottom: 30px;
    display: flex; justify-content: center;
  }

  .hp-testimonial__position {
    font-size: 1rem;
  } 

/* Search a grant */

  /* Form */  
  .page--search-grant.is-no-keywords .page-header {
    min-height: 722px;
  }

  .page--search-grant .search-grant-form__wrapper {
    display: none;
  }

  .page--search-grant.is-no-keywords .search-grant-form__wrapper {
    display: block;
  }

  .content .page-header__content,
  .search-grant-form__wrapper {
    height: auto;
    max-height: none;
    display: block;
  }

  .content .page-header__content {
    display: block;
    padding-bottom: 0; 
  }

  .page-header__overlay {
    right: 35%;
  }

  .page .page-header__title {
    margin-bottom: 26px;
  }

  .search-grant-form__line {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-bottom: -5px;
  }

  .form-input {
    position: relative;
    display: block;
    margin-bottom: 23px;
  }

  .form-input input, .dropdown__value {
    padding: 8px 16px; 
    font-size: 0.75rem;
  }

    /* Keywords bar */
    .form-input--keyword1:after {
      content: ''; display: block;
      position: absolute; top: -8px; bottom: -101px; right: 6px; left: 6px;
      border-radius: 21px;
      background: rgba(0,0,0,0.25);
      z-index: -1;
    }

    /* Button bar */
    .search-grant-form__line .is-button-bar {
      margin: 0 0 -98px;
    }

    .is-button-bar .dropdown__options {
      position: static; background: none; box-shadow: none;
      border: none; margin: -20px 0 0 0;
    }

    .is-button-bar .dropdown__options-wrapper {
      display: flex; justify-content: center;
    }

    .is-button-bar .dropdown__option-wrapper {
      margin: 0 8px;
    }

    .is-button-bar .dropdown__option:hover,
    .is-button-bar .dropdown__option {
      font-size: 0.75rem; padding: 8px;
      width: 57px; text-align: center;
      border: 1px solid; color: white; border-radius: 21px;      
    } 

    .is-button-bar .dropdown__option.is-current {      
      background: #6faaee;
    }

    /* Second line */
    .search-grant-form__line:nth-of-type(2) .dropdown {
      width: 100%; flex-basis: 100%;
      margin-bottom: 14px;
    }

    .dropdown__value-wrapper {
      max-width: none;
      background: rgba(0,0,0,0.1);
    }

    .dropdown__label {
      font-size: 0.7rem; letter-spacing: 0;
    }

    .search-grant.button {
      width: auto; max-width: none; display: block;
      margin-top: 17px;
    }

    .dropdown .dropdown__options {
      max-width: none; width: auto;
    }

    .dropdown__options-wrapper {
      max-height: 160px;
    }

    .travel-grant-note {
      position: static;
      margin-top: 14px;
      text-align: center;
    }


  /* Results */  
  .page--search-grant.is-with-keywords .page__header {
    min-height: 173px;
  }

  .jump-list__options a:hover, .dropdown__options a:hover {
    background: transparent; color: inherit;
  }

  .jump-list__options a:active, .dropdown__options a:active {
    background: #f9f9f9; color: #70acf3;
  }

  .is-with-keywords .page-header__content {
    padding-left: 19px;
    max-width: none;
  }

  .search-results__title {
    margin-top: -128px;
    margin-bottom: 70px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
  }

  .search-results__subtitle {
    color: white; margin-top: 0;
    letter-spacing: 0.0em;
  }

  .search-grant__section {
    margin-top: 0;
  }

  .search-again {
    margin-top: 68px;
    background: url('../images/arrow-white-left.svg') 0 50% no-repeat;
    padding-left: 23px;
  }

  .search-grant-filters__wrapper {
    display: none;
  }

  .search-grant-results {
    padding-right: 0;
  }

  .search-grant-result__program {
    font-size: 0.85rem; margin-bottom: 9px;
  }

  .search-grant-result__title {
    margin-bottom: 20px;
  }

  .search-grant-result__keywords, .search-grant-result__aor, .search-grant-result__names {
    font-size: 1rem; line-height: 1.5;
    margin-bottom: 20px;
  }

  .search-grant-result__names p {
    margin-top: 18px;
  }

  .search-grant-result__meta {
    font-size: 0.9rem;
  }

  .search-grant-result {
    margin-bottom: 31px;
  }

  .search-grant-result .file-line__title {
    font-size: 0.85rem; margin-top: 5px;
  }

  /* Pager */
  .pager__page {
    font-size: 1rem; margin: 8px 2px;
    display: inline-block;
  }

  .pager {
    justify-content: center;
  }

  .pager__part--with-ellipsis:after {
    font-size: 1rem;
  }

  .pager__part:last-of-type .pager__page:nth-child(1) ~ .pager__page,
  .pager__part:first-of-type .pager__page:nth-child(3) ~ .pager__page {
    display: none;
  }

  /* Travel grant */
  .page--search-grant.is-travel-grant .page__header {
    min-height: 161px;
  }

  .page--search-grant.is-travel-grant .search-results__title {
    margin-top: -113px;
    margin-bottom: 96px;
  }

  .jump-list {
    left: 0; right: auto;
    top: 39px;
  }

  .is-open .jump-list__open,
  .jump-list__open {
    background: url('../images/mobile-search-dropdown.svg') 0 50% no-repeat;
    padding-left: 21px;
  }

  .is-open .jump-list__options {
    left: 0px; padding-left: 13px; width: 85px;
  }

  .travel-grants-year__title {
    margin-bottom: 9px;
  }

  .travel-grant,
  .travel-grant td {
    display: block;
    text-align: left;
    font-size: 1rem;
    padding: 0;
  }

  .travel-grant td {
    padding: 7px 0;
  }

  .travel-grant {
    padding: 13px 0;
  }

/* Facts and Figures */
.content .page-header {
  min-height: 117px;
}

.page--facts-and-figures .page-header__inner {
  padding-top: 0;
}

.page--facts-and-figures .section {
  padding-top: 8px;
}

.fact {
  padding-top: 0;
}

.fact--image .fact__inner {
  max-width: 360px; margin: 0 auto;
}

.fact--image .fact__title strong {
  font-size: 3.05rem; font-weight: 700;
  letter-spacing: 0.02em; 
  margin-bottom: 6px;
}

.fact--image .fact__title {
  margin-bottom: -4px;
}

.fact--image .fact__title-inner {
  font-size: 1.82rem;
  font-weight: 300;  
}

.fact--image__image-wrapper {
  padding: 8px;
}

.fact {
  margin-bottom: 56px;
}

.fact__inner {
  max-width: 360px; margin-left: auto; margin-right: auto;
}


.fact__title--with-logo.fact__title strong,
.fact__title--with-logo.fact__title {
  font-size: 1.35rem;
  font-weight: 700;
  padding-right: 0;
  max-width: 320px;
}


.fact__title strong,
.fact__title {
  font-weight: 700; font-size: 1.66rem;
}

.fact__title {
  margin-bottom: 34px;
}

.fact__logo {
  height: 58px; margin-right: 10px; margin-left: 0px;
}

.fact--icons {
  margin-bottom: 40px;
}

.fact__icons {
  max-width: 400px;
  padding-bottom: 0;
}

.fact-icon {
  padding-right: 25px; width: 50%;
  margin-bottom: 28px;
}

.fact-icon__top {
  margin-bottom: 2px;
}

.fact-icon:last-child {
  padding-right: 22px;
}


.fact-icon__icon {
  max-height: 29px;
  max-width: 46px;
  margin-right: 9px;
}

.fact-icon__number {
  font-size: 2.22rem;
}


.fact-icon__caption {
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-right: 0;
}

.fact--map .fact__title  {
  font-size: 1.55rem;
}

.fact__map {
  padding-left: 0; padding-right: 0;
  margin-left: 0; margin-bottom: 32px;
}

.legend {
  padding-left: 0;
  max-width: 322px;
  margin-bottom: 0px;
  padding-bottom: 54px;
}

.legend__title {
  font-size: 0.9rem;
  padding-right: 20px;
  line-height: 1.15;
}

.legend__item {
  margin-bottom: 25px;
}

.legend__color {
  width: 31px; height: 31px;
  margin-right: 13px;
}