

div {
	box-sizing: border-box;
	
}
.overlay{
            position:fixed;
            top:0;
            bottom:0;
            left:0;
            right:0;
            background:rgba(0,0,0,.7);
            transition:opacity .5s;
            visibility:visible;
            opacity:1;
            z-index:999
         }
        .overlay:target{
            visibility:hidden;
            opacity:0
        }
.popup{
            top:50%;
            left:50%;
            transform:translate(-50%,-50%);
            padding:2px;
            /*background:#fff;*/
            border-radius:5px;
            width:30%;
            position:relative;
            /*transition:5s ease-in-out*/
        }
        .popup h2{
            margin-top:0;
            color:#333;
            font-family:Tahoma,Arial,sans-serif
        }
        .popup .close{
            position:absolute;
            /*top:20px;*/
            right:5px;
            transition:.2s;
            font-size:30px;
            font-weight:700;
            text-decoration:none;
            color:#fff;
        }
            
        .popup .close:hover{
            color:#06d85f
        }
        .popup .content{
            max-height:30%;
            overflow:auto;
            margin-top:30px
        }
        @media screen and (max-width:700px){.popup{width:85%}
}

div {
	box-sizing: border-box;
	
}
body {
	
	background: black;
	font-family: 'Oswald', sans-serif;
}
.space {
	width: 100%;
	height: 150px;
}
.container2 {
	width: 65%;
	margin: auto;	
}
.banner-float {
	position: fixed;
	width: 100%;
	text-align: center;
	bottom: 0px;
	z-index: 9999;
}
.banner-float img {
	width: 728px;
	
}
.banner1 img {
	display: inline-block;
	width:49.5%;
	border: 1.5px solid #fff;
    box-sizing: border-box;
    padding: 1px;
}
.floating-top {
	background: transfarant; top: 0; height: auto; left: 0; padding: 0px; position: fixed; text-align: center; width: 100%; z-index: 1001;
}
.floating-bottom {
	background: transfarant; bottom: 0; height: auto; left: 0; padding: 0px; position: fixed; text-align: center; width: 100%; z-index: 1001;
}
.floating-top img {
	width: 33%;
	height: 100px;
	border: 1.5px solid #fff;
    box-sizing: border-box;
    padding: 1px;
}
.floating-bottom img {
	width: 33%;
	height: 90px;
	border: 1.5px solid #fff;
    box-sizing: border-box;
    padding: 1px;
}
.headerbanner{
text-align:center;
}
.headerbanner img {
	display: inline-block;
	width: 728px;
	padding-top: 2px;
	border: 1.5px solid #fff;
    box-sizing: border-box;
    padding: 2px;
}
.banner-top img {
	width: 728px;
}
.head {
	width: 100%;
	padding: 20px;
	background: black;
	border: 1px solid #a10d15;
	box-shadow: 0 0 6px 5px #a10d15;
	margin-top: 20px;
	margin-bottom: 30px;
}
.logo {
	display: block;
	width: 550px;
	height: 180px;
	background: url("/livehkg.png") center no-repeat;
	background-size: 100% 100%;
	margin: auto;
}
.menu {
	display: block;
	width: 100%;
	text-align: center;
	background: linear-gradient(to bottom, #ff0044 0%, #a10d15 50%, #a10d15 100%);
	margin-bottom: 20px;
}
.menu a {
	display: inline-block;
	padding: 10px 20px;
	text-decoration: none;
	color: white;
	margin: 0px;
	font-size: 18px;
}
.menu a:hover {
	color: black;
}

.content {
	width: 100%;
	border: 0px solid #a10d15;
    box-shadow: 0 0 6px 5px #a10d15;
}

h1, h2, h3, h4 {
	text-align: center;
	margin-bottom: 15px;
}

h3 {
	font-family: Arial;
	margin: 35px 0px;
	color: white;
	font-size: 22px;
}

h4 {
	font-family: Arial;
	margin: 30px 0px;
	color: black;
	font-size: 20px;
}

.title-head {
    font-size: 24px;
	text-decoration: none;
	color: white;
} 

.title-footer {
    font-size: 22px;
	text-decoration: none;
	color: white;
}

.content p {
	text-align: justify;
	font-size: 16px;
	color: white;
	margin: 20px;
}

.genericon {color:black;}
a {color:black;}
a:hover {color:#000000;
    text-decoration: none;
}


.lassres {
	width: 100%;
	margin: auto;
}

.lassres table {
	width: 100%;
	
}

.out-link {
	list-style-type: square;
	margin:  0px 35px;
	color: white;
}

.out-link a {
	text-decoration: none;
	color: white;
}


.hk-table {
        width: 100%;
        max-width: 98%;
        margin: auto;
        border-collapse: collapse;
        font-size: 1rem;
        border: 1px solid #ddd;
      }
      .hk-table th, .hk-table td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: center;
      }
      .hk-table th {
        background: linear-gradient(to bottom, #ff0044 0%, #a10d15 50%, #a10d15 100%);
        color: #fff;
        font-weight: bold;
      }
      .hk-table tr:nth-child(even) {
        background: #ccc;
        color: black;
      }
      .hk-table tr:nth-child(odd) {
        background: white;
        color: black;
      }

@media only screen and (max-width: 768px) {
    .floating-top img {
width:100%
}
.floating-bottom img {
width:100%
}
  .headerbanner img{
  width:100%;
  }
    .logo {
	width: 280px;	
	height: 80px;
	margin: auto;
	}
    .paitotable {
        width: 100%;
    }
}
.hk-table {
        width: 98%;
    }

.table {
    width: 100%;
    border-collapse: collapse;
    margin: 1px auto;
}
.TableKeluaran {
    width: 100%;
    margin: auto;
    text-align: center;
    border: 1px solid #ddd;
    border-spacing: 0px;
}

.KeluaranHeader {
    color: #fff;
    font-size: 16px;
    border: 1px solid #ddd;
    border-collapse: collapse;
    padding: 10px 0;
    background: linear-gradient(to bottom, #ff0044 0%, #a10d15 50%, #a10d15 100%);
}

@media screen and (max-width: 1200px) {
    .KeluaranBody {
        font-size: 15px;
    }
}

td.Keluaran_Banner_Body {
    display: none;
}

th.data-hk-lotto {
    background: #9c1512;
}

.entry-ld-container .entry-ld-table .entry-ld-brand {
    width: 100%;
    background-color: #000;
    border: 1px solid #ddd;
}

.entry-content th, .entry-content td, .comment-content th, .comment-content td {
    padding: 4px 10px;
}

@media screen and (max-width: 1200px) {
    .KeluaranBody {
        font-size: 15px;
    }
}
@media only screen and (max-device-width: 1000px) {
	.floating-top img {
width: 96%;
height: 43px;
border: 1px solid #fff;
box-sizing: border-box;
padding: 1px;
}
.floating-bottom img {
width: 96%;
height: 43px;
border: 1px solid #fff;
box-sizing: border-box;
padding: 1px;
}
  .headerbanner img{
  width:100%;
  }
    .logo {
	width: 280px;	
	height: 80px;
	margin: auto;
	}
    .container2 {
        width: 100%;
    }
}
td.KeluaranBody {
    border: 1px solid #ddd;
}
table {
    border-collapse: collapse;
    width: 100%;
}
@media only screen and (max-device-width: 550px) {
	.logo {
	width: 350px;
    margin: auto;        
	} 
  .banner1 img {
		display: inline-block;
		width: 100%;
	}
}  
.banner1 {
		display: block;
		text-align:center;
	}
	
.banner img {
		display: block;
		width: 100%;
		margin: 0px;
	}
	.banner-float {
		width: 100%;
		
	}
	
	.banner-float img {
		width: 100%;
		
	}
    /* ===== Special Elements ===== */
    .update-box {
        background: #f5f5f5;
        border-left: 4px solid #ddd;
        padding: 15px;
        margin: 20px 0;
        border-radius: 0 5px 5px 0;
    }
    .faq-item {
        background: #f5f5f5;
        padding: 8px;
    }
    
    .faq-question {
        font-weight: bold;
        color: black;
        font-size: 1.1rem;
    }
    
    /* ===== Footer ===== */
    footer {
        text-align: center;
        padding: 10px;
        color: #000;
        font-size: 14px;
    }