@charset "utf-8";
/*nav links directly inside section*/
section>nav a {
	color: var(--foreground);
}

/*admin*/
#section-admin ul {
	list-style-type: none;
	padding: 0;
}
#section-admin a {
	font-size: 1rem;
	color: var(--card-link);
	background-color: var(--card-background);
	border: 1px solid var(--card-border);
	border-radius: 0.25rem;
	display: block;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
}

/*edit file buttons*/
#rebuild, #remove-file {
	margin-top: 1rem;
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
}
#remove-file {
	background-color: var(--danger-background);
	color: var(--danger-foreground);
	border-color: var(--form-border);
}

/*manage tags*/
#section-manage-tags a input[type=button] {
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
}

/*sign in*/
#section-sign-in h2,
#section-sign-in label {
	display: none;
}
#section-sign-in input[type=password] {
	width: 100%;
	border-left-color: var(--form-border);
	border-top-left-radius: 0.5rem;
}

/*store files*/
#section-store-files h2 {
	display: none;
}
#section-store-files form {
	margin-top: 0;
}

/*tokens*/
#section-manage-tokens {
	width: 512px;
}
#section-manage-tokens code {
	cursor: text;
}
#section-use-token h2,
#section-use-token label {
	display: none;
}
#section-use-token input[type=text] {
	width: 100%;
	border-left-color: var(--form-border);
	border-top-left-radius: 0.5rem;
}
#section-use-token form {
	width: 320px;
}

/*configuration*/
#section-config {
	width: 600px;
}
#section-config label {
	width: 45%;
}
#section-config label+input,
#section-config label+select {
	width: 55%;
}

/*help*/
#section-help {
	width: 640px;
}
#section-help table tbody td:first-child:not(:last-child) {
	white-space: nowrap;
}
#section-help table tbody td:nth-child(3) {
	width: 35%;
}
#section-help #hotkeys td[rowspan="2"] {
	border-bottom-right-radius: 0.5rem;
}
#section-help #hotkeys tr:last-child td:last-child {
	border-radius: 0;
}

/*about thalassa*/
#section-about-thalassa .card {
	border-radius: 0.5rem;
	position: relative;
	font-size: 0.75rem;
	min-height: 128px;
	overflow: hidden;
}
#section-about-thalassa .card p {
	margin: 0.75rem;
	padding-left: calc(128px + 0.5rem);
	text-align: left;
}
#section-about-thalassa .card::before {
	position: absolute;
	content: "";
	display: block;
	width: 128px;
	height: 128px;
	top: 0;
	left: 0;
	background-color: black;
	background-image: url('persephone_128.png');
}
#section-about-thalassa p {
	text-align: center;
}

.card {
	color: var(--card-foreground);
	background-color: var(--card-background);
	border: 1px solid var(--card-border);
	border-radius: 0.25rem;
	width: 480px;
	margin-top: 1rem;
}
.card a {
	color: var(--card-link);
}
.card:first-child {
	margin-top: 0;
}

/*transition times*/
.scripts-enabled #endpoint-search-files,
.scripts-enabled #endpoint-search-files #topmenu,
.scripts-enabled #endpoint-search-files #topmenu::after,
.scripts-enabled #endpoint-search-files .files-navigation,
.scripts-enabled #endpoint-search-files .files-navigation a,
.scripts-enabled #endpoint-search-files .files-navigation span,
.scripts-enabled #endpoint-search-files form,
.scripts-enabled #endpoint-search-files .tags-preview-wrapper,
.scripts-enabled #endpoint-search-files input,
.scripts-enabled #endpoint-search-files #pages strong,
.scripts-enabled #endpoint-search-files #pages a,
.scripts-enabled #endpoint-search-files #pages span,
.scripts-enabled #endpoint-search-files #tags-this-page,
.scripts-enabled #endpoint-search-files #tags-this-page h2,
.scripts-enabled #endpoint-search-files .thumbnail,
.scripts-enabled #endpoint-search-files .thumbnail::before,
.scripts-enabled #endpoint-search-files .thumbnail::after,
.scripts-enabled #endpoint-search-files .thumbnail .set-indicators {
	transition: background-color 250ms, color 250ms, border-color 250ms, height 250ms;
}

@media only screen and (max-width: 512px)
{
	.card {
		width: 100%;
	}
}

