:root {
  --message-background-color: PaleGreen;
  --input-modified-background-color: Beige;
  --environment-variable-color: orange;
}

.environment-variable {
  color: var(--environment-variable-color);
}

.fade-red,
.fade-red div {
  animation: fadeInAnimation ease 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
    //opacity: 0;
    background-color: red;
  }

  100% {
    //opacity: 1;
    background-color: none;
  }
}

/* Standardize widget look between browsers */
input,
select,
button {
  font-size: 100%;
  border-width: 1px;
  border-radius: 3px;
}
input:not([type="submit"]),
select {
  background-color: white;
  padding-left: 0.1em;
  padding-right: 0.1em;
}
input[type="submit"],
button {
  background-color: rgb(239, 239, 239);
  padding-left: 0.6em;
  padding-right: 0.6em;
}
input[type="submit"]:not(.disabled):hover {
  background-color: white;
}

.basic_button {
  background-color: rgb(239, 239, 239);
  padding-left: 0.6em;
  padding-right: 0.6em;
  border-radius: 2px;
  border: 1px solid grey;
  cursor: pointer;
  width: fit-content;
  font-size: 14px;
}

.full-width {
  width: 100%;
}

.display-block {
  display: block;
}

.json-text {
  word-break: break-all;
}

td.VertecoPhoneNumberType {
  white-space: nowrap;
  text-align: right;
}

td.CoreKernelSvgType {
  background-color: white;
  text-align: center;
}

span.core-input-unit {
  padding-left: 0.2em;
}

.edit-item.field-modified input {
  background: lightsalmon;
}
.edit-item.field-modified.choice-group label:not(.field-title),
.edit-item.field-modified.select-group select {
  background-color: lightsalmon;
}

span.user-access-key-invalid {
  color: red;
}

.highlight {
  background-color: yellow;
}

/* General properties */
body,
td {
  margin: 0;
  padding: 0;
}

div.message {
  word-break: break-all;
}

div.message.keep-on-empty:not(:has(span)) {
  display: none;
}

input.hidden-default {
  position: absolute;
  left: -100%;
}

input.default {
  color: orange;
  font-weight: bold;
}

div.fix-top {
  position: absolute;
  top: 0px;
  right: 0px;
  margin-right: 0px;
  /*
    border: 1px solid green
    */
}

div.group-frame.fix-relative-top {
  position: absolute;
  top: 1em;
  right: 0.5em;
  margin-right: 0px;
  /*
    border: 1px solid green
    */
}

div.fix-top {
  color: red;
  background-color: White;
}

div.page-title {
  font-weight: bold;
  font-size: larger;
}

pre {
  white-space: pre-wrap;
}

/* Breadcrumb trail */

.breadcrumb-trail {
  max-width: fit-content;
  --current-call-background-color: bisque;
}

.breadcrumb-trail .current-call {
  background-color: var(--current-call-background-color);
}

.breadcrumb-trail .separator {
  margin: 0 0.5em;
}

/* Menus */

div.menu-block.auto-open:not(.auto-open-current) > .menu-item,
div.menu-block.auto-open:not(.auto-open-current) > div.menu-block {
  display: none;
}

div.menu-block.auto-open:focus-within > .menu-item,
div.menu-block.auto-open:focus-within > div.menu-block {
  display: block;
}

div.menu-block.auto-open:focus-within > label > .auto-open-arrow {
  display: none;
}

div.main .auto-open label.menu-title > a:not(.link-disabled) {
  display: inline-block;
  width: 100%;
  color: inherit;
  outline: none; /* for chrome */
}

.auto-open a {
  outline: none; /* for chrome */
  cursor: pointer;
  display: inline-block;
  width: calc(100% - 15px);
}

a.auto-open {
  color: inherit !important;
}

.menu-item {
  --current-call-background-color: bisque;
}

.menu-item.current-call {
  background-color: var(--current-call-background-color);
}

.auto-open-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid black;
  float: right;
  clear: both;
  margin-top: 0.5em;
}

div.menu-block.auto-open {
  overflow: hidden;
}

div.auto-open > div.menu-title > a {
  margin-right: 1em;
}

.menu-title,
.panel-title,
div.menu-block .menu-item {
  white-space: nowrap;
}

label {
  white-space: nowrap;
}

.menu-title,
.panel-title {
  font-weight: bold;
}

span.menu-item {
  display: block;
}

div.panel-title {
  font-weight: bold;
}

span.core-error {
  color: red;
  font-weight: bold;
}

span.core-warning {
  color: red;
}

span.core-notice {
  color: red;
}

span.debug-hilight {
  color: #05f;
}

div.view-title {
  font-weight: bold;
  display: inline;
  /*
    display:block;
    */
}

div.full-width.view table {
  width: 100%;
}

form.filter-table {
  display: inline;
}

img.filter-table {
  vertical-align: middle;
}

.page-sub-title {
  font-weight: bold;
}

label.field-title {
  font-weight: bold;
  /*
    margin-right: 0.4em;
    */
}

label.field-title select {
  font-weight: bold;
}

span.field-error {
  margin-left: 0.5em;
  color: red;
}

.field-title + span.field-error {
  display: inline;
}

a.field-error {
  font-weight: bold;
  color: red;
}

.button-group input[type="submit"] {
  margin-right: 0.2em;
}

.htab {
  margin-left: 1em;
}

.htab2 {
  margin-left: 2em;
}

.htab3 {
  margin-left: 3em;
}

.absolute {
  position: absolute;
}

div.view-filters {
  border: 1px solid gray;
  width: max-content;
}

