/**
 * Styles for the CHS Publications
 */


.publicationsLayout {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 6em 0 3em;
  width: 100%;
}

.publicationsLayout main {
  padding-bottom: 6em;
}

.publicationsContent {
  width: calc(100vw - 230px);
}

.publicationsContent .postsHeader {
  max-width: none;
}

.publicationsContent .categories,
.publicationsContent .tags {
  margin: 0.5rem 0;
}

.publicationsSidebar {
  padding-top: 0;
  padding-bottom: 6rem;
  width: 230px;
}

.publicationsSidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.mainSidebar.publicationsSidebar.is-affixed .publicationsSidebarContent {
  padding-top: 2rem;
}

.publicationsSidebar hr {
  padding: 0;
  margin: 0;
  height: 3px;
  width: 66%;
  background: #eee;
  margin: 1em 0;
}

.publicationsSidebar a {
  font-size: 14px;
  text-decoration: none;
  padding: 1em 2em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #666;
  transition: all 100ms ease-in-out;
}

.publicationsSidebar a:hover {
  color: var(--primary-color);
}

.publicationsSidebar i {
  margin-right: 1em;
}

.publicationsSidebar i::before {
  font-size: 24px;
}

.sidebarPlaceholder {
  width: 230px;
  padding: 1em 0;
  min-height: 320px;
}

#sidebar-sticky-wrapper #sidebar.publicationsSidebar {
  left: 0;
  min-width: 230px;
}

.featuredPublication {
  background: #f6f6f6;
  display: flex;
  padding: 3em 3em 4em 3em;
  align-items: center;
  position: relative;
  margin-bottom: 2rem;
}

.featuredFlag {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;

}

.featuredPublicationBorder.designBorder {
  bottom: 0;
  top: auto;
}

.featuredFlag label {
  color: #999;
}

.featuredPublication a  {
  text-decoration: none;
}

.featuredPublication a:hover .h2 {
  color: var(--primary-color);
}

.featuredPublication .h2 {
  font-size: 32px;
}


.featuredPublication .description, .featuredPublication .byline {
  font-size: 14px;
  max-width: 720px;
  padding: 1em 0;
  display: block;
}

.featuredPublication .byline {
  padding: 0.2em 0;
  font-size: 18px;
}

.featuredPublicationImage {
  object-fit: contain;
  width: 33%;
  min-width: 330px;
  padding: 0 0 0 3em;

}
.featuredPublicationImage img {
  transition: 100ms all ease-in-out;
}

.featuredPublication a:hover img {
  transform: scale(1.01);
}

.bookHeroActionButtons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.bookHeroActionButtons .chsButton {
  padding: 15px 20px;
  margin: 5px 10px;
}

.bookHeroActionButtons .chsButton:first-child {
  margin-left: 0;
}

.bookHeroActionButtons .chsButton.-bookButton {
  color: #222;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.bookHeroActionButtons .chsButton.-bookButton:hover {
  color: var(--primary-color);
}

.moreFromSection {
  padding-top: 2em;

}

.moreFromSection span {
  color: #666;
}

.teaseBookActionButtons {
  display: flex;
  justify-content: space-between;
  align-items: center;

  /**
   * temporarily hide for non-main site themes
   */
  display:none;
}

.teaseBookActionButtonsLeft, .teaseBookActionButtonsRight {
  display: flex;
  align-items: center;
}

.teaseBookActionButtonsLeft {
  align-items: flex-start;
}
.teaseBookActionButtonsRight {
  align-items: flex-end;
}

.teaseBookActionButtons .chsButton {
  padding: 1em 2em;
  margin: 0;
  display: inline-block;
}

.teaseBookActionButtons .chsButton.-actionButton {
  color: #666;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: normal;
}

.teaseBookActionButtons .chsButton.-actionButton:hover {
  color: var(--primary-color);
}

.chsButton.-bookButton i {
  margin-right: 1em;
}

.chsButton.-bookButton i.mdi-bookmark {
  display: none;
}

.chsButton.-bookButton:hover i.mdi-bookmark-outline {
  display: none;
}

.chsButton.-bookButton i.mdi-bookmark-outline {
  display: inline-block;
}

.chsButton.-bookButton:hover i.mdi-bookmark {
  display: inline-block;
}

.chsButton.-bookButton:hover i {
  fill: var(--primary-color);
  color: var(--primary-color);
}

.chsButton.-bookButton i::before {
  font-size: 24px;
}

.-teaseBook .teaseBookActionButtons .chsButton {
  padding: 0.5em 1em 0.5em 0;
}

.-teaseBook .teaseBookActionButtons .chsButton.-bookButton i {
  margin-right: 0.5em;
}

.-teaseBook .teaseBookActionButtons .chsButton.-bookButton i::before {
  font-size: 20px;
}

.publicationsLayout .postsHeader {
  width: 100%;
  max-width: none;
}

.publicationsLayout .postsHeaderViewAll {
  margin-right: 2em;
}

.publicationsLayout .-horizontalList.-horizontalScroll .tease:first-child {
  margin-left: -1em;
}

