.sticky-bar {
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 0.9em;
  margin: 0;
  position: sticky;
  top: 64px;
  background: #f9f9f9;
  z-index: 1;
  margin-bottom: 14px;
  font-family: "Neue Montreal Medium", sans-serif;
}
.sticky-bar a {
  font-family: "Neue Montreal Bold", sans-serif;
  font-size: 0.9rem !important;
}
.sticky-bar.options {
  max-width: 100vw !important;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: content-box;
  white-space: nowrap !important;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.sticky-bar.options::-webkit-scrollbar {
  display: none; // Safari and Chrome
}

.sticky-bar.options a {
  font-size: 0.8em !important;
  font-family: "Neue Montreal", sans-serif;
  padding: 15px 0 13px;
  font-family: "Neue Montreal Medium", sans-serif;
  color: #666;
  text-decoration: none;
  align-items: center;
  display: flex;
  border-bottom: 2px solid #f9f9f9;
  margin-right: 25px;
}
.sticky-bar.options a.selected {
  color: #000;
  border-color: #000;
}

ul.results.text {
  grid-template-columns: repeat(auto-fill, minmax(162px, 1fr));
  grid-row-gap: 14px;
  margin: 0;
  margin-bottom: 50px;
}
ul.results.text li:last-of-type {
  border: none;
}
ul.results.text li {
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 14px;
}
ul.results.text li a {
  font-family: "Neue Montreal Medium", sans-serif;
}
ul.results.text.country li {
  display: flex;
}
ul.results.text.country span {
  display: flex;
  font-family: "Neue Montreal Medium", sans-serif;
  font-size: 1rem;
}
ul.results.text.country li img {
  height: 13px;
  width: auto;
  border-radius: 0;
  float: left;
  margin-top: 8px;
  margin-right: 8px;
}
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 48px;
  padding: 8px 0;
  /* border-bottom: 1px solid #e4e4e4; */

  position: sticky;
  top: 0;

  z-index: 9;
}
.top-bar::before {
  content: "" !important;
  position: absolute !important;
  inset: 0px !important;
  opacity: 1 !important;
  box-shadow: rgb(0 0 0 / 8%) 0px 1px 0px !important;
  background: #fff;
}
.top-bar .main {
  display: flex;
  align-items: center;
}
.top-bar main {
  width: 100%;
  max-width: none;
  z-index: 1;
}
.top-bar button,
.grid-heading button {
  background: #fff;
  border: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  outline: none;
}
.top-bar .side button {
  font-size: 0;
  padding: 16px;
  color: rgba(34, 34, 34, 0.8);
  margin-left: 5px;
  background-size: 18px !important;
}
.top-bar .modal-filter {
  padding-right: 40px;
  background: url(/inc/img/icons/filter.svg) center right 5px;
  background-size: 16px;
  background-repeat: no-repeat;
}
.top-bar button.modal-filter:after {
  content: "1";
  position: relative;
  background: #000;
  color: #fff;
  font-size: 8px;
  border-radius: 20px;
  width: 12px;
  height: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Neue Montreal Bold", sans-serif;
  margin-top: -18px;
  right: -19px;
}
.top-bar .modal-sort {
  /* box-shadow: inset 0px 0px 0px 1px #000;
  border: 1px solid #000; */
  margin: 0;
  padding-right: 30px;
  background: url(/inc/img/icons/sort.svg) center right 15px;
  background-repeat: no-repeat;
  background-size: 9px;
}

.flex-wrap {
  display: flex;
  justify-content: space-between;
}
.top-bar h2 {
  position: relative;
}
.top-bar h2 img,
.grid-heading h2 img {
  height: 20px;
  width: 20px;
  margin-right: 10px;
  padding: 0px;
  position: relative;
  border-right: 1px solid #eee;
  padding-right: 10px;

  border-radius: 0px;
}
.top-bar h2 img.country,
.grid-heading h2 img.country {
  box-shadow: none;
  padding: 0;
  width: 20px;
  border-radius: 0;
  border-right: 1px solid #eee;
  padding-right: 10px;
}
button.modal-info h2 {
  /* text-decoration: underline; */
  box-shadow: 0 1px 2px rgb(0 0 0 / 40%);
  border-radius: 6px;
  padding: 8px 13px;
  position: relative;
}

