
DIV.dialogFieldContainer DIV.dialogFieldInput {
  padding:2px 2px;
}

.dialogFieldMDI:hover {
  background:#eee;
}

.popupFooterButton, .popupFooterButtonDefault {
  line-height:1.6em;
}

.dialogFieldInputMDI {
  background:white;
  color:#333;
  height:18px;
  font-size:21px;
  padding: 1px 26px 1px 5px;
  border: 1px inset rgb(118, 118, 118);
}

.pickerSearchRow {
  padding: 2px;
}


.multimapMarkerOK {
  background:lightgreen;
}

.multimapMarkerWarn {
  background:lightyellow;
}


.ace_comment,
.ace_meta {
  font-style: normal;
  color: lime !important;
}

.ace_string {
  font-style: normal;
  color: cyan !important;
}

/* Make the page fill the window, and hide anything that flows out of it (like dialogs) */
html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #eee;
  height: 100%;
}

* {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  -o-user-select: none;
  user-select: none;
}

input, .selectable {
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -o-user-select: text;
  user-select: text;
}

#fullscreenRoot {
  width: 100%;
  height: 100%;
}

.loginBox {
  width: 300px;
  height: 150px;
  margin: auto;
  margin-top: 100px;
  border: 1px solid black;
  text-align: center;
  font-family: arial;
  padding: 0px;
  background-color: beige;
  font-size: 13px;
}

.loginBox H1 {
  width: 100%;
  font-size: 16px;
  background-color: #333;
  color: white;
  font-weight: bold;
  margin: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.loginBox INPUT {
  margin: 3px;
  width: 105px;
}

.loginBox BUTTON {
  font-size: 13px;
  width: 90px;
  height: 24px;
  margin: 10px;
}

.loginBox B {
  font-weight: bold;
  color: red;
  font-size: 14px;
}

.loginLabel {
  display: inline-block;
  width: 90px;
  text-align: right;
}

.sessionWarning {
  width: 500px;
  height: 100px;
  background: pink !important;
  font-size: 20px !important;
  font-weight: bold !important;
  text-align: center;
  padding-top: 50px;
}

#rootWork {
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  clear: both;
  margin: auto;
  padding: 0px;
  padding-top: 40px;
}

.rootView {
  margin: auto;
  border: none;
  overflow: scroll;
  overflow-y: auto;
  overflow-x: hidden;
}

#rootPrompt {
  position: fixed;
  bottom: 20px;
  left: 0px;
  width: 100%;
  height: 40px;
  border-top: 1px solid white;
  box-shadow: 0px 5px 10px #999;
  background: rgba(255, 255, 255, .1);
  padding: 10px 5px 5px 20px;
  font-size: 26px;
  color: #777;
  font-style: italic;
  font-family: arial;
  z-index: 10;
}

.rootBar {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 24px;
  font-family: arial;
  font-size: 14px;
  z-index: 10;
  color: white;
  background: black;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
}

.rootBarIcon {
  font-size: 20px;
  line-height:0.9em;
  /* vertical-align: middle; */
}

.rootBarMenu, .rootBarMemo, .rootBarSMS, .rootBarCalendar, #rootBarMemoIcon {
  float: left !important;
  padding-left: 4px !important;
  padding-right: 4px!important;
  padding-top: 4px!important;
  opacity: 0.7;
}

.rootBarMenu {
  padding-left: 5px;
  padding-right: 5px;
}

.rootBarMenu:hover, .rootBarMemo:hover,
.rootBarSMS:hover, .rootBarCalendar:hover, 
#rootBarMemoIcon:hover {
  cursor: pointer;
  opacity: 1.0;
  transition: 0.3s;
}

.rootBarCompany {
  float: left;
  /*   padding: 0px; */
  /*   margin: 0px; */
  /*   padding-left: 5px; */
  margin-top: 1px;
  font-size: 20px;
  font-weight: bold;
  /*   color:red; */
  flex-wrap: no-wrap;
  flex-grow: 0;
  flex-shrink: 0;
}

.rootBarProduct {
  float: left;
  font-size: 16px;
  padding-left: 4px;
  padding-top: 4px;
  padding-right: 4px;
  flex-wrap: no-wrap;
  flex-grow: 0;
  flex-shrink: 0;
}

