/* banner-content */
.banner-content_img {
    height: 400px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center top;
}

.banner-content {
    padding: 80px 0 0 0;
}

.chemistry_rows {
    padding-top: 0;
}

.banner-content.second_type {
    padding: 100px 0 100px 0;
}

.chemistry_cont {
    z-index: 11;
    max-width: 100%;
}

.chemistry_cont .cont-title {
    font-size: 30px;
    letter-spacing: 5px;
}

.chemistry_cont .cont-en {
    line-height: 1.1;
    letter-spacing: 1px;
}

.chemistry_cont .cont-text {
    letter-spacing: 2px;
}

.chemistry_cont .cont-title-en .cont-title-en-title1 {
    left: 0;
    top: 0;
}

.chemistry_cont .cont-title-en .cont-title-en-title2 {
    left: 0;
    top: 0;
}

/*  */
@keyframes fly-in {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.cont-title-en-title1 span,
.cont-title-en-title2 span {
    display: inline-block;
    opacity: 0;
    animation: fly-in 1.5s ease-out forwards;
}

.cont-title-en-title1 span:nth-child(1) {
    animation-delay: 0s;
}

.cont-title-en-title1 span:nth-child(2) {
    animation-delay: 0.5s;
}

.cont-title-en-title1 span:nth-child(3) {
    animation-delay: 0.8s;
}

.cont-title-en-title1 span:nth-child(4) {
    animation-delay: 1s;
}

.cont-title-en-title1 span:nth-child(5) {
    animation-delay: 1.2s;
}

/* 按需添加更多 nth-child 規則 */

.cont-title-en-title2 span:nth-child(1) {
    animation-delay: 0s;
}

.cont-title-en-title2 span:nth-child(2) {
    animation-delay: 0.5s;
}

.cont-title-en-title2 span:nth-child(3) {
    animation-delay: 0.8s;
}

.cont-title-en-title2 span:nth-child(4) {
    animation-delay: 1s;
}

.cont-title-en-title2 span:nth-child(5) {
    animation-delay: 1.2s;
}

.cont-title-en-title2 span:nth-child(6) {
    animation-delay: 1.4s;
}

/* 按需添加更多 nth-child 規則 */
/* 表格 */
.contact-content {
    padding: 120px 0 60px 0;
}

.schedule-container {
    display: block;
    border: 1px solid #543b6d;
    border-radius: 0px;
    font-size:1.1rem;
}
.schedule-container a i {
    color: #4a0095;
}

/* 表格 header */
.schedule-header {
    display: table;
    width: 100%;
    border-bottom: 1px solid #543b6d;
}

.schedule-header-item {
    display: table-cell;
    padding: 4px 0;
    width: 14.28%;
    border-right: 1px solid #543b6d;
}

.schedule-header-item:last-child {
    border-right: 0px solid #543b6d;
}

/* 表格 body */
.schedule-body {
    display: flex;
    width: 100%;
}

/* 表格 body 固定標題 */
.schedule-fixed {
    width: 14.28%;
    border-right: 1px solid #543b6d;
}

.schedule-fixed-row-td {
    border-bottom: 1px solid #543b6d;
    padding: 4px 0;
}

.schedule-fixed-row-td:last-child {
    border-bottom: 0px solid #777;
}

/* 表格 body 擴充內容 */
.schedule-content {
    display: table;
    width: 85.68%;
}

.schedule-content-row {
    display: table-cell;
    width: 14.28%;
    border-right: 1px solid #543b6d;
}

.schedule-content-row:last-child {
    border-right: 0px solid #543b6d;
}

.schedule-content-row-td {
    border-bottom: 1px solid #543b6d;
    padding: 0 0;
}

.schedule-content-row-td:last-child {
    border-bottom: 1px solid #543b6d;
}

/* 門市資訊 */
.contact-infomation {
    padding: 120px 0 50px 0;
}

.contact-infomation .chemistry_rows {
    max-width: 1050px;
}

.contact-infomation .border_line {
    /*     background: -webkit-gradient(linear, left top, right top, from(#e07d19), to(rgba(0, 0, 0, 0)));
    background: linear-gradient(to right, #e07d19, rgba(0, 0, 0, 0)); */
    height: 1px;
    margin: 15px 0 15px 0;
    border-bottom: 3px solid #ccc;
}

.contact-infomation a.line_icon svg,
.contact-infomation a.fb_icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    text-align: center;
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    line-height: 50px;
    fill: #560c81;
    margin: auto;
}

.contact-infomation a.fb_icon {
    background: #560c81;
    color: #fff;
    font-size: 24px;
}

.cont-map a {
    position: relative;
    display: inline-block;
    max-width: 180px;
    height: 36px;
    line-height: 32px;
    padding: 0 10px;
    border: 1px dotted #fff;
    margin: 0 auto;
    text-align: center;
    border-radius: 5px;
    background: #560c81;
    color: #fff;
}

.cont-map a:hover {
    background: #e07d19;
}

.info_submit {

    border-radius: 8px;
    background-color: rgba(218, 138, 32, 1);
    color: #fff;
    border: 0px solid #ccc;
}

.error {
    border-color: red;
}

.error-message {
    color: red;
    display: none;
}

