﻿@charset "utf-8";
* {
  box-sizing: border-box;
}
body {
}
body,
ul,
li,
a,
div,
font {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}
body {
  line-height: 1.42857143;
  overflow-y: scroll;
}
ul,
li {
  list-style: none;
  list-style-position: outside;
}
a {
  color: #000000;
  text-decoration: none;
}
a:hover {
  color: #156a9a;
  text-decoration: underline;
}
img {
  border: 0px;
  vertical-align: middle;
}
hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
  height: 0;
  display: block;
  unicode-bidi: isolate;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: auto;
  margin-inline-end: auto;
  overflow: hidden;
}

/*loading圖用的旋轉動畫*/
/*顆粒旋轉loading動畫*/
.Loading {position: absolute;top: 0;left: 0;bottom: 0;right: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.5);z-index: 10;padding-top: 50px;padding-bottom: 50px;}
.lds-roller {display: inline-block;position: fixed;width: 64px;height: 64px;top: 45%;left: 50%;margin-left: -32px;}
.lds-roller div {animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;transform-origin: 32px 32px;}
.lds-roller div:after {content: " ";display: block;position: absolute;width: 6px;height: 6px;border-radius: 50%;background: #fff;margin: -3px 0 0 -3px;}
.lds-roller div:nth-child(1) {animation-delay: -0.036s;}
.lds-roller div:nth-child(1):after {top: 50px;left: 50px;}
.lds-roller div:nth-child(2) {animation-delay: -0.072s;}
.lds-roller div:nth-child(2):after {top: 54px;left: 45px;}
.lds-roller div:nth-child(3) {animation-delay: -0.108s;}
.lds-roller div:nth-child(3):after {top: 57px;left: 39px;}
.lds-roller div:nth-child(4) {animation-delay: -0.144s;}
.lds-roller div:nth-child(4):after {top: 58px;left: 32px;}
.lds-roller div:nth-child(5) {animation-delay: -0.18s;}
.lds-roller div:nth-child(5):after {top: 57px;left: 25px;}
.lds-roller div:nth-child(6) {animation-delay: -0.216s;}
.lds-roller div:nth-child(6):after {top: 54px;left: 19px;}
.lds-roller div:nth-child(7) {animation-delay: -0.252s;}
.lds-roller div:nth-child(7):after {top: 50px;left: 14px;}
.lds-roller div:nth-child(8) {animation-delay: -0.288s;}
.lds-roller div:nth-child(8):after {top: 45px;left: 10px;}
@keyframes lds-roller { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/*common style*/
.row {
  margin-right: -15px;
  margin-left: -15px;
}
.d-flex {
  display: flex;
}
.boldtxt {
  font-weight: 700;
}
.graytxt {
  color: #bfac9d;
}
.text-center {
  text-align: center;
}
.bggray {
  background-color: #eae6e3;
}
.bgwhite {
  background-color: #fff;
}
.bgblue {
  background-color: #53aacb;
}
.pt10 {
  padding-top: 10px!important;
}
.pt40 {
  padding-top: 40px!important;
}
.pb10 {
  padding-bottom: 10px!important;
}
.pb30 {
  padding-bottom: 30px!important;
}
.pb40 {
  padding-bottom: 40px!important;
}
.pb50 {
  padding-bottom: 50px!important;
}
.pt80 {
  padding-top: 80px!important;
}
.mb15 {
  margin-bottom: 15px!important;
}
.mb10 {
  margin-bottom: 10px!important;
}
.mt10 {
  margin-top: 10px!important;
}
.mt40 {
  margin-top: 40px!important;
}
.mt70 {
  margin-top: 70px!important;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: " "
}
.clearfix:after {
  clear: both
}
.float-left {
  float: left;
}
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto
}
.mx-auto {
  margin-top: auto;
  margin-bottom: auto;
}
.my-auto {
  margin-left: auto;
  margin-right: auto;
}
.py-10 {
  padding-right: 15px;
  padding-left: 15px;
}
.bluetxt {
  color: #53aacb;
}
.txtbold {
  font-weight: bold;
}
.bordergray {
  border-bottom: 2px solid #bfac9d;
}
.navbar-toggle {
  position: relative;
  float: right;
  padding: 9px 10px;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
  background-color: #eee;
  background-image: none;
  border: 1px solid #eee;
  border-radius: 4px
}
.navbar-toggle .icon-bar {
  background: #3a84a0;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px
}
.navbar-toggle .icon-bar+.icon-bar {
  margin-top: 4px
}

/*dropdown*/
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  z-index: 1000;
  width: 100%;
  display: none;
  float: left;
  min-width: 160px;
  padding: 0;
  margin: 2px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.dropdown-menu a {
  background-color: #53aacb;
  border: 1px solid #eae6e3;
  display: block;
  padding: 15px 0;
  font-weight: lighter;
  font-size: 14px;
  line-height: 1.42857143;
  color: #eae6e3;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
}
.dropdown-menu a.active,
.dropdown-menu a:hover {
  background-color: #e8e8e8;
  background-image: -webkit-linear-gradient(top, #f5f5f5 0, #e8e8e8 100%);
  background-image: -o-linear-gradient(top, #f5f5f5 0, #e8e8e8 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
  background-image: linear-gradient(to bottom, #f5f5f5 0, #e8e8e8 100%);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
  color: #53aacb;
}
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

/*head*/
.head {
  background: #53aacb;
  border-bottom: 1px solid #eae6e3;
  position: fixed;
  z-index: 5;
  width: 100%;
}
.headNavigation {
  width: 100%;
  display: none;
}
.headNavigation .headNavigationButton {
  color: #eae6e3;
  display: inline-flex;
  flex: 1;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  height: 50px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.headNavigation .headNavigationButton:hover,
.headNavigation .headNavigationButton.active {
  background-color: #eae6e3;
  color: #53aacb;
}
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

/*mobile head*/
.mobileNavigation {
  display: block;
  position: relative;
}
.mobileNavigation .mobileMenu {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #3e758a;
  position: absolute;
  top: 50px;
  width: 100%;
  max-height: 0;
  transition: max-height .25s ease-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mobileNavigation .mobileMenu.active {
  max-height: 100vh;
  transition: max-height .25s ease-in;
}
.mobileNavigation .mobileMenu .mobileNavigationButton {
  background: #3e758a;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  color: #fff;
}
.mobileNavigation .mobileMenu .mobileNavigationButton.active {
  background: #eee;
  color: #3e758a;
}

/*body*/
.body {
  background: #53aacb;
  margin: 0 auto;
  padding-top: 51px;
  display: block;
  zoom: 1;
}

/*home*/
.homebg {
  background-image: url(../images/home-banner.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  height: auto;
}
.homebg hr {
  width: 170px;
}
.maintxt2 {
  margin-top: 8px;
  font-size: 16px;
  color: #fff;
}
.maintxt3 {
  margin-top: 0;
  font-size: 20px;
  color: #fff;
}
.maintxt4 {
  margin-top: 10px;
  font-size: 28px;
  color: #fff;
}
.resultmain {
  margin-top: 10px;
}
.resultnum {
  display: inline-block;
  margin: 5px;
  padding-top: 2px;
  text-align: center;
  width: 49px;
  height: 49px;
  color: #53aacb;
  font-size: 32px;
  font-weight: 700;
  background-color: #eae6e3;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
}

/*footer*/
.foot {
  clear: both;
  background-color: #002951;
}
.floatcontainer {
  width: 100%;
  height: 307px;
  position: relative;
}
.floattext {
  box-sizing: border-box;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
.floatimg {
}
.mainfloat {
  position: relative;
  top: -40px;
  left: 0;
}
.mainpromo h1 {
  font-weight: 300;
  font-size: 32px;
  color: #2e3e4b;
}
.mainpromo h2 {
  font-weight: 900;
  font-size: 22px;
  color: #dc5e61;
}
.mainpromo p {
  color: #c0ae9f;
}
.footerimgresponsive {
  margin-top: 30px;
  width: 100%;
  height: auto;
  max-width: 514px;
  text-align: center;
}

/*about*/
.aboutpromo h1 {
  color: #2e3e4b;
  display: inline-block;
  font-weight: 300;
  font-size: 32px;
  margin: 40px 0;
}
.aboutarea {
  flex-direction: column;
}
.aboutfloat {
}
.abouttext {
  width: 100%;
}
.abouttext h2 {
  font-weight: 900;
  font-size: 15px;
  color: #c0ae9f;
}
.aboutpromo p {
  color: #c0ae9f;
}

/*history*/
.resultheader {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  width: 100%;
}
.resultheader .gamenum {
  flex: 0 0 100%;
}
.resultheader .gamenum .gamedate {
  font-size: 24px;
}
.resultheader .countdown {
  flex: 2;
}
.resultnumwrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.resultnumwrapper .resultnum {
  margin: 6px;
  padding-top: 2px;
  text-align: center;
  width: 49px;
  height: 49px;
  color: #f5f3f0;
  font-size: 32px;
  font-weight: 700;
  background-color: #53aacb;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
}
.resultheader .countdown .txtNext {
  font-size: 18px;
  line-height: 34px;
  text-align: center;
}
.resultheader .countdown .timer {
  width: 100%;
  max-width: 155px;
  text-align: center;
  font-size: 42px;
  line-height: 42px;
  padding: 7px 5px 10px;
  margin: 10px auto 0;
  color: #53aacb;
  border: 1px solid #53aacb;
}
.resultpromo h1 {
  color: #2e3e4b;
  font-size: 36px;
  font-weight: normal;
  flex: 1;
}
.resultpromo p {
  color: #ad9480;
  font-size: 14px;
}
.resultpromo .resulttitle {
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
}
.resultpromo .tools {
  display: flex;
}
.resultpromo .search {
  margin-right: 10px;
  position: relative;
}
.resultpromo .search input {
  height: 35px;
  padding: 5px 30px 5px 10px;
  box-sizing: border-box;
}
.resultpromo .search img {
  position: absolute;
  top: 5px;
  right: 5px;
}
.resultpromo .datepicker {
  border: 1px solid #bfac9d;
  cursor: pointer;
}
.tableth, .tabletr {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.tableth {
  font-size: 14px;
}
.tabletr {
  border-bottom: 1px solid #bfac9d;
  font-size: 12px;
  transition: background-color .3s;
}
.tableth .gameid,
.tabletr .gameid {
  width: 50%;
  font-size: 14px;
}
.tableth .gamedate,
.tabletr .gamedate {
  width: 25%;
  display: none;
}
.tableth .gameresult,
.tabletr .gameresult {
  width: 50%;
}
.tabletr:hover {
  background: #f9f9f9;
}
.tabletr .resultnum {
  margin: 0 1px;
  padding-top: 2px;
  text-align: center;
  width: 30px;
  height: 30px;
  color: #53aacb;
  font-size: 17px;
  font-weight: 700;
  background-color: #f5f3f0;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
}
.NoData {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

table thead th {
  width: auto !important;
}
