:root {
	/*All used fonts (except w2ui)
	----------------------------------*/
	--cool-font: 'Segoe UI', Tahoma, Arial, Helvetica, sans-serif;
	/*investigate what are the drawback in consisntly use --cool-fonts
	for jquery-ui and perhaps mobile*/
	--mobile-font: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
	--jquery-ui-font: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;

	--docs-font: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--docs--pre-font: 'Consolas', 'Menlo', 'Lucida Console', 'Courier New', monospace;

	/* Shared color for cell and selection border */
	--cell-cursor-selection-border-color: var(--color-primary);

	--btn-size: 28px;
	--btn-padding: 2px;
	--btn-img-size: calc(var(--btn-size) - var(--btn-padding) * 2);
	--btn-color-colorpicker-size: 4px;
	--btn-img-colorpicker-size: calc(var(--btn-size) - var(--btn-padding) * 2 - var(--btn-color-colorpicker-size));

	--btn-size-m: 22px;
	--btn-img-size-m: calc(var(--btn-size-m) - var(--btn-padding) * 2);

	--btn-size-s: 20px;
	--btn-img-size-s: calc(var(--btn-size-s) - var(--btn-padding) * 2);

	--border-radius: 4px; /* buttons, widgets */
	--border-radius-large: 10px; /* dialog */

	--tooltip-font-size: 0.875rem;
	--default-font-size: 0.75rem;
	--overflow-group-font-size: 8.5pt; /* do not scale labels of groups */
	--medium-font-size: 0.875rem;
	--header-font-size: 1rem;
	/* tab min font-size */
	--tb-min-fs: 0.6875rem;
	/* tab min font-size without units*/
	--tb-min-fs-u: 11;
	/* tab max font-size */
	--tb-max-fs: 1rem;
	/* tab max font-size without units*/
	--tb-max-fs-u: 16;
	/* tab font-size preferred value or scaler */
	--tb-fs-s: 1vw;

	--default-height: 24px;
	--header-height: 34px;

	/* Annotations */
	--annotation-input-size: 100px;
	--annotation-max-size: 1000;
	--annotation-min-size: 100;

	/* Ruler */
	--ruler-height: 20px;

	/* Notebookbar */
	--notebookbar-element-height: 64px;
}

html {
	height: 100%;
	font-size: 1rem;
}

body {
	margin: 0;
	overflow: hidden;
	overscroll-behavior-y: none; /* disable the pull to reload gesture */
	background: var(--color-main-background);
	touch-action: none;
	line-height: normal;
	height: 100%;
	display: flex;
	flex-direction: column;
	user-select: none;
}

#insertgraphic, #insertmultimedia {
	position: fixed;
	top: -100em;
}

#selectbackground {
	position: fixed;
	top: -100em;
}

.about-dialog-info-div {
	margin-inline-end: auto;
}

.focus-hidden:focus {
	outline: none;
}

.access-key {
	text-decoration: none;
}

.activate-underlines .access-key {
	text-decoration: underline;
}

.accessibility-info-box {
	width: 26px;
	height: 16px;
	font-size: 0.75rem;
	line-height: 16px;
	text-align: center;
	background-color: yellow;
	color: rgb(68, 24, 24);
	position: absolute;
	z-index: 20;
	border: 1px solid black;
	display: none;
}

.activate-info-boxes .accessibility-info-box {
	display: block;
}

.activate-info-boxes .accessibility-info-box.filtered_out {
	display: none;
}

/* Flexbox */
.d-flex {
	display: flex;
}
.flex-column {
	/* Initial value */
	flex-direction: column;
}
.flex-row {
	flex-direction: row;
}
.align-items-center {
	align-items: center;
}
.justify-items-center {
	justify-items: center;
}
.align-content-center {
	align-content: center;
}
.justify-content-center {
	justify-content: center;
}

/* Space */
.m-v-0 {
	margin-block: 0;
}

/* Border */
.border-0 {
	border: 0 !important;
}

/* clip technique: hide visually but keep it available to screen readers */
.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
[data-docType='spreadsheet'] #document-container.readonly.mobile {
	top: 36px;
	position: fixed;
}
#document-container {
	background-color: var(--color-main-background);
	position: relative;
	margin: 0;
	padding: 0;
	width: 100%;
	flex: 1;
	display: block;
	height: 100%;
}

