.plate-setup-container {
  width: 1024px;
  height: 768px;
  position: relative;
}

.plate-setup-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  flex-direction: column;
  background-color: #f5f5f5;
}

.plate-setup-top-section {
  height: 540px;
  top: 0;
  left: 0;
  right: 0;
  position: absolute;
}

.plate-setup-top-left {
  width: 674px;
  top: 0;
  bottom: 0;
  position: absolute;
}

.plate-setup-top-right {
  left: 674px;
  top: 0;
  bottom: 0;
  right: 0;
  position: absolute;
}

.plate-setup-overlay-container {
  height: 32px;
  top: 10px;
  left: 16px;
  right: 16px;
  position: inherit;
  background-color: #464646;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  vertical-align: middle;
}

.plate-setup-overlay-radio-container {
  width: 32px;
  height: 32px;
}

.plate-setup-overlay-text-container {
  color: white;
  font-size: 12px;
  line-height: 30px;
  height: 32px;
  margin: 2px 8px;
  flex: 1 1 auto;
}

.plate-setup-overlay-button-container, .plate-setup-overlay-bottom-button-container {
  flex: 0 0 auto;
  display: flex;
  flex: 1 1 0;
}

.plate-setup-button {
  height: 23px;
  font-size: 12px;
  border: none;
  background-color: white;
  border-radius: 4px;
  margin-right: 4px;
  flex: 1 0 0;
  white-space: nowrap;
}

.plate-setup-clicked-button {
  height: 23px;
  font-size: 12px;
  border: none;
  background-color: aquamarine;
  border-radius: 4px;
  margin-right: 4px;
  flex: 1 0 0;
  white-space: nowrap;
}


.plate-setup-canvas-container {
  top: 52px;
  left: 16px;
  right: 16px;
  bottom: 10px;
  position: absolute;
}

.plate-setup-tab-container {
  position: absolute;
  top:10px;
  left:10px;
  bottom: 10px;
  right: 10px;
  background-color: white;
  border: solid 1px #e1e1e1;
}

.plate-setup-tab-head {
  left: 0;
  right: 0;
  height: 23px;
  border-bottom: solid 1px #e1e1e1;
  background-color: #f5f5f5;
  display: flex;
}

.plate-setup-tab {
  height: 23px;
  background-color: #ebebeb;
  border-right: solid 1px #e1e1e1;
  cursor: pointer;
  font-size: 10px;
  text-align: center;
  padding: 5px;
  box-sizing: border-box;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
}

.plate-setup-tab:last-child {
  border-right: none;
}

.plate-setup-tab-selected {
  height: 24px;
  background-color: white;
  color: #00506e;
  flex-shrink: 0;
}

.plate-setup-tab-data-container {
  left: 0;
  right: 0;
  height: 442px;
  border-bottom: solid 1px #e1e1e1;
  position: absolute;
}

.plate-setup-data-div {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  background-color: white;
  overflow: auto;
}

.plate-setup-well-attr-container {
  top: 472px;
  left: 0;
  right: 0;
  height: 20px;
  box-sizing: border-box;
  padding: 0px 16px;
  color: #00506e;
  text-align: center;
  position: absolute;
  font-size: 10px;
}

