/*End contact section*/

/* Admin */


#admin-controls {
  position: fixed;
  bottom: 50px;
  right: 50px;

  font-size: 18px;
  font-weight: bold;

  background-color: #00000090;
  color: whitesmoke;

  border-radius: 8px;
  padding: 16px;

  z-index: 1000;

  border: none;
}

/* Styles de base pour la modal img infos*/
.modalImg {
  display: none; /* Cacher la modal par défaut */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  color: black;
  background-color: rgba(0, 0, 0, 0.5); /* Arrière-plan noir semi-transparent */
}

.modalImg form div {
  margin: 10px;
}

.modalImg form input {
  border-radius: 5px;
}

.modalImg form label {
  font-weight: 500;
}

.modalImg .modal-content {
  background-color: #fff;
  margin: 15% auto; /* 15% de marge en haut, centré horizontalement */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Largeur de la modal */
  max-width: 500px; /* Largeur maximale */
}

.modalImg .close {
  color: #aaa;
  float: right !important;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modalImg .close:hover,
.modalImg .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#openModalBtn {
  cursor: pointer;
  text-decoration: none;
}

/* Styles pour la modal */
.modal__mention {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
  z-index: 1111;
}

.modal-content-mention {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 70%;
}

.close-mention {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-mention:hover,
.close-mention:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.txt__coordonees {
  color: white;
}

.text-editable-modal {
  display: block;
  color: inherit;
  line-height: inherit;
}

.text-editable-modal:hover {
  position: relative;
  background: #dee2e6;
  border-radius: 4px;
  width: 100%;
}
.text-editable-modal:hover::before {
  position: absolute;
  font-family: 'Font Awesome 5 Free';
  background: #00d27a;
  content: '\f044';
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 9px;
  font-size: 15px;
  color: #fff;
  top: 6px;
  -webkit-box-shadow: 0px 0px 18px -2px rgb(0 0 0 / 10%);
  -ms-box-shadow: 0px 0px 18px -2px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 18px -2px rgba(0, 0, 0, 0.1);
}

.modal__call {
  border-bottom: dotted 2px !important;
  /* color: #5e6e82 !important; */
  cursor: pointer !important;
  z-index: 1000 !important;
}

/* Fast edit input */

.row__fast__edit {
  display: flex;
  width: fit-content;
  position: relative;
  left: 1rem;
  bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  flex-wrap: nowrap;
  /*//width: 240px;*/
  height: 70px;
  background: #fff;
  z-index: 99;
  align-items: center;
  padding-left: 5px;
  padding-right: 5px;
  box-sizing: border-box !important;
}

.yess {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: 4rem;
}

.yess:hover {
  cursor: pointer;
}
.yess .icon {
  position: relative;
  display: flex;
  font-size: 1.2rem;
  text-align: center;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;

  transition: 0.5s;
  background: transparent;
}

.yess.active .icon {
  transform: translateY(-35px);
  transition: 0.5s;
  color: #fff;
}

.yess .text {
  transition: 0.5s;
  position: absolute;
  font-size: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  letter-spacing: 1px;
  font-weight: bold;
  color: #111;
}

.yess.active .text {
  opacity: 1;
  transform: translateY(10px);
}

.yess .icon i {
  color: #111;
  z-index: 9;
  /*font-family: 'Font Awesome 6 Free' !important;*/
}

.indicator {
  opacity: 0;
  position: absolute;
  width: 60px;
  height: 60px;
  background: #faa62d;
  top: -50%;
  border: 4px solid #fff;
  border-radius: 50%;
  z-index: -1;
  transition: 0.5s;
}

.row__fast__edit.fixed__position {
  position: fixed;
  bottom: 15px;
  left: 15px;
}

#drop__area {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex-direction: column;
}
.sidebar__widget__edit {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  width: 0;
  overflow: hidden;
}
.sidebar__widget__edit .close__widget__edit {
  display: flex;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 16px;
  right: 10px;
}
.sidebar__widget__edit .close__widget__edit:hover {
  background: #ccc3;
  cursor: pointer;
}
.sidebar__widget__edit.active {
  width: 100%;
}
.sidebar__widget__edit .front__ {
  position: absolute;
  width: 80%;
  top: 0;
  left: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 999;
  padding: 10px;
  padding-top: 70px;
  overflow: scroll;
}

.infos__img {
  /*provisoire pour l'avoir que dans le mode diapo faudra l'intégrérer par la suite dans le reste des images*/
  display: none;
}

.accordion__content {
  display: flex;
  flex-direction: column;
}

.accordion__content h6 {
  font-size: 14px;
  margin-bottom: 7px;
  color: #383838;
}

.accordion__content input,
.accordion__content textarea {
  margin-bottom: 15px;
  height: 39px;
  border: 1px solid #ccc1;
  border-radius: 3px;
  width: 100%;
  padding: 9px;
  background-color: #ffffff !important;
}
.accordion__content textarea {
  height: 80px;
}

.sidebar__widget__edit .infos__img {
  display: initial;
}
.sidebar__widget__edit .front__ .edit__item {
  position: relative;
  display: flex;
  border: none;
  height: auto;
  width: 96%;
  margin: 20px;
  overflow: hidden;
  background: #f5f6f7;
  align-items: center;
  /* justify-content: center; */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 7px 3px #1112;
}

.sidebar__widget__edit .front__ .edit__item input:focus,
.sidebar__widget__edit .front__ .edit__item textarea:focus {
  border: 1px solid #507ad5;
}

.sidebar__widget__edit .front__ .edit__item .infos__img {
  width: 70%;
  margin-left: 25px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.sidebar__widget__edit .front__ .edit__item .row__fast__edit {
  right: auto;
  left: 10px;
  opacity: 0.9;
  bottom: 3px;
}

.sidebar__widget__edit .front__ .edit__item .row__fast__edit:hover {
  opacity: 1;
}

.optimal__size__diapo {
  position: fixed;
  left: 80%;
  bottom: 20px;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 15px;
  color: #111111;
  z-index: 999;
  display: inline-flex;
  flex-direction: column;
}

.optimal__size__diapo.hidden__elt {
  left: 0;
  width: 0;
  height: 0;
  z-index: -1;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}
.optimal__size__diapo .close__this {
  display: flex;
  top: -27px;
  background: #ffff;
  padding-top: 4px;
  border-radius: 20px;
  width: 25px;
  height: 25px;
  position: absolute;
  right: -14px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.optimal__size__diapo .close__this:hover {
  background: #cccccc;
}

.modal__call {
  border-bottom: dotted 2px !important;
  color: #5e6e82 !important;
  cursor: pointer !important;
  z-index: 950 !important;
}
/* End Admin */
