﻿form {
    margin: 0 auto;
}

#full-screen-background-image {
    z-index: -999;
    min-height: 100%;
    min-width: 1024px;
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
}

#wrapper {
    position: relative;
    width: auto;
    min-height: 400px;
    margin: auto;
    color: #333;
}

* {
    margin: 0;
    padding: 0;
}

a {
    color: #000000;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

body {
    font-size: 14pt;
    line-height: 1.75em;
    font-family: "Microsoft YaHei", "Microsoft JhengHei", "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
    background: #D2E0DD;
    color: #382b31;
}

br.clear {
    clear: both;
}

h1, h2, h3, h4 {
    text-transform: lowercase;
}

h2, h3, h4 {
    margin-bottom: 1em;
    font-family: Bitter, serif;
    color: #000000;
}

strong {
    color: #000000;
}

img.left {
    float: left;
    margin: 8px 20px 20px 0;
}

img.top {
    margin: 8px 0 20px 0;
}

p {
    margin-bottom: 1.3em;
}

ul {
    margin-bottom: 1.3em;
}

.imageList {
    list-style: none;
}

.imageList li {
    clear: both;
}

#bg {
    background: url(images/bg.png) no-repeat left bottom;
    padding: 0 0 0 0;
	background-color: #fff;
}

#banner {
    position: relative;
	width: 100%;
	height: 100px;
    padding: 0px;
    margin: 0 0 0 0;
    background: #fff;
}


#box {
    width: 766px;
    overflow: hidden;
    margin-left: -20px;

}

    #box p {
        max-width: 700px;
        font-size: 14px;
        line-height: 1.5;
    }

        #box p div {
            padding-left: 1.5em;
            text-indent: -1.5em;
        }

    #box table {
        max-width: 700px;
        font-size: 14px;
        line-height: 1.5;
    }

        #box table tbody tr {
            vertical-align: bottom;
        }




#box1 {
    width: 720px;
    height: 320px;
    overflow: hidden;
    padding-top: 20px;
    margin-left: -20px;
}


#box1 span {
    color: purple;
    padding-left: 10px;
}

    #box1 li {
        font-size: 11pt;
        list-style-type: none;
        display: inline-block;
        float: left;
        margin: 0px 24px;
        padding: 0px 0 6px 21px;
        background: url(images/light30.png) no-repeat left center;
        background-size: 16px 16px;
        width: 720px;
    }


#box2 {
    width: 350px;
    overflow: hidden;
    float: left;
	margin: 0 0 0 20px;
}

#box3 {
    width: 350px;
    overflow: hidden;
    margin: 0 0 0 400px;
}

#box4 {
    width: 350px;
    overflow: hidden;
    padding-top: 20px;
    float: left;
    margin: 0 0 0 10px;
}

#box4 span {
    font-size: 12pt;
}

#box4 a {
   text-decoration: none;
   color: #003D43;
   text-shadow: 1px 1px 2px #EAEAEA;
   border-bottom: 1px dotted;
}

   #box4 a:hover {
      color: #FFD240;
      text-shadow: 1px 1px 1px #000;
   }

   #box4 a:hover, a:visited, a:link, a:active {
      text-decoration: none;
    }

#box5 {
    width: 350px;
    overflow: hidden;
    padding-top: 20px;
    margin: 0 0 0 400px;
}

    #box5 span {
        font-size: 12pt;
        color: #CC0007;
    }

    #box5 a {
        text-decoration: none;
        color: #003D43;
        text-shadow: 1px 1px 1px #F2F2F2;
        border-bottom: 1px dotted;
    }

        #box5 a:hover {
            color: #FFD240;
            text-shadow: 1px 1px 1px #000;
        }

        #box5 a:hover, a:visited, a:link, a:active {
            text-decoration: none;
        }


#content {
    min-height: 500px;
	min-width: 750px;
    margin: 0 0 0 30%;
    padding-top: 40px;
}

#copyright {
    text-align: center;
    color: #819B95;
    padding: 32px 0 0 0;
}

