﻿
.t5-orange-button-full,
.t5-orange-button-full:hover {
	color: white !important;
	width: 100% !important;
	background-color: rgba(234,100,26) !important;
}

.t5-orange-button,
.t5-orange-button:hover {
	color: white !important;
	width: 200px !important;
	background-color: rgba(234,100,26) !important;
}

.t5-orange-button-text,
.t5-orange-button-text:hover {
	color: rgba(234,100,26) !important;
	background-color: transparent !important;
}

/* Mobile attribute/relationship rows: name/value stacked on the left, the optional
   history-clock button on the right. Flex (instead of a float) keeps the clock aligned
   and vertically sane even when a row has no value and would otherwise be shorter than
   the button, which previously let the float spill past the row's bottom divider. */
/* The two DropDownTree pickers at the top of the Edit Entity view. On mobile they
   stack full width (col-12); on desktop they sit side by side at a fixed 400px, which
   replaces the old inline width:400px so the fixed width doesn't leak onto mobile. */
.entity-header-combo {
	width: 100%;
}

@media (min-width: 768px) {
	.entity-header-combo {
		width: 400px;
	}
}

.t5-attr-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	/* Breathing room below the row content (esp. the history-clock button on rows with
	   no value) so it isn't flush against the divider; mirrors the space above the row. */
	padding-bottom: 10px;
}

	.t5-attr-main {
		flex: 1 1 auto;
		min-width: 0;
	}

.t5-div-highlight:hover {
	background-color: lightgray;
	color: white;
}

.t5-div-highlight:active {
	background-color: darkgray;
	color: white;
}

/* iOS Safari auto-zooms the page whenever a focused form control has a computed
   font-size below 16px. On the search screen the Telerik text boxes and pickers
   inherit a smaller size, so tapping them nudges the zoom in. Force the actual
   focusable input elements to 16px on touch devices (pointer: coarse) so the zoom
   never triggers. Scoped to touch so the desktop look is unchanged, and we avoid
   the maximum-scale/user-scalable=no route that would disable pinch-zoom for all. */
@media (pointer: coarse) {
	.search-page .k-input-inner,
	.search-page .k-picker .k-input-value-text,
	.search-page input,
	.search-page textarea,
	.search-page select {
		font-size: 16px;
	}
}

/* Safari-only: keep the horizontal scrollbar off the rows of a grid whose height is left to size
   itself to its content (no Height on the TelerikGrid). Belongs only on a grid whose columns
   really do overflow, for the reason spelled out under overflow-x below.

   Telerik gives .k-grid-content overflow-x:auto plus a permanently reserved vertical scrollbar
   (overflow-y:scroll, with matching padding on the header so the columns still line up). The grid
   body is a flex item, and WebKit settles the flex container's height before it knows a horizontal
   scrollbar is there, then never goes back over it. So the scrollbar gets carved out of the rows
   instead of added below them, the last row loses its bottom ~15px, and the reserved vertical
   scrollbar goes live because the table no longer fits. The staleness is what gives it away:
   clicking anywhere in the grid forces a relayout and the rows snap to their right height. Chrome
   and Firefox get it right on the first pass.

   overflow-x:scroll takes that first pass out of the equation by making the scrollbar
   unconditional, so its height is part of the box before anything gets measured. On a grid whose
   columns overflow this is invisible, since the scrollbar was always going to be there. On one
   whose columns fit it leaves an empty scroll track, which is why the class is not worth applying
   until a grid actually scrolls.

   overflow-y:hidden drops the vertical scrollbar, which a grid sized to its own content never
   needs, its height being its rows' height by definition. The header's matching padding goes at
   the same time, or the header keeps a gutter the rows no longer have and the two sit ~15px out
   of line. */
@supports (-webkit-hyphens: none) {
	.t5-hscroll-room .k-grid-content {
		overflow-x: scroll;
		overflow-y: hidden;
	}

	.t5-hscroll-room .k-grid-header {
		padding-inline-end: 0;
	}
}

