/*調整行程列表頁*/
.tour_list_place .list .box .content h4.ellipsis{
	overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.tour_list_place .list .box .content h3{
	margin: 12px 0;
}
.tour_list_place .list .box .content .h4{
    position: relative;
    height: 120px;
}
.tour_list_place .list .box .content .h4 span.multi + span.multi {
	padding-left: 15px;
}


/*行程介紹頁：規範iframe大小*/
.mobileBanner{
	 display: none;
}
.pcBanner{
	 display: block;
}

@media screen and (min-width: 320px) and (max-width: 600px) {
	.pcBanner{
		 display: none;
	}
	.mobileBanner{
		 display: block;
	}
}

/*新增隱私權保護政策 頁面*/
.privacy_place{
    width: 100%;
}
.privacy_place .banner{
    position: relative;
    width: 100%;
    padding-bottom: 400px;
    background-image: url(../../images/privacy_bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.privacy_place .banner:before{
    content: '';
    width: 100%;
    height: 400px;
    background: rgba(0, 0, 0, 0.15);
    display: block;
    position: absolute;    
}
.privacy_place .banner h2{
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    color: #fff;
    font-size: 40px;
    letter-spacing: 2px;
    text-shadow: 0px 0px 2px #000;
    line-height: 1.2;
}
/*內文*/
.privacy_place .policy{
    background-color: #f5f5f5;
    padding-bottom: 50px;
}
.privacy_place .policy > .container{
    width: 90%;
    margin: auto;
    background: #fff;
    border-radius: 10px;
    padding: 15px 12px;
}
.privacy_place .policy .txt{
    border: 1px solid rgba(135, 186, 222, 0.5);
    padding: 20px;
    line-height: 1.5;
    border-radius: 5px;
}
@media (max-width: 580px){
.privacy_place .banner h2{
    font-size: 28px;
}
.privacy_place .policy{
    background-color: #fff;
    padding: 30px 0;
}

}

/* 優惠模組 */

.tour_list_place .list .box .item .cut{
    height: 100%;
}

/*最新消息 內文 頁面*/
.info_cont .info_detail {
  width: 100%;
  padding: 50px 0;
  background: url(../../images/cubes.png) repeat center center;
  word-break: break-all;
}
.info_cont .info_detail .wrap{
  width: 75%;
  margin: 0 auto;
  background: #fff;
  max-width: 1620px;
  border-radius: 8px;
  box-shadow: 1px -2px 20px rgba(37, 32, 32, 0.2);
}
.info_cont .info_detail .container{
  width: 95%;
  margin: auto;
  padding: 32px 0;
  position: relative; 
  text-align: left;
}
.info_cont .info_detail .container time{
  position: absolute;
  top: 20px;
  right: 0;
  color: #aaa;
  font-size: 14px;
}
.info_cont .info_detail .container h2{
  margin-bottom: 20px;
  color: #333;
  padding-bottom: 5px;
  border-bottom: 1px solid #202c5c;
  position: relative;
  font-size: 22px;
  font-weight: 600;
}
.info_cont .info_detail .container h2 > img{
  width: 32px;
  vertical-align: middle;
  padding: 5px 10px 5px 0;
}
.info_cont .info_detail .container .news > img {
  max-height: 500px;
}
.info_cont .info_detail .container .news img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.info_cont .info_detail .container .news{
  line-height: 1.4;
}

@media (max-width: 1028px){
.info_cont .news_item{
  width: calc( 90% / 2 );
  margin: 1% 2%;
}
.info_cont .info_detail .wrap{
  width: 90%;
}
}

@media (max-width: 780px){
.info_cont .head h2{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  padding: 0;
}    
}

@media (max-width: 680px){
.info_cont .info_detail{
  padding: 40px 0;    
}
.info_cont .info_detail .container h2{
  padding-left: 0;
}
}

@media (max-width: 580px){
.info_cont .news_item{
  width: 96%;
  margin: 2.5% 2%;
}
.info_cont .content{
  margin: 30px auto;
}
}

.news ul,.news li { list-style: inherit; padding-left: 1rem; }


@media (max-width: 768px) {
  .news li { list-style: inherit; padding-left: .5rem; }
}

/* 新增「關於我們」頁面 */
.aboutUs .banner{
    background:url(../../images/aboutUs_bg02.jpg) no-repeat center bottom;
    background-size: cover;
    background-attachment: fixed; 
    height: 300px;
}
.aboutUs .banner h2{
   padding-top: 50px;
   text-align: center;
}
.aboutUs .banner h2 > img{
    width: 200px;
}
.aboutUs .bg{
    position: relative;
    background: url(../../images/cubes.png) repeat center center;
    padding-bottom: 70px;
}
.aboutUs .intro{
    width: 80%;
    margin: auto;
    background: #fff;
    padding: 50px 30px;
    max-width: 1320px;
    border-radius: 0 0 30px 30px;
    box-shadow: 1px -2px 20px rgba(37, 32, 32, 0.2);
}
.aboutUs .intro .pic{
    text-align: center;
}
.aboutUs .intro .pic img{
    max-width: 300px;
    width: 100%;
    margin: 0 auto 30px;
}
.aboutUs .intro .content h2{
    color: #43318f;
    margin-bottom: 15px;
}
.aboutUs .intro .content p{
    text-align: left;
    line-height: 1.8;
    color: #666;
}
.aboutUs .intro .content p+p{
    margin-top: 20px;
}

/* 讓來源供應商獨自一行 */
.tour_list_place .list .box .content .h4 span.alone{
    display: block;
}

/*popup視窗內容 start*/
/*燈箱效果*/
body {
  background: #333;
  font-size: 1em;
  line-height: 1.1em;
}

.lightbox-target {
  display: none;
  position: fixed;
  top: -100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity .5s ease-in-out;
  overflow: hidden;
}

.lightbox-target .lightbox-content {
  width: 60%;
  height: 60%;
  background: #fff;
  color: #333;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 0%;
  max-width: 0%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  transition: .5s ease-in-out;
}

.lightbox-target:target {
  opacity: 1;
  top: 0;
  bottom: 0;
  display: block;
}

.lightbox-target:target .lightbox-content {
  max-width: 100%;
}

.lightbox-target:target .lightbox-close {
  top: 0;
}

.lightbox-close-wrap:after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lightbox-close-wrap .lightbox-close {
  display: block;
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  background: #139dd7;
  color: #fff;
  position: absolute;
  top: 10%;
  right: 0;
  transition: .5s ease-in-out;
}

.lightbox-close-wrap .lightbox-close:before, .lightbox-close-wrap .lightbox-close:after {
  content: " ";
  display: block;
  height: 30px;
  width: 1px;
  background: #fff;
  position: absolute;
  left: 26px;
  top: 10px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.lightbox-close-wrap .lightbox-close:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/*內容*/
.table_css {
  display: table;
  width: 100%;
  padding: 70px 20px 20px;
  background: #fff;
}

.table_css .thead_css {
  display: table-header-group;
  background: rgba(64, 162, 197, 0.47);
}

.table_css .tbody_css {
  display: table-row-group;
}

.table_css .trh_css {
  text-align: center;
  display: table-row;
}

.table_css .tr_css {
  text-align: center;
  display: table-row;
}

.table_css .tr_css:hover {
  background: rgba(17, 136, 179, 0.05);
}

.table_css .th_css {
  padding: 15px;
  border: 1px solid rgba(100, 175, 197, 0.42);
  display: table-cell;
}

.table_css .td_css {
  padding: 15px;
  border: 1px solid rgba(147, 211, 230, 0.42);
  display: table-cell;
}

/*popup視窗內容 end*/
/*新增 20180817-搜尋結果條列式顯示 end*/

/*新增 20180817-搜尋結果條列式顯示-RWD start*/
/*搜尋結果條列式顯示*/


/*popup視窗內容*/
@media screen and (max-width: 750px) {
  .lightbox-target:target {
    z-index: 999;
  }
/*  .lightbox-target:target .lightbox-content {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    overflow: hidden;
  }*/
  .lightbox-target:target .lightbox-content {
    width: 85%;
    height: 85%;
    max-height: 85%;
    margin-top: 10%;
    overflow-y: scroll;
  }
  .table_css {
    display: block;
    width: 100%;
    background: #fff;
  }
  .table_css .thead_css {
    display: none;
  }
  .table_css .tbody_css {
    display: block;
  }
  .table_css .tr_css {
    text-align: center;
    display: block;
    margin-bottom: 20px;
  }
  .table_css .tr_css:hover {
    background: rgba(17, 136, 179, 0.05);
  }
  .table_css .td_css {
    border: none;
    padding: 0;
    display: block;
    text-align: left;
    border: 1px solid rgba(100, 175, 197, 0.42);
  }
  .table_css .td_css:before {
    content: attr(data-title);
    display: inline-block;
    padding: 10px;
    margin-right: 10px;
    border-right: 1px solid rgba(100, 175, 197, 0.42);
    background-color: #64afc5;
    color: #fff;
    letter-spacing: 1px;
  }
  .table_css .lightbox-close-wrap {
    display: block;
  }
}

@media screen and (max-width: 425px) {
  .lightbox-target:target .lightbox-content {
    width: 85%;
    height: 85%;
    margin-top: 10%;
    overflow-y: scroll;
  }
}

/*新增 20180817-搜尋結果條列式顯示-RWD end*/

@media screen and (max-width:991px) {
  .searchModal.open .modal .FormSelect {
    display: block;
    width: 50%;
    float: left;
    height: calc(3rem + 2px);
    padding: 0.375rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  .searchModal.open .modal .FormDay {
    display: block;
    width: 100%;
    height: calc(3rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }

}

.searchBarTab {
  margin: 0 auto;
}
.nav {
  margin-bottom: -3px;
  padding: 0;
}
.searchBarTab-item a {
  color: #333;
  font-size: 14px;
}

.arrow_box.active,
.arrow_box.show > .arrow_box {
  position: relative;
  background: #fff;
  border-bottom: 3px solid #ff5858;
}
.arrow_box.active:after,
.arrow_box.active:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.arrow_box.active:after {
  border-color: rgba(255, 255, 255, 0);
  border-top-color: #ff5858;
  border-width: 6px;
  margin-left: -6px;
}
.arrow_box.active:before {
  border-color: rgba(154, 245, 49, 0);
  border-top-color: #ff5858;
  border-width: 10px;
  margin-left: -10px;
}

.TabMenu {
  border-bottom: 1px solid #ddd;
  background-color: rgb(245, 245, 245);
}
.SubTab-content {
  padding: 15px 0;
}
.SubTab-content .Tab-title {
  color: #ff5858;
  font-weight: bold;
  text-align: left;
  font-size: 15px;
  text-decoration:none;
}
.SubTab-content .Tab-title :hover{
	background-color:#ff5858;
	color: white;
	padding: 5px 5px 5px 5px;
	border-radius: 5px;
	
}

.SubTab-content .Tab-list {
  font-size: 15px;
}
.SubTab-content .Tab-list a {
  color: #333;
}
.SubTab-content .Tab-title i {
  padding: 0 10px;
}
.SubTab-content ul {
  list-style-type: none;
}
.SubTab-content ul li {
  margin: 0px 15px 5px 15px;
  float: left;
}

.SubTab-content ul li :hover{
	color: #fff;
	background-color: #ff625d;
	border-radius: 5px;
}
@media screen and (max-width: 991px) {
  #filter {
    width: 90%;
    height: 20px;
  }
  
  .SubTab-content .Tab-title {
    border-bottom: 1px solid #f857a6;
    text-align: center;
  }
  .SubTab-content .Tab-title p {
    margin-bottom: 5px;
  }
  .TabMenu {
    padding: 10px 0;
  }
  .TabMenu ul {
    margin-left: 5%;
  }
  .Tab-list{
    padding: 10px 0;
  }
  .searchBarTab-item {
    width: 32%;
    text-align: center;
  }
  .nav-pills .nav-link.active,
  .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #ff5858;
    border-radius: 5px;
  }
  .arrow_box.active,
  .arrow_box.show > .arrow_box {
    position: relative;
    border: none;
  }
  .arrow_box.active:after,
  .arrow_box.active:before {
    border: none;
  }

  .arrow_box.active:after {
    border: none;
    margin: 0;
  }
  .arrow_box.active:before {
    border: none;
    margin: 0;
  }
  .SubTab-content {
    padding: 0;
    margin: 0;
  }
}
