﻿body {
    font-family: 'Noto Sans TC';
    letter-spacing: 0.025rem;
}

html, body {
    width: 100%;
    height: 100%;
}

#menu-container {
    height: calc(100% - 67px);
    top: 67px;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
}

#menu a:nth-child(1), #menu a:nth-child(5) {
    color: #FFAE2A;
}

#menu a:nth-child(2), #menu a:nth-child(6) {
    color: #008FC7;
}

#menu a:nth-child(3), #menu a:nth-child(7) {
    /* color: #39C173; */
    color: #db3c3c;
}

#menu a:nth-child(4), #menu a:nth-child(8) {
    color: #009E9C;
}

#menu_2::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(to right, #00CCFF, #33CC99); /* 渐变背景色 */
    z-index: 1;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.text-primary {
    color: #008FC7;
}

.header-border {
    border-top-width: 8px;
    /* border-top-color: #008FC7; */
}

    .header-border::before {
        content: "";
        position: absolute;
        top: -8px;
        left: 0;
        width: 100%;
        height: 8px;
        background: linear-gradient(to right, #008FC7, #009E9C); /* 渐变背景色 */
        z-index: 1;
    }

.h3-text {
    color: #008FC7;
}

.btn-color {
    background: #008FC7;
}

a {
    text-decoration: underline;
    color: #009E9C;
}

.bg-product {
    background-color: #004F74;
}

.text-product-title {
    color: #004F74;
}

.text-example-title {
    color: #004F74;
}

.bg-example {
    background-color: rgba(0, 143, 199, 0.08);
}

.border-primary {
    border-color: #008FC7;
}

.bg-opacity-gray {
    background-color: rgba(0, 0, 0, 0.5);
}

.emphasis-words {
    color: #FFAE2A;
    font-weight: bold;
}

.pop-conpri-text {
    text-decoration: underline;
    color: #009E9C;
}

hr {
    border: 1px solid #5d5d5d;
}

/* 下拉選單 */
select {
    /* reset */
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    select.minimal {
        background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
        background-position: calc(100% - 24px) calc(1.5em + 2px), calc(100% - 18px) calc(1.5em + 2px), calc(100% - 2.5em) 1em;
        background-size: 6px 6px, 6px 6px, 1px 1.5em;
        background-repeat: no-repeat;
    }

        select.minimal:focus {
            background-image: linear-gradient(45deg, #008FC7 50%, transparent 50%), linear-gradient(135deg, transparent 50%, #008FC7 50%), linear-gradient(to right, #ccc, #ccc);
            background-position: calc(100% - 18px) 1.5em, calc(100% - 24px) 1.5em, calc(100% - 2.5em) 1em;
            background-size: 6px 6px, 6px 6px, 1px 1.5em;
            background-repeat: no-repeat;
        }

    select:-moz-focusring {
        color: transparent;
        text-shadow: 0 0 0 #000;
    }
/* end */

.text_mark_yellow, .inhome {
    position: relative;
    background: linear-gradient(transparent 60%, #ffdd00 60%, #ffdd00 100%);
    padding: 2px 1px;
    width: fit-content;
    white-space: nowrap;
}

    @media screen and (max-width:640px) {
        .text_mark_yellow, .inhome {
            font-size: 1.55rem;
        }
}
@media screen and (max-width:420px) {
    .text_mark_yellow, .inhome {
        font-size: 1.55rem;
    }
}
@media screen and (max-width:400px) {
    .text_mark_yellow, .inhome {
        font-size: 1.32rem;
    }
}
@media screen and (max-width:361px) {
    .text_mark_yellow, .inhome {
        font-size: 1.2rem;
    }
}
.text_mark_blue {
    position: relative;
    background: linear-gradient(transparent 60%, #b3e6fa 60%, #b3e6fa 100%);
    padding: 2px 1px;
    width: fit-content;
}
    /* Toggle */
#toggleBlock_0, #toggleBlock_1, #toggleBlock_2, #toggleBlock_3 {
    height: 0; /* 初始為隱藏 */
    overflow: hidden; /* 隱藏超出部分 */
    transition: height 0.5s ease-in-out;
}

    .arrow {
        transition: transform 0.5s;
        cursor: pointer;
    }
    /* end */

    /*Howard add*/

    @font-face {
        font-family: 'Noto Sans TC';
        src: url("../fonts/NotoSansTC.ttf");
        src: local("Noto Sans TC"), local("NotoSansTC"), url("../fonts/NotoSansTC.ttf") format(truetype);
    }

    /*Start CommonPopup */
    .temporary {
        display: none;
        width: 100vw;
        height: 100vh;
        background: rgba(52,73,94,0.7);
        position: fixed;
        top: 0;
        left: 0;
        overflow: scroll;
        z-index: 2000;
    }
        /*alert*/
        .temporary div {
            /*        width: 80vw;
        margin: 3.3333vw;*/
            /*width: 60vw;*/
            width: 70vw;
            /*margin: 15.3333vw;*/
            margin-top: 30.3333vw;
            margin-left: 15.333vw;
            padding: 6.6666vw 6.6666vw 6vw;
            position: relative;
            background: #fff;
        }

            .temporary div.btns {
                margin: 4vw 0vw 0vw 0vw;
            }

        .temporary a.btn_close {
            display: block;
            width: 8vw;
            height: 8vw;
            position: absolute;
            background: #008fc7 url(../images/delete_w.png) no-repeat center;
            background-size: 4vw;
            top: 0;
            right: 0;
        }

        .temporary iframe {
            width: 3.3333vw;
            height: 2.6666vw;
            margin-right: 2.1333vw;
        }

        .temporary span.title {
            display: block;
            width: 80vw;
            color: #6a7884;
            font-size: 0.8rem; /*line-height: 4.2666vw;*/
        }

        .temporary strong {
            display: block;
            padding: 6.6666vw 0;
            font-size: 0.8rem;
            color: #34495e;
        }

        .temporary p {
            color: #6a7884;
            font-size: 0.8rem;
            line-height: 0.8rem;
            margin: 0;
        }

            .temporary p.remind {
                color: #6a7884;
                font-size: 0.8rem;
                line-height: 0.8rem;
            }

            .temporary p span {
                line-height: 6vw;
                display: initial;
                font-size: 0.8rem;
                font-weight: 400;
                text-align: center;
            }

                .temporary p span.red {
                    color: #ff5c5c;
                    font-weight: 700;
                }

                .temporary p span.blue {
                    display: block;
                    color: #6a7884;
                    white-space: pre-wrap;
                    word-break: break-all;
                }

        .temporary input {
            width: 80vw;
        }

        .temporary a.btn_check {
            display: block;
            width: 80vw;
            font-size: 0.8rem;
            line-height: 6vw;
            text-align: center;
            font-weight: 700;
            color: #fff;
            background: #008fc7;
            text-decoration: none;
            width: 100%
        }

        .temporary a.pre_calc_btn_check {
            display: block;
            width: 80vw;
            font-size: 0.8rem;
            line-height: 6vw;
            text-align: center;
            font-weight: 700;
            color: #fff;
            background: #008fc7;
        }
    /* step1 popup 文字樣式　by Ivan */
    .popupHeader {
        position: relative;
        left: 50px;
    }

    @media screen and (min-width: 1024px) {
        .collapse_btn {
            color: #fff;
            padding: 0 0;
            width: 190px;
            border-radius: 30px;
            margin: 0 20% 25px;
            font-size: 18px;
            line-height: 20px;
            background: hotpink;
            float: right;
            text-align: center;
        }

        .temporary {
            display: none;
            width: 100vw;
            height: 100vh;
        }

            .temporary div {
                width: 600px;
                margin: 160px auto 0;
                padding: 50px;
            }

                .temporary div.btns {
                    margin: 0;
                }

            .temporary a.btn_close {
                width: 30px;
                height: 30px;
                background-size: 15px;
            }

            .temporary iframe {
                width: 12.5px;
                height: 10px;
                margin-right: 8px;
            }

            .temporary span.title {
                width: 100%;
                font-size: 16px;
                line-height: 16px;
                padding-bottom: 25px;
                border-bottom: solid 1px #e7eaf0;
            }

            .temporary strong {
                padding: 0 0 25px;
                font-size: 16px;
            }

            .temporary p {
                font-size: 16px;
                line-height: 27px;
                margin-bottom: 25px;
            }

                .temporary p.remind {
                    font-size: 14px;
                    line-height: 24px;
                }

                .temporary p span {
                    line-height: 27px;
                    font-size: 16px;
                }

                    .temporary p span.blue {
                        width: 95%;
                    }

            .temporary input {
                width: 380px;
                margin-right: 25px;
                display: inline-block;
            }

            .temporary a.btn_check {
                width: 180px;
                font-size: 16px;
                line-height: 28px;
                display: inline-block;
            }

            .temporary a.pre_calc_btn_check {
                width: 180px;
                font-size: 16px;
                line-height: 45px;
                display: inline-block;
            }
        /* step1 popup 文字樣式　by Ivan */
        .popupHeader {
            position: relative;
            left: 150px;
        }
    }
    /*End CommonPopup */


    #chgCaptcha {
        color: #19a6d1;
        letter-spacing: 1.5px;
        font-size: 1.6rem;
        font-weight: 500;
    }

    /*索取後 Popup*/

    .white_content {
        position: fixed;
        top: 5%;
        left: 5%;
        z-index: 1050;
        width: 90%;
        height: 90%;
        background-color: #ffffff;
        border-radius: 5px;
        display: none;
        font-family: Arial, "微軟正黑體";
        -webkit-overflow-scrolling: touch;
    }



    .white-body {
        position: relative;
        height: 90%;
        overflow-y: auto;
        display: block;
        line-height: 1.5;
        padding: 40px 30PX;
    }

        .white-body p {
            text-indent: -20px;
            padding-left: 21px;
            margin: 10px 0 10px 0;
            color: #323232;
        }

        .white-body h1 {
            width: 100%;
            text-align: center;
            font-size: 33px;
            line-height: 45px;
            font-weight: bold;
            /* color: #2195c6; */
            margin-bottom: 15px;
        }

        .white-body h3 {
            text-align: justify;
            font-size: 25px;
            line-height: 40px;
            font-weight: bold;
            margin-bottom: 30px;
            /* color: #E49F0B;*/
        }

        .white-body ul {
            padding-left: 35px;
            font-family: Arial, "微軟正黑體";
        }

            .white-body ul li {
                text-align: justify;
                font-size: 25px;
                line-height: 40px;
                margin-bottom: 15px;
                word-break: break-all;
                font-family: Arial, "微軟正黑體";
            }

    .close {
        width: 23px;
        height: 23px;
        position: absolute;
        top: 15px;
        right: 35px;
        z-index: 10000;
    }

    .loading-body {
        position: relative;
        height: 90%;
        overflow-y: auto;
        display: block;
        line-height: 1.5;
        padding: 40px 30PX;
        align-content: center;
    }