/* -----------------------------------------------------
 * 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-section {
  margin-top: 5px;
}

.grid-construct div.hero-banner__container {
  background-size: cover !important;
  padding: 40px 0;
}
.grid-construct div.hero-banner__container.top {
  background-color: transparent;
  padding-top: 0;
}
.grid-construct div.hero-banner__container .hero-banner__inner {
  vertical-align: top;
}
.grid-construct div.hero-banner__container .hero-banner__heading {
  font-size: 45px;
  letter-spacing: 3px;
  text-transform: none;
  margin-bottom: 0;
}
@media (max-width: 320px) {
  .grid-construct div.hero-banner__container .hero-banner__heading {
    font-size: 24px;
  }
}
.grid-construct div.hero-banner__container .hero-banner__text {
  font-size: 23px;
  margin-top: 0;
}
@media (max-width: 320px) {
  .grid-construct div.hero-banner__container .hero-banner__text {
    font-size: 18px;
  }
}
.grid-construct div.hero-banner__container .empty-profile .hero-banner__heading {
  text-transform: none;
}
@media (max-width: 320px) {
  .grid-construct div.hero-banner__container .empty-profile .hero-banner__heading {
    font-size: 26px;
    margin: 0 36px;
  }
}
.grid-construct div.hero-banner__container .empty-profile .hero-banner__text {
  padding: 0 40px;
}
@media (max-width: 320px) {
  .grid-construct div.hero-banner__container .empty-profile .hero-banner__text {
    font-size: 14px;
    line-height: 16px;
    margin: 10px;
  }
}
.grid-construct div.hero-banner__container .hero-banner__btns {
  margin-top: 0;
}
.grid-construct div.hero-banner__container .hero-banner__btns .edit-icon {
  background: url(/images/author_profile/edit_icon.png) top center no-repeat transparent;
  height: 10px;
  width: 10px;
  display: inline-block;
  background-size: 10px;
}
.grid-construct div.hero-banner__container .hero-banner__btns .update-btn {
  color: #00c0be;
  font-size: 14px;
}
.grid-construct div.hero-banner__container .hero-banner__btns .update-btn:hover {
  text-decoration: underline;
}

.no-books .hero-banner__container {
  background-color: transparent;
}
.no-books .hero-banner__container h1.hero-banner__heading {
  text-transform: none;
  margin-bottom: 5px;
}
@media (max-width: 320px) {
  .no-books .hero-banner__container h1.hero-banner__heading {
    font-size: 26px;
    margin: 0 20px;
    margin-bottom: 5px;
  }
}
.no-books .hero-banner__container p.hero-banner__text {
  font-size: 21px;
  line-height: 22px;
}
@media (max-width: 320px) {
  .no-books .hero-banner__container p.hero-banner__text {
    font-size: 14px;
    line-height: 16px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

.add-btn .book-list__img-container {
  text-decoration: none;
}
.add-btn .book-list__img-container:hover {
  text-decoration: none;
}
.add-btn .book-list__img-container .book-list__book-img-container .book-list__book-img {
  box-shadow: none;
  display: block;
  margin: 0 auto;
}
.add-btn .book-list__img-container .book-list__book-img-container .make-book {
  font-size: 14px;
  color: #00c0be;
}

.two-thirds-video {
  margin-bottom: 20px;
  margin-top: 0;
}
.two-thirds-video hr {
  margin-bottom: 15px;
  border-top: 1px solid #eeeeee;
}
.two-thirds-video .profile_corkboard_under_link {
  margin-bottom: 30px;
  padding-left: 10px;
}
@media (max-width: 320px) {
  .two-thirds-video .profile_corkboard_under_link {
    text-align: center;
    padding-left: 0px;
  }
}
@media (max-width: 980px) {
  .two-thirds-video .profile_corkboard_under_link {
    margin-bottom: 0;
  }
}
.two-thirds-video .profile_corkboard_under_link a {
  font-size: 14px;
}
.two-thirds-video .view-link {
  background: url(/images/author_profile/open_link.png) top center no-repeat transparent;
  height: 10px;
  width: 10px;
  display: inline-block;
  background-size: 10px;
  vertical-align: middle;
  margin-right: 5px;
}
.two-thirds-video .copy__wrapper {
  float: none;
  padding-right: 30px;
}
@media (min-width: 980px) {
  .two-thirds-video .copy__wrapper {
    float: left;
    width: 22%;
  }
}
@media (max-width: 980px) {
  .two-thirds-video .copy__wrapper {
    padding-right: 0;
  }
}
.two-thirds-video .copy__wrapper .grid-construct .center-col__inner {
  margin-top: 0px;
  text-align: center;
}
@media (min-width: 980px) {
  .two-thirds-video .copy__wrapper .grid-construct .center-col__inner {
    text-align: left;
  }
}
.two-thirds-video .copy__wrapper .grid-construct .center-col__inner .media {
  text-align: left;
  display: inline-block;
  margin: 0 10px;
}
@media (max-width: 320px) {
  .two-thirds-video .copy__wrapper .grid-construct .center-col__inner .media {
    margin-bottom: -5px;
  }
}
@media (max-width: 980px) {
  .two-thirds-video .copy__wrapper .grid-construct .center-col__inner .media {
    text-align: center;
  }
}
.two-thirds-video .copy__wrapper .grid-construct .center-col__inner .media .media-left, .two-thirds-video .copy__wrapper .grid-construct .center-col__inner .media .media-body {
  display: table-cell;
  vertical-align: top;
  line-height: 16px;
  word-break: break-all;
}
.two-thirds-video .copy__wrapper .grid-construct .center-col__inner .media .media-left .media-object, .two-thirds-video .copy__wrapper .grid-construct .center-col__inner .media .media-body .media-object {
  display: block;
}
.two-thirds-video .copy__wrapper .grid-construct .center-col__inner .media a, .two-thirds-video .copy__wrapper .grid-construct .center-col__inner .media strong {
  font-size: 14px;
  color: #333333;
  word-break: break-all;
  line-height: 16px;
}
.two-thirds-video .copy__wrapper .grid-construct .center-col__inner .media a:hover {
  text-decoration: underline;
}
.two-thirds-video .copy__wrapper .grid-construct .center-col__inner .media .icon {
  color: #9b9fa2;
  font-size: 5px;
  vertical-align: middle;
  margin-right: 5px;
}
.two-thirds-video .video__wrapper {
  float: none;
  width: 100%;
  max-width: 670px;
}
@media (max-width: 980px) {
  .two-thirds-video .video__wrapper {
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
}
@media (min-width: 980px) {
  .two-thirds-video .video__wrapper {
    float: left;
  }
}
.two-thirds-video .video__wrapper .grid-construct .center-col__inner {
  margin-top: 0;
}
.two-thirds-video .video__wrapper .grid-construct .center-col__inner hr {
  margin-bottom: 10px;
}
.two-thirds-video .video__wrapper .grid-construct .center-col__inner p {
  color: #333333;
  margin-bottom: 40px;
  word-wrap: break-word;
}
@media (max-width: 768px) {
  .two-thirds-video .video__wrapper .grid-construct .center-col__inner p {
    font-size: 14px;
  }
}
.two-thirds-video .video__wrapper .grid-construct .center-col__inner h6 {
  text-transform: none;
  font-size: 24px;
}
@media (max-width: 768px) {
  .two-thirds-video .video__wrapper .grid-construct .center-col__inner h6 {
    font-size: 16px;
  }
}

.profile-img {
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .profile-img {
    margin-top: 20px;
  }
}
.profile-img img.user, .profile-img img.no-image {
  border-radius: 50%;
  height: 150px;
  width: 150px;
}
.profile-img img.no-image {
  border-radius: 0;
}
.profile-img img.no-image:hover {
  opacity: 0.4;
}
.profile-img img.staff_badge {
  border-radius: 0;
  position: relative;
  display: block;
  text-align: center;
  margin: 0 auto;
  display: none;
}
.touch .profile-img img:hover {
  opacity: 1;
}

.book-list__book-title, .book-list__book-author {
  padding-left: 0;
}

.book-list__book-details {
  margin-top: 15px;
  margin-bottom: 25px;
  margin-left: 0;
}

.book-list__img-container {
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .pagination__links {
    float: right;
  }
}
