html, body {
  font-family: "arial";
  font-size: 14px;
  height: 100%;
  white-space: nowrap;
}

input[type="text"] {
  font-family: inherit;
  margin: 0px;
  width: 80px;
  height: 22px;
}

input[type="number"] {
  font-family: inherit;
  margin: 0px;
  width: 80px;
  height: 22px;
}

select {
  min-width: 120px;
  min-height: 18px;
  field-sizing: content;
}

:root {
  --prmwidth: 280px;
}

.menubar {
  position: sticky;
  top: 0;
  z-index: 1;
  min-width: calc(var(--prmwidth)*3 + 10px);
  background-color: #f0f0f0;
}

.comment {
  font-family: inherit;
  margin: 0px;
  width: 150px;
  padding: 0;
}

.prmgrid {
  max-height: 200px;
  overflow: auto;
}

.tabmenu {
  text-align: left;
}

.card.inputprm {
  min-width: var(--prmwidth);
  max-width: 300px;
}

.card.ppprm {
  width: 270px;
}

.grid {
  border-collapse:  collapse;
}

.grid td {
  border: solid 1px #aaaaaa;
  padding: 1px 5px;
}

.grid td.title {
  background-color: #ccc;
  border: solid 1px #aaaaaa;
}

.grid select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  border: solid 0;
  width: 100%
}

.grid input[type="text"] {
  border: solid 0;
  width: 100%
}

h5 {
  cursor: default;
  padding-left: 5px;
}

.menu {
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 5px;
}

.menu:hover {
  background-color: #ccddff;
}

.tabmenu:hover {
  background-color: #ccddff;
}

hr {
  margin-top: 5px;
  margin-bottom: 5px;
}

.uploader {
  position: relative;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #aaaaaa;
}

.uploader:before {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 24px; bottom: 24px;
  left: 24px; right: 24px;
  border: dashed 2px #fafafa;
  color: #fafafa;
  font-size: 14px;
  content: "No data available. Click/Drag & Drop here to import.";
  pointer-events: none;
}

.uploader input {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.resizableplot {
  resize: vertical;
  overflow: hidden;
  padding: 5px;  
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

/*
.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}*/

.dropdown-submenu:hover>a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

.contextmenu {
  visibility: hidden;
  position: absolute;
}

.dialogmsg {
  font-size: small;
}

.slider {
  width: 80px;
}
