﻿body {
    font-family: '微軟正黑體';
    overflow-x: hidden;
    background: #f5f1e6;
}

*:focus {
    border: 3px dashed red !important;
    outline: 0;
    display: inline-block;
}

.navbar a:focus,
.navbar button:focus,
footer a:focus,
footer button:focus {
    border: 3px dashed yellow !important;
    outline: 0;
}

#div_footer.sticky_footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

a {
    color: #343a40;
}

    a:hover {
        color: #669bbe;
        text-decoration: none !important;
    }

.Imgset {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .hidden_mobile {
        display: none;
    }
}

/* 寬度 */
.w-max-110px {
    max-width: 110px;
}

/* loading mask */
.loading {
    position: fixed;
    top: 0px;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.90);
    z-index: 10001;
    font-size: 3em;
    text-align: center;
    padding-top: 20vh;
    color: #455781;
    text-shadow: 1px 1px 1px white, 1px -1px 1px white, -1px 1px 1px white, -1px -1px 1px white;
}

/* 位置列 */
.breadcrumb {
    background: transparent !important;
}

.breadcrumb-item.active {
    color: #792120;
}


/* 一行字超出範圍 顯示... */
.text_over {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 圖片固定長寬 超出的咖掉 */
.fixed_image {
    width: 100%;
    height: 145px;
    overflow: hidden;
    /* Magic */
    display: flex;
    align-items: center;
    /* vertical */
    justify-content: center;
    /* horizontal */
}


/* 自訂標籤 */
.badge-custom {
    color: #fff;
    background-color: #bab363;
}

a.badge-custom:hover,
a.badge-custom:focus {
    color: #fff;
    background-color: #a8a04b;
}

a.badge-custom:focus,
a.badge-custom.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

/* 紅色 */
.badge-custom-red {
    color: #fff;
    background-color: #792120;
}

a.badge-custom-red:hover,
a.badge-custom-red:focus {
    color: #fff;
    background-color: #622121;
}

a.badge-custom-red:focus,
a.badge-custom-red.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(121, 33, 32, 0.5);
}

/* 綠色 */
.badge-custom-green {
    color: #fff;
    /* background-color: #5d8b6b; */
    background-color: #446756;
}

a.badge-custom-green:hover,
a.badge-custom-green:focus {
    color: #fff;
    /* background-color: #7c9c86; */
    background-color: #2d4e3e;
}

a.badge-custom-green:focus,
a.badge-custom-green.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(93, 139, 107, 0.5);
}

/* 自訂按鈕 */
/*金色中空按鈕*/
.btn-outline-gold {
    color: #8b6532;
    border-color: #8b6532;
}

    .btn-outline-gold:hover {
        color: #fff;
        background-color: #8b6532;
        border-color: #8b6532;
    }

    .btn-outline-gold:focus,
    .btn-outline-gold.focus {
        box-shadow: 0 0 0 0.2rem rgba(189, 148, 85, 0.5);
    }

    .btn-outline-gold.disabled,
    .btn-outline-gold:disabled {
        color: #8b6532;
        background-color: transparent;
    }

    .btn-outline-gold:not(:disabled):not(.disabled):active,
    .btn-outline-gold:not(:disabled):not(.disabled).active,
    .show > .btn-outline-gold.dropdown-toggle {
        color: #8b6532;
        background-color: #fff;
        border-color: #8b6532;
    }

        .btn-outline-gold:not(:disabled):not(.disabled):active:focus,
        .btn-outline-gold:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-gold.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(189, 148, 85, 0.5);
        }

/*白色中空按鈕*/
.btn-outline-white {
    color: white;
    border-color: white;
    background-color: #222;
}

    .btn-outline-white .badge {
        color: #222;
        background-color: white;
    }

    .btn-outline-white:hover {
        color: #fff;
        background-color: #91682a;
        border-color: white;
    }

    .btn-outline-white:focus,
    .btn-outline-white.focus {
        box-shadow: 0 0 0 0.2rem rgba(189, 148, 85, 0.5);
    }

    .btn-outline-white.disabled,
    .btn-outline-white:disabled {
        color: white;
        background-color: transparent;
    }

    .btn-outline-white:not(:disabled):not(.disabled):active,
    .btn-outline-white:not(:disabled):not(.disabled).active,
    .show > .btn-outline-white.dropdown-toggle {
        color: #fff;
        /* background-color: #bd9455; */
        background-color: #91682a;
        border-color: white;
    }

        .btn-outline-white:not(:disabled):not(.disabled):active:focus,
        .btn-outline-white:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-white.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(189, 148, 85, 0.5);
        }