.rootBarNotices {
  float: left;
  width: 95%;
  padding: 8px;
  border-right: 1px solid black;
  flex-shrink: 20;
  padding-top: 3px;
}

.rootBarLogout {
  width: 20px;
  flex-basis: 20px;
  flex-grow: 0;
  flex-shrink: 0;
  margin: 3px 2px 0px 3px;
  opacity: 0.7;
}

.rootBarLogout:hover {
  opacity: 1.0;
  transition: 0.3s;
}

.rootBarLogout a:-webkit-any-link {
  color: inherit;
}

#rootBarMemoCount {
  position: relative;
  top: -17px;
  /* left: -2px; */
  font-weight: bold;
  font-size: 14px;
  font-family: arial;
  color: red !important;
  z-index: 999;
  text-shadow: 0px 0px 5px white;
  text-align: center;
  vertical-align: middle;
}

@keyframes memoFlash {
  0% {
    background-color: #555;
  }

  50% {
    background-color: red;
  }

  100% {
    background-color: #555;
  }
}

.memoFlash {
  animation-name: memoFlash;
}

.memoStatic {
  animation-name: none;
}

.memoText {
  width: 300px;
  text-align: left;
  font-family: arial;
  font-size: 12px;
  white-space: pre-wrap;
  word-wrap: break-word;
  background: yellow;
  padding: 5px;
  user-select: text;
}

.memoText H3 {
  margin-top: 2px;
  margin-bottom: 8px;
}

.noticeBox {
  width: 100%;
  background-color: white;
  color: black;
  font-size: 12px;
  padding-left: 4px;
  padding-top: 3px;
  font-family: courier;
  height: 15px;
}

.moduleList {
  width: 660px;
  opacity: 1.0;
}

.moduleIcons {
  width: 100px;
  height: 20px;
  border: 3px double silver;
  border-radius: 10px;
  float: left;
  display: inline-box;
  margin: 2px;
  font-family: arial;
  color: black;
  font-size: 12px;
  font-weight: bold;
  padding-top: 80px;
  background-color: white;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  text-align: center;
  opacity: 1.0;
}

.moduleIcons SPAN {
  background-color: white;
  margin: auto;
  padding: 0px 2px 0px 2px;
  float: none;
  opacity: 0.9;
  border-radius: 5px;
}

.miniButton {
  background-color: silver;
  display: inline-block;
  vertical-align: top;
}

.miniButton:hover {
  background-color: white;
}

.gridViewItem_grid IMG {
  border-radius: 0px;
}

.gridViewItem_grid {
  font-family: arial;
  font-size: 11px;
  background-color: white;
  border: 1px solid #eee;
  border-radius: 5px;
  width: 120px;
  height: 130px;
  padding: 2px;
  padding-bottom: 4px;
  margin: 5px;
}

/* --------------------------------------- */
.shortcutIcon {
  position: relative;
  width: 70px;
  height: 60px;
  border: 1px solid black;
  background: white;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 10px;
  border-radius: 5px;
  font-family: arial;
  font-size: 10px;
  font-weight: bold;
  color: black;
  text-align: center;
  padding-top: 10px;
  text-shadow: white 1px 1px;
  display: flex;
  flex-diection: column;
  align-items: flex-end;
  box-shadow: #999 3px 3px 2px;
}

.shortcutIcon SPAN {
  width: 99%;
  background-color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
  padding-top: 2px;
}

/* --------------------------------------- */
.ticketPreview {
  word-wrap: break-word;
  white-space: pre-wrap;
  color: black;
  width: 95%;
  padding-left: 1ex;
  padding-right: 1ex;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  font-size: 11px;
  max-height: 200px;
  overflow: auto;
  -webkit-user-select: text !important;
  user-select: text !important;
}

.ticketSummary {
  color: yellow;
  font-size: 90%;
  margin-top: 4px;
}

/* --------------------------------------- */
.phoneUser {
  float: left;
  margin: 10px;
  padding: 7px;
  padding-bottom: 3px;
  background-color: #f4f4f4;
  border: 1px solid #eee;
  border-radius: 20px;
  text-align: center;
  color: black;
  width: 110px;
  height: 100px;
  font-family: arial;
  font-size: 14px;
  box-shadow:2px 2px 2px silver;
}

.phoneUser IMG {
  border-radius: 20px;
  width: 36px;
  height: 36px;
  margin-bottom: 5px;
}