.color-palette-selector {
	margin: 0 5px !important;
}

.color-palette-selector > select {
	width: 100% !important;
	padding: 0 14px 0 4px;
	height: 28px;
	font-size: var(--default-font-size);
	font-family: var(--jquery-ui-font);
}

#toolbar-wrapper.readonly {
	display: none;
}

#map {
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 10;
	cursor: auto;
	background-color: transparent;
	margin: 0;
}

.leaflet-progress-layer {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000;
}

.bucket-cursor {
	cursor: url('images/cursors/fill.png') 4 18, auto !important;/*setting coordinates to align the tip of the brush icon */
}
.cool-scrollbar-show {
	opacity: 1 !important;
	filter: 'alpha(opacity=100)' !important;
	-ms-filter: 'alpha(opacity=100)' !important;
}

.table-column-resize-marker {
	margin-left: 0px;
	margin-top: 0px;
	width: var(--btn-size);
	height: var(--btn-size);
	background-image: url('images/table-column-resize-marker.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	cursor: col-resize;
}

.table-column-resize-marker:hover {
	margin-left: 0px;
	margin-top: 0px;
	width: var(--btn-size);
	height: var(--btn-size);
	background-image: url('images/table-column-resize-marker-hover.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	cursor: col-resize;
}

.table-row-resize-marker {
	margin-left: 0px;
	margin-top: 0px;
	width: var(--btn-size);
	height: var(--btn-size);
	background-image: url('images/table-row-resize-marker.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	cursor: row-resize;
}

.table-row-resize-marker:hover {
	margin-left: 0px;
	margin-top: 0px;
	width: var(--btn-size);
	height: var(--btn-size);
	background-image: url('images/table-row-resize-marker-hover.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	cursor: row-resize;
}

.table-select-marker {
	margin: 0px;
	width: var(--btn-size);
	height: var(--btn-size);
	background: url('images/table-row-or-column-select-marker.svg') no-repeat center center /12px;
	cursor: pointer;
}

.table-select-marker::before {
	content: '';
	position: absolute;
	z-index: 0;
}

.table-select-marker--column::before {
	bottom: 50%;
	border-bottom: 1px dashed lightgray;
	width: 100%;
}

.table-select-marker--row::before {
	left: 50%;
	border-left: 1px dashed lightgray;
	height: 100%;
}

.table-select-marker:hover {
	background: url('images/table-row-or-column-select-marker-selected.svg') no-repeat center center /12px;
}

.table-select-marker.hovered {
	background: url('images/table-row-or-column-select-marker-selected.svg') no-repeat center center /12px;
}

.table-select-marker:hover::before {
	border-color: var(--color-primary);
}

.table-move-marker {
	margin-left: 0px;
	margin-top: 0px;
	width: var(--btn-size);
	height: var(--btn-size);
	background-image: url('images/table-move-marker.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	cursor: move;
}

#presentation-controls-wrapper {
	background: var(--color-background-lighter);
	position: relative;
	border-top: 1px solid var(--color-border);
	display: none;
	overflow-y: auto;
	height: 100%;
}

#quickfind-dock-wrapper {
	display: none;
	position: relative;
	z-index: 990;
	max-width: 350px;
	height: 100%;
}

#sidebar-dock-wrapper, #navigator-dock-wrapper {
	display: none;
	background: var(--color-background-lighter);
	position: relative;
	overflow-x: hidden;
	z-index: 990;
	max-width: 350px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--color-border) transparent;
	height: 100%;
}

#sidebar-dock-wrapper.visible {
	display: block;
	/* synchronize time with Sidebar.ts setting focus */
	animation: 200ms ease-out appear-from-right;
	border-inline-start: 1px solid var(--color-border);
}

@keyframes appear-from-right {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0);
	}
}

.sidebar-panel {
	padding: 0px;
	margin: 0px;
	position: relative;
	width: auto;
	height: 100%;
	z-index: 1200;
}

.sidebar-panel::-webkit-scrollbar {
	width: 8px;
}

.sidebar-panel::-webkit-scrollbar-thumb {
	background-color: var(--color-border);
}

