@font-face {
  font-family: "IcoFont";
  font-weight: normal;
  font-style: "Regular";
  src: url("../fonts/iconfont.woff") format("woff");
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

:root {
  --max-width: 1200px;
  --font-large: 1.5rem;
  --font-normal: 1rem;
  --font-small: 0.8rem;
  --nav-height: 80px;
  --nav-width: 100px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f0f0f0;
  display: grid;
  grid-auto-rows: auto 1fr auto;
  height: 100vh;
}

a {
  text-decoration: none;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.text-red {
  color: rgb(241, 45, 53) !important;
}

.text-blue {
  color: rgb(24, 77, 213) !important;
}

.text-yellow {
  color: #d4ae6a !important;
}

.text-orange {
  color: #f44a07 !important;
}

.text-green {
  color: rgb(0, 128, 0) !important;
}

/* header start */
header {
  background-color: #f0f0f0;
  position: relative;
}

.header_wrapper {
  width: min(var(--max-width), 100%);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
}

.nav_wrapper {
  width: min(var(--max-width), 100%);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  position: relative;
}

nav {
  background: linear-gradient(#f73b32, #d41f2b);
  clear: both;
  height: var(--nav-height);
}

.header_wrapper a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.header_wrapper a img {
  width: min(300px, 100%);
}

ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.phone {
  height: var(--nav-height);
  width: var(--nav-width);
  display: grid;
  align-items: center;
  justify-content: center;
  background-color: rgba(50, 50, 50, 0.8);
}

#nav_links li {
  /* height: var(--nav-height); */
  width: var(--nav-width);
  display: grid;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

#nav_links li:hover {
  background: linear-gradient(#343139, #71433a);
}

#nav_links li.active {
  background-color: #dd3f39;
}

#nav_links li a {
  color: #fff;
  position: relative;
  font-size: var(--font-normal);
}

.phone a {
  color: #fff;
  white-space: nowrap;
  font-size: var(--font-normal);
}

.phone img {
  padding-right: 5px;
}

#nav_links li.active a {
  text-decoration: underline yellow;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

#link_list li a {
  font-size: var(--font-small);
  color: #fff;
}

#link_list li a.active,
#link_list li a.active:visited {
  display: block;
  background-color: #dd3f39 !important;
  padding: 6px 14px;
  border-radius: 4px;
}

#nav_popup {
  display: none;
  background-color: #343139;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 999;
}

.nap_popup_wrapper {
  width: min(var(--max-width), 100%);
  margin-inline: auto;
  padding: 2rem 0;
}

#link_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

#link_list li {
  text-align: center;
  padding-bottom: 1rem;
}

#link_list li a {
  font-size: var(--font-small);
  color: #fff;
}

#link_list li a:hover {
  color: yellow !important;
}

/* header end */
/* main start */
main {
  margin-top: 20px;
}

.main_wrapper {
  width: min(var(--max-width), 100%);
  margin-inline: auto;
  border-top: 2px solid #d41f2b;
  background-color: #fff;
}

