﻿/* ======================
   版面定位（桌機）
   ====================== */
.wscenter {
    width: 600px;
    height: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -150px 0 0 -300px;
}

.wstop {
    width: 600px;
    height: 600px;
    position: absolute;
    top: 10%;
    left: 10%;
    margin: 5px 10px 15px 20px;
}

/* ======================
   文字 / 表格
   ====================== */
.tablecss {
    font-family: Arial, Verdana, "新細明體";
    font-size: 14px;
    text-align: left;
    float: left;
}

.mytyle {
    font-family: Arial, Verdana, "新細明體";
    font-size: 16px;
    font-weight: bold;
    color: #ff00ff;
}

/* ======================
   按鈕
   ====================== */
.btn:disabled,
.btn.disabled,
fieldset:disabled .btn {
    pointer-events: none;
    opacity: 0.65;
}

.btn-primary {
    color: #616161;
    background-color: #FFB30E;
    border-color: #FFB30E;
}

/* ======================
   標題 / 區塊
   ====================== */
.service-box-title {
    font-size: 16px;
    margin-bottom: 10px;
}

    .service-box-title a {
        color: #333;
    }

        .service-box-title a:hover {
            color: #ffb600;
        }

.widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-left: 15px;
    text-transform: uppercase;
    color: #fff;
    border-left: 3px solid #ffb600;
}

.footer-social {
    margin-top: 15px;
}

.working-hours {
    padding-right: 10px;
}

    .working-hours .text-right {
        float: right;
    }

/* ======================
   Banner
   ====================== */
.banner {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: flex-start; /* 水平靠左對齊 */
    height: 100px; /* 設置一個高度，以便觀察居中效果 */
    background-color: #001f3f; /* 圖片中的背景色 */
    color: white; /* 文字顏色 */
    padding-left: 15px; /* 添加一些左側間距 */
}

.banner-img {
    height: 100%;
    width: auto;
}
 
/* =========================
   手機版 RWD（小於 768px）
   ========================= */
@media screen and (max-width: 768px) {

    /* 1️⃣ 中央區塊改成滿版 */
    .wscenter,
    .wstop {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        left: 0;
        margin: 10px 0;
    }

    /* 2️⃣ 表格不要浮動，避免擠在一起 */
    .tablecss {
        float: none;
        width: 100%;
        font-size: 14px;
    }

    /* 3️⃣ Banner 高度縮小 */
    .banner {
        height: 50px;
    }

    .banner-img {
        height: 100%;
        width: auto;
        display: block;
        margin: 0 auto;
    }

    /* 4️⃣ 按鈕變大一點，好點 */
    .btn {
        width: 100%;
        margin-bottom: 10px;
        font-size: 16px;
    }
     
}