@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Noto+Sans+TC:wght@100;200;300;400;500;600;700;800;900&family=Noto+Sans:wght@600&display=swap');

:root {
    --bgcolor: #FFFBF6;
    --primary1: #252525;
    --primary2: #29392E;
    --primary3: #9CD1AD;

    --seccolor1: #FFA62B;
    --seccolor2: #D68311;
    --seccolor3: #FFC980;

    --comcolor1: #9F9385;
    --comcolor2: #EDE2D4;
    --comcolor3: #F2ECE2;
    --comcolor4: #F9F3E9;

    --fontcolor1: #2D4848;
    --fontcolor2: #252525;
    --fontcolor3: #5E6868;

    --box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    --border: 2px solid var(--black);
}

* {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

body {
    background-color: var(--bgcolor) !important;
}

.nav1 {
    padding: 0;
    /* 移除預設的內邊距 */
    margin: 0;
    /* 移除預設的外邊距 */
}

.nav-link1 {
    padding: 0 10px;
    /* 設置連結的內邊距，可根據需要進行調整 */
}

#topHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.topHeader1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9998;
}

.topHeader2 {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 9997;
}

.navbg {
    background-color: var(--fontcolor2);

}

.navbg1 {
    background-color: var(--bgcolor);
    box-shadow: var(--box-shadow);
}

.navcenter {
    margin-left: 50%;
}

.btn1 {
    display: inline-block;
    padding: 10px 20px;
    /* 设置内边距，调整按钮大小 */
    font-size: 16px;
    /* 设置字体大小 */
    text-align: center;
    text-decoration: none;
    /* 取消下划线，可根据需要调整 */
    cursor: pointer;
    border-radius: 10px;
    /* 设置边框圆角 */
    background-color: var(--primary3);
    /* 设置背景颜色 */
    color: white;
    /* 设置文字颜色 */
}

.btn1:hover {
    background-color: var(--primary2);
    color: white;
    /* 设置文字颜色 */
}

.btn2 {
    display: inline-block;
    padding: 10px 10px;
    /* 设置内边距，调整按钮大小 */
    font-size: 14px;
    /* 设置字体大小 */
    text-align: center;
    text-decoration: none;
    /* 取消下划线，可根据需要调整 */
    cursor: pointer;
    border-radius: 10px;
    /* 设置边框圆角 */
    background-color: var(--primary3);
    /* 设置背景颜色 */
    color: white;
    /* 设置文字颜色 */
}

.btn2:hover {
    background-color: var(--seccolor2);
    color: white;
    /* 设置文字颜色 */
}

.btn3 {
    display: inline-block;
    padding: 10px 20px;
    /* 设置内边距，调整按钮大小 */
    font-size: 14px;
    /* 设置字体大小 */
    text-align: center;
    text-decoration: none;
    /* 取消下划线，可根据需要调整 */
    cursor: pointer;
    border-radius: 10px;
    /* 设置边框圆角 */
    border: 1px solid var(--primary2);
    color: var(--primary2);
    /* 设置文字颜色 */
}

.btn3:hover {
    background-color: var(--primary2);
    color: white;
}

button {
    background-color: #25252500;
}

thead {
    background-color: var(--primary2);
    color: white;
}

table {
    width: 100%;
    border: var(--primary2);
    background-color: var(--comcolor4);
}

.td {
    height: 100px;
    /* 为单元格指定高度，可根据需要调整 */
    line-height: 100px;
    /* 与单元格高度相同 */
    text-align: center;
    /* 水平居中 */
    vertical-align: middle;
    /* 垂直居中 */
}

.td1 {
    text-align: center;
    /* 水平居中 */
    vertical-align: middle;
    /* 垂直居中 */
}

.xscroll {
    white-space: nowrap;
    overflow-x: auto;
    /* 或者 overflow-x: scroll; */
}

.ul {
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    /* 將li水平排列 */
    background: var(--bgcolor);
}

.li {
    padding: 10px;
    margin: 5px;
}

#navbarToggleExternalContent a {
    color: var(--primary1);

}

.mark {
    background-color: var(--seccolor1) !important;
}

.spacing {
    height: 50px;
}


/* 将列表项设置为行内元素，使其在同一行显示 */
.ul {
    list-style-type: none;
    /* 移除列表项的默认样式 */
    padding: 0;
    /* 移除列表的内边距 */
}

.li {
    display: inline;
    /* 或者使用 inline-block */
    margin-right: 10px;
    /* 可选：增加项之间的间距 */
}

input[type=number] {
    float: left;
    width: 70px;
    height: 35px;
    padding: 0;
    font-size: 1.2em;
    text-transform: uppercase;
    text-align: center;
    color: var(--primary1);
    background: none;
    outline: none;
    pointer-events: none;
}

span.spinner {
    position: absolute;
    height: 40px;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

span.spinner>.sub,
span.spinner>.add {
    float: left;
    display: block;
    width: 35px;
    height: 35px;
    text-align: center;
    font-family: Lato;
    font-weight: 700;
    font-size: 1.2em;
    line-height: 33px;
    color: var(--primary1);
    border-right: 0;
    border-radius: 2px 0 0 2px;
    cursor: pointer;
    transition: 0.1s linear;
    -o-transition: 0.1s linear;
    -ms-transition: 0.1s linear;
    -moz-transition: 0.1s linear;
    -webkit-transition: 0.1s linear;
}

span.spinner>.add {
    top: 0;
    border-left: 0;
    border-radius: 0 2px 2px 0;
}

span.spinner>.sub:hover,
span.spinner>.add:hover {
    color: var(--seccolor1);
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.message {
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 10px;
    width: 500px;
    background-color: var(--seccolor3);
    text-align: center;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    color: var(--black);
    font-size: 20px;
    cursor: pointer;
}

.button {
    color: var(--primary1);
    width: 20px;
    height: 20px;
}

.font24 {
    font-size: 24px;
}

.font30 {
    font-size: 30px;
}

@media only screen and (max-width: 820px) {
    #topHeader {
        display: none;
    }

    .ul {
        list-style: none;
        width: 200%;
        padding: 0;
        margin: 0;
        display: flex;
        /* 將li水平排列 */
        background: var(--bgcolor);
    }

    .btnm {
        padding-top: 50px;
    }

    .imgphone {
        height: 100px !important;
    }
}