.tool-dialog {
  position: fixed;
  border: 1px solid black;
  border-radius: 10px;
  z-index: 1600;
  resize: both;
  background: antiquewhite;
  width: 50%;
  height: 50%;
/*   overflow-y: scroll; */
  overflow: hidden;
}
.tool-dialog.default{
  top:50%;
  left:50%;
  width:50%;
  height:50%;
  transform:translate(-50%,-50%);
}
.tool-header {
  font-weight: bold;
  background-color:  var(--dt-tool-hdr-bkg);
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid black;
  cursor: move;
  font-size: 2rem;
 }

.tool-Title {
  font-weight: bold;
}

.tool-header .close-button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-size: 2rem;
  font-weight: bold;
  width: auto;
  height: auto;
  color: black;
}
.tool-body {
/*   width:90%; */
  /* height:78%; */
  padding-left: 20px;
  padding-right: 20px;
    overflow: auto;
}
.y-scroll {
  overflow-y: scroll;
}
.x-scroll {
  overflow-x: scroll;
}
.xy-scroll {
  overflow: auto;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 0.5rem;
  overflow: auto;
  max-height: 100%;
}
.tool-grid span {
  border: 1px solid green;
  background-color: paleturquoise;
  cursor: pointer;
}

.draggable.dragging {
  opacity: 0.8;
}

table.borders{
  margin-top:10px;
}

.borders td {
  border:solid 1px black;
}

/* tab system */
.tabs {
  display: flex;
  flex-wrap: wrap;
  max-width: 400px;
  font-family: sans-serif;
}

.tabs__label {
  padding: 10px 16px;
  cursor: pointer;
}

.tabs__radio {
  display: none;
}

.tabs__content {
  order: 1;
  width: 100%;
  border-bottom: 3px solid #dddddd;
  line-height: 1.5;
  font-size: 0.9em;
  display: none;
}

.tabs__radio:checked + .tabs__label {
  font-weight: bold;
  color: #009578;
  border-bottom: 2px solid #009578;
}

.tabs__radio:checked + .tabs__label + .tabs__content {
  display: initial;
}
