#offline-mode{
    background-color: rgb(255 255 255 / 0.8);
    height: 100%;
    left: 0;
    top: 0;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 100000;
}

#offline-mode-wrapper{
    background-color: #30a473;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 25px 0;
    max-width: 500px;
    margin: 0 auto 0 auto;
}

#offline-mode span{
    color: white;
    font-weight: 700;
    margin-left: 10px;
}

.tox-frase_editor {
    background-color: white;
    visibility: visible !important;
    left: 0 !important;
    top: 44px !important;
    position: fixed !important;
    border-bottom: 1px solid rgb(0 0 0 / 10%) !important;
    border-top: 1px solid rgb(0 0 0 / 10%) !important;
    z-index: 9;
}

.tox-editor-header{
    max-width: 100% !important;
}

.tox .tox-toolbar, .tox .tox-toolbar__overflow, .tox .tox-toolbar__primary{
    background: none !important;
}

.tox-frase_editor-inline .tox-editor-header {
    border: none !important;
    box-shadow: none !important;
}

.tox .tox-menu.tox-collection.tox-collection--list {
    margin-bottom: 10px !important;
}

.tox-frase_editor .tox-toolbar__group:not(:last-of-type) {
    border-right: none !important;
}

.tox-frase_editor-aux .tox-toolbar__group:not(:last-of-type){
    border-right: 1px solid rgb(0 0 0 / 6%) !important;
}

.tox .tox-toolbar__group{
    background-color: white;
}

.tox-icon svg{
    opacity: 0.7 !important;
}

.tox-icon svg:hover{
    opacity: 1 !important;
}

.tox .tox-collection__item-label, .tox .tox-tbtn__select-label{
    font-size: 12px !important;
}

.tox-frase_editor-aux {
    z-index: 999999 !important;
}

.tox .tox-dialog{
    border-color: rgb(0 0 0 / 0.1);
}

.tox-form__group{
    margin-bottom: 15px;
}

.tox .tox-dialog__footer{
    border-top: 1px solid rgb(0 0 0 / 0.1);
}

.tox-top{
    max-width: 600px !important;
}

#editor{
    background-color: white;
}

#editor.passive{
    opacity: 0.2;
}

.sortable-item{
    position: relative;
    background-color: white;
    border: 2px dotted rgb(0 0 0 / 10%);
    border-radius: 3px;
    cursor: move;
    margin: 10px 0;
    padding: 20px 18px;
}

.sortable-item a {
    text-decoration: underline;
}

.sortable-item img, .sortable-item iframe{
    max-width: 100%;
}

.sortable-item-placeholder{
    position: relative;
    background-color: #f3f5f8;
    border: 2px dotted rgb(0 0 0 / 10%);
    border-radius: 3px;
    cursor: move;
    margin: 8px 0;
    padding: 30px 10px;
}

.sortable-item div *{
    margin: 0;
    font-size: 15px;
    padding-left: 0 !important;
}

.sortable-item .fa-angle-left, .sortable-item .fa-angle-right{
    position: absolute;
    top: -10px;
    left: -8px;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 300em;
    padding: 3px 3px;
    font-size: 10px;
    font-weight: 600;
    background-color: white;
    min-width: 10px;
    display: inline-block;
    text-align: center;
}

.sortable-item .fa-angle-right{
    left: 11px;
}

.sortable-item .tag-name{
    position: absolute;
    top: -8px;
    right: 18px;
    border: 1px solid rgb(0 0 0 / 10%);
    padding: 3px 3px;
    font-size: 10px;
    font-weight: 600;
    background-color: white;
    min-width: 14px;
    display: inline-block;
    text-align: center;
}

.sortable-item .fa-times{
    position: absolute;
    top: -8px;
    right: -10px;
    border-radius: 300em;
    border: 1px solid rgb(0 0 0 / 10%);
    padding: 4px 3px 5px 3px;
    font-size: 10px;
    font-weight: 600;
    background-color: white;
    width: 14px;
    display: inline-block;
    text-align: center;
    color: #f05c5c;
}

.dragging i{
    display: none;
}

#document-subview{
    position: relative;
}

#document-nav-bar{
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 41px;
    left: 0;
    position: fixed;
    top: 0;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    transition: all 0.5s ease-in-out;
    z-index: 10;
}

#document-nav-bar.fullscreen, #editor-container.fullscreen{
    width: 100% !important;
}

#document-nav-bar.hide{
    -webkit-transform: translate(0, -100%);
    transform: translate(0, -100%);
    transition: all 0.5s ease-in-out;
}

#editor-tabs{
    background-color: white;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    margin: 0 auto 0px auto;
    left: 0;
    font-size: 13px;
    position: fixed;
    top: 0;
    z-index: 10;
}

#editor-tabs .tab{
    border-left: 1px solid rgb(0 0 0 / 10%);
    padding: 15px 17px 14px 17px;
    display: inline-block;
    margin: 0;
    font-size: 12px;
    text-transform: capitalize;
    text-align: center;
    position: relative;
    min-width: 60px;
}

#editor-tabs .tab.active{
    background-color: white;
    opacity: 1;
    font-weight: 600;
}

#editor-tabs .fa-plus{
    opacity: 0.5;
    font-size: 11px;
}

#editor-tabs .tab-input input{
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 3px;
    background-color: white;
    font-size: 12px;
    margin-right: 4px;
    padding: 8px 8px 8px 8px;
    width: 100px;
}

#editor-tabs .tab .fa-times{
    font-size: 11px;
    position: absolute;
    top: -2px;
    right: 0;
    background-color: white;
    padding: 2px 3px;
    border: 1px solid rgb(0 0 0 / 10%);
}

