.search-page {
  padding-top: 0;
}
.c-search-component {
    margin: 1rem;
}
@media only screen and (min-width: 64.06em) {
    .c-search-component {
      margin: 2rem 5rem;
    }
}
.stSearch {
    position: relative;
}
.c-search-component .c-search__container {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-end;
    min-height: 20px;
    padding: 19px;
    margin-bottom: 2rem;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
.c-search__container--input {
    width: 82%;
    position: relative;
    margin-right: 1.5rem;
}
.c-search__content {
    margin-bottom: 1rem;
}
.c-search__content .c-search__heading {
    font-size: 2rem;
    padding-bottom: 1rem;
}
.c-search__result {
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.c-search__result:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}
.c-search__metadata {
    margin-bottom: 0.5rem;
}
.st-pagination {
    border-top: 1px solid #ccc;
    margin-top: 5px;
    padding-top: 5px;
}
.st-prev {
    margin-right: 20px;
}
.st-loading-message {
    font-size: 16px;
    font-style: italic;
    color: #333;
    margin: 10px auto;
}
.st-search-component {
    margin: 2rem 5rem;
}
.c-search__container .primary-button {
    padding: 0.535rem 2.3125rem;
    text-transform: none;
    border-radius: 3px;
}
.c-search__container .c-search__input {
    height: 1.875rem;
    background: #fff !important;
    text-indent: 0px !important;
    font-size: 1rem;
    padding: 1px 6px;
    border: 1px solid #BCCDF0;
    width: 83%;
    margin-right: 0.5rem;
}
@media only screen and (min-width: 64.06em) {
  .c-search__container .c-search__input {
    padding: 0.5rem 1rem;
    font-size: 16px;
    font-weight: 300;
    background: white;
    box-shadow: none;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    position: relative;
    height: 2.875rem !important;
    top: 0;
    transform: none;
    width: 100%;
  }
  .c-header .c-search__input {
    position: relative;
    margin-top: 1.5rem;
  }
}
label.c-search__label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 5px;
  width: 100%;
}
.c-search__title {
    color: #1B4695;
    height: auto;
    font-size: 1rem;
    padding-bottom: 0.5rem;
    text-decoration: underline;
    overflow: visible;
    font-weight: 500;
    cursor: pointer;
    font-family: "Open Sans", "Arial", sans-serif;
    word-break: break-word;
    display: block;
}
.c-search__title a {
    font-weight: 500;
}
.c-search__count-display {
    display: block;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.15rem;
}
.c-search__error {
  padding-bottom: 0;
  width: auto;
  font-weight: 700;
  color: #FF1C1C;
}
.c-search__container .c-search__autocomplete {
    width: 100%;
    padding: 0;
    margin: 0;
}
.c-search__autocomplete-container {
    position: absolute;
    background: #fff;
    width: 82%;
    padding: 0;
    top: 5rem;
    left: 0;
    z-index: 9;
}
@media only screen and (min-width: 64.06em) {
    .c-search__autocomplete-container {
      width: 100%;
      top: 2.75rem;
    }
}
ul#search-autocomplete > li {
    display: none;
}
ul#search-autocomplete > li:nth-last-of-type(-n+5) {
    display: block;
}
.c-search__autocomplete-container .c-search__autocomplete li {
    width: 100%;
    list-style-type: none;
    padding: 0.5rem 1rem;
}
.c-search__autocomplete-container .c-search__autocomplete li:last-of-type {
    padding-bottom: 10px;
}
.c-search__autocomplete-container .c-search__autocomplete li:hover,
.c-search__autocomplete-container .c-search__autocomplete li:focus {
    background: #3498db;
    color: white;
}
.c-search-component .c-pagination {
    position: relative;
    padding: 3rem 0;
}
.c-search-component .c-pagination .c-pagination__prev-button {
    left: 0;
    top: 0;
}
.c-search-component .c-pagination .c-pagination__next-button {
    right: 0;
    top: 0;
}
.c-search-component .c-pagination .c-pagination__prev-button,
.c-search-component .c-pagination .c-pagination__next-button {
    position: absolute;
    margin: 1rem 0;
}
.c-search-component .c-pagination .c-pagination__prev-button:hover,
.c-search-component .c-pagination .c-pagination__next-button:hover,
.c-search-component .c-pagination .c-pagination__prev-button:focus,
.c-search-component .c-pagination .c-pagination__next-button:focus {
    color: #fff;
    text-decoration: none;
}
.c-search-component .c-pagination .c-pagination__page-info {
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
}

@media only screen and (min-width: 28em) and (max-width: 56em) {
  .c-search__container .c-search__input {
    padding: 0.5rem 1rem;
    font-size: 16px;
    font-weight: 300;
    background: white;
    box-shadow: none;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    position: relative;
    height: 2.875rem !important;
    top: 0;
    transform: none;
    width: 76%;
  }
}
@media only screen and (max-width: 27em) {
  .st-search-component { margin: 2rem 1rem; }
  .st-page { display: flex; justify-content: flex-start; flex-flow: wrap; }
  .c-search-component .c-pagination .c-pagination__prev-button,
  .c-search-component .c-pagination .c-pagination__next-button {
    position: relative;
    margin: 0;
    width: 100%;
  }
  .c-search-component .c-pagination .c-pagination__next-button {
    margin-top: 1rem;
  }
  .c-search-component .c-pagination {
    position: relative;
    padding: 1rem 0;
  }
  .c-search-component .c-pagination .c-pagination__page-info {
    margin-top: 1rem;
  }
  .c-search__container .c-search__input {
    margin-right: 0;
    width: 100%;
    margin-bottom: 1rem;
    height: 2.5rem;
    padding: 0.535rem;
  }
  .c-search__container .primary-button {
    width: 100%;
  }
}

/* Search in Header - to be replaced in site CSS */
.c-header .c-search__form #gs_tti50, td.gsc-input {
    padding: 0px !important;
    width: 100%;
    position: relative;
}
.c-header .c-search__form .primary-button {
    padding: 0.35rem 2.3125rem;
}
@media only screen and (min-width: 64.06em) {
  .c-search__input {
    padding: 0.5rem 1rem;
    font-size: 16px;
    font-weight: 300;
    background: white;
    box-shadow: none;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    position: relative;
    height: 46px;
    width: 98%;
    margin-right: 0.5rem;
  }
}
.c-header .c-search__error {
  padding-bottom: 0;
  width: auto;
  font-weight: 700;
  color: #FF1C1C;
  position: absolute;
}