body {
	background-color: #2b2c29;
    color: #ffffff;
    text-align: center;
}
header {
    text-align: left;
}
header.no-opacity {
    background-image: url('/image/Backgrnd_desktop.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
header.add-opacity {
    position: relative;
}
header.add-opacity::before {
    content: "";
    background-image: url('/image/Backgrnd_desktop.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: -1;
}
header a {
	color: #ffffff;
	font-weight: 600;
	text-transform: uppercase;
}
a {
	text-decoration: none;
}
a:focus, a:hover {
    color: #ffffff;
    text-decoration: none;
    outline: none;
}
.icon img {
	width: 15%;
}
.container {
    width: 90%;
    padding: 0;
    margin: auto;
}
.menu-content {
	vertical-align: top;
	padding: 40px 0;
	position: relative;
    z-index: 1
}
.menu-list {
    right: 50px;
}
.menu-list a {
	padding: 4px 6px;
}
.menu-list .active,
.menu-list a:hover,
.menu-list a:active {
	color: #272822;
    background-color: #ffbd14;
    border-radius: 5px;
}
.menu-list, .select-languge {
	display: inline;
    position: absolute;
}
.select-languge {
    right: 0;
    top: 30px;
}
.lang-icon {
	width: 34px;
	height: 34px;
}
.lang-dropdown {
	background-color: #2c2d28;
    padding: 5px 5px 15px 5px;
    border-radius: 50px;
    text-align: center;
}
.lang-dropdown.dropClose {
	background-color: transparent;
}
#lang-selected {
	cursor: pointer;
}
#lang-opt {
	margin-top: 10px;
	display: none;
	cursor: pointer;
}
#lang-opt2 {
    margin-top: 10px;
    display: none;
    cursor: pointer;
}
.lang-row span {
	display: block;
	font-size: smaller;
	text-transform: uppercase;
}
.lang-dropdown.dropClose span,
.lang-dropdown.dropClose .lang_options{
	display: none;
}


/* --- SIDEBAR CSS --- */
#sidebar {
    width: 300px;
    position: fixed;
    top: 0;
    right: -300px;
    height: 100%;
    z-index: 999;
    background: #2b2c29;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    display: none;
}
#sidebar.active {
    right: 0;
}
.sidebar-top {
	text-align: left;
    padding: 40px 0 20px 0;
    position: relative;
    margin: 0 20px;
}
.sidebar-logo {
	width: 74%;
}
#dismiss {
    text-align: center;
    color: #fff;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    font-size: xxx-large;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.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 a {
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
}
.sidebar-menu-icon {
	width: 12%;
    margin-right: 10px;
}
a[data-toggle="collapse"] {
    position: relative;
}
.list-unstyled {
	margin: 0 20px 40px 20px
}
.list-unstyled li {
    list-style: none;
    text-align: left;
    padding: 20px 0;
    text-transform: uppercase;
}
.list-unstyled li span {
    margin-right: 10px;
    color: #13172b;
}
#sidebarCollapse {
    background: none;
    border: none;
    color: #fff;
    font-size: x-large;
    position: absolute;
    top: 50%;
    right: 47px;
    transform: translateY(-50%);
    display: none;
}
#sidebarCollapse:focus,
#sidebarCollapse:focus-visible {
	outline: none;
}
.sidebar-bottom {
	background-color: #ffbc16;
	padding: 20px;
}
.sidebar-socmed {
	margin-bottom: 40px;
}
.sidebar-socmed a {
	color: #3b3b3b;
	font-size: xx-large;
    margin: 15px;
}
.sidebar-bottom p {
	color: #3b3b3b;
    font-size: x-small;
    font-weight: 700;
}
/* --- END SIDEBAR CSS --- */

/*FOOTER*/
footer {
	padding: 40px 0;
	background-color: #000000;
	border-bottom: 20px solid #ffbc16;
}
.footer-content {
	display: flex;
	justify-content: space-between;
}
.footer-column {
    display: inline-block;
    vertical-align: middle;
	width: 48%;
}
.footer-column div {
	display: inline-block;
	vertical-align: middle;
}
.footer-logo {
	width: 28%;
	text-align: left;
}
.footer-logo img {
	width: 85%
}
.footer-text {
	width: 70%;
	text-align: left;
}
footer .menu-row {
	display: block;
	border-top: 1px solid #3b3b3b;
	border-bottom: 1px solid #3b3b3b;
	padding: 20px 0;
}
footer .menu-col {
	display: inline-block;
	width: 40%;
	text-align: left;
	vertical-align: top;
}
footer .menu-col a {
	color: #ffffff;
    text-transform: uppercase;
}
footer .menu-col a:hover {
	color: #ffbc16;
}
.add-margin-top-40 {
	margin-top: 80px;
}
.footer-socmed {
	float: left;
}
.footer-socmed a {
	color: #ffbc16;
	font-size: xx-large;
}
.footer-socmed a:not(:last-child) {
	margin-right: 20px;
}
.copyright {
	color: #ffbc16;
	float: right;
}