#editor-tabs .tab:hover {
    opacity: 1 !important;
}

#editor-top-shortcuts{
    opacity: 0.7;
}

#word-count{
    left: 8px;
    position: fixed;
    bottom: 10px;
    font-size: 14px;
}

#selection-word-count{
    left: 8px;
    position: fixed;
    bottom: 60px;
    font-size: 14px;
}

#serp-diff-scores{
    border: none;
    box-shadow: none;
    position: fixed;
    top: 95px;
    right: 464px;
}

#serp-diff-scores a{
    border-radius: 300em;
    font-weight: 600;
    min-width: 15px;
    padding: 9px 10px;
    display: inline-block;
    text-align: center;
}

#serp-diff-scores a:hover{
    opacity: 1;
}

#editor.fullscreen #serp-diff-scores{
    right: 20px;
}

.expanded .right-panel-width, .expanded .right-panel-submenu, .expanded .right-panel #loader{
    width: 45%;
}

.expanded #editor-container{
    margin-left: -71px !important;
    width: 55% !important;
}

.expanded #editor-container-views{
    max-width: 65% !important;
}

.medium-insert-buttons-addons li:nth-child(3) {
    display: none !important;
}

.medium-editor-insert-plugin .medium-insert-buttons .medium-insert-buttons-addons li a {
    color: black;
}

.medium-editor-insert-plugin .medium-insert-buttons .medium-insert-buttons-show {
    background-color: transparent !important;
}

.medium-editor-toolbar li .medium-editor-button-active {
    background: rgba(0, 0, 0, 0.2);
}

.medium-insert-images .medium-insert-images-progress, .mediumInsert .medium-insert-images-progress {
    display: none;
}

.medium-insert-buttons-show {
    text-decoration: none !important;
}

.medium-insert-buttons-show, .medium-editor-insert-plugin .medium-insert-buttons .medium-insert-buttons-addons li a {
    font-weight: 100;
    font-size: 24px;
    opacity: 0.4;
}

.fp__btn {
    background-color: transparent !important;
    color: transparent !important;
    display: none;
}

#editor-container {
    background-color: white;
    height: 100vh !important;
    outline: none;
    padding: 0;
    position: relative;
    overflow-x: auto;
    overflow-y: scroll;
}

#editor-container #loader{
    background-color: rgb(255 255 255 / 90%);
}

#editor.fullscreen #editor-container{
    width: 100% !important;
}

.ai-loading *{
    cursor: wait !important;
}

.ai-loading #editor-container-editable{
    pointer-events: none;
    opacity: 0.7;
}

.ai-loading .tox-frase_editor, .ai-loading .tox-frase_editor-aux, .ai-loading #editor-tabs,
.ai-loading #word-count, .ai-loading #editor-top-shortcuts, .ai-loading #serp-diff-scores{
    display: none !important;
    visibility: hidden !important;
}

#editor-ai-button{
    border: none;
    box-shadow: none;
    position: fixed;
    bottom: 12px;
    right: 464px;
}

#editor-ai-button a{
    border: 1px solid #31a472;
    border-radius: 25px;
    padding: 10px 14px;
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
}

#editor-ai-button a:hover{
    background-color: #31a472 !important;
    color: white !important;
}

#editor.fullscreen #editor-ai-button{
    right: 20px;
}

#editor-ai-menu{
    bottom: 0;
    position: fixed;
    z-index: 90;
}

#editor-ai-loader, #editor-ai-outputs{
    background-color: white;
    border-top: 1px dotted rgb(0 0 0 / 10%);
    padding: 12px 0;
    text-align: center;
}

#editor-ai-outputs{
    padding: 0;
    text-align: left;
}

#editor-ai-loader span{
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
}

#editor-ai-loader .wave {
    background-color: white;
    margin-top: 0;
}

.tox .tox-pop.tox-pop--left::after, .tox .tox-pop.tox-pop--left::before{
    display: none;
}

.tox .tox-pop.tox-pop--left {
    margin-left: -75px;
}

.tox .tox-tbtn--select {
    padding: 0;
}

#editor-container-views{
    width: 750px;
    max-width: 70%;
    margin: 85px auto 200px auto;
    background-color: white;
    padding: 25px 25px;
    position: relative;
    border-radius: 3px;
}

#editor-container-views-wrapper.ai-template{
    border-radius: 3px;
    border: 1px solid rgb(0 0 0 / 10%);
    min-height: 400px;
    background-color: #f3f5f8;
    padding: 25px 25px;
}

#public-document{
    background-color: #f3f5f8;
    height: 100%;
    width: 100%;
    position: absolute;
}

#title, #text-body{
    max-width: 750px;
    margin: 10px auto 10px auto;
}

#text-body *{
    min-height: 24px;
}

#text-body *::selection{
    background-color: #80ffc866;
}

.frase_editor-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{
    top: 2px !important;
    width: 100vh;
}

.editable-container:first-letter{
    text-transform: uppercase;
}

.editable-container p, .editable-container li, .editable-container td{
    color: #354254;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 15px 0;
    outline: none;
}

.editable-container ul{
    margin: 12px 0;
    padding: 0 20px;
}

.tox-checklist {
    padding: 0 25px !important;
}

.editable-container table, .sortable-item table{
    border-collapse: collapse;
    margin: 12px 0;
    width: 100% !important;
}

.editable-container table td, .sortable-item table td {
    padding: 7px;
    border: 1px solid rgb(0 0 0 / 0.2);
}