#toolbar-wrapper {
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	border-top: none;
	z-index: 11 !important;
	border-bottom: 1px solid var(--color-toolbar-border);
	background-color: var(--color-background-lighter);
	display: flex;
	flex-direction: column;
}
#toolbar-wrapper:not(.mobile) {
	padding: 2px 0;
}
/* Remove bottom padding in calc as it affects formulabar*/
#toolbar-wrapper.spreadsheet:not(.mobile) {
	padding-block-end: 0;
}

#toolbar-logo {
	width: 0;
}

/* Hide hamburger except on mobile phones */
#toolbar-hamburger {
	width: 0;
}

/* Hide back btn except on mobile phones */
#toolbar-mobile-back {
	width: 0;
}

#mobile-edit-button {
	justify-content: center;
	align-items: center;
	position: absolute;
	width: 56px;
	height: 56px;
	right: 16px;
	bottom: 16px;
	background-color: var(--color-primary);
	border-radius: 50%;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	z-index: 1001;
	transform: scale(1);
	transition: transform 0.5s;
	display: none;
}

#mobile-edit-button.impress.portrait {
	bottom: 70px;
}

#mobile-edit-button-image {
	width: var(--btn-size);
	height: var(--btn-size);
	background: url('images/baseline-edit-24px.svg') no-repeat center !important;
	transform: rotate(0deg);
	transition: transform 0.5s;
}
#mobile-edit-button:active {
	transform: scale(1.2);
}
#mobile-edit-button:active > #mobile-edit-button-image {
	transform: rotate(45deg);
}

.cool-font {
	font-family: var(--cool-font) !important;
	font-size: var(--default-font-size) !important;
	font-weight: normal !important;
	padding: 3px 5px 3px 3px;
	color: var(--color-main-text);
}

#search-input {
	font-size: var(--default-font-size);
	box-sizing: border-box;
	min-width: 100px;
	width: 200px;
	height: 22px;
	background: var(--color-background-lighter);
}
#search-input:focus {
	background-color: var(--color-background);
	border-color: var(--color-primary) !important;
}
#search-input:hover {
	border: 1px solid var(--color-border-darker) !important;
}
#search-input::placeholder {
	color: var(--color-main-text);
}

@media screen and (max-width: 500px) {
	#search-input {
		width: 100px;
	}
}


.cool-character {
	table-layout: fixed;
	font: 17px/1.5 'Helvetica Neue', Arial, Helvetica, sans-serif;
	text-align: center;
}

.cool-character td {
	width: 20px;
}

.annotation-marker {
	margin-left: 0px;
	margin-top: 0px;
	width: var(--btn-size);
	height: var(--btn-size);
	background-image: url('images/note.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	outline: none;
}

.cool-scrolled {
	overflow: auto;
}

.cool-mobile-container {
	top: 30px;
	margin: 0;
	width: 1px;
	opacity: 0;
}

.cool-context-down {
	border: 1px solid var(--color-border-dark);
	background-color: var(--color-background-dark);
}

.cool-mobile-input {
	width: 1px;
	padding: 0px;
	border: 0px;
}

/* Important to override context-menu-icon's font-family here otherwise, jquery-contextmenu.css
 * will try to load its own font file which is not available in dist/ */
.context-menu-icon::before {
	font-family: var(--cool-font) !important;
	content: '\2713';
	color: var(--color-main-text) !important;
}
.context-menu-icon-lo-checkmark:before {
	content: '\2713';
}

.context-menu-hover {
	background-color: var(--color-background-darker) !important;
	color: var(--color-text-darker) !important;
}

.context-menu-hover > span > a {
	color: var(--color-text-darker);
}
.context-menu-submenu:after {
	border-color: transparent transparent transparent var(--color-text-darker) !important;
}

/* With RTL write direction the arrow of the context menu's submenu should be flipped */

[dir='rtl'] .context-menu-submenu:after {
	right: unset;
	left: .5em;
	border-color: transparent var(--color-text-darker) transparent transparent;
	border-width: .25em .25em .25em 0;
}


#mobile-wizard {
	display: none;
}

.mobile-wizard-content .cool-annotation {
	max-width: none;
}

.cool-annotation {
	position: fixed;
	text-align: center;
	user-select: text;
	-moz-user-select: text;
	-webkit-user-select: text;
	-ms-user-select: text;
	z-index: 10;
	width: 250px;
	transition: left .25s;
}

.cool-annotation.annotation-pop-up {
	width: 75%;
}

