/* ===== 通用 =====*/
html,
body {
    font-size: 10px;
    font-family: "roboto", "華康細黑體";
    /* height: 100vh;
    background-image: url(../images/BK.jpg);
    background-repeat: no-repeat;
    background-size: cover; */
}

.content {
    /* background-image: url(../images/BK.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 700px;   */
}

a {
    color: #333;
}

a:hover {
    color: #333;
    text-decoration: none;
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.6rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

p {
    font-size: 1.6rem;
    line-height: 33px;
    margin: 0;
    padding: 0;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

ul,
ol,
li {
    padding: 0;
}

img {
    width: 100%;
}

.container-l {
    width: 1400px;
    max-width: 1400px;
    margin: 0 auto;
}

.container-m {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
}

.container-s {
    width: 800px;
    max-width: 800px;
    margin: 0 auto;
}

.container-xs {
    width: 500px;
    max-width: 500px;
    margin: 0 auto;
}

/* 顯示與隱藏 */
.display-1400 {
    display: none;
}

.display-1200 {
    display: none;
}

.display-992 {
    display: none;
}

.display-768 {
    display: none;
}

.display-576 {
    display: none;
}

.display-480 {
    display: none;
}

/* 色彩 */
:root {
    --one-color: #CA3502;
    --two-color: #000000;
    --there-color: #fff;
    --four-color: #aaa;
}

.text-red {
    color: var(--one-color);
}

.text-green {
    color: #6BC54F;
}

.bg-green {
    background: #6BC54F !important;
    color: #fff;
}

/* 按鈕 */
.btn-groups {
    text-align: center;
    margin: 4rem 0 5rem;
}

.btn-groups-2 {
    text-align: center;
    margin: 2rem 0 3rem;
}

.btn {
    transition: 0.3s ease;
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
    color: #fff;
}

.btn:hover {
    color: #fff;
}

.btn-one {
    background-color: var(--one-color);
    border: 0;
}

.btn-two {
    background-color: var(--two-color);
    border: 0;
}

.btn-100 {
    width: 100%;
}

.btn-l {
    width: 30rem;
    height: 6rem;
    font-size: 2rem;
    color: #fff;
}

.btn-s {
    padding: 0.8rem 2.4rem;
}

.btn-fun-header {
    padding: 0.5rem 1.5rem;
    background: var(--one-color);
    border: 0;
    font-size: 1.6rem;
}

.btn-fun-header a {
    color: var(--there-color);
}

/* table */
.table .tr {
    display: flex;
    justify-content: space-between;
    border: 0;
    line-height: initial;
    border-bottom: 1px solid #ddd;
    align-items: center;
}

.table .th {
    font-size: 2rem;
}

.table .td {
    font-size: 1.6rem;
}

.t25 {
    width: 25%;
}

/* 表單 */
label {
    font-size: 1.6rem;
    font-weight: 900;
}

.form-control {
    padding: 0 1rem;
    font-size: 1.6rem;
    border: 1px solid #ddd;
    height: 4rem;
    margin-bottom: 3rem;
}

.form-check-inline {
    margin-right: 2rem;
}

/* footer */
.footer-block {
    bottom: 0;
}

.copy {
    position: fixed;
    left: 5px;
    bottom: -58px;
    color: #aaa;
    transform: rotateZ(-90deg);
    transform-origin: top left;
    padding: 2rem 0 2rem 5rem;
}

.copy::before {
    content: "";
    width: 40px;
    height: 1px;
    background: #aaa;
    display: block;
    left: 0px;
    bottom: 28px;
    position: absolute;
}

.footer-aa {
    width: 120px;
    margin: 2rem 2rem 2rem auto;
}

/* content */
/* .content {
    height: calc(100vh - 257px);
} */

/* modal */
.modal-header {
    padding: 1.5rem 1.75rem;
}

.modal-body {
    padding: 1rem 1.75rem;
}

.modal-body p {
    margin-bottom: 0.5rem;
}

.modal-footer {
    justify-content: center;
    padding: 1.5rem 0;
}

.modal-footer button {
    margin: 0 0.5rem;
}

/* 浮動Top */
.floating-button {
    position: fixed;
    z-index: 999;
    right: 50px;
    bottom: 80px;
    z-index: 998;
}

.floating-button i {
    font-size: 2rem;
}

.f-search a,
.f-top a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--one-color);
    border-radius: 99px;
    width: 80px;
    height: 80px;
    color: #fff;
    box-shadow: #00000030 1px 1px 5px;
}

.f-top {
    margin-top: 2rem;
}

.modal-dialog {
    margin: 10rem auto;
}

.dialog-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog-img img {
    width: 7rem;
    margin: 3rem;
}

.modal-body {
    text-align: center;
}

.index-news-block {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 6rem;
}

