#page-render {
    justify-content: center;
    padding: 0;
}

#area-view {
    overflow-y: auto;
}

.file-image {
    position: relative;
}

.file-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, .1);
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, .1);
    opacity: .4;
    -webkit-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
    z-index: 0;
}

.file-page:hover {
    border: 1px solid #9999a2;
    transition: all .2s ease-out;
}

.file-preview-image {
    width: 99px;
    height: 140px;
}

.editor__toolbar__option.active {
    background: #f5f5fa;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, .2);
}

.active:after {
    color: #fff;
    border-radius: 100%;
    text-align: center;
    line-height: 18px;
}

.optionPage .active {
    background: rgba(255, 0, 0, .2);
    position: relative;
}

.optionPage .active:after {
    display: block;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #e5322d;
    border: 0;
}

.active:after {
    content: "";
    display: block;
    position: absolute;
    right: 24px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.file-preview-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
}

.file-page {
    margin: 24px;
    width: 198px;
    height: 244px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    align-content: space-around;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0);
    background: #fdfdfd;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, .08);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .08);
}

.active:after {
    color: #fff;
    border-radius: 100%;
    text-align: center;
    line-height: 18px;
}

.optionPage .active {
    background: rgba(255, 0, 0, .2);
    position: relative;
}

.optionPage .active:after {
    display: block;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #e5322d;
    border: 0;
}

.file-bullet {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: #e5322d;
    -webkit-box-shadow: 0 0 8px 2px #fff;
    box-shadow: 0 0 8px 2px #fff;
}

.file-bullet.top-left {
    left: 4px;
    top: 4px;
}

