* {
  box-sizing: border-box;
}

a,
abbr,
acronym,
address,
b,
big,
blockquote,
body,
caption,
cite,
code,
dd,
del,
dfn,
div,
dl,
dt,
em,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
i,
img,
input,
ins,
kbd,
label,
legend,
li,
object,
ol,
p,
pre,
q,
samp,
small,
span,
strong,
sub,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
tr,
tt,
ul,
var {
  padding: 0;
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption {
  text-align: left;
}
input,
select {
  vertical-align: middle;
  font-size: 12px;
  color: #fff;
  outline: 0;
  border: none;
}
input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
}
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}
select {
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: 0;
}
fieldset,
img {
  border: 0;
  display: block;
}
address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-style: normal;
}
li,
ol,
ul {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}
q:after,
q:before {
  content: "";
}
legend {
  display: none;
}
a {
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  outline: 0;
}
.clearfix:after {
  content: "";
  height: 0;
  visibility: hidden;
  display: block;
  clear: both;
}
.clearfix {
  zoom: 1;
}
.clear {
  clear: both;
}
body,
html {
  font-size: 14px;
  min-width: 975px;
  font-family: "Microsoft YaHei", Arial, "Times New Roman", SimHei, Helvetica,
    sans-serif;
  background: #fff;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.f12 {
  font-size: 12px;
}
.f14 {
  font-size: 14px;
}
.f16 {
  font-size: 16px;
}
.f18 {
  font-size: 18px;
}
.f20 {
  font-size: 20px;
}
.f21 {
  font-size: 21px;
}
.f24 {
  font-size: 24px;
}
.f28 {
  font-size: 28px;
}
.f26 {
  font-size: 26px;
}
.f30 {
  font-size: 30px;
}
.f40 {
  font-size: 40px;
}
.f50 {
  font-size: 50px;
}
.f60 {
  font-size: 60px;
}
.fwb {
  font-weight: 700;
}
.fwn {
  font-weight: 400;
}
.nomg {
  margin: 0;
}
.mgr5 {
  margin-right: 5px;
}
.mgb5 {
  margin-bottom: 5px;
}
.mgb10 {
  margin-bottom: 10px;
}
.mgb12 {
  margin-bottom: 12px;
}
.mgb15 {
  margin-bottom: 15px;
}
.mgb25 {
  margin-bottom: 25px;
}
.mgb30 {
  margin-bottom: 30px;
}
.mgb37 {
  margin-bottom: 37px;
}
.mgt30 {
  margin-top: 30px;
}
.mgt10 {
  margin-top: 10px;
}
.mgt5 {
  margin-top: 5px;
}
.mgr10 {
  margin-right: 10px;
}
.hide {
  display: none;
}
.show {
  display: block;
}
.z3 {
  z-index: 3;
}
.z2 {
  z-index: 2;
}
.z1 {
  z-index: 1;
}
i {
  display: inline-block;
}
.cbrown {
  color: #aaa;
}
.container {
  width: 975px;
  margin: 0 auto;
  position: relative;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  color: #aeaeae !important;
}
/**
* ****************** Header ******************
*/
.header {
  background-color: #fff;
  color: #000;
  height: 60px;
  position: fixed;
  width: 100%;
  z-index: 2;
}

.header .container {
  display: flex;
  align-items: center;
  height: 60px;
}

