@charset "utf-8";

/* CSS Document */

@import url(centurygothic.css);
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

/* CSS Reset */

html,
body,
div,
span,
applet,
object,
iframe,
form,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
em,
img,
q,
strong,
sub,
sup,
dl,
dt,
dd,
ol,
ul,
li {
    margin: 0;
    padding: 0;
}

body,
html {
    height: 100%;
}

img {
    border: 0;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0 !important;
}

p {
    line-height: 160%;
    padding: 3px 0;
}

select {
    padding: 0;
}

select,
input,
textarea {
    margin: 0;
    font-family: "Heiti TC", "黑體-繁", "Microsoft JhengHei", "微軟正黑體", 'Arial', sans-serif;
}

input[type="button"],
input[type="submit"],
input[type="reset"] {
    padding: 0 4px;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 3px;
    vertical-align: middle;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
select {
    cursor: pointer;
}

input[type="text"]:focus {
    outline: 0;
}


/*ios樣式清除*/

input[type="button"],
input[type="submit"],
input[type="reset"] {
    background-color: transparent;
    border: none;
    margin: 0px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 100%);
    /* W3C */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff', GradientType=1);
    /* IE6-8 */
}


/* 基本設定 */

body {
    color: #4d4d4d;
    font-family: "Heiti TC", "黑體-繁", "Microsoft JhengHei", "微軟正黑體", 'Arial', sans-serif;
    background-color: #fff;
    /*background-image:url(../images/bg.jpg); */
    -webkit-text-size-adjust: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title {
    font-family: 'Noto Sans TC', "Heiti TC", "微軟正黑體", "Microsoft JhengHei", "黑體-繁", 'Arial', sans-serif;
}

.clear {
    clear: both;
    float: none;
    height: 0px;
    width: 0;
    border: none;
    overflow: hidden;
}

.none {
    display: none;
}

hr {
    clear: both;
    height: 1px;
    border: 0;
    background-color: #c0c0c0;
    width: 100%;
    margin: 20px 0;
}

#Wrap {
    height: 100%;
}

body.fixed {
    overflow: hidden;
}

.date,
.postdate {
    font-family: 'Century Gothic', "Microsoft JhengHei", "微軟正黑體", 'Arial', sans-serif;
}


/* 連結 */

a {
    text-decoration: none;
    color: #333;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #cbab68;
}


/*反選*/

::selection {
    background-color: #cbab68;
    color: #FFF;
}


/*----------------------------------------------------------------------*/


/* Header */

#Header {
    width: 100%;
    box-sizing: border-box;
    z-index: 10005;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.10);
}

#Header::after {
    content: '';
    display: block;
    clear: both;
}

#Header>div {
    margin: 0 auto;
    box-sizing: border-box;
}


/* logo */

#Header .logo {
    display: table;
}

#Header .logo h1 {
    display: table-cell;
    vertical-align: middle;
}

#Header .logo a {
    width: 100%;
    display: block;
}

#Header .logo img {
    width: 100%;
    height: auto;
}


/*tool*/

#Header .tool {
    float: right;
    height: 95px;
    display: table;
}

#Header .tool>div {
    display: table-cell;
    vertical-align: middle;
    padding-right: 25px;
}

#Header .search_box .btn_icon {
    display: block;
    width: 30px;
    height: 40px;
}

#Header .search_box .btn_icon i {
    font-size: 137.5%;
    line-height: 40px;
}

#Header .search_box label {
    display: none;
}

#Header .search_box input[type="text"] {
    background-color: rgba(0, 0, 0, 0.00);
    border: 0;
    /* border-bottom:1px solid #fff;*/
    letter-spacing: 0.05em;
    font-size: 93.8%;
    padding: 5px 3px;
    width: 160px;
    color: #fff;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
}

#Header .search_box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#Header .search_box input[type="text"]:focus {
    border-color: #cbab68;
}

#Header .search_box .btn {
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -15px;
    display: block;
    width: 40px;
    height: 30px;
}

#Header .search_box .btn input[type="button"] {
    width: 30px;
    height: 30px;
    opacity: 0;
    z-index: 99;
}

#Header .search_box .btn i {
    color: #fff;
    font-size: 137.5%;
    text-align: center;
    width: 30px;
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 10px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
}

#Header .search_box .btn:hover i {
    color: #cbab68;
}

#Header .search_box>ul>li {
    position: relative;
}

#Header .search_box>ul>li>ul {
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 10009;
}

#Header .search_box .search_open {
    background-color: #2d2d2d;
    padding: 10px 20px;
    position: relative;
    box-sizing: border-box;
}


/* 顯示效果 */

#Header .search_box>ul>li>ul,
#Header .search_box:hover>ul>li>a i {
    transition: all 0.25s ease;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
}

#Header .search_box>ul>li>ul {
    opacity: 0;
    visibility: hidden;
}

#Header .search_box>ul>li:hover>a i {
    color: #cbab68;
}

#Header .search_box>ul>li:hover>ul {
    opacity: 1;
    visibility: visible;
}

#Header .lan_box {
    position: relative;
}

#Header .lan_box>ul>li>a {
    width: 30px;
    height: 40px;
}

#Header .lan_box i {
    color: #333;
    font-size: 137.5%;
    margin-right: 5px;
    line-height: 40px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
}

#Header .lan_box a.btn:hover i {
    color: #cbab68;
}

#Header .lan_box>ul>li>ul li a {
    color: #dfdfdf;
    word-break: break-all;
}


/*菱形圖形*/

.shape1 {
    display: block;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
}

.shape1::before,
.shape1::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}

.shape1::before {
    background-color: #333;
    width: 10px;
    height: 10px;
    z-index: 99;
    top: 11px;
    right: 11px;
}

.shape1::after {
    background-color: #fff;
    width: 32px;
    height: 32px;
}


/*----------------------------------------------------------------------*/


/* bxSlider_list共通設定 */


/* 不顯示子項目 */

.bxSlider_list li {
    float: left;
    list-style: none;
    position: relative;
    display: none;
}


/* 顯示第一筆項目 */

.bxSlider_list li:first-child {
    display: block;
}


/* 當JS執行時顯示全部 */

.bx-viewport ul.bxSlider_list li {
    display: block;
}

.bx-viewport {
    z-index: 9998;
    position: relative;
    zoom: 1;
}

.bx-wrapper {
    position: relative;
    margin: auto;
    padding: 0;
    zoom: 1;
}

.bx-wrapper .bx-controls-direction a.disabled {
    display: none;
}