#copyright a {
    color: #819B95;
}

#footer {
    position: relative;
	width: 100%;
    height: 80px;
    background-image: url(images/bottom_2.jpg);
	background-repeat: repeat-x;
}

#footer-text-block {
    position: absolute;
	top: 6px;
    left: 30%;
    color: white;
    font-size: 9pt;
    line-height: 1.25;
	overflow: hidden;
}


#header {
    position: relative;
    padding: 24px;
    height: 150px;
    width: 932px;
    background: #34564f;
    color: #fff;
}

#logo {
    position: absolute;
    top: 0;
    left: 24px;
    height: 150px;
    line-height: 150px;
}

#logo a {
    text-decoration: none;
    color: #fff;
}

#logo h1 {
    font-size: 2.75em;
    font-family: Bitter, serif;
}

#main {
    position: relative;
    padding: 0px;
    width: 1046px;
	margin:0 auto;
}

#main a {
    color: #1c1c1c;
}

#main h2, #main h3, #main h4 {
    color: #212121;
}

#main ul {
    list-style: none;
}

#main ul li {
    /*padding: 6px 0 6px 0;*/
    
}

#main ul li.first {
    padding-top: 0;
    border-top: 0;
}

#main ul.imageList li {
    padding: 16px 0 16px 0;
}

#nav {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 57px;
    line-height: 57px;
    padding: 0 24px 0 24px;
    width: 932px;
    margin: 0 0 0 0;
    background: #117848;
}

    #nav a {
        text-decoration: none;
        text-transform: lowercase;
        color: #fff;
    }

    #nav li {
        margin: 0 1em 0 0;
        padding: 0 1em 0 1em;
    }

        #nav li.active {
            background: #fff;
        }

            #nav li.active a {
                color: #34564F;
            }

    #nav ul {
        list-style: none;
    }

        #nav ul li {
            float: left;
        }

#outer {
    position: relative;
    width: 100%;
    margin: 0 auto 0 auto;
    background: #fff;
}

#search {
    position: absolute;
    top: 0;
    right: 24px;
    height: 150px;
    line-height: 150px;
}

#search input.button {
    margin-left: 1em;
    border: 0;
    color: #fff;
    background: #117848;
    padding: 4px;
    text-transform: lowercase;
    font-family: Bitter, serif;
}

#search input.text {
    border: solid 1px #5d7872;
    padding: 4px;
}

#sidebar {
    width: 280px;
    float: left;
    padding: 20px 10px 10px 20px;
    margin-top: 20px;
}

#sidebar ul {
    list-style-type: none; /* 去除項目清單的小黑點 */
    margin: 0; /* 清除項目清單的外間距 */
    padding: 0; /* 清除項目清單的內間距 */
}

    #sidebar ul li {
        padding: 6px 0 6px 0;
    }
	