.editable-container .ent{
    background-color: #ffffbc;
    cursor: pointer;
}

.editable-container .ent.completed {
    background-color: transparent !important;
    border-bottom: 3px solid #0ea473;
}

.editable-container .ent.completed:hover {
    background-color: rgb(0 128 0 / 20%) !important;
}

.editable-container .ent.overuse {
    background-color: transparent !important;
    border-bottom: 3px solid #e77373;
}

.editable-container .ent.overuse:hover {
    background-color: rgb(255 47 0 / 20%) !important;
}

.editable-container .ent.in_progress {
    background-color: transparent !important;
    border-bottom: 3px solid #eba526;
}

.editable-container .ent.in_progress:hover {
    background-color: rgb(235 165 38 / 20%) !important;
}

.editable-container .active{
    background-color: #40fcbf;
}

.editable-container a{
    text-decoration: underline;
}

.editable-container h1{
    font-size: 30px;
    font-weight: 500;
}

.editable-container h2{
    font-size: 23px;
    font-weight: 500;
    margin: 14px 0;
}

.editable-container h3{
    font-size: 20px;
    font-weight: 500;
    margin: 14px 0;
}

.editable-container h4{
    font-size: 17px;
    font-weight: 500;
    margin: 14px 0;
}

.editable-container h5{
    font-size: 16px;
    font-weight: 500;
    margin: 14px 0;
}

.editable-container img, .editable-container iframe{
    max-width: 100%;
}

.editable-container p [contentEditable=true]:empty:not(:focus):before{
    content: attr(data-placeholder) !important;
}

#editor-container-sortable{
    margin-top: 20px;
}

#title {
    border: none;
    background-color: transparent;
    color: #354254;
    display: inline-block;
    font-size: 30px;
    font-weight: 500;
    min-height: 30px;
    outline: none;
}

#title[placeholder]:empty:before {
    content: attr(placeholder);
    color: #868d96;
}

.fav-embed-pic {
    background-position: 50% 50%;
    background-size: cover;
    height: 200px;
    margin: 15px 0;
    width: 300px;
}

.medium-editor-toolbar i {
    color: white;
}


#editor-left-drawer{
    background-color: #f3f5f8;
    border-right: 1px solid rgb(0 0 0 / 10%);
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 200px;
    z-index: 10;
    transform: translateX(-300px);
    transition: transform 1s;
}

#editor-left-drawer.open{
    transform: translateX(0);
    transition: transform 1s;
}

#editor-left-drawer-wrapper{
    padding: 5px 0;
}

#editor-left-drawer .drawer-section{
    padding: 15px 12px;
    font-size: 14px;
}

#editor-left-drawer .drawer-section .fas, #editor-left-drawer .drawer-section .far{
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

#editor-template-import{
    background-color: rgba(47, 53, 62, 0.86);
    height: 100%;
    width: 100%;
    position: fixed;
    overflow-y: auto;
    left: 0;
    top: 0;
    z-index: 10000000;
}

#editor-template-import-wrapper{
    background-color: #f7f8fa;
    margin: 30px auto 50px auto;
    width: 80%;
    max-width: 1200px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    height: 550px;
    padding: 35px 70px;
    position: relative;
}

#editor-template-list{
    border-right: 1px solid rgb(0 0 0 / 0.1);
    position: absolute;
    font-size: 14px;
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    overflow-y: auto;
}

#editor-template-list::-webkit-scrollbar{
    display: block !important;
    width: 7px;
}

#editor-template-list::-webkit-scrollbar-thumb{
    background-color: #e2e2e2;
    border-radius: 300em;
}

#editor-template-list-wrapper{
    padding: 10px 20px;
}

#editor-template-list li{
    background-color: white;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    margin: 5px 0;
}

#editor-template-list li div{
    border: 1px solid rgb(0 0 0 / 0.1);
    border-radius: 3px;
    padding: 7px 7px;
}

#editor-template-preview{
    position: absolute;
    top: 0;
    left: 30%;
    width: 70%;
    height: 100%;
}

#editor-template-preview-wrapper{
    max-width: 90%;
    margin: 0 auto 0 auto;
    padding: 20px;
}

#editor-template-preview-body{
    background-color: white;
    height: 500px;
    padding: 20px;
    overflow-y: auto;
}

#editor-template-preview-body::-webkit-scrollbar{
    background-color: #f3f5f8;
    display: block !important;
    width: 7px;
}

#editor-template-preview-body::-webkit-scrollbar-thumb{
    background-color: #cdcdcd;
    border-radius: 300em;
}

#editor-content-import{
    background-color: rgba(47, 53, 62, 0.86);
    height: 100%;
    width: 100%;
    position: fixed;
    overflow-y: auto;
    left: 0;
    top: 0;
    z-index: 10000000;
}

#editor-content-import::-webkit-scrollbar{
    background-color: #f3f5f8;
    display: block !important;
    width: 7px;
}

#editor-content-import::-webkit-scrollbar-thumb{
    background-color: #e2e2e2;
    border-radius: 300em;
}

#editor-content-import-wrapper{
    background-color: #f7f8fa;
    margin: 30px auto 50px auto;
    max-width: 800px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 35px 70px;
    position: relative;
}

#editor-content-import-wrapper label{
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    margin: 0 0 10px 0;
    opacity: 0.7;
}

#editor-content-import-wrapper input{
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    background-color: transparent;
    font-size: 15px;
    width: 96%;
    padding: 14px 2%;
}

#editor-content-import-wrapper .fa-times, #editor-template-import .fa-times{
    color: #555;
    cursor: pointer;
    position: absolute;
    font-size: 14px;
    right: 10px;
    top: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 10px;
    border-radius: 300em;
    z-index: 100;
}

