@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

/*--------------------------------------------------------------
# Aesop Story Engine components
--------------------------------------------------------------*/
.aesop-component {
  margin-bottom: 3em;
  margin-top: 3em; }
  .aesop-component:first-child {
    margin-top: 0; }

/*--------------------------------------------------------------
# Image
--------------------------------------------------------------*/
.aesop-component.aesop-image-component:hover {
  opacity: 1; }

.aesop-component.aesop-image-component img {
  box-shadow: none;
  display: block; }

.aesop-component.aesop-image-component .aesop-image-component-image.aesop-component-align-center {
  margin-bottom: 3em;
  margin-top: 3em; }

.aesop-image-component .aesop-image-component-caption,
.aesop-gallery-component .aesop-component-caption {
  font-size: 16px;
  font-size: 1rem;
  line-height: 28px;
  line-height: 1.75rem;
  margin-bottom: 16px;
  margin-bottom: 1rem;
  margin-top: 8px;
  margin-top: 0.5rem;
  color: #404040;
  font-style: italic;
  text-align: center; }

.aesop-img-enlarge {
  display: none; }

.entry-content a.aesop-lightbox:hover {
  border-color: transparent; }

@media screen and (max-width: 640px) {
  .aesop-component-align-left,
  .aesop-component-align-right {
    float: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center; } }

/*--------------------------------------------------------------
# Quote
--------------------------------------------------------------*/
.aesop-quote-component {
  display: block; }
  .aesop-quote-component.aesop-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    width: 90%; }
  .aesop-quote-component blockquote {
    display: block;
    font-style: normal; }
  .aesop-quote-component cite {
    font-size: 85%; }

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.aesop-content-component.aesop-content-has-img .aesop-content-darken {
  background-color: #333;
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0.4;
  position: absolute;
  right: 0;
  top: 0; }

.aesop-content-component .aesop-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  width: 90%; }

.aesop-content-component .aesop-content-comp-wrap {
  padding: 1.5em 0; }

.aesop-content-component .aesop-content-comp-inner p {
  line-height: 38px; }

.aesop-content-component .aesop-content-comp-inner a {
  color: inherit; }

.aesop-content-component .aesop-content-img .aesop-content-comp-inner {
  background-color: transparent;
  padding: 0;
  position: relative;
  z-index: 1; }

.aesop-cover-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  width: 90%;
  border: 0;
  bottom: auto;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  left: auto;
  padding: 3em 0 1.5em;
  position: relative; }

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.aesop-gallery-edit {
  display: inline-block; }

/*--------------------------------------------------------------
# Scroll Navigation Sections (used by Chapter and Timeline)
--------------------------------------------------------------*/
.scroll-nav__section {
  margin-bottom: 1.5em;
  padding-bottom: 1.5em; }
  p + .scroll-nav__section,
  .scroll-nav__section + .scroll-nav__section {
    margin-top: -1.5em;
    margin-top: calc(-1.5em + 1px); }
  .scroll-nav__section:first-child {
    margin-top: -3em;
    padding-top: 3em; }
    .scroll-nav__section:first-child p:first-of-type {
      font-size: 125%; }
  .scroll-nav__section > h1,
  .scroll-nav__section > h2,
  .scroll-nav__section > h3,
  .scroll-nav__section > h4,
  .scroll-nav__section > h5,
  .scroll-nav__section > h6,
  .scroll-nav__section > p,
  .scroll-nav__section > ol,
  .scroll-nav__section > ul,
  .scroll-nav__section > dl,
  .scroll-nav__section > table,
  .scroll-nav__section > address,
  .scroll-nav__section > pre > code,
  .scroll-nav__section > blockquote,
  .scroll-nav__section > .page-links {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    width: 90%; }

/*--------------------------------------------------------------
# Chapter
--------------------------------------------------------------*/
.aesop-toggle-chapter-menu,
.aesop-close-chapter-menu,
.aesop-chapter-menu {
  display: none; }

.aesop-component.aesop-article-chapter-wrap {
  margin-top: 3em; }
  .scroll-nav__section + .scroll-nav__section > .aesop-component.aesop-article-chapter-wrap {
    margin-top: 4.5em; }

.aesop-article-chapter {
  min-height: 0 !important; }
  .aesop-article-chapter:before {
    background-color: #333;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.4;
    position: absolute;
    top: 0;
    width: 100%; }

.aesop-cover-title small {
  display: block;
  font-family: "Open Sans", sans-serif; }

/*--------------------------------------------------------------
# Timeline
--------------------------------------------------------------*/
.aesop-timeline-stop,
.wp-block-scrollnav-block {
  margin-bottom: 1em;
  padding-top: 1em; }

