#WidgetImagesContainer {
  /* setting a custom var so we can use it in a couple of places */
  --verb-widget-height: 50px;

  /*  Set the height of the top row. */
  --ajs-content-grid-row-1: 25%;
  /*  Set the height of the bottom row. */
  --ajs-content-grid-row-3: var(--verb-widget-height);
  /*  Set the width of the left column. */
  --ajs-content-grid-column-1: 20%;
  /*  Set the width of the right column. */
  --ajs-content-grid-column-3: 20%;
}
#MyWidgetImages {
}

/* .ajs-content {
  grid-template-columns: 20% 20% minmax(0, 1fr);
  --ajs-content-grid-areas: "header header header" "left right main" "footer footer footer";
} */

/* .ajs-content {
    grid-template-columns: 20% 20% minmax(0, 1fr);
    --ajs-content-grid-areas: "left right header header" "left right main main" "left right footer footer";
} */

/* -------------------------------------------------- */
/* Object list widget.
/* -------------------------------------------------- */
#MyObjectListWidgetImages {
  height: calc(100% - 2px);
}

#MyObjectListWidgetImages .ajs-inner {
  height: -webkit-fill-available;
  overflow: auto;
}
#MyObjectListWidgetImages .ajs-scroll-content {
  display: grid;
  grid-template-columns: 50% 50%;
  align-content: start; /* prevents buttons from stretching */
}


/* -------------------------------------------------- */
/* Inventory list widget.
/* -------------------------------------------------- */

#MyInventoryListWidgetImages .ajs-inner {
}

#MyInventoryListWidgetImages .ajs-scroll-content {
  display: grid;
  grid-template-columns: 50% 50%;
  align-content: start; /* prevents buttons from stretching */
}

/* -------------------------------------------------- */
/* Verb list widget.
/* -------------------------------------------------- */

#MyVerbListWidget {
  height: calc(var(--verb-widget-height) - 2px);
  position: relative;
  display: flex;
  justify-content: center;
}

#MyVerbListWidget:before {
  /* we use these properties to rotate and position the title */
  transform-origin: top left;
  transform: rotate(-90deg);
  width: var(--verb-widget-height);
  top: var(--verb-widget-height);
  left: 3px;
}

#MyVerbListWidget .ajs-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: -webkit-fill-available;
  overflow: scroll;
  margin-top: initial;
}

#MyVerbListWidget .ajs-scroll-content {
  height: -webkit-fill-available;
  display: flex;
}

#MyVerbListWidget button {
  margin: 2px;
  border-radius: 3px;
  font-size: 1em;
  line-height: 1em;
  margin: 0 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 40px;
}
