﻿.flex-baseline {
  display: flex;
  align-items: center;
}
.add-controls {
  background-color: aquamarine;
  min-height: 33px;
  /* Matches height of .form-control*/
}
.add-controls .add-predicate-group {
  margin-right: 3em;
}
.dropdown-menu {
  min-width: 200px;
}
.dropdown-menu li {
  cursor: pointer;
}
.predicate-root {
  /* see ticketslight.less and ticketsdark.less as well*/
  font-family: Arial, Helvetica, sans-serif;
  display: grid;
  grid-template-columns: 65px 1fr;
  place-items: center;
}
.predicate-root .edge-block {
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  /*display: grid;*/
  grid-template-rows: 25px 1fr;
}
.predicate-root h1 {
  font-size: 15pt;
}
.predicate-root .work-area {
  height: 100%;
  width: 100%;
  overflow: visible;
  /* This is a hassle. If I remove it, then the dropdown  (drop up) controls in the add predicate template clip. If I don't set it to auto, then when you add too many conditions, you can't scroll. Haven't solved this yet... spent hours on it :-(*/
}
.predicate-root .work-area .close-button {
  position: relative;
  top: 0;
  float: right;
  /*width: 40px;
            height: 40px;*/
}
.predicate-root .branching-predicate {
  margin-top: 0em;
  width: 100%;
}
.predicate-root .group-predicate {
  display: grid;
  grid-template-columns: 25px 1fr;
}
.predicate-root .group-side {
  display: grid;
  place-items: center;
  color: black;
  padding: 0px;
}
.predicate-root .group-side .rotated {
  transform: rotate(-90deg);
}
.predicate-root .predicate-row,
.predicate-root .action-row {
  display: grid;
  grid-template-columns: 1fr 130px 25px;
  width: 100%;
  /*padding:1em 0em 1em 0em;*/
}
.predicate-root .predicate-row .predicate-errors,
.predicate-root .action-row .predicate-errors {
  padding: 5px 5px 5px 20px;
  height: 100%;
  display: grid;
  place-items: center;
}
.predicate-root .predicate-row .predicate-errors ul,
.predicate-root .action-row .predicate-errors ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
}
.predicate-root .predicate-row .delete,
.predicate-root .action-row .delete {
  display: grid;
  place-items: center;
}
.predicate-root .branch-designer-root-validation {
  padding: 1em;
}
.predicate-root .action-row {
  display: grid;
  grid-template-columns: 1fr 130px 25px;
  width: 100%;
}
.predicate-root .action-row .delete {
  display: grid;
  place-items: center;
}