﻿body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft JhengHei","Roboto", sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

/*.wrapper{
                scroll-behavior: smooth;
            }*/


#main {
    position: relative;
    width: 90%;
    top: -75px;
    /*margin-bottom:95px;*/
    z-index: 3;
}


/*h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0;
  font-weight: 500;
  line-height: 1.2; }

h1, .h1 {
  font-size: 2.5025rem; }

h2, .h2 {
  font-size: 1.99938rem; }

h3, .h3 {
  font-size: 1.49625rem; }

h4, .h4 {
  font-size: 1.25125rem; }

h5, .h5 {
  font-size: 1.12437rem; }

h6, .h6 {
  font-size: 0.93625rem; }

.lead {
  font-size: 1.09375rem;
  font-weight: 300; }*/

.top_bar.scroll {
    -webkit-transform: translateY(-100px);
    -moz-transform: translateY(-100px);
    -o-transform: translateY(-100px);
    -ms-transform: translateY(-100px);
    transform: translateY(-100px);
    opacity: 0;
}

    .top_bar.scroll.scroll_up {
        -webkit-transform: translateY(00px);
        -moz-transform: translateY(0px);
        -o-transform: translateY(0px);
        -ms-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
    }

        .top_bar.scroll.scroll_up #menunav .nav > li > a,
        .top_bar.scroll.scroll_up #mobile_menu_icon,
        .top_bar.scroll.scroll_up #mobile_nav_icon {
            color: #000 !important;
        }

.top_bar.hasbg {
    background: transparent;
}

.top_bar {
    background-color: #ffffff;
}

.top_bar {
    width: 100%;
    height: 65px;
    padding: 0;
}

.top_bar {
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    background: #fff;
    background: rgba(256,256,256,0.95);
    float: left;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

    .top_bar.scroll {
        -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    }

.header_style_wrapper {
    width: 100%;
    float: left;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    display: block;
}


.header_style_wrapper {
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

    .header_style_wrapper.scroll_down {
        opacity: 0;
        z-index: 0;
    }

    .header_style_wrapper.scroll_up {
        opacity: 1;
        z-index: 4;
    }

#menu {
    position: relative;
    width: 90%;
    height: 65px;
    z-index: 3;
}

    #menu #logo,
    #menu #logo_transparent {
        float: left;
        width: 200px;
        line-height: 65px;
        margin-top: -2px;
        vertical-align: middle;
    }

    #menu #menunav {
        width: auto;
        float: right;
    }

#menunav .nav {
    list-style: none;
    display: block;
    margin-top: -2px;
    margin-bottom: 0;
    margin-right: 150px;
}


    #menunav .nav li {
        display: inline-block;
        margin: 0;
        padding: 0;
        background-color: rgba(256, 256, 256, 0);
    }

        #menunav .nav li ul li {
            clear: both;
            width: 100%;
            padding: 0 !important;
            margin: 0;
            text-align: left !important;
        }

        #menunav .nav li:last-child,
        #footnav .nav li:last-child {
            margin-right: 0;
        }

        #menunav .nav li > a {
            display: inline-block;
            padding: 0;
            margin: 0;
            color: #666;
            font-size: 12px;
            padding: 18px 17px 15px 17px;
            font-weight: 400;
            margin-right: 5px;
            font-family: "Microsoft JhengHei",Hind, 'Helvetica Neue', Arial,Verdana,sans-serif;
            text-transform: uppercase;
            -webkit-transition: padding 0.3s;
            -moz-transition: padding 0.3s;
            transition: padding 0.3s;
        }


#menu #mobile_menu_btn {
    position: absolute;
    width: auto;
    height: 65px;
    right: 35px;
}

#mobile_menu_btn a {
    color: #fff;
    width: 30px;
    margin-right: 7px;
    font-size: 22px;
    line-height: 65px;
}

#mobile_menu_icon,
#mobile_nav_icon {
    display: none
}


#footnav .nav li > a {
    display: inline-block;
    padding: 0;
    margin-right: 0;
    color: #666;
    font-size: 12px;
    padding: 0 14px 0 14px;
    font-weight: 400;
    font-family: "Microsoft JhengHei",Hind, 'Helvetica Neue', Arial,Verdana,sans-serif;
    text-transform: uppercase;
    -webkit-transition: padding 0.3s;
    -moz-transition: padding 0.3s;
    transition: padding 0.3s;
}

#menunav .nav li > a:first-child {
    padding-left: 0;
}

