.filtre-exposed-style form {
  /*width: 65%;*/
  margin: auto;
  margin-top: 3.5em;
}

.filtre-exposed-style .row {
  flex-direction: row;
  gap: 0.5em;
}

.filtre-exposed-style fieldset {
  width: unset;
  border-radius: 5px;
  background: white;
  border: 1px solid #B8C7E9;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  position: relative;
  padding: 0.5em 0.5em;
}

.filtre-exposed-style .view-header{
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 30px;
  color: #4B4881;
  padding-bottom: 1rem;
}

.filtre-exposed-style .view-filters form > div {
  gap: 0.5em;
}

/* added by js */
.fieldset-active {
  background: #B30073 !important;
}
/* apply only if fieldset-active exits :added by js */
.fieldset-active .fieldset-legend {
  color: #FFFFFF;
}
.fieldset-active .catalogue-chevron {
  color: #FFFFFF;
}

.fieldset-wrapper.active {
  display: block !important;
}

.catalogue-chevron {
  padding-left: 0.5em;
}

.filtre-exposed-style legend {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: #4B4881;
  text-align: center;

  margin-bottom: 0;
  padding: 0.5em 0.7em;
}

.filtre-exposed-style .counter {
  background: #4FDCB9;
  border-radius: 5px;
  display: none;

  width: 18px;
  height: 18px;
  margin-left: 0.5em;

  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-size: 10px;
  color: #4B4881;
}

/* to see later and design */
.filtre-exposed-style .fieldset-wrapper {
  display: none;

  position: absolute;
  top: 130%;
  left: 0;
  min-width: 360px;
  height: auto;
  background: #FFFFFF;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 1em;
  z-index: 1;

  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  color: #3B2D4C;
}

.fieldset-wrapper .form-check {
  padding-left: 0;
}

.form-check-label {
  margin-right: 1rem;
  overflow: hidden;
}

.filtre-exposed-style .view-filters {
  position: relative;
  z-index: 9;
}

.filtre-exposed-style .form-check-input:checked {
  background-color: #4FDCB9;
  background-image: url('../../images/icons/check-alternative.svg');
  background-size: 70%;
  border-radius: 4px;
  border: 0;
}

.filtre-exposed-style .form-check .form-check-input {
  float: right;
}

.catalogue-validate {
  background: #B30073;
  border-radius: 60px;
  width: 30%;
  padding: 0.6em 4em;
  margin-bottom: 0.25em;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  color: #F2F9F7;
  mix-blend-mode: normal;
}

.filtre-exposed-style .toggle-filter {
  border: 1px solid #B8C7E9;
  min-width: 50px;
  height: 50px;
  border-radius: 50%;

  background-color: #FFFFFF;
  background-image: url("../../images/icons/frame.svg");
  background-repeat: no-repeat;
  background-position : center;
}

.filtre-exposed-style .toggle-filter-container {
  display: flex;
  align-items: center;
  justify-content: end;
  width: unset;
  margin-bottom: 1em
}

.filtre-exposed-style .filter-toggle-label {
  width: unset;
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: #4B4881;

  display: inline-flex;
  align-items: center;
  padding-left: 0;
  margin-left: 0.5em;
}

.custom-submit-container {
  width: unset !important;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1em;

  padding: 0;
  margin-left: auto;
}

.custom-submit-container > button {
  background: #B30073;
  border-radius: 60px;
  width: 30%;
  padding: 0.6em 4em;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  color: #F2F9F7;
  mix-blend-mode: normal;
  border-color: #B30073;
}

.reset-icon {
  margin-right: 0.5em;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.clear-filters-button {
  width: unset;
  border: unset;
  background: unset;
  display: inline-flex;
  align-items: center;

  margin-left: 1em;
}

.reset-label {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: #4B4881;
}

.toggle-filter-container.mobile  {
  display: none;
}

/**
 * Mediaqueries
 */

@media screen and (max-width: 972px) {
  /* initial filter to display filters modal */
  .toggle-filter-container:not(.mobile) {
    justify-content: space-between !important;
  }
  /* filter inside filter modal for mobile mode*/
  .toggle-filter-container.mobile {
    display: flex;
  }

  .filtre-exposed-style .view-filters form > div {
    border-radius: 20px 20px 0px 0px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin-bottom: 2em;
  }

  .title-container-mobile {
    background: #B30073;
    border-radius: 1em 1em 0em 0em;
    padding: 1em;
    color: #FFFFFF;

    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  .label-title-mobile {
    margin: 0 auto;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
  }

  .close-title-mobile {
    background-image: url('../../images/icons/cross.svg');
    width: 26px;
    height: 26px;
    cursor: pointer;
  }

  .filtre-exposed-style .view-header {
    padding: 0rem 0.4rem;
    margin-bottom: 1rem;
  }

  .filtre-exposed-style form {
    width: 96%;
    margin: auto;
    margin-top: 1em;

    display: none;
  }

  .filtre-exposed-style fieldset {
    width: 85%;
    margin: auto;
  }

  .filtre-exposed-style fieldset:first-of-type {
    margin-top: 3em;
  }

  .filtre-exposed-style legend {
    display: flex;
    align-items: center;
  }

  .custom-submit-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 85% !important;

    border-top: 1px solid #B8C7E9;
    margin: auto;
    padding-top: 1em;
    padding-right: 0;
    padding-left: 0;
  }

  .catalogue-chevron {
    margin-left: auto;
  }

  .filtre-exposed-style .fieldset-wrapper {
    top: 0;
    z-index: 8;
    min-width: 100%;
  }

  .filtre-exposed-style .toggle-filter-container {
    justify-content: end;
    width: 85%;
    margin: auto;
    margin-bottom: 1em;
  }

  .toggle-filter-container.mobile {
    justify-content: center;
  }

  /* add vertical scroll to all items beyond 3 itmes */
  .filtre-exposed-style .view-content {
    max-height: 1458px;
    overflow: hidden;
    overflow-y: scroll;
  }
}

/* when the cards are displayed as a column */
@media screen and (max-width: 972px) {

}

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

}

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

}
