@import url(https://fonts.googleapis.com/earlyaccess/notosanssc.css);

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Microsoft YaHei , "Noto Sans SC", Helvetica, arial, sans-serif;
  background: url("../img/BG.png") 50% 50% no-repeat;
  background-size: cover;
  background-attachment: fixed;
  /* overflow: hidden; */
}

/* ::selection{
  background: #00b7fd;
  color: #fff;
} */

a,
a:link,
a:checked {
  text-decoration: none;
  transition: 1s;
}

ul {
  padding: 0;
  margin: 0;
  font-size: 0;
  line-height: 0;
}

img{
  font-size: 0;
  line-height: 0;
  image-rendering:-moz-crisp-edges;          /* Firefox        */
image-rendering:-o-crisp-edges;            /* Opera          */
image-rendering:-webkit-optimize-contrast; /* Safari         */
image-rendering:optimize-contrast;         /* CSS3 Proposed  */
image-rendering:crisp-edges;               /* CSS4 Proposed  */
image-rendering:pixelated;                 /* CSS4 Proposed  */
-ms-interpolation-mode:nearest-neighbor;   /* IE8+           */
}

/* NavBar */
header {
  width: 100%;
  max-height: 110px;
  /* height: 5.73vw; */
  height: 110px;
  /* display: grid;
  grid-template-columns: 570px auto; */
  padding: 0 70px;
  box-sizing: border-box;
  animation: fadeDown_In 1s;
  transition: .5s;
  display: flex;
  flex-wrap: nowrap;
}
.logo {
  margin: 12.5px auto 0 auto;
  transform: translateX(-1vw);
  width:850px;
}
.logo a {
  display: block;
  background: url(../img/logo.png) 50% 50% no-repeat;
  background-size: auto 100%;
  width: 323px;
  /* height: 4.43vw; */
  height: 85px;
  margin: 0 auto;
}

