.cgm-search-hero {
  padding: 0 0 64px 0;
}

.cgm-search-hero .container-sm {
  max-width: 870px;
}

#views-exposed-form-cgm-library-cgm-library,
form[id^="views-exposed-form-cgm-library"] {
  max-width: 100%;
}

.cgm-hero .hero-text {
  margin-bottom: 40px;
}

input.flexsearch--input {
  border: 1px solid var(--grey-04);
  width: 100%;
  background: transparent url(/themes/custom/unified/icons/Search.svg) no-repeat 13px center;
  background-color: var(--white);
  padding-left: 45px;
  border-radius: 40px;
  padding: 10px 15px 10px 45px;
}

.cgm-search-hero input.form-text {
  border: 1px solid var(--grey-04);
  width: 100%;
  background: transparent url(/themes/custom/unified/icons/Search.svg) no-repeat 13px center;
  background-color: var(--white);
  padding-left: 45px;
  border-radius: 40px;
  padding: 7px 15px 7px 45px;
}

.cgm-search-hero.white-bg .flexsearch--submit {
  font-family: "RocheSans-Medium", "Arial", "Arial Narrow";
  display: block;
  height: auto;
  position: relative;
  color: var(--acBlueShade);
  top: auto;
  font-size: 16px;
  letter-spacing: 0.01em;
  border-bottom: 2px solid;
  width: fit-content;
  margin: auto;
  text-decoration: none;
  border-radius: 0;
}

input.flexsearch--input:focus-visible {
  outline-offset: unset;
  outline: 1px solid var(--grey-05);
}

.cgm-search-hero input.form-text:focus-visible {
  outline-offset: unset;
  outline: 1px solid var(--grey-05);
}

.flexsearch--input-wrapper {
  padding: 20px 0;
}

form.flexsearch--form {
  display: flex;
  align-self: center;
  align-items: center;
}

div.flexsearch--form {
  display: flex;
  align-self: center;
  align-items: center;
}

.flexsearch--submit {
  border-bottom: 1px solid var(--acBlueShade);
}

a.cgm-home-search-action {
  text-decoration: none;
}

@media (max-width: 767px) {
  .cgm-search-hero.white-bg {
    margin-top: -44px;
    background: #f6f6f6;
    padding: 32px 10px;
    margin-bottom: 64px;
  }

  .cgm-search-hero.white-bg .flexsearch p {
    margin: -20px 0 0px 0;
  }

  .cgm-search-hero.white-bg .flexsearch--form {
    display: block;
  }
}

.page-level-container .main-content {
  background: linear-gradient(180deg, #e3e3e3 0%, #ffffff 100%);
  background-repeat: no-repeat;
  background-size: 1440px 400px;
}

.cgm-search-hero .text-center .eyebrow {
  margin-bottom: 12px;
}

.cgm-search-hero .text-center h1 {
  margin-bottom: 16px;
}

.cgm-search-hero .text-center p {
  margin-bottom: 24px;
}

.cgm-search-hero .container-sm .row .text-center {
  padding: 0;
}

.cgm-search-hero .flexsearch--input-wrapper {
  padding: 0;
}

.cgm-search-hero .flexsearch input.form-text {
  border-radius: 50px;
  border: 1px solid #737373;
  padding: 11px 15px 11px 45px;
}

.cgm-search-hero .flexsearch input.form-text::placeholder {
  color: #0b393e;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 24px */
}

.cgm-search-hero.white-bg .flexsearch p {
  margin: 0 0 20px;
}

.cgm-search-hero.white-bg {
  padding: 0 20px;
}

@media (max-width: 767px) {
  .cgm-search-hero.white-bg {
    margin-top: -44px;
    background: none;
    padding: 0 20px;
    margin-bottom: 60px;
  }

  .cgm-search-hero.white-bg .col-12 {
    padding: 0;
  }
}

@media (min-width:768px) and (max-width:991px) {
  .page-level-container .main-content {
    background: linear-gradient(180deg, #e3e3e3 0%, #ffffff 100%);
    background-repeat: no-repeat;
    background-size: 1440px 400px;
  }

  .cgm-search-hero.white-bg {
    padding: 0 93px 60px 93px;
  }
}

@media (min-width: 992px) {
  .cgm-search-hero.white-bg {
    padding: 0 0 64px 0;
  }
}