body .grid-heading h2 {
  /* text-decoration: underline; */
  box-shadow: 0 1px 2px rgb(0 0 0 / 40%);
  border-radius: 6px;
  padding: 8px 13px;
  font-size: 1em;
  display: flex;
  /* justify-content: center; */
  align-items: center;
}

.sticky-bar.grid-heading .button {
  display: inline-block;
  padding: 0 !important;
  margin: 0 !important;
  top: 0 !important;
  display: flex;
  width: auto;
}
.sticky-bar.grid-heading .button h2 {
  margin: 0;
}
.sticky-bar.grid-heading .button a {
  text-decoration: none !important;

  margin-right: 5px;
}
.top-bar h2 {
  font-size: 1em;
  margin: 0;
  display: inline-flex;
  display: flex;
  align-items: center;
  text-align: left;
}

ul.results li {
  font-weight: 100;
  font-size: 16px;
}
ul.results li img {
  width: 100%;
  margin-bottom: 5px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 40%);
}
ul.results li a {
  color: #000;
  font-family: "Neue Montreal Bold", sans-serif;
  text-decoration: none;
}

ul.results span {
  font-weight: 100;
  font-size: 14px;
  display: block;
  margin-top: 5px;
  font-family: "Neue Montreal", sans-serif;
}
ul.results {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 15px;
  grid-row-gap: 30px;
  list-style-type: none;
  padding: 0;
  position: relative;
  margin-top: 0;
}
.dropdown {
  display: inline-block;
}
.dropdown .dropdown-toggle {
  font-size: 0;
}
.top-bar .dropdown-toggle:after {
  content: "";
  height: 30px;
  width: 30px;
  display: inline-block;
  position: absolute;
  top: 4px;
  background: url(/inc/img/icons/sort.svg) center right 15px;
  background-repeat: no-repeat;
  background-size: 11px !important;
  right: 0;
  border-right: 1px solid #eee;
}
.top-bar .side .dropdown.open .dropdown-toggle:after {
  transform: scaleY(-1);
}
.top-bar .side button {
  margin-left: -7px;
}
button.modal-filter {
  top: 4px !important;
  position: relative;
}
@media (min-width: 400px) {
  .sticky-bar {
    top: 63px;
  }

  ul.results.text li {
    border: none;
  }

  ul.results {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 800px) {
  button.modal-filter {
    top: 0px !important;
    position: relative;
  }
  .top-bar .dropdown-toggle:after {
    border-right: none;
    background-size: 9px !important;
  }
  .top-bar .side button,
  .top-bar .side .dropdown-toggle {
    font-size: 0.9em;
    border: 1px solid rgb(221, 221, 221);
    padding: 10px 20px;
    color: rgba(34, 34, 34, 0.8);
    border-radius: 20px;
    margin-left: 5px;
    padding-right: 30px;
    font-family: "Neue Montreal Medium", sans-serif;
    display: inline-grid;
  }
  .top-bar .side button:hover,
  .top-bar .side button:active,
  .top-bar .side button:focus,
  .top-bar .side .dropdown-toggle:hover,
  .top-bar .side .dropdown-toggle:active,
  .top-bar .side .dropdown-toggle:focus {
    border-color: rgb(34, 34, 34);
  }
  .top-bar .side button:focus,
  .top-bar .side .dropdown.open .dropdown-toggle {
    background-color: rgb(247, 247, 247);
    cursor: default;
    box-shadow: inset 0px 0px 0px 1px rgb(34, 34, 34) !important;
    border-color: rgb(34, 34, 34);
  }
  .top-bar button.modal-filter {
    padding-right: 40px;
    background: url(/inc/img/icons/filter.svg) center right 15px;
    background-size: 16px !important;
    background-repeat: no-repeat;
  }

  .top-bar .dropdown-toggle {
    /* box-shadow: inset 0px 0px 0px 1px #000;
    border: 1px solid #000; */
    margin: 0;

    display: inline-block;
  }

  .top-bar button.modal-filter:after {
    margin-top: -28px;
    right: -60px;
    border: 2px solid #fff;
  }
  ul.results {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (min-width: 1600px) {
  ul.results {
    grid-template-columns: repeat(auto-fill, minmax(18%, 1fr));
  }
}

@media (min-width: 1112px) {
  ul.results {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  header nav,
  main section,
  footer section {
    max-width: none;
  }
}

@media (min-width: 1600px) {
  ul.results {
    grid-template-columns: repeat(auto-fill, minmax(18%, 1fr));
  }
}
