html * {
	font-size: 1rem;
	/* color: #000 !important; */
	font-family: Arial !important;
}

h1 {
	font-size: 1.5em !important;
	font-weight: bold !important;
}

h2 {
	font-size: 1.3em !important;
	font-weight: bold !important;
}

#user-tools {
	font-weight: bold;
}

label {
	color: #000 !important;
	font-size: 1em !important;
}

a {
	/* color: #000 !important; */
	font-weight: bold;
	font-size: 1em !important;
}

.addlink {
	font-weight: bold !important;
	font-size: 1em !important;
}

.submit-row {
	font-weight: bold !important;
	font-size: 1em !important;
}

.button {
	font-weight: bold !important;
	font-size: 1em !important;
	align-content: center;
	padding: 0.2em 0.5em !important;
	margin: 0.2em 0.5em !important;
}

/* Style the file upload and its button */

.file-upload {
	display: grid;
	font-size: 1em !important;
}
.file-upload > * {
	padding: 5px;
}

.button,
::file-selector-button,
input[type="submit"] {
	background: var(--header-bg) !important;
	border-radius: 10px !important;
	border: none !important;
	font-weight: bold !important;
	color: white !important;
	cursor: pointer !important;
	padding: 5px 10px !important;
	vertical-align: middle !important;
	margin-left: 10px !important;
}

.button:hover,
::file-selector-button:hover,
input[type="submit"]:hover {
	background-color: darkslategrey;
}

td {
	font-size: 1em !important;
	vertical-align: middle !important;
}

.breadcrumbs {
	display: none !important;
}

li {
	color: red;
	font-size: 1em;
}

.title-tools-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.addlink {
	font-size: 1em !important;
	background-color: var(--header-bg) !important;
	border-radius: 10px !important;
	border: none !important;
	font-weight: bold !important;
	color: white !important;
	cursor: pointer !important;
	padding: 5px 10px !important;
	padding-right: 30px !important;
	vertical-align: middle !important;
	line-height: 1em !important;
	background-position: right 7px center !important;
}

/* Base modal styles - combines and generalizes both existing modal styles */
.modal-base {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.modal-content-base {
	background-color: var(--body-bg);
	margin: 2% auto;
	padding: 20px;
	border: 0px solid var(--border-color);
	border-radius: 4px;
	width: 80%;
	max-width: 700px;
	position: relative;
	overflow-y: auto;
}

/* Specific styles for help modal */
.help-modal {
	composes: modal-base;
}

.help-modal-content {
	max-width: 700px;
	overflow-y: auto;
}

/* Specific styles for loading modal */
.loading-modal {
	composes: modal-base;
	background-color: rgba(0, 0, 0, 0.6);
}

.loading-modal .modal-content {
	composes: modal-content-base;
	text-align: center;
	padding: 30px;
	max-width: 400px;
}

.loading-modal h3 {
	margin-bottom: 0;
}

/* Modal controls */
.modal-close {
	color: var(--body-quiet-color);
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.modal-close:hover {
	color: var(--body-fg);
}

.modal-footer {
	margin-top: 20px;
	text-align: right;
}

.modal-body {
	margin: 20px 0;
}

/* Help button */
.help-button {
	background: var(--header-bg);
	border-radius: 10px;
	border: none;
	font-weight: bold;
	color: white;
	cursor: pointer;
	padding: 5px 10px;
	vertical-align: middle;
	margin-left: 10px;
}

.help-button:hover {
	color: var(--header-color);
}

/* Hide the save button */
.paginator input[type="submit"][name="_save"] {
	display: none !important;
}

.title-tools-container h1 {
	margin: 0;
	flex-shrink: 0;
}

.object-tools-items {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

table thead th .text span {
	font-size: 1rem !important;
	padding: 5px;
}

#user-tools {
	font-size: 1rem !important;
}

#logout-form button {
	font-size: 1rem !important;
}

.form-row {
	font-size: 1rem !important;
}
