@font-face {
	font-family: 'ClockFace';
	src: url('fonts/malgun.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'ClockFace';
	src: url('fonts/malgunbd.ttf') format('truetype');
	font-weight: 700;
	font-style: bold;
}

@font-face {
	font-family: 'ClockFace';
	src: url('fonts/malgunsl.ttf') format('truetype');
	font-weight: 600;
	font-style: bold;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'ClockFace', 'Malgun Gothic', 'Quicksand';
  font-style: bold;
  font-size: x-large;
  text-align: center;
  margin: 2%;
  /* animation: fadeIn 2s steps(40, start); */
}

#ClockDisplayArea {
	display: block;
}

#AMDDisplayArea {
	display: none;
}

#SessionMacroArea {
	display: block;
}



#AMDTable {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	font-size: 0.75em;
	font-weight: normal;
	color: black;
	background-color: white;
}

#AMDTable tr, #AMDTable td {
	border: 1px solid black;
    border-collapse: collapse;
}

.kz1 {
	background-color: rgba(210,210,210,100);
}

.kz2 {
	background-color: rgba(180,180,180,100);
	font-weight: bold;
}

.kzglr {
	background-image: linear-gradient(to right, white, white, rgba(180,180,180,100), rgba(180,180,180,100));
	font-weight: bold;
}

.kzgrl {
	background-image: linear-gradient(to left, white, white, rgba(180,180,180,100), rgba(180,180,180,100));
	font-weight: bold;
}

#DateAndWeek {
  font-family: "Times New Roman";
  color: green; 
  font-size: 2.5em;
}

#YearWeek {
}

#ClockFace4 {
  color: silver;
  font-size: 1em;
  font-weight: 600;

}

#localClock, #UTCClock, #ESTClock, #CETClock {  
  color: silver;
  font-size: 7em;
  font-weight: 600;
}

#weekendClock {  
  color: silver;
  font-size: 7em;
  font-weight: 600;
}

#ESTClock {
  color: orange;
  font-weight: bold;
}

#localClock, #weekendClock {
  color: white;
  font-weight: bold;
}

#localClockTimezone, #UTCClockTimezone, #ESTClockTimezone, #CETClockTimezone, #weekendClockTimezone {
	color: dimgray;
	font-size: 1.3em;
}

#weekendTasks {
  font-size: 3em;
  color: orange;
}

#Countdown {
  color: orange;
  font-size: 2em;
  font-weight: bold;

}

#Countdown table {
	color: orange;
	width: 50%;
	margin-left: 25%;
}

#Countdown table tr {
	line-height: 1.25;
}

#Countdown table td:nth-child(1) {
	font-size: 0.5em;
	color: silver;
	width: 10%;
}

#Countdown table td:nth-child(2) {
	font-size: 1.5em;
	color: aqua;
	width: 40%;
}

#Countdown table td:nth-child(3) {
	font-size: 7em;
}

#MarketSession {
	/* color: yellow; */
	/* font-size: 1.5em; */
	font-weight: bold;
	background-color: black;
	color: yellow;
}

#MarketMacro {
	/* color: yellow; */
	/* font-size: 1.5em; */
	font-weight: bold;
	background-color: red;
	color: white;
}

/* ICONS for buttons */
#about {
	position: fixed;
	bottom: 0.5em;
	right: 0.5em;
	font-size: 1.5em;
	color: #1e90ff;
	z-index: 100;
}
.datapoint {
	width: 15em;
	font-size: 0.5em;
	z-index: 100;
}
/*
#FearAndGreed {
	position: inline;
	bottom: 4.75em;
	right: 8em;
}

#VIX {
	position: inline;
	bottom: 3.625em;
	right: 8em;
}

#FGVUpdated {
	position: inline;
	bottom: 2.5em;
	right: 8em;
}
*/
.ratingExtremeFear{
	color: red;
}
.ratingFear{
	color: orange;
}
.ratingNeutral{
	color: silver;
}
.ratingGreed{
	color: lime;
}
.ratingExtremeGreed{
	color: Green;
}


#speech {
	position: fixed;
	bottom: 0.5em;
	left: 6.5em;
	font-size: 1.5em;
	color: #1e90ff;
	z-index: 100;
}
#sound {
	position: fixed;
	left: 4.5em;
	bottom: 0.5em;
	font-size: 1.5em;
	color: #1e90ff;
	z-index: 100;
}
#news {
	position: fixed;
	bottom: 0.5em;
	left: 2.5em;
	font-size: 1.5em;
	color: #1e90ff;
	z-index: 100;
}
#waffle {
	position: fixed;
	bottom: 0.5em;
	left: 0.5em;
	font-size: 1.5em;
	color: #1e90ff;
	z-index: 100;
}
/*
#waffle {
	position: absolute;
	bottom: 0.5em;
	right: 48%;
	font-size: 1.5em;
	color: aqua;
	z-index: 100;
}
*/

#SettingsWindow {
/*	position: fixed;
	top: 25%;
	left: 25%;
	width: 50%;
	height: 50%; 
	background-color: blue;
	color: white;
	padding: none;
*/
	color: black;
}