.nav {
  margin: 0;
  text-align: justify;
  width: 100%;
}
.nav ul {
  text-align: justify;
}
.nav ul::after{
  content: '';
    display: inline-block;
    width: 100%; 
}
.nav li {
  display: inline-block;
  width: calc((100% / 6) - 20px);
  max-width: 167px;
  height: 110px;
  vertical-align: top;
  /* padding: 0 0 10px 0; */
}
.nav li:nth-child(2){
  margin: 0 0 0 1vw;
}
.nav li:nth-child(5){
  margin: 0 0 0 -1vw;
}
.nav li a {
  color: #32a8ff;
  font-size: 1.3vw;
  line-height: 2vw;
  display: inline-block;
  /* margin: 1.6vw 0 0 0; */
  height: 100%;
  /* max-height: 42px; */
  width: 100%;
  transition: .1s;
}
.nav li:nth-child(1) a{
    background: url(../img/nav1.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li:nth-child(1) a:hover{
    background: url(../img/nav1_h.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li:nth-child(2) a{
    background: url(../img/nav2.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li:nth-child(2) a:hover{
    background: url(../img/nav2_h.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li:nth-child(3) a{
    background: url(../img/nav3.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li:nth-child(3) a:hover{
    background: url(../img/nav3_h.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li:nth-child(4) a{
    background: url(../img/nav4.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li:nth-child(4) a:hover{
    background: url(../img/nav4_h.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li:nth-child(5) a{
    background: url(../img/nav5.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li:nth-child(5) a:hover{
    background: url(../img/nav5_h.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li:nth-child(6) a{
    background: url(../img/nav6.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li:nth-child(6) a:hover{
    background: url(../img/nav6_h.png) 0% 50% no-repeat;
    background-size: contain;
}
.nav li a i {
  font-size: .8vw;
  line-height: 1vw;
  display: block;
  font-style: normal;
  color: #a7c3d7;
}

/* 下拉選單 */
.dropdown_content{
  text-align: left;
  margin: -10px 0 0 -175px;
  padding: 15px;
  width: 515px;
  height: initial;
  background: #fff;
  border: 1px solid #079ffd;
  border-radius: 5px;
  z-index: 999;
  position: absolute;
  transition: .5s;
  display: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 999;
}
.dropdown_content::before{
  position: absolute;
  width: 100%;
  height: 14px;
  content: "";
  top: -13px;
  left: 0;
  right: 0;
  background: url(../img/dropdown_shape.png) 50% 50% no-repeat;
  z-index: 50;
}
.dropdown:hover .dropdown_content {
  display: block;
}
.nav .dropdown_content li{
  width: calc(25% - 30px);
  height: 4vw;
  max-width: 88px;
  margin: 15px;
}
.nav .dropdown_content li a{
  margin: 0;
  display: inline-block;
  height: 62px;
}
.nav .dropdown_content li a{
  background: url(../img/dropdown01.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li a:hover{
  background: url(../img/dropdown01_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(2) a{
  background: url(../img/dropdown02.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(2) a:hover{
  background: url(../img/dropdown02_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(3) a{
  background: url(../img/dropdown03.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(3) a:hover{
  background: url(../img/dropdown03_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(4) a{
  background: url(../img/dropdown04.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(4) a:hover{
  background: url(../img/dropdown04_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(5) a{
  background: url(../img/dropdown05.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(5) a:hover{
  background: url(../img/dropdown05_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(6) a{
  background: url(../img/dropdown06.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(6) a:hover{
  background: url(../img/dropdown06_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(7) a{
  background: url(../img/dropdown07.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(7) a:hover{
  background: url(../img/dropdown07_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(8) a{
  background: url(../img/dropdown08.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(8) a:hover{
  background: url(../img/dropdown08_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(9) a{
  background: url(../img/dropdown09.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(9) a:hover{
  background: url(../img/dropdown09_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(10) a{
  background: url(../img/dropdown10.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(10) a:hover{
  background: url(../img/dropdown10_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(11) a{
  background: url(../img/dropdown11.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(11) a:hover{
  background: url(../img/dropdown11_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(12) a{
  background: url(../img/dropdown12.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}
.nav .dropdown_content li:nth-child(12) a:hover{
  background: url(../img/dropdown12_h.png) 50% 50% no-repeat;
  background-size: 100% auto ;
}

.container {
  width: 100%;
  height: calc(100vh - 110px);
  /* display: grid;
  grid-template-columns: 32% 68%;
  grid-template-columns: 570px auto; */
  padding: 0 70px;
  opacity: 0;
  animation: fadeIn 2s .5s forwards;
  transition: .5s;
}

/* 左區塊 */
.container_l{
    padding: 1vw 2.5vw 0 0;
    /* display: grid;
    grid-template-rows: 72% 7% 19%; */
    text-align: center;
    opacity: 0;
    animation: fadeDown_In 1s 1s forwards;
    /* grid-row-gap: 20px; */
    height: calc(100vh - 165px - 1vw);
    width: 570px;
    display: inline-block;
    vertical-align: top;
}

.vipcard{
  margin: 0 auto;
  padding: 0 0 2vw 0;
  height: 534px;
  width: calc(100% - 0px);
  max-width: 550px;
  /* display: grid;
  grid-template-rows: 43% 56%;
  grid-row-gap: 15px; */
}

.card_content{
  position: relative;
  border-radius: 10px;
  height: 282px;
  width: calc(100% - 30px);
  max-width: 550px;
  background: url(../img/card_bg.jpg) 50% 0% repeat;
  background-size: contain;
  /* display: grid; */
  /* grid-template-rows: repeat(6, 1fr); */
  margin: 10px auto 0 auto;
}
.card_content::before{
  border-radius: 12px;
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: -3px;
  top: -3px;
  background: linear-gradient(135deg, #996523 20%, #fef7ab 40%, #996523 60%, #fef7ab 100%);
  z-index: -1;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}
.card_content img{
  width: 95%;
  max-width: 427px;
  margin: 0 auto;
  padding-top: 5%;
}
.left_title{
  margin: 0 auto;
  width: calc(100% - 30px);
  width: 100%;
  height: 230px;
  max-width: 526px;
  background: url(../img/left_title.png) 50% 50% no-repeat;
  background-size: contain;
}
.vipcard_input{
    margin: 0 auto;
    height: 35px;
    width: 60%;
    background: linear-gradient(90deg, #996523 20%, #fef7ab 40%, #996523 60%, #fef7ab 100%);
    padding: 1.2px;
    border-radius: 5px;
    /* grid-area: 2 / 1 / 4 / 1; */
}
.vipcard_input input{
    padding: 0 20px;
    width: 100%;
    height: 31.6px;
    border-radius: 4px;
    outline: none;
    border: none;
    text-align: center;
    color: #555;
}
.vipcard_input input:focus{
  color: #996523;
}
.search_btn{
    display: block;
    background: url(../img/search.png) 50% 50% no-repeat;
    background-size: 100% auto ;
    width: 164px;
    height: 52px;
    margin: 35px auto 0 auto;
    /* grid-area: 5 / 1 / 6 / 1; */
    min-width: 130px;
    position: relative;
}
.search_btn::after{
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #fdf3e5;
  opacity: 0;
}
.search_btn:hover:after{
  animation: shine .8s forwards;
}

@keyframes shine{
  0%{
    opacity: 0;
    transform: scale(0);
  }
  50%{
    opacity: .1;
    transform: scale(1);
  }
  100%{
    opacity: 0;
  }
}

.container_l .btns{
    text-align: center;
    width: 100%;
    height: 80px;
    margin-top: 20px;
}
.btn1, .btn2{
    display: inline-block;
    height: 70%;
    max-width: 164px;
    max-height: 52px;
    margin: 0 1vw;   
    transition: .5s; 
}
.btns img{
  display: inline-block;
  position: relative;
  min-width: 130px;
  transition: .5s; 
}
.btns a{
  position: relative;
}
/* .btns a::after{
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #e5f8fd;
  opacity: 0;
}
.btns a:hover:after{
  animation: shine2 .8s forwards;
}
@keyframes shine2{
  0%{
    opacity: 0;
    transform: scale(0);
  }
  50%{
    opacity: .2;
    transform: scale(1);
  }
  100%{
    opacity: 0;
  }
} */
.btns img:hover{
  transform: translateY(-1.5px);
}

.crown_btn{
    width: 100%;
    height: 141px;
}
.crown_btn a{
    margin: 10px auto 0 auto;
    background: url(../img/crown_btn.png) 50% 50% no-repeat;
    background-size: contain;
    max-width: 423px;
    width: 80%;
    height: 80%;
    display: block;
    transition: .5s;
    position: relative;
    overflow: hidden;
}
.crown_btn a::after{
  position: absolute;
  content: "";
  height: 80px;
  top: 180%;
  left: 0;
  right: 0;
  /* -webkit-filter: contrast(2); */
  background: #fff;
  opacity: 0;
  transition: .4s ease-out;
  transform: rotate(-20deg)
}
.crown_btn a:hover::after{
  opacity: .2;
  top: -150px;
}

/* 右區塊 */
.container_r{
    /* display: grid;
    grid-template-rows: 70% 30%; */
    height: calc(100vh - 5.73vw);
    height: calc(100vh - 110px);
    display: inline-block;
    width: calc( 100% - 575px);
}
.banner{
    background: url(../img/banner.jpg) 50% 50%;
    background-size: cover;
    height: 579px;
}
.banner_text{
  background: #00b5fe url(../img/banner_text.png) 50% 50% no-repeat;
  background-size: 55vw auto;
  padding: 0 30px;
  height: 248px;
  position: relative;
}
.banner_text .text{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 69%;
  height: 130px;
  font-size: 12px;
  color: #fff;
}
/* Lightbox */
#lightbox_lightboxbg {
  display: none;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0px;
  left: 0px;
  min-width: 100%;
  min-height: 100%;
  z-index: 1000;
}

.lightbox {
  display: none;
  position: fixed;
  background: linear-gradient(135deg, #996523 15%, #fef7ab 30%, #996523 60%, #fef7ab 100%);
  color: #fff;
  padding: 3px;
  z-index: 1001;
  border-radius: 10px;
  box-sizing: border-box;
  max-height: 90vh;
  width: 1160px;
}

.lightbox.popup {
  padding: 0;
}
#sbox {
  min-width: 400px;
  max-width: 800px;
}

.lightbox1_lightbox-content {
  background:#fff url("../img/BG.png") 50% 50% no-repeat ;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 82vh;
  border-radius: 8px;
  /* display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-content: center; */
  box-sizing: border-box;
  padding: 30px;
  text-align: center;
  min-width: 600px;
}

.lightbox1_lightbox-close {
  display: block;
  width: 87px;
  height: 87px;
  box-sizing: border-box;
  position: absolute;
  top: -40px;
  right: -40px;
  -moz-transition: ease-in-out 0.5s;
  -o-transition: ease-in-out 0.5s;
  -webkit-transition: ease-in-out 0.5s;
  transition: ease-in-out 0.5s;
  text-align: center;
  background: url(../img/close.png) no-repeat;
  background-size: auto;
  background-size: contain;
  /* box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); */
}
.lightbox_title{
  background: url(../img/website.png) 50% 50% no-repeat;
  background-size: auto 100%;
  width: 551px;
  height: 58px;
  margin: 0 auto;
}
.vip_search{
  margin: 25px auto;
  background: #fff url("../img/BG.png") 50% 50% no-repeat ;
  border: 2px solid #d5ba66;
  border-radius: 8px;
  padding: 10px 30px;
  width: 80%;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.vip_search img,.vip_search input,.vip_search a,.vip_search_input{
  display: inline-block;
  vertical-align: middle;
  margin: 0 5px;
}
.vip_search input{
  margin: 5px 15px 0 15px;
  background: #cbc4b8;
  outline: none;
  padding: 0 20px;
  width: 40%;
  height: 45px;
  border-radius: 4px;
  border: none;
  text-align: center;
}
.lightbox#sbox .s-title {
  margin: 0 0 20px 0;
  padding: 10px 0;
  background: #111c2e;
  color: #fff;
  font-size: 37px;
  font-weight: bolder;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
}
.lightbox_content{
  text-align: left;
  color: #444;
  margin: 20px auto;
  width: 100%;
  padding: 0 10%;
  height: 20%;
  max-height: 300px;
  overflow-y: auto;
  font-size: .95rem;
  scrollbar-color: #b9a47d #e6e0d6; 
  scrollbar-width: thin;
}
.lightbox_content::-webkit-scrollbar{
  background: #e6e0d6;
  width: 8px;
  border-radius: 5px;
}
.lightbox_content::-webkit-scrollbar-thumb{
  background: #b9a47d;
  border-radius: 5px;
}
.lightbox_content ul{
  font-size: .95rem;
  line-height: 1.5rem;
  list-style: none;
}
.lightbox_content span{
  color: #00b5fe;
}
.lightbox_content td,.lightbox_content th{
  border: 1px solid #b0e1ff;
  font-weight: normal;
}


/* 表格 */
.list1 a:hover{
  text-decoration: underline;
}
.table_title td,.table_title th{
  background: #018fe4;
  color: #f1faff;
  padding: 4px 0;
}
.quotes {
  color: #00b7fd;
  text-align: center;
  padding: 10px;
}
.center {
  margin: 0 0 10px 0;
  text-align: center;
}

/* 按鈕 */
.pagination a {
  font-size: 12px;
  color: #aaa;
  margin: 0 8px;
  padding: 4px 8px;
  text-decoration: none;
  border: 1px solid #bbb;
  transition: .2s;
}
.pagination a:hover{
  background:#00b7fd ;
  color: #fff;
  border: 1px solid #00b7fd;
}
.layui-box span, .layui-box a{
  display: inline-block;
  vertical-align: middle;
}
.layui-box em{
  font-style: normal;
  /* padding: 2px 8px; */
  background-color: #00b7fd !important;
  color: #fff !important;
}

table {
  text-align: center;
  width: 100%;
  border-collapse: collapse;
}

.s-result table tr td {
  border: 1px solid #313131;
}

#sbox .lightbox1_lightbox-content > div,
#sbox .lightbox1_lightbox-content > a {
  margin: 2% 0;
  width: 100%;
}

.lightbox-title {
  background-size: 100% 100%;
  width: 221px;
  height: 70px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  margin: 0 auto 2% auto;
  padding: 1%;
}



/*彈窗1 lightbox-1_end*/

/* copyright */
.copyright {
  position: fixed;
  background: url(../img/copyright.png) 50% 50% no-repeat;
  background-size: 100% auto;
  width: 14px;
  height: 434px;
  bottom: 5%;
  right: calc(35px - 7px);
  transition: .5s;
}

/* fade_Animation */
@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@-webkit-keyframes fadeDown_In {
	from {
		margin-top: -25px;
		opacity: 0;
	}

	to {
		margin-top: 0;
		opacity: 1;
	}
}

@keyframes fadeDown_In {
	from {
		margin-top: -25px;
		opacity: 0;
	}

	to {
		margin-top: 0;
		opacity: 1;
	}
}

@-webkit-keyframes fadeUp_In {
	from {
		margin-top: 0;
		opacity: 0;
	}

	to {
		margin-top: 25px;
		opacity: 1;
	}
}

@keyframes fadeUp_In {
	from {
		margin-top: 0;
		opacity: 0;
	}

	to {
		margin-top: 25px;
		opacity: 1;
	}
}

@-webkit-keyframes fadeLeft_In {
	from {
		margin-left: -25px;
	}

	to {
		margin-left: 0;
		opacity: 1;
	}
}

@keyframes fadeLeft_In {
	from {
		margin-left: -25px;
	}

	to {
		margin-left: 0;
		opacity: 1;
	}
}

@-webkit-keyframes fadeRight_In {
	from {
		margin-right: -25px;
	}

	to {
		margin-right: 0;
		opacity: 1;
	}
}

@keyframes fadeRight_In {
	from {
		margin-right: -25px;
	}

	to {
		margin-right: 0;
		opacity: 1;
	}
}

/* RWD */
@media screen and (max-width: 1700px) {
  .banner_text .text{
    width: 71%;
  }
}
@media screen and (max-width: 1500px) {
  /* header{
    height: 80px;
    padding: 0 50px;
  } */
  header{
    /* grid-template-columns: 450px auto; */
    padding: 0 50px;
  }
  .logo {
    margin: 20px auto 0 auto;
    transform: translateX(-1.5vw);
  }
  /* .nav li a{
    margin: 22px 0 0 0;
  } */
  .dropdown_content{
    width: 480px;
  }
  .container{
    height: calc(100vh - 80px);
    padding: 0 50px;
    /* grid-template-columns: 450px auto; */
  }
  .container_l, .vipcard{
    /* grid-row-gap: 10px; */
  }
  .card_content{
    max-height: 250px;
  }
  .vipcard_input{
    margin: -.5vw auto 0 auto;
  }
  
  .container_l .btns{
    margin-top: 5px;
  }
  .copyright{
    width: 12px;
    right: calc(25px - 6px);
  }
  .banner_text .text{
    width: 72%;
  }
}
@media screen and (max-width: 1400px) {
  .banner_text .text{
    width: 73%;
  }
}
@media screen and (max-width: 1300px) {
  .banner_text .text{
    width: 75%;
  }
}
@media screen and (max-width: 1200px) {
  .banner_text .text{
    width: 79%;
  }
}
@media screen and (max-width: 1100px) {
  .banner_text .text{
    width: 82%;
  }
}
@media screen and (max-width: 1000px) {
  .banner_text .text{
    width: 88%;
  }
}
@media screen and (max-height: 880px) {
  header,.container {
    /* grid-template-columns: 450px auto; */
  }
  .btns img{
    width: 8.52vw;
    max-width: 8.12vw;
  }
  .search_btn{
    width: 8vw;
    margin: 20px auto;
  }
  .crown_btn a{
    width: 85%;
    height: 90%;
  }
}

@media screen and (max-height: 780px) {
}