#menunav .nav > li > a,
#footnav .nav > li > a {
    color: #fff !important;
}

#menunav .nav li.arrow > a:after {
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    display: inline;
    width: auto;
    height: auto;
    line-height: normal;
    vertical-align: 10%;
    background-image: none;
    background-position: 0% 0%;
    background-repeat: repeat;
    font-family: 'FontAwesome';
    content: "\f107";
    float: right;
    margin-left: 8px;
    line-height: 20px;
}

#menunav .nav li a:hover,
#footnav .nav li a:hover {
    color: #444;
    z-index: 2;
    position: relative;
}

#menunav .nav li ul {
    list-style: none;
    background: transparent;
    position: absolute;
    width: 130px;
    height: 0;
    z-index: -1;
    margin: 0;
    margin-left: -20px;
    margin-top: -5px;
    border: 0;
    -webkit-box-shadow: 0 5px 40px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 5px 40px rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    opacity: 0;
    overflow: hidden;
    -ms-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -o-transform: scale(0.8);
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    transition: all 0.1s ease-out;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
}

    #menunav .nav li ul li ul {
        position: absolute;
        left: 131px;
        margin-top: -41px;
        margin-left: 0;
        opacity: 0;
    }

        #menunav .nav li ul li ul:before {
            display: none;
        }

#menunav .nav > li:hover > ul,
#menunav .nav > li > ul > li:hover > ul,
#menunav .nav > li > ul > li > ul > li:hover > ul /*顯示第四層*/ {
    z-index: 9;
    opacity: 1;
    height: auto;
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    overflow: visible;
}

#menunav .nav li ul li.menu-item a {
    display: block;
    background: transparent;
    height: auto;
    margin-left: -10px;
}

#menunav .nav li ul li a {
    width: 90px;
    display: block;
    border-top: 0;
    margin: 0;
    font-size: 11px;
    padding: 10px 0 10px 0;
    margin: 0 20px 0 20px;
    letter-spacing: 0;
    font-weight: 400;
    text-transform: none;
    border-bottom: 1px solid #dce0e0;
    -webkit-transition: color .2s linear, background .2s linear;
    -moz-transition: color .2s linear, background .2s linear;
    -ms-transition: color .2s linear, background .2s linear;
    -o-transition: color .2s linear, background .2s linear;
    transition: color .2s linear, background .2s linear;
}

#menunav .nav li ul.sub-menu li.arrow > a:after {
    font-size: 11px;
    margin-left: 0.5em;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    display: inline;
    width: auto;
    height: auto;
    line-height: normal;
    vertical-align: 10%;
    background-image: none;
    background-position: 0% 0%;
    background-repeat: repeat;
    margin-top: 0;
    font-family: 'FontAwesome';
    content: "\f105";
    float: right;
    margin-right: 0px;
    margin-top: 5px;
}


#menunav .nav li > a {
    font-family: "Microsoft JhengHei",Poppins, Helvetica, Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0px;
    text-transform: none;
}

#menunav .nav li > a,
#footnav .nav li > a,
#copyright,
.header_cart_wrapper i {
    font-size: 13px;
}

#menunav .nav li > a {
    padding-top: 26px;
    padding-bottom: 26px;
}


#menunav .nav li > a,
.header_cart_wrapper > a {
    color: #000000;
}

#menunav .nav li ul li a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0px;
    text-transform: none;
}

#menunav .nav li ul {
    background: #ffffff;
    border-color: #dce0e0;
}

.form-control::placeholder {
    color: #bfbfbf;
    font-size: 15.5px;
    opacity: 1;
}

#container svg {
    vertical-align: text-top;
}

._ease {
    height: 75px;
    transition-duration: 1000ms;
    transition-timing-function: ease;
}

.icon {
    vertical-align: middle;
    font-size: 11px !important;
}

.grid {
    padding-right: 3px;
    font-size: 20px;
}

#Pager {
    position: relative;
    margin: 0px auto;
    text-align: center;
}

/*#listtop {
    position: relative;
    margin-top: 620px;
    z-index: 10
}*/

footer {
    background-color: #000000;
    color: #ffffff;
    font-size: 14px;
}

.footer {
    width: 90%;
}

.card-body h5 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    height:70px;
}

.card-body h6 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    height: 60px;
}

#tourlink a,
#inxtour a {
    color: #000
}

#tourlink:hover .tour_price.has_discount {
    left: 10px;
}

