.topbanner{
  display: none;
  pointer-events: none;
  z-index: -99;
  opacity: 0;
  visibility: hidden;
}

/*-----------------------------------------------
    sidebar
-----------------------------------------------*/
.main_sidebar {
  position: fixed;
  right: -100px;
  height: 70vh;
  width: 80px;
  background-color: transparent;
  border-left: 0px solid rgba(250,250,250,0.5);
  top: 25%;
  transition: all .5s ease;
  z-index: 102;
}




@keyframes msBottom
{
0%{right: -100px;}

100%{right: 0;}
}
.sidebar-effect{animation:msBottom .4s ease-out 0.5s 1 both;}



.main_sidebar .ms_item_list span {
  color: #161717;
  font-size: 14px;
  font-weight: 500;
}
.main_sidebar .ms_item_list span {
  color: #161717;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.main_sidebar .ms_item_list > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  cursor: pointer;
  height: 100%;
}
.main_sidebar .ms_item_list {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 15px 0 0 0;
  flex-direction: column;
  height: 100px;
}
.main_sidebar_ul {
  list-style: none;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
    margin-bottom: 0px;
  background: rgba(250,250,250,0.9);
  border-radius: 10px 0px 0px 10px;
  padding: 35px 0 35px 0;
}



@media screen and (max-width: 1600px) {
.main_sidebar {
  height: 70vh;
  width: 80px;
  top: 10%;
  transform: scale(0.9) translate(13%,0);
}

}






@media screen and (max-width: 960px) {

.main_sidebar .ms_item_list {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 15px 0 0 0;
  flex-direction: column;
  height: 60px;
  flex:1;
}
.main_sidebar {
  right: 0;
  height: 15vw;
  width: 100%;
  background-color: rgba(250,250,250,0.9);
  border-left: 0px solid rgba(250,250,250,0.5);
  top: initial;
  bottom: 0;
  max-height: 80px;
}

.main_sidebar_ul {
  text-align: center;
  display: flex;
  flex-direction: initial;
  margin: 0;
    margin-bottom: 0px;
  border-radius: 0;
  padding: 0 10% 0 10%;
  background:transparent;
}


.main_sidebar .ms_item_list span {
  height: 20px;
}
}

@media screen and (max-width: 767px) {
.main_sidebar {
  right: 0;
  height: 15vw;
  width: 100%;
  background-color: rgba(250,250,250,0.9);
  border-left: 0px solid rgba(250,250,250,0.5);
  top: initial;
  bottom: 0;
  max-height: 60px;
}
.main_sidebar .ms_item_list {
  padding: 10px 0 0 0;
  height: 53px;
}


  #wrapperhead{
    display: none;
  }
}



/*-----------------------------------------------
    list
-----------------------------------------------*/

.list-name {
    position: relative;
  height: 100%;
  /*background: #fff;*/
}


/*原來文字*/
  .list-name p {
  margin: 0;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
}




.product_history_btn .list-name::before {
  content:'查看行程';
}
.ContactShare_btn .list-name:before{
    content:'聯絡我們';
}

.ms_item_list-share .list-name:before{
    content:'分享資訊';
}
.toplist .list-name:before{
    content:'最愛清單';
}

/*蓋掉原本的文字*/
.list-name:before{
    content:'';
    position: absolute;
    width: 44%;
    height: 100%;
    top: 2px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 10;
    line-height: 1.1;


}
.list-name:after{
    content:'';
    position: absolute;
    width: 100%;
    height: 100%;
    /*background: #fff;*/
    top: 0;
    left: 0;
    z-index: 1;



}
.ms_item_list:hover .list-name {
  color: #000;
  transition: all .3s ease;
}


/*@media screen and (max-width: 960px) {


.list-name:before{
    content:'';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 10;
    line-height: 1.1;


}
}

*/


/*-----------------------------------------------
    圖示
-----------------------------------------------*/
.ms_item-view img {

  opacity: 0;
}
.ms_item-contact img{
  opacity: 0;
}

.item-share img{
  opacity: 0;
}
.item-compare img{
  opacity: 0;
}

/*籃底*/
.product_history_btn:hover .ms_item-view {
  background-color: transparent;
  transition: 0s;
}

.main_sidebar .ms_item-view{
border-radius: 0;
  padding: 0;
  width: 20px;
  height: 30px;

    background: url(../images/icon-01.png) center 0 /100% no-repeat;
}

