.container {
  max-width: var(--site-content-width,1200px);
}
.filters-title {
font-weight: bold;
font-size: 18px;
}

/*carousel lots arrows hide*/
.carousel-control-prev,
.carousel-control-next{
  display: none;
}

.cards-ventes-wrapper {
  display: grid;
  margin-top: 20px;
  grid-column: 3;
  grid-gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
}
.cards-ventes-wrapper.cards-vente-lot{
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column: 4;
}
.card-vente {
width: 100%;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
overflow: hidden;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-vente-lot{
width: 100%;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
overflow: hidden;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-vente-img-top {
width: 100%;
height: auto;
}

.card-vente-body {
  padding: 15px;
  border-radius: 15px;
  overflow: hidden;
  margin-top: -15px;
  position: relative;
  z-index: 2;
  background-color: white;
}

.pagination button{
margin: 2px;
}
.pagination button.active{
background: green;
color: white;
}
.btn-container {
display: flex;
justify-content: center;
margin-top: 20px;
}

.btn-big {
max-width: 430px;
padding: 20px 40px;
font-size: 24px;
}

/*Joseph CSS*/
.ventes-a-venir-home .card-title {
  font-size: 22px;
  color: black;
}

.ventes-a-venir-home {
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
}

.ventes-a-venir-home .card-text {
  color: black;
  font-family: "Roman-SD";
}
.ventes-a-venir-home .card-image {
  position: relative;
  width: 100%;
  padding-bottom: 80%;
  overflow: hidden;
}

.ventes-a-venir-home .card-image .card-img-top {
  position: absolute;
  left: 0;
  min-height: 100%;
  width: auto;
  max-width: initial;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
}

.ventes-a-venir-home .card {
  border-radius: 2rem !important;
  overflow: hidden;
  box-shadow: 20px 20px 0 2px #E9E3E3;
  max-width: 420px;
}
#divWpVue .form-row {
  max-width: 600px;
  margin: auto;
  align-items: center;
}

#divWpVue .form-row .form-group {
  padding: 10px 20px;
}
.card-vente-text {
  font-family: var(--font-h1);
}
.cards-ventes-wrapper .card-vente {
  border-radius: 1rem;
  position: relative;
  padding-bottom: 60px;
}
.cards-ventes-wrapper .card-vente > .flex-column {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
}
.cards-ventes-wrapper .card-vente > a {
  display: block;
  position: relative;
  width: 100%;
  padding-bottom: 80%;
  overflow:hidden;
}

.cards-ventes-wrapper .card-vente .card-vente-img-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  min-height: 100%;
  width: auto;
  max-width: initial;
  height: 100%;
}
.filter-form select, .filter-form input {
  height: 50px !important;
  min-height: 0px;
  font-size: 21px;
}
.carousel-img-container {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}

.carousel-img-container img {
  position: absolute;
  min-height: 100%;
  /* min-width: 100%; */
  width: 100% !important;
  /* height: 100%; */
  top: 50%;
  max-width: inherit;
  transform: translateY(-50%);
  transition: all 0.25s;
}
.carousel-img-container:hover img {
  transform: translateY(-50%) scale(1.07);
}
.card-vente-lot .card-vente-title {
  font-size: 22px;
}
.btn-lot {
  border: 1px solid #dddddd;
  border-radius: 10px;
  padding: 4px 15px;
  background-color: white;
  font-size: 18px;
}
.ventes-main-img {
  position: relative;
  width: 100%;
  padding-bottom: 130%;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 30px 20px 0 2px #E9E3E3;
}

.ventes-main-img .card-vente-img-top {
  position: absolute;
  top: 0;
  min-width: 100%;
  width: auto;
  height: 100%;
  max-width: inherit;
  left: 50%;
  transform: translateX(-50%);
}
.ventes-main-row {
  margin-bottom: 11rem;
}
.ventes-main-row .card-text {
  font-size: 32px;
  text-transform: uppercase;
}
p.card-vente-text {
  font-size: 17px;
}
.ventes-main-row h3.card-title {
  margin-left: -20px;
}
.lots-details-gallery .content {
  padding-bottom: 80%;
  border-radius: 1rem;
  border: 1px solid #7e7e7e;
  overflow: hidden;
}

