@charset "UTF-8";


html,
body {
  position: relative;
  height: 100%;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  font: bold "Microsoft JhengHei", "Microsoft Sans Serif", "Heiti TC Light", "Helvetica Neue", Helvetica, Arial, sans-serif;  
  overflow-x: hidden;
}

p { font-weight: 600; }

/* 選單 00
-------------------------------------------*/

/* bootstrap 5 columns  5等份．5欄 */
.col-1-5 {
    position: relative;
    width: 20%;
    float: left;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

a.nav-btn-custom {
    color: #002823;
    box-shadow: 1px 1px #ccc, -0.001em 0 0.6em #ccc;
    padding: 0 0.25rem;
    background: #fff;
}

a.nav-btn-custom:hover {
	color:#fff;
	background: rgba( 0, 0, 0, .5);
}

/* 選單 01
-------------------------------------------*/
.ml-auto { margin-left: auto!important; }
.mr-auto { margin-right: auto!important; }

.navbar { align-items: flex-end; }
.nav .nav-link:hover { background-color: #fff!important; color: #111; }

.nav .nav-item {
  margin: 0 5px; /* 增加選項間距 */
}

@media (max-width: 991px){
  .navbar { align-items: center; }
  .nav .nav-item {
      margin: 10px 5px;
      min-width: 240px;
      text-align: center;
  }
}
.nav .nav-link {
  border: 2px solid #fff; /* 邊框顏色 */
  border-radius: 50px;       /* 高圓角效果 */
  padding: 8px 20px !important;
  transition: all 0.3s ease;
  color: #fff !important;
  font-size: 1.15rem;
}

/* 滑鼠懸停效果 */
.nav .nav-link:hover {
  color: #111 !important;
  background-color: #007bff;
}



@media (min-width: 992px){
  .navbar-toggleable-md .navbar-collapse {
    display: flex;
  }

  .navbar-toggleable-md .navbar-nav { 
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row; 
  }

  .navbar-nav .dropdown-menu { position: absolute; }

}

.navbar.navbar-transparent .navbar-brand {
  /*display: none;*/
  /* visibility:hidden;  */
}

/* Logo 隱藏 */
/*@media (min-width: 992px) {
  .navbar > .container {
    padding: 0;
  }
}
@media (min-width: 1200px) {
  .navbar > .container {
    width: 95%;
  }
}*/
.dropdown-menu {
  background-color: #950021;
}

.dropdown-item {
  color: #ffead7;
}
.dropdown-item:hover {
  color: #ffffbd;
  background: #77001a;
}

.dropdown-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}


@media (max-width: 768px) {
    .outline-grid { grid-template-columns: repeat(2, 1fr); }
    .outline-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}


.navbar-collapse .dropdown > a {
  font-size: 16px !important;
}

/* 設定在手機狀態時不作用 */
@media (min-width: 992px) {

  /*　向上運動　*/

  #header.UpMove{
    animation: UpAnime 0.5s forwards;
  }

  @keyframes UpAnime{
    from {
      opacity: 1;
    transform: translateY(0);
    }
    to {
      opacity: 0;
    transform: translateY(-100px);
    }
  }

  /*　向下運動　*/

  #header.DownMove{
    animation: DownAnime 0.5s forwards;
  }
  @keyframes DownAnime{
    from {
      opacity: 0;
      transform: translateY(-100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

}


.jumbotron {   
  /*margin-top: 110px; */
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
}


.BoxAll {    
  width: 100%; 
  background:#eee;
  /*background: #014c3e url(../images/bg.webp) repeat-x;*/
}

@media (min-width: 1200px) {
  
  /*.BoxAll:before{ 
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url('../images/bg.svg') no-repeat center;
    background-size: 100%;
  }
  */
}




.nav-area a {
    position: relative;
    display: block;
    width: 100%;
    font:700 1.2rem "BIZ UDPGothic", sans-serif;
    color: white;
    text-decoration: none;
    text-align: center;
    border: 10px solid transparent;
    z-index: 9;
}

.nav-area a::before, .nav-area a::after {
    height: 30px;
    width: 100%;
    position: absolute;
    content: "";
    clip-path: polygon(0 100%, 0 15%, 5% 0, 100% 0, 100% 85%, 95% 100%);
}

@media (max-width: 767px) {
  .nav-area a::before, .nav-area a::after {
    height: 50px;
  }
}

.nav-area a::before {
    z-index: -1;
    top: 0;
    left: 0;
    background-color: #05c852;
}

.nav-area a::after {
    z-index: -2;
    top: 5px;
    left: 5px;
    background-color: #b1e900;
}

.nav-area a span {
    position: absolute;
    bottom: 3px;
    left: calc(50% - 0.5em);
    display: block;
    color: white;
    line-height: 1;
    width: 8px;
    height: 8px;
    border: 1px solid currentColor;
    border-left: 0;
    border-bottom: 0;
    transform: translateY(-25%) rotate(135deg);
}

@media (min-width: 768px) {

    .nav-area a {
        height: 62px;
        font-size: 1.6rem;
    }

    .nav-area a::before, .nav-area a::after {
        height: 70px;
        transition: 0.2s;
        clip-path: polygon(0 100%, 0 25%, 10% 0, 100% 0, 100% 70%, 90% 100%);
        clip-path: polygon(0% 80%, 10% 0%, 0% 0%, 100% 0%, 100% 0%, 90% 100%);
    }

    .nav-area a:hover::before {
        background-color: #b1e900;
    }

    .nav-area a:hover::after {
        background-color: #05c852;
    }

    .nav-area a span {
        bottom: 5px;
        width: 12px;
        height: 12px;
        border: 2px solid currentColor;
        border-left: 0;
        border-bottom: 0;
    }
}


/* 麵包屑 */
.breadcrumb-item a {
    color: #777;
    text-decoration: none; 
    transition: color 0.2s ease-in-out; 
}

.breadcrumb-item a:hover {
    color: #333; 
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #333; 
}

/* 分頁 */
.pagination-dark .page-link {
    background-color: #343a40;
    border-color: #454d55;
    color: #fff;
}

.pagination-dark .page-item.active .page-link {
    background-color: #900000; 
    border-color: #007bff;
}

.pagination-dark .page-link:hover {
    background-color: #4e555b;
    color: #fff;
}



/* swiper 共用 - 左右選單顏色 */
.swiper-button-next, 
.swiper-button-prev {    
    color: #ff5757!important;
}

.Score { font: bold 4rem Roboto,  system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";}



/* 分組對戰表．國旗 Flag 樣式01 */
body { line-height: inherit!important; }
.PK {
  background: #001e55;
  /*background: url(../images/bg_Flag.svg) no-repeat center top;*/
  background-size: cover;
}
.PK .card { border-radius: 2rem 2rem 2rem .25rem; }
.PK .card-header { 
    font-size: 1.5rem;
    border-radius: 2rem 2rem 0 0 !important; 
    padding: .3rem 1.25rem;
}
.PK .card-header:first-letter{ font-size: 2rem; }
.PK .card-body { padding: 1.25rem 1.25rem 0rem; }
.PK .flag-icon {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 0 15px;
}
.PK .country-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.PK .country-name {
    margin-left: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}




/* 分組對戰表．國旗 Flag 樣式02 */
.Flag img.img-fluid { border: 1px solid #ccc; }
.unknown { font: bold 3.5rem / 1.2 "Overpass", sans-serif; }

.Flag tbody img { 
  max-height: 34px;   
}

.Flag tbody td .row > div:first-child { text-align: center; }

.Flag tbody td .row > div:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-top: 5px;
  }

.Flag tbody tr td:nth-child(2n+1) { background-color: rgba(0, 0, 0, .05); }


/* card 卡片輪播
------------------------------*/

.swiperCard .card { 
  border: 0;
  width: 100%; 
  background: transparent;
}
.swiperCard .card-header {
    color: white;
    font-size: 2.6rem;
    font-family: "Overpass", sans-serif;
    line-height: 1em;
    letter-spacing: -0.01em;
    background-color: #758d89;
}
.swiperCard .card span {
    margin-left: 5px;
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1em;
}
.swiperCard .card-footer {
    padding: .75rem 1.25rem;
    color: #fff!important;
    background-color: #555;
    /*border-top: 1px solid rgba(0, 0, 0, .125);*/
}

small.h4 { font-weight: 600; }

.swiperCard .swiper {
    width: 100%;
    /*height: 300px;*/
    margin: 20px auto;
  }

.swiperCard .swiper-slide {
  text-align: center;
  font-size: 1rem;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

/*.swiperCard .append-buttons {
  text-align: center;
  margin-top: 20px;
}

.swiperCard .append-buttons a {
  display: inline-block;
  border: 1px solid #007aff;
  color: #007aff;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  margin: 0 10px;
}*/



.swiperCard .card-header {
  padding: 1.4rem 1.25rem .55rem;
  border-radius: 35px 35px 0 0;
  line-height: 0.7em;
}

.swiperCard .card-body {    
    border-radius: 0 0 35px 35px;
    background:#fff;
}

@media (min-width:1140px) {
	.swiperCard .card-body { min-height: 190px; }
}

.swiperCard .card-body img.img-fluid { border:1px solid #ddd; }

.swiperCard .card-footer { border: 0; }

.swiperCard .card-footer a {
  width: 100%;
  height: 60px;
  padding: 0 50px 0 0px;
  display: block;
  text-align: center;
  border-radius: 0 0 3px 3px;
  line-height: 60px;
  color: white;
  font-weight: bold;
  box-sizing: border-box;
  position: relative;
  text-decoration: none;
  transition: background .35s;
}

.swiperCard .card-footer a:hover {
  color: #afea00;
  background: #111;
}


.swiperCard .card-footer a span {
  height: 50px;
  width: 50px;
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius: 2px;
  background: #333;
}


  .swiperCard .card-footer a span::after {
    width: 15px;
    height: 15px;
    top: 17px;
    left: 13px;
    content: "";
    position: absolute;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
}




    


/* 幻燈片輪播 */

.swiperPhoto .swiper {
  width: 100%;
  height: 100%;
}

.swiperPhoto .swiper-slide {
  text-align: center;
  font-size: 1rem;
  height: 600px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiperPhoto .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* swiperFreemode */

.swiperFreemode .card {
  font-size: .9rem;
  font-weight: bold;
}

.swiperFreemode .swiper {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 70px; /* 給左右箭頭留出 50px 的空間 */
}

@media (max-width:767px) {
    .swiperFreemode .swiper { padding: 0; }
    .swiper-button-next,
    .swiper-button-prev { display: none !important; }
}

.swiperFreemode .swiper-slide {
  text-align: center;
  /*background: #444;*/
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiperFreemode .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiperFreemode .card { 
  width: 100%; 
  border-radius: .7rem; 
}

.swiperFreemode .card .card-header {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: #666;
}

.swiperFreemode .card .card-header span {
  color: #fff;
  padding: 0 4px;
  background: #f00;
}

.swiperFreemode .card .card-header span.no { color: #666; background: transparent; }

.swiperFreemode .card .card-header div:last-child span { margin-left: 4px; }

.swiperFreemode .card .card-body { padding: .7rem .5rem; }
.swiperFreemode .card .card-body .Flag img { border: 1px solid #ccc;  }




/* footer
-------------------------------------------*/
footer {
  position: relative;
  padding: 10px 0;
  bottom: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #333333;
}
footer .copyright {
  font: 12px/4 Verdana, Geneva, sans-serif;
  color: #fff;
  letter-spacing: 1px;
}

@media(max-width: 767px ) { 
  .hide_footer { display:none; }
  footer .copyright { color: #fff; }
}