/*HOME*/
.home-content {
	padding-bottom: 20px;
}
#home-result {
	width: 50%;
	margin: 0 auto;
	position: relative;
}
.result-board, #video-result, .frame-bottom ,
#ps-top-border,
.checker-img, .cborder-top, .au-frame-top {
	width: 100%;
	margin: auto;
}
.display-result {
	position: absolute;
    width: 72%;
    top: 66%;
    left: 49%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-evenly;
}
.res-col {
	width: 25%;
	transition: all 1s ease;
}
.res-col img {
	width: 75%;
  	animation: appear 3s ease;
}
.res-col span {
    display: block;
    font-size: x-small;
	color: #fcee21;
    margin-top: 5px;
}
.result-date {
    position: absolute;
    width: 100%;
    top: 84%;
    left: 49%;
    transform: translate(-50%, -50%);
	font-weight: bold;
  	animation: appear 3s ease;
    font-size: larger;
}
.result-date span{
	font-weight: normal;
}
#home-next-result {
	padding-bottom: 40px;
	background-color: #ffbc16;
	color: #212222;
}
#next-res-date {
	font-weight: bolder;
}
#next-res-date span {
	font-weight: normal;
}
#hv-frame {
	width: 100%;
	position: relative;
}
.frame-bottom {
	position: relative;
}
.home-menu {
	display: flex;
    justify-content: space-evenly;
    padding: 40px;
}
.home-menu a {
	color: #2b2c29;
	font-weight: bold;
}
.hm-col {
	display: inline-block;
    background-color: #ffbd14;
    border: 2px solid #ffbd14;
    border-radius: 20px;
    width: 20%;
    padding: 20px 10px;
    transition: all 1s ease;
}
.hm-col:hover {
	background-color: transparent;
}
.hm-col:hover .hm-text{
	color: #ffbd14;
}
.hm-icon, .hm-text {
	display: inline-block;
	position: relative;
	vertical-align: top;
	top: 50%;
    transform: translateY(-50%);
}
.hm-icon {
	margin-right: 10px;
	width: 20%;
    height: -webkit-fill-available;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.history-ib {
	background-image: url('/image/history-icon.png');
}
.numGen-ib {
	background-image: url('/image/num-gen-icon.png');
}
.stat-ib {
	background-image: url('/image/stat-icon.png');
}
.result-ib {
	background-image: url('/image/results-icon.png');
}
.hm-col:hover .history-ib {
	background-image: url('/image/history-icon-yellow.png');
}
.hm-col:hover .numGen-ib {
	background-image: url('/image/num-gen-icon-yellow.png');
}
.hm-col:hover .stat-ib {
	background-image: url('/image/stat-icon-yellow.png');
}
.hm-col:hover .result-ib {
	background-image: url('/image/results-icon-yellow.png');
}
.hm-icon img {
	width: 50%;
}
.hm-text {
	text-align: left;
}

/*RESULTS*/
.past-result-container {
	position: relative;
}
.custom-tbl {
	width: 90%;
    margin: auto;
    text-align: center;
}
.custom-tbl th, .custom-tbl td,
.hm-modal-tbl th, .hm-modal-tbl td {
	padding: 10px;
}
.custom-tbl th,
.hm-modal-tbl th {
	color: #ffbc16;
	text-transform: uppercase;
	text-align: center;
}
.custom-tbl tbody tr:nth-child(odd),
.hm-modal-tbl tbody tr:nth-child(odd) {
	background-color: #3b3b3b
}
.tbl-ball-img {
	margin: 0 3px;
  	animation: appear 3s ease;
}
.tbl-vid, .tbl-ball-img {
	width: 40px;
}
.tbl-vid:hover, #see-more:hover {
    opacity: 0.5;
}
.ps-table{
	margin-bottom: 40px;
}
#see-more {
	margin-bottom: 40px;
	color: #ffbc16;
	font-weight: bolder;
	font-size: x-large;
	cursor: pointer;
}
.custom-pagination {
	width: 90%;
    margin: 0 auto 40px auto;
}
.stat-bar-data {
	color: #ffffff;
	background-color: #ffbc16;
	border: 1px solid #ffbc16;
	font-weight: bold;
    padding: 5px 10px;
    margin: 3px;
}
.stat-bar-data:hover {
	background-color: transparent;
	color: #ffbc16;
}
.filter-div {
	display: inline;
    position: absolute;
    top: 0;
    width: 90%;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: right;
    z-index: 1;
}
.filter-container {
	display: inline-block;
}
#filter-by-time {
	background-color: #ffbc16;
    border: 1px solid #ffbc16;
    color: #2b2c29;
    font-weight: bolder;
    outline: none;
}
.dropdown-menu {
	width: 100%;
    min-width: unset;
}
.dropdown-menu li {
	color: #2b2c29;
    text-align: center;
    font-weight: bolder;
    padding: 5px 0;
    cursor: pointer;
}
.dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid #2b2c29;
}
.display-table {
    display: table !important;
}

