header {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100vw;
  z-index: 9;
  padding: 10px;
  background: #1f2e4b;
  text-align: center;
  color: #f2f2f2;
  border-bottom: rgba(0, 0, 0, 0.2) 5px solid;
  -webkit-background-clip: padding-box;
  /* for Safari */
  background-clip: padding-box;
  /* for IE9+, Firefox 4+, Opera, Chrome */
  box-sizing: border-box;
}

header .vessel {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: auto;
  max-height: 120px;
  max-width: 1920px;
  padding: 0 15px;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: center;
  margin: 0 auto;
  box-sizing: border-box;
}

header .vessel .logo {
  width: 100%;
  text-align: center;
  max-width: 299px;
  margin-top: 95px;
}

header .vessel .logo img {
  width: 80%;
}

header .vessel ul.menu {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  flex: auto;
  list-style: none;
  padding: 0 15px;
  margin-bottom: 15px;
  justify-content: center;
}

header .vessel ul.menu li {
  float: left;
  width: 100%;
  padding: 0px;
  border-top: 1px solid #465970;
}

/* TODO:加了menu的第一格要放官網儲值的 */
.df {
  display: flex;
}

header .vessel ul.menu li:first-child {
  float: left;
  width: 120px;
  padding: 0px;
  border-top: none;
}

header .vessel ul.menu li:first-child img {
  width: 100%;
}

header .vessel ul.menu li a {
  color: #d8bb8e;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  padding: 15px 0;
  font-size: 16px;
  letter-spacing: 1px;
}

header .vessel ul.menu li a:hover {
  background: #37566e;
  color: #FFF;
}

header .vessel ul.link {
  display: flex;
  width: 100%;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;

  /* flex-wrap: wrap; */
}

header .vessel ul.link li {
  float: left;
  padding: 15px 0 0 0;
  margin: 0;
  width: 25%;
}

header .vessel ul.link li:first-child {
  padding-left: 0px;
}

header .vessel ul.link li a {
  display: inline-block;
  width: 44px;
  height: 44px;
}

header .vessel ul.link li a:hover img {
  opacity: 0.8;
}

header.active {
  left: 0;
  transition: 0.5s;
}

/* TODO:加上最上方橫條 */
.mb-header {
  width: 100%;
  background: #000;
  height: 80px;
  position: fixed;
  top: 0;
  z-index: 999;
  display: flex;
  border-bottom: 2px solid #8E7A2B;
  align-items: center;
}

.mb-header-logo {
  width: 130px;
  margin: 0 15px;
}

.mb-header-link {
  width: 60px;
  margin: 0 15px;
  /* margin: 0 60px 0 auto; */
}

.mb-header img {
  width: 100%;
}

a.switch {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  padding: 14px 10px;
  background: #000;
  box-sizing: border-box;
  z-index: 999;
  margin: 12px;
}

a.switch.see {
  display: block;
}

a.switch .hamburger {
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  background: red;
}

a.switch .hamburger span {
  display: block;
  position: absolute;
  height: 2.5px;
  width: 100%;
  background: #8D7100;
  border-radius: 9px;
  opacity: 1;
  /* left: 0; */
  right: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

a.switch .hamburger span:nth-child(1) {
  top: 0px;
  transform-origin: left center;
  width: 27px;
}

a.switch .hamburger span:nth-child(2) {
  top: 14px;
  transform-origin: left center;
}

a.switch .hamburger span:nth-child(3) {
  top: 28px;
  transform-origin: left center;
  width: 16px;
}

a.switch .hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 0px;
  /* left: 5px; */
  right: 0px;
  width: 100%;
}

a.switch .hamburger.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

a.switch .hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 26px;
  /* left: 5px; */
  right: 0px;
  width: 100%;
}

.unready {
  position: relative;
}

.unready .tooltip {
  display: none;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.7);
  /* Optional: To make the tooltip stand out */
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 1;
  pointer-events: none;
  /* Ensures the tooltip doesn't block clicks */
}

.unready:hover .tooltip {
  display: block;
}


.hide {
  display: none;
}


/* 彈窗 */
.popup-bg {
  background-color: #3b3b3bbf;
  width: 100vw;
  height: 920vh;
  z-index: 9;
  position: absolute;
}

.popup {
  width: calc(1007px* 0.6);
  height: calc(937px* 0.6);
  background: url(../../images/popup/popup_bg.png);
  background-position: center center;
  background-size: cover;
  position: fixed;
  z-index: 99;
  left: 96px;
  top: 20%;
}

