/* ===== OL - UL ===== */

.group-order-list {
    position: relative !important;
    display: table !important;
    width: 100% !important;
}

.group-order-list>.order,
.group-order-list>.text {
    position: relative !important;
    display: table-cell;
    vertical-align: top;
}

.group-order-list>.text {
    width: calc(100% - 45px);
}

.group-order-list>.order {
    width: 45px;
}

.group-order-list>.order .num {
    position: relative;
}

#editor ol,
#editor ul,
#editor ol > li,
#editor ul > li {
    position: relative;
}

#editor ol,
#editor ul,
ol.style-customize,
ol.style-customize ol,
ol.style-customize li,
ul.style-customize,
ul.style-customize ul,
ul.style-customize li {
    position: relative;
    margin: 0;
    padding: 0;
}

ol.style-customize,
ul.style-customize {
    margin: 30px 0;
}

#editor ol,
#editor ul {
    margin: 0 !important;
}

/* --- counter float --- */

ol.style-counters-float {
    list-style-type: none;
    counter-reset: item;
}

ol.style-counters-float,
ol.style-counters-float ol {
    list-style-type: none;
    counter-reset: item;
}

ol.style-counters-float li {
    display: table;
    counter-increment: item;
}

ol.style-counters-float li:before {
    content: counters(item, ".");
}

ol.style-counters-float li+li {
    margin-top: 20px;
}

ol.style-counters-float li li:before {
    content: counters(item, ".") " ";
}

ol.style-counters-float>li:before {
    display: none !important;
    content: "";
    padding: 0;
}


/* counters int  */

#editor ol,
ol.style-counters-int {
    list-style-type: none;
    counter-reset: item !important;
}
#editor ol > li,
ol.style-counters-int>li {
    counter-increment: item !important;
    padding-left: 45px;
}

#editor ol > li+li,
ol.style-counters-int li+li {
    margin-top: 20px;
}

#editor ol > li:before,
ol.style-counters-int>li:before {
    content: counter(item) !important;
}

/* style dot */
#editor ul,
ul.style-dot {
    list-style-type: none;
}

#editor ul > li+li,
ul.style-dot>li+li {
    margin-top: 10px !important;
}

#editor ul > li:before,
ul.style-dot>li:before {
    content: "" !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 100% !important;
    top: 8px !important;
}

#editor ul > li,
ul.style-dot>li {
    padding-left: 15px !important;
}

/* clear distant */
ol.clear-distant li+li,
ul.clear-distant li+li {
    margin-top: 0 !important;
}

ul.inline {
    display: table;
    width: 100%;
}

ul.inline>li {
    display: inline-block;
    float: left;
    padding-right: 20px;
    max-width: 100%;
    width: 250px;
}

ul.inline>li+li {
    margin: 0 !important;
}

/* ---- style --- */

/* none style */
.none-style {}

.none-style>li {
    padding: 0 !important;
    margin: 0 !important;
}

.none-style>li:before {
    background: none !important;
    content: "" !important;
    border: none !important;
    top: auto !important;
    left: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}

/* bg circle */

#editor ol>li,
#editor ul>li,
.style-customize.bg-circle ol>li {
    padding-left: 40px;
}

#editor ol>li:before,
#editor ul>li:before,
.style-customize.bg-circle li:before,
.group-order-list.order-circle>.order>.num {
    position: absolute;
    display: block;
    top: -4px;
    left: 0;
    font-size: 13px;
    line-height: 30px;
    font-weight: 400;
    letter-spacing: 0.5px;
    width: 30px;
    height: 30px;
    padding-top: 0;
    border-radius: 100%;
    text-align: center;
}

/* color blue  */
.style-customize.color-blue li:before {
    background-color: rgba(0, 162, 228, 1);
    color: rgba(255, 255, 255, 1);
}

.style-customize.color-blue>li:before,
.group-order-list.color-blue>.order>.num {
    background-color: rgba(0, 162, 228, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
}

/* color light blue  */
.style-customize.color-light-blue li:before {
    background-color: rgba(0, 162, 228, 0.2);
    color: rgba(0, 162, 228, 1);
}

.style-customize.color-light-blue>li:before,
.group-order-list.color-light-blue>.order>.num {
    background-color: rgba(0, 162, 228, 0.2) !important;
    color: rgba(0, 162, 228, 1) !important;
}

/* color green  */
.style-customize.color-green li:before {
    background-color: rgba(0, 167, 79, 1);
    color: rgba(255, 255, 255, 1);
}

.style-customize.color-green>li:before,
.group-order-list.color-green>.order>.num {
    background-color: rgba(0, 167, 79, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
}

/* color light green  */
.style-customize.color-light-green li:before {
    background-color: rgba(0, 167, 79, 0.2);
    color: rgba(0, 167, 79, 1);
}

.style-customize.color-light-green>li:before,
.group-order-list.color-light-green>.order>.num {
    background-color: rgba(0, 167, 79, 0.2) !important;
    color: rgba(0, 167, 79, 1) !important;
}

/* color black  */
#editor ol>li:before,
#editor ul>li:before,
.style-customize.color-black li:before {
    background-color: rgba(20, 20, 20, 1);
    color: rgba(255, 255, 255, 1);
}

.style-customize.color-black>li:before,
.group-order-list.color-black>.order>.num {
    background-color: rgba(50, 50, 50, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
}

/* color gray  */
.style-customize.color-gray li:before {
    background-color: rgba(50, 50, 50, 0.5);
    color: rgba(0, 0, 0, 1);
}

.style-customize.color-gray>li:before,
.group-order-list.color-gray>.order>.num {
    background-color: rgba(50, 50, 50, 0.5) !important;
    color: rgba(0, 0, 0, 1) !important;
}
