.actualites_background {
  display: flex;
  flex-direction: column;
  padding: 10px 30px 30px 30px;
  margin: 35px auto;
  border-radius: 8px;
  box-shadow: -2px 2px 3px 1px rgba(19, 104, 195, 0.52);
  position: relative;
}
.actualites_background #actualite {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  gap: 30px;
}
.actualites_background #actualite img {
  height: 200px;
  border-radius: 6px;
}
.actualites_background #actualite p {
  text-align: justify;
  font-size: 1.1rem;
  font-weight: 300;
  margin: 0;
}
.actualites_background #actualite button {
  background-color: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--titre);
}
.actualites_background #titre_actualite {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--titre);
  text-transform: uppercase;
  border-bottom: 2px solid var(--titre);
  margin-bottom: 16px;
}
#gallery {
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin: 50px auto;
  gap: 50px;
}
#gallery .tableau {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  position: relative;
}
#gallery .tableau .toptab {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
}
#gallery .tableau .toptab .titrehaut {
  font-size: 18px;
  color: var(--titre);
  font-weight: 400;
  text-transform: uppercase;
  border-bottom: 1px solid var(--titre);
  width: calc(100% - ((((60vh - 50px) / 6) * 1.5) + 20px));
  margin-bottom: 22px;
  padding-bottom: 7px;
  align-self: flex-start;
  text-align: justify;
  display: flex;
  flex-direction: row;
}
#gallery .tableau .toptab .titrehaut .vendu {
  border-radius: 50px;
  padding: 1px 8px;
  font-size: 15px;
  color: var(--titre);
  margin-left: 10px;
  text-wrap: nowrap;
  box-shadow: 0px 0px 2px 1px rgba(19, 104, 195, 0.52);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-self: end;
  width: fit-content;
  align-items: center;
  height: fit-content;
  text-transform: uppercase;
}
#gallery .tableau .toptab .titrehaut .vendu span {
  font-size: 15px;
  margin-right: 2px;
}
#gallery .tableau .toptab .buttonslist {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: calc(((60vh - 50px) / 6) * 1.5);
  margin-top: 15px;
  border-radius: 50px;
  height: fit-content;
  padding: 3px 0;
  box-shadow: 0px 0px 0px 1px rgba(19, 104, 195, 0.52);
}
#gallery .tableau .toptab .buttonslist div {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#gallery .tableau .toptab .buttonslist div span {
  cursor: pointer;
  font-size: 20px;
  color: var(--titre);
  font-weight: 400;
}
#gallery .tableau .toptab .buttonslist div:hover {
  scale: 1.1;
}
#gallery .tableau .centeroftab {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}
#gallery .tableau .centeroftab .side-left {
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: 300px;
}
#gallery .tableau .centeroftab .side-left p {
  font-size: 1rem;
  font-weight: 300;
}
#gallery .tableau .centeroftab .side-left p span {
  font-weight: 400;
}
#gallery .tableau .centeroftab .side-left .description {
  text-align: justify;
  text-wrap: wrap;
  margin-bottom: 20px;
}
#gallery .tableau .centeroftab .carousel {
  display: flex;
  flex-direction: row;
  gap: 20px;
  position: relative;
}
#gallery .tableau .centeroftab .carousel .img {
  height: 60vh;
  aspect-ratio: 3/2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#gallery .tableau .centeroftab .carousel .side-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  width: calc(((60vh - 50px) / 6) * 1.5);
}
#gallery .tableau .centeroftab .carousel .side-right img {
  width: 100%;
  opacity: 0.4;
  cursor: pointer;
  border-radius: 4px;
}
#gallery .tableau .centeroftab .carousel .side-right img:hover {
  opacity: 1;
}
#gallery .tableau .centeroftab .carousel .side-right .imgselected {
  opacity: 1;
  border: 1px solid black;
}
#gallery .tableau .bottomtab {
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
  width: calc(60vh * 1.5);
  margin: 5px calc((((60vh - 50px) / 6) * 1.5) + 20px) 0 0;
}
.popover {
  max-width: fit-content;
  /* ajuste selon tes besoins */
  word-wrap: break-word;
}
.bottommobil {
  display: none;
}
#editcarouseladmin {
  position: absolute;
  top: 117px;
  width: 100%;
  height: calc(100% - 117px);
  display: flex;
  z-index: 999;
  align-items: center;
  justify-content: center;
  background-color: #000000c1;
}
#editcarouseladmin span {
  font-size: 60px;
}
#editactualiteadmin {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 999;
  align-items: center;
  justify-content: center;
  background-color: #000000c1;
  top: 0;
  left: 0;
  border-radius: 8px;
}
#editactualiteadmin span {
  font-size: 60px;
}
#addactualiteadmin {
  background-color: #000000c1;
  width: 800px;
  height: 300px;
  border-radius: 8px;
  box-shadow: -2px 2px 3px 1px rgba(19, 104, 195, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 35px auto;
}
#addactualiteadmin span {
  font-size: 60px;
}
#deleteactualiteadmin {
  background-color: transparent;
  border: 0;
}
#deleteactualiteadmin span {
  font-size: 60px;
  transform: translateY(220px) translateX(30px);
}
#addoeuvreadmin {
  background-color: #000000c1;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#addoeuvreadmin span {
  font-size: 60px;
}
.modifyoeuvreadmin {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 999;
  align-items: center;
  justify-content: center;
  background-color: #000000c1;
  top: 0;
  left: 0;
}
.modifyoeuvreadmin span {
  font-size: 60px;
}
.deleteoeuvreadmin,
.deleteoeuvreinvisibleadmin {
  background-color: transparent;
  border: 0;
}
.deleteoeuvreadmin span,
.deleteoeuvreinvisibleadmin span {
  font-size: 60px;
  transform: translateY(50vh) translateX(-100px);
}
.modifyinvisibleoeuvreadmin {
  background-color: #000000c1;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 50px;
}
.modifyinvisibleoeuvreadmin span {
  font-size: 60px;
}
@media (min-width: 1176px) {
  .arrowleftmob,
  .arrowrightmob {
    display: none;
  }
  .side-right {
    height: calc(60vh + 1px);
  }
}
@media (max-width: 1175px) {
  .arrowleftmob,
  .arrowrightmob {
    font-size: 2em;
    color: white;
    text-shadow: 0 0 1px black;
    position: absolute;
    top: 0;
    height: 100%;
    align-content: center;
    cursor: pointer;
    padding: 0 5px;
  }
  .arrowleftmob:hover,
  .arrowrightmob:hover,
  .arrowleftmob:active,
  .arrowrightmob:active {
    scale: 1.1;
  }
  .arrowleftmob {
    display: none;
  }
  .arrowrightmob {
    right: 0;
    display: inline-block;
  }
  .actualites_background {
    padding: 10px 20px !important;
  }
  .actualites_background #actualite {
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
  }
  .actualites_background #actualite img {
    height: auto !important;
    width: 100%;
  }
  .side-left,
  .buttonslist,
  .bottomtab {
    display: none !important;
  }
  .titrehaut {
    width: calc(60vh * 1.5) !important;
    justify-content: space-between;
    display: flex !important;
  }
  .carousel {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .carousel .side-right {
    flex-direction: row !important;
    width: fit-content !important;
    max-width: calc(40vh * 1.5) !important;
    margin: 0 auto;
    transform: translateY(-20px);
  }
  .carousel .side-right img {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    filter: brightness(10);
    display: inline-block !important;
    opacity: 1 !important;
    transition: width ease 0.2s;
  }
  .carousel .side-right .imgselected {
    border: 5px solid #ffffff !important;
    width: 20px !important;
    border-radius: 50px !important;
  }
  .bottommobil {
    display: flex !important;
    width: calc(60vh * 1.5);
    height: fit-content;
    border-radius: 8px;
    box-shadow: -1px 1px 2px 1px rgba(19, 104, 195, 0.52);
    flex-direction: column;
    padding: 10px 16px;
  }
  .bottommobil .top {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: fit-content;
    margin-bottom: 10px;
  }
  .bottommobil .top .topleft {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .bottommobil .top .topleft p {
    font-size: 18px;
    margin: 0;
    font-weight: 400;
  }
  .bottommobil .top .topleft .buttonsside {
    padding: 3px 6px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    border: 1px solid var(--titre);
    border-radius: 50px;
  }
  .bottommobil .top .topleft .buttonsside .partage,
  .bottommobil .top .topleft .buttonsside .infoid {
    width: fit-content;
    height: fit-content;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    display: flex;
  }
  .bottommobil .top .topleft .buttonsside .partage span,
  .bottommobil .top .topleft .buttonsside .infoid span {
    color: var(--titre);
    font-size: 16px;
  }
  .bottommobil .bottomofbottommobil .description {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: space-between;
  }
  .bottommobil .bottomofbottommobil .description p {
    font-size: 1rem;
    font-weight: 300;
    text-align: justify;
    color: black;
    margin: 0;
  }
  .bottommobil .bottomofbottommobil .description .swipR {
    cursor: pointer;
    align-items: center;
    justify-content: center;
    display: flex;
  }
  .bottommobil .bottomofbottommobil .description .swipR span {
    font-size: 1.5rem;
    color: black;
  }
  .bottommobil .bottomofbottommobil .description .swipR:hover {
    scale: 1.1;
  }
  .bottommobil .bottomofbottommobil .detail {
    display: none;
    flex-direction: row;
    gap: 10px;
  }
  .bottommobil .bottomofbottommobil .detail .txt {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 2fr;
    column-gap: 25px;
  }
  .bottommobil .bottomofbottommobil .detail .txt p {
    font-size: 1rem;
    font-weight: 300;
    text-align: justify;
    color: black;
    margin: 0;
    text-wrap: nowrap;
  }
  .bottommobil .bottomofbottommobil .detail .txt p span {
    font-weight: 400;
  }
  .bottommobil .bottomofbottommobil .detail .swipL {
    padding: 0 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    display: flex;
  }
  .bottommobil .bottomofbottommobil .detail .swipL span {
    font-size: 1.5rem;
    color: black;
  }
  .bottommobil .bottomofbottommobil .detail .swipL:hover {
    scale: 1.1;
  }
}
@media (max-width: 800px) {
  .img {
    width: 80vw !important;
    aspect-ratio: 3/2;
    height: auto !important;
  }
  .titrehaut,
  .bottommobil {
    width: 80vw !important;
  }
  .titrehaut {
    font-size: 16px !important;
    margin-bottom: 10px !important;
    text-transform: unset !important;
  }
  .titrehaut .vendu {
    font-size: 14px !important;
  }
  .titrehaut .vendu span {
    font-size: 13px !important;
  }
  .txt {
    grid-template-columns: 1fr !important;
  }
  #actualite p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #actualite button {
    display: flex;
  }
  #titre_actualite {
    font-size: 23px !important;
  }
}
@media (min-width: 801px) {
  #actualite button {
    display: none;
  }
}