/*----------------------------------------------------------------------*/


/* KeyVisual */

#KeyVisual {
    clear: both;
    position: relative;
    z-index: 9999;
    overflow: visible;
}

#KeyVisual>div {
    overflow: hidden;
}

#KeyVisual .bx-wrapper img {
    width: 100%;
}


/* 修改Key visual圖片載入時Slider高度過高問題 */

#KeyVisual .bxSlider_list {
    position: relative;
}


/* 載入時顯示loading動畫,載完後圖片淡入 */

#KeyVisual .bxSlider_list {
    background: url("../images/loader.gif") no-repeat center center;
}


/*#KeyVisual .bxSlider_list li {
		opacity:0; display:block;
		-webkit-transition: all 2s ease;
		-moz-transition: all 2s ease;
		transition: all 2s ease;
		}*/

#KeyVisual .bx-viewport .bxSlider_list {
    background-image: none;
}


/*#KeyVisual .bxSlider_list.show li { opacity:1; }*/

#KeyVisual .bxSlider_list li {
    width: 100%;
}

#KeyVisual .bxSlider_list li a {
    display: block;
    width: 100%;
    height: 100%;
}

#KeyVisual .bxSlider_list li span {
    display: block;
    padding-bottom: 50%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-size: cover;
    background-position: center center;
}


/*#KeyVisual .bxSlider_list li img { width:100%; height:auto; }*/


/* banner為影片時的設定 */

#KeyVisual .bxSlider_list li .video_bg {
    position: absolute;
    top: -6.25%;
    left: 0;
    width: 100%;
    height: auto;
    /*z-index:-1; */
}


/* DIRECTION CONTROLS (NEXT / PREV) */

#KeyVisual .bx-wrapper .bx-controls-direction a {
    display: block;
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.0);
    text-indent: -10000px;
    z-index: 9999;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#KeyVisual .bx-wrapper:hover .bx-controls-direction a {
    opacity: 1;
}

#KeyVisual .bx-wrapper .bx-controls-direction a::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    border-left: 4px solid rgba(255, 255, 255, 0.85);
    border-top: 4px solid rgba(255, 255, 255, 0.85);
}

#KeyVisual .bx-wrapper .bx-controls-direction a:hover {
    background-color: rgba(0, 0, 0, 0.0);
}

#KeyVisual .bx-wrapper .bx-controls-direction .bx-prev {
    left: 0;
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
}

#KeyVisual .bx-wrapper .bx-controls-direction .bx-next {
    right: 0;
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
}

#KeyVisual .bx-wrapper .bx-controls-direction .bx-prev::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#KeyVisual .bx-wrapper .bx-controls-direction .bx-next::after {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
}


/* PAGER */

#KeyVisual .bx-wrapper .bx-pager {
    display: block;
    position: absolute;
    right: 20px;
    bottom: 25px;
    z-index: 9999;
}

#KeyVisual .bx-wrapper .bx-pager .bx-pager-item,
#KeyVisual .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
    display: inline-block;
}

#KeyVisual .bx-wrapper .bx-pager.bx-default-pager a {
    text-indent: -10000px;
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 7px;
    background-color: #eee;
    border: 1px solid #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

#KeyVisual .bx-wrapper .bx-pager.bx-default-pager a:hover,
#KeyVisual .bx-wrapper .bx-pager.bx-default-pager a.active,
#KeyVisual .bx-wrapper .bx-pager.bx-default-pager a.focus {
    background-color: #cbab68;
    border-color: #cbab68;
}


/* down_arrow */

.down_arrow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -30px;
    z-index: 10000;
    width: 60px;
    height: 60px;
    background-color: #cbab68;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
}

.down_arrow a {
    display: block;
    width: 100%;
    height: 100%;
}

.down_arrow a i {
    color: #000;
    font-size: 125%;
    position: absolute;
    top: 20px;
    left: 25px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    animation: 0.5s jump infinite linear;
    animation-direction: alternate;
}

.down_arrow,
.down_arrow a i {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.down_arrow:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.down_arrow:hover a i {
    top: 25px;
    left: 30px;
}


/*----------------------------------------------------------------------*/


/* Center */

#Center {
    box-sizing: border-box;
    position: relative;
    clear: both;
}

#Center::after {
    content: '';
    display: block;
    clear: both;
}


/*----------------------------------------------------------------------*/


/* Btn Top */

.BtnTop {
    text-align: center;
    z-index: 10001;
    position: fixed;
    bottom: 60px;
    right: 10px;
    width: 50px;
    height: 54px;
    display: none;
}

.MenuFix .BtnTop {
    display: block;
}

.BtnTop a {
    display: block;
    width: 45px;
    height: 45px;
    border: 1px solid #000;
    position: relative;
    box-sizing: border-box;
    z-index: 10000;
    background-image: url(../images/bg.jpg);
}

.BtnTop a:hover i,
.BtnTop a {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.BtnTop a i.fa-long-arrow-up {
    color: #000;
    font-size: 125%;
    line-height: 45px;
}

.BtnTop a:hover i.fa-long-arrow-up {
    color: #000;
    padding-bottom: 3px;
    line-height: 35px;
}


/*----------------------------------------------------------------------*/


/* Footer */

#Footer {
    padding-bottom: 5rem;
}

#Footer::after {
    content: '';
    display: block;
    clear: both;
}

#Footer ul li,
#Footer .tt {
    letter-spacing: 0.03em;
}


/*footer的裝飾背景與按鈕(可以收合網站導覽)*/

.ft_top_bg {
    width: 100%;
    height: 20px;
    background-image: url(../images/bg_img1.jpg);
    text-align: center;
}

