button:focus,
button:focus-visible {
	outline: none;
}
body {
	background-color: #161d3b;
	background-image: url("../img/background.webp");
	background-repeat: no-repeat;
    background-size: 100%;
	color: #fff;
	font-family: 'Montserrat';
}
.menu, .footer {
	background-color: #13172b;
	width: 100%;
}
.menu {
	position: sticky;
	top: 0;
	border-bottom: 5px solid #2996f7;
	text-align: left;
	z-index: 1;
}
.menu-content {
	position: relative;
	padding: 25px 0;
}

/* --- SIDEBAR CSS --- */
#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100%;
    z-index: 999;
    background: #394987;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    display: none;
    padding: 10px;
}
#sidebar.active {
    left: 0;
}
#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #13182c;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.overlay.active {
    display: block;
    opacity: 1;
}
#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}
#sidebar ul p {
    color: #fff;
    padding: 10px;
}
#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #fff;
}
#sidebar ul li a:hover {
    text-decoration: none;
}
a[data-toggle="collapse"] {
    position: relative;
}
.list-unstyled li {
    border-bottom: 1px solid #fff;
    list-style: none;
}
.list-unstyled li span {
    margin-right: 10px;
    color: #13172b;
}
#sidebarCollapse {
    background: none;
    border: none;
    color: #fff;
    font-size: 25px;
    float: left;
    display: none;
}
#sidebarCollapse:focus,
#sidebarCollapse:focus-visible {
	outline: none;
}
/* --- END SIDEBAR CSS --- */

