/* ============ MODAL WINDOW ============ */
a {
  text-decoration: none;
  color: #000;
}

.modal-window {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  /*animation: fadeIn 0.3s both;*/
}

.modal-wrapper {
  position: relative;
  background-color: #fff;
  margin: 2% auto;
  border-radius: 10px;
  max-width: calc(50vw - 20px);
  max-height: calc(100vh - 20px);
  height: 500px;
  overflow: auto;
  padding: 20px;

}

.modal-close {
  border: none;
  position: absolute;
  right: 0;

}

#modal-title {
  font-size: 26px;
  color: #000;
  font-family: 'Work Sans';
  text-align: center;
  font-weight: 100;
  margin-bottom: 20px;

}

.column_button {
  display: flex;
  flex-direction: column;
  align-items: center;
  ;
}

#modal-add {
  width: 18em;
  height: 3em;
  margin-bottom: 10px;
  margin-top: 10px;
}

#modal-delete {
  border: none;
  background-color: #ffff;
  color: #D65353;
}

.modal-delete:hover {
  background-color: #ffff;

}

/* ============ MODAL2 ============ */
#modal2 {

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-family: 'Work Sans';

}

.icones {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.centrer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*.title {
  font-size: 26px;
  color: black;
  font-weight: 200 !important;
  margin-bottom: 15px;
    margin-top: 10px;
}*/

#addImage {
  width: 420px;
  height: 170px;
  border-radius: 3px;
  margin-bottom: 12px;
  

}
.addImg{
  color: #306685;
  background-color: #CBD6DC;
  border: 1px solid #306685;
}

.addBox {
  background-color: #E8F1F6;
  width: 420px;
  height: 170px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.image {
  font-size: 6em;
  color: #B9C5CC;
 
}

#addButton {
  position: absolute;
  top: 15em;
  right: 13em;
  opacity: 0;
  border: none;
}

.typeImg {
  font-size: 10px;
  color: #444;
  font-weight: 400;
}

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

}


.imageTitle {
  Width: 420px;
  Height: 51px;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #ffff;
  color: #306685;
  border: none !important;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
  /*border: 0.25 solid ;*/
}
.imageTitle:hover{
  background-color: rgb(232, 241, 246);
  color: #306685;

}
#modalCategory {
  Width: 420px;
  Height: 76px;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
  background-color: rgb(232, 241, 246);
  color: #306685;
  background-color: #ffff;
  border: none !important;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);

}
#modalCategory :hover{
background-color: #CBD6DC;
}
.valider {
  Width: 237px;
  Height: 36px;
  background-color: #A7A7A7;
  color: white;
  border-color: #A7A7A7;

}
.valider:hover{
  background-color: #306685;
}
/*images plus petits*/
.EditImg{
  width: 7.5em;
  height: 10em;
    margin-left: 12px;
    margin-bottom: 5px;
}
#modal-gallery{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-left:20px;
}
.icons{
  position: relative;
}
  .trashIcon {

    background-color: black;
    /* font-size: 12px; */
    color: white;
    border-radius: 12%;
    width: 24px;
    height: 20px;
    padding-top: 4px;
    /* aspect-ratio: 0.25/0.25; */
    position: absolute;
    text-align: center;
    top: -10em;
    left: 6.25em;
    font-size: 1em;
}
.addIcon{
  background-color: black;
  /* font-size: 12px; */
  color: white;
  border-radius: 12%;
  width: 24px;
  height: 20px;
  padding-top: 4px;
  /* aspect-ratio: 0.25/0.25; */
  position: absolute;
  text-align: center;
  top: -10em;
  left: 4em;
  font-size: 1em;
}
.edit_text{
  margin: 0 0 14px 11px;
}
.modal-close2, .previous{
  font-size: 1.5em;
}