/* 768 ~ 960*/

.ads-gallery .masonry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.mw600{
  max-width:600px
}

.nr-ball {
  font-family: sans-serif;
  text-align: center;
  margin: 10px;
  background: #ecd383;
  font-weight: bold;
  font-size: 24px;
  box-shadow: inset 5px -5px 15px rgba(0, 0, 0, 0.8),
    inset -5px 5px 5px rgba(0, 0, 0, 0.2), 0 0 10px black;
  color: #333;
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  border: 2px solid black;
  transform: scale(1);
  opacity: 1;
  transition: transform 1s linear, opacity 1s linear;
  display: inline-block;
}
#roadmap table {
  max-width: 900px;
  /* margin: auto; */
  background-color: white;
  table-layout: fixed;
  white-space: nowrap;
}
.week-six-br div,
.week-color div {
  width: 20px;
}
.ball-text div {
  font-size: 20px;
  line-height: 20px;
  width: 35px;
  color: black;
}

table td {
  width: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
}
table td div {
  height: 20px;
  line-height: normal;
}

tr.bg-warning {
  font-size: large;
}
.week-six-br.none-border {
  border: none !important;
}
.week-six-br {
  border-right: 1.5px solid #007bff;
  border-bottom: 0;
  color: #2980b9;
  width: 15px;
}

.week-six-bd {
  border-bottom: 2px solid black;
}
.week-six-text {
  border-bottom: 2px solid red;
  color: red;
  font-weight: bold;
}
.week-color {
  background-color: #ccc;
  width: 15px;
}
.ball-text {
  font-weight: bolder;
  font-size: larger;
}

.lottery-nums {
  overflow: hidden;
}

.lottery-nums > div {
  display: block;
  float: left;
  width: 25px;
  height: 25px;
  border: 1px solid #999;
  background-color: #fff;
  color: #555;
  font-size: 20px;
  padding: 10px;
  text-align: center;
  line-height: 25px;
  margin-right: 10px;
  margin-bottom: 10px;
  box-sizing: initial;
}

.lottery-nums .selected {
  background-color: green;
  color: #fff;
}

.lottery-nums .highlight {
  background-color: red;
  color: #fff;
}

.lottery-nums .selected.highlight {
  background-color: yellow;
  color: #333;
}

#lottery-result,#mmno{
  font-size: 36px;
  margin-top: 30px;
}
/* 手機 */
@media (max-width: 575.98px) {
  .lottery-nums{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  .lottery-nums > div{
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 5px;
  }
  #gulong-pills-fill span{
    width: 80px;
    display: inline-block;
    font-size: 18px;
    text-align: center;
  }
  #gulong-pills-fill .col-6{
    padding: 0;
  }
  .ads-gallery .masonry-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .nr-ball {
    margin: 5px;
    font-size: 14px;
    box-shadow: inset -1px 2px 3px rgba(0, 0, 0, 0.8),
      inset 0px 0px 0px rgba(0, 0, 0, 0.2), 0 0 10px black;
    color: #333;
    width: 32px;
    height: 32px;
    line-height: 32px;
  }
  .table-wrapper .row .cell:first-child {
    width: 100%;
  }
  .table-wrapper .cell {
    padding: 2px 16px;
    display: block;
  }

  .table-wrapper .row {
    padding: 14px 0 7px;
    display: block;
  }

  .table-wrapper .row.header {
    padding: 0;
    height: 6px;
  }

  .table-wrapper .row.header .cell {
    display: none;
  }

  .table-wrapper .row .cell {
    margin-bottom: 10px;
  }

  .table-wrapper .row .cell:before {
    margin-bottom: 3px;
    content: attr(data-title);
    min-width: 98px;
    font-size: 12px;
    line-height: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #969696;
    display: block;
  }

  .table-wrapper .table {
    display: block;
  }
  .card .tab-content{
    padding: 0;
  }
}

/* pc */
@media (min-width: 960px) {
  #roadmap img {
    width: 50%;
    margin: auto;
  }
  .ads-gallery .masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1440px) {
  .ads-gallery .masonry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.table-wrapper .table {
  margin: 0 0 40px 0;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: table;
}

.table-wrapper .row {
  display: table-row;
  background: #f6f6f6;
}
.table-wrapper .row:nth-of-type(odd) {
  background: #e9e9e9;
}
.table-wrapper .row.header {
  font-weight: 900;
  color: #ffffff;
  background: #ea6153;
  font-size: large;
  text-align: center;
}
.table-wrapper .row.green {
  background: #27ae60;
}
.table-wrapper .row.blue {
  background: #2980b9;
}

.table-wrapper .cell {
  padding: 6px 12px;
  display: table-cell;
}
.table-wrapper .row .cell:first-child {
  width: 8rem;
  vertical-align: middle;
  text-align: center;
  font-size: large;
}