/*NUMBER GENERATOR*/
.number-generator-content h1 {
    font-size: xx-large;
}
#generator-div {
	text-align: center;
	position: relative;
}
#generator-div h1,
#checker-div h1,
#stat-text-content h1 {
	color: #fcee21;
    text-transform: uppercase;
    margin: 0;
}
.generator-img {
	width: 50%;
    margin-top: 10px;
}
#generate-number {
	display: block;
    position: absolute;
    width: 35%;
    top: 78%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffbc16;
    border: 1px solid #ffbc16;
    border-radius: 7px;
    font-size: larger;
    font-weight: 600;
    color: #2b2c29;
    padding: 4px;
    text-transform: capitalize;
}
#generate-number:hover {
	background-color: #e2a100;
}
#set-number {
	background-color: #ffbc16;
	color: #212222;
	padding-bottom: 40px;
}
.numGen-command {
	margin: auto;
}
#counter-label {
	display: inline-block;
	width: 120px;
	background-color: #ffffff;
    font-weight: bolder;
    line-height: 50px;
    vertical-align: middle;
    font-size: xx-large;
    position: relative;
}
.numGen-counter {
    display: inline;
    margin-right: 30px;
}
.numGen-counter button {
    position: relative;
    z-index: 1;
    padding: 0;
    outline: none;
	width: 50px;
    line-height: 50px;
    vertical-align: middle;
    margin: 0 -12px;
    background-color: #2b2c29;
    color: #ffbc16;
    border-radius: 7px;
    font-weight: 900;
    font-size: x-large;
}
#go-generate {
	background-color: #4f0382;
    border: 3px solid #4f0382;
    color: #ffffff;
    border-radius: 7px;
    line-height: 50px;
    padding: 0 40px;
    font-size: x-large;
    font-weight: bolder;
    vertical-align: middle;
}
#go-generate:hover {
	background-color: transparent;
    color: #4f0382;
}
.numGen-display-tbl {
	padding: 40px 0;
}
.gen-ball {
	width: 7%;
	margin: 0 3px;
  	animation: appear 3s ease;
}
.generator-machine {
	position: relative;
}
#slots-anim {
	display: flex;
    justify-content: center;
	position: absolute;
	width: 42%;
	top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.slots {
    width: 456px;
    height: 83px;
    display: flex;
    justify-content: space-evenly;
    margin: auto;
}
.slots .reel {
    position: relative;
    width: 100px;
    height: 82px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
    background-image: url(/image/ball-reel3.png);
    background-position: 0 0;
    background-repeat: repeat-y;
    background-size: 71%;
    background-color: #3b3b3b;
    background-position-x: center;
}

