/* Color Palette */
/* $size-padding-book must be less than or equal to $size-spacing-left and $size-spacing-right */
.books_container {
  display: flex;
  flex-wrap: wrap;
  vertical-align: top;
  margin-left: -1rem;
  margin-right: -1rem;
  margin-top: calc(1.25rem - 1rem);
  margin-bottom: -1rem;
}

.book_container {
  display: inline-block;
  overflow: auto;
  flex: 0 0 50%;
  margin: 0;
  padding: 1rem;
  text-align: left;
}

.book_cover {
  position: relative;
  display: inline-block;
  width: 100%;
  padding-bottom: calc(100% * 833 / 500);
  margin-top: 0;
  margin-bottom: 1rem;
}

.book_cover_image {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: 0;
  border-radius: 4px;
  vertical-align: middle;
}

.book_cover_overlay {
  position: absolute;
  display: block;
  border-radius: 4px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.07));
  box-shadow: 0 7px 4px -5px rgba(0, 0, 0, 0.6), 0px 3px 15px 2px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.3), inset 0 -1px 3px 0 rgba(0, 0, 0, 0.2), inset 0 -1px 0 0 rgba(0, 0, 0, 0.12), inset 0 2px 0 0 rgba(255, 255, 255, 0.2);
}

.book_cover_overlay a {
  display: block;
  height: 100%;
  width: 100%;
}

.book_thumbnail_image {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: 0;
  border-radius: 4px;
  vertical-align: middle;
}

.book_thumbnail_overlay {
  position: absolute;
  display: block;
  border-radius: 4px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.07));
  box-shadow: 0 7px 4px -5px rgba(0, 0, 0, 0.6), 0px 3px 15px 2px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.3), inset 0 -1px 3px 0 rgba(0, 0, 0, 0.2), inset 0 -1px 0 0 rgba(0, 0, 0, 0.12), inset 0 2px 0 0 rgba(255, 255, 255, 0.2);
}

.book_thumbnail_overlay a {
  display: block;
  height: 100%;
  width: 100%;
}

.book_title, .book_author, .book_prefix {
  line-height: normal;
}

.book_prefix {
  font-size: 1.063rem;
  color: #8f95a3;
}

.book_title {
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1.12;
  color: #0b0b0b;
}

.book_title a, .book_author a {
  color: inherit;
}

.book_subtitle {
  font-size: 1.063rem;
  line-height: 1.59;
  color: #2d3138;
}

.book_author {
  font-size: 1.063rem;
  font-weight: 400;
  line-height: 1.47;
  color: #8f95a3;
}

.book_container .book_title, .book_container .book_author {
  font-size: 1rem;
  line-height: inherit;
}

.book_delete_button {
  border: none;
  background: none;
  box-shadow: none;
  float: right;
}

.book_container:hover .book_actions {
  opacity: 1;
}

.book_action, .book_delete_button {
  display: inline-block;
  margin: 0;
  padding: 0;
  width: 1.5rem;
  height: 1.5rem;
  max-width: calc((100% - 1.5rem) / 4);
}

.book_action {
  color: #ffffff;
  margin-right: 0.5rem;
  float: left;
}

.book_action img, .book_delete_button img {
  max-height: 100%;
  max-width: 100%;
}

.book_actions {
  width: 100%;
  display: inline-block;
  margin-top: 0.5rem;
}

.book_actions:after {
  content: " ";
  clear: both;
  margin: 0;
}

@keyframes fade_animation {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes collapse_animation {
  100% {
    flex: 0 0 0%;
    width: 0;
    margin: 0;
    padding: 0;
  }
}
.animate_collapse {
  animation: 0.5s ease 0s forwards fade_animation, 0.6s ease 0.1s forwards collapse_animation;
}

@media only screen and (min-width: 39.875rem) {
  .books_container {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    margin-top: calc(1.25rem - 1.25rem);
    margin-bottom: -1.25rem;
  }

  .book_container {
    flex: 0 0 20%;
    padding: 1.25rem;
  }

  .book_actions {
    opacity: 0;
    transition: opacity 0.66s ease;
  }

  .book_title {
    font-size: 2.375rem;
    line-height: 1.16;
  }

  .book_author {
    font-size: 1.188rem;
  }

  .book_subtitle {
    font-size: 1.188rem;
    font-weight: 500;
    line-height: 1.47;
  }
}

/*# sourceMappingURL=instaread_book_gallery.css.map */
