/* Additions for the rebuild. The original look is in the other stylesheets. */

html { scroll-behavior: smooth; }

/* Subpage content area */
.content { min-height: 40vh; }
.content img { max-width: 100%; height: auto; }
.placeholder-note { color: #7e7e7e; font-style: italic; }

/* Award page: winner photos (were inline styles on the live site) */
.award-img { width: 300px; max-width: 100%; }
.award-pair { display: inline-block; font-size: 11px; margin-right: 30px; }
.award-pair:last-child { margin-right: 0; }
.award-pair img { height: 150px; width: auto; margin: 0; }

/* Governing Body */
.board-grid { display: flex; flex-wrap: wrap; }
.board-grid--center { justify-content: center; }
.board-person { width: 25%; box-sizing: border-box; padding: 20px 10px; text-align: center; }
.board-person img { width: 100%; height: auto; display: block; }
.board-person p { text-align: center !important; margin-top: 10px; }
.board-person a { text-decoration: underline; }
.board-chair img { width: 22%; min-width: 200px; margin: 0 auto; }
.board-chair { width: 100%; }
.board-profile-img { width: 300px; max-width: 100%; }

/* News */
.news img { max-width: 100%; height: auto; }
.news .video { margin: 10px auto 20px; max-width: 640px; }
.news .video iframe { display: block; margin: 0 auto; max-width: 100%; }

/* Menu: share the width between however many items the menu has
   (the original CSS was fixed at five items of 20%). */
.menu > li { width: calc(100% / var(--nav-count, 5)); }
.menu li ul { width: calc(100% / var(--nav-count, 5)); }
@media only screen and (max-width: 1000px) and (orientation: portrait) {
  .menu > li, .menu li ul { width: 100%; }
}

/* Donation page */
.donation-details { display: inline-block; text-align: left; margin: 10px auto 30px; }
.donation-details table { border-collapse: collapse; }
.donation-details td { font-family: 'Open Sans', verdana; font-weight: 300; font-size: 16px; line-height: 25px; padding: 4px 16px 4px 0; vertical-align: top; }
.donation-details td:first-child { font-weight: 600; white-space: nowrap; }
.donation-details .iban { letter-spacing: 1px; white-space: nowrap; }

/* Donation options */
.donation-option { padding-bottom: 10px; }
.wallets { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 20px 0; }
.wallet { width: 210px; text-align: center; }
.wallet-qr svg { width: 190px; height: 190px; display: block; margin: 0 auto; background: #fff; }
.wallet-address code { font-size: 12px; word-break: break-all; background: #fff; padding: 6px 8px; display: inline-block; }
button.button { font: inherit; cursor: pointer; background: transparent; }
.wallet-note { color: #7e7e7e !important; }
.wallet-qr--empty { width: 190px; height: 190px; margin: 0 auto; border: 2px dashed #c8c8c8; background: #fff; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.wallet-qr--empty span { font-family: 'Open Sans', verdana; font-weight: 300; font-size: 14px; line-height: 20px; color: #9a9a9a; text-align: center; }
.button--disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
