#event-page-container {
  background-color: #fff;
  max-width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
}

#event-search .background--lightgrey {
  background-color: #E2E2E2;
}

#event-search .background--lightgrey .search-lists {
  list-style: none;
  /* display: flex; */
}

/* ////// */
.search-lists li {
  height: 40px;
  padding: 0 12px 0 12px;
}

#event-search .background--grey {
  height: 40px;
  background-color: #D4D4D4;
}

#event-search .search-lists li a {
  color: #515356;
}

.search-lists .active {
  border-bottom: 7px solid #0698DF;
}
/* ////// */

#event-search .search-lists li {
  height: 40px;
  padding: 0 12px 0 12px;
}

#event-search .background--grey {
  height: 40px;
  background-color: #D4D4D4;
}

#event-search .filters-list .active {
  background-color: #009cde;
  color: #FFFFFF;
}

#event-page-green-header {
  min-height: 150px;
}

#event-page-grey-header {
  padding-top: 30px;
  width: 100%;
}

#event-page-container .content .text-formatted ul li::before {
  display: none;
}

#event-page-container a:focus, #event-page-container a:hover  {
  color: #009cde;
}

.event-page-wrapper {
  padding: 30px 30px;
}


#searchbox {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 10px;
}

#searchbox .ais-SearchBox-input {
  border-radius: 0;
  border: 2px solid #0698DF;
  font-size: 1.2rem;
  margin-top: -5px;
}

#event-page-container .event-description mark {
  padding: 0;
}

/* -- ais-Hits-item customized - Event box styling -- */
#event-box-wrapper .event-description {
  padding: 15px 10px 5px 20px;
}

#event-box-wrapper .event-description .office_location {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#event-box-wrapper .event-picture img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

#hits-events .ais-Hits-item {
  padding: 0;
  background-color: #EEEEEE;
  border: 0;
  box-shadow:none;
}

#event-box-wrapper  .job_title {
  font-size: 1.225rem;
}

.ais-Hits-list, .ais-InfiniteHits-list, .ais-InfiniteResults-list, .ais-Results-list {
  margin-left: -2rem;
}

.ais-Hits-item, .ais-InfiniteHits-item, .ais-InfiniteResults-item, .ais-Results-item{
  margin-top: 2rem;
  margin-left: 2rem;
  width: calc(25% - 2rem);
}
/* -- ais-Hits-item customized - event box styling -- */

#event-search-wrapper {
  width: 100%;
  background-color: #E2E2E2;
}

#filters-wrapper  {
  width: 100%;
  background-color: #D4D4D4;
}

#filters-wrapper-result  {
  width: 100%;
  background-color: #F1F1F1;
}

#filters-wrapper .filters-list {
  display: flex;
}

/* ////// */


#filters-wrapper .filters-list .filter_wrapper {
  display: flex;
  white-space: nowrap;
  overflow-x: auto;
}

/* ////// */

#filters-wrapper .filter-header {
  font-size: 90%;
  margin-top: 2px;
  padding: 10px 20px 10px 0;
}

#filters-wrapper .filter-header, #filters-wrapper .filter-title {
  margin-right: 3px;
  font-weight: 400;
}

#filters-wrapper .filter-title {
  padding: 10px 20px 10px 20px;
  background-color: #C7C7C7;
  cursor: pointer;
}

#filters-wrapper .dropdown-toggle:empty::after {
  margin-left: 10px;
}

#filters-wrapper .filter-widgets {
  padding: 10px;
}

.scroll-btn {
  display: none;
}

.ais-RefinementList-labelText {
  padding: 5px;
}

.ais-RefinementList-count {
  padding: 0;
  font-size: 1.1rem;
  font-weight: 400 !important;
  color: #1096E1;
  background-color: unset;
  border-radius: unset;
  margin-left: 3px;
}

.filters-list-result .filter-widgets {
  padding: 20px 0 20px 0;
}

.ais-RefinementList-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(calc(3*10), 1fr);
  grid-auto-flow: column;
  grid-gap: 0px;
  max-height: calc(11 * 40px);
}

.ais-RefinementList-list li {
  flex: 1 0 20%;
  margin: 10px;
}

.ais-RefinementList-label {
  margin-left: 20px;
  text-indent: -20px;
}

#pagination {
  font-size: 1.1rem;
}

.previous-page {
  background: url(../images/arrow-left-fill.svg) no-repeat center;
  padding: 10px;
  border: none;
}

.next-page {
  background: url(../images/arrow-right-fill.svg) no-repeat center;
  padding: 10px;
  border: none;
}

#pagination .pages {
  padding-left: 25px;
  vertical-align: -moz-middle-with-baseline;
}

