@import url(https://fonts.googleapis.com/earlyaccess/notosanssc.css);

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  /* height: 300vh; */
  font-family: "Noto Sans SC", Helvetica, arial, sans-serif;
  background: #000 url("../img/BG.jpg") 50% 0% no-repeat;
  background-size: cover;
}


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;
}




.container {
  width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
  transition: .2s;
}

header {
  position: relative;
}

.logo {
  margin: 15px 0;
}

.menu ul {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.menu ul li {
  display: inline-block;
  vertical-align: middle;
}

.menu ul li a {
  width: 160px;
  height: 53px;
  transition: .1s;
}

.menu ul li a {
  width: 160px;
  height: 53px;
  display: inline-block;
}

.menu ul li:nth-of-type(1) a {
  background: url(../img/menu01.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(1) a:hover {
  background: url(../img/menu01_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(2) a {
  background: url(../img/menu02.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(2) a:hover {
  background: url(../img/menu02_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(3) a {
  background: url(../img/menu03.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(3) a:hover {
  background: url(../img/menu03_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(4) a {
  background: url(../img/menu04.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(4) a:hover {
  background: url(../img/menu04_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(5) a {
  background: url(../img/menu05.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(5) a:hover {
  background: url(../img/menu05_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(6) a {
  background: url(../img/menu06.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(6) a:hover {
  background: url(../img/menu06_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(7) a {
  background: url(../img/menu07.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(7) a:hover {
  background: url(../img/menu07_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(8) a {
  background: url(../img/menu08.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li:nth-of-type(8) a:hover {
  background: url(../img/menu08_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.dropdown {
  position: relative;
}

.dropdown::before {
  content: "";
  width: 100%;
  height: 15px;
  top: 100%;
  position: absolute;
}

.dropdown_content {
  height: auto;
  overflow: hidden;
  position: absolute;
  padding: 15px 20px;
  background: rgba(0, 0, 0, .8);
  border: 1px solid #bbb;
  border-radius: 6px;
  box-sizing: border-box;
  width: auto;
  z-index: 100;
  left: 50%;
  top: 125%;
  transform: translateX(-50%);
  transition: .2s;
  opacity: 0;
  pointer-events: none;
}

.dropdown:hover .dropdown_content {
  opacity: 1;
  pointer-events: initial;
}

.dropdown_menu {
  margin: 10px 0;
}

.menu ul li .dropdown_content>.dropdown_menu01 {
  background: url(../img/menu09.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li .dropdown_content>.dropdown_menu01:hover {
  background: url(../img/menu09_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li .dropdown_content>.dropdown_menu02 {
  background: url(../img/menu10.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.menu ul li .dropdown_content>.dropdown_menu02:hover {
  background: url(../img/menu10_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

/* 搜尋 */
.searchBox {
  position: absolute;
  height: 42px;
  width: 210px;
  border: 1px solid #aaa;
  border-radius: 50px;
  top: 40px;
  right: 0;
}

.searchBox input {
  color: #fff;
  background: none;
  outline: none;
  border: none;
  padding: 0 10px;
  font-size: 1rem;
  line-height: 40px;
  width: calc(100% - 50px);
  display: inline-block;
  vertical-align: middle;
}

.search {
  display: inline-block;
  vertical-align: middle;
}

.searchBox input::placeholder {
  color: #ddd;
}

/* 輪播 */
.swiper {
  width: 100%;
  height: 680px;
  margin: 15px 0 10px 0;
  transition: .2s;
  border: 1px solid #ddd;
}

.swiper-wrapper {
  width: 100%;
  height: initial;
}

.swiper-slide {
  width: 100%;
}

.swiper-slide img {
  width: 1400px;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.swiper-pagination-bullet {
  margin: 0 5px;
}

.swiper-pagination-bullet-active {
  background: #fff;
}

/* 跑馬燈 */
.newsBox {
  width: 100%;
  background: rgba(0, 0, 0, .4);
  box-sizing: border-box;
  margin: 0 0 15px 0;
}

/*marquee-1 start*/
.marquee-1 {
  color: #eee;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 7rem auto;
  padding: 0 .2rem 0 0;
  line-height: 40px;
  box-sizing: border-box;
}

.marquee-1 div.marquee-1-content {
  overflow: hidden;
}

.marquee-1_newicon {
  width: 6rem;
  background: url('../img/xpx.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.marquee-1_newicon img,
.marquee-1_newicon span {
  display: inline-block;
  vertical-align: middle;
}

.marquee-1_newicon img {
  margin: 0 5px 0 0;
}

.marquee-1_newicon,
.marquee-1-content {
  display: inline-block;
  vertical-align: middle;
  color: #eee;
  font-size: .9rem;
}

.title {
  margin: 30px 0;
}

.container p {
  margin: 0 0 30px 0;
  text-align: left;
  color: #fff;
  font-size: 1.6rem;
  line-height: 3rem;
}

.container p a {
  color: red;
}

/* 表格 */
.container table {
  text-align: center;
  width: 100%;
  background: rgba(0, 0, 0, .4);
  border: 1px solid #aaa;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.container table th {
  padding: 15px 10px;
  background: linear-gradient(#df1f1a, #7d0000);
  color: #fef7cb;
  border: 1px solid #ddd;
  font-size: 1.4rem;
  font-weight: normal;
}

.container table td {
  padding: 25px 20px;
  border: 1px solid #aaa;
  outline: 0;
  color: #fff;
}

.container table tr td:nth-of-type(2) {
  text-align: left;
}

.tableBox p {
  color: #fff;
  font-size: 1.15rem;
  font-weight: normal;
  margin: 5px auto;
}

.tableBox .btn {
  display: inline-block;
}

.tableBox .btn:hover {
  transform: scale(.97);
}

.container h1 {
  color: #fff;
  font-size: 2.8rem;
  margin: 60px 0;
}

.container h1 span,
.container h1 a {
  vertical-align: middle;
  display: inline-block;
}

.container h1 a {
  display: inline-block;
  width: 296px;
  height: 95px;
  background: url(../img/btn03.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.container h1 a:hover {
  background: url(../img/btn03_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

/* 遊戲列表 */
.tab_content {
  background: rgba(0, 0, 0, .7);
  max-height: 952px;
  overflow-y: scroll;
}

.tab_content::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}

.tab_content::-webkit-scrollbar {
  width: 5px;
  background: none;
}

.tabBox {
  padding: 0 0 20px;
  /* border-bottom: 1px solid #ddd; */
}

.tabBox ul {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin: 0 0 15px;
}

.tabBox .tab {
  width: 160px;
  height: 53px;
  display: inline-block;
}

.tab01 {
  background: url(../img/menu02.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab01:hover,
.tab01.active {
  background: url(../img/menu02_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab02 {
  background: url(../img/menu03.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab02:hover,
.tab02.active {
  background: url(../img/menu03_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab03 {
  background: url(../img/menu04.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab03:hover,
.tab03.active {
  background: url(../img/menu04_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab04 {
  background: url(../img/menu05.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab04:hover,
.tab04.active {
  background: url(../img/menu05_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab05 {
  background: url(../img/menu06.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab05:hover,
.tab05.active {
  background: url(../img/menu06_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab06 {
  background: url(../img/menu07.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab06:hover,
.tab06.active {
  background: url(../img/menu07_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab07 {
  background: url(../img/menu09.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab07:hover,
.tab07.active {
  background: url(../img/menu09_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab08 {
  background: url(../img/menu10.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab08:hover,
.tab08.active {
  background: url(../img/menu10_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.tab_content {
  border: 1px solid #aaa;
  padding: 30px;
  display: none;
}

.tab_content.active {
  display: block;
}

.gameBox {
  display: inline-block;
  padding: 5px;
  border: 1px solid #aaa;
  text-align: center;
  transition: .2s;
  margin: 10px 15px;
}

.gameBox:hover {
  border: 1px solid #f7f1d4;
}

/*.gameBox img {*/
/*  max-width: 113px;*/
/*}*/

.gameBox p {
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
  margin: 5px 0;
  /* transition: .2s; */
}

.gameBox:hover.gameBox p {
  color: #f7f1d4;
}

/* footer */
.iconBox {
  padding: 50px 0;
}

.icon {
  margin: 0 30px;
  display: inline-block;
  vertical-align: middle;
}

.socialBox {
  padding-bottom: 30px;
}

.social img,
.social span {
  display: inline-block;
  vertical-align: middle;
}

.social {
  margin: 0 30px;
  opacity: .7;
  transition: .2s;
}

.social:hover {
  opacity: 1;
}

.social span {
  color: #fff;
  font-size: 2rem;
  font-weight: lighter;
  margin: 0 0 0 15px;
}

footer {
  display: block;
  background: #000;
  width: 100%;
  padding: 3px 0;
  text-align: center;
}

.copyright {
  font-size: .9rem;
  line-height: 1.2rem;
  color: #eee;
}

/* 彈窗 */
#lightbox_lightboxbg {
  display: none;
  background: rgba(0, 0, 0, 0.65);
  position: fixed;
  top: 0px;
  left: 0px;
  min-width: 100%;
  min-height: 100%;
  z-index: 1000;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1001;
  width: 90%;
  max-width: 1400px;
  height: 80vh;
  max-height: 857px;
  padding: 45px;
  background: url(../img/popBg.png) 50% 50% no-repeat;
  background-size: cover;
  text-align: center;
  border-radius: 15px;
  box-shadow: inset 5px 5px 15px rgba(200, 246, 255, 0.5), inset -5px -5px 15px rgba(95, 228, 255, 0.3);
  border: 2px solid #fbe38a;
}

.lightbox_close {
  width: 35px;
  height: 35px;
  background: url(../img/pop_close.png) 50% 50% no-repeat;
  background-size: 100% auto;
  position: absolute;
  right: 23px;
  top: 23px;
  transition: .2s;
}

.lightbox_close:hover {
  transform: scale(.95);
}


.lightbox_title {
  color: #feee3f;
  margin: 0 0 25px 0;
  font-size: 2rem;
  font-weight: bold;
}

.lightbox_title img,
.lightbox_title h2 {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  font-size: 2.2rem;
  line-height: 2.2rem;
}

.lightbox_title .line:nth-of-type(2) {
  transform: rotate(180deg);
}

.lightbox_content {
  height: 60vh;
  text-align: left;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.8rem;
  overflow-y: scroll;
}

.lightbox_content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .4);
  border-radius: 5px;
}

.lightbox_content::-webkit-scrollbar {
  width: 5px;
  background: none;
}
/* 公告 */
#lightbox-2{
  width: 90%;
  max-width: 1200px;
  background: url(../img/popBg02.png) 50% 50% no-repeat;
  box-shadow: inset 5px 5px 15px rgba(138, 138, 138, 0.5), inset -5px -5px 15px rgba(139, 139, 139, 0.5);
}
#lightbox-2 p{
  font-size: 1.1rem;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.6);
  margin: 0;
  padding: 30px 0;
}

/* RWD */
@media screen and (max-width: 1420px) {
  .container {
    width: 95%;
  }

  .swiper {
    height: auto;
  }

  .swiper-slide img {
    width: 100%;
    display: block;
  }

  .menu ul li a,
  .tabBox .tab {
    width: 11vw;
  }
}