.nocss-focus:focus-visible{
    outline: unset;
}
#area-view {
     overflow-x: visible;
}

.tool__workarea {
    padding-top: 72px;
}
.content-padding {
    padding-bottom: unset;
}

#sidebar .editor__toolbar__options {
    z-index: 0;
}

.option__tab__select {
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
}

.option__tab__content p {
    padding: 0 16px 4px;
}

.option__panel__content {
    margin: 10px 0;
}
.option__tab__select__item {
    padding: 12px;
    position: relative;
    border: 0;
    flex: 1 1 auto;
    text-align: center;
    cursor: pointer;
    border-right: 1px solid #c4c5c7;
    border-bottom: 1px solid #c4c5c7;
    flex-basis: 50%;
    overflow: hidden;
}

.option__tab__select svg g {
    fill: #aeaeb2;
    margin: auto;
}
.option__panel__content:last-child {
     margin-bottom: unset;
}

.option__btn {
    display: flex;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    width: 240px;
    margin: 8px auto;
    -ms-flex-align: center;
    align-items: center;
    font-size: 14px;
    -ms-flex-pack: start;
    justify-content: flex-start;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .14);
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .14);
    letter-spacing: .3px;
    text-align: center;
    line-height: 18px;
    color: #161616;
    padding: 0;
    overflow: hidden;
    background: #f6f6f8;
    border: none;
}

.option__btn__icon {
    padding: 12px;
    width: 55px;
    -ms-flex: 0 0 55px;
    flex: 0 0 55px;
    height: 100%;
    min-height: 45px;
    background: #e5322d;
}

.option__btn span {
    padding: 12px;
    text-transform: uppercase;
}

.dFlex {
    display: flex;
}

.page {
    margin: 12px;
    position: relative;
}

.page .page__element {
    margin: 0;
}

.file__btn.rotate svg {
    padding-bottom: 1px
}

.file__btn.rotate:hover g, .file__btn.rotate:hover path, .file__btn.rotate:hover polygon, .file__btn.rotate:hover svg {
    fill: #fff
}

.file__btn.remove g, .file__btn.remove path, .file__btn.remove polygon, .file__btn.remove svg {
    fill: #383e45
}

.file__btn.remove:hover g, .file__btn.remove:hover path, .file__btn.remove:hover polygon, .file__btn.remove:hover svg {
    fill: #fff
}

.file__canvas canvas {
    background-color: #fff;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    z-index: 1
}

.file__canvas > div, .file__canvas canvas {
    background-position: 50%;
    background-repeat: no-repeat
}

.option__tab__select__item.watermark{
    padding: 12px 12px 12px 16px ;
    display: flex;
    align-items: center;
    justify-content: center;
}
.option__tab__select__item.watermark .option__image__item__title{
    display: inline-block;
    padding-left: 20px;
    position: relative;
}

/*.option__tab__select__item.watermark .option__image__item__title:before{*/
/*    left: 0;*/
/*    right: 0;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    width: 14px;*/
/*    height: 14px;*/
/*    background-size: 11px;*/
/*    content: "";*/
/*    display: block;*/
/*    position: absolute;*/
/*    color: #fff;*/
/*    border-radius: 100%;*/
/*    text-align: center;*/
/*    line-height: 18px;*/
/*    border: 1px solid #888e8b;*/
/*}*/

.option__tab__select__item.active:not(.watermark):after {
    left: 26px;
    top: 8px;
    transform: none;
    width: 18px;
    height: 18px;
    background-size: 11px;
    content: "";
    display: block;
    position: absolute;
    right: 24px;
    color: #fff;
    background: #4acd86 url(/images/svg/check.svg) no-repeat 50% 65%;
    border-radius: 100%;
    text-align: center;
    line-height: 18px;
    background-size: 11px;
    border: 1px solid #1d9d58;
}

