
#oliscCentralPart {
	padding-left: 8px;
	padding-right: 5px;
}

@media screen and (min-width: 830px) {
	#div_ref_poids_stock {
		float:left;
	}
}

@media screen and (min-width: 830px) {
	.div_para_vente1,#div_para_vente2,#div_para_vente100,#div_para_vente101 {
		position: relative;
	}
	/*paragraphe type 1*/
	.div_para_vente1 {
		display: flex;
		width: 100%;
	}
	
	.div_para_vente1_cote_gauche {
		float: left;
		width: 200px;
	}
	
	.div_liens_variants {
		float: left;
		text-align: center;
		/*position: absolute;*/
		margin-top: 10px;
		width: 200px;
	}
	.div_para_vente1_img_produit {
		float:left;
		width:200px;
		/*text-align: center;
		position: absolute;*/
		/*top: 50%;
		transform: translateY(-50%);*/
		margin-top: 30px;
		text-align: left;
	}

	#div_para_vente1_contenu {
		float:left;
		width:77%;
		/*margin-left: 200px;*/
		min-height: 230px;
	}

	
	/*paragraphe type 2*/
	#div_para_vente2 {
		display: inline-block;
		width: 100%;
	}
	#div_para_vente2_img_produit {
		float:left;
		width:180px;
		text-align: center;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}

	#div_para_vente2_contenu {
		float:left;
		width:60%;
		margin-left: 180px;
	}
	
	#div_para_vente2_contenu_width100 {
		float:left;
		width:100%;
	}
	
	#div_para_vente2_prix {
		width:10%;
		font-weight: bold;
		text-align: center;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		right: 0;
	}
	
	
	#div_para_vente_fleches {
		position: absolute;
		right: 0;
		opacity: 0.7;
	}
	
	#div_choix1,#div_choix2,#div_choix3 {
		float:left;
	}
	
	#div_ref_poids_stock {
		float:right;
	}
	
	/*paragraphe type 100*/
	#div_para_vente100_contenu {
		float:left;
	}
	
	/*paragraphe type 101*/
	#div_para_vente101_contenu {
		float:left;
	}
}

@media screen and (max-width: 830px) {
	#div_para_vente1_contenu {
		margin-top: 20px;
	}
	
	.div_liens_variants {
		margin-top: 25px;
	}
}

.div_table {
	width: 100%;
	/*NH 27/06/2022
	padding-bottom: 5px;
	padding-top: 5px;*/
	display: table;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   .div_table {
		width: 100%;
		/*NH 27/06/2022
		padding-bottom: 5px;
		padding-top: 5px;
		*/
		display: inline-block;
	}
}

.div_hr {
	margin-top: 10px;
	margin-bottom: 10px;
}

#div_choix1,#div_choix2,#div_choix3 {
	margin:10px;
}
	
#div_ref, #div_poids, #div_stock {
	float:left;
	margin:5px;
}

.div_para_vente_contenu_comm {
	text-align: left;
}

.lbl_TxtArea {
	vertical-align: top;
}

#div_zone_comm_edition {
	border: 1px solid #000080;
}

#div_ligne_div_ref_poids_stock {
	width:100%
}

#div_puce_titre,#div_texte_titre {
	float: left;
	/*padding-right: 10px;*/
	padding-bottom: 5px;/*NH 27/06/2022*/
}

#div_puce_titre {
	width: 7%;
}

#div_texte_titre {
	width: 91%;
	text-align: left;
}
.div_para_vente1_contenu_titre {
	display: inline-block;
	cursor: pointer;
}

#div_hr_titre {
	padding-left:10px;
	position: absolute;
	padding-top: 23px;
	width:100%;
}

#div_img_fiche_technique, #div_liste_fichier {
	float: left;
	padding:5px;
	text-align: left;
}

.div_encart_photo {
	width:200px;
	/*height:225px;*/
}

#div_encart_photo_haut {
	width:100%;
	height:23px;
	background-color:#e7e7e7;
	border:1px solid #424242;
	border-radius:50px 0px 0px 0px;
	-moz-border-radius:50px 0px 0px 0px;
	-webkit-border-radius:50px 0px 0px 0px;
}

#div_encart_photo_milieu {
	width:100%;
	height:145px;
	background-color:#f1f1f1;
	border-right:1px solid #424242;
	border-bottom:1px solid #424242;
	border-left:1px solid #424242;
	position:relative;
	margin-top: 1px;
}

