/***********************************************************************
 ** layout.css  styles specific to the stack layout  
 ***********************************************************************/

/* ----------------------------------------------------------------
 *  Book Covers for the Stack front page.
 * ----------------------------------------------------------------*/

.bw-card.stack {
  width: 900px;
}

.grid-container-books {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-evenly;
  column-gap: 15px;
  row-gap: 20px;
}
 
.grid-container-books .bw-bookcover {
  display: inline-block;
  width: 2.5in;
  height: 3in;
  border: 1px solid #888;
  border-left-width: 6px;
  background-image: none;
  background-color: #e8e8e8;
  margin-left: 0.2in;
  margin-right: 0.2in;
  margin-top: 0.15in;
  margin-bottom: 0.15in;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 4px 4px 0 rgba(0, 0, 0, 0.19);
}
 
.grid-container-books .bw-bookcover:hover {
  position: relative;
  left: 1px;
  top: 1px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.grid-container-books .bw-bookcover .image {
  background-color: white;
  height: 100px;
  width: 100%;
  border-bottom: 1px solid #ccc;
  text-align: center;
  padding-top: 4px;
  padding-bottom: 4px;
}
 
.grid-container-books .bw-bookcover .image img {
  max-height: 100%;
}

.grid-container-books .bw-bookcover .title {
  display: table;   
  color: white;
  border-bottom: 5px solid white;
  min-height: 46px;
  width: 100%;
  vertical-align: center;
  padding-top: 2px;
  padding-bottom: 2px;
  text-align: center;
  font-size: 16px;
}
 
.grid-container-books .bw-bookcover .title span {
  display: table-cell;
  vertical-align: middle;
}

.grid-container-books .bw-bookcover .descp {
  display: table;
  background-color: #e8e8e8;
  max-height: 90px;
  padding: 2ex;
  padding-top: 2.5ex;
  padding-bottom: 1ex;
  text-align: center;
  font-size: 14px;
}
 
.grid-container-books .bw-bookcover .descp span {
  display: table-cell;
  vertical-align: middle;
}