.file-bullet.top-center {
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.file-bullet.top-right {
    top: 4px;
    right: 4px;
}

.file-bullet.bottom-left {
    left: 4px;
    bottom: 7px;
}

.file-bullet.bottom-center {
    left: 50%;
    transform: translateX(-50%);
    bottom: 7px;
}

.file-bullet.bottom-right {
    right: 4px;
    bottom: 7px;
}

.file-bullet.center-left {
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.file-bullet.center-center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.file-bullet.center-right {
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.radio--flex, .radio--flex-center, .radio-list {
    display: -ms-flexbox;
    display: flex;
}

.btnToolbar {
    margin-top: 5px;
    margin-right: 10px;
}

.radio + .radio {
    margin-left: 24px;
}

.form__group + .form__group, .form__group.form__group--spaced {
    margin-top: 8px;
}

.facing_page .parent {
    display: flex;
}

.facing_page .file-page:nth-child(odd) {
    margin: 12px 0 12px 12px;
    border-radius: 8px 0 0 8px;
    align-items: flex-end;
}

.facing_page .file-page:nth-child(even) {
    margin: 12px 12px 12px 0;
    border-radius: 0 8px 8px 0;
    align-items: flex-start;
}

.facing_page .page_odd .file-page:last-child {
    border-radius: 8px;
}

.first_page_is_cover .parent .file-page:nth-child(odd) {
    margin: 12px 0 12px 12px;
    border-radius: 8px 0 0 8px;
    align-items: flex-end;
}

.first_page_is_cover .parent .file-page:nth-child(even) {
    margin: 12px 12px 12px 0;
    border-radius: 0 8px 8px 0;
    align-items: flex-start;
}

.file-bullet {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: #e5322d;
    -webkit-box-shadow: 0 0 8px 2px #fff;
    box-shadow: 0 0 8px 2px #fff;
}

.normal-margin .file-bullet.top-left {
    left: 4px;
    top: 4px;
}

.normal-margin .file-bullet.top-center {
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.normal-margin .file-bullet.top-right {
    top: 4px;
    right: 4px;
}

.normal-margin .file-bullet.bottom-left {
    left: 4px;
    bottom: 7px;
}

.normal-margin .file-bullet.bottom-center {
    left: 50%;
    transform: translateX(-50%);
    bottom: 7px;
}

.normal-margin .file-bullet.bottom-right {
    right: 4px;
    bottom: 7px;
}

.small-margin .file-bullet.top-left {
    left: 0;
    top: 0;
}

.small-margin .file-bullet.top-center {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.small-margin .file-bullet.top-right {
    top: 0;
    right: 0;
}

.small-margin .file-bullet.bottom-left {
    left: 0;
    bottom: 3px;
}

.small-margin .file-bullet.bottom-center {
    left: 50%;
    transform: translateX(-50%);
    bottom: 3px;
}

.small-margin .file-bullet.bottom-right {
    right: 0;
    bottom: 3px;
}

.big-margin .file-bullet.top-left {
    left: 8px;
    top: 8px;
}

.big-margin .file-bullet.top-center {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.big-margin .file-bullet.top-right {
    top: 8px;
    right: 8px;
}

.big-margin .file-bullet.bottom-left {
    left: 8px;
    bottom: 11px;
}

.big-margin .file-bullet.bottom-center {
    left: 50%;
    transform: translateX(-50%);
    bottom: 11px;
}

.big-margin .file-bullet.bottom-right {
    right: 8px;
    bottom: 11px;
}

.facing_page.normal-margin .parent .file-page:first-child .file-bullet.top-left {
    left: inherit;
    right: 4px;
}

.facing_page.normal-margin .parent .file-page:first-child .file-bullet.top-right {
    left: 4px;
}

.facing_page.normal-margin .parent .file-page:first-child .file-bullet.bottom-left {
    left: inherit;
    right: 4px;
}

.facing_page.normal-margin .parent .file-page:first-child .file-bullet.bottom-right {
    left: 4px;
}

.facing_page.small-margin .parent .file-page:first-child .file-bullet.top-left {
    left: inherit;
    right: 0;
}

.facing_page.small-margin .parent .file-page:first-child .file-bullet.top-right {
    left: 0;
}

.facing_page.small-margin .parent .file-page:first-child .file-bullet.bottom-left {
    left: inherit;
    right: 0;
}

.facing_page.small-margin .parent .file-page:first-child .file-bullet.bottom-right {
    left: 0;
}

.facing_page.big-margin .parent .file-page:first-child .file-bullet.top-left {
    left: inherit;
    right: 8px;
}

.facing_page.big-margin .parent .file-page:first-child .file-bullet.top-right {
    left: 8px;
}

.facing_page.big-margin .parent .file-page:first-child .file-bullet.bottom-left {
    left: inherit;
    right: 8px;
}

.facing_page.big-margin .parent .file-page:first-child .file-bullet.bottom-right {
    left: 8px;
}

@media (max-width: 1280px) {
    .facing_page .parent .file-page:nth-child(odd) {
        margin: 16px 4px 16px 16px;
    }

    .facing_page .parent .file-page:nth-child(even) {
        margin: 16px 16px 16px 4px;
    }

    .facing_page .parent .file-preview-container {
        max-width: 500px;
    }

    .image-unlock:hover {
        cursor: pointer;
    }

    .first_page_is_cover .parent .file-page:nth-child(odd) {
        margin: 16px 4px 16px 16px;
    }

    .first_page_is_cover .parent .file-page:nth-child(even) {
        margin: 16px 16px 16px 4px;
    }
}

/*//thêm mới*/

.sidebar-inactive.inactive {
    display: flex;
}

#area-view {
    position: relative;
}

#preview-content {
    position: absolute;
    left: 50%;
    margin-top: -24px;
    transform: translateX(-50%);
    z-index: 999;
    width: 100%;
    height: 100%;
    background: rgba(202, 204, 206, 0.4);
}

#preview-content .preview-content-p {
    margin-top: 130px;
}

.editor__toolbar__option .active, .btnToolbar:hover {
    cursor: pointer;
}

.first_page_is_cover .file-page:first-child, .first_page_is_cover .parent .file-page.is_last_page {
    border-radius: 8px;
    margin: 16px;
    align-items: center;
}

.moreInfo {
    display: flex;
}

.moreInfo svg {
    margin: 16px 5px;
}

.unlock {
    width: 20px;
    height: 24px;
}

.unlock img {
    margin-bottom: 8px;
}
.font_size{
    left: -35px!important;
}
/*.theme_color{*/
/*    top: -260px!important;*/
/*    left: -35px!important;*/
/*}*/
#textFormat {
    cursor: pointer;
}
.font-family {
    top: -10px!important;
    left: -20px!important;
}
#sidebar .editor__toolbar__options {
    margin-top: 0;
}
.option__panel p {
    margin-bottom: 20px;
    margin-top: 10px;
}
.editor__option__content {
    margin-bottom: 10px;
}
.option__panel__content:last-child {
    margin-bottom: 10px;
}
.option__panel {
    padding-bottom: 155px;
}
.btn-order {
    display: none;
}