/* Debug Access Levels window (DevAccessSwitcher). Lives here rather than in the component's
   own <style> block because those don't apply to content rendered inside a TelerikWindow. */
.dev-access-hint {
	margin-bottom: 0.75rem;
	font-size: 0.8125rem;
	color: #616161;
}

.dev-access-footer {
	display: flex;
	justify-content: flex-end;
	padding-top: 1rem;
}

.dev-access-label {
	display: block;
	font-weight: 600;
	margin: 0.5rem 0 0.25rem;
}

.dev-access-check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* User Management windows (AddGroupMemberWindow, RemoveGroupMemberWindow). Same reason as the
   Debug Access Levels rules above: a <style> block inside a component rendered in a TelerikWindow
   never registers as a stylesheet, so the CSS has to be here. */
.add-member-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.add-member-hint {
	margin: 0.35rem 0 0.75rem 0;
	font-size: 0.8rem;
	color: #666;
}

.add-member-results {
	height: 300px;
	overflow: auto;
	border: 1px solid #d6d5d6;
}

.add-member-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.add-member-table th,
.add-member-table td {
	padding: 0.35rem 0.6rem;
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.add-member-table thead th {
	position: sticky;
	top: 0;
	background: #f5f5f5;
	border-bottom: 1px solid #d6d5d6;
	font-weight: 600;
}

.add-member-table tbody tr:nth-child(even) {
	background: #fafafa;
}

.add-member-action-col {
	width: 120px;
}

.add-member-add-btn {
	border: none;
	background: transparent;
	padding: 0 0.25rem;
	font-weight: bold;
	color: rgba(234,100,26);
	cursor: pointer;
}

.add-member-add-btn:disabled {
	color: #999;
	cursor: default;
}

/* On a phone the four columns collapse to unreadable ellipses, so stack each result into a card
   and take the field labels from the data-label attributes instead of the header row. */
@media (max-width: 700px) {
	.add-member-table {
		table-layout: auto;
	}

	.add-member-table thead {
		display: none;
	}

	.add-member-table tbody tr {
		display: block;
		padding: 0.5rem 0.6rem;
		border-bottom: 1px solid #d6d5d6;
	}

	.add-member-table td {
		display: block;
		padding: 0.1rem 0;
		white-space: normal;
		overflow: visible;
	}

	.add-member-table td[data-label]::before {
		content: attr(data-label) ": ";
		font-weight: 600;
	}

	.add-member-table td[data-label="Name"] {
		font-weight: bold;
	}

	.add-member-table td[data-label="Name"]::before {
		content: none;
	}

	.add-member-action-col {
		width: auto;
		padding-top: 0.35rem !important;
	}

	.add-member-add-btn {
		padding: 0.25rem 0;
	}
}

.add-member-ellipsis {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

.add-member-existing {
	margin-left: 0.5rem;
	font-size: 0.75rem;
	font-style: italic;
	color: #666;
}

.add-member-empty {
	padding: 0.75rem;
	color: #666;
}

.add-member-footer {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	padding-top: 0.75rem;
	margin-top: 0.5rem;
	border-top: 1px solid #d6d5d6;
}

.remove-member-confirm {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 1rem 0;
}

.remove-member-footer {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid #d6d5d6;
}

.remove-member-note {
	color: #666;
	font-size: 0.9rem;
}

/* Checkbox + label pairs in UserAccessWindow (secondary groups, Debug). The labels inside override the bold block
   labels .datamodel-field gives its field titles. */
.useraccess-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

.useraccess-check {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

	.datamodel-field .useraccess-check label {
		display: inline;
		font-weight: normal;
		margin-bottom: 0;
	}

/* Relationship history window (RelationshipHistory.razor). Lives here rather than in the component's
   own <style> block because those don't apply to content rendered inside a TelerikWindow. */
.rel-history-toolbar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.rel-history-label {
	font-weight: 600;
	white-space: nowrap;
}

/* The picker sizes itself to its column inside a grid; here it has no column, so it needs an explicit width
   or it collapses to the width of the placeholder. */
.rel-history-picker {
	width: 320px;
}

.rel-history-scope {
	margin-left: auto;
	font-style: italic;
	color: #666;
}

/* A superseded version is greyed so the live one reads as the answer to "what is it now". Not a row-level
   background, because a page can be entirely current rows (one per partner) and striping all of them adds
   nothing. */
.rel-history-superseded {
	color: darkgray;
}

.rel-history-current {
	color: black;
}

/* A relationship row whose partner is not in the partner lookup (EditRelationships.razor). This file loads before the
   Telerik theme, so each selector needs one class more than the theme rule it has to beat: the alternating row is
   .k-grid .k-table-row.k-table-alt-row, and hover is .k-grid .k-table-tbody>.k-table-row:not(.k-detail-row):hover
   (or .k-hover). The row stays amber under the mouse, because the color is the warning. */
.k-grid .k-table-tbody .k-table-row.relationship-missing-row,
.k-grid .k-table-tbody > .k-table-row.relationship-missing-row:not(.k-detail-row):hover,
.k-grid .k-table-tbody > .k-table-row.relationship-missing-row:not(.k-detail-row).k-hover {
	background-color: #fff4e5;
}

/* Read errors shown in place (History, PartnerSelect) instead of in an alert, which opens beneath a window that is
   still opening. Outside Production an EntityController error is a full stack trace, so the box wraps and scrolls
   instead of stretching the window or the grid cell. */
.history-load-error,
.partner-select-error {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	overflow-y: auto;
}

.history-load-error {
	max-height: 40vh;
}

.partner-select-error {
	max-height: 4.5rem;
	margin: 0.25rem 0 0;
	padding: 0.25rem 0.5rem;
	font-size: 0.8rem;
}

/* Map Tech Attribute window (TechAttributeMappingWindow). Lives here rather than in the component's own <style>
   block because those don't apply to content rendered inside a TelerikWindow. Everything is prefixed tam-.

   Desktop: the window has a fixed height, so the content is a flex column (header, body, footer) and the two trees
   fill the body side by side, each scrolling on its own. Mobile (tam-mobile, from the component's breakpoints): the
   trees stack with a fixed height each, the whole window content scrolls, and the footer sticks to the bottom so Save
   is always reachable. */
.tam-window .k-window-content {
	display: flex;
	flex-direction: column;
}

.tam-window-mobile .k-window-content {
	padding: 0.75rem;
}

.tam-root {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	min-width: 0;
}

.tam-header {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 0 0 auto;
	margin-bottom: 0.75rem;
}

.tam-hierarchy-field {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

	.tam-hierarchy-field > label {
		font-weight: 600;
		margin: 0;
	}

.tam-help {
	color: #666;
	font-size: 0.875rem;
}

.tam-warning {
	color: #8a5300;
	background: #fff4e5;
	border: 1px solid #f3d19c;
	padding: 0.375rem 0.5rem;
	font-size: 0.875rem;
}

.tam-body {
	display: flex;
	gap: 0.75rem;
	flex: 1 1 auto;
	min-height: 0;
	min-width: 0;
}

.tam-pane {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1 1 0;
	min-width: 0;
	min-height: 0;
}

.tam-pane-label {
	font-weight: 600;
	margin: 0;
}

/* Only the tree box gives up height when the pane is short. Without this a tall tree (the Available side holds the
   whole hierarchy) squeezes the filter box, since flex items shrink by default. */
.tam-pane > :not(.tam-tree-box) {
	flex-shrink: 0;
}

.tam-tree-box {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	overscroll-behavior: contain; /* Scrolling past the end of a tree doesn't move the window behind it. */
	border: 1px solid #d6d5d6;
	padding: 0.25rem 0;
}

.tam-empty {
	padding: 0.75rem;
	color: #666;
}

/* Full-width rows make the whole row a click target, and long names wrap instead of pushing the tree sideways. */
.tam-tree .k-treeview-leaf {
	width: 100%;
	white-space: normal;
}

.tam-tree .k-treeview-leaf-text {
	white-space: normal;
	overflow-wrap: anywhere;
}

.tam-item-meta {
	margin-left: 0.4rem;
	color: #666;
	font-size: 0.85rem;
	white-space: nowrap;
}

.tam-actions {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	flex: 0 0 auto;
}

	.tam-actions .tam-move-button {
		min-width: 120px;
	}

.tam-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	flex: 0 0 auto;
	padding-top: 0.5rem;
	margin-top: 0.75rem;
	border-top: 1px solid #d6d5d6;
	background: #fff;
}

.tam-count {
	color: #666;
}

.tam-unsaved {
	margin-left: 0.25rem;
	color: #8a5300;
	font-style: italic;
}

.tam-footer-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-left: auto;
}

	.tam-footer-buttons .t5-orange-button {
		max-width: 100%;
	}

/* Mobile: stacked, natural height so the window content scrolls as a whole. */
.tam-root.tam-mobile {
	flex: 0 0 auto;
}

.tam-mobile .tam-body {
	flex-direction: column;
	flex: 0 0 auto;
}

.tam-mobile .tam-pane {
	flex: 0 0 auto;
}

.tam-mobile .tam-tree-box {
	flex: 0 0 auto;
	height: min(45vh, 320px);
	min-height: 160px;
}

.tam-mobile .tam-actions {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.5rem;
}

	.tam-mobile .tam-actions .tam-move-button {
		flex: 1 1 0;
		min-width: 0;
	}

/* Sticky offsets are measured inside the window content's 0.75rem padding, so at bottom: 0 the list showed
   through a strip below the buttons. Sticking into the padding, and padding the footer by the same amount,
   covers it. */
.tam-mobile .tam-footer {
	position: sticky;
	bottom: -0.75rem;
	z-index: 2;
	padding-bottom: 1rem;
}

.tam-mobile .tam-footer-buttons {
	width: 100%;
}

	.tam-mobile .tam-footer-buttons .k-button {
		flex: 1 1 0;
	}

	/* t5-orange-button forces 200px, which doesn't leave room for Cancel beside it on a phone. */
	.tam-mobile .tam-footer-buttons .t5-orange-button {
		width: auto !important;
	}

/* Same iOS Safari auto-zoom fix as the search page: keep the window's inputs at 16px on touch devices. */
@media (pointer: coarse) {
	.tam-window .k-input-inner,
	.tam-window .k-picker .k-input-value-text {
		font-size: 16px;
	}
}

/* Export wizard on mobile (ExportOptions adds export-wizard-mobile to the window from its breakpoints). The desktop
   layout lives in each step component's own <style> block and is untouched by these rules. On mobile every step is one
   column: the Back/Next header stays put and the step scrolls under it, so lists and the profile grid get a fixed
   height of their own. Prefixes: exs- for ExportSearch, exa- for the two picker steps. */
.export-wizard-mobile .k-window-content {
	padding: 0.75rem;
}

.export-wizard-mobile .export-window-content {
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* "Back: Relationships" and "Next: Review and Export" don't fit side by side, so the two buttons share the row and wrap. */
.export-wizard-mobile .export-window-header {
	flex-wrap: nowrap;
}

	.export-wizard-mobile .export-window-header > .col:empty {
		display: none;
	}

	.export-wizard-mobile .export-window-header .k-button {
		width: 100%;
		height: 100%;
		white-space: normal;
	}

/* Search step */
.export-wizard-mobile .exs-root {
	height: auto;
}

	.export-wizard-mobile .exs-root .search-criteria-row {
		max-height: none;
		overflow: visible;
	}

.export-wizard-mobile .exs-criteria-main,
.export-wizard-mobile .exs-criteria-advanced {
	width: 100%;
}

.export-wizard-mobile .exs-criteria-advanced {
	margin-top: 0.75rem;
}

	.export-wizard-mobile .exs-criteria-advanced .container {
		padding-left: 0;
		padding-right: 0;
	}

	/* col-11 beside the 30px remove column would wrap below it at this width. */
	.export-wizard-mobile .exs-criteria-advanced .col-11 {
		flex: 1 1 0;
		width: auto;
	}

/* Each criterion: remove, attribute and operator on one line, the value on the next (the Search page's layout). */
.export-wizard-mobile .exs-adv-attribute {
	flex: 1 1 0;
	width: auto;
}

.export-wizard-mobile .exs-adv-operator {
	width: 40%;
}

.export-wizard-mobile .exs-adv-value {
	width: 100%;
	margin-top: 0.25rem;
	padding-left: calc(30px + var(--bs-gutter-x) * 0.5);
}

.export-wizard-mobile .exs-choices {
	flex-direction: column;
	flex: none;
	height: auto;
}

	.export-wizard-mobile .exs-choices > * {
		flex: none;
		width: 100%;
	}

/* The OR column has an inline 50px width for desktop. */
.export-wizard-mobile .exs-or {
	width: 100% !important;
	text-align: center;
	padding: 0.5rem 0;
}

.export-wizard-mobile .exs-profiles {
	height: min(45vh, 320px);
	min-height: 180px;
}

.export-wizard-mobile .exs-profile-type {
	color: #666;
	font-size: 0.8rem;
}

/* Attribute and relationship steps. TelerikGridLayout writes its columns and each item's position as inline styles,
   hence !important. */
.export-wizard-mobile .exa-root,
.export-wizard-mobile .exa-layout {
	height: auto;
}

.export-wizard-mobile .exa-layout {
	grid-template-columns: 100% !important;
	grid-template-rows: none !important;
	row-gap: 0.5rem;
}

.export-wizard-mobile .exa-left-header {
	grid-row: 1 !important;
	grid-column: 1 !important;
}

.export-wizard-mobile .exa-left-list {
	grid-row: 2 !important;
	grid-column: 1 !important;
}

.export-wizard-mobile .exa-buttons {
	grid-row: 3 !important;
	grid-column: 1 !important;
	height: auto;
}

.export-wizard-mobile .exa-right-header {
	grid-row: 4 !important;
	grid-column: 1 !important;
	margin-top: 0.5rem;
}

.export-wizard-mobile .exa-right-list {
	grid-row: 5 !important;
	grid-column: 1 !important;
}

.export-wizard-mobile .exa-left-list,
.export-wizard-mobile .exa-right-list {
	height: min(45vh, 320px);
	min-height: 160px;
}

	.export-wizard-mobile .exa-left-list > div,
	.export-wizard-mobile .exa-right-list > div {
		overscroll-behavior: contain;
	}

.export-wizard-mobile .exa-buttons .button-container {
	flex-direction: row;
	gap: 0.5rem;
}

	.export-wizard-mobile .exa-buttons .add-remove-button {
		flex: 1 1 0;
		width: auto;
	}

/* Long names wrap instead of running past the edge of the list. */
.export-wizard-mobile .exa-root .k-treeview-leaf,
.export-wizard-mobile .exa-root .k-treeview-leaf-text,
.export-wizard-mobile .exa-root .attribute-item-name {
	white-space: normal;
	overflow-wrap: anywhere;
}

/* Summary step: the fields and the 260px save panel stack, and every section keeps its natural height. */
.export-wizard-mobile .export-summary-wrapper {
	height: auto;
}

	.export-wizard-mobile .export-summary-wrapper > * {
		flex-shrink: 0;
	}

.export-wizard-mobile .search-rows-container {
	flex-direction: column;
	max-height: none;
}

	.export-wizard-mobile .search-rows-container > div {
		flex: none;
		max-width: none;
		min-width: 0;
		border-right: 0;
		border-bottom: 1px solid #ddd;
	}

		.export-wizard-mobile .search-rows-container > div:last-child {
			border-bottom: 0;
		}

.export-wizard-mobile .advanced-values {
	flex-wrap: wrap;
}

.export-wizard-mobile .export-body {
	flex-direction: column;
	flex: none;
	height: auto;
}

.export-wizard-mobile .export-left-panel {
	flex: none;
	min-height: 220px;
	max-height: 50vh;
}

.export-wizard-mobile .export-right-panel {
	width: auto;
}

.export-wizard-mobile .attr-inner {
	column-count: 1;
}

@media (pointer: coarse) {
	.export-wizard-mobile .k-input-inner,
	.export-wizard-mobile .k-picker .k-input-value-text {
		font-size: 16px;
	}
}

/* Row action links on the Import and Export history pages. */
.xml-link {
	color: #0d6efd !important;
	text-decoration: underline !important;
	cursor: pointer !important;
}

/* Import and Export history on mobile (PIMImport, PIMExport): one card per job instead of the grid. The pages hold
   the grid to the window height; the cards take their natural height and the page scrolls. */
.page-container.job-page-mobile {
	height: auto;
	overflow: visible;
}

	.job-page-mobile .remaining-row {
		overflow: visible;
	}

.job-empty {
	padding: 0.75rem;
	color: #666;
	border: 1px solid #d6d5d6;
}

.job-card {
	padding: 0.5rem 0.75rem;
	border: 1px solid #d6d5d6;
	border-top: none;
	font-size: 0.9rem;
}

.job-card-list .job-card:first-child {
	border-top: 1px solid #d6d5d6;
}

	.job-card:nth-child(even) {
		background: #fafafa;
	}

.job-card-heading {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.25rem;
}

	/* The cancel X pins to the right edge. */
	.job-card-heading .btn-close {
		margin-left: auto;
		flex-shrink: 0;
	}

.job-card-title {
	font-weight: bold;
	min-width: 0;
	overflow-wrap: anywhere;
}

.job-card-line {
	display: flex;
	gap: 0.25rem;
	min-width: 0;
}

.job-card-label {
	flex-shrink: 0;
	color: #666;
}

/* job-grid-wrap: the /import grid's File Name cell. Many file names hold a word wider than that column, which the
   grid's ellipsis would otherwise cut off. */
.job-card-wrap,
.job-grid-wrap {
	min-width: 0;
	overflow-wrap: anywhere;
}

.job-card-truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.job-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin-top: 0.25rem;
}

.job-mobile-pager {
	border: 1px solid #d6d5d6;
	border-top: none;
	justify-content: center;
}

/* Import window on mobile (PIMImport passes IsMobile, ImportWindow adds import-window-mobile). The window takes its
   natural height and the instructions sit above the drop zone. Bootstrap's h-100 and fs-3 are !important. */
.import-window-mobile .import-window-text-col,
.import-window-mobile .import-window-drop-col {
	flex: 0 0 100%;
	max-width: 100%;
	height: auto !important;
}

.import-window-mobile .import-window-text {
	font-size: 1rem !important;
	padding-bottom: 0 !important;
}

.import-window-mobile .file-dropzone {
	min-height: 160px;
}

/* Lookup table editor on mobile (ViewEditLookupTableWindow): the Display box sits under the Value box in one column. */
.view-edit-lookup-window-mobile .lookup-display-stacked {
	margin-top: 0.25rem;
}

@media (pointer: coarse) {
	.view-edit-lookup-window-mobile .k-input-inner {
		font-size: 16px;
	}
}

/* ViewEditField. Here rather than in the component, which is drawn once per cell in the complex attribute grid and
   would repeat a style block in every one. */
.reset-button {
	margin-left: -3.5em;
	z-index: 10000;
}

.textarea-wrapper {
	position: relative;
}

.textarea-with-reset {
	padding-right: 2em;
}

.reset-button-textarea {
	position: absolute;
	right: 0.25em;
	bottom: 0.25em;
	z-index: 10000;
}

/* A multi-line value with no HTML in it: show the line breaks and spacing as typed. */
.view-edit-field-plain-text {
	white-space: pre-wrap;
}

.view-edit-field-html-note {
	margin-top: 0.25em;
	font-size: 0.85em;
	font-style: italic;
	color: #6c757d;
}

/* A loader over the whole page. Telerik positions its overlay absolutely, and no page container is positioned, so on
   a page scrolled down (mobile) it covered only the first screenful. */
.k-loader-container.t5-page-loader {
	position: fixed;
}