#editor-content-import-preview-title::placeholder{
    color: #9baab0;
    font-size: 16px;
    opacity: 1;
}

#editor-content-import-preview-title{
    background-color: white !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    color: #354254;
    font-size: 15px;
    padding: 15px;
}

#editor-content-import-preview-body[placeholder]:empty::before {
    content: attr(placeholder);
    opacity: 0.5;
}

#editor-content-import-preview-body{
    background-color: white;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 3px;
    min-height: 150px;
    max-height: 250px;
    margin-top: 10px;
    overflow-y: auto;
    padding: 20px;
}

#editor-content-import-preview-body::-webkit-scrollbar{
    background-color: #f3f5f8;
    display: block !important;
    width: 7px;
}

#editor-content-import-preview-body::-webkit-scrollbar-thumb{
    background-color: #cdcdcd;
    border-radius: 300em;
}

#editor-content-import .medium-editor-placeholder:after{
    padding: inherit;
}

#public-doc-table-contents {
    position: fixed;
    top: 55px;
    width: 300px;
    max-width: 15%;
    z-index: 10;
    overflow-y: scroll;
    height: 100%;
    margin-bottom: 500px;
}

#public-doc-table-contents ul{
    padding: 0;
    padding-bottom: 200px;
}

#public-doc-table-contents li {
    font-size: 13px;
    margin: 15px 18px;
    list-style: none;
    cursor: pointer;
    opacity: 0.8;
}

#serp-visualizer{
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(47, 53, 62, 0.86);
    z-index: 9999;
    overflow-y: auto;
}

#serp-visualizer-wrapper{
    background-color: white;
    border-radius: 3px;
    padding: 30px 50px;
    margin: 40px auto 100px auto;
    width: 1000px;
    max-width: 90%;
    position: relative;
}

#serp-visualizer-wrapper h2 {
    margin: 0 0 10px 0;
}

#serp-visualizer-wrapper .fa-times{
    position: absolute;
    top: 15px;
    right: 15px;
    border: 1px solid rgb(0 0 0 / 20%);
    border-radius: 300em;
    padding: 6px 8px;
}

#serp-visualizer ul{
    padding: 0;
    margin: 0;
}

#serp-visualizer ul li{
    cursor: pointer;
    display: inline-block;
    list-style: none;
    margin-right: 10px;
    padding: 7px 7px;
    font-size: 13px;
    border-radius: 3px;
    text-transform: capitalize;
    opacity: 0.5;
    background-color: #f3f5f8;
}

#serp-visualizer ul li.active{
    background-color: #f3f5f8;
    color: #0ea473;
    font-weight: 700;
    opacity: 1;
}

#serp-visualizer .chart{
    width: 100%;
    height: 275px;
    margin-top: 40px;
}

#serp-visualizer .ct-target-line {
    stroke: rgb(231 115 115 / 80%);
    stroke-width: 3px;
    stroke-dasharray: 7px;
    shape-rendering: crispEdges;
}

#average-legend{
    border: 1px solid #e77373cc;
    background-color: #e77373cc;
    margin-right: 2px;
    font-weight: 700;
    display: inline-block;
    height: 1px;
    width: 7px;
    margin-bottom: 3px;
}

/*
#serp-visualizer svg.ct-chart-bar, #serp-visualizer svg.ct-chart-line{
    overflow: visible;
}

#serp-visualizer .ct-label.ct-label.ct-horizontal.ct-end {
  position: relative;
  justify-content: flex-end;
  text-align: right;
  transform-origin: 100% 0;
  transform: translate(-100%) rotate(-45deg);
  white-space:nowrap;
}
*/

#editor-image-modal, #editor-takeover, #editor-share-link, #delete-tab{
    background-color: rgba(47, 53, 62, 0.86);
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000000;
}

#editor-image-modal-wrapper, #editor-takeover-wrapper, #editor-share-link-wrapper, #delete-tab-wrapper{
    background-color: #eee;
    margin: 70px auto 0 auto;
    max-width: 600px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 0 20px;
    position: relative;
}

#editor-image-modal .fa-times, #editor-share-link .fa-times, #delete-tab .fa-times{
    color: #555;
    cursor: pointer;
    position: absolute;
    font-size: 18px;
    right: 10px;
    top: 10px;
}

#editor-share-link-wrapper .share-link{
    background-color: white;
    border: 1px solid rgb(0 0 0 / 20%);
    border-radius: 3px;
    padding: 14px 14px;
}

#editor-share-link-wrapper div a{
    font-size: 14px;
}

#editor-share-link-wrapper div i{
    cursor: pointer;
    float: right;
    font-size: 15px;
    opacity: 0.8;
    padding: 2px;
}

#editor-share-link p {
    opacity: 0.7;
    margin: 20px 0 10px 0;
}

#editor-image-modal h1{
    font-size: 18px;
}

#editor-image-search-input{
    margin-left: 0;
    margin-bottom: 30px;
    border: none;
    font-size: 13px;
    width: 100%;
    vertical-align: middle;
    border-radius: 3px;
}

#editor-image-search-input div{
    padding: 8px 5px 8px 5px;
    background-color: #f3f5f8;
    border-radius: 3px;
}

#editor-image-search-input .fa-search{
    font-size: 13px;
    vertical-align: middle;
}

#editor-image-search-input input{
    background-color: #f3f5f8;
    border: none;
    font-size: 13px;
    width: 85%;
    vertical-align: middle;
}

#editor-image-search-results{
    height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

