html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

footer.footer {
  background-color: #f8f9fa;
  padding: 1rem;
  text-align: center;
}

/* Feedback modal must always sit above any other modal */
#feedback-modal {
    z-index: 2000 !important;
}

/* Its backdrop sits just below it, but above the other modals (max 1090) */
#feedback-modal ~ .modal-backdrop,
.modal-backdrop.feedback-backdrop {
    z-index: 1995 !important;
}

.feedback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;   /* match Bootstrap buttons */
}

.feedback-btn .feedback-icon {
    width: 1.7em;          /* let the icon grow to fill the taller button */
    height: 1.7em;
    margin: 0;
}