:root {
      --data-language : attr(data-FR);
    /* --data-language: attr(data-EN); */
}
.flexCentered {
    display: flex;
    justify-content: center;
    align-items: center;
}
.textEditor {
    outline: none;
    min-height: 300px;
    height: fit-content;
    padding: 20px;
    overflow: overlay;
    background-color: #0000009c;
}
.contentMenuBbcodeEditor > div > button,
.contentMenuBbcodeEditor > svg {
    margin: 5px;
}
.textEditor table,
#html table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}
.tableEditor td {
    width: 20px;
    height: 20px;
    min-width: 20px;
    max-width: 20px;
}
.textEditor table,
.textEditor table td,
.textEditor table th,
#html table,
#html table td,
#html table th {
    border: 1px solid black;
}
.tableEditor td,
.tableEditor th {
    border: 1px solid #aeaeae!important;
}
.tableEditor tr:nth-child(odd):hover{
    background-color: #0000009c!important;
}
.tableEditor tr:hover{
    background-color: var(--AAB734-hsl)!important;
}
blockquote {
    padding: 10px 30px 10px 30px;
    border-left: 3px solid #0494b4;
    margin: 0;
    font-style: italic;
    color: #0494b4;
    position: relative;
    width: fit-content;
    height: auto;
}
blockquote::before {
    content: "❞";
    position: absolute;
    top: 0px;
    left: 10px;
    font-size: 30px;
}
blockquote::after {
    content: "❝";
    position: absolute;
    bottom: 0px;
    right: 10px;
    font-size: 30px;
}
.containerBbcodeEditor {
    border: 2px solid black;
    width: 100%;
    max-width: 1000px;
}
.contentMenuBbcodeEditor {
    border-bottom: 1px solid black;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    background: black;
    color: white;
}
.editorButton .editorSvg > path {
    fill: #aeaeae;
}
.editorButton:hover .editorSvg > path {
    fill: white!important;
}
.contentMenuBbcodeEditor button {
    color: white;
}
.contentMenuBbcodeEditor button {
    background: none;
    border: none;
    cursor: pointer;
}
.contentMenuBbcodeEditor button:hover:after,
.carreColorSelect:hover:after {
    content: var(--data-language);
    font-size: 12px;
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    border: 1px solid;
    white-space: nowrap;
    background: black;
    color: white;
    padding: 5px;
}
.contentMenuBbcodeEditor button:hover:after {
    z-index: 3;
}
.carreColorSelect:hover:after {
    z-index: 2;
}
.contentFamilySelect button:hover:after,
.contentSizeSelect button:hover:after,
.linkModal button:hover:after,
.imageModal button:hover:after {
    content: var(--data-language);
    display: none;
}
#bbcodeButton {
    width: fit-content!important;
}
.active > svg path {
    fill: #00d0fe!important;
}
.resizableImage {
    max-width: 100%;
    position: relative;
    display: inline-block;
    height: auto!important;
}

.resizableImage::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #000;
    cursor: nwse-resize;
}
.imgMenu {
    border: 1px solid black;
    width: fit-content;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    z-index: 3;
}
.imgMenu button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    margin: 0;
    width: auto;
    height: 38px;
    border-left: 1px solid black;
    background: white;
    cursor: pointer;
}
.imgMenu button:first-child {
    border-left: none;
}
.imgMenu button:hover {
    background: #e6e6e6;
}
.imgMenu button.svg {
    width: 38px;
}
.contentMenu {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    margin: 5px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid black;
}
.resizeHandle {
    height: 8px;
    width: 100%;
    cursor: ns-resize;
    background-color: #000;
}
.positionRelative {
    position: relative;
}
/* Menu Tableau */
.containerSelectTable {
    border: 1px solid #dddddd;
    width: fit-content;
    height: fit-content;
    padding: 10px;
    margin: 10px;
    position: absolute;
    background: white;
    color: black;
    top: 35px;
    left: -45px;
    display: none;
    z-index: 2;
}
#info {
    margin: 0;
    margin-bottom: 5px;
}
.tableInsertTable {
    border-collapse: collapse;
    border: none;
    border-spacing: 1px;
}
.carre {
    width: 15px!important;
    height: 15px!important;
    min-width: 15px!important;
    max-width: 15px!important;
    border: 1px solid #dddddd;
    background-color: #fff;
}
.highlight {
    background-color: black;
    border: 1px solid #fff;
}
.scrollbar::-webkit-scrollbar-track,
.wysibb-toolbar::-webkit-scrollbar-track,
select::-webkit-scrollbar-track {
    background-color: #e3e3e3;
}

.scrollbar::-webkit-scrollbar,
.wysibb-toolbar::-webkit-scrollbar,
select::-webkit-scrollbar {
    width: 10px;
    background-color: #e3e3e3;
}

.scrollbar::-webkit-scrollbar-thumb,
.wysibb-toolbar::-webkit-scrollbar-thumb,
select::-webkit-scrollbar-thumb {
    background-color: #000000;
}

.colorSelectMenu {
    border: 1px solid #dddddd;
    width: fit-content;
    height: fit-content;
    padding: 10px;
    margin: 10px;
    position: absolute;
    background: white;
    color: black;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 2;
}
.containerColorSelect,
.containerFamilySelect {
    width: fit-content;
}
.contentColorSelect {
    display: flex;
}
.carreColorSelect {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
}
.carreColorSelect:hover {
    transform: scale(1.2);
    transition: all 0.2s;
    box-shadow: 0 0 0 1px black;
}
.colorFamilyMenu,
.fontSizeMenu {
    border: 1px solid #dddddd;
    width: fit-content;
    height: fit-content;
    padding: 10px 0 10px 0;
    margin: 10px;
    position: absolute;
    background: white;
    color: black;
    top: 35px;
    /*   left: -40px; */
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 2;
}
.contentFamilySelect {
    display: grid;
}
.contentFamilySelect button,
.contentSizeSelect button {
    text-align: left;
    color: black;
    background: none;
    outline: none;
    border: none;
    position: relative;
    white-space: nowrap;
    height: 25px;
    margin: 0;
}
.contentFamilySelect button:hover,
.contentSizeSelect button:hover,
.contentSizeSelect button:hover {
    background: #f5f5f5;
}
.containerSizeSelect {
    width: fit-content;
}
.contentSizeSelect {
    display: grid;
}
.contentSizeSelect button {
    background: none;
    outline: none;
    border: none;
    width: 100px;
    height: 25px;
    font-size: 16px;
}
.linkModal,
.imageModal {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 2;
    background: white;
    color: black;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 200px;
    height: auto;
    padding: 10px;
    border: 1px solid #dddddd;
}
.linkModal input,
.imageModal input {
    border-radius: inherit;
    border: 1px solid black;
    padding: 5px;
    outline: none;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.linkModal label,
.imageModal label {
    width: 100%;
    height: auto;
}
.linkModal button,
.imageModal button {
    border-radius: inherit;
    border: none;
    background: black;
    color: white;
    width: 70px;
    padding: 5px;
    margin: 5px;
    cursor: pointer;
}

.convertBbcode, .convertHtml{
    border-radius: inherit;
    border: none;
    background: black;
    color: white;
    width: fit-content;
    padding: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    white-space: nowrap;
}

#bbcode, #html{
    border: 1px solid black;
    min-height: 10px;
    padding: 20px;
    display: grid;
}