:root{
    --color-scrollbar-thumb: #828282;
    --color-scrollbar-track: #E8E8E8;
    --bg-search: #EFF3F3;
}
*::-webkit-scrollbar {
    -webkit-appearance: none;
}
*::-webkit-scrollbar:vertical {
    width:8px;
}
*::-webkit-scrollbar-button:increment,*::-webkit-scrollbar-button {
    display: none;
}
.lg_menu_mobile, .btn_top, .search_mobile, .icon_mobile {
    display: none;
}
*::-webkit-scrollbar:horizontal {
    height: 12px;
}
*::-webkit-scrollbar-thumb {
    background-color: var(--color-scrollbar-thumb);
    border-radius: 3px;
}
*::-webkit-scrollbar-track {
    background-color: var(--color-scrollbar-track);    
    border-radius: 10px;  
}
html:not(.cke_panel_container){
    background-color: var(--bg-search);
    transform: unset;
    transform-origin: top;
    display: flex;
    justify-content: center;
    align-items: center;
}
body.document-editor {
    width: 21.59cm;
    min-width: 21.59cm;
    min-height: 27.94cm;   
    padding: 2.54cm;
    margin: 0.5cm auto;
    border: 1px #D3D3D3 solid;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 24px;
}

body.document-editor td, body.document-editor th {
    font-size: 0.9em;
}

body.document-editor h1 {
    margin-bottom:1cm;
}

body.document-editor table {
    margin-top:0.5cm;
    margin-bottom:0.5cm;
}

body.document-editor table td {
    border-right: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
}

body.document-editor table td:first-of-type {
    border-left: 1px solid #d0d0d0;
}

body.document-editor table tr:first-of-type td {
    border-top: 1px solid #d0d0d0;
}

body.document-editor table thead th {
    border-top: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
}

body.document-editor table thead th:first-of-type {
    border-left: 1px solid #d0d0d0;
}

@media only screen and (max-width: 1030px){

    html:not(.cke_panel_container){
        transform: scale(0.9);
        
    }
}
@media only screen and (max-width: 950px){

    html:not(.cke_panel_container){
        transform: scale(0.8);
        
    }
}
@media only screen and (max-width: 840px){

    html:not(.cke_panel_container){
        transform: scale(0.7);
        
    }
}           

@media only screen and (max-width: 740px){

    html:not(.cke_panel_container){
        transform: scale(0.6);
    }
}

@media only screen and (max-width: 640px){

    html:not(.cke_panel_container){
        transform: scale(0.5);
    }
}

@media only screen and (max-width: 550px){

    html:not(.cke_panel_container){
        transform: scale(0.45);
    }
}

@media only screen and (max-width: 480px){

    html:not(.cke_panel_container){
        transform: scale(0.4);
    }
}

@media only screen and (max-width: 430px){

    html:not(.cke_panel_container){
        transform: scale(0.35);
    }
}   

@media only screen and (max-width: 400px){

    html:not(.cke_panel_container){
        transform: scale(0.3);
    }
}   

@media only screen and (max-width: 350px){

    html:not(.cke_panel_container){
        transform: scale(0.25);
    }
}  

@media only screen and (max-width: 300px){

    html:not(.cke_panel_container){
        transform: scale(0.2);
    }
}  