/*綠色中空按鈕*/
.btn-outline-green {
    color: #446756;
    border-color: #446756;
}

    .btn-outline-green:hover {
        color: #fff;
        background-color: #446756;
        border-color: #446756;
    }

    .btn-outline-green:focus,
    .btn-outline-green.focus {
        box-shadow: 0 0 0 0.2rem rgba(68, 103, 86, 0.5);
    }

    .btn-outline-green.disabled,
    .btn-outline-green:disabled {
        color: #446756;
        background-color: transparent;
    }

    .btn-outline-green:not(:disabled):not(.disabled):active,
    .btn-outline-green:not(:disabled):not(.disabled).active,
    .show > .btn-outline-green.dropdown-toggle {
        color: #fff;
        background-color: #446756;
        border-color: #446756;
    }

        .btn-outline-green:not(:disabled):not(.disabled):active:focus,
        .btn-outline-green:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-green.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(68, 103, 86, 0.5);
            ;
        }

/*深藍中空按鈕*/
.btn-outline-darkBlue {
    color: #213649;
    border-color: #213649;
}

    .btn-outline-darkBlue:hover {
        color: #fff;
        background-color: #213649;
        border-color: #213649;
    }

    .btn-outline-darkBlue:focus,
    .btn-outline-darkBlue.focus {
        box-shadow: 0 0 0 0.2rem rgba(33, 54, 73, 0.5);
    }

    .btn-outline-darkBlue.disabled,
    .btn-outline-darkBlue:disabled {
        color: #213649;
        background-color: transparent;
    }

    .btn-outline-darkBlue:not(:disabled):not(.disabled):active,
    .btn-outline-darkBlue:not(:disabled):not(.disabled).active,
    .show > .btn-outline-darkBlue.dropdown-toggle {
        color: #fff;
        background-color: #213649;
        border-color: #213649;
    }

        .btn-outline-darkBlue:not(:disabled):not(.disabled):active:focus,
        .btn-outline-darkBlue:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-darkBlue.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(33, 54, 73, 0.5);
        }

/*紅色按鈕*/
.btn-red {
    color: #fff;
    background-color: #792120;
    border-color: #792120;
}

    .btn-red:hover {
        color: #fff;
        background-color: #934443;
        border-color: #934443;
    }

    .btn-red:focus,
    .btn-red.focus {
        box-shadow: 0 0 0 0.2rem rgba(121, 33, 32, 0.5);
    }

    .btn-red.disabled,
    .btn-red:disabled {
        color: #fff;
        background-color: #934443;
        border-color: #934443;
    }

    .btn-red:not(:disabled):not(.disabled):active,
    .btn-red:not(:disabled):not(.disabled).active,
    .show > .btn-red.dropdown-toggle {
        color: #fff;
        background-color: #934443;
        border-color: #934443;
    }

        .btn-red:not(:disabled):not(.disabled):active:focus,
        .btn-red:not(:disabled):not(.disabled).active:focus,
        .show > .btn-red.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(147, 68, 67, 0.5);
        }

/*深藍按鈕*/
.btn-blue {
    color: #fff;
    background-color: #213649;
    border-color: #213649;
}

    .btn-blue:hover {
        color: #fff;
        background-color: #3a5064;
        border-color: #3a5064;
    }

    .btn-blue:focus,
    .btn-blue.focus {
        box-shadow: 0 0 0 0.2rem rgba(33, 54, 73, 0.5);
    }

    .btn-blue.disabled,
    .btn-blue:disabled {
        color: #fff;
        background-color: #3f5568;
        border-color: #3f5568;
    }

    .btn-blue:not(:disabled):not(.disabled):active,
    .btn-blue:not(:disabled):not(.disabled).active,
    .show > .btn-blue.dropdown-toggle {
        color: #fff;
        background-color: #3f5568;
        border-color: #3f5568;
    }

        .btn-blue:not(:disabled):not(.disabled):active:focus,
        .btn-blue:not(:disabled):not(.disabled).active:focus,
        .show > .btn-blue.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(58, 80, 100, 0.5);
        }

