﻿.ck-content {
    word-break: break-word;
    min-height: 100px;
}

.ck.ck-editor {
    max-height: 400px;
    overflow: hidden;
    width: 100%;
    max-width: 90vw;
}
.ck.ck-content {
	padding: 0 15px 0 10px !important;
}

.ck-source-editing-area {
    text-align: left;
    direction: ltr;
}

    .ck-source-editing-area textarea, .ck .ck-content {
        max-height: 300px;
        overflow: auto;
    }

/* Overflow */
.ck-body-wrapper {
    /*display: none;*/
}
/* برای بولد */
.ck-content strong, .ck-content b {
    font-weight: bold !important;
    font-family: inherit !important;
    font-size: inherit !important;
}

/* برای ایتالیک */
.ck-content em, .ck-content i {
    font-style: italic !important;
    font-family: inherit !important;
    font-size: inherit !important;
}

/* برای زیرخط دار */
.ck-content u {
    text-decoration: underline !important;
    font-family: inherit !important;
    font-size: inherit !important;
}

/* برای خط خورده */
.ck-content s, .ck-content strike {
    text-decoration: line-through !important;
    font-family: inherit !important;
    font-size: inherit !important;
}

/* برای پایین‌نویس و بالا‌نویس */
.ck-content sub, .ck-content sup {
    font-family: inherit !important;
    font-size: 75% !important;
    line-height: normal !important;
}

#Content_Form strong {
    font-size: inherit;
}

/*File Manager Modal*/
.fm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .fm-modal iframe {
        background: white;
        width: 90%;
        height: 90%;
        border: none;
        border-radius: 5px;
        box-shadow: 0 0 15px rgba(0,0,0,0.5);
    }

.fm-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
}
.ck-source-editing-area {
	font-size: 14px;
}

.image {
    margin: auto;
    width: fit-content;
}

.image-style-block-align-right {
    margin-right: 0;
    margin-left: auto;
}

.image-style-block-align-left {
    margin-left: 0;
    margin-right: auto;
}


.image-style-align-center {
    margin-left: auto;
    margin-right: auto;
}

.custom-video {
    max-width: 100%;
    height: auto;
    display: block !important;
    margin: 0 auto;
}

.video-left {
    display: block;
    margin: 0 auto 0 0;
}

.video-center {
    display: block;
    margin: 0 auto;
}

.video-right {
    display: block;
    margin: 0 0 0 auto;
}

.image_resized img {
    width: 100%;
    height: auto;
}

.ck.ck-widget__selection-handle {
    height: auto !important;
}