.knowledge_list_border {
    background: linear-gradient(135deg, rgba(232, 232, 232, 1) 0%, rgba(252, 252, 252, 1) 0%, rgba(232, 232, 232, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    border: 1px solid #cecece;
    box-shadow: 2px 2px 2px 1px rgba(150, 150, 150, 0.1);
    border-radius: 15px;
    padding: 25px 15px;
}

.knowledge_list_form {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(232, 232, 232, 1) 0%, rgba(252, 252, 252, 1) 0%, rgba(232, 232, 232, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    border: 1px solid #cecece;
    border-radius: 8px;
    padding: 15px 15px 15px 35px;
}

.knowledge_list_form li {
    list-style: disc;
}


/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    /* 高於 Bootstrap 的 modal */
}

/* Alert Box Centering */
.alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1060;
    /* 高於 loading overlay */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* 浮動選單 */
.secondary_content {
    padding: 40px 0 20px 0;
}

.secondary_content_list .cont_en {
    font-size: 30px;
    color: #df9300;
}

.secondary_content_list .cont_title {
    font-size: 30px;
    letter-spacing: 4px;
}

/* map */
.contact_map {
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}

.contact_map img {
    border-radius: 8px;
}

/* 響應式裝置========== */
@media only screen and (min-width : 992px) {

    .contact-content .container {
        max-width: 1050px;
    }

    .banner-content_img .chemistry_cont {
        margin-top: 60px;
    }

    .banner-content_img .chemistry_cont .cont-title-en {
        white-space: nowrap;
        font-size: 70px;
    }

    .schedule-fixed-row-td {
        padding: 3px 0;
    }
    .schedule-fixed-row-td:nth-child(2),
    .schedule-fixed-row-td:nth-child(3),
    .schedule-fixed-row-td:nth-child(4){
        height: 45px;
        padding-top: 8px;
        background: #ede9f1;
    }
    .schedule-fixed-row-td:nth-child(3){
        height: 85px;
        padding-top: 8px;
        background: #ede9f1;
    }
    .schedule-content-row-td {
        padding: 3px 0;
    }
    .schedule-content-row-td:nth-child(2),
    .schedule-content-row-td:nth-child(3),
    .schedule-content-row-td:nth-child(4){
        line-height: 1.2;
        height: 45px;
        padding-top: 8px;
    }
    .schedule-content-row-td:nth-child(3){
        line-height: 1.2;
        height: 85px;
        padding-top: 8px;
    }
    .schedule-content-row-td:nth-child(2) .sub-text,
    .schedule-content-row-td:nth-child(3) .sub-text{
        position: relative;
        top: -8px;
    }

    .schedule-content-row-td.moblie-date {
        background: #8ad1ed;
    }

    .schedule-fixed-row-td:last-child {
        border-bottom: 1px solid #543b6d;
    }

    .schedule-body.week5 .schedule-fixed-row-td:last-child {
        border-bottom: 0px solid #543b6d;
    }

    .schedule-body.week5 .schedule-content-row-td:last-child {
        border-bottom: 0px solid #543b6d;
    }
}

@media screen and (min-width: 992px) and (max-width: 1366px) {}

@media only screen and (max-width : 991px) {
    .schedule-container {
        display: block;
        border: 1px solid #543b6d;
        border-radius: 0;
    }

    .schedule-body.week2,
    .schedule-body.week3,
    .schedule-body.week4,
    .schedule-body.week5,
    .schedule-body.week6 {
        display: none;
    }

    /* 隱藏在桌面版顯示的固定行 */
    .schedule-fixed {
        display: none;
    }

    /* 手機版標題 */
    .schedule-content-row-td.moblie-date::before {
        background-color: #976859;
        color: #fff;
    }

    .schedule-content-row-td::before {
        content: attr(data-title);
        display: block;
        width: 50%;
        /*         background-color: #efefef; */
        padding: 6px 0;
        border-right: 1px solid #543b6d;
        background: #fff;
        color: #333;
    }

    /* 在桌面版隱藏手機版標題 */
    @media (min-width: 992px) {
        .schedule-content-row-td::before {
            display: none;
        }

        .schedule-fixed {
            display: block;
        }

        .banner-content_img {
            background-size: cover;
        }
    }

    /* 表格 body 固定標題 */
    .schedule-fixed {
        display: flex;
        width: 40%;
        border-right: 1px solid #543b6d;
    }

    .schedule-fixed-row {
        width: 100%;
    }

    .schedule-fixed-row-td {
        border-bottom: 1px solid #543b6d;
        width: 100%;
    }

    /* 表格 body 擴充內容 */
    .schedule-content {
        display: block;
        width: 100%;
    }

    .schedule-content-row {
        display: block;
        width: 100%;
        border-right: 0px solid #543b6d;
    }

    .schedule-content-row-td {
        display: flex;
        border-bottom: 1px solid #543b6d;
        width: 100%;
    }

    .schedule-content-row-td span.schedule-content-row-td-text {
        width: 50%;
        padding: 6px 0;
    }

    .schedule-content-row-td-text.moblie-date {
        background-color: #f3c3b4;
        color: #333;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {}

@media only screen and (max-width : 991px) {
    .chemistry_cont .cont-title-en {
        font-size: 40px;
    }
}

@media only screen and (max-width : 767px) {
    .banner-content {
        padding: 70px 0 0px 0;
    }

    .banner-content_img {
        background-image: url(../images/contact/banner_new-xs.jpg?v=20240518) !important;
        background-position: center top;
        background-size: cover;
    }

    .chemistry_rows {
        padding-top: 40px;
    }

    .contact-infomation .chemistry_rows {
        padding-top: 0;
    }

    .chemistry_cont .cont-title-en {
        font-size: 45px;
        line-height: 1.1;
        letter-spacing: 1.5px;
    }
}

@media only screen and (max-width : 330px) {}

.schedule-content-row-td {
    background: #fff !important;
}

.schedule-content-row-td.moblie-date {
    background: #cfc5d9 !important;
}

.schedule-fixed-row div:first-child {
    background: #cfc5d9 !important;
}

/* ==========響應式裝置 */