/* === Scroll === */

.core ::-webkit-scrollbar{ width: 8px; height: 8px; }
.core ::-webkit-scrollbar-track{ background: #000; }
.core ::-webkit-scrollbar-thumb{ background: #e13500; }
.core ::-webkit-scrollbar-thumb:hover{ background: #e13500; }

/* === Icons === */ 

.core-icon{ height: 2em; width: 2em; flex: 0 0 2em; cursor: pointer; }
.core-icon{ background-repeat: no-repeat; background-size: contain; background-position: center center; }
.core-icon:focus{ filter: grayscale(1) brightness(0); }
.core-icon[disabled]{ filter: grayscale(1) brightness(0); opacity: .5; }

.core-add-icon{ background-image: url(/core/img/actions/add.png); }
.core-capture-icon{ background-image: url(/core/img/actions/capture.png); }
.core-categorize-icon{ background-image: url(/core/img/actions/categorize.png); }
.core-check-icon{ background-image: url(/core/img/actions/check.png); }
.core-config-icon{ background-image: url(/core/img/actions/config.png); }
.core-connect-icon{ background-image: url(/core/img/actions/connect.png); }
.core-disconnect-icon{ background-image: url(/core/img/actions/disconnect.png); }
.core-down-icon{ background-image: url(/core/img/actions/down.png); }
.core-duplicate-icon{ background-image: url(/core/img/actions/duplicate.png); }
.core-edit-icon{ background-image: url(/core/img/actions/edit.png); }
.core-emiagic-icon{ background-image: url(/core/img/emiagic.png); }
.core-emiagicw-icon{ background-image: url(/core/img/emiagicw.png); }
.core-error-icon{ background-image: url(/core/img/message/error.png); }
.core-filter-icon{ background-image: url(/core/img/actions/filter.png); }
.core-hide-icon{ background-image: url(/core/img/actions/hide.png); }
.core-info-icon{ background-image: url(/core/img/actions/info.png); }
.core-left-icon{ background-image: url(/core/img/actions/left.png); }
.core-link-icon{ background-image: url(/core/img/actions/link.png); }
.core-list-icon{ background-image: url(/core/img/actions/list.png); }
.core-mirage-icon{ background-image: url(/core/img/mirage.png); }
.core-more-icon{ background-image: url(/core/img/actions/more.png); }
.core-mute-icon{ background-image: url(/core/img/actions/mute.png); }
.core-next-icon{ background-image: url(/core/img/actions/next.png); }
.core-open-icon{ background-image: url(/core/img/actions/open.png); }
.core-pause-icon{ background-image: url(/core/img/actions/pause.png); }
.core-play-icon{ background-image: url(/core/img/actions/play.png); }
.core-prev-icon{ background-image: url(/core/img/actions/prev.png); }
.core-preview-icon{ background-image: url(/core/img/actions/preview.png); }
.core-print-icon{ background-image: url(/core/img/actions/print.png); }
.core-question-icon{ background-image: url(/core/img/message/question.png); }
.core-record-icon{ background-image: url(/core/img/actions/record.png); }
.core-refresh-icon{ background-image: url(/core/img/actions/refresh.png); }
.core-remove-icon{ background-image: url(/core/img/actions/remove.png); }
.core-return-icon{ background-image: url(/core/img/actions/return.png); }
.core-right-icon{ background-image: url(/core/img/actions/right.png); }
.core-save-icon{ background-image: url(/core/img/actions/save.png); }
.core-search-icon{ background-image: url(/core/img/actions/search.png); }
.core-select-icon{ background-image: url(/core/img/actions/select.png); }
.core-send-icon{ background-image: url(/core/img/actions/send.png); }
.core-show-icon{ background-image: url(/core/img/actions/show.png); }
.core-stop-icon{ background-image: url(/core/img/actions/stop.png); }
.core-success-icon{ background-image: url(/core/img/message/success.png); }
.core-translate-icon{ background-image: url(/core/img/actions/translate.png); }
.core-uncheck-icon{ background-image: url(/core/img/actions/uncheck.png); }
.core-unlink-icon{ background-image: url(/core/img/actions/unlink.png); }
.core-up-icon{ background-image: url(/core/img/actions/up.png); }
.core-unzoom-icon{ background-image: url(/core/img/actions/unzoom.png); }
.core-validate-icon{ background-image: url(/core/img/actions/validate.png); }
.core-volume-icon{ background-image: url(/core/img/actions/volume.png); }
.core-warning-icon{ background-image: url(/core/img/message/warning.png); }
.core-zoom-icon{ background-image: url(/core/img/message/zoom.png); }

/* === Icons (intl) === */ 

*[class*="core-lang-"]{ background-image: url(/core/img/none/image.png); }
.core-lang-de{ background-image: url(/core/img/intl/de.png); }
.core-lang-en{ background-image: url(/core/img/intl/en.png); }
.core-lang-es{ background-image: url(/core/img/intl/es.png); }
.core-lang-fr{ background-image: url(/core/img/intl/fr.png); }
.core-lang-it{ background-image: url(/core/img/intl/it.png); }
.core-lang-pt{ background-image: url(/core/img/intl/it.png); }

/* === Buttons === */

.core-button{ display: inline-flex; align-items: center; vertical-align: middle; justify-content: center; }
.core-button{ background-color: #e13500; border: 1px solid #e13500; color: #fff; cursor: pointer; }
.core-button[disabled]{ filter: grayscale(1); color: #aaa; cursor: default; border: 1px solid #dcdcdc; }
.core-button:focus{ border: 1px solid #fff; background-color: #fff; color: #e13500; }
.core-button:before, .core-button:after{ content: ""; height: 1.25em; width: 1.25em; }
.core-button:before{ margin-right: .5em; }
.core-button:after{ margin-left: .5em; }
.core-button:before, .core-button:after{ display: none; vertical-align: middle; }
.core-button:before, .core-button:after{ filter: grayscale(1) brightness(10); }
.core-button:before, .core-button:after{ background-repeat: no-repeat; background-size: contain; background-position: center center; }
.core-button:focus:before, .core-button:focus:after{ filter: none; }

.core-add-button:before{ display: inline-block; background-image: url(/core/img/actions/add.png); }
.core-categorize-button:before{ display: inline-block; background-image: url(/core/img/actions/categorize.png); }
.core-check-button:before{ display: inline-block; background-image: url(/core/img/actions/check.png); }
.core-config-button:before{ display: inline-block; background-image: url(/core/img/actions/config.png); }
.core-down-button:before{ display: inline-block; background-image: url(/core/img/actions/down.png); }
.core-duplicate-button:before{ display: inline-block; background-image: url(/core/img/actions/duplicate.png); }
.core-edit-button:before{ display: inline-block; background-image: url(/core/img/actions/edit.png); }
.core-filter-button:before{ display: inline-block; background-image: url(/core/img/actions/filter.png); }
.core-hide-button:before{ display: inline-block; background-image: url(/core/img/actions/hide.png); }
.core-info-button:before{ display: inline-block; background-image: url(/core/img/actions/info.png); }
.core-link-button:before{ display: inline-block; background-image: url(/core/img/actions/link.png); }
.core-list-button:before{ display: inline-block; background-image: url(/core/img/actions/list.png); }
.core-lock-button:before{ display: inline-block; background-image: url(/core/img/actions/lock.png); }
.core-more-button{ padding: .5em; }
.core-more-button:before{ display: inline-block; background-image: url(/core/img/actions/more.png); margin-right: 0em; }
.core-next-button:before{ display: inline-block; background-image: url(/core/img/actions/next.png); }
.core-open-button:before{ display: inline-block; background-image: url(/core/img/actions/open.png); }
.core-pause-button:before{ display: inline-block; background-image: url(/core/img/actions/pause.png); }
.core-play-button:before{ display: inline-block; background-image: url(/core/img/actions/play.png); }
.core-prev-button:before{ display: inline-block; background-image: url(/core/img/actions/prev.png); }
.core-preview-button:before{ display: inline-block; background-image: url(/core/img/actions/preview.png); }
.core-refresh-button:before{ display: inline-block; background-image: url(/core/img/actions/refresh.png); }
.core-remove-button:before{ display: inline-block; background-image: url(/core/img/actions/remove.png); }
.core-return-button:before{ display: inline-block; background-image: url(/core/img/actions/return.png); }
.core-save-button:before{ display: inline-block; background-image: url(/core/img/actions/save.png); }
.core-search-button:before{ display: inline-block; background-image: url(/core/img/actions/search.png); }
.core-select-button:before{ display: inline-block; background-image: url(/core/img/actions/select.png); }
.core-send-button:before{ display: inline-block; background-image: url(/core/img/actions/send.png); }
.core-show-button:before{ display: inline-block; background-image: url(/core/img/actions/show.png); }
.core-stop-button:before{ display: inline-block; background-image: url(/core/img/actions/stop.png); }
.core-translate-button:before{ display: inline-block; background-image: url(/core/img/actions/translate.png); }
.core-uncheck-button:before{ display: inline-block; background-image: url(/core/img/actions/uncheck.png); }
.core-unlink-button:before{ display: inline-block; background-image: url(/core/img/actions/unlink.png); }
.core-unlock-button:before{ display: inline-block; background-image: url(/core/img/actions/unlock.png); }
.core-up-button:before{ display: inline-block; background-image: url(/core/img/actions/up.png); }
.core-unzoom-button:before{ display: inline-block; background-image: url(/core/img/actions/unzoom.png); }
.core-validate-button:before{ display: inline-block; background-image: url(/core/img/actions/validate.png); }
.core-zoom-button:before{ display: inline-block; background-image: url(/core/img/actions/zoom.png); }

/* === Components === */

/* 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; }
.checkbox{ background: #fff; border: 1px solid #dcdcdc; font-weight: bold; }
.checkbox:before{ content: "✓"; color: #aaa; opacity: 0; display: block; float: left; }
.checkbox:before{ height: 100%; width: 100%; line-height: 1.5em; text-align: center; }
.checkbox:hover:before{ opacity: 1; }
.checkbox[checked]{ border: 1px solid #0a0; }
.checkbox[checked]:before{ color: #0a0; opacity: 1; }
.checkbox[disabled]{ background: #ececec; border: 1px solid #dcdcdc; }
.checkbox[disabled]:before{ color: #222; }
.checkbox:focus{ background: #222; border: none; }
.checkbox:focus:before{ color: #fff; }

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

.toggle{ display: inline-flex !important; align-items: center; height: 1.75em; width: 3em; overflow: hidden; }
.toggle{ font-weight: bold; padding: 3px; background: #dcdcdc; border-radius: .875em; }
.toggle:before{ content: ""; display: block; height: 100%; width: calc(1.75em - 6px); }
.toggle:before{ margin-left: 0; text-align: center; box-sizing: border-box; transition: margin .25s; }
.toggle:before{ color: #a9001b; background: #fff; border-radius: calc(.875em - 3px); }
.toggle[checked]{ background: #0a0; }
.toggle[checked]:before{ margin-left: calc(1.75em - 9px); color: #0a0; }
.toggle:focus{ background: #222; }

/* 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; }
.radio{ background: #fff; border: 1px solid #dcdcdc; border-radius: 50%; padding: 0; text-align: center; }
.radio:before{ content: ""; background: #dcdcdc; opacity: 0; display: block; height: .75em; width: .75em; border-radius: 50%; }
.radio:hover:before{ opacity: 1; }
.radio[checked]{ border: 1px solid #0a0; }
.radio[checked]:before{ background: #0a0; opacity: 1; }
.radio[disabled]{ background: #ececec; border: 1px solid #dcdcdc; }
.radio[disabled]:before{ color: #222; }
.radio:focus{ background: #222; border: none; }
.radio:focus:before{ background: #fff; }

/* 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 */

/* === View loading === */

.mi-view:before{ content: ""; position: absolute; top: 0; left: 0; height: 0; width: 0; overflow: hidden; z-index: 100; }
.mi-view:before{ background: url(/core/img/loading.gif) no-repeat center center / auto 10em; }
.mi-view:before{ background-color: #dcdcdc; }
.mi-view-loading:before{ height: 100%; width: 100%; }

/* 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.125px; }
.mi-mobile{ background: url(/img/phone.png) no-repeat center center / 384px 756px; }
.mi-mobile-body{ height: 740px; width: 360px; border-radius: 33px; overflow: hidden; position: relative; }

/* styling for mi-dialog */

.mi-dialog{ position: fixed; top: 0; left: 0; z-index: 10000; width: 100%; height: 100%; display: table; border: 0; }
.mi-dialog{ background: #111; background: rgba(0, 0, 0, .5); }
.mi-dialog-wrap{ display: table-cell; width: 100%; height: 100%; vertical-align: middle; text-align: center; padding: 1em; }
.mi-dialog-window{ margin: auto; text-align: left; width: auto; display: flex; flex-direction: column; }
.mi-dialog-window{ box-shadow: 0px 0px 10px 1px #222; background: #fff; }
.mi-dialog-window{ max-width: 100%; max-height: calc(100vh - 2em); overflow: hidden; }
.mi-dialog-header{ display: flex; flex-direction: row; padding: .5em; width: 100%; }
.mi-dialog-header{ position: relative; z-index: 10000; }
.mi-dialog-header{ background: #ececec; box-shadow: 0px 0px 3px #aaa; }
.mi-dialog-title{ flex-grow: 1; font-size: 1.125em !important; font-weight: normal; color: #222; }
.mi-dialog-controls{ white-space: nowrap; width: 6em; text-align: right; }
.mi-dialog-control{ display: inline-block; vertical-align: middle; margin-left: .5em; height: 1.25em; width: 1.25em; cursor: pointer; }
.mi-dialog-control:focus{ transform: scale(1.25); }
.mi-dialog-control{ background-repeat: no-repeat; background-size: contain; background-position: center center; }
.mi-dialog-body{ flex-grow: 1; overflow-y: auto; position: relative; }

.mi-dialog-body:before{ content: ""; position: absolute; top: 0; left: 0; height: 0; width: 0; overflow: hidden; z-index: 10000; }
.mi-dialog-body:before{ background: url(/core/img/loading.gif) no-repeat center center / auto 10em; }
.mi-dialog-body:before{ background-color: #dcdcdc; }
.mi-dialog-loading:before{ height: 100%; width: 100%; }

.mi-dialog-xs .mi-dialog-window{ max-width: 20em; max-height: 30vh; }
.mi-dialog-xs .mi-dialog-body{ max-height: calc(30vh - 4.375em); }
.mi-dialog-s .mi-dialog-window{ max-width: 30em; max-height: 40vh; }
.mi-dialog-s .mi-dialog-body{ max-height: calc(40vh - 4.375em); }
.mi-dialog-m .mi-dialog-window{ max-width: 40em; max-height: 60vh; }
.mi-dialog-m .mi-dialog-body{ max-height: calc(60vh - 4.375em); }
.mi-dialog-l .mi-dialog-window{ max-width: 50em; max-height: 80vh; }
.mi-dialog-l .mi-dialog-body{ max-height: calc(80vh - 4.375em); }
.mi-dialog-xl .mi-dialog-window{ max-width: 60em; max-height: calc(100vh - 2em); }
.mi-dialog-xl .mi-dialog-body{ max-height: calc(100vh - 4.375em); }
.mi-dialog-maximized .mi-dialog-window{ max-width: 100%; max-height: calc(100vh - 2em); }
.mi-dialog-maximized .mi-dialog-body{ max-height: calc(100vh - 4.375em); }

.mi-dialog-control-hide{ background-image: url(/core/img/dialog/hide.png); }
.mi-dialog-control-close{ background-image: url(/core/img/dialog/close.png); }
.mi-dialog-control-minimize{ background-image: url(/core/img/dialog/minimize.png); }
.mi-dialog-control-maximize{ background-image: url(/core/img/dialog/maximize.png); }
.mi-dialog-control-unmaximize{ background-image: url(/core/img/dialog/unmaximize.png); }

@media (max-width: 1200px){ 
	.mi-dialog-window{ max-width: calc(100vw - 2em) !important; max-height: calc(100vh - 2em) !important; }
	.mi-dialog-body{ max-height: calc(100vh - 4.375em) !important; }
}

/* styling for mi-confirm */

.mi-confirm{ position: fixed; top: 0; left: 0; z-index: 10000; width: 100%; height: 100%; display: table; }
.mi-confirm{ background: #111; background: rgba(0, 0, 0, .5); }
.mi-confirm-wrap{ display: table-cell; width: 100%; height: 100%; vertical-align: middle; text-align: center; padding: 1em; }
.mi-confirm-window{ margin: auto; text-align: left; width: auto; display: inline-block; max-width: 40em; overflow: hidden; }
.mi-confirm-window{ box-shadow: 0px 0px 10px 1px #222; background: #ececec; }
.mi-confirm-title{ font-size: 1.125em; padding: .5em; }
.mi-confirm-title{ background: #fff; border-bottom: solid 1px #dcdcdc; color: #222; }
.mi-confirm-body{ padding: 1em 1.5em; }
.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; }
.mi-confirm-icon{ background-repeat: no-repeat; background-size: contain; background-position: left center; }
.mi-confirm-icon-success{ background-image: url(/core/img/message/success.png); }
.mi-confirm-icon-error{ background-image: url(/core/img/message/error.png); }
.mi-confirm-icon-info{ background-image: url(/core/img/message/info.png); }
.mi-confirm-icon-warning{ background-image: url(/core/img/message/warning.png); }
.mi-confirm-icon-question{ background-image: url(/core/img/message/question.png); }
.mi-confirm-text{ flex-grow: 1; text-align: left; }
.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; }

@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: table; }
.mi-notify{ background: #111; background: rgba(0, 0, 0, .5); }
.mi-notify-wrap{ display: table-cell; width: 100%; height: 100%; vertical-align: middle; text-align: center; padding: 1em; }
.mi-notify-window{ margin: auto; text-align: center; width: auto; display: inline-block; min-width: 25em; max-width: 50em; padding: 1.5em 3em; }
.mi-notify-window{ box-shadow: 0px 0px 10px 1px #222; background: #fff; }
.mi-notify-icon{ margin: auto; height: 4em; width: 4em; margin-bottom: 1em; }
.mi-notify-icon{ background-repeat: no-repeat; background-size: contain; background-position: left center; }
.mi-notify-icon-success{ background-image: url(/core/img/message/success.png); }
.mi-notify-icon-error{ background-image: url(/core/img/message/error.png); }
.mi-notify-icon-info{ background-image: url(/core/img/message/info.png); }
.mi-notify-icon-warning{ background-image: url(/core/img/message/warning.png); }
.mi-notify-title{ font-size: 1.5em; margin-top: -.33em; margin-bottom: .67em; font-weight: bold; }
.mi-notify-title-success{ color: #0a0; }
.mi-notify-title-error{ color: #d00; }
.mi-notify-title-info{ color: #00b; }
.mi-notify-title-warning{ color: #b80; }
.mi-notify-text{ text-align: center; max-height: 50vh; overflow-y: auto; }
.mi-notify-list{ text-align: left; padding-left: 1.25em; max-height: 50vh; overflow-y: auto; }
.mi-notify-item{ display: list-item; }
.mi-notify-report{ max-height: 60vh; overflow-y: auto; text-align: left; }
.mi-notify-report{ margin-left: -1.5em; width: calc(100% + 3em); }
.mi-notify-signal{ padding: .5em .5em .5em 2.5em; margin-bottom: 1px; }
.mi-notify-signal:last-child{ margin-bottom: none; }
.mi-notify-signal{ background-repeat: no-repeat; background-position: .5em center; background-size: 1.5em; }
.mi-notify-signal-success{ background-image: url(/core/img/message/success.png); }
.mi-notify-signal-error{ background-image: url(/core/img/message/error.png); }
.mi-notify-signal-info{ background-image: url(/core/img/message/info.png); }
.mi-notify-signal-warning{ background-image: url(/core/img/message/warning.png); }
.mi-notify-signal-success{ background-color: #ccebc9; color: #33761b; }
.mi-notify-signal-error{ background-color: #f7d3ce; color: #a9001b; }
.mi-notify-signal-info{ background-color: #ced3f7; color: #1b00a9; }
.mi-notify-signal-warning{ background-color: #fbf6dd; color: #a4854b; }
.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; }

@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: table; }
.mi-progress-dialog{ background: #111; background: rgba(0, 0, 0, .5); }
.mi-progress-wrap{ display: table-cell; width: 100%; height: 100%; vertical-align: middle; text-align: center; padding: 2em; }
.mi-progress-window{ margin: auto; text-align: left; width: auto; display: inline-block; max-width: 40em; min-width: 22em; }
.mi-progress-window{ box-shadow: 0px 0px 10px 1px #222; background: #ececec; }
.mi-progress-title{ font-size: 1.125em; padding: .5em; }
.mi-progress-title{ background: #fff; border-bottom: 1px solid #dcdcdc; color: #555; }
.mi-progress-body{ padding: 1em; display: flex; flex-direction: column; align-items: center; background: #fff; }
.mi-progress-caption{ text-align: center; width: 100%; margin-bottom: .375em; font-size: 1.25em; font-weight: bold; }
.mi-progress-text{ text-align: center; width: 100%; margin-bottom: .5em; }
.mi-progress-text{ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mi-progress-dialog .mi-progress{ margin-bottom: .5em; }
.mi-progress-infinite{ width: 200%; left: 0%; animation: 10s linear 0s infinite mi-progress; }
.mi-progress-infinite{ background: repeating-linear-gradient(45deg, #33761b, #33761b 5%, #bdecac 5.1%, #bdecac 10%); }
.mi-progress-detail{ width: 100%; text-align: center; margin-bottom: .5em; padding: .25em; }
.mi-progress-detail{ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mi-progress-detail{ background: #ececec; font-weight: bold; }
@keyframes mi-progress{ 0% { left: 0%; } 50%{ left: -100%; } }
.mi-progress-button{ cursor: pointer; }

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

/* 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-image: url(/core/img/message/success.png); }
.mi-message-text-error{ background-image: url(/core/img/message/error.png); }
.mi-message-text-info{ background-image: url(/core/img/message/info.png); }
.mi-message-text-warning{ background-image: url(/core/img/message/warning.png); }
.mi-message-text-success{ background-color: #ccebc9; color: #33761b; }
.mi-message-text-error{ background-color: #f7d3ce; color: #a9001b; }
.mi-message-text-info{ background-color: #ced3f7; color: #1b00a9; }
.mi-message-text-warning{ background-color: #fbf6dd; color: #a4854b; }
.mi-message-close{ position: absolute; right: .5em; top: .5em; height: 1em; width: 1em; cursor: pointer; }
.mi-message-close{ background-repeat: no-repeat; background-position: center center; background-size: contain; }
.mi-message-close{ background-image: url(/core/img/message/close.png); }

.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: solid 1px #33761b; }
.mi-message-field-error{ border: solid 1px #a9001b; }
.mi-message-field-info{ border: solid 1px #1b00a9; }
.mi-message-field-warning{ border: solid 1px #a4854b; }
.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; }
.mi-message-icon-success{ background-image: url(/core/img/message/success.png); }
.mi-message-icon-error{ background-image: url(/core/img/message/error.png); }
.mi-message-icon-info{ background-image: url(/core/img/message/info.png); }
.mi-message-icon-warning{ background-image: url(/core/img/message/warning.png); }

/* styling for mi-tooltip */

.mi-tooltip{ position: fixed; z-index: 10000; text-align: left; font-weight: normal; }
.mi-tooltip{ background: #fff; box-shadow: 0px 0px 5px #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{ content: ''; position: absolute; height: 100%; width: 100%; top: 0; left: 0; }
.mi-paging-bt:before{ background-repeat: no-repeat; background-size: 1em 1em; background-position: center center; }
.mi-paging-input{ padding: .75em; padding-top: .5em; padding-bottom: .5em; height: 2.25em; }
.mi-paging-input{ display: flex; align-items: center; }
.mi-paging-input{ border: 1px solid #dcdcdc; border-right: none; border-left: none; background: #fff; }
.mi-paging-number{ border: none; width: 2em; padding: 0px; height: 100%; text-align: center; }
.mi-paging-number:hover, .mi-paging-number:focus{ border: none; }
.mi-paging-number:focus{ font-weight: bold; }
.mi-paging-count{ display: inline-block; width: 2em; text-align: center; }

/* 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: solid 1px #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: solid 1px #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-media */

.mi-media{ width: 100%; height: 100%; overflow: hidden; }
.mi-media{ border: solid 1px #dcdcdc; }
.mi-media-explorer{ width: 100%; height: 100%; position: relative; }

.mi-media-progress-dialog-window{ max-width: 30em; }
.mi-media-progress-form{ padding: 1em; text-align: center;}
.mi-media-progress-title{ font-size: 1.125em; margin-bottom: .5em; }
.mi-media-progress-files{ margin-bottom: .5em; }
.mi-media-progress-stats{ display: flex; margin: .5em 0 .5em 0; padding: .25em; }
.mi-media-progress-stats{ background: #ececec; }
.mi-media-progress-ratio{ font-weight: bold; } 
.mi-media-progress-file{ font-weight: bold; } 
.mi-media-progress-file{ display: inline-block; max-width: calc(100% - 6em); vertical-align: middle; }
.mi-media-progress-file{ overflow-x: hidden; white-space: nowrap; text-overflow: ellipsis; overflow-y: hidden; } 
.mi-media-progress-label{ margin-right: .25em; }
.mi-media-progress-rate{ font-weight: bold; }
.mi-media-progress-todo{ font-weight: bold; margin-right: .25em; }
.mi-media-progress-bar{ border: solid 1px #dcdcdc; text-align: left; height: 2em; overflow: hidden; }
.mi-media-progress-percent{ height: 100%; width: 0; background: #0ba000; }
.mi-media-progress-abort{ width: 100%; margin-top: .5em; }

.mi-media-zoom{ width: 100%; height: 100%; position: fixed; z-index: 10000; top: 0; left: 0; display: table; table-layout: fixed; }
.mi-media-zoom{ background: #111; background: rgba(0,0,0,.875); }
.mi-media-zoom-holder{ display: table-cell; height: 100%; width: 100%; text-align: center; vertical-align: middle; }

.mi-media-container span{ display: block; }
.mi-media-explorer>div{ width: 100%; height: 100%; overflow: hidden; display: flex; flex-direction: column; }

.mi-media-tools{ height: 2.5em; flex: 0 0 2.5em; position: relative; display: flex; align-items: center; }
.mi-media-tools{ padding: 1px; z-index: 1; box-shadow: 0px 0px 3px #aaa; }

.mi-media-nav{ display: flex; align-items: center; margin-left: .5em; }
.mi-media-nav>*{ height: 1.5em; width: 1.5em; flex: 0 0 1.5em; opacity: .75; }
.mi-media-nav>*:hover{ opacity: 1; }
.mi-media-nav>*[disabled]{ opacity: .25; }
.mi-media-nav>*:focus{ opacity: 1; transform: scale(1.125); }
.mi-media-prev{ background: url(/core/img/media/prev.png) no-repeat center center / contain; margin-right: .375em; }
.mi-media-next{ background: url(/core/img/media/next.png) no-repeat center center / contain; }

.mi-media-source{ flex-grow: 1; padding: .25em .5em; }
.mi-media-source-separator{ padding: 0 .25em; }
.mi-media-source-separator:nth-child(2){ display: none; }

.mi-media-actions{ display: flex; align-items: center; padding: 0em; }
.mi-media-action{ cursor: pointer; display: flex; align-items: center; padding: .5em .75em; height: calc(2.5em - 2px); margin-right: 1px; }
.mi-media-action{ background-repeat: no-repeat; background-position: center; background-size: auto 1.5em; }
.mi-media-action{ border-left: 1px solid #dcdcdc; }
.mi-media-action-icon{ margin-right: .25em; height: 1em; width: 1em; flex: 0 0 1em; filter: grayscale(1); }

.mi-media-styling{ width: 4.5em; filter: grayscale(1); margin-right: 0em; }
.mi-media-styling:hover, .mi-media-styling:focus{ filter: grayscale(0);  }
.mi-media-styling{ background-image: url(/core/img/media/style.png); }
.mi-media-styles{ padding: 0em; margin-top: -4px; box-shadow: none; } 
.mi-media-style{ padding-top: .75em; padding-left: .5em; padding-right: .5em; height: 2.75em; white-space: nowrap; border-bottom: dotted 1px #dcdcdc; }
.mi-media-style:last-child{ border-bottom: none; }
.mi-media-style:hover, .mi-media-style:focus{ background: #e7f6ff; }
.mi-media-style:before{ content: " "; display: block; margin-top: -.375em; margin-right: .5em; height: 2em; width: 2em; float: left; }
.mi-media-style:before{ background-repeat: no-repeat; background-position: center center; background-size: contain; }
.mi-media-style[data-style="big"]:before{ background-image: url(/core/img/media/style.big.png); }
.mi-media-style[data-style="medium"]:before{ background-image: url(/core/img/media/style.medium.png); }
.mi-media-style[data-style="small"]:before{ background-image: url(/core/img/media/style.small.png); }
.mi-media-style[data-style="mosaic"]:before{ background-image: url(/core/img/media/style.mosaic.png); }
.mi-media-style[data-style="detail"]:before{ background-image: url(/core/img/media/style.detail.png); }

.mi-media-container{ flex-grow: 1; overflow: hidden; width: 100%; display: flex; }
.mi-media-container{ background: #fff; }
.mi-media-tree, .mi-media-grid{ height: 100%; overflow: hidden; background: #fff; }
.mi-media-tree:focus, .mi-media-grid:focus{ background: #e7f6ff; outline: none; }
.mi-media-tree{ width: 15em; flex: 0 0 15em; }
.mi-media-grid{ flex-grow: 1; position: relative; overflow: hidden; }
.mi-media-tree .ico{ float: left; height: 1.5em; width: 1.5em; margin-right: .5em; }
.mi-media-tree .ico{ cursor: default; display: inline-block; vertical-align: middle; }
.mi-media-tree .name{ padding: .25em; width: calc(100% - 2em); display: inline-block; vertical-align: middle; }
.mi-media-tree .name{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi-media-tree-b{ overflow: auto; width: 100%; height: 100%; padding: 1px; }
.mi-media-tree-r .mi-media-tree-r{ padding-left: 1.5em; }
.mi-media-tree-c{ cursor: default; padding: .5em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mi-media-grid-b{ overflow-y: scroll; width: 100%; height: 100%; padding: .5em; }
.mi-media-grid-h + .mi-media-grid-b{ height: calc(100% - 2.25em); }
.mi-media-grid-h{ background: #ececec; font-weight: bold; }
.mi-media-grid-t{ display: table; width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: .5em; }
.mi-media-grid-r{ display: table-row; }
.mi-media-grid-c{ display: table-cell; text-align: center; padding: .125em; position: relative; vertical-align: top; }
.mi-media-grid-c.cut{ opacity: .5; }
.mi-media-grid-c.copy{ }
.mi-media-grid-jam{ display: table-cell; }
.mi-media-grid-c.back{ vertical-align: middle; }

@media (max-width: 1100px){
	.mi-media-tree{ display: none; }
}

.mi-media-thumb{ margin: auto; max-width: 100%; min-width: 60%; padding: .25em; }
.mi-media-thumb>*{ margin: auto; height: 100%; max-width: 100%; }
.mi-media-thumb{ font-size: 1.5em; }
.mi-media-thumb.xsmall{ height: 2em; width: 2em; }
.mi-media-thumb.small{ height: 3em; width: 3em; }
.mi-media-thumb.medium{ height: 4em; width: 4em; }
.mi-media-thumb.big{ height: 5em; width: 5em; }
.mi-media-title{ width: 100%; padding: .25em; padding-top: 0; text-align: center; }
.mi-media-title{ word-wrap: break-word; hyphens: auto; }
.mi-media-sticker{ display: table; width: 100%; }
.mi-media-sticker-left{ display: table-cell; }
.mi-media-sticker-right{ display: table-cell; vertical-align: middle; text-align: left; width: 100%; }
.mi-media-sticker .mi-media-title{ font-weight: bold; text-align: left; }
.mi-media-sticker .mi-media-info{ padding: .25em; padding-top: 0; color: #222; }
.mi-media-table{ display: table; width: 70em; table-layout: fixed; }
.mi-media-table>*{ display: table-cell; vertical-align: middle; text-align: left; }
.mi-media-table>*{ word-wrap: break-word; hyphens: auto; }
.mi-media-table .mi-media-title{ text-align: left; font-weight: bold; }
.mi-media-column-1{ width: 4em; }
.mi-media-column-2{ width: 18em; }
.mi-media-column-3{ width: 9em; color: #222; }
.mi-media-column-4{ width: 9em; color: #222; }
.mi-media-column-5{ width: 10em; color: #222; }
.mi-media-column-6{ width: 12em; color: #222; }
.mi-media-header{ border-collapse: separate; border-spacing: 3px; }
.mi-media-header>*{ padding: .5em; padding-bottom: .25em; }
.mi-media-header>*:last-child{ border-right: none; }

.mi-media-tree{ border-right: solid 1px #dcdcdc; }
.mi-media-tree-c{ -webkit-transition: all .25s; transition: all .25s; border-bottom: dotted 1px #dcdcdc; }
.mi-media-tree-c:hover, .mi-media-tree-c.selected, .mi-media-tree-c:focus{ padding: .5em; background: #e7f6ff;  }
.mi-media-explorer{ background: #fff; }
.mi-media-tree-c.selected{ background: #dcf0fd; }
.mi-media-styles{ background: #ececec; border: solid 1px #dcdcdc; user-select: none; }
.mi-media-grid-c{ border: solid 1px #ececec; background: #fff; }
.mi-media-grid-c:hover, .mi-media-grid-c.selected, .mi-media-grid-c:focus{ background: #e7f6ff; border: solid 1px #c8e5f7; }
.mi-media-grid-c.selected{ background: #dcf0fd; }

.mi-media-tree-open, .mi-media-tree-close{ float: left; height: 2em; width: 2em; padding: .5em; margin-top: -.5em; margin-left: -.5em; margin-bottom: -.5em; }
.mi-media-tree-open{ cursor: pointer; cursor: zoom-in; }
.mi-media-tree-open:before{ content: "►"; }
.mi-media-tree-close{ cursor: pointer; cursor: zoom-out; }
.mi-media-tree-close:before{ content: "▼"; }

.mi-media-props-dialog .mi-dialog-body{ height: 60vh; max-height: 60vh; }
.mi-media-props{ height: 100%; width: 100%; display: flex; flex-direction: column; overflow: hidden; }

.mi-media-props-btns{ margin-bottom: -1px; background: #dcdcdc; }
.mi-media-props-btn{ display: inline-block; padding: .5em; border-right: solid 1px #dcdcdc; color: rgba(0,0,0,.5); cursor: default; }
.mi-media-props-btn:hover{ color: rgba(0,0,0,1); background: #dcdcdc; }
.mi-media-props-btn.selected{ background: #fff; border-bottom: solid 1px #fff; color: #000; }
.mi-media-props-tabs{ height: 100%; overflow: hidden; background: #fff; }
.mi-media-props-tabs{ min-height: calc(100% - 2.25em); }
.mi-media-props-tab{ padding: 1em; height: 100%; overflow-y: scroll; }

.mi-media-props-list{ width: 100%; border-collapse: collapse; }
.mi-media-props-list th{ text-align: left; white-space: nowrap; width: 0%; padding: .5em; }
.mi-media-props-list th{ border-bottom: dashed 1px #dcdcdc; font-weight: normal; }
.mi-media-props-list td{ text-align: left; width: 100%; padding: .5em; }
.mi-media-props-list td{ border-bottom: dashed 1px #dcdcdc; font-weight: bold; }
.mi-media-props-list tr:last-child>*{ border-bottom: none; }

.mi-media-grant-row{ display: block; padding-bottom: 1em; margin-bottom: 1em; border-bottom: 1px dashed #dcdcdc; }
.mi-media-grant-row:last-child{ margin-bottom: 0em; border-bottom: none; }
.mi-media-grant-label{ display: block; font-weight: bold; margin-bottom: .5em; }
.mi-media-grant-info{ font-style: italic; margin-bottom: .5em; margin-top: -.25em; font-size: .875em; }
.mi-media-grant-info:last-child{ margin-bottom: 0em; }
.mi-media-grant-access-ul{ display: flex; margin-bottom: .5em; }
.mi-media-grant-access-li{ margin-right: .5em; }
.mi-media-grant-access-check{ margin-right: .5em; }
.mi-media-grant-secured-ul{ display: flex; margin-bottom: .5em; }
.mi-media-grant-secured-li{ margin-right: .5em; }
.mi-media-grant-secured-check{ margin-right: .5em; }
.mi-media-grant-secured-buttons{ display: flex; margin-bottom: .5em; }
.mi-media-grant-secured-buttons>*{ margin-right: .5em; }
.mi-media-grant-modes-ul{ margin-bottom: .5em; }
.mi-media-grant-modes-li{ margin-bottom: .5em; }
.mi-media-grant-modes-li{ border: 1px dashed #dcdcdc; }
.mi-media-grant-modes-li:last-child{ margin-bottom: 0em; }
.mi-media-grant-modes-top{ display: flex; align-items: center; width: 100%; padding: .5em; }
.mi-media-grant-modes-title{ flex-grow: 1; }
.mi-media-grant-modes-add{ height: 1.5em; width: 1.5em; flex: 0 0 1.5em; }
.mi-media-grant-roles-ul{ min-height: 2.25em; padding: .5em; background: #ececec; }
.mi-media-grant-roles-li{ display: inline-flex; padding: .5em .75em; margin-right: .5em; align-items: center; }
.mi-media-grant-roles-li{ background: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-media-grant-roles-label{ white-space: nowrap; }
.mi-media-grant-roles-remove{ margin-left: .5em; height: 1.5em; width: 1.5em; flex: 0 0 1.5em; }

.mi-media-rename-dialog-window{ max-width: 24em; }
.mi-media-rename-form{ width: 100%; }
.mi-media-rename-rows{ padding: 1em; }
.mi-media-rename-row{ margin-top: .5em; }
.mi-media-rename-row:first-child{ margin-top: 0em; }
.mi-media-rename-label{ display: block; margin-bottom: .5em; }
.mi-media-rename-name{ display: block; width: 100%; }
.mi-media-rename-redirects-row{ display: none; }
.mi-media-rename-redirects-help{ display: none; }
.mi-media-rename-redirects{ display: flex; align-items: center; justify-content: center; }
.mi-media-rename-redirects{ padding: .5em; border: 1px solid #dcdcdc; }
.mi-media-rename-redirect{ display: flex; align-items: center; margin-right: .5em; }
.mi-media-rename-redirect:last-child{ margin-right: 0em; }
.mi-media-rename-redirect-check{ margin-right: .5em; }
.mi-media-rename-help{ font-style: italic; margin-bottom: .5em; }
.mi-media-rename-submit{ text-align: right; }
.mi-media-rename-submit{ padding: .5em; background: #ececec; }

.mi-media-redirect-form{ width: 100%; padding: 1em; }
.mi-media-redirect-form table{ width: 100%; table-layout: fixed; }
.mi-media-redirect-form td{ white-space: nowrap; }
.mi-media-redirect-form td:first-child{ padding-right: 1em; width: 7em; }
.mi-media-redirect-form td:nth-child(2){ padding-bottom: .375em; }
.mi-media-redirect-form input[type="text"]{ width: 100%; }
.mi-media-redirect-form tr:nth-child(3) td{ padding-top: .5em; }
.mi-media-redirect-inverse{ padding: 1em; padding-right: 0; width: 2.5em; cursor: pointer; }
.mi-media-redirect-inverse{ background: url(/core/img/media/invert.png) no-repeat right center / 2em 2em; }
.mi-media-redirect-choice{ display: inline-block; vertical-align: middle; }
.mi-media-redirect-choice>*{ display: inline-block; vertical-align: middle; margin-right: .5em; }
.mi-media-redirect-submit{ text-align: right; margin-top: .5em; }

/* styling default files icons */

*[class*="ico-file-"]{ background-repeat: no-repeat; background-position: center center; background-size: contain; }

.ico-file-zzz{ background-image: url(/core/img/file/zzz.png); }

.ico-file-aac{ background-image: url(/core/img/file/aac.png); }
.ico-file-accdb{ background-image: url(/core/img/file/accdb.png); }
.ico-file-ai{ background-image: url(/core/img/file/ai.png); }
.ico-file-aiff{ background-image: url(/core/img/file/aiff.png); }
.ico-file-apk{ background-image: url(/core/img/file/apk.png); }
.ico-file-bat{ background-image: url(/core/img/file/bat.png); }
.ico-file-bmp{ background-image: url(/core/img/file/bmp.png); }
.ico-file-c{ background-image: url(/core/img/file/c.png); }
.ico-file-cpp{ background-image: url(/core/img/file/cpp.png); }
.ico-file-css{ background-image: url(/core/img/file/css.png); }
.ico-file-csv{ background-image: url(/core/img/file/csv.png); }
.ico-file-doc{ background-image: url(/core/img/file/doc.png); }
.ico-file-docm{ background-image: url(/core/img/file/doc.png); }
.ico-file-docx{ background-image: url(/core/img/file/doc.png); }
.ico-file-eps{ background-image: url(/core/img/file/eps.png); }
.ico-file-exe{ background-image: url(/core/img/file/exe.png); }
.ico-file-folder{ background-image: url(/core/img/file/folder.png); }
.ico-file-gif{ background-image: url(/core/img/file/gif.png); }
.ico-file-gz{ background-image: url(/core/img/file/gz.png); }
.ico-file-h{ background-image: url(/core/img/file/c.png); }
.ico-file-hpp{ background-image: url(/core/img/file/cpp.png); }
.ico-file-html{ background-image: url(/core/img/file/html.png); }
.ico-file-jpeg{ background-image: url(/core/img/file/jpeg.png); }
.ico-file-jpg{ background-image: url(/core/img/file/jpg.png); }
.ico-file-js{ background-image: url(/core/img/file/js.png); }
.ico-file-json{ background-image: url(/core/img/file/json.png); }
.ico-file-mdb{ background-image: url(/core/img/file/accdb.png); }
.ico-file-mp3{ background-image: url(/core/img/file/mp3.png); }
.ico-file-mp4{ background-image: url(/core/img/file/mp4.png); }
.ico-file-ogg{ background-image: url(/core/img/file/ogg.png); }
.ico-file-otf{ background-image: url(/core/img/file/otf.png); }
.ico-file-pdf{ background-image: url(/core/img/file/pdf.png); }
.ico-file-php{ background-image: url(/core/img/file/php.png); }
.ico-file-png{ background-image: url(/core/img/file/png.png); }
.ico-file-ppt{ background-image: url(/core/img/file/ppt.png); }
.ico-file-psd{ background-image: url(/core/img/file/psd.png); }
.ico-file-py{ background-image: url(/core/img/file/py.png); }
.ico-file-rar{ background-image: url(/core/img/file/rar.png); }
.ico-file-sh{ background-image: url(/core/img/file/sh.png); }
.ico-file-sql{ background-image: url(/core/img/file/sql.png); }
.ico-file-svg{ background-image: url(/core/img/file/svg.png); }
.ico-file-ttf{ background-image: url(/core/img/file/ttf.png); }
.ico-file-txt{ background-image: url(/core/img/file/txt.png); }
.ico-file-vb{ background-image: url(/core/img/file/vb.png); }
.ico-file-volume{ background-image: url(/core/img/file/volume.png); }
.ico-file-wav{ background-image: url(/core/img/file/wav.png); }
.ico-file-webm{ background-image: url(/core/img/file/webm.png); }
.ico-file-wma{ background-image: url(/core/img/file/wma.png); }
.ico-file-wsh{ background-image: url(/core/img/file/wsh.png); }
.ico-file-xls{ background-image: url(/core/img/file/xlsx.png); }
.ico-file-xlsm{  background-image: url(/core/img/file/xlsx.png); }
.ico-file-xlsx{ background-image: url(/core/img/file/xlsx.png); }
.ico-file-xml{ background-image: url(/core/img/file/xml.png); }
.ico-file-zip{ background-image: url(/core/img/file/zip.png); }

/* styling for mi-media dialog */

.mi-media-dialog-window{ height: calc(100vh - 2em); width: 100%; }
.mi-media-dialog-body{ height: calc(100vh - 4.375em); width: 100%; }
.mi-media-dialog-form{ height: 100%; width: 100%; }

/* styling for mi-context */

.mi-context{ display: block; position: fixed; z-index: 10000; }
.mi-context{ background: #fff;  box-shadow: 0px 0px 5px #aaa; }
.mi-context-items{ min-width: 12em; user-select: none; }
.mi-context-item{ width: 100%; display: flex; align-items: center; justify-content: flex-start; }
.mi-context-item{ border-bottom: 1px dotted #dcdcdc; cursor: pointer; }
.mi-context-item:last-child{ border-bottom: none; }
.mi-context-item-icon{ text-align: center; height: 2.25em; width: 2em; padding: .25em; }
.mi-context-item-img{ height: 1.5em; width: 1.5em; margin: auto; }
.mi-context-item-separator{ height: 1px; background: #555; }
.mi-context-item-icon{ padding: .5em; min-width: 1em; }
.mi-context-item-icon{ background: #ececec; }
.mi-context-item-text{ flex-grow: 1; text-align: left; padding: .5em 1em .5em 1em; white-space: nowrap; }
.mi-context-item:hover .mi-context-item-icon{ background: #c8e5f7; }
.mi-context-item:focus .mi-context-item-icon{ background: #c8e5f7; }
.mi-context-item:hover .mi-context-item-text{ background: #dcf0fd; }
.mi-context-item:focus .mi-context-item-text{ background: #dcf0fd; font-weight: bold; }

/* styling for mi-scroll */ 

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

/* styling for mi-datagrid */

.mi-datagrid{ display: block; width: 100%; height: 100%; position: relative; }
.mi-datagrid-header{ display: block; width: 100%; overflow-x: hidden; overflow-y: scroll; }
.mi-datagrid-body{ display: block; width: 100%; overflow-x: scroll; overflow-y: scroll; }
.mi-datagrid-row{ display: table; table-layout: fixed; border-collapse: collapse; padding: 0; }
.mi-datagrid-row>*{ display: table-cell; }
.mi-datagrid-cell-c{ vertical-align: middle; text-align: left; padding-left: .25em; padding-right: .25em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-datagrid-cell-h{ vertical-align: middle; text-align: center; font-weight: bold; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-datagrid-row>*.fixed{ position: absolute; right: 0; }
.mi-datagrid-action{ position: absolute; height: 100%; top: 0; right: 0; }
.mi-datagrid-action-header{ overflow-y: scroll; overflow-x: hidden; }
.mi-datagrid-action-header>*{ display: table; width: 100%; }
.mi-datagrid-action-header>*>*{ width: 100%; display: table-cell; vertical-align: middle; text-align: center; }
.mi-datagrid-action-body{ overflow-y: scroll; overflow-x: scroll; }
.mi-datagrid-action-row{ display: table; width: 100%; table-layout: fixed; }
.mi-datagrid-action-row>*{ width: 100%; display: table-cell; vertical-align: middle; text-align: center; }
.mi-datagrid-row>*{ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.mi-datagrid-body{ background: #fff; }
.mi-datagrid-action-body{ background: #fff; }
.mi-datagrid-row{ height: 2.25em !important; background: #fff; }
.mi-datagrid-cell-c{ border-right: dotted 1px #dcdcdc; }
.mi-datagrid-body>.mi-datagrid-row:nth-child(2n){ background: #ececec; }
.mi-datagrid-action-row{ height: 2.25em !important; background: #fff; }
.mi-datagrid-action-body>.mi-datagrid-action-row:nth-child(2n){ background: #ececec; }
.mi-datagrid-action{ border-left: solid 1px #555; }
.mi-datagrid-action{ user-select: none; }
.mi-datagrid-header>.mi-datagrid-row{ background: #dcdcdc; }
.mi-datagrid-header>.mi-datagrid-row:first-child{ background: #555; color: #fff; }
.mi-datagrid-action-header>.mi-datagrid-action-row{ background: #dcdcdc; }
.mi-datagrid-action-header>.mi-datagrid-action-row:first-child{ background: #555; color: #fff; }
.mi-datagrid-blend{ background: #f1f1f1; border-top: solid 1px #555; }
.mi-datagrid-blend-right{ border-bottom: solid 1px #555; }

.mi-datagrid-row.selected{ background: #2eaff0 !important; }
.mi-datagrid-row.over{ background: #ffb13b !important; }
.mi-datagrid-action-row.selected{ background: #2eaff0 !important; }
.mi-datagrid-action-row.over{ background: #ffb13b !important; }

/* 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-button .mi-social-count{ display: inline-block; margin-right: .5em; float: left; }
.mi-social-button .mi-social-count{ padding: .25em; border: solid 1px #dcdcdc; background: #ececec; }
.mi-social-button .mi-social-count{ color: #555; font-weight: bold; font-size: .75em; }*/

.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; }

.mi-social-facebook{ background: url(/core/img/social/facebook.png) no-repeat center center / contain; }
.mi-social-google{ background: url(/core/img/social/google.png) no-repeat center center / contain; }
.mi-social-twitter{ background: url(/core/img/social/twitter.png) no-repeat center center / contain; }
.mi-social-linkedin{ background: url(/core/img/social/linkedin.png) no-repeat center center / contain; }
.mi-social-pinterest{ background: url(/core/img/social/pinterest.png) no-repeat center center / contain; }

/* 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: 1000px){
	.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%; margin: auto; }

/* styling for mi-pdf */

.pdf-viewer{ 
	width: 100%; height: 100%; background: #dcdcdc;  overflow: auto; 
	position: relative; padding: 1em 2em 0 2em;
}
.pdf-controls{ position: absolute; right: 1em; top: 0; padding-top: 1em; }
.pdf-controls{ opacity: .5; filter: align(opacity=0); user-select: none; }
.pdf-controls{ transition: opacity .25s; -webkit-transition: opacity .25s; }
.pdf-viewer:hover>.pdf-controls{ opacity: 1; }
.pdf-control{ margin-bottom: .5em; border-radius: 1.5em; height: 3em; width: 3em; cursor: pointer; }
.pdf-control{ background: rgb(242,242,242); color: rgb(96,96,96); }
.pdf-control{ box-shadow: 0px 0px .125em .125em #888; }
.pdf-control-icon{ text-align: center; font-size: 1.5em; font-weight: bold; /*padding-top: .15em;*/ }
.pdf-control-icon{ display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; }
.pdf-control-icon{ background-repeat: no-repeat; background-position: center center; background-size: 1.125em 1.125em; }
.pdf-control-icon{ filter: grayscale(1); }
.pdf-viewer>.pdf-doc{ margin: auto; }
.pdf-viewer>.pdf-doc>.pdf-page{ margin: auto; background: #fff; }
.pdf-viewer>.pdf-doc>.pdf-page{ box-shadow: 0px 0px .25em .25em #888; }
.pdf-viewer>.pdf-doc>.pdf-page{ margin-top: 1em; }
.pdf-viewer>.pdf-doc>.pdf-page:last-child{ margin-bottom: 2em; }
.pdf-doc{ background: none; }
.pdf-page{ print-color-adjust: exact !important; -webkit-print-color-adjust: exact !important; }
.pdf-content{ width: 100%; }
.pdf-summary-list{ list-style-type: none !important; }
.pdf-summary-list .pdf-summary-list{ padding-left: 2em; }
.pdf-summary-item{ display: table; width: 100%; border-collapse: collapse; }
.pdf-summary-item{ color: #000; text-decoration: none; }
.pdf-summary-title{ display: table-cell; white-space: nowrap; }
.pdf-summary-dots{ display: table-cell; width: 100%; padding: 0 .5em; }
.pdf-summary-dots:before{ content: ""; display: block; width: 100%; border-bottom: dotted 2px #000; }
.pdf-summary-number{ display: table-cell; width: 0%; white-space: nowrap; }

/* 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: 10000; }
.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; }
.mi-slides-icon{ background-position: center center; background-size: contain; background-repeat: no-repeat; }
.mi-slides-icon-top{ background-image: url(/core/img/slides/up.png); }
.mi-slides-icon-right{ background-image: url(/core/img/slides/right.png); }
.mi-slides-icon-bottom{ background-image: url(/core/img/slides/down.png); }
.mi-slides-icon-left{ background-image: url(/core/img/slides/left.png); }

.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{ position: fixed; z-index: 10000; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0, .875); }
.mi-zoom-controls{ position: absolute; top: 0; right: 0; padding: 1em; display: flex; align-items: center; }
.mi-zoom-controls>*{ display: block; height: 1.75em; width: 1.75em; cursor: pointer; margin-left: .875em; }
.mi-zoom-controls>*{ background-repeat: no-repeat; background-size: contain; background-position: center center; }
.mi-zoom-controls>*{ filter: brightness(10); }
.mi-zoom-controls>*:focus{ transform: scale(1.25); }
.mi-zoom-close{ background-image: url(/core/img/zoom/close.png); }
.mi-zoom-maximize{ background-image: url(/core/img/zoom/maximize.png); }
.mi-zoom-minimize{ background-image: url(/core/img/zoom/unmaximize.png); }
.mi-zoom-body{ width: 100%; height: 100%; }
.mi-zoom-content{ padding: 2em 4em; height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; }
.mi-zoom-nav{ display: block; height: 2.5em; width: 2.5em; cursor: pointer; position: absolute; top: 50%; margin-top: -1.25em; }
.mi-zoom-nav{ background-repeat: no-repeat; background-size: contain; background-position: center center; }
.mi-zoom-nav{ filter: invert(1); }
.mi-zoom-prev{ left: .5em; background-image: url(/core/img/zoom/left.png); }
.mi-zoom-next{ right: .5em; background-image: url(/core/img/zoom/right.png); }
.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; }

/* styling for "mi-emoji" */

.mi-emoji-dialog-window{ width: 27em; }
.mi-emoji-search-list{ padding: .5em; }
.mi-emoji-toolbar{ padding: .25em; text-align: center; }
.mi-emoji-toolbar{ background: #dcdcdc; }
.mi-emoji-toolbar>*{ display: inline-block; vertical-align: middle; }
.mi-emoji-search{ width: 9em; }
.mi-emoji-search-icon{ height: 1.5em; width: 1.5em; margin: 0 .5em 0 .125em; }
.mi-emoji-content{ width: 27em; padding: 1em; }
.mi-emoji-grid{ width: 25em; height: 25em; margin: auto; }
.mi-emoji-item{ display: inline-block; vertical-align: middle; height: 2.5em; width: 2.5em; }
.mi-emoji-item{ padding: .5em .125em; text-align: center; cursor: pointer; }
.mi-emoji-item:nth-child(2n){ background: #ececec; }
.mi-emoji-item:hover{ outline: 3px solid #dcdcdc; position: relative; z-index: 1; }

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

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

.mi-files{ border: 1px solid #dcdcdc; }
.mi-files-list{ width: 100%; height: 100%; position: relative; overflow: hidden; background: #ececec; }
.mi-files-add-wrap{ position: absolute; top: 0; right: 0; }
.mi-files-add-wrap{ background: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-files-add{ height: 2.5em; width: 2.5em; background-size: 2em 2em; }
.mi-files-items{ width: 100%; height: 100%; padding: 1em; overflow-x: hidden; overflow-y: scroll; }
.mi-files-item{ padding: 1em; 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; }
.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; }
.mi-images-add-wrap{ position: absolute; top: 0; right: 0; }
.mi-images-add-wrap{ background: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-images-add{ height: 2.5em; width: 2.5em; background-size: 2em 2em; }
.mi-images-list{ width: 100%; height: 14em; padding: 1em; overflow-x: scroll; display: flex; }
.mi-images-list{ background: #ececec; }
.mi-images-item{ display: flex; flex: 0 0 12em; width: 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 "progress" (see also mi-progress dialog) */

.mi-progress{ width: 100%; height: 2.25em; background: #222; }
.mi-progress[disabled]{ background: #dcdcdc; }
.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; }
.mi-progress-gauge{ background: #33761b; }
.mi-progress-gauge[disabled]{ background: #ececec; }
.mi-progress-value{ position: absolute; top: 0px; left: 0px; height: 100%; width: 100%; z-index: 2; }
.mi-progress-value{ display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mi-progress-value{ line-height: 1em; padding: .5em; font-size: .75em; color: #fff; text-shadow: 0px 0px 3px #111; }

/* 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; }

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

.mi-period{ white-space: nowrap; display: flex; align-items: center; 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; } 
.mi-period-bt:before{ margin-right: 0; }
.mi-period-bt[disabled]{ filter: grayscale(1); opacity: .5; }
.mi-period-input{ text-align: center; background: #fff; }
.mi-period-input[disabled]{ border: 1px solid #dcdcdc; background: #fff; }
.mi-period-from{ border-right: none !important; border-left: none !important; }
.mi-period-to{ border-right: none !important; }
.mi-period-type-icon{ height: 2.25em; width: 2.25em; margin-left: 1em; transition: all .25s; cursor: pointer; }
.mi-period-type-icon{ background: url(/core/img/period/calendar.png) no-repeat center center / contain; }
.mi-period-type-icon:hover, .mi-period-type-icon:focus{ transform: scale(1.25); }
.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 */

.tox-tinymce-aux{ z-index: 10000 !important; }

.mi-richtext{ overflow: hidden; border: 1px solid #dcdcdc; }
.mi-richtext-none{ display: none; }
.mi-richtext-editor{ width: 100%; height: 100%; }
.mi-richtext-editor{ border: none; }
.mi-richtext-preview{ width: 100%; height: 100%; padding: .5em; }
.mi-richtext:focus{ outline: none; border: 1px dashed #000; }
.mi-richtext[disabled]{ border: 1px dotted #dcdcdc; background: #ececec; }

.mi-richtext .mi-richtext-toolbar{ background: none; border-bottom: 1px solid #dcdcdc; }
.mi-richtext .mi-richtext-group{ padding: 0px; margin: 0px; }
.mi-richtext .mi-richtext-button{ border-radius: 0px; margin: 0; cursor: pointer; }
.mi-richtext .mi-richtext-button:hover{ background: #ececec; }

/* 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; background-image: url(/core/img/actions/search.png); }
.mi-suggest-clear-icon{ margin-left: .5em; background-image: url(/core/img/actions/remove.png); }
.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; position: relative; }
.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-canvas{ width: 100%; height: 100%; }

/* 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; }
.mi-notes-content{ width: 100%; height: 100%; position: relative; overflow: hidden; }
.mi-notes-add-wrap{ position: absolute; top: 0; right: 0; }
.mi-notes-add-wrap{ background-color: #fff; box-shadow: 0px 0px 3px #aaa; }
.mi-notes-add{ height: 2.5em; width: 2.5em; background-size: 2em 2em; }
.mi-notes-list{ width: 100%; height: 100%; min-height: 20em; padding: 1em; overflow-y: scroll; }
.mi-notes-list{ background: #ececec; }
.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 "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 "colors" */

.mi-colors{ padding: .625em; background: #f2f2f2; border: 1px solid #dcdcdc; }
.mi-colors-ul{ text-align: center; }
.mi-colors-li{ height: 2.5em; width: 2.5em; margin: .5em; }
.mi-colors-li{ display: inline-block; vertical-align: middle; }
.mi-colors-li{ border: 3px solid #fff; box-shadow: 0px 0px 3px #222; }
.mi-colors-li{ background-repeat: no-repeat; background-size: cover; background-position: center center; }
.mi-colors-li:focus{ outline: 2px solid #000; transform: scale(1.2); }
.mi-colors-li.selected{ outline: 2px solid #080; border: 3px solid #f0ffe3; box-shadow: 0px 0px 3px #222, inset 3px 3px 3px #222;  }
.mi-colors-none{ box-shadow: none; border: none; background: #dcdcdc; }

/* 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; }

.core-align-left-icon{ background-image: url(/core/img/align/left.png); }
.core-align-center-icon{ background-image: url(/core/img/align/center.png); }
.core-align-right-icon{ background-image: url(/core/img/align/right.png); }
.core-align-justify-icon{ background-image: url(/core/img/align/justify.png); }
.core-align-top-icon{ background-image: url(/core/img/align/top.png); }
.core-align-middle-icon{ background-image: url(/core/img/align/middle.png); }
.core-align-bottom-icon{ background-image: url(/core/img/align/bottom.png); }

/* styling for mi-dyn */

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

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

.mi-mail{ background: #ddd; font-family: mirage, 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: 2em; }
.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; }