/*綠色按鈕*/
.btn-green {
    color: #fff;
    /* background-color: #5d8b6b;
    border-color: #5d8b6b; */
    background-color: #446756;
    border-color: #446756;
}

    .btn-green:hover {
        color: #fff;
        background-color: #8aa994;
        border-color: #8aa994;
    }

    .btn-green:focus,
    .btn-green.focus {
        box-shadow: 0 0 0 0.2rem rgba(138, 169, 148, 0.5);
    }

    .btn-green.disabled,
    .btn-green:disabled {
        color: #fff;
        /* background-color: #839d8c;
        border-color: #839d8c; */
        background-color: #707070;
        border-color: #707070;
        opacity: 1;
    }

    .btn-green:not(:disabled):not(.disabled):active,
    .btn-green:not(:disabled):not(.disabled).active,
    .show > .btn-green.dropdown-toggle {
        color: #fff;
        background-color: #8aa994;
        border-color: #8aa994;
    }

        .btn-green:not(:disabled):not(.disabled):active:focus,
        .btn-green:not(:disabled):not(.disabled).active:focus,
        .show > .btn-green.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(138, 169, 148, 0.5);
        }

/*深綠色按鈕*/
.btn-darkGreen {
    color: #fff;
    background-color: #446756;
    border-color: #446756;
}

    .btn-darkGreen:hover {
        color: #fff;
        background-color: #6a7a72;
        border-color: #6a7a72;
    }

    .btn-darkGreen:focus,
    .btn-darkGreen.focus {
        box-shadow: 0 0 0 0.2rem rgba(68, 103, 86, 0.5);
    }

    .btn-darkGreen.disabled,
    .btn-darkGreen:disabled {
        color: #fff;
        background-color: #748f82;
        border-color: #748f82;
    }

    .btn-darkGreen:not(:disabled):not(.disabled):active,
    .btn-darkGreen:not(:disabled):not(.disabled).active,
    .show > .btn-darkGreen.dropdown-toggle {
        color: #fff;
        background-color: #748f82;
        border-color: #748f82;
    }

        .btn-darkGreen:not(:disabled):not(.disabled):active:focus,
        .btn-darkGreen:not(:disabled):not(.disabled).active:focus,
        .show > .btn-darkGreen.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(116, 143, 130, 0.5);
        }

/*金色按鈕*/
.btn-gold {
    color: #fff;
    /* background-color: #997545;
    border-color: #997545; */
    background-color: #8b6532;
    border-color: #8b6532;
}

    .btn-gold:hover {
        color: #fff;
        /* background-color: #9f8665;
        border-color: #9f8665; */
        background-color: #764f1b;
        border-color: #764f1b;
    }

    .btn-gold:focus,
    .btn-gold.focus {
        box-shadow: 0 0 0 0.2rem rgba(153, 117, 69, 0.5);
    }

    .btn-gold.disabled,
    .btn-gold:disabled {
        color: #fff;
        background-color: #876434;
        border-color: #876434;
    }

    .btn-gold:not(:disabled):not(.disabled):active,
    .btn-gold:not(:disabled):not(.disabled).active,
    .show > .btn-gold.dropdown-toggle {
        color: #fff;
        background-color: #876434;
        border-color: #876434;
    }

        .btn-gold:not(:disabled):not(.disabled):active:focus,
        .btn-gold:not(:disabled):not(.disabled).active:focus,
        .show > .btn-gold.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(153, 117, 69, 0.5);
        }

/*黃色按鈕*/
.btn-yellow {
    color: #344245;
    background-color: #ffd86d;
    border-color: #ffd86d;
}

    .btn-yellow:hover {
        color: #344245;
        background-color: #fae2a1;
        border-color: #fae2a1;
    }

    .btn-yellow:focus,
    .btn-yellow.focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 216, 109, 0.5);
    }

    .btn-yellow.disabled,
    .btn-yellow:disabled {
        color: #fff;
        background-color: #f7e6b5;
        border-color: #f7e6b5;
    }

    .btn-yellow:not(:disabled):not(.disabled):active,
    .btn-yellow:not(:disabled):not(.disabled).active,
    .show > .btn-yellow.dropdown-toggle {
        color: #fff;
        background-color: #fae2a1;
        border-color: #fae2a1;
    }

        .btn-yellow:not(:disabled):not(.disabled):active:focus,
        .btn-yellow:not(:disabled):not(.disabled).active:focus,
        .show > .btn-yellow.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(250, 226, 161, 0.5);
        }

