.no-more-results::before {
  content: "No more results to load.";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eb0028;
  font-weight: 600;
}
.lang-fr .no-more-results::before {
  content: "Aucun autre résultat"!important;
}

.search-result-filter-item a {
  display: block;
  position: relative;
  padding-right: 27px;
  color: var(--Dark-Grey, #3E484F);    
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
}
.search-result-filter-item a.active::after {
  background-image: url(../assets/checkmark.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-color: #0D4C81;
}
.search-result-filter-item a::after {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  width: 24px;
  height: 24px;
  border: solid 1.5px #0D4C81;
}
.search-result-filter-item a span {
  display: inline-block;
  margin-left: 3px;
  color: var(--Dark-Grey, #3E484F);    
}
.search-result-count {
  width: 100%;
  max-width: 682px;
  font-size: 18px;
  line-height: 32px;
  color: #333f48;
  border-bottom: solid 1px #ccd4e0;
  padding-bottom: 22px;
  margin-bottom: 38px;
}

.search-item {
  position: relative;
  border-bottom: solid 1px #ccd4e0;
  padding-bottom: 33px !important;
  margin-bottom: 35px !important;
}
.search-item a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}
.search-item-parent {
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  text-transform: uppercase;
  color: #333f48;
}
.search-item-title {
  font-weight: 700;
  font-size: 26px;
  line-height: 33px;
  color: #013a80;
  margin-bottom: 20px;
}
.search-item-excerpt {
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  color: #333f48;
  margin-bottom: 9px;
}
.search-item-date {
  font-weight: 600;
  font-size: 16px;
  line-height: 32px;
  color: #333f48;
}

.cancogen-feeds-results.loading,
.load-more-search.search-loading {
  position: relative;
  min-height: 100px;
}
.cancogen-feeds-results.loading::before,
.load-more-search.search-loading::before,
.search-results-con.search-loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-image: url(../assets/loading.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgb(245, 246, 245, 0.5);
}
.button-icon.no-found {
  display: none !important;
}
.load-more-search.no-found {
  width: 100% !important;
}
.load-more-search.no-found a {
  display: none !important;
}
.cancogen-feeds-results.no-found::before,
.load-more-search.no-found::before {
  content: "No results to load.";
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #eb0028;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.search-results-con {
  min-height: 100px;
}
/* .search-results-con.no-found {
  display: none !important;
} */

.search-applied-filter {
  overflow: hidden;  
}
.search-applied-filter h4 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #013a80;
  margin-bottom: 12px;
}
.search-applied-filter .applied-item {
  font-size: 0%;
  position: relative;
  margin-bottom: 39px;
  border-top: solid 1px #95A9B4;
  padding-top: 45px;
}
.search-applied-filter .applied-item span {
  position: relative;
  display: inline-block;
  border-radius: 22px;
  border: 2px solid var(--Dark-Blue, #0D4C81);
  padding: 5px 40px 5px 20px;  
  margin-right: 13px;
  margin-bottom: 13px;
  cursor: pointer;
  overflow: hidden;

  color: var(--Black, #231F20);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 170%;
}
.search-applied-filter .applied-item span::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url(../assets/x-icon.svg);
  background-repeat: no-repeat;
  background-position: right 21px center;
}
.applied-item span:hover {
  background-color: #EAF4F9;  
  color: #0b3f69;
}

.search-applied-filter .applied-item span[data-target="clear"] {  
  background: var(--Dark-Blue, #0D4C81);
  color: #fff;
  padding: 5px 20px;
}
.search-applied-filter .applied-item span[data-target="clear"]::after {
  display: none;
}
.search-applied-filter .applied-item span[data-target="clear"]:hover {
  background-color: #0b3f69;
  border: 2px solid #0b3f69;
  color: #fff;
}

.filter-wrap::-webkit-scrollbar {
  width: 1px;
}

.filter-wrap::-webkit-scrollbar-track {
  background-color: transparent;
  box-shadow: none;
}

.filter-wrap::-webkit-scrollbar-thumb {
  background-color: #ccc;
  box-shadow: none;
  border: none;
  outline: none;
  border: solid 1px #ccc;
}
.filter-popup {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999999999999999999999999999999999999999999;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  background-color: rgba(35, 31, 32, 0.5);
  transition: all 1s;
}
.filter-popup .filter-wrap {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 577px;
  height: 100%;
  background-color: #fff;
  overflow: hidden;
  transition: right 0.5s;
}
.filter-popup.close {
  visibility: hidden;
  opacity: 0;
}
.filter-popup.close .filter-wrap {
  right: -200%;
}
.filter-popup .filter-header {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  background-color: #fff;
  z-index: 99;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: solid 1px #ccd4e0;
  padding: 30px 35px 28px 85.5px;
  background-color: #fff;
  margin-bottom: auto;
}
.filter-header h4 {
  color: var(--Black, #231F20);    
  font-size: 21px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 0;
}
.filter-popup #search-keyword {
  width: 100% !important;
  border-radius: 28px;
  border: 1px solid rgba(149, 169, 180, 0.7);  
  background-color: rgba(255, 255, 255, 0.7);  
  background-image: url(/wp-content/uploads/2026/04/zoom-cancel.svg);
  background-repeat: no-repeat;
  background-position: right 20px top 12px;
  padding-right: 50px!important;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}
.filter-popup #search-keyword::placeholder {
  color: #95A9B4;
}
.filter-header button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: solid 1px #ccd4e0;
  padding: 0;
  width: 46px;
  height: 46px;
  margin-left: auto;
  transition: all 1s;
}
.filter-header button:hover {
  background-color: rgb(25, 57, 123);
  border-color: rgb(25, 57, 123);
}
.filter-header button:hover #Path_3930,
.filter-header button:hover #Path_3931 {
  fill: #fff;
}
.filter-footer {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  background-color: #fff;
  z-index: 99;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-top: solid 1px #ccd4e0;
  padding: 30px 92.5px 51.42px 85.5px;
  margin-top: auto;
}
.filter-footer button {
  display: flex;    
  width: 171px;
  padding: 12px 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 29px;
  background-color: var(--Dark-Blue, #0D4C81);

  color: var(--White, #FFF);  
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
}
.filter-footer button.clear-all {
  background-color: transparent;
  margin-right: 10.5px;  
  color: #333f48;  
  border: 2px solid var(--Dark-Blue, #0D4C81);
}
.filter-footer button.clear-all:hover {
  background-color: #0D4C81;
  color: #fff;
}
.filter-footer button.view {
  margin-left: 10.5px;  
}
.filter-footer button.view:hover {
  background-color: #0b3f69;
  border: 2px solid #0b3f69;
  color: #fff;
}
.filter-fields {
  padding: 144px 85px;
  overflow-y: auto;
}
.filter-fields::-webkit-scrollbar {
  width: 0px;
}
.filter-fields::-webkit-scrollbar-track {
  background-color: #ecf0f1;
  box-shadow: none;
}
.filter-fields::-webkit-scrollbar-thumb {
  background-color: #bdc3c7;
  box-shadow: none;
  border: none;
  outline: none;
  border: none;
}
.filter-fields select {
  width: 100%;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.filter-toggle {
  border-top: solid 1px #CFDCE4;
  padding: 31px 0 32px;
}
.filter-toggle-header {
  position: relative;
  padding-right: 40px;
  cursor: pointer;
}
.filter-toggle .filter-toggle-header::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background-image: url(../assets/chevron-right.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: rotate(90deg);
  transition: all 1s;
}
.filter-toggle.active .filter-toggle-header::after {
  transform: rotate(-90deg);
}
.filter-toggle-header span {
  display: block;
}
.filter-toggle-header .selected {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: #333f48;
  margin-top: -3px;
}
.filter-toggle-header .title {
  color: var(--Text, #2A2E36);  
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  margin-bottom: 5px;
}
.filter-toggle.active .title {
  text-decoration: none;
}
.filter-toggle .filter-field {
  display: none;
  margin-top: 20px;
}

@media only screen and (max-width: 767px) {
  .filter-popup .filter-header {
    padding: 30px 20px 28px;
  }
  .filter-fields {
    padding: 188px 20px;
  }
  .filter-footer {
    padding: 30px 20px 50px;
  }
}
