.table-result {
  text-align: center;
  font-family: arial;
  border: 1px solid #ccc;
  /* margin: 5% 0; */
  transition: 0.5s;
  background-color: #fff;
  -webkit-border-radius:4px;
  border-radius: 10px;
  border-collapse: separate;
  overflow: hidden;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

.table-result td,
.table-lottery th {
  padding: 0;
}

table td,
table th {
  padding: 3px;
  border: solid 1px #dddfe2;
}

.special-prize {
  float: left;
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 34px;
  font-weight: bold;
  color: #ed1c25;
}

.cau-xs {
  cursor: pointer;
}

.prize1 {
  float: left;
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  font-weight: bold;
}

.prize2 {
  float: left;
  width: 50%;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  font-weight: bold;
}

.prize3 {
  float: left;
  width: 33.3%;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  font-weight: bold;
}

.prize4 {
  float: left;
  width: 25%;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  font-weight: bold;
}

.prize5 {
  float: left;
  width: 33.3%;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  font-weight: bold;
}

.prize6 {
  float: left;
  width: 33.3%;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  font-weight: bold;
}

.prize7 {
  float: left;
  width: 25%;
  height: 40px;
  line-height: 40px;
  font-weight: bold;
  font-size: 20px;
  color: #ed1c25;
}

td div:not(:first-child,:nth-child(4)),.prize7:nth-child(4),.prize4:nth-child(4) {
  border-left: 1px solid #ccc;
}

.prize3:nth-child(1),.prize3:nth-child(2),.prize3:nth-child(3),
.prize5:nth-child(1),.prize5:nth-child(2),.prize5:nth-child(3)
{
     border-bottom: 1px solid #ccc;
}

connection .line .arrow {
  top: -5px;
  height: 0;
  width: 0;
  position: absolute;
  border-bottom: 6px solid transparent;
  border-top: 6px solid transparent;
  background-clip: border-box
}

connection .line .arrow-fw {
  border-right: 12px solid black
}

connection .line .arrow-bw {
  left: 100%;
  border-left: 12px solid black;
  transform: translateX(-12px)
}

connection .line .text {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -100%)
}

connection .line {
  z-index: 9999;
  position: absolute;
  height: 2px;
  background-color: black
}

.headpn {
  height: 50px;
  width: 100%;
  float: left
}
.special-prize:hover,.prize7:hover,.prize6:hover,.prize5:hover,.prize4:hover,.prize3:hover,.prize2:hover,.prize1:hover {
  background-color: #fff4c3;
}
.cau-selected {
  background: #00f;
  color: #fff;
  font-size: 28px;
  border-radius: 4px;
  padding: 0 3px;
}
.item-bd .btn{
  cursor: pointer;
}
/* .cauxs.active {
  background: #00f;
  color: #fff;
} */
.cauxs{
  display: inline-block;
  font-weight: 400;
  line-height: 0.75;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem .375rem;
  font-size: 1rem;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  border-radius: 3px;
  border: 1px solid #ccc;
}
.cauxs.active {
  background: #fcb016;
  border-color: #fcb016;
  color: #fff;
}
.cau-result {
    background: #f00;
    font-size: 28px;
    border-radius: 4px;
    padding: 0 2px;
    color: #fff;
}
.caumbdb{color:red}
.caumbchon{color: blue;}
.caumbresult{color:#ffa500}
.cau-loto{color: #f00;font-weight:700}
.title{
    font-weight: 700;
    margin-bottom: .2em;
    
}
.list-statistic{
    margin-bottom: 1em;
}
b.cau-homsau {
    color: #00f;
}
b.cau-dave {
    color: red;
}
/*soi cau lo mn*/
.xs_prize3 {
    float: left;
    width: 33.3%;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
}
.xs_prize1 {
    float: left;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
}
.xs_prize2 {
    float: left;
    width: 50%;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
}
.number_G8 {
    float: left;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 25px;
    font-weight: bold;
    color: #ed1c25;
}
.number_DB {
    float: left;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 34px;
    font-weight: bold;
    color: #ed1c25;
}
.number-prize {
    width: 90%;
}

.xsmnsc tr:nth-child(4) td:nth-child(2) div{
    border-bottom: none !important;
}
.xsmnsc tr:nth-child(6) td:nth-child(2) div:nth-child(4){
    border-left: none !important;
}

/* tao phoi */
.main-phoi{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.tb-taophoi{
  width: 24.5%;
  /*margin: 0 6px 12px 7px;*/
}
.tb-taophoi .table-result{
    margin-bottom: 10px !important;
}
.tb-taophoi .kqmb .v-madb{
  font-size: 15px;
}
@media screen and (max-width:1440px ) {
  .tb-taophoi{
    width: 23.5%;
  }
}
@media screen and (max-width:1024px ) {
  .tb-taophoi{
    width: 31%;
  }
}
@media screen and (max-width: 900px ) {
  .tb-taophoi{
    width: 48%;
  }
}
@media screen and (max-width: 767px ) {
  .tb-taophoi{
    width: 100%;
  }
}

.hide-result {
    display: none !important;
}

.red {
    background: red !important;
    border-color: red !important;
    color: #fff !important;
}
.green {
    background: #FF5C00 !important;
    border-color: #FF5C00 !important;
    color: #fff !important;
}

#contentCau td.active{
    color: #fff !important;
    background-color: #f60;
}

.tbl-cauloto td {
    width: 78px;
}
@media screen and (max-width: 48em){
    .tbl-cauloto td {
        min-width: 50px;
    }
}
