body {
  background-position: left top;
  background-attachment: scroll;
}
body .block-item {
  background-position: left top;
  background-attachment: scroll;
  border-style: none;
}
body .widget-item {
  background-position: left top;
  background-attachment: scroll;
  border-style: none;
}
body .header {
  background-position: left top;
  background-attachment: scroll;
  border-style: none;
}
body .left {
  background-position: left top;
  background-attachment: scroll;
  border-style: none;
}
body .right {
  background-position: left top;
  background-attachment: scroll;
  border-style: none;
}
body .footer {
  background-position: left top;
  background-attachment: scroll;
  border-style: none;
}
/* gloriatour style */
* {font-family: 'PT Sans', '微軟正黑體', sans-serif;}
.footer-sample .logo-part .logo {width: auto; height: auto;}

.header[data-position="header"] {background: #fff;}
.header-part {opacity: 0.9;}
.header-part .navbar-brand {padding: 5px !important;}
.header-part .navbar-nav .nav-link {text-align: center; padding: 5px 15px !important;}

.top-row div.link-list{ min-height: 40px;}
.top-row div.link-list ul {padding-right: 30px;}
.top-row div.link-list ul li a,.top-row  div.link-list ul li span{ padding: 8px; line-height:24px;}
.main-menu .navbar-nav .nav-link {font-size: 17px !important; padding-left: 30px;}
.main-menu .navbar-dark .navbar-toggler{  background: #FFA667; padding: 0.15rem;}
.main-menu .navbar-toggler-icon { width: 1.2em; height: 1.2em;}

/* 會員登入 */
.glo_member { position: absolute; right: 130px; top: 8px; z-index: 1; width: auto; font-size: 13px; }
.glo_member a{ color: #ffffff; text-decoration: none; line-height: 24px;}
.glo_member a:hover{ color:rgb(237, 237, 237)}
.glo_member a i { padding-right: 5px;}
.glo_member .showName { padding: 0; }
.glo_member .showName .member-name { border-bottom: 1px solid #ffffff; }
.glo_member .showName .SignOut{ background-color: transparent; border: 1px solid #ffffff;}

@media (max-width:991px){
  .main-menu .header-part .navbar-brand{width: calc(100% - 80px);height: auto;}
  .main-menu .header-part .navbar-brand img{height: auto;     max-width: 70px;}
  .main-menu .navbar-collapse.show{overflow: auto; height: 100vh; padding-bottom: 10rem;}
  .main-menu .module-container .main .module nav.header-part .dropdown.show > a, .main-menu .module-container .main .module nav.header-part .dropdown.show > a:hover{background-color: #FFA667 !important;color: #FFFFFF !important;}
}
@media (max-width:767px){
    .top-row div.link-list ul{ padding-right: 5px; }
    .glo_member{ right: 100px;}
    .glo_gotop .actGotop{ width: 50px;  height: 50px; bottom: 60px; }
    .glo_gotop .actGotop a,.glo_gotop .actGotop a:link{ width: 50px; height: 50px; line-height: 70px; font-size: 16px;}
    .glo_gotop .actGotop a i { width: 50px; font-size: 30px; }
}


/* footer */
.glo_footer .footer-sample .service-item-part .social-btn a{ color: rgb(84, 84, 84);}
.search-block .search-area .search-box .search-btn { height: 60px; line-height: 60px; margin-top: 20px; background: #FFA667 !important; }
@media (max-width:767px){
    .glo_footer .footer-sample .contact-us-part { font-size: 14px; letter-spacing: 0; }
}

/* 搜尋引擎 start */
.search-block .search-box .select-goal .title i, 
.search-block .search-box .select-place .title i, 
.search-block .search-box .select-date .title i, 
.search-block section.search_banner .search-area .search-box .select-input .data-icon-search { color: #FFA667 !important; }
.search-block .search-area .search-box .search-btn { height: 60px; line-height: 60px; margin-top: 20px; background: #FFA667 !important; }
/* 國外搜尋引擎*/
.search_foreign .group_banner.search_banner .search-area > .container{  max-width: 1140px; background: transparent; border-bottom: 0; }
.search_foreign section.group_banner .search-area .search-box{ height: 60px; margin: 3rem 0;}
.search_foreign section.group_banner .search-area .search-box>div:last-child{ flex: 0 0 200px; max-width: initial;}
.search_foreign section.group_banner .search-area .search-box .select-goal .title,
.search_foreign section.group_banner .search-area .search-box .select-place .title,
.search_foreign section.group_banner .search-area .search-box .select-date .title { height: 30px; min-height: 30px; }
.search_foreign section.group_banner .search-area .search-box>div:nth-child(1),
.search_foreign section.group_banner .search-area .search-box>div:nth-child(2),
.search_foreign section.group_banner .search-area .search-box>div:nth-child(5){ flex: 1; max-width: initial;}
.search_foreign section.group_banner .search-area .search-box>div:nth-child(4){ flex: 0 0 350px; max-width: initial; }
.search_foreign section.group_banner .search-area .search-box .select-date .select input{ width: calc(46% - 8px);}
.search_foreign .search-area .search-box .select-date .select .divide { margin: 15px 10px 0px 10px; background: #333333; }
.search_foreign section.search_banner .search-area .search-box .select-input::before { content: "關鍵字"; color: #666666; font-size: 0.95rem; padding-left: 25px;}
.search_foreign section.search_banner .search-area .search-box .select-input input{ margin-top: 6px; padding-left: 0; height: 32px;}
.search_foreign section.search_banner .search-area .search-box .select-input .data-icon-search{ left: 5px;}
.search-block .search_foreign section.group_banner .search-area .search-box .search-btn { height: 60px; line-height: 60px; margin-top: 0px; background: #FFA667 !important; }
.search-block .search_foreign .search-area .search-box .search-btn h5 { width: auto; padding-left: 10px; font-size: 16px; }
.search_foreign .search-area .search-box .search-btn:hover i { transform: translateY(0); }
.search_foreign section.search_banner .search-area .search-box .select-input .data-icon-search{ top:6px;}
.search_foreign section.search_banner .search-area .search-box .select-goal,
.search_foreign section.search_banner .search-area .search-box .select-place{ height: 60px; padding: 0;}
.search_foreign section.group_banner .search-area .search-box .select-date { padding: 0; height: 60px; }
.search_foreign section.group_banner .search-area .search-box .select-date,
.search_foreign section.group_banner .search-area .search-box .select-input{  height: 60px}
.search_foreign .search-area .search-box .select-place .select select,
.search_foreign .search-area .search-box .select-goal .select select,
.search_foreign section.group_banner .search-area .search-box .select-date .select input,
.search_foreign section.search_banner .search-area .search-box .select-input input{ border: 1px solid #eeeeee; background-color: #f4f4f4 !important;}

@media (max-width: 991.98px){
    .search-block .search-area .search-box .select-date .select{ width: 100%;}
    .search-block .search-area .search-box .select-date .select input { width: calc(50% - 18px); text-align: center;}

    .search_foreign section.group_banner .search-area .search-box{ height: auto;}
    .search_foreign section.group_banner .search-area .search-box>div:nth-child(1),
    .search_foreign section.group_banner .search-area .search-box>div:nth-child(2) { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
    .search_foreign section.group_banner .search-area .search-box>div:nth-child(4),
    .search_foreign section.group_banner .search-area .search-box>div:nth-child(5),
    .search_foreign section.group_banner .search-area .search-box>div:last-child{ flex: 0 0 100%; }
    .search_foreign section.group_banner .search-area .search-box .select-date .select input { width: calc(50% - 18px); }
    .search-block .search_foreign section.group_banner .search-area .search-box .search-btn { height: 50px; line-height: 50px; margin-top: 20px; background: #FFA667 !important; }
    .search_foreign .mic_icon{ bottom: -30px;}
}
@media (max-width: 767px){
    .search-block .search-area .search-box .search-btn { height: 40px; line-height: 40px; margin-top: 0; }
}

/* 搜尋引擎 end */

/**** 新版首頁 start ****/
/* 輪播圖 */
.index_slider section>.row {margin: 0;}
.index_slider .owl-theme .owl-dots .owl-dot:focus{ outline:none;}
@media screen and (max-width:1199px) {
	.index_slider .owl-carousel .owl-nav button.owl-prev,.index_slider .owl-carousel .owl-nav button.owl-next{ top: 45%;transform: translate(0, -45%); width: 40px;  height: 40px;}
	.index_slider .owl-carousel .owl-nav button.owl-prev{ left:3%; }
	.index_slider .owl-carousel .owl-nav button.owl-next{ right:3%; }
    .index_slider .owl-carousel .owl-nav button.owl-next span,.index_slider .owl-carousel .owl-nav button.owl-prev span{ font-size:35px; line-height: 35px; }
}
@media screen and (max-width:767px) {
    .index_slider .owl-item {max-width:60vh;} 
  }
@media screen and (max-width: 575px){
    .index_slider .owl-item {max-width:50vh;} 
    .index_slider .loop.owl-carousel.owl-theme.owl-loaded.owl-drag { max-height: 200px; }
    .index_slider .owl-stage-outer { max-height: 200px; }
}
/**** 新版首頁 end ****/

/* Aboutus */
.aboutus_banner {
    box-shadow: 0 4px 8px 0px gray;
}

/* 行程明細頁 */
section.group_table.trip_day .day_con .info_box>.row>.col-lg-4.col-sm-12 { display: none; }
section.group_table.trip_day .day_con .info_box>.row>.col-lg-8.col-sm-12 { flex: 0 0 100%; max-width: 100%; }
section.group_table.trip_day .info_box .info_box_title{  margin-left: 0;  width: 100%;}
section.group_table.trip_features .group_table_box>div:nth-child(2) table { max-width: 100%; width: auto !important;}

/* 隱藏月曆，強制顯示列表模式 */
.D_products_group_mold #search-calendar, .D_products_group_detail #search-calendar{display: none;}
.D_products_group_mold #search-table, .D_products_group_detail #search-table{display: block;opacity: 1;}
.D_products_group_mold #pills-tab .nav-item #pills-home-tab, .D_products_group_mold #pills-tab .nav-item #pills-contact-tab,
.D_products_group_detail #pills-tab .nav-item #pills-home-tab, .D_products_group_detail #pills-tab .nav-item #pills-contact-tab{opacity: 0;}
.D_products_group_mold #pills-tab .nav-item, .D_products_group_mold #pills-tab .nav-item #pills-contact-tab, .D_products_group_detail #pills-tab .nav-item, .D_products_group_detail #pills-tab .nav-item { list-style: none; }


/* 公版GOTOP */
.go-to-top { display: none !important; } 

/* 滾動視差 start */
.out-recomend {
    position: relative;
 	font-family: "PT Sans", 微軟正黑體, sans-serif;
    text-align: center;
    word-wrap: break-word;
    writing-mode: horizontal-tb;
    -ms-direction: rtl;
    -ms-writing-mode: tb;
    overflow: hidden;
}
.out-recomend>.icon h3 {
    text-align: center;
    color: #b4a582;
    font-size: 1.063em;
}
.out-recomend p {
    padding: 15px 0 50px 0;
}
.index .out-recomend>.icon img {
    margin-bottom: 15px;
}

.mainpic a {
  	display: block;
  	width: 100%;
    height: 100vh;
    text-align: center;
    word-wrap: break-word;
    writing-mode: horizontal-tb;
}
.mainpic a .info {
  	opacity: 1;
    width: 25vw;
    position: absolute;
  	top: 0;
    right: 0;
    height: 100%;
    text-align: right;
    border-left: #fff 1px solid;
    background-color: rgba(120, 125, 123, .4);
    word-wrap: break-word;
    writing-mode: horizontal-tb;
    -ms-direction: rtl;
    -ms-writing-mode: tb;
}
.mainpic a .info>.num {
    color: #b0c2c4;
    margin: 13% 32% 0 0;
    width: auto;
    float: right;
}
.mainpic a .info>.tit {
    margin: 30px 32% 0 0;
    float: right;
    width: 60px;
    position: relative;
}
.mainpic a .info>.tit h4 {
    line-height: 102%;
    letter-spacing: .2em;
    width: 20px;
    display: inline-block;
    height: 160px;
    word-wrap: break-word;
    writing-mode: horizontal-tb;
    font-size: 1.5em;
    color: #fff;
    float: right;
}
.mainpic a .info>.tit>p {
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    padding: 0;
    margin: 0;
    color: #dac9a6;
    font-weight: 300;
    font-style: italic;
    font-size: 1.125em;
    position: absolute;
    left: -55px;
    top: 60px;
    text-align: left;
    width: 150px;
}
.mainpic a .info>.note {
    margin: 30px 44% 0 0;
    float: right;
}
.mainpic a .info>.note>p {
    line-height: 102%;
    letter-spacing: .2em;
    width: 20px;
    display: inline-block;
    height: 120px;
    word-wrap: break-word;
    writing-mode: horizontal-tb;
    color: #fff;
    float: right;
    font-weight: 300;
    font-size: 1em;
    padding: 0;
    margin-left: 8px;
}
.mainpic a .info>.more {
    position: absolute;
    right: 32%;
    bottom: 60px;
    color: #fff;
}

@media screen and (max-width:1860px) {
  	
}
@media screen and (max-width:1400px) {
    .mainpic a .info {width: 32vw;}
    .mainpic a .info>.more {bottom: 40px;}
}

@media screen and (max-width:1250px) {
    .mainpic a .info {width: 430px;}
}

@media screen and (max-width:1200px) {
  	
}

@media screen and (max-width:1024px) {
    .mainpic a .info {
        right: 0;
        opacity: 1;
    }
}

@media screen and (max-width:768px) {
    .mainpic a .info {width: 350px;}
}

@media screen and (max-width:767px) {
  	
}

@media screen and (max-width:490px) {
    .mainpic a .info {
        width: 100%;
        border-left: none;
    }
    .mainpic a .info>.tit>p {
        font-size: .85em;
    }
}
/* 滾動視差 end */

/* 嵌入地圖 */
@media (max-width: 599px) {
  .aboutus_map {
    position: relative;
    padding-bottom: 75%; /* 此為地圖長寬比 */
    height: 0;
    overflow: hidden;
  }
  .aboutus_map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }
}

/* 新版footer */
.gloria_footer .logo2_wrapper img.img-responsive {
    max-width: 100%;
}
@media (max-width: 1600px) {
    .gloria_footer  .tail_wrapper{ 
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
    .gloria_footer .container-fluid.tail_bar_wrapper { 
        padding-left: 5% !important; 
        padding-right: 5% !important; 
    }
}
@media (max-width: 1199px) {
    .gloria_footer .container-fluid.tail_bar_wrapper>.row {
        padding-left: 30px;
        padding-right: 30px;
    }
    .gloria_footer .tail_bar_left {
        flex: 0 0 60%;
        max-width: 60%;
    }
    .gloria_footer .tail_bar_right {
        flex: 0 0 40%;
        max-width: 40%;
    }
} 
@media (min-width: 768px) and  (max-width: 991px) {
    .gloria_footer .tail_wrapper .row>.col-sm-6.col-md-3 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .gloria_footer .tail_wrapper .row>.col-sm-12.col-md-6.module{
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 991px){
    .D_products_group_detail .gloria_footer .container-fluid.tail_bar_wrapper {
        padding-bottom: 40px;
    }
}
@media (max-width: 767px){
    .gloria_footer .container-fluid.tail_bar_wrapper>.row {
        padding-left: 0;
        padding-right: 0;
    }
    .gloria_footer .tail_bar_left, .gloria_footer .tail_bar_right {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 575px){
    .gloria_footer .tail_bar_left, .gloria_footer .tail_bar_right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .gloria_footer .tail_bar_left{ 
       padding-top: 15px;
    }
    .gloria_footer .tail_bar_right{ 
       text-align: left !important;
   }

}