.index-news-item span {
    width: 4rem;
    height: 1px;
    background: #000;
    display: inline-block;
    margin: 0.5rem;
}

.index-news-item {
    width: 48%;
}

.index-news-item p.sp-1 {
    margin-left: 66px;
}

.index-news-item p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 2023.10.05修正 */
.index-news-item-l {
    width: 62.5%;
    display: flex;
}

.index-news-item-r {
    width: 37.5%;
}

.inner-news-block {
    padding: 0 3rem;
    box-shadow: #00000030 1px 1px 5px;
    margin: 4rem 0 0 0;
}

/* 20240424新增 */
.table {
    width: 100%;
    box-shadow: #00000020 0 1px 3px;
    border-radius: 0px;
}

.tr {
    border-bottom: 1px solid #ddd;
    display: flex;
    width: 100%;
    border-radius: 0;
}

.tr:first-child {
    background: #000;
}

.tr:last-child {
    border-bottom: transparent;
    border-radius: 0;
}

.tr:first-child {
    border: none;
}

.th {
    font-weight: bolder;
    color: #fff;
    font-size: 1.8rem;
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
}

.th:first-child {
    font-size: 1.8rem;
    font-weight: bolder;
    color: #fff;
    padding: 1.5rem 0.5rem 1.5rem 2.5rem;
}

.td {
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    font-size: 1.6rem;
}

.td:first-child {
    font-size: 1.6rem;
    padding: 1.5rem 0.5rem 1.5rem 2.5rem;
}

.td p {
    line-height: 2.6rem;
    margin-bottom: .5rem;
}

.td span {
    font-size: 1.2rem;
}

label {
    font-size: 1.6rem;
    font-weight: 900;
}

.td-first {
    width: 30%;
}

.td-8 {
    width: 8%;
}

.td-10 {
    width: 10%;
}

.td-15 {
    width: 15%;
}

.td-20 {
    width: 20%;
}

.td-25 {
    width: 25%;
}

.td-btn {
    width: 10px;
}

.form-control {
    padding: 0 1rem;
    font-size: 1.6rem;
    border-radius: 0px;
    height: 4.5rem;
    margin-bottom: 3rem;
    margin-top: 0.5rem;
}

.form-check-inline {
    margin-right: 2rem;
}

.form-control:focus {
    border-color: transparent;
    outline: none;
    border: none;
}

.tab-content {
    margin-top: 2rem;
}

.sps-1 img {
    width: 3rem;
}

.sps-2 {
    font-size: 1.4rem;
    background: #CA3502;
    color: #fff;
    border-radius: 5px;
    padding: 1rem;
}

.sps-3 {
    text-align: end;
}

.sps-4 {
    border-right: 1px solid #ddd;
    width: 50%;
}

.sps-5 {
    background: #fff;
    box-shadow: #00000030 1px 1px 5px;
    margin-top: 6rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.sps-5 p {
    margin-right: 1rem;
}


.sps-6 {
    margin: 2rem 0;
}

.sps-6 li {
    background: #000;
    margin-right: 1rem;
}

.sps-7 {
    margin: 2rem 0 0 0 !important;
}

.sps-8 {
    font-size: 2.6rem;
    margin: 0 0.5rem;
    font-weight: bold;
}

.sps-10 {
    margin: 0 !important;
}

.sps-11 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0rem 1rem 0rem 0;
}

.sps-13 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* 教師端 */
.tr a {
    transition: 0.3s ease;
    display: inline-block;
    width: 100%;
}

.tr a:hover {
    background: var(--one-color);
    color: #fff;
}

.sps-12 {
    opacity: 0.5;
}

.tr .sps-12 button {
    opacity: 0.5;
}

.tr .sps-12 a:hover {
    background: transparent;
    color: #fff;
    cursor: default;
}

i.fa-check,
i.fa-xmark {
    font-size: 2.6rem;
}

.sp-i {
    text-align: center;
}

.sp-time {
    margin: 4rem 0 2rem;
}