/*AW 17/02/2025 Passe de cette div en une classe plutot qu'un id étant donné qu'elle est utilisée plusieurs fois*/
.div_encart_photo_milieu_photo {
	background-color:#ffffff;
	border:1px solid #424242;
	
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	position: absolute;
}
/*AW 17/02/2025 Prop css de l'image produit inexistant*/
.image-produit-inexistant { 
    position: absolute;
    transform: translate(-50%, -50.5%);
    opacity: 1;
	/*transition: opacity 0.5s ease-in-out;  plus nécessaire désormais on le gère directement à la génération*/
}
/*AW 17/02/2025 images contenues dans le diapo*/
.diapo-img {
    position: absolute;
    transform: translate(-50%, -50%);
	/*transition: opacity 0.5s ease-in-out; plus nécessaire désormais on le gère directement à la génération*/
}

#div_encart_photo_bas_prix {
	width:100%;
	/*height:11%;
	padding-top: 5%;*/
	padding-top:1px;
	background-color:#f1f1f1;
	border-top:0px solid #424242;
	border-right:1px solid #424242;
	border-bottom:1px solid #424242;
	border-left:1px solid #424242;
	/*NH 20/06/2024*/
	/*display: grid;*/
	text-align: center;
}


#div_encart_photo_bas_panier {
	width:100%;
	height:32px;
	background-color:#e7e7e7;
	border-top:0px solid #424242;
	border-right:1px solid #424242;
	border-bottom:1px solid #424242;
	border-left:1px solid #424242;
	border-radius:0px 0px 20px 20px;
	-moz-border-radius:0px 0px 20px 20px;
	-webkit-border-radius:0px 0px 20px 20px;
	margin-top: 1px;
}

#div_encart_photo_bas_panier_img_panier_fleche {
	float: left;
	width:20%;
	text-align: center;
}

#div_encart_photo_bas_panier_texte {
	float: left;
	width:60%;
	text-align: center;
}

#div_encart_photo_bas_panier_img_panier_picto {
	float: left;
	width:20%;
	text-align: center;
}
/*NH 27/06/2022 : div avec liste des références produits*/
#div_ligne_liste_refs {
	color: rgb(51,51,51);
	text-align: left;
	font-size: 12px;
	font-family: Arial;
}

*,
*::before {
    box-sizing: border-box;
}

.divPrix {
    display: block;
}

.prixPublic {
    display: none;
}

.prix {
    font-size: 1.2em;
    color: #000000; 
    font-weight: Bold;
    margin: 0;
}

.remise {
	display: none;
}

.divPrixIfPrixPublic {
    width: 100%;
    max-width: 100%; /* Empêche de dépasser l'élément parent */
    display: grid;
    grid-template-columns: 1fr 0.1fr;
    align-items: center;
    padding: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden; /* Assure que le contenu reste dans les limites */
}

.prixPublicIfPrixPublic {
    font-size: 0.9em;
    color: #5f5f5f;
    text-decoration: line-through;
    font-weight: bold;
    margin: 0;
}

.prixIfPrixPublic {
    font-size: 1.2em;
    color: #bd2d30; 
    font-weight: Bold;
    margin: 0;
}

.remiseIfPrixPublic {
    font-size: 1.1em;
    color: #ffffff;
    font-weight: Bold;
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #bd2d30;
    padding: 5px 2.5px;
    border-radius: 2.5px;
    white-space: nowrap; /* Empêche le texte de se plier */
}



/* Code CSS pour l'affichage dans la nouvelle page Produit */
.zoneProduit {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 10px;
}

.titreProduit {
    text-align: left;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 30px;
}

.blocProduit {
	display: inline-block;
    width: 100%;
}

.blocImage {
	float: left;
    width: 40%;
	padding: 5px;
}

.blocPrixDescription {
    float: right;
    width: 60%;
}

.blocPrix {
	margin-bottom: 10px;
	display: inline-block;
	width: 100%;
}

.blocDescription {
	text-align: Left;
	margin-bottom: 10px;
}
.blocCommentaire {
	text-align: Left;
}

.titreDescription {
	font-size: 14px;
	margin-bottom: 5px;
}

.blocReference {
	float: left;
}
.divPrixProduitIfPrixPublic {
    width: 35%;
    display: grid;
    grid-template-columns: 1fr 0.1fr;
    align-items: center;
    padding: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden; /* Assure que le contenu reste dans les limites */
	float: right;
}

