@charset "utf-8";
@import url("reset.css");
@import url("jquery.fancybox.css");
@import url('https://fonts.googleapis.com/css?family=Oswald');
/* CSS Document */
a {
  color: #D2E13C;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
  font-family: "微軟正黑體", sans-serif;
}
a:hover {
  color: #EEFF41;
}
/*-------font effect-----------*/
.clear {
  clear: both;
  height: 0px;
  line-height: 0px;
}
.bold {
  font-weight: bold;
}
.red {
  color: #D73158;
}
.green {
  color: #D2E13C;
}
.align_r {
  text-align: right;
}
.align_c {
  text-align: center;
}
.italic {
  font-style: italic;
  opacity: 1;
  font-weight: normal;
}
.nowrap {
  width: auto;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.divider {
  height: 5px;
  line-height: 5px;
}
ol.number {
  list-style: decimal;
  display: block;
}
ol.number li {
  margin: 0 0 3px 20px;
}
ol.number li:last-child {
  margin-bottom: 0;
}
ol.disc {
  list-style: disc;
  display: block;
}
ol.disc li {
  margin: 0 0 3px 20px;
}
.lightLine {
  height: 1px;
  line-height: 1px;
  border-bottom: 1px solid #e0e0e0;
  margin: 20px auto;
}
/*-------img effect-----------*/
.addShadow {
  border: 1px solid #f1f1f1;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}
.squareThumb {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  opacity: 0;
}
.recThumb {
  width: 100%;
  height: 0;
  padding-bottom: 66%;
  opacity: 0;
}
.imgborder {
  border: 1px solid #e0e0e0;
}
/*-------btn effect-----------*/
.btn {
  -webkit-appearance: none; /*取消手機預設樣式*/
}
.btnStyle {
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 50px;
  color: #fff;
  background: none;
}
.btnStyle:hover {
  color: #333;
  background: #fff;
}
/*------------------form effect-------------------*/
input, textarea, body select {
  font-family: "微軟正黑體",  sans-serif;
  font-size: 15px;
  padding: 0;
  color: #333;
  /*避免select長度不一*/
  box-sizing: border-box;
  display: inline-block;
  outline: none;
}
input:focus {
  outline: none;
}
::-webkit-input-placeholder { /* WebKit browsers */
  color: #999;
}
:-ms-input-placeholder { /* WebKit browsers */
  color: #999;
}
.textStyle {
  border: 1px solid #ddd;
  border-radius: 5px;
}
.textStyle:focus {
  border: 1px solid #A6C1CE;
  background: #F6FBFE;
}
.formTitle {
  margin-bottom: 5px;
  font-weight: bold;
}
.refresh {
  display: inline-block;
  width: 25px;
  height: 25px;
  text-indent: -9999px;
  background-image: url(../images/refresh.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
#thisform a {
  color: #3438FF
}
#thisform a:hover {
  color: #FF5F62
}
/*------------page--------------*/
#page {
  color: #666;
  overflow: auto;
  text-align: center;
}
#page span {
  float: left;
  margin: 0 6px 6px 0;
}
#page span a {
  color: #333;
  display: block;
  text-decoration: none;
  padding: 3px 10px;
  border: solid 1px #e0e0e0;
  background: #f5f5f5;
  border-radius: 3px;
}
#page span a:hover {
  background: #FFF;
  box-shadow: 0 0px 5px 0 rgba(0, 0, 0, 0.2);
}
#page span.current a, #page span.current a:hover {
  background: none;
  color: #666;
  border: none;
  box-shadow: none;
}
/*-----------footer---------------*/
footer {
  background: #000;
  color: #ccc;
  font-size: 13px;
}
footer a {
  margin: 0 10px;
}
footer a, footer a:hover {
  color: #fff;
}
/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
  /*-----------------------body-----------------------*/
  html, body {
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 17px;
    line-height: 160%;
    font-family: "微軟正黑體", sans-serif;
  }
  p {
    line-height: 160%;
  }
  h1, h2, h3, h4 {
    line-height: 120%;
      font-family: 'Oswald', "微軟正黑體", sans-serif;
  }
  .btn {
    padding: 12px 30px;
    line-height: 100%;
    font-size: 21px;
  }
  .textStyle {
    padding: 10px;
  }
  .NoShowInPC {
    display: none;
  }
 
  /*-------------menu-------------------*/
  header h4, header.single-page-nav h1 {
    /*display: none;*/
  }
  header h1 a {
    width: 500px;
    /*	height: 60px;*/
    display: block;
    padding-bottom: 30px;
    text-indent: -9999px;
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: contain;
    z-index: 1099;
    position: fixed;
    left: 5%;
    top: 1%;
  }
  #menu {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    padding: 15px 5%;
    text-align: right;
    /*for ani*/
    animation: topFlyIn 0.5s ease;
    height: 80px;
  }
  #menu li {
    display: inline-block;
    margin-top: 1%
  }
  #menu a {
    color: #FFF;
    display: block;
    font-size: 17px;
    line-height: 100%;
    text-decoration: none;
    opacity: 0.8;
    padding-bottom: 5px;
    margin-left: 30px;
    cursor: pointer;
  }
  #menu a:hover {
    border-bottom: 3px solid #D2E13C;
    opacity: 1;
    color: #D2E13C;
  }
  #menu .current {
    border-bottom: 3px solid #D2E13C;
    opacity: 1;
    color: #D2E13C;
  }
  /*---------content-------------*/
  .black {
    background-image: url(../images/bgLong.png);
    background-repeat: repeat;
    background-size: 100%;
    background-position: top center;
  }
  #content {
    padding: 120px 5% 50px 5%;
    color: #fff;
  }
  #conLeft {
    position: fixed;
    top: 120px;
    left: 5%;
  }
  #conRight {
    width: 75%;
    float: right;
    min-height: 500px;
  }
  #conLeft h1 {
    font-size: 35px;
    color: #fff;
    border-left: 5px solid #D2E13C;
    padding-left: 10px;
    line-height: 125%;
  }
  #conLeft h1 span {
    display: block;
    font-size: 45px;
    color: #D2E13C;
  }
  /*---------tab------------*/
  #conLeft li h1 {
    font-size: 20px;
    color: #fff;
    border-left: 5px solid #fff;
    padding-left: 10px;
    line-height: 125%;
  }
  #conLeft li h1 span {
    display: block;
    font-size: 30px;
    color: #FFF;
  }
  #conLeft li {
    margin-right: 20px;
    opacity: 0.45;
    margin-bottom: 20px;
    cursor: pointer;
  }
  #conLeft li a {
    text-decoration: none;
  }
  #conLeft li.selected, #conLeft li:hover {
    opacity: 1;
  }
  #conLeft li.selected h1 {
    font-size: 35px;
    border-left: 5px solid #D2E13C;
  }
  #conLeft li.selected h1 span {
    font-size: 45px;
    color: #D2E13C;
  }
  /*---------playerList-------------*/
  #playerList li {
    width: 15.8%;
    float: left;
    margin: 0 1% 1% 0;
    position: relative;
  }
  #playerList li:nth-child(6n) {
    margin-right: 0;
  }
  #playerList li div.hoverDesc {
    color: rgba(255, 255, 255, 0);
    background-color: rgba(0, 0, 0, 0);
    background-image: url(../images/zoomIn.svg);
    background-repeat: no-repeat;
    background-size: 25% auto;
    background-position: center bottom 50px;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    text-align: center;
  }
  #playerList li:hover div.hoverDesc {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
  }
  #playerList li div.hoverDesc h3 {
    margin: 25px 5px 5px 5px;
    font-size: 17px;
    max-height: 40px;
    overflow: hidden;
  }
  .winList {
    display: block;
    width: 100%;
    height: 400px;
    position: relative;
  }
  .winList div.hoverDesc {
    color: rgba(255, 255, 255, 0);
    background-color: rgba(0, 0, 0, 0);
    background-image: url(../images/zoomIn.svg);
    background-repeat: no-repeat;
    background-size: 25% auto;
    background-position: center bottom 90px;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 49px;
    overflow: hidden;
    transition: all 0.3s ease-out;
    width: 100%;
    height: 0;
    padding-bottom: 66%;
    text-align: center;
  }
  .winList div.hoverDesc:hover {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
  }
  .winList a {
    text-decoration: none
  }
  /*-------------table form--------------------*/
  .maxText {
    width: 100%;
  }
  .largeText {
    width: 80%;
  }
  .midText {
    width: 50%;
  }
  .smallText {
    width: 120px;
  }
  /*-----------------------*/
  footer {
    padding: 20px 5%;
  }
  .footLeft {
    float: left;
    border: 1px solid #FFAFB1;
    width: 70%;
  }
  .footLeft h3 .footLeft ul li {
    float: left;
    margin-right: 50px;
  }
  .footRight {
    float: right;
    text-align: right
  }
  .alignCenterMobile {
    text-align: center;
    margin: 0 auto
  }
  .logoList li {
    width: 80px;
    float: left;
    margin: 1%;
    text-align: center;
  }
  .logoList li img {
    width: 100%
  }
  /* ====== 整排容器：左側品牌 + 右側版權 同一列 ====== */
  .brand-rail {
    display: flex; /* 建立 Flex 容器，讓子元素可做彈性排列 */
    align-items: center; /* 垂直方向置中（以容器交叉軸為準） */
    justify-content: space-between; /* 主軸兩端對齊：左列靠左、右列靠右 */
    gap: 32px; /* 左右兩欄之間的間距 */
    flex-wrap: nowrap; /* 桌機保持同一列，不自動換行 */
    /* 可視需求設定整體字色，例如深色底：
  color:#fff;
  */
  }
  /* ====== 左側：包住「主辦單位」與「合作夥伴」兩個小區塊 ====== */
  .brand-left {
    display: flex; /* 讓兩個品牌區塊橫向排列 */
    align-items: center; /* 垂直置中兩個區塊 */
    gap: 48px; /* 兩個品牌區塊之間的距離 */
    flex: 1 1 auto; /* 可擴展也可縮小，佔據剩餘空間 */
    min-width: 0; /* 允許內容縮小，避免把右側擠到下一行 */
    flex-wrap: nowrap; /* 桌機不分行 */
  }
  /* ====== 單一品牌區塊（標題 + 多個 logo） ====== */
  .brand-group {
    display: flex; /* 標題與 logo 橫向排列 */
    align-items: center; /* 垂直置中 */
    gap: 16px; /* 標題與 logo 間距 */
    flex: 0 0 auto; /* 依內容寬度顯示，不被撐成等寬 */
  }
  /* 區塊標題樣式 */
  .brand-title {
    margin: 0; /* 移除預設外距，避免多餘空白 */
    font-weight: 700; /* 標題加粗 */
    white-space: nowrap; /* 不允許自動換行，避免斷成兩行 */
  }
  /* ====== logo 列（多個 logo） ====== */
  .brand-logos {
    display: flex; /* 讓多個 logo 橫向排 */
    align-items: center; /* 垂直置中 logo */
    gap: 16px; /* 各 logo 之間的距離 */
    margin: 0; /* 清除 ul 預設外距 */
    padding: 0; /* 清除 ul 預設內距 */
    list-style: none; /* 移除項目符號 */
  }
  /* logo 尺寸統一與縮放行為 */
  .brand-logos img {
    height: 80px; /* 統一 logo 高度（寬度依比例自適應） */
    width: auto; /* 維持原始寬高比 */
    object-fit: contain; /* 即使給定盒子尺寸，也以完整呈現為優先不裁切 */
    /* 視需求可限制最大寬避免過長：
  max-width:160px;
  */
  }
  /* ====== 右側：連結＋版權 ====== */
  .brand-meta {
    display: flex; /* 垂直堆疊導覽與版權 */
    flex-direction: column; /* 子元素改為直向排列 */
    gap: 6px; /* 導覽與版權之間的距離 */
    align-items: flex-end; /* 讓內容靠右對齊（視覺上貼右邊） */
    text-align: right; /* 文字靠右 */
    flex: 0 0 auto; /* 依內容寬度即可，不要撐開 */
    margin-left: auto; /* 推到整排最右側（吃掉左邊所有剩餘空間） */
    /* 深色底可加上：
  color:#fff;
  */
  }
  /* 右側上方的導覽連結列 */
  .footer-links {
    display: flex; /* 連結橫向排 */
    gap: 1px; /* 連結與分隔線的間距 */
    flex-wrap: wrap; /* 寬度不夠時允許換行 */
    font-weight: 600; /* 連結字重稍粗 */
  }
  .footer-links a {
    text-decoration: none; /* 預設不加底線 */
  }
  .footer-links a:hover {
    text-decoration: underline; /* 滑過時加底線，提供可點擊提示 */
  }
  .footer-links .sep {
    opacity: .5; /* 分隔線淡一點，降低視覺重量 */
  }
  /* 版權行 */
  .copyright {
    font-size: 12px; /* 版權字體較小 */
    opacity: .85; /* 稍微降低對比，次要資訊 */
  }
  /*想要「右側一定貼齊右邊」，關鍵是 .brand-meta { margin-left:auto; }。*/
  /*防止左側內容把右側擠到下一行，記得在 .brand-left 放 min-width:0。*/
  /*Logo 高度統一用 height 控制；長條 logo 若過長，可額外加 max-width 上限。*/
}
/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
  /*-----------------------body-----------------------*/
  html {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
  }
  body {
    color: #333;
    line-height: 150%;
    font-size: 17px;
    font-family: "微軟正黑體",  sans-serif;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%;
    min-height: 100%;
  }
  p {
    line-height: 150%;
  }
  h1, h2, h3, h4 {
    line-height: 120%;
    font-family: 'Oswald', "微軟正黑體", sans-serif;
  }
  .btn {
    font-size: 17px;
    padding: 12px 15px;
    line-height: 100%;
    -webkit-appearance: none; /*取消手機預設樣式*/
  }
  .textStyle {
    padding: 8px;
  }
  .alignCenterMobile {
    text-align: center;
  }
  .alignLeftMobile {
    text-align: left;
  }
  input, textarea, select {
    font-size: 15px;
  }
  .picForMobile {
    width: 100%;
    height: auto;
  }
  ::-webkit-scrollbar {
    display: none; /*隱藏手機scroll*/
  }
  /*---------------------------*/
  header {
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background: #000;
    z-index: 99;
    padding: 5px 15px;
  }
  header h1 a {
    width: 300px;
    height: 0;
    display: block;
    padding-bottom: 60px;
    text-indent: -9999px;
    background-image: url(../images/logo.png);
    background-repeat: no-repeat;
    background-size: cover;
  }
  /*------------------menu------------------------*/
  h4.openMenu {
    display: block;
    position: fixed;
    width: 70px;
    height: 70px;
    top: 0;
    right: 0;
    background-image: url(../images/bars.svg);
    background-size: auto 50%;
    background-repeat: no-repeat;
    background-position: center center;
    text-indent: -9999px;
    z-index: 100;
  }
  h4.changColor {
    background-color: #444;
    background-image: url(../images/close.svg);
  }
  #menu {
    width: 100%;
    background: #444;
    position: fixed;
    top: 70px;
    right: 0;
    display: none;
    z-index: 9999;
    height: 100%;
    overflow: auto;
    padding-bottom: 0; /**重要!!*/
  }
  #menu li {
    border-bottom: 1px solid #222;
  }
  #menu li a {
    color: #fff;
    display: block;
    text-decoration: none;
    padding: 15px 0;
    text-align: center;
    font-size: 17px;
  }
  #menu li a:hover {
    background: #D2E13C;
    color: #333;
  }
  /*---------content-------------*/
  .black {
    background-image: url("../images/bgLong.png");
    background-repeat: repeat;
    background-size: contain;
    background-position: top center;
  }
  #content {
    padding: 90px 20px 30px 20px;
    color: #fff;
  }
  #conLeft {
    margin-bottom: 20px;
  }
  /*---------tab------------*/
  #conLeft li {
    opacity: 0.45;
    cursor: pointer;
    display: inline-block;
    margin-right: 10px;
    padding-bottom: 10px;
  }
  #conLeft li a {
    text-decoration: none;
  }
  #conLeft li h1 {
    font-size: 17px;
    color: #fff;
    font-weight: normal;
  }
  #conLeft li h1 span {
    display: none;
  }
  #conLeft li.selected {
    border-bottom: 3px solid #D2E13C;
    opacity: 1;
  }
  #conLeft li.selected h1 {
    color: #D2E13C;
    font-weight: bold;
  }
  /*---------playerList-------------*/
  #playerList li {
    width: 49%;
    float: left;
    margin: 0 2% 2% 0;
    position: relative;
  }
  #playerList li:nth-child(even) {
    margin-right: 0;
  }
  #playerList li div.hoverDesc {
    display: none
  }
  .winList {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .winList div.hoverDesc {
    display: none
  }
  .winList a {
    text-decoration: none
  }
  /*-------------form--------------------*/
  .contentBox, .maxText, .largeText, .midText, .btnMax {
    width: 100%;
  }
  .smallText {
    width: 100px;
  }
  .formTitle {
    /*font-weight: normal;*/
  }
  /*-------------footer--------------------*/
  footer {
    padding: 20px;
    text-align: center;
  }
  .footLeft ul li {
    margin-bottom: 20px;
  }
  .logoList li {
    width: 40%;
    float: left;
    margin: 5%;
    text-align: center;
    height: 180px
  }
  .logoList li img {
    width: 100%
  }
  /* ====== RWD：手機 ======
   條件：視窗寬度 <= 768px
   行為：整排改為直向排列，右側版權移到最下方並改為左對齊
====================================================== */
  /* ===== 手機版：<= 768px ===== */

  .brand-rail{
    flex-direction: column;       /* 整排改直向排列 */
    align-items: flex-start;      /* 內容靠左（品牌區看起來比較自然） */
    gap: 14px;
  }

  .brand-left{
    gap: 14px;
    flex-wrap: wrap;              /* 左側兩個品牌區塊可換行 */
    width: 100%;
  }

  /* 手機：每個品牌區塊改為「標題在上、logo 在下」 */
  .brand-group{
    width: 100%;                  /* 讓 logo 有整列可排，避免被擠窄 */
    flex-direction: column;       /* 標題與 logo 改成上下堆疊 */
    align-items: flex-start;      /* 內容左對齊 */
    gap: 0;                       /* 移除水平 gap，改用下方的 margin 控制 */
  }

  /* 標題與 logo 之間的「高度」 */
  .brand-group .brand-logos{
    margin: 20px 0px;              /* ← 主辦單位/合作夥伴 標題與 logo 的垂直間距 */
    display: flex;                /* 仍用 flex 排列 logo */
    flex-wrap: wrap;              /* 多個 logo 會自動併排＋換行 */
    gap: 10px 16px;               /* 上下 10px、左右 16px 的間距，較好看 */
      justify-content: center;
    align-items: center;
      width: 100%
      
  }

  /* 手機上的 logo 大小微縮，讓多個更容易同列顯示 */
  .brand-logos img{
    height: 80px;                 /* 依需要可調 24–28px */
    width: auto;
    object-fit: contain;
  }

  /* 版權／連結區塊：移到最下方且置中 */
  .brand-meta{
    order: 99;                    /* 放到整個區塊的最後 */
    align-items: center;          /* 內容水平置中 */
    text-align: center;           /* 文字置中 */
    width: 100%;
    padding-top: 12px;            /* 與上方區塊留距 */
  }
  .footer-links{
    justify-content: center;      /* 導覽連結列也置中排列 */
    gap: 12px;
  }


}