.a-htmleditor-text[contenteditable="false"] .a-htmleditor-checklist2 li::before {
    opacity: 0.5;
}

.a-htmleditor-checklist2 li::before {
    content: "\f096";
    font-family: 'FontAwesome';
    font-size: 32px;
    vertical-align: middle;
    width: 38px;
    display: inline-block;
    margin-left: -32px;
}

.a-htmleditor-checklist2 li.checked::before {
    content: "\f046";
}

.a-htmleditor-checklist2 li {
    list-style-type: none;
    user-select: none;
    pointer-events: none;
    margin-top: 8px;
    margin-bottom: 8px;
}

.a-htmleditor-container {
    display: flex;
    flex-grow: 1;
    background-color: #F1F1F188;
    height: 0;
    position: relative;
}

.a-htmleditor-inputs {
    display: none;
}

.a-htmleditor-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 8px;
    margin-right: 130px;
}

.a-htmleditor-line {
    display: flex;
}

.a-htmleditor-line > * {
    flex-basis: 0;
    flex-grow: 1;
}

.a-htmleditor {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    overflow-y: auto;
}

.a-htmleditor-toolbar-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-basis: 0;
    min-width: fit-content;
}

.a-htmleditor-toolbar {
    display: flex;
    position: absolute;
    right: 16px;
    top: 8px;
    gap: 4px;
    padding: 4px;
    background-color: white;
    border-radius: 4px;
    border: 1px solid grey;
    transition-duration: 0.1s;
    transition-timing-function: ease-out;
    transition-property: max-width;
    overflow: hidden;
    max-width: 42px;
    max-height: 34px;
    box-sizing: border-box;
    user-select: none;
    z-index: 2;
}

.a-htmleditor-toolbar-editable {
    max-width: 115px;
    max-height: 250px;
}

.a-htmleditor-toolbar-input {
    border: 1px solid silver;
    outline: 0;
    border-radius: 4px;
    padding: 4px 8px;
}

.a-htmleditor-toolbar-link-title {
    text-align: center;
    font-weight: bold;
    margin-top: 4px;
}

.a-htmleditor-toolbar-link-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.a-htmleditor-toolbar-link {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 1px solid silver;
    padding-left: 8px;
    margin-left: 4px;
}

.a-htmleditor-toolbar-button {
    background-color: white;
    outline: 0;
    border-radius: 2px;
    border: 0;
    font-size: 14px;
    padding: 4px 8px;
    min-width: 32px;
    max-width: 32px;
    min-height: 24px;
    max-height: 24px;
    color: #111111;
}

.a-htmleditor-toolbar-button:hover {
    background-color: #cccccc;
}

.a-htmleditor-button-active {
    background-color: #dddddd;
}

.a-htmleditor-text {
    flex-grow: 1;
    font-size: 12px;
    font-family: monospace;
    line-height: 16px;
    color: black;
    
    blockquote {
        font-size: 12px;
    }
}

.a-htmleditor-toolbar-bar {
    border-top: 1px solid silver;
}

.a-htmleditor-image {
    border-radius: 4px;
    object-fit: contain;
    margin: 8px;
}

.a-htmleditor-toolbar-detail-open {
    max-width: 338px;
}

.a-htmleditor-checklist {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.a-htmleditor-checklist-element {
    display: flex;
    gap: 8px;
    align-items: center;
}

.a-htmleditor-checklist-element[data-indent="1"] {
    margin-left: 32px;
}

.a-htmleditor-checklist-element[data-indent="2"] {
    margin-left: 64px;
}

.a-htmleditor-checklist-element[data-indent="3"] {
    margin-left: 96px;
}

.a-htmleditor-checklist-element[data-indent="4"] {
    margin-left: 128px;
}

.a-htmleditor-checklist-element[data-indent="5"] {
    margin-left: 160px;
}

.a-htmleditor-checklist-element[data-indent="6"] {
    margin-left: 192px;
}

.a-htmleditor-checklist-element[data-indent="7"] {
    margin-left: 224px;
}

.a-htmleditor-checklist-element[data-indent="8"] {
    margin-left: 256px;
}

.a-htmleditor-checklist-element-value {
    min-width: 1px;
}

.a-htmleditor-checklist-element-checkbox {
    transform: scale(1.5);
    min-width: 16px;
    cursor: pointer;
}

.a-htmleditor-image-selected {
    border: 3px solid black;
}

.a-htmleditor-toolbar-bar-image {
    gap: 4px;
    border: 3px solid black;
    border-radius: 4px;
    position: absolute;
    background-color: white;
    margin-left: 16px;
    display: none;
    margin-top: -10px;
    padding: 4px;
    margin-right: 16px;
}

.a-htmleditor-editable {
    background-color: white;
}