﻿html {
	background-color: #c0c0c0;
	/* https://www.magicpattern.design/tools/css-backgrounds */
	background-image: linear-gradient(rgb(174, 174, 174) 0.6px, transparent 0.6px), linear-gradient(to right, rgb(174, 174, 174) 0.6px, rgb(192, 192, 192) 0.6px);
	background-size: 12px 12px;
}

body {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0 10px 0;
	background: white;
	box-shadow: 0 0 6px 1px rgba(0,0,0,.7);
	font: 14px 'Roboto', Arial, Helvetica, sans-serif;
	overflow-y: auto;
}

header {
	display: flex;
	padding: 0;
}

	header img {
		height: 100px;
		margin: 8px 10px 0 8px;
	}

.text-danger {
	color: red;
}

	.text-danger a:link,
	.text-danger a:active,
	.text-danger a:visited {
		color: #b50000 !important;
	}

.aum {
	display: none;
}

.aud.auhead {
	position: absolute;
	top: 15px;
	left: calc(50% - 235px);
	width: 728px;
	height: 90px;
}

.aud.auaside {
	float: right;
	width: 300px;
	height: 250px;
	margin: 10px 0 10px 10px;
}

.aud.aumenu, .aud.aumkt {
	width: 160px;
	height: 600px;
	margin: 15px auto;
}

.aud.auhoriz {
	display: flex;
	width: 468px;
	height: 60px;
	margin: 20px auto;
}

.aum.auhoriz,
.aum.auanchor,
.aum.auaside {
	width: 320px;
	height: 50px;
	margin: 15px auto;
}

@media screen and (max-width: 340px) {

	.aum.auhoriz,
	.aum.auanchor,
	.aum.auaside {
		margin: 15px calc((100vw - 340px) / 2);
	}
}

.aum.auaside {
	height: 100px;
}

.aum.auanchor {
	margin: 0 auto;
}

.menupanel > img {
	display: none;
}

#content {
	display: flex;
	align-items: start;
}

main {
	flex: 1 1 100%;
	margin: 0 10px 10px 10px;
}

section {
	margin: 8px;
}

article {
	margin: 10px 0 10px 24px;
}

	article::before {
		content: "\27A4";
		display: block;
		position: absolute;
		margin-left: -18px;
		color: #fcce1c;
		-webkit-text-stroke: 1px #e53030;
		text-stroke: 1px #e53030;
		font-size: 11px;
	}

	article > img {
		float: right;
		margin: 0 0 5px 5px;
	}

a:link, a:active, a:visited {
	color: #1c1ca7;
}

time {
	font-style: italic;
}

pre {
	font-family: 'Roboto Mono', monospace;
}

footer {
	margin: 30px auto 15px;
	padding: 0 10px;
	text-align: center;
	font-size: 90%;
}

a.newsattribute {
	float: right;
	margin: 0 0 0 20px;
}

h1,
#marketplace-content > p:first-child {
	font-weight: bold;
	font-size: 18px;
	font-style: italic;
	text-transform: uppercase;
	transform: scale(1.1,1);
	transform-origin: 0 0;
	margin-right: 10%;
	color: #020166;
}

h1.main {
	margin-right: 170px;
}

h2 {
	font-weight: bold;
	font-size: 15px;
	color: #0000c6;
}

label {
	font-weight: bold;
}

abbr {
	cursor: help;
}

main h2::before,
main p::before {
	content: "";
	width: 150px;
	display: block;
	overflow: hidden;
}

.menu-icon {
	display: none;
	position: absolute;
	top: 20px;
	left: 10px;
	width: 40px;
	height: 40px;
}

	.menu-icon i {
		display: block;
		width: auto;
		height: 4px;
		margin: 3px;
		background: gray;
		border-radius: 4px;
	}

	.menu-icon::before {
		content: "";
		display: block;
		width: auto;
		height: 4px;
		margin: 11px 3px 3px 3px;
		background: gray;
		border-radius: 4px;
	}

	.menu-icon::after {
		content: "";
		display: block;
		width: auto;
		height: 4px;
		margin: 3px;
		background: gray;
		border-radius: 4px;
	}