#editor-image-search-results::-webkit-scrollbar{
    background-color: #f3f5f8;
    display: block !important;
    width: 7px;
}

#editor-image-search-results::-webkit-scrollbar-thumb{
    background-color: #e2e2e2;
    border-radius: 300em;
}

#editor-image-search-results div{
    cursor: pointer;
    display: inline-block;
    margin-bottom: 10px;
    width: 98%;
    vertical-align: top;
}

#editor-image-search-results img{
    max-width: 100%;
}

/* ai box */

#rewriter-box{
    background-color: white;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 5px;
    box-shadow: 1px 0px 8px 1px rgb(0 0 0 / 10%);
    margin: 10px 0;
    position: absolute;
    width: 100%;
    max-width: 750px;
}

#rewriter-box-wrapper{
    padding: 0;
}

#rewriter-box .fa-times{
    border: 1px solid rgb(0 0 0 / 10%);
    background-color: white;
    border-radius: 300em;
    font-size: 12px;
    padding: 4px 0px;
    position: absolute;
    top: -10px;
    right: -10px;
    text-align: center;
    height: auto;
    z-index: 100;
}

#rewriter-box ul {
    margin: 0;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

#rewriter-box-results::-webkit-scrollbar {
    background-color: transparent;
    border-left: 1px solid rgb(0 0 0 / 0.1);
    display: block !important;
    width: 9px;
}

#rewriter-box-results::-webkit-scrollbar-thumb {
    background-color: #e1e1e1;
}

#rewriter-box-results li{
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    font-size: 13px;
    list-style: none;
    margin: 0;
    width: 100%;
    position: relative;
    line-height: 1.4;
}

#rewriter-box-results li i{
    position: absolute;
    top: 12px;
    right: 10px;
}

#rewriter-box-results li:last-child {
    border: none;
}

#rewriter-box-results li div{
    padding: 10px;
}

#rewriter-box-results li span {
    display: inline-block;
    vertical-align: middle;
    padding-right: 5px;
    width: 97%;
}

#rewriter-box-results li .fa{
    float: right;
    font-size: 13px;
    margin: 3px 0;
}

#rewriter-box-header{
    background-color: #f3f5f8;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    position: relative;
    padding: 10px 0;
}

#rewriter-box-creativity{
    margin-left: 12px;
}

#rewriter-box-creativity a{
    font-size: 13px;
    text-transform: capitalize;
    opacity: 0.7;
    margin-right: 10px;
    border-right: 1px solid rgb(0 0 0 / 10%);
    padding-right: 10px;
}

#rewriter-box-creativity a.active{
    font-weight: 700;
    opacity: 1;
}

#rewriter-box-sentences-nav{
    position: absolute;
    right: 14px;
    top: 11px;
}

#rewriter-box-sentences-nav i {
    font-size: 19px;
    margin: 0 6px;
    vertical-align: middle;
    font-size: 13px;
}

#rewriter-box-sentences-nav span {
    vertical-align: middle;
    font-size: 13px;
}

.selected-text{
    background-color: rgb(255 255 0 / 10%);
}

.bold-highlight{
    background-color: rgb(255 255 0 / 30%);
    font-weight: 600;
}

.plagiarism-highlight{
    background-color: #ffcfcf3d;
    border-bottom: 2px solid #febcbc;
}

.plagiarism-highlight:hover{
    background-color: #ffcfcfa6;
}

.originality-highlight{
    background-color: #84f47833;
    border-bottom: 2px solid #76d56c;
}


/* template autocomplete */

#inline-template-widget{
    position: absolute;
    z-index: 9999999;
    background: rgb(255, 255, 255);
    border-radius: 3px;
    box-shadow: rgb(9 30 66 / 31%) 0px 0px 1px, rgb(9 30 66 / 25%) 0px 4px 8px -2px;
    width: 450px;
}

#inline-template-widget .close{
    background-color: white;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 300em;
    color: #364253;
    font-size: 11px;
    padding: 3px 5px;
    position: absolute;
    top: -9px;
    text-align: center;
    right: -10px;
}

#inline-template-widget-header {
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    font-size: 14px;
    padding: 10px 14px;
}

#inline-template-widget-header i {
    font-size: 12px;
    margin-right: 5px;
}

#inline-template-widget-header input{
    width: 90%;
    border: none;
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

#inline-template-widget-input{
    padding: 0 15px;
}

#inline-template-widget-input input::placeholder {
  color: #0ea473;
  opacity: 1 !important;
}

#inline-template-widget-list ul{
    overflow-y: auto;
    max-height: 250px;
    padding: 0;
    margin: 0;
}

#inline-template-widget-list ul::-webkit-scrollbar {
    background-color: transparent;
    border-left: 1px solid rgb(0 0 0 / 0.1);
    display: block !important;
    width: 8px;
}

#inline-template-widget-list ul::-webkit-scrollbar-thumb {
    background-color: #e1e1e1;
}

#inline-template-widget-list ul:focus {
    outline: none;
}

#inline-template-widget-list li{
    border-bottom: 1px dotted rgb(0 0 0 / 10%);
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
    width: 100%;
    position: relative;
}

#inline-template-widget-list li .fas{
    position: absolute;
    right: 10px;
    top: 14px;
}

#inline-template-widget-list li .far{
    position: absolute;
    right: 5px;
    top: 16px;
}

#inline-template-widget-list li .loader-ring{
    position: absolute;
    right: 12px;
    top: 0px;
}

#inline-template-widget-list li.focus{
    background-color: rgb(244, 245, 247);
}