.phoneUser DFN {
  font-style:normal;
}
.phoneUser P {
  white-space:nowrap;
  overflow:hidden;
  text-overflow: ellipsis;

  font-style:normal;
  margin: 5px;

}
.phoneUser I {
  font-size:25px;
  width:25px;
  height:25px;
}

/* --------------------------------------- */
.talkerDisplay {
  font-size: 14px;
  font-weight: normal;
  font-family: monospace;
  padding: 2px;
  user-select: text;
  -webkit-user-select: text;
}

.talkerMessage {
  padding: 1px;
  border-bottom: 1px solid #222;
  user-select: text;
  -webkit-user-select: text;
  display: flex;
}

.talkerMessage A {
  color: inherit;
}

.talkerTime {
  width: 100px;
  font-weight: bold;
  margin-right: 5px;
  float: left;
  flex-grow: 1;
  min-width: 50px;
  flex-basis: 50px;
}

.talkerUser {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100px;
  text-align: right;
  font-weight: bold;
  margin-right: 5px;
  float: left;
  flex-grow: 1;
  min-width: 100px;
  flex-basis: 100px;
}

.talkerMessage SPAN {
  float: left;
  user-select: text;
  -webkit-user-select: text;
  flex-grow: 100;
  min-width: 50px;
  flex-basis: 500px;
}

/* Export firewall rules */
.firewallExportRules {
  font-family: arial;
  font-size: 12px;
  margin: 0;
  padding: 2px;
  overflow: auto;
  background: white;
}

/* Folder */
.firewallExportRules H1 {
  color: red;
  margin: 1px;
  font-size: 15px;
  border-top: 3px double red;
  margin-top: 7px;
  padding-top: 4px;
}

/* Policy */
.firewallExportRules H2 {
  color: blue;
  margin: 1px;
  font-size: 13px;
  margin-top: 6px;
}

/* headings */
.firewallExportRules H3 {
  color: black;
  margin: 1px;
  font-size: 12px;
}

.firewallExportRules, .firewallExportRules H1, .firewallExportRules H2,
.firewallExportRules H3, .firewallExportRules B, .firewallExportRules I {
  -webkit-user-select: text !important;
  -khtml-user-select: text !important;
  -moz-user-select: text !important;
  -o-user-select: text !important;
  user-select: text !important;
}

/* --------------------------------------- */
/* Overloading NWT for our 'style' */
/* Should only change colours etc. here and no postional attributes */
.popupBox, .popupBoxHidden {
  box-shadow: 2px 2px 5px #888;
  -moz-box-shadow: 2px 2px 5px #888;
  /* border: none; */
  border-radius: 4px;
}

.panelHead {
  padding: 5px !important;
  border: none !important;
  margin: 0 !important;
  align-items: stretch;
}

.popupTitleLeft {
 /* height: 20px;*/
  padding:3px;
}

.popupTitle {
  color: white;
  padding: 1px 0 !important;
  line-height: normal;
  vertical-align: middle;
}

.popupTitleIcon {
  font-size: 18px;
  line-height: 0.8em;
  border: 1px outset #aaa;
  width: 22px;
  height: 14px;
}

.OLDpopupTitleIcon {
  cursor: pointer;
  margin-left: 5px;
  padding: 0px 0px 4px 0px;
  font-family: arial;
  font-weight: normal;
  font-size: 16px;
  float: right;
  width: 20px;
  height: 20px;
  border: 1px outset #aaa;
  border-radius: 15px;
  color: black;
  background: #aaa;
  box-sizing: border-box;
}

.OLDpopupTitleIcon:hover {
  border: 1px outset #0ff;
  color: #0ff;
}


.popupTitleUsericon {
  color:#333;
  background:#eee;
  font-size:16px;
  border-radius:5px;
  box-shadow: 1px 1px 1px #333;
}

.popupTitleUsericon:hover {
  color:#eee;
  background:#333;
}

.panelView {
  background-color: white;
  color: black;
}

/* TWeak dialog look for helpdesk */
.dialogForm {
  font-family: arial;
}

.dialogPaneCollapseBar, .dialogPaneCollapsor {
  background: #889;
  color: black;
}

.dialogPaneCollapseLabel {
  font-size: 11px;
  font-weight: bold;
}

.dialogPaneSeparator {
  height: 2px;
  background: none;
}

