/**
 * @file
 * Styles for the Book module.
 */

.book-navigation {
  & .menu {
    padding-top: 1em;
    padding-bottom: 0;
  }
  & .book-pager {
    overflow: auto;
    margin: 0;
    padding: 0.5em 0;
  }
}

.book-pager__item {
  display: inline-block;
  list-style-type: none;
  vertical-align: top;
}

.book-pager__item--previous {
  width: 45%;
  text-align: left; /* LTR */
  [dir="rtl"] & {
    float: right;
    text-align: right;
  }
}

.book-pager__item--center {
  width: 8%;
  text-align: center;
}

.book-pager__item--next {
  float: right; /* LTR */
  width: 45%;
  text-align: right; /* LTR */
  [dir="rtl"] & {
    float: left;
    text-align: left;
  }
}
