/* Layout Utilities */
.w10 { width: 10%; }
.w20 { width: 20%; }
.w25 { width: 25%; }
.w30 { width: 30%; }
.w33 { width: 33.333%; }
.w40 { width: 40%; }
.w50 { width: 50%; }
.w60 { width: 60%; }
.w66 { width: 66.666%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w90 { width: 90%; }
.w100 { width: 100%; }

.w50px { width: 50px; }
.w100px { width: 100px; }
.w150px { width: 150px; }
.w200px { width: 200px; }
.w300px { width: 300px; }
.w400px { width: 400px; }
.w500px { width: 500px; }
.w600px { width: 600px; }

.mw {
    max-width: 622px;
}

.line {
    display: flex;
    align-items: center;
    word-break: break-word;
    hyphens: auto;
    flex-direction: row;
    justify-content: center;
}

/* Flexbox utilities */
.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between boxes */
    max-width: 622px;
}

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
}

.image-container {
    float: left;
    width: 158px;
    height: 137px;
}

/* DEBUT EDITABLE */
.image-container.editable {
    float: left;
    position: relative;
    width: 158px;
    height: 137px;
    overflow: hidden;
}

.image-container.editable img {
    width: 100%;
    height: auto;
}

.edit-icon {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.image-container.editable:hover .edit-icon {
    transform: scale(1.1);
}

/* FIN EDITABLE*/

.text-container {
    flex: 1;
    overflow-wrap: break-word;
    hyphens: auto;
}

.text-container:has(.image-container) {
    overflow: auto;
    min-height: 142px;
}

.full-width {
    width: 622px;
}

.alignComponentRow {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    max-width: 622px;
}

.alignComponentColumn {
    display: inline-flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    margin: 5px 0;
    max-width: 561px;
}