/*LISTE OFFRES*/
.view-job-search {
  position: relative;
}

.listing-offres .offre {
  background-color: var(--white);
  display: grid;
  grid-template-columns: [first] 60px [content] auto;
  border-radius: 1rem 0 1rem 1rem;
  overflow: clip;
}

@media screen and (min-width: 992px) {
  .listing-offres .offre {
    grid-template-columns: [first] 70px [content] auto;
  }
}

.listing-offres .sect {
  color: var(--white);
  font-weight: 700;
}

.listing-offres .sect > div {
  white-space: nowrap;
  text-align: center;
}

.theme-orange .listing-offres .sect {
  background-color: var(--orange);
}

.theme-jaune .listing-offres .sect {
  background-color: var(--yellow);
}

.theme-belufoncee .listing-offres .sect {
  background-color: var(--bluedark);
}

.listing-offres .sect > div {
  transform: rotate(-90deg);
}

.listing-offres .offre .tags span {
  display: inline-block;
  border: 1px solid;
  border-radius: 2rem;
  padding: 0.2rem 0.4rem;
  font-size: 0.85rem
}

.listing-offres .offre .marker {
  width: 20px;
}

.listing-offres .offre .button.darkblue:hover {
  background-color: var(--greenlight);
  border-color: var(--greenlight);
}

.listing-offres .offre .button {
  margin-bottom: 0;
}
.listing-offres .offre .buttons {
  gap: .5rem
}

.listing-offres .offre h3 {
  font-weight: 500;
  margin-bottom: .6rem;
  text-transform: uppercase;
}

.listing-offres .offre .resume {
  margin-bottom: .6rem;
}

.listing-offres .offre .resume p {
  margin: 0;
}

.listing-offres .offre .infos {
  font-size: 0.85rem;
}

.listing-offres .offre .infos .marker {
  margin-right: 0.2rem
}

.listing-offres .offre .infos .buttons a.bg-darkblue {
  font-weight: 800;
}

@media screen and (min-width: 1200px) {
  .offers-search {
    transform: translateY(-50%);
    z-index: 4;
    position: relative;
  }
}

/*FILTRES*/

.search-offres--item {
  border-radius: 30px;
  padding: .4rem;
  display: flex;
  align-items: center;
  margin: .5rem;
}

@media screen and (min-width: 992px) {
  .search-offres--item {
    padding: .1rem .4rem;
  }
}

.search-offres--item.is-active {
  border-radius: 15px 0 0 0;
}

.search-offres--item .quest {
  padding-left: .4rem;
  padding-right: .2rem;
  font-size: .9rem;
  text-transform: uppercase;
}

.search-offres input, .search-offres select {
  font-size: .9rem;
  padding: .3rem .3rem;
  border: none;
  min-height: 25px;
  border-radius: 3rem;
}

.search-offres button.search-submit {
  display: inline-block;
  font-size: 1rem;
  padding: .5rem 2.5rem .5rem 1rem;
  border: none;
  height: 40px;
  width: auto;
  margin: 0;
  background-image: url(../../img/loupe.svg);
  background-repeat: no-repeat;
  background-position: 90% center;
  background-size: 20px;
  background-color: var(--greenlight);
  border-radius: 3rem;
  color: #FFFFFF;
  cursor: pointer;
}

.search-offres--button {
  margin-left: 0;
}

.show-more-button{
  max-width:300px;
  margin-left:auto !important;
  margin-right: auto !important
}
.show-more-button:hover{
  background-color: var(--grennlighthover);
  border-color: var(--greenlighthover);
}


@media screen and (min-width: 992px) {
  .search-offres button.search-submit {
    height: 40px;
    width: 40px;
    margin: 0;
    padding: 0;
    background-image: url(../../img/loupe.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    border-radius: 50%;
  }
}

.search-offres button.search-submit:hover {
  filter: brightness(100%);
  background-color: var(--greenlighthover)
}


/*FILTRES CDD CDI*/

.filtres-offres .filtrer {
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.filtres-offres .tags {
  margin: 0.5rem 0;
}

.filtres-offres .tags > span {
  border: 1px solid var(--darkblue);
  border-radius: 2rem;
  padding: 0.25rem 0.5rem;
}

.filtres-offres .total span {
  font-weight: 800;
  font-size: 1rem;
}

.filtres-offres .facets-widget-links ul:not(.contextual-links) {
  list-style: none;
  display: flex;
}

.filtres-offres .facets-widget-links ul:not(.contextual-links) li {
  margin-left: .5rem;
}

.filtres-offres .facets-widget-links ul:not(.contextual-links) li .facet-item__value {
  display: inline-block;
  border: 1px solid var(--darkblue);
  border-radius: 2rem;
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  color: var(--darkblue);
}

.filtres-offres .facets-widget-links ul:not(.contextual-links) li .facet-item__value:hover {
  background-color: var(--darkblue);
  color: #FFFFFF;
}

.filtres-offres .facets-widget-links ul:not(.contextual-links) li .is-active .facet-item__value {
  background-color: var(--greenlight);
  color: #FFFFFF;
  border-color: var(--greenlight);
}

.filtres-offres .facets-widget-links ul:not(.contextual-links) li.facets-reset .facet-item__value {
  border: 0;
}

.filtres-offres .facets-widget-links ul:not(.contextual-links) li.facets-reset .facet-item__value:hover {
  color: var(--greenlight);
  background-color: transparent;
}


.offers-search .select {
  position: relative;
  display: inline-block;
  width: 100%;
}

.offers-search .drop {
  position: relative;
  min-width: 210px;
  padding: 0;
}

.offers-search .drop-toggle {
  width: 100%;
  margin: 0;
  font-size: .9rem;
  text-align: left;
  border: inherit;
  background-color: inherit !important;
  color: var(--darkblue);
  cursor: pointer;
  position: relative;
  padding: .85rem .6rem .85rem 1rem;
  border-radius: 3rem;
}

.offers-search .drop-toggle.is-active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.offers-search .drop-toggle::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #555;
  pointer-events: none;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--darkblue); /* la couleur de l'angle */
}

.offers-search .drop-toggle.is-active::after {
  border-top: inherit;
  border-bottom: 8px solid var(--darkblue);
}

.offers-search .drop-menu {
  display: none;
  position: absolute;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: white;
  border: 1px solid #FFFFFF;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 4px 4px;
  z-index: 1;
  top: 100%;
  min-width: 210px;
}

.drop .drop-menu.show {
  display: block;
}

.drop .drop-item {
  padding: .5rem 1rem;
  cursor: pointer;
  font-size: .9rem;
}

.drop .drop-item:hover {
  background-color: var(--greenlight);
  color: #FFFFFF;
}

/*PAGINATION*/
ul.pager-show-more {
  padding: 0;
}

ul.pager-show-more li a {
  font-weight: 700;
  display: inline-block;
  color: var(--darkblue);
  padding: .5rem 1rem;
  margin: 2rem auto 2vw auto;
  border: solid 1px var(--darkblue);
  border-radius: 3rem;
}

ul.pager-show-more li a:hover {
  color: #FFFFFF;
  background-color: var(--greenlight);
  border-color: var(--greenlight);
}

.slide-offer .offre h3 {
  font-size: 1.2rem;
}

@media screen and (min-width: 992px) {
  .slide-offer .offre h3 {
    height: 2rem;
    overflow: hidden;
  }
}

#reset-search {
  border-radius: 50%;
  margin-left: 1rem;
  color: var(--greenlight);
  text-decoration: underline;
}