.cool-annotation.tracked-deleted-comment-show {
	opacity: 0.5;
}

.cool-annotation.tracked-deleted-comment-hide {
	display: none;
}

.cool-annotation > .modalpopup {
	max-height: initial !important;
}

.cool-annotation-content-wrapper, .cool-annotation-redline-content-wrapper {
	padding: 8px;
	font-family: var(--cool-font) !important;
	font-size: var(--default-font-size);
	text-align: left;
	background-color: var(--color-background-lighter);
	box-shadow: 0 0 3px var(--color-box-shadow);
	color: var(--color-main-text);
	border: none;
	border-radius: var(--border-radius);
	width: auto;
}

.cool-annotation:not(.annotation-active) .cool-annotation-content-wrapper:hover,
.cool-annotation:not(.annotation-active) .cool-annotation-redline-content-wrapper:hover {
	color: var(--color-text-dark);
}

.annotation-active.modify-annotation-container .cool-annotation-content-wrapper,
.annotation-active.reply-annotation-container .cool-annotation-content-wrapper {
	width: auto;
}

.cool-annotation-content {
	margin: 3px;
	line-height: 1.4;
	max-height: var(--annotation-input-size);
	overflow: auto;
}

.cool-annotation-info-collapsed {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	background-color: var(--color-primary);
	color: var(--color-primary-text);
	font-weight: bold;
	font-family: var(--cool-font);
	font-size: var(--default-font-size);
	border: 1px solid var(--color-primary);
	border-radius: 50%;
	z-index: 10;
	position: relative;
	width: var(--btn-size-s);
	height: var(--btn-size-s);
	left: -6px;
	top: -15px;
}

.tracked-deleted-comment-show .cool-annotation-menubar {
	display: none;
}

#main-document-content {
	z-index: 0;
	display: flex;
	flex-direction: row;
	flex: 1;
	margin: 0;
	padding: 0;
	min-height: 0;
}

.cool-annotation-collapsed-show .cool-annotation-img {
	visibility: visible;
}

.cool-dont-break {
	/* These are technically the same, but use both */
	overflow-wrap: break-word;
	word-wrap: break-word;

	/* Don't eat new lines  */
	white-space: pre-wrap;

	/* Adds a hyphen where the word breaks, if supported (No Blink) */
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.cool-annotation-content-author {
	margin: 0;
	margin-top: 2px;
	height: 18px;
}

.cool-annotation-content-resolved {
	color: var(--color-success);
}

.cool-annotation-edit {
	margin: 3px;
	line-height: 1.4;
}

.cool-annotation-textarea {
	font-family: var(--cool-font) !important;
	font-size: var(--default-font-size);
	border: 1px solid var(--color-border);
	background-color: var(--color-background-dark);
	color: var(--color-main-text);
	overflow-x: hidden;
	padding: 2px;
	height: 54px;
	width: 100%;
	box-sizing: border-box;
}

.cool-annotation-textarea a:link,
.cool-annotation-textarea a:visited,
.cool-annotation-content a:link,
.cool-annotation-content a:visited {
	color: var(--color-hyperlink);
}

#input-modal-input.cool-annotation-textarea {
	height: var(--annotation-input-size);
}

.cool-div-layer {
	position: absolute;
	left: 0;
	top: 0;
}

.cool-annotation-table {
	border-spacing: 0;
	border-collapse: separate;
	white-space: nowrap;
	width: 100%;
}

.cool-annotation-img {
	box-sizing: content-box !important;
	max-width: 32px;
	display: inline-block;
	border: solid 2px;
	border-radius: 50%;
	height: 32px;
	width: 32px;
	padding: 0;
	opacity: 0.9;
}

.cool-annotation.collapsed-comment .cool-annotation-img:hover {
	cursor: pointer;
	opacity: 1;
	box-shadow: 0px 4px 10px var(--color-box-shadow);
}

.cool-annotation-img .avatar-img {
	border: none;
}
.cool-annotation-img > .avatar-img {
	display: block;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 32px; /* Width of new image */
	height: 32px; /* Height of new image */
	background: url('images/user.svg') center 3px no-repeat;
}

.leaflet-container .leaflet-pane.leaflet-calc-background-pane {
	z-index: 0;
}

.avatar-img {
	border: solid 2px;
	border-radius: 50%;
}