#inline-template-widget-list li:last-child{
    border-bottom: none !important;
}

#inline-template-widget-list li div{
    padding: 12px 14px;
}


/* versions */

#document-versions{
    background-color: white;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    height: 100%;
    overflow-y: scroll;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    transition: all 0.5s ease-in-out;
    z-index: 100000;
}

#document-versions::-webkit-scrollbar {
    background-color: transparent;
    border-left: 1px solid rgb(0 0 0 / 0.1);
    display: block !important;
    width: 9px;
}

#document-versions::-webkit-scrollbar-thumb {
    background-color: #e1e1e1;
}

#document-versions-header{
    background-color: white;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    position: fixed;
    padding: 12px 14px;
    width: 100%;
    z-index: 10;
}

#document-versions h2{
    font-size: 15px;
}

#document-versions-wrapper {
    padding: 0 15px;
    margin: 60px 0;
}

#document-versions-wrapper ul{
    padding: 0;
}

#document-versions-wrapper li {
    list-style: none;
    display: inline-block;
    border: 1px solid rgb(0 0 0 / 0.1);
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    margin: 0 0 15px 0;
    width: 100%;
}

#document-versions-wrapper li div {
    padding: 0 15px;
}

#document-version-menu{
    background-color: white;
    border-bottom: 1px solid rgb(0 0 0 / 0.1);
    text-align: center;
    position: fixed;
    width: 65%;
    z-index: 100;
}

#document-version-menu div{
    padding: 20px;
}


/*  ai controls  */



.doc-ai-form-section{
    padding: 10px 0;
    position: relative;
}

.doc-ai-form-section label{
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    width: 100%;
    margin-bottom: 6px;
    text-transform: capitalize;
    opacity: 0.8;
}

.doc-ai-form-section .tag{
    padding: 5px 6px;
    background-color: #91979f;
    border-radius: 3px;
    color: white;
    font-size: 12px;
    margin: 4px 4px 4px 0;
}

.doc-ai-form-section .tag i{
    margin-left: 5px;
}

.doc-ai-form-section a{
    font-size: 14px;
}

.doc-ai-form-section ul{
    margin: 0;
    padding: 0;
}

.doc-ai-form-section ul::-webkit-scrollbar {
    background-color: rgb(255 255 255 / 1);
    display: block;
    width: 7px;
}

.doc-ai-form-section ul::-webkit-scrollbar-thumb {
    background-color: rgb(53 66 84 / 0.6);
}

.doc-ai-form-section .value{
    display: none !important;
}

.doc-ai-form-dropdown-filter{
    background-color: white;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 3px;
    margin: 10px 0;
    padding: 8px 8px;
}

.doc-ai-form-section input, .doc-ai-form-section textarea{
    width: 100%;
    background-color: transparent;
    border: none;
    font-size: 14px;
    font-family: "Roboto";
    line-height: 1.3;
    outline: none;
}

.doc-ai-form-section ul li{
    display: inline-block;
    font-size: 14px;
    margin: 5px 0;
    width: 100%;
}

.doc-ai-form-dropdown{
    border: 1px solid rgb(0 0 0 / 10%);
    background-color: #f3f5f8;
    border-radius: 3px;
    cursor: pointer;
    padding: 10px;
}

.doc-ai-form-dropdown a{
    display: inline-block;
    width: 100%;
}

.doc-ai-form-dropdown i{
    margin: 2px;
    position: absolute;
    right: 20px;
}

.ai-form-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 18px;
    background-color: #f3f5f8 !important;
    outline: none;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border: 1px solid rgb(0 0 0 / 10%) !important;
    border-radius: 3px;
    margin: 0 !important;
}

.slider-value{
    position: absolute;
    top: 12px;
    right: 0;
    font-size: 12px;
}

.zero-creativity{
    position: absolute;
    top: 20px;
}

.five-creativity{
    position: absolute;
    top: 20px;
}

.ai-form-length-slider p, .ai-form-creativity-slider p{
    margin: 5px 0 0 0;
    font-size: 13px;
    opacity: 0.7;
}

.ai-form-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 18px;
  background: #0ea473;
  cursor: pointer;
}

.ai-form-slider::-moz-range-thumb {
  width: 25px;
  height: 18px;
  background: #0ea473;
  cursor: pointer;
}

#doc-ai-form .thumb, #inline-template-widget-input .thumb{
    display: none;
}

#prompt-example{
    border: 1px solid rgb(0 0 0 / 10%);
    background-color: #f3f5f8;
    border-radius: 3px;
    font-size: 14px;
    margin-top: 5px;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

#ai-controls-write-button {
    margin: 30px 0;
    text-align: center;
}

.doc-ai-form-section .textarea-container{
    background-color: #f3f5f8;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 3px;
    font-size: 14px;
    padding: 8px;
}

.doc-ai-form-section .textarea-container textarea{
    height: 120px;
    max-width: 100%;
    resize: vertical;
}

#template-tags a{
    display: inline-block;
    font-size: 11px;
    margin: 0 3px 6px 0;
    padding: 6px;
}

.template-listing{
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.template-listing .fas.button {
    font-size: 13px;
    position: absolute;
    top: 16px;
    right: 12px;
}

.template-listing .fas.button:hover{
    color: #e67373 !important;
}

.template-listing .far.fa-bookmark {
    font-size: 13px;
    position: absolute;
    top: 16px;
    right: 7px;
}

.template-listing .far.button:hover{
    color: #0ea473 !important;
    font-weight: 700 !important;
}

.template-listing .loader-ring{
    position: absolute;
    right: 28px;
    top: 14px;
}

.template-rating-buttons{
    border-top: 1px solid rgb(0 0 0 / 10%);
    margin: 15px 0 10px 0;
    padding: 15px 00 0;
    text-align: right;
}

.template-rating-buttons i {
    margin: 0 5px;
    opacity: 0.6;
}

.template-rating-buttons .fa-thumbs-up:hover{
    color: #0ea473 !important;
}

.template-rating-buttons .fa-thumbs-down:hover{
    color: #e67373 !important;
}

#template-prompt-editable{
    font-size: 15px;
}

