@charset "utf-8";


.mobile-lottery-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 auto;
    padding-bottom: 110px !important;
}



.lottery-container-inner {
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}



#fD_table {
    background: none repeat scroll 0 0 #F2F2F2;
    float: left;
    margin: 0;
    overflow: hidden;
    width: 100%;
    padding-bottom: 5px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -khtml-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#D_main {
    background: none;
    border-radius: 10px;
    float: left;
    margin: 0 10px 23px 10px;
    overflow: hidden;
    width: 235px;
    padding-bottom: 5px;
}

#fD_table_header {
    height: 54px;
    position: relative;
    width: 100%;
    margin-bottom: 5px;
}

.magnum {
    background: none repeat scroll 0 0 #262626;
    color: #FFFFFF !important;
}

.damacai {
    background: none repeat scroll 0 0 #0F1468;
    color: #FFFFFF !important;
}

.toto {
    background: none repeat scroll 0 0 #ED363F;
    color: #FFFFFF !important;
}

.singapore {
    background: none repeat scroll 0 0 #12689B;
    color: #FFFFFF !important;
}

.cash {
    background: #083e04;
    color: #fff !important;
}

.stc {
    background: #2f9505;
    color: #fff !important;
}

.t88 {
    background: #e02217;
    color: #fff !important;
}

#fD_table_title {
    color: #FFFFFF;
    font-size: 11px;
    left: 10px;
    position: absolute;
    top: 15px;
}

#fD_table_img {
    position: absolute;
    right: 5px;
    top: 7px;
}

#fD_table_result {
    padding: 0px 5px;
    width: 100%;
}

#fD_table_result table,
#fD_table_result th,
#fD_table_result td {
    border: 1px solid #999999;
}

#fD_table_result table,
#fD_table_result th,
#fD_table_result td {
    border: 1px solid #999999;
}

.fD_top3_description {
    color: #FFFFFF;
    font-size: 12px;
}

.fD_top3_no {
    border: 1px solid #343434;
    color: #000000;
    font-size: 13px;
    font-weight: bold;
}

.fD_normalPrice {
    border: 1px solid #343434;
    border-collapse: collapse;
    color: #000000;
    font-size: 12px;
    margin-top: 5px;
}

#fD_table table {
    float: initial;
}

.lucky {
    background: #00aced;
    color: #fff !important;
}

.perdana {
    background: #777777;
    color: #fff !important;
}

/*-------------Mobile---------------*/
.tab-bar-4d {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 10px 5px;
    margin: 0 auto;
    display: flex;
    background: #046684;
}

.lottery-div {
    width: 100%;
    padding: 0 20px;
}

.mobile-lottery-container {
    width: 100%;
    height: 500px;
    padding: 0;
    border: 1px solid red;
    height: auto;
}

.mobile-lottery-header {
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    padding: 15px 10px 0 10px;
    display: flex;
}

.bg-magnum {
    background: none repeat scroll 0 0 #262626;
}

.bg-dmc {
    background: none repeat scroll 0 0 #0F1468;
}

.bg-toto {
    background: none repeat scroll 0 0 #ED363F;
}

.bg-sg {
    background: none repeat scroll 0 0 #12689B;
    border-top: 1px solid #168b91;
}

.bg-sab {
    background: #e02217;
}

.bg-sdk {
    background: #2f9505;
}

.bg-big {
    background: #083e04;
}

.bg-dg {
    background: #e02217;
}

.bg-lotto {
    background: none repeat scroll 0 0 #0F1468;
}

.lottery-title {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0;
    width: 50%;
}

.lottery-date {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0;
    float: right;
    width: 50%;
    text-align: right;
}

.tab-bar-4d .btnTab {
    display: inline-block;
    cursor: pointer;
    width: 100%;
    padding: 0 2px;
    border: 0;
    height: auto;
    opacity: .5;
    background: transparent;
}

.tab-bar-4d .btnTab img {
    border-radius: 5px;
    max-height: 100% !important;
    max-width: 100% !important;
}

.tab-bar-4d .btnTabActive {
    opacity: 1;
    background: transparent;
    padding: 0 2px;
}

.tab-bar-4d .btnTabActive:hover {
    padding: 0 2px;
}

.tab-bar-4d .btnTabActive:focus {
    outline: none;
}

