/* -----------------------------------------------------
 * Layout settings
 * ----------------------------------------------------- */
/* -----------------------------------------------------
 * App-wide specs: colors, dimensions, etc.
 * Controller- and page-specific variables should be declared in
 * the controller-specific SASS stylesheet.
 * ----------------------------------------------------- */
/*
 * Utopia-specific SASS variables and mixins.
 */
/* Page layouts
 */
/* -----------------------------------------------------
 * Grids
 *
 * Programmatically generate the widths of elements that
 * belong in the grid.
 *
 * Usage:
 *
 * .container
 *   @include row
 *   .primary
 *     @include col(8)
 *     @include internal-margin
 *   .secondary
 *     @include col(4)
 *     @include last
 * .container
 *   @include row
 *   .tertiary
 *     @prepend(4)
 *     @include(4)
 *     @append(4)
 *
 * Inspired by:
 *   http://bjorkoy.com/2010/05/css-grids-with-sass/
 * ----------------------------------------------------- */
/* math magic */
/* create row div */
/* create a column div */
/* make an element span n columns */
/* the first and last columns in a row needs these */
/* prepend n blank columns */
/* append n blank columns */
/*
 * Book display styles.
 */
.about-book {
  margin-top: 0;
}
.about-book .grid-construct {
  border-top: none;
  padding-top: 0;
  max-height: 300px;
  overflow: hidden;
}
.about-book .grid-construct .section-heading {
  display: inline-block;
}
@media (min-width: 641px) {
  .about-book .grid-construct .section-heading {
    display: block;
  }
}
.about-book .about-book__content {
  -webkit-box-flex: 0;
  -moz-box-flex: 0;
  -webkit-flex: 0;
  -ms-flex: 0;
  flex: 0;
  display: flex;
  display: block;
}

.bookstore_left {
  max-width: 465px;
  max-height: 400px;
  margin: 0 auto 40px;
}

.staffpicks {
  text-transform: uppercase;
  color: #555555;
  font-family: futura-pt, sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}
.staffpicks:hover {
  color: #00c0be;
}

.icon--staffpicks {
  background: url(/images/responsive_book_detail/staffpicks_flag.png) no-repeat center left;
  padding-left: 25px;
}

.about-author--user-data {
  padding-right: 10px;
  min-width: 275px;
  display: table-cell;
  vertical-align: top;
  padding-top: 20px;
  margin-right: 15px;
}
.about-author--user-data .about-creator-avatar {
  display: inline-block;
  margin-right: 20px;
}
.about-author--user-data .about-creator-details {
  display: inline-block;
  padding-top: 20px;
  vertical-align: top;
  max-width: 160px;
}
.about-author--user-data .about-creator-details a, .about-author--user-data .about-creator-details .location__text {
  word-break: break-all;
}

.summary-text {
  height: 6em;
  overflow: none;
  display: inline-block;
  padding-left: 0;
}
@media (min-width: 321px) {
  .summary-text {
    height: 5em;
  }
}
@media (min-width: 641px) {
  .summary-text {
    height: 3em;
    padding-left: 40px;
  }
}
.summary-text .more-link {
  display: inline-block;
}

.about-author--summary {
  display: table-cell;
  vertical-align: top;
  padding-top: 30px;
}
@media (max-width: 640px) {
  .about-author--summary {
    display: block;
    padding-top: 10px;
  }
}

.about-author--profile-view {
  display: none;
}

.location {
  font-size: 12px;
  color: #555555;
}
.location .location__icon, .location .location__text {
  display: table-cell;
}
.location .icon.icon--pin {
  color: #555555;
  font-size: 6px;
  vertical-align: middle;
  margin-right: 2px;
}

.avatar .user, .about-creator-avatar .user {
  border-radius: 50%;
  height: 80px;
  width: 80px;
}
.avatar .staff_badge, .about-creator-avatar .staff_badge {
  display: none;
}

.features-and-details-section ul {
  padding-left: 0;
  margin-top: 10px;
}
.features-and-details-section ul.cover-type-isbns {
  margin-top: 0;
}
.features-and-details-section ul li {
  list-style: none;
}

.features-and-details-section .features-and-details-section__wrapper, .features-and-details-section .features-and-details-section__header {
  display: inline-block;
}
.features-and-details-section .features-and-details-section__wrapper {
  width: 100%;
}
@media (max-width: 320px) {
  .features-and-details-section .features-and-details-section__wrapper {
    width: auto;
  }
}
.features-and-details-section li {
  color: #555555;
}
.features-and-details-section li strong {
  color: #555555;
  font-weight: 600;
}
.features-and-details-section li strong::after {
  content: ":";
}
.features-and-details-section li.tags {
  color: white;
}
.features-and-details-section li.tags strong {
  display: block;
}
.features-and-details-section li.tags span {
  font-family: proxima-nova-condensed, sans-serif;
  font-size: 13px;
}
.features-and-details-section li.tags span.truncate_expand {
  border: none;
  background-color: white;
  padding: 0;
}
.features-and-details-section li.tags span.vertical_separator {
  display: none;
}
.features-and-details-section li.tags span a {
  color: #9b9fa1;
  border: 1px solid #e9e9e9;
  background-color: whitesmoke;
  padding: 5px 15px;
  margin-right: 5px;
  line-height: 18px;
  text-decoration: none;
  display: inline-block;
  margin: 5px 10px 5px 0;
}
.features-and-details-section li.tags span a:hover {
  background-color: #dfe0df;
}

.author-website {
  margin-top: 35px;
}

.author-website__header {
  color: #333333;
  font-size: 16px;
  font-weight: 600;
}

.author-website__link a {
  color: #555555;
  word-break: break-all;
}

.edit-section {
  margin-top: 0px;
}

.edit-section__nonmobile {
  display: none;
}
@media (min-width: 641px) {
  .edit-section__nonmobile {
    display: inline-block;
    float: right;
  }
}

.edit-section__mobile {
  display: inline-block;
  float: right;
}
@media (min-width: 641px) {
  .edit-section__mobile {
    display: none;
  }
}

.staffpicks__nonmobile {
  display: none;
}
@media (min-width: 769px) {
  .staffpicks__nonmobile {
    display: block;
  }
}

.staffpicks__mobile {
  display: block;
}
@media (min-width: 769px) {
  .staffpicks__mobile {
    display: none;
  }
}

.icon--dropdown-ind--down {
  font-size: 15px;
  height: 0.5em;
}

.features-and-details-section__book-stats .isbn {
  text-transform: uppercase;
  display: block;
}

.section-heading__link {
  color: #333333;
}
.section-heading__link:hover {
  text-decoration: none;
  color: #333333;
}

.book-description {
  margin-top: 10px;
}