#template-prompt-editable p{
    margin: 10px 0;
}

#template-prompt-editable[placeholder]:empty::before {
    display: inline-block;
    content: attr(placeholder);
    color: #b8b9bb;
    margin: 10px 0;
}

#template-prompt-editable[placeholder]:empty:focus::before {
    content: "";
}

#ai-templates-filter{
    padding: 8px 7px;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 5px;
    margin-bottom: 6px;
    position: relative;
}

#ai-template-test{
    margin: 20px 0 70px 0;
    border-top: 1px solid rgb(0 0 0 / 10%);
    padding: 10px 0;
}

/* ai chat */

.ai-chat-block.user{
     text-align: right;
}

.ai-chat-block.assistant{
    text-align: left;
    margin: 10px 0;
}

.ai-chat-block.user .ai-chat-avatar{
     background-color: #0ba573;
}

.ai-chat-block.assistant .ai-chat-avatar{
    background-image: url("https://www.frase.io/wp-content/uploads/2019/06/FraseRobot4-03-e1561398218112.png");
}

.ai-chat-avatar{
    border-radius: 300em;
    background-size: cover;
    background-repeat: no-repeat;
    width: 27px;
    height: 27px;
    display: inline-block;
    text-align: center;
}

.ai-chat-block.user .ai-chat-avatar span{
    color: white;
    display: inline-block;
    font-size: 10px;
    margin: 7px 0;
    font-weight: 500;
    text-align: center;
}

.ai-chat-block.frase .ai-chat-response{
    background-color: white;
}

.ai-chat-block.user .ai-chat-response{
    background-color: #f3f5f8;
}

.ai-chat-response{
    border-radius: 3px;
    padding: 5px 10px;
    display: inline-block;
    margin: 6px 0;
    position: relative;
    border: 1px solid rgb(0 0 0 / 10%);
}

.ai-chat-response p {
    margin: 6px 0;
}

.ai-chat-response-buttons{
    color: #828282;
    padding: 5px 0;
}

.ai-chat-response-buttons i{
    font-size: 11px;
    color: #828282;
    margin-right: 6px;
    opacity: 0.7;
}

.ai-chat-response-buttons i:hover{
    opacity: 1 !important;
}

.ai-chat-response .fa-paste{
    background-color: white;
    position: absolute;
    top: -10px;
    right: -10px;
    border-radius: 300em;
    border: 1px solid rgb(0 0 0 / 10%);
    font-size: 10px;
    padding: 4px 4px;
    color: #828282;
}

#ai-chat-input{
    bottom: 0;
    top: inherit;
    border-top: 1px solid rgb(0 0 0 / 10%);
}

#ai-chat-input textarea{
    border: none;
    resize: none;
    background-color: white;
    outline: none;
    height: 50px;
    width: 100%;
}

.ai-chat-prompts{
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    padding: 8px 12px 8px 12px;
}

.ai-chat-prompts a{
    background-color: rgb(11 165 115 / 10%);
    color: #0ba573;
    padding: 8px 8px 8px 8px;
    margin: 0 4px 6px 0;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

/* document outline */

#document-outline.sidebar{
    width: 375px;
}

#document-outline.sidebar #document-outline-panel{
    box-shadow: none;
}

#document-outline{
    background-color: white;
    position: fixed;
    top: 0;
    right: 71px;
    width: 100%;
    height: 100%;
    z-index: 999;
}

#document-outline #loader{
    width: 375px;
}

#document-outline-header{
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

#document-outline-header-wrapper{
    padding: 12px 13px;
    position: relative;
}

#document-outline-wrapper{
    padding-top: 65px;
}

#document-outline-filters{
    display: inline-block;
    padding: 0 10px 0 0;
    font-size: 14px;
}

#document-outline-filters ul{
    background-color: white;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 3px;
    padding: 10px;
    position: absolute;
    left: 91px;
    width: 75px;
    z-index: 10;
}

#document-outline-filters ul li{
    list-style: none;
    margin: 8px 0;
}

#document-outline-filters ul li:first-child {
    margin-top: 0;
}

#document-outline-filters ul li:last-child {
    margin-bottom: 0;
}

#document-outline-filters .input{
    background-color: #f4f5f8;
    border-radius: 3px;
    margin-right: 10px;
    padding: 10px;
    width: 300px;
}

#document-outline-filters .input input{
    background-color: transparent;
    border: none;
    font-size: 14px;
    width: 80%;
}

#document-outline-carousel{
    left: 71px;
    margin-left: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    position: absolute;
    right: 0;
    white-space: nowrap;
    margin-right: 380px;
    padding-right: 20px;
}

#document-outline-carousel.fullscreen{
    margin-right: 0;
}

#document-outline-carousel::-webkit-scrollbar{
    background-color: #f4f5f8;
    display: block !important;
    height: 10px;
}

#document-outline-carousel::-webkit-scrollbar-thumb{
    background-color: #e2e2e2;
}

