/*! Mix-IT© 2015-2024 EMIAGIC, Corp. | All rights reserved | Tous droits réservés | Author: Jimmy Paquereau (jimmy.paquereau@emiagic.com)  | Contributors: Jimmy Paquereau, Anthony PORTALES | This file is part of Mix-IT© framework. For the full copyright and license information, please view the "license" file that was distributed with this source code and EMIAGIC general terms and conditions: https://www.emiagic.com/pdf/cgv.pdf. */

/* === Components === */

/* CodeMirror */

.CodeMirror{ height: 100% !important; width: 100% !important; flex-grow: 1 !important; }
.CodeMirror{ background: var(--code-background); }
.CodeMirror-linenumbers{ background: var(--code-linenumbers) !important; padding: 0em .25em; }
.CodeMirror-linenumber{ color: var(--code-linenumber)  !important; }
.CodeMirror-lines{ padding: .25em 0em !important; }
.CodeMirror-line{ padding: 0em .5em !important; }
.CodeMirror pre{ color: var(--code-color); }
.CodeMirror .cm-keyword, .CodeMirror .cm-qualifier, .CodeMirror .cm-builtin, .CodeMirror .cm-tag{ color: var(--code-keyword); }
.CodeMirror .cm-variable-3{ color: var(--code-pseudo); }
.CodeMirror .cm-meta{ color: var(--code-meta); }
.CodeMirror .cm-def{ color: var(--code-def); }
.CodeMirror .cm-variable-2, .CodeMirror .cm-property{ color: var(--code-prop); }
.CodeMirror .cm-variable, .CodeMirror .cm-atom, .CodeMirror .cm-link{ color: var(--code-value); }
.CodeMirror .cm-number{ color: var(--code-number); }
.CodeMirror .cm-string, .CodeMirror .cm-string-2{ color: var(--code-string); }
.CodeMirror .cm-comment { color: var(--code-comment); }
.CodeMirror .cm-error, .CodeMirror .cm-invalidchar{ color: var(--code-error); }

/* MathJax */

.MathJax_Display{ margin: 0 !important; overflow-x: auto; overflow-y: hidden; }

/* Tabend (tabable behavior) */

.sotab{ position: fixed !important; opacity: 0!important; height: 0!important; width:0!important; }
.eotab{ position: fixed !important; opacity: 0!important; height: 0!important; width:0!important; }

/* Checkbox style => when field type "checkbox" is applied on DIV or SPAN element */

.checkbox{ 
	display: inline-flex !important; align-items: center; justify-content: center; 
	height: 1.5em; width: 1.5em; flex: 0 0 1.5em; font-weight: bold; 
	background: var(--unchecked-background); border: 1px solid var(--unchecked-color);
}
.checkbox:before{ 
	content: "✓"; opacity: 0; display: block; float: left; height: 100%; width: 100%; 
	line-height: 1.5em; text-align: center; color: var(--unchecked-color);
}
.checkbox:hover:before{ opacity: 1; }
.checkbox[checked]{ background: var(--checked-background); border: 1px solid var(--checked-color); }
.checkbox[checked]:before{ color: var(--checked-color); opacity: 1; }
.checkbox[disabled]{ cursor: not-allowed; }
.checkbox:focus{ border: none; }
.checkbox[tabindex="-1"]:focus{ border: 1px solid var(--checked-color); }

/* Toggle style => when field type "checkbox" is applied on DIV or SPAN element */

.toggle{ 
	display: inline-flex !important; align-items: center; height: 1.5em; width: 2.5em; overflow: hidden; 
	font-weight: bold; padding: 3px; border-radius: .75em; 
	background: var(--unchecked-color);
}
.toggle:before{ 
	content: ""; display: block; height: 100%; width: calc(1.5em - 6px); flex: 0 0 calc(1.5em - 6px); border-radius: calc(.75em - 3px); 
	margin-left: 0; text-align: center; box-sizing: border-box; transition: margin .25s; 
	background: var(--unchecked-background);
}
.toggle[checked]{ background: var(--checked-color); }
.toggle[checked]:before{ margin-left: calc(1.5em - 9px); background: var(--checked-background); }
.toggle[disabled]{ cursor: not-allowed; }

/* Radio style => when field type "radio" is applied on DIV or SPAN element */

.radio{ 
	display: inline-flex !important; align-items: center; justify-content: center; height: 1.5em; 
	width: 1.5em; flex: 0 0 1.5em; border-radius: 50%; padding: 0; text-align: center; 
	background: var(--unchecked-background); border: 1px solid var(--unchecked-color); 
}
.radio:before{ 
	content: ""; opacity: 0; display: block; height: .75em; width: .75em; border-radius: 50%; 
	background: var(--unchecked-color); 
}
.radio:hover:before{ opacity: 1; }
.radio[checked]{ background: var(--checked-background); border: 1px solid var(--checked-color); }
.radio[checked]:before{ background: var(--checked-color); opacity: 1; }
.radio[disabled]{ cursor: not-allowed; }
.radio:focus{ border: none; }
.radio[tabindex="-1"]:focus{ border: 1px solid var(--checked-color); }

/* List of input style */

.fieldlist{ border: none; margin: 0; padding: 0; }
.fieldlist.horizontal>.fieldlist-input{ margin-right: .5em; }
.fieldlist.horizontal>.fieldlist-input:last-child{ margin-right: .0; }
.fieldlist.vertical>.fieldlist-input{ display: block; margin-bottom: .5em; }
.fieldlist.vertical>.fieldlist-input:last-child{ margin-bottom: .0; }

/* List of checkboxes style */

.checklist-checkbox{ margin-right: .5em; }
.checklist.horizontal .checklist-label{ margin-right: .5em; }
.checklist.horizontal .checklist-label:last-child{ margin-right: .0; }
.checklist.vertical .checklist-label{ display: block; margin-bottom: .5em; }
.checklist.vertical .checklist-label:last-child{ margin-bottom: .0; }

/* List of radios style */

.radiolist-radio{ margin-right: .5em; }
.radiolist.horizontal .radiolist-label{ margin-left: .5em; }
.radiolist.horizontal .radiolist-label:first-child{ margin-left: .0; }
.radiolist.vertical .radiolist-label{ display: block; margin-bottom: .5em; }
.radiolist.vertical .radiolist-label:last-child{ margin-bottom: .0; }

/* styling for unsupported navigator */