@media (max-width: 360px) {
    .tab-bar-4d .btnTab {
        padding: 0 2px;
    }
}

.betnow-wrapper {
    width: 100%;
    padding: 0 20px;
    margin: 5px auto 10px auto;
    text-align: center;
    display: flex;
    column-gap: 0;
    text-align: center;
}

.bet-btn-inner {
    width: 100%;
    text-align: center;
}

.betnow-wrapper img {
    max-width: 150px;
}

@media (max-width: 390px) {
    .betnow-wrapper {
        column-gap: 10px;
    }

    .betnow-wrapper img {
        max-width: 110px;
    }
}



/*---------------*/

.outer {
    margin: 0 auto;
    max-width: 800px;
}

#big .item {
    width: 100%;
    padding: 0;
    margin: 0;
}

#thumbs {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 0;
    margin: 0 auto;
    display: flex;
    background: #046684;
}

#thumbs .item {
    height: auto;
    line-height: 1;
    padding: 2px;
    margin: 0;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    opacity: .5;
}

#thumbs .item:last-child {
    margin-right: 0;
}

#thumbs .current .item {
    opacity: 1;
}

.owl-theme .owl-nav [class*='owl-'] {
    transition: all .3s ease;
}

.owl-theme .owl-nav [class*='owl-'].disabled:hover {
    background-color: #D6D6D6;
}

#big.owl-theme {
    position: relative;
}

.owl-item .current .active {
    max-width: 100% !important;
    max-height: 100% !important;
}

.owl-carousel .owl-item img {
    max-width: 100%;
    max-height: 100%;
}


#big.owl-theme .owl-next,
#big.owl-theme .owl-prev {
    background: #333;
    width: 22px;
    line-height: 40px;
    height: 40px;
    margin-top: -20px;
    position: absolute;
    text-align: center;
    top: 50%;
}

#big.owl-theme .owl-prev {
    left: 10px;
}

#big.owl-theme .owl-next {
    right: 10px;
}

#thumbs.owl-theme .owl-next,
#thumbs.owl-theme .owl-prev {
    background: #333;
}

.owl-carousel {
    max-width: 400px !important;
}

@media (max-width: 768px) {
    .owl-carousel {
        max-width: 728px !important;
    }
}

@media (max-width: 700px) {
    .owl-carousel {
        max-width: 680px !important;
    }
}

@media (max-width: 650px) {
    .owl-carousel {
        max-width: 620px !important;
    }

    #thumbs {
        padding: 5px 0px 5px 0px;
    }
}

@media (max-width: 600px) {
    .owl-carousel {
        max-width: 580px !important;
    }

    .owl-item {}
}

@media (max-width: 550px) {
    .owl-carousel {
        max-width: 540px !important;
    }

    #thumbs .owl-stage .owl-item .active {
        width: 62px !important;
    }

    .owl-item .active {
        width: 580px !important;
    }
}

@media (max-width: 540px) {
    .owl-carousel {
        max-width: 500px !important;
    }

    #thumbs .owl-stage .owl-item .active {
        width: 55px !important;
    }

    .owl-item .active {
        width: 500px !important;
    }
}

@media (max-width: 500px) {
    .owl-carousel {
        max-width: 480px !important;
    }

    #thumbs .owl-stage .owl-item .active {
        width: 52px !important;
    }

    .owl-item .active {
        width: 480px !important;
    }
}

@media (max-width: 450px) {
    .owl-carousel {
        max-width: 430px !important;
    }

    #thumbs .owl-stage .owl-item .active {
        width: 50px !important;
    }

    .owl-item .active {
        width: 430px !important;
    }
}

@media (max-width: 414px) {
    .owl-carousel {
        max-width: 390px !important;
    }

    #thumbs .owl-stage .owl-item .active {
        width: 46px !important;
    }

    .owl-item .active {
        width: 390px !important;
    }
}

@media (max-width: 390px) {
    .owl-carousel {
        max-width: 360px !important;
    }

    #thumbs .owl-stage .owl-item .active {
        width: 42px !important;
    }

    .owl-item .active {
        width: 360px !important;
    }

    .mobile-lottery-header {
        height: 36px;
        padding: 10px 10px 0 10px;
    }
}