#tourlink:hover {
    -webkit-transform: translateY(-4px);
    -moz-transform: translateY(-4px);
    -o-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    /*-webkit-box-shadow: 0 22px 40px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 22px 40px rgba(0, 0, 0, 0.15);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.15);*/
}

/*#tourlink .card-img-top {
    object-fit: cover;
}*/

.ribbondiv {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
}

.ribbontxt {
    display: inline-block;
    transform: rotateZ(45deg);
    transform-origin: bottom left;
}

.ribbonbg {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.fordis {
    position: relative;
    top: -3px;
    font-size: 10px;
}

#SharePic {
    display: none; /*For FB分享顯示的縮圖*/
}

/*#lightSlider {
            list-style: none outside none;
            padding-left: 0;
            margin-bottom: 0;
        }

            #lightSlider li {
                display: block;
                float: left;
                margin-right: 6px;
                cursor: pointer;
            }*/

/*#lightSlider {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 518px;*/ /* 設定固定高度，或使用 min-height */
/*}*/

/*延展*/
/*#lightSlider img {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}*/
/*延展*/

.bg-overlay:after {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 100%);
}

/*垂直水平居中*/
.bg-overlay img {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/*垂直水平居中*/

.disabled {
    pointer-events: none;
}

.hidden {
    display: none;
}

.B_hidden {
    display: none;
}

.tour_list {
    list-style: none;
    padding: 0 10px 0 10px;
    display: block;
    float: left;
    margin: 15px 0 20px 0;
    float: left;
    width: 100%;
    height: auto;
}

    .tour_list li {
        display: block;
        float: left;
        position: relative;
        padding: 3px 0 3px 0;
        width: 100%;
        height: auto;
        background: #fff;
        border-top: 2px dashed rgba(0, 0, 0, 0.125);
        color: #000000;
        line-height: 24px;
        overflow: hidden;
    }

        .tour_list li:last-child {
            border-bottom: 2px dashed rgba(0, 0, 0, 0.125);
        }

        .tour_list li:hover {
            background: #e1e4e8;
        }

        .tour_list li img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .tour_list li .ttt {
            display: inline-block;
            vertical-align: middle;
            height: auto;
            text-align: left;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
            padding: 5px 5px 0 5px;
            color: #000000;
            line-height: 24px;
        }

        .tour_list li .ddd {
            padding-right: 22px;
            text-align: right;
        }

        .tour_list li .sss {
            max-width: 100%;
            display: flex !important;
            justify-content: center;
            align-items: center;
            padding: 2px 0 2px 15px;
            overflow: hidden;
        }

.sss img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*.inner {
    margin-left: -20px
}*/

.color_setting {
    list-style: none;
    padding-left: 0;
    display: block;
    margin: 15px 0 20px 0;
}

    .color_setting > li {
        display: inline-block;
        position: relative;
        width: 11%;
        height: auto;
        overflow: hidden;
        cursor: pointer;
        padding: 0;
        box-sizing: border-box;
        text-align: center;
        font-size: 11px;
        margin-bottom: 15px;
    }

        .color_setting > li .item_content_wrapper {
            width: 100%;
        }

            .color_setting > li .item_content_wrapper .item_content {
                width: 100%;
                box-sizing: border-box;
            }

                .color_setting > li .item_content_wrapper .item_content .item_thumb {
                    width: 30px;
                    height: 30px;
                    position: relative;
                    line-height: 0;
                    border-radius: 250px;
                    margin: auto;
                }

#Features img,
#Note img,
#Option img,
#Tips img,
.rwd img {
    max-width: 100% !important;
    height: auto;
}

/*.rwd img {
            max-width: 100% !important;
            height: auto;
            background-color: #f2f2f2;
            border: 1px solid #cccccc;
            padding: 10px;
        }*/

figure {
    background-color: #f2f2f2 !important;
    border: 1px solid #cccccc !important;
    padding: 10px !important;
}

    figure img {
        border: 0 !important;
        padding: 0 !important;
    }

figcaption {
    padding-top: 8px;
    text-align: center !important;
}

.mdate {
    margin: 0 0 0 12px
}

.sidebar__inner {
    margin-bottom: 20px;
    margin-top: 20px;
}

/*#share{
            z-index:999;
        }*/

.fb-share-button > span {
    padding: 0;
    vertical-align: baseline !important;
}

.main_pic {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-width: 0;
    /*word-wrap: break-word;*/
}

    .main_pic img {
        max-width: 100% !important;
        height: auto;
        object-fit: cover;
        border-bottom-left-radius: 0.25rem;
        border-bottom-right-radius: 0.25rem;
    }

.right_input {
    padding: 20px;
    padding-top: 0;
    -webkit-box-shadow: 0 22px 40px rgba(0, 0, 0, 0.125);
    -moz-box-shadow: 0 22px 40px rgba(0, 0, 0, 0.125);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.125);
}

    .right_input textarea {
        resize: none;
    }

