/*Global CSS file for LANWebUI*/

/*Fonts*/
@font-face{
	font-family: "Arial Rounded MT Bold";
	src: url('/fonts/Arial-Rounded-MT-Bold_4291.ttf')/* format('truetype')*/;
}

@font-face{
	font-family: "Arial Rounded MT";
	src: url('fonts/Arial_Rounded_MT.ttf')/* format('truetype')*/;
}

/*Body*/

body {
	background-color: #18181a;
}
/*Nav Bar*/
ul.NvBar {
	list-style-type: none;
	margin:0;
	padding:0;
	overflow: hidden;
	background-color: #333;			
}
li.NvBOrange, li.NvBRed, li.NvBar {
	float: left;
}
li.NvBRed a.NvBar, li.NvBOrange a.NvBar, li.NvBar a.NvBar {
	font-family: "Arial";
	font-weight: bold;
	display: block;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	transition-duration: 0.25s;
}
li.NvBar a.NvBar:hover:not(.NvBactive) {
	background-color: #4a9cf0;
}
.NvBactive{
	background-color: #4a9cf0;
}
li.NvBRed a:hover:not(.NvBRAct) {
	background-color: red;
}
.NvBRAct{
	background-color: red;
}
li.NvBOrange a:hover:not(.NvBOAct) {
	background-color: orange;
}
.NvBOAct{
	background-color: orange;
}

li.NvBar a, .dropbtn {
  color: black;
  text-align: left;
  padding: 14px 16px;
  text-decoration: none;
}

li.dropdown.NvBar {
  display: inline-block !important;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: #18181a;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
	transition-duration: 0.25s;
	color: #4a9cf0;
}

.dropdown:hover .dropdown-content {
  display: block;
}


/*All Style*/
h1 {
	font-family: "Arial Rounded MT Bold";
	font-variant-caps: small-caps;
	color: white;
}
h2 {
	font-family: "Arial Rounded MT";
/* 	height: 0.75em; */
	color: white;
}
p, .paragraph{
	color: white;
	font-family: Arial;
	font-weight: bold;
}

/*Footer*/
footer.lockFooter{
	position: absolute;
	bottom: 0;
	width:99%;
}

a {
	color:white;
	font-family: Arial;
	font-weight: bold;
}
p.footer {
	color: white;
	font-family: Arial;
	font-weight: bold;
	font-size: 10px;
}
/*Buttons*/
button {
		border: none;
		border-radius: 4px 4px 4px 4px;
		color: white;
		text-align: center;
		text-decoration: none;
		display: inline-block;
		font-family: Arial;
		font-size: 16px;
		margin: 4px 2px;
		transition-duration: 0.6s;
		cursor: pointer;
}
.btn1, .btn2, .btn3, .btn4 {
  background-color: #333; 
  color: white; 
  padding: 6px 12px;
  border: 2px solid #333;
}
.btn1:hover {
  background-color: #4CAF50;
  color: white;
  border: 2px solid #4CAF50
}
.btn2:hover {
  background-color: #4a9cf0;
  color: white;
  border: 2px solid #4a9cf0
}
.btn3:hover {
  background-color: red;
  color: white;
  border: 2px solid red
}
.btn4:hover {
  background-color: orange;
  color: white;
  border: 2px solid orange
}
a.F5Sign {
	color:#4a9cf0;
	font-family: Arial;
	font-weight: bold;
	text-decoration: none;
	transition-duration: 0.6s;
}

a.F5Sign:hover {
	color:#4CAF50;
}
/*Forms*/
label {
	font-family: "Arial";
	color: white;
}
input, select {
	border: 2px solid #333;
	background-color: #18181a;
	text-align: center;
	display: inline-block;
	font-family: Arial;
	color:white;
	font-size: 16px;
	transition-duration: 0.25s;
	padding: 6px 12px;
}
input:focus, select:focus {
	border: 2px solid #4a9cf0;
}

::placeholder{
	opacity: 10%;
}

input.subBtn {
	border: none;
	color: white;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-family: Arial;
	font-size: 20px;
	transition-duration: 0.6s;
	cursor: pointer;
	background-color: #333; 
  	color: white; 
  	padding: 6px 12px;
  	border: 2px solid #333;
  	border-radius: 4px 4px 4px 4px;
  	width: 45%;
}
div.subBtn{
	padding-top: 7.5px;
	position: sticky;
  	bottom: 0;
  	background-color: #18181a;
  	padding-bottom: 5px;
}
input.subBtn:hover {
	background-color: #4CAF50;
  	color: white;
  	border: 2px solid #4CAF50
}
/*Login*/
input.LoginBtn{
	background-color: #333; 
  	color: white; 
  	padding: 6px 12px;
  	border: 2px solid #333;
  	border-radius: 4px 4px 4px 4px;
  	width: 17.5%;
}
input.LoginBtn:hover{
	background-color: #4CAF50;
	color: white;
	border: 2px solid #4CAF50;
}

/*MqttTerminal things*/
#mqttTerminal {
	margin-top: 12px;
	margin-bottom: 12px;
	padding: 12px;
	width: 95%;
	display: inline-block;
	border: 1px solid white;
	max-height: 250px;
	min-height: 250px;
	overflow: scroll;
}

#mqttTerminal span {
	color:white;
	font-family: Arial;
	overflow-y : scroll;
	overflow: scroll;
}

/*Ping interface*/
.online {
	color: #2FBC00 !important;
	font-weight: bold;
}

.offline {
	color: red !important;
	font-weight: bold;
}

.checking {
	color: orange;
	font-weight: bold;
}

/*CarreMQTT Signal Status*/
.proceed {
	color: #2FBC00 !important;
	font-weight: bold;
}

.caution {
	color: yellow !important;
	font-weight: bold;
}

.stop {
	color: red !important;
	font-weight: bold;
}

.moonwhite {
	color : #D0FBFB !important;
	font-weight: bold;
}

.checking {
	color: orange;
	font-weight: bold;
}

/*Tables*/
table {
	width: 90%;
	margin-right: auto;
    color: white;
    font-family: Arial;
}

th {
	text-align: left;
}

/*Weather Warnings*/
.wxwarn2 {
	color: yellow !important;
	font-weight: bold;
}

.wxwarn3 {
	color: orange !important;
	font-weight: bold;
}

.wxwarn4 {
	color: red !important;
	font-weight: bold;
}

/*T-API things*/
pre.sncf-ascii {
	color: white;
/* 	font-family:Arial; */
	font-weight: bold;
	font-size: 12px;
}

h2.t-api {
	margin-top: -1.5%;
}

ul.ch_tree_content {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.ch_tree_btn::before {
  content: "Afficher";
  color: #4a9cf0;
  font-style: italic;
  text-decoration-line: underline;
}

.ch_tree_btn-down::before {
  content:"Réduire";
  color: #4a9cf0;
  font-style: italic;
  text-decoration-line: underline;
}

.ch_tree_content {
  display: none;
}

.active {
  display: block;
}

td.t-api{
	vertical-align: baseline;
}

/*EasterEgg things*/
a.easteregg {
	color:white;
	text-decoration: none;
	font-family: Arial;
	font-weight: none;
}
