/* Job seeker / employer banner (web/partials/bottom_cta), loaded by that partial on every page */
.bottom-cta {
  background: linear-gradient(110deg, #073b7c, #0753a7);
  color: #fff;
  padding: 22px 0;
  position: relative;
  overflow: hidden;
}

/* Short public pages: the banner stays directly on top of the footer */
body > .bottom-cta {
  margin-top: auto
}

body > .bottom-cta ~ footer {
  margin-top: 0
}

/* Short dashboard pages: the banner stays at the bottom of the window */
.main {
  display: flex;
  flex-direction: column
}

.main > .bottom-cta {
  margin-top: auto
}

.bottom-cta:after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -100px;
  width: 300px;
  height: 210px;
  background: rgba(255, 255, 255, .07);
  transform: rotate(-12deg)
}

.cta-divider {
  border-right: 1px solid rgba(255, 255, 255, .4)
}

.cta-btn {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .65);
  text-decoration: none;
  color: #fff;
  background: transparent;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 400
}

.cta-btn:hover {
  color: #fff
}

@media(max-width:575.98px) {
  .cta-divider {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    padding-bottom: 18px;
    margin-bottom: 18px
  }
}

/* Stays above the decorative shapes on the login and register pages */
.bottom-cta {
  z-index: 3
}