.header .icon-mask {
  background-color: #2d2d2d;
  height: 20px;
  width: 20px;
  margin-right: 8px;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header .icon-mask.home {
  -webkit-mask: url(../img/icon_home.png) center center / contain no-repeat;
  mask: url(../img/icon_home.png) center center / contain no-repeat;
}

.header .icon-mask.chevron {
  -webkit-mask: url(../img/icon_down.svg) center center / contain no-repeat;
  mask: url(../img/icon_down.svg) center center / contain no-repeat;
  height: 13px;
  width: 13px;
  margin-right: 0;
  margin-left: 5px;
}

.header .nav {
  display: flex;
}

.header .nav .link-wrapper {
  color: #2d2d2d;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 600;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header .nav .link-wrapper:not(:last-child) {
  margin-right: 30px;
}

.header .nav .link-wrapper a {
  color: #2d2d2d;
  display: flex;
  align-items: center;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header .nav .link-wrapper:hover,
.header .nav .link-wrapper a:hover {
  color: #a12015;
}

.header .nav .link-wrapper:hover .icon-mask {
  background-color: #a12015;
}

.header .nav .link-wrapper.game:hover .icon-mask {
  transform: rotate(180deg) translateY(1px);
}

.header .nav .link-wrapper.game:hover .game-dropdown {
  opacity: 1;
  visibility: visible;
}

.header .nav .game-dropdown {
  background-color: #fff;
  border-radius: 0 0 8px 8px;
  border-top: 2px solid #a12015;
  padding: 25px 0;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header .nav .game-dropdown .container {
  height: auto;
}

.header .nav .game-dropdown .container a {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.header .nav .game-dropdown .container a img {
  height: 80px;
  margin-bottom: 10px;
}

.header .date-wrapper {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.header .date-wrapper img {
  margin-right: 8px;
  width: 20px;
}

.header .language {
  margin-left: 20px;
  display: flex;
  align-items: center;
}

.header .language img {
  margin-right: 8px;
  width: 20px;
}

.header .language select {
  -webkit-appearance: none;
  background-color: transparent;
  color: #2d2d2d;
  cursor: pointer;
  font-size: 14px;
  padding-right: 16px;
  position: relative;
  height: 30px;
  z-index: 0;
}

.header .language option {
  background: rgba(0, 0, 0, 0.5);
}

.header .language .chevron {
  cursor: pointer;
  margin-left: -16px;
  z-index: -1;
}

/**
* ****************** Banner ******************
*/
.banner-wrapper {
  padding-top: 60px;
}

.banner-container {
  position: relative;
  overflow: hidden;
}

.banner-container img {
  margin: auto;
  max-width: 1900px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.banner-container img.banner-bg {
  position: absolute;
  max-width: unset;
  width: 105%;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  filter: blur(10px);
  z-index: 0;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet {
  height: 15px;
  width: 15px;
  margin: 0 8px;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet-active {
  background: #fff;
}

/**
* ****************** Main Content ******************
*/
.main {
  min-height: calc(
    100vh - 60px - 388px - 93px
  ); /* full height - header - banner - footer */
  padding-top: 30px;
}
.main .mainbox {
  width: 900px;
  margin: 0 auto 50px;
}

.main .mainbox .game-title {
  border-bottom: 1px solid #f3f3f4;
  font-size: 30px;
  font-weight: bold;
  padding-bottom: 8px;
}

.main .mainbox .title-wrapper {
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: flex-end;
  margin-bottom: 5px;
}

.main .mainbox .title {
  color: #000;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 0 10px 0;
  text-transform: uppercase;
}

.main .mainbox .past-result {
  margin-left: auto;
  margin-bottom: 5px;
}

.main .mainbox .past-result a {
  color: #414141;
  text-decoration: underline;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.main .mainbox .past-result a:hover {
  color: #c40001;
}

.listbottom .timeleft {
  background: #c40001;
  color: #fff;
  padding: 8px 20px;
  font-size: 44px;
  font-weight: bold;
  display: inline-block;
  box-sizing: border-box;
  text-align: center;
}

.detailmain .resultbox {
  padding-top: 10px;
}
.detailmain .resultbox .countbox {
  width: 260px;
  background: #801122;
  text-align: center;
  padding-top: 15px;
}
.detailmain .resultbox .countbox .l1 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}
.detailmain .resultbox .countbox .nextissue {
  line-height: 28px;
  font-size: 18px;
  color: #ffe65b;
  letter-spacing: 1px;
}
.detailmain .resultbox .countbox .icon-time2 {
  background: url(../img/icon.png) no-repeat 0 -86px;
  width: 88px;
  height: 76px;
  margin: 5px auto 0;
}
.detailmain .resultbox .countbox .timebg2 {
  width: 230px;
  height: 40px;
  line-height: 40px;
  font-size: 30px;
  color: #fff;
  margin: 5px auto 0;
  letter-spacing: 2px;
  background: url(../img/icon.png) no-repeat 0 -231px;
}
.detailmain .resultbox .gamedetail {
  width: 620px;
}
.detailmain .resultbox .info {
  color: #036;
  font-size: 16px;
  font-weight: 700;
  line-height: 34px;
}
.detailmain .resultbox .info .issue {
  margin: 0 10px 0 5px;
}
.detailmain .resultbox .opennums {
  padding-top: 10px;
}
.detailmain .resultbox .opennums .nums {
  background: #ededed;
  border-radius: 30px;
  margin: 12px 0;
  padding: 3px;
}
.detailmain .resultbox .opennums .nums table {
  width: 100%;
}
.detailmain .list {
  padding: 0 10px;
}

.detailmain .list > div {
  width: 100%;
}

.detailmain .list .l1 {
  color: #000;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.detailmain .list .l2 {
  font-size: 14px;
  color: #333;
}
.detailmain .list .calendar {
  border: 1px solid #d6d6d6;
  border-radius: 5px;
}
.detailmain .list .calendar div,
.detailmain .list .calendar input,
.detailmain .list .calendar label {
  display: inline-block;
  vertical-align: middle;
}
.detailmain .list .calendar label {
  height: 32px;
  width: 38px;
  border-right: 1px solid #d6d6d6;
  cursor: pointer;
}
.detailmain .list .calendar label i {
  display: block;
  width: 100%;
  height: 100%;
}
.detailmain .list .calendar input {
  padding: 5px 10px;
  height: 22px;
  width: 128px;
  cursor: pointer;
  font-size: 18px;
  letter-spacing: 1px;
  color: #bbb;
}
.detailmain .list .calendar div {
  width: 32px;
  cursor: pointer;
  border-left: 1px solid #d6d6d6;
  height: 32px;
}
.detailmain .list .calendar div i {
  display: block;
  width: 100%;
  height: 100%;
}
.detailmain .list .calendar .icon-calendar {
  background: url(../img/icon.png) no-repeat 7px -180px;
}
.detailmain .list .calendar .icon-search {
  background: url(../img/icon.png) no-repeat -47px -176px;
}
.detailmain .list table {
  margin-top: 10px;
  width: 100%;
  text-align: center;
  font-size: 12px;
}
.detailmain .list table th {
  background: #ededed;
  border: 1px solid #ccc;
  line-height: 30px;
  font-weight: 400;
  padding: 0 5px;
}
.detailmain .list table th:first-child {
  width: 135px !important;
}
.detailmain .list table th:last-child {
  width: 217px !important;
}
.detailmain .list table td {
  border: 1px solid #ccc;
  padding: 2px 5px;
}

.game-happy20.detailmain .list table td .ball-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 2px 50px;
}

.flex-box {
  display: flex;
  margin-bottom: 30px;
}

.flex-box .left {
  width: 300px;
  margin-right: 50px;
}

.flex-box p {
  text-transform: uppercase;
  height: 30px;
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.flex-box .listbottom .timeleft {
  width: 100%;
}

.flex-box p .issue {
  margin-left: 12px;
  font-weight: bold;
}

.flex-box p .nextissue {
  margin-left: auto;
  color: #c40001;
  font-weight: bold;
}

.flex-box p .lastopentime {
  margin-left: 12px;
}

.flex-box .nums {
  display: flex;
  flex-wrap: wrap;
}

.flex-box .nums .nums-box {
  flex: 1;
  margin-bottom: 7px;
  text-align: center;
}

.game-happy20 .flex-box .nums .nums-box {
  flex: 0 1 calc(100% / 10);
}

.flex-box .nums table {
  border: 0;
}

.flex-box .nums table td {
  border: 0;
}

.flex-box .nums .ball-x2 {
  width: 40px;
  height: 40px;
  font-size: 24px;
}

.flex-box .right {
  width: calc(100% - 300px);
}

/**
* ****************** Footer ******************
*/
.footer {
  background-color: #8b1a11;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 93px;
  position: relative;
}

.footer .container img {
  position: absolute;
  left: 5px;
  height: 75px;
  top: 9px;
}

/**
  * ****************** About Page ******************
  */
.description-wrapper {
  min-height: 300px;
}

.description-wrapper div {
  margin-top: 15px;
  font-size: 16px;
  line-height: 26px;
}

.description-wrapper [data-lang] {
  display: none;
}

/**
* ****************** Result Numbers ******************
*/
/* ***** Airship ***** */
.ball-airship {
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  height: 40px;
  width: 40px;
  margin: auto;
  text-align: center;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000;
}
.ball-airship.small {
  display: inline-flex;
  font-size: 14px;
  height: 23px;
  width: 23px;
  margin: 1px 7px;
}
.ball-airship.ball1 {
  background-color: #fffc34;
}
.ball-airship.ball2 {
  background-color: #0081f9;
}
.ball-airship.ball3 {
  background-color: #444444;
}
.ball-airship.ball4 {
  background-color: rgb(255, 112, 34);
}
.ball-airship.ball5 {
  background-color: rgb(35, 208, 208);
}
.ball-airship.ball6 {
  background-color: rgb(66, 36, 248);
}
.ball-airship.ball7 {
  background-color: #dfdfdf;
}
.ball-airship.ball8 {
  background-color: #ff0018;
}
.ball-airship.ball9 {
  background-color: #6d000b;
}
.ball-airship.ball10 {
  background-color: rgb(40, 185, 0);
}
.ball-airship.empty {
  background-color: rgb(153, 141, 141);
}

/* ***** 5D, Happy8, 11x5 ***** */
.ball-5d,
.ball-happy8,
.ball-11x5 {
  background: url(../img/ball_blue.png) center / contain no-repeat;
  border-radius: 50%;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  height: 40px;
  width: 40px;
}
.ball-5d.small,
.ball-happy8.small,
.ball-11x5.small {
  display: inline-flex;
  font-size: 14px;
  height: 25px;
  width: 25px;
  margin: 1px 12px;
}
.ball-happy8.ball19,
.ball-happy8.ball20 {
  background-image: url(../img/ball_red.png)
}

/* ***** Quick3 ***** */
.ball-quick3 {
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  height: 40px;
  width: 40px;
  margin: auto;
}
.ball-quick3.small {
  display: inline-flex;
  height: 26px;
  width: 26px;
  margin: 1px 15px;
}
.ball-quick3.ball1 {
  background: url(../img/dice/dice1.png) center / contain no-repeat;
}
.ball-quick3.ball2 {
  background: url(../img/dice/dice2.png) center / contain no-repeat;
}
.ball-quick3.ball3 {
  background: url(../img/dice/dice3.png) center / contain no-repeat;
}
.ball-quick3.ball4 {
  background: url(../img/dice/dice4.png) center / contain no-repeat;
}
.ball-quick3.ball5 {
  background: url(../img/dice/dice5.png) center / contain no-repeat;
}
.ball-quick3.ball6 {
  background: url(../img/dice/dice6.png) center / contain no-repeat;
}
.ball-quick3.empty {
  background: linear-gradient(#e7e7e7, #b6b6b7);
}

/* ***** Happy20 ***** */
.ball-happy20 {
  background: url(../img/ball_happy20_white.png) center / contain no-repeat;
  border-radius: 50%;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  height: 40px;
  width: 40px;
  margin: auto;
  text-align: center;
}
.ball-happy20.ball41,
.ball-happy20.ball42,
.ball-happy20.ball43,
.ball-happy20.ball44,
.ball-happy20.ball45,
.ball-happy20.ball46,
.ball-happy20.ball47,
.ball-happy20.ball48,
.ball-happy20.ball49,
.ball-happy20.ball50,
.ball-happy20.ball51,
.ball-happy20.ball52,
.ball-happy20.ball53,
.ball-happy20.ball54,
.ball-happy20.ball55,
.ball-happy20.ball56,
.ball-happy20.ball57,
.ball-happy20.ball58,
.ball-happy20.ball59,
.ball-happy20.ball60,
.ball-happy20.ball61,
.ball-happy20.ball62,
.ball-happy20.ball63,
.ball-happy20.ball64,
.ball-happy20.ball65,
.ball-happy20.ball66,
.ball-happy20.ball67,
.ball-happy20.ball68,
.ball-happy20.ball69,
.ball-happy20.ball70,
.ball-happy20.ball71,
.ball-happy20.ball72,
.ball-happy20.ball73,
.ball-happy20.ball74,
.ball-happy20.ball75,
.ball-happy20.ball76,
.ball-happy20.ball77,
.ball-happy20.ball78,
.ball-happy20.ball79,
.ball-happy20.ball80 {
  background-image: url(../img/ball_happy20_blue.png);
}
.ball-happy20.small {
  display: inline-flex;
  font-size: 14px;
  height: 24px;
  width: 24px;
  margin: 1px 7px;
}