div.group-frame {
  border: 1px solid gray;
}

div.choice-group.field-mandatory,
div.field-mandatory input.choice-group,
input.field-mandatory,
textarea.field-mandatory,
select.field-mandatory {
  border: 2px solid red;
}

div.choice-group.field-error,
div.field-error input.choice-group,
input.field-error,
textarea.field-error,
select.field-error {
  border: 2px solid red;
}

div.field-mandatory,
td.field-mandatory input,
td.field-mandatory label,
td.field-mandatory select,
div.field-error,
td.field-error input,
td.field-error label,
td.field-error select {
  background-color: #fcde81;
}

span.panel-item {
  display: block;
  margin-left: 0.5em;
}

.indent-1em {
  margin-left: 1em;
}

div.action {
}

div.message {
  background-color: var(--message-background-color);
}

div.console {
}

div.dialog-help {
  background-color: lightgray;
  font-size: smaller;
  margin: 1em;
  padding: 1em;
}

div.dialog-warning {
  background-color: lightgray;
  color: red;
  font-size: smaller;
  margin: 1em;
  padding: 1em;
}

div.dialog-notice {
  font-size: smaller;
  margin: 1em;
  padding: 0em;
}

body {
  --link-color: #00e;
  --link-active-color: #00e;
  --link-disabled-color: lightgray;
  --link-decoration: underline;
  --background-color: #ffffff;
  --tab-div-padding-top: 0;
  background-color: var(--background-color);
}

/* for dialogs */
.ui-widget {
  font-size: inherit;
  background: var(--background-color);
}

a:not(.link-disabled) {
  text-decoration: var(--link-decoration);
  color: var(--link-color);
}

a:hover,
a:focus,
a:active {
  color: var(--link-active-color);
}

a.link-disabled:link,
a.link-disabled:hover,
a.link-disabled:visited,
a.link-disabled:active,
a.link-disabled:focus {
  text-decoration: none;
  pointer-events: none;
  color: var(--link-disabled-color);
  cursor: default;
}

span.view-sorting-symbol {
  color: red;
}

a.view-navigation {
  margin-left: 0.5em;
}

input.core-modified,
select.core-modified,
textarea.core-modified {
  background-color: var(--input-modified-background-color);
}

td.center {
  text-align: center;
}

img.noDrag {
  pointer-events: none;
}

td.CoreKernelFloatType,
td.CoreKernelIntType,
td.ExtensionsIntervalType,
td.CoreKernelAngleType,
td.PmsCoreRightAscensionType,
td.PmsPvPwvType {
  text-align: right;
}

.CoreKernelFloatType input,
.CoreKernelIntType input,
.ExtensionsIntervalType input,
.CoreKernelAngleType input,
.PmsCoreRightAscensionType input,
.PmsPvPwvType input {
  text-align: right;
}

table.view {
  --odd-row-color: #d3e2ff;
  --even-row-color: white;
  --hilight-row-color: #0f8;
  --gray-row-color: #bbb;
}

table.view > tbody > tr.odd-row,
table.view > tr.odd-row {
  background-color: var(--odd-row-color);
}
table.view > tbody > tr.even-row,
table.view > tr.even-row {
  background-color: var(--even-row-color);
}

table.view > tbody > tr.hilight-row,
table.view > tr.hilight-row {
  background-color: var(--hilight-row-color);
}

table.view > tbody > tr.gray-row,
table.view > tr.gray-row {
  background-color: var(--gray-row-color);
}

tr.final-row {
  font-weight: bold;
}

table.table-valign > tbody > tr > td {
  vertical-align: middle;
}

table.table-no-valign > tbody > tr > td {
  vertical-align: top;
}

.view > table > tbody > tr > td {
  vertical-align: top;
  padding: 0 0.2em;
}

.noSpacing table,
table.view-values {
  border-spacing: 0;
}

.view > table td.manualSort {
  padding-top: 0.3em;
  text-align: center;
}

div.edit-item > div.edit-item,
div.view-item > div.view-item {
  /*
    display: inline;
    */
}

div.edit-item textarea {
  vertical-align: top;
  width: 100%;
}

div.view-item pre,
td > pre {
  margin: 0.1em 0 0.1em 0;
  white-space: normal;
}

.flex-container {
  display: flex;
}

.setting-container {
  display: flex;
  align-items: center;
  opacity: 0.5;
}

.flex-container.space-between,
.flex-container.flex-container-grow {
  justify-content: space-between;
}

.flex-container-row.flex-align-top {
  flex-direction: row;
  align-items: normal;
}

.flex-container-row {
  flex-direction: row;
  align-items: center;
}

.flex-container-column {
  flex-direction: column;
}

.flex-container.gap-1em {
  column-gap: 1em;
  row-gap: 1em;
}

.flex-container-row > .flex-child > div {
  vertical-align: middle;
}

.flex-container-grow > .flex-child {
  flex: 1;
}

.flex-container-grow > .flex-child.flex-nogrow {
  flex-grow: unset;
}

.flex-container.view-fields {
  column-gap: 1em;
}

.max-content {
  width: max-content;
}

.fit-content {
  width: fit-content;
}

/* remove padding of tabs except for the first one (tab-div-first) */
.ui-tabs-panel.tab-div {
  padding: var(--tab-div-padding-top) 0 0 0;
}

iframe.iframe-content {
  min-height: 1200px;
  width: 100%;
}

.dynamic-iframe-content {
  border: none;
  width: 100%;
  min-height: 1000px;
}

.trace {
  background-color: gold;
  width: fit-content;
}

.trace a {
  color: red;
}
