:root {
    /*--active-blue:rgb(16,58,84);*/
	/*--inactive-blue:rgb(12,43,61);*/
	--active-blue:rgb(18,41,71);
	--background-blue:rgb(9,8,22);
	--default-blue:rgb(28,51,69);
	--light-blue:rgb(14,149,227);
	--inactive-text:rgb(116,134,156);
	--menu-width:300px;
}
body{
	margin:0;
    background-color: black;
}
@font-face{
	font-family:F1_Font_Regular;
	src:url("../Fonts/Formula1-Regular.woff2") format("woff2");
}
@font-face{
	font-family:F1_Font_Bold;
	src:url("../Fonts/Formula1-Bold.woff2") format("woff2");
}
@font-face{
	font-family:Saira;
	src:url("../Fonts/SairaExtraCondensed-Regular.ttf") format("truetype");
}
@font-face{
	font-family:GNik;
	src:url("../Fonts/Gridnik.ttf") format("truetype");
}
@font-face{
	font-family:Sky Text;
	src:url("../Fonts/sky-text-regular.ttf") format("truetype");
}
.fred_panel{
    margin:5px;
    padding-top: 10px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 10px;
    border: solid grey;
    border-width: 10px 2px 1px;
    background-color: rgb(7,9,24);
    /*background: linear-gradient(to bottom, rgb(18,41,71), rgb(9,8,22));*/
    color:white;
}
.fred_panel_title{
    padding:0 10px;
    margin:0 -10px 0 -15px;
    color: red;
    font-family:GNik;
    font-size: large;
    background: linear-gradient(to right, rgb(30,34,46),rgb(7,9,24));
    /*background-color:rgb(9,8,22);*/
    text-transform: uppercase;
}
.fred_panel_title:hover{
    color: white;
}
.fred_panel_content{
    padding:10px;
    margin:20px 0 5px 50px;
    color:white;
    font-family: GNik;
    background: linear-gradient(to bottom, rgb(18,41,71), rgb(9,8,22));
    /*min-height: 500px;*/
    
}
.fred_panel_dot{
    display: inline-block;
    width:60px;
    text-align: center;
	cursor:pointer;
}
.fred_panel_num{
    text-align:right;
    float: right;
    color:rgb(28,51,69);
}
.fred_panel_title_1{
    color:white;
    font-weight: bold;
}
.fred_panel_block{
    display:inline-block;
    border:1px white solid;
}
.fred_btn{
	width:100%;
	height:100%;
    padding:5px;
	margin:0;
    font-family: GNik;
    text-align:center;
	display: flex;
    justify-content: center;
	align-items: center;
    /*color:var(--active-blue);*/
	color:white;
    /*border:2px rgb(28,51,69) solid;*/
	/*border:2px var(--active-blue) solid;*/
    /*margin:0;*/
    /*display: inline-block;*/
    background:rgba(0,0,0,0.5); /*var(--background-blue);*/
    font-weight: normal;
	transition: background 0.3s;
}
.fred_btn:hover{
    background: var(--active-blue);/*rgb(28,51,69);*/
    color:white;
    font-weight: bold;
}
.fred_btn.active{
    background-color: var(--active-blue);/*rgb(28,51,69);*/
    color: red;
    font-weight: bold;
	transition: background 0.3s;
}
.fred_btn.active:hover{
    background-color: var(--background-blue);/*rgb(28,51,69);*/
    color:white;
    font-weight: bold;
}
.main_header{
	background-color: transparent;
	color:white;
	font-family: F1_Font_Bold;
	text-align:center;
}
a {
	color: white;
	text-decoration: none;
  }
.main_menu_button{
	font-size: 30px;
	cursor: pointer;
}
.main_menu_button:hover{
	color:black;
	background-color: white;
}
#main_container{
	margin: 0px;
	transition: margin 0.5s;
}
.multibutton_container{
	margin:0;
	text-align: center;
}
.multiline_btn_cont{
	margin:5px;
	/*margin:0.15vw;*/
	border:2px solid var(--default-blue);
	padding:0px;
	width:100px;
	height:90px;
	/*width:3vw;
	height:2.7vw;*/
	background-color: transparent;/* rgb(9,8,22);*/
	display: inline-block;
}
.multiline_btn_cont.active{
	border:2px solid white;
}
.multiline_btn_cont.active
.multiline_btn_small_txt{
	color:red;
}
.multiline_btn_cont.active
.multiline_btn_big_txt{
	color:red;
}

.multiline_btn_cont.active
.multiline_btn_inside{
	background-color: var(--active-blue);
}
.multiline_btn_cont:hover{
	border:2px solid white;
}

