/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	overflow:scroll;
  }
  
  /* Modal Content/Box */
  .modal-content {
	display : flex;
	flex-direction : column;
	position : relative;
	background-color: #fefefe;
	margin: 15% auto; /* 15% from the top and centered */
	border: 1px solid #888;
	padding : 40px;
	width: 630px;
	height:730px; /*  /* Could be more or less, depending on screen size */
	gap : 80px;
	justify-content : center;
  }

  .modal-content > p {
	font-family: 'Work Sans';
	display : flex;
	font-size : 25px;
	justify-content: center;
	align-items: center;
  }

  
  /* The Close Button */
  .close {
	color: #aaa;
	position : absolute;
    right: 20px;
    top: 15px;
	font-size: 30px;
	font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
  }

  /* Modal Footer */
  .figModal{
	position: relative;
  }
.modalImg {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	gap:10px;
	overflow-y:scroll;
}

.modalImg img {
	width: 100%;
}

.fa-trash-can  {
	position:absolute;
	top:0px;
	right: 0px;
	background-color: black;
	padding : 5px;
	color: white;
	cursor: pointer;
}

.modalFooter {
	display : flex;
	flex-direction : column;
	align-items : center;
	border-top : 1px solid #B3B3B3;
}

.modalFooter > p {
	font-family: 'Syne';
	color: #D65353;
}

.boutonajout {
	padding : 10px;
	font-family: 'Syne';
	font-weight: 700;
	color: white;
	background-color: #1D6154;
	margin : 2em auto ;
	width: 180px;
	text-align: center;
	border-radius: 60px ;
	border : none;
	cursor:pointer;
}

#formAjout {
	display:none;
	flex-direction:column;
	position : relative;
	background-color: #fefefe;
	margin: 15% auto; /* 15% from the top and centered */
	padding: 40px;
	align-items:center;
	justify-content:center;
	border: 1px solid #888;
	width: 630px;
	height:730px; /* Could be more or less, depending on screen size */
	gap : 20px;
	
  }

#formAjout > p {
	font-family: 'Work Sans';
    display: flex;
    font-size: 25px;
    justify-content: center;
    align-items: center;
}
  
.fa-arrow-left {
	position : absolute;
    left: 20px;
    top: 20px;
	font-size: 20px;
	cursor: pointer;
}

.contentImg {
	position: relative;
	display : flex;
	flex-direction:column;
	justify-content :center;
	align-items:center;
	background-color : #E8F1F7;
	border-radius : 3px;
	gap : 15px;
	height: 250px;
	width: 100%;
}	

.fa-image {
	font-size : 70px;
	color : #B9C5CC;
}
#imgAjout{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.removeImageButton{
	position : absolute;
	top : 10px;
	right : 10px;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor : pointer;
}
.fa-times {
	font-size : 20px;
	
}

#buttonloadFile {
	padding : 10px;
	font-family: 'Work Sans';
	font-weight: 700;
	color: #306685;
	background-color: #CBD6DC;
	width: 180px;
	text-align: center;
	border-radius: 50px ;
	border : none;
	cursor:pointer;
}

#file {
	display : none;
}

.titre {
	display : flex;
	flex-direction:column;
	gap :20px;
	width: 100%;
}

.categorie {
	display : flex;
	flex-direction:column;
	gap :20px;
	width: 100%;
}

.label {
	font-family: 'Work Sans';
}

.labelModal {
	height : 50px;
	background: #FFFFFF;
	box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.09);
}

.btnValider {
	display : flow-root;
	padding : 10px;
	font-family: 'Syne';
	font-weight: 700;
	color: white;
	margin: 2em auto;
	background-color: #1D6154;
	width: 250px;
	text-align: center;
	border-radius: 60px ;
	border : none;
	cursor:pointer;
}