.static-navbar {
  z-index: 1000;
}

.static-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.static-navbar .navbar-header {
  float: none;
}

.static-navbar .navbar-brand {
  display: flex;
  align-items: center;
  height: 60px;
}

.static-navbar .navbar-brand img {
  display: block;
  width: 182px;
  height: auto;
}

.static-navbar .static-nav-links {
  display: block;
  border: 0;
}

.static-navbar .navbar-nav > li {
  display: inline-block;
  float: none;
}

main {
  min-height: 60vh;
}

.legacy-content.home > footer,
.legacy-content > div > footer,
.legacy-content .cd-top {
  display: none;
}

.legacy-content.home #home-slider,
.legacy-content.home #home-slider ul,
.legacy-content.home #home-slider li.home-slide {
  height: 590px;
  min-height: 590px;
  margin-top: 0;
}

.legacy-content.home #home-slider ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-content.home #home-slider li.home-slide {
  background-image: url("/img/hero.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.legacy-content.home #home-slider .flex-caption {
  margin-top: 120px;
}

body.book-layout .top-content {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(119, 177, 215, .76), rgba(119, 177, 215, .76)),
    url("/img/book-cover-background.jpg");
  background-position: center;
  background-size: cover;
}

body.book-layout .top-content .inner-bg {
  background: transparent;
}

body.book-layout .call-to-action-container.section-container-image-bg,
body.book-layout .testimonials-container.section-container-image-bg {
  background-image:
    linear-gradient(rgba(66, 139, 202, .78), rgba(66, 139, 202, .78)),
    url("/img/book-cover-background.jpg");
  background-position: center;
  background-size: cover;
}

body.book-layout .top-content .ebook img {
  width: 100%;
  background: #fff;
}

body.book-layout .top-content .text h1,
body.book-layout .top-content .text h3,
body.book-layout .top-content .description {
  color: #fff;
}

.legacy-content.library .book-listing,
.legacy-content.authors .book-listing {
  display: flex;
  flex-wrap: wrap;
}

.legacy-content.library .book-listing > [class*="col-"],
.legacy-content.authors .book-listing > [class*="col-"] {
  display: flex;
  float: none;
  margin-bottom: 30px;
}

.legacy-content.library .thumbnail,
.legacy-content.authors .thumbnail {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 520px;
  margin-bottom: 0;
}

.legacy-content.authors .thumbnail {
  min-height: 390px;
}

.legacy-content.library .thumbnail > a.envelope,
.legacy-content.authors .thumbnail > a.envelope {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px;
}

.legacy-content.authors .thumbnail > a.envelope {
  min-height: 250px;
}

.legacy-content.library .thumbnail img,
.legacy-content.authors .thumbnail img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
}

.legacy-content.authors .thumbnail img {
  max-height: 250px;
}

.legacy-content.library .thumbnail .caption,
.legacy-content.authors .thumbnail .caption {
  flex: 1;
  width: 100%;
}

.legacy-content .blog-article-link {
  display: block;
}

.legacy-content .blog-article-link figure {
  display: flex;
  align-items: center;
  min-height: 180px;
}

.legacy-content .blog-article-link img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

:target {
  scroll-margin-top: 82px;
}

.static-form-note {
  width: min(760px, calc(100% - 30px));
  margin: 30px auto 0;
  padding: 18px 22px;
  text-align: center;
  color: #555;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.static-form-note h3 {
  margin-top: 0;
}

.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  width: min(520px, calc(100% - 36px));
  padding: 14px 16px;
  color: #fff;
  background: #18212a;
  box-shadow: 0 12px 38px rgba(0, 0, 0, .24);
}

.cookie-notice[hidden],
.scroll-top[hidden] {
  display: none;
}

.cookie-notice p {
  flex: 1 1 260px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-notice a {
  color: #ffd26a;
  font-weight: 700;
}

.cookie-notice button {
  border: 0;
  padding: 9px 13px;
  color: #1b1b1b;
  background: #f4a62a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 2001;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: rgba(63, 76, 85, .85);
  font-size: 24px;
  font-weight: 700;
  line-height: 44px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .static-navbar {
    position: static;
  }

  .static-navbar .container {
    display: block;
  }

  .static-navbar .navbar-brand {
    justify-content: center;
  }

  .static-navbar .navbar-nav {
    float: none;
    margin: 0;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .static-navbar .navbar-nav > li {
    display: block;
  }

  .cookie-notice {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }
}