.container {
	width: 85%;
	padding: 0;
}
.brand-logo {
	height: 44px;
}
.menu-list {
	display: inline;
	text-transform: uppercase;
	vertical-align: bottom;
	margin-left: 20px;
}
.menu-list a {
	color: #fff !important;
	padding: 5px;
}
.active,
.menu-list a:active,
.menu-list a:hover,
.menu-list a:focus {
	background-color: #377bf1;
    background-image: linear-gradient(#377bf1, #000);
    border-top: 3px solid #17c5fd;
    text-decoration: none;
}
.menu-list a:focus-visible {
    outline: 0;
}
.flagdiv {
    position: absolute;
    right: 10px;
    top: 10px;
    font-weight: bold;
}
.flagicon{
    height:20px;
}
.main {
	background-color: #202758;
	padding: 25px;
}
.title {
	background-color: #2995f7;
	background-image: linear-gradient(to right, #4361ed, #13d1ff);
	font-size: larger;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	padding: 20px 10px;
	border-radius: 5px;
}
.res-date-period,
.see-all {
	margin: 5px 30px;
    font-size: small;
}
.res-period {
	float: right;
}
.content-box {
	background-color: #3a4889;
	border-radius: 5px;
	padding: 20px 10px;
	text-align: center;
}
.result-box {
	width: 90%;
	margin: auto;
}
.result-row {
	text-align: center;
	border-bottom: 2px solid #2995f7;
	padding: 0 10px 10px 10px;
}
.result-row:not(:first-child) {
	padding-top: 10px;
}
.result-col {
	display: inline-block;
	width: 49%;
	text-align: left;
}
.place-number {
    display: inline-block;
    vertical-align: middle;
    width: 12%;
	font-size: xxx-large;
    font-weight: bold;
}
.place-text {
	display: inline-block;
    vertical-align: middle;
    font-size: larger;
    text-transform: capitalize;
}
.result-ball {
	height: 60px;
}
.result-ball:not(:last-child) {
	margin-right: 10px;
}
.ball-loading {
	scale: 1.4;
	margin-right: 6px;
}
.ball-animation {
	scale: 1.75;
	margin-right: 8px;
}
.see-all {
	text-align: center;
}
.see-all a {
	color: #13d1ff;
	text-decoration: underline;
	text-transform: capitalize;
}
.countdown-text {
	font-size: large;
    font-weight: bold;
    letter-spacing: 3px;
}
.cd-text, .cd-timer {
	display: inline-block;
	vertical-align: middle;
	margin-top: 10px;
	width: 34%;
}
.cd-text {
	text-align: left;
}
.cd-text p {
	margin: 0;
}
.cd-timer, .timer {
	font-size: xxx-large;
    font-weight: bold;
    letter-spacing: 3px;
}
.footer {
	border-top: 5px solid #2996f7;
	text-align: center;
	padding: 25px 0;
}
.footer span {
	display: block;
	margin-bottom: 5px;
	font-size: small;
}
.footer-icon {
	width: 40%;
}

/*RESULT 4D*/
#result-4d-table {
	text-align: center;
}
.result-tbl-row {
	display: flex;
	justify-content: space-evenly;
	margin-top: 10px;
}
.result4d-col {
	display: inline-block;
    width: 32%;
}
.res4d-ball {
	width: 20%;
/*	transition: .5s ease-in-out;*/
}
.res-sm-text, .result-row h5 {
	font-size: small;
}
.text-left {
	text-align: left;
}
.result5d-col {
	display: inline-block;
    width: 49%;
}
.res5d-ball {
	width: 15%;
/*	transition: .5s ease-in-out;*/
}
.mob-right {
	float: unset;
}
.no-data {
	margin: 20px auto;
	text-align: center;
    font-size: x-large;
    letter-spacing: 3px;
}
.custom-pagination {
	text-align: center;
	margin-top: 15px;
}
.stat-bar-data {
    background: #17c5fd;
    border: 1px solid #17c5fd;
    color: #fff;
    display: inline-block;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    padding-top: 3px;
    margin: 0 3px;
}
.stat-bar-data:hover {
    background: transparent;
    color: #17c5fd;
}
/*RESULT 4D*/

/*SCHEDULE*/
.sched-box {
	margin-top: 10px;
}
.sched-text {
	text-align: left;
	display: inline-block;
}
.sched-box p {
	margin-bottom: 0;
}
/*SCHEDULE*/

/*CHECKER*/
.checker-p {
	width: 90%;
    text-align: justify;
    margin: 10px auto 30px auto;
}
.check-row img {
	width: 10%;
    margin: 10px;
    transition: .5s ease-in-out;
}
.check-row img:active,
.check-row img:hover,
.check-row img:focus,
.check-ball-active,
.highlight-ball {
	webkit-filter: drop-shadow(0px 0px 15px rgba(0, 156, 255, 1));
    filter: drop-shadow(0px 0px 15px rgba(0, 156, 255, 1));
}
.choose-row {
	text-align: center;
    margin-top: 20px;
}
.checker-choose-btn {
	background-color: #17c5fd;
	border: none;
    color: #fff;
    padding: 10px 8px;
}
.check-active {
	background-color: #2995f7;
}
#choose-3D, #stat-3D {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-right: -1px;
}
#choose-5D, #stat-5D {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.che-box-row {
	text-align: center;
	margin-top: 10px;
}
.check-box {
	display: inline-block;
	vertical-align: middle;
	width: 120px;
	height: 120px;
	background-color: #3a4889;
	border-radius: 5px;
	margin: 0 3px;
}
.checker-btn {
	margin: 30px 0;
	text-align: center;
}
.checker-btn button {
	outline: none;
    padding: 5px;
    width: 150px;
    border-radius: 5px;
    color: #fff;
}
.reset-btn {
	background-color: #17c5fd;
	border: 1px solid #17c5fd;
}
.check-btn {
	background-color: #2995f7;
	border: 1px solid #2995f7;
}
.reset-btn:hover, .reset-btn:active,
.check-btn:hover, .check-btn:active {
	background-color: transparent;
}
.reset-btn:hover, .reset-btn:active {
	color: #17c5fd;
}
.check-btn:hover, .check-btn:active {
	color: #2995f7;
}
.check-box img {
	width: 90%;
}
.checker-modal .modal-header {
    display: block;
    text-align: center;
	background: #394989;
}
.checker-modal .close{
	background: #ffffff;
    color: #333333;
    width: 35px;
    height: 35px;
    border-radius: 100px;
    opacity: 1;
    padding: 0;
    margin-right: -30px;
    margin-top: -30px;
}
.checker-modal .modal-title {
	color: #fff;
	font-weight: bold;
}
.checker-modal .modal-body {
	background: #202758;
}
.checker-modal .tbl-content {
	max-height: 55vh;
	overflow: scroll;
	white-space: nowrap;
}
.checker-modal .subtitle {
	text-align: center;
}
.checker-modal table {
	color: #fff;
	text-align: center;
}
.checker-modal thead {
	background-color: #2995f7;
}
.checker-modal tbody {
	background-color: #394989;
}
.checker-modal td {
	vertical-align: middle;
}
#ballball img {
	width: 50px;
}
.check-numbers img {
	width: 12%;
}
.modal-lg {
    max-width: 96% !important;
}
/*CHECKER*/