.plate-setup-preset-container {
  top: 490px;
  left: 0;
  right: 0;
  height: 22px;
  position: absolute;
  box-sizing: border-box;
  padding: 0px 16px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.plate-setup-preset-tab {
  display: inline-block;
  flex-basis: 50px;
  padding: 0 5px;
  margin: 0 1px;
  height: 20px;
  background-color: white;
  border: solid 1px #e1e1e1;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  text-align: center;
}

.plate-setup-preset-tab-selected {
  display: inline-block;
  flex-basis: 50px;
  padding: 0 5px;
  margin: 0 1px;
  height: 20px;
  background-color: #e1e1e1;
  border: solid 1px #e1e1e1;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  text-align: center;
  color: #00506e;
}

.plate-setup-preset-tab-div {
  padding-top: 3px;
}

.plate-setup-tab-default-field {
  display: flex;
  padding: 10px 16px 0 16px;
}

.plate-setup-tab-field-left-side {
  width: 32px;
  padding-top: 16px;
}

.plate-setup-tab-field-right-side {
  flex: 1;
}

.plate-setup-tab-name {
  font-size: 12px;
  display: inline-block;
  line-height: 16px;
}

.plate-setup-tab-name-singleSelect {
  font-size: 12px;
  margin-top: 5px;
}


.plate-setup-tab-name-missing {
  height: 20px;
  font-size: 12px;
  background: red;
}


.plate-setup-tab-field-container, .plate-setup-tab-field-container-singleSelect {
  width: 100%;
  display: flex;
}

.plate-setup-tab-field-container .select2-selection--multiple .select2-selection__choice {
  white-space: normal;
}

.plate-setup-tab-input, .plate-setup-tab-select-field, .plate-setup-tab-multiplex-single-select-field {
  height: 28px;
  flex: 1 1 auto;
  width: 100%;
  margin: auto;
}

.plate-setup-tab-multiselect-field {
  min-height: 28px;
  flex: 1 1 auto;
  width: 30px;
}

.plate-setup-tab-unit-select-field, .plate-setup-tab-unit {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 28px;
  box-sizing: border-box;
  padding-left: 5px;
}

.plate-setup-tab-unit-select-field+.select2{
  padding-left: 5px;
  width: 100% !important;
  flex: 1 1 auto;
}

.plate-setup-tab-input+.select2 {
  width: 100% !important;
  flex: 1 1 auto;
}

.plate-setup-tab-unit {
  line-height: 26px;
  color: #444;
  white-space: nowrap;
}

.plate-setup-tab-check-box {
  cursor: pointer;
  border: 1px solid gray;
  display: inline-block;
  height: 16px;
  width: 16px;
  text-align: center;
  line-height: 16px;
}

.plate-setup-bottom-control-container {
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background-color: #464646;
  position: absolute;
  display: flex;
  justify-content:space-between;
  align-items: baseline;
  vertical-align: middle;
}

.plate-setup-bottom-container {
  top: 540px;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  background-color: #e1e1e1;
}

.plate-setup-bottom-table-container {
  top: 32px;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  overflow: auto;
}


.plate-setup-bottom-table {
  font-size: 14px;
  border-collapse: collapse;
  width: 100%;
}

.plate-setup-bottom-table thead th {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 999;
  background-color: white;
  background-clip: padding-box;
}

.plate-setup-bottom-table thead th:before {
  content:'';
  position:absolute;
  left: 0;
  top: -1px;
  width:100%;
  border-top: solid #c2c2c2 1px;
}

.plate-setup-bottom-table thead th:after {
  content:'';
  position:absolute;
  left: 0;
  bottom: -1px;
  width:100%;
  border-bottom: solid #c2c2c2 1px;
}

.plate-setup-bottom-table th {
  border: solid #c2c2c2 1px;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 12px;
  text-align: left;
}

.plate-setup-bottom-table td {
  border: solid #c2c2c2 1px;
  padding: 5px 10px;
  background-color: white;
}

.plate-setup-bottom-table tr.selected td {
  background-color: lightblue;
}

.plate-setup-color-text {
  font-size: 14px;
  border: none;
  border-radius: 4px;
  padding: 3px 15px;
  background-color: WHITE;
  margin-right: 4px;
}

.plate-setup-bottom-id {
  font-family: sans-serif;
  width: 40px;
  text-align: center;
  background-image: linear-gradient(to right, rgba(255,255,255,0.3), transparent)
}

input.invalid {
  background-color: pink;
}

.plate-setup-remove-all-button-container {
  text-align: left;
}

.plate-setup-remove-all-button{
  width: 100%;
  font-size: 12px;
  text-overflow: ellipsis;
  text-align: left;
  white-space: nowrap;
  border: 1px solid #aaa;
  border-radius: 4px;
  margin-top: 2px;
  color: #444;
  background-color: #fff;
  background-image: linear-gradient(to top, #eee 0%, #fff 50%);
}
/* Modal Content */

.plate-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2000; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.plate-modal-content {
  font-size: 14px;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
}

.plate-modal-content > * {
  width: 100%;
}

.dialog-buttons {
  margin-top: 10px;
  display: inline-block;
  text-align: right;
}

.dialog-buttons button {
  margin-left: 4px;
}

.plate-popout-table {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid black;
  padding: 5px;
}

.plate-popout-th {
  text-align: left;
  background-color: white;
  color: black;
  font-size: 12px;
  border: 1px solid black;
  padding: 5px;
}

.plate-popout-tr:hover {
  background-color: #f5f5f5;
  border: 1px solid black;
  padding: 5px;
}

.plate-popout-td {
  text-align: left;
  font-size: 11px;
  border: 1px solid black;
  padding: 5px;
}

.plate-field-warning-image{
  vertical-align: baseline;
  margin: 0px 0 0px;
}

.pop-out-text {
  position: fixed;
  display: none;
  background: white;
  border: 1px solid;
  float: left;
  margin-top: -44px;
  z-Index: 99999 !important;
}

.plate-setup-canvas-container > svg {
  cursor: pointer;
}

.plate-setup-canvas-container > svg text {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.plate-setup-canvas-container > svg * {
  vector-effect: non-scaling-stroke;
}

.plate-setup-canvas-container .rowHead text, .colHead text {
  font-size: 13px;
  font-family: sans-serif, Arial;
  font-weight: bold;
  text-anchor: middle;
  dominant-baseline: central;
}

.plate-setup-canvas-container .tile .highlight {
  fill: none;
}

.plate-setup-canvas-container .tile .well {
  stroke: gray;
  stroke-width: 0.5;
}

.plate-setup-canvas-container .tile .fill .center, .plate-setup-canvas-container .tile .fill .center_incomplete {
  fill: white;
  stroke: gray;
  stroke-width: 0.5;
}

.plate-setup-canvas-container .tile:not(.incomplete) .fill .center_incomplete {
  display:none;
}

.plate-setup-canvas-container .tile.incomplete .fill .center {
  display:none;
}

.plate-setup-canvas-container .tile .fill .label {
  font-size: 13px;
  font-family: sans-serif, Arial;
  text-anchor: middle;
  dominant-baseline: central;
}

.plate-setup-canvas-container .tile.incomplete .fill .label {
  fill:  red;
}

.plate-setup-canvas-container .tile.selected .highlight {
  fill: lightblue;
}

.plate-setup-canvas-container .tile.empty .fill {
  display: none;
}

.plate-setup-canvas-container .tile:not(.empty) .well {
  display: none;
}
