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

}
.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 #ccc;
    border-radius: 8px;
}
/* 表格 header */
.schedule-header{
    display: table;
    width: 100%;
    border-bottom: 1px solid #ccc;
}
.schedule-header-item{
    display: table-cell;
    padding: 8px 0;
    width: 14.28%;
    border-right: 1px solid #ccc;
}
.schedule-header-item:last-child{
    border-right: 0px solid #ccc;
}
/* 表格 body */
.schedule-body{
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 8px;
}
/* 表格 body 固定標題 */
.schedule-fixed{
    width: 14.28%;
    border-right: 1px solid #ccc;
}

.schedule-fixed-row-td{
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
}
.schedule-fixed-row-td:last-child{
    border-bottom: 0px solid #ccc;
}
/* 表格 body 擴充內容 */
.schedule-content{
    display: table;
    width: 85.68%;
}
.schedule-content-row{
    display: table-cell;
    width: 14.28%;
    border-right: 1px solid #ccc;
}
.schedule-content-row:last-child{
    border-right: 0px solid #ccc;
}
.schedule-content-row-td{
    border-bottom: 1px solid #ccc;
    padding: 0 0;
}
.schedule-content-row-td:last-child{
    border-bottom: 1px solid #ccc;
}
/* 門市資訊 */
.contact-infomation{
    padding: 80px 0 100px 0;
}
.contact-infomation .chemistry_rows{
    max-width: 1100px;
}
.contact-infomation .border_line {
    height: 1px;
    margin: 15px 0 15px 0;
    border-bottom: 2px dotted #a88021;
}
.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: #df9300;
    margin: auto;
    border: 1px solid #fff
}
.contact-infomation a.fb_icon{
    background: #df9300;
    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 #df9300;
    margin: 0 auto;
    text-align: center;
    border-radius: 5px;
    background: #df9300;
    color: #fff;
}
.cont-map a:hover {
    background: #e07d19;
}
.bg-infomation{
    padding: 60px 0 60px 0;
    background-color: #5d0722;
    background: url('../images/index/icon_dots.png') center center / auto repeat;
    background-color: rgba(32, 30, 30, 0.5);
}
.info_submit{
    padding: 7px 20px;
    border-radius: 8px;
    background-color: #483c3c;
    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;
}
.contact_form .form-group .form-check{
    width: 49%;
    display: inline-block;
    margin-bottom: 10px;
}
.contact_form .form-group .form-check input{
    border: 1px solid #333;
}
.contact_form{
    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-radius: 8px;
    border: 1px solid #cecece;
    box-shadow: 2px 2px 2px 1px rgba(150, 150, 150, 0.1);
    padding: 45px 15px;
}
/* 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 40px 0;
}
.secondary_content_list .cont_en{
    font-size: 30px;
    color: #df9300;
}
.secondary_content_list .cont_title{
    font-size: 30px;
    letter-spacing: 4px;
}
/* 響應式裝置========== */
@media only screen and (min-width : 992px) {
    .contact_form{
        max-width: 700px;
        margin: 0 auto;
    }
    .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 .schedule-fixed-row-td:first-child{
        height: auto;
        border-radius: 8px 0 0 0;
    }
    .schedule-content-row .schedule-content-row-td:first-child{
        height: auto;
    }
    .schedule-content-row:last-child .schedule-content-row-td:first-child{
        height: auto;
        border-radius: 0 8px 0 0;
    }
    .schedule-fixed-row-td{
        padding: 6px 0;
        height: 70px;
    }
    .schedule-content-row-td{
        padding: 6px 0;
        height: 70px;
    }
    .schedule-content-row-td.moblie-date{
        background: #eae5e1
    }
    .schedule-fixed-row-td:last-child{
        border-bottom: 0px solid #ccc;
    }
    .schedule-body.week5 .schedule-fixed-row-td:last-child{
        border-bottom: 0px solid #ccc;
    }
    .schedule-body.week5 .schedule-content-row-td:last-child{
        border-bottom: 0px solid #ccc;
    }
    .schedule-content-row-td:last-child{
        border-bottom: 0px solid #ccc;
    }
}
@media screen and (min-width: 992px) and (max-width: 1366px) {
    
}

@media only screen and (max-width : 991px) {
    .schedule-container{
        display: block;
        border: 1px solid #ccc;
        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: rgba(32, 30, 30, 0.6);
        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 #ccc;
        color: #333;
    }

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

        .schedule-fixed {
            display: block;
        }
    }
    /* 表格 body 固定標題 */
    .schedule-fixed{
        display: flex;
        width: 40%;
        border-right: 1px solid #ccc;
    }
    .schedule-fixed-row{
        width: 100%;
    }
    .schedule-fixed-row-td{
        border-bottom: 1px solid #ccc;
        width: 100%;
    }
    /* 表格 body 擴充內容 */
    .schedule-content{
        display: block;
        width: 100%;
    }
    .schedule-content-row{
        display: block;
        width: 100%;
        border-right: 0px solid #ccc;
    }
    .schedule-content-row-td{
        display: flex;
        border-bottom: 1px solid #ccc;
        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: rgba(32, 30, 30, 0.6);
        color: #fff;
    }
}
@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) {

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