.canvas-panel {
  height: 100%;
  position: relative;
  color: white;
}


#dicom-overlay {
  position: absolute;
  bottom: 0;
}

#image-thumbs {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  overflow-y: auto;
  max-height: 100%;
  max-width: 30%;
  user-select: none;
}

.thumbnail {
  pointer-events: none;
  display: block;
  margin: auto;
}

.thumb {
  position: relative;
  border: 1px dotted blue;
  touch-action: none;
  user-select: none;
}

.thumb-active {
  border: 5px dotted blue;
}

.thumb span {
  position: absolute;
  right: 0;
  color: lightblue;
}

.cornerstone-element {
    position: relative;
    height: 100%;
}

.dicom-button {
  font-size: 40px;
  z-index: 99;
  opacity: 20%;
  color: gray;
  top: 0;
}

.dicom-button:hover {
  opacity: 100%;
}

.dicom-button-highlight {
  opacity: 50%;
  color: lightblue;
}

#dicom-toggle-mode-button {
  position: absolute;
  left: 0;
}

#dicom-settings-button {
  position: absolute;
  right: 0;
}

#dicom-fullscreen-button {
  position: absolute;
  transform: translate(50%, -20%);
  right: 50%;
}

#dicom-collapse-button {
  position: absolute;
  transform: translate(0, -50%);
  top: 50%;
  right: 0;
}

#dicom-info-button {
  position: absolute;
  transform: translate(0, -75%);
  right: 0;
  top: 100%;
}

#dicom-settings-panel {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
  max-width: 100%;
  max-height: 100%;
  z-index: 999;
}

#dicom-log-panel {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
  width: 90%;
  height: 90%;
  z-index: 999;
}

#dicom-window-panel {
  position: absolute;
  top: 100%;
  transform: translate(0, -100%);
  opacity: 0.0;
}
#dicom-window-panel:hover {
  opacity: 1;
}

#dicom-summary-panel {
  position: relative;
  z-index: 999;
  max-width: 100%;
  height: 100%;
  color: red;
  top: -100%;
  overflow: scroll;
  display: none;
}