.myButton2 {
    -moz-box-shadow: inset 0px 0px 0px 2px #ffffff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #ffffff;
    box-shadow: inset 0px 0px 0px 2px #ffffff;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9));
    background: -moz-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
    background: -webkit-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
    background: -o-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
    background: -ms-linear-gradient(top, #f9f9f9 5%, #e9e9e9 100%);
    background: linear-gradient(to bottom, #f9f9f9 5%, #e9e9e9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9',GradientType=0);
    background-color: #f9f9f9;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    display: inline-block;
    cursor: pointer;
    color: #666666;
    font-size: 16px;
    padding: 7px 20px 7px 20px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #ffffff;
    width: 240px;
}

    .myButton2:focus {
        /*position: relative;
        top: 1px;*/
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f2ba1d), color-stop(1, #f2ba1d));
        background: -moz-linear-gradient(top, #f2ba1d 5%, #f2ba1d 100%);
        background: -webkit-linear-gradient(top, #f2ba1d 5%, #f9f9f9 100%);
        background: -o-linear-gradient(top, #f2ba1d 5%, #f2ba1d 100%);
        background: -ms-linear-gradient(top, #f2ba1d 5%, #f2ba1d 100%);
        background: linear-gradient(to bottom, #f2ba1d 5%, #f2ba1d 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='##f2ba1d', endColorstr='##f2ba1d',GradientType=0);
        background-color: #f2ba1d;
        font-weight: bold;
    }

    .myButton2:hover {
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f2ba1d), color-stop(1, #f2ba1d));
        background: -moz-linear-gradient(top, #f2ba1d 5%, #f2ba1d 100%);
        background: -webkit-linear-gradient(top, #f2ba1d 5%, #f9f9f9 100%);
        background: -o-linear-gradient(top, #f2ba1d 5%, #f2ba1d 100%);
        background: -ms-linear-gradient(top, #f2ba1d 5%, #f2ba1d 100%);
        background: linear-gradient(to bottom, #f2ba1d 5%, #f2ba1d 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='##f2ba1d', endColorstr='##f2ba1d',GradientType=0);
        background-color: #f2ba1d;
        font-weight: bold;
    }

    .myButton2 span {
        padding-left: 20px;
    }

#banner-table { 

    width: 100%; 
    height: 100px; 
    padding: 0; 
    margin: 0; 
    border-collapse: collapse; 
    table-layout: fixed; 
} 

#left-image { 
    background-image: url(images/banner_3_left_1.png); 
    background-position: right; 
    background-repeat: repeat-x; 
} 

#center-image { 
    width:1000px; 
} 

#center-image div { 
    position:absolute;
	width:1000px; 
    height:100px; 
	top:0;
    background-image: url(images/banner_5.png); 
    background-repeat: no-repeat; 
} 
 
#right-image { 
    background-image: url(images/banner_3_right_1.png); 
    background-position: left; 
    background-repeat: repeat-x;
}

/* 新增於 Site.css 底部 */
.d-none {
    display: none !important;
}
​
/* 1. 設定圖片外層 <a> 標籤的固定尺寸與置中屬性 */
.img-cognos-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 250px; 
    margin-bottom: 15px; /* 若有多張圖片，讓圖片之間保持間距 */
}

/* 2. 設定圖片本身的內縮邏輯 */
.cognos-responsive-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* 關鍵字：確保圖片保持原始比例，完整顯示在容器內不截斷 */
}

.visitor-info-container {
    width: 1024px;
    min-width: 766px;
    padding-right: 15px;
}

.visitor-info-text {
    float: right;
    color: #003D43;
    font-weight: bold;
    text-decoration: none;
    font-size: 12pt;
}
/* 替代 inline width 樣式 */
.col-w-60 {
    width: 60px;
}

.col-w-70 {
    width: 70px;
}

.col-w-80 {
    width: 80px;
}

.col-w-100 {
    width: 100px;
}

.col-w-140 {
    width: 140px;
}

.col-w-150 {
    width: 150px;
}

.col-w-155 {
    width: 155px;
}

.col-w-200 {
    width: 200px;
}

.col-w-280 {
    width: 280px;
}

/* 替代 inline display:none 樣式 */
.display-none {
    display: none;
}

/* 替代 inline font-size 樣式 */
.font-size-12 {
    font-size: 12px;
}


html, body {
    height: 100%;
    margin: 0;
    font-family: "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
    background: #f0f2f5;
}

/* ===== 通知頁：以 flex 讓訊息水平、垂直置中於頁面中央 ===== */
body.notice-page {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-box {
    width: 90%;
    max-width: 600px;
    box-sizing: border-box;
    padding: 32px 32px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    text-align: center;
}

    .notice-box h1 {
        margin: 0 0 16px;
        font-size: 24px;
        color: #c0392b;
    }

    .notice-box p {
        margin: 0 0 24px;
        line-height: 1.1;
        color: #333;
        text-align: left;
    }

    .notice-box button {
        padding: 10px 36px;
        font-size: 16px;
        color: #fff;
        background: #3EAEBA;
        border: 0;
        border-radius: 4px;
        cursor: pointer;
    }

        .notice-box button:hover {
            background: #30868F;
        }

