/*-----------------頁面-----------------*/
.in_poi {
  background-color: #051930;
  padding: 30px 10px;
  text-align: center;
  border-bottom: 1px solid #2c3d55;
  color: #fff;
}
.lis_btnb {
  text-align: center;
  max-width: 730px;
  font-size: 1.7rem;
  margin: 0 auto;
  color: #fff;
}
.lis_btnb ul {
  display: flex;
  justify-content: space-between;
  padding: 10px 0px;
  margin-bottom: 20px;
}
.lis_btnb ul li a {
  text-align: center;
  padding: 10px 30px;
  color: #fff;
  display: block;
}
.lis_btnb .lis_sele {
  color: #6fd3d9;
  border-bottom: 1px solid #6fd3d9;
}
.lis_cblk {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.c_bx {
  background-color: #212a4d;
  width: 23.5%;
  margin-right: 2%;
  margin-bottom: 2%;
  position: relative;
  max-height: 490px;
}
.label_free {
  font-weight: bold;
  position: absolute;
  left: -10px;
  top: 0px;
  background-color: #f1bb00;
  padding: 0px 20px 0 10px;
  color: #fff;
  border-radius: 0px 20px 20px 0px;
  z-index: 1;
  font-size: 1.125rem;
  transition: 0.2s all ease-in-out;
}
.label_free::before {
  content: '';
  display: block;
  /* background-color: #d6a906; */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 0;
  border-color: transparent #9e7e0f transparent transparent;
  position: absolute;
  bottom: -10px;
  left: 0px;
}
.c_bx:nth-of-type(4n) {
  margin-right: 0%;
}
.cbimg {
  height: 380px;
  width: 100%;
  background-size: cover;
  background-position: center 30%;
}
.cbimg img {
  width: 100%;
}
.cbimg {
  position: relative;
}
.cbimg::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -10px;
  left: 0px;
  height: 180px;
  width: 100%;
  background: linear-gradient(0deg, #212a4c 35%, transparent 60%);
  background: -o-linear-gradient(0deg, #212a4c 35%, transparent 60%);
}
.lis_w {
  padding: 10px;
  position: relative;
  top: -60px;
}
.lis_w h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  height: 70px;
  overflow: hidden;
}
.lis_w .labelbx {
  width: 80%;
  height: 45px;
  overflow: hidden;
}
.lis_w .label {
  border: 1px solid #f1bb00;
  color: #f1bb00;
  font-size: 1rem;
  padding: 0px 15px;
  display: inline-block;
  background-color: transparent;
  border-radius: 40px;
}
.lis_w h6 {
  font-size: 1rem;
  color: #80849d;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  line-height: 1.2;
  padding-right: 30px;
}
.lis_w .lim {
  right: 10px;
  left: auto;
}
.hover_w {
  position: absolute;
  left: 0px;
  top: 0px;
  padding: 10px;
  color: #fff;
  opacity: 0;
  opacity: 0;
  transition: 0.2s;
}
.hover_w h4 {
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 40px;
}
.hover_w p {
  font-size: 1rem;
  line-height: 1.4;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  white-space: normal;
  overflow: hidden;
}
.hover_btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #6fd3d9;
  padding: 2px 55px;
  border-radius: 30px;
  border: 1px solid #6fd3d9;
  font-size: 1.5rem;
  white-space: nowrap;
  opacity: 0;
  transition: 0.2s;
  display: block;
}
.c_bx:hover {
  border: 1px solid #6fd3d9;
  box-shadow: 1px 1px 10px #6fd3d9;
}
.c_bx:hover .cbimg {
  opacity: 0.3;
}
.c_bx:hover .lis_w {
  opacity: 0;
}
.c_bx:hover .hover_w {
  opacity: 1;
}
.c_bx:hover .hover_btn {
  opacity: 1;
}
.c_bx:hover .label_free {
  display: none;
}
/*影片popup*/
.popup {
  position: relative;
}
.popupBg {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 100;
}
.popupBox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 101;
  max-width: 850px;
  width: 80%;
  background: #fff;
}
.popup_close {
  position: absolute;
  width: 25px;
  height: 25px;
  top: -35px;
  right: 0px;
  z-index: 99;
}
.popupBox img {
  width: 100%;
}
.popupBox .vedio_box {
  padding: 20px;
  margin-bottom: 0px;
}
.popupBox .vedio_box h5 {
  color: #212a4d;
  font-size: 1.25rem;
}
.popupBox .video-wrapper {
  margin-bottom: 10px;
}

/*註冊會員*/

/*小網樣式*/
@media screen and (max-width: 750px) {
  .lis_btnb ul {
    overflow-x: scroll;
    padding: 10px 0px;
  }
  .lis_btnb ul li a {
    font-size: 1.3rem;
    white-space: nowrap;
    padding: 10px;
  }
  .c_bx {
    background-color: #212a4d;
    width: 100%;
    margin-right: 0%;
    margin-bottom: 8%;
    position: relative;
  }
  .c_bx:nth-of-type(2n) {
    margin-right: 0%;
  }
  .cbimg,
  .lis_w {
    width: 45%;
    top: 0px;
  }
  .lis_w {
    width: 55%;
  }
  .lis_w .labelbx {
    position: absolute;
    bottom: 30px;
    width: 70%;
  }
  .lis_w h6 {
    position: absolute;
    bottom: 10px;
    font-size: 0.7rem;
  }
  .flbx {
    display: flex;
  }
  .cbimg {
    height: 220px;
  }
  .cbimg::after {
    top: 0px;
    height: 100%;
    width: 55%;
    right: -30px;
    left: auto;
    bottom: auto;
    background: linear-gradient(-90deg, #212a4c 35%, transparent 60%);
    background: -o-linear-gradient(-90deg, #212a4c 35%, transparent 60%);
  }

  .lis_cblk .hover_btn {
    left: auto;
    right: -50px;
    padding: 2px 45px;
    font-size: 1.125rem;
  }
  .in_poi {
    font-size: 1.125rem;
    padding: 20px;
    margin-top: -10px;
  }
  .lis_w .label {
    padding: 0px 10px;
    font-size: 0.875rem;
  }
  .lis_cblk {
    padding-bottom: 20px;
  }
  .lis_w h4 {
    font-size: 1.3rem;
  }
  .hover_w p {
    -webkit-line-clamp: 4;
  }

  /*影片popup*/
  .popupBox {
    width: 90%;
    background: #fff;
    min-width: 300px;
  }
  .popupBox .vedio_box {
    padding: 0px;
  }
  .popupBox .video-wrapper {
    margin-bottom: 0px;
  }
  .popup_close {
    z-index: 99;
  }
}

@media screen and (max-width: 360px) {
  .lis_w .labelbx {
    height: 65px;
    width: 50%;
  }
  .lis_w .label {
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }
}
