* {
    margin: 0;
    padding: 0;
}

[v-cloak] {
    display: none;
}

#brand_div {
    position: fixed;
    top: 0;
    /*border-top: 1px solid black;*/
    height: 40px;
    width: 100%;
    /*background: #c2e6fa;*/
    background-color: white;
    font-size: 14px;
    line-height: 20px;
    margin: auto;

    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row;
    flex-flow: row;
}

#brand_div > div {
    margin: 10px;
}

#brand_div_left {
    -webkit-flex: 1 6 10%;
    flex: 1 6 10%;
    -webkit-order: 1;
    order: 1;

    text-align: left;
    min-width: 100px;
}

#brand_div_left > span {
    font-family: "Bookman Old Style", serif;
}

#brand_div_middle {
    -webkit-flex: 3 1 80%;
    flex: 3 1 80%;
    -webkit-order: 2;
    order: 2;
    text-align: center;
}

#brand_div_right {
    -webkit-flex: 1 6 10%;
    flex: 1 6 10%;
    -webkit-order: 3;
    order: 3;
    text-align: right;
    min-width: 150px;
}

#brand_div button {
    width: 25px;
    height: 20px;
}

#tab_div {
    position: fixed;
    top: 40px;
    background: white;
    border-bottom: 1px solid rgba(185, 185, 185, 0.8);
    height: 34px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    overflow-x: scroll; /* 1 */
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000px;
    -webkit-overflow-scrolling: touch; /* 2 */
}

#tab_div::-webkit-scrollbar {
    display: none; /* 3 */
}

#tab_div > .reader_tab {
    margin-top: 5px;
    margin-left: 1px;
    padding-top: 3px;
    padding-left: 8px;
    padding-right: 8px;
    border: 1px solid lightgray;
    background-color: lightgray;
    color: black;
    font-family: "Georgia", serif;
    font-size: 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 25px;
    width: auto;
    display: inline-block;

    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */

    cursor: default;
}

#tab_div > .reader_tab > a {
    /*text-overflow: ellipsis;*/
    /*max-width: 100px;*/
    /*display: inline-block;*/
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
}

#tab_div > .reader_tab > button {
    /*display: inline-block;*/
    background: transparent;
    color: black;
    border: none;
    font-weight: bold;
}

#tab_div > .reader_tab > button:hover {
    background: red;
}

#tab_div > .active_tab {
    background-color: #f6f6f6;
    color: black;
}

#tab_div > .reader_tab_adder {
    margin-top: 5px;
    margin-left: 1px;
    padding-top: 3px;
    padding-left: 8px;
    padding-right: 8px;
    border: 1px solid lightgray;
    background-color: lightgray;
    color: black;
    font-family: "Georgia", serif;
    font-size: 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 24px;
    width: auto;
    display: inline-block;

    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */

    cursor: default;
}

#control_div {
    position: fixed;
    top: 75px;
    border-bottom: 1px solid rgba(185, 185, 185, 0.8);
    height: 50px;
    width: 100%;
    background: #f6f6f6;
    z-index: 100;
    font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;

    white-space: nowrap;
    overflow: hidden;
    overflow-x: scroll; /* 1 */
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000px;
    -webkit-overflow-scrolling: touch; /* 2 */
}

#control_div::-webkit-scrollbar {
    display: none; /* 3 */
}

#control_div > div {
    height: 28px;
    margin: 10px 5px;
    /*float: left;*/
    line-height: 28px;

    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */

    cursor: default;

    display: inline-block;
}

#control_div > div:last-child {
    /*float: right;*/
}

.control_switch {
    border-left: 1px solid darkgray;
    border-right: 1px solid darkgray;
    padding: 0 10px;
}

button {
    padding: 3px;
    border: none;
    background: dodgerblue;
    color: white;
}

select {
    border: 1px solid black;
    padding: 2px;
    background: white;
}



.inline {
    display: inline;
}

.as_search_result {
    background-color: #fff8ad;
}

#content_div {
    line-height: 30px;
    padding: 10px;
    width: 98%;
    margin: 125px auto 50px;
}

.chapter_flex_box {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row;
    flex-flow: row;
    /*align-items: center;*/
}

.chapterContentLeft {
    /*position: fixed;*/
    /*top: 45%;*/
    /*left: 10px;*/
    /*max-width: 50px;*/
    /*height: 50px;*/
    /*border: 2px solid gray;*/
    /*border-radius: 50%;*/
    /*text-align: center;*/
    /*font-size: 20px;*/
    /*line-height: 50px;*/

    -webkit-flex: 1 6 10%;
    flex: 1 6 10%;
    -webkit-order: 1;
    order: 1;
}

.chapterContentMiddle {
    /*position: fixed;*/
    /*margin-left: 100px;*/
    /*width: 80%;*/
    margin: auto 10px;

    -webkit-flex: 3 1 80%;
    flex: 3 1 80%;
    -webkit-order: 2;
    order: 2;

    text-align: justify;
}

#content_div .chapterContentRight {
    /*position: fixed;*/
    /*top: 45%;*/
    /*right: 10px;*/
    /*max-width: 50px;*/
    /*height: 50px;*/
    /*border: 2px solid gray;*/
    /*border-radius: 50%;*/
    /*text-align: center;*/
    /*font-size: 20px;*/
    /*line-height: 50px;*/

    -webkit-flex: 1 6 10%;
    flex: 1 6 10%;
    -webkit-order: 3;
    order: 3;
}

.chapter_move_button {
    width: 50px;
    height: 50px;
    border: 2px solid gray;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    line-height: 50px;
    position: fixed;
    top: 200px;
}

.chapter_move_button_left {
    left: 10px;
}

.chapter_move_button_right {
    right: 10px;
}

/* 窄到已不足以支持三栏 */
@media all and (max-width: 640px) {

    #content_div .chapter_flex_box {
        -webkit-flex-flow: column;
        flex-direction: column;

        /*background: gray;*/
    }

    .chapterContentMiddle {
        /* 恢复到文档内的自然顺序 */
        -webkit-order: 0;
        order: 0;
    }

    .chapterContentLeft {
        /* 恢复到文档内的自然顺序 */
        -webkit-order: 0;
        order: 0;
        margin: auto;
    }

    .chapterContentRight {
        /* 恢复到文档内的自然顺序 */
        -webkit-order: 0;
        order: 0;
        margin: auto;
    }

    .chapter_move_button {
        position: relative;
        top: auto;
        left: auto;
        right: auto;

    }
}

#content_div span {
    font-family: serif;
}



.left {
    float: left;
}

.right {
    float: right;
}

div.FURIKANA_ON rt {
    display: block;
}

div.FURIKANA_OFF rt {
    display: none;
}

button.switch_button_ON {
    background-color: #98d38b;
}

button.switch_button_OFF {
    background-color: #ff5050;
}

sup {
    color: #2F9AF7;
}

#content_div .non_verse_content span {
    font-family: sans-serif;
    font-style: italic;
    color: #2F9AF7;
}