.ft_top_bg .open-arrow {
    display: inline-block;
    background-color: #000;
    width: 48px;
    height: 48px;
    position: relative;
    cursor: pointer;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.ft_top_bg .open-arrow::after {
    content: 'Open';
    display: block;
    position: absolute;
    bottom: 11px;
    left: -16px;
    width: 68px;
    font-size: 12px;
    font-family: Arial, "sans-serif";
    color: #fff;
    text-align: center;
    opacity: 0.8;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.ft_top_bg .open-arrow.close::after {
    content: 'Close';
    bottom: 21px;
    left: -6px;
}

.ft_top_bg .open-arrow i {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -12px;
    margin-left: -3px;
    color: #fff;
    text-align: center;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.ft_top_bg .open-arrow.close i {
    margin-top: -1px;
    margin-left: -14px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
}

.ft_top_bg .open-arrow:hover {
    background-color: #333;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}


/*footer的網站導覽*/

.footer_menu {
    width: 100%;
    margin-top: 4.5rem;
    position: relative;
}

.footer_menu.close {
    display: none;
}

.footer_menu.show {
    display: block;
}

.footer_menu>div {
    max-width: 1600px;
    margin: auto;
    border-bottom: 1px solid #ddd;
    padding: 1.5rem 1.5rem 5rem 1.5rem;
    box-sizing: border-box;
}

.footer_menu a {
    display: block;
    text-decoration: none;
}

.footer_menu,
.footer_menu>div>ul>li>a,
.footer_menu ul ul li a {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.footer_menu>div>ul::after {
    content: '';
    display: block;
    clear: both;
}

.footer_menu>div>ul>li {
    float: left;
    width: 13%;
    padding-right: 20px;
    box-sizing: border-box;
}

.footer_menu>div>ul>li>a {
    padding-bottom: 20px;
    color: #333333;
    font-size: 118.8%;
    line-height: 120%;
    font-weight: 400;
    font-family: 'Noto Sans TC', sans-serif;
}

.footer_menu>div>ul>li>a::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: #333;
    margin-top: 1rem;
}

.footer_menu>div>ul>li>a:hover::after {
    background-color: #666;
}

.footer_menu>div>ul>li>a:hover {
    color: #666;
}

.footer_menu ul ul li {
    padding: 6px 0;
}

.footer_menu ul ul li a {
    color: #777;
    font-size: 15px;
    text-decoration: none;
    line-height: 150%;
    position: relative;
}

.footer_menu ul ul li a:hover {
    color: #000;
}


/*footer的資訊區*/

.ft_bottom_info {
    margin-top: 3.5rem;
}

.ft_bottom_info>div {
    max-width: 1600px;
    margin: auto;
    padding: 0rem 1.5rem 1.5rem 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.ft_bottom_info .logo {
    width: 20%;
    float: left;
}

.ft_bottom_info .logo img {
    width: 100%;
    max-width: 150px;
}

.ft_bottom_info .info_box::after {
    content: '';
    display: block;
    clear: both;
}

.ft_bottom_info .info_box .item {
    float: left;
}

.ft_bottom_info .item {
    margin-right: 4rem;
}

.ft_bottom_info .item .tt {
    margin-bottom: 1.5rem;
    color: #333333;
    font-size: 118.8%;
    line-height: 120%;
    font-weight: 400;
    font-family: 'Noto Sans TC', sans-serif;
}

.ft_bottom_info .item .tt::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: #333;
    margin-top: 1rem;
}

.ft_bottom_info .item ul li {
    color: #000;
    margin-bottom: 10px;
}

.ft_bottom_info .item a,
.contact i.fa-map-marker-alt {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.ft_bottom_info .contact i.fa-map-marker-alt {
    color: #be1d21;
    margin-left: 5px;
}

.ft_bottom_info .contact a:hover i.fa-map-marker-alt {
    color: #000;
}

.ft_bottom_info .social ul li {
    display: inline-block;
    margin-right: 7px;
}

.ft_bottom_info .social ul li a {
    display: block;
    width: 35px;
    height: 35px;
    background-color: #333;
    text-align: center;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.ft_bottom_info .social ul li i {
    color: #fff;
    line-height: 35px;
}

.ft_bottom_info .social ul li a.twitter {
    background-color: #41abe1;
}

.ft_bottom_info .social ul li a.facebook {
    background-color: #3c5a9a;
}

.ft_bottom_info .social ul li a.google {
    background-color: #dd5044;
}

.ft_bottom_info .social ul li a.ig {
    background-color: #d52975;
}

.ft_bottom_info .social ul li a.youtube {
    background-color: #ff0000;
}

.ft_bottom_info .social ul li a:hover {
    opacity: 0.9;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}


/*----------------------------------------------------------------------*/


/* Copyright */

#Copyright {
    background-color: #000;
}

#Copyright>div {
    max-width: 1600px;
    margin: auto;
    padding: 1rem 1.5rem;
    box-sizing: border-box;
}

#Copyright>div::after {
    content: '';
    display: block;
    clear: both;
}

#Copyright span,
#Copyright .col_left a {
    color: #dbdbdb;
    font-size: 93.8%;
    display: block;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#Copyright .col_left a:hover {
    color: #fff;
}


/*----------------------------------------------------------------------*/


/* popup 彈出視窗 */

.popupBox {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10050;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.popupBox.close {
    opacity: 0;
    visibility: hidden;
}

.popupBox.open {
    opacity: 1;
    visibility: visible;
}

.popupBox>div {
    background-color: #fff;
    position: relative;
    z-index: 100000;
    text-align: left;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 30px 30px;
    -webkit-overflow-scrolling: touch;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.popupBox .close {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    z-index: 1;
    text-decoration: none;
    text-align: center;
}

.popupBox .icon-close::before {
    content: "\f00d";
    font-weight: 200;
    font-size: 1.875em;
    font-family: 'Font Awesome 5 Light';
}


/*----------------------------------------------------------------------*/


/* popup box */

.popup_box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    box-sizing: border-box;
    z-index: 10030;
    visibility: hidden;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.popup_box.show {
    opacity: 1;
    visibility: visible;
}

.popup_box .box_wrap {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

.popup_box .close {
    background-color: #eee;
    position: absolute;
    top: 10px;
    right: 10px;
    text-indent: -10000px;
    cursor: pointer;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -webkit-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    transform: rotate(3deg);
}

.popup_box.show .close {
    transform: translateY(0);
}

.popup_box .close::before,
.popup_box .close::after {
    display: block;
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    width: 2px;
    height: 80%;
}

.popup_box .close::before {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.popup_box .close::after {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.popup_box .close:hover {
    opacity: 1;
}

.popup_box .close:hover::before,
.popup_box .close:hover::after {
    background-color: #9f363b;
}


/*----------------------------------------------------------------------*/


/* 表單 */


/* 表單群組 */

.FormGroup {
    border: 1px solid #dfdfdf;
    background-color: #fff;
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 30px;
    margin-left: 0;
    margin-right: 0;
    /*消除fieldset的左右margin*/
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    /*	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;*/
}

fieldset.FormGroup {
    margin-top: 10px;
}

div.FormGroup {
    margin-top: 26px;
}

.FormGroup+div.FormGroup {
    margin-top: 46px;
}


/* 注意 ------
fieldset內，表單元件max-width:100%會失效,加上如下兩個fix(尚未經測試),但須確保fieldset沒有左右margin
又或者,不要用fieldset,改用div
*/


/*IOS webkit fix*/

fieldset.FormGroup {
    width: auto;
    min-width: 0;
    max-width: none;
}


/*Mozilla fix*/

@-moz-document url-prefix() {
    fieldset.FormGroup {
        display: table-cell;
    }
}

.FormGroup>.form_group_title {
    box-sizing: border-box;
}

.FormGroup>legend.form_group_title {
    display: block;
    padding-left: 0;
    padding-right: 0;
    /*消除legend的左右padding*/
}

.FormGroup>.form_group_title span {
    position: relative;
    background-color: #385771;
    padding: 0 15px;
    display: inline-block;
    color: #fff;
    line-height: 32px;
    font-weight: bold;
    letter-spacing: 0.04em;
}

.FormGroup>*:first-child {
    margin-top: 0;
}

.FormGroup>*:last-child {
    margin-bottom: 0;
}

.FromSubGroup {
    border: 1px solid #dfdfdf;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    margin-left: 0;
    margin-right: 0;
    /*消除fieldset的左右margin*/
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

fieldset.FromSubGroup {
    margin-top: 10px;
}

div.FromSubGroup {
    margin-top: 26px;
}

.FromSubGroup+div.FromSubGroup {
    margin-top: 46px;
}

.FromSubGroup>.FormSubGroupTitle {
    box-sizing: border-box;
}

.FromSubGroup>legend.FormSubGroupTitle {
    display: block;
    padding-left: 0;
    padding-right: 0;
    /*消除legend的左右padding*/
}

.FromSubGroup>div.FormSubGroupTitle {
    margin: -36px 0 20px;
}

.FromSubGroup>.FormSubGroupTitle span {
    background-color: #dfdfdf;
    border: 1px solid #cacaca;
    padding: 0 10px;
    display: inline-block;
    color: #000;
    font-size: 15px;
    line-height: 32px;
    font-weight: bold;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.FromSubGroup>*:first-child {
    margin-top: 0;
}

.FromSubGroup>*:last-child {
    margin-bottom: 0;
}


/* 表單可增刪項目 */

.form_item {
    position: relative;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin: 10px 0 20px;
    padding: 40px 0 10px;
}

.form_item .title {
    position: absolute;
    top: 0;
    left: 0;
    color: #f77300;
    line-height: 32px;
    font-size: 125%;
    font-weight: bold;
}

.form_item .del {
    position: absolute;
    top: 5px;
    right: 0;
}

.form_item .del a,
.form_item .del input {
    display: block;
    padding: 0 10px 0 25px;
    margin: 0;
    background-color: #086787;
    line-height: 32px;
    font-size: 87.5%;
    color: #fff;
    text-decoration: none;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
}

.form_item .del a:hover,
.form_item .del input:hover,
.form_item .del a:focus,
.form_item .del input:focus {
    background-color: #de0000;
}

.form_item .del::before,
.form_item .del::after {
    position: absolute;
    left: 10px;
    background: #fff;
    content: "";
    height: 2px;
    width: 12px;
    z-index: 10001;
}

.form_item .del::before {
    top: 16px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.form_item .del::after {
    bottom: 14px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.form_item_add div {
    position: relative;
}

.form_item_add div::before,
.form_item_add div::after {
    position: absolute;
    left: 10px;
    background: #fff;
    content: "";
    height: 2px;
    width: 12px;
    z-index: 10001;
}

.form_item_add div::before {
    top: 16px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
}

.form_item_add div::after {
    bottom: 14px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    transform: rotate(90deg);
}

.BtnCommon.form_item_add span a,
.BtnCommon.form_item_add span input {
    padding-left: 25px;
}

.form_item table.FormTable {
    margin-bottom: 0;
}

.form_item+.form_item_add {
    margin-top: -15px;
}


/* 表單 */

table.FormTable {
    width: 100%;
    margin-bottom: 20px;
}

table.FormTable>tbody>tr>th,
table.FormTable>tbody>tr>td {
    font-size: 87.5%;
}

table.FormTable>tbody>tr>th {
    font-weight: bold;
    line-height: 30px;
    position: relative;
}

table.FormTable>tbody>tr>th span {
    font-weight: bold;
    color: #ec407a;
}

table.FormTable>tbody>tr>td {
    line-height: 40px;
}

div.FormTable {
    border-top: 1px solid #dfdfdf;
    margin-bottom: 30px;
}

div.FormTable::after {
    content: '';
    display: block;
    clear: both;
}

div.FormTable>div {
    position: relative;
    box-sizing: border-box;
    float: left;
    padding: 10px 20px 5px 0;
    border-bottom: 1px solid #dfdfdf;
    font-size: 14px;
    width: 100%;
}

div.FormTable.bisect>div {
    width: 50%;
}

div.FormTable.trisect>div {
    width: 33.33%;
}

div.FormTable.quartering>div {
    width: 25%;
}

div.FormTable>div.half {
    width: 50%;
}

div.FormTable>div.oneThird {
    width: 33.33%;
}

div.FormTable>div.twoThirds {
    width: 66.66%;
}

div.FormTable>div.quarter {
    width: 25%;
}

div.FormTable>div.threeQuarters {
    width: 75%;
}

div.FormTable>div.fullwidth {
    width: 100%;
    clear: both;
}

div.FormTable>div>div {
    display: block;
}

div.FormTable>div>div.title {
    font-weight: bold;
    line-height: 20px;
}

div.FormTable>div>div.cont {
    line-height: 32px;
}


/* 表單內按鈕 */

.FormTable .inline_btn {
    display: inline-block;
    margin-left: 6px;
    margin-right: 10px;
    margin-bottom: 6px;
    vertical-align: top;
}

.FormTable .inline_btn span {
    background-color: #0061ff;
    margin-right: 6px;
    display: inline-block;
}

.FormTable .inline_btn span:hover {
    background-color: #ff9600;
}

.FormTable .inline_btn span>* {
    display: block;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0;
    padding-bottom: 0;
    border: 0;
    color: #fff;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
}

.FormElmt .inline_btn span>a {
    text-decoration: none;
}

.FormElmt .inline_btn span>input {
    margin: 0;
    border: 0;
    background: none;
}

.FormTable .inline_btn span[class]>* {
    background: url("../images/icon_inline_btn.png") no-repeat;
}

.FormTable .inline_btn span.search>* {
    background-position: 10px 0;
    padding-left: 30px;
}

.FormTable .inline_btn.block {
    display: block;
    margin-left: 0;
}

.FormElmt .inline_btn {
    display: inline-block;
    margin-right: 6px;
    vertical-align: top;
}

.FormElmt .inline_btn span>* {
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #b79a5d;
    color: #fff;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
}

.FormElmt .inline_btn span>*:hover,
.FormElmt .inline_btn span>*:focus {
    opacity: 0.9;
}

.FormElmt .inline_btn span {
    margin-right: 6px;
    margin-bottom: 6px;
    display: inline-block;
}

.FormElmt .inline_btn span.multiple_recipients>* {
    box-sizing: border-box;
    outline: 2px solid #b79a5d;
    background-color: #fff;
    color: #b69654;
    height: 32px;
    line-height: 32px;
}

.FormElmt .inline_btn span.multiple_recipients>*:hover {
    outline: 2px solid #9f363b;
    color: #9f363b;
    -webkit-transition: all ease-in .2s;
    -moz-transition: all ease-in .2s;
    transition: all ease-in .2s;
}

.FormElmt .inline_btn.block {
    display: block;
    margin-left: 0;
    margin-right: 0;
}


/* 表單警告/提示 */

.FormElmt .form_alert {
    display: inline-block;
    margin-right: 6px;
    vertical-align: top;
}

.FormElmt .form_alert span {
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 6px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #9f363b;
    color: #fff;
    line-height: 40px;
    box-sizing: border-box;
    position: relative;
}


/* 表單元件 */

.FormElmt input[type="text"],
.FormElmt input[type="password"],
.FormElmt input[type="file"],
.FormElmt input[type="number"],
.FormElmt input[type="date"],
.FormElmt input[type="month"],
.FormElmt input[type="week"],
.FormElmt input[type="time"],
.FormElmt input[type="datetime-local"],
.FormElmt input[type="email"],
.FormElmt input[type="search"],
.FormElmt input[type="tel"],
.FormElmt input[type="url"] {
    line-height: 40px;
    height: 40px;
}

.FormElmt input[type="text"],
.FormElmt input[type="password"],
.FormElmt input[type="file"],
.FormElmt input[type="number"],
.FormElmt input[type="date"],
.FormElmt input[type="month"],
.FormElmt input[type="week"],
.FormElmt input[type="time"],
.FormElmt input[type="datetime-local"],
.FormElmt input[type="email"],
.FormElmt input[type="search"],
.FormElmt input[type="tel"],
.FormElmt input[type="url"],
.FormElmt select,
.FormElmt textarea {
    margin-bottom: 5px;
    vertical-align: top;
    font-size: 100%;
    /*	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;*/
}

.FormElmt input[type="text"],
.FormElmt input[type="password"],
.FormElmt input[type="number"],
.FormElmt input[type="date"],
.FormElmt input[type="month"],
.FormElmt input[type="week"],
.FormElmt input[type="time"],
.FormElmt input[type="datetime-local"],
.FormElmt input[type="email"],
.FormElmt input[type="search"],
.FormElmt input[type="tel"],
.FormElmt input[type="url"],
.FormElmt select,
.FormElmt textarea {
    max-width: 100%;
    border: 1px solid #d4d4d4;
    background-color: #fff;
    box-sizing: border-box;
    /*	-webkit-box-shadow: inset 1px 1px 8px #ededed;
	-moz-box-shadow: inset 1px 1px 8px #ededed;
	box-shadow: inset 1px 1px 8px #ededed;*/
}

.FormElmt input[type="text"],
.FormElmt input[type="password"],
.FormElmt input[type="file"],
.FormElmt input[type="number"],
.FormElmt input[type="date"],
.FormElmt input[type="month"],
.FormElmt input[type="week"],
.FormElmt input[type="time"],
.FormElmt input[type="datetime-local"],
.FormElmt input[type="email"],
.FormElmt input[type="search"],
.FormElmt input[type="tel"],
.FormElmt input[type="url"],
.FormElmt textarea {
    padding: 5px;
}

.FormElmt select {
    line-height: 20px;
    background-color: #fff;
    padding: 5px 5px 4px;
    height: 40px;
}


/*.FormElmt input + input, .FormElmt input + select, .FormElmt select + input, .FormElmt select + select { margin-left:4px; }*/

.FormElmt input[type="text"]:focus,
.FormElmt input[type="password"]:focus,
.FormElmt input[type="file"]:focus,
.FormElmt input[type="number"]:focus,
.FormElmt input[type="date"]:focus,
.FormElmt input[type="month"]:focus,
.FormElmt input[type="week"]:focus,
.FormElmt input[type="time"]:focus,
.FormElmt input[type="datetime-local"]:focus,
.FormElmt input[type="email"]:focus,
.FormElmt input[type="search"]:focus,
.FormElmt input[type="tel"]:focus,
.FormElmt input[type="url"]:focus,
.FormElmt textarea:focus,
.FormElmt select:focus {
    outline: 0;
    border: 1px solid #b79a5d;
    -webkit-transition: border-color ease-in .2s;
    -moz-transition: border-color ease-in .2s;
    transition: border-color ease-in .2s;
}


/*.FormElmt input[disabled="disabled"], .FormElmt textarea[disabled="disabled"], .FormElmt select[disabled="disabled"] {
	border:0;
	-webkit-box-shadow:none;
	-moz-box-shadow:none;
	box-shadow:none;
	}*/

.FormElmt input[type="text"],
.FormElmt input[type="password"],
.FormElmt input[type="file"],
.FormElmt input[type="number"],
.FormElmt input[type="date"],
.FormElmt input[type="month"],
.FormElmt input[type="week"],
.FormElmt input[type="time"],
.FormElmt input[type="datetime-local"],
.FormElmt input[type="email"],
.FormElmt input[type="search"],
.FormElmt input[type="tel"],
.FormElmt input[type="url"],
.FormElmt input[type="color"],
.FormElmt input[type="hidden"],
.FormElmt input[type="range"],
.FormElmt select,
.FormElmt textarea {
    margin-bottom: 6px;
    margin-right: 4px;
    vertical-align: top;
}

.FormElmt hr {
    margin: 15px 0 5px;
}

.FormElmt .w40 {
    width: 40px;
}

.FormElmt .w60 {
    width: 60px;
}

.FormElmt .w80 {
    width: 80px;
}

.FormElmt .w100 {
    width: 100px;
}

.FormElmt .w200 {
    width: 200px;
}

.FormElmt .w300 {
    width: 300px;
}

.FormElmt .w400 {
    width: 400px;
}

.FormElmt .fullwidth {
    width: 100%;
}

.FormElmt .dev-calendar {
    width: 120px;
}

.FormElmt .note {
    color: #e60000;
    line-height: 160%;
    font-size: 92.85%;
}


/* checkbox/radio群組 */

.FormElmt .input_group.inline {
    display: inline;
    margin-left: 10px;
}

.FormElmt .input_group>div {
    display: inline-block;
    white-space: nowrap;
    margin-right: 12px;
}

.FormElmt .input_group .fullwidth {
    margin-right: 0;
}


/* 驗證碼 */

.FormElmt .randomcode::after {
    content: '';
    display: block;
    clear: both;
}

.FormElmt .randomcode>div {
    display: inline-block;
    margin-right: 8px;
    vertical-align: top;
}

.FormElmt .randomcode .input input[type="text"] {
    width: 120px;
}

.FormElmt .randomcode .img img {
    height: 40px;
}

.FormElmt .randomcode .btn>* {
    display: inline-block;
    background: url("../images/icon_randomcode.png") no-repeat;
    border: 0;
    margin: 0 5px 0 0;
    padding-left: 20px;
    height: 40px;
    font-size: 100%;
    line-height: 40px;
    color: #2c465c;
}

.FormElmt .randomcode .btn>*:hover,
.FormElmt .randomcode .btn>*:focus {
    text-decoration: underline;
}

.FormElmt .randomcode .btn .refresh {
    background-position: 0 0;
}

.FormElmt .randomcode .btn .play {
    background-position: 0 -40px;
}


/* 按鈕 */

.BtnCommon {
    clear: both;
    text-align: center;
}

.BtnCommon.tl {
    text-align: left;
}

.BtnCommon.tr {
    text-align: right;
}

.BtnCommon span,
.BtnCommon a,
.BtnCommon input {
    display: block;
}

.BtnCommon.large a,
.BtnCommon.large input {
    height: 40px;
    line-height: 40px;
}

.BtnCommon.mid a,
.BtnCommon.mid input {
    height: 36px;
    line-height: 36px;
}

.BtnCommon.small a,
.BtnCommon.small input {
    height: 32px;
    line-height: 32px;
}

.BtnCommon div {
    display: inline-block;
    margin: 5px 10px 0 0;
}

.BtnCommon span {
    background-color: #9f363b;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    /*	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;*/
}


/* 按鈕加icon */

.BtnCommon div[class] span::before {
    display: block;
    position: absolute;
    top: 50%;
    left: 20px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    content: '';
    background: url("../images/icon_btn_common.png") no-repeat;
}

.BtnCommon div:hover span {
    opacity: 0.8;
}

.BtnCommon a,
.BtnCommon input {
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: bold;
    line-height: 32px;
}

.BtnCommon.large a,
.BtnCommon.large input {
    padding-left: 24px;
    padding-right: 24px;
    font-size: 16px;
}

.BtnCommon.mid a,
.BtnCommon.mid input {
    padding-left: 18px;
    padding-right: 18px;
    font-size: 15px;
}

.BtnCommon.small a,
.BtnCommon.small input {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
}

.BtnCommon.large div[class] a,
.BtnCommon.large div[class] input {
    padding-left: 44px;
}

.BtnCommon.mid div[class] a,
.BtnCommon.mid div[class] input {
    padding-left: 38px;
}

.BtnCommon.small div[class] a,
.BtnCommon.small div[class] input {
    padding-left: 45px;
    padding-right: 20px;
}

.BtnCommon span a {
    text-decoration: none;
}

.BtnCommon span input {
    border: 0;
    margin: 0;
    background-color: transparent;
}

.BtnCommon div.submit span::before {
    background-position: 0 0;
}

.BtnCommon div.reset span::before {
    background-position: 0 -20px;
}

.BtnCommon div.search span::before {
    background-position: 0 -40px;
}


/* 活動報名按鈕 */

.BtnCommon.btn_event {
    float: right;
    padding-right: 10px;
}

.BtnCommon div.sign span {
    background-color: #007bd1;
}

.BtnCommon div.solicit span {
    background-color: #319f00;
}

.BtnCommon div.sign span::before,
.BtnCommon div.solicit span::before {
    display: none;
}

.BtnCommon.mid div.sign a,
.BtnCommon.mid div.solicit a {
    padding-left: 18px;
}


/*----------------------------------------------------------------------*/


/* datepicker共通設定 */

.ui-datepicker {
    background-color: #fff;
    padding: 15px 8px 7px 8px;
    position: relative;
    display: none;
    -webkit-box-shadow: 0 0 5px #b2b2b2;
    -moz-box-shadow: 0 0 5px #b2b2b2;
    box-shadow: 0 0 5px #b2b2b2;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    display: block;
    position: absolute;
    top: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.ui-datepicker-prev {
    left: 0;
}

.ui-datepicker-next {
    right: 0;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -6px;
    width: 12px;
    height: 12px;
    background: url("../images/icon_datepicker.png") no-repeat;
    text-indent: -10000px;
}

.ui-datepicker-prev span {
    background-position: 0 0;
}

.ui-datepicker-next span {
    background-position: 0 -12px;
}

.ui-datepicker-prev:hover span {
    background-position: -12px 0;
}

.ui-datepicker-next:hover span {
    background-position: -12px -12px;
}

.ui-datepicker-title {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 30px;
}

.ui-datepicker-title select {
    height: 30px;
    padding: 4px 0 5px;
}

.ui-datepicker-title select.ui-datepicker-year {
    margin-right: 2px;
}

.ui-datepicker-title select.ui-datepicker-month {
    margin-left: 6px;
}

.ui-datepicker-title select.ui-datepicker-month:first-child {
    margin-left: 0;
}

.ui-datepicker-title select.ui-datepicker-month+select.ui-datepicker-year {
    margin-left: 6px;
    margin-right: 0;
}

.ui-datepicker-calendar {
    margin-top: 5px;
}

.ui-datepicker-calendar th,
.ui-datepicker-calendar td {
    width: 27px;
    padding: 0;
    font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
    text-align: center;
}

.ui-datepicker-calendar th {
    font-size: 14px;
    font-weight: bold;
}

.ui-datepicker-calendar td {
    font-size: 12px;
}

.ui-datepicker-calendar th span,
.ui-datepicker-calendar td span,
.ui-datepicker-calendar td a {
    display: block;
    padding: 5px 0 5px;
}

.ui-datepicker-calendar td a {
    text-decoration: none;
    color: #333;
}

.ui-datepicker-unselectable {
    color: #cfcfcf;
}

.ui-datepicker-today {
    background-color: #e60012;
}

.ui-datepicker-calendar td.ui-datepicker-today a {
    color: #fff !important;
}

.ui-datepicker-unselectable.ui-datepicker-today {
    background-color: #f0f0f0;
}

.ui-datepicker-calendar td a.ui-state-default:hover {
    color: #e60012
}

.ui-datepicker-current-day a {
    border: 1px solid #21293c;
}


/*----------------------------------------------------------------------*/


/*tinyscrollbar*/

.tableWrap {
    /*    width:251px;
    margin:0 0 10px;*/
}

.tableWrap .viewport {
    /*    width:236px;
    height:125px;*/
    overflow: hidden;
    position: relative;
    margin: 0;
}

.tableWrap .overview {
    list-style: none;
    /*    width:1416px;*/
    padding: 0;
    margin: 0;
    /*    position:absolute;*/
    left: 0;
    top: 0;
    margin: 0;
}


/*.tableWrap .overview img
{
    float:left;
}*/

.tableWrap .scrollbar {
    /*background:transparent url(../images/bg-scrollbar-track-x.png) no-repeat 0 0;*/
    position: relative;
    margin: 0 0 5px;
    clear: both;
    height: 4px;
}

.tableWrap .track {
    /*background:transparent url(../images/bg-scrollbar-trackend-x.png) no-repeat 100% 0;*/
    background-color: #dbdbdb;
    width: 100%;
    height: 4px;
    position: relative;
    margin: 0;
}

.tableWrap .thumb {
    /*background:transparent url(../images/bg-scrollbar-thumb-x.png) no-repeat 100% 50%;*/
    background-color: #656565;
    height: 8px;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: -2px;
    margin: 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.tableWrap:hover .thumb {
    background-color: #cbab68;
}

.tableWrap .thumb .end {
    /*background:transparent url(../images/bg-scrollbar-thumb-x.png) no-repeat 0 50%;*/
    overflow: hidden;
    height: 8px;
    width: 5px;
    margin: 0;
}

.tableWrap .viewport caption {
    display: none;
}

.tableWrap .disable {
    display: none;
}

.noSelect {
    user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
}


/*----------------------------------------------------------------------*/


/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/

#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10020;
    overflow: hidden;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
    font-size: 14px;
    text-align: center;
}

#cboxLoadedContent {
    overflow: auto;
    padding: 30px 5px 60px 5px;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
    box-sizing: content-box;
}

#colorbox_thum {
    overflow: hidden;
    padding-top: 10px;
    margin-top: -2px;
    margin-bottom: 30px;
    border-top: 2px solid #e7e7e7;
}

#colorbox_thum a {
    display: block;
    float: left;
    text-align: center;
    vertical-align: middle;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#colorbox_thum a:hover {
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    transform: scale(1.02);
}

#colorbox_thum a span {
    display: block;
    padding-bottom: 100%;
}


/*#colorbox_thum { overflow:hidden; padding-top:10px; margin-top:0; margin-bottom:30px; }
#colorbox_thum a {
	display:block; float:left; padding-bottom:50%;
	text-align:center; vertical-align:middle;
	background-size:cover; background-position:center center; background-repeat:no-repeat;
	-webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
	-moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	}
#colorbox_thum a:hover {
	-webkit-box-shadow: 0 0 8px rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 8px rgba(0,0,0,0.3);
	box-shadow: 0 0 8px rgba(0,0,0,0.3);
	-webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    transform: scale(1.02);
	}
#colorbox_thum a span { display:none; }
#colorbox_thum a img { width:100%; box-sizing:border-box; }*/


/*#colorbox_thum { overflow:hidden; padding-top:10px; margin:-2px 0 0; border-top:2px solid #e0e0e0; }
#colorbox_thum a {
	display:block; float:left;
	text-align:center; vertical-align:middle;
	border:1px solid #e7e7e7; padding:5px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	}
#colorbox_thum a:hover { border:1px solid #f77300; }
#colorbox_thum a *{ vertical-align:middle; }
#colorbox_thum a span { display:inline-block; height:100%; }
#colorbox_thum a img { max-width:100%; max-height:100%; }*/


/*
    User Style:
    Change the following styles to modify the appearance of ColorBox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/

#cboxOverlay {
    background: #000;
}

#colorbox {}

#cboxContent {
    margin-top: 20px;
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    border: 5px solid #000;
    background: #000;
}

#cboxTitle {
    position: absolute;
    bottom: 10px;
    *bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    color: #fff;
    line-height: 18px;
}

#cboxCurrent {
    position: absolute;
    top: -20px;
    right: 0px;
    color: #ccc;
}

#cboxSlideshow {
    position: absolute;
    top: -20px;
    right: 90px;
    color: #fff;
}

#cboxPrevious {
    position: absolute;
    top: 50%;
    left: 5px;
    margin-top: -32px;
    background: url("../images/colorbox_controls.png") no-repeat top left;
    width: 28px;
    height: 65px;
    text-indent: -9999px;
}

#cboxPrevious:hover {
    background-position: bottom left;
}

#cboxNext {
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -32px;
    background: url("../images/colorbox_controls.png") no-repeat top right;
    width: 28px;
    height: 65px;
    text-indent: -9999px;
}

#cboxNext:hover {
    background-position: bottom right;
}

#cboxLoadingOverlay {
    background: #000;
}

#cboxLoadingGraphic {
    background: url("../images/colorbox_loading.gif") no-repeat center center;
}

#cboxClose {
    position: absolute;
    top: 5px;
    right: 5px;
    display: block;
    background: url("../images/colorbox_controls.png") no-repeat top center;
    width: 38px;
    height: 19px;
    text-indent: -9999px;
}

#cboxClose:hover {
    background-position: bottom center;
}


/*----------------------------------------------------------------------*/


/* 動畫設定 */

@-webkit-keyframes jump {
    0% {
        top: 17px;
        left: 22px;
    }
    100% {
        top: 25px;
        left: 30px;
    }
}

@-moz-keyframes jump {
    0% {
        top: 17px;
        left: 22px;
    }
    100% {
        top: 25px;
        left: 30px;
    }
}

@keyframes jump {
    0% {
        top: 17px;
        left: 22px;
    }
    100% {
        top: 25px;
        left: 30px;
    }
}

@keyframes jump {
    0% {
        top: 17px;
        left: 22px;
    }
    100% {
        top: 25px;
        left: 30px;
    }
}


/*----------------------------------------------------------------------*/


/* 彈跳搜尋 */

div#inline {
    width: 98.5vw;
    height: 99vh;
    overflow-y: auto;
}


/*scrollbar*/

div#inline::-webkit-scrollbar {
    width: 4px;
    border-radius: 4px;
}


/*track*/

div#inline::-webkit-scrollbar-track {
    background: #33333366;
    border-radius: 4px;
}


/*handle*/

div#inline::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 4px;
}


/*handle on hover*/

div#inline::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/*content*/

div#inline div.content {
    width: 93vw;
    margin: auto;
    padding-top: 40px;
}


/*搜尋列*/

div#inline div.content div.searchBar {
    border: 1px solid #6d0e10;
				border-left: none;
    display: flex;
}

div#inline div.content div.searchBar>input.Search {
    width: 90%;
    font-size: 32px;
    padding: 28px 32px;
}

div#inline div.content div.searchBar>input.btn {
    width: 240px;
    background: url("../images/icon_s_search.svg") 30% 50% no-repeat #6d0e10;
    background-size: 40px;
    font-size: 32px;
    color: #fff;
    letter-spacing: 3px;
    padding-left: 3rem;
}