/*STATISTIC*/
.draw-row {
	display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
}
.draw-box {
    background-color: #3a4889;
    border-radius: 5px;
    display: inline-block;
    width: 49%;
    margin: auto 5px;
    padding: 10px;
    vertical-align: top;
}
.draw-title {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.draw-range {
    display: inline-flex;
    flex-wrap: nowrap;
}
.draw-box select {
	border: none !important;
	border-radius: 5px;
	font-size: x-small;
}
.draw-range select:not(:last-child) {
	margin-right: 5px;
}
.select-range-to {
    padding: 2px 10px;
}
.stat-tbl-title {
    margin: 20px auto;
    text-align: center;
    font-size: larger;
}
.freq-ball-row {
    padding-bottom: 30px;
    border-bottom: 1px solid #fff;
    text-align: center;
}
.freq-ball-col {
    display: inline-block;
    width: calc(75%/10);
    margin: 0 10px;
    vertical-align: top;
}
.freq-ball {
    width: 100%;
    transition: .5s ease-in-out;
}
.freq-num {
    background-color: #3a4889;
    margin-top: 10px;
    border-radius: 5px;
    padding: 5px 0;
    text-align: center;
}
.stat-bar {
    margin: 30px auto 0 auto;
    padding: 0 5px;
}
.stat-bar-data-row {
	margin-top: 10px;
    text-align: center;
}
.stat-page .stat-bar-data {
    display: inline-block;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    padding-top: 8px;
    font-weight: bold;
    background: #3a4889;
    border: 1px solid #3a4889;
}
.stat-page .stat-bar-data:first-child {
	margin-left: 20px;
}
.stat-page .stat-bar-data:not(:last-child) {
    margin-right: 7px;
}
.stat-page .stat-bar-data:hover {
    color: #fff;
}
#myChart {
    margin: auto;
    height: 400px !important;
    width: 550px !important;
}
/*STATISTIC*/

/*ABOUT US*/
.about-us-content {
	width: 90%;
    margin: 0 auto;
    padding: 20px;
    text-align: justify;
}
.blue-text {
	color: #18c5fd;
}
/*ABOUT US*/