/*灰色按鈕*/
.btn-grey {
    color: #FFF;
    background-color: #373e46;
    border-color: #373e46;
}

    .btn-grey:hover {
        color: #fff;
        background-color: #495057;
        border-color: #495057;
    }

    .btn-grey:focus,
    .btn-grey.focus {
        box-shadow: 0 0 0 0.2rem rgba(73, 80, 87, 0.5);
    }

    .btn-grey.disabled,
    .btn-grey:disabled {
        color: #fff;
        background-color: #495057;
        border-color: #495057;
    }

    .btn-grey:not(:disabled):not(.disabled):active,
    .btn-grey:not(:disabled):not(.disabled).active,
    .show > .btn-grey.dropdown-toggle {
        color: #fff;
        background-color: #797E83;
        border-color: #797E83;
    }

        .btn-grey:not(:disabled):not(.disabled):active:focus,
        .btn-grey:not(:disabled):not(.disabled).active:focus,
        .show > .btn-grey.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(73, 80, 87, 0.5);
        }

/* 藍色按鈕 */
.btn-info {
    color: #fff;
    background-color: #007aaf;
    border-color: #007aaf;
}

/*形狀：圓形按鈕*/
.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.42857;
}

.btn-pill {
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 25px;
}

/* li 連結 */
.li_orange {
    border-bottom: 2px solid #792120;
}

    .li_orange li:not(.pull-right) a {
        color: #792120;
    }

    .li_orange li:not(.pull-right):hover a {
        color: #81572b;
    }

    .li_orange li:not(.pull-right) {
        padding: 0 15px;
    }

    .li_orange li.active {
        color: #81572b;
        border-bottom: 4px solid #81572b;
    }

        .li_orange li.active a {
            color: #81572b;
        }

.li_blue {
    border-bottom: 2px solid #213649;
}


/* 前台功能列樣式 */
.navbar-main {
    background: #213649;
}

    .navbar-main .navbar-brand {
        color: #fff;
    }

        .navbar-main .navbar-brand:hover,
        .navbar-main .navbar-brand:focus {
            color: #fff;
        }

    .navbar-main .navbar-nav .nav-link {
        color: #fff;
    }

        .navbar-main .navbar-nav .nav-link:hover,
        .navbar-main .navbar-nav .nav-link:focus {
            color: rgba(255, 255, 255, 0.75);
        }

        .navbar-main .navbar-nav .nav-link.disabled {
            color: rgba(255, 255, 255, 0.25);
        }

        .navbar-main .navbar-nav .show > .nav-link,
        .navbar-main .navbar-nav .active > .nav-link,
        .navbar-main .navbar-nav .nav-link.show,
        .navbar-main .navbar-nav .nav-link.active {
            color: #fff;
        }

    .navbar-main .navbar-toggler {
        color: rgba(255, 255, 255, 0.5);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .navbar-main .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-main .navbar-text {
        color: rgba(255, 255, 255, 0.5);
    }

        .navbar-main .navbar-text a {
            color: #fff;
        }

            .navbar-main .navbar-text a:hover,
            .navbar-main .navbar-text a:focus {
                color: #fff;
            }

    .navbar-main .navbar-nav .nav-link {
        margin: 0px 5px;
    }

        .navbar-main .navbar-nav .nav-link.active {
            background: rgba(255, 255, 255, 0.3);
        }

        .navbar-main .navbar-nav .nav-link.one {
            border-bottom: 5px solid #c7b270;
        }

        .navbar-main .navbar-nav .nav-link.two {
            border-bottom: 5px solid #792120;
        }

        .navbar-main .navbar-nav .nav-link.three {
            border-bottom: 5px solid #997545;
        }

        .navbar-main .navbar-nav .nav-link.four {
            border-bottom: 5px solid #446756;
        }

        .navbar-main .navbar-nav .nav-link.five {
            border-bottom: 5px solid #815e61;
        }

        .navbar-main .navbar-nav .nav-link.six {
            border-bottom: 5px solid #4b7295;
        }

        .navbar-main .navbar-nav .nav-link.seven {
            border-bottom: 5px solid #733889;
        }

        .navbar-main .navbar-nav .nav-link.eight {
            border-bottom: 5px solid #837499;
        }

        .navbar-main .navbar-nav .nav-link.tombSearch {
            border-bottom: 5px solid #495057;
        }

        .navbar-main .navbar-nav .nav-link.ten {
            border-bottom: 5px solid #92c8e7;
        }

/* 首頁大圖輪播樣式 */
/* web用 */
#div_indexBanner .flickity-viewport {
    height: 70vh !important;
}

