.editor-content .cl-text-left {
    text-align: left;
}
.editor-content .cl-text-center {
    text-align: center;
}
.editor-content .cl-text-right {
    text-align: right;
}
.editor-content .cl-text-justify {
    text-align: justify;
}
/* INLINE-CODE */
.editor-content .inline-code {
    border: var(--border);
    border-radius: 6px;
    margin: 0 2px;
    background: black;
    font-size: 14px;
    padding: 0 4px;
    color: var(--color-dark);
    font-weight: 700;
}
.editor-content mark {
    border-radius: var(--border-radius);
    padding: 1px 4px;
    margin: 0 1px;
}
/* IMAGE */
.editor-content .editor-image {
    text-align: center;
    border-radius: var(--border-radius);
    margin: 20px 0;
    border: var(--border);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--dark);
    padding: 15px 0;
}
.editor-content .editor-image img {
    max-width: 100%;
    /* width: 100%; */
    border-radius: var(--border-radius);
}
.editor-content .editor-image-stretched img {
    width: 100%;
}
.editor-content .editor-image-withBackground {
    background: #fafafa;
    padding: 20px;
}
.editor-content .editor-image-withBorder {
    border-radius: var(--border-radius);
    border: var(--border);
}
.editor-content .editor-image .editor-caption {
    font-size: 12px;
    line-height: 12px;
}
/* LIST */
.editor-content .editor-list ul {
    list-style: disc;
    padding-left: 18px;
    margin-bottom: 20px;
}
.editor-content .editor-list ul.editor-list-ordered,
.editor-content .editor-list ul.editor-list-ordered ul {
    list-style: decimal;
}
.editor-content .editor-list ul li ul {
    padding-left: 20px;
}
/* QUOTE */
.editor-content .editor-quote blockquote:before,
.editor-content .editor-quote blockquote:after {
    content: '"';
    font-size: 50px;
    position: absolute;
    line-height: 50px;
    color: var(--color);
}
.editor-content .editor-quote blockquote:before {
    top: -10px;
    left: 10px;
}
.editor-content .editor-quote blockquote:after {
    line-height: 50px;
    bottom: -42px;
    right: 10px;
}
.editor-content .editor-quote blockquote {
    border: var(--border);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 20px;
    position: relative;
    font-style: italic;
    padding-bottom: 37px;
}
.editor-content .editor-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    float: right;
    margin-right: 10px;
    position: absolute;
    right: 10px;
    bottom: 10px;
}
/* WARNING */
.editor-content .editor-warning {
    border: var(--border);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    background: var(--color2-dark);
    margin: 15px 0;
    color: white;
}
.editor-content .editor-warning .editor-title {
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--color);
    font-size: 19px;
    line-height: 19px;
}
/* CODE */
.editor-content .editor-code pre {
    margin: 0;
}

.editor-code .code-toolbar{
    position:relative;
}
.editor-content .toolbar{position: absolute;bottom: -12px;right: 10px;}

.editor-content .toolbar button{
    border: var(--border);
    background: black;
    color: white;
    line-height: 25px;
    padding: 0 9px;
    border-radius: 12px;
    cursor: pointer;
}
.editor-content .toolbar button:hover{
    color:var(--color);
}

