/* common settings */
:root {
  --prmwidth: 280px;
}

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

h5 {
  cursor: default;
  padding-left: 5px;
}

hr {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* bootstrap */
.dropend:hover > .dropdown-menu {
  display: block;
  position: absolute;
  top: 0;
  left: 90%;
}

.dropend:hover {
  background-color: #ccddff;
}

.dropdown-item:hover {
  background-color: #ccddff;
}

.dropend .dropdown-toggle {
  cursor: pointer;
  padding: 0.125rem 0.5rem;
  margin: 0;
}

.dropdown-menu {
  padding: 0;
}

.dropdown-menu .dropdown-item {
  padding: 0.125rem 0.5rem;
  margin: 0;  
}

/* classes */
.menu {
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 5px;
}

.menu:hover {
  background-color: #ccddff;
}

.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;
  max-width: 250px;
  overflow: auto;
}

.prmmenu {
  max-height: 500px;
  overflow: auto;
}

.tabmenu {
  text-align: left;
}

.card.inputprm {
  min-width: var(--prmwidth);
}

.card.ppprm {
  width: 280px;
}

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

.menu {
  cursor: pointer;
  padding-top: 5px;
  border-radius: 5px;
  margin-left: 5px;
}

.menu:hover {
  background-color: #ccddff;
}

.tabmenu:hover {
  background-color: #ccddff;
}

.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. Drag and drop here to import.";
  pointer-events: none;
}

.uploader input {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.resizableplot {
  resize: vertical;
  overflow: hidden;
  padding: 5px;  
}

.contextmenu {
  visibility: hidden;
  position: absolute;
}

.dialogmsg {
  font-size: small;
}

.slider {
  width: 80px;
}

.prmmenu {
  max-height: 500px;
  overflow-y: auto;
}

td.title {
  background-color: #ccc;
  border: solid 1px #aaaaaa;
}

td.rdonly {
  background-color: #eee;
  border: solid 1px #aaaaaa;
}

.modal-expand {
  --bs-modal-width: 100%;
}

.disabled {
  background-color: #eee;
  color: #aaaaaa;
}

.disabled:hover {
  background-color: #eee;
}

.test {
  width: 300px; 
  word-break: break-word;
}
