body {
	font-family: sans-serif;
	/*text-align: center;*/
}

/* The side navigation menu */
.sidebar {
	margin: 0;
	padding: 0;
	width: 200px;
	background-color: #fdc476;
	position: fixed;
	height: 100%;
	overflow: auto;
}

/* Sidebar links */
.sidebar a {
	display: block;
	color: black;
	padding: 16px;
	text-decoration: none;
}

/* Active/current link */
.sidebar a.active {
	background-color: #04AA6D;
	color: white;
}

/* Links on mouse-over */
.sidebar a:hover:not(.active) {
	background-color: #555;
	color: white;
}

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
div.content {
	margin-left: 200px;
	padding: 1px 16px;
	/*height: 1000px;*/
}

/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media screen and (max-width: 700px) {
	.sidebar {
		width: 100%;
		height: auto;
		position: relative;
	}
	.sidebar a {float: left;}
	div.content {margin-left: 0;}
}

/* On screens that are less than 400px, display the bar vertically, instead of horizontally */
@media screen and (max-width: 400px) {
	.sidebar a {
		text-align: center;
		float: none;
	}
}

.topbar {
	overflow: hidden;
	background-color: #fdc476;
	position: fixed; /* Set the navbar to fixed position */
	top: 0; /* Position the navbar at the top of the page */
	width: 100%; /* Full width */
	text-align: center;
}

.main {
	margin-top: 60px; /* Add a top margin to avoid content overlay */
}

/* modal */

.modal {
	display: block;
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-hidden {
	display: none; /* Hidden by default */
}

/* Modal Content */
.modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 70%;
}

/* The Close Button */
.close {
	color: #aaaaaa;
	float: right;
	font-size: 25px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.leptos-captcha {
	margin: .5rem 0;
	border-left: 5px solid hsl(0, 60%, 44%);
	line-height: 1;
	padding-left: .25rem;
	transition: border-left 250ms;
	color: #3f3f3f;
}

/* The outer captcha container in pending state */
.leptos-captcha[data-state="pending"] {
	border-left: 5px solid hsl(57, 60%, 44%);
}

/* The outer captcha container in verified state */
.leptos-captcha[data-state="verified"] {
	border-left: 5px solid hsl(113, 60%, 44%);
}

/* The label for the hidden input */
.leptos-captcha > label {
	display: flex;
	align-items: center;
	gap: .25rem;
	margin: 0;
	padding: 0;
}

/* The icons in front and back */
.leptos-captcha .icon-front,
.leptos-captcha .icon-back {
	width: 0.5rem;
	opacity: .8;
	transition: color 250ms;
}

/* The icon in the back */
.leptos-captcha .icon-back {
	margin-bottom: -.25rem;
}

/* The icon in the back in verified state */
.leptos-captcha[data-state="verified"] .icon-back {
	color: hsl(113, 60%, 44%);
}

/* The inner text content */
.leptos-captcha .text {
	font-size: 0.5rem;
	font-weight: bold;
}

/* The inner text content in pending state */
.leptos-captcha .pending {
	color: hsl(57, 60%, 44%);
}

/* The inner text content in verified state */
.leptos-captcha .verified {
	color: hsl(113, 60%, 44%);
}

.spinner {
	display: inline-block;
	position: relative;
	width: 1.5rem;
	height: 1.5rem;
}

.spinner div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 1.25rem;
	height: 1.25rem;
	margin: .125rem;
	border: .125rem solid #3f3f3f;
	border-radius: 50%;
	animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: #3f3f3f transparent transparent transparent;
}

.spinner div:nth-child(1) {
	animation-delay: -0.45s;
}

.spinner div:nth-child(2) {
	animation-delay: -0.3s;
}

.spinner div:nth-child(3) {
	animation-delay: -0.15s;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}