#div_indexBanner.carousel-cell {
    overflow: hidden;
}

    #div_indexBanner.carousel-cell img.backgrond {
        display: block;
        width: 100%;
    }

        #div_indexBanner.carousel-cell img.backgrond:hover {
            -webkit-filter: saturate(0.5);
        }

    #div_indexBanner.carousel-cell .caption {
        position: absolute;
        top: 20vh;
        width: 60vw;
        right: 0;
        left: 0;
        margin: auto;
    }

/* 手機用 */
#div_indexBanner_2 .flickity-viewport {
    height: 70vh !important;
}

#div_indexBanner_2.carousel-cell {
    overflow: hidden;
}

    #div_indexBanner_2.carousel-cell img.backgrond {
        display: block;
        width: 100%;
    }

        #div_indexBanner_2.carousel-cell img.backgrond:hover {
            -webkit-filter: saturate(0.5);
        }

    #div_indexBanner_2.carousel-cell .caption {
        position: absolute;
        top: 20vh;
        width: 60vw;
        right: 0;
        left: 0;
        margin: auto;
    }

/* 首頁時光迴廊輪播 */
.carousel02 img {
    height: 150px;
}

.carousel-cell02 {
    margin-right: 5px;
    margin-left: 5px;
    padding-bottom: 50px;
}

    .carousel-cell02 .title {
        color: #446756;
    }

/* 首頁遺物資料輪播 */
.carousel03 {
    /*padding-bottom: 30px;*/
}

    .carousel03 img {
        width: 100%;
        /*height: 150px;*/
    }

.carousel-cell03 {
    width: 32.88%;
    margin-right: 5px;
    padding-bottom: 50px;
}

@media (max-width: 768px) {
    .carousel-cell03 {
        width: 75%;
    }
}


/* 遺物詳細頁 遺物照片輪播 */
#subjectResult img {
    max-height: 400px;
}

#subjectResult .carousel-cell {
    width: 100%;
    /* center images in cells with flexbox */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 考古遺址詳細頁 精選照片輪播 */
#div_photo img {
    max-height: 50vh;
}

#div_photo .carousel-cell {
    width: 100%;
    /* center images in cells with flexbox */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 自訂標題背景 */
