/**
 * @file
 * Styles for rendering grids/lists of objects.
 */

div.islandora-objects > div {
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  display: inline-block;
}

.islandora-objects-list-item {
  clear: both;
  width: 100%;
}

.islandora-objects-list-item dl dt {
  clear: left;
  float: left;
  padding: 3px 0 0;
  text-align: center;
  width: 100px;
}

.islandora-objects-list-item dl dd {
  margin: 0 0 0 130px;
}

/*Grid - Displays grid using dl formatted inline */
.islandora-objects-grid dl {
  width: 20%;
  min-width: 100px;
  min-height: 180px;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: top;
  margin: 1.5em 1.84%;
  zoom: 1;
  *display: inline;
  _height: 180px;
}

.islandora-objects-grid-item {
  display: inline;
}

.islandora-objects-grid dd {
  margin: 0;
  padding: 0;
}

.islandora-objects-display-switch {
  float: right;
}