.closePop {
  font-size: 60px;
  position: absolute;
  right: 90px;
  top: 30px;
  z-index: 999;
  cursor: pointer;
  width: calc(50px* 0.9);
}

.popup .booking-district .info select {
  padding: 3px 10px;
  border: 1px solid #000;
  border-radius: 8px;
  font-size: 12px;
  height: 1.5rem;
  width: 6rem;
}

.popup .booking-district .info input[type='text'] {
  padding: 3px 10px;
  border: 1px solid #000;
  border-radius: 8px;
  font-size: 11px;
  height: 1.1rem;
  width: 7rem;
}

.popup .booking-district .info {
  position: absolute;
  top: 86%;
  left: 48%;
  transform: translate(-50%, -50%);
  display: flex;
  padding-bottom: 30px;
  align-items: center;
  justify-content: center;
}

.popup .booking-district .extra {
  position: absolute;
  top: 91%;
  left: 48%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 100%;
  padding-bottom: 30px;
  align-items: center;
  color: #fff;
  font-size: 12px;
  justify-content: center;
}

.popup .booking-district .extra input[type='checkbox'] {
  position: relative;
  /* appearance: none; */
  /* -moz-appearance: none; */
  /* -webkit-appearance: none; */
  width: 17px;
  height: 36px;
  margin-right: 10px;
  cursor: pointer;
  vertical-align: center;
  border: 1px solid #292927;
}

.popup .order_err_msg {
  position: absolute;
  top: 92%;
  left: 48%;
  transform: translate(-50%, -50%);
  color: red;
  font-size: 12px;
  font-weight: 600;
}

.popup .booking-district a.sendbtn {
  position: absolute;
  width: calc(296px* 0.6);
  height: calc(81px* 0.6);
  /* bottom: 60px; */
  bottom: -5px;
  left: 48%;
  margin-bottom: -11px;
  transform: translateX(-50%);
  /* background: url(../../images/popup/popup_btn.png); */
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  text-indent: -9999px;
}

/* .popup .booking-district a.sendbtn:hover {
  background: url(../../images/popup/popup_btn.png);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
} */

/* 影片彈窗 */
.popup-video-bg {
  background-color: #3b3b3bbf;
  width: 100vw;
  height: 920vh;
  z-index: 9;
  position: absolute;
}

.popup-video {
  width: calc(891px* 0.6);
  height: calc(499px* 0.6);
  position: fixed;
  top: 30%;
  left: 13%;
  z-index: 99;
  border-radius: 5px;
}

.popup-video .dog {
  width: calc(150px* 0.5);
  position: absolute;
  top: -76px;
  left: -25px;
}

.closePop-video {
  font-size: 60px;
  position: absolute;
  right: -30px;
  top: -31px;
  z-index: 999;
  cursor: pointer;
  width: calc(50px* 0.9);
}

.popup-video iframe {
  width: calc(891px* 0.6);
  height: calc(499px* 0.6);
  border: 5px solid #fff;
  border-radius: 5px;
}