/*彈跳搜尋 - 常用關鍵字*/

div#inline div.content div.Keywords {
    background: #fff;
    margin-bottom: 15px;
    padding: 15px;
}

div#inline div.content div.Keywords ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
}

div#inline div.content div.Keywords ul li {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

div#inline div.content div.Keywords ul li:first-of-type {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    font-weight: bold;
    margin-right: 15px;
    padding: 8px 0 8px 15px;
}

div#inline div.content div.Keywords ul li a {
    color: #2c465c;
    line-height: 200%;
}

div#inline div.content div.Keywords ul li a::after {
    content: '';
    border-right: 1px solid #ccc;
    margin-left: 10px;
    margin-right: 10px;
}

div#inline div.content div.Keywords ul li a:last-of-type::after {
    content: none;
}

div#inline div.content div.Keywords a:hover,
div#inline div.content div.Keywords a:focus {
    color: #cbab68;
}


/*彈跳搜尋 - 自訂連結區塊*/

div.links {
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 22px 15px;
    position: relative;
}

div.links::before {
    content: '';
    width: 100%;
    height: 6px;
    background: url("../images/bg_line_15.png") left top repeat-x;
    position: absolute;
    left: 0;
    top: 0;
}

div.links::after {
    content: '';
    width: 100%;
    height: 6px;
    background: url("../images/bg_line_15.png") left top repeat-x;
    position: absolute;
    left: 0;
    bottom: 0;
}