#pagination .previous-page[disabled] {
  opacity: 0.4;
}

.ais-Hits-list {
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

@media screen and (max-width: 1200px) {
  .ais-Hits-item {
    width: 255px;
  }
  .ais-RefinementList-list {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(calc(4*10), 1fr);
    max-height: calc(10 * 40px);
  }
}

@media screen and (max-width: 1000px) {
  .ais-RefinementList-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(calc(6*10), 1fr);
    max-height: calc(11 * 40px);
  }
}

@media screen and (max-width: 768px) {
  #filters-wrapper .filters-list {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 575px) {
  .ais-RefinementList-list {
    display: inherit;
    max-height: calc(9 * 40px);
  }

  .ais-Hits-item {
    width: 100%;
  }

  #event-box-wrapper {
    display: flex;
    flex-wrap: wrap;
  }

  #event-box-wrapper .event-picture {
    width: 60%;
    flex: 1;
  }

  #event-box-wrapper .event-description {
    width: 40%;
    flex: 1;
  }

  #event-box-wrapper .event-picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 150px;
  }

  #event-box-wrapper .title {
    font-size: 1.4rem;
  }
}








/* ////// */

.btn-group {
  display: flex;
  align-items: center;
  z-index: 3;
}

.btn_reset {
  background-color: #009cde;
  color: #fff;
  padding: 5px 25px;
}

@media screen and (max-width: 528px) {
  .header-scroller {
    display: inline-block;
    position: absolute;
    font-size: 26px;
    right: 10px;
    transform: translateY(-50%);
    top: 46%;
  }

  .search-title .search-lists {
    white-space: nowrap;
    overflow-x: auto;
  }

  .search-title {
    padding-right: 25px;
  }
}

@media screen and (max-width: 700px) {
  .scroll-btn a,
  .scroll-btn a:hover,
  .scroll-btn a:focus {
    display: block;
    color: #515356;
    text-decoration: none;
  }

  #filters-wrapper .filters-list .filter_wrapper {
    white-space: nowrap;
    overflow-x: auto;
  }

  #filters-wrapper .filters-list {
    padding-right: 40px;
  }
}

#country_header, #language_header {
  margin-bottom: 5px;
  border: 1px solid #C7C7C7;
  cursor: pointer;
}
.country_lang_wrapper {
  display: flex;
}
.country_lang_wrapper #country-title {
  padding: 7px 10px 7px 39px;
}
.country_lang_wrapper #language-title {
  padding: 7px 12px 7px 39px;
}
.country_lang_wrapper .cl_filter-title .dropdown-toggle {
  margin-left: 10px;
}
.country-map-pointer-icon {
  background-image: url(../images/countries-map-pointer-icon.png);
  background-size: 15px 20px;
}
.languages-icon {
  background-image: url(../images/languages-icon.png);
  background-size: 20px 20px;
}
.country_lang_wrapper .search-filter-icons {
  height: 20px;
  width: 20px;
  margin: 10px;
  position: absolute;
  display: block;
  background-repeat: no-repeat;
}
#country_lang_result_wrapper {
  position: relative;
}
.cl-filter-widgets {
  display: none;
  z-index: 4;
  position: absolute;
  width: 100%;
  background-color: rgb(241, 241, 241);
  border: 1px solid #C7C7C7;
  box-shadow: 0px 10px 15px -3px #C7C7C7;
  margin-top: -6px;
  border-top: none;
}

.country_lang_wrapper .bordered {
  border-bottom: 1px solid #C7C7C7;
}

.cl-filter-widgets .ais-RefinementList {
  padding: 20px;
}

@media screen and (max-width: 500px) {
  .cl-filter-widgets .ais-RefinementList-item {
    width: 100%;
  }
}

#country_lang_result_wrapper .ais-RefinementList .col-count {
  display: grid;
}
#country_lang_result_wrapper .ais-RefinementList-list {
  max-height: calc(6 * 40px);
}

#country_lang_result_wrapper .ais-RefinementList-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(calc(3*10), 1fr);
  grid-auto-flow: column;
  grid-gap: 0px;
  overflow-y: auto;
}
#country_lang_result_wrapper .ais-RefinementList-list li {
  margin-bottom: 10px;
}

.search-header {
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 525px) {
  .search-header h3 {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* Change this value to the desired number of lines */
    -webkit-box-orient: vertical;
  }
}

.filters-list {
  justify-content: space-between;
}

.ais-Pagination-link {
  border-radius: 0;
}

.ais-Pagination-item--nextPage {
  margin-left: 0 !important;
}

.pagination_total_results {
  padding-right: 10px;
}

.pagination_page {
  padding-left: 10px;
}
