.sitebanner {
  position: relative;
  max-width: 1200px;
  height: 160px;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: none;
  background-color: #2d7d7e;
  color: #fff;
  font-family: "Roboto", sans-serif;
}

.sitebanner--closed {
  display: none;
}

.sitebanner__imgwrapper {
  position: absolute;
  width: auto;
  height: 100%;
  top: 0;
  right: 0;
  overflow: hidden;
  z-index: 1;
}

.sitebanner__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(45,125,126,1) 0%, rgba(2,0,36,0) 100%);
}

.sitebanner__bgimg {
  display: block;
  width: auto;
  height: 100%;
}

.sitebanner__textwrapper {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 2rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

@media all and (max-width: 899px) {
  .sitebanner__bgimg {
    display: none !important;
  }
  .sitebanner__textwrapper {
    position: relative;
  }
}

.sitebanner__closingbutton {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
  background-color: #2d7d7e;
  padding: 5px;
}

.sitebanner__closingbutton svg {
  width: 32px;
  height: 32px;
  transform: scale(0.5);
  transform-origin: top left;
  padding: 2px;
}

.sitebanner__title {
  font-size: 1.45rem;
  font-weight: bold;
}

.sitebanner__subtitle {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.sitebanner__ctaanchor {
  color: #2d7d7e;
  background-color: #fff;
  border: none;
  padding: 6px 12px;
  font-weight: 500;
  font-size: 0.875rem;
}

.sitebanner__ctaanchor:hover,
.sitebanner__ctaanchor:focus {
  color: #2d7d7e;
}

body.path-frontpage .paragraph--block {
  background-color: inherit;
  padding-bottom: 0;
}

@media all and (max-width: 899px) {
  .sitebanner {
    height: auto;
    min-height: 160px;
  }
  .sitebanner__title {
    font-size: 1.15rem;
  }
  .sitebanner__subtitle {
    font-size: 1.05rem;
  }
}
@media all and (min-width: 900px) {
  body.path-frontpage .paragraph--block {
    margin-bottom: -75px;
  }
}

/* override max-width to 100% and negate padding for the sitebanner primary block on front page */
body.path-frontpage .paragraph--block .primary-col {
  max-width: 100%;
  padding: 0;
}
