html, body {
  margin: 0;
  height: 100%;
  min-height: 100%; }

body {
  font-size: 11px;
  font-family: Segoe UI, Tahoma, Arial; }

.container, .container-fluid {
  display: flex;
  flex-direction: column;
  height: 100%; }

h1 {
  font-size: 27px;
  font-family: Segoe UI Light, Segoe UI, Tahoma, Arial;
  order: 1;
  flex-shrink: 0;
  flex-basis: 40px; }

.MainTable {
  overflow-y: scroll;
  overflow-x: scroll;
  order: 2;
  -moz-user-select: none;
  position: relative; }
  .MainTable .table {
    display: flex;
    flex-flow: column nowrap;
    line-height: 1.5;
    flex: 1 1 auto; }
    .MainTable .table .thead {
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: solid 1px black; }
    .MainTable .table .Collapse .tr .td {
      display: none; }
    .MainTable .table .tr {
      width: 100%;
      display: flex;
      flex-flow: row nowrap; }
      .MainTable .table .tr.Header {
        background-color: #c0c0c0;
        font-weight: bold;
        border-bottom: none !important; }
        .MainTable .table .tr.Header .th {
          border-bottom: none !important; }
      .MainTable .table .tr.SectionHeader {
        background-color: #dddddd;
        position: sticky;
        top: 64px;
        z-index: 999; }
      .MainTable .table .tr .Used {
        color: green; }
      .MainTable .table .tr .td, .MainTable .table .tr .th {
        display: flex;
        flex-flow: row nowrap;
        flex-grow: 1;
        flex-basis: 0;
        padding: 0.5em;
        word-break: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0px;
        white-space: nowrap;
        border-bottom: 1px solid #d0d0d0;
        -moz-user-select: none; }
        .MainTable .table .tr .td.Selected, .MainTable .table .tr .th.Selected {
          font-weight: bold; }
        .MainTable .table .tr .td.SectionHeader, .MainTable .table .tr .th.SectionHeader {
          padding-right: 1.5em !important; }
        .MainTable .table .tr .td.Disabled, .MainTable .table .tr .th.Disabled {
          background-color: #eee;
          color: #333; }
        .MainTable .table .tr .td.SectionSeperator, .MainTable .table .tr .th.SectionSeperator {
          background-color: #333;
          position: sticky;
          top: 64px;
          z-index: 999;
          color: #eee; }
  .MainTable .Unused {
    color: red;
    font-weight: bold; }
  .MainTable .Required .Desc {
    display: inline;
    position: relative; }
    .MainTable .Required .Desc div:after {
      content: " *";
      color: red;
      font-weight: bold; }
  .MainTable .Required.Used .Desc div:after {
    color: green; }
  .MainTable .ReadOnly {
    background-color: #eeeeee; }
  .MainTable textarea {
    height: 150px; }
  .MainTable select.Maximised,
  .MainTable input.Maximised {
    width: 100%;
    height: 100%; }
  .MainTable textarea.Maximised {
    width: 100%; }

.tbody.Collapse .btn.SelectAll {
  visibility: hidden; }

.tbody.Collapse .SectionToggle {
  background-image: url(data8_rightarrow.png); }

.tbody.Collapse tr.SectionHeader {
  border-bottom: 1px solid grey; }

.SectionToggle {
  background-image: url(data8_downarrow.png);
  background-repeat: no-repeat;
  padding: 10px;
  background-position: center;
  margin-right: 5px; }

#FooterButtons {
  order: 4;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-flow: row nowrap;
  flex-shrink: 0;
  flex-basis: 70px;
  flex-grow: 1;
  justify-content: space-between; }

#FooterButtonsLeft {
  text-align: left; }

#FooterButtonsRight {
  text-align: right; }

.btn {
  border-radius: 0;
  font-size: 11px; }

.form-control,
.input-group-addon {
  border-radius: 0;
  font-size: 11px;
  height: auto; }

.InfoBox,
.Lookup {
  padding: 7px 0; }

.Lookup {
  min-width: 100px; }

.draggable:hover {
  cursor: url(https://ssl.gstatic.com/ui/v1/icons/mail/images/2/openhand.cur), move;
  background-color: lightskyblue; }

.drag-element {
  border: 1px solid #999 !important;
  background-color: white !important; }

.drag-over,
.drag-possible {
  box-shadow: 0 0 20px 2px #bda70b;
  background-color: #d8c122;
  transition: all 300ms, transform; }

.drag-over {
  box-shadow: 0 0 20px 2px greenyellow;
  background-color: greenyellow; }

select:disabled {
  background-color: #ebebe4; }
  select:disabled.test {
    background-color: red; }

.datetimepicker-display {
  position: relative; }
  .datetimepicker-display .datetimepicker-hidden {
    visibility: hidden;
    position: absolute;
    bottom: 0; }
  .datetimepicker-display .form-control.picklistonly[disabled] {
    cursor: pointer;
    background-color: inherit;
    opacity: inherit; }

#bulkPreload {
  width: 100%;
  height: 80%; }

#multiRecordMerge {
  width: 100%;
  height: 80%;
  display: none; }

.remainingbulk {
  text-align: right;
  margin: 5px 20px 0px 0px; }

.remainingmargin-right {
  margin-right: 20px; }

.remainingmargin-left {
  margin-left: 20px; }

.remainingmargin-top {
  margin-top: 10px; }

.btn-link.mergeoverride {
  font-weight: bold;
  cursor: pointer; }

.multipicklisteditor {
  border: solid 1px #ebebe4;
  padding: 4px;
  position: absolute;
  z-index: 1000;
  background-color: white;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); }

.yellow-bar {
  background-color: #fff19d;
  border: 1px solid #ddd; }

.red-bar {
  background-color: #ea8484;
  border: 1px solid #ddd; }

#multiStagemerge {
  order: 2;
  flex-shrink: 0;
  flex-basis: 40px;
  text-align: right; }

#AlertMessage {
  order: 3; }

.track-progress {
  margin: 0;
  padding: 0;
  overflow: hidden; }
  .track-progress li {
    list-style-type: none;
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 30px;
    height: 30px;
    background-color: #CCE6D0;
    width: 33%; }
  .track-progress li > span {
    display: block;
    color: #999;
    font-weight: bold;
    text-transform: uppercase; }
  .track-progress li.done > span {
    color: #666;
    background-color: #85c08b; }
  .track-progress li > span:after,
  .track-progress li > span:before {
    content: "";
    display: block;
    width: 0px;
    height: 0px;
    position: absolute;
    top: 0;
    left: 0;
    border: solid transparent;
    border-left-color: #f0f0f0;
    border-width: 15px; }
  .track-progress li > span:after {
    top: -5px;
    z-index: 1;
    border-left-color: white;
    border-width: 20px; }
  .track-progress li > span:before {
    z-index: 2; }
  .track-progress li.done + li > span:before {
    border-left-color: #85c08b; }
  .track-progress li:first-child > span:after,
  .track-progress li:first-child > span:before {
    display: none; }
  .track-progress li:first-child i,
  .track-progress li:last-child i {
    display: block;
    height: 0;
    width: 0;
    position: absolute;
    top: 0;
    left: 0;
    border: solid transparent;
    border-left-color: white;
    border-width: 15px; }
  .track-progress li:last-child i {
    left: auto;
    right: -15px;
    border-left-color: transparent;
    border-top-color: white;
    border-bottom-color: white; }
