/* ------------------------------------ *\
  CONTENTS
\* ------------------------------------ */

/**
 * CONTENTS..............You’re reading it!
 * BLOC RECHERCHE HEADER .............
 * BLOC RECHERCHE CONTENT............
 * BLOC FACET............
*/

/* ------------------------------------ *\
  ==BLOC RECHERCHE HEADER
\* ------------------------------------ */
.region-nav-branding .block-views-exposed-filter-blockrecherche-block-1 {
  display: none;
}

.block-views-exposed-filter-blockrecherche-block-1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
  position: relative;
}

.block-views-exposed-filter-blockrecherche-block-1 form label {
  display: none;
}

.block-views-exposed-filter-blockrecherche-block-1 form {
  margin-left: 100%;
  opacity: 0;
  width: 100%;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.block-views-exposed-filter-blockrecherche-block-1 .form--inline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
      flex-direction: row;
  position: relative;
  width: 100%;
  margin-left: -8rem;
}

.block-views-exposed-filter-blockrecherche-block-1
  .form--inline
  .form-text.form-control {
  padding-right: 3rem;
}

.block-views-exposed-filter-blockrecherche-block-1 form.search--expanded {
  margin-left: 0;
  width: 100%;
  opacity: 1;
}

.block-views-exposed-filter-blockrecherche-block-1 form .form-actions {
  right: 0;
  position: absolute;
}

.block-views-exposed-filter-blockrecherche-block-1 form .form-control {
  color: #888;
  font-family: Bitter, serif;
  font-weight: 100;
  font-style: normal;
  width: 100%;
  height: 6.25rem;
  font-size: 2.5rem;
  line-height: 2.187rem;
  text-align: center;
  outline: none;
  border: none;
  background-image: url('../images/barrerecherche.svg');
  background-repeat: no-repeat;
  background-position: bottom;
}

.form-control::-webkit-input-placeholder {
  color: unset;
}

.form-control::-moz-placeholder {
  color: unset;
}

.form-control:-ms-input-placeholder {
  color: unset;
}

.form-control::-ms-input-placeholder {
  color: unset;
}

.form-control::placeholder {
  color: unset;
}

.block-views-exposed-filter-blockrecherche-block-1 .form--inline .form-item {
  float: unset;
  margin: 0;
  width: 100%;
}

.block-views-exposed-filter-blockrecherche-block-1 .search__trigger {
  position: absolute;
  left: 90%;
  top: 2rem;
  height: 2.5rem;
  width: 2.5rem;
  background: unset;
  border: 0;
  font-size: 1.7rem;
}

.block-views-exposed-filter-blockrecherche-block-1 .search__button {
  border: none;
  background-color: var(--bs-white);
  width: 3rem;
  height: 6.25rem;
  font-size: 2.5rem;
  line-height: 2.187rem;
  text-align: center;
}

.form-control:focus {
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  border-color: inherit;
}

.block-views-exposed-filter-blockrecherche-block-1 .button:first-child:active,
.block-views-exposed-filter-blockrecherche-block-1 .search__button:active,
.block-views-exposed-filter-blockrecherche-block-1 .search__button:focus,
.block-views-exposed-filter-blockrecherche-block-1 .search__button:hover {
  opacity: 0.8;
}

.block-views-exposed-filter-blockrecherche-block-1
  .search__trigger.search--expanded
  i:before {
  content: '\58';
}

/* ------------------------------------ *\
  ==BLOC RECHERCHE CONTENT
\* ------------------------------------ */
.block-views-exposed-filter-blockrecherche-block-1 .search__button i {
  color: var(--bs-black);
}

.region-content .block-views-exposed-filter-blockrecherche-block-1 form {
  opacity: 1;
  margin-left: 0;
}

.region-content .block-views-exposed-filter-blockrecherche-block-1 {
  margin: 0 3rem;
}

.region-content
  .block-views-exposed-filter-blockrecherche-block-1
  .form--inline {
  margin: 0;
}

.region-content
  .block-views-exposed-filter-blockrecherche-block-1
  form
  .form-actions {
  right: 2rem;
  position: relative;
}

.region-content .search__trigger {
  opacity: 0;
}

.layout__region--first .view-recherche .view-content .views-row.contain-2 {
  margin: 0 auto 2.5rem;
}

/* ------------------------------------ *\
  ==BLOC FACET
\* ------------------------------------ */
.block-facets h2 {
  font-family: Bitter, serif;
  font-size: 0.75rem;
  color: #000;
  text-transform: uppercase;
  margin: 0;
  line-height: unset;
}

.facets-widget-checkbox ul {
  margin: 0;
  padding: 0;
}

.facets-widget-checkbox li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.block-facet-blocktype ul {
  list-style: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.block-facet-blocktype li {
  width: 7rem;
}

.block-facet-blocktype li::before {
  content: '';
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.2rem;
  background-image: url('/system/files/media-image/picto-article.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.block-facet-blocktype li:nth-child(2)::before {
  background-image: url('/system/files/media-image/picto-podcast.svg');
}

.block-facet-blocktype li:nth-child(3)::before {
  background-image: url('/system/files/media-image/picto-video.svg');
}

.block-facet-blocktype a {
  text-decoration: none;
}

.block-facet-blocktype {
  position: relative;
  left: 27%;
}

.facet-item__value {
  font-family: Bitter, serif;
  font-size: 0.825rem;
  margin-left: 0.2rem;
}

.facet-item__value:hover {
  color: #888;
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
}

.paragraph--view-mode--default.paragraph--section--5374 {
  max-width: 590px;
  margin: auto;
}

.paragraph--section--5460.section--no-gut > .layout > .layout__region {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  width: 44%;
  margin-left: auto;
  margin-right: auto;
}

.paragraph--section--5460.section-flex-0
  > .layout
  > .layout__region
  > .paragraph.paragraph--type--block-ref {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.paragraph--section--5460.section-flex-0
  > .layout
  > .layout__region
  > .paragraph.paragraph--type--block-ref:last-of-type {
  margin-left: auto;
}

@media (max-width: 800px) {
  .region-nav-branding .block-views-exposed-filter-blockrecherche-block-1 {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
  }

  .region-nav-branding
    .block-views-exposed-filter-blockrecherche-block-1
    .search__trigger {
    left: unset;
    top: 0.4rem;
    right: 4rem;
  }

  .block-facets {
    left: 0;
    padding: 0.5rem;
  }

  .block-facet-blockthematique {
    position: relative;
    left: -0.3rem;
  }

  .region-content .block-views-exposed-filter-blockrecherche-block-1 {
    margin: 0.2rem;
  }

  .block-views-exposed-filter-blockrecherche-block-1 form .form-control {
    font-size: 1.2rem;
    height: 3rem;
  }

  .block-views-exposed-filter-blockrecherche-block-1 .search__button {
    font-size: 1.2rem;
    height: 3rem;
  }

  .paragraph--section--5460.section--no-gut > .layout > .layout__region {
    width: unset;
  }

  .view-recherche .view-content {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .block-facet-blocktype ul {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