.sps-13 {
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.sps-14 {
    text-align: center;
    margin-bottom: 4rem;
}

.sps-14 i {
    font-size: 4rem;
    color: #6BC54F;
    margin-bottom: 1rem;
}

.sps-15 {
    text-align: center;
}
/*--------------------------------------------------------------------------------RWD--------------------------------------------------------------------------------*/
@media(max-width:1560px) {

    /*--------------------------------------------------------------------------------------------------------------------------------------------------------1560*/
    /* ===== 通用 =====*/
    .container-l {
        width: 80%;
    }
}

@media(max-width:1400px) {

    /*--------------------------------------------------------------------------------------------------------------------------------------------------------1400*/
    /* ===== 通用 =====*/
    .displaynone-1400 {
        display: none;
    }
}

@media(max-width:1280px) {

    /*--------------------------------------------------------------------------------------------------------------------------------------------------------1280*/
    /* ===== 通用 =====*/
    .display-1280 {
        display: block;
    }

    .displaynone-1280 {
        display: none;
    }
}

@media(max-width:1200px) {

    /*--------------------------------------------------------------------------------------------------------------------------------------------------------1200*/
    /* ===== 通用 =====*/
    .display-1200 {
        display: block;
    }

    .displaynone-1200 {
        display: none;
    }

    .container-s {
        width: 90%;
    }

    /* footer */
    .copy {
        left: 0;
        bottom: -80px;
    }

    .floating-button {
        right: 40px;
    }

    /* 2023.10.05修正 */
    .index-news-item-l {
        width: 100%;
    }

    .index-news-item-r {
        width: 100%;
    }

    .th:first-child {
        padding: 1.5rem 0.5rem 1.5rem 2rem;
    }
}

@media(max-width:992px) {

    /*--------------------------------------------------------------------------------------------------------------------------------------------------------992*/
    /* ===== 通用 =====*/
    .display-992 {
        display: block;
    }

    .displaynone-992 {
        display: none;
    }

    .container-xs {
        width: 90%;
    }

    .index-news-block {
        align-items: baseline;
        padding-top: 4rem;
        flex-direction: column;
    }

    .inner-news-block {
        padding: 0 3rem;
        box-shadow: #00000030 1px 1px 5px;
        margin: 4rem 0 0 0;
        padding: 0 2rem;
    }

    .index-news-item p {
        overflow: inherit;
        margin-bottom: 2rem;
    }

    .index-news-item p {
        overflow: inherit;
        margin-bottom: 2rem;
    }

    .sps-6 .nav-item a {
        color: #fff;
    }

    .sps-6 li {
        margin-bottom: 1rem;
    }

    .td-first {
        width: 100%;
    }

    .td:first-child {
        padding: 1.5rem;
    }
}

@media(max-width:768px) {

    /*-------------------------------------------------------------------------------------------------------------------------------------------------------768*/
    /* ===== 通用 =====*/
    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.6rem;
    }

    h3 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.6rem;
    }

    h5 {
        font-size: 1.4rem;
    }

    p {
        font-size: 1.5rem;
    }

    .display-768 {
        display: block;
    }

    .displaynone-768 {
        display: none;
    }

    /* 浮動Top */
    .floating-button {
        right: 20px;
    }

    .sps-3 {
        text-align: left;
    }

    .submenu-2 div {
        width: 100%;
        justify-content: space-between;
        flex-direction: column;
        align-items: baseline;
    }

    .sps-4 {
        border-right: transparent;
        width: 100%;
    }

}

@media(max-width:576px) {

    /*-------------------------------------------------------------------------------------------------------------------------------------------------------576*/
    /* ===== 通用 =====*/
    .display-576 {
        display: block;
    }

    .displaynone-576 {
        display: none;
    }

    .container-l {
        width: 90%;
    }

    /* footer */
    .footer-block {
        position: relative;
        bottom: auto;
        display: flex;
        justify-content: space-between;
        margin: 6rem 0 0 0;
        padding-bottom: 8rem;
        height: auto;
    }

    .copy {
        position: relative;
        left: auto;
        bottom: auto;
        padding: 0;
        padding-left: 2rem;
        transform: inherit;
        transform-origin: unset;
        width: 60%;
    }

    .copy::before {
        display: none;
    }

    .footer-aa {
        width: 120px;
        position: relative;
        right: auto;
        bottom: auto;
        padding-right: 2rem;
        margin: 0;
    }

    /* 浮動Top */
    .floating-button {
        position: fixed;
        bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        width: 100%;
        right: 0;
        left: 0;
    }

    .f-top {
        width: 100%;
        border-radius: 0;
        margin-top: 0rem;
    }

    .f-top a {
        width: 100%;
        border-radius: 0;
        background: var(--one-color);
        color: #fff;
    }

    .index-news-item p.sp-1 {
        margin-left: 0px;
    }

    .index-news-item {
        width: 100%;
    }

    .index-news-item p {
        white-space: normal;
    }
}

@media(max-width:480px) {

    /*-------------------------------------------------------------------------------------------------------------------------------------------------------480*/
    /* ===== 通用 =====*/
    .display-480 {
        display: block;
    }

    .displaynone-480 {
        display: none;
    }

    /* 按鈕 */
    .modal-footer .btn-groups {
        width: 90%;
    }

    .btn-groups .btn {
        margin-bottom: 2rem;
    }

    .btn-l {
        width: 100%;
    }
}

@media(max-width:420px) {
    /*-------------------------------------------------------------------------------------------------------------------------------------------------------420*/
}