.red {
  background: -webkit-gradient(linear,
      left top,
      left bottom,
      color-stop(2%, #e94e4d),
      to(#e0060f));
  background: linear-gradient(180deg, #e94e4d 2%, #e0060f);
}

.blue {
  background: -webkit-gradient(linear,
      left top,
      left bottom,
      color-stop(2%, #46a7d3),
      to(#0689cd));
  background: linear-gradient(180deg, #46a7d3 2%, #0689cd);
}

.green {
  background: -webkit-gradient(linear,
      left top,
      left bottom,
      color-stop(2%, #4cbf80),
      to(#0da85d));
  background: linear-gradient(180deg, #4cbf80 2%, #0da85d);
}

.numlightblue {
  border-radius: 100%;
  background: -webkit-gradient(linear,
      left top,
      left bottom,
      from(#50ccd0),
      to(#07b8c7));
  background: linear-gradient(#50ccd0, #07b8c7);
}

.numblue {
  border-radius: 100%;
  background: #07f;
}

.dice1 {
  background: url(../images/lottery_images.png) no-repeat -424px 0;
}

.dice2 {
  background: url(../images/lottery_images.png) no-repeat -424px -43px;
}

.dice3 {
  background: url(../images/lottery_images.png) no-repeat -424px -86px;
}

.dice4 {
  background: url(../images/lottery_images.png) no-repeat -424px -129px;
}

.dice5 {
  background: url(../images/lottery_images.png) no-repeat -424px -172px;
}

.dice6 {
  background: url(../images/lottery_images.png) no-repeat -424px -215px;
}

.checkbox .checked:hover i {
  background: url(../images/lottery_images.png) no-repeat -232px -249px;
}

.checkbox .checked i {
  border: 1px solid #fa8e19;
  background: url(../images/lottery_images.png) no-repeat -200px -249px;
}

.tobottom {
  width: 20px;
  padding: 0;
  background: url(../images/lottery_images.png) no-repeat -261px -235px;
}

.squareb01,
.squareb1 {
  background: url(../images/lottery_images.png) no-repeat -246px 0 !important;
}

.squarem01,
.squarem1 {
  background: url(../images/lottery_images.png) no-repeat -246px -284px;
}

.squares01,
.squares1 {
  background: url(../images/lottery_images.png) no-repeat 0 -199px;
}

.squareb02,
.squareb2 {
  background: url(../images/lottery_images.png) no-repeat -42px 0 !important;
}

.squarem02,
.squarem2 {
  background: url(../images/lottery_images.png) no-repeat -42px -284px;
}

.squares02,
.squares2 {
  background: url(../images/lottery_images.png) no-repeat -36px -199px;
}

.squareb03,
.squareb3 {
  background: url(../images/lottery_images.png) no-repeat -82.8px 0 !important;
}

.squarem03,
.squarem3 {
  background: url(../images/lottery_images.png) no-repeat -83px -284px;
}

.squares03,
.squares3 {
  background: url(../images/lottery_images.png) no-repeat -71px -199px;
}

.squareb04,
.squareb4 {
  background: url(../images/lottery_images.png) no-repeat -123px 0 !important;
}

.squarem04,
.squarem4 {
  background: url(../images/lottery_images.png) no-repeat -123px -284px;
}

.squares04,
.squares4 {
  background: url(../images/lottery_images.png) no-repeat -107px -199px;
}

.squareb05,
.squareb5 {
  background: url(../images/lottery_images.png) no-repeat -286px 0 !important;
}

.squarem05,
.squarem5 {
  background: url(../images/lottery_images.png) no-repeat -286px -284px;
}

.squares05,
.squares5 {
  background: url(../images/lottery_images.png) no-repeat -142px -199px;
}

.squareb06,
.squareb6 {
  background: url(../images/lottery_images.png) no-repeat -1px 0 !important;
}

.squarem06,
.squarem6 {
  background: url(../images/lottery_images.png) no-repeat -1px -284px;
}

.squares06,
.squares6 {
  background: url(../images/lottery_images.png) no-repeat -178px -199px;
}

.squareb07,
.squareb7 {
  background: url(../images/lottery_images.png) no-repeat -205px 0 !important;
}

.squarem07,
.squarem7 {
  background: url(../images/lottery_images.png) no-repeat -205px -284px;
}

.squares07,
.squares7 {
  background: url(../images/lottery_images.png) no-repeat -213px -199px;
}

.squareb08,
.squareb8 {
  background: url(../images/lottery_images.png) no-repeat -164px 0 !important;
}

.squarem08,
.squarem8 {
  background: url(../images/lottery_images.png) no-repeat -164px -284px;
}

.squares08,
.squares8 {
  background: url(../images/lottery_images.png) no-repeat -249px -199px;
}

.squareb09,
.squareb9 {
  background: url(../images/lottery_images.png) no-repeat -327px 0 !important;
}

.squarem09,
.squarem9 {
  background: url(../images/lottery_images.png) no-repeat -327px -284px;
}

.squares09,
.squares9 {
  background: url(../images/lottery_images.png) no-repeat -284px -199px;
}

.squareb10 {
  background: url(../images/lottery_images.png) no-repeat -368px 0 !important;
}

.squarem10 {
  background: url(../images/lottery_images.png) no-repeat -368px -284px;
}

.squares10 {
  background: url(../images/lottery_images.png) no-repeat -320px -199px;
}

.bignum {
  background: url(../images/lottery_images.png) no-repeat 0 -237px;
}

.smallnum {
  background: url(../images/lottery_images.png) no-repeat -40px -237px;
}

.singularnum {
  background: url(../images/lottery_images.png) no-repeat -120px -237px;
}

.evennum {
  background: url(../images/lottery_images.png) no-repeat -80px -237px;
}

.circleRed {
  background: url(../images/lottery_images.png) no-repeat -90px -49px !important;
}

.CTOG1KLSFnumberbox .circleRed {
  background: url(../images/lottery_images.png) no-repeat -91px -49px !important;
}

.circleBlue {
  background: url(../images/lottery_images.png) no-repeat -1px -47px !important;
}

.circleGray {
  background: url(/_nuxt/img/bjpknum2_gray.97e82c2.png) no-repeat -1px -47px !important;
}

.circleLightBlue {
  background: url(../images/lottery_images.png) no-repeat -356px -325px !important;
}

.circleDarkBlue {
  background: url(../images/lottery_images.png) no-repeat -394px -325px !important;
}

.circleOrange {
  background: url(../images/lottery_images.png) no-repeat -432px -325px !important;
}

.circleBig {
  background: url(../images/lottery_images.png) no-repeat 0 -327px;
}

.circleBig_gray {
  background: url(/_nuxt/img/bjpknum2_gray.97e82c2.png) no-repeat 0 -327px;
}

.circleSmall {
  background: url(../images/lottery_images.png) no-repeat -46px -327px;
}

.circleSmall_gray {
  background: url(/_nuxt/img/bjpknum2_gray.97e82c2.png) no-repeat -46px -327px;
}

.circleSingular {
  background: url(../images/lottery_images.png) no-repeat -138px -327px;
}

.circleSingular_gray {
  background: url(/_nuxt/img/bjpknum2_gray.97e82c2.png) no-repeat -138px -327px;
}

.circleEven {
  background: url(../images/lottery_images.png) no-repeat -90px -327px;
}

.circleEven_gray {
  background: url(/_nuxt/img/bjpknum2_gray.97e82c2.png) no-repeat -90px -327px;
}

.circleSum {
  background: url(../images/lottery_images.png) no-repeat -318px -326px;
}

.plus {
  background: url(../images/lottery_images.png) no-repeat -376px -373px;
}

.smallNum {
  background: url(../images/lottery_images.png) no-repeat -40px -237px;
}

.bigNum {
  background: url(../images/lottery_images.png) no-repeat 0 -237px;
}

@keyframes rolling {
  0% {
    line-height: 0;
  }

  20% {
    line-height: 20px;
  }

  40% {
    line-height: 40px;
  }

  60% {
    line-height: 60px;
  }

  80% {
    line-height: 80px;
  }

  to {
    line-height: 90px;
  }
}

.roll {
  animation: rolling 0.2s ease-in-out infinite forwards;
}

.circle {
  border-radius: 50% !important;
}

.bg-white {
  background-color: #fff;
}

.noContent {
  display: none;
  text-align: center;
}

/* main end */

/* table start */
table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-small);
}

thead th {
  font-weight: normal;
}

.bold {
  font-weight: bold;
}

th,
td {
  padding: 20px;
}

.odd {
  background-color: #fff;
}

.even {
  background-color: rgb(212, 212, 212);
}

.spade::before {
  content: "\E658";
}

.clubs::before {
  content: "\E655";
}

.heart:before {
  content: "\E657";
}

.diamond:before {
  content: "\E656";
}

.lottery_result {
  width: 100%;
  max-width: 480px;
}

#lottery_options {
  display: none;
}

/* table end */

/* footer start */
.top_wrapper {
  margin: 0 auto;
  position: relative;
  max-width: 1500px;
  width: 100%;
  height: 0;
  display: none;
}

#goTop {
  position: fixed;
  display: block;
  right: 10px;
  bottom: 10px;
  height: 60px;
  width: 60px;
  background: #fff url(../images/lottery_images.png) no-repeat -46px -91px;
  -webkit-transition: opacity 0.1s ease-out;
  transition: opacity 0.1s ease-out;
  opacity: 1;
  z-index: 10;
  cursor: pointer;
  -webkit-box-shadow: 0 2px 3px hsla(0, 0%, 4%, 0.1),
    0 0 0 1px hsla(0, 0%, 4%, 0.3);
  box-shadow: 0 2px 3px hsla(0, 0%, 4%, 0.1), 0 0 0 1px hsla(0, 0%, 4%, 0.3);
}

footer {
  width: 100%;
  height: 300px;
  position: relative;
  background-color: #af161d;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: 1rem;
}

.footer_wrapper,
.copyright_wrapper {
  width: min(var(--max-width), 100%);
  margin-inline: auto;
}

.footer_wrapper p,
.copyright_wrapper p {
  text-align: center;
  color: hsla(0, 0%, 100%, 0.5);
  font-size: var(--font-normal);
}

#footer_list {
  justify-content: space-evenly;
  padding-top: 2rem;
}

.copyright {
  background-color: #302525;
}

.copyright_wrapper {
  height: 60px;
  color: #806b52;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* footer end */