/* -----------------------------------------------------
 * 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.
 */
#contentMainArea .comment-list p {
  padding: 0;
}

#book_comments .sign-in {
  padding-top: 5px;
}

.recaptcha-wrap {
  margin: 5px 0;
  display: none;
  width: 90%;
  position: relative;
  height: 78px;
  padding: 1px 0 0 1px;
  background: #f9f9f9;
  border-bottom: 1px solid #c1c1c1;
  border-right: 1px solid #c1c1c1;
}
.recaptcha-wrap > div {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 10px;
  color: #cccccc;
}
.recaptcha-wrap:after {
  content: "";
  display: block;
  background-color: #f9f9f9;
  height: 2px;
  width: 100%;
  top: -1px;
  left: 0px;
  position: absolute;
  border-top: 1px solid #c1c1c1;
}
.recaptcha-wrap:before {
  content: "";
  display: block;
  background-color: #f9f9f9;
  height: 100%;
  width: 2px;
  top: 0;
  left: -1px;
  position: absolute;
  z-index: 1;
  border-left: 1px solid #c1c1c1;
}
.recaptcha-wrap .g-recaptcha {
  overflow: hidden;
  height: 76px;
  border-right: 60px solid #f9f9f9;
  border-top: 1px solid #f9f9f9;
  border-bottom: 1px solid #f9f9f9;
  position: relative;
  box-sizing: border-box;
  max-width: 294px;
}

.like-wrapper {
  text-align: center;
  margin-bottom: 30px;
  display: none;
}
@media (min-width: 641px) {
  .like-wrapper {
    display: none;
  }
}

@media (min-width: 641px) {
  .like-btn--like-mobile {
    display: none;
    margin-bottom: 0;
  }
}

.more-comments-btn {
  letter-spacing: 2px;
  font-weight: 600;
}
.more-comments-btn:hover {
  background-color: white;
  color: black;
}
.more-comments-btn .underline:hover {
  border-bottom: 2px solid;
}
.more-comments-btn .underline .plus-sign::before {
  content: "+";
  top: 3.45px;
  position: relative;
  font-size: 25px;
}

.comments-section .grid-construct {
  max-height: 350px;
  overflow: hidden;
}
.comments-section .comment-contents:after {
  content: none;
}
.comments-section #book_comments .delete-confirmation-text, .comments-section #book_comments .delete-cancellation-text, .comments-section #book_comments .notice-text {
  display: none;
}
.comments-section #book_comments .responsive-comment-body__profile-desc {
  display: inline-flex;
  width: 93%;
}
.comments-section #book_comments .responsive-comment-body__profile-desc .user {
  border-radius: 100%;
}
.comments-section #book_comments .responsive-comment-body__action {
  position: absolute;
  right: 2px;
  display: inline-block;
  vertical-align: top;
  float: right;
}
.comments-section .grid__comment {
  z-index: 1;
}
.comments-section .comment-form--head {
  font-size: 20px;
  margin-bottom: 15px;
  display: inline;
}
@media (min-width: 641px) {
  .comments-section .comment-form--head {
    display: block;
  }
}
.comments-section .comment-form--character-count {
  font-size: 14px;
}
.comments-section #comment-heading h4 {
  font-size: 20px;
  display: inline;
}
.comments-section .comment-submit {
  width: 90%;
  margin-top: 5px;
}
@media (max-width: 320px) {
  .comments-section .comment-submit {
    width: 100%;
  }
}
.comments-section .comment-list--responsive li {
  list-style: none;
}
.comments-section .comment-list {
  margin: 0;
  padding: 0;
}
.comments-section .comment-list:empty {
  display: none;
}
.comments-section .comment-list li {
  position: relative;
  margin: 10px 0;
  padding: 0 0 10px;
  border: none;
  color: #333333;
  font-size: 14px;
}
.comments-section .comment-list li .user {
  max-width: 35px;
  max-height: 35px;
  margin-top: 3px;
}
.comments-section .comment-list li .comment-text {
  width: 100%;
  float: right;
}
.comments-section .comment-list li .small {
  margin: auto;
  color: #9b9fa1;
  padding-left: 10px;
}
.comments-section .comment-list li .commenter {
  margin-bottom: 3px;
  padding-left: 10px;
  width: 90%;
}
.comments-section .comment-list li .commenter a {
  font-weight: bold;
  color: #00c0be;
}
.comments-section .comment-list li .commenter strong {
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 3px;
}
.comments-section .responsive-comment-body:hover .comment-delete {
  max-height: 25px;
  cursor: pointer;
  display: inline-flex;
  padding-right: 13px;
}
.comments-section .responsive-comment-body:hover .comment-delete:hover {
  text-decoration: none;
}
.comments-section .comment-delete {
  display: none;
}
.comments-section .edit-book-commenting {
  font-size: 14px;
  float: right;
}
@media (min-width: 641px) {
  .comments-section .edit-book-commenting--mobile {
    display: none;
  }
}
.comments-section .edit-book-commenting--desktop {
  display: none;
}
@media (min-width: 641px) {
  .comments-section .edit-book-commenting--desktop {
    display: block;
  }
}
.comments-section .edit-book-commenting-btn {
  font-weight: bold;
  display: inline;
  float: right;
  margin-bottom: 2px;
  color: #333333;
}
.comments-section .edit-book-commenting-btn .edit-book-commenting__icon {
  padding-right: 3px;
  height: 16px;
  margin-bottom: 2px;
}
@media (min-width: 641px) {
  .comments-section .edit-book-commenting-btn .edit-book-commenting__icon {
    vertical-align: text-bottom;
    margin: auto;
  }
}

.comment-input {
  width: 90%;
  height: 100px;
  overflow: scroll-y;
  outline-color: #555555;
  background-color: whitesmoke;
  margin-top: 13px;
}
@media (max-width: 320px) {
  .comment-input {
    width: 100%;
  }
}

.delete-confirmation {
  background-color: white;
  margin: 0;
  position: absolute;
  z-index: 1;
  padding: 0;
  opacity: 0.9;
}
.delete-confirmation .double-check-notice {
  font-size: 14px;
  font-weight: bold;
  width: 100%;
  text-align: center;
}
.delete-confirmation .delete-control {
  margin: 5px;
}
.delete-confirmation .control-wrapper {
  text-align: center;
}
