.algolia-autocomplete {
  padding: 4px;
  background: rgb(255, 255, 255);
  border: 2px solid rgba(66, 109, 169, 1);
  border-radius: 3px 3px 3px 3px;
  box-shadow: 0 4px 28px -13px #000000;
  z-index: 11000;
  margin-top: 10px;
}

.algolia-autocomplete .aa-dropdown-menu {
  box-shadow: none;
}

.algolia-autocomplete .aa-dropdown-menu .autocomplete-header .autocomplete-header-title {
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-family: "Lato";
  color: rgb(20, 104, 169);
  font-size: 14px;
  text-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.algolia-autocomplete .aa-dropdown-menu .autocomplete-header .aa-suggestions .aa-suggestion .suggestion-post-attributes {
  font-weight: normal;
  font-family: "Open Sans";
  color: rgb(74, 74, 74);
  font-size: 13px;
  line-height: 1.35em;
  box-sizing: content-box;
  border: 0;
  border-radius: 0;
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
  text-decoration: none;
  text-align: left;
  letter-spacing: normal;
}
.algolia-autocomplete .aa-dropdown-menu .autocomplete-header .aa-suggestions .aa-suggestion .suggestion-post-attributes .suggestion-post-title {
  font-family: "Lato";
}

.algolia-autocomplete .suggestion-footer div {
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  border-radius: 3px;
  font-family: "Lato";
  margin: 0 14px;
  background-image: radial-gradient(ellipse at center, rgb(228, 226, 226), rgb(228, 226, 226));
}

.algolia-autocomplete .suggestion-footer div a {
  font-size: 14px;
  padding: 5px;
  color: rgb(20, 104, 169);
}

.algolia-autocomplete .suggestion-footer div a {
  cursor: pointer;
}

.algolia-autocomplete .aa-dropdown-menu {
  overflow: scroll;
  max-height: 50vh;
}

.header-search {
  border-radius: 12px;
  border: 1px solid rgb(33, 39, 33);
}

.header-search form.search-form {
  padding: 2px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.header-search input.search-field {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  width: 100%;
  background-color: rgb(228, 226, 226);
  padding-left: 5px;
  border: none;
  height: 24px;
  font-size: 12px;
  color: rgba(128, 128, 128, 1);
}

.header-search form label {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  border: none;
  height: 24px;
  width: 100%;
  line-height: 1;
}

.header-search input.search-field:focus {
  outline: none;
}

.oxy-search-form input.search-submit {
  display: none;
}

.promagnifier {
  height: 24px;
  width: 24px;
  background-image: linear-gradient(180deg, rgb(255, 255, 255), rgb(255, 255, 255));
  order: 11;
  -webkit-order: 11;
  float: right;
  border: 0px none rgba(255, 255, 255, 0);
  border-radius: 0 12px 12px 0;
  box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0.64);
  cursor: pointer;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 0 8px;
  box-sizing: content-box;
}

.promagnifier div.innericon {
  width: 24px;
  height: 24px;
  float: right;
}


.promagnifier div.innericon svg {
  height: 100%;
  width: 22px;
  vertical-align: baseline;
  display: inline-block;
  fill: rgba(27, 54, 93, 1);
}

.proclose {
  position: relative;
  width: 24px;
  height: 24px;
  -webkit-flex: 0 0 24px;
  -webkit-flex-grow: 0;
  -webkit-order: 7;
  background-position: center center;
  display: none;
  background-size: auto;
  background-repeat: no-repeat;
  background-color: rgb(228, 226, 226);
  cursor: pointer;
}

.proclose svg {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  left: 50%;
  margin-left: -10px;
  padding: 4px;
  box-sizing: border-box;
  fill: rgb(254, 254, 254);
  background: rgba(27, 54, 93, 1);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.header-search form .screen-reader-text {
  display: none;
}

.modal-search {
  width: 100%;
  background-image: radial-gradient(ellipse at center, rgba(217, 217, 216, 1), rgba(217, 217, 216, 1));
  border-radius: 6px 6px 6px 6px;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) inset;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.modal-search form {
  width: 100%;
}

.modal-search label input {
  font-weight: normal;
  font-family: "Lato";
  color: rgba(66, 109, 169, 1);
  font-size: 15px;
  text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
  line-height: normal;
  border: 0;
  box-shadow: none;
  height: 30px;
  position: relative;
  z-index: 2;
  padding: 0 !important;
  padding-top: 2px !important;
  margin: -1px 0 0 -4px !important;
  width: 100%;
  background-color: transparent;
  border: none;
}

.modal-search label input:focus {
  outline: none;
}

.modal-search label input::placeholder {
  color: rgb(20, 104, 169);
}

.modal-search .promagnifier {
  float: left;
  order: 0;
  border-radius: 12px 0 0 12px;
  background-image: radial-gradient(ellipse at center, rgba(217, 217, 216, 1), rgba(217, 217, 216, 1));
}
.modal-search .promagnifier div.innericon svg {
  fill: rgba(66, 109, 169, 1);
}

.modal-search .proclose {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  flex-grow: 0;
  order: 7;
  -webkit-flex: 0 0 30px;
  -webkit-flex-grow: 0;
  -webkit-order: 7;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  background-image: radial-gradient(ellipse at center, rgba(217, 217, 216, 1), rgba(217, 217, 216, 1));
}

.modal-search .proclose svg {
  fill: rgb(254, 254, 254);
  background: rgba(232, 119, 34, 1);
  box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0);
}

.header-wrapper .innericon {
  display: none;
}

.ais-hits .ais-hits--item .ais-hits--content h2 a {
  font-size: 24px;
  line-height: 1.2em;
  font-family: 'Montserrat';
  font-weight: 400;
}

.ais-hits .ais-hits--item .ais-hits--content .excerpt .suggestion-post-content {
  font-size: 12px;
  font-family: 'Montserrat';
  line-height: 18px;
}

.widgettitle {
  font-family: 'Montserrat';
  font-size: 24px;
  font-weight: 400;
}

#algolia-search-box {
  position: relative;
}

