:root {
  --main-color: #FFC300;
  --font-size-12: 12px;
}

html, a {
	color: var(--main-color);
	font-size: var(--font-size-12);
	text-decoration: none;				
}
a:hover {
	color: #ADD8E6;
}

select:hover {
	background-color: #ADD8E6;
	border-color: #ADD8E6;
}

body {
	margin: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #000000;
	font-family: "Segoe UI", Arial, sans-serif;
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-image: url('../images/bg1.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	z-index: -2;
}

body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
    pointer-events: none;
}

div::-webkit-scrollbar {
	width: 8px;
}

div::-webkit-scrollbar-track {
	background-color: gray;
}

div::-webkit-scrollbar-thumb {
	background-color: cyan;
	border-radius: 4px;
}

button {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	color: var(--main-color);
	text-decoration: none; 
}

button:hover {
	color: #ADD8E6;
}

ul {
	padding: 0;
	margin: 0;
}

li {
	list-style-type: none;
	text-align: center;
}

.sticky-item {
    position: sticky;
    top: 0;
	height: 18px;
    background-color: black;
    z-index: 1;
}

.sticky-item2 {
    position: sticky;
    top: 18px;
    background-color: black;
    z-index: 1;
}

li.left {
	text-align: left;
}

li.left>a {
	display: block;
}

li span.column {
	border-radius: 10px;
	overflow: hidden;
}

table {
	width: calc(100% + 10px);
	border-collapse: collapse;
	border: 1px solid var(--main-color);
}

tr:first-child {
  border: 1px solid transparent;
}

td {
	vertical-align: top;
}

.main-container {
	width: 100vw;
	max-width: fit-content;
}

.scroll-container-dates {
	width: 120px;
	overflow: auto;
	max-height: 60vh;
}
.scroll-container-data {
	overflow: auto;
	max-height: 60vh;
}

.img-cell
{
	text-align: center;
    padding-top: 25px;
	border-bottom: 1px solid var(--main-color);
}

.column {
	min-width: 80px;
	display: inline-block;
	text-align: center;
}

.column-left {
	max-width: 120px;
	min-width: 120px;
	display: inline-block;
	text-align: left;			
}

.column-right {
	width: auto;
	display: inline-block;
	text-align: left;			
}

.space {
	min-width: 20px;
	display: inline-block;
	text-align: center;
    vertical-align: top;
	padding-top: 2px;
}

.padding-left5 {
	padding-left: 5px;
}
.padding-left10 {
	padding-left: 10px;
}
.padding-left50 {
	padding-left: 50px;
}

.hit {
	color: greenyellow;
	background: darkslategray;
}

.filter select {
	background: black;
	overflow-y: auto;
	font-size: var(--font-size-12);
	color: var(--main-color);
}

.filterColumn {
	background: black;
	overflow-y: auto;
	font-size: var(--font-size-12);
	color: var(--main-color);
}

.filterColumn:hover {
	background: black;
}

.currentNumbers {
	display: flex; 
}

.currentNumbers > span:first-child {
	min-width: 122px;
}			

.currentNumbers > span.hit {
	min-width: 80px;
}

.filter {
	padding-right: 5px;
}

.no-data {
	color: cyan;
	border: solid;
	border-width: thin;
	width: 604px;
}

.bold-text {
	font-weight: bold;
}
.small-text {
	font-size: 8px;
}

.text14 {
	font-size: 14px;	
}

.bottom-right {
	position: absolute;
    bottom: 0;
    right: 0;
	padding-right: 3px;
}

.bottom-left {
	position: absolute;
    bottom: 0;
    left: 0;
}

.cyan {
	color: cyan;
}

.hidden {
	display: none;
}

.predictions {
	display: inline-flex; 
	width: calc(100% - 175px);
}

.link-container {
	position: relative;
	max-height: 1px;
	overflow: visible;
}
.link-list {
	min-width: 150px;
	padding-left: 10px;
	padding-top: 6px;
	padding-bottom: 3px;
	right: 0px;
    position: absolute;
    z-index: 1;
    max-width: 150px;
	background-color: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--main-color);
    border-radius: 5%;
}

#predictionDate {
	color: cyan;
}

#emaImage {
	max-height: 200px;	
	position: relative;
	z-index: 3;
}

#activeFilter {
	visibility: hidden;
	color: cyan;
}

#home {
	position: absolute;
	top: 5px;
	left: 5px;
	font-size: var(--font-size-12);
	z-index: 9998;
}

#hitsSummary {
	color: greenyellow;
    font-weight: bold;
    background: orangered;
}

@media (max-width: 800px) {
	#emaImage {
		max-height: 150px;	
	}	
}

@media (max-width: 600px) {
	ul {
		display: table-caption;
		min-width: 80px;
	}
	table {
		padding-left: 50px;
		padding-right: 50px;
	}
	.currentNumbers {
		display: inline-grid;
	}
	.padding-left5 {
		padding-left: 0px;
	}
	.padding-left50 {
		padding-left: 0px;
	}
	.no-data {
		max-width: 60vw;
	}
	#emaImage {
		max-height: 100px;	
	}
	
	.under-construction	{
		left: 30px !important;
		z-index: 9999;
	}
}			

.in-future {
	color: gray;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {	
    position: fixed;
    top: 50%;
    left: 50%;
    color: var(--main-color);
    font-size: 24px;
	margin-top: 70px;
	margin-left: -20px;
	text-align: center;
	z-index: 9999;
}

@keyframes blink {
  0% {
    color: var(--main-color);
  }
  50% {
    color: green;
  }
  100% {
    color: var(--main-color);
  }
}

.blinking-text {
  animation: blink 3s infinite alternate;
}

.under-construction {
	top: 5px;
    position: fixed;
    left: calc(50% - 270px);
	font-size: 20px;
}

#answerContent {
    display: none;
    position: absolute;	
	top: 35px;
	left: calc(50% + 115px);
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
	color: #555555;
	background-color: rgba(255, 255, 255, 0.8);
	max-width: 250px;
}

#helpContent {
    display: none;
    position: absolute;
	bottom: 0;
	right: 120px;
	left: 80px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
	color: #555555;
	background-color: rgba(255, 255, 255, 0.8);
}

.navigationIcon:hover,
.answerIcon:hover,
.helpIcon:hover,
.closeIcon:hover {
	color: #ADD8E6;
	cursor: pointer;
}

#newsTickerContainer {
	position: relative;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	padding-bottom: 5px;
	padding-top: 5px;
}

.newsText {
	color:  #FF8888;
	font-size: var(--font-size-12);
	white-space: nowrap; 
	display: flow;
	flex-direction: row;
	animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
	from { transform: translateX(110%); } to { transform: translateX(-100%); }
}