.jarallax {
    position: relative;
    float: left;
    display: block;
    width: calc(100vw);
    background-color: #000
}

    .jarallax:after {
        content: '';
        display: block;
        padding-top: 100%;
    }

/*#InxBanner{
           margin-bottom:50px;
        }*/
.inxjara {
    position: relative;
    float: left;
    display: block;
    width: 100%;
    height: calc(60vh);
    margin-bottom: 50px;
    background-color: #000
}

    .inxjara:after {
        content: '';
        display: block;
        width: 100%;
        height: calc(60vh);
        /*padding-top: 20%;*/
    }

.swiper {
    width: 100%;
}

.mySwiper, .tab1, .tab2, .tab3, .tab4 {
    overflow: hidden;
}

.swiper-order {
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    background: rgba(0, 0, 0, 0.125);
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.35);
    width: auto !important;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-wrapper a {
    color: #000;
}

.section-title {
    position: relative;
    display: inline-block;
}

    .section-title::before,
    .section-title::after {
        position: absolute;
        content: "";
        width: 45px;
        height: 2px;
        top: 50%;
        margin-top: -1px;
        background: var(--custom);
    }

    .section-title::before {
        left: -55px;
    }

    .section-title::after {
        right: -55px;
    }

#option_btn {
    position: fixed;
    top: 150px;
    right: -2px;
    cursor: pointer;
    z-index: 99;
    background: #fff;
    border-right: 0;
    width: 40px;
    height: 40px;
    padding: 10px 0 10px 0;
    text-align: center;
    border-radius: 5px 0px 0px 5px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
    -webkit-transition: -webkit-transform 600ms ease;
    -moz-transition: transform 600ms ease;
    -o-transition: -o-transform 600ms ease;
    transition: transform 600ms ease;
}

    #option_btn.open {
        -webkit-transform: translate(-361px, 0px);
        -moz-transform: translate(-361px, 0px);
        transform: translate(-361px, 0px);
    }

    #option_btn span {
        font-size: 15px;
        line-height: 15px;
        color: #222;
    }

.demotip {
    display: block;
}

/* Right Sidebar 2 */
#option_wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    background: #fff;
    z-index: 99999;
    box-shadow: -1px 1px 10px rgba(0, 0, 0, 0.1);
    overflow: auto;
    height: 100%;
    color: #222;
    line-height: 1.5;
    font-size: 14px;
    -webkit-transform: translate(361px, 0px);
    -moz-transform: translate(361px, 0px);
    transform: translate(361px, 0px);
    -webkit-transition: -webkit-transform 600ms ease;
    -moz-transition: transform 600ms ease;
    -o-transition: -o-transform 600ms ease;
    transition: transform 600ms ease;
}

    #option_wrapper.open {
        -webkit-transform: translate(0px, 0px);
        -moz-transform: translate(0px, 0px);
        transform: translate(0px, 0px);
    }

    #option_wrapper:hover {
        overflow-y: auto;
    }

    #option_wrapper h6.right_title {
        font-size: 18px;
        /*padding-left: 25px;*/
        font-weight: 600;
        letter-spacing: 0;
    }



    #option_wrapper #option_close.button,
    #mobile_menu #mobile_menu_close.button {
        position: fixed;
        top: 15px;
        right: 30px;
        border-radius: 250px;
        width: 40px;
        height: 40px;
        padding: 0;
        line-height: 42px !important;
        font-size: 16px;
        -ms-transform: scale(0);
        -moz-transform: scale(0);
        -o-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
        box-shadow: 0 8px 8px -6px rgba(0,0,0,.15);
        transition: all 0.1s ease;
        -webkit-transition: all 0.1s ease;
        -moz-transition: all 0.1s ease;
    }

    #option_wrapper #option_close.button,
    #mobile_menu #mobile_menu_close.button {
        -webkit-animation-delay: 1.5s;
        animation-delay: 1.5s;
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

        #option_wrapper #option_close.button:hover,
        #mobile_menu #mobile_menu_close.button:hover {
            margin-top: -4px;
        }