.main_sidebar .ms_item-contact{
border-radius: 0;
  padding: 0;
  width: 20px;
  height: 30px;

    background: url(../images/icon-02.png) center 0 /100% no-repeat;
}
.main_sidebar .item-share{
  border-radius: 0;
  padding: 0;
  width: 20px;
  height: 30px;

    background: url(../images/icon-03.png) center 0 /100% no-repeat;
}

.main_sidebar .item-compare{
    border-radius: 0;
  padding: 0;
  width: 20px;
  height: 30px;

    background: url(../images/icon-04.png) center 0 /100% no-repeat;
}


.ms_item_list:not(.active):hover :where(.ms_item-print, .ms_item-contact, .item-share, .item-compare, .ms_item-linkCopy) {
  background-color: transparent;
  transition: 0s;
}
.ms_item_list:not(.active):hover :where(.ms_item-print, .ms_item-contact, .item-share, .item-compare, .ms_item-linkCopy) {
  background-color: transparent;
  transition: 0s;
}
.ms_item_list:not(.active):hover :where(.ms_item-print, .ms_item-contact, .item-share, .item-compare, .ms_item-linkCopy) {
  background-color: transparent;
  transition: 0s;
}
.ms_item_list.active .ms_item-contact, .ms_item_list.active .item-share, .ms_item_list.active .item-compare {
  background-color:  transparent;
  transition: 0.2s;
}
.main_sidebar .ms_item_list img{
  /*opacity: 0;*/
  /*裡層圖示*/
}

.main_sidebar .item-share img {
   /*opacity: 0;*/
  /*裡層圖示*/
}

.main_sidebar .ms_item_list img{
  /*opacity: 0;*/
  /*裡層圖示*/
}




/*愛心數字*/
.item-compare .clt-nb-top {
  position: absolute;
  right: -14px;
  top: -8px;
  background-color: #f69a3c;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 100%;
}
/*-----------------------------------------------
    彈窗
-----------------------------------------------*/


.ms_item_list_ol {
  background-color: rgba(255, 255, 255, 0.9);
  width: 0;
  overflow: hidden;
  position: absolute;
  right: 53px;
  top: 60%;
  transform: translate(0, -50%);
  transition: 0.2s;
  z-index: 997;
  border-radius: 5px;
}
.ms_item_list:hover .ms_item_list_ol {
  display: block;
  right: 90px;
  transition: 0.2s;
  width: 340px;
}
.ms_item_list_ol .ms_item_list_ol-list {
  border: 0px solid #d9d9d9;
  list-style: none;
  padding: 0;
  text-align: center;
  display: flex;
  line-height: 112.5%;
  padding: 12px 0;
  justify-content: space-evenly;
}

.main_sidebar  .ms_list-contact a span {
  /*color: #fff;*/
}

.main_sidebar  .ms_item_list-share a span{
  /*color: #fff;*/
}
.item-share-line, .item-share-fb, .item-share-link {
  width: 28px;
  margin: 0 0 5px 0;
}


/*圖示*/
.ms_item-contact-line, .ms_item-contact-fb, .ms_item-contact-store {
height: 35px;
justify-content: center;
  align-items: center;
  display: flex;
}

.collect {
  position: absolute;
  right: 90px;
  text-align: left;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s, opacity 0.4s linear;
  transition: 0.4s;
  filter: drop-shadow(0px 0px 4px rgba(148, 172, 177, 0.9));
}

/*格線*/
.ms_list-contact:first-child::after, .ms_list-contact:nth-child(2)::after, .list-share:first-child::after, .list-share:nth-child(2)::after {
  content: "";
  width: 1px;
  background-color: #cfd9e2;
  height: 50px;
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);}

@media screen and (max-width: 960px) {
.collect {
position: fixed;
    right: 0;
    text-align: left;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s, opacity 0.4s linear;
    transition: 0.4s;
    filter: drop-shadow(0px 0px 4px rgba(148, 172, 177, 0.9));
    width: 100vw;
    left: 0;
    margin: auto;
    transform: translate(0%, 0);
  }
.ms_item_list_ol{
  display: none;
  pointer-events: none;
  opacity: 0;
  z-index: -999;
}

.contactList-m {
  display: flex;
  align-items: center;
  background-color: #eeeded;
  border-left: 4px solid #133861;
  box-shadow: 0px 0px 0px 0px rgba(117, 137, 141, 0.4);
  padding: 10px 0;
    padding-left: 0px;
  padding-left: 12px;
  margin: 0 24px;
    margin-bottom: 0px;
  height: 70px;
}
}