.market-icon {
	display: none;
	position: absolute;
	top: 20px;
	right: 10px;
	width: 40px;
	height: 40px;
	background: green;
	border-radius: 50%;
}

	.market-icon::before {
		content: "";
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		width: 34px;
		height: 34px;
		margin: -17px 0 0 -17px;
		border: 3px solid white;
		border-radius: 50%;
		box-sizing: border-box;
	}

	.market-icon::after {
		content: "$";
		display: block;
		height: 40px;
		font-size: 22px;
		font-weight: bold;
		line-height: 40px;
		text-align: center;
		color: white;
	}

#marketplace {
	flex: 0 0 180px;
}

#marketplace-content {
	width: 180px;
	text-align: center;
	background: #fff1a9;
	border: 2px solid #bdb27c;
	border-right: none;
}

nav {
	flex: 0 0 180px;
	align-self: stretch;
}

	nav .menupanel {
		width: 180px;
		height: 100%;
		margin: -9.5px 0 0 0;
		padding-top: 8px;
		box-shadow: none;
		background-color: #e8e5c5;
		border: 2px solid #a6a48c;
		border-top: none;
		border-left: none;
	}

		nav .menupanel::before {
			content: "";
			display: block;
			height: 6px;
			margin-top: -12px;
			background-color: #e8e5c5;
		}

	nav a.heading {
		display: block;
		position: relative;
		margin: 0 10% 8px 0;
		padding: 4px 0 0 10px;
		font-weight: bold;
		font-size: 17px;
		font-style: italic;
		text-decoration: none;
		text-transform: uppercase;
		transform: scale(1.1, 1);
		transform-origin: 0 0;
		color: #020166 !important;
	}

	nav ul {
		list-style: none;
		margin: 0 0 10px 0;
		border-bottom: 1px solid #a6a48c;
		padding: 0 0 10px 0;
	}

		nav ul li {
			list-style: none;
		}

			nav ul li a {
				display: block;
				padding: 6px 10px;
				font-weight: bold;
				text-decoration: none;
				color: #47478f !important;
			}

				nav ul li a.selected:not(.heading),
				.no-touch nav ul li a:not(.heading):hover {
					background: #47478f;
					color: white !important;
				}

section#mainresults {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	min-height: 6px;
	margin: 8px 0;
	background: #e8e5c5;
	border-top: 2px solid #a6a48c;
	border-bottom: 2px solid #a6a48c;
}

	section#mainresults section.jackpot,
	section#mainresults section.results {
		cursor: pointer;
	}

body.main section#mainresults {
	row-gap: 10px;
}

section.mm,
section.pb {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	white-space: nowrap;
	margin: 6px 8px;
	padding: 0 4px;
}

	section.mm h2,
	section.pb h2 {
		align-self: center;
	}

	section.mm h2 {
		font-size: 0;
		background: url(/images/mega-millions.svg);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
		height: 80px;
		width: 180px;
	}

	section.pb h2 {
		font-size: 0;
		background: url(/images/pb-dp-pp2.svg);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
		height: 40px;
		width: 180px;
	}

	section.mm > div,
	section.pb > div {
		display: flex;
		align-self: center;
		align-items: center;
		flex-wrap: wrap;
	}

section.results ul {
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-size: 15px;
	line-height: 28px;
	text-decoration: none;
	white-space: nowrap;
}

	section.results ul li {
		display: inline-block;
		width: 25px;
		height: 25px;
		margin: 0 1px 0 0;
		padding: 0;
		border-radius: 50%;
		border: solid 1.6px #4e4e4e;
		line-height: 25px;
		text-decoration: none;
		vertical-align: middle;
		text-align: center;
		overflow: visible;
		background: white;
		color: black;
	}

		section.results ul li.bonus {
			background: #feb301;
		}

		section.results ul li.dp {
			background: #101820;
			color: white;
		}