.aesop-timeline,
.singlepage-scroll-nav .scroll-nav,
.gb-scrollnav .scroll-nav {
  background-color: transparent;
  bottom: auto;
  display: none;
  left: auto;
  padding: 0;
  position: fixed;
  right: 0;
  top: 50%;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  width: 50px;
  z-index: 1; }
  @media screen and (min-width: 600px) {
    .aesop-timeline,
    .singlepage-scroll-nav .scroll-nav,
    .gb-scrollnav .scroll-nav {
      display: block; } }
  .aesop-timeline .scroll-nav__list,
  .singlepage-scroll-nav .scroll-nav .scroll-nav__list,
  .gb-scrollnav .scroll-nav .scroll-nav__list {
    background-color: transparent;
    box-shadow: none;
    margin: 0;
    padding: 0;
    position: relative; }
    .aesop-timeline .scroll-nav__list:after,
    .singlepage-scroll-nav .scroll-nav .scroll-nav__list:after,
    .gb-scrollnav .scroll-nav .scroll-nav__list:after {
      display: none; }
  .aesop-timeline .scroll-nav__item,
  .singlepage-scroll-nav .scroll-nav .scroll-nav__item,
  .gb-scrollnav .scroll-nav .scroll-nav__item {
    cursor: pointer;
    display: block;
    font-family: "Open Sans", sans-serif;
    height: 40px;
    margin: 0;
    position: relative;
    text-align: right; }
    .aesop-timeline .scroll-nav__item:before,
    .singlepage-scroll-nav .scroll-nav .scroll-nav__item:before,
    .gb-scrollnav .scroll-nav .scroll-nav__item:before {
      background-color: #ccc;
      border-radius: 50%;
      bottom: 0;
      content: "";
      display: block;
      height: 10px;
      left: auto;
      margin: auto;
      position: absolute;
      right: 30px;
      top: 0;
      transition: background 200ms;
      width: 10px; }
    .aesop-timeline .scroll-nav__item:hover:before,
    .singlepage-scroll-nav .scroll-nav .scroll-nav__item:hover:before,
    .gb-scrollnav .scroll-nav .scroll-nav__item:hover:before {
      background-color: #bbb; }
    .aesop-timeline .scroll-nav__item:hover .scroll-nav__link,
    .singlepage-scroll-nav .scroll-nav .scroll-nav__item:hover .scroll-nav__link,
    .gb-scrollnav .scroll-nav .scroll-nav__item:hover .scroll-nav__link {
      opacity: 1;
      -webkit-transform: translate(10px, 0);
              transform: translate(10px, 0);
      visibility: visible; }
    .aesop-timeline .scroll-nav__item.active:before, .aesop-timeline .scroll-nav__item.active:hover:before,
    .singlepage-scroll-nav .scroll-nav .scroll-nav__item.active:before,
    .singlepage-scroll-nav .scroll-nav .scroll-nav__item.active:hover:before,
    .gb-scrollnav .scroll-nav .scroll-nav__item.active:before,
    .gb-scrollnav .scroll-nav .scroll-nav__item.active:hover:before {
      background-color: #666; }
  .aesop-timeline .scroll-nav__link:link,
  .aesop-timeline .scroll-nav__link:visited,
  .singlepage-scroll-nav .scroll-nav .scroll-nav__link:link,
  .singlepage-scroll-nav .scroll-nav .scroll-nav__link:visited,
  .gb-scrollnav .scroll-nav .scroll-nav__link:link,
  .gb-scrollnav .scroll-nav .scroll-nav__link:visited {
    font-size: 16px;
    font-size: 1rem;
    background-color: #eee;
    border-radius: 4px;
    color: #404040;
    display: inline-block;
    margin-right: 15px;
    opacity: 0;
    padding: 8px 15px;
    position: absolute;
    right: 100%;
    text-decoration: none;
    text-transform: none;
    transition: all 200ms;
    visibility: hidden;
    white-space: nowrap; }
    .aesop-timeline .scroll-nav__link:link:after,
    .aesop-timeline .scroll-nav__link:visited:after,
    .singlepage-scroll-nav .scroll-nav .scroll-nav__link:link:after,
    .singlepage-scroll-nav .scroll-nav .scroll-nav__link:visited:after,
    .gb-scrollnav .scroll-nav .scroll-nav__link:link:after,
    .gb-scrollnav .scroll-nav .scroll-nav__link:visited:after {
      border: 7px solid transparent;
      border-left-color: #eee;
      bottom: 0;
      content: "";
      height: 0;
      left: 100%;
      margin: auto -1px;
      position: absolute;
      top: 0;
      width: 0; }

/*--------------------------------------------------------------
# Chat
--------------------------------------------------------------*/
.aesop-component.aesop-component-chat + .aesop-component-chat {
  margin-top: -3em; }

/*--------------------------------------------------------------
# Video
--------------------------------------------------------------*/
.aesop-video-component .wp-video {
  margin: auto; }

.aesop-video-component .mejs-container,
.aesop-video-component .fluid-width-video-wrapper {
  background-color: #ccc; }

.aesop-video-component .aesop-video-component-caption {
  font-size: 16px;
  font-size: 1rem;
  line-height: 28px;
  line-height: 1.75rem;
  margin-bottom: 16px;
  margin-bottom: 1rem;
  margin-top: 8px;
  margin-top: 0.5rem;
  color: #404040;
  font-style: italic;
  text-align: center; }

.aesop-video-component .jetpack-video-wrapper {
  margin-bottom: 0;
  margin-top: 0; }