.-horizontalList.-horizontalScroll .tease.-teaseBook {
  min-width: 17em;
  max-width: 310px;
}

.tease.-teaseBook .h2 {
  font-size: 14px;
}

.chsButton.-termButton {
  background: #eee;
  padding:0.5em 1em;
  font-size: 12px;
  margin: 5px;
  color: #666;
}

.moreTopicsLinks {
  margin-left: -5px;
  padding: 0.5em 0 1em;
}

.chsButton.-termButton:hover {
  background: var(--primary-color);
  color: #fff;
}

.book {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 3rem 0;
}

.bookLeftColumn {
  width: 16rem;
  min-width: 16rem;
  max-width: 16rem;
}

.bookLeftColumn img {
  width: 16rem;
  min-width: 16rem;
  max-width: 16rem;
}

.bookContent {
  width: 60%;
  max-width: 720px;
  padding-left: 5%;
}

.bookContent h1 {
  font-size: 42px;
  line-height: 1.3em;
}

.bookContent .byline {
  font-size: 20px;
}

.bookContent label {
  font-size: 12px;
  text-transform: uppercase;
  color: #444;
  font-weight: bold;
}

.bookContent .bookDescription p {
  max-width: 720px;
  margin: 24px auto;
  text-align: left;
  font-size: 19px;
  font-family: "Cardo", "Times New Roman", serif;
  font-weight: 100;
  line-height: 1.7em;
}

.bookActionButtons {
  display: flex;
  flex-wrap: wrap;
}

.bookActionButtons a.chsButton {
  display: flex;
  width: 100%;
  text-align: left;
  justify-content: center;
  align-items: center;
}

.bookActionButtons a.-readButton {
  padding: 12px;
}

.bookActionButtons a.-readButton i {
  padding-right: 10px;
}

.bookActionButtons a.-readButton i {
  font-size: 22px;
}

.bookActionButtons a.-bookButton {
  color: #222;
  justify-content: flex-start;
  margin: 0;
  padding: 5px 2rem;
}

.bookActionButtons a.-bookButton i {
  margin-right: 1.5rem;
}

.bookActionButtons a.-bookButton:hover, .bookActionButtons a.-bookButton:hover .saveButtonText {
  color: var(--primary-color);
}

.bookActionButtons a.-bookButton.-bookIsSaved, .-bookIsSaved .saveButtonText {
  color: var(--primary-color);
}

.bookActionButtons a.-bookButton.-bookIsSaved .mdi-bookmark-outline {
  display: none;
}

.bookActionButtons a.-bookButton.-bookIsSaved .mdi-bookmark {
  display: block;
}

.authorImage {
  width: 16rem;
  min-width: 16rem;
  max-width: 16rem;
  height: 16rem;
  object-fit: cover;
  border-radius: 100%;
  overflow: hidden;
}

.logged-in.admin-bar #ReadingEnvironment {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow:hidden;
}

.epubReader button {
  font-family: "Noto Sans", sans-serif !important;
  color: #666 !important;
}

.readingHeader {
  display: flex;
  position: fixed;
  top:0;
  right:0;
  justify-content: flex-end;
  z-index: 101;
}

.readingHeader a {
  color: #222;
}

.readingHeader button svg {
  fill: #999;
}

.readingHeader button:hover svg {
  fill: #444;
}


.collectionDescription {
  padding: 1.5rem 2rem;
  background: #f6f6f6;
  color: #444;
  border-radius: 5px;
}

.post.-withSidebar .articleContent.classicsAtSecondary {
  min-height: 0;
}

.booksNav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.booksNav li a {
  padding: 10px 5px;
  margin: 0 10px;
  color: #666;
  border-bottom: 1px solid #fff;
  font-weight: bold;
}

.booksNav li:first-child a {
  margin-left: 0;
}

.booksNav li a:hover {
  color: var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
}

.booksList {
  min-height: 100vh;
}

.booksList .posts.-horizontalList {
  width: 100%;
  justify-content: flex-start;
  padding: 0;
}

.booksList .tease.-teaseBook {
  min-width: 12rem;
}

.booksList .posts.-horizontalList.-wrapList .tease.-teaseBook {
  width: 16%;
}

.booksList .posts.-horizontalList.-wrapList .tease.tease-curated-article {
  padding: 2rem 2rem 2rem 0;
  min-width: 320px;
}

.booksList .tease.-teaseBook .teaseImage,
.booksList .tease.-teaseBook .teaseImageOuter {
  height: 260px;
  width: 170px;
}

.booksSectionHeader {
  margin: 0;
  padding: 2rem 0 0 0;
  font-size: 32px;
}

.termList {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 1rem 0;
  margin: 0;
}

.termList li {
  width: 25%;
}

.termList li a {
  padding: 2px 20px 2px 0;
  display: block;
}

.-savedBooksNoResults {
  margin: 3rem 0;
}

.-savedBooksNoResults p {
  color: #666;
}

.-horizontalList.-horizontalScroll .tease.tease-curated-article {
  max-width: 420px;
}