.multiline_btn_cont:hover
.multiline_btn_small_txt{
	color:white;
}
.multiline_btn_cont:hover
.multiline_btn_big_txt{
	color:white;
}

.multiline_btn_cont:hover
.multiline_btn_inside{
	background-color: var(--active-blue);
}

.multiline_btn_inside{
	margin:5px;
	padding:0px;
	background-color: var(--active-blue);
}
.multiline_btn_small_txt{
	font-family: GNik;
	font-size:10px;
	/*font-size:0.3vw;*/
	color: var(--inactive-text);/*rgb(116,134,156);*/
	text-align:center;
}
.multiline_btn_big_txt{
	font-family: GNik;
	font-size:40px;
	/*font-size:1.2vw;*/
	font-weight:bold;
	color: var(--inactive-text);/*rgb(116,134,156);*/
	text-align:center;
}

.main_menu_container{
	position:fixed;
	width:var(--menu-width);
	left:calc(var(--menu-width)*(-1));
	top:0px;
	transition: left 0.5s;
	background-color: var(--background-blue);
	padding:10px;
	height:100%;
	z-index: 999;
}
.main_menu_item{
	text-align:center;
	padding:5px;
	width:90%;
	margin:5px;
	color:var(--inactive-text);
	font-family: GNik;
	font-weight: bold;
	font-size:1.2em;
	background-color: var(--active-blue);
	cursor:pointer;
}
.main_menu_item.active:hover{
	background-color: rgba(0,0,0,0.5);
}
.main_menu_item:hover{
	color:white;
	background-color: var(--active-blue);
}
.main_menu_item.active{
	color:red;
	background-color: rgba(255,0,0,0.5);
}

.main_menu_item>input[type="file"]{
	font-size:0.5em;
	width:100%;
}
.main_menu_double{
	height:3.6em;
}
.small_chart_col{
	padding-right:10px;
	padding-left:10px;
}
.test{
	height:1000px;
	width:100%;
/*	background-color: darkcyan;*/
}
.test_input_txt{
	background-color: transparent;
	width:100%;
	text-align: center;
	color:white;
	font-family: GNik;
	border:none;
	outline-color: yellow;
}
.slider {
	-webkit-appearance: none;
	width: 95%;
	height: 3px;
	border-radius: 0px;  
	/*background:var(--active-blue);*/
	outline: none;
	opacity: 0.7;
	-webkit-transition: .2s;
	transition: opacity .2s;
  }
  
  .slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 15px;
	height: 15px;
	border-radius: 50%; 
	/*background:var(--light-blue);
	cursor: pointer;*/
  }
  
  .slider::-moz-range-thumb {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	/*background:var(--light-blue);
	cursor: pointer;*/
  }
  .slider:hover {
	opacity: 1; /* Fully shown on mouse-over */
  }
  .slider_blue{
	background: linear-gradient(to right,white 1%, transparent 1%, transparent 2%, var(--light-blue) 2%, var(--light-blue) 98%,transparent 98%,transparent 99%,white 99% );  
	/*background: linear-gradient(to right,white 1%, transparent 1%, transparent 2%, var(--active-blue) 2%, var(--active-blue) 98%,transparent 98%,transparent 99%,white 99% );  */
  }
  .slider_blue::-webkit-slider-thumb {
	background:var(--light-blue);
  }
  .slider_blue::-moz-range-thumb {
	background:var(--light-blue);
  }
  .slider_red{
	background: linear-gradient(to right,red 1%, transparent 1%, transparent 2%, var(--light-blue) 2%, var(--light-blue) 98%,transparent 98%,transparent 99%,red 99% );  
  }
  .slider_red::-webkit-slider-thumb {
	background:red;
  }
  .slider_blue::-moz-range-thumb {
	background:red;
  }
  .slider_col{
	padding:5px;  
	/*background: var(--active-blue);*/
	/*background-clip: content-box;*/
	/*-webkit-background-clip: content-box;*/
	background: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	height:100%;
	text-align:center;
  }
  .item_container{
	display:flex;
	align-items: center;
	justify-content: center;
	height:3em;
	padding:3px;
  }
  input[type=text]{
	  text-align: center;
	  width:100%;
	  height:100%;
	  background:rgba(0,0,0,0.5); /*var(--background-blue);*/
	  outline: none;
	  border:none;
	  color:white;
	  font-family: GNik;
  }
  input[type=text]:hover{
	  color:red;
	  font-weight: bold;
  }
  input[type=text]:read-only{
		font-size:0.85em;
		height: 3em;	
  }
  textarea{
	background:rgba(0,0,0,0.5);
	color:white;
	font-family: GNik;
	font-size:1.05em;
	padding: 12px 20px;
	box-sizing: border-box;
	border: 2px solid #ccc;
	border-radius: 4px;
	outline:none;
  }
  .text_label{
	  text-align: right !important;
	  /*background: rgba(0,0,0,0.5) !important;/*transparent !important;*/
	  height:100%;
	  display:flex;
	  justify-content: right;
	  align-items: center;
  }
  select{
	  padding:5px;
	  text-align:center;
	  font-family: Gnik;
	  background: rgba(0,0,0,0.5);/*var(--background-blue);*/
	  color:white;
	  outline:none;
	  border:none;
	  height:100%;
	  width:100%;
	  transition: background 0.3s;
  }
  select:hover{
	background: var(--active-blue);
	font-weight: bold;
  }
  input[type=color]{
	  background: var(--active-blue);
	  border:none;
	  width:100%;
	  outline:none;
  }
  input[type=number]{
	  background: rgba(0,0,0,0.5);
	  text-align:center;
	  width:100%;
	  height:100%;
	  outline:none;
	  border:none;
	  color:white;
	  font-family: GNik;
	  transition: background 0.3s;
  }
  input[type=number]:hover{
	background: var(--active-blue);
	font-weight: bold;
  }
  fieldset{
	  padding:15px;
	  margin:3px;
	  border: solid 1px white;
	  background: transparent;
  }
  legend{
	  padding:5px;
	  text-align: right;
	  white-space:normal;
	  color:white;
	  font-size:1rem;
	  width:inherit;
  }
  .menu-fixed{
	  position:fixed;
	  top:10px;
	  left:10px;
	  z-index: 999;
	  transition:left 0.5s;
	  background:var(--background-blue);
  }
  .item_header{
	  text-align:center;
  }
  .item_hovered{
	background:rgba(255,255,255,0.15) !important;
  }
  .item_highlighted{
/*	background-color: purple !important;*/
	background:rgba(255,0,0,0.5) !important ;
  }
  .fred_card_container{
	  background-color: rgba(255,255,255,0.15);
	  margin-top:3px;
	  margin-bottom:3px;
	  padding:0;
  }
  .data_panel_header{
	cursor:move;
  }
  .data_panel{
	display: none;
	width:1500px;
	/*border:1px solid white;*/
	position:absolute;
	z-index: 10;
	/*margin-left: 10px;*/
  }
  /* width */