.user-info {
	border-radius: 50%;
	width: var(--btn-size);
	height: var(--btn-size);
	overflow: auto;
	margin: auto;
}

.cool-annotation-author {
	padding-left: 10px;
	padding-right: 10px;
	vertical-align: top;
	display: table-cell;
	width: 100%;
	overflow: hidden;
	max-width: 110px;
}

.cool-annotation-menu, .cool-annotation-menu-redline, .cool-redline-accept-button, .cool-redline-reject-button {
	margin: 0 !important;
	padding: 0 !important;
	min-width: initial !important;
	width: var(--btn-size) !important;
	height: var(--btn-size) !important;
	vertical-align: top;
	border: 1px solid transparent !important;
	display: inline-block !important;
}

.cool-redline-accept-button {
	background: url('images/lc_acceptchanges.svg') no-repeat center !important;
}

.cool-redline-reject-button {
	background: url('images/lc_rejecttrackedchange.svg') no-repeat center !important;
}

.cool-annotation-menu, .cool-annotation-menu-redline {
	background: url('images/submenu.svg') no-repeat center/contain !important;
}

.cool-annotation-menu:hover, .cool-annotation-menu-redline:hover, .cool-redline-accept-button:hover, .cool-redline-reject-button:hover {
	border: 1px solid var(--color-border-darker);
}

.cool-annotation-date {
	font-size: var(--default-font-size);
}

.cool-annotation-autosavelabel {
	font-size: var(--default-font-size);
	opacity: 75%;
}

.cool-annotation-menubar {
	margin: 0;
	padding: 0;
	vertical-align: top;
}

.cool-annotation-child-line {
	border-style: none none dashed dashed;
	border-width: thin;
	border-color: black;
}
/*Tooltips
----------------------------------*/
[data-title]:hover:after {
	padding: 7px 9px;
	font-size: 1em;
	line-height: 1;
	opacity: 1;
	transition: all 0.1s ease 0.5s;
	visibility: visible;
}
[data-title]:after {
	content: attr(data-title);
	font-size: 1em !important;
	bottom: -1.6em;
	left: 100%;
	white-space: nowrap;
	opacity: 0;
	border-color: var(--color-border-darker);
	visibility: hidden;
}
.cool-ruler-left[data-title]:after,
.cool-ruler-right[data-title]:after {
	bottom: -2.8em;
	left: auto;
}

.cool-ruler.vruler {
	border-top: solid 1px var(--color-toolbar-border);
}

#vertical-ruler .cool-ruler-left[data-title]:after,
#vertical-ruler .cool-ruler-right[data-title]:after {
	bottom: 3em;
	left: auto;
	transform: rotate(-90deg);
}
[data-title] {
	position: relative;
}

.cool-annotation-caption {
	font-weight: bold;
}

.cool-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: var(--border-radius);
	display: inline-block;
	margin: 3px;
	vertical-align: middle;
}

.cool-bar a,
.cool-bar a:hover {
	background-color: var(--color-background-lighter);
	border-bottom: 1px solid var(--color-border);
	width: 30px;
	height: 30px;
	line-height: 30px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: var(--color-main-text);
}

.cool-bar a:hover {
	background-color: var(--color-background-darker);
}

.cool-bar a:first-child {
	border-top-left-radius: var(--border-radius);
	border-top-right-radius: var(--border-radius);
}

.cool-bar a:last-child {
	border-bottom-left-radius: var(--border-radius);
	border-bottom-right-radius: var(--border-radius);
	border-bottom: none;
}

.cool-bar a.leaflet-disabled {
	cursor: default;
	background-color: var(--color-background-lighter);
	color: var(--color-text-lighter);
}

.cool-bar a {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	width: 30px;
	height: 30px;
	line-height: 30px;
}

.cool-control-scroll-up,
.cool-control-scroll-down {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
}

.lokdialog_container.lokdialog_notitle .ui-dialog-titlebar {
	display: none;
}

.ui-dialog-title {
	min-height: 1em;
	font-size: var(--header-font-size);
}

.lokdialog_container.ui-dialog.ui-widget-content {
	padding: 0px;
	width: auto;
	height: auto;
	border: none;
	background-color: transparent;
	z-index: 1105;
}

.lokdialog_container.ui-dialog.ui-widget-content.jsdialog-container,
.lokdialog_container .ui-dialog-titlebar.ui-widget-header {
	background: var(--color-main-background) !important;
}