/*.option__tab__select__item.watermark.active .option__image__item__title:before {*/
/*    left: 0;*/
/*    right: 0;*/
/*    top: 50%;*/
/*    width: 14px;*/
/*    height: 14px;*/
/*    transform: translateY(-50%);*/
/*    background-size: 11px;*/
/*    content: "";*/
/*    display: block;*/
/*    position: absolute;*/
/*    color: #fff;*/
/*    background: #4acd86 url(/images/svg/check.svg) no-repeat 50% 65%;*/
/*    border-radius: 100%;*/
/*    text-align: center;*/
/*    line-height: 18px;*/
/*    background-size: 11px;*/
/*    border: 1px solid #1d9d58;*/
/*}*/

.option__tab__select__item.active {
    color: #161616;
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    background: none;
}
/*.option__tab__select__item.watermark.active {*/
/*    color: #161616;*/
/*    border-bottom: 1px solid #c4c5c7;*/
/*    background: none;*/
/*}*/

.option__tab__select__item.active svg g {
    fill: #161616;
}

.option__tab__content {
    display: none;
}
.option__tab__select__item.watermark .option__image__item__title{
    margin-bottom: 0;
    line-height: 16px!important;
}
.option__tab__select__item.active .option__image__item__title{
    color: #161616;
}
.option__tab__content.active {
    display: block;
}

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


#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;
}


.preview-image {
    width: 100%;
}

/*css for custom*/
/*#page-render.custom{*/
/*    padding: 0 40px;*/

/*}*/
.page-canvas {
    position: relative;
    overflow: hidden;
    webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.editor__page .pdf_img {
    pointer-events: none;
    width: 100%;
}
.element-container.canvas-object {
    position: absolute;
    display: -ms-flexbox;
    display: flex;
    touch-action: none;
}
.element-container.canvas-object svg.controls {
    z-index: 1;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -ms-touch-action: none;
    touch-action: none;
    pointer-events: none;
}
.element-container.canvas-object svg.controls.enabled{
    pointer-events: all;
}
.element-container.canvas-object svg.controls.draggable{
    cursor: grab;
}

 .element-container.canvas-object svg.controls .surface-rect {
    fill: rgba(0, 0, 0, 0);
    stroke: #63b5f6;
    shape-rendering: geometricPrecision;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}
 .element-container.canvas-object svg.controls .surface-rect.enabled {
    pointer-events: all;
}

 .element-container.canvas-object svg.controls .surface-rect.visible {
    opacity: 1;
}

.element-container.canvas-object svg.controls .anchor {
    fill: #fff;
    stroke: #2196f3;
    opacity: 0;
    pointer-events: none;
}
.element-container.canvas-object svg.controls .anchor.active {
    fill: #2196f3;
    stroke: #fff;

}

.element-container.canvas-object svg.controls .anchor.enabled {
    pointer-events: all;
}

.element-container.canvas-object svg.controls .anchor.visible {
    opacity: 1;
}

.element-container.canvas-object svg.controls .anchor.cursor-se-resize {
    cursor: se-resize;
}

.element-container.canvas-object svg.controls .anchor.cursor-ne-resize {
    cursor: ne-resize;
}

.element-container.canvas-object svg.controls .anchor.cursor-nw-resize {
    cursor: nw-resize;
}

.element-container.canvas-object svg.rotate_bottom_left{
    cursor: pointer;
}

@media (min-width: 1248px){
    #page-render.custom{
       width: 500px;
    }
}
@media (min-width: 890px) and (max-width: 1248px){
    #page-render.custom{
        width: 452px;
    }
}
.rect_test:before {
   content: "";
    background: url("/images/svg/loadtest.svg");
}
.tool__workarea .editor__toolbar {
    top: 3px;
}

/*radio*/
.custom-checkbox-list{
    display: flex;

}
.custom-checkbox-list .checkbox-item{
    flex: 50%;
    display: flex;
    position: relative;
    align-items: center;
}
.awesome-spectrum{
    padding: 8px 12px 8px 12px !important;
    height: 42px;
    border-radius: 5px;
    border: 1px solid #aeaeb2 !important;
    background: #fff !important;
    vertical-align: top !important;
}

.custom-checkbox-list .checkbox-item:before,
.custom-checkbox-list .checkbox-item.active:before {
    content: "";
    width: 16px;
    height: 16px;
    -ms-flex: 0 0 16px;
    flex: 0 0 16px;
    border: 1px solid #aeaeb2;
    border-radius: 100%;
    background: #fff;
    margin: 0 20px;
    display: block;
}


