﻿.wrap {
    text-align: center;
    padding-top: 20%;
}

.btn {
    background-color: #FFB80C;
    text-decoration: none;
    color: #1e1e1e;
    padding: 16px;
    /*padding: 16px 0px 0px 16px;*/
    border-radius: 5px;
    font-size: 32px;
}

.popup-link {
    text-align: center;
    vertical-align: top;
    text-decoration: none;
    color: #0066CC;
    line-height: 160%;
    /*text-decoration: none;*/
    /*color: #7E7E7E;*/ /*灰色*/
}
    .popup-link:hover {
        color: #FF6000;
    }

.link {
    text-align: center;
    vertical-align: top;
    text-decoration: none;
    color: #0066CC;
    line-height: 160%;
}

    .link:hover {
        color: #FF6000;
    }

/*內容頁位置導覽*/
/*.ContentOuterWrapper .NavPath a:link, .ContentOuterWrapper .NavPath a:visited, .ContentOuterWrapper .NavPath a:active {
    font-weight: 600;
    text-decoration: none;
    color: #7E7E7E;
}*/

/*.ContentOuterWrapper .SubMenu ul li a:link, .ContentOuterWrapper .SubMenu ul li a:visited, .ContentOuterWrapper .SubMenu ul li a:active {
    width: 177px;
    display: inline-block;
    padding: 10px 0px 10px 23px;
    text-decoration: none;
    color: #233E83;
    font-weight: bold;
    font-size: 14px;
}*/

/*.linkbtn:link, .linkbtn:visited, .linkbtn:active {
    border: 1px solid #CCCCCC;
    background-color: white;
    font-weight: bold;
    color: #1C94C4;
    text-decoration: none;
    padding: 0.4em 1em 0.4em 1em;
    letter-spacing: normal;
    按鈕四角弧度
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}*/

/*.linkbtn:hover {
    color: #263F81;
    text-decoration: none;
}*/


.popup-wrap {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    content: '';
    background: rgba(0, 0, 0, 0.85);
}

.popup-box {
    width: 50%;
    padding: 50px 75px;
    transform: translate(-50%, -50%) scale(0.5);
    position: absolute;
    top: 50%;
    left: 50%;
    box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    background: #fff;
    text-align: center;
}

/*次選單與主要內容*/
.MainContent {
    padding: 0px 40px 30px 25px;
}

.divSearch {
    border: solid 2px #B0B0B0;
    padding: 15px;
    background: #F0F0F0;
    display: block;
}

    .divSearch h2 {
        color: #525252;
        font-weight: normal;
        line-height: 160%;
        letter-spacing: normal;
    }

h2 {
    font-size: 32px;
    color: #1a1a1a;
}

h3 {
    font-size: 24px;
    color: #888;
}

li {
    font-size: 30px;
    color: #888;
}

