html {
  height: 100%;
}

body {
  padding-top: 56px;
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
}

.jumbotron {
  background-position: center;
  background-size: cover;
}

.jumbotron.main {
  background-image: url('../img/geom.jpg');
}

.jumbotron.main h1, .jumbotron.main p {
  color: white;
}

.jumbotron.thank-you {
  background-image: url('../img/thankyou.jpg');
  height: 80vh;
}

.jumbotron.thank-you h1, .jumbotron.thank-you p {
  color: white;
  max-width: 53%;
}

@media only screen and (max-width: 768px) {
  .jumbotron h1 {
    font-size: 58px;
  }
}

img.header-logo {
  border: 0;
  width: 24px;
  height: 24px;
}

img.front-shot {
    float: right;
    margin-top: -20px;
}

@media only screen and (min-width: 992px) {
  .s-dropdown {
    position: relative;
    display: inline-block;
  }

  .s-dropdown-content {
    display: none;
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    min-width: 60px;
    padding: 12px 16px;
    white-space: nowrap;
    z-index: 1;
  }

  .s-dropdown-content.last {
    right: 0;
  }

  .s-dropdown:hover .s-dropdown-content {
    display: block;
  }


  .s-dropdown-content > a:hover {
    text-decoration: none;
    color: rgba(255,255,255,.75);
  }
}

@media only screen and (max-width: 991px) {
  .s-dropdown-content {
    display: block;
    padding-left: 1.5rem;
  }

  img.front-shot {
    display: none;
  }
}

.s-dropdown-content > a {
  display: block;
  padding: 5px 0;
  color: rgba(255,255,255,.5);
}

.error-page-code {
  min-height: calc(100vh - 96px);
  padding: 10% 0;
  text-align: center;
}

.error-page-code h4 {
  font-size: 90px;
  font-weight: 800;
}

.error-page-code p {
  font-size: 24px;
  font-weight: 600;
}

.news-contents hr {
  border-top: 2px dashed rgba(0,0,0,.05) !important;
}

.news-contents img {
  max-width: 100%;
  cursor: pointer;
}

.drop-overlay {
  background-color: rgba(0, 0, 0, 0.4) !important;
  color: white !important;
}

.gallery-card .card-title {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  text-align: center;
  padding: 0.25em;
  background: rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.gallery-card .card-title .label {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-weight: 600;
  font-size: smaller;
  color: #777;
}

.gallery-card img {
  cursor: pointer;
}

@media only screen and (max-width: 767px) {
  .gallery-card img {
    height: 380px;
  }
}

@media only screen and (min-width: 768px) {
  .gallery-card img {
    height: 200px;
  }
}

.card-icon.glyphicon {
  font-size: 100px;
  padding-top: 25px;
  padding-bottom: 5px;
}

.feature-card > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: min-content 1fr;
  grid-template-areas: "icon title" "icon contents";
  padding: 0.5rem;
}

.feature-card > div .card-icon {
  grid-area: icon;
  align-self: center;
  justify-self: center;
  padding: 0.5rem 10px;
  font-size: 80px;
}

.feature-card > div .card-title {
  grid-area: title;
  padding: 0.2rem 0.5rem;
  margin: 0;
}

.feature-card > div .card-text {
  grid-area: contents;
  padding: 0.5em;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 9999;
  cursor: pointer;
  text-align: center;
}

#overlay.visible {
  display: grid;
}

#overlay img {
  max-height: 100%;
  max-width: 100%;
  justify-self: center;
  align-self: center;
}

.card.donate-card {
  background: url('/img/donate_bg.jpg');
  min-height: calc(100vh - 150px);
  border: 0;
  background-size: cover;
}

.card.donate-card .card {
  background-color: rgba(255, 255, 255, 0.65);
}

.card.donate-card .card table {
  font-size: 0.8rem;
}

.responsive-container {
  max-width: calc(100vw - 30px - 3rem - 2.5rem - 15px);
  overflow-x: auto;
}

.btn-link {
  cursor: pointer;
}

.copy-tooltip {
  display: inline;
  top: -2px;
  margin-left: 4px;
}

.contact-card {
  border: 1px solid rgba(0, 0, 0, 0.2);
  max-width: fit-content;
  border-radius: 5px;
  padding: 1.25rem;
  box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
}

.contact-card h1 {
  text-align: center;
}

.donate-footer {
  max-width: calc(max(40%, 400px));
}

.about-picture {
    border-radius: 50%;
    border: 1px solid #ccc;
}

.news-card-hg {
	height: calc(100% - 26px);
}