.editor-content .editor-code code {
    border: var(--border);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 20px;
    display: block;
    background: var(--darker);
}
/* LINK */
.editor-content .editor-link {
    border: var(--border);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    /* background: var(--color-lighter); */
    margin-bottom: 20px;
}
.editor-content .editor-link .editor-link-image {
    height: 80px;
    float: right;
}
.editor-content .editor-link .editor-link-image img {
    /* width: 80px; */
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}
.editor-content .editor-link .editor-link-title {
    /* font-size: 18px; */
    font-weight: 800;
    margin-bottom: 5px;
}
.editor-content .editor-link .editor-link-description {
    margin-bottom: 5px;
}
.editor-content .editor-link .editor-link-url {
    font-size: 14px;
    text-decoration: underline;
}
/* TABLE */
.editor-content .editor-table {
    display: grid;
    font-size: 15px;
}
.editor-content .editor-table.editor-table-col-2 {
    grid-template-columns: repeat(2, auto);
    border: var(--border);
    border-radius: var(--border-radius);
    /* padding: 15px 20px; */
    border-bottom: unset;
    border-right: unset;
    overflow: hidden;
}
.editor-content .editor-table.editor-table-col-3 {
    grid-template-columns: repeat(3, auto);
}
.editor-content .editor-table.editor-table-col-4 {
    grid-template-columns: repeat(4, auto)
}
.editor-content .editor-table.editor-table-col-5 {
    grid-template-columns: repeat(5, auto)
}
.editor-content .editor-table.editor-table-col-6 {
    grid-template-columns: repeat(6, auto)
}
.editor-content .editor-table.editor-table-col-7 {
    grid-template-columns: repeat(7, auto)
}
.editor-content .editor-table.editor-table-col-8 {
    grid-template-columns: repeat(8, auto)
}
.editor-content .editor-table.editor-table-col-9 {
    grid-template-columns: repeat(9, auto)
}
.editor-content .editor-table.editor-table-col-10 {
    grid-template-columns: repeat(10, auto)
}
.editor-content .editor-table .editor-table-row {
    border-bottom: var(--border);
    border-right: var(--border);
    border-radius: var(--border);
    padding: 4px 8px;
    font-size: 16px;
    line-height: 19px;
}
.editor-content .editor-table .editor-table-header {
    background: #ebebeb;
    font-weight: 800;
    padding: 8px;
}
/* EMBED */
.editor-content .editor-embed {
    border: var(--border);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    text-align: center;
    margin: 20px 0;
}
.editor-content .editor-embed iframe {
    width: 100%;
    height: 100%;
    text-align: center;
    max-width: 100%;
}
.editor-content .editor-embed .editor-embed-caption {
    font-size: 13px;
    line-height: 13px;
    margin-top: 5px;
}
/* BUTTON */
.editor-content .editor-button {
    text-align: center;
    margin: 20px 0;
}
/* GALLERY */
.editor-content .editor-gallery {
    margin: 20px 0;
}
.editor-content .editor-gallery.editor-gallery-fit .editor-gallery-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 5px;
    /* border: var(--border); */
    /* border-radius: var(--border-radius); */
    /* padding: 10px; */
    /* background: var(--darker); */
}
.editor-content .editor-gallery.editor-gallery-fit.editor-gallery-3 {
    grid-template-columns: repeat(3, 1fr);
}
.editor-content .editor-gallery.editor-gallery-fit.editor-gallery-2 {
    grid-template-columns: repeat(2, 1fr);
}
.editor-content .editor-gallery.editor-gallery-fit.editor-gallery-1 {
    grid-template-columns: repeat(1, 1fr);
}
.editor-content .editor-gallery.editor-gallery-fit .editor-gallery-item {
    text-align: center;
    border: var(--border);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--dark);
    padding: 5px 10px;
    /* height: 239px; */
}
.editor-content .editor-gallery .editor-gallery-item img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    overflow: hidden;
    border-radius: var(--border-radius);
    object-fit: contain;
}
.editor-content .editor-gallery.editor-gallery-slider {
    height: 500px;
    position: relative;
    padding: 0;
    border: var(--border);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--dark);
}
.editor-content .editor-gallery.editor-gallery-slider .editor-gallery-nav-prev,
.editor-content .editor-gallery.editor-gallery-slider .editor-gallery-nav-next {
    position: absolute;
    z-index: 3;
    top: 205px;
    font-size: 46px;
    cursor: pointer;
    line-height: 46px;
    padding: 20px;
}
.editor-content .editor-gallery.editor-gallery-slider .editor-gallery-nav-prev img,
.editor-content .editor-gallery.editor-gallery-slider .editor-gallery-nav-next img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.editor-content .editor-gallery.editor-gallery-slider .editor-gallery-nav-prev {
    left: 0;
}
.editor-content .editor-gallery.editor-gallery-slider .editor-gallery-nav-next {
    right: 0;
}
.editor-content .editor-gallery.editor-gallery-slider .editor-gallery-item {
    text-align: center;
    /* padding: 15px 0; */
    height: 100%;
    position: absolute;
    width: 100%;
    opacity: 0;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    visibility: hidden;
}


.editor-content .editor-image a,
.editor-content .editor-gallery a{
    display: block!important;
    padding: 10px!important;
    height: 100%;
    border: unset!important;
}
.editor-content .editor-gallery-page{
    position:absolute;
    right: 0;
    bottom: 5px;
    z-index: 2;
    color: var(--color);
    background: black;
    padding: 4px 8px;
    border-radius: var(--border-radius);
    left: 0;
    width: 100px;
    margin: auto;
}
.editor-content .editor-gallery.editor-gallery-slider .editor-gallery-item.editor-gallery-active {
    visibility: visible;
    opacity: 1;
}
.editor-content .editor-gallery-caption {
    text-align: center;
    font-size: 14px;
    position: relative;
    top: -10px;
    line-height: 14px;
    opacity: 0.5;
}
/* ATTACHES */
.editor-content .editor-attaches {
    border: var(--border);
    border-radius: var(--border-radius);
    margin: 20px 0;
    background: white;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.editor-content .editor-attaches:hover {
    background: var(--color-lighter);
}
.editor-content .editor-attaches a {
    display: block;
    padding: 15px 20px;
}
.editor-content .editor-attaches .editor-attaches-icon {
    display: inline-block;
    vertical-align: top;
    /* background: black; */
    /* color: white; */
    border-radius: var(--border-radius);
    padding: 6px 0;
    margin-right: 20px;
}
.editor-content .editor-attaches .editor-attaches-icon img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}
.editor-content .editor-attaches .editor-attaches-data {
    display: inline-block;
    vertical-align: top;
}
.editor-content .editor-attaches .editor-attaches-name {
    font-weight: 800;
}
.editor-content .editor-attaches .editor-attaches-size {
    font-size: 14px;
    line-height: 14px;
}
@media all and (max-width: 1466px) {}
@media all and (max-width: 1200px) {
    .editor-content .editor-gallery.editor-gallery-fit .editor-gallery-items {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media all and (max-width: 992px) {
    .editor-content .editor-gallery.editor-gallery-fit .editor-gallery-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .editor-content .editor-table {
        font-size: 14px;
    }
    .editor-content .editor-table .editor-table-row {
        padding: 2px 4px;
        font-size: 14px;
    }
}
@media all and (max-width: 768px) {
    .editor-content .editor-table {
        font-size: 12px;
    }
    .editor-content .editor-table .editor-table-row {
        padding: 2px;
    }
    .editor-content .editor-embed {
        padding: 6px;
        margin: 20px 0;
    }
    .editor-content .editor-gallery.editor-gallery-fit .editor-gallery-items {
        grid-template-columns: repeat(1, 1fr);
    }
    .editor-content .editor-gallery.editor-gallery-slider {
        height: 300px;
    }
    .editor-content .editor-gallery.editor-gallery-slider .editor-gallery-nav-prev,
    .editor-content .editor-gallery.editor-gallery-slider .editor-gallery-nav-next {
        top: 120px;
    }
}
@media all and (max-width: 768px) {}
@media all and (max-width: 576px) {}