div.links>p {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    line-height: 200%;
    padding-left: 30px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    position: relative;
}

div.links>p::before {
    content: '';
    width: 19px;
    height: 19px;
    background: url("../images/icon_s_arrow.svg") left 50% no-repeat;
    position: absolute;
    left: 0;
    top: 10px;
}


/*彈跳搜尋 - 圖文列表*/

div#inline .ListPicText::after,
div#inline .ListPicText .item>div::after {
    content: '';
    display: block;
    width: 100%;
    clear: both;
}

div#inline .ListPicText .item,
div#inline .ListPicText .item>div,
div#inline .ListPicText .img,
div#inline .ListPicText .img>div,
div#inline .ListPicText .cont,
div#inline .ListPicText .btn {
    box-sizing: border-box;
}

div#inline .ListPicText {
    padding-top: 10px;
    padding-bottom: 10px;
}

div#inline .ListPicText .item {
    background-color: #fff;
    border: 1px solid #949ca2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

div#inline .ListPicText .item>div {
    height: 100%;
    position: relative;
}

div#inline .ListPicText .img {
    position: relative;
    padding: 10px;
}

div#inline .ListPicText .img>div {
    padding-bottom: 75%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

div#inline .ListPicText .img a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-indent: -10000px;
    z-index: 2;
}