.dialogPaneBox {
  clear: both;
  margin: 2px 10px 2px 10px;
}

.dialogFieldRow {
  /* padding: 1px !important;*/
}

.dialogFieldLabel, .dialogFieldLabelFloat {
  height: 14px;
  color: white;
  font-size: 12px;
}

.dialogFieldLabelFloat {
  text-align:right;
  padding-top:4px;
  width:auto;
}

.dialogFieldRow, .dialogFieldRow SELECT, .dialogFieldRow INPUT, .dialogFieldRow TEXTAREA, .dialogFieldSelect {
  font-size: 12px;
  color: black;
}

/* Calendar classes */
.calendarRefresh {
  width: 16px;
  height: 16px;
  color: black;
  line-height: 1.2em;
  font-size: 16px;
  text-align: center;
  background: silver;
  border: 2px outset silver;
  flex-basis: 18px;
  flex-grow: 0;
}

.calendarViewSelect {
  font-family: arial;
  font-size: 12px;
  padding-top: 3px;
  border: 2px inset silver;
  text-align: center;
  flex: 1;
  flex-grow: 1;
  margin-right: 1px;
  border: none;
}

.calbox_disable {
  background: silver;
  color: #444;
  border: 2px outset silver;
  border: none;
}

.dhtmlXTooltip {
  z-index: 1500 !important;
  font-family: arial !important;
  font-size: 12px !important;
  color: black !important;
}

/* Calendar groups */
.dhx_cal_event_clear, .dhx_cal_event_line {
  font-family: arial !important;
  font-size: 12px !important;
  padding: 1px;
}

.dhx_cal_light {
  z-index: 1500 !important;
}

.dhx_cal_light, .dhx_cal_light SELECT {
  font-family: arial !important;
  font-size: 12px !important;
}

.dhtmlx_modal_box, .dhtmlx-alert {
  z-index: 1600 !important;
}

.dhx_body, .dhx_cal_event, .dhx_cal_event .dhx_title, .dhx_cal_event .dhx_footer {
  background-color: inherit !important;
  color: inherit !important;
}

/* Colors for various calendar departments */
.calendarViewSelect.calbox_personal, .dept_personal {
  color: black !important;
  background: linear-gradient(lime, #00cd00) !important;
  border-color: #a36800 !important;
}

.calendarViewSelect.calbox_company, .dept_company {
  color: white !important;
  background: linear-gradient(#ff7070, #ff1010) !important;
  border-color: black !important;
}

.calendarViewSelect.calbox_sales, .dept_sales {
  color: lime !important;
  background: linear-gradient(pink, #d400ff) !important;
  border-color: #a36800 !important;
}

.calendarViewSelect.calbox_media, .dept_media {
  color: black !important;
  background: linear-gradient(yellow, #ffaa00) !important;
  border-color: orange !important;
}

.calendarViewSelect.calbox_support, .dept_support {
  color: black !important;
  background: linear-gradient(cyan, #00c3c3) !important;
  border-color: #a36800 !important;
}

.calbox_holidays, .dept_holidays {
  color: black !important;
  background: linear-gradient(#c0c000, #707000) !important;
  border-color: silver !important;
}

.calendarViewSelect.calbox_services, .dept_services {
  color: white !important;
  background: linear-gradient(#6060f0, #0000a0) !important;
  border-color: #ccccff !important;
}

.calendarViewSelect.calbox_accounts, .dept_accounts {
  color: white !important;
  background-color: blue !important;
  border-color: #a36800 !important;
}

.calendarViewSelect.calbox_engineering, .dept_engineering {
  color: white !important;
  background: linear-gradient(#555555, black) !important;
  border-color: #a36800 !important;
}

.mdiIconBar {
  flex: 0 30px;
  height: 30px;
  width: 100%;
  font-size:24px;
  background: silver;
  line-height: 0.8em;
  display:flex;
  color:#333;
  border: 1px outset silver;
}

.mdiIconBar DIV {
  padding: 6px 3px 0px 6px;
}

.mdiIconBar DIV:hover {
  background:#eee;
  padding: 6px 3px 0px 6px;
}



.mdiPickerItem {
  float:left;
  height:40px;
  width:40px;
  border: 1px solid silver;
  background:#eee;
  font-size:32px;
  color:#555;
  margin:5px;
  display:flex;
  justify-content:center;
  align-items:center;
}