.divPrixProduit {
    width: 35%;
	float: right;
	padding: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.prixProduit {
    font-size: 18px;
    color: #000000; 
    font-weight: Bold;
    margin: 0;
}

.prixProduitIfPrixPublic {
    font-size: 18px;
    color: #bd2d30; 
    font-weight: Bold;
    margin: 0;
}

.prixPublicProduit {
    font-size: 0.9em;
    color: #5f5f5f;
    text-decoration: line-through;
    font-weight: bold;
    margin: 0;
}

.blocChoix {
	border: 1px solid #e0e0e0;
    border-radius: 5px;
	padding: 5px;
}

.divChoix {
	display: inline-block;
}

.remiseProduit {
    font-size: 1.1em;
    color: #ffffff;
    font-weight: Bold;
    grid-column: 2;
    grid-row: 1 / span 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #bd2d30;
    padding: 5px 2.5px;
    border-radius: 2.5px;
    white-space: nowrap; /* Empêche le texte de se plier */
}

.blocAjoutPanierIfPrixPublic {
	float: right;
	margin-left: 10px;
	margin-top: 14px
}

.blocAjoutPanier {
	float: right;
	margin-left: 10px;
	margin-top: 6px;
}

.titrePrix {
	float: right;
	font-size: 14px;
	margin-bottom: 2px;
	display: contents;
}

.titrePrixIfPrixPublic {
	float: right;
	font-size: 14px;
	margin-bottom: 2px;
}

.boutonPanier {
	float: left;
	cursor: pointer;
	color: #FFF;
    background: #77ce5a;
    border-color: #77ce5a;
	padding: 8px 8px;
    border-radius: 10px;
    border-width: 2px;
    border-style: solid;
    font-size: 16px;
    cursor: pointer;
    transition: 0.25s ease;
}

.boutonPanier:hover {
    opacity: 0.75;
}
.blocFichiers {
	display: flex;
    padding-bottom: 10px;	
}

@media screen and (max-width: 830px) {
	.blocPrix {
		margin-bottom: 10px;
		width: 100%;
	}
	.blocAjoutPanierIfPrixPublic {
		margin-top: 0px;
		margin-bottom: 14px;
		display: flex;
		width: 100%;
		float: initial;
		margin-left: 0px;
	}
	.boutonPanier {
		margin: auto;
	}
	.divPrixProduitIfPrixPublic {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr 0.1fr;
		align-items: center;
		padding: 5px;
		border: 1px solid #e0e0e0;
		border-radius: 5px;
		overflow: hidden;
	}
	.blocImage {
		float: initial;
		width: 100%;
		padding: 5px;
	}
	.blocPrixDescription {
		float: initial;
		width: 100%;
		margin-top: 10px;
	}
}

/* NH 02/04/2025 : ajout pour diapo page produit */
.custom-sliderDiapoProduit { 
	display: none; 
	position: absolute;        
	top: 50%;
	left: 50%;
	transform: translateY(-50%)translateX(-50%);
	width: 100%;
}
.div-img-Produit { 
	position: absolute;        
	top: 50%;
	left: 50%;
	transform: translateY(-50%)translateX(-50%);
	width: 100%;
}
.slideDiapoProduit-container {
  width: 100%;
  height: 600px;
  position: relative;
  margin: auto;
}
.prev, .next {
  cursor: pointer;
  position: absolute;        
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 30px;
  background-color: rgba(0,0,0,0);
  transition: background-color 0.6s ease;
}
.prev{ left: 0px; }
.next { right: 0px; }
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.5);
}

.slideDiapoProduit-img{ 
  object-position: center;
  max-height: 600px;
  max-width: 100%;
 }
.slideDiapoProduit-dot{ text-align: center; }

.fade {
  animation-name: fade;
  animation-duration: 1s;
}
@keyframes fade {
  from {opacity: 0} 
  to {opacity: 1}
}
.slideDiapoProduit-miniature {
	display: table;
}
.slideDiapoProduit-div-miniature {
	cursor: pointer;
	display: table-cell;
}
.slideDiapoProduit-img-miniature {
	width: 95%;
	max-width: 150px;
}
/* NH 02/04/2025 : fin ajout pour diapo page produit */

/*NH 12/06/2025 : upload form images */
#drop-zone {
  border: 2px dashed #aaa;
  padding: 40px;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
}
#drop-zone.dragover {
  border-color: #333;
  background-color: #f8f8f8;
}

.image-container {
  position: relative;
  display: inline-block;
  width: 200px; /* largeur de l'image */
  margin: 10px;
}

.image-container img.main-image {
  display: block;
  width: 200px;
  max-width: 200px;
}

.delete-icon {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background-color: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.delete-icon:hover {
  background-color: #fdd;
}