.pb section.results ul li.bonus,
section.results.pb ul li.bonus {
	background: #e11d39;
	color: white;
}

section.results ul li.multiplier {
	display: block;
	width: auto;
	border: none;
	background: none;
	text-align: left;
	color: #b60000;
}

.mm section.results ul li.multiplier::before,
section.results.mm ul li.multiplier::before {
	content: "Megaplier: ";
	color: black;
	font-size: 90%;
}

.pb section.results ul li.multiplier::before,
section.results.pb ul li.multiplier::before {
	content: "Power Play: ";
	color: black;
	font-size: 90%;
}

p.date {
	font-size: 14px;
}

section.results p,
section.jackpot p {
	margin: 0;
	font-weight: bold;
}

	section.jackpot p.annuity {
		font-weight: bold;
		font-size: 20px;
	}

	section.jackpot p.cash {
		font-size: 13px;
		line-height: 20px;
	}

		section.jackpot p.cash::before {
			content: "(";
		}

		section.jackpot p.cash::after {
			content: " cash)";
		}

p.extradraw {
	margin-top: 6px !important;
	font-size: 90%;
	color: #573a00;
}

.button {
	display: inline-block;
	margin: 4px;
	padding: 8px 16px;
	border: none;
	background: #47478f;
	color: white !important;
	border-radius: 5px;
	font-size: 15px;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
}

	.button:hover {
		filter: brightness(120%);
	}

	.button.mini {
		margin: 3px;
		padding: 4px 8px;
		font-size: 12px;
	}

p.buttonrow {
	margin: 25px 0;
	text-align: center;
}

	p.buttonrow span {
		white-space: nowrap;
	}

#anchorPanel {
	display: none;
	position: fixed;
	bottom: -1px;
	left: 0;
	right: 0;
	width: 100%;
	height: 50px;
	z-index: 100;
	margin: 0;
	padding: 4px 0;
	background: rgba(109, 132, 162, .5);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

ul.bullets {
	list-style: none;
	padding-left: 30px;
}

	ul.bullets li {
		margin-bottom: 10px;
	}

		ul.bullets li::before {
			content: "\27A4";
			position: absolute;
			display: inline-block;
			color: #fcce1c;
			-webkit-text-stroke: 1px #e53030;
			text-stroke: 1px #e53030;
			font-size: 11px;
			text-indent: -18px;
		}

	ul.bullets.linklist {
		font-weight: bold;
	}

.widthscroller {
	display: inline-block;
	position: relative;
	max-width: 100%;
	overflow-x: auto;
}

.navscrollhint {
	position: absolute;
	bottom: 10px;
	right: 10px;
}

.scrollhint {
	position: absolute;
	top: 50%;
	margin-top: -5px;
	right: 10px;
}

	.scrollhint i {
		display: inline-block;
		width: 10px;
		height: 10px;
		border-bottom: 5px solid #06A8FF;
		border-right: 5px solid #06A8FF;
		margin: -5px;
		animation: scrollhintanimate 2s infinite;
		filter: drop-shadow(0 0 4px white);
		background: transparent;
	}

		.scrollhint i:nth-child(2) {
			animation-delay: -0.2s;
		}

		.scrollhint i:nth-child(3) {
			animation-delay: -0.4s;
		}

@keyframes scrollhintanimate {
	0% {
		opacity: 0;
		transform: rotate(-45deg) translate(-20px,-20px);
	}

	50% {
		opacity: .8;
	}

	100% {
		opacity: 0;
		transform: rotate(-45deg) translate(20px,20px);
	}
}