.lokdialog.ui-dialog-content.ui-widget-content {
	overflow: auto;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: var(--border-radius);
	border-bottom-right-radius: var(--border-radius);
}

#formulaautocompletePopup .lokdialog {
	padding: 0px;
}

.lokdialog.ui-dialog-content [Id$='Page'] {
	grid-column-gap: 24px;
}

.lokdialog_container:not(.jsdialog-container) .lokdialog.ui-dialog-content.ui-widget-content {
	padding: 0px;
}

.lokdialog_canvas {
	cursor: default;
	display: block; /* required to remove all borders around canvas element */
	caret-color: transparent; /* firefox shows a caret otherwise on top-left of the canvas */
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
}

.lokblink {
	animation: lokblink 150ms infinite alternate;
}

@keyframes lokblink {
	from { opacity: 1; }
	to { opacity: 0; }
}

.form-field-frame {
	border: 1px solid;
	position: absolute;
	height: 100%;
	border-radius: var(--border-radius);
}

.form-field-button {
	background-color: var(--color-background-lighter);
	position: absolute;
	border: 1px solid;
	height: 100%;
	box-sizing: content-box;
	padding: 0px;
	border-radius: var(--border-radius);
}

.form-field-button:hover, .form-field-button:focus {
	background-color: var(--color-background-dark);
	outline: 0;
}

.form-field-button-image {
	margin: 3px;
}

.drop-down-field-list {
	position: absolute;
	border: 1px solid;
	cursor: pointer;
	background: var(--color-background-lighter);
}

.drop-down-field-list-item {
	width: calc(100% - 10px);
	padding-left: 5px;
	padding-right: 5px;
}

.drop-down-field-list-item.selected {
	background-color: var(--color-primary-lighter);
}
.drop-down-field-list-item:hover {
	background-color: var(--color-primary);
}

.hyperlink-popup .leaflet-popup-content {
	white-space: nowrap;
	margin: 6px 8px;
	font-size: 0.875rem;
	line-height: 1;
	overflow: hidden;
}

.hyperlink-pop-up-container {
	padding: 6px;
	display: inline-block;
	line-height: 1;
	background-color: var(--color-background-lighter);
	width: 301px;
	overflow: visible !important;
}

.hyperlink-pop-up-container a {
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 188px;
	color: #0078A8;
	vertical-align: middle;
}

.hyperlink-popup-btn {
	display: inline-block;
	margin-left: 12px;
	vertical-align: middle;
	width: 26px;
	height: 26px;
}

.hyperlink-popup-btn:hover {
	background-color: var(--color-background-darker);
	border-radius: 50%;
}

.functiontooltip {
	white-space: nowrap;
	max-width: fit-content !important;
}

.leaflet-canvas-container .cell-cursor-data {
	border-style: solid; /* required for ie11 */
	display: none; /* prevent cypress failure */

	border-top-color: rgba(var(--doc-type), 1); /* color */
	border-top-width: 2px; /* weight */
}

.leaflet-canvas-container .selections-data {
	border-style: solid; /* required for ie11 */
	display: none; /* prevent cypress failure */

	background-color: rgba(var(--doc-type), 1); /* fill color */
	opacity: 0.25; /* opacity */
	border-top-width: 1px; /* weight */
}

.leaflet-canvas-container .splitters-data {
	border-style: solid; /* required for ie11 */
	display: none; /* prevent cypress failure */

	color: #b6b6b6; /* color */
	opacity: 1; /* opacity */
	border-top-width: 1px; /* weight */
}

#product-name {
	text-align: center;
	justify-content: center;
	flex-grow: 1;
}

#about-dialog {
	display: none;
}

#about-dialog-container, #about-dialog-header {
	display: flex;
	flex-flow: row nowrap;
	place-content: stretch flex-start;
	align-items: stretch;
}

#about-dialog-container .spacer {
	height: 54px;
}

#about-dialog-logos {
	flex-grow: 1;
	flex-flow: column nowrap;
	place-items: stretch;
}

#about-dialog-container *, #about-dialog-header * {
	display: flex;
	flex-wrap: wrap;
}

#integrator-logo {
	align-items: center;
	justify-content: center;
	flex-grow: 0;
}

