body {
    margin: 0;
    font-family: 'Sans-serif';
    line-height: 1.5;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

header {
    width: 100%;
    background-color: black;
    position: sticky;
    top: 0;
	z-index: 1000;
}

footer {
    width: 100%;
    background-color: gray;
	margin-top: auto !important;
}

ul {
	margin: 0;
}

.navbar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	align-items: center;
    padding: 1rem;
    gap: 2rem;
}

.navbar > a, .navbar > span {
    text-decoration: none;
    color: lightgray;
}

.navbar > a:hover {
    transition: 0.2s;
    color: rgb(255, 255, 255);
}


.navbar > a.lead {
    font-weight: bold;
}


.navbar > a.active {
    color: white;
}

.navbar > a.active:not(.lead) {
    text-decoration: underline;
	text-underline-offset: 2px;
}

.start-right-navbar-section {
	margin-left: auto;
}

.navbar-icon-link {
	display: flex;
	align-items: center;
	height: 1.5rem;
	gap: 0.5rem;
}

.navbar-icon-img {
	height: 100%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100vw;
    margin: 0;
}

.container > * {
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    box-sizing: border-box;
}

@media (width <= 1200px) {
    .container > * {
        padding-right: 2rem;
        padding-left: 2rem;
        width: 100%;
    }
}

main.container {
	flex-grow: 1;
	margin-top: 2rem;
    margin-bottom: 4rem;
}

section {
    scroll-margin-top: 50px;
}

h1 {
    font-size: xx-large;
    margin-bottom: 0;
    margin-top: 0;
}

.note {
    background-color: #cfcdcd;
    border-left: 6px solid #777676;
    padding: 0.5rem;
}

/* TABLE */
.basic-table {
    border-spacing: 0;
    width: 100%;
}

.basic-table tr:first-of-type td {
    border-top: black solid 1px;
}

.basic-table td:first-child {
    border-left: black solid 1px;
}

.basic-table td {
    border-right: black solid 1px;
    border-bottom: black solid 1px;
    padding: 10px;
}

.bold-table td:first-child {
    font-weight: bold;
}

