:root {
  --bg-color1: #03301f;
  --bg-color2: #11563a;
  --bg-color3: #108554;
  --txt-color1: #ffffff;
  --b-radius-s: 5px;
  --b-radius-m: 8px;
  --b-radius-l: 10px;
  --b-radius-full: 50px;
}

body {
  background-color: var(--bg-color1);
  color: var(--txt-color1);
}

.header-inner {
	background-color: var(--bg-color2);
	background-image: url(../img/pattern-bg.png);
	background-attachment: fixed;
	background-size: cover;
}

.header-left, .header-right {
	padding: 15px;
	height: 160px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.logo {
	display: flex;
	align-items: center;
	height: 70px;
}

.logo img {
	width: 300px;
	height: auto;
}

.draw-timer {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.draw-timer p {
	width: 50%;
	text-align: center;
}

.clock {
	zoom: 0.5;
	width: 50%!important;
}

.flip-clock-label {
	display: none;
}

.nav {
	background-color: var(--bg-color3);
	padding: 15px;
}

.navbar li {
	display: inline-block;
}

.navbar li a {
	color: var(--txt-color1);
	padding: 5px 15px;
	font-weight: 600;
	font-size: 17px;
}

.navbar li a.active, .quick-menu li a.active {
	color: #fbe86d;
}

.operation-time {
	height: 100%;
	text-align: right;
}

.operation-time .time {
	font-weight: 500;
	margin: 10px;
	background-color: var(--bg-color2);
	padding: 6px 20px;
	border-radius: var(--b-radius-full);
	cursor: progress;
	font-size: 14px;
}

.operation-time span:last-child {
	font-size: 13px;
}

.content-live {
	background-position-y: -505px!important;
}

.content {
	background-image: url(../img/body-bg.png);
	background-size: 100%;
	background-position-y: -395px;
	background-repeat: no-repeat;
	padding-top: 2rem;
	min-height: 520px;
}

.last-results-title {
  text-align: center;
  text-transform: uppercase;
}

.last-results-meta {
	text-align: center;
	margin-top: 10px;
}

.last-results-meta span {
	margin: 7px;
	background-color: var(--bg-color3);
	padding: 5px 16px;
	display: inline-block;
	border-radius: var(--b-radius-full);
	font-size: 15px;
	font-weight: 600;
}

.last-results-meta span:last-child {
	font-weight: 400;
	background-color: transparent;
}

.last-results-meta span:last-child i {
	margin-right: 5px;
}

.last-results-wrapper {
	margin-top: 2rem;
	padding-bottom: 3rem;
}

.numbers-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
}

.numbers-title {
	width: 25%;
	background-color: var(--bg-color3);
	text-align: center;
	font-weight: 600;
	border-bottom-left-radius: var(--b-radius-full);
	border-top-left-radius: var(--b-radius-full);
	height: 50px;
	clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
	transition: 0.3s;
	cursor: pointer;
}

.numbers-title:hover {
	background-color: var(--bg-color2);
}

.numbers-title span {
	display: flex;
	height: 100%;
	justify-content: center;
	align-items: center;
}

.numbers-content {
	width: 74%;
	background-color: var(--bg-color2);
	height: 65px;
	border-bottom-right-radius: var(--b-radius-full);
	border-top-right-radius: var(--b-radius-full);
	clip-path: polygon(7% 0, 100% 0, 100% 100%, 0% 100%);
	display: flex;
	align-items: center;
	padding-left: 18px;
}

.numbers-content span {
	background-color: #7b8c2b;
	height: 35px;
	width: 35px;
	border-radius: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 600;
	margin: 7px;
	position: relative;
}

.numbers-content span::before {
	content: "";
	position: absolute;
	border-radius: var(--b-radius-full);
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: auto;
	height: auto;
	background: radial-gradient(circle at 25% 0px, #afafaf, rgba(255, 255, 255, 0) 58%);
}

.numbers-content span::after {
	content: "";
	position: absolute;
	border-radius: var(--b-radius-full);
	background: rgba(0, 0, 0, 0.6);
	top: 30px;
	bottom: -3px;
	left: 0;
	right: 0;
	width: auto;
	height: auto;
	filter: blur(8px);
	z-index: 0;
}

.results-title {
	margin-top: 3rem;
	text-align: center;
	margin-bottom: 1rem;
}

.results-title h2 {
	border-top: 3px dotted var(--bg-color3);
	border-bottom: 3px dotted var(--bg-color3);
	padding: 10px;
}

.results-grid-title {
	border-bottom: 2px dotted var(--bg-color3);
	margin-left: 8px;
	margin-right: 8px;
	padding-bottom: 10px;
}

.results-grid {
	margin-top: 15px;
	padding-bottom: 15px;
}

.footer-top {
	padding: 15px;
	background-color: var(--bg-color3);
}

.footer-top p {
	font-size: 14px;
	text-align: center;
	color: yellow;
}

.footer-bottom {
	background-image: url(../img/pattern-bg.png);
	background-attachment: fixed;
	background-size: cover;
}

.footer-bottom-inner {
	padding: 15px;
	margin-top: 20px;
}

.logo-bottom {
	width: 250px;
}

.footer-bottom-inner h3 {
	margin-top: 15px;
}

.footer-bottom-inner p {
	margin-top: 10px;
	font-size: 13px;
	font-weight: 300;
}

.quick-menu {
	margin-top: 10px;
}

.quick-menu li a {
	color: var(--txt-color1);
	width: 100%;
	display: block;
	background-color: var(--bg-color2);
	padding: 7px 15px;
	margin-bottom: 10px;
	border-radius: var(--b-radius-m);
	font-size: 14px;
}

.quick-menu li a i {
	font-size: 12px;
	margin-right: 5px;
}

.copyright {
	padding: 30px 15px;
	margin-top: 1rem;
}

.copyright p {
	text-align: center;
	font-size: 11px;
	letter-spacing: 1px;
}

.content-live {
	background-position-y: -505px !important;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 0;
}

.loader {
	width: 90%;
	height: auto;
}

#onDrawing {
	position: fixed;
	width: 100vw;
	height: 100vh;
	display: none;
	justify-content: center;
	align-items: center;
	background-color: var(--bg-color1);
	z-index: 100;
}

#onDrawing img {
	width: 332px;
}

.off-drawing .container {
	text-align: center;
}

.off-drawing h2 {
	color: #fae76c;
}

.off-drawing img {
	width: 100px;
}

.off-drawing p {
	text-align: center;
}

/* PAGINATION */

.pager {
	padding-bottom: 1.5rem;
}

.pagging nav ul {
	display: flex;
	justify-content: center;
	padding: 15px;
}

.page-link, .page-link a {
	width: 55px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: var(--b-radius-full);
	background-color: var(--bg-color2);
	margin: 5px;
	color: var(--txt-color);
}

.page-link {
	display: flex;
	justify-content: center;
	align-items: center;
}

.page-item.active .page-link {
	color: var(--txt-color1);
	background-color: var(--bg-color3);
}

.page-link.last-page, .page-link.last-page a {
	background-color: transparent;
}