@font-face {
    font-family: 'armfont';
    font-weight: normal;
    font-style: normal;
    src: url('font/tahomaA.ttf') format('truetype');
}

@font-face {
    font-family: 'IcoMoon-Free';
    src: url('font/IcoMoon-Free.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

:before, :after {
    box-sizing: border-box;
}

body {
  margin: 0;
    font-family: 'armfont',Tahoma,Arial,Helvetica,sans-serif;
    background-color: #bbbbbb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.body-color-white {
    background-color: #FFFFFF; /*color-schem*/
    color: #000000; /*color-schem*/
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
}
button, select {
    text-transform: none;
}

div, button, input, optgroup, select, textarea {
    margin: 0;
    padding: 0;
    font: inherit;
}

a *:focus, div *:focus, button *:focus, input *:focus, optgroup *:focus, select *:focus, textarea *:focus {
    /* Disable the browser focus highlighting. */
    outline: none;
}

button {
    overflow: visible;
}

.btn.active, .btn.focus, .btn:active, .btn:focus, .btn:hover, .open>.dropdown-toggle.btn {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
    text-decoration: none;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    -webkit-user-select: none;
    border: 1px solid;
    border-color: #adadad;
    border-radius: 4px;
    background-color: transparent;
}

.btn_close {
    position: absolute;
    top: 0.05em;
    right: 0.05em;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    font-family: 'IcoMoon-Free' !important;
    font-size: 3em;
    color: #cccccc;
    background-color: #eeeeee;
    color: #aaaaaa;
    border-width: 0px;
    border-style: solid;
    border-radius: 1.5em;
    text-decoration: none!important;
    /*border: 1px solid #FF0000;*/
    z-index: 9999993;
}

.btn_close:hover {
    background: #cccccc;
    color: #888888; /*color-schem*/
}

#main_div {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0px;
}

@media screen and (min-width: 100em) {
    #main_div {
        width: 100em;
        margin-left: auto;
        margin-right: auto;
        background-color: #FAEDD0; /*color-schem*/
        color: #4C3B26; /*color-schem*/
    }
}

.popup_outer_container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999990;
    transition: all .4s;
    padding: 20px;
    display: none;
    font-size: .8em;
}

.popup_inner_container {
    position: absolute;
    top: 1em;
    left: 1em;
    right: 1em;
    bottom: 1em;
    padding: 1em;
    z-index: 9999991;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
    overflow: auto;
    transform: scale(1) translate(0, 0);
    background-color: #FAEDD0; /*color-schem*/
}

.popup_inner_container_color_white {
    background-color: #FFFFFF; /*color-schem*/
    color: #000000; /*color-schem*/
}

.header {
    background-color: #DFD3BA; /*color-schem*/
    color: #777777; /*color-schem*/
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    width: auto;
    height: 2.5em;
    border: 0;
    border-bottom: 1px solid #BCB39D; /*color-schem*/
    background-clip: padding-box;
    z-index: 9999980;
    line-height: 1;
    /*border: 1px solid #FF0000;*/
}

.header-color-white {
    background-color: #EEEEEE; /*color-schem*/
    color: #000000; /*color-schem*/
    border-bottom: 1px solid #777777; /*color-schem*/
}

/*full screen*/
#header_full_screen {
    position: relative;
    float: right;
    width: 3em;
    /*border: 1px solid #FF0000;*/
}

#btn_full_screen {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    display:none;
    /*border: 1px solid #FF0000;*/
}

#full_screen_exit, #full_screen_enter {
    font-size: .7em;
    padding: 0;
    margin: 0;
}

#full_screen_exit {
    display:none;
}

.header-button {
    font-family: 'IcoMoon-Free' !important;
    font-size: 2em;
    color: #808080; /*color-schem*/
    background: transparent;
    display: inline-block;
    border: none;
    top: 0em;
    left: 0em;
    width: 1.5em;
    height: 100%;
    margin-left: .5em;
    /*border: 1px solid #FF0000;*/
}

.header-button:hover {
    background: linear-gradient(#FAEDD0, #DFD3BA), #DFD3BA ; /*color-schem*/
    color: #777777; /*color-schem*/
}

.header-button-color-white:hover {
    background: linear-gradient(#EEEEEE, #b9b9b9), #EEEEEE ;
}

.caret {
    position: absolute;
    width: 0;
    height: 0;
    left: 2em;
    top: 1em;
    border-top: 0.5em dashed;
    border-right: 0.5em solid transparent;
    border-left: 0.5em solid transparent;
}

#book_div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
}

#memu_container {
    overflow: hidden;
}

#menu_caption {
    position: absolute;
    top: 1em;
    left: 0;
    right: 0;
    height: 2em;
    border-bottom: 1px solid #bbbbbb;
    overflow: hidden;
}

#sub_menu_div_outer {
    position: absolute;
    top: 4em;
    left: 1em;
    right: 1em;
    bottom: 1em;
    overflow: auto;
}

.sub_menu_div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}

.sub_menu {
    color: #373737;
    display: inline-block;
    margin: auto 0em auto 1em;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
}

.sub_menu.sub_menu_selected {
    border-bottom: 3px solid #902a1e;
}

.sub_menu:visited {
    color: #373737;
}

.sub_menu:hover {
    color: #902a1e;
}

.book_caption_container {
    /*margin-bottom: 0.5em;*/
}
.book_caption {
    font-weight: bold;
}

.book_chapter_container {
    width: 100%;
    border-bottom: 1px solid #bbbbbb;
    padding: 0em 0.5em 0.5em 1em;
    margin-bottom: .5em;
}

.btn_menu {
    border: none;
    background-color: transparent;
    padding: .5em;
    margin: .25em;
}

.btn_menu.btn_menu_selected {
    font-weight: bold;
    color: #902a1e;
    border: 1px solid;
    border-color: #902a1e;
    border-radius: 0px;
}

.setting_item {
    margin: 0 0 1.5em 0;
}
#content_frame {
    height: 100%;
    width: 100%;
    border-width: 0px;
}