.mi-unsupported{ position: absolute; top: 10%; left: 25%; width: 50%; background: #f1f2f3; border: 1px solid #ccc; padding: 1.5em; }
.mi-unsupported>.dl>div{ background: #fff; padding: .5em; text-align: center; }
.mi-unsupported>.dl>div>img{ margin-right: .5em; }
.mi-unsupported>.dl>div>*{ display: inline-block; vertical-align: middle; }
.mi-unsupported>.dl a{ color: black; text-decoration: none; font-size: 1.05em; }
.mi-unsupported>.dl a:hover{ text-decoration: underline; }

/* === Mi' styling === */

/* styling for mi-view and mi-app */

.mi-view:before, .mi-view:after, .mi-app:before, .mi-app:after{ 
	content: ""; position: absolute; top: 0; left: 0; height: 0; width: 0; overflow: hidden; 
}
.mi-view:before, .mi-app:before{ z-index: 100; background: var(--loading-background); }
.mi-view:after, .mi-app:after{ z-index: 100; background: var(--loading-image); }
.mi-view-loading, .mi-app-loading{ position: relative; }
.mi-view-loading:before, .mi-view-loading:after, .mi-app-loading:before, .mi-app-loading:after{ 
	height: 100%; width: 100%; 
}
.mi-view-loading .mi-view-loading:before, .mi-view-loading .mi-view-loading:after,
.mi-app-loading .mi-view-loading:before, .mi-app-loading .mi-view-loading:after{ 
	height: 0; width: 0; 
}

/* styling for mi-mobile */

.mi-mobile ::-webkit-scrollbar{ width: 0px !important; height: 0px !important; }
.mi-mobile{ height: 100%; width: 100%; user-select: none; }
.mi-mobile{ display: flex; align-items: center; justify-content: center; font-size: 11.75px; }
.mi-mobile{ background: url(/core/img/phone.png) no-repeat center center / 384px 756px; }
.mi-mobile-body{ height: 740px; width: 360px; border-radius: 33px; overflow: auto; position: relative; }

/* styling for mi-dialog */

.mi-dialog{ 
	position: fixed; top: 0; left: 0; z-index: 10000; width: 100%; height: 100%; 
	display: flex; border: 0; overflow: hidden; background: var(--window-overlay);
}
.mi-dialog-wrap{ 
	display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; 
	overflow: hidden; padding: 1em; 
}
.mi-dialog-window{ 
	margin: auto; text-align: left; width: auto; display: flex; flex-direction: column; 
	max-width: 100%; max-height: calc(100% - 2em); overflow: hidden; 
	background: var(--window-background); border: var(--window-border); box-shadow: var(--window-shadow);
}
.mi-dialog-header{ 
	display: flex; flex-direction: row; align-items: center; width: 100%; position: relative; z-index: 10000; 
	height: var(--window-header-height); flex: 0 0 var(--window-header-height); 
	padding: 0em; padding-left: var(--window-header-padding);
	background: var(--window-header-background); border-bottom: var(--window-border);
	box-shadow: var(--window-header-shadow); color: var(--window-header-color);
}
.mi-dialog-title{ 
	flex-grow: 1; display: flex; align-items: center; justify-content: flex-start;
	font-size: var(--window-header-size); font-weight: var(--window-header-weight); 
}
.mi-dialog-title>*{ margin-left: var(--window-header-padding); }
.mi-dialog-title>*:first-child{ margin-left: 0; }
.mi-dialog-controls{ 
	display: flex; white-space: nowrap; justify-content: flex-end; 
	height: var(--window-header-height); padding: 1px;
}
.mi-dialog-control{ 
	cursor: pointer; background-repeat: no-repeat; background-position: center center;
	height: 100%; width: var(--window-header-height); flex: 0 0 var(--window-header-height);
	background-size: var(--window-header-control); filter: var(--window-header-filter); 
}
.mi-dialog-body{ flex-grow: 1; overflow-y: auto; position: relative; display: flex; flex-direction: column; }
.mi-dialog-body:before, .mi-dialog-body:after{ content: ""; position: absolute; top: 0; left: 0; height: 0; width: 0; overflow: hidden; }
.mi-dialog-body:before{ z-index: 10000; background: var(--loading-background); }
.mi-dialog-body:after{ z-index: 10000; background: var(--loading-image); }
.mi-dialog-loading{ position: relative; }
.mi-dialog-loading:before, .mi-dialog-loading:after{ height: 100%; width: 100%; }

.mi-dialog-fullscreen .mi-dialog-window{ max-width: 100%; max-height: 100%; }

.mi-mobile .mi-dialog-window{ max-width: 100% !important; max-height: 100% !important; width: 100%; }

@media (max-width: 1200px){ 
	.mi-dialog-window{ max-width: 100% !important; max-height: 100% !important; width: 100%; }
}

/* styling for mi-side */

.mi-side{ 
	position: fixed; top: 0; left: 0; z-index: 10000; width: 100%; height: 100%; 
	display: flex; border: 0; overflow: hidden; background: none;
}
.mi-side-wrap{ 
	display: flex; width: 100%; height: 100%; align-items: center; justify-content: flex-end; 
	overflow: hidden;
}
.mi-side-window{ 
	margin: 0; text-align: left; width: auto; display: flex; flex-direction: column; 
	max-width: 100%; max-height: 100%; height: 100%; overflow: hidden; 
	background: var(--window-background); border: var(--window-border); box-shadow: var(--window-light);
}
.mi-side-header{ 
	display: flex; flex-direction: row; align-items: center; width: 100%; position: relative; z-index: 10000; 
	height: var(--window-header-height); flex: 0 0 var(--window-header-height); 
	padding: 0em; padding-left: var(--window-header-padding);
	background: var(--window-header-background); border-bottom: var(--window-border);
	box-shadow: var(--window-header-shadow); color: var(--window-header-color);
}
.mi-side-title{ 
	flex-grow: 1; display: flex; align-items: center; justify-content: flex-start;
	font-size: var(--window-header-size); font-weight: var(--window-header-weight); 
}
.mi-side-title>*{ margin-left: var(--window-header-padding); }
.mi-side-title>*:first-child{ margin-left: 0; }
.mi-side-controls{ 
	display: flex; white-space: nowrap; justify-content: flex-end; 
	height: var(--window-header-height); padding: 1px;
}
.mi-side-control{ 
	cursor: pointer; background-repeat: no-repeat; background-position: center center;
	height: 100%; width: var(--window-header-height); flex: 0 0 var(--window-header-height);
	background-size: var(--window-header-control); filter: var(--window-header-filter); 
}
.mi-side-body{ flex-grow: 1; overflow-y: auto; position: relative; display: flex; flex-direction: column; }
.mi-side-body:before, .mi-side-body:after{ content: ""; position: absolute; top: 0; left: 0; height: 0; width: 0; overflow: hidden; }
.mi-side-body:before{ z-index: 10000; background: var(--loading-background); }
.mi-side-body:after{ z-index: 10000; background: var(--loading-image); }
.mi-side-loading{ position: relative; }
.mi-side-loading:before, .mi-side-loading:after{ height: 100%; width: 100%; }

.mi-mobile .mi-side-window{ max-width: calc(100% - 2em) !important; }

@media (max-width: 1200px){ 
	.mi-side-window{ width: calc(100% - 2em) !important; }
}

/* styling for mi-confirm */

.mi-confirm{ 
	position: fixed; top: 0; left: 0; z-index: 10000; width: 100%; height: 100%; 
	display: flex; border: 0; overflow: hidden; background: var(--window-overlay);
	
}
.mi-confirm-wrap{ 
	display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; 
	overflow: hidden; padding: 1em; 
}
.mi-confirm-window{ 
	margin: auto; text-align: left; width: auto; display: flex; flex-direction: column; 
	max-width: 40em; overflow: hidden; background: var(--window-background); border: var(--window-border); 
	box-shadow: var(--window-shadow);
	
}
.mi-confirm-header{ 
	display: flex; flex-direction: row; align-items: center; width: 100%; position: relative; z-index: 10000; 
	height: var(--window-header-height); flex: 0 0 var(--window-header-height); padding: 0em var(--window-header-padding);
	background: var(--window-header-background); border-bottom: var(--window-border);
	box-shadow: var(--window-header-shadow); color: var(--window-header-color);
}
.mi-confirm-title{ 
	flex-grow: 1; font-size: var(--window-header-size); font-weight: var(--window-header-weight);
}
.mi-confirm-body{ padding: 1em 1.5em; color: var(--window-color); }
.mi-confirm-content{ display: flex; align-items: center; min-height: 2em; }
.mi-confirm-icon{ 
	height: 2em; width: 2em; flex: 0 0 2em; margin-right: 1em; 
	background-repeat: no-repeat; background-size: contain; background-position: left center; 
}
.mi-confirm-text{ flex-grow: 1; text-align: left; hyphens: auto; }
.mi-confirm-buttons{ padding: 0 1em 1em 1em; text-align: center; display: flex; align-items: center; justify-content: center; }
.mi-confirm-button{ margin-right: .5em; cursor: pointer; }
.mi-confirm-button:last-child{ margin-right: 0; }

.mi-mobile .mi-confirm-window{ max-width: 100%; }

@media (max-width: 1200px){ 
	.mi-confirm-window{ max-width: 100%; }
}

/* styling for mi-notify */

.mi-notify{ 
	position: fixed; top: 0; left: 0; z-index: 10000; width: 100%; height: 100%; 
	display: flex; border: 0; overflow: hidden; background: var(--window-overlay);
}
.mi-notify-wrap{ 
	display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; 
	overflow: hidden; padding: 1em; 
}
.mi-notify-window{ 
	margin: auto; text-align: center; width: auto; display: flex; flex-direction: column; 
	padding: 1.5em 3em; overflow: hidden; align-items: center; 
	background: var(--window-background); border: var(--window-border); box-shadow: var(--window-shadow);
	color: var(--window-color);
}
.mi-notify-icon{ 
	margin: auto; height: 4em; width: 4em; margin-bottom: 1em; 
	background-repeat: no-repeat; background-size: contain; background-position: left center; 
}
.mi-notify-title{ font-size: 1.5em; margin-bottom: .67em; font-weight: bold; }
.mi-notify-icon + .mi-notify-title{ margin-top: -.33em; }
.mi-notify-title-success{ color: var(--success-color); }
.mi-notify-title-error{ color: var(--error-color); }
.mi-notify-title-info{ color: var(--info-color); }
.mi-notify-title-warning{ color: var(--warning-color); }
.mi-notify-text{ text-align: center; max-height: 50vh; width: 100%; overflow-y: auto; }
.mi-notify-list{ text-align: left; padding-left: 1.25em; max-height: 50vh; max-width: 100%; overflow-y: auto; }
.mi-notify-item{ display: list-item; }
.mi-notify-report{ max-height: 60vh; overflow-y: auto; text-align: left; margin-left: -1.5em; width: calc(100% + 3em); }
.mi-notify-signal{ 
	padding: .5em .5em .5em 2.5em; margin-bottom: 1px; 
	background-repeat: no-repeat; background-position: .5em center; background-size: 1.5em; 
}
.mi-notify-signal:last-child{ margin-bottom: none; }
.mi-notify-signal-success{ background-color: var(--success-background); color: var(--success-color); }
.mi-notify-signal-error{ background-color: var(--error-background); color: var(--error-color); }
.mi-notify-signal-info{ background-color: var(--info-background); color: var(--info-color); }
.mi-notify-signal-warning{ background-color: var(--warning-background); color: var(--warning-color); }
.mi-notify-close{ width: 6em; margin-top: 1em; cursor: pointer; }

.mi-notify-server-message{ font-weight: bold; margin-bottom: .5em; }
.mi-notify-server-block{ text-align: left; }
.mi-notify-server-label{ display: block; margin-bottom: .25em; }
.mi-notify-server-trace{ max-height: 15em; overflow-y: auto; background: #ececec; padding: 1em; white-space: pre; }

.mi-mobile .mi-notify-window{ max-width: 100%; }

@media (max-width: 1200px){ 
	.mi-notify-window{ max-width: 100%; }
}

/* styling for mi-progress dialog  */

.mi-progress-dialog{ 
	position: fixed; top: 0; left: 0; z-index: 10000; width: 100%; height: 100%; 
	display: flex; border: 0; overflow: hidden; background: var(--window-overlay);
}
.mi-progress-wrap{ 
	display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; 
	overflow: hidden; padding: 2em; 
}
.mi-progress-window{ 
	margin: auto; text-align: left; width: auto; display: flex; flex-direction: column; 
	max-width: 40em; min-width: 22em; overflow: hidden; background: var(--window-background); 
	border: var(--window-border); box-shadow: var(--window-shadow);
}
.mi-progress-header{ 
	display: flex; flex-direction: row; align-items: center; width: 100%; position: relative; z-index: 10000; 
	height: var(--window-header-height); flex: 0 0 var(--window-header-height); padding: 0em var(--window-header-padding);
	background: var(--window-header-background); border-bottom: var(--window-border);
	box-shadow: var(--window-header-shadow); color: var(--window-header-color);
}
.mi-progress-title{ 
	flex-grow: 1; font-size: var(--window-header-size); font-weight: var(--window-header-weight);
}
.mi-progress-body{ 
	padding: 1em; display: flex; flex-direction: column; align-items: center; color: var(--window-color);
}
.mi-progress-caption{ 
	text-align: center; width: 100%; margin-bottom: .25em; line-height: 1em;
	font-size: 1.25em; font-weight: bold; 
}
.mi-progress-text{ 
	text-align: center; width: 100%; margin-bottom: .5em; line-height: 1em;
	overflow: hidden; white-space: nowrap; text-overflow: ellipsis; 
}
.mi-progress-dialog .mi-progress{ margin-bottom: .5em; }
.mi-progress-detail{ 
	width: 100%; text-align: center; margin-bottom: .5em; padding: .25em; 
	overflow: hidden; white-space: nowrap; text-overflow: ellipsis; 
	background: #ececec; font-weight: bold; 
}
.mi-progress-full{ white-space: break-spaces; }
@keyframes mi-progress{ 0% { left: 0%; } 100%{ left: -100%; } }
.mi-progress-button{ cursor: pointer; }

.mi-mobile .mi-progress-window{ max-width: 100%; }

@media (max-width: 1200px){ 
	.mi-progress-window{ max-width: 100%; }
}

/* Field of type "progress" (see also mi-progress dialog) */

.mi-progress{ 
	width: 100%; height: var(--input-height); overflow: hidden; 
	background: var(--progress-background); border: var(--progress-border); 
}
.mi-progress-bar{ height: 100%; width: 100%; position: relative; overflow: hidden; }
.mi-progress-gauge{ 
	position: absolute; top: 0px; left: 0px; height: 100%; width: 0px; z-index: 1;  background: var(--progress-gauge); 
}
.mi-progress-infinite{ width: 200%; left: 0%; animation: 5s linear 0s infinite mi-progress; background: var(--progress-infinite); }
.mi-progress-value{ 
	position: absolute; top: 0px; left: 0px; height: 100%; width: 100%; z-index: 2; 
	display: flex; flex-direction: column; align-items: center; justify-content: center; 
	line-height: 1em; padding: 0em .5em; color: var(--progress-color); text-shadow: 0px 0px 3px #000; 
}

/* styling for mi-message */

.mi-message-text{ padding: .5em .5em .5em 2em; text-align: left; margin-bottom: 1px; position: relative; }
.mi-message-text:last-child{ margin-bottom: 0px; }
.mi-message-text{ background-repeat: no-repeat; background-position: .5em center; background-size: 1em; }
.mi-message-text-success{ background-color: var(--success-background); color: var(--success-color); }
.mi-message-text-error{ background-color: var(--error-background); color: var(--error-color); }
.mi-message-text-info{ background-color: var(--info-background); color: var(--info-color); }
.mi-message-text-warning{ background-color: var(--warning-background); color: var(--warning-color); }
.mi-message-close{ position: absolute; right: .5em; top: .5em; height: 1em; width: 1em; cursor: pointer; }
.mi-message-close{ filter: grayscale(1); }

.mi-message-main{ font-weight: bold; }
.mi-message-items{ padding-left: 1em; }
.mi-message-item{ display: list-item; list-style: disc; }

.mi-message-field-success{ border: 1px solid var(--success-color); }
.mi-message-field-error{ border: 1px solid var(--error-color); }
.mi-message-field-info{ border: 1px solid var(--info-color); }
.mi-message-field-warning{ border: 1px solid var(--warning-color); }
.mi-message-inplace{ position: fixed; padding: .5em; }
.mi-message-tooltip{ display: none; margin-top: .5em; max-width: 35em; max-height: 15em; overflow-y: auto; }
.mi-message-tooltip{ background: #fff; box-shadow: 1px 1px 3px 0px #dcdcdc; }
.mi-message-inplace:hover .mi-message-tooltip{ display: block; }
.mi-message-icon{ height: 1em; min-width: 1em; width: 100%; cursor: pointer; }
.mi-message-icon{ background-repeat: no-repeat; background-position: right center; background-size: contain; }

/* styling for mi-tooltip */

.mi-tooltip{ position: fixed; z-index: 10000; text-align: left; font-weight: normal; margin: .5em 0em; }
.mi-tooltip{ color: initial; background: #fff; box-shadow: 0px 0px 3px #aaa; padding: 1em; }
.mi-tooltip.xxxl{ width: 75em; }
.mi-tooltip.xxl{ width: 60em; }
.mi-tooltip.xl{ width: 50em; }
.mi-tooltip.l{ width: 40em; }
.mi-tooltip.m{ width: 30em; }
.mi-tooltip.s{ width: 25em; }
.mi-tooltip.xs{ width: 20em; }
.mi-tooltip.xxs{ width: 15em; }

/* styling for mi-tab */

.mi-tab{ width: 100%; height: 100%; display: flex; flex-direction: column; }
.mi-tab{ background: #fff; }
.mi-tab-buttons{ width: 100%; padding: .5em .5em 0em .5em; overflow-y: hidden; overflow-x: auto; }
.mi-tab-buttons{ display: flex; flex: 0 0 2.75em; }
.mi-tab-buttons{ background: #dcdcdc; }
.mi-tab-button{ padding: .5em; padding-left: 1em; padding-right: 1em; display: inline-block; margin-right: .5em; }
.mi-tab-button{ background: #ececec; color: #555; transition: all .5s; cursor: pointer; user-select: none; }
.mi-tab-button:hover, .mi-tab-button:focus{ background: #dcdcdc; color: #222; font-weight: bold; }
.mi-tab-button.selected{ background: #fff; color: #000; }
.mi-tab-button[disabled]{ background: #000; color: #dcdcdc; }
.mi-tab-views{ flex-grow: 1; overflow: hidden; height: 0em; }
.mi-tab-view{ display: block; height: 100%; width: 100%; overflow-y: auto; }

.mi-tab.vertical{ display: table; }
.mi-tab.vertical .mi-tab-buttons{ display: table-cell; height: 100%; width: 0%; vertical-align: top; }
.mi-tab.vertical .mi-tab-buttons{ padding: .5em; padding-right: 0; overflow-x: hidden; overflow-y: auto; }
.mi-tab.vertical .mi-tab-button{ display: block; width: 100%; white-space: nowrap; margin-right: 0; }
.mi-tab.vertical .mi-tab-button{ border: none; border-bottom: 1px solid #fff; }
.mi-tab.vertical .mi-tab-button:last-child{ border-bottom: none; }
.mi-tab.vertical .mi-tab-views{ display: table-cell; width: 100%; height: 100%; vertical-align: top; }
.mi-tab.vertical .mi-tab-views{ padding: 0; padding-left: .25em; }
.mi-tab.vertical .mi-tab-view{ width: 100%; height: 100%; }

/* styling for mi-paging */

.mi-paging{ display: flex; align-items: center; justify-content: center; }
.mi-paging-bt{ width: 3em; display: flex; align-items: center; justify-content: center; line-height: 1em; }
.mi-paging-bt:before, .mi-paging-bt:after{ margin: 0; }
.mi-paging-input{ height: 2.25em; display: flex; align-items: center; }
.mi-paging-input{ border: var(--input-border);  background: var(--input-background); border-right: none; border-left: none; }
.mi-paging-number{ border: none; width: 2.5em; height: 100%; text-align: center; }
.mi-paging-number:hover, .mi-paging-number:focus{ border: none; }
.mi-paging-number:focus{ z-index: 1; }
.mi-paging-sep{ display: flex; align-items: center; justify-content: center; height: 100%; }
.mi-paging-count{display: flex; align-items: center; justify-content: center; height: 100%; min-width: 2.5em; padding: 0em var(--input-padding); }

/* styling for mi-table */
.mi-table{ width: 100%; height: 100%; background: #dcdcdc; table-layout: fixed; border-collapse: collapse; border-spacing: 0; }
.mi-table .label-rc, .mi-table .label-r, .mi-table .label-c{ background: #ddd; color: #555; font-weight: normal; }
.mi-table .label-r{ width: .1%; }
.mi-table th, .mi-table td{ border-right: solid 1px #ccc; border-bottom: 1px solid #dcdcdc; background: #fff; padding: 0; overflow: hidden; }
.mi-table th>div, .mi-table td>div, .mi-table th>input, .mi-table td>input{ width: 100%; height: 100%; }
.mi-table th{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-table .drop, .mi-table .insert{ margin: 2px; margin-top: 1px; background: #ddd; border: 1px solid #dcdcdc; color: #aaa; padding: 0; text-align: center; height: 1.25em; width: 1.25em; border-radius: 0; display: inline-block; }
.mi-table .drop:hover, .mi-table .insert:hover{ background: #ccc; color: #000; }
.mi-table .insert.left{ margin-right: .125em; } .mi-table .drop, .mi-table .insert.right{ margin-left: .125em; }

/* styling for mi-context */

.mi-context{ display: flex; position: fixed; z-index: 10000; align-items: center; justify-content: center; }
.mi-context-window{ color: var(--context-color); }
.mi-context-items{ 
		min-width: 12em; user-select: none; background: var(--context-background);  
		box-shadow: var(--context-shadow); border: var(--context-border); 
}
.mi-context-item{ width: 100%; display: flex; border-bottom: var(--context-separator); position: relative; cursor: pointer; }
.mi-context-item:last-child{ border-bottom: none; }
.mi-context-item-side{ 
	display: flex; align-items: center; justify-content: center; background: var(--context-side);
	height: var(--input-height); width: var(--input-height); flex: 0 0 var(--input-height); 
}
.mi-context-item-icon{ height: 1.5em; width: 1.5em; flex: 0 0 1.5em; margin: auto; }
.mi-context-item-separator{ height: 1px; background: #555; }
.mi-context-item-text{	
	flex-grow: 1; text-align: left; padding: 0em var(--input-padding); white-space: nowrap;
	display: flex; align-items: center; justify-content: flex-start;
}
.mi-context-item-right{ 
	display: flex; align-items: center; justify-content: center; 
	height: var(--input-height); width: var(--input-height); flex: 0 0 var(--input-height); 
}
.mi-context-item:hover>.mi-context-item-side{ background: var(--context-over-side); }
.mi-context-item:focus>.mi-context-item-side{ background: var(--context-over-side); }
.mi-context-item:hover{ background: var(--context-over-background); }
.mi-context-item:focus{ z-index: 1; background: var(--context-over-background); }
.mi-context-item:focus>.mi-context-item-text{ font-weight: bold; }
.mi-context-item .mi-context-items{ position: absolute; top: 0; left: calc(100% + .25em); }
.mi-context-item .mi-context-items.left{ top: 0; left: auto; right: calc(100% + .25em); }

@media (max-width: 1200px){
	.mi-context{ 
		height: 100%; width: 100%; background: var(--window-overlay); 
		top: 0 !important; left: 0 !important;
	}
}

/* styling for mi-scroll */ 

.mi-scroll{ user-select: none; cursor: grabbing; }
.mi-scroll *{ user-select: none; cursor: grabbing; }

/* Styling for mi-social (shared buttons => social networks, default icons) */

.mi-social-button{ display: inline-block; vertical-align: middle; }
.mi-social-count{ display: inline-block; vertical-align: middle; height: 2em; padding: .375em; }
.mi-social-count{ font-weight: bold; border: solid 1px #dcdcdc; background: #ececec; }
.mi-social-icon{ display: inline-block; vertical-align: middle; width: 2.5em; height: 2.5em; cursor: pointer; }

.mi-social-list{ display: inline-block; position: relative; text-align: center; }
.mi-social-list .mi-social-button{ margin-right: .5em; }
.mi-social-list .mi-social-button:last-child{ margin-right: 0; }
.mi-social-list .mi-social-count{ height: 2.5em; line-height: 2.5em; padding: 0 1em; margin: 0 .5em 0 0; }
.mi-social-list .mi-social-count:before{ display: block; content: "partage(s)"; float: right; margin-left: .25em; }
.mi-social-button + .mi-social-count{ margin: 0; }
.mi-social-button .mi-social-count{ margin: -.5em .25em 0 0; }
.mi-social-icon + .mi-social-count{ margin: -.5em 0 0 .25em; }

/* styling for mi-search */

.mi-search{ position: fixed; z-index: 10000; margin-top: -1px; }
.mi-search{ background: #fff; border: solid 1px #dcdcdc; }
.mi-search-items{ padding: .5em; }
.mi-search-item{ cursor: default; text-align: left; padding: .5em; cursor: pointer; }
.mi-search-item{ border-bottom: 1px dotted #dcdcdc; }
.mi-search-item:last-child{ border-bottom: none; }
.mi-search-item.hover{ background: #000; color: #fff; }

/* styling for mi-cookie */

.mi-cookie{ display: none; position: fixed; z-index: 1000; bottom: 0; left: 0; width: 100%; }
.mi-cookie{ border-collapse: separate; border-spacing: .5em; }
.mi-cookie{ background: #222; color: #fff; }
.mi-cookie.on{ display: table; }
.mi-cookie>*{ display: table-cell; vertical-align: middle; }
.mi-cookie-message{ text-align: justify; width: 100%; }
.mi-cookie-button{ display: inline-block; padding: .5em; padding-left: 1em; padding-right: 1em; white-space: nowrap; }
.mi-cookie-button{ text-decoration: none; font-weight: bold; }
.mi-cookie-button{ background: #222; color: #ececec; border: solid 1px #ececec; text-transform: uppercase; }
.mi-cookie-button{ transition: all .5s; cursor: pointer; }
.mi-cookie-button:visited{ text-decoration: none; }
.mi-cookie-button:hover{ border: solid 1px #dcdcdc; background: #ececec; color: #555; }

@media (max-width: 1200px){
	.mi-cookie{ text-align: center; display: block; }
	.mi-cookie>*{ display: inline; }
	.mi-cookie-message{ display: block; margin-bottom: .5em; }
	.mi-cookie-button{ margin-left: .5em; margin-right: .5em; }
}

/* styling for mi-youtube, mi-video and mi-sound */

.mi-youtube{ overflow: hidden; pointer-events: none; text-align: center; background: #000; }
.mi-youtube-click{ pointer-events: inherit; }
.mi-youtube-iframe{ height: 100%; width: 100%; margin: auto; outline: none; border: none; }

.mi-video{ overflow: hidden; pointer-events: none; text-align: center; background: #000; }
.mi-video-click{ pointer-events: inherit; }
.mi-video video{ height: 100%; width: 100%; margin: auto; outline: none; border: none; }

.mi-audio{ text-align: center; }
.mi-audio audio{ height: 3em; width: 100%; min-width: 18em; margin: auto; }

/* styling for mi-console */

.mi-console .content-holder{ background: #000; padding: 1em; overflow-y: scroll; }

/* styling for mi-slides */

.mi-slides{ width: 100%; height: 100%; overflow: hidden; background: #dcdcdc; }
.mi-slides-container{ height: 100%; width: 100%; overflow: hidden; position: relative; }
.mi-slides-items{ display: flex; }
.mi-slides-item{ overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mi-slides-item>*{ white-space: normal; }

.mi-slides-vertical{ height: auto; width: 100%; flex-direction: column; position: relative; }
.mi-slides-item-vertical{ width: 100%; }

.mi-slides-horizontal{ height: 100%; width: auto; }
.mi-slides-item-horizontal{ height: 100%; }

.mi-slides-arrow{ position: absolute; height: 3em; width: 3em; cursor: pointer; z-index: 1; }
.mi-slides-arrow{ background: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-slides-arrow{ display: flex; align-items: center; justify-content: center; }
.mi-slides-top{ top: 0em; left: 50%; margin-left: -1.5em; }
.mi-slides-right{ top: 50%; right: 0em; margin-top: -1.5em; }
.mi-slides-bottom{ bottom: 0em; left: 50%; margin-left: -1.5em; }
.mi-slides-left{ top: 50%; left: 0em; margin-top: -1.5em; }

.mi-slides-icon{ height: 1.5em; width: 1.5em; flex: 0 0 1.5em; filter: grayscale(1); }

.mi-slides-bullets{ position: absolute; left: 0; bottom: 0; white-space: nowrap; }
.mi-slides-bullets{ display: table; width: 100%; }
.mi-slides-bullets>div{ display: table-cell; vertical-align: middle; text-align: center; padding: .5em; }
.mi-slides-bullets-top{ height: auto; width: 100%; left: 0; right: auto; top: 0; bottom: auto; }
.mi-slides-bullets-right{ height: 100%; width: auto; left: auto; right: 0; top: 0; bottom: auto; }
.mi-slides-bullets-bottom{ height: auto; width: 100%; left: 0; right: auto; top: auto; bottom: 0; }
.mi-slides-bullets-left{ height: 100%; width: auto; left: 0; right: auto; top: 0; bottom: auto; }
.mi-slides-bullets-topleft>div{ text-align: left; }
.mi-slides-bullets-bottomleft>div{ text-align: left; }
.mi-slides-bullets-topright>div{ text-align: right; }
.mi-slides-bullets-bottomright>div{ text-align: right; }

.mi-slides-bullet{ display: inline-block; margin-left: .25em; margin-right: .25em; line-height: 1em; }
.mi-slides-bullet{ width: 1em; height: 1em; border-radius: 50%; opacity: .75; text-align: center; }
.mi-slides-bullet{ cursor: pointer; color: #fff; background: #222; box-shadow: inset 1px 1px 0px #111; }
.mi-slides-bullet-left{ display: block; margin: auto; margin-top: .25em; margin-bottom: .25em; }
.mi-slides-bullet-right{ display: block; margin: auto; margin-top: .25em; margin-bottom: .25em; }
.mi-slides-bullet-topleft{ display: inline-block; margin: auto; margin-left: .25em; margin-right: .25em; }
.mi-slides-bullet-topright{ display: inline-block; margin: auto; margin-left: .25em; margin-right: .25em; }
.mi-slides-bullet-bottomleft{ display: inline-block; margin: auto; margin-left: .25em; margin-right: .25em; }
.mi-slides-bullet-bottomright{ display: inline-block; margin: auto; margin-left: .25em; margin-right: .25em; }
.mi-slides-bullet.selected{ opacity: 1; color: #222; background: #fff; }

.mi-slides-number{ width: 2em; height: 2em; padding: .5em 0em; }

.mi-slides.thumbs .mi-slides-container-horizontal{ padding-left: 1.5em; padding-right: 1.5em; }
.mi-slides.thumbs .mi-slides-container-vertical{ padding-top: 2em; padding-bottom: 2em; }
.mi-slides.thumbs .mi-slides-item{ opacity: .75; }
.mi-slides.thumbs .mi-slides-item.selected{ opacity: 1; }
.mi-slides.thumbs .mi-slides-arrow{ width: 1.5em; background-color: #111; background-size: 1em; }
.mi-slides.thumbs .mi-slides-left{ left: 0; top: 0; margin-top: 0; height: 100%; }
.mi-slides.thumbs .mi-slides-right{ right: 0; top: 0; margin-top: 0; height: 100%; }
.mi-slides.thumbs .mi-slides-top{ left: 0; top: 0; margin-left: 0; width: 100%; }
.mi-slides.thumbs .mi-slides-bottom{ left: 0; bottom: 0; margin-left: 0; width: 100%; }

/* styling for "mi-zoom" */

.mi-zoom{ 
	display: block; position: fixed; z-index: 10000; top: 0; left: 0; width: 100vw; height: 100vh; 
	background: var(--window-overlay); 
}
.mi-zoom-controls{ position: absolute; top: 0; right: 0; padding: 1em; display: flex; align-items: center; z-index: 10000; }
.mi-zoom-control, .mi-zoom-control:empty, .mi-zoom-control:hover, .mi-zoom-control:focus{ 
	height: 3.25em; width: 3.25em; flex: 0 0 3.25em; cursor: pointer; margin-left: .875em; 
	border-radius: 50%; box-shadow: var(--window-shadow);
}
.mi-zoom-body{ width: 100%; height: 100%; }
.mi-zoom-scroll{ height: 100%; width: 100%; overflow: hidden; }
.mi-zoom-content{ 
	padding: 2em 4em; height: calc(100% + var(--scroll-size)); width: calc(100% + var(--scroll-size)); 
	display: flex; position: relative;align-items: center; justify-content: center; overflow: auto; 
}
.mi-zoom-nav, .mi-zoom-nav:empty, .mi-zoom-nav:hover, .mi-zoom-nav:focus{ 
	height: 3.25em; width: 3.25em; cursor: pointer; position: absolute; z-index: 10000;
	top: 50%; margin-top: -1.25em; border-radius: 50%; box-shadow: var(--window-shadow);
}
.mi-zoom-prev{ left: .5em; }
.mi-zoom-next{ right: .5em; }
.mi-zoom-header{ display: table-row; height: 0%; }
.mi-zoom-title{ display: table-cell; padding: 1em; text-align: left; font-size: 1.125em; background: #fff; }

/* === Fields styling === */

/* Files styling => for field of type "files" */

.mi-files{ border: 1px solid #dcdcdc; background: #ececec; min-height: 2.625em; height: 9em; overflow: hidden; }
.mi-files-list{ width: 100%; height: 100%; position: relative; padding-right: 2em; }
.mi-files-add-wrap{ position: absolute; top: 0; right: 0; height: 100%; padding: .25em; }
.mi-files-add-wrap{ background: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-files-add-wrap>*{ margin-top: .25em; }
.mi-files-add-wrap>*:first-child{ margin-top: 0em; }
.mi-files-items{ width: 100%; height: 100%; padding: .5em; overflow-x: hidden; overflow-y: scroll; }
.mi-files-item{ padding: .5em; width: 100%; display: flex; align-items: center; margin-bottom: .5em; }
.mi-files-item{ overflow: hidden; background: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-files-item:last-child{ margin-bottom: 0; }
.mi-files-item:focus{ outline: 3px solid #aaa; }
.mi-files-item>*{ margin-right: .5em; }
.mi-files-item>*:last-child{ margin-right: 0; }
.mi-files-file{ flex-grow: 1; display: flex; align-items: center; overflow: hidden; }
.mi-files-file>*{ margin-right: .5em; }
.mi-files-file>*:last-child{ margin-right: 0; }
.mi-files-info{ flex-grow: 1; display: flex; align-items: center; overflow: hidden; }
.mi-files-info>*{ margin-right: .5em; white-space: nowrap; }
.mi-files-info>*:last-child{ margin-right: 0; }
.mi-files-name{ flex-grow: 1; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-weight: bold; }
.mi-files-icon{ height: 1.5em; width: 1.5em; flex: 0 0 1.5em; }
.mi-files-actions{ display: flex; align-items: center; }
.mi-files-actions>*{ margin-right: .5em; }
.mi-files-actions>*:last-child{ margin-right: 0; }

/* Files styling => for field of type "images" */

.mi-images{ width: 100%; height: 100%; position: relative; overflow: hidden; }
.mi-images{ border: 1px solid #dcdcdc; background: #ececec; }
.mi-images-add-wrap{ position: absolute; top: 0; right: 0; height: 100%; padding: .25em; }
.mi-images-add-wrap{ background: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-images-add-wrap>*{ margin-top: .25em; }
.mi-images-add-wrap>*:first-child{ margin-top: 0em; }
.mi-images-list{ width: 100%; height: 14em; padding: 1em; overflow-x: scroll; display: flex; }
.mi-images-item{ display: flex; flex: 0 0 12em; width: 12em; height: 12em; flex-direction: column; margin-right: 1em; }
.mi-images-item{ position: relative; background: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-images-item:last-child{ margin-right: 0; }
.mi-images-item:focus{ outline: 3px solid #aaa; }
.mi-images-item>*:last-child{ margin-right: 0; }
.mi-images-file{ flex-grow: 1; display: flex; flex-direction: column; }
.mi-images-top{ flex-grow: 1; padding: 1em; }
.mi-images-image{ height: 100%; width: 100%; }
.mi-images-image{ background-repeat: no-repeat; background-size: contain; background-position: center; }
.mi-images-name{ width: 100%; font-weight: bold; padding: .5em 1em; background: #ececec; }
.mi-images-name{ white-space: nowrap; text-overflow: ellipsis; overflow: hidden; text-align: center; }
.mi-images-size{ position: absolute; right: 0; top: 0; padding: .25em .5em; }
.mi-images-size{ background: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-images-icon{ height: 1.5em; width: 1.5em; flex: 0 0 1.5em; }
.mi-images-actions{ display: flex; align-items: center; justify-content: center; padding: .5em 1em; }
.mi-images-actions>*{ margin-right: .5em; }
.mi-images-actions>*:last-child{ margin-right: 0; }

/* Files styling => for field of type "capture" */

.mi-capture{ width: 100%; }
.mi-capture-view{ display: flex; flex-direction: column; cursor: pointer; }
.mi-capture-video{ height: 15em; width: 100%; background: #000; }
.mi-capture-image{ height: 15em; width: 100%; background-color: #000; }
.mi-capture-image{ background-repeat: no-repeat; background-size: contain; background-position: center center; }
.mi-capture-nav{ display: flex; align-items: center; justify-content: center; padding: .375em; }
.mi-capture-nav{ background: #ececec; }
.mi-capture-nav>*{ margin-right: .5em; }
.mi-capture-nav>*:last-child{ margin-right: 0em; }
.mi-capture-icon{ height: 1.5em; width: 1.5em; flex: 0 0 1.5em; }
.mi-capture-time{ white-space: nowrap; }
.mi-capture-progress{ height: 1.5em; }
.mi-capture-progress .mi-progress-value{ display: none; }

/* Textbox styling => for of type "text" */

.mi-text{ padding: .5em; width: 100%; min-height: 2.25em; height: fit-content; }
.mi-text{ display: inline-block; white-space: pre-wrap; background: #fff; border: 1px solid #dcdcdc; }
.mi-text[disabled]{ background: #ececec; }

/* Period styling => for field of type "period" */

.mi-period{ white-space: nowrap; display: flex; justify-content: center; }
.mi-period-bt{ background-repeat: no-repeat; background-position: center center; background-size: contain; } 
.mi-period-bt{ display: flex; align-items: center; justify-content: center; line-height: 1em; padding: .5em; } 
.mi-period-bt:before{ margin-right: 0; }
.mi-period-bt[disabled]{ filter: grayscale(1); opacity: .5; }
.mi-period-input{ text-align: center; width: 9em; background: #fff; }
.mi-period-input[disabled]{ border: 1px solid #dcdcdc; background: #fff; }
.mi-period-input.boff{ width: 2.25em; }
.mi-period-input:focus{ position: relative; z-index: 1; }
.mi-period-day{ padding: 0em .125em 0em .75em; font-weight: bold; font-size: 1.125em; }
.mi-period-day{ display: flex; align-items: center; justify-content: center; }
.mi-period-day{ text-transform: capitalize; background: #fff; border: 1px solid #dcdcdc; }
.mi-period-day{ border-left: none; border-right: none; }
.mi-period-from{ border-right: none !important; border-left: none !important; }
.mi-period-to{ border-right: none !important; }
.mi-period-type{ height: 2.25em; width: 2.25em; cursor: pointer; }
.mi-period-type{ background: #fff; border: 1px solid #dcdcdc; border-right: none! important; }
.mi-period-type-icon{ height: 100%; width: 100%; background-size: 1.5em 1.5em; }
.mi-period-type-list{ margin-top: .5em; }
.mi-period-type-option{ display: block; margin-bottom: .5em; }
.mi-period-type-option:last-child{ margin-bottom: 0; }
.mi-period-type-text{ margin-left: .5em; }

/* Spinner styling => for field of type "number" */

.mi-type-number{ position: relative; }
.mi-type-number .mi-type-number-input{ width: 100%; padding: .5em; padding-right: 2em; }
.mi-type-number .mi-type-number-input[disabled]{ padding-right: .5em; }
.mi-type-number .mi-type-number-spinner{ position: absolute; height: 50%; right: 0; padding: .0625em .25em .125em .25em; cursor: pointer; }
.mi-type-number .mi-type-number-spinner{ border: solid 1px #dcdcdc; background: #fff; color: #222; font-size: .75em; user-select: none; }
.mi-type-number .mi-type-number-spinner:hover{ box-shadow: 1px 1px 2px 0px #dcdcdc; }
.mi-type-number .mi-type-number-spinner-up{ top: 0; }
.mi-type-number .mi-type-number-spinner-down{ bottom: 0; }
.mi-type-number .mi-type-number-spinner[disabled]{ display: none; }

/* styling for fields of type richtext */

.mi-richtext{ overflow: hidden; }
.mi-richtext:not([disabled]){ background: #fff; border: 1px solid #dcdcdc; }
.mi-richtext-center{ display: flex; flex-direction: column; overflow: hidden; height: 100%; width: 100%; }
.mi-richtext-tools{ display: flex; align-items: center; flex: 0 0 2.25em; border-bottom: 1px solid #dcdcdc; }
.mi-richtext-tool{ display: flex; align-items: center; justify-content: center; }
.mi-richtext-tool{ height: 100%; width: 2.25em; flex: 0 0 2.25em; line-height: 1em; }
.mi-richtext-tool{ padding: .375em; cursor: pointer; font-weight: bold; }
.mi-richtext-tool{ background-size: 1.25em 1.25em; background-position: center center; background-repeat: no-repeat; }
.mi-richtext-tool:before{ height: 100%; width: 100%; font-weight: bold; }
.mi-richtext-tool:before{ display: flex; align-items: center; justify-content: center; }
.mi-richtext-tool:hover{ background-color: #ececec; }
.mi-richtext-tool:focus{ background-color: #dcdcdc; outline: none; border: 1px dashed #dcdcdc; }
.mi-richtext-icon{ height: 100%; width: 100%; }
.mi-richtext-sep{ width: 1px; flex: 0 0 1px; height: 1em; margin: 0 .25em; background: #dcdcdc; }
.mi-richtext-body{ flex-grow: 1; padding: .5em; overflow-y: auto; }
.mi-richtext-body:focus{ outline: none; }

/* styling for mi-datetime */

.mi-datetime-input{ display: flex; align-items: center; }
.mi-datetime-time{ border-left: none; }

/* styling for fields of type "suggest" */

.mi-suggest{ width: 100%; position: relative; }
.mi-suggest-icon{ height: 2em; width: 2em; cursor: pointer; transition: all .25s; }
.mi-suggest-icon{ background-repeat: no-repeat; background-size: contain; background-position: center center; }
.mi-suggest-icon:hover, .mi-suggest-icon:focus{ transform: scale(1.25); }
.mi-suggest-search{ display: flex; align-items: center; }
.mi-suggest-search-input{ flex-grow: 1; }
.mi-suggest-search-icon{ cursor: default; margin-left: .5em; }
.mi-suggest-clear-icon{ margin-left: .5em; }
.mi-suggest-tooltip{ display: none; position: absolute; top: 100%; left: 0; }
.mi-suggest-tooltip{ margin-top: 1em; min-width: 100%; }
.mi-suggest-tooltip{ background: #fff; box-shadow: 1px 1px 3px 0px #dcdcdc; }
.mi-suggest-tooltip.on{ display: block; }
.mi-suggest-item{ padding: .625em; transition: all 0.25s; cursor: pointer; border-bottom: 1px dashed #dcdcdc; }
.mi-suggest-item:last-child{ border-bottom: 0; }
.mi-suggest-item.selected, .mi-suggest-item:hover{ background: #f0ffe3; }
.mi-suggest-item:focus{ font-weight: bold; text-decoration: underline; }
.mi-suggest-footer{ display: flex; align-items: center; justify-content: flex-end; padding: .375em; }
.mi-suggest-footer{ background: #dcdcdc; }
.mi-suggest-paging{ font-size: .75em; margin-left: .5em; }
.mi-suggest-paging .mi-paging-prev{ border-right: none; }

/* styling for field of type "states" (states field and dialog) */

.mi-states{ display: flex; align-items: center; }
.mi-states-icon{ height: 2em; width: 2em; flex: 0 0 2em; }
.mi-states-label{ margin-left: 1em; flex-grow: 1; }
	
.mi-states-dialog-window{ max-width: 25em; }
.mi-states-dialog-body{ max-height: 25em; }
.mi-states-item{ padding: .5em 1em; cursor: pointer; display: flex; align-items: center; }
.mi-states-item{ border-bottom: 1px dashed #dcdcdc; border-left: 0 solid #dcdcdc; background: #fff; transition: all .25s; }
.mi-states-item:last-child{ border-bottom: none; }
.mi-states-item-icon{ height: 1.5em; width: 1.5em; margin-right: .75em; }
.mi-states-item-icon{ background-repeat: no-repeat; background-size: contain; background-position: center center; }

/* styling for field of type "sign" */

.mi-type-sign{ touch-action: none; user-select: none; position: relative; border: 1px solid #dcdcdc; }
.mi-type-sign{ outline: none; color: #222; background: #fff; padding: .5em; }
.mi-type-sign-clear{ position: absolute; top: 0; right: 0; box-shadow: 0px 0px 3px #aaa; width: 2.5em; height: 2.5em; cursor: pointer; }
.mi-type-sign-clear{ background-size: 2em 2em; background-repeat: no-repeat; background-position: center center; }
.mi-type-sign-clear:focus, .mi-type-sign-clear:hover, .mi-type-sign-clear[disabled]{ background-size: 2em 2em; }
.mi-type-sign-canvas{ width: 100%; height: 100%; }
.mi-type-sign[disabled]{ background: #ececec; }
.mi-type-sign[disabled] .mi-type-sign-clear{ display: none; }

/* styling for fields of type "rate" and "rates" */

.mi-rate{ display: flex; align-items; width: 100%; }
.mi-rate-item{ display: flex; flex-flow: row-reverse; align-items: center; }
.mi-rate-mark{ height: 2em; width: 2em; margin-left: .25em; }
.mi-rate-mark{ background-repeat: no-repeat; background-size: contain; background-position: center center; }
.mi-rate-mark{ background-image: url(/core/img/rate/star.png); }
.mi-rate-mark{ filter: grayscale(1); opacity: .75; }
.mi-rate-mark[checked]{ filter: grayscale(0); opacity: 1; }
.mi-rate-mark[checked] + .mi-rate-item .mi-rate-mark{ filter: grayscale(0); opacity: 1; } 
.mi-rate-mark:hover{ filter: grayscale(.5) !important; opacity: .875 !important; }
.mi-rate-mark:focus{ filter: grayscale(.5) !important; opacity: .875 !important; }
.mi-rate-mark:hover + .mi-rate-item .mi-rate-mark{ filter: grayscale(.5) !important; opacity: .875 !important; }
.mi-rate-mark:focus + .mi-rate-item .mi-rate-mark{ filter: grayscale(.5) !important; opacity: .875 !important; }
.mi-rate-mark-first{ margin-left: 0; }

.mi-rates-rate{ text-align: center; margin-bottom: 1em; }
.mi-rates-rate-mark{ display: inline-flex; align-items: center; justify-content: center; }
.mi-rates-rate-mark{ height: 3.5em; width: 3.5em; font-weight: bold; font-size: 2em; border-radius: 50%; }
.mi-rates-rate-mark{ background: #fff; border: .25em solid #dcdcdc; }
.mi-rates-rate-mark:focus{ background: #000; color: #fff; }
.mi-rates-rate-sep{ display: none; margin: 0 .5em; }
.mi-rates-rate-max{ display: none; }
.mi-rates-label{ display: block; font-weight: bold; font-size: 1.25em; margin-bottom: .4em; }
.mi-rates-text{ margin-bottom: .5em; }
.mi-rates-row{ margin-bottom: 1em; padding: 1em; background: #ececec; }
.mi-rates-row:last-child{ margin-bottom: 0; }
.mi-rates-row:focus{ background: #000; color: #fff; }
.mi-rates-comment{ display: block; margin-top: 1em; }
.mi-rates-comment-input{ width: 100%; height: 8em; }

/* styling for fields of type "note" and "notes" */

.mi-note-dialog-window{ width: 50em; }
.mi-note-value{ padding: 1em; background: #ececec; }
.mi-note-input{ height: 60vh; }
.mi-note-submit{ padding: .5em; text-align: right; }
.mi-note-submit{ background: #fff; box-shadow: 0px 0px 3px #aaa; }

.mi-notes{ border: 1px solid #dcdcdc; background: #ececec; min-height: 2.625em; overflow: hidden; }
.mi-notes-content{ width: 100%; height: 100%; position: relative; }
.mi-notes-add-wrap{ position: absolute; top: 0; right: 0; padding: .25em; }
.mi-notes-add-wrap{ background-color: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-notes-add-wrap>*{ margin-top: .25em; }
.mi-notes-add-wrap>*:first-child{ margin-top: 0em; }
.mi-notes-list{ width: 100%; height: 100%; padding: 1em; overflow-y: scroll; }
.mi-notes-item{ margin-bottom: 1em; }
.mi-notes-item{ background: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-notes-item:last-child{ margin-bottom: 0; }
.mi-notes-item:focus{ outline: 3px solid #aaa; }
.mi-notes-text{ padding: 1em; }
.mi-notes-data{ display: flex; width: 100%; align-items: center; padding: .5em; }
.mi-notes-data{ border-top: 1px dashed #dcdcdc; }
.mi-notes-data>*{ margin-right: .5em; }
.mi-notes-data>*:last-child{ margin-right: 0; }
.mi-notes-author{ flex-grow: 1; font-size: .875em; }
.mi-notes-name{ font-weight: bold; }
.mi-notes-email{ display: none; }

/* styling for field of type "chart" */

.mi-chart{ height: 100%; width: 100%; padding: 1em; position: relative; background: #ececec; color: #00000000; }
.mi-chart-content{ display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; }
.mi-chart-content{ flex-direction: column; }
.mi-chart-tooltip{ position: absolute; top: 0; left: 0; padding: .5em; }
.mi-chart-tooltip{ color: #000; background: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-chart-tooltip-top{ display: flex; align-items: center; justify-content: center; margin-bottom: .25em; }
.mi-chart-tooltip-color{ flex: 0 0 1em; width: 1em; height: 1em; }
.mi-chart-tooltip-title{ flex-grow: 1; font-weight: bold; margin-left: .5em; }
.mi-chart-tooltip-row{ display: flex; align-items: center; margin-bottom: .25em; }
.mi-chart-tooltip-row:last-child{ margin-bottom: 0em; }
.mi-chart-tooltip-label{ margin-right: .25em; }
.mi-chart-tooltip-value{ font-weight: bold; flex-grow: 1; }
.mi-chart-body{ flex-grow: 1; height: 100%; width: 100%; overflow: hidden; }
.mi-chart-canvas{ margin: 0px auto -2px auto; background: #00000000; color: #00000000; }
.mi-chart-legend{ color: #000; }
.mi-chart-serie{ white-space: nowrap; }
.mi-chart-serie>*{ display: inline-block; vertical-align: middle; }
.mi-chart-serie-color{ width: 1em; height: 1em; }
.mi-chart-serie-label{ padding-left: .5em; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

.mi-chart-none{ display: none; }
.mi-chart-right{ margin-left: .5em; height: 100%; }
.mi-chart-right{ text-align: left; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; }
.mi-chart-right>*{ display: block; margin-bottom: .5em; }
.mi-chart-right>*:last-child{ margin-bottom: 0em; }
.mi-chart-left{ margin-right: .5em; height: 100%; }
.mi-chart-left{ text-align: left; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; }
.mi-chart-left>*{ display: block; margin-bottom: .5em; }
.mi-chart-left>*:last-child{ margin-bottom: 0em; }
.mi-chart-top{ margin-bottom: .5em; width: 100%; text-align: center; }
.mi-chart-top>*{ display: inline-block; vertical-align: middle; margin-right: .5em; }
.mi-chart-top>*:last-child{ margin-right: 0em; }
.mi-chart-bottom{ margin-top: .5em; width: 100%; text-align: center; }
.mi-chart-bottom>*{ display: inline-block; vertical-align: middle; margin-right: .5em; }
.mi-chart-bottom>*:last-child{ margin-right: 0em; }

/* styling for field of type "gauge" */

.mi-gauge{ height: 10em; width: 10em; transform-origin: 50% 50%; }
.mi-gauge-wrap{ height: 100%; width: 100%; transform-origin: 50% 50%; }
.mi-gauge-circle{ height: 100%; width: 100%; position: relative; border-radius: 50%; overflow: hidden; }
.mi-gauge-circle{ padding: 1em; }
.mi-gauge-body{ height: 100%; width: 100%; border-radius: 50%; position: relative; z-index: 5; }
.mi-gauge-body{ display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mi-gauge-body{ padding: .5em; }
.mi-gauge-fill{ position: absolute; height: 100%; width: 100%; top: 0; left: 0; z-index: 0; border-radius: 50%; } 
.mi-gauge-square{ height: 200%; width: 200%; position: absolute; }
.mi-gauge-square{ border-top: none !important; border-bottom: none !important; }
.mi-gauge-animate{ transition: transform 1s; }
.mi-gauge-square-left{ top: -50%; left: -150%; transform-origin: 100% 50%; transform: rotate(0deg); }
.mi-gauge-square-left{ border-left: none !important; }
.mi-gauge-square-right{ top: -50%; left: 50%; transform-origin: 0% 50%; transform: rotate(-180deg); }    
.mi-gauge-square-right{ border-right: none !important; }
.mi-gauge-square-lout{ top: -50%; left: -150%; transform-origin: 100% 50%; z-index: 4; }
.mi-gauge-square-rout{ top: -50%; left: 50%; transform-origin: 0% 50%; z-index: 4; }    
.mi-gauge-hide{ position: absolute; top: 50%; left: 50%; height: 50%; margin-left: -3px; width: 6px; z-index: 3; }
.mi-gauge-hide{ transform-origin: 50% 0%; }
.mi-gauge-body{ background: #fff; }
.mi-gauge-out{ background: #aaa; }
.mi-gauge-bg{ background: #dcdcdc; }
.mi-gauge-color{ background: #090; }
.mi-gauge-border{ border: 0px solid #dcdcdc; }
.mi-gauge-range{ border: 0px solid #555; }

/* styling for field of type "lang" */

.mi-lang{ display: inline-flex; align-items: center; justify-content: center; }
.mi-lang{ height: 2.25em; padding: .5em; cursor: pointer; }
.mi-lang{ background: #fff; border: 1px solid #dcdcdc; }
.mi-lang-icon{ margin-right: .5em; }
.mi-lang-name{ flex-grow: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-lang-list{ height: 18em; padding: 0em; overflow: hidden; }
.mi-lang-ul{ height: 100%; overflow: hidden; overflow-y: scroll; }
.mi-lang-ul{ text-align: left; padding: 1em 0em 0em 1em; }
.mi-lang-ul{ display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: min-content; }
.mi-lang-li{ display: inline-block; vertical-align: middle; margin-right: 1em; margin-bottom: 1em; }
.mi-lang-label{ padding: .375em; display: block; cursor: pointer; outline: 1px dashed #dcdcdc; }
.mi-lang-none{ height: 3.25em; width: 3.25em; outline: 1px dashed #dcdcdc; }
.mi-lang-label[checked]{ outline: 1px solid #aaa; background: #f0ffe3; }
.mi-lang-label:hover, .mi-lang-label:focus{ outline: 1px solid #aaa; background: #ececec; }
.mi-lang-flag{ height: 2.5em; width: 2.5em; display: block; }
.mi-lang-flag{ background-repeat: no-repeat; background-position: center; background-size: contain; }

/* styling for field of type "font" */

.mi-font{ display: inline-block; vertical-align: middle; min-width: 10em; }
.mi-font{ height: 2.25em; padding: .5em; cursor: pointer; }
.mi-font{ background: #fff; border: 1px solid #dcdcdc; }
.mi-font-value{ display: block; width: 100%; line-height: 1em; }
.mi-font-value{ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mi-font-icon{ margin-right: .5em; }
.mi-font-name{ flex-grow: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-font-list{ height: 20em; padding: .25em; overflow-x: hidden; overflow-y: scroll; }
.mi-font-ul{ width: 25em; text-align: left; }
.mi-font-li{ display: block; }
.mi-font-label{ padding: .5em; display: block; cursor: pointer; border-bottom: 1px dashed #dcdcdc; }
.mi-font-label[checked]{ background: #f0ffe3; } 
.mi-font-label:hover, .mi-lang-label:focus{ background: #ececec; }
.mi-font-code{ display: block; font-size: 1.25em; font-weight: bold; text-transform: capitalize; line-height: 1em; }
.mi-font-text{ display: block; margin-top: .25em; font-size: .875em; }
.mi-font-text>*{ display: block; line-height: 1em; }
.mi-font-text>*{  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* styling for field of type "color" */

.mi-color{ 
	height: var(--input-height); width: 100%; overflow: hidden; position: relative; 
	border-radius: var(--input-radius);
	border: var(--input-border); outline: var(--input-background); background: var(--input-background); 
	box-shadow: var(--input-shadow); 
}
.mi-color-background{ 
	background: #fff; position: absolute; top: 0; height: 100%; width: calc(100% - var(--input-height)); z-index: 2; 
	display: flex; align-items: center; justify-content: flex-start;
	padding: var(--input-padding); color: #000;
}
.mi-color-text{ text-align: left; }
.mi-color-choice{ position: absolute; top: 0; height: 100%; width: calc(100% - var(--input-height)); z-index: 1; }
.mi-color-remove{ 
	position: absolute; top: 0; right: 0; height: 100%; width: var(--input-height);
	background-size: var(--input-icon) var(--input-icon); z-index: 3;
}
.mi-color-remove:hover{ background-size: var(--input-icon) var(--input-icon); }
.mi-color-remove:focus{ background-size: var(--input-icon) var(--input-icon); }
.mi-color-remove[disabled]{ background-size: var(--input-icon) var(--input-icon); }

/* styling for field of type "colors" */

.mi-colors{ border: var(--input-border); outline: var(--input-outline); background: var(--input-background); }
.mi-colors:hover{ border: var(--input-over-border); outline: var(--input-over-outline); background: var(--input-over-background); }
.mi-colors:focus{ border: var(--input-focus-border); outline: var(--input-focus-outline); background: var(--input-focus-background); }
.mi-colors .mi-colors-center{ background: none; }
.mi-colors .mi-colors-grid{ display: flex; overflow-x: auto; background: none; padding: calc(var(--input-padding) / 2); }
.mi-colors .mi-colors-wrap{ padding: calc(var(--input-padding) / 2); }
.mi-colors .mi-colors-value{ height: var(--button-height); width: var(--button-height); flex: 0 0 var(--button-height); }
.mi-colors .mi-colors-cell{ padding: 0; }

/* styling for field of type "align" */

.mi-align{ position: relative; }
.mi-align-input{ display: flex; align-items: center; justify-content: center; padding: .5em; height: 2.25em; }
.mi-align-input>*{ margin-right: .5em; }
.mi-align-input>*:last-child{ margin-right: 0em; }
.mi-align-icon{ height: 1.25em; width: 1.25em; flex: 0 0 1.25em; }
.mi-align-value{ white-space: nowrap; }
.mi-align-tooltip{ width: fit-content; }
.mi-align-tooltip>*{ margin-top: .5em; }
.mi-align-tooltip>*:first-child{ margin-top: 0em; }
.mi-align-label{ display: block; font-weight: bold; }
.mi-align-ul{ white-space: nowrap; }
.mi-align-li{ height: 2.25em; width: 2.25em; margin-right: .5em; }
.mi-align-li{ display: inline-flex; vertical-align: middle; align-items: center; justify-content: center; }
.mi-align-li{ background: #ececec; border: 1px solid #dcdcdc; }
.mi-align-li:last-child{ margin-right: 0em; }
.mi-align-li[checked]{ background-color: #fff; }
.mi-align-li:focus{ filter: none; }

/* styling for mi-dyn */

.mi-dyn{ display: none !important; }

/* default styling for mail layout (action: core.notice) */

.mi-mail{ background: #ddd; font-family: montserrat, sans-serif; width: 100%; padding: 2em; }
.mi-mail-h{ margin: auto; width: 100%; }
.mi-mail-hc{ vertical-align: middle; text-align: center; padding-bottom: 2em; }
.mi-mail-b{ margin: auto; max-width: 60em; background: #fff; box-shadow: 0px 0px 1em 3px #aaa; }
.mi-mail-bc{ padding: 2em; }
.mi-mail-f{ margin: auto; width: 100%; }
.mi-mail-fc{ text-align: center; padding-top: 2em; }
.mi-mail-hc-logo{ height: 6em; max-height: 6em; }
.mi-mail-fc-link{ color: #222; }
.mi-mail-ac{ text-align: center; padding-top: 1em; }
.mi-mail-a{ width: 100%; }
.mi-mail-ac{ text-align: center; }
.mi-mail-ac-row{ margin: auto; }
.mi-mail-ac-left{ font-weight: bold; }
.mi-mail-ac-right{ padding-left: .5em; }
.mi-mail-ac-logo{ height: 1.5em; }
.mi-mail a{ text-decoration: underline; color: #15c; }

/* styling for sortable behavior */

.mi-sortable{ filter: grayscale(1); opacity: .25; user-select: none; }
.mi-sortable-clone{ position: fixed !important; z-index: 10000; user-select: none; cursor: grab; }
.mi-sortable-clone *{ cursor: grab; }
.mi-sortable-line{ position: fixed; height: 0px; width: 0px; z-index: 5000; }
.mi-sortable-line-vertical{ border-left: 1px solid #e13500; }
.mi-sortable-line-horizontal{ border-top: 1px solid #e13500; }

/* === Generic views === */

/**
 * Action: core.view/import
 **/

.import-list-view{ height: 100%; width: 100%; display: flex; flex-direction: column; }
.import-list-view .off{ display: none; }

.import-list-top{ display: flex; align-items: center; justify-content: center; }
.import-list-top{ position: relative; z-index: 30; width: 100%; padding: .5em; }
.import-list-top{ background: #fff; box-shadow: 0px 0px 3px #aaa; }
.import-list-top>*{ margin-right: .5em; }
.import-list-top>*:last-child{ margin-right: 0em; }
.import-list-button{ padding: .5em; }
.import-list-button:before{ margin-right: 0em; }
.import-list-title{ line-height: 1em; font-size: 1.75em; font-weight: bold; }
.import-list-search{ position: relative; padding: 0em; border: none; }
.import-list-search-input{ width: 2.25em; flex: 0 0 2.25em; }
.import-list-search-input:not(:focus){ background: none; border: none; color: transparent; }
.import-list-search-input:focus{ width: 12em; flex: 0 0 12em; padding-right: 2.25em; }
.import-list-search-icon{ height: 1.25em; width: 1.25em; position: absolute; top: .5em; right: .5em; }
:not(:focus) + .import-list-search-icon{ filter: grayscale(1) brightness(10); }
.import-list-tooltip{ width: 30em; padding: 0em; }
.import-list-form{ padding: 1em; max-width: 30em; position: relative; overflow: hidden; background: #fff; }
.mi-transfer .import-list-form:before{ content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 100%; }
.mi-transfer .import-list-form:before{ z-index: 2; background: url(/core/img/actions/import.png) no-repeat center center / 5em 5em; }
.mi-transfer .import-list-form:before{ filter: grayscale(1) brightness(10); }
.mi-transfer .import-list-form:after{ content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 100%; }
.mi-transfer .import-list-form:after{ z-index: 1; background: rgba(96,96,96,.75); }
.import-list-form>*{ margin-bottom: .75em; }
.import-list-form>*:last-child{ margin-bottom: 0em; }
.import-list-form-title{ text-align: center; font-size: 1.25em; font-weight: bold; }
.import-list-form-info{ position: absolute; top: 1em; right: 1em; height: 1.5em; width: 1.5em; }
.import-list-form-tips{ max-width: 30em; text-align: justify; }
.import-list-form-tips>*{ margin-bottom: .5em; }
.import-list-form-tips>*:last-child{ margin-bottom: 0em; }
.import-list-form-file{ border: 1px solid #dcdcdc; }
.import-list-form-file-label{ display: block; padding: .5em; }
.import-list-form-file-info{ display: flex; align-items: center; padding: .5em; background: #ececec; }
.import-list-form-file-name{ font-weight: bold; flex-grow: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.import-list-form-file-size{ font-weight: bold; }
.import-list-form-upload{ width: 100%; }

.import-list-none{ padding: 2em; background: #dcdcdc; }
.import-list-none.mi-transfer{ background: #ececec; }
.import-list-none{ flex-grow: 1; display: flex; align-items: center; justify-content: center; }
.import-list-none .import-list-form{ padding: 2em; }

.import-list-list{ flex-grow: 1; display: flex; flex-direction: column; overflow: hidden; }
.import-list-head{ display: flex; overflow: hidden; position: relative; z-index: 20; } 
.import-list-head{ background: #fff; box-shadow: 0px 0px 3px #aaa; }
.import-list-body{ flex-grow: 1; display: flex; background: #dcdcdc; }
.import-list-hlrows{ position: relative; z-index: 10; }
.import-list-hlrows{ background: #aaa; }
.import-list-hrows{ flex-grow: 1; overflow: scroll; margin-bottom: calc(-1 * var(--scroll-size)); }
.import-list-blrows{ overflow: hidden; position: relative; z-index: 10; }
.import-list-bcols{ margin-right: calc(-1 * var(--scroll-size)); display: flex; flex-direction: column; overflow-y: scroll; }
.import-list-brows{ flex-grow: 1; display: flex; flex-direction: column; overflow: scroll; }
.import-list-row{ display: flex; flex-direction: row; height: 2.25em; background: #fff; }
.import-list-frow{ height: calc(2.25em + 1px); border-top: 1px solid #dcdcdc; }
.import-list-cell{ flex: 0 0 12em; height: 2.25em; }
.import-list-cell{ display: flex; align-items: center; overflow: hidden; }
.import-list-cell{ border-right: 1px solid #dcdcdc; }
.import-list-th{ padding: .5em; text-align: center; justify-content: center; font-weight: bold; }
.import-list-th-remove{ height: 1em; width: 1em; flex: 0 0 1em; margin-left: .25em; }
.import-list-tf{ padding: 0em; }
.import-list-row:nth-child(2n){ background: #fff; }
.import-list-row:nth-child(2n+1){ background: #ececec; }

.import-list-select{ width: 100%; border: none; text-align: left; background: none; border: 1px solid transparent; }
.import-list-select:not(:focus){ text-align: center; }
.import-list-select:focus{ outline: none; border: 1px dashed #000; }

.import-list-state-icon{ height: 1.5em; width: 1.5em; flex: 0 0 1.5em; }
.import-list-state-warning{ filter: grayscale(1); }
.import-list-state-messages .mi-message-text{ padding: 0em 0em 0em 1.5em; background-color: transparent; color: #000; background-position: left center; }
.import-list-state-cell{ flex: 0 0 4em;  }
.import-list-state-td{ padding: .5em; justify-content: center; }
.import-list-save-cell{ flex: 0 0 3em; }
.import-list-save-td{ padding: .375em; justify-content: center; }
.import-list-save{ height: 1.5em; width: 1.5em; flex: 0 0 1.5em; }
.import-list-remove-cell{ flex: 0 0 3em; }
.import-list-remove-td{ padding: .375em; justify-content: center; }
.import-list-remove{ height: 1.5em; width: 1.5em; flex: 0 0 1.5em; }
.import-list-value{ padding: .5em; width: 100%; height: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.import-list-value{ border: 1px solid transparent; }
.import-list-value:focus{ outline: none; border: 1px dashed #000; }

.import-list-tiny{ flex: 0 0 8em; }
.import-list-short{ flex: 0 0 12em; }
.import-list-medium{ flex: 0 0 17em; }
.import-list-long{ flex: 0 0 24em; }

.import-list-date-value{ text-align: center; }
.import-list-number-value{ text-align: right; }
.import-list-integer-value{ text-align: center; }

.import-list-results{ text-align: left; }
.import-list-result{ display: flex; align-items: center; border-bottom: 1px dashed #dcdcdc; }
.import-list-result-name{ flex: 0 0 5em; }
.import-list-result-value{ font-weight: bold; }

.import-list-dialog-window{ width: 100%; height: 100%; }

/* === Core skin == */

.core .app-tray-favicon[src="/core/img/icon.png"], 
.core .mi-dialog-title .view-favicon[src="/core/img/icon.png"],
.core .mi-side-title .view-favicon[src="/core/img/icon.png"],
.core .app-tray-favicon[src="/core/img/admin/icon.png"], 
.core .mi-dialog-title .view-favicon[src="/core/img/admin/icon.png"],
.core .mi-side-title .view-favicon[src="/core/img/admin/icon.png"]{ 
	filter: grayscale(1) brightness(10); height: 1.5em; width: 1.5em; margin: -.25em 0em;
}
.core .app-tray-favicon[src*="/core/img/action"], 
.core .mi-dialog-title .view-favicon[src*="/core/img/action"],
.core .mi-side-title .view-favicon[src*="/core/img/action"]{ 
	filter: grayscale(1) brightness(10); 
}
.core .app-tray-title button, .core .app-tray-title .button,
.core .app-tray-title button:hover, .core .app-tray-title .button:hover,
.core .app-tray-title button:focus, .core .app-tray-title .button:focus{
	background: none; border: none;
}
.core .app-tray-title button:focus, .core .app-tray-title .button:focus{
	outline: 1px dashed #fff;
}
.core .app-tray-title button:before, .core .app-tray-title .button:before,
.core .app-tray-title button:after, .core .app-tray-title .button:after,
.core .app-tray-title button:hover:before, .core .app-tray-title .button:hover:before,
.core .app-tray-title button:hover:after, .core .app-tray-title .button:hover:after,
.core .app-tray-title button:focus:before, .core .app-tray-title .button:focus:before,
.core .app-tray-title button:focus:after, .core .app-tray-title .button:focus:after,
.core .app-tray-title .icon, .core .app-tray-title .icon:hover, .core .app-tray-title .icon:focus{
	filter: grayscale(1) brightness(10); height: var(--h1-size); width: var(--h1-size); flex: 0 0 var(--h1-size);
}

@media (max-width: 1200px){ 
	.core .app-tray-title button:before, .core .app-tray-title .button:before,
	.core .app-tray-title button:after, .core .app-tray-title .button:after,
	.core .app-tray-title button:hover:before, .core .app-tray-title .button:hover:before,
	.core .app-tray-title button:hover:after, .core .app-tray-title .button:hover:after,
	.core .app-tray-title button:focus:before, .core .app-tray-title .button:focus:before,
	.core .app-tray-title button:focus:after, .core .app-tray-title .button:focus:after,
	.core .app-tray-title .icon, .core .app-tray-title .icon:hover, .core .app-tray-title .icon:focus{
		height: var(--icon-size); width: var(--icon-size); flex: 0 0 var(--icon-size);
	}
	
}