div#inline .ListPicText .date {
    color: #777;
    line-height: 180%;
}

div#inline .ListPicText .cat {
    color: #fff;
    line-height: 180%;
    background-color: #2c465c;
    padding: 3px 10px;
}

div#inline .ListPicText .title a {
    display: block;
    color: #2c465c;
    line-height: 160%;
    text-decoration: none;
}

div#inline .ListPicText .title a:hover,
div#inline .ListPicText .title a:focus {
    color: #ba8f34;
}

div#inline .ListPicText .item:hover .title a {
    color: #ba8f34;
}

div#inline .ListPicText .desc {
    color: #888;
    line-height: 200%;
}

div#inline .ListPicText .btn {
    display: none;
}


/*彈跳搜尋 - 隱私權*/

.lity-container {
    width: 100%;
}

.lity-container>button {
    display: none;
}

#inline2 div.content {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#inline2 div.content div.privacy {
    width: 25vw;
    background: #f5f5f5;
    box-shadow: #00000099 0 0 5px;
    text-align: center;
    padding: 1rem;
}

#inline2 div.content div.privacy p {
    text-align: left;
    margin-bottom: 15px;
}

#inline2 div.content div.privacy p a {
    font-weight: bold;
}

#inline2 div.content div.privacy button {
    background: #9f363b;
    border: none;
    color: #fff;
    padding: 10px 25px;
    cursor: pointer;
}

#inline2 div.content div.privacy button:hover {
    background: #79292d;
}


/*----------------------------------------------------------------------*/


/*測試用menu*/

.ifun_text_menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10200;
}

.ifun_text_menu a {
    display: block;
    text-decoration: none;
}

.ifun_text_menu>ul>li>a {
    text-indent: -10000px;
    width: 30px;
    height: 30px;
}

.ifun_text_menu>ul ul {
    display: none;
    position: absolute;
    top: 30px;
    left: 0;
    width: 150px;
}

.ifun_text_menu>ul>li:hover>ul {
    display: block;
}

.ifun_text_menu>ul ul li {
    background-color: rgba(255, 255, 255, 0.75);
}

.ifun_text_menu>ul ul a {
    padding: 5px 10px;
    line-height: 180%;
    font-size: 14px;
    color: #333;
}

.ifun_text_menu>ul ul a:hover {
    font-weight: bold;
}