.cover {
  position: relative;
  text-align: center;
  padding: 0 1rem;
  z-index: 2;
}

.cover-img {
  background-size: cover;
  background-position: 50% 0;
  background-repeat: no-repeat;
}

.node-unpublished .cover-img:before {
  display: block;
  position: absolute;
  content: '';
  background-color: rgba(85, 85, 85, 0.8);
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.cover-with-canvas {
  padding: 40px;
}

.hero__bgimage-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.1)), to(rgba(34, 34, 34, 0.7)));
  background: linear-gradient(rgba(0, 0, 0, 0.1) 0%, rgba(34, 34, 34, 0.7) 100%);
}

.cover-wrap {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  min-height: 300px;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

/* IE11 */

.cover-with-canvas .cover-wrap {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.node-unpublished .status:before {
  border-top: 1px solid white;
  margin: 5px auto;
  width: 40px;
  height: 0;
  content: '';
  display: block;
}

.cover .page-title {
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  text-align: center;
  margin: 0 auto;
  padding-top: 2rem;
  padding-bottom: 1em;
  width: 80%;
}

[dir='rtl'] .cover .page-title {
  text-align: right;
}

[dir='rtl'] .path-search .cover .page-title {
  text-align: center;
}

.hero-footer {
  padding: 1rem 0;
  width: 100%;
}

.hero-footer__text {
  margin-top: 10px;
}

.hero-footer__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

[dir='rtl'] .hero-footer__cta {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.hero-avatar {
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.11), 0 1px 2px rgba(0, 0, 0, 0.22);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.11), 0 1px 2px rgba(0, 0, 0, 0.22);
  margin: auto;
  width: 128px;
  height: 128px;
}

.block-social-profile header {
  padding-top: 2rem;
  padding-bottom: 1em;
}

.block-social-profile .page-title {
  padding-top: 1rem;
}

.block-social-profile .hero-footer {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.block-social-profile .hero-footer__text {
  padding-right: 0;
}

.block-social-profile .hero-footer__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding-top: 1rem;
  padding-left: 1rem;
}

.hero-footer-icon {
  fill: white;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-top: -1px;
}

.hero-canvas {
  text-align: left;
  padding: 2rem;
}

.cover .btn-group {
  margin-top: 10px;
}

.hero-action-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
}

.hero-form {
  padding-bottom: 2rem;
}

.hero-form .form-group {
  position: relative;
  max-width: 400px;
  margin: auto;
}

.hero-form .form-control {
  padding: 6px 38px 6px 12px;
  max-width: none;
  border: 0;
}

.hero-form .form-submit,
.hero-form .search-icon {
  width: 38px;
  height: 38px;
  display: block;
  position: absolute;
  overflow: hidden;
  color: white;
  right: 0;
  top: 0;
  line-height: 38px;
  cursor: pointer;
  text-align: center;
}

.hero-form .search-icon {
  line-height: 38px;
  speak: none;
  pointer-events: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.hero-form .search-icon svg {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

@media (min-width: 600px) {
  .cover-wrap {
    min-height: 410px;
  }
  .cover-wrap.small {
    height: 193px;
    min-height: auto;
  }
  .cover-wrap.small .page-title h1 {
    font-size: 2rem;
    max-height: 70px;
    overflow: hidden;
  }
  .cover-wrap.small > .hero-footer {
    position: static;
    margin-top: -2.5rem;
  }
  .cover-wrap > .hero-footer {
    position: absolute;
    bottom: 0;
  }
  .cover .page-title {
    max-width: 900px;
  }
  .hero-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .hero-footer__text {
    padding-right: 1rem;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-left: 25%;
  }
  .block-social-profile .hero-footer__text {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    max-width: unset;
    margin-left: 0;
  }
}

@media (min-width: 900px) {
  .hero-footer__cta {
    padding-left: 1rem;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  [dir='rtl'] .hero-footer__cta {
    padding-left: 0;
    padding-right: 1rem;
  }
  .block-social-profile .hero-footer__cta {
    padding: 0;
    position: absolute;
    right: 0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    max-width: unset;
  }
  .hero-canvas {
    max-width: 66.66667%;
  }
}

@media all and (-ms-high-contrast: none) {
  *::-ms-backdrop,
  .cover-wrap {
    min-height: 410px;
  }
  *::-ms-backdrop,
  .cover-wrap.small {
    height: 193px;
    min-height: auto;
  }
  *::-ms-backdrop,
  .paragraph--hero .cover-wrap {
    min-height: 350px;
  }
  *::-ms-backdrop,
  .paragraph--hero-small .cover-wrap {
    min-height: 206px;
    height: auto;
  }
}