#document-outline-carousel .board{
    background-color: #f4f5f8;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 3px;
    display: inline-block;
    font-size: 15px;
    margin: 0 10px;
    overflow-y: hidden;
    overflow-x: hidden;
    position: relative;
    vertical-align: top;
    white-space: initial;
    width: 350px;
}

#document-outline-carousel .board-loader{
    background-color: white;
    padding: 50px 0;
    position: absolute;
    height: 100%;
    text-align: center;
    width: 100%;
    z-index: 99;
}

#document-outline-carousel .board:first-child {
    margin-left: 0;
}

#document-outline-carousel .board-wrapper{
    padding: 15px 10px;
}

#document-outline-carousel .board ul, #document-outline-body ul{
    margin: 10px 0 0 0;
    padding: 0 6px 0 0;
    list-style: none;
    overflow-x: hidden;
}

#document-outline-carousel .board ul::-webkit-scrollbar, #document-outline-body::-webkit-scrollbar{
    display: block !important;
    width: 7px;
}

#document-outline-carousel .board ul::-webkit-scrollbar-thumb, #document-outline-body::-webkit-scrollbar-thumb{
    background-color: #e2e2e2;
}

#document-outline-carousel .board ul li{
    background-color: white;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    list-style: none;
    margin-bottom: 6px;
    position: relative;
}

#document-outline-carousel .board ul li.selected{
    background-color: #31a472;
    border-left-color: #31a472 !important;
    border: none;
    color: white;
}

#document-outline-carousel .board ul li.selected b,
#document-outline-carousel .board ul li.selected span{
    color: white;
    font-weight: 700;
}

#document-outline-carousel .board ul li.selected .header-tag{
    background-color: white;
    border-color: white;
    color: #555;
}

#document-outline-carousel .board ul li:first-child{
    margin-top: 0;
}

#document-outline-carousel .board ul li:last-child {
    margin-bottom: 100px;
}

#document-outline-carousel .board ul li div{
    padding: 10px;
}

#document-outline-panel{
    box-shadow: -6px 0 8px 0 rgb(66 91 118 / 30%);
    position: fixed;
    right: 71px;
    background-color: white;
    height: 100%;
    top: 0;
    border-left: 1px solid rgb(0 0 0 / 10%);
    z-index: 10;
}

#document-outline-body{
    padding: 45px 10px 110px 14px;
}

#document-outline-body .fa-check{
    background-color: white;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 300em;
    padding: 4px 4px;
    font-size: 8px;
    position: absolute;
    top: -7px;
    right: -7px;
}

#document-outline-body .fa-times{
    background-color: white;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 300em;
    padding: 3px 4px;
    font-size: 8px;
    position: absolute;
    top: -5px;
    right: -7px;
}

#document-outline-ai .fa-times{
    position: absolute;
    top: 6px;
    right: 6px;
    border-radius: 300px;
    border: 1px solid rgb(0 0 0 / 10%);
    padding: 6px 8px;
    font-size: 14px;
}

#ai-draft-progressbar{
    background-color: #f3f5f8;
    height: 16px;
    margin: 10px 0 0 0;
}

#ai-draft-progressbar span{
    position: static;
    margin-top: 0;
    text-align: center;
    display: block;
    line-height: 2em;
}


/* commenting system */

.comment-icon{
    background-color: #0ea473;
    color: white;
    border-radius: 300em;
    font-weight: 700;
    line-height: 1.5;
    padding: 3px 9px 1px 9px;
    position: absolute;
    top: 0;
    right: -30px;
    font-size: 13px !important;
    outline: none !important;
    cursor: pointer !important;
    text-align: center;
    min-height: 22px !important;
    vertical-align: middle;
    z-index: 9;
}

#comments-container{
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px 2px rgb(60 64 67 / 15%);
    position: absolute;
    margin-left: 10px;
    margin-top: -3px;
    width: 250px;
    z-index: 9;
}

#comments-container-wrapper{
    padding: 15px 15px;
    position: relative;
}


#comments-container .brand-button, #comments-container .gray-button {
    padding: 8px 10px;
}

.comment:first-child {
    padding-top: 0;
}

.comment{
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    padding: 14px 0 14px 0;
    width: 100%;
}

.comment-meta{
    display: inline-block;
    vertical-align: middle;
}

.comment-avatar{
    border: 1px solid rgb(0 0 0 / 10%);
    display: inline-block;
    font-size: 11px;
    border-radius: 300em;
    padding: 7px 6px 4px 6px;
    background-color: #f3f5f8;
    vertical-align: middle;
}

.comment-author{
    font-size: 12px;
    font-weight: 500;
}

.comment-text{
    display: inherit;
    font-size: 14px;
    margin: 10px 0 5px 0;
    word-break: break-word;
}

.comment-date{
    font-size: 11px;
    opacity: 0.6;
    display: grid;
    margin-top: -1px;
}

.comment-resolve{
    cursor: pointer;
    position: absolute !important;
    right: 15px;
    top: 16px;
}

.comment-delete, .comment-edit{
    font-size: 11px;
    opacity: 0.6;
}

.comment-textarea-container{
    background-color: #f3f5f8;
    border: 1px solid rgb(0 0 0 / 10%);
    border-radius: 3px;
    margin: 10px 0 10px 0;
    padding: 8px 6px;
}

.comment-textarea-container textarea{
    background-color: #f3f5f8;
    border: none;
    height: 100px;
    resize: none;
    font-family: Roboto;
    font-size: 14px;
    outline: none;
    display: inline-block;
    width: 100%;
}

.comment-highlight{
    background-color: rgb(255 255 0 / 7%);
    border-bottom: 2px solid rgb(255 255 0 / 80%);
}