@media (max-width: 1100px) {
    .freq-ball-col {
        width: calc(70%/10);
    }
}
@media (max-width: 1000px) {
	.result-ball:not(:last-child) {
		margin-right: 5px;
	}
}
@media (max-width: 900px) {
    .freq-ball-col {
        width: calc(65%/10);
    }
}
@media (max-width: 830px) {
	.result-ball {
		height: 50px;
	}
}
@media (max-width: 768px) {
	body {
		background-color: #fff;
    	background-image: none;
	}
	.main {
		background-color: transparent;
		padding: 20px 0;
	}
	.container {
		width: 95%;
	}
	.menu {
		border-bottom: none;
	}
	.menu-content {
		text-align: right;
		padding: 10px 0;
	}
	.menu-list {
		display: none;
	}
    #sidebar,
	#sidebarCollapse {
        display: block;
    }
	.active,
	.menu-list a:active,
	.menu-list a:hover,
	.menu-list a:focus {
		background-color: #339bd5;
	    background-image: none;
	    border-top: none;
	}
	.flagdiv {
		position: unset;
    	margin: 16px 0 30px 20px;
	}
	.res-date-period,
	.see-all,
	.res-sm-text,
	.checker-p,
	.choose-row h5,
	.stat-tbl-title {
	    color: #13182c;
	}
	.res-date-period, .see-all {
	    margin: 5px 0;
	    font-weight: bold;
	}
	.result-box {
		width: 100%;
		display: flex;
    	flex-direction: column;
	}
	.result-row {
	    padding: 0;
	}
	.result-col {
	    display: block;
	    width: 100%;
	    text-align: center;
	    margin-bottom: 10px;
	}
	.result-ball {
		height: 70px;
	}
	#result-5d .result-ball {
		height: 60px;
	}
	.result-box h5,
	.sched-box h5 {
		font-size: inherit;
	}
	.result-box h5 {
		order: 2;
	}
	#countdown-4d.content-box,
	#countdown-5d.content-box {
		 padding: 5px 10px 20px 10px;
	}
	#countdown-4d .result-box .cd-text {
		order: 2;
		font-size: small;
		text-align: center;
	}
	.cd-text, .cd-timer {
		width: 100%;
	}
	#countdown-4d .result-box .cd-timer {
		display: block;
	    margin-left: 0;
	    margin-top: 0;
	    order: 1;
	}
	#result-5d .result-row {
		padding-bottom: 10px;
	}
	.footer span {
		font-size: xx-small;
	}
	.result-tbl-row {
		display: block;
		margin-top: 0;
	}
	.result4d-col,
	.result5d-col {
		display: block;
		width: 100%;
		margin-top: 10px;
	}
	.res-sm-text {
		display: inline-block;
		font-weight: bold;
	}
	.res4d-ball {
		width: 15%;
	}
	.res4d-ball, .res5d-ball {
		margin-bottom: 5px;
	}
	.mob-right {
		float: right;
	}
	.sched-box p {
		font-size: small;
	}
	.checker-p {
	    width: 100%;
	    margin: 10px 0px;
	}
	.check-row img {
	    width: 15%;
	    margin: 5px;
	}
	#check5D .check-box {
		width: 100px;
		height: 100px;
	}
	.check-numbers img {
	    width: 20%;
	}
	.about-us-content {
		background-color: #202758;
	    width: 100%;
	    border-radius: 5px;
	    margin-top: 10px;
	}
    .freq-ball-col {
        width: calc(100%/10);
        margin: 5px 25px;
    }
    .draw-row {
	    display: block;
	    text-align: center;
	}
	.draw-box {
		display: block;
	    width: 100%;
	    margin: 10px 0;
	}
	#myChart {
		width: 100% !important;
	}
	.stat-page .stat-bar-data:first-child {
		margin-left: 11px;
	}
	.stat-page .stat-bar-data:not(:last-child) {
	    margin-right: 5px;
	}
}
@media (max-width: 688px) {
    .draw-box {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}
@media (max-width: 600px) {
	#check4D .check-box {
		width: 100px;
		height: 100px;
	}
    .freq-ball-col {
        margin: 5px 20px;
    }
}
@media (max-width: 561px) {
    #myChart {
        width: 400px !important;
    }
    .stat-page .stat-bar-data {
	    width: 25px;
	    height: 25px;
	    padding-top: 1px;
	    font-size: 15px;
	}
	.stat-page .stat-bar-data:not(:last-child) {
	    margin-right: 7px;
	}
}
@media (max-width: 550px) {
	#check5D .check-box {
		width: 80px;
		height: 80px;
	}
}
@media (max-width: 465px) {
    .freq-ball-col {
        margin: 5px 15px;
    }
}
@media (max-width: 450px) {
	#check5D .check-box {
		width: 70px;
		height: 70px;
	}
	#check4D .check-box {
		width: 90px;
		height: 90px;
	}
	.stat-bar-data {
	    width: 20px;
	    height: 20px;
	    padding-top: 2px;
	    font-size: x-small;
	}
    #myChart {
        width: 350px !important;
    }
    .stat-page .stat-bar-data {
	    width: 25px;
	    height: 25px;
	    padding-top: 4px;
	    font-size: 10px;
	}
	.stat-page .stat-bar-data:not(:last-child) {
	    margin-right: 2px;
	}
	.stat-page .stat-bar-data:first-child {
	    margin-left: 11px;
	}
}
@media (max-width: 425px) {
    .stat-tbl-title {
        font-size: 17px;
    }
    .freq-ball-col {
        width: calc(130%/10);
        margin: 5px 10px;
    }
	.result-ball {
		height: 55px;
	}
	#result-5d .result-ball {
		height: 45px;
	}
}
@media (max-width: 400px) {
	#check4D .check-box {
		width: 80px;
		height: 80px;
	}
	#check5D .check-box {
		width: 60px;
		height: 60px;
	}
    #myChart {
        width: 300px !important;
    }
    .stat-page .stat-bar-data {
	    width: 20px;
	    height: 20px;
	    padding-top: 2px;
	}
	.stat-page .stat-bar-data:first-child {
	    margin-left: 14px;
	}
}
@media (max-width: 360px) {
    .freq-ball-col {
        margin: 5px 10px;
    }
    .freq-ball-col {
        width: calc(120%/10);
    }
    .freq-num {
        padding: 5px 2px;
        font-size: 12px;
    }
    #myChart {
        width: 270px !important;
    }
    .stat-page .stat-bar-data:not(:last-child) {
	    margin-right: -1px;
	}
}
@media (max-width: 350px) {
	#check4D .check-box {
		width: 70px;
		height: 70px;
	}
	.checker-btn button {
		width: 140px;
		font-size: small;
	}
	#check5D .check-box {
	    width: 55px;
	}
}