/* Search landing page */

* {
  box-sizing: border-box;
}
#left-column.search, #left-column.search_topics {
  position: relative;
}
.search-input-with-autocomplete{
  position: relative;
  width: 91%;
  max-width: 100%;
}
#search-status .st-has-results.inverse {
  display : none;
}
#search-status .st-no-results.st-loading.inverse {
  display : none;
}
#search-status .st-no-results.st-failed-loading.inverse {
  display : none;
}
#search-status .st-no-results.st-not-failed-loading.st-loading.inverse {
  display : none;
}
#search-status .st-no-results.st-not-failed-loading.st-not-loading.inverse {
  display : block;
}
.st-no-results.st-failed-loading.loading {
  display : block;
}
.st-no-results.st-not-loading.loading {
  display : none;
}
.st-no-results.st-loading.loading {
  display : block;
}
.st-has-results.st-loading.loading {
  display : block;
}
.st-has-results.st-not-loading.loading {
  display : none;
}
@media screen and (max-width: 768px){
    .search-input-with-autocomplete {
        width: 82%;
    }
}
@media screen and (min-width: 520px) and (max-width: 768px){
    .search-input-with-autocomplete {
        width: 87%;
    }
}
@media screen and (min-width: 769px) and (max-width: 900px){
    .search-input-with-autocomplete {
        width: 81%;
    }
}
#searchTitle {
    font-weight: 700;
    padding-bottom: 10px;
    font-size: 40px;
    border-bottom: 4px solid #306141;
    margin-bottom: 15px;
    color: #00451c;
    font-family: "grad", serif;
}
#search_form .search-form {
  width: 100%;
  margin-right: 70px;
}
#notfound_search_form .search-form {
  width: 100%;
}
#search_form input[type="text"] {
  padding: 10px;
  font-size: 1rem;
  font-weight: 300;
  border-radius: 4px;
  width: 100%;
  border: 1px solid #ccc;
}
#notfound_search_form input[type="text"] {
  padding: 10px;
  font-size: 1rem;
  font-weight: 300;
  border-radius: 4px;
  width: 548px;
  border: 1px solid #ccc;
}
#search_form input[type="submit"],
#notfound_search_form input[type="submit"] {
  background-image: url("/images/icons/search-icon-large.gif");
  margin-left: 10px;
  height: 36px;
  vertical-align: top;
  width: 61px;
  position: absolute;
  top: 0;
  right: -70px;
}
#search_form input[type="submit"]:hover {
  background-image: url("/images/icons/search-icon-large.gif");
  background-position: 61px 0;
}
#facet_column {
  border-right: 1px solid #CCC;
  position: absolute;
  padding-right: 5px;
  width: 200px;
  left: 0;
}
.center-column{
  margin-left: 220px;
}
@media screen and (max-width: 900px){
  #facet_column {
    display: none;
  }
  .center-column{
    margin-left: 0;
  }
}
#rcSnapshot {
  margin-top: 10px;
}
#search_results {
  margin-top: 10px;
  clear: both;
}
.search_result em {
  font-style: normal;
  font-weight: 700;
}
.search_element {
  padding-top: 20px;
}
#wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.result {
  border-bottom: 1px solid #CCC;
  height: auto;
  overflow: hidden;
  padding-bottom: 20px;
  margin-bottom: 20px;
  padding-top: 5px;
}
#nativeSearchAd.dx-inline-adx40 {
  border-bottom: none;
  border-top: 1px solid #CCC;
  margin-top: 20px;
  padding-top: 20px;
}
/* Target inject inline ads*/
.result a:nth-child(2),
.searchTopicsResults .result a:nth-child(2) {
  border-top: 1px solid #CCC !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
  width: 100% !important;
  display: block;
  text-align: center;
  clear: both;
  float: left;
}

.result .result_title {
  font-family: "georgia","times new roman","times,serif";
  font-size: 18px;
  line-height: 21px;
  padding-top: 10px;
}
.result_title a {
    font-family: "grad", serif;
    font-weight: bold;
    font-size: 18px;
    color: black;
    margin-bottom: 10px;
    line-height: 1.4;
}
.result_title a:hover {
  text-decoration: underline;
}
.result_image {
  border: none;
  padding: 0;
  float: right;
}
.result .result_url {
  color: #0E774A;
}
.result_summary {
    color: #222222;
    font-size: 12px;
    line-height: 28px;
    font-size: 14px;
    font-weight: normal;
    font-family: "Source Serif Pro", serif;
}

.result_date a h3:hover {
  text-decoration: underline;
}

.result_date h3 {
    display: inline-block;
    font-size: 16px;
    color: #00451c;
    font-family: "Oswald", sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}
@media screen and (max-width: 768px){
    .search_result img {
        margin-top: 15px !important;
    }
}

time {
    display: inline;
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    font-weight: normal;
    text-transform: uppercase;
    color: #979797;
}
.search_result img {
    width: 100%;
    height: auto;
    display: block;
}

