html {
    -ms-touch-action: none;
    height: 100%;
    -webkit-user-select: text;
    overflow: hidden;
}
[contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}
/*Custom scroll-bar*/
/*@media only screen and (min-width: 640px) {
    ::-webkit-scrollbar {
        width: 20px;
    }

    ::-webkit-scrollbar-track {
        background-color: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 20px;
        border: 6px solid transparent;
        background-clip: content-box;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: #3c3e3e;
    }
  }*/

::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
}

@font-face {
    font-family: handwriting_font;
    src: url(HP001_5_hang_bold.ttf);
  }

@font-face {
    font-family: handwriting_font_z;
    src: url(HP0015HB.ttf);
}
input[type="range"]::-webkit-slider-thumb{
    background: #666666;
}
body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 255);
    background-color: #c1cbd4;
}

#ob-board-app{
    width: 100%;
    margin: auto;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    background-color: #c1cbd4;
    position: absolute;
    top:0px;
}
#ob-board-menu{
    position: relative;
    width: 100%;
    height: 50px;
    top:0px;
    left:0px;
    z-index: 99;
    display: none;
    background-color: #c1cbd4;
}
#ob-board-content{
    width: 100%;
    position: absolute;
    top:0px;
    background-color: #eee;
    overflow-x: hidden;
    overflow-y: scroll;
}
#ob-board-container{
    width: 100%;
    height: 100%;
    transform-origin: 0% 0%;
    position: absolute;
    top:0px;

}
#ob-board-pages{
    width: 100%;
    position: absolute;
    transform-origin: 0% 0%;

    position: absolute;
    top:0px;
}
#ob-board-hold-bt{
    position: absolute;
    display: none;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    pointer-events: none;
    width: 100%;
    background-color: #555555ad;
    padding: 5px 0 5px 40px;
}
#ob-board-hold-bt span{
    background: white;
    padding: 6px;
    font-weight: bold;
    border-radius: 10px;
}
#btn_save_data_right{
    background: #2979fd;
    pointer-events: all;
    width: 40px;
    height: 40px;
    margin-left: 0px;
}
#btn_hold_draw{
    pointer-events: all;
    width: 30px;
    height: 30px;
}
#ob-board-menu_draw{
    position: absolute;
    right:5px;
    top: 0;
    width:70px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
#btn_draw_color{
    display: flex;
    justify-content: center;
    align-items: center;
}
#color_preview{
    width:24px;
    height:24px;
    border-radius: 50%;
    background-color: red;
    opacity: 0.4;
}
#ob-board-menu_draw div{
    margin-bottom: 8px;
    width: 40px;
    height: 40px;
    transform-origin: 50% 50%;
    transform: scale(0.1);
}
#btn_draw_finish{
    text-align: center;
    color: red;
    margin-bottom: 5px;
    cursor: pointer;
}
#btn_draw_finish span{
    padding: 3px;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 12px;
    text-shadow: 1px 1px #CCCCCC;
}
#btn_hold_erase{
    position: absolute;
    left:110px;
    bottom: 10px;
}
.page{
    position: relative;
    margin-top: 5px;
    background-color: white;
    overflow: hidden;
}
.page_bg{
    position: absolute;
    display: flex;
    top:0px;
    left:0px;
    width:100%;
    height: 100%;
    justify-content: center;
    align-items: center;

}
.page_canvas_draw{
    position: absolute;
    top:0px;
    left:0px;
    width:100%;
    height: 100%;
}
.page_objs_layer{
    position: absolute;
    top:0px;
    left:0px;
    width:100%;
    height: 100%;
}
#ob_board_menu_color{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: calc(100%);
    padding: 10px;
    z-index: 9999;
    display: none;
}
#menu_color_content{
    position: absolute;
    width: calc(100% - 20px);
    max-width: 600px;
    min-height: 150px;
    bottom: 10px;
    right:10px;
    transform: scale(0.1);
}
#ob-board-pages_content{
    position: absolute;
    transform: scale(0.6);
    transform-origin: 0% 0%;

}
#color_content_brush{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
#color_content_brush span{
    margin-right:4px;
}
#color_content_color{
    margin-top: 10px;
}
#color_content_color div{
    margin-left:20px;
    margin-top:10px;
    margin-bottom: 10px;
}
#color_content_thick{
    height: 80px;
    margin: 20px;
}
#thick_preview{
    width: 40px;
    height: 40px;
    float: left;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: solid;
    border-color: #CCCCCC;
}
#btn_thick_preview{
    width:10px;
    height:10px;
}
#thick_slider{
    float: left;
    width: calc(100% - 60px);
    height: 40px;
    margin-left: 20px;
}
#bt_trash{
    position: absolute;
    display: none;
    left: calc(50% - 30px);
    top:10px;
    opacity: 0.7;
    pointer-events: none;
}
#ob-board-help{
    position: absolute;
    left:5px;
    bottom: 10px;
    display: none;
    flex-direction: column;
}
#ob-board-help span{
    background-color: white;
    padding: 5px;
    border-radius: 10px;
    border: solid 1px #CCCCCC;
    margin-bottom: 5px;
    position: relative;
    font-weight: bold;
}
#help_finish_draw{
    display:none;
}