/*HISTOR CHECKER*/
#history-content {
    position: relative;
    width: 75%;
}
.checker-panel {
	position: relative;
    width: 50%;
    margin: 10px auto 40px auto;
}
.cp {
	width: 100%;
	position: absolute;
	top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.cp h5 {
    font-size: x-large;
}
.hc-ball-row {
    width: 70%;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
}
.hc-ball {
	width: 15%;
	cursor: pointer;
}
.hc-ball:hover,
.hc-ball.selected,
.hm-tbl-ball-img.selected {
	filter: drop-shadow(0px 0px 10px rgba(255, 237, 0, 1));
	webkit-filter: drop-shadow(0px 0px 10px rgba(255, 237, 0, 1));
}
.selected-ball, .your-number {
	width: 70%;
	margin: auto;
    display: flex;
    justify-content: space-between;
}
.sb-col, .your-number-box{
	width: inherit;
    background-color: #ffbc16;
    color: #000000;
    font-size: xx-large;
    font-weight: bolder;
    padding: 10px 5px;
    margin: 5px;
}
#reset-number, #history-checker-btn {
	display: block;
    width: 70%;
    margin: 10px auto;
    border-radius: 10px;
    font-weight: 600;
    font-size: large;
    padding: 7px;
}
#reset-number {
	border: 1px solid #ffffff;
    color: #000000;
}
#reset-number:hover {
	background-color: transparent;
	color: #ffffff;
}
#history-checker-btn {
	background-color: #ffbc16;
	border: 1px solid #ffbc16;
}
#history-checker-btn:hover {
	background-color: transparent;
	color: #ffbc16;
}
#historyModal .modal-content{
	background-color: #2b2c29;
	border-radius: 0;
}
#historyModal .modal-header {
	position: relative;
    border: none;
}
#historyModal .close {
	position: absolute;
    right: 15px;
    background: transparent;
    border: none;
    font-weight: bold;
    font-size: x-large;
    color: #ffffff;
}
#historyModal .modal-body {
	padding-top: 0;
}
#historyModal h1 {
	color: #fcee21;
	font-size: x-large;
}
.your-number {
	margin: 20px auto;
}
.hm-modal-tbl table {
	width: 100%;
}
.hm-tbl-ball-img {
	width: 40px;
	margin: 3px;
}
.hm-modal-tbl table::-webkit-scrollbar {
  	height: 5px;
}
.hm-modal-tbl table::-webkit-scrollbar-track {
	background: transparent; 
}
.hm-modal-tbl table::-webkit-scrollbar-thumb {
	background: #888; 
}
.hm-modal-tbl table::-webkit-scrollbar-thumb:hover {
	background: #555; 
}
.hm-modal-tbl {
    margin-bottom: 40px;
}

/*STATISTIC*/
#stat-text-content {
    padding-bottom: 40px;
    position: relative;
}
.search-div {
	padding: 40px 0;
}
.search-div .input-group {
    z-index: 0;
}
.stat-content h5 {
	font-weight: bold;
    font-size: x-large;
}
.from-panel, .to-panel {
    display: inline-block;
    width: 40%;
    margin: 20px 10px 40px 10px;
    position: relative;
}
.stat-content .input-group-addon {
	background-color: #fff;
    color: #212222;
    padding: 7px 14px;
    position: relative;
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}
.stat-content .input-field {
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}
.frequency-tbl {
	width: 80%;
	margin: 40px auto 0 auto;
}
.stat-ball-row,.frequency-tbl {
    display: flex;
    justify-content: space-between;
}
.stat-ball img {
	width: 60%;
}
.stat-ball span {
	background-color: #000000;
    color: #ffbc16;
    display: block;
    width: 50%;
    margin: 10px auto;
    padding: 3px;
    border-radius: 10px;
}
.stat-data {
	padding: 40px 0;
	background-color: #3d3e3b;
}
.custom-calendar {
	display: none;
	width: 100%;
    background-color: #3d3e3b;
    padding: 20px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 1;
}
.custom-calendar span {
	display: block;
    margin-bottom: 10px;
}
.custom-calendar .month,
.custom-calendar .year {
	display: inline-block;
    background-color: #595958;
    border-radius: 5px;
    padding: 10px 0;
    margin: 5px;
    font-weight: 600;
    cursor: pointer;
}
.custom-calendar .month:hover,
.custom-calendar .year:hover,
.custom-calendar .month.active,
.custom-calendar .year.active {
	background-color: #ffbc16;
	color: #2b2c29;
}
.custom-calendar .month {
    width: 12%;
    font-size: x-small;
}
.add-marTop-20 {
	margin-top: 20px;
}
.custom-calendar .year {
    width: 28%;
    font-size: small;
}
.scale-chart-container {
	width: 80%;
	margin: auto;
}
.statBar-row {
	display: flex;
    justify-content: space-around;
    margin-top: 10px;
}
.statBar-col {
	background-color: #ffbc16;
    color: #000;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50px;
    font-weight: bolder;
    font-size: 14px;
    margin-left: 15px;
}
.cborder-top {
    position: relative;
}