/*
.SettingsBox {
	margin: 1em;
	padding: 5%;
	border-color: white;
	border-style: solid;
	background-color: black;
}
*/

#NewsWindow {
	color: black;
	text-align: Left;
}
#AboutWindow {
	color: black;
	text-align: Left;
}

#TodaysNews {
	font-size: 0.7em;
}
#TodaysNews thead tr td{
	font-weight: 700;
	color: blue;
}

#TodaysNews td:nth-child(1) {
	width: 3.5em;
}
#TodaysNews td:nth-child(2) {
	width: 3.5em;
}
#TodaysNews td:nth-child(3) {
	width: 5em;
}
#TodaysNews td:nth-child(4) {
}

#TodaysNews .LowSev {
}
#TodaysNews .MedSev {
}
#TodaysNews .HighSev {
	font-weight: 700;
	color: red;
}

#TodaysNews .past {
	/* background-color: #eeeeee; */
	filter: blur(1px);
	opacity: 0.5;
}


#WeeksEventTable {
	font-size: 12pt;
}

#WeeksEventTable td{
	border: 1px solid #dddddd;
    border-collapse: collapse;
	text-align: left;
	vertical-align: middle;
	padding: 0.5em;
}

#WeeksEventTable td b{
	font-size: 10pt;
}

#WeeksEventTable tbody td{
	font-size: 9pt;
}

#WeeksEventTable thead tr td{
	font-weight: 700;
	width: 20%;
	color: #dcdcdc;
	background-color: darkslateblue;
}

#WeeksEventTable td:nth-child(1) {
	font-size: 12pt;
	font-weight: 700;
	text-align: left;
	color: #dcdcdc;
	background-color: darkslateblue;
}

#WeeksEventTable tr td.highlight{
	color: yellow;
}

#WeeksEventTable .LowSev {
	background-color: yellow;
}
#WeeksEventTable .MedSev {
	background-color: orange;
}
#WeeksEventTable .HighSev {
	background-color: red;
	color: white;
}
#WeeksEventTable .XHighSev {
	background-color: #880808;
	color: white;
}
#WeeksEventTable .SkipSesh{
	background-color: silver;
	font-style: italic;
}
#WeeksEventTable tr td.NFPWeek {
	font-size: 12pt;
	font-weight: 700;
	background-color: white;
	color: black;
	text-align: center;
}

#AboutWindow {
	font-size: 0.7em;
}

.header {
	font-weight: 700;
}
.blink {
	/*
		animation: blink-animation 4s steps(5, start) infinite;
		-webkit-animation: blink-animation 4s steps(5, start) infinite;
	*/
	animation: fadeIn 2s steps(40, start) infinite alternate;

}

@keyframes blink-animation {
	to {
		visibility: hidden;
	}
}

@keyframes fadeIn {
  0% { opacity: 0.25; }
  100% { opacity: 1; }
}

@-webkit-keyframes blink-animation {
	to {
		visibility: hidden;
	}
}


.fixed-bottom {
	margin-bottom: 2%;
}



/* FIX to make the custom-switches larger, proportional to the text labels, and centrered with the label */
.custom-switch {
  padding-left: 2.25rem;
  padding-bottom: 1rem;
}

.custom-control-label {
  padding-top: 0.1rem;
  padding-left: 2rem;
  padding-bottom: 0.0rem;
}

.custom-switch .custom-control-label::before {
  left: -2.25rem;
  height: 2rem;
  width: 3.5rem;    
  pointer-events: all;
  border-radius: 1rem;
}

.custom-switch .custom-control-label::after {
  top: calc(0.25rem + 2px);
  left: calc(-2.25rem + 2px);
  width: calc(2rem - 4px); 
  height: calc(2rem - 4px);
  background-color: #adb5bd;
  border-radius: 2rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
  transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .custom-switch .custom-control-label::after {
    transition: none;
  }
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  background-color: #fff;
  -webkit-transform: translateX(1.5rem);
  transform: translateX(1.5rem);
}



/* From https://mdbootstrap.com/snippets/jquery/marta-szymanska/592884#css-tab-view */



#NewsReel.newsOff {
	display: none;
}

#NewsReel.newsOn {
	display: block;
}

#NewsItem {
	padding-top: 0.25em; 
	padding-bottom: 0.4em;
}

/* https://www.sliderrevolution.com/resources/css-border-animation/ */

.rainbow {
  position: relative;
/*
  margin: 300px auto 0;
  width: 500px;
  height: 250px;
*/
  background: linear-gradient(0deg, #000, #272727);
}

.rainbow:before, .rainbow:after {
  content: '';
  position: absolute;
  left: -2px;
  top: -2px;
  background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00,#ffff00, #ff0000, #fb0094, 
    #0000ff, #00ff00,#ffff00, #ff0000);
  background-size: 400%; 
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: -1;
  /* animation: steam 20s linear infinite; */
}

@keyframes steam {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.rainbow:after {
  filter: blur(20px);
}


/* Blur the background when showing a modal */
.modal.fade.show {
    backdrop-filter: blur(5px);
}