.search_result div:last-of-type {
  /*color: #777;*/
}
.st-no-results,
.st-no-query,
.st-not-loading,
.st-not-failed-loading,
.st-no-misspelling {
  display: none;
}
.st-no-results.inverse {
  display: inline;
}
.st-has-results.inverse {
  display: none;
}
#search-status span {
    font-size: 16px;
    color: #222222;
    line-height: 28px;
    font-weight: normal;
    font-family: "Source Serif Pro", serif;
}
#st-search-form-input {
  width: 300px;
}
.ac_result {
  min-height: 50px;
}

.ac_image img {
  width: 50px;
  height: 50px;
  float: left;
}
.facet-container {
  overflow: hidden
 font-size: .75em;
}
.facet-title,
.facet-container a {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.facet-title {
  float: left;
}
.facet-container a {
  font-weight: 300;
  text-decoration: none;
  float: right;
  color: #aaa;
}
.facet-options {
  clear: both;
  margin-top: 20px;
  overflow: auto;
  max-height: 400px;
  font-size: 12px;
}
.facet-option {
  position: relative;
  padding: 0 40px 0 20px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.facet-option.disabled {
  display: none;
}
.facet-option input {
  position: absolute;
  left: 0;
  top: 1px;
}
.facet-count {
  position: absolute;
  right: 0;
  color: #aaa;
}
[data-st-sort-selector] select,
[data-st-generic-select] select {
  border: 1px solid #CDCDCD;
  font-size: 12px;
  width: 100%;
}
.result:last-child {
    border: none;
}
#search_footer {
    font-size: 16px;
    text-align: center;
    padding: 35px;
    background-color: #F8F5EE;
    margin-top: 20px;
}

@media screen and (max-width: 350px){
    #search_footer .pages a {
        padding: 7px !important;
        margin: 4px !important;
    }
}
@media screen and (min-width: 351px) and (max-width: 460px){
    #search_footer .pages a {
        margin: 5px !important;
        padding: 7px !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 795px){
    #search_footer .pages a {
        padding: 12px !important;
    }
}

#search_footer .pages a {
    font-size: 10px;
    font-weight: 700;
    padding: 14px;
    font-size: 12px;
    color: #9e865a;
    margin: 10px;
    background-color: #ede8de;
}
#search_footer .arrow span{
  padding: 0;
}
#search_footer .current_page {
    font-weight: 700;
    padding: 14px !important;
    font-size: 10px !important;
    color: white !important;
    background-color: #C6B89E !important;
}
.search_topics #search_form.searchTopicsForm .search-form,
.search_topics #search-status,
.search_topics #search_results.searchTopicsResults,
.search_topics #search_footer {
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.search_result .result_image {
    margin-right: 0;
    margin-bottom: 0;
}
#allResults .result .search_result article {
    padding: 0;
}
#allResults .result .search_result article .article-wrap {
    width: 100%;
}

#allResults articel .article-wrap time {
    font-size: 16px;
}
#allResults .result .search_result article .result_image {
    width: 30%;
}
@media screen and (max-width: 768px) {
    #search_footer .arrow span {
        display: none;
    }
    #allResults .result .search_result article .result_image {
        width: 30%;
    }
    .result .result_title {
        padding-top: 5px;
    }
    .article-wrap time {
        font-size: 14px;
    }
    .result_summary {
        padding-top: 5px;
    }
}

.table-of-contents .result_title,
.z_latest-news .result_title {
    font-family: "georgia","times new roman","times,serif";
    font-size: 18px;
    line-height: 21px;
    padding-top: 10px;
}

.table-of-contents .item-listing .item-block img,
.z_latest-news .item-listing .item-block img {
    border: none !important;
}
@media only screen and (max-width: 580px) {
    .z_latest-news .item-listing .top-story img,
    .z_latest-news .item-listing .item-block img,
    .table-of-contents .item-listing .top-story img,
    .table-of-contents .item-listing .item-block img {
        max-width: 100%;
    }
}
/*search result page images styles*/
#search_results #allResults .result .result_image {
    margin-top: 15px;
    padding-left: 10px
}
@media only screen and (max-width: 500px) {
    #allResults .result .search_result article .result_image {
        width: 40%;
    }
}
@media only screen and (min-width: 900px) {
    .search.page #search_results #allResults .result .result_image {
        width: 39%;
    }
}
@media only screen and (max-width: 900px) {
    .search.page #search_results #allResults .result .result_image {
        width: 25%;
    }
}
@media only screen and (max-width: 768px) {
    .search.page #search_results #allResults .result .result_image {
        width: 30%;
    }
    #search_results #allResults .result .result_image {
        margin-top: 0;
    }
}
@media only screen and (max-width: 400px) {
    .search.page #search_results #allResults .result .result_image {
        width: 35%;
    }
}