@media (max-width: 520px) {

  /* 彈窗 */
  .popup-bg {
    background-color: #3b3b3bbf;
    width: 100vw;
    height: 920vh;
    z-index: 9;
    position: absolute;
  }

  .popup {
    width: calc(1007px* 0.5);
    height: calc(937px* 0.5);
    /* background: url(../../images/popup/popup_bg.png); */
    background-position: center center;
    background-size: cover;
    position: fixed;
    z-index: 99;
    left: 25px;
    top: 20%;
  }

  .closePop {
    font-size: 60px;
    position: absolute;
    right: 90px;
    top: 30px;
    z-index: 999;
    cursor: pointer;
    width: calc(50px* 0.9);
  }

  .popup .booking-district .info select {
    padding: 3px 10px;
    border: 1px solid #000;
    border-radius: 8px;
    font-size: 12px;
    height: 1.5rem;
    width: 6rem;
  }

  .popup .booking-district .info input[type='text'] {
    padding: 3px 10px;
    border: 1px solid #000;
    border-radius: 8px;
    font-size: 11px;
    height: 1.1rem;
    width: 7rem;
  }

  .popup .booking-district .info {
    position: absolute;
    top: 86%;
    left: 48%;
    transform: translate(-50%, -50%);
    display: flex;
    padding-bottom: 30px;
    align-items: center;
    justify-content: center;
  }

  .popup .booking-district .extra {
    position: absolute;
    top: 91%;
    left: 48%;
    transform: translate(-50%, -50%);
    display: flex;
    width: 100%;
    padding-bottom: 30px;
    align-items: center;
    color: #fff;
    font-size: 12px;
    justify-content: center;
  }

  .popup .booking-district .extra input[type='checkbox'] {
    position: relative;
    /* appearance: none; */
    /* -moz-appearance: none; */
    /* -webkit-appearance: none; */
    width: 17px;
    height: 36px;
    margin-right: 10px;
    cursor: pointer;
    vertical-align: center;
    border: 1px solid #292927;
  }

  .popup .order_err_msg {
    position: absolute;
    top: 92%;
    left: 48%;
    transform: translate(-50%, -50%);
    color: red;
    font-size: 12px;
    font-weight: 600;
  }

  .popup .booking-district a.sendbtn {
    position: absolute;
    width: calc(296px* 0.6);
    height: calc(81px* 0.6);
    /* bottom: 60px; */
    bottom: -5px;
    left: 48%;
    margin-bottom: -11px;
    transform: translateX(-50%);
    /* background: url(../../images/popup/popup_btn.png); */
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    text-indent: -9999px;
  }

  /* .popup .booking-district a.sendbtn:hover {
  background: url(../../images/popup/popup_btn.png);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
} */

  /* 影片彈窗 */
  .popup-video-bg {
    background-color: #3b3b3bbf;
    width: 100vw;
    height: 920vh;
    z-index: 9;
    position: absolute;
  }

  .popup-video {
    width: calc(891px* 0.5);
    height: calc(499px* 0.5);
    /* background-color: #FFF; */
    /* background: url(../images/popup/popup_bg.png); */
    position: fixed;
    top: 30%;
    left: 7%;
    z-index: 99;
    border-radius: 5px;
  }

  .popup-video .dog {
    width: calc(150px* 0.5);
    position: absolute;
    top: -76px;
    left: -25px;
  }

  .closePop-video {
    font-size: 60px;
    position: absolute;
    right: -30px;
    top: -31px;
    z-index: 999;
    cursor: pointer;
    width: calc(50px* 0.9);
  }

  .popup-video iframe {
    width: calc(891px* 0.5);
    height: calc(499px* 0.5);
    border: 5px solid #fff;
    border-radius: 5px;
  }
}

@media (max-width: 414px) {

  /* 影片彈窗 */
  .video-btn {
    width: 94px;
    position: absolute;
    right: 4px;
    bottom: 250px;
  }

  .popup-video {
    width: calc(891px* 0.4);
    height: calc(499px* 0.4);
    position: fixed;
    top: 30%;
    left: 7%;
    z-index: 99;
    border-radius: 5px;
  }

  .popup-video iframe {
    width: calc(891px* 0.4);
    height: calc(499px* 0.4);
    border: 5px solid #fff;
    border-radius: 5px;
  }

  /* 彈窗 */
  .closePop {
    right: 90px;
    top: 0;
    width: calc(50px* 0.6);
  }

  .popup {
    width: calc(1007px* 0.45);
    height: calc(937px* 0.45);
    /* background: url(../../images/popup/popup_bg.png); */
    background-position: center center;
    background-size: cover;
    position: fixed;
    z-index: 99;
    left: 0px;
    top: 20%;
  }

  .popup .booking-district .info select {
    padding: 0px 2px;
    border-radius: 8px;
    font-size: 11px;
    height: 1.5rem;
    width: 5rem;
  }

  .popup .booking-district .info input[type='text'] {
    padding: 3px 5px;
    border-radius: 8px;
    font-size: 11px;
    height: 1.1rem;
    width: 7rem;
  }

  .popup .booking-district .info {
    position: absolute;
    top: 87%;
    left: 48%;
    transform: translate(-50%, -50%);
    display: flex;
    padding-bottom: 30px;
    align-items: center;
    justify-content: center;
  }

  .popup .booking-district .extra {
    position: absolute;
    top: 92%;
    left: 48%;
    transform: translate(-50%, -50%);
    display: flex;
    width: 100%;
    padding-bottom: 30px;
    align-items: center;
    color: #fff;
    font-size: 11px;
    justify-content: center;
  }

  .popup .booking-district .extra input[type='checkbox'] {
    width: 13px;
    height: 13px;
    margin-right: 3px;
  }

  .popup .order_err_msg {
    top: 92%;
    left: 48%;
    color: red;
    font-size: 12px;
  }
}