#ob-board-menu-bottom{
    width: 100%;
    height: 105px;
    background-color: #bebebe;
    z-index: 99999;
    position: absolute;
    top: 0px;
    display: none;

}
#menu_bottom_1{
    height: 50px;
    width: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    margin-top: 10px;
}
#menu_bottom_slider{
    position: relative;
    float: right;
    width:100px;
    margin-right: 20px;
}
.thumb{
    width: 5px;
    height: 5px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
    top: 23px;
    left: 0px
}
#menu_bottom_option{
    position: relative;
    float: left;
    width: calc(100% - 140px);
    margin-right: 10px;
    overflow-x: scroll;
}
#option_draw{
    width:250px;
    padding-left: 7px;
}
#option_text{
    width:250px;
}
#menu_bottom_2{
    /*height: 40px;*/
    width: 100%;
    overflow-y: hidden;
    overflow-x: scroll;
}
#menu_bottom_2_content{
    height: 40px;
    /*width: 700px;*/
    /*padding-left: 42px;*/
}
.btn-color-bottom {
    position: relative;
    float: left;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
   /* border: solid 1px #CCCCCC;*/
    border-radius: 50%;
}
.btn-color-bottom-small{
    width:28px!important;
    height:28px!important;
}
#menu_bottom_preview_draw , #menu_bottom_preview_text{
    position: absolute;
    bottom: 4px;
    left: 0px;
    background-color: black;
    z-index: 99;
    padding-left: 4px;
}
#preview_draw , #preview_text{
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px #CCCCCC;
    border-radius: 50%;
}
#menu_bottom_preview_draw{
    display: none;
}
#menu_bottom_preview_text{
    display: none;
}
#menu_bottom_close {
    position: absolute;
    top: 78px;
    right: 0;
    /*background-color: black;*/
    font-weight: bold;
    font-size: 13px;
    padding: 5px;
    color: red;
    cursor: pointer;
}
#menu_text_close {
    position: absolute;
    top: 20px;
    right: 0;
    /*background-color: black;*/
    font-weight: bold;
    font-size: 13px;
    padding: 5px;
    color: red;
    cursor: pointer;
}

#ob-board-menu-text{
    position: fixed;
    top:0px;
    background-color: #555555ad;
    height: 50px;
    width: 100%;
    display: none;
}
#menu_text_color{
    padding-left: 175px;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}
#menu_text_color_content{
    height: 40px;
    width: 700px;
    margin-top: 5px;
}
.btn-color-text{
    position: relative;
    float: left;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
   /* border: solid 1px #CCCCCC;*/
    border-radius: 50%;
}
#menu_text_option{
    position: absolute;
    top: 0px;
    width: 180px;
    height: 100%;
    background-color: black;
    z-index: 99;
    display: flex;
    align-items: center;
}
#menu_text_slider{
    width: 100%;
    position: absolute;
    top: 45px;
    left: 93px;
    display: none;
    align-items: center;
}
#ob-board-mark{
    position: absolute;
    width:900px;
    padding:10px;
    top: 500px;
    transform-origin: 0% 0%;
    transform: scale(0.83);
    display: block;
    z-index: 999999;
}
#ob-board-mark_point{
    border: solid 1px red;
    border-radius: 10px;
    background-color: white;
    width: 100%;
    min-height: 150px;
    margin-top: 20px;
}
#ob-board-mark_number{
    float: left;
    width:35%;
    min-height: 148px;
    height: 100%;
    border-right: solid 1px red;
}
#ob-board-mark_comment{
    float: left;
    width: 65%;
    height: 100%;
    min-height: 150px;

}
#mark_number_txt{
    border: none;
    /*font-family: 'handwriting_font';*/
    color: red;
    font-size: 70px;
    height: 100px;
    text-align: center;
    /*margin-top: 25px;*/
}
#mark_comment_txt{
    text-align: left;
    font-size: 18px;
    /*font-weight: bold;*/
    color: red;
    padding-left: 20px;
    /*margin-top: 20px;*/
    height:100px;
    border: none;
    background-color: transparent;
    resize: none;
    outline: none;
}
#ob-board-mark_chose{
    width:100%;
    margin-top: 20px;
    display: none;
    height: 526px;
}
.btn-mark-chose{
    float: left;
    width: 140px;
    height: 140px;
    margin-left: 27px;
    margin-top: 27px;
}
.btn-mark-chose-bt{
    width: 130px;
    height: 130px;
}
.btn-mark-chose-bt span{
    color: gray;
    font-size: 63px;
    font-weight: bold;
    left: 44px;
    top: 44px;
    position: absolute;
}
#ob-board-mark_result{
    margin-top: -24px;
    height: 80px;
    background-color: white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*font-family: 'handwriting_font';*/
    font-size: 25px;
}
/*#img_correct{
    position: absolute;
    left:-5px;
}
#img_wrong{
    position: absolute;
    left:-5px;
}*/

#btn_save_data{
    width: 100%;
    height: 120px;
    margin-top: 50px;
    font-size: 40px;
}
.obj_static_text{
    display: flex;
    justify-content: center;
    align-items: center;
}
#ob-board-answer{
    width: 100%;
    height: 100%;
    position: absolute;
    top:450px;
    background-color: red;
    border: solid 1px red;
    border-radius: 10px;
    padding-top: 5px;
    display: none;
}
#ob-board-answer_content{
    overflow-y: scroll;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
#ob-board-answer_bt{
    position: absolute;
    top: -34px;
    background-color: red;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-weight: bold;
    margin-left: -4px;
}
.obj_text {
    line-height: 37px;
}

#ob-board-new_page {
    margin-top: -25px;
    height: 80px;
    background-color: white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    cursor: pointer;
}