#mobile_menu {
    left: 0;
    -webkit-transition: -webkit-transform 600ms ease;
    -moz-transition: transform 600ms ease;
    -o-transition: -o-transform 600ms ease;
    transition: transform 600ms ease;
    -webkit-transform: translate(-361px, 0px);
    -moz-transform: translate(-361px, 0px);
    transform: translate(-361px, 0px);
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-overflow-scrolling: touch;
    width: 360px;
    padding: 35px 40px 35px 40px;
    box-sizing: border-box;
    background: #fff;
    position: fixed;
    box-shadow: -1px 1px 10px rgba(0, 0, 0, 0.1);
    top: 0px;
    height: 100%;
    z-index: 999;
    color: #999;
}

    /*body.js_nav .mobile_menu_wrapper {
            -webkit-transform: translate(0px, 0px);
            -ms-transform: translate(0px, 0px);
            transform: translate(0px, 0px);
            -o-transform: translate(0px, 0px);
            overflow-y: scroll;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            left: 0;
        }*/
    #mobile_menu.open {
        -webkit-transform: translate(0px, 0px);
        -ms-transform: translate(0px, 0px);
        transform: translate(0px, 0px);
        -o-transform: translate(0px, 0px);
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        left: 0;
    }

.nav-items {
    list-style-type: none;
    margin: 0;
    padding: 0;
    flex: 0 0 100%;
}

.nav-item:not(:last-child) {
    border-bottom: solid 1px #e1e4e8;
}

.nav-link {
    display: block;
    padding: 1em 1em;
    background-color: #fff;
    font-size: 18px;
    line-height: 1.5em;
    font-weight: 600;
    color: #000;
}

    .nav-link a {
        display: inline-block;
        color: #000;
        width: 50%;
    }

    .nav-link .nav-expand-link {
        text-align: right;
    }

.nav-expand-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    background-color: #fff;
    transition: 0.3s;
    visibility: hidden;
}

    .nav-expand-content .nav-item:not(:last-child) {
        border-bottom: solid 1px #e1e4e8;
    }

    .nav-expand-content .nav-back-link::before {
        content: "\F0141";
        margin-right: 0.5em;
        font-family: "Material Design Icons";
    }

.nav-expand-link {
    float: right;
}

    .nav-expand-link::after {
        content: "\F0142";
        flex: 0 1 auto;
        font-family: "Material Design Icons";
    }

.nav-expand.active > .nav-expand-content {
    transform: translateX(0);
    visibility: visible;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab1, .tab2, .tab3 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.button-next-1, .button-prev-1,
.button-next-2, .button-prev-2,
.button-next-3, .button-prev-3 {
    width: 32px;
    display: block;
    top: 50%;
    height: 32px;
    background-image: url('/img/nextprve1.png');
    cursor: pointer;
    position: absolute;
    z-index: 10;
    margin-top: -16px;
}

.button-prev-1,
.button-prev-2,
.button-prev-3 {
    left: -16px;
}

.button-next-1,
.button-next-2,
.button-next-3 {
    background-position: -32px 0;
    right: -16px;
}

.fade-out {
    opacity: 0;
    transition: opacity 0s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.7s ease-in;
}

.lazyload {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #f3f3f3;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
}

    .image-wrapper::before {
        content: "";
        display: block;
        /*position: absolute;
        top: 50%;
        left: 50%;
        width: 40px;
        height: 40px;
        margin-top: -20px;
        margin-left: -20px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        display: none;*/
    }

    /*.image-wrapper.loading::before {
        display: block;
    }*/

    .image-wrapper img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.loading-once {
    display: none;
}

    .loading-once.loading-spinner {
        display: block;
    }

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.image-wrapper img.lazyloaded + .loading-spinner {
    display: none !important;
    visibility: hidden !important; /* 多一層保護 */
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

#loading {
    text-align: center;
    margin: 40px 0;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.tourdiv {
    margin: 15px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); /*動態均分寬度*/
    gap: 15px;
    width: 100%;
    height: 100%;
}

    .tourdiv > :only-child {
        grid-column: 1 / -1; /* 讓唯一子元素佔去全部寬度 */
    }

    .tourdiv img.cover {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center;
    }

    .tourdiv img.round {
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
    }

.long {
    display: flex;
    flex-direction: row;
}

.short {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.tourgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 10px;
    justify-content: center;
    align-content: center;
    box-sizing: border-box;
}

    .tourgrid a {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        text-align: center;
    }

        .tourgrid a:hover {
            color: #ffffff;
            border: 0;
            background-color: var(--custom)
        }
