.capsule {
  bottom: 10px;
  right: 30px;
  z-index: 3;
  width: 110px;
}

.visiteVirtuelle {
  bottom: 3px;
  right: 20px;
  width: 70px;
  z-index: 3;
}

.slider-main .capsule {
  right: 20px;
}

.slider-nav {
  .capsule {
    width: 40px;
    right: 10px;
  }
}

.postuler {
  .texte-postuler {
    font-size: 0.8em;

    span {
      display: block;

      &:first-of-type {
        margin-bottom: 15px;
      }
    }
  }

  .informations-nego {
    display: flex;
    margin-bottom: 25px;

    .image-nego {
      width: 140px;
      margin-right: 20px;
      text-align: center;
    }

    h4.intitule-nego {
      font-size: 0.8em;
      font-weight: bold;
      text-transform: inherit;
    }

    .fonction-nego {
      font-size: 0.8em;
    }

    .tel-nego {
      font-size: 0.9em;
    }
  }

  .form-bien-contact {
    .help-block {
      font-size: 0.7em;

      ul {
        padding-left: 0;
        margin-top: 5px;
        margin-bottom: 0;

        li {
          list-style: none;
        }
      }
    }

    .form-response {
      font-size: 0.8em;

      p {
        margin-bottom: 0;
      }
    }
  }
}

.wrapper-infos-principales-bien {
  position: relative;
  padding: 25px;
  width: 250px;
  margin: 0 auto;

  &::after {
    bottom: -14px;
  }
}

.description-bien {
  p {
    margin-bottom: 15px;
  }
}

.right-side {
  padding-left: 40px;
  border-left: 3px solid var(--bs-primary2);
  width: 350px;
}

.caracteristiques-bien {
  ul {
    border-right: 3px solid var(--bs-primary);
    padding-left: 25px;
    padding-right: 25px;
    //width: 50%;

    @media (max-width: 575px) {
      border-right: 0;
      border-bottom: 3px solid var(--bs-primary);
      width: 100%;
    }

    &:first-child {
      padding-left: 0;
    }

    &:last-child {
      border-right: 0;
    }
  }

  .telechargement-fiche-bien {
    .icone-telechargement {
      width: 20px;
      position: relative;
      top: -3px;
      left: 2px;
    }

    .icone-telechargement-hover {
      display: none;
    }

    &:hover {
      .icone-telechargement {
        display: none;
      }

      .icone-telechargement-hover {
        display: inline;
      }
    }
  }
}

.biens-programme,
.derniers-programmes {
  .wrapper-titre h2, .wrapper-titre .h2 {
    padding: 40px 0;
    background-image: url("../../images/cercle-ac1276efb20843bbd18130a1ac5405b5.svg");
    background-repeat: no-repeat;
    background-size: 90px;
    background-position: top 5px right 520px;

    @media (max-width: 1400px) {
      background-position: top 5px right 430px;
    }

    @media (max-width: 1200px) {
      background-position: top 5px right 340px;
    }

    @media (max-width: 990px) {
      background-position: top 15px right 208px;
    }

    @media (max-width: 575px) {
      background: none;
    }
  }

  .bien,
  .programme {
    @media (max-width: 575px) {
      margin-left: calc(var(--bs-gutter-x) * -0.5);
      margin-right: calc(var(--bs-gutter-x) * -0.5);
      padding-left: 0;
      padding-right: 0;
      width: 100%;
      max-width: 100%;
    }

    a {
      text-decoration: none;
    }

    .img-fluid {
      height: 14em;

      @media (min-width: 992px) {
        width: 100%;
        object-fit: cover;
      }
    }

    .capsule {
      position: absolute;
      width: 110px;
      right: 10px;
      bottom: 10px;
    }

    h2 {
      font-size: 1rem;
    }

    &:nth-of-type(1) .wrapper-img-bien::before,
    &:nth-of-type(1) .wrapper-img-programme::before {
      content: "";
      display: block;
      position: absolute;
      background-repeat: no-repeat;
      background-image: url("../../images/brush-vertical-primary-d15b3410d67d3671e17255d0870720d3.svg");
      background-size: contain;
      background-position: center left;
      width: 270px;
      height: 195px;
      top: 0;
      left: -32px;
      z-index: -2;
    }

    &:nth-of-type(1) .wrapper-img-bien::after {
      content: "";
      display: block;
      position: absolute;
      background-color: var(--bs-primary);
      width: 270px;
      height: 226px;
      top: -16px;
      left: -16px;
      z-index: -2;
    }
  }
}

.slider-main {
  .slick-slide img {
    width: 100%;
  }
}

.slider-nav .slick-slide {
  margin: 9px 4.5px;
  position: relative;
  overflow: hidden;
  height: 160px;

  > div {
    height: 100%;

    > .item {
      height: 100%;

      > .hoverImg {
        height: 100%;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: center;
        }
      }
    }
  }
}

@media (max-width: 991px) {
  .w-25, .w-75 {
    width: 100% !important;
  }
}

@media (min-width: 992px) {
  .wrap-diagnostics {
    display: flex;
  }
}

.item-map img {
  max-width: 100%;
  height: auto;
}