/*ABOUT US*/
.au-text {
	width: 80%;
    margin: auto;
    padding: 40px 0;
}
.au-text h1 {
	color: #fcee21;
	font-size: xx-large;
	margin-bottom: 20px;
}
.au-img {
	width: 60%;
	margin: auto;
}
.au-img-content {
	background-color: #000000;
	padding-top: 40px;
}
.dump-img {
	display: inline-block;
    width: 30%;
    background-color: #3e3f3a;
    border-radius: 10px;
    line-height: 170px;
    margin: 0 10px;
}
.au-footer-menu {
	width: 70%;
    margin: auto;
    font-size: larger;
}
.au-frame-top {
    position: relative;
    z-index: 1;
}
#au-header-video {
    width: 100%;
    position: absolute;
    top: 0;
}


@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 768px) {
    header.add-opacity::before {
        background-image: url(/image/Backgrnd_mobile.jpg);
    }
    header.no-opacity {
        background-image: url('/image/Backgrnd_mobile.jpg');
    }
	header {
		position: static;
	}
	.menu-list {
		display: none;
	}
    #sidebar,
	#sidebarCollapse,
	.footer-content,
	.frequency-tbl {
        display: block;
    }
    .menu-content {
    	padding: 20px 0;
    	position: relative;
    }
    .icon img {
	    width: 30%;
	}
	#home-result {
		width: 100%;
	}
	.result-date {
		font-size: small;
	}
	.home-menu {
		display: block;
	    vertical-align: top;
	    padding: 20px;
	}
	.hm-col {
		width: 45%;
		height: 95px;
	    vertical-align: top;
	    margin: 6px;
	    padding: 0;
	}
	.hm-icon {
		height: 30px;
	}
	.hm-icon, .hm-text {
		top: 50%;
    	transform: translateY(-50%);
	}
	.footer-column,
	.footer-text,
	.footer-logo img,
	.custom-tbl,
	.generator-img,
	.checker-panel,
	.au-img, .au-footer-menu {
		width: 100%;
	}
	.footer-column {
	    width: 100%;
	    margin-bottom: 20px;
	}
	.footer-text {
		text-align: center;
	}
	.footer-logo {
		width: 70%;
    	margin: 0 auto 20px auto;
    	text-align: center;
	}
	.footer-bottom {
		display: inline;
	}
	.footer-socmed a {
		font-size: x-large;
	}
	.footer-socmed a:not(:last-child) {
	    margin-right: 5px;
	}
	.copyright {
		font-size: x-small;
	}
	#slots-anim {
		width: 80%;
	}
	.number-generator-content h1,
    #checker-div h1,
    #stat-text-content h1 {
	    font-size: larger;
	}
	.slots .reel {
		margin: 0 5px;
	}
	.gen-ball {
		width: 15%;
	}
	#generate-number {
		width: 75%;
		font-size: x-large;
	}
	.from-panel, .to-panel {
		display: block;
		width: 80%;
		margin: 20px auto 40px auto;
	}
	.stat-ball span {
		width: 90%;
	}
	.frequency-tbl,
	.scale-chart-container {
		width: 90%;
	}
	.au-img-content {
	    background-color: #2b2c29;
	    padding-top: 0;
	    padding-bottom: 40px;
	}
	.dump-img {
	    display: block;
	    width: 90%;
	    margin: 0 auto 10px auto;
	}
	.select-languge {
	    right: 0;
	    top: 34%;
	}
    .hm-modal-tbl table {
        display: table;
    }
}
@media (max-width: 550px) {
    .custom-tbl {
        display: block;
        white-space: nowrap;
        overflow-x: scroll;
    }
    .hm-modal-tbl table {
        display: block;
    }
}
@media (max-width: 500px) {
	#generate-number {
		padding: 0px;
		font-size: large;
	}
	.au-text {
		width: 90%;
	}
	.au-text h1 {
		font-size: x-large;
	}
	.statBar-col {
		width: 25px;
	    height: 25px;
	    line-height: 25px;
	}
    .numGen-counter button {
        width: 40px;
        line-height: 40px;
        font-size: x-large;
    }
    #counter-label {
        width: 80px;
        line-height: 40px;
        font-size: x-large;
    }
    #go-generate {
        line-height: 40px;
        padding: 0 30px;
        font-size: larger;
    }
}
@media (max-width: 400px) {
	.statBar-col {
	    width: 20px;
	    height: 20px;
	    line-height: 20px;
	    font-size: 10px;
	}
    #filter-by-time {
        font-size: smaller;
    }
    .hc-ball-row {
        margin: 10px auto;
    }
    .sb-col, .your-number-box {
        font-size: medium;
    }
    #reset-number, #history-checker-btn {
        font-size: small;
    }
}
@media (max-width: 350px) {
	.statBar-col {
	    width: 15px;
	    height: 15px;
	    line-height: 15px;
	}
}