/* BTN LINK */
.btn-cont {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.btn-link {
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    background: darkgray;
    color: white;
    font-weight: bold;
    margin-right: 0.5rem;
    padding: 0.5rem;
}

.btn-link:hover {
    background: rgb(121, 121, 121);
    transition: 0.2s;
}

.btn {
    border-radius: 5px;
    background: gray;
    color: white;
    font-weight: bold;
    padding: 0.5rem;
	border-style: none;
}

.btn:disabled {
	background: rgb(201, 201, 201);
}

.btn-sm, .btn-link-sm {
    padding: 0.25rem 0.5rem;
}

.btn:hover:not(:disabled) {
    background: darkgray;
}


.btn:active:not(:disabled) {
    background: lightgray;
}

.btn-danger {
    background: red;
}

.btn-danger:hover {
    background: rgb(201, 0, 0);
}

.btn-danger:active {
    background: rgb(167, 0, 0);
}


/* CONTENTS */
.contents {
    border: black 1px solid;
    border-radius: 5px;
    list-style: none;
    padding: 1rem;
    max-width: 400px;
    margin-top: 1rem;
}

.contents a, .contents a:visited {
    color: black;
}

.contents a:hover {
    color: rgb(65, 65, 65);
}

/* UTILS */
.bold {
    font-weight: bold;
}

.text-center {
    text-align: center;
}

.padding-sm {
    padding: 0.5rem;
}

.margin-top-none {
	margin-top: 0;
}

.margin-top-auto {
	margin-top: auto;
}


.margin-top-sm {
	margin-top: 0.5rem;
}

.margin-top-md {
	margin-top: 1rem;
}

.margin-top-lg {
	margin-top: 2rem;
}

.margin-bottom-none {
	margin-bottom: 0;
}

.margin-bottom-sm {
	margin-bottom: 0.5rem;
}

.margin-bottom-md {
	margin-bottom: 1rem;
}

.margin-bottom-lg {
	margin-bottom: 2rem;
}

.margin-bottom-xl {
	margin-bottom: 4rem;
}

/* IMGS */
.centered-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.hero-img {
    height: 300px;
    margin: 1rem 0;
    border-radius: 10px;
}

@media (width <= 600px) {
    .hero-img {
        height: auto;
		max-height: 300px;
		width: 100%;
		object-fit: cover;
    }
}

/* FLASH MESSAGES */
.flash-message-container {
	position: fixed;
	top: 4.5rem;
	gap: 1rem;
	padding: 0 2rem;
	pointer-events: none;
	z-index: 1001;
	box-sizing: border-box;
}

@keyframes flashMessageAnimShow {
	from {opacity: 0; transform: scale(0);}
	to {opacity: 1; transform: scale(1);}
}

@keyframes flashMessageAnimHide {
	from {opacity: 1; transform: scale(1);}
	to {opacity: 0; transform: scale(0);}
}

.flash-message {
	animation-fill-mode: both;
	animation-duration: 0.3s;
	animation-timing-function: ease-out;
	animation-name: flashMessageAnimShow;
	max-width: 800px;
	border: 1px solid black;
	border-radius: 5px;
	padding: 1rem;
	opacity: 0.95;
	pointer-events: all;
	cursor: pointer;
	font-weight: bold;
}

.flash-message:hover {
	transform: scale(1.1);
}

.flash-message.success {
	background-color: rgb(85, 230, 85);
	color: white;
}

.flash-message.warn {
	background-color: rgb(255, 238, 0);
	color: rgb(44, 44, 44);
}

.flash-message.error {
	background-color: red;
	color: white;
}

/* FORMS */
form input:not([type="checkbox"]), form textarea {
	width: 100%;
}

.workshop-container {
	display: flex;
	gap: 0.5rem;
	flex-direction: column;
	margin-bottom: 0.5rem;
}

.inner-workshop-container {
	display: flex;
	gap: 0.5rem;
	flex-direction: row;
	justify-content: space-between;
}
.inner-workshop-container > :nth-child(2) {
	flex: 0 0 auto;
}

.narrow-form {
	width: 50ch;
}

.manage-attendees-item {
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

@media (width <= 600px) {
    .narrow-form {
        width: 100%;
    }
}

/* COUNT DISPLAYS */
.count-display-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.count-display {
	flex: 1 1 0px;
	font-size: 1.5rem;
	padding: 1rem;
	border-radius: 5px;
	border: 4px solid gray;
	animation-duration: 1.5s;
	animation-timing-function: ease-out;
	animation-fill-mode: both;
	display: flex;
	align-items: center;
	flex-direction: column;
	text-align: center;
	justify-content: space-around;
	min-width: 200px;
}

@keyframes countDisplayAnim {
	from {opacity: 0; transform: scale(0);}
	to {opacity: 1; transform: scale(1);}
}

.count-display.one {
	animation-name: countDisplayAnim;
}

.count-display.two {
	animation-name: countDisplayAnim;
	animation-delay: 0.5s;
}

.count-display.three {
	animation-name: countDisplayAnim;
	animation-delay: 1s;
}

.big-number {
	font-size: 3rem;
	font-weight: bold;
}

/* EVENT DISPLAYS */
.event-display-container {
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: stretch;
	gap: 1rem;
	flex-wrap: wrap;
}

.event-display {
	flex: 1 1 27%;
	font-size: 1rem;
	padding: 1rem;
	border-radius: 5px;
	border: 1px solid gray;
	display: flex;
	align-items: start;
	flex-direction: column;
	justify-content: start;
	max-width: 29%;
	min-width: 200px;
}

.event-display > :first-child {
	font-size: 1.5rem;
}

.event-display > .btn-link {
	margin-left: auto;
	margin-top: auto;
	padding: 0.5rem 2rem;
}

.event-details-display {
	font-size: 1rem;
	padding: 1rem;
	border-radius: 5px;
	border: 1px solid gray;
	display: flex;
	align-items: start;
	flex-direction: column;
	justify-content: start;
}

.event-details-display.old, .event-display.old	{
	border: 1px solid rgb(179, 179, 179);
	color: rgb(124, 124, 124);
}

.event-details-display > :first-child {
	font-size: 1.5rem;
}

.event-details-display > .links-display {
	margin-left: auto;
	margin-top: 1rem;
}

.event-display-container .event-details-display {
	width: 100%;
}

#unused-event-displays-container {
	display: none;
}

/* ALL EVENTS FILTERS */
.filters-cont {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}