.custom-checkbox-list .checkbox-item.active:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: 50%;
    left: 23px;
    -ms-flex: 0 0 14px;
    flex: 0 0 10px;
    font-size: 12px;
    line-height: 12px;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    background: #4acd86;
    border-radius: 100%;
}

.form__group.input-watermark{
    display: flex;
}
.form__group.input-watermark .label-watermark{
    width: 100px;
    margin: 12px 0 8px;
    padding: unset;
}
.form__group.input-watermark .right-input{
    flex: 1;
    display: flex;
}
.right-input input.rangeInput{
    width: 60px;
    padding: 0 6px;
}
.right-input input.taskbarInput{
    flex: 1;
    margin-right: 12px;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}


.custom-hover-choose{
    display: flex;
    position: absolute;
    z-index: 1000;
    animation: smooth 0.5s linear;
}

@keyframes smooth {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }

}

.hover-item{
    display: flex;
    align-items: center;
    padding: 6px 4px;
    border: 1px solid #2196f3;
    color: #2196f3;
    font-size: 12px;
    background: #ffffff;
}
select.hover-item.font {

    border-radius: unset;
    padding: 3px 22px 4px 7px;
    background: transparent url("/images/svg/arrow-water.svg") no-repeat right center;
    background-color: #ffffff;
}
select.hover-item.font{
    height: unset;
}
select.hover-item.font:focus-visible{
    outline: none;
}
.hover-item:hover{
    color: #01518d;
    border-color: #0282e5;
}
.hover-item .downMoreIcon path{
overflow: hidden;
    fill:  #2196f3;
}
.hover-item:hover .downMoreIcon path{
    fill: #01518d;
}

.hover-item:hover svg{
    fill: #01518d;
}
.hover-item.opacity:hover svg path{
    stroke: #01518d;
}

.hover-item .hover-item-text{
   margin: 0px 6px;
}
.hover-item .editor__option__content{
    display: block;
    top: 36px;

}
div.hover-item:not(:last-child){
    border-right: unset;
}
.sub_custom-hover-choose{
   position: absolute;
    bottom: calc(-100% - 4px);
    left:0;
    transition: all 0.5s;
}
.opacity .sub_custom-hover-choose input{
    height: unset;
}
.color .sub_custom-hover-choose input{
    width: 50px;
    box-shadow: inset 1px 1px 3px 0 hsla(210, 2%, 49%, .2);
}
.file-preview-image{
    width: 110px;
}
input[name="opacity"],
.hover-item {
    cursor: pointer;
}
.text-content.editing,
.text-content.editing input {
    z-index: 10000;
}
.content_describe .describe_highlight_tool .icon_describe_section img {
    width: 329px;
    height: auto;
    margin-left: 60px;
}
.option__setting {
    margin-top: 4px;
}
.option__setting .option__tab__select__item {
    padding: 18px 28px;
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 50%;
    text-align: center;
    color: #7c7c80;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 4px;
    background: #f4f5f9;
    border-radius: 4px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .1);
    transition: none;
    border: 2px solid rgba(0, 0, 0, 0);
}
.option__tab__select__item.watermark.active svg {
    display: block;
}
.option__tab__select__item.watermark.active svg {
    position: absolute;
    height: 20px;
    width: 20px;
    top: 10px;
    right: 10px;
}
.option__tab__select__item.watermark svg {
    display: none;
}
.option__tab__select__item.watermark svg g {
    fill: #4acd86;
}
.option__tab__select__item.watermark:hover {
    color: #626870;
    border: 2px solid #161616;
}
.option__tab__select__item.watermark .option__image__item__title {
    font-size: 18px;
}
.option__tab__select__item.watermark:hover .option__image__item__title {
    color: #161616;
}
.option__tab__select__item.watermark.active {
    color: #e5322d;
    border: 2px solid #e5322d;
}
.option__tab__select__item.watermark.active .option__image__item__title {
    color: #e5322d;
}