#product-logo {
	align-items: center;
	justify-content: right;
	flex-grow: 1;
	background-repeat: no-repeat;
	background-size: 82px;
	background-position: right center;
}
#about-dialog-info-container {
	align-items: center;
	justify-content: flex-start;
	flex-grow: 1;
}
#about-dialog-info {
	flex-direction: column;
}

/* ovveride some jquery css for contentcontrol datepicker */
#datepicker .ui-state-highlight {
	background: var(--color-background-dark) !important;
	font-weight: bold !important;
}

#datepicker .ui-state-default {
	background: var(--color-main-background);
	font-weight: normal;
	color: var(--color-main-text);
	border: 1px solid var(--color-border-lighter);
}

#datepicker .ui-state-active {
	border: 1px solid var(--color-border-dark);
}

#datepicker .ui-state-hover {
	border: 1px solid var(--color-border-darker);
	background: var(--color-background-lighter);
}

#datepicker .ui-datepicker-next span {
	background-image: url('images/lc_nextrecord.svg');
}

#datepicker .ui-icon-circle-triangle-e {
	background-position: 0;
}

#datepicker .ui-datepicker-prev span {
	background-image: url('images/lc_prevrecord.svg');
}

#datepicker .ui-icon-circle-triangle-w {
	background-position: 0;
}

#mentionPopup {
	min-width: 100px;
}

#mentionPopup .lokdialog.ui-dialog-content.ui-widget-content {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100px;
	min-width: 100px;
}

#mentionPopup .ui-dialog-content {
	padding: 0;
}

.username-pop-up {
	min-width: 110px;
	padding-inline: 8px;
	height: 45px;
	position: absolute;
	text-align: center;
	z-index: 11;
	font-family: var(--docs-font);
	font-size: var(--default-font-size);
	border-radius: var(--border-radius-large);
	box-shadow: 0 0 2px 1px var(--color-box-shadow);
}

.username-pop-up p {
	line-height: 45px;
	padding: 0;
	margin: auto;
	color: white;
}

.username-pop-up .arrow-div {
	width: 20px;
	height: 20px;
	transform: rotate(45deg);
	display: inline-block;
	position: relative;
	top: calc(-10px - var(--border-radius));
	border-radius: var(--border-radius);
}

.hyperlink-pop-up-container .arrow-div {
	width: 20px;
	height: 20px;
	transform: rotate(45deg);
	display: inline-block;
	position: absolute;
	top: calc(100% - 10px);
	background-color: inherit;
	border-right: 1px solid var(--color-border-darker);
	border-bottom: 1px solid var(--color-border-darker);
}

.hyperlink-pop-up-container .arrow-div.reverse {
	top: -11px;
	border: none;
	border-top: 1px solid var(--color-border-darker);
	border-left: 1px solid var(--color-border-darker);
}

#hyperlink-pop-up-preview:not(.no-preview) {
	text-align: center;
}

#hyperlink-pop-up-preview img {
	max-height: 150px;
	max-width: 250px;
}

#hyperlink-pop-up-preview p {
	color: var(--color-main-text);
	text-overflow: ellipsis;
	overflow: hidden;
	font-size: 14px;
}

.prevent-select {
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

[contenteditable] { /* in old Safari, omitting this prevents editing */
	-webkit-user-select: text;
	user-select: text;
}

.progress-bar {
	width: 100%;
	height: 2px;
	border: none;
	background-color: var(--color-background-dark);
	overflow: hidden;
	position: relative;
	display: none;
	margin-block-end: -7px;
	appearance: none;
}

.progress-bar::-webkit-progress-bar {
	background-color: transparent;
}

.progress-bar::-webkit-progress-value {
	background-color: var(--color-main-text);
}

.progress-bar::-moz-progress-bar {
	background-color: var(--color-main-text);
}

#slideshow-cypress-iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 1000000;
	background-color: black;
}

.table-add-col-row-marker {
	border-radius: 4px;
	background-color: var(--color-insert-marker-background) !important;
	box-shadow: 1px var(--color-box-shadow);
	background: url('images/insert-plus-marker.svg') no-repeat center center /20px;
}

.table-add-col-row-marker.hovered {
	cursor: pointer;
	background-color: var(--color-insert-marker-background-dark) !important;
	background: url('images/insert-plus-marker-hover.svg') no-repeat center center /20px;
}