#algolia-search-box .search-icon {
  position: absolute;
  left: 0px;
  top: 14px;
  fill: #21A4D7;
}

#algolia-search-box .ais-SearchBox .ais-SearchBox-form .ais-SearchBox-submit {
  display: none;
}

#algolia-search-box .ais-SearchBox .ais-SearchBox-form .ais-SearchBox-reset {
  display: none;
}

#algolia-pagination .ais-Pagination-list {
  list-style: none;
}

#algolia-pagination .ais-Pagination-list .ais-Pagination-item {
  float: left;
  margin: 0 8px;
}

#algolia-pagination .ais-Pagination-list .ais-Pagination-item a.ais-Pagination-link {
  padding: 5px 12px;
  border: 1px solid #049dd9;
  border-radius: 5px;
}

@media screen and (max-width: 1000px) {

  .widgettitle {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: 400;
  }
  #ais-wrapper {
    flex-direction: column;
  }
  #ais-wrapper #ais-facets {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
  }

  #ais-wrapper #ais-facets .ais-facets {
    width: 100%;
    margin-bottom: 3px;
  }

  #ais-facets section div .ais-root .ais-header .innericon {
    display: inline-block;
    height: 24px;
    width: 24px;
  }

  #ais-facets section div .ais-root .ais-header .innericon.expanded {
    transform: rotate(90deg);
  }

  #ais-facets section div .ais-root .ais-header .header-wrapper {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid gainsboro;
  }

  #ais-facets section div .ais-root .ais-header .header-wrapper div:nth-child(3) {
    display: none;
  }

  #ais-facets section div .ais-root .ais-header .innericon svg {
    color: #1b365d;
    height: 24px;
    width: 24px;
  }

  #ais-facets section div .ais-root .ais-body {
    display: none;
  }

  #ais-facets section div .ais-root .ais-body.expanded {
    display: flex;
    margin-top: 5px;
    margin-bottom: 10px;
  }

  #ais-facets section div .ais-root .ais-body.expanded > div {
    width: 100%;
    padding: 5px 0 5px 15px;
  }

  #ais-facets section div .ais-root .ais-body.expanded > div > div {
    padding: 3px 0;
  }
}