.tabular {
	margin: 8px 0;
	border: 2px solid #000064;
	border-spacing: 0;
}

	.tabular caption {
		position: relative;
		margin: 8px 0 8px 24px;
		text-align: left;
	}

		.tabular caption::before {
			content: "\27A4";
			display: block;
			position: absolute;
			margin-left: -18px;
			color: #fcce1c;
			-webkit-text-stroke: 1px #e53030;
			text-stroke: 1px #e53030;
			font-size: 11px;
		}

	.tabular td {
		padding: 5px 10px;
		background: white;
		font-size: 12px;
		color: black;
	}

.fullsize td {
	font-size: 12px;
}

.tabular thead td {
	background: #000064;
	color: white;
	font-weight: bold;
	white-space: nowrap;
	vertical-align: middle;
	text-align: center;
}

.tabular tbody tr:nth-child(even) td {
	background: #eee;
}

.tabular tbody tr.total td {
	font-weight: bold;
	background: #d8d8d8;
}

.tabular.wheretoplay {
	margin-left: 10px;
	white-space: nowrap;
}

	.tabular.wheretoplay tr > td:first-child {
		text-align: left;
	}

	.tabular.wheretoplay tr > td:nth-child(3),
	.tabular.wheretoplay tr > td:nth-child(4) {
		text-align: center;
	}

table.simple {
	margin: 8px 0;
	border: 1px solid #999;
	padding: 8px;
}

	table.simple.noborder {
		border: none;
	}

	table.simple th {
		padding: 2px 0;
		font-weight: bold;
		text-align: left;
	}

	table.simple td {
		padding: 2px 0;
		vertical-align: top;
	}

		table.simple th:first-child,
		table.simple td:first-child {
			padding-right: 10px;
			white-space: nowrap;
		}

dl {
	display: block;
	margin: 10px 0 20px;
}

dt {
	display: block;
	margin: 0;
}

dd {
	display: block;
	margin: 4px 0 10px 30px;
}

#cse-search-box .text_box {
	max-width: 60%;
	color: #000;
	font-size: 16px;
	line-height: 18px;
	padding: 6px !important;
	resize: vertical;
	margin-bottom: 10px;
}


/*	Tiny Message (brief tooltip msg tied to control)
--------------------------------------------------*/
.tinymsg {
	position: absolute !important;
	z-index: 9999;
	opacity: 1;
	transition: opacity 200ms linear;
}

	.tinymsg::before {
		content: "";
		display: block !important;
		width: 0 !important;
		height: 0 !important;
		margin: 0 auto !important;
		border-left: 7px solid transparent !important;
		border-right: 7px solid transparent !important;
		border-bottom: 7px solid black !important;
		opacity: 0.8 !important;
	}

	.tinymsg p {
		display: inline-block !important;
		margin: 0 !important;
		padding: 5px 10px !important;
		background: rgba(0, 0, 0, 0.8) !important;
		color: white !important;
		border-radius: 5px !important;
		font: normal 14px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	}

	.tinymsg.above::before {
		display: none !important;
	}

	.tinymsg.above::after {
		content: "";
		display: block !important;
		width: 0 !important;
		height: 0 !important;
		margin: 0 auto !important;
		border-top: 7px solid black !important;
		border-left: 7px solid transparent !important;
		border-right: 7px solid transparent !important;
		opacity: 0.8 !important;
	}


@media screen and (max-width: 990px) {
	.aud.auhead {
		display: none;
	}

	.aud.auhoriz {
		position: absolute;
		top: 30px;
		left: calc(50% - 95px);
		margin: 0;
	}

	a.newsattribute {
		margin-top: 10px;
	}
}