.lots-details-gallery .content img {
  position: absolute;
  width: auto !important;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.lots-details-gallery .thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}
/* .lots-details-gallery .thumb img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto !important;
  max-width: inherit;
} */
.lots-details-title span {
  font-size: 200%;
}
.btn-primary {
  background-color: #CC6956;
  border-color: #CC6956;
  padding: 10px 35px;
  display: flex;
  align-items: center;
}
.rounded-100 {
  border-radius: 50px;
}
.btn-primary:hover {
  background-color: var(--color-content-secondary);
  color: white !important;
  border-color: var(--color-content-secondary);
}
.btn-outline {
  border: 1px solid #898989;
  color: black;
  padding: 10px 35px;
}
.btn-outline:hover {
  background-color: black;
  color: white !important;
}
.lots-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: .25rem;
  justify-content: space-between;
  gap: 30px;
  text-transform: uppercase;
  margin: 2rem 0;
}
a.lots-pagination-button {
  cursor: pointer;
}

a.lots-pagination-button:hover {
  color: var(--color-content-secondary) !important;
}
.lots-ventes-a-resultats .pagination, .lots-ventes-a-venir .pagination {
  justify-content: center;
}

.lots-ventes-a-resultats .pagination button, .lots-ventes-a-venir .pagination button {
  width: 40px;
}

.lots-ventes-a-resultats .pagination button.active, .lots-ventes-a-venir .pagination button.active {
  background-color: var(--color-content-primary);
}
@media(max-width: 650px) {
  .cards-ventes-wrapper, .cards-ventes-wrapper.cards-vente-lot {
      grid-template-columns: 1fr;
      grid-columns: 3;
  }
  .ventes-main-row {
      margin-bottom: 5rem;
  }
  .ventes-main-row .card-text {
      font-size: 20px;
  }
  .ventes-main-row h3.card-title {
      font-size: 26px;
      margin-left:0 !important;
  }
  .simplegallery .content {
      height: 330px !important;
      width: 100% !important;
  }
  /* .simplegallery .thumbnail {
      width: 100%;
      display: flex;
      gap: 15px;
      margin-top: 15px;
  }
  .simplegallery .thumbnail .thumb {
      width: 70px !important;
      height: 70px !important;
  } */
  .lots-pagination {
      font-size: 14px;
  }
  .lots-btn-container {
      gap: 30px;
      
  }
  .lots-btn-container .btn {
      font-size: 16px !important;
      text-align: center;
      justify-content: center;
  }
  .cards-ventes-wrapper .card-vente {
      padding-bottom: 80px;
  }
}

.simplegallery .thumbnail {
  display: flex;
  flex-wrap: wrap; /* Allows the thumbnails to wrap to the next line if needed */
  justify-content: flex-end; /* Aligns the thumbnails to the right */
  gap: 7px; /* Adds spacing between thumbnails */
	float: none !important;
}

.simplegallery .thumbnail .thumb {
  width: 100px;
  height: 100px;
  cursor: pointer;
  display: flex; /* Center the image within the container */
  justify-content: center; /* Center the image horizontally */
  align-items: center; /* Center the image vertically */
  overflow: hidden; /* Ensure any overflowing content is hidden */
  position: relative;
}

.simplegallery .thumbnail .thumb img {
  width: 100%; /* Ensure the image fills the width of the container */
  height: 100%; /* Ensure the image fills the height of the container */
  object-fit: cover; /* Maintain aspect ratio and cover the entire container */
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}


.carousel {
  position: relative;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  display: none;
  align-items: center;
  width: 100%;
  transition: transform 0.6s ease;
  backface-visibility: hidden;
  perspective: 1000px;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block;
}

.carousel-item-next,
.carousel-item-prev {
  position: absolute;
  top: 0;
}

.carousel-item-next.carousel-item-left,
.carousel-item-prev.carousel-item-right {
  transform: translateX(0);
}

.carousel-item-next,
.active.carousel-item-right {
  transform: translateX(100%);
}

.carousel-item-prev,
.active.carousel-item-left {
  transform: translateX(-100%);
}

.carousel-img-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