::-webkit-scrollbar {
	width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
	background: var(--active-blue);
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
	background:rgba(0,0,0,0.5);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
	background:rgba(255,255,255,0.15);
  }
  .data_panel_container{
	  max-height: 1250px;
	  overflow-y: auto;
  }
  .small_spacer_row{
	  height:100px;
  }
  .spacer_row{
	  height:1000px;
  }
  .data_table{
	border-collapse: separate;
	border-spacing: 5px 5px;
	width:100%;
  }
  .data_table_header{
	  font-weight:bold;
	  font-size:0.95em;
	  text-align: center;
	  vertical-align: center;
	  user-select:none;
	  position:sticky;
	  top:0;
  }
  .data_table_cell{
	background:rgba(0,0,0,0.5);
	padding:5px;
	font-size:0.95em;
	text-align: center;
	vertical-align: center;
	color:var(--light-blue);
	user-select:none;
  }
  .data_table_row:hover{
		background:rgba(255,255,255,0.15);
  }
  .data_table_row:hover>td{
	  color:white;
  }
  .data_table_selected{
	background: rgba(255,0,0,0.5);
  }
  .data_table_selected>td{
	  color:white;
  }
  .left_column{
	  max-height:1500px;
	  overflow-y: auto;
  }
  .hidden{
	display:none; 
  }
.text_center_h{
	text-align: center;
}
.pos_chart_container{
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
}
.pos_chart_div{
	width:45%;
	margin:5px;
}
.pos_chart_div_expanded{
	width:97%;
	margin: 5px;
}
.timing_container{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.timing_item{
	width:12%;
	margin:3px;
}
.timing_select{
	text-align: left;
	font-family: monospace;
	background-color: transparent;
}
/* The Modal (background) */
.fred_modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 9999; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .fred_modal-content {
	/*background-color: #fefefe;*/
	margin: 15% auto; /* 15% from the top and centered */
	/*padding: 20px;*/
	/*border: 1px solid #888;*/
	/*width: 80%; /* Could be more or less, depending on screen size */
  }
  