/*最新消息彈出視窗樣式*/
.popup-pnlNewsContent {
    /*display: none;*/
    width: 80%;
    height: auto;
    max-height: 98%;
    padding: 0px 15px 0px 0px;
    overflow-x: hidden;
    /*for IE8*/
    overflow-y: auto;
    transform: translate(-50%, -50%) scale(0.5);
    /*position: absolute;*/
    position: absolute;
    top: 60%;
    left: 50%;
    box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
    background: #fff;
    text-align: center;
    font-size: 24px;
    /*width: 50%;
    padding: 50px 75px;
    transform: translate(-50%, -50%) scale(0.5);
    position: absolute;
    top: 50%;
    left: 50%;
    box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    background: #fff;
    text-align: center;*/
}

    .popup-pnlNewsContent .popup-NewsLogo {
        /*width: calc(100% / 4);*/
        /*150px;*/
        /*height: auto;*/ /*80px*/
        background: url("../img/Acme_Logo.jpg") no-repeat center center;
        background-size: 230px 120px; /* cover contain;*/
        /*background-image: url("../img/Acme_Logo.jpg" ) ;*/
        /*display: inline-block;*/
        padding: 150px 0px 0px 260px;
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
        /*position: relative;*/ /*cover contain*/
        /*top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;*/
        /*width: 100%;*/
        /*aspect-ratio: 16/9;*/
        /* 額外確保圖片縮放時會有最好的效果 */
        /*object-fit: cover;*/
    }

    .popup-pnlNewsContent .popup-NewsSubject, .popup-pnlNewsContent .popup-NewsSubject .pager .pagination span {
        font-size: 30pt;
        color: #233E83;
        font-weight: bold;
        padding: 20px 10px 50px 15px;
        font-size: 24px;
        text-align: center;
        /*left*/
        /*letter-spacing: 10px;*/
        line-height: 1.0;
    }

    .popup-pnlNewsContent .popup-NewsDateTime, .popup-pnlNewsContent .popup-NewsDateTime span {
        font-size: 24pt;
        list-style-image: none;
        list-style: none;
        font-weight: normal;
        color: #6C6C6C;
        padding: 0px 0px 20px 0px;
        /*font-size: 24px;*/
    }

    .popup-pnlNewsContent .popup-NewsContent {
        font-size: 24pt;
        border-top: solid 1px #D6D6D6;
        border-bottom: solid 1px #D6D6D6;
        /*line-height: 160%;*/
        line-height: 1.0;
        /*padding: 20px 0px 20px 0px;*/
        padding: 10px 0px 0px 50px; /* padding: 上、左、下、右 */
        text-align: left;
        /*position: absolute;*/
    }

    .popup-pnlNewsContent .popup-NewsCopyRight  {
        padding-top: 20px;
        color: #6C6C6C;
        font-weight: bold;
        text-align: center;
        font-size: 14pt;
    }

.popup-pnlNewsContent .popup-NewsClose {
    text-align: center;
    padding: 20px 0px 10px 0px;
}



.popup-close-btn {
    width: 50px;
    height: 50px;
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 100%;
    background: #d75f70;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    line-height: 40px;
    font-size: 32px;
}

.popup-transform-in, .popup-transform-out {
    display: block;
    -webkit-transition: all ease 0.5s;
    transition: all ease 0.5s;
    
}

.popup-transform-in {
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    position: absolute;
}

.popup-transform-out  {
    -webkit-transform: translate(-50%, -50%) scale(0.5);
    transform: translate(-50%, -50%) scale(0.5);
}

.popup-shape-btn {
    width: 150px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    line-height: 40px;
    color: #000;
    background-color: transparent;
    border: 1px solid #000;
    position: relative;
    transition: all .3s linear;
    bottom: 10px;
    /*
    選擇定位位置
    top : 0;
    left : 0;
    bottom : 0;
    right : 0;
    */
}

    .popup-shape-btn > a {
        position: relative;
        z-index: 1;
        font-size: 24px;
    }

    .popup-shape-btn::before {
        content: "";
        width: 0%;
        height: 0%;
        display: block;
        background-color: #FFB80C;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: all .3s ease;
    }

    .popup-shape-btn:hover {
        color: #fff;
    }

        .popup-shape-btn:hover::before {
            width: 100%;
            height: 100%;
            opacity: 1;
        }



/* 搜尋 Html Table 用*/
#myInput {
    background-image: url('https://static.runoob.com/images/mix/searchicon.png'); /* 搜尋按鈕 */
    background-position: 10px 12px; /* 定位搜尋 */
    background-repeat: no-repeat; /* 不重複圖片 */
    width: 100%;
    font-size: 16px;
    padding: 12px 20px 12px 40px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}

#blocks {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #ddd;
    font-size: 18px;
}

#blocks th, #blocks td {
    text-align: left;
    padding: 12px;
}

    #blocks tr {
        /* 表格添加邊框*/
        border-bottom: 1px solid #ddd;
    }

        #blocks tr.header, #blocks tr:hover {
            /* 表投及滑鼠游標移動過 tr 時添加背景 */
            background-color: #f1f1f1;
        }

/*重大消息用 */        
.table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #ddd;
    font-size: 18px;
}

    .table th, .table td {
        text-align: left;
        padding: 12px;
    }

    .table tr {
        /* 表格添加邊框*/
        border-bottom: 1px solid #ddd;
    }

        .table tr.header, .table tr:hover {
            /* 表投及滑鼠游標移動過 tr 時添加背景 */
            background-color: #f1f1f1;
        }