@font-face {
    font-family: 'dswallau';
    src: url('../fonts/DSWallau.ttf'); /* IE9 Compat Modes */
  }
:root {
    --lgold : #ead093;
    --dcream : #e5c47e;
    --cream : #f7e2b2;
    --gold : #f7be3b;
    --dgold : #cc8f02;
    --yellow : rgb(255, 242, 57);
    --dyellow : rgb(223, 219, 0);
}

.body{
    /* background: rgb(2,0,36); */
    background: linear-gradient(180deg, var(--lgold) 0%, var(--cream) 35%, var(--dgold) 100%) no-repeat fixed center;
    font-size: 20px;
    font-family: 'dswallau', sans-serif;
    color: #000;
    font-size: 24px;
}
.container-fluid {
    padding : 0;
}
.header{
    background-color: rgba(0,0,0,0.7);
}
.logo {
    max-width: 250px;
    border-radius: 50%;
    -webkit-animation: rotateX 3s infinite linear;
    animation: rotateX 3s infinite linear;
    background-color: rgba(0,0,0,0.4);
}
.navbar-nav .active {
    color: var(--gold)!important;
}
#ct {
    vertical-align: middle;
}
.marquee-text {
    background-color: var(--dcream);
    color: #fff;
}
.marquee-text p {
    margin: 0;
    padding: 10px;
}
#carousel-home {
    margin: 25px auto;
    max-height: 350px;
}
.carousel-item img {
    max-height: 350px;
}
.carousel-item:after {
    content:"";
    display:block;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background:rgba(0,0,0,0.5);
}
.ticker {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}
#ct5 {
    text-shadow: 2px 2px #555;
}
.news {
    width: 76%;
    justify-content: center;
    align-items: center;
}
.title {
    width: 24%;
    text-align: center;
    position: relative;
}
.title h5 {
    font-size: 20px;
    font-style: italic;
    font-weight: bold;
    padding: 10px;
}
.news marquee {
    font-size: 20px;
}
.news marquee p {
    vertical-align: middle;
    display: inline-block;
    margin-right: 42px;
    font-weight: bold;
    margin-bottom: 0;
    padding: 10px;
}
.last-result-info {
    width: 80%;
    margin: 0 auto;
    background-color: var(--gold);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 50px;
    color: #000;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 2px 2px 5px #000;
    display: inline-block;
    height: fit-content;
    font-weight: bold;
}
.info-draw {
    text-align: center;
}
.info-draw-title {
    padding: 10px;
    background-color: var(--dgold);
    color: #fff;
    margin: 0 20px;
    border: 2px solid var(--cream);
    border-left: none;
    border-right: none;
}
.info-draw-prize {
    padding: 10px;
}
.info-box {
    width: 50%;
    display: inline-block;
    padding: 15px;
    text-shadow: 1px 1px #555;
    background-color: var(--lgold);
    color: #000;
    border-radius: 15px;
    border: 2px solid #000;
}
.info-box-header p {
    text-align: center;
    margin: 0 auto;
    background-color: var(--dgold);
    color: #fff;
    width: 60%;
    margin-top: -30px;
    margin-bottom: 25px;
}
.card-header {
    background-color: var(--cream);
    text-align: left;
}
.card {
    background-color: var(--lgold);
}
.btn-link {
    color: #000;
}
.collection {
    display: inline-block;
    width: 48%;
    padding: 15px;
}
.last_result_info {
    overflow-x: scroll;
}
.last_result_info::-webkit-scrollbar {
    display: none;
}
#last_result {
    min-width: 800px;
}
.clc-img {
    width: 100%;
    max-height: 200px;
}
.text-small {
    font-size: smaller;
}
.livedraw-box {
    margin: 25px auto;
}
.lottery-box {
    position: relative;
}
.livedraw-info {
    background-size: contain;
    background-repeat: no-repeat;
    color: #fff;
    min-height: 300px;
}
.date-info, .periode-info {
    display: block;
}
.livedraw-info h3, .livedraw-info p {
    display: inline-block;
}
.next-draw {
    margin: 15px auto;
    background-color: var(--cream);
    padding: 10px;
    width: 100%;
    border-radius: 15px;
    color: #000;
    box-shadow: 2px 2px 2px 2px #555;
    border: 2px solid black;
    border-bottom: none;
}
.text-draw, .time-draw {
    display: inline-block;
    width: 40%;
    vertical-align: middle;
}
.hour, .minute, .second {
    display: inline-block;
}
.hour:after, .minute:after {
    content: " : ";
    font-weight: bold;
}
#hour, #minute, #second, #hour2, #minute2, #second2 {
    display: inline-block;
    margin: 0;
    padding: 2px 10px;
    background-color: var(--gold);
    color: #000;
    border: 2px solid black;
    box-shadow: 2px 2px 2px #ccc;
}
.table thead th{
    border-bottom: 2px solid #000;
    border-top:  none;
}
.table td{
    border-top: 2px solid#000;
}
.info-box-content{
    margin: 10px 0;
    padding: 5px;
}
.info-box-date .text-small{
    border-bottom: 2px dashed #000;
    padding-bottom: 10px;
    margin-bottom: 5px;
}
.prize_table td:nth-child(1){
    font-weight: bold;
}
.conso_starter thead {
    font-weight: bold;
}
.result_num {
    width: 50px;
}
.box-content .row {
    margin: 0;
}
.content-info{
    background-color: #fffe50;
    padding: 15px;
    border: 2px solid black;
    border-radius: 15px;
    box-shadow: 2px 2px #555;
    margin-bottom: 100px;
}
.small-box-content {
    width: 33%;
    display: inline-block;
    vertical-align :top;
}
.small-box-content img {
    width: 80px;
}
.small-box-content-img {
    width: 30%;
    display: inline-block;
    vertical-align: top;
}
.small-box-content-text{
    width: 65%;
    display: inline-block;
}
.small-box-content-text h5 {
    font-weight: bold;
}
.last_result_info{
    margin: 25px auto;
    padding: 20px;
    background: linear-gradient(225deg,var(--gold),var(--dgold));
    color: var(--cream);
    text-shadow: 2px 2px #555;
}
thead th {
    background-color: transparent;
}
tfoot {
    border-top: 1px solid black;
}
#last_result {
    padding: 20px;
    text-align: center;
}
#last_result th {
    font-weight: bold;
}
#last_result tr td, #last_result th {
    background-color: transparent!important;
}
.footer {
    width: 100%;
    text-align: center;
    background: var(--dgold);
    padding: 20px 0;
    color: #000;
}
.last_result_info {
    margin-bottom: 100px;
}
.livedraw-info-box {
    margin-top: 25px;
    width: 100%;
    background: linear-gradient(225deg,var(--gold),var(--dgold));
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 50px;
    color: var(--cream);
    text-transform: uppercase;
    text-shadow: 2px 2px #555;
    text-align: center;
    border : 1px solid black;
    box-shadow: 2px 2px #000;
    display: inline-block;
    height: fit-content;
}
.livedraw-logo {
    width: 150px;
    margin: 25px 0;
}
.btn-details{
    background-color: #ff0000;
}
#detail_result .modal-body {
    text-align: center;
}
#detail_result .modal-header {
    text-align: center;
}
#detail_result .modal-content {
    background: #000;
    color: #ccc;
}
.about-box {
    background: linear-gradient(225deg,var(--gold),var(--dgold));
    padding: 25px;
    border: 2px solid black;
    border-radius: 15px;
    box-shadow: 2px 2px #555;
    margin: 25px 0;
    color: var(--cream);
    text-shadow: 2px 2px #555;
}
.footer p{
    margin: 0;
}
@media screen and (min-width : 992px) {
    .livedraw-info {
        background-image: url('../img/LotteryBox500.png');
        background-position: center center;
    }
}
@media screen and (min-width : 1200px) {
    .livedraw-info {
        background-image: url('../img/LotteryBoxEmpty.png');
        background-position: top;
    }
    .livedraw-num{
        padding-left: 200px;
    }
    .livedraw-number {
        width: 120px;
        height: 120px;
        margin: 0 25px;
        padding-top: 45px;
        font-size: 24px;
    }
    .date-info, .periode-info {
        display: inline-block;
    }
    .date-info{
        padding: 35px 0 0 175px;
    }
    .periode-info{
        margin-left: 250px;
    }
}
@media screen and (max-width : 1199px) {
    .date-info, .periode-info {
        display: inline-block;
    }
    .date-info{
        padding: 75px 0 0 325px;
    }
    .periode-info{
        margin-left: 350px;
    }
    .livedraw-num{
        padding-left: 225px;
    }
    .livedraw-number {
        width: 80px;
        margin: 0 15px;
    }
    .last-result-info, .info-box{
        width: 100%;
    }
    .text-draw {
        display: none;
    }
    .time-draw {
        width: 100%;
    }
    .collection {
        width: 80%;
        margin: 0 auto;
    }
}
@media screen and (max-width : 991px){
    .livedraw-info {
        background-image: url('../img/LotteryBox700.png');
    }
    .navbar-collapse {
        background-color: var(--dgold);
        padding: 15px;
    }
    .date-info{
        padding: 75px 0 0 225px;
    }
    .periode-info{
        margin-left: 250px;
    }
    .livedraw-info{
        min-height: 400px;
    }
    .livedraw-num{
        padding-left: 100px;
    }
    .livedraw-number {
        width: 80px;
        margin: 20px;
    }
    .last-result-info {
        width: 100%;
    }
    .info-box {
        width: 100%;
    }
}
@media screen and (max-width : 767px){
    .date-info{
        padding: 50px 0 0 125px;
    }
    .periode-info{
        margin-left: 150px;
    }
    .livedraw-info{
        min-height: 300px;
    }
    .livedraw-num{
        padding-left: 60px;
    }
    .livedraw-number {
        width: 40px;
        height: 40px;
        margin: 5px;
    }
}
@media screen and (max-width : 530px){
    .date-info{
        padding: 50px 0 0 125px;
    }
    .periode-info{
        margin-left: 150px;
    }
    .livedraw-info{
        min-height: 300px;
    }
    .livedraw-num{
        padding-left: 60px;
    }
    .livedraw-number {
        padding-top: 15px;
        min-width: 60px;
        min-height: 60px;
        margin: 10px;
    }
    .result_num {
        width: 30px;
    }
}
@media screen and (max-width : 530px){
    .date-info{
        padding: 20px 60px;
    }
    .livedraw-info {
        background-color: #000;
        background-image: none;
        border: 10px solid gold;
    }
    .periode-info{
        margin-left: 60px;
    }
    .livedraw-info{
        min-height: 300px;
    }
    .livedraw-num{
        padding-left: 15%;
    }
    .livedraw-number {
        padding-top: 8px;
        min-width: 30px;
        min-height: 30px;
        font-size: 16px;
        background-image: none;
        border: 1px solid gold;
        border-radius: 50%;
    }
}
@media screen and (max-width : 497px) {
    .hour, .minute, .second {
        width: 100%;
    }
    .collection {
        width: 100%;
    }
}
@-webkit-keyframes rotateX {
    25% { -webkit-transform: rotateZ(15deg); }
    75% {-webkit-transform: rotateZ(-15deg);}
}
@keyframes rotateY {
    25% { transform: rotateZ(15deg); }
    75% { transform: rotateZ(-15deg);}
}