/**
 * Padding and margins attempt to match the offsets of the left-
 * and right-most visual elements in the main app toolbar.
 */
.toolbar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-left: 5px;
  padding-right: 5px;
}

.toolbar button {
  margin-top: 0;
  margin-bottom: 0;
}

.main-toolbar {
  box-shadow: var(--lit-box-shadow);
  background-color: white;
  border-bottom: 1px solid #dadce0;
  min-height: 36px;
}

.togglable-toolbar-holder {
  background-color: white;
  width: fit-content; /* set to 100% to span page */
  border: 1px solid;
  border-radius: 3px;
  border-color: rgb(218, 220, 224);
  position: absolute;
}

.slice-container {
  width: 300px;
  height: 300px;
}

#slice-toolbar-container {
  right: 0; /* remove to span page */
}

#left-container {
  display: flex;
  font-family: Roboto;
  font-size: 14px;
}

#right-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 4px;
  max-height: 24px; /** To avoid page jumps when selections happen. **/
  font-family: Roboto;
  font-size: 14px;
}

#button-holder-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-grow: 2;
  margin: 4px;
}

.selection-status-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 4px;
}

/* For in-line icons in a <span> */
[data-icon] {
  margin: 0;
}

[data-icon]:before {
  font-family: 'Material Icons';
  content: attr(data-icon);
  vertical-align: middle;
}

.toolbar-holder {
  position: relative;
}

.toggle-example-comparison {
  font-family: Roboto;
  font-size: 14px;
  color: #3C4043;
  cursor: pointer;
  padding: 3px 8px;
  user-select: none;
}

.text-disabled {
  color: rgba(60, 64, 67, 0.38);
}

.compare-container {
  display: flex;
  width: 200px;
  height:100%;
}

.compare-tooltip {
  position: absolute;
  left: 372px;
  width: 256px;
  top: 75px;
  font-family: Roboto;
  font-size: 12px;
  background: rgba(32, 33, 36, 0.9);
  border-radius: 4px;
  font-size: 12px;
  color: #FFFFFF;
  display: flex;
}

.tooltip-icon {
  --mdc-icon-size: 20px;
  margin-top: 6px;
  margin-left: 10px;
}

.tooltip-text {
  margin: 8px 12px;
}

#compare-switch {
  margin-top: 6px;
}

#primary-text {
  text-align: right;
}

#number-selected {
}

#select-random-icon {
  vertical-align: middle;
}

#select-random-text {
  vertical-align: middle;
}

#num-selected-text {
  min-width: 10px;
  text-align: right;
  display: inline-block;
}

.pin-button {
  width: 190px;
}

.pin-button-content {
  display: flex;
  width: 100%;
}

.pin-button-text {
  flex-grow: 1;
  text-align: center;
}
