/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
#file-preview-container {
    display: none;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px dashed #ccc;
    padding: 20px 10px 10px; /* Ajout de padding en haut */
    border-radius: 5px;
    background: #f9f9f9;
    text-align: center;
    max-width: 100%;
    position: relative; /* Permet au bouton de se positionner dessus */
    margin-left: auto;
    margin-right: auto;
}

#file-preview-container p {
    margin: 0px;
    font-size: 12px;
    display: flex;
    justify-content: left;
}

#previewCanvas {
    border: 1px solid #ddd;
    max-width: 200px;
    display: block;
    margin: auto;
    margin-top: 10px;
}

/*input#custom_upload{*/
/*    border: 1px solid;*/
/*    border-radius: 8px;*/
/*}*/

#remove-file {
    position: absolute;
    top: 2px;
    right: 0px;
    background: #353535 !important;
    color: white;
    border: none;
    padding: 3px 8px; /* Réduction de la taille du bouton */
    cursor: pointer;
    border-radius: 10%;
    font-size: 10px; /* Réduction de la taille du texte */
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/**
 * Border radius image box
 **/
.border-radius-5 .box-image {
	border-radius: 5px  !important;
}

.border-radius-10 .box-image {
	border-radius: 10px  !important;
}

.border-radius-15 .box-image {
	border-radius: 15px  !important;
}

.border-radius-20 .box-image {
	border-radius: 20px  !important;
}

.border-radius-25 .box-image {
	border-radius: 25px !important;
}

.p_livraison {
    margin-bottom: 0px !important;
    margin-top:0px; !important;
}

.product-short-description .short-descr-dtf{
    border: 2px solid #0EBDDE;
    padding: 15px;
    border-radius: 10px;
}

.custom-upload {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.custom-upload label {
    font-weight: bold;
    margin-bottom: 5px;
}

.custom-upload input[type="file"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    border: none;
    padding: 0;
    width: auto;
}

.custom-upload input[type="file"]::-webkit-file-upload-button {
    background-color: #4CAF50; /* Vert */
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.custom-upload input[type="file"]::-moz-file-upload-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}