@media (max-width: 375px) {
    .owl-carousel {
        max-width: 350px !important;
    }

    #thumbs .owl-stage .owl-item .active {
        width: 40px !important;
    }

    .owl-item .active {
        width: 340px !important;
    }

}

@media (max-width: 360px) {
    .owl-carousel {
        max-width: 340px !important;
    }
}

@media (max-width: 340px) {
    .owl-carousel {
        max-width: 300px !important;
    }

    #thumbs .owl-stage .owl-item .active {
        width: 26px !important;
    }
}

@media (max-width: 300px) {
    .owl-carousel {
        max-width: 270px !important;
    }

    #thumbs .owl-stage .owl-item .active {
        width: 20px !important;
    }
}


/*---------CSS for Pay out---------*/
.payout-wrapper {
    max-width: 1100px;
    height: auto;
    margin: 0 auto 30px auto;
    padding:20px 20px 0 20px;
}
.payout-wrapper-inner {
    width:100%;
    height: auto;
    margin: 0 auto 50px auto;
    padding: 0;
}
@media (max-width: 550px) {
    .payout-wrapper-inner {
        margin-bottom:20px;
    }
}
.payout-wrapper-inner:last-child {
    margin-bottom: 0 auto 20px auto;
}
.lottery-table-fixed-column-outter {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}

.lottery-table-fixed-column-inner {
    overflow-x: scroll;
    overflow-y: visible;
    margin-left: 110px;
    scrollbar-color: #046579 #c2c1c1;
    scrollbar-width: thin;
    -ms-overflow-style: none;
}

.lottery-table-fixed-column-inner .table>thead {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    text-align: right;
}

.lottery-table-fixed-column-inner .table>tbody {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #000;
    text-align: right;
}

.table.lottery-table-fixed-column {
    table-layout: fixed;
    width: 100%;
}

.lottery-table-fixed-column-inner .table td,
.lottery-table-fixed-column-inner .table th {
    width: 80px;
}

.lottery-table-fixed-column-inner .table th:first-child,
.lottery-table-fixed-column-inner .table tr td:first-child {
    position: absolute;
    left: 0;
    width: 110px;
    text-align: left;
}

.lottery-table-fixed-column-inner .table tr td:first-child {
    background: #77e4f9;
}
.pkg-link{
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
}
.pkg-link:hover{
    color: #77e4f9;
    text-decoration: none;
}
.pkg-link img{
    width: 20px;
    height: 20px;
}
/*---------END CSS for Pay out---------*/


/*----------CSS for package page------*/

.package-wrapper {
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
    padding:20px;
 }
.package-inner{
    max-width: 100%;
    scrollbar-color: #046579 #c2c1c1;
    scrollbar-width: thin;
    -ms-overflow-style: none;

    margin: 0 ;
    padding: 0;
    position: relative;
}
#pkg {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-align: center!important;
    border-collapse: collapse;
    margin-bottom: 20px;
  }
  #pkg thead{
    position: sticky;
    top:60px;
  }
  #pkg  td, th {
    padding: 5px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  #pkg  td, th:first-child {
    border-left: 1px solid #ccc;
  }
  #pkg  thead tr {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
 }
 #pkg th {
    background: #26abc5;
    position: sticky;
    top:60px; /* Don't forget this, required for the stickiness */
    box-shadow: 0;
    border: 1px solid #fff!important;
  }
  #pkg  tbody {
    width: 100%;
  }
  /*
  #pkg  tbody tr:nth-child(even) {
    background: #ddd;
  }*/
  .view{
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    width: 60px;
    border-radius: 5px;
    border: 0;
    background: #26abc5;
    text-decoration: none;
  }
  input[type=radio]:checked ~ .check {
    border: 5px solid #0DFF92;
  }
  
  input[type=radio]:checked ~ .check::before{
    background: #0DFF92;
  }
  
  input[type=radio]:checked ~ label{
    color: #0DFF92;
  }
/*
  #price {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-align: center!important;
    border-collapse: collapse;
    width: 100%;
  }
  
  #price td, #price th {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 8px;
    font-size: 13px;
    font-weight: 500;
}
#price td:last-child, #price th:last-child {
    border-right:0;
}
  
   #price th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    color: white;
  }
  #price td {
    background: #26abc5;
    font-size: 13px;
    font-weight: 700;
   }*/