/*-----------------------------------------------
    gotop
-----------------------------------------------*/

#sidebar_top{
  display: none;
}

.ms_top{
  display: none;
}




/*-----------------------------------------------
    修改查看行程
-----------------------------------------------*/

.product_history_btn:before{
/*    content: '';
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  z-index: 100;
  cursor: default;
    background: #d74f4fa3;*/


}

.main_sidebar_ul:before{
/*  content: '';
  position: absolute;
  z-index: 9990;
  cursor: pointer;
  width: 100%;
  height: 30%;
  top: 0;
  left: 0;

*/
}
/*
@media screen and (max-width: 960px) {

.main_sidebar_ul:before{
  content: '';
  position: absolute;
  z-index: 10;
  cursor: pointer;
  width: 30%;
  height: 100%;
  top: 0;
  left: 0;


  background: #d91212b8;
}

}*/

/*-----------------------------------------------
    fix
-----------------------------------------------*/
ol.ms_item_list_ol-list  li {
  margin: inherit!important;
  padding:inherit!important;
  font-weight: inherit!important;
  color:inherit!important;
  flex:1;
}




/*-----------------------------------------------
    手機
-----------------------------------------------*/

.fake_{
  display: none;
      position: fixed;
    z-index: -99;
}

@media screen and (max-width:768px) {


.mobile_footer .bottom-bar {
  z-index:102;
  background: ##f6f7f2;
}

.btm-product_history,.btm-join{
  display: none;
}



/*.bottom-bar .compareListNum {
  width: 14px;
  height: 15px;
  top: -32px;
  right: -5px;
  line-height: 15px;
  text-indent: 0;
}
*/
.compare_title {
  position: relative;
  display: inline-block;
  text-indent: -800%;
}
  .bottom-bar .bottom-btm.btm-msg {
    float: left;
    width: 50%;
    padding: 33px 0 7px;
    text-indent: -800%;
  }

.compare_title .mCSB_container{
  text-indent: 0;
}

.btm-index-now {
  text-indent: -800%;
}

/*背景*/
.bottom-bar .btm-compare,.bottom-bar .btm-msg,.bottom-bar .btm-index-now {
  background: transparent;
}
/*數字*/
.bottom-bar .compare_title .compareListNum {
  padding: 0;
  font-size: 11px;
  text-indent: 0;
  top: -24px;
  right: 0px;
}
/*彈窗*/
.ms_item_list.active .compare_title  .collect {
right: 50%;
    transform: translate(0%, 0%);
    width: 100vw;
    z-index: 1000;
    bottom: -340px;
    background-color: #fdfdfd;
    bottom: 70px;
  }

  .msg-box-item-icon span {

  text-align: left;
}
.msg-box-item img {
  margin: auto;
}
.msg-box .msg-box-row {

  grid-template-columns:0.4fr 1fr 1fr 1fr;
}




/*假*/
.fake_ {
display: block;
    position: fixed;
    z-index: 103;
    bottom: 0;
    width: 25%;
    cursor: pointer;
    min-height: 65px;
    height: 65px;
    text-align: center;
    line-height: 7;
    font-size:0.9rem;
    /*background:#f6f7f2;*/

}
.fake_:before {
content: '';
    position: absolute;
    width: 1px;
    height: 52%;
    right: 0;
    top: 25%;
    background: #acacac5e;
}

.fake4:before {
content: '';

    background: transparent;
}

.fake_ img{
  position: absolute;
    width: 20%;
    margin: auto;
    top: 20%;
    left: 0;
    right: 0;
    max-width: 19px;
}

.fake_ a{
  display: block;
  width: 100%;
  height: 100%;
}


.fake1{
  left: 0;
  pointer-events: auto;
}

.fake2{
  left: 25vw;
  pointer-events: none;
   /*background: #d74f4fa3;*/
}
.fake3{
  left: 50vw;
  pointer-events: none;
}

.fake4{
  left: 75vw;
  pointer-events: none;
   /*background: #d74f4fa3;*/
}

}