body {
    font-family: "微軟正黑體";
    font-size: 24px;
}

h4 {
    font-size: 26px;
}

h3 {
    font-size: 36px;
}

.mt-3 {
    margin-top: 30px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mr-2 {
    margin-right: 20px;
}

.m-0 {
    margin: 0;
}

.line-height-36 {
    line-height: 36px;
}

.form-signin {
    padding: 30px;
    margin: 0 auto;
    max-width: 550px;
    background-color: #FFF;
}

    .form-signin .form-signin-heading {
        margin-bottom: 20px;
        margin-top: 0;
    }

.btn-warning, .btn-default {
    border-radius: 0;
}

.logo {
    max-width: 100%;
}

.form-control {
    font-size: 20px;
    height: 40px;
    padding: 4px 12px;
}

body.bgimg {
    background-image: url(img/login.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    background-color: #FFF;
    padding-top: 75px;
}

.nav-top {
    background-color: #9E5A2C;
    text-align: center;
    margin: 0;
    padding: 20px;
    color: #FFF;
    font-weight: bold;
}

.admin, .header, .box, .footer {
    padding: 20px 30px;
}

.header, .footer {
    background-color: #eaeaea;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.admin p {
    margin-bottom: 0;
}

.A input[type="radio"] {
    display: none;
}

    .A input[type="radio"]:checked + label {
        background-color: #f37a13;
        color: #fff;
    }

    .A input[type="radio"] + label {
        display: inline-block;
        background-color: #ececec;
        cursor: pointer;
        padding: 10px 30px;
        font-size: 20px;
    }

.box {
    margin-bottom: 80px;
}

.description {
    padding-bottom: 10px;
}

    .description h4 {
        line-height: 1.5;
    }

.btn {
    font-size: 20px;
    border-radius: 0;
}

.table01 tr th, .table01 tr td {
    text-align: center !important;
    vertical-align: middle !important;
}

.pic .order.ui-widget-header {
    height: 190px;
}

.order.ui-widget-header {
    padding: 0.5em;
    margin: 10px 0;
    border: 2px solid #dddddd;
    background: #ffffff;
    height: 50px;
}

    .order.ui-widget-header p {
        text-align: center;
        width: 30px;
        height: 30px;
        margin: 1px auto;
        border-radius: 50%;
        background-color: #dddddd;
        line-height: 30px;
        color: #FFF;
    }

.pic .order.ui-widget-content {
    height: 190px;
    line-height: normal;
    background-color: #FFF;
    border: 3px solid #809a9f;
    border-radius: 5px;
}

.order.ui-widget-content {
    margin: 10px;
    text-align: center;
}

@media (min-width: 600px) {
    .pic .order.ui-widget-header, .pic .order.ui-widget-content {
        /*height: 270px;*/
        height: 50%
    }
}

@media (min-width: 768px) {
    .pic .order.ui-widget-header, .pic .order.ui-widget-content {
        /*width: 24%;*/
    }

    .order.ui-widget-header {
        width: 18.9%;
        float: left;
        margin: 10px 7px 10px 0;
    }

    .pic .order.ui-widget-header p {
        width: 100px;
        height: 100px;
        line-height: 100px;
        margin-top: 50px;
    }

    .order.ui-widget-content {
        width: 18.9%;
        padding: 5px 0.1em;
        float: left;
        margin: 10px 7px 10px 0;
    }
}
/*0320*/
.mr-1 {
    margin-right: 10px;
}

.box h4 {
    line-height: 40px;
}

.fix-box {
    position: fixed;
    /*width: 15%;*/
    width: 540px;
    right: 35px;
    top: 45%;
    /*bottom: 2%;*/
    /*z-index: 1;*/
    z-index: 999;
}

.fix-box-caculator01 {
    position: fixed;
    /*width: 16%;*/
    width: 400px;
    /*right: 18%;*/
    right: 600px;
    /*bottom: 5%;*/
    top: 45%;
    z-index: 999;
}

.fix-box-caculator02 {
    position: fixed;
    width: 30%;
    right: 35%;
    /*bottom: 5%;*/
    top: 70%;
    z-index: 999;
}

.list-paper {
    padding: 10px;
    background-color: #e8e8e8;
    box-shadow: 5px 5px 10px #ccc;
}

    .list-paper textarea.form-control {
        background-color: transparent;
        border: none;
        box-shadow: none;
        color: #000;
    }

    .list-paper .drawing-board-canvas {
        background-color: #ffe28a;
    }

.aw-box {
    border: 2px solid #000;
    padding: 10px;
    text-align: center;
}

.fix-box02 {
    position: fixed;
    right: 30px;
    top: 40%;
    width: 70px;
    /*top: 10%;
    width: 90px;*/
}

.calculator-01, .calculator-02, .paper {
    background-color: #00bcd4;
    width: 70px;
    margin-bottom: 10px;
    height: 70px;
}

.paper {
    background-color: #ff9800;
}

.paper {
    background-color: #ff9800;
}

    .paper a:hover {
        transition: .3s;
        box-shadow: 5px 5px 10px #ccc;
    }

    .calculator-01 a, .calculator-02 a, .paper a, .paint a {
        padding: 15px;
        display: block;
    }

        .calculator-01 a:hover, .calculator-02 a:hover {
            background-color: #337ab7;
            transition: .3s;
            box-shadow: 5px 5px 10px #ccc;
        }

.calculator-02 {
    margin-right: 10px;
}

textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

textarea::-webkit-scrollbar-thumb {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: #9E5A2C;
}

/*0330*/
.quest {
    margin-bottom: 100px;
}

.box {
    width: 95%
}

.answer_list, .option_list {
    list-style-type: none;
    margin: 0;
    margin-right: 10px;
    background: #eee;
    padding: 5px;
    min-height: 50px;
}

/*20200520*/
.mb-1 {
    margin-bottom: 10px;
}

/*20200601*/
.fillquiz-box {
    background: #ddff99;
    padding: 3px 6px;
    border-bottom: 2px solid #000
}

.matchanswer-box {
    background: #ddff99;
    padding: 3px 6px;
    border-bottom: 2px solid #000
}

/*  vivian 1014 */
.red {
    color: #F44336;
}

.scroll-ctr {
    display: block;
    text-align: center;
    background-color: #a5a5a5;
    color: #FFF;
    font-size: 16px;
    text-decoration: none;
    padding: 4px 0;
}

    .scroll-ctr:hover, .scroll-ctr:focus {
        background-color: #714f38;
        color: #FFF;
        text-decoration: none;
        transition: .3s;
    }

.paint {
    background-color: #8bc34a;
    width: 70px;
    margin-bottom: 10px;
    height: 70px;
}

    .paint:hover {
        background-color: #63902f;
        transition: .3s;
        box-shadow: 5px 5px 10px #ccc;
    }

.fix-btn {
    position: absolute;
    padding: 10px;
    font-size: 10px;
    color: #737373;
    top: 5%;
    right: 1%;
    background-color: #eaeaea;
    border-radius: 50%;
}

.admin {
    position: relative;
    background-color: #FFF;
}

.number {
    background-color: #d9534f;
    padding: 0 10px;
    color: #FFF;
    font-weight: bold;
}

.fix {
    position: fixed;
    z-index: 9;
    width: 100%;
}

    .fix .admin {
        box-shadow: rgba(32, 33, 36, 0.28) 0px 1px 6px 0px;
    }

.fix-scroll-top {
    /*margin-top: 600px;*/
    margin-top: 110px;
}

@media (min-width:400px) {
    .fix-scroll-top {
        /*margin-top: 500px;*/
        margin-top: 310px;
    }
}

@media (min-width:500px) {
    .fix-scroll-top {
        /*margin-top: 400px;*/
        margin-top: 22.6rem;
        /*margin-top: 310px;*/
    }
}

@media (min-width:996px) {
    .fix-scroll-top {
        /*margin-top: 250px;*/
        /*margin-top: 179px;*/
        margin-top: 16.6rem;
    }

    @media (min-width:1200px) {

        .fix-btn {
            top: 10%;
        }

        .fix-scroll-top {
            /*margin-top: 260px;*/
            /*margin-top: 145px;*/
            /*margin-top: 160px;*/
            margin-top: 16.6rem;
        }
    }

    @media (min-width:1463px) {

        .fix-scroll-top {
            /*margin-top: 200px;*/
            /*margin-top: 110px;*/
            margin-top: 16.6rem;
            box-shadow: rgba(32, 33, 36, 0.28) 0px 1px 6px 0px;
        }
    }

    /* 2020/10/28 Bill 題目標記 */
    .btn-shadow {
        font-weight: bold;
        color: gray;
        box-shadow: 4px 4px rgba(20%,20%,40%,0.5);
    }

    .btn-mark {
        color: darkorange;
    }

        .btn-mark:hover {
            color: darkorange;
        }

    /* 字型大小 */
    /* font-size-1 */
    body .font-size-1 {
        font-size: 22px;
    }

    .font-size-1 h2 {
        font-size: 28px;
    }

    .font-size-1 h3 {
        font-size: 34px;
    }

    .font-size-1 p {
        font-size: 22px;
    }

    .font-size-1 .fix-btn {
        font-size: 8px;
    }

    .font-size-1 .form-control {
        font-size: 18px;
    }

    .font-size-1 .btn {
        font-size: 18px;
    }

    .font-size-1 .calculator-01 a img {
        width: 38px;
    }

    .font-size-1 .paint a img {
        width: 38px;
    }

    .font-size-1 .badge {
        font-size: 73%;
    }

    /* font-size-2 */
    body .font-size-2 {
        font-size: 23px;
    }

    .font-size-2 h2 {
        font-size: 29px;
    }

    .font-size-2 h3 {
        font-size: 35px;
    }

    .font-size-2 p {
        font-size: 23px;
    }

    .font-size-2 .fix-btn {
        font-size: 19px;
    }

    .font-size-2 .form-control {
        font-size: 19px;
    }

    .font-size-2 .btn {
        font-size: 19px;
    }

    .font-size-2 .calculator-01 a img {
        width: 39px;
    }

    .font-size-2 .paint a img {
        width: 39px;
    }

    .font-size-2 .badge {
        font-size: 74%;
    }

    /* font-size-3 */
    body .font-size-3 {
        font-size: 24px;
    }

    .font-size-3 h2 {
        font-size: 32px;
    }

    .font-size-3 h3 {
        font-size: 38px;
    }

    .font-size-3 p {
        font-size: 26px;
    }

    .font-size-3 .fix-btn {
        font-size: 12px;
    }

    .font-size-3 .form-control {
        font-size: 22px;
    }

    .font-size-3 .btn {
        font-size: 22px;
    }

    .font-size-3 .calculator-01 a img {
        width: 42px;
    }

    .font-size-3 .paint a img {
        width: 42px;
    }

    .font-size-3 .badge {
        font-size: 77%;
    }

    /* font-size-4 */
    body .font-size-4 {
        font-size: 25px;
    }

    .font-size-4 h2 {
        font-size: 31px;
    }

    .font-size-4 h3 {
        font-size: 37px;
    }

    .font-size-4 p {
        font-size: 25px;
    }

    .font-size-4 .fix-btn {
        font-size: 11px;
    }

    .font-size-4 .form-control {
        font-size: 21px;
    }

    .font-size-4 .btn {
        font-size: 21px;
    }

    .font-size-4 .calculator-01 a img {
        width: 41px;
    }

    .font-size-4 .paint a img {
        width: 41px;
    }

    .font-size-4 .badge {
        font-size: 76%;
    }

    /* font-size-5 */
    body .font-size-5 {
        font-size: 26px;
    }

    .font-size-5 h2 {
        font-size: 32px;
    }

    .font-size-5 h3 {
        font-size: 38px;
    }

    .font-size-5 p {
        font-size: 26px;
    }

    .font-size-5 .fix-btn {
        font-size: 12px;
    }

    .font-size-5 .form-control {
        font-size: 22px;
    }

    .font-size-5 .btn {
        font-size: 22px;
    }

    .font-size-5 .calculator-01 a img {
        width: 42px;
    }

    .font-size-5 .paint a img {
        width: 42px;
    }

    .font-size-5 .badge {
        font-size: 77%;
    }

    /* font-size-6 */
    body .font-size-6 {
        font-size: 27px;
    }

    .font-size-6 h2 {
        font-size: 33px;
    }

    .font-size-6 h3 {
        font-size: 39px;
    }

    .font-size-6 p {
        font-size: 27px;
    }

    .font-size-6 .fix-btn {
        font-size: 13px;
    }

    .font-size-6 .form-control {
        font-size: 23px;
    }

    .font-size-6 .btn {
        font-size: 23px;
    }

    .font-size-6 .calculator-01 a img {
        width: 43px;
    }

    .font-size-6 .paint a img {
        width: 43px;
    }

    .font-size-6 .badge {
        font-size: 78%;
    }

    /* font-size-7 */
    body .font-size-7 {
        font-size: 28px;
    }

    .font-size-7 h2 {
        font-size: 34px;
    }

    .font-size-7 h3 {
        font-size: 40px;
    }

    .font-size-7 p {
        font-size: 28px;
    }

    .font-size-7 .fix-btn {
        font-size: 14px;
    }

    .font-size-7 .form-control {
        font-size: 24px;
    }

    .font-size-7 .btn {
        font-size: 24px;
    }

    .font-size-7 .calculator-01 a img {
        width: 44px;
    }

    .font-size-7 .paint a img {
        width: 44px;
    }

    .font-size-7 .badge {
        font-size: 79%;
    }
}

.icon-border {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    border: 2px solid #000; /* 邊框顏色 */
    text-align: center;
    line-height: 1.5em; /* 使圖標垂直居中 */
    border-radius: 0.25em; /* 圓角邊框 */
    background-color: white; /* 背景色 */
}

