/* Global styles for every page. Loaded after Bootstrap in base.html,
   so rules here override Bootstrap's defaults. */

:root {
  /* Override Bootstrap variables here, e.g. --bs-primary-rgb or --bs-body-font-family. */
}

/* Keep long email addresses from stretching table cells and badges. */
td, .badge {
  overflow-wrap: anywhere;
}

/* Container for the flash message */
.flash-message {
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid transparent;
	border-radius: 4px;
	background-color: #d9edf7;
	color: #31708f;

	/* Animation settings:
		 Kicks in after 4 seconds, runs for 1 second, keeps the final state */
	animation: fadeOut 1s ease-in 4s forwards;
}

@keyframes fadeOut {
	0% {
		opacity: 1;
		visibility: visible;
	}
	99% {
		pointer-events: none;
	}
	100% {
		opacity: 0;
		visibility: hidden;
		height: 0;
		padding: 0;
		margin: 0;
		border: 0;
	}
}

/* The footer is fixed to the bottom of the screen: leave room so it never covers the
   end of the page (it wraps to two lines on phones). */
body {
  padding-bottom: 4.5rem;
}