@media screen and (max-width: 700px) {

	header {
		display: block;
		position: fixed;
		height: 72px;
		width: 100%;
		padding-bottom: 6px;
		border-bottom: 2px solid #a6a48c;
		text-align: center;
		background: white;
		top: 0;
		left: 0;
		z-index: 99;
	}

		header img {
			height: 60px;
		}

	section#mainresults {
		margin-top: 78px;
	}

	.aum {
		display: block !important;
	}

	.aud {
		display: none !important;
	}

	.market-icon,
	.menu-icon {
		display: block;
		cursor: pointer;
	}

	#content {
		display: block;
		overflow: hidden;
	}

	nav,
	#marketplace {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		overflow: hidden;
		pointer-events: none;
		z-index: 150;
	}

		nav ul li a {
			padding: 10px;
		}

	.menupanel > :last-child,
	#marketplace-content > :last-child {
		margin-bottom: 20px;
	}

	.menu--visible {
		pointer-events: auto;
	}

	#marketplace-content {
		position: absolute;
		right: 0;
		max-width: 180px;
		width: 90%;
		height: 100%;
		margin: 0;
		border-top: none;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
		-webkit-transform: translateX(103%);
		transform: translateX(103%);
		will-change: transform;
		z-index: 160;
		pointer-events: auto;
		overflow: auto;
	}

	nav .menupanel {
		position: relative;
		max-width: 180px;
		width: 90%;
		height: 100%;
		margin: 0;
		padding: 0;
		border-top: none;
		border-bottom: none;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
		-webkit-transform: translateX(-103%);
		transform: translateX(-103%);
		will-change: transform;
		z-index: 160;
		pointer-events: auto;
		overflow: auto;
	}

		nav .menupanel::before {
			display: none;
		}

		nav .menupanel > img {
			display: block;
			width: 100px;
			margin: 15px 10px 10px;
		}

		nav .menupanel > ul:last-of-type {
			margin-bottom: 20px;
		}

	.menu--visible .menupanel,
	.menu--visible #marketplace-content {
		-webkit-transform: none;
		transform: none;
	}

	.menu--animatable .menupanel,
	.menu--animatable #marketplace-content {
		transition: all 130ms ease-in;
	}

	.menu--visible.menu--animatable .menupanel,
	.menu--visible.menu--animatable #marketplace-content {
		transition: all 200ms ease-out;
	}

	nav::after,
	#marketplace::after {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.4);
		opacity: 0;
		will-change: opacity;
		pointer-events: none;
		transition: opacity 0.2s cubic-bezier(0,0,0.3,1);
	}

	nav.menu--visible::after,
	#marketplace.menu--visible::after {
		opacity: 1;
		pointer-events: auto;
	}

	#anchorPanel {
		display: block;
	}

	footer {
		padding-bottom: 65px;
	}

	.tabular td {
		padding: 5px 8px;
	}

	.tabular.wheretoplay {
		margin-left: 0;
	}
}

/*	iPhone X, XR, XS, and XS Max */
@media only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3) /* 11 Pro, 12 Mini */, only screen and (device-width : 414px) and (device-height : 896px) and (-webkit-device-pixel-ratio : 2) /* 11 */, only screen and (device-width : 414px) and (device-height : 896px) and (-webkit-device-pixel-ratio : 3) /* 11 Pro Max */, only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) /* 12, 12 Pro */, only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) /* 12 Pro Max */ {
	footer {
		padding-bottom: 93px;
	}

	#anchorPanel {
		padding-bottom: 28px;
	}

	.navscrollhint {
		bottom: 40px;
	}
}


/*	Printer Styles
--------------------------------------------------*/

@media print {

	nav,
	#marketplace,
	.aum,
	.aud,
	footer p:first-child,
	tr.video {
		display: none !important;
	}

	html,
	body {
		max-width: auto !important;
		min-width: auto !important;
		box-shadow: none !important;
	}

	header img {
		height: 60px !important;
	}

	table {
		position: relative !important;
	}

	thead,
	tfoot {
		display: table-row-group !important;
	}

	tr,
	section.results {
		position: relative !important;
		page-break-before: auto !important;
		page-break-inside: avoid !important;
		page-break-after: auto !important;
	}
}
