/*
   CSS styling examples for the Vaadin app.

   Visit https://vaadin.com/docs/styling/application-theme/ for more information.
*/

/* Example: CSS class name to center align the content . */
.centered-content {
	margin: 0 auto;
	max-width: 250px;
}

/* Example: the style is applied only to the textfields which have the `bordered` class name. */
vaadin-text-field.bordered::part(input-field) {
	box-shadow: inset 0 0 0 1px var(--aura-accent-contrast-light);
	background-color: var(--vaadin-background-color);
}

ul.hide-when-empty:empty {
	display: none;
}

html:not(.override-theme) {
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	html:not(.override-theme) {
		color-scheme: dark;
	}
}

html.override-theme.dark {
	color-scheme: dark;
}

html.override-theme.light {
	color-scheme: light;
}

.form-view main {
	flex: 1 0 auto;
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 44px 0 70px;
}

:root {
	/*--aura-background-color-dark: #101214;*/
}

.edition-form {
	border: 1px dotted rgb(75, 85, 99);
	position: relative;
}

.w-form {
	width: 100%;
	--vaadin-form-layout-label-width: 33.3%;
}

.w-form vaadin-form-item::part(label) {
	text-align: end;
}

.w-form vaadin-form-item > :not([slot]) {
	width: 100%;
	max-width: 36em;
}

.editpage-doc-links {
	display: flex;
	flex-flow: row wrap;
	gap: 0.6em;
	justify-content: center;
	width: 100%;
}

.editpage-doc-links > a {
	border: 1px solid currentColor;
	padding: 0.3em;
	border-radius: 6px;
}