@charset "UTF-8";
/*--活動群組頁籤--*/
/*外框會黏住頂部*/
.activity-list-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  position: sticky;
  top: -1px;
  z-index: 99;

}

.activity-list-container ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0;
  padding: 0;
}

.activity-list-container ul li {
  list-style-type: none;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  max-width: 360px;
}

/*每一活動按鈕*/
.activity-list-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 130px;
  min-height: 48px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  background: #eaeaea;
  border-right: 1px solid #ffffff;
  text-align: center;
}
/*最後一顆按鈕不要有右側邊線*/
.activity-list-container ul li:last-child .activity-list-item {
    border-right: 0;
}
.activity-list-item:hover, .activity-list-item.active {
  position: relative;
  background: #666666;
  color: #fff;
}

.activity-list-item:hover a, .activity-list-item.active a {
  color: #fff;
}

.activity-list-item:hover::after, .activity-list-item.active::after {
  display: block;
  content: '';
  border-width: 10px;
  border-style: solid;
  border-color: #666666 transparent transparent transparent;
  position: absolute;
  left: calc(50% - 10px);
  bottom: -20px;
}

.activity-list-item a {
  color: #333333;
  display: block;
  width: 100%;
  padding: 4px 12px;
}



@media (max-width: 1024px) {
  .activity-list-container {
    font-size: 0.875rem;
  }
  .activity-list-container ul {
    -webkit-box-pack: left;
        -ms-flex-pack: left;
            justify-content: left;
  }
}

@media (max-width: 991.98px) {
  /*手機上被選中的標題排序移到最前面*/
  .activity-list-container ul li.show {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
  }
}

/* .sticky-top {
  min-height: auto;
} */

/*原本的數字增加間距(已隱藏)?*/
@media (max-width: 767px) {
  .sticky-wrapper.sticky-top .any_pick {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .sticky-wrapper.sticky-top .any_pick_btn {
    max-width: 50%;
    font-size: 1.2rem;
  }
}

/*活動群組化的各活動分類樣式*/
.activity-list-tab .event_block_tabs > .nav-tabs > li > a {
  display: block;
  color: #333333;
  margin-right: 0px;
  background: transparent;
  border-radius: 4px 4px 0 0;
  border-bottom: 2px solid #eeeeee;
}

.activity-list-tab .event_block_tabs > .nav-tabs > li > a:hover {
  color: #999999;
  background-color: transparent;
  border-bottom: 2px solid #999999;
}

.activity-list-tab .event_block_tabs > .nav-tabs > li.active > a,
.activity-list-tab .event_block_tabs > .nav-tabs > li.active > a:hover,
.activity-list-tab .event_block_tabs > .nav-tabs > li.active > a:focus {
  color: #666666;
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid #666666;
}

.activity-list-tab .event_block_tabs > .nav-tabs > li:hover ~ .event_block_tabs > .nav-tabs > li.active > a {
  color: #333333 !important;
  border-bottom: 2px solid #eeeeee;
}

/*--新增側邊浮動的結帳購物清單.--*/
#event-cart {
  position: fixed;
  right: -100px;
  top: 100px;
  z-index: 2;
  width: 100px;
  background: #fff;
  -webkit-transition: all ease-out 0.2s;
  /* Safari */
  transition: all ease-out 0.2s;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

#event-cart.float-open {
  right: 0px;
}

/*準備開啟關閉按鈕*/
.event-cart-icon,
.event-cart-icon-close {
  position: absolute;
  left: -24px;
  top: 0;
  padding: 6px;
  cursor: pointer;
  background: #fff;
  color: #666666;
  border: 0px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.3);
}

.css-icon-right {
  width: 14px;
  height: 14px;
  position: relative;
  display: block;
}

.css-icon-right::before, .css-icon-right::after {
  position: absolute;
  content: "";
  display: block;
}

.css-icon-right::before {
  top: -1px;
  left: 6px;
  width: 3px;
  height: 10px;
  -webkit-box-shadow: 0 0 0 16px inset;
          box-shadow: 0 0 0 16px inset;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.css-icon-right::after {
  top: 5px;
  left: 6px;
  width: 3px;
  height: 10px;
  -webkit-box-shadow: 0 0 0 16px inset;
          box-shadow: 0 0 0 16px inset;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.event-cart__cart {
  padding: 0.25rem;
}

.event-cart__pay {
  text-align: center;
  padding: 0 0.5rem;
}

.event-cart__pay .event-number, .event-cart__pay .event-price {
  font-size: 1.25rem;
  color: #990000;
  letter-spacing: -1px;
}

.event-cart__add {
  margin: 0;
  padding: 0 0 1rem 0;
  list-style-type: none;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.event-cart__add li {
  padding: 0.25rem 0.5rem;
}

/*照片裡有文字+刪除*/
.p-item {
  display: block;
}

.p-item__photo {
  position: relative;
}

.p-item__info {
  position: absolute;
  bottom: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 4px;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  font-size: 0.875rem;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  -webkit-transition: all ease-out 0.2s;
  /* Safari */
  transition: all ease-out 0.2s;
}

.p-item__info:hover {
  opacity: 1;
}

.p-item__info__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-item__info__delte {
  display: block;
  cursor: pointer;
  max-width: 50%;
  min-width: 52px;
  border: 1px solid #fff;
  padding: 2px 4px;
  margin: 2px auto;
  font-size: 1rem;
  border-radius: 4px;
  -webkit-transition: all ease-out 0.2s;
  /* Safari */
  transition: all ease-out 0.2s;
}

.p-item__info__delte:hover {
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 1024px) {
  #event-cart {
    right: auto;
    top: auto;
    left: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: none;
    width: 100%;
    border-radius: 0;
    background: #eeeeee;
  }
  .event-cart__pay {
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 90%;
    line-height: 1;
    padding-left: 1rem;
    /* padding-bottom: 1rem; */

  }
  .event-cart__pay .event-number, .event-cart__pay .event-price {
    letter-spacing: 0px;
  }
  .event-cart__cart {
    padding: 0;
    max-width: 50%;
    flex: 1;
  }
  .event-cart__cart .btn {
  	font-size: 1.2rem;
    border-radius: 0;
    padding: 0.6rem 0.5rem 0.8rem 0.5rem ;
  }
  /*列表清單隱藏*/
  .event-cart__add {
    display: none;
  }
}