.remains_title_container {
    padding: 10px 15px;
    width: auto;
    color: #fff;
    font-size: 2.5rem;
    background: #987244;
    /* Old browsers */
    background: -moz-linear-gradient(left, #987244 0%, #792120 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #987244 0%, #792120 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #987244 0%, #792120 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#987244', endColorstr='#792120', GradientType=1);
    /* IE6-9 */
}

.right_triangle {
    position: relative;
    top: 32px;
    width: 0px;
    height: 2.5rem;
    border-top: 2.5rem solid transparent;
    border-left: 2.5rem solid #792120;
    border-right: 2.5rem solid transparent;
    border-bottom: 2.5rem solid #792120;
}


.news_title_container {
    padding-top: 20px;
    padding-bottom: 60px;
    padding-left: 15px;
    padding-right: 15px;
    width: auto;
    color: #FFF;
    background: #b68a5c;
    /* Old browsers */
    background: -moz-linear-gradient(left, #b68a5c 0%, #464c48 49%, #344245 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #b68a5c 0%, #464c48 49%, #344245 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #b68a5c 0%, #464c48 49%, #344245 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b68a5c', endColorstr='#344245', GradientType=1);
    /* IE6-9 */
}

/* 顏色 */
.color_main {
    color: #446756;
}

.color_second {
    color: #81572b;
}

.color_red {
    color: #792120;
}

.color_blue {
    color: #213649;
}

.color_darkGreen {
    color: #263b4d;
}

.color_darkOrange {
    color: #8b6532;
}

.color_lightGray {
    color: #797979;
}

.color_gray {
    color: #666;
}

.color_darkGray {
    color: #575757;
}

.color_mustardYellow {
    color: #695609;
}

.color_black {
    color: #666;
}


/* 背景 */
.bg_yellow {
    background: #fff8e6;
}

/* 行距 */
.lineHeight_30 {
    line-height: 30px;
}

.lineHeight_32 {
    line-height: 32px;
}

.lineHeight_40 {
    line-height: 40px;
}

/* 高度 */
.h-100 {
    height: 100%;
}

.mh-85 {
    max-height: 85vh !important;
}

/* 框線 */
.border_01 {
    border-bottom: 1px solid #707070;
}

/* 字體大小 */
.font_0875rem {
    font-size: 0.875rem;
}

.font_1_025rem {
    font-size: 1.025rem;
}

.font_1_1rem {
    font-size: 1.1rem;
}

.font_1_2rem {
    font-size: 1.2rem;
}

.font_1_3rem {
    font-size: 1.3rem;
}

.font_1_5rem {
    font-size: 1.5rem;
}

.font_1_6rem {
    font-size: 1.6rem;
}

.font_1_8rem {
    font-size: 1.8rem;
}

.font_2rem {
    font-size: 2rem;
}

.font_2_3rem {
    font-size: 2.3rem;
}

.font_2_5rem {
    font-size: 2.5rem;
}

.font_3rem {
    font-size: 3rem;
}

.custom_error_text[style="visibility:hidden;"] {
    display: none;
}

.pre_wrap {
    white-space: pre-wrap;
}

.cursor_pointer {
    cursor: pointer;
}

/* -- 首頁線上特展區塊 --*/

.exhibition h4 {
    text-align: center;
    padding: 90px 0 50px 0;
}

.exhibition ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

    .exhibition ul li {
        width: 32.3%;
        position: relative;
        margin-bottom: 45px;
    }

.exhibition .title {
    position: absolute;
    z-index: 1;
    background: rgb(21 1 1 / 70%);
    width: 100%;
    bottom: 0;
    color: #fff;
    padding: 10px;
    height: 66px;
    display: flex;
    align-items: center;
}

    .exhibition .title:hover {
        color: #f6bf6f;
    }

.exhibition .imgBox {
    overflow: hidden;
}

    .exhibition .imgBox img {
        max-width: 100%;
        width: 100%;
        transition: transform .5s ease;
    }

    .exhibition .imgBox:hover img {
        transform: scale(1.2);
    }

.moreabout {
    text-align: center;
}

@media (max-width: 768px) {
    .exhibition ul li {
        width: 48.5%;
    }
}

@media (max-width: 576px) {
    .exhibition ul li {
        width: 100%;
    }
}

/* -- 首頁線上特展區塊Default_2 --*/

.exhibition_Default_2 h4 {
    text-align: center;
    padding: 90px 0 50px 0;
}

.exhibition_Default_2 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.exhibition-items li {
    background: #fff;
    margin-bottom: 27px;
    padding: 9px;
    width: 49%;
    display: flex;
    justify-content: space-between;
}

.imgBox {
    margin-right: 12px;
}

    .imgBox img {
        max-width: 302px;
    }

.exhibition-items li .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
}

.content .title {
    font-weight: bold;
    margin-bottom: 10px;
}

    .content .title a:hover {
        color: #934443;
    }

.content .descr {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.content .date {
    text-align: right;
}

.exhibition_Default_2 .moreabout .btn-pill {
    padding: 13px 17px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

@media (max-width: 1200px) {
    .exhibition-items li {
        width: 100%;
    }

        .exhibition-items li .content {
            width: auto;
        }
}



@media (max-width: 576px) {
    .exhibition-items li {
        flex-direction: column;
    }

    .imgBox {
        margin-right: 0;
        margin-bottom: 12px;
    }

        .imgBox img {
            width: 100%;
            max-width: 100%;
        }

    .content .box {
        margin-bottom: 12px;
    }
}



#map .leaflet-bar a.leaflet-disabled {
    color: #343434;
}


/* 20221021無障礙調整 */
.brown_bg_box {
    background: #792120;
    padding: 4px 13px;
    border-radius: 4px;
}

.grey_bg_box {
    background: #8D6F6E;
    padding: 4px 13px;
    border-radius: 4px;
}


.acKey {
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    position: absolute;
    text-indent: -999px;
    color: rgba(0, 0, 0, 0) !important;
}

.noscript {
    width: 100vw;
    height: 100vh;
    top: 0;
    background-color: #f5f1e6;
    position: fixed;
    z-index: 99999;
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_content {
    padding: 30px;
}

.flickity-prev-next-button {
    z-index: 1;
}

.flickity-button:focus {
    box-shadow: none;
}

/* 首頁無障礙頁籤 start */
.tabs {
    font-family: "lucida grande", sans-serif;
    position: relative;
}

    .tabs *:focus {
        display: block;
    }

    .tabs button:focus,
    .tabs a:focus {
        display: inline-block;
    }

#tabpanel-1,
#tabpanel-2 {
    position: absolute;
    top: 50px;
    width: 100%;
    background-color: transparent;
    border: none;
}

/* [role="tablist"] {
    min-width: 550px;
} */

[role="tab"],
[role="tab"]:focus,
[role="tab"]:hover {
    position: relative;
    z-index: 2;
    top: 2px;
    margin: 0;
    margin-top: 4px;
    padding: 3px 3px 4px;
    border: none;
    overflow: visible;
    background: transparent;
    outline: none;
    font-weight: bold;
    color: #792120;
}

    [role="tab"]::after {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 6px;
        background-color: #792120;
        left: 0;
        bottom: 0;
        opacity: 0;
        transition: opacity .3s;
    }

    [role="tab"][aria-selected="true"] {
        padding: 2px 2px 4px;
        margin-top: 0;
        border-bottom-color: transparent;
        background: transparent;
    }

        [role="tab"][aria-selected="true"]::after {
            opacity: 1;
        }

    [role="tab"][aria-selected="false"] {
    }

    [role="tab"] span.focus {
        display: inline-block;
        margin: 2px;
        padding: 4px 6px;
    }

    [role="tab"]:hover span.focus,
    [role="tab"]:focus span.focus,
    [role="tab"]:active span.focus {
        padding: 2px 4px;
        /* border: 2px solid rgb(36 116 214); */
        border-radius: 3px;
    }

[role="tabpanel"] {
    padding: 5px;
    border: 2px solid hsl(219deg 1% 72%);
    border-radius: 0 5px 5px;
    background: hsl(220deg 43% 99%);
    min-height: 10em;
    /* min-width: 550px; */
    overflow: auto;
}

    [role="tabpanel"].is-hidden {
        visibility: hidden;
        opacity: 0;
        z-index: -1;
    }

    [role="tabpanel"] p {
        margin: 0;
    }

.transparent[role="tabpanel"] {
    border: none !important;
    border-radius: 0 0 !important;
    background: none !important;
}

@media (min-width: 769px) {
    .transparent[role="tabpanel"] {
        overflow: hidden !important;
    }
}
/* =========================== */
.tabs {
    min-height: 420px;
}

    .tabs .manual {
        border-bottom: 2px solid #792120;
    }

    .tabs .flickity-viewport {
        height: 300px !important;
    }

    .tabs .carousel-cell {
        width: 33.333%;
        height: 100%;
        padding: 2px;
    }

@media (max-width:768px) {
    .tabs .carousel-cell {
        width: 50%;
    }
}

@media (max-width:375px) {
    .tabs .carousel-cell {
        width: 100%;
    }
}

.tabs .carousel-cell a {
    display: block;
    background-color: #fff;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 2px;
    height: 100%;
}

.tabs .carousel-cell .pic_box {
    position: relative;
    width: auto;
    height: 135px;
}

    .tabs .carousel-cell .pic_box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.tabs .carousel-cell .text_box {
    padding: 20px 20px 0 20px;
}

.tabs .carousel-cell .badge-custom-red {
    position: absolute;
    top: 8px;
    left: 8px;
}

.tabs .carousel-cell.tag_index {
    position: absolute;
    top: 0;
    left: 0;
}

.tabs .flickity-button {
    position: absolute;
    background: hsl(1deg 58% 30%);
    border: none;
    color: #fff;
}


/* 首頁無障礙頁籤 end */
.pc_menu {
    display: flex;
}

.mb_menu {
    display: none;
}

@media (max-width:1200px) {
    .pc_menu {
        display: none;
    }

    .mb_menu {
        display: flex;
    }
}

.todoMain {
    width: auto !important;
    height: auto !important;
    position: absolute !important;
    z-index: 9999;
    left: 0;
    top: 0;
    background-color: #999;
    font-size: 18px;
    color: #000;
    clip: unset;
    display: block;
    padding: 8px 16px;
    margin-top: -60px;
}

    .todoMain:focus {
        margin-top: 0;
    }


/* 客製化樣式 */
.table-bordered thead th {
    white-space: nowrap;
}

.cust_nav_tabs .nav-item a {
    padding: 8px 16px;
}

    .cust_nav_tabs .nav-item a:hover {
        background-color: #792120 !important;
        color: #fff !important;
    }

/* mode mobile */
.mode_mobile {
    display: none;
}

/* 客製化RWD table */
.cust_RWD_table {
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

    .cust_RWD_table .cust_RWD_table_row {
        display: flex;
        text-align: center;
    }

    .cust_RWD_table .cust_RWD_table_col .m_show {
        display: none;
    }

    .cust_RWD_table .cust_RWD_table_title {
        background-color: #212529;
        color: #fff;
    }

        .cust_RWD_table .cust_RWD_table_title .cust_RWD_table_col + .cust_RWD_table_col {
            border-left: 1px solid #fff;
        }

    .cust_RWD_table .cust_RWD_table_item {
        background-color: #f9f8f4;
    }

        .cust_RWD_table .cust_RWD_table_item + .cust_RWD_table_item {
            border-top: 1px solid #dee2e6;
        }

        .cust_RWD_table .cust_RWD_table_item .cust_RWD_table_col + .cust_RWD_table_col {
            border-left: 1px solid #dee2e6;
        }

    .cust_RWD_table .cust_RWD_table_col {
        padding: 12px 16px;
    }

        .cust_RWD_table .cust_RWD_table_col .link {
            color: #0a6fca;
        }

            .cust_RWD_table .cust_RWD_table_col .link:hover {
                text-decoration: underline;
            }

        .cust_RWD_table .cust_RWD_table_col.col_1 {
            width: 114px;
        }

        .cust_RWD_table .cust_RWD_table_col.col_2 {
            width: 25%;
        }

        .cust_RWD_table .cust_RWD_table_col.col_3 {
            width: 40%;
        }

        .cust_RWD_table .cust_RWD_table_col.col_4 {
            width: calc(35% - 214px);
        }

        .cust_RWD_table .cust_RWD_table_col.col_5 {
            width: 100px;
        }

        .cust_RWD_table .cust_RWD_table_col span {
            font-size: clamp(15px,.8vw,18px);
            padding: 6px 12px;
        }

    .cust_RWD_table .badge-success {
        background-color: #12872d;
    }

@media (max-width:991px) {
    .cust_RWD_table {
        display: flex;
        flex-wrap: wrap;
        border: none;
    }

        .cust_RWD_table .cust_RWD_table_title {
            display: none;
        }

        .cust_RWD_table .cust_RWD_table_item {
            padding: 10px;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            margin-bottom: 10px;
        }

        .cust_RWD_table .cust_RWD_table_row {
            width: calc(50% - 10px);
            flex-direction: column;
            text-align: left;
        }

            .cust_RWD_table .cust_RWD_table_row:nth-child(odd) {
                margin-left: 10px;
            }

        .cust_RWD_table .cust_RWD_table_col {
            padding: 4px 10px;
            display: flex;
        }

            .cust_RWD_table .cust_RWD_table_col .m_show {
                display: block;
                flex-shrink: 0;
                font-weight: 700;
                padding: 0;
            }

        .cust_RWD_table .cust_RWD_table_item + .cust_RWD_table_item {
            border-top: none;
        }

        .cust_RWD_table .cust_RWD_table_item .cust_RWD_table_col + .cust_RWD_table_col {
            border-left: none;
        }

        .cust_RWD_table .cust_RWD_table_col.col_1 {
            width: 100%;
        }

        .cust_RWD_table .cust_RWD_table_col.col_2 {
            width: 100%;
        }

        .cust_RWD_table .cust_RWD_table_col.col_3 {
            width: 100%;
        }

        .cust_RWD_table .cust_RWD_table_col.col_4 {
            width: 100%;
        }

        .cust_RWD_table .cust_RWD_table_col.col_5 {
            width: 100%;
        }
}

@media (max-width:576px) {
    .cust_RWD_table .cust_RWD_table_row {
        width: 100%;
    }

        .cust_RWD_table .cust_RWD_table_row:nth-child(odd) {
            margin-left: 0;
        }
}
